ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / recommonmark / default.nix
blob48d92d43ec6e939bb23e372b58d9e31aea1f33ea
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";
15   src = fetchFromGitHub {
16     owner = "rtfd";
17     repo = pname;
18     rev = version;
19     sha256 = "0kwm4smxbgq0c0ybkxfvlgrfb3gq9amdw94141jyykk9mmz38379";
20   };
22   checkInputs = [ pytestCheckHook ];
23   propagatedBuildInputs = [ CommonMark docutils sphinx ];
25   dontUseSetuptoolsCheck = true;
27   disabledTests = [
28     # https://github.com/readthedocs/recommonmark/issues/164
29     "test_lists"
30     "test_integration"
31   ];
33   doCheck = !isPy3k; # Not yet compatible with latest Sphinx.
34   pythonImportsCheck = [ "recommonmark" ];
36   meta = {
37     description = "A docutils-compatibility bridge to CommonMark";
38     homepage = "https://github.com/rtfd/recommonmark";
39     license = lib.licenses.mit;
40     maintainers = with lib.maintainers; [ fridh ];
41   };