Merge pull request #209901 from fabaff/restrictedpython-bump
python310Packages.restrictedpython: 5.2 -> 6.0
This commit is contained in:
commit
218874c759
1 changed files with 6 additions and 2 deletions
|
@ -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 ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue