robin/ivy
my custom neovim config
git clone https://git.robinwobin.dev/robin/ivy
6b56989
main
1{ 2lib , 3fetchurl , 4neovim-src , 5 ... 6} : 7lib . pipe " ${ neovim-src } /cmake.deps/deps.txt" [ 8builtins . readFile 9( lib . splitString "\n" ) 10( map ( builtins . match "([A-Z0-9_]+)_(URL|SHA256)[[:space:]]+([^[:space:]]+)[[:space:]]*" )) 11( lib . remove null ) 12( lib . flip builtins . foldl' { } ( 13acc :matches : 14let 15name = lib . toLower ( builtins . elemAt matches 0 ); 16key = lib . toLower ( builtins . elemAt matches 1 ); 17value = lib . toLower ( builtins . elemAt matches 2 ); 18in 19acc 20// { 21${ name } = acc .${ name } or { } // { 22${ key } = value ; 23}; 24} 25)) 26( builtins . mapAttrs ( lib . const fetchurl )) 27]