silicon: 0.5.2 -> 0.5.3

This commit is contained in:
nartsisss 2024-09-26 15:02:30 +03:00
parent f2d419d3b7
commit e4ee01c0ee
No known key found for this signature in database
2 changed files with 425 additions and 296 deletions

File diff suppressed because it is too large Load Diff

View File

@ -17,28 +17,22 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "silicon"; pname = "silicon";
# Remove `postPatch` hack below when updating. version = "0.5.3";
version = "0.5.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Aloxaf"; owner = "Aloxaf";
repo = "silicon"; repo = "silicon";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-fk1qaR7z9taOuNmjMCSdq7RybgV/3u7njU0Gehb98Lk="; hash = "sha256-lwwbjSXW5uonJNZTAqTK14Ib4QDOD4puxY2CsiJk4/Q=";
}; };
cargoLock = { cargoLock = {
lockFile = ./Cargo.lock; lockFile = ./Cargo.lock;
outputHashes = { 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 ] buildInputs = [ expat freetype fira-code fontconfig harfbuzz ]
++ lib.optionals stdenv.hostPlatform.isLinux [ libxcb ] ++ lib.optionals stdenv.hostPlatform.isLinux [ libxcb ]
++ lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [ ++ lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [