mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
Merge pull request #70866 from PyroLagus/add-cloudflare-wrangler
cloudflare-wrangler: init at 1.4.0
This commit is contained in:
commit
fdb5d33ce7
2 changed files with 33 additions and 0 deletions
31
pkgs/development/tools/cloudflare-wrangler/default.nix
Normal file
31
pkgs/development/tools/cloudflare-wrangler/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ stdenv, fetchFromGitHub, rustPlatform, pkg-config, openssl
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cloudflare-wrangler";
|
||||
version = "1.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cloudflare";
|
||||
repo = "wrangler";
|
||||
rev = "v" + version;
|
||||
sha256 = "1agl1cg34iklvniygrkq8dqsampvg17d3nsm0dcr6c3n5rj09gbi";
|
||||
};
|
||||
|
||||
cargoSha256 = "0c2g6yghwqjy21yfdcri4v9aqizd06ww3zx2snns51gnqqk8r57k";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
|
||||
# tries to use "/homeless-shelter" and fails
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
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; [ ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -793,6 +793,8 @@ in
|
|||
|
||||
cloud-sql-proxy = callPackage ../tools/misc/cloud-sql-proxy { };
|
||||
|
||||
cloudflare-wrangler = callPackage ../development/tools/cloudflare-wrangler { };
|
||||
|
||||
container-linux-config-transpiler = callPackage ../development/tools/container-linux-config-transpiler { };
|
||||
|
||||
ccextractor = callPackage ../applications/video/ccextractor { };
|
||||
|
|
Loading…
Reference in a new issue