{ pkgs ? import { } }: let manifest = (pkgs.lib.importTOML ./Cargo.toml).package; in pkgs.rustPlatform.buildRustPackage rec { pname = manifest.name; version = manifest.version; cargoLock = { lockFile = ./Cargo.lock; }; src = pkgs.lib.cleanSource ./.; buildInputs = [ pkgs.darwin.apple_sdk.frameworks.CoreServices pkgs.darwin.apple_sdk.frameworks.AppKit ]; }