NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.09k stars 14.14k forks source link

jetbrains EAP products #194114

Open Suyashtnt opened 2 years ago

Suyashtnt commented 2 years ago

Project description The EAP versions of jetbrains products (such as IDEA, Rider, Webstorm, etc). These are experimental/beta versions of various jetbrains products

Metadata

Suyashtnt commented 2 years ago

@edwtjo @mic92 since you are the maintainers of jetbrains packages

raymens commented 1 year ago

I've started adding these (clion & rider for now) in https://github.com/NixOS/nixpkgs/pull/219902

Fryuni commented 1 year ago

I just found this issue by accident. Since the EAP updates extremely frequently and is not always available (when a new GA version is just released, there is no EAP version), I think adding them to nixpkgs would bring more problems than solutions.

This can be easily achieved with a simple override. This could be exposed as a function allowing the consumer only to pass version and sha256, but that implies that every version would work. Almost every version works, but sometimes there are changes to the JRE.

I'm doing this on my configurations, if anyone wants to copy that feel free:

https://github.com/Fryuni/config-files/blob/7decca34ea4e90c030708b59406337f4345bac0c/overlay/jetbrains.nix

In that commit pycharm-professional is using the EAP version. The URLs in the comments are where to get the EAP version number, which can be used interchangeably with the release versions.

viperML commented 10 months ago

After some discoussion in the NixOS discord, apparently you can use a netfilter such an EAP IDE can't phone back to jetbrains, skipping the update check.

This is done by @spikespaz in their dotfiles with ja-netfilter:

https://github.com/spikespaz/dotfiles/blob/master/users/jacob/programs/jetbrains.nix https://github.com/spikespaz/dotfiles/blob/master/packages/ja-netfilter/base.nix

Perhaps it could be convenient to have the netfilter wrappers in nixpkgs?

viperML commented 10 months ago

I don't know if this is against their TOS or not, so just wanted to open up the discussion.

spikespaz commented 10 months ago

Using this source code requires a subscription service. To me.