python3.pkgs.systemd: clean up

main
Jan Tojnar 2 years ago
parent 264c765c31
commit e6eaafffff
  1. 26
      pkgs/development/python-modules/systemd/default.nix

@ -1,4 +1,9 @@
{ lib, buildPythonPackage, fetchFromGitHub, systemd, pkg-config }:
{ lib
, buildPythonPackage
, fetchFromGitHub
, systemd
, pkg-config
}:
buildPythonPackage rec {
pname = "systemd";
@ -11,14 +16,27 @@ buildPythonPackage rec {
sha256 = "1fakw7qln44mfd6pj4kqsgyrhkc6cyr653id34kv0rdnb1bvysrz";
};
buildInputs = [ systemd ];
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [
pkg-config
];
buildInputs = [
systemd
];
# No module named 'systemd._journal
doCheck = false;
pythonImportsCheck = [
"systemd.journal"
"systemd.id128"
"systemd.daemon"
"systemd.login"
];
meta = with lib; {
description = "Python module for native access to the systemd facilities";
homepage = "http://www.freedesktop.org/software/systemd/python-systemd/";
license = licenses.lgpl21;
license = licenses.lgpl21Plus;
};
}

Loading…
Cancel
Save