summary refs log tree commit diff
path: root/pkgs/tools/inputmethods/evscript/default.nix
blob: 8afd4804e0ed2749b1dafd7b1225f36fa2ee003f (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
{ lib, rustPlatform, fetchFromGitHub }:

rustPlatform.buildRustPackage rec {
  pname = "evscript";
  version = "unstable-2021-06-16";

  src = fetchFromGitHub {
    owner = "unrelentingtech";
    repo = pname;
    rev = "25912c0b6446f31b0f64485af3fa4aa8a93b33df";
    sha256 = "sha256-apq3kHipEX6zOTNwqpIQR46JqmeE7EKVSOGrNNSkyu8=";
  };

  cargoSha256 = "sha256-1aR9/fhJQ+keRIxSG2cpY1HTalE6nM+MTb1Za3Tot28=";

  meta = with lib; {
    homepage = "https://github.com/unrelentingtech/evscript";
    description = "A tiny sandboxed Dyon scripting environment for evdev input devices";
    license = licenses.unlicense;
    maintainers = with maintainers; [ milesbreslin ];
    platforms = platforms.linux;
  };
}