pythonPackages.recommonmark: 0.5.0 -> 0.6.0

This commit is contained in:
Frederik Rietdijk
2019-10-29 19:04:10 +01:00
parent 5d59133d96
commit be85360e08
@@ -1,7 +1,7 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, pytest , pytestCheckHook
, CommonMark , CommonMark
, docutils , docutils
, sphinx , sphinx
@@ -9,22 +9,26 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "recommonmark"; pname = "recommonmark";
version = "0.5.0"; version = "0.6.0";
# PyPI tarball is missing some test files: https://github.com/rtfd/recommonmark/pull/128 # PyPI tarball is missing some test files: https://github.com/rtfd/recommonmark/pull/128
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rtfd"; owner = "rtfd";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "04bjqx2hczmg7rnj2rpsjk7h24diwk83s6fhgrxk00k40w2bpz5j"; sha256 = "0m6qk17irka448vcz5b39yck1qsq90k98dmkx80mni0w00yq9ggd";
}; };
checkInputs = [ pytest ]; checkInputs = [ pytestCheckHook ];
propagatedBuildInputs = [ CommonMark docutils sphinx ]; propagatedBuildInputs = [ CommonMark docutils sphinx ];
checkPhase = '' dontUseSetuptoolsCheck = true;
py.test
''; disabledTests = [
# https://github.com/readthedocs/recommonmark/issues/164
"test_lists"
"test_integration"
];
meta = { meta = {
description = "A docutils-compatibility bridge to CommonMark"; description = "A docutils-compatibility bridge to CommonMark";