Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

73 lines
1.3 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
glibcLocales,
pylibmc,
python-memcached,
redis,
pymongo,
mock,
webtest,
sqlalchemy,
pycrypto,
cryptography,
isPy27,
pytestCheckHook,
setuptools,
funcsigs ? null,
pycryptopp ? null,
}:
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
]
++ lib.optionals isPy27 [
funcsigs
pycryptopp
];
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" ];
};
}