mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
36 lines
936 B
Nix
36 lines
936 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "minica";
|
|
version = "1.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jsha";
|
|
repo = "minica";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-YUeP3xBoZzonJYfEAOWZYCTFwOxFWySW7ezvpMLNZ1I=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
meta = with lib; {
|
|
description = "Simple tool for generating self signed certificates";
|
|
mainProgram = "minica";
|
|
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 ];
|
|
};
|
|
}
|