File tree Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Original file line number Diff line number Diff line change 18431843 githubId = 53097078;
18441844 name = "AJ Reifsnyder";
18451845 };
1846+ arexon = {
1847+ 1848+ github = "arexon";
1849+ githubId = 65680034;
1850+ name = "arexon";
1851+ };
18461852 arezvov = {
1847185318481854 github = "arezvov";
Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildGoModule ,
4+ fetchFromGitHub ,
5+ nix-update-script ,
6+ versionCheckHook ,
7+ } :
8+ buildGoModule rec {
9+ pname = "regolith" ;
10+ version = "1.5.1" ;
11+
12+ src = fetchFromGitHub {
13+ owner = "Bedrock-OSS" ;
14+ repo = "regolith" ;
15+ tag = version ;
16+ hash = "sha256-gTEQ2hu581tD1I/3iLHzE/2nekAG49/M6V6QeqPhYsA=" ;
17+ } ;
18+
19+ # Requires network access.
20+ doCheck = false ;
21+
22+ vendorHash = "sha256-+4J4Z7lhbAphi6WUEJN9pzNXf6ROUKqN4NdKI2sQSW0=" ;
23+
24+ ldflags = [
25+ "-X main.buildSource=nix"
26+ "-X main.version=${ version } "
27+ ] ;
28+
29+ nativeInstallCheckInputs = [ versionCheckHook ] ;
30+ versionCheckProgramArg = "--version" ;
31+ doInstallCheck = true ;
32+
33+ passthru . updateScript = nix-update-script { } ;
34+
35+ meta = {
36+ description = "Add-on Compiler for the Bedrock Edition of Minecraft" ;
37+ homepage = "https://github.com/Bedrock-OSS/regolith" ;
38+ changelog = "https://github.com/Bedrock-OSS/regolith/releases/tag/${ version } " ;
39+ license = lib . licenses . mit ;
40+ maintainers = with lib . maintainers ; [ arexon ] ;
41+ mainProgram = "regolith" ;
42+ } ;
43+ }
You can’t perform that action at this time.
0 commit comments