summary refs log blame commit diff
path: root/pkgs/applications/misc/timewarrior/default.nix
blob: a8b86e71cb135c4f4dabb503481c1cc1e5da0ae1 (plain) (tree)
1
2
3
4
5
6
7
8
                                   

                         
                        
                    


                                





                                                                    





                                                
                                                        
                           
                                                                
                                                    


    
{ stdenv, fetchFromGitHub, cmake }:

stdenv.mkDerivation rec {
  pname = "timewarrior";
  version = "1.2.0";

  enableParallelBuilding = true;

  src = fetchFromGitHub {
    owner = "GothenburgBitFactory";
    repo = "timewarrior";
    rev = "v${version}";
    sha256 = "0ci8kb7gdp1dsv6xj30nbz8lidrmn50pbriw26wv8mdhs17rfk7w";
    fetchSubmodules = true;
  };

  nativeBuildInputs = [ cmake ];

  meta = with stdenv.lib; {
    description = "A command-line time tracker";
    homepage = https://taskwarrior.org/docs/timewarrior;
    license = licenses.mit;
    maintainers = with maintainers; [ matthiasbeyer mrVanDalo ];
    platforms = platforms.linux ++ platforms.darwin;
  };
}