depot/third_party/nixpkgs/pkgs/tools/security/minica/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

34 lines
910 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "minica";
version = "1.0.2";
src = fetchFromGitHub {
owner = "jsha";
repo = "minica";
rev = "v${version}";
sha256 = "sha256-3p6rUFFiWXhX9BBbxqWxRoyRceexvNnqcFCyNi5HoaA=";
};
vendorHash = null;
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "A simple tool for generating self signed certificates";
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/";
changelog = "https://github.com/jsha/minica/releases/tag/${src.rev}";
license = licenses.mit;
maintainers = with maintainers; [ m1cr0man ];
};
}