22 buildPythonPackage rec {
27 # The pypy release do not contains the tests
28 src = fetchFromGitHub {
31 rev = "refs/tags/${version}";
32 hash = "sha256-HzjhOPXElwKoJLrhGIbVn798tbX/kaS1EpQIX+vXCtE=";
35 build-system = [ setuptools ];
43 ++ lib.optionals (isPy27) [
59 # Can not run memcached tests because it immediately tries to connect.
60 # Disable external tests because they need to connect to a live database.
62 "--ignore=tests/test_memcached.py"
63 "--ignore-glob='tests/test_managers/test_ext_*'"
67 description = "Session and Caching library with WSGI Middleware";
68 homepage = "https://github.com/bbangert/beaker";
69 license = lib.licenses.bsd3;
70 maintainers = with lib.maintainers; [ domenkozar ];
71 knownVulnerabilities = [ "CVE-2013-7489" ];