2021-08-05 21:33:18 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "minio-certgen";
|
2022-03-05 16:20:37 +00:00
|
|
|
version = "1.0.1";
|
2021-08-05 21:33:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "minio";
|
|
|
|
repo = "certgen";
|
|
|
|
rev = "v${version}";
|
2022-03-05 16:20:37 +00:00
|
|
|
sha256 = "sha256-YLFrW0w1H6u/lTP4fWPcRFTG9gIm228J2KcE4VSeG2Q=";
|
2021-08-05 21:33:18 +00:00
|
|
|
};
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
vendorSha256 = null;
|
2021-08-05 21:33:18 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A simple Minio tool to generate self-signed certificates, and provides SAN certificates with DNS and IP entries";
|
|
|
|
downloadPage = "https://github.com/minio/certgen";
|
|
|
|
license = licenses.bsd3;
|
2021-12-06 16:07:01 +00:00
|
|
|
maintainers = with maintainers; [ bryanasdev000 ];
|
2021-08-05 21:33:18 +00:00
|
|
|
};
|
|
|
|
}
|