depot/third_party/nixpkgs/pkgs/development/python-modules/jeepney/default.nix
Default email 78efc47b99 Project import generated by Copybara.
GitOrigin-RevId: 83cbad92d73216bb0d9187c56cce0b91f9121d5a
2020-12-07 07:45:13 +00:00

41 lines
627 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, pytest
, testpath
, tornado
, trio
}:
buildPythonPackage rec {
pname = "jeepney";
version = "0.6.0";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "7d59b6622675ca9e993a6bd38de845051d315f8b0c72cca3aef733a20b648657";
};
propagatedBuildInputs = [
tornado
];
checkInputs = [
pytest
testpath
trio
];
checkPhase = ''
pytest
'';
meta = with lib; {
homepage = "https://gitlab.com/takluyver/jeepney";
description = "Pure Python DBus interface";
license = licenses.mit;
};
}