2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, systemd, pkg-config }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "systemd";
|
|
|
|
version = "234";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "systemd";
|
|
|
|
repo = "python-systemd";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1fakw7qln44mfd6pj4kqsgyrhkc6cyr653id34kv0rdnb1bvysrz";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ systemd ];
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Python module for native access to the systemd facilities";
|
|
|
|
homepage = "http://www.freedesktop.org/software/systemd/python-systemd/";
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
};
|
|
|
|
}
|