summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/mii/package.py
blob: 013009cf9758ac7f1477fbb112250dd700d53834 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack.package import *


class Mii(MakefilePackage):
    """Mii is an inverted indexing system for environment modules.
    After installation you will no longer need to load modules to run
    applications.

    NOTE: Additional steps are required after installing the
    Spack package to enable Mii in your shell. Please see the README
    on the homepage for more information."""

    homepage = "https://github.com/codeandkey/mii"
    url = "https://github.com/codeandkey/mii/archive/v1.0.4.tar.gz"

    license("MIT")

    version("1.1.2", sha256="bdf2cfe93b2b0989cd47f1447e8787d8339440295299c0a70d2646e2c02e29b8")
    version("1.0.4", sha256="3c4e7e6e8c21969da8dade05fecab35be61f2bb82d75eeaf19db8cc97f8058b5")

    def setup_build_environment(self, env):
        env.set("PREFIX", self.prefix)