1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 pytest-cov-stub, 7 pythonOlder, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "pastedeploy"; 13 version = "3.1"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchFromGitHub { 19 owner = "Pylons"; 20 repo = "pastedeploy"; 21 tag = version; 22 hash = "sha256-yR7UxAeF0fQrbU7tl29GpPeEAc4YcxHdNQWMD67pP3g="; 23 }; 24 25 build-system = [ setuptools ]; 26 27 nativeCheckInputs = [ 28 pytestCheckHook 29 pytest-cov-stub 30 ]; 31 32 pythonImportsCheck = [ "paste.deploy" ]; 33 34 meta = { 35 description = "Load, configure, and compose WSGI applications and servers"; 36 homepage = "https://github.com/Pylons/pastedeploy"; 37 changelog = "https://github.com/Pylons/pastedeploy/blob/${src.tag}/docs/news.rst"; 38 license = lib.licenses.mit; 39 teams = [ lib.teams.openstack ]; 40 }; 41}