1
0
Fork 0

feat: tclip

Signed-off-by: jolheiser <john.olheiser@gmail.com>
main
jolheiser 2023-08-12 19:04:52 -05:00
parent 9795a580a5
commit 491a71d6e4
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
2 changed files with 29 additions and 0 deletions

View File

@ -19,4 +19,5 @@
# Other projects
prospect-mail = pkgs.callPackage ./pkgs/prospect-mail {};
tclip = pkgs.callPackage ./pkgs/tclip {};
}

View File

@ -0,0 +1,28 @@
{
buildGoModule,
fetchFromGitHub,
lib,
...
}:
buildGoModule rec {
pname = "tclip";
version = "2c99626eb040cb9a54cdf4015c5d2bfd0a7be038";
src = fetchFromGitHub {
owner = "tailscale-dev";
repo = "tclip";
rev = version;
sha256 = "sha256-quSaM5LzBNdl2cx+1oRcavg1Z0IXZSBk58IBqUgK/4o=";
};
vendorSha256 = "sha256-uTgoZmy8w/NbTi6jcPP7wS0GtvTmecNLWb2iYu3PH30=";
ldflags = ["-s" "-w"];
meta = with lib; {
description = "tclip client";
homepage = "https://github.com/tailscale-dev/tclip";
license = licenses.bsd3;
mainProgram = "tclip";
};
}