mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 17:53:14 +00:00
mdformat-footnote: init at 0.1.1
This commit is contained in:
parent
dc1c3646a2
commit
9fbd8b575e
@ -0,0 +1,40 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, linkify-it-py
|
||||
, markdown-it-py
|
||||
, mdformat
|
||||
, mdit-py-plugins
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mdformat-footnote";
|
||||
version = "0.1.1";
|
||||
format = "flit";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "executablebooks";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-DUCBWcmB5i6/HkqxjlU3aTRO7i0n2sj+e/doKB8ffeo=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
mdformat
|
||||
mdit-py-plugins
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"mdformat_footnote"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Footnote format addition for mdformat";
|
||||
homepage = "https://github.com/executablebooks/mdformat-footnote";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ aldoborrero ];
|
||||
};
|
||||
}
|
@ -6212,6 +6212,7 @@ self: super: with self; {
|
||||
|
||||
mdformat = callPackage ../development/python-modules/mdformat { };
|
||||
mdformat-beautysh = callPackage ../development/python-modules/mdformat-beautysh { };
|
||||
mdformat-footnote = callPackage ../development/python-modules/mdformat-footnote { };
|
||||
|
||||
mdit-py-plugins = callPackage ../development/python-modules/mdit-py-plugins { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user