mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-24 22:04:20 +00:00
56 lines
909 B
Nix
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 ];
|
|
};
|
|
}
|