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+ makeWrapper ,
6+ go ,
7+ } :
8+
9+ buildGoModule ( finalAttrs : {
10+ pname = "gow" ;
11+ version = "0-unstable-2025-08-13" ;
12+
13+ src = fetchFromGitHub {
14+ owner = "mitranim" ;
15+ repo = "gow" ;
16+ rev = "466e175ff6996eba082cb86ac7b43fc5f8f9c766" ;
17+ hash = "sha256-vfJ6AFkCeyGKWF/a26ulyErCjCng+uHJlLyRfBmtLs0=" ;
18+ } ;
19+
20+ vendorHash = "sha256-L7H3tZQXfeDtWLMvxSMf4/Oez8OV5Q+NhKLkJ991sNA=" ;
21+
22+ # This is required for wrapProgram.
23+ allowGoReference = true ;
24+
25+ nativeBuildInputs = [ makeWrapper ] ;
26+
27+ postFixup = ''
28+ wrapProgram $out/bin/gow --prefix PATH : ${ lib . makeBinPath [ go ] }
29+ '' ;
30+
31+ meta = {
32+ homepage = "https://github.com/mitranim/gow" ;
33+ description = "Missing watch mode for Go commands" ;
34+ mainProgram = "gox" ;
35+ license = lib . licenses . unlicense ;
36+ maintainers = with lib . maintainers ; [ baloo ] ;
37+ } ;
38+ } )
You can’t perform that action at this time.
0 commit comments