2021-10-10 13:00:00 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, flask
|
|
|
|
, six
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "flask-talisman";
|
2022-03-31 00:05:07 +01:00
|
|
|
version = "1.0.0";
|
2021-10-10 13:00:00 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-03-31 00:05:07 +01:00
|
|
|
sha256 = "sha256-IF0958Xs+tZnyEEj9fvlgLH2jNmhsFjXNTzANI4Vsb8=";
|
2021-10-10 13:00:00 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|