local git_ref = '14c02e9078dd1a18e924d530bf22ce85c5b47710'
local modrev = 'master'
local specrev = '1'

local repo_url = 'https://github.com/wsdjeg/hop.nvim'

rockspec_format = '3.0'
package = 'hop.nvim'
version = modrev ..'-'.. specrev

description = {
  summary = 'Neovim motions on speed!',
  detailed = '',
  labels = { },
  homepage = 'https://github.com/wsdjeg/hop.nvim',
  license = 'GPL-3.0'
}

dependencies = { 'lua >= 5.1' } 

test_dependencies = { }

source = {
  url = repo_url .. '/archive/' .. git_ref .. '.zip',
  dir = 'hop.nvim-' .. '14c02e9078dd1a18e924d530bf22ce85c5b47710',
}

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

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