25 buildPythonPackage rec {
26 pname = "flask-session";
30 src = fetchFromGitHub {
31 owner = "pallets-eco";
32 repo = "flask-session";
33 rev = "refs/tags/${version}";
34 hash = "sha256-QLtsM0MFgZbuLJPLc5/mUwyYc3bYxildNKNxOF8Z/3Y=";
37 build-system = [ flit-core ];
56 ${pkgs.redis}/bin/redis-server &
57 ${pkgs.memcached}/bin/memcached &
65 disabledTests = [ "test_mongo_default" ]; # unfree
67 disabledTestPaths = [ "tests/test_dynamodb.py" ];
69 pythonImportsCheck = [ "flask_session" ];
72 description = "Flask extension that adds support for server-side sessions";
73 homepage = "https://github.com/pallets-eco/flask-session";
74 changelog = "https://github.com/pallets-eco/flask-session/releases/tag/${version}";
75 license = licenses.bsd3;
76 maintainers = with maintainers; [ zhaofengli ];