3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #141252 from fabaff/mongoaudit

This commit is contained in:
Sandro 2021-10-11 15:03:11 +02:00 committed by GitHub
commit 5c82ec31e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,39 @@
{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "mongoaudit";
version = "0.1.1";
disabled = python3.pythonOlder "3.8";
src = fetchFromGitHub {
owner = "stampery";
repo = pname;
rev = version;
sha256 = "17k4vw5d3kr961axl49ywid4cf3n7zxvm885c4lv15w7s2al1425";
};
propagatedBuildInputs = with python3.pkgs; [
pymongo
setuptools
urwid
];
checkInputs = with python3.pkgs; [
pytestCheckHook
];
pythonImportsCheck = [
"mongoaudit"
];
meta = with lib; {
description = "MongoDB auditing and pentesting tool";
homepage = "https://github.com/stampery/mongoaudit";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -3528,6 +3528,8 @@ with pkgs;
mcrypt = callPackage ../tools/misc/mcrypt { };
mongoaudit = callPackage ../tools/security/mongoaudit { };
mongodb-compass = callPackage ../tools/misc/mongodb-compass { };
mongodb-tools = callPackage ../tools/misc/mongodb-tools { };