94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
35 lines
699 B
Nix
35 lines
699 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, flask
|
|
, nose
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "flask-sessionstore";
|
|
version = "0.4.5";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
pname = "Flask-Sessionstore";
|
|
inherit version;
|
|
hash = "sha256-AQ3jWrnw2UI8L3nFEx4AhDwGP4R8Tr7iBMsDS5jLQPQ=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ flask ];
|
|
|
|
pythonImportsCheck = [ "flask_sessionstore" ];
|
|
|
|
nativeCheckInputs = [ nose ];
|
|
|
|
checkPhase = ''
|
|
nosetests -s
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Session Storage Backends for Flask";
|
|
homepage = "https://github.com/mcrowson/flask-sessionstore";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ Flakebi ];
|
|
};
|
|
}
|