2023-07-15 17:15:38 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2023-02-16 17:41:37 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
let
|
2023-02-16 17:41:37 +00:00
|
|
|
pname = "wgo";
|
|
|
|
version = "0.5.1";
|
2023-07-15 17:15:38 +00:00
|
|
|
in
|
|
|
|
buildGoModule {
|
|
|
|
inherit pname version;
|
2023-02-16 17:41:37 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bokwoon95";
|
|
|
|
repo = "wgo";
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-kfa3Lm2oJomhoHbtSPLylRr+BFGV/y7xqSIv3xHHg3Q=";
|
|
|
|
};
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
vendorHash = "sha256-jxyO3MGrC+y/jJuwur/+tLIsbxGnT57ZXYzaf1lCv7A=";
|
2023-02-16 17:41:37 +00:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Live reload for Go apps";
|
|
|
|
homepage = "https://github.com/bokwoon95/wgo";
|
|
|
|
license = licenses.mit;
|
2023-07-15 17:15:38 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2023-02-16 17:41:37 +00:00
|
|
|
};
|
|
|
|
}
|