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

34 lines
547 B
Nix
Raw Normal View History

{ lib, stdenv, fetchzip }:
self:
2020-10-15 19:05:13 +11:00
let
ideaBuild = import ../../../build-support/jetbrains/plugin.nix {
inherit lib stdenv fetchzip;
2020-10-15 19:05:13 +11:00
jetbrainsPlatforms = [ "idea-community" "idea-ultimate" ];
};
2022-10-26 10:50:59 +11:00
generateIdea = lib.makeOverridable (
{ idea ? ./manual-idea-packages.nix
}:
let
2022-10-26 10:50:59 +11:00
imported = import idea {
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
ideaPlugins = super // overrides;
2022-10-26 10:50:59 +11:00
in
ideaPlugins // { inherit ideaBuild; }
);
2022-10-26 10:50:59 +11:00
in
generateIdea { }