mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
picard: New package, version 1.1.
Picard is the official MusicBrainz audio tagger which is able to use audio fingerprinting to tag your files. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
03a8eea607
commit
930d13e12c
46
pkgs/applications/audio/picard/default.nix
Normal file
46
pkgs/applications/audio/picard/default.nix
Normal file
@ -0,0 +1,46 @@
|
||||
{ stdenv, fetchurl, pythonPackages, gettext, pyqt4
|
||||
, pkgconfig, libdiscid, libofa, ffmpeg }:
|
||||
|
||||
pythonPackages.buildPythonPackage rec {
|
||||
name = "picard-${version}";
|
||||
namePrefix = "";
|
||||
version = "1.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://ftp.musicbrainz.org/pub/musicbrainz/picard/${name}.tar.gz";
|
||||
md5 = "57abb76632a423760f336ac11da5c149";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
@ -7471,6 +7471,8 @@ let
|
||||
|
||||
pianobooster = callPackage ../applications/audio/pianobooster { };
|
||||
|
||||
picard = callPackage ../applications/audio/picard { };
|
||||
|
||||
pidgin = callPackage ../applications/networking/instant-messengers/pidgin {
|
||||
openssl = if (getConfig ["pidgin" "openssl"] true) then openssl else null;
|
||||
gnutls = if (getConfig ["pidgin" "gnutls"] false) then gnutls else null;
|
||||
|
Loading…
Reference in New Issue
Block a user