From 8e09a9bb3dbb30fa392086ec7bd44c5c4a407683 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Mon, 13 Apr 2009 15:41:10 +0000 Subject: [PATCH] Adding gtkpod, and fixing libgpod meta info. svn path=/nixpkgs/trunk/; revision=15016 --- pkgs/applications/audio/gtkpod/default.nix | 17 +++++++++++++++++ pkgs/development/libraries/libgpod/default.nix | 6 ++++++ pkgs/top-level/all-packages.nix | 6 ++++++ 3 files changed, 29 insertions(+) create mode 100644 pkgs/applications/audio/gtkpod/default.nix diff --git a/pkgs/applications/audio/gtkpod/default.nix b/pkgs/applications/audio/gtkpod/default.nix new file mode 100644 index 000000000000..962c0c7ba878 --- /dev/null +++ b/pkgs/applications/audio/gtkpod/default.nix @@ -0,0 +1,17 @@ +{ stdenv, fetchurl, pkgconfig, libgpod, gtk, glib, gettext, perl, perlXMLParser, libglade, flex, libid3tag }: + +stdenv.mkDerivation { + name = "gtkpod-0.99.14"; + + src = fetchurl { + url = mirror://sourceforge/gtkpod/gtkpod-0.99.14.tar.gz; + sha256 = "0ggcfyhcdlf3br88csdki215k4clxixa192afz6f16k7h8s2iqbk"; + }; + buildInputs = [ pkgconfig libgpod gettext perl perlXMLParser gtk libglade flex libid3tag]; + + meta = { + description = "GTK Manager for an Apple ipod"; + homepage = http://gtkpod.sourceforge.net; + license = "GPLv2+"; + }; +} diff --git a/pkgs/development/libraries/libgpod/default.nix b/pkgs/development/libraries/libgpod/default.nix index 0f7e5f76019b..725d1befcacc 100644 --- a/pkgs/development/libraries/libgpod/default.nix +++ b/pkgs/development/libraries/libgpod/default.nix @@ -8,4 +8,10 @@ stdenv.mkDerivation { }; buildInputs = [ gettext perl perlXMLParser pkgconfig glib libxml2 ]; + + meta = { + homepage = http://gtkpod.sourceforge.net/; + description = "Library used by gtkpod to access the contents of an ipod"; + license = "LGPL"; + }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7fd44032cebb..2c959d2fca2f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8379,6 +8379,12 @@ let libjpeg readline libtool; }; + gtkpod = import ../applications/audio/gtkpod { + inherit stdenv fetchurl pkgconfig libgpod gettext perl perlXMLParser flex libid3tag; + inherit (gtkLibs) gtk glib; + inherit (gnome) libglade; + }; + qrdecode = builderDefsPackage (import ../tools/graphics/qrdecode) { inherit libpng libcv; };