Merge pull request #283630 from 0x4A6F/master-silicon

silicon: 0.5.1 -> 0.5.2
This commit is contained in:
Nick Cao
2024-01-25 10:29:35 -05:00
committed by GitHub
3 changed files with 390 additions and 298 deletions
File diff suppressed because it is too large Load Diff
@@ -10,9 +10,7 @@
, libxcb
, python3
, libiconv
, AppKit
, CoreText
, Security
, darwin
, fira-code
, fontconfig
, harfbuzz
@@ -20,33 +18,30 @@
rustPlatform.buildRustPackage rec {
pname = "silicon";
version = "0.5.1";
version = "0.5.2";
src = fetchFromGitHub {
owner = "Aloxaf";
repo = "silicon";
rev = "v${version}";
hash = "sha256-RuzaRJr1n21MbHSeHBt8CjEm5AwbDbvX9Nw5PeBTl+w=";
hash = "sha256-fk1qaR7z9taOuNmjMCSdq7RybgV/3u7njU0Gehb98Lk=";
};
patches = [
# fix build on aarch64-linux, see https://github.com/Aloxaf/silicon/pull/210
(fetchpatch {
url = "https://github.com/Aloxaf/silicon/commit/f666c95d3dab85a81d60067e2f25d29ee8ab59e7.patch";
hash = "sha256-L6tF9ndC38yVn5ZNof1TMxSImmaqZ6bJ/NYhb0Ebji4=";
})
];
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"pathfinder_simd-0.5.1" = "sha256-jQCa8TpGHLWvDT9kXWmlw51QtpKImPlWi082Va721cE=";
"pathfinder_simd-0.5.2" = "sha256-b9RuxtTRKJ9Bnh0AWkoInRVrK/a3KV/2DCbXhN63yF0=";
};
};
buildInputs = [ expat freetype fira-code fontconfig harfbuzz ]
++ lib.optionals stdenv.isLinux [ libxcb ]
++ lib.optionals stdenv.isDarwin [ libiconv AppKit CoreText Security ];
++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
libiconv
AppKit
CoreText
Security
]);
nativeBuildInputs = [ cmake pkg-config rustPlatform.bindgenHook ]
++ lib.optionals stdenv.isLinux [ python3 ];
-4
View File
@@ -20049,10 +20049,6 @@ with pkgs;
sigrok-cli = callPackage ../development/tools/sigrok-cli { };
silicon = callPackage ../tools/misc/silicon {
inherit (darwin.apple_sdk.frameworks) AppKit CoreText Security;
};
simpleTpmPk11 = callPackage ../tools/security/simple-tpm-pk11 { };
slimerjs = callPackage ../development/tools/slimerjs { };