nur-packages/pkgs/applications/editors/jetbrains/idea-plugins.nix
2022-10-26 10:53:36 +11:00

34 lines
547 B
Nix

{ lib, stdenv, fetchzip }:
self:
let
ideaBuild = import ../../../build-support/jetbrains/plugin.nix {
inherit lib stdenv fetchzip;
jetbrainsPlatforms = [ "idea-community" "idea-ultimate" ];
};
generateIdea = lib.makeOverridable (
{ idea ? ./manual-idea-packages.nix
}:
let
imported = import idea {
inherit (self) callPackage;
};
super = imported;
overrides = { };
ideaPlugins = super // overrides;
in
ideaPlugins // { inherit ideaBuild; }
);
in
generateIdea { }