2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, wrapGAppsHook, intltool, libgpod, curl, flac,
|
2021-05-20 23:08:51 +00:00
|
|
|
gnome, gtk3, gettext, perlPackages, flex, libid3tag, gdl,
|
2020-04-24 23:36:52 +00:00
|
|
|
libvorbis, gdk-pixbuf }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "2.1.5";
|
|
|
|
pname = "gtkpod";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/gtkpod/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "0xisrpx069f7bjkyc8vqxb4k0480jmx1wscqxr6cpq1qj6pchzd5";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config wrapGAppsHook intltool ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [
|
|
|
|
curl gettext
|
|
|
|
flex libgpod libid3tag flac libvorbis gtk3 gdk-pixbuf
|
2021-05-20 23:08:51 +00:00
|
|
|
gdl gnome.adwaita-icon-theme gnome.anjuta
|
2020-04-24 23:36:52 +00:00
|
|
|
] ++ (with perlPackages; [ perl XMLParser ]);
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i 's/which/type -P/' scripts/*.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "GTK Manager for an Apple ipod";
|
|
|
|
homepage = "http://gtkpod.sourceforge.net";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.skeidel ];
|
|
|
|
};
|
|
|
|
}
|