From 131549afe408b01fad09274cfa1eb95776979854 Mon Sep 17 00:00:00 2001 From: Benedikt Ritter Date: Mon, 13 Jul 2026 07:52:28 +0200 Subject: [PATCH] motus: 0.4.0 -> 0.5.0 --- pkgs/by-name/mo/motus/package.nix | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/pkgs/by-name/mo/motus/package.nix b/pkgs/by-name/mo/motus/package.nix index e9d99d833707..994896a26dcf 100644 --- a/pkgs/by-name/mo/motus/package.nix +++ b/pkgs/by-name/mo/motus/package.nix @@ -13,23 +13,16 @@ rustPlatform.buildRustPackage (finalAttrs: { __structuredAttrs = true; pname = "motus"; - version = "0.4.0"; + version = "0.5.0"; src = fetchFromGitHub { owner = "oleiade"; repo = "motus"; tag = "v${finalAttrs.version}"; - hash = "sha256-lMNXg6YYTxAycxOiVtBGrSHpccLwerIQcY25K/NkqMo="; + hash = "sha256-7lFKlU9+/NvJi9NsVpve3IvzpS8OVHaH9cs/WRGjBV8="; }; - cargoHash = "sha256-6MKEHnB2MJVB4cNvz3JYlhuzxhzsA+Pq5OkpLNoAEyU="; - - # The CLI crate version was not bumped to match the v0.4.0 release tag: - # https://github.com/oleiade/motus/issues/58 - postPatch = '' - substituteInPlace crates/motus-cli/src/main.rs \ - --replace-fail '#[command(version = "0.3.1")]' '#[command(version = "${finalAttrs.version}")]' - ''; + cargoHash = "sha256-0qK3omTkzVxkjFn2fIowl+sFmjF/hSHAROyge5CDdFg="; buildInputs = lib.optionals (withClipboard && stdenv.hostPlatform.isLinux) [ libxcb ];