summary refs log tree commit diff
path: root/pkgs/tools/networking/toss/default.nix
blob: 3c8f72961812f8e07eb66312b59c178ced937e30 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ lib, stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
  pname = "toss";
  version = "1.1";
  src = fetchFromGitHub {
    owner = "zerotier";
    repo = pname;
    rev = version;
    sha256 = "05ql0d8wbdhnmh3dw8ch5bi6clfb9h8v21lq2a74iy02slya2y0r";
  };
  preInstall = "export DESTDIR=$out/bin";
  meta = with lib;
    src.meta // {
      description = "Dead simple LAN file transfers from the command line";
      license = with licenses; [ mit ];
      maintainers = with maintainers; [ ehmry ];
      platforms = platforms.unix;
    };
}