croc: bump to v10.4.13
Signed-off-by: kaynetik <aleksandar@nesovic.dev>
This commit is contained in:
@@ -45,7 +45,7 @@ in
|
||||
sender.execute("echo Hello World > testfile01.txt")
|
||||
sender.execute("echo Hello Earth > testfile02.txt")
|
||||
sender.execute(
|
||||
"env CROC_SECRET=topSecret croc --pass ${pass} --relay relay send --no-local 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
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "croc";
|
||||
version = "10.4.12";
|
||||
version = "10.4.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "schollz";
|
||||
repo = "croc";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-ThMwPbQcxRBVvL/jxTluBc4gKbEIl1Wm69c/3r976s0=";
|
||||
hash = "sha256-XhudK0wFk2VFYmd1ihW4SjJ4nzwNxOp9pTNUWJUg+AU=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-rwGunSDIgetBsk97LxQz0WHpzMDMMESHC1OhBWRuVjI=";
|
||||
|
||||
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
|
||||
|
||||
# start sender in background
|
||||
MSG="See you later, alligator!"
|
||||
croc --relay localhost:11111 send --no-local --code correct-horse-battery-staple --text "$MSG" &
|
||||
croc --relay localhost:11111 send --code correct-horse-battery-staple --text "$MSG" &
|
||||
|
||||
# wait for things to settle
|
||||
sleep 1
|
||||
|
||||
Reference in New Issue
Block a user