From f61d4c731d9c8ea49cae6661e78eca1a55c7f0f6 Mon Sep 17 00:00:00 2001 From: Bart Brouns Date: Wed, 24 Jun 2026 13:23:37 +0200 Subject: [PATCH] ringboard: 0.16.2-unstable-2026-05-10 -> 0.17.0 --- pkgs/by-name/ri/ringboard/package.nix | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/ri/ringboard/package.nix b/pkgs/by-name/ri/ringboard/package.nix index 4c4f0bf21e32..24692b11d9c9 100644 --- a/pkgs/by-name/ri/ringboard/package.nix +++ b/pkgs/by-name/ri/ringboard/package.nix @@ -24,18 +24,17 @@ assert lib.assertOneOf "displayServer" displayServer [ rustPlatform.buildRustPackage (finalAttrs: { pname = "ringboard" + lib.optionalString (displayServer == "wayland") "-wayland"; - # release version needs nightly, so we use a custom tree, see: - # https://github.com/SUPERCILEX/clipboard-history/issues/22#issuecomment-3676256971 - version = "0.16.2-unstable-2026-05-10"; + version = "0.17.0"; + __structuredAttrs = true; src = fetchFromGitHub { owner = "SUPERCILEX"; repo = "clipboard-history"; - rev = "0719d4398034efa32c3f093e06a2fdb033afbc22"; - hash = "sha256-/LDxZ3bsuVwMiRzLTuLIs6y7jAS/84sXhTRhovXV8zM="; + tag = finalAttrs.version; + hash = "sha256-qLYQeZTrtUUn4JSzK3SX687xV4FO6h7GshVdQi8Qkbk="; }; - cargoHash = "sha256-ARSvWjeVWXksZ27lRJn67wXpgr8epagflOAULKmYaQ8="; + cargoHash = "sha256-T65TxIes0171uDxDE72SnFeRVAgw5FR2z6yTcmH3Z6k="; nativeBuildInputs = [ makeWrapper @@ -103,13 +102,13 @@ rustPlatform.buildRustPackage (finalAttrs: { passthru = { tests.nixos = nixosTests.ringboard; - updateScript = nix-update-script { extraArgs = [ "--version=branch=stable" ]; }; + updateScript = nix-update-script { }; }; meta = { description = "Fast, efficient, and composable clipboard manager for Linux"; homepage = "https://github.com/SUPERCILEX/clipboard-history"; - changelog = "https://github.com/SUPERCILEX/clipboard-history/releases/tag/${finalAttrs.version}"; + changelog = "https://github.com/SUPERCILEX/clipboard-history/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; platforms = lib.platforms.linux; maintainers = [ lib.maintainers.magnetophon ];