2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, webtest
|
2023-08-04 22:07:22 +00:00
|
|
|
, zope-component
|
2020-04-24 23:36:52 +00:00
|
|
|
, hupper
|
2021-10-08 15:17:17 +00:00
|
|
|
, pastedeploy
|
2020-04-24 23:36:52 +00:00
|
|
|
, plaster
|
|
|
|
, plaster-pastedeploy
|
|
|
|
, repoze_lru
|
|
|
|
, translationstring
|
|
|
|
, venusian
|
|
|
|
, webob
|
|
|
|
, zope_deprecation
|
|
|
|
, zope_interface
|
2023-02-02 18:25:31 +00:00
|
|
|
, 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
|
|
|
|
repoze_lru
|
|
|
|
translationstring
|
|
|
|
venusian
|
|
|
|
webob
|
|
|
|
zope_deprecation
|
|
|
|
zope_interface
|
|
|
|
];
|
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
|
|
|
|
2023-02-02 18:25:31 +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 ];
|
|
|
|
};
|
|
|
|
}
|