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