summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyramid/default.nix
blob: a2b24faf10db92829080a9e460a495941d40eb9f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{ lib
, buildPythonPackage
, fetchPypi
, webtest
, zope-component
, hupper
, pastedeploy
, plaster
, plaster-pastedeploy
, repoze_lru
, translationstring
, venusian
, webob
, zope_deprecation
, zope_interface
, pythonOlder
}:

buildPythonPackage rec {
  pname = "pyramid";
  version = "2.0.2";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-NyE4pzjkIWU1zHbczm7d1aGqypUTDyNU+4NCZMBvGN4=";
  };

  propagatedBuildInputs = [
    hupper
    pastedeploy
    plaster
    plaster-pastedeploy
    repoze_lru
    translationstring
    venusian
    webob
    zope_deprecation
    zope_interface
  ];

  nativeCheckInputs = [
    webtest
    zope-component
  ];

  pythonImportsCheck = [
    "pyramid"
  ];

  meta = with lib; {
    description = "Python web framework";
    homepage = "https://trypyramid.com/";
    changelog = "https://github.com/Pylons/pyramid/blob/${version}/CHANGES.rst";
    license = licenses.bsd0;
    maintainers = with maintainers; [ domenkozar ];
  };
}