python3Packages.Markups: disable failing test

This commit is contained in:
Fabian Affolter 2022-02-14 18:04:10 +01:00
parent fe046a112d
commit 2086287656

View file

@ -1,29 +1,58 @@
{ lib
, buildPythonPackage
, fetchPypi
, python-markdown-math
, markdown
, docutils
, fetchPypi
, importlib-metadata
, markdown
, pygments
, pytestCheckHook
, python-markdown-math
, pythonOlder
, pyyaml
, textile
}:
buildPythonPackage rec {
pname = "Markups";
pname = "markups";
version = "3.1.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "ab9747a72c1c6457418eb4276c79871977c13a654618e4f12e2a1f0990fbf2fc";
pname = "Markups";
inherit version;
hash = "sha256-q5dHpywcZFdBjrQnbHmHGXfBOmVGGOTxLiofCZD78vw=";
};
checkInputs = [ markdown docutils pygments pyyaml ];
propagatedBuildInputs = [ python-markdown-math ];
propagatedBuildInputs = [
docutils
markdown
pygments
python-markdown-math
pyyaml
textile
] ++ lib.optionals (pythonOlder "3.8") [
importlib-metadata
];
meta = {
description = "A wrapper around various text markup languages.";
checkInputs = [
pytestCheckHook
];
disabledTests = [
# AssertionError: '.selector .ch { color: #408080' not found in 'pre...
"test_get_pygments_stylesheet"
];
pythonImportsCheck = [
"markups"
];
meta = with lib; {
description = "Wrapper around various text markup languages";
homepage = "https://github.com/retext-project/pymarkups";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ klntsky ];
license = licenses.bsd3;
maintainers = with maintainers; [ klntsky ];
};
}