From 416ec6ef8f0bfa1da0a5e73196cb4001805a5ffc Mon Sep 17 00:00:00 2001 From: Thomas Butter Date: Tue, 21 Apr 2026 12:16:40 +0000 Subject: [PATCH] killport: 1.1.0 -> 2.0.0 --- pkgs/by-name/ki/killport/package.nix | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/ki/killport/package.nix b/pkgs/by-name/ki/killport/package.nix index 579156558456..5be50554d4a3 100644 --- a/pkgs/by-name/ki/killport/package.nix +++ b/pkgs/by-name/ki/killport/package.nix @@ -2,34 +2,47 @@ lib, rustPlatform, fetchCrate, + stdenv, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "killport"; - version = "1.1.0"; + version = "2.0.0"; src = fetchCrate { inherit (finalAttrs) pname version; - hash = "sha256-7bENyg/KR4oI//jvG6bw+3UX3j9ITAXCMTpc+65VBZ8="; + hash = "sha256-I8GsTSCbWRItQ4Hzens2KlsHZNM/boipT392xYL4wmg="; }; - cargoHash = "sha256-+PhaRVpsM/6GOnGkGDROoOGasrZsagK1LqBZTo9IbSI="; + cargoHash = "sha256-NOgt2WdS5JqTlCOI6qTOyBkTs/0qoA4qXoOHuZdRKvM="; nativeBuildInputs = [ rustPlatform.bindgenHook ]; checkFlags = [ - # assertion failed: re.is_match(data) + # assertion failed: re.is_match(data) or blocked by sandbox "--skip=test_mode_option" "--skip=test_signal_handling" + "--skip=test_signal_sig" + "--skip=test_mode_short_flag" + "--skip=test_mode_process_finds_process" + "--skip=test_kill_udp_process" + "--skip=test_mode_auto_finds_process" + "--skip=test_kill_tcp_ipv4_process" + "--skip=test_dry_run_with_signal" + "--skip=test_combined_flags" + "--skip=test_dry_run_does_not_kill" "--skip=test_dry_run_option" "--skip=test_basic_kill_process" + "--skip=test_unix_process_kill_" ]; + __darwinAllowLocalNetworking = true; + meta = { description = "Command-line tool to easily kill processes running on a specified port"; homepage = "https://github.com/jkfran/killport"; license = lib.licenses.mit; - maintainers = [ ]; + maintainers = with lib.maintainers; [ tbutter ]; mainProgram = "killport"; }; })