28 lines
635 B
Nix
28 lines
635 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildGoModule,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "minio-certgen";
|
|
version = "1.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "minio";
|
|
repo = "certgen";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-Fuuq48+/ry6h9iA4WBXnahJp6EP640St84Tu6B86weI=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
meta = with lib; {
|
|
description = "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;
|
|
maintainers = with maintainers; [ bryanasdev000 ];
|
|
mainProgram = "certgen";
|
|
};
|
|
}
|