[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:
parent
aeaca77630
commit
6859694e8e
20
var/spack/repos/builtin/packages/py-graphql-ws/package.py
Normal file
20
var/spack/repos/builtin/packages/py-graphql-ws/package.py
Normal 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"))
|
Loading…
Reference in New Issue
Block a user