with builtins; p: (import ./mkAttrItemsFunction.nix) "name" "type" (readDir p)