Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ccc13c2e53b5
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fdb5d33ce7e8
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Oct 9, 2019

  1. Copy the full SHA
    91f582d View commit details

Commits on Nov 7, 2019

  1. Merge pull request #70866 from PyroLagus/add-cloudflare-wrangler

    cloudflare-wrangler: init at 1.4.0
    matthewbauer authored Nov 7, 2019
    Copy the full SHA
    fdb5d33 View commit details
Showing with 33 additions and 0 deletions.
  1. +31 −0 pkgs/development/tools/cloudflare-wrangler/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
31 changes: 31 additions & 0 deletions pkgs/development/tools/cloudflare-wrangler/default.nix
Original file line number Diff line number Diff line change
@@ -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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -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 { };