Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitea, 5}: 6 7rustPlatform.buildRustPackage rec { 8 pname = "evscript"; 9 version = "0.1.0"; 10 11 src = fetchFromGitea { 12 domain = "codeberg.org"; 13 owner = "valpackett"; 14 repo = "evscript"; 15 rev = version; 16 hash = "sha256-lCXDDLovUb5aSOPTyVJL25v1JT1BGrrUlUR0Mu0XX4Q="; 17 }; 18 19 cargoHash = "sha256-L0qwHWxMf/Nd0B2FWLIpKLgrs2LRyTOwuG/7keMI2zE="; 20 21 meta = with lib; { 22 homepage = "https://codeberg.org/valpackett/evscript"; 23 description = "Tiny sandboxed Dyon scripting environment for evdev input devices"; 24 mainProgram = "evscript"; 25 license = licenses.unlicense; 26 maintainers = with maintainers; [ milesbreslin ]; 27 platforms = platforms.linux; 28 }; 29}