nixpkgs/pkgs/tools/networking/croc/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
1.3 KiB
Nix
Raw Normal View History

2021-06-14 17:28:33 +00:00
{ lib, buildGoModule, fetchFromGitHub, callPackage }:
2019-07-31 09:29:18 +00:00
buildGoModule rec {
pname = "croc";
2023-11-10 06:26:07 +00:00
version = "9.6.6";
2019-07-31 09:29:18 +00:00
src = fetchFromGitHub {
owner = "schollz";
repo = pname;
rev = "v${version}";
2023-11-10 06:26:07 +00:00
sha256 = "sha256-y2uS6GlqxfBpLE+6cOl+vLI+KSZ1ThFMjnUNEGplnxM=";
2019-07-31 09:29:18 +00:00
};
2023-11-10 06:26:07 +00:00
vendorHash = "sha256-JLNbRmiO38M+JQiSJfxFcdFYrEyNBA1KOHnxbjaCusE=";
2019-07-31 09:29:18 +00:00
subPackages = [ "." ];
2020-10-20 07:06:43 +00:00
passthru = {
tests = {
local-relay = callPackage ./test-local-relay.nix { };
2020-10-20 07:06:43 +00:00
};
};
meta = with lib; {
2021-06-14 17:28:33 +00:00
description = "Easily and securely send things from one computer to another";
2019-07-31 09:29:18 +00:00
longDescription = ''
Croc is a command line tool written in Go that allows any two computers to
simply and securely transfer files and folders.
Croc does all of the following:
- Allows any two computers to transfer data (using a relay)
- Provides end-to-end encryption (using PAKE)
- Enables easy cross-platform transfers (Windows, Linux, Mac)
- Allows multiple file transfers
- Allows resuming transfers that are interrupted
- Does not require a server or port-forwarding
'';
2021-06-14 17:28:33 +00:00
homepage = "https://github.com/schollz/croc";
license = licenses.mit;
maintainers = with maintainers; [ hugoreeves equirosa SuperSandro2000 ];
2019-07-31 09:29:18 +00:00
};
2020-05-21 04:20:50 +00:00
}