3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/jeepney/default.nix

40 lines
611 B
Nix
Raw Normal View History

2018-12-12 10:01:33 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, pytest
, testpath
, tornado
}:
buildPythonPackage rec {
pname = "jeepney";
2019-10-16 10:43:08 +01:00
version = "0.4.1";
2018-12-12 10:01:33 +00:00
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
2019-10-16 10:43:08 +01:00
sha256 = "13806f91a96e9b2623fd2a81b950d763ee471454aafd9eb6d75dbe7afce428fb";
2018-12-12 10:01:33 +00:00
};
propagatedBuildInputs = [
tornado
];
checkInputs = [
pytest
testpath
];
checkPhase = ''
pytest
'';
meta = with lib; {
homepage = "https://gitlab.com/takluyver/jeepney";
2018-12-12 10:01:33 +00:00
description = "Pure Python DBus interface";
license = licenses.mit;
};
}