Add the package `staccato`, "a command line program that lets you compute statistics from values from a file or standard input". I have tested this change per nixpkgs manual section 13.1 ("Making patches").