depot/third_party/nixpkgs/pkgs/development/python-modules/readme_renderer/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

45 lines
797 B
Nix

{ lib
, bleach
, buildPythonPackage
, cmarkgfm
, docutils
, fetchPypi
, future
, mock
, pygments
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "readme_renderer";
version = "30.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-gplwDXqRDDBAcqdgHq+tpnEqWwEaIBOUF+Gx6fBGRdg=";
};
propagatedBuildInputs = [
bleach
cmarkgfm
docutils
future
pygments
];
checkInputs = [
mock
pytestCheckHook
];
pythonImportsCheck = [ "readme_renderer" ];
meta = with lib; {
description = "Python library for rendering readme descriptions";
homepage = "https://github.com/pypa/readme_renderer";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}