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