depot/third_party/nixpkgs/pkgs/development/python-modules/pyramid/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

59 lines
1 KiB
Nix

{
lib,
buildPythonPackage,
fetchPypi,
webtest,
zope-component,
hupper,
pastedeploy,
plaster,
plaster-pastedeploy,
repoze-lru,
translationstring,
venusian,
webob,
zope-deprecation,
zope-interface,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pyramid";
version = "2.0.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-NyE4pzjkIWU1zHbczm7d1aGqypUTDyNU+4NCZMBvGN4=";
};
propagatedBuildInputs = [
hupper
pastedeploy
plaster
plaster-pastedeploy
repoze-lru
translationstring
venusian
webob
zope-deprecation
zope-interface
];
nativeCheckInputs = [
webtest
zope-component
];
pythonImportsCheck = [ "pyramid" ];
meta = with lib; {
description = "Python web framework";
homepage = "https://trypyramid.com/";
changelog = "https://github.com/Pylons/pyramid/blob/${version}/CHANGES.rst";
license = licenses.bsd0;
maintainers = with maintainers; [ domenkozar ];
};
}