nixpkgs/pkgs/development/python-modules/webtest/default.nix
2024-10-13 11:09:43 +02:00

56 lines
909 B
Nix

{
lib,
beautifulsoup4,
buildPythonPackage,
fetchPypi,
setuptools,
pastedeploy,
pyquery,
pytestCheckHook,
pythonOlder,
six,
waitress,
webob,
wsgiproxy2,
}:
buildPythonPackage rec {
pname = "webtest";
version = "3.0.1";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-STtcgC+JSKZbXjoa1bJSTuXhq2DNcT2aPaO42ggsBv4=";
};
build-system = [ setuptools ];
dependencies = [
beautifulsoup4
six
waitress
webob
];
nativeCheckInputs = [
pastedeploy
pyquery
pytestCheckHook
wsgiproxy2
];
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [ "webtest" ];
meta = with lib; {
description = "Helper to test WSGI applications";
homepage = "https://webtest.readthedocs.org/";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}