tomat: init at 2.3.0

Init tomat at 2.3.0 (https://github.com/jolars/tomat). This is a
server-client application that feeds information to status bars like
waybar and i3status-rust.
This commit is contained in:
Johan Larsson
2025-10-31 19:51:36 +01:00
parent 056204fa89
commit 25a6f9bfc3
+46
View File
@@ -0,0 +1,46 @@
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
alsa-lib,
}:
rustPlatform.buildRustPackage rec {
pname = "tomat";
version = "2.3.0";
src = fetchFromGitHub {
owner = "jolars";
repo = "tomat";
tag = "v${version}";
hash = "sha256-lkNBcTn7uXWifIVNoXmggPy+UjozL5YqVYorH9XAejo=";
};
cargoHash = "sha256-jBpZyNfsJKchJnKwWJQeVavj0Yog83QrCM8kOJFVugg=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
alsa-lib
];
checkFlags = [
# Skip tests that require access to file system locations not available during Nix builds
"--skip=timer::tests::test_icon_path_creation"
"--skip=timer::tests::test_notification_icon_config"
"--skip=integration::"
];
meta = {
description = "Pomodoro timer for status bars";
homepage = "https://github.com/jolars/tomat";
changelog = "https://github.com/jolars/tomat/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ jolars ];
mainProgram = "tomat";
platforms = lib.platforms.linux;
};
}