lol
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5}:
6
7stdenv.mkDerivation rec {
8 pname = "toss";
9 version = "1.1";
10 src = fetchFromGitHub {
11 owner = "zerotier";
12 repo = "toss";
13 rev = version;
14 sha256 = "05ql0d8wbdhnmh3dw8ch5bi6clfb9h8v21lq2a74iy02slya2y0r";
15 };
16 preInstall = "export DESTDIR=$out/bin";
17 meta =
18 with lib;
19 src.meta
20 // {
21 description = "Dead simple LAN file transfers from the command line";
22 license = with licenses; [ mit ];
23 platforms = platforms.unix;
24 };
25}