summary refs log tree commit diff
path: root/pkgs/development/python-modules/systemd/default.nix
blob: cbe2a2131918b0b6bf5684d77a6c239b372cc184 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, buildPythonPackage, fetchFromGitHub, systemd, pkgconfig }:

buildPythonPackage rec {
  pname = "systemd";
  version = "234";

  src = fetchFromGitHub {
    owner = "systemd";
    repo = "python-systemd";
    rev = "v${version}";
    sha256 = "1fakw7qln44mfd6pj4kqsgyrhkc6cyr653id34kv0rdnb1bvysrz";
  };

  buildInputs = [ systemd ];
  nativeBuildInputs = [ pkgconfig ];

  doCheck = false;

  meta = with stdenv.lib; {
    description = "Python module for native access to the systemd facilities";
    homepage = http://www.freedesktop.org/software/systemd/python-systemd/;
    license = licenses.lgpl21;
  };
}