about summary refs log tree commit diff
path: root/pkgs/development/libraries/libgpod/default.nix
blob: 6a1f28c96ff6cc5d40d685cbe446a289f1cbb8aa (plain) (blame)
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
26
27
28
{stdenv, fetchurl, gettext, perl, perlXMLParser, intltool, pkgconfig, glib,
  libxml2, sqlite, libusb1, zlib, sg3_utils, gdk_pixbuf, taglib,
  libimobiledevice, python, pygobject, mutagen }:

stdenv.mkDerivation rec {
  name = "libgpod-0.8.3";
  src = fetchurl {
    url = "mirror://sourceforge/gtkpod/${name}.tar.bz2";
    sha256 = "0pcmgv1ra0ymv73mlj4qxzgyir026z9jpl5s5bkg35afs1cpk2k3";
  };

  preConfigure = "configureFlagsArray=( --with-udev-dir=$out/lib/udev )";
  configureFlags = "--without-hal --enable-udev";

  propagatedBuildInputs = [ glib libxml2 sqlite zlib sg3_utils
    gdk_pixbuf taglib libimobiledevice python pygobject mutagen ];

  nativeBuildInputs = [ gettext perlXMLParser intltool pkgconfig perl
    libimobiledevice.swig ];

  meta = {
    homepage = http://gtkpod.sourceforge.net/;
    description = "Library used by gtkpod to access the contents of an ipod";
    license = "LGPL";
    platforms = stdenv.lib.platforms.gnu;
    maintainers = [ stdenv.lib.maintainers.urkud ];
  };
}