mirror of
https://github.com/gburd/nix-config.git
synced 2024-09-09 11:26:12 +00:00
14 lines
345 B
Nix
14 lines
345 B
Nix
![]() |
# 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;
|
||
|
};
|
||
|
}
|