git.iko.soy/typeable/nixpkgs
on master help sign in
click: 0.3.1 -> 0.3.2

patch necessary to fix "error: the lock file needs to be updated but --frozen was passed to prevent this"

commit95c7d8300f327406d72ba68625fb54a4b99f7b84 authorMaximilian Bode <maximilian.bode@tngtech.com> dateSat 15 Sep 2018, 10:38 (8 years ago) parentf83a262
2 files changed+19−5
pkgs/applications/networking/cluster/click/default.nix+6−5 pkgs/applications/networking/cluster/click/fix_cargo_lock_version.patch+13
pkgs/applications/networking/cluster/click/default.nix+6−5
@@ -4,17 +4,18 @@ with rustPlatform;
44
55buildRustPackage rec {
66 name = "click-${version}";
7− version = "0.3.1";
8− rev = "b5dfb4a8f8344330a098cb61523695dfe0fd296a";
7+ version = "0.3.2";
98
109 src = fetchFromGitHub {
10+ rev = "v${version}";
1111 owner = "databricks";
1212 repo = "click";
13− sha256 = "0a2hq4hcxkkx7gs5dv7sr3j5jy2dby4r6y090z7zl2xy5wydr7bi";
14− inherit rev;
13+ sha256 = "0sbj41kypn637z1w115w2h5v6bxz3y6w5ikgpx3ihsh89lkc19d2";
1514 };
1615
17− cargoSha256 = "03vgbkv9xsnx44vivbbhjgxv9drp0yjnimgy6hwm32x74r00k3hj";
16+ cargoSha256 = "05asqp5312a1g26pvf5hgqhc4kj3iw2hdvml2ycvga33sxb7zm7r";
17+
18+ patches = [ ./fix_cargo_lock_version.patch ];
1819
1920 buildInputs = stdenv.lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
2021
pkgs/applications/networking/cluster/click/fix_cargo_lock_version.patchnew file+13
@@ -0,0 +1,13 @@
1+diff --git a/Cargo.lock b/Cargo.lock
2+index ff80350..c86c6fe 100644
3+--- a/Cargo.lock
4++++ b/Cargo.lock
5+@@ -111,7 +111,7 @@ dependencies = [
6+
7+ [[package]]
8+ name = "click"
9+-version = "0.3.1"
10++version = "0.3.2"
11+ dependencies = [
12+ "ansi_term 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
13+ "base64 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)",