summary refs log tree commit diff
path: root/pkgs/development/python-modules/systemd
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2017-06-05 15:53:12 +0100
committerJörg Thalheim <joerg@thalheim.io>2017-06-05 16:07:11 +0100
commit6b89277fed6bf06417776cc9423e5f3c01e465e8 (patch)
tree24b15a7a62b802cfd7fbed6dd5998ec8ee45daa8 /pkgs/development/python-modules/systemd
parent7c476b98df084f2ea174c2a01d959c63b2979a5f (diff)
downloadnixlib-6b89277fed6bf06417776cc9423e5f3c01e465e8.tar
nixlib-6b89277fed6bf06417776cc9423e5f3c01e465e8.tar.gz
nixlib-6b89277fed6bf06417776cc9423e5f3c01e465e8.tar.bz2
nixlib-6b89277fed6bf06417776cc9423e5f3c01e465e8.tar.lz
nixlib-6b89277fed6bf06417776cc9423e5f3c01e465e8.tar.xz
nixlib-6b89277fed6bf06417776cc9423e5f3c01e465e8.tar.zst
nixlib-6b89277fed6bf06417776cc9423e5f3c01e465e8.zip
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.
Diffstat (limited to 'pkgs/development/python-modules/systemd')
-rw-r--r--pkgs/development/python-modules/systemd/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/systemd/default.nix b/pkgs/development/python-modules/systemd/default.nix
new file mode 100644
index 000000000000..c856e019f468
--- /dev/null
+++ b/pkgs/development/python-modules/systemd/default.nix
@@ -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;
+  };
+}