2023-02-22 10:55:15 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitea }:
|
2021-01-15 22:18:51 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "evscript";
|
2023-02-22 10:55:15 +00:00
|
|
|
version = "unstable-2022-11-20";
|
2021-01-15 22:18:51 +00:00
|
|
|
|
2023-02-22 10:55:15 +00:00
|
|
|
src = fetchFromGitea {
|
|
|
|
domain = "codeberg.org";
|
|
|
|
owner = "valpackett";
|
2021-01-15 22:18:51 +00:00
|
|
|
repo = pname;
|
2023-02-22 10:55:15 +00:00
|
|
|
rev = "ba997c9723a91717c683f08e9957d0ecea3da6cd";
|
|
|
|
sha256 = "sha256-wuTPcBUuPK1D4VO8BXexx9AdiPM+X0TkJ3G7b7ofER8=";
|
2021-01-15 22:18:51 +00:00
|
|
|
};
|
|
|
|
|
2023-02-22 10:55:15 +00:00
|
|
|
cargoSha256 = "sha256-5jcb/MajXV9bp0T9Og8d5TEzTwQyiyPTPHeWh8Ewr8Q=";
|
2021-01-15 22:18:51 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2023-02-22 10:55:15 +00:00
|
|
|
homepage = "https://codeberg.org/valpackett/evscript";
|
2021-01-15 22:18:51 +00:00
|
|
|
description = "A tiny sandboxed Dyon scripting environment for evdev input devices";
|
|
|
|
license = licenses.unlicense;
|
|
|
|
maintainers = with maintainers; [ milesbreslin ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|