Files
nixpkgs/pkgs/development/python-modules/pystemd/default.nix
R. RyanTM 15c64ae4cb python37Packages.pystemd: 0.5.0 -> 0.6.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-pystemd/versions
2019-05-02 01:58:19 -07:00

24 lines
721 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, mock, pytest, six, systemd }:
buildPythonPackage rec {
pname = "pystemd";
version = "0.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "054a3ni71paqa1xa786840z3kjixcgyqdbscyq8nfxp3hwn0gz5i";
};
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 ];
};
}