Skip to content

Commit

Permalink
Merge pull request #281911 from mistydemeo/update_cargo-dist
Browse files Browse the repository at this point in the history
cargo-dist: 0.5.0 -> 0.7.2
  • Loading branch information
matthiasbeyer authored Jan 19, 2024
2 parents 2eba3f7 + 0c69a9b commit 9751adf
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pkgs/development/tools/rust/cargo-dist/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@

rustPlatform.buildRustPackage rec {
pname = "cargo-dist";
version = "0.5.0";
version = "0.7.2";

src = fetchFromGitHub {
owner = "axodotdev";
repo = "cargo-dist";
rev = "v${version}";
hash = "sha256-Km/vaEOna+RvckNawIQTSp+FW49P5jx9euKeMaLuOsw=";
hash = "sha256-K+pqyH3Ajfp+tPhAuK7XCNfGdXa15oNqfsQcogvmQ8o=";
};

cargoHash = "sha256-ccVflBHwEAuG0Y9Mmit1X6FLsM4bbt8Kd7fB6zBwKMc=";
cargoHash = "sha256-ZJdVhSznznnF1P28XkwtoeWoeymtPNaAZgOaKby+gnk=";

nativeBuildInputs = [
pkg-config
Expand All @@ -45,9 +45,10 @@ rustPlatform.buildRustPackage rec {
ZSTD_SYS_USE_PKG_CONFIG = true;
};

# remove tests that require internet access
# remove tests that require internet access and a git repo
postPatch = ''
rm cargo-dist/tests/integration-tests.rs
rm cargo-dist/tests/cli-tests.rs
'';

meta = with lib; {
Expand Down

0 comments on commit 9751adf

Please sign in to comment.