global/programming: centralize programming packages

This commit is contained in:
Infinidoge 2024-05-28 11:00:20 -04:00
parent c9da101ffd
commit 44dfe83e6f
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A
10 changed files with 73 additions and 81 deletions

View file

@ -46,13 +46,6 @@ lib.mkIf main.info.graphical {
# :lang common-lisp
sbcl
# :lang cc
clang-tools
# :lang csharp
dotnetCorePackages.sdk_6_0
omnisharp-roslyn
# :lang docker
dockfmt

View file

@ -0,0 +1,73 @@
{ pkgs, lib, ... }:
let
inherit (lib) flatten;
in
{
home.packages = with pkgs; flatten [
# C
gcc
clang-tools
# C Sharp
dotnetCorePackages.sdk_6_0
omnisharp-roslyn
# Haskell
haskell-language-server
ghc
cabal-install
ormolu
(with haskellPackages; [
hoogle
])
stack
# stack2nix
cabal2nix
# Java
openjdk19
clang-tools
gradle
# Lua
lua-language-server
# Nim
nim
nimlsp
# Python
python311
(with python311Packages; [
black
isort
jupyter
mypy
nose
pip
pyflakes
pyls-isort
pytest
])
pyright
pipenv
# Racket
racket
# Rust
(rust-bin.selectLatestNightlyWith (toolchain: toolchain.default.override {
extensions = [
"rust-src"
"rust-analyzer"
];
}))
gcc
# Zig
zig
zls
];
}

View file

@ -1,16 +0,0 @@
{ pkgs, lib, ... }: {
home.packages = with pkgs; lib.lists.flatten [
haskell-language-server
ghc
cabal-install
ormolu
(with haskellPackages; [
hoogle
])
stack
# stack2nix
cabal2nix
];
}

View file

@ -1,7 +0,0 @@
{ pkgs, ... }: {
home.packages = with pkgs; [
openjdk19
clang-tools
gradle
];
}

View file

@ -1,5 +0,0 @@
{ pkgs, lib, ... }: {
home.packages = with pkgs; lib.lists.flatten [
lua-language-server
];
}

View file

@ -1,6 +0,0 @@
{ pkgs, ... }: {
home.packages = with pkgs; [
nim
nimlsp
];
}

View file

@ -1,18 +0,0 @@
{ pkgs, lib, ... }: {
home.packages = with pkgs; lib.lists.flatten [
python311
(with python311Packages; [
black
isort
jupyter
mypy
nose
pip
pyflakes
pyls-isort
pytest
])
pyright
pipenv
];
}

View file

@ -1,5 +0,0 @@
{ pkgs, ... }: {
home.packages = with pkgs; [
racket
];
}

View file

@ -1,11 +0,0 @@
{ pkgs, ... }: {
home.packages = with pkgs; [
(rust-bin.selectLatestNightlyWith (toolchain: toolchain.default.override {
extensions = [
"rust-src"
"rust-analyzer"
];
}))
gcc
];
}

View file

@ -1,6 +0,0 @@
{ pkgs, ... }: {
home.packages = with pkgs; [
zig
zls
];
}