diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index df6a19a3e554..0072f5ab6826 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -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"; diff --git a/pkgs/by-name/cl/clock-rs/package.nix b/pkgs/by-name/cl/clock-rs/package.nix new file mode 100644 index 000000000000..2acd33536db7 --- /dev/null +++ b/pkgs/by-name/cl/clock-rs/package.nix @@ -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; + }; +}