Merge pull request #96645 from NixOS/u/puddletag

puddletag: 1.2.0 -> 2.0.1
This commit is contained in:
Peter Hoeg 2020-08-31 21:07:56 +08:00 committed by GitHub
commit d761d68cd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,37 +1,34 @@
{ stdenv, fetchFromGitHub, python2Packages, chromaprint }: { stdenv, fetchFromGitHub, python3Packages, chromaprint }:
python2Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "puddletag"; pname = "puddletag";
version = "1.2.0"; version = "2.0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "keithgg"; owner = "keithgg";
repo = "puddletag"; repo = "puddletag";
rev = "v${version}"; rev = version;
sha256 = "1g6wa91awy17z5b704yi9kfynnvfm9lkrvpfvwccscr1h8s3qmiz"; sha256 = "sha256-9l8Pc77MX5zFkOqU00HFS8//3Bzd2OMnVV1brmWsNAQ=";
}; };
setSourceRoot = '' sourceRoot = "source/source";
sourceRoot=$(echo */source)
'';
disabled = python2Packages.isPy3k; # work to support python 3 has not begun propagatedBuildInputs = [ chromaprint ] ++ (with python3Packages; [
propagatedBuildInputs = [ chromaprint ] ++ (with python2Packages; [
configobj configobj
mutagen mutagen
pyparsing pyparsing
pyqt4 pyqt5
]); ]);
doCheck = false; # there are no tests doCheck = false; # there are no tests
dontStrip = true; # we are not generating any binaries dontStrip = true; # we are not generating any binaries
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "An audio tag editor similar to the Windows program, Mp3tag"; description = "An audio tag editor similar to the Windows program, Mp3tag";
homepage = "https://docs.puddletag.net"; homepage = "https://docs.puddletag.net";
license = licenses.gpl3; license = licenses.gpl3;
maintainers = with maintainers; [ peterhoeg ]; maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.linux; platforms = platforms.linux;
}; };
} }