spack/var/spack/repos/builtin/packages/tl-expected/package.py
2023-02-01 21:07:25 -08:00

24 lines
932 B
Python

# 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 TlExpected(CMakePackage):
"""C++11/14/17 std::expected with functional-style extensions."""
homepage = "https://tl.tartanllama.xyz/en/latest/"
url = "https://github.com/TartanLlama/expected/archive/1.0.0.tar.gz"
git = "https://github.com/TartanLlama/expected.git"
maintainers("charmoniumQ")
# Note that the 1.0.0 has this issue:
# https://github.com/TartanLlama/expected/issues/114
# But no new patch version has been released,
# so I will use the latest commit at the time of writing:
version("2022-11-24", commit="b74fecd4448a1a5549402d17ddc51e39faa5020c")
version("1.0.0", sha256="8f5124085a124113e75e3890b4e923e3a4de5b26a973b891b3deb40e19c03cee")