nixpkgs/pkgs/development/python-modules/jeepney/default.nix

42 lines
627 B
Nix
Raw Normal View History

2018-12-12 10:01:33 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, pytest
, testpath
, tornado
2020-11-30 20:53:51 +00:00
, trio
2018-12-12 10:01:33 +00:00
}:
buildPythonPackage rec {
pname = "jeepney";
version = "0.6.0";
2018-12-12 10:01:33 +00:00
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "7d59b6622675ca9e993a6bd38de845051d315f8b0c72cca3aef733a20b648657";
2018-12-12 10:01:33 +00:00
};
propagatedBuildInputs = [
tornado
];
checkInputs = [
pytest
testpath
2020-11-30 20:53:51 +00:00
trio
2018-12-12 10:01:33 +00:00
];
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;
};
}