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

36 lines
826 B
Nix

{ stdenv, python2Packages, fetchurl, gettext }:
let
pythonPackages = python2Packages;
in pythonPackages.buildPythonApplication rec {
pname = "picard";
version = "1.4.2";
src = fetchurl {
url = "http://ftp.musicbrainz.org/pub/musicbrainz/picard/picard-${version}.tar.gz";
sha256 = "0d12k40d9fbcn801gp5zdsgvjdrh4g97vda3ga16rmmvfwwfxbgh";
};
buildInputs = [ gettext ];
propagatedBuildInputs = with pythonPackages; [
pyqt4
mutagen
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;
};
}