1{ callPackage, fetchFromGitHub }: 2 3callPackage ./generic.nix { 4 variant = "3.2"; 5 version = "2019-07-27"; 6 branch = "master"; 7 src = fetchFromGitHub { 8 owner = "bashup"; 9 repo = "events"; 10 rev = "83744c21bf720afb8325343674c62ab46a8f3d94"; 11 hash = "sha256-0VDjd+1T1JBmSDGovWOOecUZmNztlwG32UcstfdigbI="; 12 }; 13 fake = { 14 # Note: __ev.encode is actually defined, but it happens in a 15 # quoted arg to eval, which resholve currently doesn't (and may 16 # never) parse into. See abathur/resholve/issues/2. 17 function = [ "__ev.encode" ]; 18 }; 19 keep = { 20 # allow vars in eval 21 eval = [ 22 "e" 23 "f" 24 "q" 25 "r" 26 ]; 27 # allow vars executed as commands 28 "$f" = true; 29 "$n" = true; 30 }; 31}