depot/third_party/nixpkgs/pkgs/development/python-modules/pyramid-beaker/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

30 lines
873 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;
sha256 = "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 ];
};
}