1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

wush: init at 0.1.2 (#338382)

This commit is contained in:
Aleksana 2024-09-06 16:12:56 +08:00 committed by GitHub
commit 7b39b53f0f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,36 @@
{
buildGoModule,
fetchFromGitHub,
lib,
}:
let
version = "0.1.2";
in
buildGoModule {
pname = "wush";
inherit version;
src = fetchFromGitHub {
owner = "coder";
repo = "wush";
rev = "v${version}";
hash = "sha256-r6LKEL9GxyiyQgM4AuLU/FcmYKOCg7EZDmAZQznCx8E=";
};
vendorHash = "sha256-e1XcoiJ55UoSNFUto6QM8HrQkkrBf8sv4L9J+7Lnu2I=";
ldflags = [
"-s -w -X main.version=${version}"
];
CGO_ENABLED = 0;
meta = with lib; {
homepage = "https://github.com/coder/wush";
description = "Transfer files between computers via WireGuard";
changelog = "https://github.com/coder/wush/releases/tag/v${version}";
license = licenses.cc0;
mainProgram = "wush";
maintainers = with maintainers; [ abbe ];
};
}