22 buildPythonPackage rec {
26 # The pypy release do not contains the tests
27 src = fetchFromGitHub {
31 sha256 = "059sc7iar90lc2y9mppdis5ddfcxyirz03gmsfb0307f5dsa1dhj";
34 propagatedBuildInputs = [
38 ] ++ lib.optionals (isPy27) [
54 # Can not run memcached tests because it immediately tries to connect
56 rm tests/test_memcached.py
59 # Disable external tests because they need to connect to a live database.
60 # Also disable a test in test_cache.py called "test_upgrade" because
61 # it currently fails on darwin.
62 # Please see issue https://github.com/bbangert/beaker/issues/166
67 ${lib.optionalString (!stdenv.isLinux) ''-e "test_cookie_expires_different_locale"''} \
72 description = "A Session and Caching library with WSGI Middleware";
73 homepage = "https://github.com/bbangert/beaker";
74 license = lib.licenses.bsd3;
75 maintainers = with lib.maintainers; [ domenkozar ];
76 knownVulnerabilities = [