python3Packages.flask-talisman: init at 0.8.1
This commit is contained in:
parent
0478f8b360
commit
076ffa9cf0
2 changed files with 38 additions and 0 deletions
36
pkgs/development/python-modules/flask-talisman/default.nix
Normal file
36
pkgs/development/python-modules/flask-talisman/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, flask
|
||||
, six
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flask-talisman";
|
||||
version = "0.8.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "11gjgqkpj2yqydb0pfhjyx56iy4l9szgz33vg5d7bw8vqp02wl2x";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
flask
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
six
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "HTTP security headers for Flask";
|
||||
homepage = "https://github.com/wntrblm/flask-talisman";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ lib.maintainers.symphorien ];
|
||||
};
|
||||
}
|
|
@ -2755,6 +2755,8 @@ in {
|
|||
|
||||
flask-swagger-ui = callPackage ../development/python-modules/flask-swagger-ui { };
|
||||
|
||||
flask-talisman = callPackage ../development/python-modules/flask-talisman { };
|
||||
|
||||
flask_testing = callPackage ../development/python-modules/flask-testing { };
|
||||
|
||||
flask-versioned = callPackage ../development/python-modules/flask-versioned { };
|
||||
|
|
Loading…
Reference in a new issue