depot/third_party/nixpkgs/pkgs/development/python-modules/pyramid-beaker/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

40 lines
894 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytest,
beaker,
pyramid,
}:
buildPythonPackage rec {
pname = "pyramid-beaker";
version = "0.9";
format = "setuptools";
src = fetchPypi {
pname = "pyramid_beaker";
inherit version;
hash = "sha256-zMUT60z7W0Flfym25rKMor17O/n9qRMGoQKa7pLRz6U=";
};
checkPhase = ''
# https://github.com/Pylons/pyramid_beaker/issues/29
py.test -k 'not test_includeme' pyramid_beaker/tests.py
'';
nativeCheckInputs = [ pytest ];
propagatedBuildInputs = [
beaker
pyramid
];
meta = with lib; {
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;
maintainers = with maintainers; [ domenkozar ];
};
}