2010-09-26 20:40:22 +01:00
|
|
|
{stdenv, fetchurl, gettext, perl, perlXMLParser, intltool, pkgconfig, glib,
|
|
|
|
libxml2, sqlite, libplist, libusb1, zlib, sg3_utils, gtk, taglib,
|
|
|
|
libimobiledevice, python, pygobject, mutagen, swig }:
|
2009-04-13 16:41:00 +01:00
|
|
|
|
2010-09-26 20:40:22 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libgpod-0.7.94";
|
2009-04-13 16:41:00 +01:00
|
|
|
src = fetchurl {
|
2010-09-26 20:40:22 +01:00
|
|
|
url = "mirror://sourceforge/gtkpod/${name}.tar.gz";
|
|
|
|
sha256 = "0bs6p5np8kbyhvkj4vza2dmq7qfsf48chx00hirkf3mqccp41xk4";
|
2009-04-13 16:41:00 +01:00
|
|
|
};
|
|
|
|
|
2010-09-26 20:40:22 +01:00
|
|
|
patchPhase = ''sed -e "s,udevdir=,&$out," -i configure'';
|
|
|
|
configureFlags = "--without-hal --enable-udev";
|
|
|
|
|
2010-09-27 17:22:40 +01:00
|
|
|
propagatedBuildInputs = [ glib libxml2 sqlite libplist libusb1 zlib sg3_utils
|
|
|
|
gtk taglib libimobiledevice python pygobject mutagen ];
|
|
|
|
|
|
|
|
buildInputs = [ gettext perlXMLParser intltool pkgconfig perl swig ];
|
2009-04-13 16:41:10 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://gtkpod.sourceforge.net/;
|
|
|
|
description = "Library used by gtkpod to access the contents of an ipod";
|
|
|
|
license = "LGPL";
|
|
|
|
};
|
2009-04-13 16:41:00 +01:00
|
|
|
}
|