mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 15:47:28 +00:00
f3809c6f4a
When compiling with GCC v7 and the `-Werror` flag several new warnings caused the build to fail: https://hydra.nixos.org/build/70751457/nixlog/2 Note: I patched the CMake file manually as v4.3.0 is quite old, a v5 is in progress, but isn't stable yet, so patching v4 seems to be the better solution taking stability into account. See tickets #31747 and #36453
26 lines
699 B
Nix
26 lines
699 B
Nix
{ stdenv, fetchFromGitHub, cmake, libav, SDL2, chromaprint, libebur128 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "4.3.0";
|
|
name = "libgroove-${version}";
|
|
|
|
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 ma27 ];
|
|
};
|
|
}
|