summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/restrictedpython
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2023-01-09 17:29:39 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2023-01-09 17:29:39 +0100
commit03aa514de1dc09008e24e8fb4b949b35526a7fee (patch)
tree4b9b093b3a1fa978fd9e29588c2e77606e590479 /pkgs/development/python-modules/restrictedpython
parent72070c1132f175edaf02867d1c9961aa03a412e5 (diff)
python310Packages.restrictedpython: 5.2 -> 6.0
Changelog: https://github.com/zopefoundation/RestrictedPython/blob/6.0/CHANGES.rst
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 = [