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";
version = "0.4.3";
2018-12-12 10:01:33 +00:00
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "3479b861cc2b6407de5188695fa1a8d57e5072d7059322469b62628869b8e36e";
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;
};
}