aboutsummaryrefslogtreecommitdiff
path: root/pkgs/tools/admin/certigo/default.nix
blob: 923344c64118be7bd19420d91aa46a77625b6164 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  pname = "certigo";
  version = "1.11.0";

  src = fetchFromGitHub {
    owner = "square";
    repo = pname;
    rev = "v${version}";
    sha256 = "1vi4gn484kc7vyxnm2nislzy587h2h4gc8d197vslhyfygac9y7b";
  };

  goPackagePath = "github.com/square/certigo";

  meta = with stdenv.lib; {
    description = "A utility to examine and validate certificates in a variety of formats";
    homepage = "https://github.com/square/certigo";
    license = licenses.asl20;
    maintainers = [ maintainers.marsam ];
  };
}