mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
23 lines
577 B
Nix
23 lines
577 B
Nix
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "rsClock";
|
|
version = "0.1.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "valebes";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1i93qkz6d8sbk78i4rvx099hnn4lklp4cjvanpm9ssv8na4rqvh2";
|
|
};
|
|
|
|
cargoSha256 = "01dhkis6zswq1y40n7sdq9xv1sp61f2v7nfqbkicyjngmdrmcgrl";
|
|
|
|
meta = with lib; {
|
|
description = "A simple terminal clock written in Rust";
|
|
homepage = "https://github.com/valebes/rsClock";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [valebes];
|
|
};
|
|
}
|