1 { lib, stdenv, fetchFromGitHub, cmake, asciidoctor, installShellFiles }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
8 owner = "GothenburgBitFactory";
11 sha256 = "sha256-0obIMnPBvMO30o+qXqwtINNRobBR6cFO65B/xjVt+2w=";
12 fetchSubmodules = true;
15 nativeBuildInputs = [ cmake asciidoctor installShellFiles ];
17 dontUseCmakeBuildDir = true;
20 installShellCompletion --cmd timew \
21 --bash completion/timew-completion.bash
25 description = "A command-line time tracker";
26 homepage = "https://timewarrior.net";
27 license = licenses.mit;
28 maintainers = with maintainers; [ matthiasbeyer mrVanDalo ];
29 mainProgram = "timew";
30 platforms = platforms.linux ++ platforms.darwin;