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

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

25 lines
695 B
Nix
Raw Normal View History

{ 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";
changelog = "https://github.com/max-niederman/ttyper/releases/tag/${src.rev}";
2021-08-25 22:50:03 +00:00
license = licenses.mit;
maintainers = with maintainers; [ figsoda max-niederman ];
2024-02-11 02:19:15 +00:00
mainProgram = "ttyper";
2021-08-25 22:50:03 +00:00
};
}