1{ lib, rustPlatform, fetchFromGitea }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "evscript";
5 version = "0.1.0";
6
7 src = fetchFromGitea {
8 domain = "codeberg.org";
9 owner = "valpackett";
10 repo = pname;
11 rev = version;
12 hash = "sha256-lCXDDLovUb5aSOPTyVJL25v1JT1BGrrUlUR0Mu0XX4Q=";
13 };
14
15 cargoHash = "sha256-KcQZnGFtev4ckhtQ7CNB773fAsExZ9EQl9e4Jf4beGo=";
16
17 meta = with lib; {
18 homepage = "https://codeberg.org/valpackett/evscript";
19 description = "A tiny sandboxed Dyon scripting environment for evdev input devices";
20 license = licenses.unlicense;
21 maintainers = with maintainers; [ milesbreslin ];
22 platforms = platforms.linux;
23 };
24}