about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/security/goblob/default.nix
blob: 401a655d65ab0b17c5af5369c1d9d867e0d3cf29 (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
31
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "goblob";
  version = "1.2.2";

  src = fetchFromGitHub {
    owner = "Macmod";
    repo = "goblob";
    rev = "refs/tags/v${version}";
    hash = "sha256-FnSlfLi40VwDyQY77PvhV7EbhUDs1uGx0VsgP8HgKTw=";
  };

  vendorHash = null;

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

  meta = with lib; {
    description = "Enumeration tool for publicly exposed Azure Storage blobs";
    homepage = "https://github.com/Macmod/goblob";
    changelog = "https://github.com/Macmod/goblob/releases/tag/v${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };
}