depot/third_party/nixpkgs/pkgs/desktops/gnome-3/extensions/timepp/default.nix
Default email 1ffc76754d Project import generated by Copybara.
GitOrigin-RevId: a5cc7d3197705f933d88e97c0c61849219ce76c1
2020-07-18 18:06:22 +02:00

29 lines
1,008 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 = ''
runHook preInstall
mkdir -p $out/share/gnome-shell/extensions/${uuid}
cp -r . $out/share/gnome-shell/extensions/${uuid}
runHook postInstall
'';
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
};
}