mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
Merge pull request #285561 from zimbatm/mkdocs-plugins
pythonPackages.neoteroi-mkdocs: init at 1.0.4
This commit is contained in:
commit
84372652fc
@ -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];
|
||||||
|
};
|
||||||
|
}
|
38
pkgs/development/python-modules/essentials/default.nix
Normal file
38
pkgs/development/python-modules/essentials/default.nix
Normal 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];
|
||||||
|
};
|
||||||
|
}
|
63
pkgs/development/python-modules/neoteroi-mkdocs/default.nix
Normal file
63
pkgs/development/python-modules/neoteroi-mkdocs/default.nix
Normal 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];
|
||||||
|
};
|
||||||
|
}
|
@ -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; });
|
||||||
|
Loading…
Reference in New Issue
Block a user