21 stdenv.mkDerivation rec {
26 url = "mirror://sourceforge/gtkpod/libgpod-${version}.tar.bz2";
27 sha256 = "0pcmgv1ra0ymv73mlj4qxzgyir026z9jpl5s5bkg35afs1cpk2k3";
30 outputs = [ "out" "dev" ];
33 # support libplist 2.2
34 substituteInPlace configure.ac --replace 'libplist >= 1.0' 'libplist-2.0 >= 2.2'
40 "--with-udev-dir=${placeholder "out"}/lib/udev"
41 ] ++ lib.optionals monoSupport [ "--with-mono" ];
43 dontStrip = monoSupport;
45 nativeBuildInputs = [ autoreconfHook intltool pkg-config ]
46 ++ (with perlPackages; [ perl XMLParser ])
47 ++ lib.optional monoSupport mono;
54 ] ++ lib.optional monoSupport gtk-sharp-2_0;
56 propagatedBuildInputs = [
63 homepage = "https://sourceforge.net/projects/gtkpod/";
64 description = "Library used by gtkpod to access the contents of an ipod";
65 license = licenses.lgpl21Plus;
66 platforms = platforms.linux;