mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
23 lines
593 B
Nix
23 lines
593 B
Nix
{ lib, rustPlatform, fetchCrate }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cl-wordle";
|
|
version = "0.4.0";
|
|
|
|
src = fetchCrate {
|
|
inherit pname version;
|
|
sha256 = "sha256-z2XpXgOviBRcberwpxQ4ml1T04k5kMhG7wA0PAYWENg=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-C7UMkhgez2CtddftARlwN1TjZ1N26NnZfpRiX1KkMEA=";
|
|
|
|
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";
|
|
};
|
|
}
|