mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 21:23:06 +00:00
e50306dfe3
I think this was my mistake. This is also a python2 dependency that should have been removed with pygobject.
42 lines
1.1 KiB
Nix
42 lines
1.1 KiB
Nix
{ stdenv, lib, fetchurl, gettext, perlPackages, intltool, pkgconfig, glib,
|
|
libxml2, sqlite, zlib, sg3_utils, gdk-pixbuf, taglib,
|
|
libimobiledevice,
|
|
monoSupport ? false, mono, gtk-sharp-2_0
|
|
}:
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libgpod-0.8.3";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/gtkpod/${name}.tar.bz2";
|
|
sha256 = "0pcmgv1ra0ymv73mlj4qxzgyir026z9jpl5s5bkg35afs1cpk2k3";
|
|
};
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
preConfigure = "configureFlagsArray=( --with-udev-dir=$out/lib/udev )";
|
|
|
|
configureFlags = [
|
|
"--without-hal"
|
|
"--enable-udev"
|
|
] ++ lib.optionals monoSupport [ "--with-mono" ];
|
|
|
|
dontStrip = true;
|
|
|
|
propagatedBuildInputs = [ glib libxml2 sqlite zlib sg3_utils
|
|
gdk-pixbuf taglib libimobiledevice ];
|
|
|
|
nativeBuildInputs = [ gettext intltool pkgconfig ]
|
|
++ (with perlPackages; [ perl XMLParser ])
|
|
++ lib.optionals monoSupport [ mono gtk-sharp-2_0 ];
|
|
|
|
meta = {
|
|
homepage = https://gtkpod.sourceforge.net/;
|
|
description = "Library used by gtkpod to access the contents of an ipod";
|
|
license = "LGPL";
|
|
platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux;
|
|
maintainers = [ ];
|
|
};
|
|
}
|