Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
41 lines
1.2 KiB
Nix
41 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
openssl,
|
|
pkg-config,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "awatcher";
|
|
version = "0.3.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "2e3s";
|
|
repo = "awatcher";
|
|
rev = "v${version}";
|
|
hash = "sha256-bxFc6oM+evIQTjrsWmb7dXOUlSjurjc4CzHpxB+667c=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ openssl ];
|
|
doCheck = false;
|
|
|
|
cargoHash = "sha256-pUqwg7jblSWRLPcsUDqkir/asSM8zY0jrvrre4OIeZc=";
|
|
|
|
meta = with lib; {
|
|
description = "Activity and idle watchers";
|
|
longDescription = ''
|
|
Awatcher is a window activity and idle watcher with an optional tray and UI for statistics. The goal is to compensate
|
|
the fragmentation of desktop environments on Linux by supporting all reportable environments, to add more
|
|
flexibility to reports with filters, and to have better UX with the distribution by a single executable.
|
|
'';
|
|
downloadPage = "https://github.com/2e3s/awatcher/releases";
|
|
homepage = "https://github.com/2e3s/awatcher";
|
|
license = licenses.mpl20;
|
|
mainProgram = "awatcher";
|
|
maintainers = [ maintainers.aikooo7 ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|