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