1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-23 18:37:02 +00:00
nixpkgs/pkgs/development/libraries/libtunepimp/default.nix

29 lines
743 B
Nix
Raw Normal View History

{ stdenv, fetchurl, zlib, expat, curl, libmusicbrainz2, taglib, libmpcdec,
libmad, libogg, libvorbis, flac, mp4v2, libofa, libtool }:
stdenv.mkDerivation rec {
name = "libtunepimp-0.5.3";
2016-09-19 13:48:41 +01:00
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;
};
}