python312Packages.js2py: mark insecure (#348943)
This commit is contained in:
commit
02289590e9
@ -42,5 +42,6 @@ buildPythonPackage rec {
|
|||||||
homepage = "https://github.com/PiotrDabkowski/Js2Py";
|
homepage = "https://github.com/PiotrDabkowski/Js2Py";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ onny ];
|
maintainers = with maintainers; [ onny ];
|
||||||
|
knownVulnerabilities = [ "CVE-2024-28397" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -3,9 +3,6 @@
|
|||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
regex,
|
regex,
|
||||||
pytestCheckHook,
|
|
||||||
pythonOlder,
|
|
||||||
js2py,
|
|
||||||
setuptools,
|
setuptools,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -33,13 +30,8 @@ buildPythonPackage rec {
|
|||||||
"lark.grammars"
|
"lark.grammars"
|
||||||
];
|
];
|
||||||
|
|
||||||
# Js2py is not supported on 3.12
|
# Js2py is needed for tests but it's marked as insecure
|
||||||
doCheck = pythonOlder "3.12";
|
doCheck = false;
|
||||||
|
|
||||||
nativeCheckInputs = [
|
|
||||||
js2py
|
|
||||||
pytestCheckHook
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Modern parsing library for Python, implementing Earley & LALR(1) and an easy interface";
|
description = "Modern parsing library for Python, implementing Earley & LALR(1) and an easy interface";
|
||||||
|
Loading…
Reference in New Issue
Block a user