biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / legitify / default.nix
blob24ef9d6a6dc05db16753d65b79c3faa976cea7cc
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 }:
6 buildGoModule rec {
7   pname = "legitify";
8   version = "0.1.5";
10   src = fetchFromGitHub {
11     owner = "Legit-Labs";
12     repo = pname;
13     rev = "v${version}";
14     hash = "sha256-Sr6P5S5+DqbP0ihCj97l84739/NRAlYJLnXp4B5gHNE=";
15   };
17   vendorHash = "sha256-EJMXzWrOXFl7JFYBp/XAcHLcNyWCKbOBAyo/Yf2mh5s=";
19   ldflags = [
20     "-w"
21     "-s"
22     "-X github.com/Legit-Labs/legitify/internal/version.Version=${version}"
23   ];
25   meta = with lib; {
26     description = "Tool to detect and remediate misconfigurations and security risks of GitHub assets";
27     mainProgram = "legitify";
28     homepage = "https://github.com/Legit-Labs/legitify";
29     changelog = "https://github.com/Legit-Labs/legitify/releases/tag/v${version}";
30     license = licenses.asl20;
31     maintainers = with maintainers; [ fab ];
32   };