depot/third_party/nixpkgs/pkgs/tools/admin/certigo/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

23 lines
594 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "certigo";
version = "1.16.0";
src = fetchFromGitHub {
owner = "square";
repo = pname;
rev = "v${version}";
sha256 = "sha256-+j1NeQJPDwQxXVYnHNmL49Li2IMH+9ehS0HSM3kqyxU=";
};
vendorHash = "sha256-G9YpMF4qyL8eJPnai81ihVTDK9E4meKxdpk+rjISnIM=";
meta = with lib; {
description = "Utility to examine and validate certificates in a variety of formats";
homepage = "https://github.com/square/certigo";
license = licenses.asl20;
maintainers = [ ];
mainProgram = "certigo";
};
}