summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-rcppdate/package.py
blob: 8135cc8a8232defa56806e004750d2122c5cc05e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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 RRcppdate(RPackage):
    """'date' C++ Header Library for Date and Time Functionality.

    'date' is a C++ header library offering extensive date and time
    functionality for the C++11, C++14 and C++17 standards written by Howard
    Hinnant and released under the MIT license. A slightly modified version has
    been accepted (along with 'tz.h') as part of C++20. This package regroups
    all header files from the upstream repository by Howard Hinnant so that
    other R packages can use them in their C++ code. At present, few of the
    types have explicit 'Rcpp' wrapper though these may be added as needed."""

    cran = "RcppDate"

    license("MIT")

    version("0.0.3", sha256="9c5ee7cf76d63cd51e8faff831f5f865762868d7d705395960c0f22e9b238bdb")
    version("0.0.1", sha256="117721fc677dfb4209200a7ff894fbbb8ee1b652d01b3878b11c3253733b4a5f")