mdformat-simple-breaks: init at 0.0.1

This commit is contained in:
Aldo Borrero 2023-06-30 13:41:53 +02:00
parent 40c281ad7a
commit ae56d8f191
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, mdformat
, mdit-py-plugins
, pythonOlder
}:
buildPythonPackage rec {
pname = "mdformat-simple-breaks";
version = "0.0.1";
format = "flit";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "csala";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-4lJHB4r9lI2uGJ/BmFFc92sumTRKBBwiRmGBdQkzfd0=";
};
buildInputs = [
mdformat
];
pythonImportsCheck = [
"mdformat_simple_breaks"
];
meta = with lib; {
description = "mdformat plugin to render thematic breaks using three dashes";
homepage = "https://github.com/csala/mdformat-simple-breaks";
license = licenses.mit;
maintainers = with maintainers; [ aldoborrero ];
};
}

View File

@ -6217,6 +6217,7 @@ self: super: with self; {
mdformat-gfm = callPackage ../development/python-modules/mdformat-gfm { };
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 { };
mdit-py-plugins = callPackage ../development/python-modules/mdit-py-plugins { };