python3.pkgs.systemd: clean up
This commit is contained in:
parent
264c765c31
commit
e6eaafffff
@ -1,4 +1,9 @@
|
|||||||
{ lib, buildPythonPackage, fetchFromGitHub, systemd, pkg-config }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, systemd
|
||||||
|
, pkg-config
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "systemd";
|
pname = "systemd";
|
||||||
@ -11,14 +16,27 @@ buildPythonPackage rec {
|
|||||||
sha256 = "1fakw7qln44mfd6pj4kqsgyrhkc6cyr653id34kv0rdnb1bvysrz";
|
sha256 = "1fakw7qln44mfd6pj4kqsgyrhkc6cyr653id34kv0rdnb1bvysrz";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ systemd ];
|
nativeBuildInputs = [
|
||||||
nativeBuildInputs = [ pkg-config ];
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
systemd
|
||||||
|
];
|
||||||
|
|
||||||
|
# No module named 'systemd._journal
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"systemd.journal"
|
||||||
|
"systemd.id128"
|
||||||
|
"systemd.daemon"
|
||||||
|
"systemd.login"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python module for native access to the systemd facilities";
|
description = "Python module for native access to the systemd facilities";
|
||||||
homepage = "http://www.freedesktop.org/software/systemd/python-systemd/";
|
homepage = "http://www.freedesktop.org/software/systemd/python-systemd/";
|
||||||
license = licenses.lgpl21;
|
license = licenses.lgpl21Plus;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user