1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{stdenv, fetchurl, gettext, perl, perlXMLParser, intltool, pkgconfig, glib,
libxml2, sqlite, libplist, libusb1, zlib, sg3_utils, gtk, taglib,
libimobiledevice, python, pygobject, mutagen, swig }:
stdenv.mkDerivation rec {
name = "libgpod-0.7.94";
src = fetchurl {
url = "mirror://sourceforge/gtkpod/${name}.tar.gz";
sha256 = "0bs6p5np8kbyhvkj4vza2dmq7qfsf48chx00hirkf3mqccp41xk4";
};
patchPhase = ''sed -e "s,udevdir=,&$out," -i configure'';
configureFlags = "--without-hal --enable-udev";
propagatedBuildInputs = [ glib libxml2 sqlite libplist libusb1 zlib sg3_utils
gtk taglib libimobiledevice python pygobject mutagen ];
buildInputs = [ gettext perlXMLParser intltool pkgconfig perl swig ];
meta = {
homepage = http://gtkpod.sourceforge.net/;
description = "Library used by gtkpod to access the contents of an ipod";
license = "LGPL";
};
}
|