Skip to content

Commit 5788de5

Browse files
authored
gow: init at 0-unstable-2025-08-13 (#434858)
2 parents 59077ad + 4c75542 commit 5788de5

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

pkgs/by-name/go/gow/package.nix

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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+
})

0 commit comments

Comments
 (0)