arti: 2.6.0 -> 2.7.0 (#569296)

This commit is contained in:
whispers
2026-10-02 13:23:42 +00:00
committed by GitHub

View File

@@ -13,7 +13,7 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "arti";
version = "2.6.0";
version = "2.7.0";
src = fetchFromGitLab {
domain = "gitlab.torproject.org";
@@ -21,7 +21,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
owner = "core";
repo = "arti";
tag = "arti-v${finalAttrs.version}";
hash = "sha256-ukGplnZz1O1Djh12COKk8FL/3rLmmWGyl0b816wRWBE=";
hash = "sha256-28s2BnesadPGm1gQDxzIqSgGaUd8ZgoTpKK3WXBRU9Q=";
};
# Working around a bug in cargo that appears with cargo-auditable, see
@@ -29,15 +29,17 @@ rustPlatform.buildRustPackage (finalAttrs: {
postPatch = ''
substituteInPlace crates/arti/Cargo.toml \
--replace-fail '"http"' '"dep:http"' \
--replace-fail '"tokio-util"' '"dep:tokio-util"'
--replace-fail '"tokio-util"' '"dep:tokio-util"' \
--replace-fail '"opentelemetry-appender-tracing",' ""
'';
buildAndTestSubdir = "crates/arti";
cargoHash = "sha256-/7sWTLeVolqliggn1Qw+kxqAeWENHgbCR6hK5Th2z+g=";
cargoHash = "sha256-g+t5X1t0koUzqoHpY8+lncqRobdDuZggXtD3HRk9ryE=";
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ pkg-config ];
buildInputs = [ sqlite ] ++ lib.optionals stdenv.hostPlatform.isLinux [ openssl ];
# `full` includes all stable and non-conflicting feature flags. the primary
# downsides are increased binary size and memory usage for building, but
# those are acceptable for nixpkgs