1{ lib, buildPythonPackage, fetchPypi, pytest, beaker, pyramid }: 2 3buildPythonPackage rec { 4 pname = "pyramid-beaker"; 5 version = "0.8"; 6 7 src = fetchPypi { 8 pname = "pyramid_beaker"; 9 inherit version; 10 sha256 = "0hflx3qkcdml1mwpq53sz46s7jickpfn0zy0ns2c7j445j66bp3p"; 11 }; 12 13 checkPhase = '' 14 # https://github.com/Pylons/pyramid_beaker/issues/29 15 py.test -k 'not test_includeme' pyramid_beaker/tests.py 16 ''; 17 18 nativeCheckInputs = [ pytest ]; 19 20 propagatedBuildInputs = [ beaker pyramid ]; 21 22 meta = with lib; { 23 description = "Beaker session factory backend for Pyramid"; 24 homepage = "https://docs.pylonsproject.org/projects/pyramid_beaker/en/latest/"; 25 # idk, see https://github.com/Pylons/pyramid_beaker/blob/master/LICENSE.txt 26 # license = licenses.mpl20; 27 maintainers = with maintainers; [ domenkozar ]; 28 }; 29}