python3Packages.markdown-it-py: 0.6.2 -> 1.0.0

This commit is contained in:
Aluísio Augusto Silva Gonçalves 2021-05-04 00:36:24 -03:00
parent 8b94f86044
commit 66534789b0
No known key found for this signature in database
GPG key ID: DA6EA2FACDB1CBD2

View file

@ -1,41 +1,36 @@
{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder
, attrs
, coverage
, linkify-it-py
, psutil
, pytest-benchmark
, pytest-regressions
, typing-extensions
}:
buildPythonPackage rec {
pname = "markdown-it-py";
version = "0.6.2";
version = "1.0.0";
format = "pyproject";
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "executablebooks";
repo = "markdown-it-py";
repo = pname;
rev = "v${version}";
sha256 = "1g9p8pdnvjya436lii63r5gjajhmbhmyh9ngbjqf9dqny05nagz1";
hash = "sha256-GA7P2I8N+i2ISsVgx58zyhrfKMcZ7pL4X9T/trbsr1Y=";
};
propagatedBuildInputs = [ attrs ];
propagatedBuildInputs = [ attrs linkify-it-py ]
++ lib.optional (pythonOlder "3.8") typing-extensions;
checkInputs = [
coverage
pytest-benchmark
psutil
pytest-benchmark
pytest-regressions
pytestCheckHook
];
disabledTests = [
# Requires the unpackaged pytest-regressions fixture plugin
"test_amsmath"
"test_container"
"test_deflist"
"test_dollarmath"
"test_spec"
"test_texmath"
];
pytestImportsCheck = [ "markdown_it" ];
meta = with lib; {
description = "Markdown parser done right";