Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
39 lines
859 B
Nix
39 lines
859 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
makeWrapper,
|
|
go,
|
|
}:
|
|
|
|
buildGoModule (finalAttrs: {
|
|
pname = "gow";
|
|
version = "0-unstable-2025-08-13";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mitranim";
|
|
repo = "gow";
|
|
rev = "466e175ff6996eba082cb86ac7b43fc5f8f9c766";
|
|
hash = "sha256-vfJ6AFkCeyGKWF/a26ulyErCjCng+uHJlLyRfBmtLs0=";
|
|
};
|
|
|
|
vendorHash = "sha256-L7H3tZQXfeDtWLMvxSMf4/Oez8OV5Q+NhKLkJ991sNA=";
|
|
|
|
# This is required for wrapProgram.
|
|
allowGoReference = true;
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
postFixup = ''
|
|
wrapProgram $out/bin/gow --prefix PATH : ${lib.makeBinPath [ go ]}
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "https://github.com/mitranim/gow";
|
|
description = "Missing watch mode for Go commands";
|
|
mainProgram = "gox";
|
|
license = lib.licenses.unlicense;
|
|
maintainers = with lib.maintainers; [ baloo ];
|
|
};
|
|
})
|