nixpkgs/pkgs/applications/audio/gtkpod/default.nix

35 lines
987 B
Nix
Raw Normal View History

2018-03-23 00:35:25 +01:00
{ stdenv, fetchurl, pkgconfig, wrapGAppsHook, intltool, libgpod, curl, flac,
2019-01-19 07:28:06 +01:00
gnome3, gtk3, gettext, perlPackages, flex, libid3tag, gdl,
libvorbis, gdk_pixbuf }:
stdenv.mkDerivation rec {
version = "2.1.5";
2014-07-31 00:27:48 +02:00
name = "gtkpod-${version}";
src = fetchurl {
2014-07-31 00:27:48 +02:00
url = "mirror://sourceforge/gtkpod/${name}.tar.gz";
sha256 = "0xisrpx069f7bjkyc8vqxb4k0480jmx1wscqxr6cpq1qj6pchzd5";
};
2018-03-23 00:35:25 +01:00
nativeBuildInputs = [ pkgconfig wrapGAppsHook intltool ];
buildInputs = [
curl gettext
2018-03-23 00:35:25 +01:00
flex libgpod libid3tag flac libvorbis gtk3 gdk_pixbuf
2019-02-13 22:47:50 +01:00
gdl gnome3.adwaita-icon-theme gnome3.anjuta
] ++ (with perlPackages; [ perl XMLParser ]);
patchPhase = ''
sed -i 's/which/type -P/' scripts/*.sh
'';
2014-07-31 00:27:48 +02:00
enableParallelBuilding = true;
2014-07-31 00:40:05 +02:00
meta = with stdenv.lib; {
description = "GTK Manager for an Apple ipod";
homepage = http://gtkpod.sourceforge.net;
2014-07-31 00:40:05 +02:00
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ maintainers.skeidel ];
};
}