at master 751 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 pythonOlder, 5 fetchPypi, 6 hypothesis, 7 pytestCheckHook, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "priority"; 13 version = "2.0.0"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.6"; 17 18 src = fetchPypi { 19 inherit pname version; 20 sha256 = "c965d54f1b8d0d0b19479db3924c7c36cf672dbf2aec92d43fbdaf4492ba18c0"; 21 }; 22 23 build-system = [ 24 setuptools 25 ]; 26 27 pythonImportsCheck = [ "priority" ]; 28 29 nativeCheckInputs = [ 30 hypothesis 31 pytestCheckHook 32 ]; 33 34 meta = with lib; { 35 description = "Pure-Python implementation of the HTTP/2 priority tree"; 36 homepage = "https://github.com/python-hyper/priority/"; 37 license = licenses.mit; 38 maintainers = with maintainers; [ qyliss ]; 39 }; 40}