magic-wormhole-rs: migrate to new apple-sdk pattern
This commit is contained in:
@@ -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 ];
|
||||
|
||||
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user