From 0be73b0e37770c8867b9a85d5e40f202f0c3c948 Mon Sep 17 00:00:00 2001 From: Oleksii Filonenko Date: Wed, 8 Jul 2026 15:48:48 +0100 Subject: [PATCH 1/2] fnox: 1.20.0 -> 1.29.0 --- pkgs/by-name/fn/fnox/package.nix | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/fn/fnox/package.nix b/pkgs/by-name/fn/fnox/package.nix index 980fbad11216..8097b7c9be09 100644 --- a/pkgs/by-name/fn/fnox/package.nix +++ b/pkgs/by-name/fn/fnox/package.nix @@ -1,35 +1,44 @@ { lib, fetchFromGitHub, + stdenv, rustPlatform, perl, pkg-config, testers, + dbus, udev, + nix-update-script, }: rustPlatform.buildRustPackage (finalAttrs: { __structuredAttrs = true; pname = "fnox"; - version = "1.20.0"; + version = "1.29.0"; src = fetchFromGitHub { owner = "jdx"; repo = "fnox"; tag = "v${finalAttrs.version}"; - hash = "sha256-8LNMJEZNUlwpPT674/6SfR5dmFRALDI6X1WLKeaJ06M="; + hash = "sha256-sXFcvpAcHrzRbqYLIrq844TH1dHY1G23QIQoIcsCLGY="; }; - cargoHash = "sha256-SoQseyrRqvq/XRmd/HhMX8r42pyn4Ncw6r9G4596bGc="; + cargoHash = "sha256-BhBWghjPC8qs5oKECmddV250YO4/hSWupOz+J9DYKog="; nativeBuildInputs = [ perl pkg-config ]; - buildInputs = [ udev ]; + buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ + dbus + udev + ]; - passthru.tests.version = testers.testVersion { package = finalAttrs.finalPackage; }; + passthru = { + tests.version = testers.testVersion { package = finalAttrs.finalPackage; }; + updateScript = nix-update-script { }; + }; checkFlags = [ # requires a D-Bus session unavailable in the sandbox @@ -39,8 +48,9 @@ rustPlatform.buildRustPackage (finalAttrs: { meta = { description = "Flexible secret management tool supporting multiple providers and encryption methods"; homepage = "https://github.com/jdx/fnox"; + changelog = "https://github.com/jdx/fnox/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ tiptenbrink ]; - platforms = lib.platforms.linux; + platforms = lib.platforms.linux ++ lib.platforms.darwin; }; }) From ccb60b25d59fe420ff5bf191ddb836cbfe8c46fe Mon Sep 17 00:00:00 2001 From: Oleksii Filonenko Date: Wed, 8 Jul 2026 15:49:04 +0100 Subject: [PATCH 2/2] fnox: add Br1ght0ne to maintainers --- pkgs/by-name/fn/fnox/package.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/fn/fnox/package.nix b/pkgs/by-name/fn/fnox/package.nix index 8097b7c9be09..35440e77bc14 100644 --- a/pkgs/by-name/fn/fnox/package.nix +++ b/pkgs/by-name/fn/fnox/package.nix @@ -50,7 +50,10 @@ rustPlatform.buildRustPackage (finalAttrs: { homepage = "https://github.com/jdx/fnox"; changelog = "https://github.com/jdx/fnox/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; - maintainers = with lib.maintainers; [ tiptenbrink ]; + maintainers = with lib.maintainers; [ + tiptenbrink + Br1ght0ne + ]; platforms = lib.platforms.linux ++ lib.platforms.darwin; }; })