mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-21 20:34:06 +00:00
mdformat-mkdocs: init at 1.0.2
This commit is contained in:
parent
da7459f412
commit
81578d2c37
40
pkgs/development/python-modules/mdformat-mkdocs/default.nix
Normal file
40
pkgs/development/python-modules/mdformat-mkdocs/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, mdformat
|
||||
, mdformat-gfm
|
||||
, mdit-py-plugins
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mdformat-mkdocs";
|
||||
version = "1.0.2";
|
||||
format = "flit";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "KyleKing";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-H+wqgcXNrdrZ5aQvZ7XM8YpBpVZM6pFtsANC00UZ0jM=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
mdformat
|
||||
mdformat-gfm
|
||||
mdit-py-plugins
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"mdformat_mkdocs"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "mdformat plugin for MkDocs";
|
||||
homepage = "https://github.com/KyleKing/mdformat-mkdocs";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ aldoborrero ];
|
||||
};
|
||||
}
|
@ -6215,6 +6215,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-mkdocs = callPackage ../development/python-modules/mdformat-mkdocs { };
|
||||
|
||||
mdit-py-plugins = callPackage ../development/python-modules/mdit-py-plugins { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user