python312Packages.mdformat-myst: init at 0.2.1 (#329919)
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
flit-core,
|
||||
mdformat,
|
||||
mdformat-footnote,
|
||||
mdformat-frontmatter,
|
||||
mdformat-tables,
|
||||
mdit-py-plugins,
|
||||
ruamel-yaml,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mdformat-myst";
|
||||
version = "0.2.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "executablebooks";
|
||||
repo = "mdformat-myst";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-Ty9QOsOTCNfhdLVuLfD0x63OFfHhODr14i/dhN+Sqnc=";
|
||||
};
|
||||
|
||||
build-system = [ flit-core ];
|
||||
|
||||
dependencies = [
|
||||
mdformat
|
||||
mdformat-footnote
|
||||
mdformat-frontmatter
|
||||
mdformat-tables
|
||||
mdit-py-plugins
|
||||
ruamel-yaml
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "mdformat_myst" ];
|
||||
|
||||
meta = {
|
||||
description = "Mdformat plugin for MyST compatibility";
|
||||
homepage = "https://github.com/executablebooks/mdformat-myst";
|
||||
changelog = "https://github.com/executablebooks/mdformat-myst/releases/tag/v${version}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ mattkang ];
|
||||
};
|
||||
}
|
||||
@@ -8133,6 +8133,7 @@ self: super: with self; {
|
||||
mdformat-gfm = callPackage ../development/python-modules/mdformat-gfm { };
|
||||
mdformat-gfm-alerts = callPackage ../development/python-modules/mdformat-gfm-alerts { };
|
||||
mdformat-mkdocs = callPackage ../development/python-modules/mdformat-mkdocs { };
|
||||
mdformat-myst = callPackage ../development/python-modules/mdformat-myst{ };
|
||||
mdformat-nix-alejandra = callPackage ../development/python-modules/mdformat-nix-alejandra { };
|
||||
mdformat-simple-breaks = callPackage ../development/python-modules/mdformat-simple-breaks { };
|
||||
mdformat-tables = callPackage ../development/python-modules/mdformat-tables { };
|
||||
|
||||
Reference in New Issue
Block a user