1 { lib, buildPythonPackage, fetchPypi, markdown,
2 pytest, pytest-runner, pytest-cov, coverage }:
4 buildPythonPackage rec {
5 pname = "MarkdownSuperscript";
10 sha256 = "2c255b5959c1f5dd364ae80762bd0a568a0fcc9fd4e4a3d7e7b192e88adf8900";
13 propagatedBuildInputs = [ markdown ];
16 # remove version bounds for Markdown dependency
17 sed 's/\["Markdown.*"\]/["Markdown"]/' -i setup.py
19 # remove version bounds for test dependencies
20 sed 's/=.*//' -i requirements/*.txt
23 checkInputs = [ pytest pytest-runner pytest-cov coverage ];
26 description = "An extension to the Python Markdown package enabling superscript text";
27 homepage = "https://github.com/jambonrose/markdown_superscript_extension";
28 license = licenses.bsd2;
29 broken = true; # unmaintained in nixpkgs, barely maintained in pypi, added 2020-11-29