summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorbryanherman <63422190+bryanherman@users.noreply.github.com>2021-01-26 12:22:19 -0500
committerGitHub <noreply@github.com>2021-01-26 11:22:19 -0600
commit6b16d61a80054922346d443e0593d4d2c3f028bf (patch)
treeb537b31914a3896cd9f5a921a660b11d27ae390a /var
parenta678c1966f10c5c34aef49e38610362cb3917e89 (diff)
downloadspack-6b16d61a80054922346d443e0593d4d2c3f028bf.tar.gz
spack-6b16d61a80054922346d443e0593d4d2c3f028bf.tar.bz2
spack-6b16d61a80054922346d443e0593d4d2c3f028bf.tar.xz
spack-6b16d61a80054922346d443e0593d4d2c3f028bf.zip
Added package py-nanotime (#21287)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-nanotime/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-nanotime/package.py b/var/spack/repos/builtin/packages/py-nanotime/package.py
new file mode 100644
index 0000000000..8b206f7ad4
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-nanotime/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2021 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 PyNanotime(PythonPackage):
+ """The nanotime module provides a time object that keeps time as the
+ number of nanoseconds since the UNIX epoch. In other words, it is
+ a 64bit UNIX timestamp with nanosecond precision.
+ """
+
+ homepage = "https://github.com/jbenet/nanotime"
+ pypi = "nanotime/nanotime-0.5.2.tar.gz"
+
+ version('0.5.2', sha256='c7cc231fc5f6db401b448d7ab51c96d0a4733f4b69fabe569a576f89ffdf966b')
+
+ depends_on('py-setuptools', type='build')