3a4df29a92
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
54 lines
878 B
Nix
54 lines
878 B
Nix
{ lib
|
|
, beautifulsoup4
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pastedeploy
|
|
, pyquery
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, six
|
|
, waitress
|
|
, webob
|
|
, wsgiproxy2
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "webtest";
|
|
version = "3.0.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
pname = "WebTest";
|
|
inherit version;
|
|
hash = "sha256-VL2WlyWDjZhhqfon+Nlx950nXZSuJV9cUB9Tu22ZKes=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
beautifulsoup4
|
|
six
|
|
waitress
|
|
webob
|
|
];
|
|
|
|
checkInputs = [
|
|
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 ];
|
|
};
|
|
}
|