From fa71352fb08d8abb5fece98c20f88e2389eeee86 Mon Sep 17 00:00:00 2001 From: figsoda Date: Fri, 3 Mar 2023 10:53:28 -0500 Subject: [PATCH] cargo-dist: 0.0.3 -> 0.0.4 Diff: https://github.com/axodotdev/cargo-dist/compare/v0.0.3...v0.0.4 Changelog: https://github.com/axodotdev/cargo-dist/blob/v0.0.4/CHANGELOG.md --- pkgs/development/tools/rust/cargo-dist/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/rust/cargo-dist/default.nix b/pkgs/development/tools/rust/cargo-dist/default.nix index 580a31945b75..508580e3cb89 100644 --- a/pkgs/development/tools/rust/cargo-dist/default.nix +++ b/pkgs/development/tools/rust/cargo-dist/default.nix @@ -3,20 +3,22 @@ , fetchFromGitHub , pkg-config , bzip2 +, stdenv +, rustup }: rustPlatform.buildRustPackage rec { pname = "cargo-dist"; - version = "0.0.3"; + version = "0.0.4"; src = fetchFromGitHub { owner = "axodotdev"; repo = "cargo-dist"; rev = "v${version}"; - hash = "sha256-I++dffdEXDg55WR66+Zl5P2KBvt19sp3aZkXA1GBb4A="; + hash = "sha256-7JbWcG5FDJaXvtEQKlOgbsFpFQQ3n02MVFD+lCFXtt0="; }; - cargoHash = "sha256-fLHkW28V5MBQeQDd0VrtEjou5FYwArkNDtS/jXKo8G8="; + cargoHash = "sha256-TY1YRtre2rz0Hh+6ca22i+XCBMOEOS3QnSsf/rfY47g="; nativeBuildInputs = [ pkg-config @@ -26,6 +28,10 @@ rustPlatform.buildRustPackage rec { bzip2 ]; + nativeCheckInputs = lib.optionals stdenv.isDarwin [ + rustup + ]; + meta = with lib; { description = "A tool for building final distributable artifacts and uploading them to an archive"; homepage = "https://github.com/axodotdev/cargo-dist";