tokio-console: 0.1.7 -> 0.1.9
This commit is contained in:
parent
cf795c3503
commit
c96f76a20b
2 changed files with 19 additions and 3 deletions
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 {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "tokio-console";
|
pname = "tokio-console";
|
||||||
version = "0.1.7";
|
version = "0.1.9";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tokio-rs";
|
owner = "tokio-rs";
|
||||||
repo = "console";
|
repo = "console";
|
||||||
rev = "tokio-console-v${version}";
|
rev = "tokio-console-v${version}";
|
||||||
sha256 = "sha256-yTNLKpBkzzN0X73CjN/UXRGjAGOnCCgJa6A6loA6baM=";
|
hash = "sha256-zISgEhUmAfHErq4AelbnSwtKjtxYH//pbLUAlPKxQYk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-K/auhqlL/K6RYE0lHyvSUqK1cOwJBBZD3QTUevZzLXQ=";
|
cargoHash = "sha256-qK8U6BZN7sdBP8CbzsDeewsGulNA/KFVS9vscBxysRg=";
|
||||||
|
|
||||||
nativeBuildInputs = [ protobuf ];
|
nativeBuildInputs = [ protobuf ];
|
||||||
|
|
||||||
|
cargoPatches = [ ./cargo-lock.patch ];
|
||||||
|
|
||||||
# uses currently unstable tokio features
|
# uses currently unstable tokio features
|
||||||
RUSTFLAGS = "--cfg tokio_unstable";
|
RUSTFLAGS = "--cfg tokio_unstable";
|
||||||
|
|
||||||
|
@ -32,6 +34,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A debugger for asynchronous Rust code";
|
description = "A debugger for asynchronous Rust code";
|
||||||
homepage = "https://github.com/tokio-rs/console";
|
homepage = "https://github.com/tokio-rs/console";
|
||||||
|
mainProgram = "tokio-console";
|
||||||
license = with licenses; [ mit ];
|
license = with licenses; [ mit ];
|
||||||
maintainers = with maintainers; [ max-niederman ];
|
maintainers = with maintainers; [ max-niederman ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue