2019-09-23 23:54:46 +01:00
|
|
|
{ stdenv, fetchFromGitHub, gnome3 }:
|
2018-03-18 08:57:37 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "gnome-shell-extension-timepp";
|
2020-08-06 07:16:35 +01:00
|
|
|
version = "unstable-2020-03-15";
|
2018-03-18 08:57:37 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zagortenay333";
|
|
|
|
repo = "timepp__gnome";
|
2020-08-06 07:16:35 +01:00
|
|
|
rev = "34ae477a51267cc1e85992a80cf85a1a7b7005c1";
|
|
|
|
sha256 = "1v0xbrp0x5dwizscxh7h984pax4n92bj8iyw3qvjk27ynpxq8ag1";
|
2018-03-18 08:57:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
uuid = "timepp@zagortenay333";
|
|
|
|
installPhase = ''
|
2020-07-18 12:06:33 +01:00
|
|
|
runHook preInstall
|
2018-03-18 08:57:37 +00:00
|
|
|
mkdir -p $out/share/gnome-shell/extensions/${uuid}
|
|
|
|
cp -r . $out/share/gnome-shell/extensions/${uuid}
|
2020-07-18 12:06:33 +01:00
|
|
|
runHook postInstall
|
2018-03-18 08:57:37 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2019-04-02 22:17:06 +01:00
|
|
|
description = "A todo.txt manager, time tracker, timer, stopwatch, pomodoro, and alarms gnome-shell extension.";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/zagortenay333/timepp__gnome";
|
2018-03-18 08:57:37 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ svsdep ];
|
|
|
|
};
|
|
|
|
}
|