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