depot/third_party/nixpkgs/pkgs/by-name/th/thokr/package.nix

27 lines
634 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
pname = "thokr";
version = "0.4.1";
src = fetchFromGitHub {
owner = "thatvegandev";
repo = pname;
rev = "v${version}";
sha256 = "0aryfx9qlnjdq3iq2d823c82fhkafvibmbz58g48b8ah5x5fv3ir";
};
cargoHash = "sha256-gEpmXyLmw6bX3enA3gNVtXNMlkQl6J/8AwJQSY0RtFw=";
meta = with lib; {
description = "Typing tui with visualized results and historical logging";
homepage = "https://github.com/thatvegandev/thokr";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
mainProgram = "thokr";
};
}