diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/inputmethods/evscript/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/inputmethods/evscript/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/inputmethods/evscript/default.nix b/nixpkgs/pkgs/tools/inputmethods/evscript/default.nix new file mode 100644 index 000000000000..d1440bea357f --- /dev/null +++ b/nixpkgs/pkgs/tools/inputmethods/evscript/default.nix @@ -0,0 +1,24 @@ +{ lib, rustPlatform, fetchFromGitea }: + +rustPlatform.buildRustPackage rec { + pname = "evscript"; + version = "0.1.0"; + + src = fetchFromGitea { + domain = "codeberg.org"; + owner = "valpackett"; + repo = pname; + rev = version; + hash = "sha256-lCXDDLovUb5aSOPTyVJL25v1JT1BGrrUlUR0Mu0XX4Q="; + }; + + cargoHash = "sha256-KcQZnGFtev4ckhtQ7CNB773fAsExZ9EQl9e4Jf4beGo="; + + meta = with lib; { + homepage = "https://codeberg.org/valpackett/evscript"; + description = "A tiny sandboxed Dyon scripting environment for evdev input devices"; + license = licenses.unlicense; + maintainers = with maintainers; [ milesbreslin ]; + platforms = platforms.linux; + }; +} |