2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, webtest
|
|
|
|
, zope_component
|
|
|
|
, 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-02-02 18:25:31 +00:00
|
|
|
version = "2.0.1";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-02-02 18:25:31 +00:00
|
|
|
hash = "sha256-+r/XRQOeJq1bCRX8OW6HJcD4o9F7lB+WEezR7XbP59o=";
|
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
|
|
|
|
zope_component
|
|
|
|
];
|
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 ];
|
|
|
|
};
|
|
|
|
}
|