nixpkgs/pkgs/by-name/cr/croc/package.nix

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

45 lines
1.3 KiB
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub, callPackage, nixosTests }:
2019-07-31 09:29:18 +00:00
buildGoModule rec {
pname = "croc";
2024-10-09 14:07:11 +00:00
version = "10.0.13";
2019-07-31 09:29:18 +00:00
src = fetchFromGitHub {
owner = "schollz";
repo = pname;
rev = "v${version}";
2024-10-09 14:07:11 +00:00
hash = "sha256-GrdJAXHdkJYB+k2RexcCWhIhxY9UNY9IVJbzlLKDcKA=";
2019-07-31 09:29:18 +00:00
};
2024-10-09 14:07:11 +00:00
vendorHash = "sha256-gTSc2mDNt7K954GXxUjjxPR0NkZwSTCjQDQ9x57ookw=";
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 { };
inherit (nixosTests) croc;
2020-10-20 07:06:43 +00:00
};
};
2024-05-25 06:10:57 +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; [ equirosa SuperSandro2000 ];
2024-02-11 02:19:15 +00:00
mainProgram = "croc";
2019-07-31 09:29:18 +00:00
};
2020-05-21 04:20:50 +00:00
}