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, pythonOlder
17}:
18
19buildPythonPackage rec {
20 pname = "pyramid";
21 version = "2.0.1";
22 format = "setuptools";
23
24 disabled = pythonOlder "3.7";
25
26 src = fetchPypi {
27 inherit pname version;
28 hash = "sha256-+r/XRQOeJq1bCRX8OW6HJcD4o9F7lB+WEezR7XbP59o=";
29 };
30
31 propagatedBuildInputs = [
32 hupper
33 pastedeploy
34 plaster
35 plaster-pastedeploy
36 repoze_lru
37 translationstring
38 venusian
39 webob
40 zope_deprecation
41 zope_interface
42 ];
43
44 nativeCheckInputs = [
45 webtest
46 zope_component
47 ];
48
49 pythonImportsCheck = [
50 "pyramid"
51 ];
52
53 meta = with lib; {
54 description = "Python web framework";
55 homepage = "https://trypyramid.com/";
56 changelog = "https://github.com/Pylons/pyramid/blob/${version}/CHANGES.rst";
57 license = licenses.bsd0;
58 maintainers = with maintainers; [ domenkozar ];
59 };
60}