1{ lib
2, buildPythonPackage
3, fetchPypi
4, webtest
5, zope_component
6, hupper
7, PasteDeploy
8, plaster
9, plaster-pastedeploy
10, repoze_lru
11, translationstring
12, venusian
13, webob
14, zope_deprecation
15, zope_interface
16, isPy35
17}:
18
19buildPythonPackage rec {
20 pname = "pyramid";
21 version = "1.10.5";
22
23 src = fetchPypi {
24 inherit pname version;
25 sha256 = "fe1bd1140e6b79fe07f0053981d49be2dc66656cc8b481dd7ffcaa872fc25467";
26 };
27
28 checkInputs = [ webtest zope_component ];
29
30 propagatedBuildInputs = [ hupper PasteDeploy plaster plaster-pastedeploy repoze_lru translationstring venusian webob zope_deprecation zope_interface ];
31
32 # Failing tests
33 # https://github.com/Pylons/pyramid/issues/1899
34 doCheck = !isPy35;
35
36 pythonImportsCheck = [ "pyramid" ];
37
38 meta = with lib; {
39 description = "The Pyramid Web Framework, a Pylons project";
40 homepage = "https://trypyramid.com/";
41 license = licenses.bsd0;
42 maintainers = with maintainers; [ domenkozar ];
43 };
44
45}