biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / wgo / default.nix
blob9733cfd073436b367943ae23f3b344213d431062
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 }:
6 let
7   pname = "wgo";
8   version = "0.5.4";
9 in
10 buildGoModule {
11   inherit pname version;
13   src = fetchFromGitHub {
14     owner = "bokwoon95";
15     repo = "wgo";
16     rev = "v${version}";
17     hash = "sha256-MPmB6G5JCIEfFYchVmV8sS5Zfzfui9tClDI6RlLdP6U=";
18   };
20   vendorHash = "sha256-w6UJxZToHbbQmuXkyqFzyssFcE+7uVNqOuIF/XKdEsU=";
22   ldflags = [ "-s" "-w" ];
24   subPackages = [ "." ];
26   checkFlags = [
27     # Flaky tests.
28     # See https://github.com/bokwoon95/wgo/blob/e0448e04b6ca44323f507d1aca94425b7c69803c/START_HERE.md?plain=1#L26.
29     "-skip=TestWgoCmd_FileEvent"
30   ];
32   meta = with lib; {
33     description = "Live reload for Go apps";
34     mainProgram = "wgo";
35     homepage = "https://github.com/bokwoon95/wgo";
36     license = licenses.mit;
37     maintainers = with maintainers; [ ];
38   };