nixpkgs/pkgs/applications/audio/picard/default.nix
aszlig f84d1fe3f5
picard: Update to new upstream version 1.2.
Changes since 1.1:

 - Picard now requires at least Python 2.6
 - Removed support for AmpliFIND/PUIDs
 - Add support for the Ogg Opus file format
 - It's now possible to download cover images without any plugin. Cover
   Art Archive images can be downloaded by image type
 - Improved directory scanning performance
 - Prefer already-loaded releases of the same RG when matching files
 - Allow dropping new files onto specific targets
 - Add basic collections management support (PICARD-84)
 - Allow adding custom tags in the tag editing dialog (PICARD-349)
 - Fix replacing of Windows-incompatible characters (PICARD-393)
 - Save both primary and secondary release types (PICARD-240)
 - Handle errors from the AcoustID service better (PICARD-391)
 - Accept HTTPS URLs on drag-and-drop (PICARD-378)

Full release announcement can be found here:

http://blog.musicbrainz.org/2013/03/31/picard-1-2-released/

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2013-08-14 20:50:56 +02:00

47 lines
882 B
Nix

{ stdenv, fetchurl, pythonPackages, gettext, pyqt4
, pkgconfig, libdiscid, libofa, ffmpeg }:
pythonPackages.buildPythonPackage rec {
name = "picard-${version}";
namePrefix = "";
version = "1.2";
src = fetchurl {
url = "http://ftp.musicbrainz.org/pub/musicbrainz/picard/${name}.tar.gz";
md5 = "d1086687b7f7b0d359a731b1a25e7b66";
};
buildInputs = [
pkgconfig
ffmpeg
libofa
gettext
];
propagatedBuildInputs = [
pythonPackages.mutagen
pyqt4
libdiscid
];
configurePhase = ''
python setup.py config
'';
buildPhase = ''
python setup.py build
'';
installPhase = ''
python setup.py install --prefix="$out"
'';
doCheck = false;
meta = {
homepage = "http://musicbrainz.org/doc/MusicBrainz_Picard";
description = "The official MusicBrainz tagger";
license = stdenv.lib.licenses.gpl2;
};
}