3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libgpod/default.nix

37 lines
1.2 KiB
Nix
Raw Normal View History

2016-02-09 14:40:24 +00:00
{stdenv, lib, fetchurl, gettext, perl, perlXMLParser, intltool, pkgconfig, glib,
libxml2, sqlite, libusb1, zlib, sg3_utils, gdk_pixbuf, taglib,
2016-02-09 14:40:24 +00:00
libimobiledevice, python, pygobject, mutagen,
monoSupport ? true, mono, gtk-sharp
}:
stdenv.mkDerivation rec {
2013-12-04 04:32:32 +00:00
name = "libgpod-0.8.3";
src = fetchurl {
url = "mirror://sourceforge/gtkpod/${name}.tar.bz2";
2013-12-04 04:32:32 +00:00
sha256 = "0pcmgv1ra0ymv73mlj4qxzgyir026z9jpl5s5bkg35afs1cpk2k3";
};
preConfigure = "configureFlagsArray=( --with-udev-dir=$out/lib/udev )";
2016-02-09 14:40:24 +00:00
configureFlags = [
"--without-hal"
"--enable-udev"
] ++ lib.optionals monoSupport [ "--with-mono" ];
dontStrip = true;
propagatedBuildInputs = [ glib libxml2 sqlite zlib sg3_utils
gdk_pixbuf taglib libimobiledevice python pygobject mutagen ];
nativeBuildInputs = [ gettext perlXMLParser intltool pkgconfig perl
2016-02-09 14:40:24 +00:00
libimobiledevice.swig ] ++ lib.optionals monoSupport [ mono gtk-sharp ];
meta = {
homepage = http://gtkpod.sourceforge.net/;
description = "Library used by gtkpod to access the contents of an ipod";
license = "LGPL";
platforms = stdenv.lib.platforms.gnu;
maintainers = [ stdenv.lib.maintainers.urkud ];
};
}