fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
62 lines
1.1 KiB
Nix
62 lines
1.1 KiB
Nix
{
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
lib,
|
|
click,
|
|
essentials-openapi,
|
|
flask,
|
|
hatchling,
|
|
httpx,
|
|
jinja2,
|
|
mkdocs,
|
|
pytestCheckHook,
|
|
pythonImportsCheckHook,
|
|
rich,
|
|
setuptools,
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "neoteroi-mkdocs";
|
|
version = "1.0.5";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Neoteroi";
|
|
repo = "mkdocs-plugins";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-gpU3G1PeZTKO4fWr4x8Ek0GIBEP3oRAgu7OFn2OZbRE=";
|
|
};
|
|
|
|
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
|
|
];
|
|
};
|
|
}
|