aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/jeepney/default.nix
blob: 84096c6db4f9287c761b1f85bb4438f823d260ee (plain)
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
40
41
{ 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;
  };
}