Unverified Commit d3c9d763 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #253124 from kashw2/bindle

bindle: 0.8.1 -> 0.9.1
parents d65a23c7 0a573e55
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -2,21 +2,25 @@

rustPlatform.buildRustPackage rec {
  pname = "bindle";
  version = "0.8.1";
  version = "0.9.1";

  src = fetchFromGitHub {
    owner = "deislabs";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-Mc3LaEOWx8cN7g0r8CtWkGZ746gAXTaFmAZhEIkbWgM=";
    sha256 = "sha256-xehn74fqP0tEtP4Qy9TRGv+P2QoHZLxRHzGoY5cQuv0=";
  };

  postPatch = ''
    rm .cargo/config
  '';

  doCheck = false; # Tests require a network

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;

  cargoSha256 = "sha256-brsemnw/9YEsA2FEIdYGmQMdlIoT1ZEMjvOpF44gcRE=";
  cargoSha256 = "sha256-RECEeo0uoGO5bBe+r++zpTjYYX3BIkT58uht2MLYkN0=";

  cargoBuildFlags = [
    "--bin" "bindle"