{ lib, fetchFromGitHub, rustPlatform, }: rustPlatform.buildRustPackage rec { pname = "clock-rs"; version = "0.1.216"; src = fetchFromGitHub { owner = "Oughie"; repo = "clock-rs"; tag = "v${version}"; sha256 = "sha256-sSofMZThR025O2J4PnOMWVEuBt/+oZ01yDAQAijca0A="; }; cargoHash = "sha256-7gpD7aAma9Ye7sxqm1wGekcovXxdd11XOMf7fKWZrcA="; 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 override 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; }; }