mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
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:
commit
cd425bb7b2
@ -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";
|
||||
|
47
pkgs/development/python-modules/mkdocs-redoc-tag/default.nix
Normal file
47
pkgs/development/python-modules/mkdocs-redoc-tag/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user