depot/third_party/nixpkgs/pkgs/development/python-modules/rich-rst/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

38 lines
748 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, docutils
, rich
}:
buildPythonPackage rec {
pname = "rich-rst";
version = "1.1.7";
format = "pyproject";
src = fetchFromGitHub {
owner = "wasi-master";
repo = pname;
rev = "v${version}";
hash = "sha256-s48hdJo1LIRXTf+PeSBa6y/AH1NLmnyAafFydJ+exDk=";
};
nativeBuildInputs = [
setuptools
];
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; [ joelkoen ];
};
}