From bac07bce8871a19d791fcf830f519789473cb1e8 Mon Sep 17 00:00:00 2001 From: Oleksii Filonenko Date: Wed, 8 Jul 2026 15:57:27 +0100 Subject: [PATCH 1/2] hk: 1.48.0 -> 1.50.0 --- pkgs/by-name/hk/hk/package.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/hk/hk/package.nix b/pkgs/by-name/hk/hk/package.nix index 6e2ebfa81cd8..b22ac9c9fa35 100644 --- a/pkgs/by-name/hk/hk/package.nix +++ b/pkgs/by-name/hk/hk/package.nix @@ -14,7 +14,7 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "hk"; - version = "1.48.0"; + version = "1.50.0"; __structuredAttrs = true; @@ -22,14 +22,13 @@ rustPlatform.buildRustPackage (finalAttrs: { owner = "jdx"; repo = "hk"; tag = "v${finalAttrs.version}"; - hash = "sha256-jQVEKyFdzeVLBKkX3/zjJBXawxR6ayuf+8wSingESZA="; + hash = "sha256-1sty3JUxiT4UDPmoqR6vql9bQcoSR+xfq3dQzT6u6rY="; }; - cargoHash = "sha256-QzjoLnHlGTdnNfsfaRn7ZVeTwQZumN87IOhubLcEDLQ="; + cargoHash = "sha256-oUgAzO7kWVlbw1ZvcjqIdV78tvXQYlV5bwvOSucQvWE="; nativeBuildInputs = [ installShellFiles - versionCheckHook pkg-config usage ]; @@ -58,6 +57,9 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoTestFlags = [ "--all-features" ]; + doInstallCheck = true; + nativeInstallCheckInputs = [ versionCheckHook ]; + postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd hk \ --bash <($out/bin/hk completion bash) \ From baf9d2b1c9a6e44cd8974321067f78acc17dc2dd Mon Sep 17 00:00:00 2001 From: Oleksii Filonenko Date: Wed, 8 Jul 2026 15:57:54 +0100 Subject: [PATCH 2/2] hk: add Br1ght0ne to maintainers --- pkgs/by-name/hk/hk/package.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/hk/hk/package.nix b/pkgs/by-name/hk/hk/package.nix index b22ac9c9fa35..abe884cfe875 100644 --- a/pkgs/by-name/hk/hk/package.nix +++ b/pkgs/by-name/hk/hk/package.nix @@ -74,7 +74,10 @@ rustPlatform.buildRustPackage (finalAttrs: { homepage = "https://hk.jdx.dev"; changelog = "https://github.com/jdx/hk/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.mit; - maintainers = with lib.maintainers; [ typedrat ]; + maintainers = with lib.maintainers; [ + typedrat + Br1ght0ne + ]; mainProgram = "hk"; }; })