lol

Merge pull request #181996 from jayeshbhoot/rescript-vscode-1.4.0

vscode-extensions.chenglou92.rescript-vscode: 1.3.0 -> 1.6.0

authored by

superherointj and committed by
GitHub
da40187b dcc7610b

+15 -11
+5 -4
pkgs/applications/editors/vscode/extensions/rescript/default.nix
··· 1 1 { lib, stdenv, vscode-utils, callPackage }: 2 2 let 3 - rescript-editor-analysis = (callPackage ./rescript-editor-analysis.nix { }); 3 + version = "1.6.0"; 4 + rescript-editor-analysis = callPackage ./rescript-editor-analysis.nix { inherit version; }; 4 5 arch = 5 6 if stdenv.isLinux then "linux" 6 7 else if stdenv.isDarwin then "darwin" ··· 11 12 mktplcRef = { 12 13 name = "rescript-vscode"; 13 14 publisher = "chenglou92"; 14 - version = "1.3.0"; 15 - sha256 = "sha256-Sgi7FFOpI/XOeyPOrDhwZdZ+43ilUz7oQ49yB7tiMXk="; 15 + inherit version; 16 + sha256 = "sha256-/Nv+uyTkJQVaPKIDRr1P/Z5vsituXpP48/sDn3FUEeA="; 16 17 }; 17 18 postPatch = '' 18 19 rm -r ${analysisDir} ··· 22 23 meta = with lib; { 23 24 description = "The official VSCode plugin for ReScript"; 24 25 homepage = "https://github.com/rescript-lang/rescript-vscode"; 25 - maintainers = with maintainers; [ dlip ]; 26 + maintainers = with maintainers; [ dlip jayesh-bhoot ]; 26 27 license = licenses.mit; 27 28 }; 28 29 }
+10 -7
pkgs/applications/editors/vscode/extensions/rescript/rescript-editor-analysis.nix
··· 1 - { lib, stdenv, fetchFromGitHub, bash, ocaml }: 1 + { lib, stdenv, fetchFromGitHub, bash, ocaml, dune_3, version }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "rescript-editor-analysis"; 5 - version = "1.1.3"; 5 + inherit version; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "rescript-lang"; 9 9 repo = "rescript-vscode"; 10 - rev = "8d0412a72307b220b7f5774e2612760a2d429059"; 11 - sha256 = "rHQtfuIiEWlSPuZvNpEafsvlXCj2Uv1YRR1IfvKfC2s="; 10 + rev = version; 11 + sha256 = "sha256-O5kZCnhtMcevPTs5UxhIXx124WQf1VvF2WMVHjMEQZc="; 12 12 }; 13 13 14 - nativeBuildInputs = [ ocaml ]; 14 + nativeBuildInputs = [ ocaml dune_3 ]; 15 15 16 + # Skip testing phases because they need to download and install node modules 16 17 postPatch = '' 17 18 cd analysis 18 - substituteInPlace Makefile --replace "/bin/bash" "${bash}/bin/bash" 19 + substituteInPlace Makefile \ 20 + --replace "build: build-analysis-binary build-reanalyze build-tests" "build: build-analysis-binary" \ 21 + --replace "test: test-analysis-binary test-reanalyze" "test: test-analysis-binary" 19 22 ''; 20 23 21 24 installPhase = '' ··· 25 28 meta = with lib; { 26 29 description = "Analysis binary for the ReScript VSCode plugin"; 27 30 homepage = "https://github.com/rescript-lang/rescript-vscode"; 28 - maintainers = with maintainers; [ dlip ]; 31 + maintainers = with maintainers; [ dlip jayesh-bhoot ]; 29 32 license = licenses.mit; 30 33 }; 31 34 }