mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
tokio-console: 0.1.7 -> 0.1.9
This commit is contained in:
parent
cf795c3503
commit
c96f76a20b
13
pkgs/development/tools/tokio-console/cargo-lock.patch
Normal file
13
pkgs/development/tools/tokio-console/cargo-lock.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/Cargo.lock b/Cargo.lock
|
||||
index fcbe50c..27d4c30 100644
|
||||
--- a/Cargo.lock
|
||||
+++ b/Cargo.lock
|
||||
@@ -1390,7 +1390,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "tokio-console"
|
||||
-version = "0.1.8"
|
||||
+version = "0.1.9"
|
||||
dependencies = [
|
||||
"atty",
|
||||
"clap",
|
@ -6,19 +6,21 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "tokio-console";
|
||||
version = "0.1.7";
|
||||
version = "0.1.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tokio-rs";
|
||||
repo = "console";
|
||||
rev = "tokio-console-v${version}";
|
||||
sha256 = "sha256-yTNLKpBkzzN0X73CjN/UXRGjAGOnCCgJa6A6loA6baM=";
|
||||
hash = "sha256-zISgEhUmAfHErq4AelbnSwtKjtxYH//pbLUAlPKxQYk=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-K/auhqlL/K6RYE0lHyvSUqK1cOwJBBZD3QTUevZzLXQ=";
|
||||
cargoHash = "sha256-qK8U6BZN7sdBP8CbzsDeewsGulNA/KFVS9vscBxysRg=";
|
||||
|
||||
nativeBuildInputs = [ protobuf ];
|
||||
|
||||
cargoPatches = [ ./cargo-lock.patch ];
|
||||
|
||||
# uses currently unstable tokio features
|
||||
RUSTFLAGS = "--cfg tokio_unstable";
|
||||
|
||||
@ -32,6 +34,7 @@ rustPlatform.buildRustPackage rec {
|
||||
meta = with lib; {
|
||||
description = "A debugger for asynchronous Rust code";
|
||||
homepage = "https://github.com/tokio-rs/console";
|
||||
mainProgram = "tokio-console";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ max-niederman ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user