commit 0cc17c6e6718a04aaf35158be04d8c5176235f53 parent 7ba445a62d89e2c614847a5220f291b1d179da86 Author: Nikolay Korotkiy <sikmir@gmail.com> Date: Tue, 2 Feb 2021 03:21:58 +0300 Add kineto Diffstat:
M | pkgs/default.nix | | | 1 | + |
A | pkgs/gemini/kineto/default.nix | | | 22 | ++++++++++++++++++++++ |
2 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -208,6 +208,7 @@ lib.makeScope newScope ( gmnisrv = callPackage ./gemini/gmnisrv { }; gurl = callPackage ./gemini/gurl { }; kiln = callPackage ./gemini/kiln { }; + kineto = callPackage ./gemini/kineto { }; md2gemini = callPackage ./gemini/md2gemini { }; shavit = callPackage ./gemini/shavit { }; diff --git a/pkgs/gemini/kineto/default.nix b/pkgs/gemini/kineto/default.nix @@ -0,0 +1,22 @@ +{ lib, buildGoModule, fetchgit }: + +buildGoModule { + pname = "kineto"; + version = "2021-01-15"; + + src = fetchgit { + url = "https://git.sr.ht/~sircmpwn/kineto"; + rev = "8f35e0a2b17b70691b8634c2bd8c99f98557105c"; + sha256 = "0vh28k3mnqv27nr3s6c4b4zcf5q1q2c1fs73np1cb0l4fpl6l7s2"; + }; + + vendorSha256 = "06yjz1rsnfz2dyky53q4y5g05f2h724cjvc9z5d57rra1kjp3p1j"; + + meta = with lib; { + description = "An HTTP to Gemini proxy"; + homepage = "https://git.sr.ht/~sircmpwn/kineto"; + license = licenses.gpl3; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + }; +}