commit a7e7e55175aedabcde12178713310045c2abcb47 parent eae0332cd6b8019293d1e856b5c8cc7eb22fd147 Author: Nikolay Korotkiy <sikmir@disroot.org> Date: Wed, 19 Jan 2022 17:24:47 +0300 Add py-gmi2html Diffstat:
M | pkgs/default.nix | | | 1 | + |
A | pkgs/gemini/py-gmi2html/default.nix | | | 21 | +++++++++++++++++++++ |
2 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -148,6 +148,7 @@ lib.makeScope newScope ( zig = pkgs.zig_0_8_1; }; kineto = callPackage ./gemini/kineto { }; + py-gmi2html = callPackage ./gemini/py-gmi2html { }; qute-gemini = callPackage ./gemini/qute-gemini { }; satellite = callPackage ./gemini/satellite { }; shavit = callPackage ./gemini/shavit { }; diff --git a/pkgs/gemini/py-gmi2html/default.nix b/pkgs/gemini/py-gmi2html/default.nix @@ -0,0 +1,21 @@ +{ lib, fetchFromGitea, python3Packages }: + +python3Packages.buildPythonApplication rec { + pname = "gmi2html"; + version = "2022-01-19"; + + src = fetchFromGitea { + domain = "notabug.org"; + owner = "tinyrabbit"; + repo = pname; + rev = "1a63bc609915a3b1531e6ba4a5893f00743ac0e0"; + hash = "sha256-FVT28QYfSaVOI8qbxQbZ2w+dktg1tpp6eb4IltEpltU="; + }; + + meta = with lib; { + description = "A library and CLI tool for converting text/gemini to text/html"; + inherit (src.meta) homepage; + license = licenses.mit; + maintainers = [ maintainers.sikmir ]; + }; +}