python3Packages.mdformat-myst: 0.2.0 -> 0.3.0
Diff: https://github.com/executablebooks/mdformat-myst/compare/v0.2.0...0.3.0 Changelog: https://github.com/executablebooks/mdformat-myst/releases/tag/v0.3.0/CHANGELOG.md
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user