9 buildPythonPackage rec {
10 pname = "flask-paranoid";
12 format = "setuptools";
14 src = fetchFromGitHub {
15 owner = "miguelgrinberg";
18 hash = "sha256-tikD8efc3Q3xIQnaC3SSBaCRQxMI1HzXxeupvYeNnE4=";
22 # tests have a typo in one of the assertions
23 substituteInPlace tests/test_paranoid.py --replace "01-Jan-1970" "01 Jan 1970"
26 propagatedBuildInputs = [ flask ];
28 nativeCheckInputs = [ pytestCheckHook ];
30 pythonImportsCheck = [ "flask_paranoid" ];
33 homepage = "https://github.com/miguelgrinberg/flask-paranoid/";
34 description = "Simple user session protection";
35 license = licenses.mit;
36 maintainers = with maintainers; [ gador ];