e7f069c37c
GitOrigin-RevId: 467ce5a9f45aaf96110b41eb863a56866e1c2c3c
39 lines
611 B
Nix
39 lines
611 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, pytest
|
|
, testpath
|
|
, tornado
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jeepney";
|
|
version = "0.4.3";
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "3479b861cc2b6407de5188695fa1a8d57e5072d7059322469b62628869b8e36e";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
tornado
|
|
];
|
|
|
|
checkInputs = [
|
|
pytest
|
|
testpath
|
|
];
|
|
|
|
checkPhase = ''
|
|
pytest
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://gitlab.com/takluyver/jeepney";
|
|
description = "Pure Python DBus interface";
|
|
license = licenses.mit;
|
|
};
|
|
}
|