Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, fetchPypi 3, buildPythonPackage 4, flask 5, nose 6}: 7 8buildPythonPackage rec { 9 pname = "flask-sessionstore"; 10 version = "0.4.5"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 pname = "Flask-Sessionstore"; 15 inherit version; 16 hash = "sha256-AQ3jWrnw2UI8L3nFEx4AhDwGP4R8Tr7iBMsDS5jLQPQ="; 17 }; 18 19 propagatedBuildInputs = [ flask ]; 20 21 pythonImportsCheck = [ "flask_sessionstore" ]; 22 23 nativeCheckInputs = [ nose ]; 24 25 checkPhase = '' 26 nosetests -s 27 ''; 28 29 meta = with lib; { 30 description = "Session Storage Backends for Flask"; 31 homepage = "https://github.com/mcrowson/flask-sessionstore"; 32 license = licenses.bsd3; 33 maintainers = with maintainers; [ Flakebi ]; 34 }; 35}