nixpkgs/pkgs/development/python-modules/webtest/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

55 lines
884 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
];
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 ];
};
}