From 465400d1f10ca03b338aee5d58f0a691cfbf82d5 Mon Sep 17 00:00:00 2001 From: Oleksii Filonenko Date: Wed, 1 Jul 2026 14:58:25 +0100 Subject: [PATCH 1/3] hcom: init at 0.7.22 --- pkgs/by-name/hc/hcom/package.nix | 40 ++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 pkgs/by-name/hc/hcom/package.nix diff --git a/pkgs/by-name/hc/hcom/package.nix b/pkgs/by-name/hc/hcom/package.nix new file mode 100644 index 000000000000..b2f224401eec --- /dev/null +++ b/pkgs/by-name/hc/hcom/package.nix @@ -0,0 +1,40 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + writableTmpDirAsHomeHook, + versionCheckHook, + nix-update-script, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "hcom"; + version = "0.7.22"; + __structuredAttrs = true; + + src = fetchFromGitHub { + owner = "aannoo"; + repo = "hcom"; + tag = "v${finalAttrs.version}"; + hash = "sha256-nYJ/S6/yNaMU8dJ4NoQbNHa133Ui4mHxc/2Dfmzga90="; + }; + + cargoHash = "sha256-3wDLq7qymMO5NUK9ekbh9+ij+zp5Ny1lFcxVmHzti+4="; + + doCheck = true; + nativeCheckInputs = [ writableTmpDirAsHomeHook ]; + + doInstallCheck = true; + nativeInstallCheckInputs = [ versionCheckHook ]; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "Let AI agents message, watch, and spawn each other across terminals"; + homepage = "https://github.com/aannoo/hcom"; + changelog = "https://github.com/aannoo/hcom/releases/tag/${finalAttrs.src.tag}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ Br1ght0ne ]; + mainProgram = "hcom"; + }; +}) From 49d03e2409fc033613927310ff759bd1dfb93dce Mon Sep 17 00:00:00 2001 From: Oleksii Filonenko Date: Wed, 1 Jul 2026 16:21:33 +0100 Subject: [PATCH 2/3] hcom: fix checkPhase --- pkgs/by-name/hc/hcom/package.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/by-name/hc/hcom/package.nix b/pkgs/by-name/hc/hcom/package.nix index b2f224401eec..23a04fb00be0 100644 --- a/pkgs/by-name/hc/hcom/package.nix +++ b/pkgs/by-name/hc/hcom/package.nix @@ -24,6 +24,16 @@ rustPlatform.buildRustPackage (finalAttrs: { doCheck = true; nativeCheckInputs = [ writableTmpDirAsHomeHook ]; + checkFlags = [ + # tries to read $PATH + "--skip=shell_env::tests::resolver_discards_stderr_without_breaking_env_resolution" + # tries to read shell pid + "--skip=shell_env::tests::timeout_kills_shell_process_group" + ]; + + # tons of unit tests use local ports + __darwinAllowLocalNetworking = true; + doInstallCheck = true; nativeInstallCheckInputs = [ versionCheckHook ]; From a84b6a24af4461096a66c7cf44f058144fd85d12 Mon Sep 17 00:00:00 2001 From: Oleksii Filonenko Date: Fri, 10 Jul 2026 19:00:40 +0100 Subject: [PATCH 3/3] hcom: 0.7.22 -> 0.7.23 Diff: https://github.com/aannoo/hcom/compare/v0.7.22...v0.7.23 Changelog: https://github.com/aannoo/hcom/releases/tag/v0.7.23 --- pkgs/by-name/hc/hcom/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/hc/hcom/package.nix b/pkgs/by-name/hc/hcom/package.nix index 23a04fb00be0..7e7d311f5a24 100644 --- a/pkgs/by-name/hc/hcom/package.nix +++ b/pkgs/by-name/hc/hcom/package.nix @@ -9,17 +9,17 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "hcom"; - version = "0.7.22"; + version = "0.7.23"; __structuredAttrs = true; src = fetchFromGitHub { owner = "aannoo"; repo = "hcom"; tag = "v${finalAttrs.version}"; - hash = "sha256-nYJ/S6/yNaMU8dJ4NoQbNHa133Ui4mHxc/2Dfmzga90="; + hash = "sha256-58AcL/hOi8Fl1Nq6QBOyM7Uf7ZUjBabU4PBzZWo25Vo="; }; - cargoHash = "sha256-3wDLq7qymMO5NUK9ekbh9+ij+zp5Ny1lFcxVmHzti+4="; + cargoHash = "sha256-cGhssU75BrNmHqxYWvqRcjNxB70rxYHXBz3hZDY+was="; doCheck = true; nativeCheckInputs = [ writableTmpDirAsHomeHook ];