summary refs log tree commit diff
path: root/pkgs/development/python-modules/rich-rst/default.nix
blob: 4c543febb813509abfcfc30ce5a1d5e804e365ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ lib
, buildPythonPackage
, fetchFromGitHub
, docutils
, rich
}:

buildPythonPackage rec {
  pname = "rich-rst";
  version = "1.1.7";
  format = "pyproject";

  src = fetchFromGitHub {
    owner = "wasi-master";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-s48hdJo1LIRXTf+PeSBa6y/AH1NLmnyAafFydJ+exDk=";
  };

  propagatedBuildInputs = [ docutils rich ];

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [ "rich_rst" ];

  meta = with lib; {
    description = "A beautiful reStructuredText renderer for rich";
    homepage = "https://github.com/wasi-master/rich-rst";
    license = licenses.mit;
    maintainers = with maintainers; [ jyooru ];
  };
}