commit ba26865b92c33bd3879267a2200b998baac97e4b parent 5ced7bc4c935cbd95b2992fb8d3a0ff358a73aec Author: Nikolay Korotkiy <sikmir@gmail.com> Date: Tue, 31 Aug 2021 12:28:28 +0300 Add gemcert Diffstat:
M | pkgs/default.nix | | | 1 | + |
A | pkgs/gemini/gemcert/default.nix | | | 22 | ++++++++++++++++++++++ |
2 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -173,6 +173,7 @@ lib.makeScope newScope ( astronaut = callPackage ./gemini/astronaut { }; comitium = callPackage ./gemini/comitium { }; + gemcert = callPackage ./gemini/gemcert { }; gemget = callPackage ./gemini/gemget { }; gemini-ipfs-gateway = callPackage ./gemini/gemini-ipfs-gateway { }; geminid = callPackage ./gemini/geminid { }; diff --git a/pkgs/gemini/gemcert/default.nix b/pkgs/gemini/gemcert/default.nix @@ -0,0 +1,22 @@ +{ lib, buildGoPackage, fetchgit }: + +buildGoPackage { + pname = "gemcert"; + version = "2020-12-08"; + + src = fetchgit { + url = "https://tildegit.org/solderpunk/gemcert"; + rev = "fc14deb2751274d2df01f8d5abef023ec7e12a8c"; + sha256 = "sha256-za3pS6WlOJ+NKqhyCfhlj7gH4U5yFXtJ6gLta7WXhb0="; + }; + + goPackagePath = "tildegit.org/solderpunk/gemcert"; + + meta = with lib; { + description = "A simple tool for creating self-signed certs for use in Geminispace"; + homepage = "https://tildegit.org/solderpunk/gemcert"; + license = licenses.bsd2; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + }; +}