aboutsummaryrefslogtreecommitdiff
path: root/crn/packages/cmake-language-server.scm
blob: a7d644f8b85ba7872d5f2aa52629b4cbd3e88ce5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
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))))))