nixpkgs/pkgs/applications/misc/rsclock/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
573 B
Nix
Raw Normal View History

{ lib, rustPlatform, fetchFromGitHub }:
2019-08-27 09:12:35 +00:00
rustPlatform.buildRustPackage rec {
pname = "rsClock";
2023-04-30 05:11:06 +00:00
version = "0.1.9";
2019-08-27 09:12:35 +00:00
src = fetchFromGitHub {
owner = "valebes";
repo = pname;
rev = "v${version}";
2023-04-30 05:11:06 +00:00
sha256 = "sha256-HsHFlM5PHUIF8FbLMJpleAvgsXHP6IZLuiH+umK1V4M=";
2019-08-27 09:12:35 +00:00
};
2023-04-30 05:11:06 +00:00
cargoHash = "sha256-0bUKiKieIic+d3jEow887i7j2tp/ntYkXm6x08Df64M=";
2019-08-27 09:12:35 +00:00
meta = with lib; {
2019-08-27 09:12:35 +00:00
description = "A simple terminal clock written in Rust";
homepage = "https://github.com/valebes/rsClock";
license = licenses.mit;
maintainers = with maintainers; [valebes];
};
}