Merge pull request #60735 from r-ryantm/auto-update/python3.7-pystemd

python37Packages.pystemd: 0.5.0 -> 0.6.0
This commit is contained in:
Florian Klink 2019-05-02 11:30:05 +02:00 committed by GitHub
commit cd5b868a11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,23 +1,24 @@
{ stdenv, buildPythonPackage, fetchPypi, mock, pytest, six, systemd }:
{ stdenv, python, systemd }:
buildPythonPackage rec {
python.pkgs.buildPythonPackage rec {
pname = "pystemd";
version = "0.5.0";
src = fetchPypi {
version = "0.6.0";
src = python.pkgs.fetchPypi {
inherit pname version;
sha256 = "000001hxv25vwcsvc0avg42v89c7qcjdpw6dr8419prmcb9186i5";
sha256 = "054a3ni71paqa1xa786840z3kjixcgyqdbscyq8nfxp3hwn0gz5i";
};
buildInputs = [ systemd ];
propagatedBuildInputs = [ six ];
disabled = !python.pkgs.isPy3k;
checkInputs = [ pytest mock ];
buildInputs = [ systemd ];
checkInputs = with python.pkgs; [ 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;
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ flokli ];
};
}