3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/rsclock/default.nix

23 lines
577 B
Nix
Raw Normal View History

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