at 24.11-pre 40 lines 776 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 docutils, 7 rich, 8 pytestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "rich-rst"; 13 version = "1.3.0"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "wasi-master"; 18 repo = "rich-rst"; 19 rev = "refs/tags/v${version}"; 20 hash = "sha256-A3SPbu1N5X55c32S8z8UPpmniJT+mdqfb1+zQEJMA5k="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 dependencies = [ 26 docutils 27 rich 28 ]; 29 30 nativeCheckInputs = [ pytestCheckHook ]; 31 32 pythonImportsCheck = [ "rich_rst" ]; 33 34 meta = with lib; { 35 description = "A beautiful reStructuredText renderer for rich"; 36 homepage = "https://github.com/wasi-master/rich-rst"; 37 license = licenses.mit; 38 maintainers = with maintainers; [ joelkoen ]; 39 }; 40}