mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
mdformat-simple-breaks: init at 0.0.1
This commit is contained in:
parent
40c281ad7a
commit
ae56d8f191
@ -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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user