mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 20:02:58 +03:00
27 lines
708 B
Nix
27 lines
708 B
Nix
{ stdenv, fetchFromGitHub, cmake, libav, SDL2, chromaprint, libebur128 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "4.3.0";
|
|
pname = "libgroove";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "andrewrk";
|
|
repo = "libgroove";
|
|
rev = version;
|
|
sha256 = "1la9d9kig50mc74bxvhx6hzqv0nrci9aqdm4k2j4q0s1nlfgxipd";
|
|
};
|
|
|
|
patches = [ ./no-warnings-as-errors.patch ];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ libav SDL2 chromaprint libebur128 ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Streaming audio processing library";
|
|
homepage = "https://github.com/andrewrk/libgroove";
|
|
license = licenses.mit;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ andrewrk ];
|
|
};
|
|
}
|