diff --git a/pkgs/development/python-modules/markdownsuperscript/default.nix b/pkgs/development/python-modules/markdownsuperscript/default.nix new file mode 100644 index 000000000000..2e05ee621e2a --- /dev/null +++ b/pkgs/development/python-modules/markdownsuperscript/default.nix @@ -0,0 +1,22 @@ +{ stdenv, buildPythonPackage, fetchPypi, markdown }: + +buildPythonPackage rec { + pname = "MarkdownSuperscript"; + version = "2.0.0"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "1dsx21h9hkx098d5azpw81dcz23rrgzrwlymwv7jri348q26p748"; + }; + + propagatedBuildInputs = [ markdown ]; + + doCheck = false; # See https://github.com/NixOS/nixpkgs/pull/26985 + + meta = { + description = "An extension to the Python Markdown package enabling superscript text"; + homepage = https://github.com/jambonrose/markdown_superscript_extension; + license = stdenv.lib.licenses.bsd2; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 37f78d211abb..9bee6eba40ce 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -13407,6 +13407,8 @@ in { }; }; + markdownsuperscript = callPackage ../development/python-modules/markdownsuperscript {}; + markdown-macros = buildPythonPackage rec { name = "markdown-macros-${version}"; version = "0.1.2";