nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 21.05 23 lines 718 B view raw
1{ lib, rustPlatform, fetchFromGitHub }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "evscript"; 5 version = "git-${builtins.substring 0 7 src.rev}"; 6 7 src = fetchFromGitHub { 8 owner = "myfreeweb"; 9 repo = pname; 10 rev = "47f86f0d15add2af785ea1ff47f24d130026d1b4"; 11 sha256 = "1xm8297k0d8d0aq7fxgmibr4qva4d02cb6gnnlzq77jcmnknxv14"; 12 }; 13 14 cargoSha256 = "1z0xxbjnhhzn1fnc3zhvy727l88qyyfqdayj5yvf3nh23m7sr87l"; 15 16 meta = with lib; { 17 homepage = "https://github.com/myfreeweb/${pname}"; 18 description = "A tiny sandboxed Dyon scripting environment for evdev input devices"; 19 license = licenses.unlicense; 20 maintainers = with maintainers; [ milesbreslin ]; 21 platforms = platforms.linux; 22 }; 23}