58 lines
1 KiB
Nix
58 lines
1 KiB
Nix
{ pkgs, lib, ... }:
|
|
{
|
|
|
|
environment.systemPackages = with pkgs; let
|
|
|
|
# to make copilot work
|
|
# jetbrains.pycharm-professional
|
|
fhsPyCharm = pkgs.buildFHSUserEnv {
|
|
name = "pycharm";
|
|
targetPkgs = pkgs: (with pkgs; [
|
|
black
|
|
isort
|
|
unstable.jetbrains.pycharm-professional
|
|
python311
|
|
pipenv
|
|
zlib # needed for NumPy
|
|
nodejs
|
|
]);
|
|
runScript = "pycharm-professional";
|
|
};
|
|
|
|
# jetbrains.datagrip
|
|
fhsDataGrip = pkgs.buildFHSUserEnv {
|
|
name = "datagrip";
|
|
targetPkgs = pkgs: (with pkgs; [
|
|
unstable.jetbrains.datagrip
|
|
]);
|
|
runScript = "datagrip";
|
|
};
|
|
|
|
in
|
|
[
|
|
|
|
# rust development environment
|
|
gcc
|
|
rustup
|
|
unstable.jetbrains.clion
|
|
|
|
# general
|
|
unstable.jetbrains.idea-ultimate
|
|
#vscode
|
|
|
|
fhsDataGrip
|
|
|
|
fhsPyCharm
|
|
(pkgs.makeDesktopItem {
|
|
name = "pycharm";
|
|
desktopName = "Python IDE";
|
|
exec = "${fhsPyCharm}/bin/pycharm";
|
|
terminal = false;
|
|
})
|
|
|
|
# python
|
|
python3Full
|
|
pipenv
|
|
|
|
];
|
|
}
|