Merge pull request #286788 from benhiemer/add-python3Packages-mkdocs-redoc-tag

python3Packages.mkdocs-redoc-tag: init at 0.1.0
This commit is contained in:
Robert Schütz 2024-02-07 00:08:58 +00:00 committed by GitHub
commit cd425bb7b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 54 additions and 0 deletions

View File

@ -2329,6 +2329,12 @@
fingerprint = "D35E C9CE E631 638F F1D8 B401 6F0E 410D C3EE D02";
}];
};
benhiemer = {
name = "Benedikt Hiemer";
email = "ben.email@posteo.de";
github = "benhiemer";
githubId = 16649926;
};
benjaminedwardwebb = {
name = "Ben Webb";
email = "benjaminedwardwebb@gmail.com";

View File

@ -0,0 +1,47 @@
{ lib
, beautifulsoup4
, buildPythonPackage
, fetchFromGitHub
, mkdocs
, mkdocs-material
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "mkdocs-redoc-tag";
version = "0.1.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Blueswen";
repo = "mkdocs-redoc-tag";
rev = "refs/tags/v${version}";
hash = "sha256-TOGFch+Uto3qeVMaHqK8SEy0v0cKtHofoGE8T1mnBOk=";
};
propagatedBuildInputs = [
mkdocs
beautifulsoup4
];
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
mkdocs-material
pytestCheckHook
];
meta = with lib; {
description = "A MkDocs plugin supports for add Redoc UI in page";
homepage = "https://github.com/blueswen/mkdocs-redoc-tag";
changelog = "https://github.com/blueswen/mkdocs-redoc-tag/blob/v${version}/CHANGELOG";
license = licenses.mit;
maintainers = with maintainers; [ benhiemer ];
};
}

View File

@ -7151,6 +7151,7 @@ self: super: with self; {
mkdocs-material-extensions = callPackage ../development/python-modules/mkdocs-material/mkdocs-material-extensions.nix { };
mkdocs-minify-plugin = callPackage ../development/python-modules/mkdocs-minify-plugin { };
mkdocs-redirects = callPackage ../development/python-modules/mkdocs-redirects { };
mkdocs-redoc-tag = callPackage ../development/python-modules/mkdocs-redoc-tag { };
mkdocs-simple-hooks = callPackage ../development/python-modules/mkdocs-simple-hooks { };
mkdocs-swagger-ui-tag = callPackage ../development/python-modules/mkdocs-swagger-ui-tag { };