depot/third_party/nixpkgs/pkgs/development/python-modules/rich-rst/default.nix
Default email 8a45d4525b Project import generated by Copybara.
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
2022-03-30 11:31:56 +02:00

33 lines
690 B
Nix

{ 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 ];
};
}