mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
36 lines
826 B
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;
|
|
};
|
|
}
|