Skip to content

Commit

Permalink
click: 0.3.1 -> 0.3.2
Browse files Browse the repository at this point in the history
patch necessary to fix "error: the lock file needs to be updated but --frozen was passed to prevent this"

(cherry picked from commit 95c7d83)
  • Loading branch information
mbode authored and Mic92 committed Sep 15, 2018
1 parent 4e96a5f commit c96aee4
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pkgs/applications/networking/cluster/click/default.nix
Expand Up @@ -4,17 +4,18 @@ with rustPlatform;

buildRustPackage rec {
name = "click-${version}";
version = "0.3.1";
rev = "b5dfb4a8f8344330a098cb61523695dfe0fd296a";
version = "0.3.2";

src = fetchFromGitHub {
rev = "v${version}";
owner = "databricks";
repo = "click";
sha256 = "0a2hq4hcxkkx7gs5dv7sr3j5jy2dby4r6y090z7zl2xy5wydr7bi";
inherit rev;
sha256 = "0sbj41kypn637z1w115w2h5v6bxz3y6w5ikgpx3ihsh89lkc19d2";
};

cargoSha256 = "03vgbkv9xsnx44vivbbhjgxv9drp0yjnimgy6hwm32x74r00k3hj";
cargoSha256 = "05asqp5312a1g26pvf5hgqhc4kj3iw2hdvml2ycvga33sxb7zm7r";

patches = [ ./fix_cargo_lock_version.patch ];

buildInputs = stdenv.lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];

Expand Down
@@ -0,0 +1,13 @@
diff --git a/Cargo.lock b/Cargo.lock
index ff80350..c86c6fe 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -111,7 +111,7 @@ dependencies = [

[[package]]
name = "click"
-version = "0.3.1"
+version = "0.3.2"
dependencies = [
"ansi_term 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
"base64 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)",

0 comments on commit c96aee4

Please sign in to comment.