Skip to content

Commit 4e6dbf3

Browse files
committed
1 parent 997dcad commit 4e6dbf3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

pkgs/development/python-modules/safety/default.nix

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@
2626

2727
buildPythonPackage rec {
2828
pname = "safety";
29-
version = "3.12.13";
29+
version = "3.2.14";
3030

31-
disabled = pythonOlder "3.7";
31+
disabled = pythonOlder "3.8";
3232

3333
pyproject = true;
3434

3535
src = fetchFromGitHub {
3636
owner = "pyupio";
3737
repo = "safety";
3838
tag = version;
39-
hash = "sha256-pE1J2hoV4glB1PisDrhCE/4m0J1gEHz/Tp/GJE83lBc=";
39+
hash = "sha256-/RB+ota6dnlbJvtOOoIOHD+BjBzZIJRhEOAUQggUgB4=";
4040
};
4141

4242
postPatch = ''
@@ -54,7 +54,7 @@ buildPythonPackage rec {
5454
build-system = [ setuptools ];
5555

5656
pythonRelaxDeps = [
57-
"filelock"
57+
"pydantic"
5858
];
5959

6060
dependencies = [
@@ -98,13 +98,13 @@ buildPythonPackage rec {
9898
export HOME=$(mktemp -d)
9999
'';
100100

101-
meta = with lib; {
101+
meta = {
102102
description = "Checks installed dependencies for known vulnerabilities";
103103
mainProgram = "safety";
104104
homepage = "https://github.com/pyupio/safety";
105105
changelog = "https://github.com/pyupio/safety/blob/${version}/CHANGELOG.md";
106-
license = licenses.mit;
107-
maintainers = with maintainers; [
106+
license = lib.licenses.mit;
107+
maintainers = with lib.maintainers; [
108108
thomasdesr
109109
dotlambda
110110
];

0 commit comments

Comments
 (0)