1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5, pytest
6, testpath
7, tornado
8}:
9
10buildPythonPackage rec {
11 pname = "jeepney";
12 version = "0.4.3";
13
14 disabled = pythonOlder "3.5";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "3479b861cc2b6407de5188695fa1a8d57e5072d7059322469b62628869b8e36e";
19 };
20
21 propagatedBuildInputs = [
22 tornado
23 ];
24
25 checkInputs = [
26 pytest
27 testpath
28 ];
29
30 checkPhase = ''
31 pytest
32 '';
33
34 meta = with lib; {
35 homepage = "https://gitlab.com/takluyver/jeepney";
36 description = "Pure Python DBus interface";
37 license = licenses.mit;
38 };
39}