nixpkgs-suyu/pkgs/applications/audio/picard/default.nix

36 lines
826 B
Nix
Raw Normal View History

{ stdenv, python2Packages, fetchurl, gettext }:
2016-08-14 12:37:20 +02:00
let
2016-10-17 21:51:31 +02:00
pythonPackages = python2Packages;
in pythonPackages.buildPythonApplication rec {
pname = "picard";
version = "1.4.2";
src = fetchurl {
2015-02-10 01:21:41 +01:00
url = "http://ftp.musicbrainz.org/pub/musicbrainz/picard/picard-${version}.tar.gz";
sha256 = "0d12k40d9fbcn801gp5zdsgvjdrh4g97vda3ga16rmmvfwwfxbgh";
};
2017-01-06 12:46:38 +01:00
buildInputs = [ gettext ];
2016-08-14 12:37:20 +02:00
propagatedBuildInputs = with pythonPackages; [
pyqt4
2014-10-29 18:45:56 +01:00
mutagen
2016-08-14 12:37:20 +02: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;
};
}