Remove activitywatch
This commit is contained in:
parent
8ae17f0ef0
commit
9f60454ac7
2 changed files with 0 additions and 46 deletions
|
|
@ -1,4 +1,3 @@
|
||||||
final: prev: {
|
final: prev: {
|
||||||
activitywatch-bin = prev.callPackage ./packages/activitywatch.nix { };
|
|
||||||
mia = prev.callPackage ./packages/mia/package.nix { };
|
mia = prev.callPackage ./packages/mia/package.nix { };
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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" ];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue