git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #60735 from r-ryantm/auto-update/python3.7-pystemd

python37Packages.pystemd: 0.5.0 -> 0.6.0

commitcd5b868a11f8c29476aca3b649286f6f2c93cc99 authorFlorian Klink <flokli@flokli.de> dateThu 2 May 2019, 11:30 (8 years ago) parent523cccf90568de
1 file changed+9−8
pkgs/development/python-modules/pystemd/default.nix+9−8
pkgs/development/python-modules/pystemd/default.nix+9−8
@@ -1,23 +1,24 @@
1−{ stdenv, buildPythonPackage, fetchPypi, mock, pytest, six, systemd }:
1+{ stdenv, python, systemd }:
22
3−buildPythonPackage rec {
3+python.pkgs.buildPythonPackage rec {
44 pname = "pystemd";
5− version = "0.5.0";
6− src = fetchPypi {
5+ version = "0.6.0";
6+ src = python.pkgs.fetchPypi {
77 inherit pname version;
8− sha256 = "000001hxv25vwcsvc0avg42v89c7qcjdpw6dr8419prmcb9186i5";
8+ sha256 = "054a3ni71paqa1xa786840z3kjixcgyqdbscyq8nfxp3hwn0gz5i";
99 };
1010
11+ disabled = !python.pkgs.isPy3k;
12+
1113 buildInputs = [ systemd ];
12− propagatedBuildInputs = [ six ];
1314
14− checkInputs = [ pytest mock ];
15+ checkInputs = with python.pkgs; [ pytest mock ];
1516 checkPhase = "pytest tests";
1617
1718 meta = with stdenv.lib; {
1819 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.";
1920 homepage = https://github.com/facebookincubator/pystemd/;
20− license = licenses.bsd0;
21+ license = licenses.lgpl21Plus;
2122 maintainers = with maintainers; [ flokli ];
2223 };
2324}