From 0df7021de450c6972506fdeab79ca990fa43225f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Sat, 29 Nov 2025 14:18:01 +0100 Subject: [PATCH] jetbrains: fix source update script --- pkgs/applications/editors/jetbrains/source/build.nix | 2 +- pkgs/applications/editors/jetbrains/source/update.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/editors/jetbrains/source/build.nix b/pkgs/applications/editors/jetbrains/source/build.nix index ffa2ab584616..525ee53dc51c 100644 --- a/pkgs/applications/editors/jetbrains/source/build.nix +++ b/pkgs/applications/editors/jetbrains/source/build.nix @@ -198,7 +198,7 @@ let kotlin-jps-plugin-classpath = let - repoUrl = "https://cache-redirector.jetbrains.com/maven.pkg.jetbrains.space/kotlin/p/kotlin/kotlin-ide-plugin-dependencies"; + repoUrl = "https://packages.jetbrains.team/maven/p/ij/intellij-dependencies/org/jetbrains/kotlin/kotlin-jps-plugin-classpath"; groupId = builtins.replaceStrings [ "." ] [ "/" ] "org.jetbrains.kotlin"; artefactId = "kotlin-jps-plugin-classpath"; version = kotlin-jps-plugin.version; diff --git a/pkgs/applications/editors/jetbrains/source/update.py b/pkgs/applications/editors/jetbrains/source/update.py index 08358f8c7c77..a89600a0fa1b 100755 --- a/pkgs/applications/editors/jetbrains/source/update.py +++ b/pkgs/applications/editors/jetbrains/source/update.py @@ -1,5 +1,5 @@ #!/usr/bin/env nix-shell -# ! nix-shell -i python3 -p python3 python3.pkgs.xmltodict +#! nix-shell -i python3 -p python3 python3.pkgs.xmltodict import os import subprocess import pprint @@ -45,7 +45,7 @@ def kotlin_jps_plugin_info(root_path: str) -> (str, str): version = option['@value'] print(f"* Prefetching Kotlin JPS Plugin version {version}...") - prefetch = subprocess.run(["nix-prefetch-url", "--type", "sha256", f"https://cache-redirector.jetbrains.com/maven.pkg.jetbrains.space/kotlin/p/kotlin/kotlin-ide-plugin-dependencies/org/jetbrains/kotlin/kotlin-jps-plugin-classpath/{version}/kotlin-jps-plugin-classpath-{version}.jar"], capture_output=True, check=True, text=True) + prefetch = subprocess.run(["nix-prefetch-url", "--type", "sha256", f"https://packages.jetbrains.team/maven/p/ij/intellij-dependencies/org/jetbrains/kotlin/kotlin-jps-plugin-classpath/{version}/kotlin-jps-plugin-classpath-{version}.jar"], capture_output=True, check=True, text=True) return (version, convert_hash_to_sri(prefetch.stdout.strip())) @@ -93,8 +93,8 @@ def get_args() -> (str, str): def main(): versions_path, out = get_args() versions = loads(open(versions_path).read()) - idea_data = versions['x86_64-linux']['idea-oss'] - pycharm_data = versions['x86_64-linux']['pycharm-oss'] + idea_data = versions['x86_64-linux']['idea'] + pycharm_data = versions['x86_64-linux']['pycharm'] result = { 'idea-oss': {}, 'pycharm-oss': {} } result['idea-oss']['version'] = idea_data['version']