python3Packages.jupytext: fix build by adding missing markdown-it-py dep; python3 only
Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Co-authored-by: Timo Kaufmann <timokau@zoho.com>
This commit is contained in:
parent
3c9e1eb9a2
commit
b2d64e2c28
|
@ -1,5 +1,5 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||||
, mock
|
, markdown-it-py
|
||||||
, nbformat
|
, nbformat
|
||||||
, pytest
|
, pytest
|
||||||
, pyyaml
|
, pyyaml
|
||||||
|
@ -10,16 +10,19 @@ buildPythonPackage rec {
|
||||||
pname = "jupytext";
|
pname = "jupytext";
|
||||||
version = "1.7.1";
|
version = "1.7.1";
|
||||||
|
|
||||||
|
disabled = isPy27;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "23123b90c267c67716fe6a022dfae49b84fd3809370d83211f2920eb3106bf40";
|
sha256 = "23123b90c267c67716fe6a022dfae49b84fd3809370d83211f2920eb3106bf40";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
pyyaml
|
markdown-it-py
|
||||||
nbformat
|
nbformat
|
||||||
|
pyyaml
|
||||||
toml
|
toml
|
||||||
] ++ lib.optionals isPy27 [ mock ]; # why they put it in install_requires, who knows
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
pytest
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
, attrs
|
, attrs
|
||||||
, coverage
|
, coverage
|
||||||
, psutil
|
, psutil
|
||||||
, pytest
|
|
||||||
, pytest-benchmark
|
, pytest-benchmark
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -25,7 +24,6 @@ buildPythonPackage rec {
|
||||||
coverage
|
coverage
|
||||||
pytest-benchmark
|
pytest-benchmark
|
||||||
psutil
|
psutil
|
||||||
pytest
|
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -42,7 +40,7 @@ buildPythonPackage rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Markdown parser done right";
|
description = "Markdown parser done right";
|
||||||
homepage = "https://markdown-it-py.readthedocs.io/en/latest";
|
homepage = "https://markdown-it-py.readthedocs.io/en/latest";
|
||||||
changelog = "https://github.com/executablebooks/markdown-it-py/blob/master/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