git.iko.soy/typeable/nixpkgs
on master help sign in
pystemd: update license, make it python 3 only
commit90568dea26bae2dc6ae865164cadeba2605e7996 authorFlorian Klink <flokli@flokli.de> dateThu 2 May 2019, 11:27 (8 years ago) parent15c64ae
1 file changed+7−6
pkgs/development/python-modules/pystemd/default.nix+7−6
pkgs/development/python-modules/pystemd/default.nix+7−6
@@ -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";
55 version = "0.6.0";
6− src = fetchPypi {
6+ src = python.pkgs.fetchPypi {
77 inherit pname version;
88 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}