Home

nur @d8f3a23bb92c28b9b1bb10f10d90d491820cfbbf - refs - log -
-
https://git.jolheiser.com/nur.git
My NUR
nur / pkgs / tclip / default.nix
- raw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
  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"];

  subPackages = "cmd/tclip";

  meta = with lib; {
    description = "tclip client";
    homepage = "https://github.com/tailscale-dev/tclip";
    license = licenses.bsd3;
    mainProgram = "tclip";
  };
}