pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / games / cl-wordle / default.nix
blob8765638b051c068a8cb9256bce1a2bf2c7d48e08
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   cargoHash = "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   };