2023-02-19 07:35:44 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitea }:
|
2020-08-22 22:39:03 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "evscript";
|
2023-10-18 07:58:57 +00:00
|
|
|
version = "0.1.0";
|
2020-08-22 22:39:03 +00:00
|
|
|
|
2023-02-19 07:35:44 +00:00
|
|
|
src = fetchFromGitea {
|
|
|
|
domain = "codeberg.org";
|
|
|
|
owner = "valpackett";
|
2020-08-22 22:39:03 +00:00
|
|
|
repo = pname;
|
2023-10-18 07:58:57 +00:00
|
|
|
rev = version;
|
|
|
|
hash = "sha256-lCXDDLovUb5aSOPTyVJL25v1JT1BGrrUlUR0Mu0XX4Q=";
|
2020-08-22 22:39:03 +00:00
|
|
|
};
|
|
|
|
|
2023-10-19 09:26:07 +00:00
|
|
|
cargoHash = "sha256-KcQZnGFtev4ckhtQ7CNB773fAsExZ9EQl9e4Jf4beGo=";
|
2020-08-22 22:39:03 +00:00
|
|
|
|
2021-01-15 09:19:50 +00:00
|
|
|
meta = with lib; {
|
2023-02-19 07:35:44 +00:00
|
|
|
homepage = "https://codeberg.org/valpackett/evscript";
|
2020-08-22 22:39:03 +00:00
|
|
|
description = "A tiny sandboxed Dyon scripting environment for evdev input devices";
|
|
|
|
license = licenses.unlicense;
|
|
|
|
maintainers = with maintainers; [ milesbreslin ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|