summary refs log tree commit diff
path: root/pkgs/games/shticker-book-unwritten/unwrapped.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/shticker-book-unwritten/unwrapped.nix')
-rw-r--r--pkgs/games/shticker-book-unwritten/unwrapped.nix14
1 files changed, 6 insertions, 8 deletions
diff --git a/pkgs/games/shticker-book-unwritten/unwrapped.nix b/pkgs/games/shticker-book-unwritten/unwrapped.nix
index 638a9ae792e..a4b25d94e8f 100644
--- a/pkgs/games/shticker-book-unwritten/unwrapped.nix
+++ b/pkgs/games/shticker-book-unwritten/unwrapped.nix
@@ -1,18 +1,16 @@
-{ fetchFromGitHub, lib, openssl, pkg-config, rustPlatform }:
+{ lib, rustPlatform, fetchCrate, pkg-config, openssl }:
 
 rustPlatform.buildRustPackage rec {
   pname = "shticker-book-unwritten";
   version = "1.0.3";
 
-  src = fetchFromGitHub {
-    owner = "JonathanHelianthicusDoe";
-    repo = "shticker_book_unwritten";
-    rev = "v${version}";
-    sha256 = "08lyxica0b0vvivybsvzigy2j7saar78mbz723y3g5hqrilfb5np";
+  src = fetchCrate {
+    inherit version;
+    crateName = "shticker_book_unwritten";
+    sha256 = "sha256-NQEXLTtotrZQmoYQnhCHIEwSe+fqlcHq5/I6zTHwLvc=";
   };
 
-  cargoPatches = [ ./cargo-lock.patch ];
-  cargoSha256 = "1d4mnfzkdbqnjmqk7fl4bsy27lr7wnq997nz0hflaybnx2d3nisn";
+  cargoSha256 = "sha256-SniyLp/4R0MkJYQmW3RFvOFeBKTvRlSzEI5Y+ELHfy8=";
 
   nativeBuildInputs = [ pkg-config ];