nur-packages/pkgs/applications/editors/jetbrains/common-plugins.nix

46 lines
754 B
Nix
Raw Normal View History

{ lib, stdenv, fetchzip }:
self:
2020-10-15 19:05:13 +11:00
let
commonBuild = import ../../../build-support/jetbrains/plugin.nix {
inherit lib stdenv fetchzip;
2020-10-15 19:05:13 +11:00
jetbrainsPlatforms = [
"clion"
"datagrip"
"goland"
"idea-community"
"idea-ultimate"
"phpstorm"
"pycharm-community"
"pycharm-professional"
"rider"
"ruby-mine"
"webstorm"
];
};
2022-10-26 10:50:59 +11:00
generateCommon = lib.makeOverridable (
{ common ? ./manual-common-packages.nix
}:
let
2022-10-26 10:50:59 +11:00
imported = import common {
inherit (self) callPackage;
};
2022-10-26 10:50:59 +11:00
super = imported;
2022-10-26 10:50:59 +11:00
overrides = { };
2022-10-26 10:50:59 +11:00
jetbrainsPlugins = super // overrides;
2022-10-26 10:50:59 +11:00
in
jetbrainsPlugins // { inherit commonBuild; }
);
2022-10-26 10:50:59 +11:00
in
generateCommon { }
2020-10-15 19:05:13 +11:00