summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-graphql-ws/package.py
blob: 815feb5833ea086d02b9453204691ee15b939068 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 2013-2024 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 PyGraphqlWs(PythonPackage):
    """Websocket backend for GraphQL subscriptions."""

    homepage = "https://github.com/graphql-python/graphql-ws"
    pypi = "graphql-ws/graphql-ws-0.4.4.tar.gz"

    maintainers("LydDeb")

    license("MIT")

    version("0.4.4", sha256="2ad38db70f37964f54d7eb3e2ede86dbe3f2a1ed7ea0a9f9a3b8b17162a22852")

    depends_on("py-setuptools", type="build")
    depends_on("py-graphql-core@2", type=("build", "run"))