5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
32 lines
615 B
Nix
32 lines
615 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
let
|
|
pname = "wgo";
|
|
version = "0.5.3";
|
|
in
|
|
buildGoModule {
|
|
inherit pname version;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bokwoon95";
|
|
repo = "wgo";
|
|
rev = "v${version}";
|
|
hash = "sha256-Uny5FiMox0oIaJ+WE7p3kw4guSzktEF+WzuxjgFXh2I=";
|
|
};
|
|
|
|
vendorHash = "sha256-w6UJxZToHbbQmuXkyqFzyssFcE+7uVNqOuIF/XKdEsU=";
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
subPackages = [ "." ];
|
|
|
|
meta = with lib; {
|
|
description = "Live reload for Go apps";
|
|
homepage = "https://github.com/bokwoon95/wgo";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|