cloudflare-wranger: upgrade cargoSha256 (#82022)

General infrastructure improvement as part of #79975,
no functional changes expected.
This commit is contained in:
Benjamin Hipple 2020-03-08 19:25:13 -04:00 committed by GitHub
parent fa353a0f0a
commit a38ad34271
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform, pkg-config, openssl, curl, darwin
}:
{ stdenv, fetchFromGitHub, rustPlatform, pkg-config, openssl, curl, darwin }:
rustPlatform.buildRustPackage rec {
pname = "cloudflare-wrangler";
@ -8,13 +7,11 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub {
owner = "cloudflare";
repo = "wrangler";
rev = "v" + version;
rev = "v${version}";
sha256 = "0lh06cnjddmy5h5xvbkg8f97vw2v0wr5fi7vrs3nnidiz7x4rsja";
};
# Delete this on next update; see #79975 for details
legacyCargoFetcher = true;
cargoSha256 = "0s07143vsrb2vwj4rarx5w3wcz1zh0gi8al6cdrfqyl7nhm1mshm";
cargoSha256 = "1q7vilh0bynhdz5bbpig5ibaqvk2153n07gmc715qb80w92sjw7w";
nativeBuildInputs = [ pkg-config ];
@ -29,7 +26,7 @@ rustPlatform.buildRustPackage rec {
doCheck = false;
meta = with stdenv.lib; {
description = "A CLI tool designed for folks who are interested in using Cloudflare Workers.";
description = "A CLI tool designed for folks who are interested in using Cloudflare Workers";
homepage = "https://github.com/cloudflare/wrangler";
license = with licenses; [ asl20 /* or */ mit ];
maintainers = with maintainers; [ ];