yara-x: 1.6.0 -> 1.8.1 (#450788)

This commit is contained in:
Fabian Affolter
2025-10-11 19:57:15 +00:00
committed by GitHub
+8 -3
View File
@@ -12,16 +12,16 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "yara-x";
version = "1.6.0";
version = "1.8.1";
src = fetchFromGitHub {
owner = "VirusTotal";
repo = "yara-x";
tag = "v${finalAttrs.version}";
hash = "sha256-LpdpdzUof+Buz5QQcWUr23AsSyfvUQYPp7RhHWXRb+I=";
hash = "sha256-dl2uxMo81K2ZEAfZk2OP0FXTY4lKGmzqZe0QQo/YIsA=";
};
cargoHash = "sha256-IO8ER92vWO3Q9MntaGwdhEFgy9G35Q3LOG5GU5rJpQY=";
cargoHash = "sha256-+Bva1uch6fd6gl2MH2ss3S6Ea1QkvgVePhdUVUDuIE8=";
nativeBuildInputs = [
installShellFiles
@@ -42,6 +42,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
--zsh <($out/bin/yr completion zsh)
'';
checkFlags = [
# Seems to be flaky
"--skip=scanner::blocks::tests::block_scanner_timeout"
];
passthru.tests.version = testers.testVersion {
package = yara-x;
};