depot/third_party/nixpkgs/pkgs/tools/networking/toss/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

20 lines
546 B
Nix

{ 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;
};
}