def METHOD_NAME(repo: str) -> Any:
    logger.info('Fetching release info for %s', repo)
    release = fetch_json(f'https://api.github.com/repos/{repo}/releases/latest')
    url = release['assets'][0]['browser_download_url']
    logger.info('%s', url)
    with urllib.request.urlopen(url) as file:
        sha256 = hashlib.sha256(file.read()).hexdigest()
    logger.info('  %s', sha256)
    return {
        'name': os.path.basename(repo),
        'buildsystem': 'simple',
        'build-commands': ['make install PREFIX=/app'],
        'sources': [
            {
                'type': 'archive',
                'url': url,
                'sha256': sha256
            }
        ]
    }