diff options
author | Ilan Joselevich <personal@ilanjoselevich.com> | 2022-02-15 18:18:03 +0200 |
---|---|---|
committer | Ilan Joselevich <personal@ilanjoselevich.com> | 2022-02-15 18:21:21 +0200 |
commit | 9e0b3c024fb2275ba118b70ce4deccddf879c63e (patch) | |
tree | c1d9987e2e4c9e3d86bcc6a2da1488d2b6952a0d /pkgs/games/cl-wordle | |
parent | a40082270194f2068e6cfb4d26d53d511fc8c34b (diff) |
cl-wordle: 0.2.0 -> 0.4.0
Diffstat (limited to 'pkgs/games/cl-wordle')
-rw-r--r-- | pkgs/games/cl-wordle/default.nix | 8 | ||||
-rw-r--r-- | pkgs/games/cl-wordle/rust-1-57.diff | 13 |
2 files changed, 3 insertions, 18 deletions
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)?; - } |