summary refs log tree commit diff
diff options
context:
space:
mode:
authorsuperherointj <5861043+superherointj@users.noreply.github.com>2021-07-21 16:54:52 -0300
committersuperherointj <5861043+superherointj@users.noreply.github.com>2021-07-22 14:26:13 -0300
commit91a16d53e7e5c2b8a44a64f03b653889eb1af561 (patch)
treeff91f483287322a04e68b22d1f134f8febe76086
parent1779e6fa8ff497c34c515477970ee5bfcf018fe9 (diff)
downloadnixpkgs-91a16d53e7e5c2b8a44a64f03b653889eb1af561.tar
nixpkgs-91a16d53e7e5c2b8a44a64f03b653889eb1af561.tar.gz
nixpkgs-91a16d53e7e5c2b8a44a64f03b653889eb1af561.tar.bz2
nixpkgs-91a16d53e7e5c2b8a44a64f03b653889eb1af561.tar.lz
nixpkgs-91a16d53e7e5c2b8a44a64f03b653889eb1af561.tar.xz
nixpkgs-91a16d53e7e5c2b8a44a64f03b653889eb1af561.tar.zst
nixpkgs-91a16d53e7e5c2b8a44a64f03b653889eb1af561.zip
minio-certgen: init 0.0.2
-rw-r--r--pkgs/tools/security/minio-certgen/default.nix22
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/security/minio-certgen/default.nix b/pkgs/tools/security/minio-certgen/default.nix
new file mode 100644
index 00000000000..f87fffc4f95
--- /dev/null
+++ b/pkgs/tools/security/minio-certgen/default.nix
@@ -0,0 +1,22 @@
+{ lib, fetchFromGitHub, buildGoModule }:
+
+buildGoModule rec {
+  pname = "minio-certgen";
+  version = "0.0.2";
+
+  src = fetchFromGitHub {
+    owner = "minio";
+    repo = "certgen";
+    rev = "v${version}";
+    sha256 = "sha256-HtzcoEUMt3LpQNyT0wGcmc4Q70QqHx7QpjrDh4YSO/Q=";
+  };
+
+  vendorSha256 = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=";
+
+  meta = with lib; {
+    description = "A simple Minio tool to generate self-signed certificates, and provides SAN certificates with DNS and IP entries";
+    downloadPage = "https://github.com/minio/certgen";
+    license = licenses.bsd3;
+    maintainers = with maintainers; [ superherointj ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 22ea10d466a..0c23f637b98 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -7055,6 +7055,8 @@ in
 
   minio-client = callPackage ../tools/networking/minio-client { };
 
+  minio-certgen = callPackage ../tools/security/minio-certgen { };
+
   minissdpd = callPackage ../tools/networking/minissdpd { };
 
   inherit (callPackage ../tools/networking/miniupnpc