Loading nixos/tests/croc.nix +4 −4 Original line number Diff line number Diff line Loading @@ -3,11 +3,11 @@ let client = { pkgs, ... }: { environment.systemPackages = [ pkgs.croc ]; }; pass = pkgs.writeText "pass" "PassRelay"; pass = "PassRelay"; in { name = "croc"; meta = with pkgs.lib.maintainers; { maintainers = [ hax404 julm ]; maintainers = [ equirosa SuperSandro2000 ]; }; nodes = { Loading Loading @@ -38,12 +38,12 @@ in { sender.execute("echo Hello World > testfile01.txt") sender.execute("echo Hello Earth > testfile02.txt") sender.execute( "croc --pass ${pass} --relay relay send --code topSecret testfile01.txt testfile02.txt >&2 &" "env CROC_SECRET=topSecret croc --pass ${pass} --relay relay send testfile01.txt testfile02.txt >&2 &" ) # receive the testfiles and check them receiver.succeed( "croc --pass ${pass} --yes --relay relay topSecret" "env CROC_SECRET=topSecret croc --pass ${pass} --yes --relay relay" ) assert "Hello World" in receiver.succeed("cat testfile01.txt") assert "Hello Earth" in receiver.succeed("cat testfile02.txt") Loading pkgs/tools/networking/croc/default.nix +4 −4 Original line number Diff line number Diff line Loading @@ -2,16 +2,16 @@ buildGoModule rec { pname = "croc"; version = "10.0.11"; version = "10.0.13"; src = fetchFromGitHub { owner = "schollz"; repo = pname; rev = "v${version}"; hash = "sha256-vW67Q/11BPRHkDA1m99+PdxQUoylMt2sx6gZFEzgSNY="; hash = "sha256-GrdJAXHdkJYB+k2RexcCWhIhxY9UNY9IVJbzlLKDcKA="; }; vendorHash = "sha256-eejDwlovkGLENvNywtFPmqKcwqr+HB+oURL/sDfhOuA="; vendorHash = "sha256-gTSc2mDNt7K954GXxUjjxPR0NkZwSTCjQDQ9x57ookw="; subPackages = [ "." ]; Loading @@ -38,7 +38,7 @@ buildGoModule rec { ''; homepage = "https://github.com/schollz/croc"; license = licenses.mit; maintainers = with maintainers; [ hugoreeves equirosa SuperSandro2000 ]; maintainers = with maintainers; [ equirosa SuperSandro2000 ]; mainProgram = "croc"; }; } Loading
nixos/tests/croc.nix +4 −4 Original line number Diff line number Diff line Loading @@ -3,11 +3,11 @@ let client = { pkgs, ... }: { environment.systemPackages = [ pkgs.croc ]; }; pass = pkgs.writeText "pass" "PassRelay"; pass = "PassRelay"; in { name = "croc"; meta = with pkgs.lib.maintainers; { maintainers = [ hax404 julm ]; maintainers = [ equirosa SuperSandro2000 ]; }; nodes = { Loading Loading @@ -38,12 +38,12 @@ in { sender.execute("echo Hello World > testfile01.txt") sender.execute("echo Hello Earth > testfile02.txt") sender.execute( "croc --pass ${pass} --relay relay send --code topSecret testfile01.txt testfile02.txt >&2 &" "env CROC_SECRET=topSecret croc --pass ${pass} --relay relay send testfile01.txt testfile02.txt >&2 &" ) # receive the testfiles and check them receiver.succeed( "croc --pass ${pass} --yes --relay relay topSecret" "env CROC_SECRET=topSecret croc --pass ${pass} --yes --relay relay" ) assert "Hello World" in receiver.succeed("cat testfile01.txt") assert "Hello Earth" in receiver.succeed("cat testfile02.txt") Loading
pkgs/tools/networking/croc/default.nix +4 −4 Original line number Diff line number Diff line Loading @@ -2,16 +2,16 @@ buildGoModule rec { pname = "croc"; version = "10.0.11"; version = "10.0.13"; src = fetchFromGitHub { owner = "schollz"; repo = pname; rev = "v${version}"; hash = "sha256-vW67Q/11BPRHkDA1m99+PdxQUoylMt2sx6gZFEzgSNY="; hash = "sha256-GrdJAXHdkJYB+k2RexcCWhIhxY9UNY9IVJbzlLKDcKA="; }; vendorHash = "sha256-eejDwlovkGLENvNywtFPmqKcwqr+HB+oURL/sDfhOuA="; vendorHash = "sha256-gTSc2mDNt7K954GXxUjjxPR0NkZwSTCjQDQ9x57ookw="; subPackages = [ "." ]; Loading @@ -38,7 +38,7 @@ buildGoModule rec { ''; homepage = "https://github.com/schollz/croc"; license = licenses.mit; maintainers = with maintainers; [ hugoreeves equirosa SuperSandro2000 ]; maintainers = with maintainers; [ equirosa SuperSandro2000 ]; mainProgram = "croc"; }; }