Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
948 B · 47 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, buildPythonPackage, fetchPypi, pythonOlder, gitpython, pbr, pyyaml, rich, stevedore,}:
buildPythonPackage rec { pname = "bandit"; version = "1.8.5"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi { inherit pname version; hash = "sha256-24EunDm4howP7VJ4t3//u6uoKLSJG8gONLnFA3MgHP0="; };
nativeBuildInputs = [ pbr ];
propagatedBuildInputs = [ gitpython pyyaml rich stevedore ];
# Framework is Tox, tox performs 'pip install' inside the virtual-env # and this requires Network Connectivity doCheck = false;
pythonImportsCheck = [ "bandit" ];
meta = with lib; { description = "Security oriented static analyser for python code"; homepage = "https://bandit.readthedocs.io/"; changelog = "https://github.com/PyCQA/bandit/releases/tag/${version}"; license = licenses.asl20; maintainers = with maintainers; [ kamadorueda ]; };}