depot/third_party/nixpkgs/pkgs/development/python-modules/jeepney/default.nix
Default email e7f069c37c Project import generated by Copybara.
GitOrigin-RevId: 467ce5a9f45aaf96110b41eb863a56866e1c2c3c
2020-06-02 20:00:15 +02:00

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;
};
}