Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
900 B · 40 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder, setuptools, typing-extensions,}:
buildPythonPackage rec { pname = "mistune"; version = "3.1.3"; pyproject = true;
src = fetchFromGitHub { owner = "lepture"; repo = "mistune"; tag = "v${version}"; hash = "sha256-aD+c41nuSmLUoYzK8adP0eLYRU0FihHEqG4e0b0GZ9k="; };
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 ]; };}