2014-10-29 18:45:56 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchurl, gettext
|
|
|
|
, pkgconfig, libofa, ffmpeg, chromaprint
|
|
|
|
, pyqt4, mutagen, python-libdiscid
|
2013-08-14 18:39:35 +02:00
|
|
|
}:
|
2012-09-05 01:15:23 +02:00
|
|
|
|
2015-02-10 01:21:41 +01:00
|
|
|
let version = "1.3.2"; in
|
2014-10-29 18:45:56 +01:00
|
|
|
buildPythonPackage {
|
2012-09-05 01:15:23 +02:00
|
|
|
name = "picard-${version}";
|
2014-12-18 23:15:36 +01:00
|
|
|
namePrefix = "";
|
2012-09-05 01:15:23 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-02-10 01:21:41 +01:00
|
|
|
url = "http://ftp.musicbrainz.org/pub/musicbrainz/picard/picard-${version}.tar.gz";
|
|
|
|
sha256 = "0821xb7gyg0rhch8s3qkzmak90wjpcxkv9a364yv6bmqc12j6a77";
|
2012-09-05 01:15:23 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
ffmpeg
|
|
|
|
libofa
|
|
|
|
gettext
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pyqt4
|
2014-10-29 18:45:56 +01:00
|
|
|
mutagen
|
|
|
|
python-libdiscid
|
2012-09-05 01:15:23 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
python setup.py install --prefix="$out"
|
|
|
|
'';
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2014-08-23 23:56:06 +02:00
|
|
|
meta = with stdenv.lib; {
|
2012-09-05 01:15:23 +02:00
|
|
|
homepage = "http://musicbrainz.org/doc/MusicBrainz_Picard";
|
|
|
|
description = "The official MusicBrainz tagger";
|
2014-08-23 23:56:06 +02:00
|
|
|
maintainers = with maintainers; [ emery ];
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.all;
|
2012-09-05 01:15:23 +02:00
|
|
|
};
|
|
|
|
}
|