nix-config/pkgs/tly/default.nix

14 lines
345 B
Nix
Raw Permalink Normal View History

# Tally counter, also used as stopwatch
# tly <operation> [list-name]
{ lib, writeShellApplication, coreutils, gnugrep, bc }: (writeShellApplication {
name = "tly";
runtimeInputs = [ coreutils gnugrep bc ];
text = builtins.readFile ./tly.sh;
}) // {
meta = with lib; {
licenses = licenses.mit;
platforms = platforms.all;
};
}