reaction: 2.0.1 -> 2.1.0

- Compilation for Darwin is restored.
- Time-based tests are disabled, as they fail when not enough CPU
  resources are available, such as in CI
This commit is contained in:
ppom
2025-06-25 12:00:00 +02:00
parent 1a3f591fa3
commit 6fa771782b
+11 -4
View File
@@ -7,22 +7,29 @@
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "reaction";
version = "2.0.1";
version = "2.1.0";
src = fetchFromGitLab {
domain = "framagit.org";
owner = "ppom";
repo = "reaction";
tag = "v${finalAttrs.version}";
hash = "sha256-HpnLh0JfGZsHcvDQSiKfW62QcCe/QDsVP/nGBo9x494=";
hash = "sha256-3FJv1n1+cpV4yrBR6PKTAhSkjas/4uTZqn4nW948jAk=";
};
cargoHash = "sha256-i8KZygESxgty8RR3C+JMuE1aAsBxoLuGsL4jqjdGr0E=";
cargoHash = "sha256-Is8Mkl7Qfbe2CwYB+Da99NDQZd9+qR4NnT8iU/JMPJ0=";
nativeBuildInputs = [
installShellFiles
];
checkFlags = [
# Those time-based tests behave poorly in low-resource environments (CI...)
"--skip=daemon::filter::tests"
"--skip=treedb::raw::tests::write_then_read_1000"
"--skip=simple"
];
postInstall = ''
installBin $releaseDir/ip46tables $releaseDir/nft46
installManPage $releaseDir/reaction*.1
@@ -41,6 +48,6 @@ rustPlatform.buildRustPackage (finalAttrs: {
license = lib.licenses.agpl3Plus;
mainProgram = "reaction";
maintainers = with lib.maintainers; [ ppom ];
platforms = lib.platforms.linux;
platforms = lib.platforms.unix;
};
})