depot/third_party/nixpkgs/pkgs/games/cl-wordle/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

24 lines
628 B
Nix

{ lib, rustPlatform, fetchCrate }:
rustPlatform.buildRustPackage rec {
pname = "cl-wordle";
version = "0.2.0";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-M2ljFrfIOyM1Slwsk7ZJ+PhJIVSUvFcFck2Q2e9nOwc=";
};
cargoSha256 = "sha256-bB6MzpJc8QS2+8GSS8RbSF5QcJyRT8FkmChpf1x2i/E=";
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";
};
}