2021-02-01 14:51:34 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, ffmpeg_3, SDL2, chromaprint, libebur128 }:
|
2015-06-14 21:30:02 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "4.3.0";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libgroove";
|
2015-06-14 21:30:02 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "andrewrk";
|
|
|
|
repo = "libgroove";
|
2019-09-09 00:38:31 +01:00
|
|
|
rev = version;
|
2015-06-14 21:30:02 +01:00
|
|
|
sha256 = "1la9d9kig50mc74bxvhx6hzqv0nrci9aqdm4k2j4q0s1nlfgxipd";
|
|
|
|
};
|
|
|
|
|
2021-02-01 14:51:34 +00:00
|
|
|
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";
|
|
|
|
})
|
|
|
|
];
|
2018-03-09 10:32:19 +00:00
|
|
|
|
2020-12-31 07:48:55 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2021-02-01 14:51:34 +00:00
|
|
|
buildInputs = [ ffmpeg_3 SDL2 chromaprint libebur128 ];
|
2015-06-14 21:30:02 +01:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2015-06-14 21:30:02 +01:00
|
|
|
description = "Streaming audio processing library";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/andrewrk/libgroove";
|
2015-06-14 21:30:02 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
2019-12-26 14:13:48 +00:00
|
|
|
maintainers = with maintainers; [ andrewrk ];
|
2015-06-14 21:30:02 +01:00
|
|
|
};
|
|
|
|
}
|