Merge pull request #162321 from jyooru/init/python3Packages.rich-rst

This commit is contained in:
Sandro 2022-03-01 14:49:17 +01:00 committed by GitHub
commit 678464223f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

@ -8743,6 +8743,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 { };