Unverified Commit 76ad192f authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #237041 from fabaff/markdownsuperscript-remove

python310Packages.markdownsuperscript: remove
parents 63bdca8f 66aed5e6
Loading
Loading
Loading
Loading
+0 −31
Original line number Diff line number Diff line
{ 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
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -165,6 +165,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
+0 −2
Original line number Diff line number Diff line
@@ -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 { };