about summary refs log tree commit diff
path: root/pkgs/development/tools/tokio-console
diff options
context:
space:
mode:
authorAlexander Sieg <alex@xanderio.de>2022-10-22 12:23:42 +0200
committerAlexander Sieg <alex@xanderio.de>2022-10-23 17:04:52 +0200
commit6fec6c54cd560b12578e3f047c0fd5879cdaacff (patch)
treef076abfc2fe0334ae02d1f2f710d831ade64c6c8 /pkgs/development/tools/tokio-console
parentb6b3d3c13bb73337aed6c9ee1e5eb4fc1e0daee0 (diff)
tokio-console: 0.1.3 -> 0.1.7
Diffstat (limited to 'pkgs/development/tools/tokio-console')
-rw-r--r--pkgs/development/tools/tokio-console/default.nix17
1 files changed, 13 insertions, 4 deletions
diff --git a/pkgs/development/tools/tokio-console/default.nix b/pkgs/development/tools/tokio-console/default.nix
index 6ff132e8146a7..8c9b2803a0aee 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 ];
   };
 }
-