2018-03-22 16:35:25 -07:00
|
|
|
{ stdenv, fetchurl, pkgconfig, wrapGAppsHook, intltool, libgpod, curl, flac,
|
2018-10-12 15:56:15 -07:00
|
|
|
gnome3, gtk3, gettext, perlPackages, flex, libid3tag,
|
2018-07-20 17:44:44 -07:00
|
|
|
libvorbis, gdk_pixbuf }:
|
2009-04-13 08:41:10 -07:00
|
|
|
|
2014-09-08 07:02:22 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2015-08-11 07:09:13 -07:00
|
|
|
version = "2.1.5";
|
2014-07-30 15:27:48 -07:00
|
|
|
name = "gtkpod-${version}";
|
2009-04-13 08:41:10 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-07-30 15:27:48 -07:00
|
|
|
url = "mirror://sourceforge/gtkpod/${name}.tar.gz";
|
2015-08-11 07:09:13 -07:00
|
|
|
sha256 = "0xisrpx069f7bjkyc8vqxb4k0480jmx1wscqxr6cpq1qj6pchzd5";
|
2009-04-13 08:41:10 -07:00
|
|
|
};
|
2009-10-19 15:05:34 -07:00
|
|
|
|
2018-03-22 16:35:25 -07:00
|
|
|
nativeBuildInputs = [ pkgconfig wrapGAppsHook intltool ];
|
|
|
|
buildInputs = [
|
2018-10-12 15:56:15 -07:00
|
|
|
curl gettext
|
2018-03-22 16:35:25 -07:00
|
|
|
flex libgpod libid3tag flac libvorbis gtk3 gdk_pixbuf
|
|
|
|
gnome3.gdl gnome3.defaultIconTheme gnome3.anjuta
|
2018-10-12 15:56:15 -07:00
|
|
|
] ++ (with perlPackages; [ perl XMLParser ]);
|
2009-10-19 15:05:34 -07:00
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i 's/which/type -P/' scripts/*.sh
|
|
|
|
'';
|
2009-04-13 08:41:10 -07:00
|
|
|
|
2014-07-30 15:27:48 -07:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2014-07-30 15:40:05 -07:00
|
|
|
meta = with stdenv.lib; {
|
2009-04-13 08:41:10 -07:00
|
|
|
description = "GTK Manager for an Apple ipod";
|
|
|
|
homepage = http://gtkpod.sourceforge.net;
|
2014-07-30 15:40:05 -07:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.skeidel ];
|
2009-04-13 08:41:10 -07:00
|
|
|
};
|
|
|
|
}
|