clock-rs: init at 0.1.213

This commit is contained in:
Oughie 2025-01-10 13:02:26 +01:00 committed by Sefa Eyeoglu
parent a77a23d95b
commit 200775eb11
No known key found for this signature in database
GPG Key ID: E13DFD4B47127951
2 changed files with 42 additions and 0 deletions

View File

@ -17368,6 +17368,12 @@
githubId = 108072;
name = "Slawomir Gonet";
};
oughie = {
name = "Oughie";
email = "oughery@gmail.com";
github = "Oughie";
githubId = 123173954;
};
outfoxxed = {
name = "outfoxxed";
email = "nixpkgs@outfoxxed.me";

View File

@ -0,0 +1,36 @@
{
lib,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "clock-rs";
version = "0.1.213";
src = fetchFromGitHub {
owner = "Oughie";
repo = "clock-rs";
tag = "v${version}";
sha256 = "06spnadlgy7902bqhhi6019ay5y55qfrarsfidp938icali9q5pi";
};
cargoHash = "sha256-ir/IwhREheMSdElLYqp3/zHE54BMAK5/7f5/wyTd1yc=";
meta = {
description = "Modern, digital clock that effortlessly runs in your terminal";
longDescription = ''
clock-rs is a terminal-based clock written in Rust, designed to be a new alternative to tty-clock.
It supports all major platforms and offers several improvements, which include:
The use of a single configuration file to manage its settings, with the ability to overwrite them through the command line,
Many additional features such as a timer and a stopwatch,
And greater flexibility as well as better user experience!
'';
homepage = "https://github.com/Oughie/clock-rs";
license = lib.licenses.asl20;
mainProgram = "clock-rs";
maintainers = [ lib.maintainers.oughie ];
platforms = lib.platforms.all;
};
}