nixpkgs/pkgs/development/tools/wgo/default.nix
Anderson Torres cedd6f220e wgo: fixup
2023-06-23 16:16:51 -03:00

33 lines
615 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
let
pname = "wgo";
version = "0.5.1";
in
buildGoModule {
inherit pname version;
src = fetchFromGitHub {
owner = "bokwoon95";
repo = "wgo";
rev = "v${version}";
hash = "sha256-kfa3Lm2oJomhoHbtSPLylRr+BFGV/y7xqSIv3xHHg3Q=";
};
vendorHash = "sha256-jxyO3MGrC+y/jJuwur/+tLIsbxGnT57ZXYzaf1lCv7A=";
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; [ ];
};
}