nixpkgs/pkgs/development/python-modules/mdit-py-plugins/default.nix
2026-01-12 18:02:34 -05:00

41 lines
905 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
markdown-it-py,
pytest-regressions,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "mdit-py-plugins";
version = "0.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "executablebooks";
repo = "mdit-py-plugins";
tag = "v${version}";
hash = "sha256-MQU6u49KsWGaKeWU5v066kZidcfCoubqClxAapAZb9A=";
};
build-system = [ flit-core ];
dependencies = [ markdown-it-py ];
nativeCheckInputs = [
pytestCheckHook
pytest-regressions
];
pythonImportsCheck = [ "mdit_py_plugins" ];
meta = {
description = "Collection of core plugins for markdown-it-py";
homepage = "https://github.com/executablebooks/mdit-py-plugins";
changelog = "https://github.com/executablebooks/mdit-py-plugins/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = [ ];
};
}