depot/third_party/nixpkgs/pkgs/development/python-modules/neoteroi-mkdocs/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

63 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];
};
}