mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 08:53:28 +02:00
docs: Allow to generate man pages for nixvim (#686)
This commit is contained in:
parent
2031834990
commit
229fe85d6b
5 changed files with 213 additions and 1 deletions
31
man-docs/nixvim-render-docs/default.nix
Normal file
31
man-docs/nixvim-render-docs/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
python3,
|
||||
lib,
|
||||
nixos-render-docs,
|
||||
}:
|
||||
python3.pkgs.buildPythonApplication {
|
||||
pname = "nixvim-render-docs";
|
||||
version = "0.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = lib.cleanSourceWith {
|
||||
filter = name: type:
|
||||
lib.cleanSourceFilter name type
|
||||
&& ! (type
|
||||
== "directory"
|
||||
&& builtins.elem (baseNameOf name) [
|
||||
".pytest_cache"
|
||||
".mypy_cache"
|
||||
"__pycache__"
|
||||
]);
|
||||
src = ./src;
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
nixos-render-docs
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue