File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
pkgs/by-name/wa/wasm-language-tools Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ rustPlatform ,
4+ fetchFromGitHub ,
5+ versionCheckHook ,
6+ nix-update-script ,
7+ } :
8+
9+ rustPlatform . buildRustPackage rec {
10+ pname = "wasm-language-tools" ;
11+ version = "0.3.2" ;
12+
13+ src = fetchFromGitHub {
14+ owner = "g-plane" ;
15+ repo = "wasm-language-tools" ;
16+ tag = "v${ version } " ;
17+ hash = "sha256-f1Mq+1gZZelN12rFTLJHOvdzDAbqufzT9+I6pkJdJMU=" ;
18+ } ;
19+
20+ useFetchCargoVendor = true ;
21+ cargoHash = "sha256-P3sxAFZjAlgPrGrw3W+7ufflUz3/Xe7lTXygnSX5Q+4=" ;
22+
23+ nativeInstallCheckInputs = [ versionCheckHook ] ;
24+ versionCheckProgram = "${ placeholder "out" } /bin/wat_server" ;
25+ versionCheckProgramArg = "--version" ;
26+ doInstallCheck = true ;
27+
28+ passthru . updateScript = nix-update-script { } ;
29+
30+ meta = {
31+ description = "Language server and other tools for WebAssembly" ;
32+ homepage = "https://github.com/g-plane/wasm-language-tools/" ;
33+ changelog = "https://github.com/g-plane/wasm-language-tools/releases/tag/v${ version } /CHANGELOG.md" ;
34+ license = lib . licenses . mit ;
35+ maintainers = with lib . maintainers ; [ ethancedwards8 ] ;
36+ mainProgram = "wat_server" ;
37+ } ;
38+ }
You can’t perform that action at this time.
0 commit comments