e5bde17f3a
Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/qi3f0w0hbwajdys4r22g2hhfkcx8bm4d-picard-1.4.2/bin/.picard-wrapped -h` got 0 exit code - ran `/nix/store/qi3f0w0hbwajdys4r22g2hhfkcx8bm4d-picard-1.4.2/bin/.picard-wrapped --help` got 0 exit code - ran `/nix/store/qi3f0w0hbwajdys4r22g2hhfkcx8bm4d-picard-1.4.2/bin/.picard-wrapped -V` and found version 1.4.2 - ran `/nix/store/qi3f0w0hbwajdys4r22g2hhfkcx8bm4d-picard-1.4.2/bin/.picard-wrapped -v` and found version 1.4.2 - ran `/nix/store/qi3f0w0hbwajdys4r22g2hhfkcx8bm4d-picard-1.4.2/bin/.picard-wrapped --version` and found version 1.4.2 - ran `/nix/store/qi3f0w0hbwajdys4r22g2hhfkcx8bm4d-picard-1.4.2/bin/picard -h` got 0 exit code - ran `/nix/store/qi3f0w0hbwajdys4r22g2hhfkcx8bm4d-picard-1.4.2/bin/picard --help` got 0 exit code - ran `/nix/store/qi3f0w0hbwajdys4r22g2hhfkcx8bm4d-picard-1.4.2/bin/picard -V` and found version 1.4.2 - ran `/nix/store/qi3f0w0hbwajdys4r22g2hhfkcx8bm4d-picard-1.4.2/bin/picard -v` and found version 1.4.2 - ran `/nix/store/qi3f0w0hbwajdys4r22g2hhfkcx8bm4d-picard-1.4.2/bin/picard --version` and found version 1.4.2 - found 1.4.2 with grep in /nix/store/qi3f0w0hbwajdys4r22g2hhfkcx8bm4d-picard-1.4.2 - found 1.4.2 in filename of file in /nix/store/qi3f0w0hbwajdys4r22g2hhfkcx8bm4d-picard-1.4.2 cc "@ehmry"
37 lines
864 B
Nix
37 lines
864 B
Nix
{ stdenv, python2Packages, fetchurl, gettext, chromaprint }:
|
|
|
|
let
|
|
version = "1.4.2";
|
|
pythonPackages = python2Packages;
|
|
in pythonPackages.buildPythonApplication {
|
|
name = "picard-${version}";
|
|
namePrefix = "";
|
|
|
|
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;
|
|
};
|
|
}
|