From 5692ac2d21e45d344f2a3a5652f4c349c5e5e2f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viorel-C=C4=83t=C4=83lin=20R=C4=83pi=C8=9Beanu?= Date: Tue, 17 Sep 2024 01:49:40 +0300 Subject: [PATCH] arti: 1.2.6 -> 1.2.7 Update the package to the latest version. The test were modified / skipped after the release to fix the following issues that affect the current release. https://gitlab.torproject.org/tpo/core/arti/-/issues/1589 https://gitlab.torproject.org/tpo/core/arti/-/issues/1607 --- pkgs/tools/security/arti/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/arti/default.nix b/pkgs/tools/security/arti/default.nix index 392744dd5d5f..21d8ee4ae154 100644 --- a/pkgs/tools/security/arti/default.nix +++ b/pkgs/tools/security/arti/default.nix @@ -10,7 +10,7 @@ rustPlatform.buildRustPackage rec { pname = "arti"; - version = "1.2.6"; + version = "1.2.7"; src = fetchFromGitLab { domain = "gitlab.torproject.org"; @@ -18,10 +18,10 @@ rustPlatform.buildRustPackage rec { owner = "core"; repo = "arti"; rev = "arti-v${version}"; - hash = "sha256-3/wXxcKjbvlXUjvGgMidORVgeo2c5IuPgjLnY2Nj9oU="; + hash = "sha256-lyko4xwTn03/Es8icOx8GIrjC4XDXvZPDYHYILw8Opo="; }; - cargoHash = "sha256-UeMZlBSbeH/dn5j9vxNkZQ3vkNOxIyPLUOcZe2ZllTM="; + cargoHash = "sha256-I45SaawWAK7iTZDFhJT4YVO439D/3NmWLp3FtFmhLC0="; nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config ]; @@ -33,6 +33,12 @@ rustPlatform.buildRustPackage rec { cargoTestFlags = [ "--package" "arti" ]; + checkFlags = [ + # problematic tests that were fixed after the release + "--skip=reload_cfg::test::watch_single_file" + "--skip=reload_cfg::test::watch_multiple" + ]; + meta = with lib; { description = "Implementation of Tor in Rust"; mainProgram = "arti";