2022-06-16 17:23:12 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
buildGoModule rec {
|
2020-09-25 04:45:31 +00:00
|
|
|
pname = "minica";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "1.1.0";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jsha";
|
|
|
|
repo = "minica";
|
|
|
|
rev = "v${version}";
|
2024-06-05 15:53:02 +00:00
|
|
|
sha256 = "sha256-YUeP3xBoZzonJYfEAOWZYCTFwOxFWySW7ezvpMLNZ1I=";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = null;
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2020-10-19 00:13:06 +00:00
|
|
|
description = "A simple tool for generating self signed certificates";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "minica";
|
2020-09-25 04:45:31 +00:00
|
|
|
longDescription = ''
|
2022-06-16 17:23:12 +00:00
|
|
|
Minica is a simple CA intended for use in situations where the CA operator
|
|
|
|
also operates each host where a certificate will be used. It automatically
|
|
|
|
generates both a key and a certificate when asked to produce a
|
|
|
|
certificate.
|
2020-09-25 04:45:31 +00:00
|
|
|
'';
|
|
|
|
homepage = "https://github.com/jsha/minica/";
|
2022-06-16 17:23:12 +00:00
|
|
|
changelog = "https://github.com/jsha/minica/releases/tag/${src.rev}";
|
2020-09-25 04:45:31 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ m1cr0man ];
|
|
|
|
};
|
|
|
|
}
|