nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 44 lines 774 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 setuptools-scm, 7 docutils, 8 rich, 9 pytestCheckHook, 10}: 11 12buildPythonPackage rec { 13 pname = "rich-rst"; 14 version = "1.3.2"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "wasi-master"; 19 repo = "rich-rst"; 20 tag = "v${version}"; 21 hash = "sha256-NL5Y3m8KcAiZIH6IvuPp75Tbxh/X9Ob5qUWtYfuq8Bc="; 22 }; 23 24 build-system = [ 25 setuptools 26 setuptools-scm 27 ]; 28 29 dependencies = [ 30 docutils 31 rich 32 ]; 33 34 nativeCheckInputs = [ pytestCheckHook ]; 35 36 pythonImportsCheck = [ "rich_rst" ]; 37 38 meta = { 39 description = "Beautiful reStructuredText renderer for rich"; 40 homepage = "https://github.com/wasi-master/rich-rst"; 41 license = lib.licenses.mit; 42 maintainers = [ ]; 43 }; 44}