diff options
author | Lydéric Debusschère <lyderic.de@gmail.com> | 2023-09-21 20:14:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-21 13:14:11 -0500 |
commit | 6859694e8e26ff43e616c433a069c6b5572de374 (patch) | |
tree | d037dc13c9635c5498e74ec5b6a6de9667bf3407 | |
parent | aeaca776302924d00fe52cbda20d27963ae8bca7 (diff) | |
download | spack-6859694e8e26ff43e616c433a069c6b5572de374.tar.gz spack-6859694e8e26ff43e616c433a069c6b5572de374.tar.bz2 spack-6859694e8e26ff43e616c433a069c6b5572de374.tar.xz spack-6859694e8e26ff43e616c433a069c6b5572de374.zip |
[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
-rw-r--r-- | var/spack/repos/builtin/packages/py-graphql-ws/package.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-graphql-ws/package.py b/var/spack/repos/builtin/packages/py-graphql-ws/package.py new file mode 100644 index 0000000000..c89e5d8fd9 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-graphql-ws/package.py @@ -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")) |