python3Packages.jeepney: init at 0.4

This commit is contained in:
worldofpeace 2018-12-12 05:01:33 -05:00
parent 0c4ac2fa26
commit 9f66479ffc
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,39 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, pytest
, testpath
, tornado
}:
buildPythonPackage rec {
pname = "jeepney";
version = "0.4";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "0w1w1rawl9k4lx91w16d19kbmf1349mhy8ph8x3w0qp1blm432b0";
};
propagatedBuildInputs = [
tornado
];
checkInputs = [
pytest
testpath
];
checkPhase = ''
pytest
'';
meta = with lib; {
homepage = https://gitlab.com/takluyver/jeepney;
description = "Pure Python DBus interface";
license = licenses.mit;
};
}

View File

@ -2706,6 +2706,8 @@ in {
jellyfish = callPackage ../development/python-modules/jellyfish { };
jeepney = callPackage ../development/python-modules/jeepney { };
j2cli = callPackage ../development/python-modules/j2cli { };
jinja2 = callPackage ../development/python-modules/jinja2 { };