local git_ref = '1082c18eabd0fb6fcdac4a828b698ccd6e25f291'
local modrev = 'scm'
local specrev = '1'

local repo_url = 'https://github.com/danielfalk/smart-open.nvim'

rockspec_format = '3.0'
package = 'smart-open.nvim'
version = modrev ..'-'.. specrev

description = {
  summary = 'Fast file-finding',
  detailed = '',
  labels = { 'neovim' } ,
  homepage = 'https://github.com/danielfalk/smart-open.nvim',
  license = 'MIT'
}

dependencies = { 'lua >= 5.1', 'telescope.nvim', 'sqlite.lua' } 

test_dependencies = { }

source = {
  url = repo_url .. '/archive/' .. git_ref .. '.zip',
  dir = 'smart-open.nvim-' .. '1082c18eabd0fb6fcdac4a828b698ccd6e25f291',
}

if modrev == 'scm' or modrev == 'dev' then
  source = {
    url = repo_url:gsub('https', 'git')
  }
end

build = {
  type = 'builtin',
  copy_directories = { },
}
