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