2022-01-03 16:56:52 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
, protobuf
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "tokio-console";
|
2022-03-30 09:31:56 +00:00
|
|
|
version = "0.1.3";
|
2022-01-03 16:56:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tokio-rs";
|
|
|
|
repo = "console";
|
|
|
|
rev = "tokio-console-v${version}";
|
2022-03-30 09:31:56 +00:00
|
|
|
sha256 = "sha256-v9BxfBLRJug/1AgvDV7P5AOXwZfCu1mNgJjhbipoZNg=";
|
2022-01-03 16:56:52 +00:00
|
|
|
};
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
cargoSha256 = "sha256-584EC9x7tJE3pHqgQVh6LWKuCgLXuBBEnaPvo1A8RIs=";
|
2022-01-03 16:56:52 +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 ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|