nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 52 lines 859 B view raw
1{ 2 lib, 3 beautifulsoup4, 4 buildPythonPackage, 5 fetchPypi, 6 setuptools, 7 pastedeploy, 8 pyquery, 9 pytestCheckHook, 10 six, 11 waitress, 12 webob, 13 wsgiproxy2, 14}: 15 16buildPythonPackage rec { 17 pname = "webtest"; 18 version = "3.0.7"; 19 pyproject = true; 20 21 src = fetchPypi { 22 inherit pname version; 23 hash = "sha256-euq1D5cNRsBo56Nt0WLLJCWR7fcqHQTv0hN0dyuTF0E="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 beautifulsoup4 30 six 31 waitress 32 webob 33 ]; 34 35 nativeCheckInputs = [ 36 pastedeploy 37 pyquery 38 pytestCheckHook 39 wsgiproxy2 40 ]; 41 42 __darwinAllowLocalNetworking = true; 43 44 pythonImportsCheck = [ "webtest" ]; 45 46 meta = { 47 description = "Helper to test WSGI applications"; 48 homepage = "https://webtest.readthedocs.org/"; 49 license = lib.licenses.mit; 50 maintainers = with lib.maintainers; [ fab ]; 51 }; 52}