2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
webtest,
|
|
|
|
zope-component,
|
|
|
|
hupper,
|
|
|
|
pastedeploy,
|
|
|
|
plaster,
|
|
|
|
plaster-pastedeploy,
|
|
|
|
repoze-lru,
|
|
|
|
translationstring,
|
|
|
|
venusian,
|
|
|
|
webob,
|
|
|
|
zope-deprecation,
|
|
|
|
zope-interface,
|
|
|
|
pythonOlder,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyramid";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "2.0.2";
|
2023-02-02 18:25:31 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-NyE4pzjkIWU1zHbczm7d1aGqypUTDyNU+4NCZMBvGN4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
hupper
|
|
|
|
pastedeploy
|
|
|
|
plaster
|
|
|
|
plaster-pastedeploy
|
2024-01-13 08:15:51 +00:00
|
|
|
repoze-lru
|
2023-02-02 18:25:31 +00:00
|
|
|
translationstring
|
|
|
|
venusian
|
|
|
|
webob
|
2023-10-19 13:55:26 +00:00
|
|
|
zope-deprecation
|
2024-01-13 08:15:51 +00:00
|
|
|
zope-interface
|
2023-02-02 18:25:31 +00:00
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
|
|
|
webtest
|
2023-08-04 22:07:22 +00:00
|
|
|
zope-component
|
2023-02-02 18:25:31 +00:00
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "pyramid" ];
|
2021-02-17 17:02:09 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2023-02-02 18:25:31 +00:00
|
|
|
description = "Python web framework";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://trypyramid.com/";
|
2023-02-02 18:25:31 +00:00
|
|
|
changelog = "https://github.com/Pylons/pyramid/blob/${version}/CHANGES.rst";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.bsd0;
|
|
|
|
maintainers = with maintainers; [ domenkozar ];
|
|
|
|
};
|
|
|
|
}
|