Merge pull request #96645 from NixOS/u/puddletag

puddletag: 1.2.0 -> 2.0.1

authored by Peter Hoeg and committed by GitHub d761d68c 1b018692

+14 -17
+14 -17
pkgs/applications/audio/puddletag/default.nix
··· 1 - { stdenv, fetchFromGitHub, python2Packages, chromaprint }: 1 + { stdenv, fetchFromGitHub, python3Packages, chromaprint }: 2 2 3 - python2Packages.buildPythonApplication rec { 3 + python3Packages.buildPythonApplication rec { 4 4 pname = "puddletag"; 5 - version = "1.2.0"; 5 + version = "2.0.1"; 6 6 7 7 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="; 12 12 }; 13 13 14 - setSourceRoot = '' 15 - sourceRoot=$(echo */source) 16 - ''; 17 - 18 - disabled = python2Packages.isPy3k; # work to support python 3 has not begun 14 + sourceRoot = "source/source"; 19 15 20 - propagatedBuildInputs = [ chromaprint ] ++ (with python2Packages; [ 16 + propagatedBuildInputs = [ chromaprint ] ++ (with python3Packages; [ 21 17 configobj 22 18 mutagen 23 19 pyparsing 24 - pyqt4 20 + pyqt5 25 21 ]); 26 22 27 23 doCheck = false; # there are no tests 24 + 28 25 dontStrip = true; # we are not generating any binaries 29 26 30 27 meta = with stdenv.lib; { 31 28 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; 34 31 maintainers = with maintainers; [ peterhoeg ]; 35 - platforms = platforms.linux; 32 + platforms = platforms.linux; 36 33 }; 37 34 }