quodlibet: 4.6.0-unstable-2024-08-08 -> 4.7.1

This commit is contained in:
Stefan Frijters
2025-06-23 18:06:02 +02:00
parent 5147205d41
commit c9bd45f6dc
2 changed files with 12 additions and 6 deletions
+12 -6
View File
@@ -43,10 +43,9 @@
python3,
xvfb-run,
}:
python3.pkgs.buildPythonApplication {
python3.pkgs.buildPythonApplication rec {
pname = "quodlibet${tag}";
version = "4.6.0-unstable-2024-08-08";
version = "4.7.1";
pyproject = true;
outputs = [
@@ -57,14 +56,21 @@ python3.pkgs.buildPythonApplication {
src = fetchFromGitHub {
owner = "quodlibet";
repo = "quodlibet";
rev = "3dcf31dfc8db9806d1f73a47fdabc950d35ded1d";
hash = "sha256-8qWuxTvMF6ksDkbZ6wRLPCJK1cSqgGMPac/ht6qVpnA=";
tag = "release-${version}";
hash = "sha256-xr3c1e4tjw2YHuKbvNeUPBIFdHEcpztqXjHVDSSxYlo=";
};
patches = [ ./fix-gdist-python-3.12.patch ];
# Fix "E ModuleNotFoundError: No module named 'distutils'" in Python 3.12 or newer
patches = [ ./fix-gdist-python-3.12-and-newer.patch ];
build-system = [ python3.pkgs.setuptools ];
postPatch = ''
# Fix "FileExistsError: File already exists: /nix/store/<...>-quodlibet-4.7.1/bin/quodlibet"
substituteInPlace pyproject.toml \
--replace-fail 'quodlibet = "quodlibet.main:main"' ""
'';
nativeBuildInputs =
[
gettext