File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
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+ buildGoModule ,
4+ fetchFromGitHub ,
5+ versionCheckHook ,
6+ nix-update-script ,
7+ } :
8+
9+ buildGoModule rec {
10+ pname = "zvm" ;
11+ version = "0.8.5" ;
12+
13+ src = fetchFromGitHub {
14+ owner = "tristanisham" ;
15+ repo = "zvm" ;
16+ tag = "v${ version } " ;
17+ hash = "sha256-1m/sNthkT2+qOMGLqXFtoY2F7aFeq5xzENFIEXhp+Z8=" ;
18+ } ;
19+
20+ vendorHash = "sha256-QiE+aqiesygClFvdjIlyaRiC1I3qybCPuMxt/3HQUyA=" ;
21+
22+ doInstallCheck = true ;
23+ versionCheckProgramArg = "--version" ;
24+ nativeInstallCheckInputs = [ versionCheckHook ] ;
25+
26+ passthru . updateScript = nix-update-script { } ;
27+
28+ meta = {
29+ homepage = "https://www.zvm.app/" ;
30+ downloadPage = "https://github.com/tristanisham/zvm" ;
31+ changelog = "https://github.com/tristanisham/zvm/releases/tag/v${ version } " ;
32+ description = "Tool to manage and use different Zig versions" ;
33+ license = lib . licenses . mit ;
34+ maintainers = with lib . maintainers ; [ ethancedwards8 ] ;
35+ platforms = lib . platforms . unix ;
36+ mainProgram = "zvm" ;
37+ } ;
38+ }
You can’t perform that action at this time.
0 commit comments