Remove activitywatch

This commit is contained in:
Paul-Henri Froidmont 2026-01-13 13:56:00 +01:00
parent 8ae17f0ef0
commit 9f60454ac7
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
2 changed files with 0 additions and 46 deletions

View file

@ -1,45 +0,0 @@
{
lib,
stdenv,
fetchzip,
autoPatchelfHook,
libGL,
freetype,
libdrm,
fontconfig,
harfbuzz,
}:
stdenv.mkDerivation rec {
pname = "activitywatch-bin";
version = "0.12.0";
src = fetchzip {
url = "https://github.com/ActivityWatch/activitywatch/releases/download/v${version}/activitywatch-v${version}-linux-x86_64.zip";
sha256 = "sha256-4lfUxJTBpjrsRO+pmW7DNKV69tMr2wiarA5Fy4wPgMk=";
};
nativeBuildInputs = [
autoPatchelfHook
libGL
freetype
libdrm
fontconfig
harfbuzz
];
installPhase = ''
mkdir -p $out/bin
cp -r * $out/
ln -s $out/aw-qt $out/bin/aw-qt
ln -s $out/aw-server/aw-server $out/bin/aw-server
ln -s $out/aw-watcher-afk/aw-watcher-afk $out/bin/aw-watcher-afk
ln -s $out/aw-watcher-window/aw-watcher-window $out/bin/aw-watcher-window
'';
meta = with lib; {
homepage = "https://activitywatch.net/";
description = "The best free and open-source automated time tracker. Cross-platform, extensible, privacy-focused.";
license = licenses.mpl20;
platforms = [ "x86_64-linux" ];
};
}