Commit 3a44e830 authored by Misty De Méo's avatar Misty De Méo
Browse files

cargo-dist: 0.8.0 -> 0.8.2

parent 7eb48c31
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -14,16 +14,16 @@

rustPlatform.buildRustPackage rec {
  pname = "cargo-dist";
  version = "0.8.0";
  version = "0.8.2";

  src = fetchFromGitHub {
    owner = "axodotdev";
    repo = "cargo-dist";
    rev = "v${version}";
    hash = "sha256-AyxC1YS1VvCBIS6lKDtT2zX3bhorF4G+qg+brm4tJm8=";
    hash = "sha256-Y4jXAZgJj0d1fUFuM94umlj/JsawWs3KxEQAucsT24s=";
  };

  cargoHash = "sha256-kStLY/Hjj0DeisjXzw2BbmJalNljUP0ogBEXcoDX3FE=";
  cargoHash = "sha256-Jza9U5vL45rvDPLb4/iELneKgy1OTCMBM1JxfuxZigQ=";

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

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

  passthru.updateScript = nix-update-script { };