Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 23 lines 608 B view raw
1{ lib, fetchFromGitHub, rustPlatform }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "rtss"; 5 version = "0.6.2"; 6 7 src = fetchFromGitHub { 8 owner = "Freaky"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-WeeZsB42/4SlIaWwKvOqWiPNV5p0QOToynI8ozVVxJM="; 12 }; 13 14 cargoHash = "sha256-aHK9KBzRbU2IYr7vOdlz0Aw4iYGjD6VedbWPE/V7AVc="; 15 16 meta = with lib; { 17 description = "Annotate output with relative durations between lines"; 18 mainProgram = "rtss"; 19 homepage = "https://github.com/Freaky/rtss"; 20 license = licenses.mit; 21 maintainers = with maintainers; [ djanatyn ]; 22 }; 23}