Something went wrong. Try again.
lol
Something went wrong. Try again.
819 B · 38 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839{ lib, fetchFromGitHub, buildPythonPackage, parameterized, pygments, pytestCheckHook,}:
buildPythonPackage rec { pname = "mistletoe"; version = "1.5.1"; format = "setuptools";
src = fetchFromGitHub { owner = "miyuchina"; repo = "mistletoe"; tag = "v${version}"; hash = "sha256-h2gKvh3P4pUUPwVYTIjz43/3CwZdWbhO3aJnwFBNR+Q="; };
pythonImportsCheck = [ "mistletoe" ];
nativeCheckInputs = [ parameterized pygments pytestCheckHook ];
meta = { description = "Fast and extensible Markdown parser"; mainProgram = "mistletoe"; homepage = "https://github.com/miyuchina/mistletoe"; changelog = "https://github.com/miyuchina/mistletoe/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ eadwu ]; };}