about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/security/jsluice/default.nix
blob: 18a386c94b0d1521c473f8fee19e50a8cbf17d29 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "jsluice";
  version = "unstable-2023-06-23";

  src = fetchFromGitHub {
    owner = "BishopFox";
    repo = "jsluice";
    rev = "f10429e1016a9573da0157eacde8f7feb9deb8c7";
    hash = "sha256-l9rwC1ljtt7Q+FYKdQFhtnLJDS8OwMJXIIpZgya0zwU=";
  };

  vendorHash = "sha256-u4E+b/vChXArovtaZ4LODaINWit86i5K4GyHLR0JSyU=";

  ldflags = [
    "-s"
    "-w"
  ];

  meta = with lib; {
    description = "Tool for extracting URLs, paths, secrets, and other data from JavaScript source code";
    homepage = "https://github.com/BishopFox/jsluice";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };
}