Merge pull request #253124 from kashw2/bindle

bindle: 0.8.1 -> 0.9.1
This commit is contained in:
Weijia Wang 2023-09-05 18:01:50 +02:00 committed by GitHub
commit d3c9d76315
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"