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

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

24 lines
667 B
Nix
Raw Normal View History

{ lib, rustPlatform, fetchFromGitHub }:
2021-08-25 22:50:03 +00:00
rustPlatform.buildRustPackage rec {
pname = "ttyper";
version = "1.4.0";
2021-08-25 22:50:03 +00:00
src = fetchFromGitHub {
owner = "max-niederman";
repo = pname;
rev = "v${version}";
hash = "sha256-kMJcZ9U2pUXFza66fpK07IHbRc5ZQ49+bytgty94o/s=";
2021-08-25 22:50:03 +00:00
};
cargoHash = "sha256-pmPT8GREXKun5uyGx+b6IATp/cKziZTL7YcYwKEo/NU=";
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 ];
2021-08-25 22:50:03 +00:00
};
}