summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/jq/package.py
blob: 87db91d292e59e26904d81f35ccfeaab27ba3848 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright 2013-2018 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 Jq(AutotoolsPackage):
    """jq is a lightweight and flexible command-line JSON processor."""

    homepage = "https://stedolan.github.io/jq/"
    url      = "https://github.com/stedolan/jq/archive/jq-1.5.tar.gz"

    version('1.5', 'c8070bd6ec275404f77db3d2e568c9a3')

    depends_on('oniguruma')
    depends_on('bison@3.0:', type='build')