mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
31 lines
566 B
Nix
31 lines
566 B
Nix
{
|
|
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
|
|
];
|
|
}
|