python3Packages.md-toc: 7.2.0 -> 8.0.0

This commit is contained in:
Fabian Affolter 2021-07-05 20:10:33 +02:00
parent b118976151
commit 7881f3d21d

View File

@ -8,14 +8,14 @@
buildPythonPackage rec {
pname = "md-toc";
version = "7.2.0";
version = "8.0.0";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "frnmst";
repo = pname;
rev = version;
sha256 = "1v74iddfk5d6170frg89vzrkz9xrycl1f50g59imc7x7g50i6c2x";
sha256 = "sha256-w5/oIeA9POth8bMszPH53RK1FM9PhmPdn4w9wxlqQ+g=";
};
propagatedBuildInputs = [
@ -26,10 +26,6 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
substituteInPlace setup.py --replace "fpyutils>=1.2,<1.3" "fpyutils>=1.2"
'';
pytestFlagsArray = [ "md_toc/tests/*.py" ];
pythonImportsCheck = [ "md_toc" ];