2010-09-26 23:40:22 +04:00
|
|
|
{stdenv, fetchurl, gettext, perl, perlXMLParser, intltool, pkgconfig, glib,
|
2012-01-06 03:16:06 +04:00
|
|
|
libxml2, sqlite, libusb1, zlib, sg3_utils, gdk_pixbuf, taglib,
|
|
|
|
libimobiledevice, python, pygobject, mutagen }:
|
2009-04-13 19:41:00 +04:00
|
|
|
|
2010-09-26 23:40:22 +04:00
|
|
|
stdenv.mkDerivation rec {
|
2012-01-06 03:16:06 +04:00
|
|
|
name = "libgpod-0.8.2";
|
2009-04-13 19:41:00 +04:00
|
|
|
src = fetchurl {
|
2012-01-06 03:16:06 +04:00
|
|
|
url = "mirror://sourceforge/gtkpod/${name}.tar.bz2";
|
|
|
|
sha256 = "14m0amy56q4riwvcjszv04a9zp7l2xk8nx0vvhy94yqd0sqfjm00";
|
2009-04-13 19:41:00 +04:00
|
|
|
};
|
|
|
|
|
2012-01-06 03:16:06 +04:00
|
|
|
preConfigure = "configureFlagsArray=( --with-udev-dir=$out/lib/udev )";
|
2010-09-26 23:40:22 +04:00
|
|
|
configureFlags = "--without-hal --enable-udev";
|
|
|
|
|
2012-01-06 03:16:06 +04:00
|
|
|
propagatedBuildInputs = [ glib libxml2 sqlite zlib sg3_utils
|
|
|
|
gdk_pixbuf taglib libimobiledevice python pygobject mutagen ];
|
2010-09-27 20:22:40 +04:00
|
|
|
|
2012-12-28 22:20:09 +04:00
|
|
|
nativeBuildInputs = [ gettext perlXMLParser intltool pkgconfig perl
|
2012-01-06 03:16:06 +04:00
|
|
|
libimobiledevice.swig ];
|
2009-04-13 19:41:10 +04:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://gtkpod.sourceforge.net/;
|
|
|
|
description = "Library used by gtkpod to access the contents of an ipod";
|
|
|
|
license = "LGPL";
|
2012-01-06 03:16:06 +04:00
|
|
|
platforms = stdenv.lib.platforms.gnu;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
2009-04-13 19:41:10 +04:00
|
|
|
};
|
2009-04-13 19:41:00 +04:00
|
|
|
}
|