[add] py-graphql-ws: new recipe, required by py-cylc-uiserver (#39991)

* [add] py-graphql-ws: new recipe, required by py-cylc-uiserver

* py-graphql-ws: remove constraint on version for python
This commit is contained in:
Lydéric Debusschère 2023-09-21 20:14:11 +02:00 committed by GitHub
parent aeaca77630
commit 6859694e8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,20 @@
# 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 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")
version("0.4.4", sha256="2ad38db70f37964f54d7eb3e2ede86dbe3f2a1ed7ea0a9f9a3b8b17162a22852")
depends_on("py-setuptools", type="build")
depends_on("py-graphql-core@2", type=("build", "run"))