nixpkgs-suyu/pkgs/desktops/gnome-3/extensions/timepp/default.nix
2020-04-10 17:54:53 +01:00

27 lines
961 B
Nix

{ 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
};
}