python.pkgs.systemd: 233 -> 234
also python library does not match with our systemd version, the changes done in this release are systemd 233 and python 3.6 related.
This commit is contained in:
24
pkgs/development/python-modules/systemd/default.nix
Normal file
24
pkgs/development/python-modules/systemd/default.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, systemd, pkgconfig }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "python-systemd-${version}";
|
||||
version = "234";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "systemd";
|
||||
repo = "python-systemd";
|
||||
rev = "v${version}";
|
||||
sha256 = "1fakw7qln44mfd6pj4kqsgyrhkc6cyr653id34kv0rdnb1bvysrz";
|
||||
};
|
||||
|
||||
buildInputs = [ systemd ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.licenses; {
|
||||
description = "Python module for native access to the systemd facilities";
|
||||
homepage = http://www.freedesktop.org/software/systemd/python-systemd/;
|
||||
license = licenses.lgpl21;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user