summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin.mock/packages/trivial-pkg-with-valid-hash/package.py
blob: 6fabda8be7cea3bb8b31df436f788c44363e702a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013-2024 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 TrivialPkgWithValidHash(Package):
    url = "http://www.unit-test-should-replace-this-url/trivial_install-1.0"

    version(
        "1.0",
        sha256="6ae8a75555209fd6c44157c0aed8016e763ff435a19cf186f76863140143ff72",
        expand=False,
    )

    hashed_content = "test content"

    def install(self, spec, prefix):
        pass