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:
commit
7b39b53f0f
36
pkgs/by-name/wu/wush/package.nix
Normal file
36
pkgs/by-name/wu/wush/package.nix
Normal 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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue