depot/third_party/nixpkgs/pkgs/development/python-modules/readme_renderer/default.nix
Default email 75ca762b89 Project import generated by Copybara.
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
2021-03-09 11:18:52 +08:00

45 lines
797 B
Nix

{ lib
, bleach
, buildPythonPackage
, cmarkgfm
, docutils
, fetchPypi
, future
, mock
, pygments
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "readme_renderer";
version = "29.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-kv1awr+Gd/MQ8zA6pLzludX58glKuYwp8TeR17gFo9s=";
};
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 ];
};
}