summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-python-lsp-jsonrpc/package.py
blob: 9c507d367d5050fe4dd39d126c0f67bcc817630c (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 PyPythonLspJsonrpc(PythonPackage):
    """A Python 3.7+ server implementation of the JSON RPC 2.0 protocol."""

    homepage = "https://github.com/python-lsp/python-lsp-jsonrpc"
    pypi = "python-lsp-jsonrpc/python-lsp-jsonrpc-1.0.0.tar.gz"

    maintainers("alecbcs")

    license("MIT")

    version("1.0.0", sha256="7bec170733db628d3506ea3a5288ff76aa33c70215ed223abdb0d95e957660bd")

    depends_on("py-setuptools", type="build")
    depends_on("py-ujson@3.0.0:", type=("build", "run"))