summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-nanotime/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/r-nanotime/package.py')
-rw-r--r--var/spack/repos/builtin/packages/r-nanotime/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-nanotime/package.py b/var/spack/repos/builtin/packages/r-nanotime/package.py
new file mode 100644
index 0000000000..07c3d8830a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-nanotime/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2018 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://cran.r-project.org/package=nanotime"
+ url = "https://cran.r-project.org/src/contrib/nanotime_0.2.0.tar.gz"
+ list_url = "https://cran.r-project.org/src/contrib/Archive/nanotime"
+
+ version('0.2.0', '796b1f7d0bb43e2f3d98e3cc6f4b0657')
+
+ depends_on('r-bit64', type=('build', 'run'))
+ depends_on('r-rcppcctz', type=('build', 'run'))
+ depends_on('r-zoo', type=('build', 'run'))