Merge pull request #209901 from fabaff/restrictedpython-bump

python310Packages.restrictedpython: 5.2 -> 6.0
This commit is contained in:
Fabian Affolter 2023-01-09 22:13:29 +01:00 committed by GitHub
commit 218874c759
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
sha256 = "sha256-Y02h9sXBIqJi9DOwg+49F6mgOfjxs3eFl++0dGHNNhs=";
hash = "sha256-QFzwvZ7sLxmxMmtfSCKO/lbWWQtOkYJrjMOyzUAKlq0=";
};
checkInputs = [
@ -28,6 +31,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Restricted execution environment for Python to run untrusted code";
homepage = "https://github.com/zopefoundation/RestrictedPython";
changelog = "https://github.com/zopefoundation/RestrictedPython/blob/${version}/CHANGES.rst";
license = licenses.zpl21;
maintainers = with maintainers; [ juaningan ];
};