Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, fetchFromGitHub, buildGoModule }:
2
3buildGoModule rec {
4 pname = "minio-certgen";
5 version = "1.2.1";
6
7 src = fetchFromGitHub {
8 owner = "minio";
9 repo = "certgen";
10 rev = "v${version}";
11 sha256 = "sha256-qi+SeNLW/jE2dGar4Lf16TKRT3ZTmWB/j8EsnoyrdxI=";
12 };
13
14 vendorSha256 = null;
15
16 meta = with lib; {
17 description = "A simple Minio tool to generate self-signed certificates, and provides SAN certificates with DNS and IP entries";
18 downloadPage = "https://github.com/minio/certgen";
19 license = licenses.bsd3;
20 maintainers = with maintainers; [ bryanasdev000 ];
21 mainProgram = "certgen";
22 };
23}