From 6496096ed1304ea537222dbed047d5c9f6b8e5c7 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Wed, 16 Oct 2024 22:47:16 +0200 Subject: [PATCH] vscode-extensions.visualjj.visualjj: init at 0.11.8 --- .../editors/vscode/extensions/default.nix | 2 + .../extensions/visualjj.visualjj/default.nix | 56 +++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 pkgs/applications/editors/vscode/extensions/visualjj.visualjj/default.nix diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index 0628e56baef6..4d69dd3504ab 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -5029,6 +5029,8 @@ let }; }; + visualjj.visualjj = callPackage ./visualjj.visualjj { }; + visualstudioexptteam.intellicode-api-usage-examples = buildVscodeMarketplaceExtension { mktplcRef = { name = "intellicode-api-usage-examples"; diff --git a/pkgs/applications/editors/vscode/extensions/visualjj.visualjj/default.nix b/pkgs/applications/editors/vscode/extensions/visualjj.visualjj/default.nix new file mode 100644 index 000000000000..e15cfdd5beae --- /dev/null +++ b/pkgs/applications/editors/vscode/extensions/visualjj.visualjj/default.nix @@ -0,0 +1,56 @@ +{ + lib, + stdenv, + vscode-utils, + fetchurl, + ... +}: + +let + version = "0.11.8"; + + sources = { + "x86_64-linux" = { + arch = "linux-x64"; + url = "https://download.visualjj.com/visualjj-linux-x64-${version}.vsix"; + hash = "sha256-L46ORW4iZnZ1GNQSU4opp1bTIh036j9JNmkATjTt/qM="; + }; + "x86_64-darwin" = { + arch = "darwin-x64"; + url = "https://download.visualjj.com/visualjj-darwin-x64-${version}.vsix"; + hash = "sha256-h15HMZiV/bCVgoajEBe8XLSmFD7EsU2JVlpqiN6ntjQ="; + }; + "aarch64-linux" = { + arch = "linux-arm64"; + url = "https://download.visualjj.com/visualjj-linux-arm64-${version}.vsix"; + hash = "sha256-1h/xBMFXtHn/QA0FpZcuUFKxU65AMvaqds6Q9aNaW3s="; + }; + "aarch64-darwin" = { + arch = "darwin-arm64"; + url = "https://download.visualjj.com/visualjj-darwin-arm64-${version}.vsix"; + hash = "sha256-9SagMPdkB8d2GeGR/R1EmH5y6VNZtYydst9S82kAQlA="; + }; + }; +in +vscode-utils.buildVscodeMarketplaceExtension { + vsix = fetchurl { + url = sources.${stdenv.hostPlatform.system}.url; + hash = sources.${stdenv.hostPlatform.system}.hash; + name = "visualjj-visualjj-${version}.zip"; + }; + + mktplcRef = { + inherit version; + name = "visualjj"; + publisher = "visualjj"; + arch = sources.${stdenv.hostPlatform.system}.arch; + }; + + meta = { + description = "Jujutsu version control integration, for simpler Git workflow"; + downloadPage = "https://www.visualjj.com"; + homepage = "https://www.visualjj.com"; + license = lib.licenses.unfree; + maintainers = [ lib.maintainers.drupol ]; + }; +}