mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 19:44:09 +00:00
pythonPackages.bandit: init at 1.6.2
This commit is contained in:
parent
1da8594596
commit
ff892ee1f0
44
pkgs/development/python-modules/bandit/default.nix
Normal file
44
pkgs/development/python-modules/bandit/default.nix
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
{ buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, lib
|
||||||
|
, isPy3k
|
||||||
|
|
||||||
|
# pythonPackages
|
||||||
|
, GitPython
|
||||||
|
, pbr
|
||||||
|
, pyyaml
|
||||||
|
, six
|
||||||
|
, stevedore
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "bandit";
|
||||||
|
version = "1.6.2";
|
||||||
|
disabled = !isPy3k;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0rb034c99pyhb4a60z7f2kz40cjydhm8m9v2blaal1rmhlam7rs1";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
GitPython
|
||||||
|
pbr
|
||||||
|
pyyaml
|
||||||
|
six
|
||||||
|
stevedore
|
||||||
|
];
|
||||||
|
|
||||||
|
# Framework is Tox, tox performs 'pip install' inside the virtual-env
|
||||||
|
# and this requires Network Connectivity
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Security oriented static analyser for python code";
|
||||||
|
homepage = "https://bandit.readthedocs.io/en/latest/";
|
||||||
|
license = lib.licenses.asl20;
|
||||||
|
maintainers = with lib.maintainers; [
|
||||||
|
kamadorueda
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
@ -1670,6 +1670,8 @@ in {
|
|||||||
|
|
||||||
babelfish = callPackage ../development/python-modules/babelfish {};
|
babelfish = callPackage ../development/python-modules/babelfish {};
|
||||||
|
|
||||||
|
bandit = callPackage ../development/python-modules/bandit {};
|
||||||
|
|
||||||
basiciw = callPackage ../development/python-modules/basiciw {
|
basiciw = callPackage ../development/python-modules/basiciw {
|
||||||
inherit (pkgs) gcc wirelesstools;
|
inherit (pkgs) gcc wirelesstools;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user