summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/restrictedpython
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/restrictedpython')
-rw-r--r--pkgs/development/python-modules/restrictedpython/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/restrictedpython/default.nix b/pkgs/development/python-modules/restrictedpython/default.nix
index a195c72fe852..e6e31041c2fa 100644
--- a/pkgs/development/python-modules/restrictedpython/default.nix
+++ b/pkgs/development/python-modules/restrictedpython/default.nix
@@ -3,17 +3,20 @@
, fetchPypi
, pytest-mock
, pytestCheckHook
+, pythonOlder
}:
buildPythonPackage rec {
pname = "restrictedpython";
- version = "5.2";
+ version = "6.0";
format = "setuptools";
+ disabled = pythonOlder "3.7";
+
src = fetchPypi {
pname = "RestrictedPython";
inherit version;
- hash = "sha256-Y02h9sXBIqJi9DOwg+49F6mgOfjxs3eFl++0dGHNNhs=";
+ hash = "sha256-QFzwvZ7sLxmxMmtfSCKO/lbWWQtOkYJrjMOyzUAKlq0=";
};
checkInputs = [