{ lib, rustPlatform, fetchFromGitHub, }: rustPlatform.buildRustPackage rec { pname = "spacer"; version = "0.4.5"; src = fetchFromGitHub { owner = "samwho"; repo = "spacer"; rev = "v${version}"; hash = "sha256-GG9v6N7bJN7kYEQRqRIDgPPT0gGJ6LSSr8NWBDKsajo="; }; cargoHash = "sha256-sWE0nFFVAUcCgW6R3BWBdSqn1QMRI8tKnuxX4gpRdvA="; meta = with lib; { description = "CLI tool to insert spacers when command output stops"; homepage = "https://github.com/samwho/spacer"; changelog = "https://github.com/samwho/spacer/releases/tag/${src.rev}"; license = licenses.mit; maintainers = with maintainers; [ figsoda ]; mainProgram = "spacer"; }; }