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
This commit is contained in:
marius david 2024-09-21 11:30:18 +02:00 committed by Bobby Rong
parent 4dc8796c66
commit 8ecacff99a
No known key found for this signature in database

View File

@ -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 [