2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, systemd, pkg-config }:
|
2017-06-05 14:53:12 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-11-09 11:26:09 +00:00
|
|
|
pname = "systemd";
|
2017-06-05 14:53:12 +00:00
|
|
|
version = "234";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "systemd";
|
|
|
|
repo = "python-systemd";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1fakw7qln44mfd6pj4kqsgyrhkc6cyr653id34kv0rdnb1bvysrz";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ systemd ];
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-06-05 14:53:12 +00:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-06-05 14:53:12 +00:00
|
|
|
description = "Python module for native access to the systemd facilities";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.freedesktop.org/software/systemd/python-systemd/";
|
2017-06-05 14:53:12 +00:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
};
|
|
|
|
}
|