puddletag: 2.3.0 -> 2.5.0

This commit is contained in:
Peter H. Hoeg
2025-08-11 10:42:10 +02:00
committed by Peter Hoeg
parent 9c0b6838e3
commit 2ef1846937
2 changed files with 15 additions and 24 deletions
@@ -1,33 +1,26 @@
{
lib,
fetchFromGitHub,
fetchurl,
python3,
qtbase,
qtwayland,
wrapQtAppsHook,
libsForQt5,
}:
let
qt = libsForQt5;
in
python3.pkgs.buildPythonApplication rec {
pname = "puddletag";
version = "2.3.0";
version = "2.5.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "puddletag";
repo = "puddletag";
tag = version;
hash = "sha256-oScT8YcQoDf2qZ+J7xKm22Sbfym3tkVUrWT5D2LU5e8=";
hash = "sha256-Per+olIi2yd2cNRO22Fi6cC7/90AqRP1NpRK1XU1i0A=";
};
patches = [
(fetchurl {
url = "https://github.com/puddletag/puddletag/commit/54074824adb05da42c03d7adfbba94d8e24982f0.patch";
hash = "sha256-DkgaFWgp2m2bRuhdXhHW+nxV/2GaCgeRNdwLMYAkcYQ=";
name = "fix_for_pyparsing_3_1_2.patch";
})
];
pythonRelaxDeps = true;
pythonRemoveDeps = [
@@ -37,19 +30,19 @@ python3.pkgs.buildPythonApplication rec {
postPatch = ''
substituteInPlace setup.py \
--replace share/pixmaps share/icons
--replace-fail share/pixmaps share/icons
'';
buildInputs = [
buildInputs = with qt; [
qtbase
qtwayland
];
nativeBuildInputs = [
nativeBuildInputs = with qt; [
wrapQtAppsHook
];
propagatedBuildInputs = with python3.pkgs; [
dependencies = with python3.pkgs; [
configobj
levenshtein
lxml
@@ -73,15 +66,15 @@ python3.pkgs.buildPythonApplication rec {
dontStrip = true; # we are not generating any binaries
meta = with lib; {
meta = {
description = "Audio tag editor similar to the Windows program, Mp3tag";
mainProgram = "puddletag";
homepage = "https://docs.puddletag.net";
license = licenses.gpl3Plus;
maintainers = with maintainers; [
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [
peterhoeg
dschrempf
];
platforms = platforms.linux;
platforms = lib.platforms.linux;
};
}
-2
View File
@@ -11962,8 +11962,6 @@ with pkgs;
fftw = fftwSinglePrec;
};
puddletag = libsForQt5.callPackage ../applications/audio/puddletag { };
welle-io = qt6Packages.callPackage ../applications/radio/welle-io { };
wireshark = qt6Packages.callPackage ../applications/networking/sniffers/wireshark {