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