Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 52 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, fetchFromGitHub, buildPythonPackage, flit-core, flask, cachelib, pytestCheckHook}:
buildPythonPackage rec { pname = "Flask-Session"; version = "0.5.0"; format = "pyproject";
src = fetchFromGitHub { owner = "pallets-eco"; repo = "flask-session"; rev = "refs/tags/${version}"; hash = "sha256-t8w6ZS4gBDpnnKvL3DLtn+rRLQNJbrT2Hxm4f3+a3Xc="; };
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [ flask cachelib ];
nativeCheckInputs = [ pytestCheckHook ];
# The rest of the tests require database servers and optional db connector dependencies pytestFlagsArray = [ "-k" "'null_session or filesystem_session'" ];
pythonImportsCheck = [ "flask_session" ];
meta = with lib; { description = "A Flask extension that adds support for server-side sessions"; homepage = "https://github.com/pallets-eco/flask-session"; changelog = "https://github.com/pallets-eco/flask-session/releases/tag/${version}"; license = licenses.bsd3; maintainers = with maintainers; [ zhaofengli ]; };}