nixpkgs-suyu/pkgs/tools/admin/certigo/default.nix

25 lines
610 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2019-05-21 16:54:41 +02:00
2020-02-29 01:20:00 +01:00
buildGoModule rec {
2019-05-21 16:54:41 +02:00
pname = "certigo";
2020-02-29 01:20:00 +01:00
version = "1.12.1";
2019-05-21 16:54:41 +02:00
src = fetchFromGitHub {
owner = "square";
repo = pname;
rev = "v${version}";
2020-02-29 01:20:00 +01:00
sha256 = "0siwbxxzknmbsjy23d0lvh591ngabqhr2g8mip0siwa7c1y7ivv4";
2019-05-21 16:54:41 +02:00
};
vendorSha256 = "1l6ajfl04rfbssvijgd5jrppmqc5svfrswdx01x007lr8rvdfd94";
2019-05-21 16:54:41 +02:00
doCheck = false;
meta = with lib; {
2019-05-21 16:54:41 +02:00
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 ];
};
}