summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-argon2-cffi-bindings/package.py
blob: c6720f5eb34e5966ac3123ae9434ea9a9ce3d8b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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 PyArgon2CffiBindings(PythonPackage):
    """Low-level CFFI bindings for Argon2."""

    homepage = "https://github.com/hynek/argon2-cffi-bindings"
    pypi     = "argon2-cffi-bindings/argon2-cffi-bindings-21.2.0.tar.gz"

    version('21.2.0', sha256='bb89ceffa6c791807d1305ceb77dbfacc5aa499891d2c55661c6459651fc39e3')

    depends_on('python@3.6:', type=('build', 'run'))
    depends_on('py-setuptools@45:', type='build')
    depends_on('py-setuptools-scm@6.2:', type='build')
    depends_on('py-cffi@1.0.1:', type=('build', 'run'))