diff options
Diffstat (limited to 'pkgs/development/python-modules/rich-rst/default.nix')
-rw-r--r-- | pkgs/development/python-modules/rich-rst/default.nix | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/pkgs/development/python-modules/rich-rst/default.nix b/pkgs/development/python-modules/rich-rst/default.nix index 5db47dfc65ea1..067b7c39cbc0a 100644 --- a/pkgs/development/python-modules/rich-rst/default.nix +++ b/pkgs/development/python-modules/rich-rst/default.nix @@ -1,36 +1,38 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, setuptools -, docutils -, rich +{ + lib, + buildPythonPackage, + fetchFromGitHub, + setuptools, + docutils, + rich, + pytestCheckHook, }: buildPythonPackage rec { pname = "rich-rst"; - version = "1.2.0"; - format = "pyproject"; + version = "1.3.1"; + pyproject = true; src = fetchFromGitHub { owner = "wasi-master"; - repo = pname; + repo = "rich-rst"; rev = "refs/tags/v${version}"; - hash = "sha256-jFPboZ5/T2I6EuyVM+45lrLWen8Kqf94gWXS1WDf1qU="; + hash = "sha256-jbzGTEth5Qoc0ORFCS3sZMrGUpoQQOVsd+l3/zMWy20="; }; - nativeBuildInputs = [ - setuptools - ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ docutils rich ]; + dependencies = [ + docutils + rich + ]; - # Module has no tests - doCheck = false; + nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "rich_rst" ]; meta = with lib; { - description = "A beautiful reStructuredText renderer for rich"; + description = "Beautiful reStructuredText renderer for rich"; homepage = "https://github.com/wasi-master/rich-rst"; license = licenses.mit; maintainers = with maintainers; [ joelkoen ]; |