diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-json-get/package.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-json-get/package.py b/var/spack/repos/builtin/packages/py-json-get/package.py new file mode 100644 index 0000000000..2e178d1fa8 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-json-get/package.py @@ -0,0 +1,18 @@ +# Copyright 2013-2020 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 PyJsonGet(PythonPackage): + """Get values from JSON objects usings a path expression.""" + + homepage = "https://github.com/srittau/python-json-get" + url = "https://github.com/srittau/python-json-get/archive/v1.1.1.tar.gz" + + version('1.1.1', sha256='0d436f1f2dc8c51ab0249d964bb7f176d724131f76c14adf6fc4687e68ec37ab') + + depends_on('python@3.5:', type=('build', 'run')) + depends_on('py-setuptools', type=('build')) |