about summary refs log tree commit diff
path: root/pkgs/tools/misc/bonk/default.nix
blob: cfd815d66b3161e928b526a971464b96a8c7e9ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib
, rustPlatform
, fetchFromGitHub
}:

rustPlatform.buildRustPackage rec {
  pname = "bonk";
  version = "0.4.0";

  src = fetchFromGitHub {
    owner = "elliot40404";
    repo = "bonk";
    rev = "v${version}";
    hash = "sha256-sAMIteNkGRqmE7BQD/TNC01K3eQQTLKuc0jcxHxtKF8=";
  };

  cargoHash = "sha256-/qBuIG5ETUWMv2iOGpW3/awuhZb35qsBAflNJv3xTUs=";

  meta = {
    description = "The blazingly fast touch alternative written in Rust";
    homepage = "https://github.com/elliot40404/bonk";
    license = lib.licenses.mit;
    mainProgram = "bonk";
    maintainers = with lib.maintainers; [ dit7ya ];
  };
}