mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
skytemple-rust: add Foundation library on darwin
This commit is contained in:
parent
98df69fed4
commit
57ce8ad61b
@ -1,4 +1,11 @@
|
||||
{ lib, stdenv, buildPythonPackage, fetchFromGitHub, libiconv, rustPlatform, setuptools-rust }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, libiconv
|
||||
, Foundation
|
||||
, rustPlatform
|
||||
, setuptools-rust }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "skytemple-rust";
|
||||
@ -17,7 +24,7 @@ buildPythonPackage rec {
|
||||
sha256 = "sha256-lXPCxRbaqUC5EfyeBPtJDuGADYOA+DWMaOZRwXppP8E=";
|
||||
};
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Foundation ];
|
||||
nativeBuildInputs = [ setuptools-rust ] ++ (with rustPlatform; [ cargoSetupHook rust.cargo rust.rustc ]);
|
||||
|
||||
GETTEXT_SYSTEM = true;
|
||||
|
@ -9484,7 +9484,9 @@ in {
|
||||
|
||||
skytemple-icons = callPackage ../development/python-modules/skytemple-icons { };
|
||||
|
||||
skytemple-rust = callPackage ../development/python-modules/skytemple-rust { };
|
||||
skytemple-rust = callPackage ../development/python-modules/skytemple-rust {
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) Foundation;
|
||||
};
|
||||
|
||||
skytemple-ssb-debugger = callPackage ../development/python-modules/skytemple-ssb-debugger { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user