nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 19.03 39 lines 1.2 kB view raw
1{stdenv, lib, fetchurl, gettext, perlPackages, intltool, pkgconfig, glib, 2 libxml2, sqlite, zlib, sg3_utils, gdk_pixbuf, taglib, 3 libimobiledevice, pythonPackages, mutagen, 4 monoSupport ? false, mono, gtk-sharp-2_0 5}: 6 7let 8 inherit (pythonPackages) python pygobject2; 9in stdenv.mkDerivation rec { 10 name = "libgpod-0.8.3"; 11 src = fetchurl { 12 url = "mirror://sourceforge/gtkpod/${name}.tar.bz2"; 13 sha256 = "0pcmgv1ra0ymv73mlj4qxzgyir026z9jpl5s5bkg35afs1cpk2k3"; 14 }; 15 16 preConfigure = "configureFlagsArray=( --with-udev-dir=$out/lib/udev )"; 17 18 configureFlags = [ 19 "--without-hal" 20 "--enable-udev" 21 ] ++ lib.optionals monoSupport [ "--with-mono" ]; 22 23 dontStrip = true; 24 25 propagatedBuildInputs = [ glib libxml2 sqlite zlib sg3_utils 26 gdk_pixbuf taglib libimobiledevice python pygobject2 mutagen ]; 27 28 nativeBuildInputs = [ gettext intltool pkgconfig ] 29 ++ (with perlPackages; [ perl XMLParser ]) 30 ++ lib.optionals monoSupport [ mono gtk-sharp-2_0 ]; 31 32 meta = { 33 homepage = http://gtkpod.sourceforge.net/; 34 description = "Library used by gtkpod to access the contents of an ipod"; 35 license = "LGPL"; 36 platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux; 37 maintainers = [ ]; 38 }; 39}