2022-02-06 19:23:08 +00:00
|
|
|
{ lib, rustPlatform, fetchCrate }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cl-wordle";
|
2022-02-08 03:56:33 +00:00
|
|
|
version = "0.2.0";
|
2022-02-06 19:23:08 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2022-02-08 03:56:33 +00:00
|
|
|
sha256 = "sha256-M2ljFrfIOyM1Slwsk7ZJ+PhJIVSUvFcFck2Q2e9nOwc=";
|
2022-02-06 19:23:08 +00:00
|
|
|
};
|
|
|
|
|
2022-02-08 03:56:33 +00:00
|
|
|
cargoSha256 = "sha256-bB6MzpJc8QS2+8GSS8RbSF5QcJyRT8FkmChpf1x2i/E=";
|
2022-02-06 19:23:08 +00:00
|
|
|
|
|
|
|
patches = [ ./rust-1-57.diff ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Wordle TUI in Rust";
|
|
|
|
homepage = "https://github.com/conradludgate/wordle";
|
|
|
|
# repo has no license, but crates.io says it's MIT
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ lom ];
|
|
|
|
mainProgram = "wordle";
|
|
|
|
};
|
|
|
|
}
|