[staging-next] python3Packages.python-dbusmock: fix for musl; 0.32.1 -> 0.32.2 (#348852)

This commit is contained in:
Martin Weinelt
2024-10-16 20:53:28 +02:00
committed by GitHub
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
runCommand,
# build-system
@@ -30,16 +31,29 @@ let
in
buildPythonPackage rec {
pname = "python-dbusmock";
version = "0.32.1";
version = "0.32.2";
pyproject = true;
src = fetchFromGitHub {
owner = "martinpitt";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-t8gMBebqVVij6R2KEOq3/j1ql4ZiVdE5236uqGUchE0=";
hash = "sha256-TOs6wAZDcSD1eP+Hbj78YXoAtKbReC5di5QSpQdwp8E=";
};
patches = [
(fetchpatch {
name = "musl.patch";
url = "https://github.com/martinpitt/python-dbusmock/commit/1a8d8722068ef7e5f061336047a72d1a0f253b98.patch";
hash = "sha256-0j3UXsTMDh1+UolkmoLQXlwHXve81yKiGJ7gDWNZVPY=";
})
(fetchpatch {
name = "os-release.patch";
url = "https://github.com/martinpitt/python-dbusmock/commit/4b99cff50e8c741f20aef4527b27ccdb2a4053d2.patch";
hash = "sha256-Xcovv44JeuTvPAtXWJvWE+MxlyloClSJGKZz+C3P5bE=";
})
];
build-system = [
setuptools
setuptools-scm