File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildGo124Module ,
4+ fetchFromGitHub ,
5+ versionCheckHook ,
6+ nix-update-script ,
7+ } :
8+
9+ buildGo124Module rec {
10+ pname = "gowebly" ;
11+ version = "3.0.2" ;
12+
13+ src = fetchFromGitHub {
14+ owner = "gowebly" ;
15+ repo = "gowebly" ;
16+ tag = "v${ version } " ;
17+ hash = "sha256-QsU5Brzs3FeFkQPmpXwehP1G6MocHtCZ9uhw1lFtOEU=" ;
18+ } ;
19+
20+ vendorHash = "sha256-wOpenKh+4v0gRY0Zvx3URi4D1jXSrIONcrlzyjJUaSg=" ;
21+
22+ env . CGO_ENABLED = 0 ;
23+
24+ ldflags = [
25+ "-s"
26+ "-w"
27+ ] ;
28+
29+ nativeInstallCheckInputs = [ versionCheckHook ] ;
30+ versionCheckProgramArg = "doctor" ;
31+ doInstallCheck = true ;
32+
33+ passthru . updateScript = nix-update-script { } ;
34+
35+ meta = {
36+ description = "CLI tool to create web applications with Go backend" ;
37+ longDescription = ''
38+ A CLI tool that makes it easy to create web applications
39+ with Go on the backend, using htmx, hyperscript or Alpine.js,
40+ and the most popular CSS frameworks on the frontend.
41+ '' ;
42+ homepage = "https://gowebly.org" ;
43+ changelog = "https://github.com/gowebly/gowebly/releases/tag/v${ version } " ;
44+ license = lib . licenses . asl20 ;
45+ mainProgram = "gowebly" ;
46+ maintainers = with lib . maintainers ; [ cterence ] ;
47+ } ;
48+ }
You can’t perform that action at this time.
0 commit comments