Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / recommonmark / default.nix
blob3faf8493043ab128fca7897d0d0d562c4c74af94
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , commonmark
6 , docutils
7 , sphinx
8 , isPy3k
9 }:
11 buildPythonPackage rec {
12   pname = "recommonmark";
13   version = "0.7.1";
14   format = "setuptools";
16   src = fetchFromGitHub {
17     owner = "rtfd";
18     repo = pname;
19     rev = version;
20     sha256 = "0kwm4smxbgq0c0ybkxfvlgrfb3gq9amdw94141jyykk9mmz38379";
21   };
23   nativeCheckInputs = [ pytestCheckHook ];
24   propagatedBuildInputs = [ commonmark docutils sphinx ];
26   dontUseSetuptoolsCheck = true;
28   disabledTests = [
29     # https://github.com/readthedocs/recommonmark/issues/164
30     "test_lists"
31     "test_integration"
32   ];
34   doCheck = !isPy3k; # Not yet compatible with latest Sphinx.
35   pythonImportsCheck = [ "recommonmark" ];
37   meta = {
38     description = "A docutils-compatibility bridge to CommonMark";
39     homepage = "https://github.com/rtfd/recommonmark";
40     license = lib.licenses.mit;
41     maintainers = with lib.maintainers; [ fridh ];
42   };