2022-05-13 05:38:10 +02:00
|
|
|
{ lib, stdenv, 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";
|
2022-03-26 12:21:55 +01:00
|
|
|
version = "1.15.1";
|
2019-05-21 16:54:41 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "square";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-03-26 12:21:55 +01:00
|
|
|
sha256 = "sha256-XGR6xIXdFLnJTFd+mJneRb/WkLmi0Jscta9Bj3paM1M=";
|
2019-05-21 16:54:41 +02:00
|
|
|
};
|
|
|
|
|
2022-02-25 04:41:50 +01:00
|
|
|
vendorSha256 = "sha256-qS/tIi6umSuQcl43SI4LyL0k5eWfRWs7kVybRPGKcbs=";
|
2019-05-21 16:54:41 +02:00
|
|
|
|
2022-05-13 05:38:10 +02:00
|
|
|
# Go running under Hydra Darwin x86_64 picks CHAPOLY instead of AES-GCM as
|
|
|
|
# the default TLS ciphersuite, and breaks the arguably flakey `TestConnect`
|
|
|
|
# test.
|
|
|
|
doCheck = !(stdenv.isDarwin && stdenv.isx86_64);
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
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 ];
|
|
|
|
};
|
2020-07-31 05:58:04 +02:00
|
|
|
}
|