easyblock = 'EB_Mamba'

name = 'Miniforge3'
version = '25.11.0-1'

homepage = 'https://github.com/conda-forge/miniforge'
description = """Miniforge is a free minimal installer for conda and Mamba specific
 to conda-forge."""

toolchain = SYSTEM

source_urls = ['https://github.com/conda-forge/miniforge/releases/download/%(version)s']
local_arch = {'arm64': 'aarch64'}.get(ARCH, ARCH)
sources = ['%%(name)s-%%(version)s-Linux-%s.sh' % local_arch]
checksums = [
    {
        '%(name)s-%(version)s-Linux-x86_64.sh':
            'be1bad9d4e67a8753eb76fb4940e9a08036786675c7adf060627e55791bf110d',
        '%(name)s-%(version)s-Linux-ppc64le.sh':
            '8fb7a41bd2682381c48c7820608918e7d56f5390bc3be5705a0c1c536f607963',
        '%(name)s-%(version)s-Linux-aarch64.sh':
            '43a3783f9e121088f1c92b131b4305b9ebf159424ad2543dfcfc0f1952b5e127',
    }
]

moduleclass = 'lang'
