2020-06-19 21:27:46 +02:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "minica";
|
|
|
|
version = "1.0.2";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/jsha/minica";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jsha";
|
|
|
|
repo = "minica";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "18518wp3dcjhf3mdkg5iwxqr3326n6jwcnqhyibphnb2a58ap7ny";
|
|
|
|
};
|
|
|
|
|
2021-08-26 05:31:57 +02:00
|
|
|
ldflags = [
|
|
|
|
"-X main.BuildVersion=${version}"
|
|
|
|
];
|
2020-06-19 21:27:46 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
2020-10-11 07:55:05 +02:00
|
|
|
description = "A simple tool for generating self signed certificates";
|
2020-06-19 21:27:46 +02:00
|
|
|
longDescription = ''
|
|
|
|
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.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/jsha/minica/";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ m1cr0man ];
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
|
|
|
}
|