@@ -0,0 +1,24 @@
1+{ lib, rustPlatform, fetchCrate }:
2+
3+rustPlatform.buildRustPackage rec {
4+ pname = "cl-wordle";
5+ version = "0.1.2";
6+
7+ src = fetchCrate {
8+ inherit pname version;
9+ sha256 = "sha256-mcPC2Lj+Vsytfl3+ghYn74QRfM6U4dQLUybtCqkjKlk=";
10+ };
11+
12+ cargoSha256 = "sha256-3Ef8gLFWIAYpKdPixvILvDee5Gezh68hc9TR5+zRX0I=";
13+
14+ patches = [ ./rust-1-57.diff ];
15+
16+ meta = with lib; {
17+ description = "Wordle TUI in Rust";
18+ homepage = "https://github.com/conradludgate/wordle";
19+ # repo has no license, but crates.io says it's MIT
20+ license = licenses.mit;
21+ maintainers = with maintainers; [ lom ];
22+ mainProgram = "wordle";
23+ };
24+}