Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildGoModule 3, fetchFromGitHub 4}: 5 6buildGoModule rec { 7 pname = "minica"; 8 version = "1.0.2"; 9 10 src = fetchFromGitHub { 11 owner = "jsha"; 12 repo = "minica"; 13 rev = "v${version}"; 14 sha256 = "sha256-3p6rUFFiWXhX9BBbxqWxRoyRceexvNnqcFCyNi5HoaA="; 15 }; 16 17 vendorSha256 = null; 18 19 ldflags = [ "-s" "-w" ]; 20 21 meta = with lib; { 22 description = "A simple tool for generating self signed certificates"; 23 longDescription = '' 24 Minica is a simple CA intended for use in situations where the CA operator 25 also operates each host where a certificate will be used. It automatically 26 generates both a key and a certificate when asked to produce a 27 certificate. 28 ''; 29 homepage = "https://github.com/jsha/minica/"; 30 changelog = "https://github.com/jsha/minica/releases/tag/${src.rev}"; 31 license = licenses.mit; 32 maintainers = with maintainers; [ m1cr0man ]; 33 }; 34}