My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/webargs/default.nix

41 lines
968 B

{ buildPythonPackage, fetchPypi, lib, isPy27, marshmallow, pytestCheckHook
, pytest-aiohttp, webtest, webtest-aiohttp, flask, django, bottle, tornado
, pyramid, falcon, aiohttp }:
buildPythonPackage rec {
pname = "webargs";
version = "8.1.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "f1f0b7f054a22263cf750529fc0926709ca47da9a2c417d423ad88d9fa6a5d33";
};
pythonImportsCheck = [
"webargs"
];
propagatedBuildInputs = [ marshmallow ];
checkInputs = [
pytestCheckHook
pytest-aiohttp
webtest
webtest-aiohttp
flask
django
bottle
tornado
pyramid
falcon
aiohttp
];
meta = with lib; {
description = "Declarative parsing and validation of HTTP request objects, with built-in support for popular web frameworks";
homepage = "https://github.com/marshmallow-code/webargs";
license = licenses.mit;
maintainers = with maintainers; [ cript0nauta ];
};
}