2021-01-19 07:50:56 +01:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, wrapGAppsHook, intltool, libgpod, curl, flac,
|
2019-01-19 07:28:06 +01:00
|
|
|
gnome3, gtk3, gettext, perlPackages, flex, libid3tag, gdl,
|
2019-05-22 13:03:39 +02:00
|
|
|
libvorbis, gdk-pixbuf }:
|
2009-04-13 17:41:10 +02:00
|
|
|
|
2014-09-08 16:02:22 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2015-08-11 16:09:13 +02:00
|
|
|
version = "2.1.5";
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "gtkpod";
|
2009-04-13 17:41:10 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "mirror://sourceforge/gtkpod/${pname}-${version}.tar.gz";
|
2015-08-11 16:09:13 +02:00
|
|
|
sha256 = "0xisrpx069f7bjkyc8vqxb4k0480jmx1wscqxr6cpq1qj6pchzd5";
|
2009-04-13 17:41:10 +02:00
|
|
|
};
|
2009-10-20 00:05:34 +02:00
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ pkg-config wrapGAppsHook intltool ];
|
2018-03-23 00:35:25 +01:00
|
|
|
buildInputs = [
|
2018-10-13 00:56:15 +02:00
|
|
|
curl gettext
|
2019-05-22 13:03:39 +02:00
|
|
|
flex libgpod libid3tag flac libvorbis gtk3 gdk-pixbuf
|
2019-02-13 22:47:50 +01:00
|
|
|
gdl gnome3.adwaita-icon-theme gnome3.anjuta
|
2018-10-13 00:56:15 +02:00
|
|
|
] ++ (with perlPackages; [ perl XMLParser ]);
|
2009-10-20 00:05:34 +02:00
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i 's/which/type -P/' scripts/*.sh
|
|
|
|
'';
|
2009-04-13 17:41:10 +02:00
|
|
|
|
2014-07-31 00:27:48 +02:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2009-04-13 17:41:10 +02:00
|
|
|
description = "GTK Manager for an Apple ipod";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://gtkpod.sourceforge.net";
|
2014-07-31 00:40:05 +02:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.skeidel ];
|
2009-04-13 17:41:10 +02:00
|
|
|
};
|
|
|
|
}
|