mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
pythonPackages.webargs: init at 8.0.0
This commit is contained in:
parent
bd223b0dbd
commit
08ab375715
2 changed files with 43 additions and 0 deletions
41
pkgs/development/python-modules/webargs/default.nix
Normal file
41
pkgs/development/python-modules/webargs/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ buildPythonPackage, fetchPypi, lib, isPy27, marshmallow, pytestCheckHook
|
||||
, pytest-aiohttp, webtest, webtest-aiohttp, flask, django, bottle, tornado
|
||||
, pyramid, falcon, aiohttp }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "webargs";
|
||||
version = "8.0.0";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0xy6na8axc5wnp2wg3kvqbpl2iv0hx0rsnlrmrgkgp88znx6cmjn";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -8982,6 +8982,8 @@ in {
|
|||
|
||||
webhelpers = callPackage ../development/python-modules/webhelpers { };
|
||||
|
||||
webargs = callPackage ../development/python-modules/webargs { };
|
||||
|
||||
webob = callPackage ../development/python-modules/webob { };
|
||||
|
||||
weboob = callPackage ../development/python-modules/weboob { };
|
||||
|
|
Loading…
Reference in a new issue