python3Packages.rich-rst: init at 1.1.5

This commit is contained in:
Joel 2022-03-01 16:48:33 +10:00
parent 13e74fc7ff
commit ebc769337f
No known key found for this signature in database
GPG key ID: 18550BD205E9EF64
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, docutils
, rich
}:
buildPythonPackage rec {
pname = "rich-rst";
version = "1.1.5";
format = "pyproject";
src = fetchFromGitHub {
owner = "wasi-master";
repo = pname;
rev = "v${version}";
sha256 = "0g1whhw07jgy46a1x85pd23gs356j1cc229wqf5j3x4r11kin6i5";
};
propagatedBuildInputs = [ docutils rich ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "rich_rst" ];
meta = with lib; {
description = "A beautiful reStructuredText renderer for rich";
homepage = "https://github.com/wasi-master/rich-rst";
license = licenses.mit;
maintainers = with maintainers; [ jyooru ];
};
}

View file

@ -8739,6 +8739,8 @@ in {
rich = callPackage ../development/python-modules/rich { };
rich-rst = callPackage ../development/python-modules/rich-rst { };
rig = callPackage ../development/python-modules/rig { };
ring-doorbell = callPackage ../development/python-modules/ring-doorbell { };