lol

skytemple-rust: add Foundation library on darwin

+12 -3
+9 -2
pkgs/development/python-modules/skytemple-rust/default.nix
··· 1 - { lib, stdenv, buildPythonPackage, fetchFromGitHub, libiconv, rustPlatform, setuptools-rust }: 2 3 buildPythonPackage rec { 4 pname = "skytemple-rust"; ··· 17 sha256 = "sha256-lXPCxRbaqUC5EfyeBPtJDuGADYOA+DWMaOZRwXppP8E="; 18 }; 19 20 - buildInputs = lib.optionals stdenv.isDarwin [ libiconv ]; 21 nativeBuildInputs = [ setuptools-rust ] ++ (with rustPlatform; [ cargoSetupHook rust.cargo rust.rustc ]); 22 23 GETTEXT_SYSTEM = true;
··· 1 + { lib 2 + , stdenv 3 + , buildPythonPackage 4 + , fetchFromGitHub 5 + , libiconv 6 + , Foundation 7 + , rustPlatform 8 + , setuptools-rust }: 9 10 buildPythonPackage rec { 11 pname = "skytemple-rust"; ··· 24 sha256 = "sha256-lXPCxRbaqUC5EfyeBPtJDuGADYOA+DWMaOZRwXppP8E="; 25 }; 26 27 + buildInputs = lib.optionals stdenv.isDarwin [ libiconv Foundation ]; 28 nativeBuildInputs = [ setuptools-rust ] ++ (with rustPlatform; [ cargoSetupHook rust.cargo rust.rustc ]); 29 30 GETTEXT_SYSTEM = true;
+3 -1
pkgs/top-level/python-packages.nix
··· 9484 9485 skytemple-icons = callPackage ../development/python-modules/skytemple-icons { }; 9486 9487 - skytemple-rust = callPackage ../development/python-modules/skytemple-rust { }; 9488 9489 skytemple-ssb-debugger = callPackage ../development/python-modules/skytemple-ssb-debugger { }; 9490
··· 9484 9485 skytemple-icons = callPackage ../development/python-modules/skytemple-icons { }; 9486 9487 + skytemple-rust = callPackage ../development/python-modules/skytemple-rust { 9488 + inherit (pkgs.darwin.apple_sdk.frameworks) Foundation; 9489 + }; 9490 9491 skytemple-ssb-debugger = callPackage ../development/python-modules/skytemple-ssb-debugger { }; 9492