summaryrefslogtreecommitdiff
path: root/pkgs/by-name/ca/cariddi/package.nix
blob: e725a6d55ebc3ca7256eca82c683ae1698bfe530 (about) (plain)
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
32
33
{
  lib,
  buildGoModule,
  fetchFromGitHub,
}:

buildGoModule rec {
  pname = "cariddi";
  version = "1.4.0";

  src = fetchFromGitHub {
    owner = "edoardottt";
    repo = "cariddi";
    tag = "v${version}";
    hash = "sha256-AYB2Ebc+OlB8kaW14o1SPAmbWFducfRGmn21YhV1SGs=";
  };

  vendorHash = "sha256-Em/h1Xv4CdENykDqZMcru+Z09fVdxi9bGfFU+uRwI3o=";

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

  meta = with lib; {
    description = "Crawler for URLs and endpoints";
    homepage = "https://github.com/edoardottt/cariddi";
    changelog = "https://github.com/edoardottt/cariddi/releases/tag/v${version}";
    license = with licenses; [ gpl3Plus ];
    maintainers = with maintainers; [ fab ];
    mainProgram = "cariddi";
  };
}