magic-wormhole-rs: migrate to new apple-sdk pattern

This commit is contained in:
Alex James
2024-12-07 18:50:23 -06:00
parent ffd10023d7
commit 0faaecba01
2 changed files with 2 additions and 7 deletions
@@ -4,8 +4,6 @@
, rustPlatform
, libxcb
, installShellFiles
, Security
, AppKit
}:
rustPlatform.buildRustPackage rec {
pname = "magic-wormhole-rs";
@@ -20,8 +18,7 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-+OcjILDwGg0eybzBgVIZeVelnQatPU6rgd/b6buvTRQ=";
buildInputs = [ libxcb ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ Security AppKit ];
buildInputs = [ libxcb ];
nativeBuildInputs = [ installShellFiles ];
+1 -3
View File
@@ -14662,9 +14662,7 @@ with pkgs;
magic-wormhole = with python3Packages; toPythonApplication magic-wormhole;
magic-wormhole-rs = callPackage ../tools/networking/magic-wormhole-rs {
inherit (darwin.apple_sdk.frameworks) Security AppKit;
};
magic-wormhole-rs = callPackage ../tools/networking/magic-wormhole-rs { };
magnetophonDSP = lib.recurseIntoAttrs {
CharacterCompressor = callPackage ../applications/audio/magnetophonDSP/CharacterCompressor { };