nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenv, qmake, fetchFromGitHub, qtbase, qttools, wrapQtAppsHook }:
2
3stdenv.mkDerivation rec {
4 pname = "kapow";
5 version = "1.5.10";
6
7 src = fetchFromGitHub {
8 owner = "gottcode";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "1fz9fb4w21ax8hjs6dwfn2410ig4lqvzdlijq0jcj3jbgxd4i1gw";
12 };
13
14 nativeBuildInputs = [ qmake qttools wrapQtAppsHook ];
15
16 buildInputs = [ qtbase ];
17
18 meta = with lib; {
19 description = "Punch clock to track time spent on projects";
20 homepage = "https://gottcode.org/kapow/";
21 maintainers = with maintainers; [ orivej ];
22 platforms = platforms.linux;
23 license = licenses.gpl3Plus;
24 };
25}