commit 3a712095b143e5c2e922469df689cc332d09ebf7 parent 8f757fe5c48dd96dcce36c0140e47c13be35886e Author: Nikolay Korotkiy <sikmir@gmail.com> Date: Thu, 1 Jul 2021 03:41:18 +0300 Add gemget Diffstat:
M | pkgs/default.nix | | | 1 | + |
A | pkgs/gemini/gemget/default.nix | | | 23 | +++++++++++++++++++++++ |
2 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -163,6 +163,7 @@ lib.makeScope newScope ( astronaut = callPackage ./gemini/astronaut { }; comitium = callPackage ./gemini/comitium { }; + gemget = callPackage ./gemini/gemget { }; geminid = callPackage ./gemini/geminid { }; gemreader = callPackage ./gemini/gemreader { }; gloggery = callPackage ./gemini/gloggery { }; diff --git a/pkgs/gemini/gemget/default.nix b/pkgs/gemini/gemget/default.nix @@ -0,0 +1,23 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "gemget"; + version = "1.8.0"; + + src = fetchFromGitHub { + owner = "makeworld-the-better-one"; + repo = pname; + rev = "v${version}"; + hash = "sha256-PmtIgxnzfLduNGTx8SNDky6juv+NTJ8Cr++SOCk/QNU="; + }; + + vendorSha256 = "sha256-Ep6HAJgurxFbA4L77z8V2ar06BBVWlAJS9VoSSUg27U="; + + meta = with lib; { + description = "Command line downloader for the Gemini protocol"; + inherit (src.meta) homepage; + license = licenses.mit; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + }; +}