commit a158b46f348abf53209731868a39f11c50128d61
parent 799a62422c1e4287415cf6d9065d5ec29aa00277
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date: Thu, 14 Apr 2022 23:36:16 +0300
Add gplaces
Diffstat:
2 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix
@@ -142,6 +142,7 @@ lib.makeScope newScope (
gmi2html = callPackage ./gemini/gmi2html { };
gmnhg = callPackage ./gemini/gmnhg { };
gmnigit = callPackage ./gemini/gmnigit { };
+ gplaces = callPackage ./gemini/gplaces { };
gssg = callPackage ./gemini/gssg { };
gurl = callPackage ./gemini/gurl {
zig = pkgs.zig_0_8_1;
diff --git a/pkgs/gemini/gplaces/default.nix b/pkgs/gemini/gplaces/default.nix
@@ -0,0 +1,28 @@
+{ lib, stdenv, fetchFromGitHub, pkg-config, curl, openssl }:
+
+stdenv.mkDerivation rec {
+ pname = "gplaces";
+ version = "2022-04-14";
+
+ src = fetchFromGitHub {
+ owner = "dimkr";
+ repo = pname;
+ rev = "439f5e856c7aa6d1664e4d381623e5ec3d845980";
+ hash = "sha256-1ckdpG1VwI7kmbc36NePDsBOPe6scNZY6QTHbgqQBFA=";
+ fetchSubmodules = true;
+ };
+
+ nativeBuildInputs = [ pkg-config ];
+
+ buildInputs = [ curl openssl ];
+
+ installFlags = [ "PREFIX=$(out)" ];
+
+ meta = with lib; {
+ description = "A simple terminal based Gemini client";
+ inherit (src.meta) homepage;
+ license = licenses.gpl3Plus;
+ maintainers = [ maintainers.sikmir ];
+ platforms = platforms.unix;
+ };
+}