nixos-config/pkgs/thokr.nix

22 lines
538 B
Nix
Raw Normal View History

2022-05-04 15:31:56 +00:00
{ stdenv, lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "thokr";
2022-07-07 11:40:39 +00:00
version = "0.4.1";
2022-05-04 15:31:56 +00:00
src = fetchFromGitHub {
owner = "coloradocolby";
repo = pname;
rev = "v${version}";
2022-07-07 11:40:39 +00:00
sha256 = "sha256-OY7tSi9QoYXIQ+WvuuJ2akInEBsCNYHjwE1ailN3Pis=";
2022-05-04 15:31:56 +00:00
};
2022-07-07 11:40:39 +00:00
cargoSha256 = "sha256-gEpmXyLmw6bX3enA3gNVtXNMlkQl6J/8AwJQSY0RtFw=";
2022-05-04 15:31:56 +00:00
meta = with lib; {
homepage = "https://github.com/coloradocolby/thokr";
description = "Sleek typing TUI written in Rust.";
license = licenses.mit;
};
}