2021-12-20 02:04:22 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
, protobuf
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "tokio-console";
|
2022-03-15 14:58:23 +00:00
|
|
|
version = "0.1.3";
|
2021-12-20 02:04:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tokio-rs";
|
|
|
|
repo = "console";
|
|
|
|
rev = "tokio-console-v${version}";
|
2022-03-15 14:58:23 +00:00
|
|
|
sha256 = "sha256-v9BxfBLRJug/1AgvDV7P5AOXwZfCu1mNgJjhbipoZNg=";
|
2021-12-20 02:04:22 +00:00
|
|
|
};
|
|
|
|
|
2022-03-15 14:58:23 +00:00
|
|
|
cargoSha256 = "sha256-584EC9x7tJE3pHqgQVh6LWKuCgLXuBBEnaPvo1A8RIs=";
|
2021-12-20 02:04:22 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ protobuf ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A debugger for asynchronous Rust code";
|
|
|
|
homepage = "https://github.com/tokio-rs/console";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ max-niederman ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|