mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-20 10:36:25 +00:00
f3fd89af54
Many thangs to the hard work and generous availability of: git@github.com:Misterio77/nix-config.git
13 lines
345 B
Nix
13 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;
|
|
};
|
|
}
|