From 8ecacff99aa7d94caf58ab143bcbb7df56f94385 Mon Sep 17 00:00:00 2001
From: marius david <marius@mariusdavid.fr>
Date: Sat, 21 Sep 2024 11:30:18 +0200
Subject: [PATCH] python3Packages.skytemple-rust: 1.6.5 -> 1.8.2, fetch from
 GitHub

https://github.com/SkyTemple/skytemple-rust/compare/1.6.5...1.8.2
---
 .../python-modules/skytemple-rust/default.nix      | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/pkgs/development/python-modules/skytemple-rust/default.nix b/pkgs/development/python-modules/skytemple-rust/default.nix
index 83873d2e0aa3..8b29df693088 100644
--- a/pkgs/development/python-modules/skytemple-rust/default.nix
+++ b/pkgs/development/python-modules/skytemple-rust/default.nix
@@ -3,7 +3,7 @@
   stdenv,
   buildPythonPackage,
   cargo,
-  fetchPypi,
+  fetchFromGitHub,
   libiconv,
   Foundation,
   rustPlatform,
@@ -14,18 +14,20 @@
 
 buildPythonPackage rec {
   pname = "skytemple-rust";
-  version = "1.6.5";
+  version = "1.8.2";
   pyproject = true;
 
-  src = fetchPypi {
-    inherit pname version;
-    hash = "sha256-bf+umrb5EIoCD2kheVpf9IwsW4Sf2hR7XOEzscYtLA8=";
+  src = fetchFromGitHub {
+    owner = "SkyTemple";
+    repo = "skytemple-rust";
+    rev = version;
+    hash = "sha256-0hIwFJn/cwtKHKoD+upeorC52YnDlej3TrWf3PmAQAQ=";
   };
 
   cargoDeps = rustPlatform.fetchCargoTarball {
     inherit src;
     name = "${pname}-${version}";
-    hash = "sha256-0a57RmZPztcIeRs7GNYe18JO+LlWoeNWG3nD9cG0XIU=";
+    hash = "sha256-Gdypi9DJAXQgNaRCLEt4LTqUhBJC8plH0YhgNOIOGvA=";
   };
 
   buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [