2019-08-27 11:12:35 +02:00
|
|
|
{ stdenv, rustPlatform, fetchFromGitHub }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "rsClock";
|
2019-08-29 21:21:27 +02:00
|
|
|
version = "0.1.4";
|
2019-08-27 11:12:35 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "valebes";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2019-08-29 21:21:27 +02:00
|
|
|
sha256 = "1i93qkz6d8sbk78i4rvx099hnn4lklp4cjvanpm9ssv8na4rqvh2";
|
2019-08-27 11:12:35 +02:00
|
|
|
};
|
|
|
|
|
2020-02-16 09:45:41 +01:00
|
|
|
cargoSha256 = "01dhkis6zswq1y40n7sdq9xv1sp61f2v7nfqbkicyjngmdrmcgrl";
|
2019-08-27 11:12:35 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A simple terminal clock written in Rust";
|
|
|
|
homepage = "https://github.com/valebes/rsClock";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [valebes];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|