2021-01-15 10:19:50 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2020-08-31 11:39:55 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "toss";
|
|
|
|
version = "1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zerotier";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "05ql0d8wbdhnmh3dw8ch5bi6clfb9h8v21lq2a74iy02slya2y0r";
|
|
|
|
};
|
|
|
|
preInstall = "export DESTDIR=$out/bin";
|
2021-01-15 10:19:50 +01:00
|
|
|
meta = with lib;
|
2020-08-31 11:39:55 +02:00
|
|
|
src.meta // {
|
|
|
|
description = "Dead simple LAN file transfers from the command line";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ ehmry ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|