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