Unverified Commit 09215356 authored by Sefa Eyeoglu's avatar Sefa Eyeoglu Committed by GitHub
Browse files

clock-rs: init at 0.1.213 (#372643)

parents a77a23d9 200775eb
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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";
+36 −0
Original line number Diff line number Diff line
{
  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;
  };
}