
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
25 lines
1.1 KiB
Python
25 lines
1.1 KiB
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 RNanotime(RPackage):
|
|
"""Full 64-bit resolution date and time support with resolution up to
|
|
nanosecond granularity is provided, with easy transition to and from
|
|
the standard 'POSIXct' type."""
|
|
|
|
homepage = "https://cloud.r-project.org/package=nanotime"
|
|
url = "https://cloud.r-project.org/src/contrib/nanotime_0.2.0.tar.gz"
|
|
list_url = "https://cloud.r-project.org/src/contrib/Archive/nanotime"
|
|
|
|
version('0.2.4', sha256='2dfb7e7435fec59634b87563a215467e7793e2711e302749c0533901c74eb184')
|
|
version('0.2.3', sha256='7d6df69a4223ae154f610b650e24ece38ce4aa706edfa38bec27d15473229f5d')
|
|
version('0.2.0', sha256='9ce420707dc4f0cb4241763579b849d842904a3aa0d88de8ffef334d08fa188d')
|
|
|
|
depends_on('r-bit64', type=('build', 'run'))
|
|
depends_on('r-rcppcctz@0.2.3:', type=('build', 'run'))
|
|
depends_on('r-zoo', type=('build', 'run'))
|