about summary refs log tree commit diff
path: root/pkgs/development/python-modules/priority/default.nix
blob: 8f12f7f2144e4a659a707516e51c2c047f15f073 (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
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, hypothesis
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "priority";
  version = "2.0.0";
  format = "setuptools";
  disabled = pythonOlder "3.6.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "c965d54f1b8d0d0b19479db3924c7c36cf672dbf2aec92d43fbdaf4492ba18c0";
  };

  pythonImportsCheck = [
     "priority"
  ];

  nativeCheckInputs = [
    hypothesis
    pytestCheckHook
  ];

  meta = with lib; {
    description = "A pure-Python implementation of the HTTP/2 priority tree";
    homepage = "https://github.com/python-hyper/priority/";
    license = licenses.mit;
    maintainers = with maintainers; [ qyliss ];
  };
}