bite: 0.2.1 -> 0.3, fix x86_64-darwin build (#355807)

This commit is contained in:
Peder Bergebakken Sundt 2024-11-24 04:23:06 +01:00 committed by GitHub
commit 3917762ed3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 31 additions and 16 deletions

View File

@ -104,6 +104,7 @@ name = "arm"
version = "0.0.0"
dependencies = [
"bitvec",
"config",
"debugvault",
"decoder",
"tokenizing",
@ -381,7 +382,7 @@ checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb"
[[package]]
name = "bite"
version = "0.2.1"
version = "0.3.0"
dependencies = [
"commands",
"debugvault",
@ -696,8 +697,6 @@ dependencies = [
"egui",
"log 0.0.0",
"once_cell",
"serde",
"serde_yaml",
"triple_accel",
]
@ -710,6 +709,18 @@ dependencies = [
"crossbeam-utils",
]
[[package]]
name = "config"
version = "0.0.0"
dependencies = [
"dirs",
"egui",
"log 0.0.0",
"once_cell",
"serde",
"serde_yaml",
]
[[package]]
name = "copypasta"
version = "0.10.0"
@ -867,6 +878,7 @@ version = "0.0.0"
dependencies = [
"binformat",
"bitflags 2.4.2",
"config",
"crossbeam-queue",
"dashmap",
"gimli",
@ -1662,6 +1674,7 @@ dependencies = [
"bytemuck",
"cc",
"commands",
"config",
"copypasta",
"crossbeam-queue",
"debugvault",
@ -2045,6 +2058,7 @@ dependencies = [
name = "mips"
version = "0.0.0"
dependencies = [
"config",
"debugvault",
"decoder",
"tokenizing",
@ -2532,6 +2546,7 @@ dependencies = [
"arm",
"binformat",
"commands",
"config",
"debugvault",
"decoder",
"log 0.0.0",
@ -2724,6 +2739,7 @@ dependencies = [
name = "riscv"
version = "0.0.0"
dependencies = [
"config",
"crc",
"debugvault",
"decoder",
@ -4153,6 +4169,7 @@ checksum = "e63e71c4b8bd9ffec2c963173a4dc4cbde9ee96961d4fcb4429db9929b606c34"
name = "x86_64"
version = "0.0.0"
dependencies = [
"config",
"debugvault",
"decoder",
"tokenizing",

View File

@ -1,5 +1,6 @@
{
lib,
apple-sdk_15,
rustPlatform,
fetchFromGitHub,
pkg-config,
@ -16,18 +17,17 @@
pango,
vulkan-loader,
stdenv,
darwin,
wayland,
}:
rustPlatform.buildRustPackage rec {
pname = "bite";
version = "0.2.1";
version = "0.3";
src = fetchFromGitHub {
owner = "WINSDK";
repo = "bite";
rev = "V${version}";
hash = "sha256-A5NII5pLnM4BBy2L+ylXU0anqw4DpKgXmc29fcTq2z8=";
hash = "sha256-gio4J+V8achSuR2vQa2dnvOR/u4Zbb5z0UE0xP0gGCU=";
};
cargoLock = {
@ -60,15 +60,11 @@ rustPlatform.buildRustPackage rec {
pango
vulkan-loader
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.AppKit
darwin.apple_sdk.frameworks.CoreGraphics
darwin.apple_sdk.frameworks.Foundation
darwin.apple_sdk.frameworks.Metal
darwin.apple_sdk.frameworks.QuartzCore
]
++ lib.optionals stdenv.hostPlatform.isLinux [
wayland
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
apple-sdk_15
];
runtimeDependencies =
@ -95,7 +91,10 @@ rustPlatform.buildRustPackage rec {
icon = "bite";
desktopName = "BiTE";
comment = meta.description;
categories = ["Development" "Utility"];
categories = [
"Development"
"Utility"
];
})
];
@ -105,6 +104,5 @@ rustPlatform.buildRustPackage rec {
license = licenses.mit;
maintainers = with maintainers; [ vinnymeller ];
mainProgram = "bite";
broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64;
};
}