python3Packages.flask-expects-json: init at 1.7.0

This commit is contained in:
K900
2023-03-10 22:49:27 +03:00
parent 8c70bfb9f2
commit 3279cb4433
2 changed files with 33 additions and 0 deletions
@@ -0,0 +1,31 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, flask
, jsonschema
}:
buildPythonPackage rec {
pname = "flask-expects-json";
version = "1.7.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "Fischerfredl";
repo = pname;
rev = version;
hash = "sha256-CUxuwqjjAb9Fy6xWtX1WtSANYaYr5//vY8k89KghYoQ=";
};
propagatedBuildInputs = [ flask jsonschema ];
# tests aren't included in sdist and don't pass on current flask
doCheck = false;
meta = with lib; {
homepage = "https://github.com/fischerfredl/flask-expects-json";
description = "Decorator for REST endpoints in flask. Validate JSON request data.";
license = licenses.mit;
maintainers = [];
};
}
+2
View File
@@ -3495,6 +3495,8 @@ self: super: with self; {
flask_elastic = callPackage ../development/python-modules/flask-elastic { };
flask-expects-json = callPackage ../development/python-modules/flask-expects-json { };
flask-gravatar = callPackage ../development/python-modules/flask-gravatar { };
flask-httpauth = callPackage ../development/python-modules/flask-httpauth { };