diff options
author | miheer vaidya <v.miheer@gmail.com> | 2022-07-11 15:11:24 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-11 14:11:24 -0700 |
commit | e0bbf26f1f653b86c965cfcbc8bd34552dd757a7 (patch) | |
tree | 11e708d401bc96b91535b61566d07d4e0a993841 | |
parent | 1d827a9ff65e2a6a915f6ec95c71aa4989dddeb3 (diff) | |
download | spack-e0bbf26f1f653b86c965cfcbc8bd34552dd757a7.tar.gz spack-e0bbf26f1f653b86c965cfcbc8bd34552dd757a7.tar.bz2 spack-e0bbf26f1f653b86c965cfcbc8bd34552dd757a7.tar.xz spack-e0bbf26f1f653b86c965cfcbc8bd34552dd757a7.zip |
[cppcodec] new package (#31506)
-rw-r--r-- | var/spack/repos/builtin/packages/cppcodec/package.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cppcodec/package.py b/var/spack/repos/builtin/packages/cppcodec/package.py new file mode 100644 index 0000000000..cb4659ea16 --- /dev/null +++ b/var/spack/repos/builtin/packages/cppcodec/package.py @@ -0,0 +1,20 @@ +# Copyright 2013-2022 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 Cppcodec(CMakePackage):
+ """Header-only C++11 library to encode/decode base64, base64url, base32,
+ base32hex and hex (a.k.a. base16) as specified in RFC 4648, plus
+ Crockford's base32. MIT licensed with consistent, flexible API."""
+
+ maintainers = ['vmiheer']
+ homepage = "https://github.com/tplgy/cppcodec"
+ url = "https://github.com/tplgy/cppcodec/archive/refs/tags/v0.2.tar.gz"
+
+ version('0.2', sha256='0edaea2a9d9709d456aa99a1c3e17812ed130f9ef2b5c2d152c230a5cbc5c482')
+
+ depends_on('cmake@2.8:', type='build')
|