summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-nexus-sdk/package.py
blob: 9bfb4c00869477f65b53f1c7e3a33f01cdf55e77 (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
# Copyright 2013-2023 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.package import *


class PyNexusSdk(PythonPackage):
    """A Python API to interface with Blue Brain Nexus REST API."""

    homepage = "https://github.com/BlueBrain/nexus-python-sdk"
    pypi = "nexus-sdk/nexus-sdk-0.3.2.tar.gz"

    license("Apache-2.0")

    version("0.3.2", sha256="cd5668a062283410c5ff57a68c218440df607da84e0a813a8c9390611f7212b3")

    depends_on("py-setuptools", type="build")
    depends_on("py-setuptools-scm", type="build")
    depends_on("py-puremagic", type=("build", "run"))
    depends_on("py-requests", type=("build", "run"))
    depends_on("py-sseclient", type=("build", "run"))