3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/audio/picard/default.nix

36 lines
826 B
Nix
Raw Normal View History

{ stdenv, python2Packages, fetchurl, gettext }:
2016-08-14 11:37:20 +01:00
let
2016-10-17 20:51:31 +01:00
pythonPackages = python2Packages;
in pythonPackages.buildPythonApplication rec {
pname = "picard";
version = "1.4.2";
src = fetchurl {
2015-02-10 00:21:41 +00:00
url = "http://ftp.musicbrainz.org/pub/musicbrainz/picard/picard-${version}.tar.gz";
sha256 = "0d12k40d9fbcn801gp5zdsgvjdrh4g97vda3ga16rmmvfwwfxbgh";
};
2017-01-06 11:46:38 +00:00
buildInputs = [ gettext ];
2016-08-14 11:37:20 +01:00
propagatedBuildInputs = with pythonPackages; [
pyqt4
2014-10-29 17:45:56 +00:00
mutagen
2016-08-14 11:37:20 +01:00
discid
];
installPhase = ''
python setup.py install --prefix="$out"
'';
doCheck = false;
meta = with stdenv.lib; {
homepage = http://musicbrainz.org/doc/MusicBrainz_Picard;
description = "The official MusicBrainz tagger";
maintainers = with maintainers; [ ehmry ];
license = licenses.gpl2;
platforms = platforms.all;
};
}