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-04-20 03:59:24 +00:00
version = "1.5.0";
2021-08-25 22:50:03 +00:00
src = fetchFromGitHub {
owner = "max-niederman";
repo = pname;
rev = "v${version}";
2024-04-20 03:59:24 +00:00
hash = "sha256-L6xdJ659ZWKNg9CGQs+5TQIKoIAZ5KHdFSk7NCp9a2Q=";
2021-08-25 22:50:03 +00:00
};
2024-04-20 03:59:24 +00:00
cargoHash = "sha256-iOeyn4oXk6y/NqZeBwkStBjt3hVVw4s2L5Lm58tq1BY=";
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
};
}