2023-06-07 16:07:37 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
2021-08-25 22:50:03 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "ttyper";
|
2024-02-02 08:59:41 +00:00
|
|
|
version = "1.4.1";
|
2021-08-25 22:50:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "max-niederman";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-02-02 08:59:41 +00:00
|
|
|
hash = "sha256-IvAx65b2rGsMdDUhRxTx8cyqnG7oxC+MseCFIJil1e0=";
|
2021-08-25 22:50:03 +00:00
|
|
|
};
|
|
|
|
|
2024-02-02 08:59:41 +00:00
|
|
|
cargoHash = "sha256-o3J2bEAV5NnWKFadJdSGTqUS8K2qpBKPQz6xAbfLtg4=";
|
2021-08-25 22:50:03 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Terminal-based typing test";
|
|
|
|
homepage = "https://github.com/max-niederman/ttyper";
|
2023-06-07 16:07:37 +00:00
|
|
|
changelog = "https://github.com/max-niederman/ttyper/releases/tag/${src.rev}";
|
2021-08-25 22:50:03 +00:00
|
|
|
license = licenses.mit;
|
2021-12-19 05:10:49 +00:00
|
|
|
maintainers = with maintainers; [ figsoda max-niederman ];
|
2024-02-11 02:19:15 +00:00
|
|
|
mainProgram = "ttyper";
|
2021-08-25 22:50:03 +00:00
|
|
|
};
|
|
|
|
}
|