python3Packages.python-dbusmock: fix for musl

Backports an upstream patch.
This commit is contained in:
Alyssa Ross
2024-10-16 09:40:18 +02:00
parent 68a5f2b625
commit 984d023601
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
runCommand,
# build-system
@@ -40,6 +41,14 @@ buildPythonPackage rec {
hash = "sha256-t8gMBebqVVij6R2KEOq3/j1ql4ZiVdE5236uqGUchE0=";
};
patches = [
(fetchpatch {
name = "musl.patch";
url = "https://github.com/martinpitt/python-dbusmock/commit/1a8d8722068ef7e5f061336047a72d1a0f253b98.patch";
hash = "sha256-0j3UXsTMDh1+UolkmoLQXlwHXve81yKiGJ7gDWNZVPY=";
})
];
build-system = [
setuptools
setuptools-scm