evcc: 0.131.8 -> 0.131.10 (#364658)
[NixPkgs.git] / pkgs / development / python-modules / recommonmark / default.nix
blob0569adc5b93eceba4661fc759b9b3b1d54536b0b
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   commonmark,
7   docutils,
8   sphinx,
9   isPy3k,
12 buildPythonPackage rec {
13   pname = "recommonmark";
14   version = "0.7.1";
15   format = "setuptools";
17   src = fetchFromGitHub {
18     owner = "rtfd";
19     repo = pname;
20     rev = version;
21     sha256 = "0kwm4smxbgq0c0ybkxfvlgrfb3gq9amdw94141jyykk9mmz38379";
22   };
24   nativeCheckInputs = [ pytestCheckHook ];
25   propagatedBuildInputs = [
26     commonmark
27     docutils
28     sphinx
29   ];
31   dontUseSetuptoolsCheck = true;
33   disabledTests = [
34     # https://github.com/readthedocs/recommonmark/issues/164
35     "test_lists"
36     "test_integration"
37   ];
39   doCheck = !isPy3k; # Not yet compatible with latest Sphinx.
40   pythonImportsCheck = [ "recommonmark" ];
42   meta = {
43     description = "Docutils-compatibility bridge to CommonMark";
44     homepage = "https://github.com/rtfd/recommonmark";
45     license = lib.licenses.mit;
46   };