2018-10-16 16:03:28 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, webtest
|
|
|
|
, zope_component
|
|
|
|
, hupper
|
|
|
|
, PasteDeploy
|
|
|
|
, plaster
|
|
|
|
, plaster-pastedeploy
|
|
|
|
, repoze_lru
|
|
|
|
, translationstring
|
|
|
|
, venusian
|
|
|
|
, webob
|
|
|
|
, zope_deprecation
|
|
|
|
, zope_interface
|
|
|
|
, isPy35
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyramid";
|
2019-04-16 18:15:39 +01:00
|
|
|
version = "1.10.4";
|
2018-10-16 16:03:28 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-16 18:15:39 +01:00
|
|
|
sha256 = "d80ccb8cfa550139b50801591d4ca8a5575334adb493c402fce2312f55d07d66";
|
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;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "The Pyramid Web Framework, a Pylons project";
|
|
|
|
homepage = https://trypyramid.com/;
|
|
|
|
license = licenses.bsd0;
|
2019-07-03 10:27:39 +01:00
|
|
|
maintainers = with maintainers; [ domenkozar ];
|
2018-10-16 16:03:28 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|