1{
2 lib,
3 buildPythonPackage,
4 pythonOlder,
5 fetchPypi,
6 hypothesis,
7 pytestCheckHook,
8}:
9
10buildPythonPackage rec {
11 pname = "priority";
12 version = "2.0.0";
13 format = "setuptools";
14 disabled = pythonOlder "3.6.1";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "c965d54f1b8d0d0b19479db3924c7c36cf672dbf2aec92d43fbdaf4492ba18c0";
19 };
20
21 pythonImportsCheck = [ "priority" ];
22
23 nativeCheckInputs = [
24 hypothesis
25 pytestCheckHook
26 ];
27
28 meta = with lib; {
29 description = "A pure-Python implementation of the HTTP/2 priority tree";
30 homepage = "https://github.com/python-hyper/priority/";
31 license = licenses.mit;
32 maintainers = with maintainers; [ qyliss ];
33 };
34}