2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, webtest
|
|
|
|
, zope_component
|
|
|
|
, hupper
|
|
|
|
, PasteDeploy
|
|
|
|
, plaster
|
|
|
|
, plaster-pastedeploy
|
|
|
|
, repoze_lru
|
|
|
|
, translationstring
|
|
|
|
, venusian
|
|
|
|
, webob
|
|
|
|
, zope_deprecation
|
|
|
|
, zope_interface
|
|
|
|
, isPy35
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyramid";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "1.10.8";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "b7cd66595bef92f81764b976ddde2b2fa8e4f5f325e02f65f6ec7f3708b29cf6";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ webtest zope_component ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ hupper PasteDeploy plaster plaster-pastedeploy repoze_lru translationstring venusian webob zope_deprecation zope_interface ];
|
|
|
|
|
|
|
|
# Failing tests
|
|
|
|
# https://github.com/Pylons/pyramid/issues/1899
|
|
|
|
doCheck = !isPy35;
|
|
|
|
|
2021-02-17 17:02:09 +00:00
|
|
|
pythonImportsCheck = [ "pyramid" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "The Pyramid Web Framework, a Pylons project";
|
|
|
|
homepage = "https://trypyramid.com/";
|
|
|
|
license = licenses.bsd0;
|
|
|
|
maintainers = with maintainers; [ domenkozar ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|