Merge pull request #79822 from mmahut/cloudflare-wrangler
cloudflare-wrangler: 1.4.0 -> 1.7.0
This commit is contained in:
commit
372b0e9df1
@ -1,25 +1,29 @@
|
||||
{ stdenv, fetchFromGitHub, rustPlatform, pkg-config, openssl
|
||||
{ stdenv, fetchFromGitHub, rustPlatform, pkg-config, openssl, curl, darwin
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cloudflare-wrangler";
|
||||
version = "1.4.0";
|
||||
version = "1.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cloudflare";
|
||||
repo = "wrangler";
|
||||
rev = "v" + version;
|
||||
sha256 = "1agl1cg34iklvniygrkq8dqsampvg17d3nsm0dcr6c3n5rj09gbi";
|
||||
sha256 = "0vc7f3jki2fdwlgpwhaxzm58g2898wpwbib7dmibb9kxv4jna8gj";
|
||||
};
|
||||
|
||||
# Delete this on next update; see #79975 for details
|
||||
legacyCargoFetcher = true;
|
||||
|
||||
cargoSha256 = "0c2g6yghwqjy21yfdcri4v9aqizd06ww3zx2snns51gnqqk8r57k";
|
||||
cargoSha256 = "1f3gy3agpdg6pck5acxjfrd89hyp9x1byqhfizlizbfmwrqs4il8";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
buildInputs = [ openssl ] ++ stdenv.lib.optionals stdenv.isDarwin [
|
||||
curl
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
darwin.apple_sdk.frameworks.CoreServices
|
||||
darwin.apple_sdk.frameworks.CoreFoundation
|
||||
];
|
||||
|
||||
# tries to use "/homeless-shelter" and fails
|
||||
doCheck = false;
|
||||
|
Loading…
Reference in New Issue
Block a user