python3.pkgs.systemd: Fix compatibility with Python 3.10
This commit is contained in:
parent
e6eaafffff
commit
3f328a5108
@ -1,5 +1,6 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchpatch
|
||||
, fetchFromGitHub
|
||||
, systemd
|
||||
, pkg-config
|
||||
@ -16,6 +17,15 @@ buildPythonPackage rec {
|
||||
sha256 = "1fakw7qln44mfd6pj4kqsgyrhkc6cyr653id34kv0rdnb1bvysrz";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix runtime issues on Python 3.10
|
||||
# https://github.com/systemd/python-systemd/issues/107
|
||||
(fetchpatch {
|
||||
url = "https://github.com/systemd/python-systemd/commit/c71bbac357f0ac722e1bcb2edfa925b68cca23c9.patch";
|
||||
sha256 = "22s72Wa/BCwNNvwbxEUh58jhHlbA00SNwNVchVDovcc=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user