md2gemini: init at 1.8.1
This commit is contained in:
parent
2b4ef94228
commit
b6bb9ebd41
23
pkgs/development/python-modules/md2gemini/default.nix
Normal file
23
pkgs/development/python-modules/md2gemini/default.nix
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{ lib, buildPythonPackage, fetchPypi, mistune_2_0, cjkwrap, wcwidth
|
||||||
|
, pytestCheckHook }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "md2gemini";
|
||||||
|
version = "1.8.1";
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ mistune_2_0 cjkwrap wcwidth ];
|
||||||
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
pythonImportsCheck = [ "md2gemini" ];
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0mfa0f0m762168fbsxjr1cx9yhj82dr8z1d28jl6hj9bkqnvvwiy";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Markdown to Gemini text format conversion library";
|
||||||
|
homepage = "https://github.com/makeworld-the-better-one/md2gemini";
|
||||||
|
license = licenses.lgpl3Plus;
|
||||||
|
maintainers = [ maintainers.kaction ];
|
||||||
|
};
|
||||||
|
}
|
@ -6001,6 +6001,8 @@ in
|
|||||||
|
|
||||||
m2r = python3Packages.callPackage ../tools/text/m2r { };
|
m2r = python3Packages.callPackage ../tools/text/m2r { };
|
||||||
|
|
||||||
|
md2gemini = with python3.pkgs; toPythonApplication md2gemini;
|
||||||
|
|
||||||
mdbook = callPackage ../tools/text/mdbook {
|
mdbook = callPackage ../tools/text/mdbook {
|
||||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
||||||
};
|
};
|
||||||
|
@ -3949,6 +3949,8 @@ in {
|
|||||||
|
|
||||||
mcstatus = callPackage ../development/python-modules/mcstatus { };
|
mcstatus = callPackage ../development/python-modules/mcstatus { };
|
||||||
|
|
||||||
|
md2gemini = callPackage ../development/python-modules/md2gemini { };
|
||||||
|
|
||||||
MDP = callPackage ../development/python-modules/mdp { };
|
MDP = callPackage ../development/python-modules/mdp { };
|
||||||
|
|
||||||
measurement = callPackage ../development/python-modules/measurement { };
|
measurement = callPackage ../development/python-modules/measurement { };
|
||||||
|
Loading…
Reference in New Issue
Block a user