1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 12:28:51 +00:00
nixpkgs/pkgs/development/libraries/libtunepimp/default.nix
2016-09-19 20:03:38 +02:00

29 lines
743 B
Nix

{ stdenv, fetchurl, zlib, expat, curl, libmusicbrainz2, taglib, libmpcdec,
libmad, libogg, libvorbis, flac, mp4v2, libofa, libtool }:
stdenv.mkDerivation rec {
name = "libtunepimp-0.5.3";
outputs = [ "out" "lib" "dev" ];
setOutputFlags = false;
preConfigure = ''
configureFlagsArray=(--includedir=$dev/include --libdir=$lib/lib)
'';
propagatedBuildInputs = [ zlib expat curl libmusicbrainz2 taglib libmpcdec
libmad libogg libvorbis flac libofa libtool ];
patches = [ ./gcc-4.x.patch ];
src = fetchurl {
url = "ftp://ftp.musicbrainz.org/pub/musicbrainz/${name}.tar.gz";
sha256 = "0s141zmsxv8xlivcgcmy6xhk9cyjjxmr1fy45xiqfqrqpsh485rl";
};
meta = {
platforms = stdenv.lib.platforms.linux;
};
}