2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytest, beaker, pyramid }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyramid_beaker";
|
|
|
|
version = "0.8";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0hflx3qkcdml1mwpq53sz46s7jickpfn0zy0ns2c7j445j66bp3p";
|
|
|
|
};
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
propagatedBuildInputs = [ beaker pyramid ];
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|