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