Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
933 B · 42 lines
Nix
at flake-libs
12345678910111213141516171819202122232425262728293031323334353637383940414243{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder, setuptools, typing-extensions,}:
buildPythonPackage rec { pname = "mistune"; version = "3.1.2"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "lepture"; repo = "mistune"; tag = "v${version}"; hash = "sha256-XvDp+X/+s6TsUC889qjTGzrde6s/BYoXUw2AblaATnI="; };
dependencies = lib.optionals (pythonOlder "3.11") [ typing-extensions ];
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "mistune" ];
meta = { changelog = "https://github.com/lepture/mistune/blob/${src.tag}/docs/changes.rst"; description = "Sane Markdown parser with useful plugins and renderers"; homepage = "https://github.com/lepture/mistune"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ dotlambda ]; };}