--wip-- [skip ci]
This commit is contained in:
parent
eea02abfcb
commit
762085707c
136 changed files with 261 additions and 261 deletions
26
hm/modules/development/python.nix
Normal file
26
hm/modules/development/python.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, config
|
||||
, ...
|
||||
}:
|
||||
|
||||
let
|
||||
py = pkgs.python3;
|
||||
pyPkgs = py.pkgs;
|
||||
in
|
||||
{
|
||||
home.packages =
|
||||
[
|
||||
py
|
||||
# pyPkgs.black
|
||||
pkgs.ruff
|
||||
]
|
||||
++ lib.optionals config.programs.helix.enable (
|
||||
(builtins.attrValues { inherit (pyPkgs) python-lsp-server pyls-flake8 pyls-isort; })
|
||||
++ pyPkgs.python-lsp-server.optional-dependencies.all
|
||||
)
|
||||
++ lib.optionals config.programs.kakoune.enable (
|
||||
(builtins.attrValues { inherit (pyPkgs) python-lsp-server pyls-flake8 pyls-isort; })
|
||||
++ pyPkgs.python-lsp-server.optional-dependencies.all
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue