summary refs log tree commit diff
path: root/pkgs/desktops/gnome-3/extensions/timepp/default.nix
blob: 6ac9a4a0331e8b044d75f8f4bd6c813c5fb9fb9f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv, fetchFromGitHub, gnome3 }:

stdenv.mkDerivation rec {
  pname = "gnome-shell-extension-timepp";
  version = "unstable-2019-03-30";

  src = fetchFromGitHub {
    owner = "zagortenay333";
    repo = "timepp__gnome";
    rev = "f90fb5573b37ac89fb57bf62e07d6d3bdb6a2c63";
    sha256 = "0p6rsbm6lf61vzly775qkwc2rcjjl38bkqdxnv4sccqmw2wwclnp";
  };

  uuid = "timepp@zagortenay333";
  installPhase = ''
    mkdir -p $out/share/gnome-shell/extensions/${uuid}
    cp -r . $out/share/gnome-shell/extensions/${uuid}
  '';

  meta = with stdenv.lib; {
    description = "A todo.txt manager, time tracker, timer, stopwatch, pomodoro, and alarms gnome-shell extension.";
    homepage = "https://github.com/zagortenay333/timepp__gnome";
    license = licenses.gpl3;
    maintainers = with maintainers; [ svsdep ];
    broken = versionAtLeast gnome3.gnome-shell.version "3.32"; # Dosen't support 3.34 https://github.com/zagortenay333/timepp__gnome/issues/113
  };
}