mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
42 lines
955 B
Nix
42 lines
955 B
Nix
{ buildPythonPackage, fetchPypi, lib, isPy27, marshmallow, pytestCheckHook
|
|
, pytest-aiohttp, webtest, webtest-aiohttp, flask, django, bottle, tornado
|
|
, pyramid, falcon, aiohttp }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "webargs";
|
|
version = "8.2.0";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-mdaJQMRS4HcmSFoV/vQ/EviubAxbORvLp2Bl1FJ/uF0=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|