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

buildGoModule rec {
  pname = "galer";
  version = "0.0.2";

  src = fetchFromGitHub {
    owner = "dwisiswant0";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-i3rrXpKnUV9REnn4lQWIFpWc2SzkxVomruiAmcMBQ6Q=";
  };

  vendorHash = "sha256-2nJgQfSeo9GrK6Kor29esnMEFmd5pTd8lGwzRi4zq1w=";

  meta = with lib; {
    description = "Tool to fetch URLs from HTML attributes";
    mainProgram = "galer";
    homepage = "https://github.com/dwisiswant0/galer";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}