mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
wgo: init at 0.5.1
This commit is contained in:
parent
82b4c24705
commit
e13d49d686
1 changed files with 27 additions and 0 deletions
27
pkgs/development/tools/wgo/default.nix
Normal file
27
pkgs/development/tools/wgo/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "wgo";
|
||||
version = "0.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bokwoon95";
|
||||
repo = "wgo";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-kfa3Lm2oJomhoHbtSPLylRr+BFGV/y7xqSIv3xHHg3Q=";
|
||||
};
|
||||
|
||||
vendorSha256 = "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; [ bokwoon95 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in a new issue