Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566{ lib, buildPythonPackage, fetchFromGitHub, glibcLocales, pylibmc, python-memcached, redis, pymongo, mock, webtest, sqlalchemy, pycrypto, cryptography, pytestCheckHook, setuptools,}:
buildPythonPackage rec { pname = "beaker"; version = "1.13.0"; pyproject = true;
# The pypy release do not contains the tests src = fetchFromGitHub { owner = "bbangert"; repo = "beaker"; tag = version; hash = "sha256-HzjhOPXElwKoJLrhGIbVn798tbX/kaS1EpQIX+vXCtE="; };
build-system = [ setuptools ];
dependencies = [ sqlalchemy pycrypto cryptography ];
nativeCheckInputs = [ glibcLocales python-memcached mock pylibmc pymongo redis webtest pytestCheckHook ];
# Can not run memcached tests because it immediately tries to connect. # Disable external tests because they need to connect to a live database. disabledTestPaths = [ "tests/test_memcached.py" "tests/test_managers/test_ext_*" ];
meta = { description = "Session and Caching library with WSGI Middleware"; homepage = "https://github.com/bbangert/beaker"; license = lib.licenses.bsd3; maintainers = [ ]; knownVulnerabilities = [ "CVE-2013-7489" ]; };}