3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/systemd/default.nix
2021-01-25 18:31:47 +01:00

25 lines
616 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub, systemd, pkg-config }:
buildPythonPackage rec {
pname = "systemd";
version = "234";
src = fetchFromGitHub {
owner = "systemd";
repo = "python-systemd";
rev = "v${version}";
sha256 = "1fakw7qln44mfd6pj4kqsgyrhkc6cyr653id34kv0rdnb1bvysrz";
};
buildInputs = [ systemd ];
nativeBuildInputs = [ pkg-config ];
doCheck = false;
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;
};
}