tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
mantra: init at 1.1
Fabian Affolter
2 years ago
c079fef9
b7a9deb5
+33
2 changed files
expand all
collapse all
unified
split
pkgs
tools
security
mantra
default.nix
top-level
all-packages.nix
+31
pkgs/tools/security/mantra/default.nix
···
1
1
+
{ lib
2
2
+
, buildGoModule
3
3
+
, fetchFromGitHub
4
4
+
}:
5
5
+
6
6
+
buildGoModule rec {
7
7
+
pname = "mantra";
8
8
+
version = "1.1";
9
9
+
10
10
+
src = fetchFromGitHub {
11
11
+
owner = "MrEmpy";
12
12
+
repo = "Mantra";
13
13
+
rev = "refs/tags/v.${version}";
14
14
+
hash = "sha256-wIFZgxl6qULDvdUeq4yiuc5dPDudKsYvVUewSL0ITNM=";
15
15
+
};
16
16
+
17
17
+
vendorHash = null;
18
18
+
19
19
+
ldflags = [
20
20
+
"-s"
21
21
+
"-w"
22
22
+
];
23
23
+
24
24
+
meta = with lib; {
25
25
+
description = "Tool used to hunt down API key leaks in JS files and pages";
26
26
+
homepage = "https://github.com/MrEmpy/Mantra";
27
27
+
changelog = "https://github.com/MrEmpy/Mantra/releases/tag/v.${version}";
28
28
+
license = licenses.gpl3Only;
29
29
+
maintainers = with maintainers; [ fab ];
30
30
+
};
31
31
+
}
+2
pkgs/top-level/all-packages.nix
···
5353
5353
5354
5354
mandown = callPackage ../tools/misc/mandown { };
5355
5355
5356
5356
+
mantra = callPackage ../tools/security/mantra { };
5357
5357
+
5356
5358
mapcidr = callPackage ../tools/misc/mapcidr { };
5357
5359
5358
5360
maple-mono = (callPackage ../data/fonts/maple-font { }).Mono;