at 23.05-pre 38 lines 748 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, setuptools 5, docutils 6, rich 7}: 8 9buildPythonPackage rec { 10 pname = "rich-rst"; 11 version = "1.1.7"; 12 format = "pyproject"; 13 14 src = fetchFromGitHub { 15 owner = "wasi-master"; 16 repo = pname; 17 rev = "v${version}"; 18 sha256 = "sha256-s48hdJo1LIRXTf+PeSBa6y/AH1NLmnyAafFydJ+exDk="; 19 }; 20 21 nativeBuildInputs = [ 22 setuptools 23 ]; 24 25 propagatedBuildInputs = [ docutils rich ]; 26 27 # Module has no tests 28 doCheck = false; 29 30 pythonImportsCheck = [ "rich_rst" ]; 31 32 meta = with lib; { 33 description = "A beautiful reStructuredText renderer for rich"; 34 homepage = "https://github.com/wasi-master/rich-rst"; 35 license = licenses.mit; 36 maintainers = with maintainers; [ jyooru ]; 37 }; 38}