nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 386a8297ba3d55626b5ea060d8b305415003687d
parent a2be8cda953facf7a6ebd5df9a5602823e040970
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Sun,  8 Aug 2021 14:59:03 +0300

Add gemini-ipfs-gateway

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/gemini/gemini-ipfs-gateway/default.nix | 23+++++++++++++++++++++++
2 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -172,6 +172,7 @@ lib.makeScope newScope ( astronaut = callPackage ./gemini/astronaut { }; comitium = callPackage ./gemini/comitium { }; gemget = callPackage ./gemini/gemget { }; + gemini-ipfs-gateway = callPackage ./gemini/gemini-ipfs-gateway { }; geminid = callPackage ./gemini/geminid { }; gemreader = callPackage ./gemini/gemreader { }; gloggery = callPackage ./gemini/gloggery { }; diff --git a/pkgs/gemini/gemini-ipfs-gateway/default.nix b/pkgs/gemini/gemini-ipfs-gateway/default.nix @@ -0,0 +1,23 @@ +{ lib, buildGoModule, fetchFromSourcehut, scdoc }: + +buildGoModule rec { + pname = "gemini-ipfs-gateway"; + version = "2021-03-23"; + + src = fetchFromSourcehut { + owner = "~hsanjuan"; + repo = pname; + rev = "918ef8ab2691cb7af7048c9ca3d2015b6ad45f91"; + hash = "sha256-ERRqeSDnAkhjlcOYS6CBP+/YZBGXoCtjGOlcmdYjLhI="; + }; + + vendorSha256 = "sha256-LKJb3YpnydkPHSCR3ioTRDWW5R+HucY8tPfqOuS06h0="; + + meta = with lib; { + description = "IPFS access over the Gemini protocol"; + inherit (src.meta) homepage; + license = licenses.agpl3Only; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + }; +}