silicon: 0.5.2 -> 0.5.3 (#344634)

This commit is contained in:
Nick Cao
2024-09-26 16:24:07 -04:00
committed by GitHub
2 changed files with 425 additions and 296 deletions
+422 -287
View File
File diff suppressed because it is too large Load Diff
+3 -9
View File
@@ -17,28 +17,22 @@
rustPlatform.buildRustPackage rec {
pname = "silicon";
# Remove `postPatch` hack below when updating.
version = "0.5.2";
version = "0.5.3";
src = fetchFromGitHub {
owner = "Aloxaf";
repo = "silicon";
rev = "v${version}";
hash = "sha256-fk1qaR7z9taOuNmjMCSdq7RybgV/3u7njU0Gehb98Lk=";
hash = "sha256-lwwbjSXW5uonJNZTAqTK14Ib4QDOD4puxY2CsiJk4/Q=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"pathfinder_simd-0.5.2" = "sha256-b9RuxtTRKJ9Bnh0AWkoInRVrK/a3KV/2DCbXhN63yF0=";
"pathfinder_simd-0.5.4" = "sha256-RiivtlfdA44vQtFAzNQY9hu2FBwgq4aJ2hjQS8+Xucc=";
};
};
postPatch = ''
# Fix build with Rust 1.80; remove when fixed upstream
ln -sf ${./Cargo.lock} Cargo.lock
'';
buildInputs = [ expat freetype fira-code fontconfig harfbuzz ]
++ lib.optionals stdenv.hostPlatform.isLinux [ libxcb ]
++ lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [