Gaetan Lepage
2026-01-25 01:06:04 +00:00
parent fdccb06c98
commit 0f308bb836
@@ -2,26 +2,32 @@
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
flit-core,
# dependencies
mdformat,
mdformat-footnote,
mdformat-frontmatter,
mdformat-tables,
mdformat-front-matters,
mdformat-gfm,
mdit-py-plugins,
ruamel-yaml,
# tests
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "mdformat-myst";
version = "0.2.1";
version = "0.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "executablebooks";
repo = "mdformat-myst";
tag = "v${version}";
hash = "sha256-Ty9QOsOTCNfhdLVuLfD0x63OFfHhODr14i/dhN+Sqnc=";
tag = finalAttrs.version;
hash = "sha256-y0zN47eK0UqTHx6ft/OrczAjdHdmPKIByCnz1c1JURQ=";
};
build-system = [ flit-core ];
@@ -29,8 +35,8 @@ buildPythonPackage rec {
dependencies = [
mdformat
mdformat-footnote
mdformat-frontmatter
mdformat-tables
mdformat-front-matters
mdformat-gfm
mdit-py-plugins
ruamel-yaml
];
@@ -42,8 +48,8 @@ buildPythonPackage rec {
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";
changelog = "https://github.com/executablebooks/mdformat-myst/releases/tag/${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ mattkang ];
};
}
})