2021-02-05 17:12:51 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "rsClock";
|
2024-01-25 14:12:00 +00:00
|
|
|
version = "0.1.11";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "valebes";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-01-25 14:12:00 +00:00
|
|
|
sha256 = "sha256-z+WGi1Jl+YkdAc4Nu818vi+OXg54GfAM6PbWYkgptpo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2020-08-20 17:08:02 +00:00
|
|
|
|
2024-01-25 14:12:00 +00:00
|
|
|
cargoHash = "sha256-/uAxIV7eroJNGsLl4T/6RskoTIWKu5Cgmv48eMkDZQw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Simple terminal clock written in Rust";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/valebes/rsClock";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [valebes];
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "rsclock";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|