Merge pull request #162321 from jyooru/init/python3Packages.rich-rst
This commit is contained in:
commit
678464223f
33
pkgs/development/python-modules/rich-rst/default.nix
Normal file
33
pkgs/development/python-modules/rich-rst/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue