lol
1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "certigo";
5 version = "1.16.0";
6
7 src = fetchFromGitHub {
8 owner = "square";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "sha256-+j1NeQJPDwQxXVYnHNmL49Li2IMH+9ehS0HSM3kqyxU=";
12 };
13
14 vendorHash = "sha256-G9YpMF4qyL8eJPnai81ihVTDK9E4meKxdpk+rjISnIM=";
15
16 meta = with lib; {
17 description = "A utility to examine and validate certificates in a variety of formats";
18 homepage = "https://github.com/square/certigo";
19 license = licenses.asl20;
20 maintainers = [ maintainers.marsam ];
21 };
22}