From 6fec6c54cd560b12578e3f047c0fd5879cdaacff Mon Sep 17 00:00:00 2001 From: Alexander Sieg Date: Sat, 22 Oct 2022 12:23:42 +0200 Subject: [PATCH] tokio-console: 0.1.3 -> 0.1.7 --- .../development/tools/tokio-console/default.nix | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/pkgs/development/tools/tokio-console/default.nix b/pkgs/development/tools/tokio-console/default.nix index 6ff132e8146a..8c9b2803a0ae 100644 --- a/pkgs/development/tools/tokio-console/default.nix +++ b/pkgs/development/tools/tokio-console/default.nix @@ -6,19 +6,29 @@ rustPlatform.buildRustPackage rec { pname = "tokio-console"; - version = "0.1.3"; + version = "0.1.7"; src = fetchFromGitHub { owner = "tokio-rs"; repo = "console"; rev = "tokio-console-v${version}"; - sha256 = "sha256-v9BxfBLRJug/1AgvDV7P5AOXwZfCu1mNgJjhbipoZNg="; + sha256 = "sha256-yTNLKpBkzzN0X73CjN/UXRGjAGOnCCgJa6A6loA6baM="; }; - cargoSha256 = "sha256-584EC9x7tJE3pHqgQVh6LWKuCgLXuBBEnaPvo1A8RIs="; + cargoSha256 = "sha256-K/auhqlL/K6RYE0lHyvSUqK1cOwJBBZD3QTUevZzLXQ="; nativeBuildInputs = [ protobuf ]; + # uses currently unstable tokio features + RUSTFLAGS = "--cfg tokio_unstable"; + + checkFlags = [ + # tests depend upon git repository at test execution time + "--skip bootstrap" + "--skip config::tests::args_example_changed" + "--skip config::tests::toml_example_changed" + ]; + meta = with lib; { description = "A debugger for asynchronous Rust code"; homepage = "https://github.com/tokio-rs/console"; @@ -26,4 +36,3 @@ rustPlatform.buildRustPackage rec { maintainers = with maintainers; [ max-niederman ]; }; } -