about summary refs log tree commit diff
path: root/pkgs/applications/audio/gtkpod/default.nix
blob: 90e27c12ce3b5b8829cbc3578cbea85abfaa9995 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchurl, pkgconfig, libgpod, gtk, glib, gettext, perl, perlXMLParser
, libglade, flex, libid3tag, libvorbis, intltool }:

stdenv.mkDerivation {
  name = "gtkpod-1.0.0";

  src = fetchurl {
    url = mirror://sourceforge/gtkpod/gtkpod-1.0.0.tar.gz;
    sha256 = "04jzybs55c27kyp7r9c58prcq0q4ssvj5iggva857f49s1ar826q";
  };

  buildInputs = [ pkgconfig libgpod gettext perl perlXMLParser gtk libglade flex
    libid3tag libvorbis intltool ];

  patchPhase = ''
    sed -i 's/which/type -P/' scripts/*.sh
  '';

  meta = {
    description = "GTK Manager for an Apple ipod";
    homepage = http://gtkpod.sourceforge.net;
    license = "GPLv2+";
    platforms = with stdenv.lib.platforms; linux;
  };
}