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 ];