567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
30 lines
718 B
Nix
30 lines
718 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitea,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "evscript";
|
|
version = "0.1.0";
|
|
|
|
src = fetchFromGitea {
|
|
domain = "codeberg.org";
|
|
owner = "valpackett";
|
|
repo = "evscript";
|
|
rev = version;
|
|
hash = "sha256-lCXDDLovUb5aSOPTyVJL25v1JT1BGrrUlUR0Mu0XX4Q=";
|
|
};
|
|
|
|
cargoHash = "sha256-L0qwHWxMf/Nd0B2FWLIpKLgrs2LRyTOwuG/7keMI2zE=";
|
|
|
|
meta = {
|
|
homepage = "https://codeberg.org/valpackett/evscript";
|
|
description = "Tiny sandboxed Dyon scripting environment for evdev input devices";
|
|
mainProgram = "evscript";
|
|
license = lib.licenses.unlicense;
|
|
maintainers = with lib.maintainers; [ milesbreslin ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|