nixpkgs/pkgs/development/libraries/wavpack/default.nix
Marc Weber 2d34bc06a0 fix wavpack .pc file
The .pc file is missing declaration of exec_prefix causing other packages to
fail such as gst-plugins-good beacuse pkg-config stops processing
remaining .pc files

I notified david at wavpack com

enableParallelBuilding = true; also happens to work
2015-05-04 08:09:42 +00:00

26 lines
613 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "wavpack-${version}";
version = "4.70.0";
enableParallelBuilding = true;
preConfigure = ''
sed -i '2iexec_prefix=@exec_prefix@' wavpack.pc.in
'';
src = fetchurl {
url = "http://www.wavpack.com/${name}.tar.bz2";
sha256 = "191h8hv8qk72hfh1crg429i9yq3cminwqb249sy9zadbn1wy7b9c";
};
meta = with stdenv.lib; {
description = "Hybrid audio compression format";
homepage = http://www.wavpack.com/;
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = with maintainers; [ codyopel ];
};
}