From e6c071e402fda537f7d1bbd55c3365e0f124880e Mon Sep 17 00:00:00 2001 From: Thomas Butter Date: Fri, 15 May 2026 19:15:32 +0000 Subject: [PATCH] cargo-dist: 0.30.4 -> 0.31.0 --- pkgs/by-name/ca/cargo-dist/package.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/ca/cargo-dist/package.nix b/pkgs/by-name/ca/cargo-dist/package.nix index 0bc7cd8fc2d6..7aefed0d936d 100644 --- a/pkgs/by-name/ca/cargo-dist/package.nix +++ b/pkgs/by-name/ca/cargo-dist/package.nix @@ -9,20 +9,21 @@ zstd, git, rustup, + cacert, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-dist"; - version = "0.30.4"; + version = "0.31.0"; src = fetchFromGitHub { owner = "axodotdev"; repo = "cargo-dist"; - rev = "v${finalAttrs.version}"; - hash = "sha256-Woaa+KNRLqTRgglGM50L8w6UXlnDTcUHQZ20AYbZPnE="; + tag = "v${finalAttrs.version}"; + hash = "sha256-BSE3pXo7Kk104v7VEh5WUk+Km1/n/kNf8NJGVGjUKoc="; }; - cargoHash = "sha256-DVIckYfIf7EqqRXQbNI3msvDopSY7RxR11942w3XBjg="; + cargoHash = "sha256-bfX2Yt0wrPg1pbvYdr2O9VUqYlCFVRh4PIABWxZTgjg="; nativeBuildInputs = [ pkg-config @@ -37,10 +38,12 @@ rustPlatform.buildRustPackage (finalAttrs: { nativeCheckInputs = [ git rustup + cacert ]; env = { ZSTD_SYS_USE_PKG_CONFIG = true; + SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt"; }; # remove tests that require internet access @@ -54,7 +57,7 @@ rustPlatform.buildRustPackage (finalAttrs: { description = "Tool for building final distributable artifacts and uploading them to an archive"; mainProgram = "dist"; homepage = "https://github.com/axodotdev/cargo-dist"; - changelog = "https://github.com/axodotdev/cargo-dist/blob/${finalAttrs.src.rev}/CHANGELOG.md"; + changelog = "https://github.com/axodotdev/cargo-dist/blob/v${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ asl20 mit