nixpkgs/pkgs/development/tools/wgo/default.nix
2023-08-31 18:25:03 +10:00

33 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; [ ];
};
}