git.iko.soy/typeable/nixpkgs
on master help sign in
puddletag: 1.2.0 -> 2.0.1
commitcfa06fbbcab9184e76c1fb330141c526d759bd7d authorPeter Hoeg <peter@hoeg.com> dateSun 30 Aug 2020, 07:49 (6 years ago) parentc59ea8b
1 file changed+14−17
pkgs/applications/audio/puddletag/default.nix+14−17
pkgs/applications/audio/puddletag/default.nix+14−17
@@ -1,37 +1,34 @@
1−{ stdenv, fetchFromGitHub, python2Packages, chromaprint }:
1+{ stdenv, fetchFromGitHub, python3Packages, chromaprint }:
22
3−python2Packages.buildPythonApplication rec {
3+python3Packages.buildPythonApplication rec {
44 pname = "puddletag";
5− version = "1.2.0";
5+ version = "2.0.1";
66
77 src = fetchFromGitHub {
8− owner = "keithgg";
9− repo = "puddletag";
10− rev = "v${version}";
11− sha256 = "1g6wa91awy17z5b704yi9kfynnvfm9lkrvpfvwccscr1h8s3qmiz";
8+ owner = "keithgg";
9+ repo = "puddletag";
10+ rev = version;
11+ sha256 = "sha256-9l8Pc77MX5zFkOqU00HFS8//3Bzd2OMnVV1brmWsNAQ=";
1212 };
1313
14− setSourceRoot = ''
15− sourceRoot=$(echo */source)
16− '';
14+ sourceRoot = "source/source";
1715
18− disabled = python2Packages.isPy3k; # work to support python 3 has not begun
19−
20− propagatedBuildInputs = [ chromaprint ] ++ (with python2Packages; [
16+ propagatedBuildInputs = [ chromaprint ] ++ (with python3Packages; [
2117 configobj
2218 mutagen
2319 pyparsing
24− pyqt4
20+ pyqt5
2521 ]);
2622
2723 doCheck = false; # there are no tests
24+
2825 dontStrip = true; # we are not generating any binaries
2926
3027 meta = with stdenv.lib; {
3128 description = "An audio tag editor similar to the Windows program, Mp3tag";
32− homepage = "https://docs.puddletag.net";
33− license = licenses.gpl3;
29+ homepage = "https://docs.puddletag.net";
30+ license = licenses.gpl3;
3431 maintainers = with maintainers; [ peterhoeg ];
35− platforms = platforms.linux;
32+ platforms = platforms.linux;
3633 };
3734}