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

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

24 lines
603 B
Nix
Raw Normal View History

{ lib, rustPlatform, fetchFromGitHub }:
2019-08-27 12:12:35 +03:00
rustPlatform.buildRustPackage rec {
pname = "rsClock";
2024-01-21 16:40:30 +03:00
version = "0.1.11";
2019-08-27 12:12:35 +03:00
src = fetchFromGitHub {
owner = "valebes";
repo = pname;
rev = "v${version}";
2024-01-21 16:40:30 +03:00
sha256 = "sha256-z+WGi1Jl+YkdAc4Nu818vi+OXg54GfAM6PbWYkgptpo=";
2019-08-27 12:12:35 +03:00
};
2024-01-21 16:40:30 +03:00
cargoHash = "sha256-/uAxIV7eroJNGsLl4T/6RskoTIWKu5Cgmv48eMkDZQw=";
2019-08-27 12:12:35 +03:00
meta = with lib; {
2019-08-27 12:12:35 +03:00
description = "A simple terminal clock written in Rust";
homepage = "https://github.com/valebes/rsClock";
license = licenses.mit;
maintainers = with maintainers; [valebes];
2024-02-11 05:19:15 +03:00
mainProgram = "rsclock";
2019-08-27 12:12:35 +03:00
};
}