
We'd like to use a consistent checksum scheme everywhere so that we can: a) incorporate archive checksums into our specs and have a consistent hashing algorithm across all specs. b) index mirrors with a consistent type of checksum, and not one that is dependent on how spack packages are written. - [x] convert existing md5, sha224, sha512, sha1 checksums to sha256
19 lines
577 B
Python
19 lines
577 B
Python
# Copyright 2013-2019 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 import *
|
|
|
|
|
|
class Libzip(AutotoolsPackage):
|
|
"""libzip is a C library for reading, creating,
|
|
and modifying zip archives."""
|
|
|
|
homepage = "https://nih.at/libzip/index.html"
|
|
url = "https://nih.at/libzip/libzip-1.2.0.tar.gz"
|
|
|
|
version('1.2.0', sha256='6cf9840e427db96ebf3936665430bab204c9ebbd0120c326459077ed9c907d9f')
|
|
|
|
depends_on('zlib@1.1.2:')
|