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";
|
2020-11-29 14:04:31 +00:00
|
|
|
version = "0.6.0";
|
2018-12-12 10:01:33 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:31 +00:00
|
|
|
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; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://gitlab.com/takluyver/jeepney";
|
2018-12-12 10:01:33 +00:00
|
|
|
description = "Pure Python DBus interface";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|