mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
python312Packages.mdformat-gfm-alerts: init at 1.0.1 (#328747)
This commit is contained in:
commit
a188d234b0
@ -0,0 +1,41 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
flit-core,
|
||||
mdformat,
|
||||
mdit-py-plugins,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mdformat-gfm-alerts";
|
||||
version = "1.0.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "KyleKing";
|
||||
repo = "mdformat-gfm-alerts";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-2EYdNCyS1LxcEnCXkOugAAGx5XLWV4cWTNkXjR8RVQo=";
|
||||
};
|
||||
|
||||
build-system = [ flit-core ];
|
||||
|
||||
dependencies = [
|
||||
mdformat
|
||||
mdit-py-plugins
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "mdformat_gfm_alerts" ];
|
||||
|
||||
meta = {
|
||||
description = "Format 'GitHub Markdown Alerts', which use blockquotes to render admonitions";
|
||||
homepage = "https://github.com/KyleKing/mdformat-gfm-alerts";
|
||||
changelog = "https://github.com/KyleKing/mdformat-gfm-alerts/releases/tag/v${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ sigmanificient ];
|
||||
};
|
||||
}
|
@ -7643,6 +7643,7 @@ self: super: with self; {
|
||||
mdformat-footnote = callPackage ../development/python-modules/mdformat-footnote { };
|
||||
mdformat-frontmatter = callPackage ../development/python-modules/mdformat-frontmatter { };
|
||||
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-nix-alejandra = callPackage ../development/python-modules/mdformat-nix-alejandra { };
|
||||
mdformat-simple-breaks = callPackage ../development/python-modules/mdformat-simple-breaks { };
|
||||
|
Loading…
Reference in New Issue
Block a user