2021-07-21 21:54:52 +02:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "minio-certgen";
|
2022-03-20 19:01:09 +01:00
|
|
|
version = "1.2.0";
|
2021-07-21 21:54:52 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "minio";
|
|
|
|
repo = "certgen";
|
|
|
|
rev = "v${version}";
|
2022-03-20 19:01:09 +01:00
|
|
|
sha256 = "sha256-FBx4v29ZuhXwubWivIXReO5Ge/rPt1J3LbXlprC7E9c=";
|
2021-07-21 21:54:52 +02:00
|
|
|
};
|
|
|
|
|
2022-02-19 21:32:25 +01:00
|
|
|
vendorSha256 = null;
|
2021-07-21 21:54:52 +02: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-11-10 00:48:01 +01:00
|
|
|
maintainers = with maintainers; [ bryanasdev000 ];
|
2022-04-01 21:34:55 +02:00
|
|
|
mainProgram = "certgen";
|
2021-07-21 21:54:52 +02:00
|
|
|
};
|
|
|
|
}
|