python3Packages.markdown-it-py: 1.1.0 -> 2.0.0
This commit is contained in:
parent
baac79cc39
commit
6041dd2412
1 changed files with 19 additions and 10 deletions
|
@ -1,19 +1,20 @@
|
||||||
{ lib
|
{ lib
|
||||||
|
, attrs
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pytestCheckHook
|
|
||||||
, pythonOlder
|
|
||||||
, attrs
|
|
||||||
, linkify-it-py
|
, linkify-it-py
|
||||||
|
, mdurl
|
||||||
, psutil
|
, psutil
|
||||||
, pytest-benchmark
|
, pytest-benchmark
|
||||||
, pytest-regressions
|
, pytest-regressions
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
, typing-extensions
|
, typing-extensions
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "markdown-it-py";
|
pname = "markdown-it-py";
|
||||||
version = "1.1.0";
|
version = "2.0.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
@ -22,11 +23,16 @@ buildPythonPackage rec {
|
||||||
owner = "executablebooks";
|
owner = "executablebooks";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0h7rn3rcqfwmnqs97qczwkw9w5g4df8bgn6sw7k149svfqgrkf56";
|
sha256 = "sha256-ahg+aAVpAh07PZ1mfrne0EP9K2J4tb8eLp5XXFpWp00=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ attrs linkify-it-py ]
|
propagatedBuildInputs = [
|
||||||
++ lib.optional (pythonOlder "3.8") typing-extensions;
|
attrs
|
||||||
|
linkify-it-py
|
||||||
|
mdurl
|
||||||
|
] ++ lib.optional (pythonOlder "3.8") [
|
||||||
|
typing-extensions
|
||||||
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
psutil
|
psutil
|
||||||
|
@ -34,11 +40,14 @@ buildPythonPackage rec {
|
||||||
pytest-regressions
|
pytest-regressions
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
pythonImportsCheck = [ "markdown_it" ];
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"markdown_it"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Markdown parser done right";
|
description = "Markdown parser in Python";
|
||||||
homepage = "https://markdown-it-py.readthedocs.io/en/latest";
|
homepage = "https://markdown-it-py.readthedocs.io/";
|
||||||
changelog = "https://github.com/executablebooks/markdown-it-py/blob/${src.rev}/CHANGELOG.md";
|
changelog = "https://github.com/executablebooks/markdown-it-py/blob/${src.rev}/CHANGELOG.md";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ bhipple ];
|
maintainers = with maintainers; [ bhipple ];
|
||||||
|
|
Loading…
Reference in a new issue