diff options
author | Florian Klink <flokli@flokli.de> | 2018-09-29 21:25:08 +0200 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-09-29 21:25:08 +0200 |
commit | 2be514d5c389b50aeeb5773ab269863131a294a8 (patch) | |
tree | f4c0255fb37b54a8c9281cce6ee19baf5ef50e1b /pkgs/development | |
parent | 5a1652e5bf23197d267b62f9c28bf526640eb39a (diff) | |
download | nixpkgs-2be514d5c389b50aeeb5773ab269863131a294a8.tar nixpkgs-2be514d5c389b50aeeb5773ab269863131a294a8.tar.gz nixpkgs-2be514d5c389b50aeeb5773ab269863131a294a8.tar.bz2 nixpkgs-2be514d5c389b50aeeb5773ab269863131a294a8.tar.lz nixpkgs-2be514d5c389b50aeeb5773ab269863131a294a8.tar.xz nixpkgs-2be514d5c389b50aeeb5773ab269863131a294a8.tar.zst nixpkgs-2be514d5c389b50aeeb5773ab269863131a294a8.zip |
pythonPackages.pystemd: init at 0.5.0 (#47517)
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/pystemd/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pystemd/default.nix b/pkgs/development/python-modules/pystemd/default.nix new file mode 100644 index 00000000000..fc269641ecf --- /dev/null +++ b/pkgs/development/python-modules/pystemd/default.nix @@ -0,0 +1,23 @@ +{ stdenv, buildPythonPackage, fetchPypi, mock, pytest, six, systemd }: + +buildPythonPackage rec { + pname = "pystemd"; + version = "0.5.0"; + src = fetchPypi { + inherit pname version; + sha256 = "000001hxv25vwcsvc0avg42v89c7qcjdpw6dr8419prmcb9186i5"; + }; + + buildInputs = [ systemd ]; + propagatedBuildInputs = [ six ]; + + checkInputs = [ pytest mock ]; + checkPhase = "pytest tests"; + + meta = with stdenv.lib; { + 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."; + homepage = https://github.com/facebookincubator/pystemd/; + license = licenses.bsd0; + maintainers = with maintainers; [ flokli ]; + }; +} |