mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 06:06:32 +01:00
41 lines
905 B
Nix
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 = [ ];
|
|
};
|
|
}
|