mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
29 lines
743 B
Nix
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;
|
|
};
|
|
}
|