2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pytest,
|
|
|
|
beaker,
|
|
|
|
pyramid,
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2023-10-19 13:55:26 +00:00
|
|
|
pname = "pyramid-beaker";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "0.9";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2023-10-19 13:55:26 +00:00
|
|
|
pname = "pyramid_beaker";
|
|
|
|
inherit version;
|
2024-05-15 15:35:15 +00:00
|
|
|
sha256 = "sha256-zMUT60z7W0Flfym25rKMor17O/n9qRMGoQKa7pLRz6U=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
# https://github.com/Pylons/pyramid_beaker/issues/29
|
|
|
|
py.test -k 'not test_includeme' pyramid_beaker/tests.py
|
|
|
|
'';
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ pytest ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
beaker
|
|
|
|
pyramid
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2021-02-17 17:02:09 +00:00
|
|
|
description = "Beaker session factory backend for Pyramid";
|
|
|
|
homepage = "https://docs.pylonsproject.org/projects/pyramid_beaker/en/latest/";
|
|
|
|
# idk, see https://github.com/Pylons/pyramid_beaker/blob/master/LICENSE.txt
|
|
|
|
# license = licenses.mpl20;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ domenkozar ];
|
|
|
|
};
|
|
|
|
}
|