Files
nixpkgs/pkgs/development/python-modules/webtest/default.nix
2025-03-11 13:18:13 +01: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.4";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-lHeNGaN+Wr1ziNrU2Th0QQ7M7VOhc5qOX/Lby6HPwMQ=";
};
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 ];
};
}