From 18ccf74b160efef02a19537f263d15655a6547ea Mon Sep 17 00:00:00 2001 From: Eric Rodrigues Pires Date: Tue, 26 May 2026 06:29:22 -0300 Subject: [PATCH] sandhole: 0.9.4 -> 0.9.5 --- pkgs/by-name/sa/sandhole/package.nix | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/pkgs/by-name/sa/sandhole/package.nix b/pkgs/by-name/sa/sandhole/package.nix index 64a10fa4a3a6..4db1fddb74da 100644 --- a/pkgs/by-name/sa/sandhole/package.nix +++ b/pkgs/by-name/sa/sandhole/package.nix @@ -10,21 +10,16 @@ }: rustPlatform.buildRustPackage (finalAttrs: { pname = "sandhole"; - version = "0.9.4"; + version = "0.9.5"; src = fetchFromGitHub { owner = "EpicEric"; repo = "sandhole"; tag = "v${finalAttrs.version}"; - hash = "sha256-nACjMd1GGfopXTqkkJP3zOnFGqB4TeuJCoQWZXSnBiA="; + hash = "sha256-l+9DcqAxrrjLxs/7KxY6QlfIAlwMVjQztt4lgJJMsyI="; }; - cargoHash = "sha256-n3VoLQP6jmYJvo/6GRXaB/u9XfewlOOt/zKD9YbCQzU="; - - # All integration tests require networking. - postPatch = '' - echo "fn main() {}" > tests/integration/main.rs - ''; + cargoHash = "sha256-euWvpEjSW2JeDysBul5eR4M27LwkRSZDlsp57lMBpAE="; nativeBuildInputs = [ cmake @@ -34,11 +29,8 @@ rustPlatform.buildRustPackage (finalAttrs: { strictDeps = true; useNextest = true; - checkFlags = [ - # Some unit tests require networking. - "--skip" - "login" - ]; + # Skip tests that require networking. + cargoTestFlags = [ "--profile=no-network" ]; doInstallCheck = true; nativeInstallCheckInputs = [ versionCheckHook ]; @@ -54,6 +46,6 @@ rustPlatform.buildRustPackage (finalAttrs: { license = lib.licenses.mit; mainProgram = "sandhole"; maintainers = with lib.maintainers; [ EpicEric ]; - platforms = lib.platforms.linux ++ lib.platforms.darwin; + platforms = lib.platforms.all; }; })