Merge pull request #118056 from jb55/gmni

This commit is contained in:
Sandro 2021-04-01 13:55:03 +02:00 committed by GitHub
commit 4a3774f7df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 53 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ stdenv, lib, fetchFromSourcehut, pkg-config, bearssl, scdoc }:
stdenv.mkDerivation rec {
pname = "gmni";
version = "unstable-2021-03-26";
src = fetchFromSourcehut {
owner = "~sircmpwn";
repo = "gmni";
rev = "77b73efbcd3ea7ed9e3e4c0aa19d9247e21d3c87";
sha256 = "1wvnzyv7vyddcd39y6q5aflpnnsdl4k4y5aj5ssb7vgkld0h1b7r";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ bearssl scdoc ];
meta = with lib; {
description = "A Gemini client";
homepage = "https://git.sr.ht/~sircmpwn/gmni";
license = licenses.gpl3Only;
maintainers = with maintainers; [ bsima jb55 ];
platforms = platforms.all;
};
}

View file

@ -0,0 +1,25 @@
{ stdenv, lib, fetchFromSourcehut, pkg-config, openssl, mime-types, scdoc }:
stdenv.mkDerivation rec {
pname = "gmnisrv";
version = "unstable-2021-03-26";
src = fetchFromSourcehut {
owner = "~sircmpwn";
repo = "gmnisrv";
rev = "f23ec10a6d66c574bbf718c4b10f2cf91ea8daef";
sha256 = "1d9rjx0s092yfzjxd2yvzixhqgg883nlnmsysgp21w75n2as354n";
};
MIMEDB = "${mime-types}/etc/mime.types";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl mime-types scdoc ];
meta = with lib; {
description = "A simple Gemini protocol server";
homepage = "https://git.sr.ht/~sircmpwn/gmnisrv";
license = licenses.gpl3Only;
maintainers = with maintainers; [ bsima jb55 ];
platforms = platforms.all;
};
}

View file

@ -1384,6 +1384,10 @@ in
glasgow = with python3Packages; toPythonApplication glasgow;
gmni = callPackage ../applications/networking/browsers/gmni { };
gmnisrv = callPackage ../servers/gemini/gmnisrv { };
goimapnotify = callPackage ../tools/networking/goimapnotify { };
gojsontoyaml = callPackage ../development/tools/gojsontoyaml { };