15 buildPythonPackage rec {
19 disabled = pythonOlder "3.6";
24 inherit pname version;
25 hash = "sha256-pgwR+JUvQSy7Fl1wyx9nOjtDorqak84R+X5qTeg0qjo=";
29 substituteInPlace safety/safety.py \
30 --replace "telemetry=True" "telemetry=False"
31 substituteInPlace safety/util.py \
32 --replace "telemetry=True" "telemetry=False"
33 substituteInPlace safety/cli.py \
34 --replace "telemetry', default=True" "telemetry', default=False"
46 propagatedBuildInputs = [
59 # Disable tests depending on online services
61 "test_announcements_if_is_not_tty"
63 "test_check_live_cached"
64 "test_check_vulnerabilities"
70 export HOME=$(mktemp -d)
74 description = "Checks installed dependencies for known vulnerabilities";
75 homepage = "https://github.com/pyupio/safety";
76 changelog = "https://github.com/pyupio/safety/blob/${version}/CHANGELOG.md";
77 license = licenses.mit;
78 maintainers = with maintainers; [ thomasdesr dotlambda ];