|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, libav, SDL2, chromaprint, libebur128 }: |
|
|
|
|
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, ffmpeg_3, SDL2, chromaprint, libebur128 }: |
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec { |
|
|
|
|
version = "4.3.0"; |
|
|
|
@ -11,10 +11,17 @@ stdenv.mkDerivation rec { |
|
|
|
|
sha256 = "1la9d9kig50mc74bxvhx6hzqv0nrci9aqdm4k2j4q0s1nlfgxipd"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
patches = [ ./no-warnings-as-errors.patch ]; |
|
|
|
|
patches = [ |
|
|
|
|
./no-warnings-as-errors.patch |
|
|
|
|
(fetchpatch { |
|
|
|
|
name = "update-for-ffmpeg-3.0.patch"; |
|
|
|
|
url = "https://aur.archlinux.org/cgit/aur.git/plain/0001-update-for-ffmpeg-3.0.patch?h=libgroove&id=a9f3bd2a5afd3227733414a5d54c7a2aa0a1249e"; |
|
|
|
|
sha256 = "0800drk9df1kwbv80f2ffv77xk888249fk0d961rp2a305hvyrk0"; |
|
|
|
|
}) |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ]; |
|
|
|
|
buildInputs = [ libav SDL2 chromaprint libebur128 ]; |
|
|
|
|
buildInputs = [ ffmpeg_3 SDL2 chromaprint libebur128 ]; |
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
|
description = "Streaming audio processing library"; |
|
|
|
|