1 { lib, python, systemd }:
3 python.pkgs.buildPythonPackage rec {
6 src = python.pkgs.fetchPypi {
8 sha256 = "0wlrid2xd73dmzl4m0jgg6cqmkx3qs9v9nikvwxd8a5b8chf9hna";
11 disabled = python.pythonOlder "3.4";
13 buildInputs = [ systemd ];
15 checkInputs = with python.pkgs; [ pytest mock ];
16 checkPhase = "pytest tests";
19 description = "A thin Cython-based wrapper on top of libsystemd, focused on exposing the dbus API via sd-bus in an automated and easy to consume way.";
20 homepage = "https://github.com/facebookincubator/pystemd/";
21 license = licenses.lgpl21Plus;
22 maintainers = with maintainers; [ flokli ];