about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/jeepney/default.nix
blob: 8b1100cd3f40e7cd2f7d809bd92dccecd5144786 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, pytest
, testpath
, tornado
}:

buildPythonPackage rec {
  pname = "jeepney";
  version = "0.4";

  disabled = pythonOlder "3.5";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0w1w1rawl9k4lx91w16d19kbmf1349mhy8ph8x3w0qp1blm432b0";
  };

  propagatedBuildInputs = [
    tornado
  ];

  checkInputs = [
    pytest
    testpath
  ];

  checkPhase = ''
    pytest
  '';

  meta = with lib; {
    homepage = https://gitlab.com/takluyver/jeepney;
    description = "Pure Python DBus interface";
    license = licenses.mit;
  };
}