diff --git a/var/spack/repos/builtin/packages/py-ujson/package.py b/var/spack/repos/builtin/packages/py-ujson/package.py new file mode 100644 index 0000000000..45e9b280e8 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-ujson/package.py @@ -0,0 +1,18 @@ +# 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 PyUjson(PythonPackage): + """Ultra fast JSON decoder and encoder written in C with Python + bindings.""" + + homepage = "https://github.com/esnme/ultrajson" + url = "https://pypi.io/packages/source/u/ujson/ujson-1.35.tar.gz" + + version('1.35', sha256='f66073e5506e91d204ab0c614a148d5aa938bdbf104751be66f8ad7a222f5f86') + + depends_on('py-setuptools', type='build')