tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
mongoaudit: init at 0.1.1
Fabian Affolter
4 years ago
5eeeb41a
80d606ef
+41
2 changed files
expand all
collapse all
unified
split
pkgs
tools
security
mongoaudit
default.nix
top-level
all-packages.nix
+39
pkgs/tools/security/mongoaudit/default.nix
···
1
1
+
{ lib
2
2
+
, fetchFromGitHub
3
3
+
, python3
4
4
+
}:
5
5
+
6
6
+
python3.pkgs.buildPythonApplication rec {
7
7
+
pname = "mongoaudit";
8
8
+
version = "0.1.1";
9
9
+
10
10
+
disabled = python3.pythonOlder "3.8";
11
11
+
12
12
+
src = fetchFromGitHub {
13
13
+
owner = "stampery";
14
14
+
repo = pname;
15
15
+
rev = version;
16
16
+
sha256 = "17k4vw5d3kr961axl49ywid4cf3n7zxvm885c4lv15w7s2al1425";
17
17
+
};
18
18
+
19
19
+
propagatedBuildInputs = with python3.pkgs; [
20
20
+
pymongo
21
21
+
setuptools
22
22
+
urwid
23
23
+
];
24
24
+
25
25
+
checkInputs = with python3.pkgs; [
26
26
+
pytestCheckHook
27
27
+
];
28
28
+
29
29
+
pythonImportsCheck = [
30
30
+
"mongoaudit"
31
31
+
];
32
32
+
33
33
+
meta = with lib; {
34
34
+
description = "MongoDB auditing and pentesting tool";
35
35
+
homepage = "https://github.com/stampery/mongoaudit";
36
36
+
license = with licenses; [ mit ];
37
37
+
maintainers = with maintainers; [ fab ];
38
38
+
};
39
39
+
}
+2
pkgs/top-level/all-packages.nix
···
3528
3528
3529
3529
mcrypt = callPackage ../tools/misc/mcrypt { };
3530
3530
3531
3531
+
mongoaudit = callPackage ../tools/security/mongoaudit { };
3532
3532
+
3531
3533
mongodb-compass = callPackage ../tools/misc/mongodb-compass { };
3532
3534
3533
3535
mongodb-tools = callPackage ../tools/misc/mongodb-tools { };