diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2024-06-30 19:51:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-30 19:51:33 +0200 |
commit | 16116b4d4246d68e8e51913e7f70c81c5e300e70 (patch) | |
tree | 06f44fee50135b8aaaa8384155063a2afdfe1463 | |
parent | 3d7a9d1e5daed73491f851751d93ac533e4fcc7d (diff) | |
parent | 36ca74a754e85a33bc0bb884028f2a69b8ee39c9 (diff) |
Merge pull request #323557 from fabaff/fast-ssh-bump
-rw-r--r-- | pkgs/tools/networking/fast-ssh/default.nix | 29 |
1 files changed, 10 insertions, 19 deletions
diff --git a/pkgs/tools/networking/fast-ssh/default.nix b/pkgs/tools/networking/fast-ssh/default.nix index 3fb812a38ee74..59f61d9af7101 100644 --- a/pkgs/tools/networking/fast-ssh/default.nix +++ b/pkgs/tools/networking/fast-ssh/default.nix @@ -1,32 +1,23 @@ -{ lib -, stdenv -, fetchFromGitHub -, fetchpatch -, rustPlatform -, Security +{ + lib, + stdenv, + fetchFromGitHub, + rustPlatform, + Security, }: rustPlatform.buildRustPackage rec { pname = "fast-ssh"; - version = "0.3.1"; + version = "0.3.2"; src = fetchFromGitHub { owner = "julien-r44"; repo = "fast-ssh"; - rev = "v${version}"; - sha256 = "sha256-eHJdMe8RU6Meg/9+NCfIneD5BqNUc2yIiQ8Z5UqUBUI="; + rev = "refs/tags/v${version}"; + hash = "sha256-Wn1kwuY1tRJVe9DJexyQ/h+Z1gNtluj78QpBYjeCbSE="; }; - cargoSha256 = "sha256-sIQNoH3UWX3SwCFCPZEREIFR7C28ml4oGsrq6wuOAT0="; - - patches = [ - # Can be removed as soon as this is is merged: https://github.com/Julien-R44/fast-ssh/pull/22 - (fetchpatch { - name = "fix-ambiguous-as_ref.patch"; - url = "https://github.com/Julien-R44/fast-ssh/commit/c082a64a4b412380b2ab145c24161fdaa26175db.patch"; - hash = "sha256-egkoJF+rQiuClNL8ltzmB7oHngbpOxO29rlwZ3nELOE="; - }) - ]; + cargoHash = "sha256-CJ3Xx5jaTD01Ai7YAY4vB7RB5lU1BIXq7530B6+KeX4="; buildInputs = lib.optional stdenv.isDarwin Security; |