2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-16 16:03:28 +01: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";
|
2020-11-29 14:04:38 +00:00
|
|
|
version = "1.10.5";
|
2018-10-16 16:03:28 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:38 +00:00
|
|
|
sha256 = "fe1bd1140e6b79fe07f0053981d49be2dc66656cc8b481dd7ffcaa872fc25467";
|
2018-10-16 16:03:28 +01:00
|
|
|
};
|
|
|
|
|
2020-01-04 09:20:00 +00:00
|
|
|
checkInputs = [ webtest zope_component ];
|
2018-10-16 16:03:28 +01:00
|
|
|
|
2020-01-04 09:20:00 +00:00
|
|
|
propagatedBuildInputs = [ hupper PasteDeploy plaster plaster-pastedeploy repoze_lru translationstring venusian webob zope_deprecation zope_interface ];
|
2018-10-16 16:03:28 +01:00
|
|
|
|
|
|
|
# Failing tests
|
|
|
|
# https://github.com/Pylons/pyramid/issues/1899
|
|
|
|
doCheck = !isPy35;
|
|
|
|
|
2021-02-16 22:18:06 +00:00
|
|
|
pythonImportsCheck = [ "pyramid" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-16 16:03:28 +01:00
|
|
|
description = "The Pyramid Web Framework, a Pylons project";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://trypyramid.com/";
|
2018-10-16 16:03:28 +01:00
|
|
|
license = licenses.bsd0;
|
2019-07-03 10:27:39 +01:00
|
|
|
maintainers = with maintainers; [ domenkozar ];
|
2018-10-16 16:03:28 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|