about summary refs log tree commit diff
path: root/pkgs/games/cl-wordle
diff options
context:
space:
mode:
authorlom <legendofmiracles@protonmail.com>2022-05-17 07:35:55 -0600
committerlom <legendofmiracles@protonmail.com>2022-05-17 07:35:55 -0600
commit1f02ea4ccc436d4e0cac1e41d88ecb9ae275774c (patch)
tree0a277a25cc765be732ce99a21a48e07c621286d1 /pkgs/games/cl-wordle
parent1c802f3bfa5324d7915dad3dc2e41234526a2f78 (diff)
cl-wordle: 0.4.0 -> 0.5.0
Diffstat (limited to 'pkgs/games/cl-wordle')
-rw-r--r--pkgs/games/cl-wordle/default.nix14
1 files changed, 8 insertions, 6 deletions
diff --git a/pkgs/games/cl-wordle/default.nix b/pkgs/games/cl-wordle/default.nix
index 1ad3487c3feda..505c5166e42ad 100644
--- a/pkgs/games/cl-wordle/default.nix
+++ b/pkgs/games/cl-wordle/default.nix
@@ -1,15 +1,17 @@
-{ lib, rustPlatform, fetchCrate }:
+{ lib, rustPlatform, fetchFromGitHub }:
 
 rustPlatform.buildRustPackage rec {
   pname = "cl-wordle";
-  version = "0.4.0";
+  version = "0.5.0";
 
-  src = fetchCrate {
-    inherit pname version;
-    sha256 = "sha256-z2XpXgOviBRcberwpxQ4ml1T04k5kMhG7wA0PAYWENg=";
+  src = fetchFromGitHub {
+    owner = "conradludgate";
+    repo = "wordle";
+    rev = "v${version}";
+    sha256 = "sha256-wFTvzAzboUFQg3fauIwIdRChK7rmLES92jK+8ff1D3s=";
   };
 
-  cargoSha256 = "sha256-C7UMkhgez2CtddftARlwN1TjZ1N26NnZfpRiX1KkMEA=";
+  cargoSha256 = "sha256-PtJbLpAUH44alupFY6wX++t/QsKknn5bXvnXzdYsd9o=";
 
   meta = with lib; {
     description = "Wordle TUI in Rust";