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