Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, rustPlatform, fetchFromGitea }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "evscript"; 5 version = "unstable-2022-11-20"; 6 7 src = fetchFromGitea { 8 domain = "codeberg.org"; 9 owner = "valpackett"; 10 repo = pname; 11 rev = "ba997c9723a91717c683f08e9957d0ecea3da6cd"; 12 sha256 = "sha256-wuTPcBUuPK1D4VO8BXexx9AdiPM+X0TkJ3G7b7ofER8="; 13 }; 14 15 cargoLock = { 16 lockFile = ./Cargo.lock; 17 outputHashes = { 18 "evdev-0.10.1" = "sha256-iIzKhlA+7qg+nNwP82OIpoXVUEYU31iSEt1KJA3EewQ="; 19 }; 20 }; 21 22 meta = with lib; { 23 homepage = "https://codeberg.org/valpackett/evscript"; 24 description = "A tiny sandboxed Dyon scripting environment for evdev input devices"; 25 license = licenses.unlicense; 26 maintainers = with maintainers; [ milesbreslin ]; 27 platforms = platforms.linux; 28 }; 29}