python310Packages.markdownsuperscript: remove
markdownsuperscript is unmaintained, use pymdown-extensions jambonrose/markdown_superscript_extension#58
This commit is contained in:
parent
c38298b89c
commit
66aed5e6a6
3 changed files with 1 additions and 33 deletions
|
@ -1,31 +0,0 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, markdown,
|
||||
pytest, pytest-runner, pytest-cov, coverage }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "MarkdownSuperscript";
|
||||
version = "2.1.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "2c255b5959c1f5dd364ae80762bd0a568a0fcc9fd4e4a3d7e7b192e88adf8900";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ markdown ];
|
||||
|
||||
postPatch = ''
|
||||
# remove version bounds for Markdown dependency
|
||||
sed 's/\["Markdown.*"\]/["Markdown"]/' -i setup.py
|
||||
|
||||
# remove version bounds for test dependencies
|
||||
sed 's/=.*//' -i requirements/*.txt
|
||||
'';
|
||||
|
||||
nativeCheckInputs = [ pytest pytest-runner pytest-cov coverage ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An extension to the Python Markdown package enabling superscript text";
|
||||
homepage = "https://github.com/jambonrose/markdown_superscript_extension";
|
||||
license = licenses.bsd2;
|
||||
broken = true; # unmaintained in nixpkgs, barely maintained in pypi, added 2020-11-29
|
||||
};
|
||||
}
|
|
@ -164,6 +164,7 @@ mapAliases ({
|
|||
loo-py = loopy; # added 2022-05-03
|
||||
Mako = mako; # added 2023-02-19
|
||||
Markups = markups; # added 2022-02-14
|
||||
markdownsuperscript = throw "markdownsuperscript is unmaintained, use pymdown-extensions"; # added 2023-06-10
|
||||
MDP = mdp; # added 2023-02-19
|
||||
MechanicalSoup = mechanicalsoup; # added 2021-06-01
|
||||
memcached = python-memcached; # added 2022-05-06
|
||||
|
|
|
@ -6047,8 +6047,6 @@ self: super: with self; {
|
|||
|
||||
markdownify = callPackage ../development/python-modules/markdownify { };
|
||||
|
||||
markdownsuperscript = callPackage ../development/python-modules/markdownsuperscript { };
|
||||
|
||||
markupsafe = callPackage ../development/python-modules/markupsafe { };
|
||||
|
||||
markuppy = callPackage ../development/python-modules/markuppy { };
|
||||
|
|
Loading…
Reference in a new issue