summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pymdown-extensions/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pymdown-extensions/default.nix')
-rw-r--r--pkgs/development/python-modules/pymdown-extensions/default.nix44
1 files changed, 28 insertions, 16 deletions
diff --git a/pkgs/development/python-modules/pymdown-extensions/default.nix b/pkgs/development/python-modules/pymdown-extensions/default.nix
index 733f124d3655..472a9c334c3a 100644
--- a/pkgs/development/python-modules/pymdown-extensions/default.nix
+++ b/pkgs/development/python-modules/pymdown-extensions/default.nix
@@ -1,17 +1,18 @@
-{ lib
-, buildPythonPackage
-, fetchFromGitHub
-, hatchling
-, pytestCheckHook
-, markdown
-, pyyaml
-, pygments
+{
+ lib,
+ buildPythonPackage,
+ fetchFromGitHub,
+ hatchling,
+ pytestCheckHook,
+ markdown,
+ pyyaml,
+ pygments,
-# for passthru.tests
-, mkdocstrings
-, mkdocs-material
-, mkdocs-mermaid2-plugin
-, hydrus
+ # for passthru.tests
+ mkdocstrings,
+ mkdocs-material,
+ mkdocs-mermaid2-plugin,
+ hydrus,
}:
let
@@ -56,7 +57,10 @@ buildPythonPackage rec {
nativeBuildInputs = [ hatchling ];
- propagatedBuildInputs = [ markdown pygments ];
+ propagatedBuildInputs = [
+ markdown
+ pygments
+ ];
nativeCheckInputs = [
pytestCheckHook
@@ -71,13 +75,21 @@ buildPythonPackage rec {
pythonImportsCheck = map (ext: "pymdownx.${ext}") extensions;
passthru.tests = {
- inherit mkdocstrings mkdocs-material mkdocs-mermaid2-plugin hydrus;
+ inherit
+ mkdocstrings
+ mkdocs-material
+ mkdocs-mermaid2-plugin
+ hydrus
+ ;
};
meta = with lib; {
description = "Extensions for Python Markdown";
homepage = "https://facelessuser.github.io/pymdown-extensions/";
- license = with licenses; [ mit bsd2 ];
+ license = with licenses; [
+ mit
+ bsd2
+ ];
maintainers = with maintainers; [ cpcloud ];
};
}