58 lines
1,021 B
Nix
58 lines
1,021 B
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
|
||
|
jetbrains.pycharm-professional
|
||
|
python311
|
||
|
pipenv
|
||
|
zlib # needed for NumPy
|
||
|
nodejs
|
||
|
]);
|
||
|
runScript = "pycharm-professional";
|
||
|
};
|
||
|
|
||
|
# jetbrains.datagrip
|
||
|
fhsDataGrip = pkgs.buildFHSUserEnv {
|
||
|
name = "datagrip";
|
||
|
targetPkgs = pkgs: (with pkgs; [
|
||
|
jetbrains.datagrip
|
||
|
]);
|
||
|
runScript = "datagrip";
|
||
|
};
|
||
|
|
||
|
in
|
||
|
[
|
||
|
|
||
|
# rust development environment
|
||
|
rustup
|
||
|
jetbrains.clion
|
||
|
|
||
|
# general
|
||
|
jetbrains.idea-ultimate
|
||
|
#vscode
|
||
|
|
||
|
fhsDataGrip
|
||
|
|
||
|
fhsPyCharm
|
||
|
(pkgs.makeDesktopItem {
|
||
|
name = "pycharm";
|
||
|
desktopName = "Python IDE";
|
||
|
exec = "${fhsPyCharm}/bin/pycharm";
|
||
|
terminal = false;
|
||
|
})
|
||
|
|
||
|
# python
|
||
|
python3Full
|
||
|
pipenv
|
||
|
|
||
|
];
|
||
|
}
|