lol
1{stdenv, fetchurl, gettext, perl, perlXMLParser, intltool, pkgconfig, glib,
2 libxml2, sqlite, libusb1, zlib, sg3_utils, gdk_pixbuf, taglib,
3 libimobiledevice, python, pygobject, mutagen }:
4
5stdenv.mkDerivation rec {
6 name = "libgpod-0.8.3";
7 src = fetchurl {
8 url = "mirror://sourceforge/gtkpod/${name}.tar.bz2";
9 sha256 = "0pcmgv1ra0ymv73mlj4qxzgyir026z9jpl5s5bkg35afs1cpk2k3";
10 };
11
12 preConfigure = "configureFlagsArray=( --with-udev-dir=$out/lib/udev )";
13 configureFlags = "--without-hal --enable-udev";
14
15 propagatedBuildInputs = [ glib libxml2 sqlite zlib sg3_utils
16 gdk_pixbuf taglib libimobiledevice python pygobject mutagen ];
17
18 nativeBuildInputs = [ gettext perlXMLParser intltool pkgconfig perl
19 libimobiledevice.swig ];
20
21 meta = {
22 homepage = http://gtkpod.sourceforge.net/;
23 description = "Library used by gtkpod to access the contents of an ipod";
24 license = "LGPL";
25 platforms = stdenv.lib.platforms.gnu;
26 maintainers = [ stdenv.lib.maintainers.urkud ];
27 };
28}