diff --git a/pkgs/games/cl-wordle/default.nix b/pkgs/games/cl-wordle/default.nix index 6426c058c377..1ad3487c3fed 100644 --- a/pkgs/games/cl-wordle/default.nix +++ b/pkgs/games/cl-wordle/default.nix @@ -2,16 +2,14 @@ rustPlatform.buildRustPackage rec { pname = "cl-wordle"; - version = "0.2.0"; + version = "0.4.0"; src = fetchCrate { inherit pname version; - sha256 = "sha256-M2ljFrfIOyM1Slwsk7ZJ+PhJIVSUvFcFck2Q2e9nOwc="; + sha256 = "sha256-z2XpXgOviBRcberwpxQ4ml1T04k5kMhG7wA0PAYWENg="; }; - cargoSha256 = "sha256-bB6MzpJc8QS2+8GSS8RbSF5QcJyRT8FkmChpf1x2i/E="; - - patches = [ ./rust-1-57.diff ]; + cargoSha256 = "sha256-C7UMkhgez2CtddftARlwN1TjZ1N26NnZfpRiX1KkMEA="; meta = with lib; { description = "Wordle TUI in Rust"; diff --git a/pkgs/games/cl-wordle/rust-1-57.diff b/pkgs/games/cl-wordle/rust-1-57.diff deleted file mode 100644 index b4c5721d8509..000000000000 --- a/pkgs/games/cl-wordle/rust-1-57.diff +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/state.rs b/src/state.rs -index 5fac0a3..41cbde4 100644 ---- a/src/state.rs -+++ b/src/state.rs -@@ -74,7 +74,7 @@ impl State { - 'X' - }; - -- write!(w, "{score}/6",)?; -+ write!(w, "{:?}/6", score)?; - for Guess(_, m) in self.guesses() { - write!(w, "\n{}", m)?; - }