portfolio: 0.71.2 -> 0.72.2 (#360387)
[NixPkgs.git] / pkgs / development / python-modules / readme-renderer / default.nix
blobf2642aff1c2c377b3dbbbbbcfe896fee72012675
2   lib,
3   buildPythonPackage,
4   cmarkgfm,
5   docutils,
6   fetchPypi,
7   nh3,
8   pygments,
9   pytestCheckHook,
10   pythonOlder,
11   setuptools,
14 buildPythonPackage rec {
15   pname = "readme-renderer";
16   version = "44.0";
17   pyproject = true;
19   disabled = pythonOlder "3.9";
21   src = fetchPypi {
22     pname = "readme_renderer";
23     inherit version;
24     hash = "sha256-hxIDTqu/poBcrPFAK07rKnMCj3LRFm1vXLf5wEfF0eE=";
25   };
27   build-system = [ setuptools ];
29   dependencies = [
30     docutils
31     nh3
32     pygments
33   ];
35   optional-dependencies.md = [ cmarkgfm ];
37   nativeCheckInputs = [ pytestCheckHook ] ++ optional-dependencies.md;
39   disabledTests = [
40     "test_rst_fixtures"
41     "test_rst_008.rst"
42   ];
44   pythonImportsCheck = [ "readme_renderer" ];
46   meta = with lib; {
47     description = "Python library for rendering readme descriptions";
48     homepage = "https://github.com/pypa/readme_renderer";
49     changelog = "https://github.com/pypa/readme_renderer/releases/tag/${version}";
50     license = with licenses; [ asl20 ];
51     maintainers = with maintainers; [ fab ];
52   };