Unverified Commit 8ecacff9 authored by marius david's avatar marius david Committed by Bobby Rong
Browse files

python3Packages.skytemple-rust: 1.6.5 -> 1.8.2, fetch from GitHub

parent 4dc8796c
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -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 [