mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-09 21:53:24 +00:00
Merge pull request #171617 from tjni/skytemple-rust-darwin
This commit is contained in:
commit
ce79bdfcf0
@ -1,4 +1,11 @@
|
|||||||
{ lib, stdenv, buildPythonPackage, fetchFromGitHub, libiconv, rustPlatform, setuptools-rust }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, libiconv
|
||||||
|
, Foundation
|
||||||
|
, rustPlatform
|
||||||
|
, setuptools-rust }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "skytemple-rust";
|
pname = "skytemple-rust";
|
||||||
@ -17,7 +24,7 @@ buildPythonPackage rec {
|
|||||||
sha256 = "sha256-lXPCxRbaqUC5EfyeBPtJDuGADYOA+DWMaOZRwXppP8E=";
|
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 ]);
|
nativeBuildInputs = [ setuptools-rust ] ++ (with rustPlatform; [ cargoSetupHook rust.cargo rust.rustc ]);
|
||||||
|
|
||||||
GETTEXT_SYSTEM = true;
|
GETTEXT_SYSTEM = true;
|
||||||
|
@ -9484,7 +9484,9 @@ in {
|
|||||||
|
|
||||||
skytemple-icons = callPackage ../development/python-modules/skytemple-icons { };
|
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 { };
|
skytemple-ssb-debugger = callPackage ../development/python-modules/skytemple-ssb-debugger { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user