mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
[Backport release-26.05] jasterix: fix tests (#530604)
This commit is contained in:
commit
77c2ae302d
1 changed files with 10 additions and 2 deletions
|
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
applyPatches,
|
||||
boost,
|
||||
catch2_3,
|
||||
cmake,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
lib,
|
||||
libarchive,
|
||||
libpcap,
|
||||
|
|
@ -24,6 +24,14 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
hash = "sha256-df5tByZwtQLdV0UlSo1WkgyoF3hReU/mN74V2WL6zoI=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "jasterix-fix-tests.patch";
|
||||
url = "https://github.com/OpenATSGmbH/jASTERIX/commit/b79e59c042ebb7eee31f50a7ed48840bcec50429.patch";
|
||||
hash = "sha256-V0/nMJGb8ZB/Z6bKvyZnic57HXAsUAHXgyVq+D4yFDw=";
|
||||
})
|
||||
];
|
||||
|
||||
# Disable boost-stacktrace_backtrace, which is an optional dependency and not yet available in Nix.
|
||||
postPatch = ''
|
||||
sed -i 's/\(find_package .*\) stacktrace_backtrace/\1/' CMakeLists.txt
|
||||
|
|
@ -54,7 +62,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
openssl.dev
|
||||
];
|
||||
|
||||
doCheck = false; # The tests require ASTERIX files that are not publicly provided
|
||||
doCheck = true;
|
||||
|
||||
strictDeps = true;
|
||||
__structuredAttrs = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue