File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed
pkgs/development/python-modules/safety Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change 1111 dparse ,
1212 ruamel-yaml ,
1313 jinja2 ,
14- levenshtein ,
1514 marshmallow ,
15+ nltk ,
1616 authlib ,
1717 typer ,
1818 pydantic ,
2727
2828buildPythonPackage rec {
2929 pname = "safety" ;
30- version = "3.3.0" ;
31-
32- disabled = pythonOlder "3.8" ;
33-
30+ version = "3.3.1" ;
3431 pyproject = true ;
3532
3633 src = fetchFromGitHub {
3734 owner = "pyupio" ;
3835 repo = "safety" ;
3936 tag = version ;
40- hash = "sha256-K41ytQhOP3RJ83fbd15cRJD9bAQs+wRnDIBC6XR1bOE =" ;
37+ hash = "sha256-u+ysRpWLHDQdNRBSlYXz80e/MCT4smmv/YX8sfIrn24 =" ;
4138 } ;
4239
4340 postPatch = ''
44- substituteInPlace pyproject.toml \
45- --replace-fail python-levenshtein levenshtein
46-
4741 substituteInPlace safety/safety.py \
4842 --replace-fail "telemetry: bool = True" "telemetry: bool = False"
4943 substituteInPlace safety/util.py \
@@ -59,7 +53,6 @@ buildPythonPackage rec {
5953
6054 pythonRelaxDeps = [
6155 "pydantic"
62- "safety-schemas"
6356 ] ;
6457
6558 dependencies = [
@@ -70,8 +63,8 @@ buildPythonPackage rec {
7063 dparse
7164 ruamel-yaml
7265 jinja2
73- levenshtein
7466 marshmallow
67+ nltk
7568 authlib
7669 typer
7770 pydantic
You can’t perform that action at this time.
0 commit comments