From dbf39b78c82e85b40b4782dafd1db044b6c8e8d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Wed, 31 Dec 2025 12:01:52 +0100 Subject: [PATCH] jetbrains.aqua/idea-community/pycharm-community/writerside: drop --- .../editors/jetbrains/default.nix | 58 +++------------- .../editors/jetbrains/ides/aqua.nix | 66 ------------------ .../editors/jetbrains/ides/idea-community.nix | 69 ------------------- .../jetbrains/ides/pycharm-community.nix | 62 ----------------- .../editors/jetbrains/ides/writerside.nix | 66 ------------------ .../editors/jetbrains/plugins/tests.nix | 6 -- pkgs/applications/editors/jetbrains/readme.md | 1 - 7 files changed, 11 insertions(+), 317 deletions(-) delete mode 100644 pkgs/applications/editors/jetbrains/ides/aqua.nix delete mode 100644 pkgs/applications/editors/jetbrains/ides/idea-community.nix delete mode 100644 pkgs/applications/editors/jetbrains/ides/pycharm-community.nix delete mode 100644 pkgs/applications/editors/jetbrains/ides/writerside.nix diff --git a/pkgs/applications/editors/jetbrains/default.nix b/pkgs/applications/editors/jetbrains/default.nix index 52f1c2990e31..f9fe66d16cc8 100644 --- a/pkgs/applications/editors/jetbrains/default.nix +++ b/pkgs/applications/editors/jetbrains/default.nix @@ -92,63 +92,27 @@ in plugins = callPackage ./plugins { }; } -// lib.optionalAttrs config.allowAliases rec { +// lib.optionalAttrs config.allowAliases { # Deprecated products and aliases. - aqua = - lib.warnOnInstantiate - "jetbrains.aqua: Aqua has been discontinued by Jetbrains and is not receiving updates. It will be removed in NixOS 26.05." - (mkBinIde ./ides/aqua.nix { }); + aqua = throw "jetbrains.aqua: Aqua has been removed as it has been discontinued by JetBrains"; - idea-community = - lib.warnOnInstantiate - "jetbrains.idea-community: IntelliJ IDEA Community has been discontinued by Jetbrains. This deprecated alias uses the, no longer updated, binary build on Darwin & Linux aarch64. On other platforms it uses IDEA Open Source, built from source. Either switch to 'jetbrains.idea-oss' or 'jetbrains.idea'. See: https://blog.jetbrains.com/idea/2025/07/intellij-idea-unified-distribution-plan/" - ( - if stdenv.hostPlatform.isDarwin || stdenv.hostPlatform.isAarch64 then - idea-community-bin - else - _idea-oss - ); + idea-community = throw "jetbrains.idea-community: IntelliJ IDEA Community has been removed as it has been discontinued by JetBrains. Either switch to 'jetbrains.idea-oss' or 'jetbrains.idea'. See: https://blog.jetbrains.com/idea/2025/07/intellij-idea-unified-distribution-plan/"; - idea-community-bin = - lib.warnOnInstantiate - "jetbrains.idea-community-bin: IntelliJ IDEA Community has been discontinued by Jetbrains. This binary build is no longer updated. Switch to 'jetbrains.idea-oss' for open source builds (from source) or 'jetbrains.idea' for commercial builds (binary, unfree). See: https://blog.jetbrains.com/idea/2025/07/intellij-idea-unified-distribution-plan/" - (mkBinIde ./ides/idea-community.nix { }); + idea-community-bin = throw "jetbrains.idea-community-bin: IntelliJ IDEA Community has been removed as it has been discontinued by JetBrains. Either switch to 'jetbrains.idea-oss' or 'jetbrains.idea'. See: https://blog.jetbrains.com/idea/2025/07/intellij-idea-unified-distribution-plan/"; - idea-ultimate = - lib.warnOnInstantiate "'jetbrains.idea-ultimate' has been renamed to/replaced by 'jetbrains.idea'" - (mkBinIde ./ides/idea.nix { }); + idea-community-src = throw "jetbrains.idea-community-src: IntelliJ IDEA Community has been removed as it has been discontinued by JetBrains. Either switch to 'jetbrains.idea-oss' or 'jetbrains.idea'. See: https://blog.jetbrains.com/idea/2025/07/intellij-idea-unified-distribution-plan/"; - idea-community-src = lib.warnOnInstantiate "jetbrains.idea-community-src: IntelliJ IDEA Community has been discontinued by Jetbrains. This is now an alias for 'jetbrains.idea-oss', the Open Source build of IntelliJ. See: https://blog.jetbrains.com/idea/2025/07/intellij-idea-unified-distribution-plan/" _idea-oss; + idea-ultimate = throw "'jetbrains.idea-ultimate' has been renamed to/replaced by 'jetbrains.idea'"; - pycharm-community = - lib.warnOnInstantiate - "pycharm-community: PyCharm Community has been discontinued by Jetbrains. This deprecated alias uses the, no longer updated, binary build on Darwin. On Linux it uses PyCharm Open Source, built from source. Either switch to 'jetbrains.pycharm-oss' or 'jetbrains.pycharm'. See: https://blog.jetbrains.com/pycharm/2025/04/pycharm-2025" - ( - if stdenv.hostPlatform.isDarwin then - pycharm-community-bin - else - (mkSrcIde ./ides/pycharm-oss.nix { inherit pyCharmCommonOverrides; }) - ); + pycharm-community = throw "jetbrains.pycharm-community: PyCharm Community has been removed as it has been discontinued by JetBrains. Either switch to 'jetbrains.pycharm-oss' or 'jetbrains.pycharm'. See: https://blog.jetbrains.com/pycharm/2025/04/pycharm-2025"; - pycharm-community-bin = - lib.warnOnInstantiate - "pycharm-community-bin: PyCharm Community has been discontinued by Jetbrains. This binary build is no longer updated. Switch to 'jetbrains.pycharm-oss' for open source builds (from source) or 'jetbrains.pycharm' for commercial builds (binary, unfree). See: https://blog.jetbrains.com/pycharm/2025/04/pycharm-2025" - (mkBinIde ./ides/pycharm-community.nix { inherit pyCharmCommonOverrides; }); + pycharm-community-bin = throw "jetbrains.pycharm-community-bin: PyCharm Community has been removed as it has been discontinued by JetBrains. Either switch to 'jetbrains.pycharm-oss' or 'jetbrains.pycharm'. See: https://blog.jetbrains.com/pycharm/2025/04/pycharm-2025"; - pycharm-community-src = - lib.warnOnInstantiate - "jetbrains.idea-community-src: PyCharm Community has been discontinued by Jetbrains. This is now an alias for 'jetbrains.pycharm-oss', the Open Source build of PyCharm. See: https://blog.jetbrains.com/pycharm/2025/04/pycharm-2025" - (mkSrcIde ./ides/pycharm-oss.nix { inherit pyCharmCommonOverrides; }); + pycharm-community-src = throw "jetbrains.pycharm-community-src: PyCharm Community has been removed as it has been discontinued by JetBrains. Either switch to 'jetbrains.pycharm-oss' or 'jetbrains.pycharm'. See: https://blog.jetbrains.com/pycharm/2025/04/pycharm-2025"; - pycharm-professional = - lib.warnOnInstantiate - "'jetbrains.pycharm-professional' has been renamed to/replaced by 'jetbrains.pycharm'" - (mkBinIde ./ides/pycharm.nix { inherit pyCharmCommonOverrides; }); + pycharm-professional = throw "'jetbrains.pycharm-professional' has been renamed to/replaced by 'jetbrains.pycharm'"; - writerside = - lib.warnOnInstantiate - "jetbrains.writerside: Writerside has been discontinued by Jetbrains and is not receiving updates. It will be removed in NixOS 26.05." - (mkBinIde ./ides/writerside.nix { }); + writerside = throw "jetbrains.writerside: Writerside has been removed as it has been discontinued by JetBrains"; } diff --git a/pkgs/applications/editors/jetbrains/ides/aqua.nix b/pkgs/applications/editors/jetbrains/ides/aqua.nix deleted file mode 100644 index ff219361821e..000000000000 --- a/pkgs/applications/editors/jetbrains/ides/aqua.nix +++ /dev/null @@ -1,66 +0,0 @@ -# TODO: This IDE is deprecated and scheduled for removal in 26.05 -{ - stdenv, - lib, - fetchurl, - mkJetBrainsProduct, - libdbm, - fsnotifier, - lldb, -}: -let - system = stdenv.hostPlatform.system; - # update-script-start: urls - urls = { - x86_64-linux = { - url = "https://download.jetbrains.com/aqua/aqua-2024.3.2.tar.gz"; - sha256 = "de073e8a3734a2c4ef984b3e1bd68f5de72a6180e73400889510439ac3f419aa"; - }; - aarch64-linux = { - url = "https://download.jetbrains.com/aqua/aqua-2024.3.2-aarch64.tar.gz"; - sha256 = "d2a3c781756a83ccea63dc6d9aebf85f819de1edb5bcd4e5a1a161eaa0779c84"; - }; - x86_64-darwin = { - url = "https://download.jetbrains.com/aqua/aqua-2024.3.2.dmg"; - sha256 = "423d492e9849beb7edbbd1771650a04e8df9f469bf1789b41bc5878c84cee393"; - }; - aarch64-darwin = { - url = "https://download.jetbrains.com/aqua/aqua-2024.3.2-aarch64.dmg"; - sha256 = "43974cdbbb71aaf5bfcfaf2cfd0e69e9920dda3973e64671936c1d52b267494d"; - }; - }; - # update-script-end: urls -in -mkJetBrainsProduct { - inherit libdbm fsnotifier; - - pname = "aqua"; - - wmClass = "jetbrains-aqua"; - product = "Aqua"; - - # update-script-start: version - version = "2024.3.2"; - buildNumber = "243.23654.154"; - # update-script-end: version - - src = fetchurl (urls.${system} or (throw "Unsupported system: ${system}")); - - buildInputs = [ - lldb - ]; - - # NOTE: meta attrs are currently used by the desktop entry, so changing them may cause rebuilds (see TODO in README) - meta = { - homepage = "https://www.jetbrains.com/aqua/"; - description = "Test automation IDE from JetBrains"; - longDescription = "Aqua is a test automation IDE from jetbrains that can deal with many languages and frameworks to improve your test workflows. Has support for popular testing frameworks like Selenium, Cypress, and Playwright."; - maintainers = with lib.maintainers; [ remcoschrijver ]; - license = lib.licenses.unfree; - sourceProvenance = - if stdenv.hostPlatform.isDarwin then - [ lib.sourceTypes.binaryNativeCode ] - else - [ lib.sourceTypes.binaryBytecode ]; - }; -} diff --git a/pkgs/applications/editors/jetbrains/ides/idea-community.nix b/pkgs/applications/editors/jetbrains/ides/idea-community.nix deleted file mode 100644 index 19b81e123367..000000000000 --- a/pkgs/applications/editors/jetbrains/ides/idea-community.nix +++ /dev/null @@ -1,69 +0,0 @@ -# TODO: This IDE is deprecated and scheduled for removal in 26.05 -{ - stdenv, - lib, - fetchurl, - mkJetBrainsProduct, - libdbm, - fsnotifier, - maven, - zlib, -}: -let - system = stdenv.hostPlatform.system; - # update-script-start: urls - urls = { - x86_64-linux = { - url = "https://download.jetbrains.com/idea/ideaIC-2025.2.5.tar.gz"; - sha256 = "995c334cc3e143f13467abafef07a1ccf7d06275512bb6f4c91123948786ab7c"; - }; - aarch64-linux = { - url = "https://download.jetbrains.com/idea/ideaIC-2025.2.5-aarch64.tar.gz"; - sha256 = "4c57a783f31ee6f2c82d8c43bb5d0334a9afbc8bfb4542e732048c41f61e63a0"; - }; - x86_64-darwin = { - url = "https://download.jetbrains.com/idea/ideaIC-2025.2.5.dmg"; - sha256 = "ff48a1e60869342a91db867fa482a49d4cdf38476496911c109f34a7e8d6523d"; - }; - aarch64-darwin = { - url = "https://download.jetbrains.com/idea/ideaIC-2025.2.5-aarch64.dmg"; - sha256 = "52065492d433f0ea9df4debd5f0683154ab4dab5846394cabc8a49903d70e5bc"; - }; - }; - # update-script-end: urls -in -mkJetBrainsProduct { - inherit libdbm fsnotifier; - - pname = "idea-community"; - - wmClass = "jetbrains-idea-ce"; - product = "IntelliJ IDEA CE"; - productShort = "IDEA"; - - # update-script-start: version - version = "2025.2.5"; - buildNumber = "252.28238.7"; - # update-script-end: version - - src = fetchurl (urls.${system} or (throw "Unsupported system: ${system}")); - - extraLdPath = [ zlib ]; - extraWrapperArgs = [ - ''--set M2_HOME "${maven}/maven"'' - ''--set M2 "${maven}/maven/bin"'' - ]; - - # NOTE: meta attrs are currently used by the desktop entry, so changing them may cause rebuilds (see TODO in README) - meta = { - homepage = "https://www.jetbrains.com/idea/"; - description = "Free Java, Kotlin, Groovy and Scala IDE from Jetbrains (built from source)"; - longDescription = "IDE for Java SE, Groovy & Scala development Powerful environment for building Google Android apps Integration with JUnit, TestNG, popular SCMs, Ant & Maven. Also known as IntelliJ."; - maintainers = with lib.maintainers; [ - gytis-ivaskevicius - tymscar - ]; - license = lib.licenses.asl20; - sourceProvenance = [ lib.sourceTypes.fromSource ]; - }; -} diff --git a/pkgs/applications/editors/jetbrains/ides/pycharm-community.nix b/pkgs/applications/editors/jetbrains/ides/pycharm-community.nix deleted file mode 100644 index 8f527410fd20..000000000000 --- a/pkgs/applications/editors/jetbrains/ides/pycharm-community.nix +++ /dev/null @@ -1,62 +0,0 @@ -# TODO: This IDE is deprecated and scheduled for removal in 26.05 -{ - stdenv, - lib, - fetchurl, - mkJetBrainsProduct, - libdbm, - fsnotifier, - pyCharmCommonOverrides, -}: -let - system = stdenv.hostPlatform.system; - # update-script-start: urls - urls = { - x86_64-linux = { - url = "https://download.jetbrains.com/python/pycharm-community-2025.2.5.tar.gz"; - sha256 = "7f49a014f53f0f6f7c46f6710b131f390302287f4046b606331d88081cdb551f"; - }; - aarch64-linux = { - url = "https://download.jetbrains.com/python/pycharm-community-2025.2.5-aarch64.tar.gz"; - sha256 = "67b61a3e788b043d93b3cc3e0dd3cea350e6d170402fd94adaf792cfc57e5462"; - }; - x86_64-darwin = { - url = "https://download.jetbrains.com/python/pycharm-community-2025.2.5.dmg"; - sha256 = "08ba97a278031ff1942ddefb18d8acf7582f0bb4a28ccdf5d65721bfb80ca456"; - }; - aarch64-darwin = { - url = "https://download.jetbrains.com/python/pycharm-community-2025.2.5-aarch64.dmg"; - sha256 = "040a4ed6bb7563972d844c450f615d0d11385e524fbbfdbfc9fc68d78811e994"; - }; - }; - # update-script-end: urls -in -(mkJetBrainsProduct { - inherit libdbm fsnotifier; - - pname = "pycharm-community"; - - wmClass = "jetbrains-pycharm-ce"; - product = "PyCharm CE"; - productShort = "PyCharm"; - - # update-script-start: version - version = "2025.2.5"; - buildNumber = "252.28238.29"; - # update-script-end: version - - src = fetchurl (urls.${system} or (throw "Unsupported system: ${system}")); - - # NOTE: meta attrs are currently used by the desktop entry, so changing them may cause rebuilds (see TODO in README) - meta = { - homepage = "https://www.jetbrains.com/pycharm/"; - description = "Free Python IDE from JetBrains (built from source)"; - longDescription = "Python IDE with complete set of tools for productive development with Python programming language. In addition, the IDE provides high-class capabilities for professional Web development with Django framework and Google App Engine. It has powerful coding assistance, navigation, a lot of refactoring features, tight integration with various Version Control Systems, Unit testing, powerful all-singing all-dancing Debugger and entire customization. PyCharm is developer driven IDE. It was developed with the aim of providing you almost everything you need for your comfortable and productive development!"; - maintainers = with lib.maintainers; [ - tymscar - ]; - license = lib.licenses.asl20; - sourceProvenance = [ lib.sourceTypes.fromSource ]; - }; -}).overrideAttrs - pyCharmCommonOverrides diff --git a/pkgs/applications/editors/jetbrains/ides/writerside.nix b/pkgs/applications/editors/jetbrains/ides/writerside.nix deleted file mode 100644 index a156e8fdbec5..000000000000 --- a/pkgs/applications/editors/jetbrains/ides/writerside.nix +++ /dev/null @@ -1,66 +0,0 @@ -# TODO: This IDE is deprecated and scheduled for removal in 26.05 -{ - stdenv, - lib, - fetchurl, - mkJetBrainsProduct, - libdbm, - fsnotifier, - musl, -}: -let - system = stdenv.hostPlatform.system; - # update-script-start: urls - urls = { - x86_64-linux = { - url = "https://download.jetbrains.com/writerside/writerside-243.22562.371.tar.gz"; - sha256 = "d49e58020d51ec4ccdbdffea5d42b5a2d776a809fc00789cef5abda7b23bd3f6"; - }; - aarch64-linux = { - url = "https://download.jetbrains.com/writerside/writerside-243.22562.371-aarch64.tar.gz"; - sha256 = "6067f6f73c4a178e2d0ae42bd18669045d85b5b5ed2c9115c2488ba7aa2a3d88"; - }; - x86_64-darwin = { - url = "https://download.jetbrains.com/writerside/writerside-243.22562.371.dmg"; - sha256 = "0c78b8035497c855aea5666256716778abd46dadf68f51e4f91c0db01f62b280"; - }; - aarch64-darwin = { - url = "https://download.jetbrains.com/writerside/writerside-243.22562.371-aarch64.dmg"; - sha256 = "9d86ef50b4c6d2a07d236219e9b05c0557241fb017d52ac395719bdb425130f5"; - }; - }; - # update-script-end: urls -in -mkJetBrainsProduct { - inherit libdbm fsnotifier; - - pname = "writerside"; - - wmClass = "jetbrains-writerside"; - product = "Writerside"; - - # update-script-start: version - version = "2024.3 EAP"; - buildNumber = "243.22562.371"; - # update-script-end: version - - src = fetchurl (urls.${system} or (throw "Unsupported system: ${system}")); - - buildInputs = [ - musl - ]; - - # NOTE: meta attrs are currently used by the desktop entry, so changing them may cause rebuilds (see TODO in README) - meta = { - homepage = "https://www.jetbrains.com/writerside/"; - description = "Documentation IDE from JetBrains"; - longDescription = "The most powerful development environment – now adapted for writing documentation."; - maintainers = with lib.maintainers; [ zlepper ]; - license = lib.licenses.unfree; - sourceProvenance = - if stdenv.hostPlatform.isDarwin then - [ lib.sourceTypes.binaryNativeCode ] - else - [ lib.sourceTypes.binaryBytecode ]; - }; -} diff --git a/pkgs/applications/editors/jetbrains/plugins/tests.nix b/pkgs/applications/editors/jetbrains/plugins/tests.nix index b87744dc63e4..7f84beb2889e 100644 --- a/pkgs/applications/editors/jetbrains/plugins/tests.nix +++ b/pkgs/applications/editors/jetbrains/plugins/tests.nix @@ -14,27 +14,21 @@ let if ideName == null then with jetbrains; [ - aqua clion datagrip dataspell gateway goland - idea-community-src - idea-community-bin idea-oss idea mps phpstorm - pycharm-community-src - pycharm-community-bin pycharm-oss pycharm rider ruby-mine rust-rover webstorm - writerside ] else [ (jetbrains.${ideName}) ]; diff --git a/pkgs/applications/editors/jetbrains/readme.md b/pkgs/applications/editors/jetbrains/readme.md index 17960628356b..a4e3c054fc4d 100644 --- a/pkgs/applications/editors/jetbrains/readme.md +++ b/pkgs/applications/editors/jetbrains/readme.md @@ -56,7 +56,6 @@ Any comments or other manual changes between these markers will be removed when - Add it to `default.nix` ### TODO: - - drop the community IDEs - Switch `mkJetbrainsProduct` to use `lib.extendMkDerivation`, see also: - https://github.com/NixOS/nixpkgs/pull/475183#discussion_r2655305961 - https://github.com/NixOS/nixpkgs/pull/475183#discussion_r2655348886