diff options
author | Max Niederman <max@maxniederman.com> | 2021-12-19 18:04:22 -0800 |
---|---|---|
committer | Max Niederman <max@maxniederman.com> | 2021-12-19 18:04:22 -0800 |
commit | 6245018b19603e9c1819ed50b9d9d4090aab4ba0 (patch) | |
tree | 145df55b7428522f53c24b5dc884453d80c462d2 /pkgs/development/tools/tokio-console | |
parent | f9c6fd3779468cd31ad1a696d4f9dda2630e5ee9 (diff) |
tokio-console: init at 0.1.0
Diffstat (limited to 'pkgs/development/tools/tokio-console')
-rw-r--r-- | pkgs/development/tools/tokio-console/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/tools/tokio-console/default.nix b/pkgs/development/tools/tokio-console/default.nix new file mode 100644 index 0000000000000..f04de27f1c24e --- /dev/null +++ b/pkgs/development/tools/tokio-console/default.nix @@ -0,0 +1,29 @@ +{ lib +, fetchFromGitHub +, rustPlatform +, protobuf +}: + +rustPlatform.buildRustPackage rec { + pname = "tokio-console"; + version = "0.1.0"; + + src = fetchFromGitHub { + owner = "tokio-rs"; + repo = "console"; + rev = "tokio-console-v${version}"; + sha256 = "sha256-1wxRTdDmgTlGJ3W1txDA/3Rnccs3KBw55vprrGaVnkg="; + }; + + cargoSha256 = "sha256-RScu5V55OowwWHi3MLjW8DPlTMA/IEBYFt4VUDUHPKo="; + + 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 ]; + }; +} + |