nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule {
8 pname = "jsluice";
9 version = "0-unstable-2023-06-23";
10
11 src = fetchFromGitHub {
12 owner = "BishopFox";
13 repo = "jsluice";
14 rev = "f10429e1016a9573da0157eacde8f7feb9deb8c7";
15 hash = "sha256-l9rwC1ljtt7Q+FYKdQFhtnLJDS8OwMJXIIpZgya0zwU=";
16 };
17
18 vendorHash = "sha256-u4E+b/vChXArovtaZ4LODaINWit86i5K4GyHLR0JSyU=";
19
20 ldflags = [
21 "-s"
22 "-w"
23 ];
24
25 meta = {
26 description = "Tool for extracting URLs, paths, secrets, and other data from JavaScript source code";
27 homepage = "https://github.com/BishopFox/jsluice";
28 license = lib.licenses.mit;
29 maintainers = with lib.maintainers; [ fab ];
30 };
31}