3
0
Fork 0
forked from mirrors/nixpkgs

Add mutagen, upgrade libgpod

svn path=/nixpkgs/trunk/; revision=23955
This commit is contained in:
Yury G. Kudryashov 2010-09-26 19:40:22 +00:00
parent 842e80dd60
commit 086945942d
3 changed files with 31 additions and 7 deletions

View file

@ -1,13 +1,20 @@
{stdenv, fetchurl, gettext, perl, perlXMLParser, pkgconfig, glib, libxml2 }:
{stdenv, fetchurl, gettext, perl, perlXMLParser, intltool, pkgconfig, glib,
libxml2, sqlite, libplist, libusb1, zlib, sg3_utils, gtk, taglib,
libimobiledevice, python, pygobject, mutagen, swig }:
stdenv.mkDerivation {
name = "libgpod-0.7.2";
stdenv.mkDerivation rec {
name = "libgpod-0.7.94";
src = fetchurl {
url = mirror://sourceforge/gtkpod/libgpod-0.7.2.tar.gz;
sha256 = "0xq7947rqf99n9zvbpxfwwkid5z8d2szv5s0024rq37d6zy333rf";
url = "mirror://sourceforge/gtkpod/${name}.tar.gz";
sha256 = "0bs6p5np8kbyhvkj4vza2dmq7qfsf48chx00hirkf3mqccp41xk4";
};
buildInputs = [ gettext perl perlXMLParser pkgconfig glib libxml2 ];
patchPhase = ''sed -e "s,udevdir=,&$out," -i configure'';
configureFlags = "--without-hal --enable-udev";
buildInputs = [ gettext perl perlXMLParser intltool pkgconfig glib libxml2
sqlite libplist libusb1 zlib sg3_utils gtk taglib libimobiledevice
python pygobject mutagen swig ];
meta = {
homepage = http://gtkpod.sourceforge.net/;

View file

@ -3236,7 +3236,9 @@ let
libgphoto2 = callPackage ../development/libraries/libgphoto2 { };
libgpod = callPackage ../development/libraries/libgpod { };
libgpod = callPackage ../development/libraries/libgpod {
inherit (pkgs.pythonPackages) mutagen;
};
libharu = callPackage ../development/libraries/libharu { };

View file

@ -375,6 +375,21 @@ rec {
};
}));
mutagen = buildPythonPackage (rec {
name = "mutagen-1.20";
src = fetchurl {
url = "http://mutagen.googlecode.com/files/${name}.tar.gz";
sha256 = "1rz63nh7r6qj3zsidf8d3a7ih647prvvqzi51p8dqkqmvrwc8mky";
};
meta = {
description = "Python multimedia tagging library";
homepage = http://code.google.com/p/mutagen;
license = "LGPLv2";
};
});
namebench = buildPythonPackage (rec {
name = "namebench-1.0.5";