summary refs log blame commit diff
path: root/pkgs/applications/misc/kapow/default.nix
blob: 49fbed7b1efb9415af3e5ab650bc9c8dbe98f7f1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
                                                                         















                                                                    
                    






                                                                
{ lib, stdenv, qmake, fetchFromGitHub, qtbase, qttools, wrapQtAppsHook }:

stdenv.mkDerivation rec {
  pname = "kapow";
  version = "1.5.10";

  src = fetchFromGitHub {
    owner = "gottcode";
    repo = pname;
    rev = "v${version}";
    sha256 = "1fz9fb4w21ax8hjs6dwfn2410ig4lqvzdlijq0jcj3jbgxd4i1gw";
  };

  nativeBuildInputs = [ qmake qttools wrapQtAppsHook ];

  buildInputs = [ qtbase ];

  meta = with lib; {
    description = "Punch clock to track time spent on projects";
    homepage = "https://gottcode.org/kapow/";
    maintainers = with maintainers; [ orivej ];
    platforms = platforms.linux;
    license = licenses.gpl3Plus;
  };
}