summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/libjwt/package.py
blob: 41cc65a5d28869c32af4e0517af086149a34c6ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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 Libjwt(AutotoolsPackage):
    """libjwt JSON Web Token C Library"""

    homepage = "https://github.com/benmcollins/libjwt"
    git      = "https://github.com/benmcollins/libjwt"
    url      = "https://github.com/benmcollins/libjwt/archive/v1.12.0.tar.gz"

    maintainers = ['bollig']

    version('1.12.0', sha256='eaf5d8b31d867c02dde767efa2cf494840885a415a3c9a62680bf870a4511bee')

    depends_on('autoconf', type='build')
    depends_on('automake', type='build')
    depends_on('libtool', type='build')
    depends_on('m4', type='build')
    # Needs openssl at runtime to ensure we can generate keys
    depends_on('openssl', type=('build', 'run'))
    depends_on('jansson')