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

30 lines
513 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 ? ./idea-generated.nix
}: let
imported = import idea {
inherit (self) callPackage;
};
super = imported;
overrides = { };
ideaPlugins = super // overrides;
in ideaPlugins // { inherit ideaBuild; });
in generateIdea { }