sdrangel: fix build on x86_64-darwin
[NixPkgs.git] / pkgs / games / cl-wordle / default.nix
blob505c5166e42ad0780a6172165a21dec545f69d6e
1 { lib, rustPlatform, fetchFromGitHub }:
3 rustPlatform.buildRustPackage rec {
4   pname = "cl-wordle";
5   version = "0.5.0";
7   src = fetchFromGitHub {
8     owner = "conradludgate";
9     repo = "wordle";
10     rev = "v${version}";
11     sha256 = "sha256-wFTvzAzboUFQg3fauIwIdRChK7rmLES92jK+8ff1D3s=";
12   };
14   cargoSha256 = "sha256-PtJbLpAUH44alupFY6wX++t/QsKknn5bXvnXzdYsd9o=";
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   };