1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 webtest,
6 zope-component,
7 hupper,
8 pastedeploy,
9 plaster,
10 plaster-pastedeploy,
11 repoze-lru,
12 translationstring,
13 venusian,
14 webob,
15 zope-deprecation,
16 zope-interface,
17 pythonOlder,
18}:
19
20buildPythonPackage rec {
21 pname = "pyramid";
22 version = "2.0.2";
23 format = "setuptools";
24
25 disabled = pythonOlder "3.7";
26
27 src = fetchPypi {
28 inherit pname version;
29 hash = "sha256-NyE4pzjkIWU1zHbczm7d1aGqypUTDyNU+4NCZMBvGN4=";
30 };
31
32 propagatedBuildInputs = [
33 hupper
34 pastedeploy
35 plaster
36 plaster-pastedeploy
37 repoze-lru
38 translationstring
39 venusian
40 webob
41 zope-deprecation
42 zope-interface
43 ];
44
45 nativeCheckInputs = [
46 webtest
47 zope-component
48 ];
49
50 pythonImportsCheck = [ "pyramid" ];
51
52 meta = with lib; {
53 description = "Python web framework";
54 homepage = "https://trypyramid.com/";
55 changelog = "https://github.com/Pylons/pyramid/blob/${version}/CHANGES.rst";
56 license = licenses.bsd0;
57 maintainers = with maintainers; [ domenkozar ];
58 };
59}