summary refs log tree commit diff
path: root/pkgs/development/libraries/libgroove/default.nix
blob: 3fea527c450e698b92fc3a7577bdd048407c3dae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ 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 ];

  buildInputs = [ cmake 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 ];
  };
}