diff options
author | Hugo Reeves <hugolreeves@gmail.com> | 2019-07-31 21:29:18 +1200 |
---|---|---|
committer | Hugo Reeves <hugolreeves@gmail.com> | 2019-08-01 17:07:58 +1200 |
commit | 4fa644bceca4296619ba6d3a1a18201f4ca27538 (patch) | |
tree | 5f00e4a641d3855e31d87357fe1af16cd02908df /pkgs | |
parent | 9f739df21867da6250e598ef7e0868fe941250e7 (diff) | |
download | nixpkgs-4fa644bceca4296619ba6d3a1a18201f4ca27538.tar nixpkgs-4fa644bceca4296619ba6d3a1a18201f4ca27538.tar.gz nixpkgs-4fa644bceca4296619ba6d3a1a18201f4ca27538.tar.bz2 nixpkgs-4fa644bceca4296619ba6d3a1a18201f4ca27538.tar.lz nixpkgs-4fa644bceca4296619ba6d3a1a18201f4ca27538.tar.xz nixpkgs-4fa644bceca4296619ba6d3a1a18201f4ca27538.tar.zst nixpkgs-4fa644bceca4296619ba6d3a1a18201f4ca27538.zip |
croc: init at 6.1.1
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/networking/croc/default.nix | 38 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/tools/networking/croc/default.nix b/pkgs/tools/networking/croc/default.nix new file mode 100644 index 00000000000..160b5840cf5 --- /dev/null +++ b/pkgs/tools/networking/croc/default.nix @@ -0,0 +1,38 @@ +{ stdenv, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "croc"; + version = "6.1.1"; + + goPackagePath = "github.com/schollz/croc"; + + src = fetchFromGitHub { + owner = "schollz"; + repo = pname; + rev = "v${version}"; + sha256 = "08gkwllk3m5hpkr1iwabvs739rvl6rzdnra2v040dzdj6zgyd12r"; + }; + + modSha256 = "026m3hc2imna7bf4jpqm7yq6mr4l5is2crsx1vxdpr4h0n6z0v3i"; + subPackages = [ "." ]; + + meta = with stdenv.lib; { + description = "Easily and securely send things from one computer to another"; + homepage = https://github.com/schollz/croc; + license = licenses.mit; + maintainers = with maintainers; [ hugoreeves ]; + + 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 + ''; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 89fc4364ffb..ddef47d8add 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1276,6 +1276,8 @@ in ccnet = callPackage ../tools/networking/ccnet { }; + croc = callPackage ../tools/networking/croc { }; + cddl = callPackage ../development/tools/cddl { }; cedille = callPackage ../applications/science/logic/cedille |