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

30 lines
519 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" ];
};
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 { }