ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / wu / wush / package.nix
blob346d268f49327d655c274b2e12e4c36561158d24
2   buildGoModule,
3   fetchFromGitHub,
4   lib,
5 }:
6 let
7   version = "0.3.0";
8 in
9 buildGoModule {
10   pname = "wush";
11   inherit version;
13   src = fetchFromGitHub {
14     owner = "coder";
15     repo = "wush";
16     rev = "v${version}";
17     hash = "sha256-2mFe1p15HRyy86pw5LoBtiW9lKrw/N9V81/jkiT4jo4=";
18   };
20   vendorHash = "sha256-Po1DDKP9ekScRDGMjCXZr9HUUwFenQx3bzIZrNI+ctY=";
22   ldflags = [
23     "-s -w -X main.version=${version}"
24   ];
26   CGO_ENABLED = 0;
28   meta = with lib; {
29     homepage = "https://github.com/coder/wush";
30     description = "Transfer files between computers via WireGuard";
31     changelog = "https://github.com/coder/wush/releases/tag/v${version}";
32     license = licenses.cc0;
33     mainProgram = "wush";
34     maintainers = with maintainers; [ abbe ];
35   };