2023-01-19 06:30:17 +08:00
|
|
|
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
|
2018-10-08 04:52:23 +08:00
|
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
2016-05-12 12:22:25 +08:00
|
|
|
#
|
2018-10-08 04:52:23 +08:00
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2022-05-29 00:55:44 +08:00
|
|
|
from spack.package import *
|
2016-01-27 09:55:32 +08:00
|
|
|
|
2016-08-10 16:50:00 +08:00
|
|
|
|
2017-08-05 23:15:18 +08:00
|
|
|
class Cmocka(CMakePackage):
|
2016-01-27 09:55:32 +08:00
|
|
|
"""Unit-testing framework in pure C"""
|
2022-07-31 06:19:18 +08:00
|
|
|
|
2016-01-27 09:55:32 +08:00
|
|
|
homepage = "https://cmocka.org/"
|
2017-05-31 18:48:43 +08:00
|
|
|
url = "https://cmocka.org/files/1.1/cmocka-1.1.1.tar.xz"
|
2016-01-27 09:55:32 +08:00
|
|
|
|
2023-12-23 03:29:11 +08:00
|
|
|
license("Apache-2.0")
|
|
|
|
|
2023-03-08 03:49:42 +08:00
|
|
|
version("1.1.7", sha256="810570eb0b8d64804331f82b29ff47c790ce9cd6b163e98d47a4807047ecad82")
|
2019-10-11 13:44:41 +08:00
|
|
|
version("1.1.1", sha256="f02ef48a7039aa77191d525c5b1aee3f13286b77a13615d11bc1148753fc0389")
|
|
|
|
version("1.1.0", sha256="e960d3bf1be618634a4b924f18bb4d6f20a825c109a8ad6d1af03913ba421330")
|
2016-03-09 23:46:56 +08:00
|
|
|
|
2017-08-05 23:15:18 +08:00
|
|
|
depends_on("cmake@2.6.0:", type="build")
|
2016-01-27 09:55:32 +08:00
|
|
|
|
2017-08-05 23:15:18 +08:00
|
|
|
parallel = False
|