summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-json-get/package.py
blob: e2ae2bf1a201f75a52f78a2f1783136d7e93321b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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 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'))