Merge pull request #285561 from zimbatm/mkdocs-plugins

pythonPackages.neoteroi-mkdocs: init at 1.0.4
This commit is contained in:
Jonas Chevalier 2024-02-16 10:01:12 +01:00 committed by GitHub
commit 84372652fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 172 additions and 0 deletions

View File

@ -0,0 +1,65 @@
{
buildPythonPackage,
fetchFromGitHub,
lib,
click,
essentials,
flask,
hatchling,
httpx,
jinja2,
markupsafe,
pydantic,
pytestCheckHook,
pythonImportsCheckHook,
pyyaml,
rich,
setuptools
}:
buildPythonPackage rec {
pname = "essentials-openapi";
version = "1.0.7";
pyproject = true;
src = fetchFromGitHub {
owner = "Neoteroi";
repo = "essentials-openapi";
rev = "v${version}";
hash = "sha256-j0vEMNXZ9TrcFx8iIyTFQIwF49LEincLmnAt+qodYmA=";
};
nativeBuildInputs = [
hatchling
];
nativeCheckInputs = [
flask
httpx
pydantic
pytestCheckHook
rich
setuptools
];
propagatedBuildInputs = [
pyyaml
essentials
markupsafe
];
passthru.optional-dependencies = {
full = [ click jinja2 rich httpx ];
};
pythonImportsCheck = [
"openapidocs"
];
meta = with lib; {
homepage = "https://github.com/Neoteroi/essentials-openapi";
description = "Functions to handle OpenAPI Documentation";
changelog = "https://github.com/Neoteroi/essentials-openapi/releases/v${version}";
license = licenses.mit;
maintainers = with maintainers; [aldoborrero zimbatm];
};
}

View File

@ -0,0 +1,38 @@
{
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
pythonImportsCheckHook,
lib,
}:
buildPythonPackage rec {
pname = "essentials";
version = "1.1.5";
pyproject = true;
src = fetchFromGitHub {
owner = "Neoteroi";
repo = "essentials";
rev = "v${version}";
hash = "sha256-WMHjBVkeSoQ4Naj1U7Bg9j2hcoErH1dx00BPKiom9T4=";
};
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"essentials"
];
meta = with lib; {
homepage = "https://github.com/Neoteroi/essentials";
description = "General purpose classes and functions";
changelog = "https://github.com/Neoteroi/essentials/releases/v${version}";
license = licenses.mit;
maintainers = with maintainers; [aldoborrero zimbatm];
};
}

View File

@ -0,0 +1,63 @@
{
buildPythonPackage,
fetchFromGitHub,
lib,
click,
essentials-openapi,
flask,
hatchling,
httpx,
jinja2,
mkdocs,
pytestCheckHook,
pythonImportsCheckHook,
rich,
setuptools,
}:
buildPythonPackage rec {
pname = "neoteroi-mkdocs";
version = "1.0.4";
pyproject = true;
src = fetchFromGitHub {
owner = "Neoteroi";
repo = "mkdocs-plugins";
rev = "v${version}";
hash = "sha256-UyTlgKWdBWckI9sBL4GRQtgNHYpHpZlWVOdmdQ+7lss=";
};
buildInputs = [
hatchling
];
nativeCheckInputs = [
pytestCheckHook
flask
setuptools
];
propagatedBuildInputs = [
essentials-openapi
click
jinja2
httpx
mkdocs
rich
];
disabledTests = [
"test_contribs" # checks against its own git repository
];
pythonImportsCheck = [
"neoteroi.mkdocs"
];
meta = with lib; {
homepage = "https://github.com/Neoteroi/mkdocs-plugins";
description = "Plugins for MkDocs";
changelog = "https://github.com/Neoteroi/mkdocs-plugins/releases/v${version}";
license = licenses.mit;
maintainers = with maintainers; [aldoborrero zimbatm];
};
}

View File

@ -3749,6 +3749,10 @@ self: super: with self; {
escapism = callPackage ../development/python-modules/escapism { }; escapism = callPackage ../development/python-modules/escapism { };
essentials = callPackage ../development/python-modules/essentials { };
essentials-openapi = callPackage ../development/python-modules/essentials-openapi { };
etcd = callPackage ../development/python-modules/etcd { }; etcd = callPackage ../development/python-modules/etcd { };
etcd3 = callPackage ../development/python-modules/etcd3 { etcd3 = callPackage ../development/python-modules/etcd3 {
@ -8309,6 +8313,8 @@ self: super: with self; {
neo4j = callPackage ../development/python-modules/neo4j { }; neo4j = callPackage ../development/python-modules/neo4j { };
neoteroi-mkdocs = callPackage ../development/python-modules/neoteroi-mkdocs { };
nessclient = callPackage ../development/python-modules/nessclient { }; nessclient = callPackage ../development/python-modules/nessclient { };
nest = toPythonModule(pkgs.nest-mpi.override { withPython = true; python3 = python; }); nest = toPythonModule(pkgs.nest-mpi.override { withPython = true; python3 = python; });