From 4849a5b03f8663f5f01832c2c7191c6e4dbc69bf Mon Sep 17 00:00:00 2001 From: "Christopher R. Nelson" Date: Sun, 26 Mar 2023 12:21:08 -0400 Subject: initial commit --- crn/packages/cmake-language-server.scm | 74 ++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 crn/packages/cmake-language-server.scm (limited to 'crn/packages/cmake-language-server.scm') diff --git a/crn/packages/cmake-language-server.scm b/crn/packages/cmake-language-server.scm new file mode 100644 index 0000000..a7d644f --- /dev/null +++ b/crn/packages/cmake-language-server.scm @@ -0,0 +1,74 @@ +(define-module (crn packages cmake-language-server)) +(use-modules (guix build utils) + (guix download) + (guix git-download) + (guix packages) + (guix licenses) + (guix gexp) + (guix build-system python) + (guix build-system pyproject) + (gnu packages python-check) + (gnu packages python-crypto) + (gnu packages python-build) + (gnu packages check) + (crn packages) + ((crn packages python-xyz) #:prefix crn-python:) + (gnu packages python-web) + (gnu packages python-xyz) + ((gnu packages) #:prefix gnu:)) + +(define-public python-pdm-pep517 + (package + (name "python-pdm-pep517") + (version "1.1.3") + (source (origin + (method url-fetch) + (uri (pypi-uri "pdm-pep517" version)) + (sha256 + (base32 + "00sxd3bfwqbl9rqcn9shgbsaq6jkj75s47fjdq9bsm4ylkl7f4bn")))) + (build-system pyproject-build-system) + (home-page "") + (synopsis "A PEP 517 backend for PDM that supports PEP 621 metadata") + (description + "This package provides a PEP 517 backend for PDM that supports PEP 621 metadata") + (license expat) + (arguments (list + #:phases + #~(modify-phases %standard-phases + (delete 'check)))))) + +(define-public cmake-language-server + (package + (name "cmake-language-server") + (version "0.1.7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/regen100/cmake-language-server") + (commit "v0.1.7"))) + (sha256 + (base32 + "1ip6savjyhwizwxqx70ifmznn0j754n19xw4g84i3iz1is5h048k")))) + (build-system pyproject-build-system) + (native-inputs (list python-pdm-pep517 + python-pytest + python-pytest-datadir + python-pytest-cov + python-mypy + python-flake8 + python-black + python-isort + crn-python:python-typeguard)) + (propagated-inputs (list crn-python:python-attrs + crn-python:python-gls + crn-python:python-lsprotocol)) + (home-page "https://github.com/regen100/cmake-language-server") + (synopsis "An automated code formatter for Erlang.") + (description "erlfmt is an opinionated Erlang code formatter. By automating the process of formatting the code, it frees your team up to focus on what the code does, instead of what it looks like.") + (license asl2.0) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (delete 'check)))))) -- cgit v1.2.3