1{
2 lib,
3 fetchFromGitHub,
4 rustPlatform,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "rtss";
9 version = "0.6.2";
10
11 src = fetchFromGitHub {
12 owner = "Freaky";
13 repo = "rtss";
14 rev = "v${version}";
15 sha256 = "sha256-WeeZsB42/4SlIaWwKvOqWiPNV5p0QOToynI8ozVVxJM=";
16 };
17
18 cargoHash = "sha256-7+58CMm9nPg9tVXphUcIufFGONOxjAlSWBseq5fbM44=";
19
20 meta = with lib; {
21 description = "Annotate output with relative durations between lines";
22 mainProgram = "rtss";
23 homepage = "https://github.com/Freaky/rtss";
24 license = licenses.mit;
25 maintainers = with maintainers; [ djanatyn ];
26 };
27}