aboutsummaryrefslogtreecommitdiff
path: root/crn/packages/python-xyz.scm
blob: 85f66fa64a9dda8abb4cdba51d4f83c98e14e85d (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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
(define-module (crn packages python-xyz))
(use-modules (crn packages)
	     (guix build utils)
	     (guix download)
	     (guix git-download)
	     (guix gexp)
	     (guix packages)
	     (guix licenses)
	     (guix build-system copy)
	     (guix build-system python)
	     (guix build-system pyproject)
	     ((gnu packages) #:prefix gnu:)
	     (gnu packages check)
	     (gnu packages python-build)
	     (gnu packages python-check)
	     (gnu packages python-xyz)
	     (gnu packages python-web))

(define-public python-typeguard
  (package
    (name "python-typeguard")
    (version "2.13.3")
    (source (origin
              (method url-fetch)
              (uri (pypi-uri "typeguard" version))
              (sha256
               (base32
                "1i5qzcyw2715h1g1hvj7fxykck2bkxyshpngjr3nfcx1lf6smv80"))
	      (patches (crn/search-patches "typeguard-version.patch"))))
    (build-system python-build-system)
    (native-inputs (list python-mypy python-pytest python-typing-extensions))
    (home-page "")
    (synopsis "Run-time type checker for Python")
    (description "Run-time type checker for Python")
    (license expat)))

(define-public python-lsprotocol
  (package
    (name "python-lsprotocol")
    (version "2022.0.0a10")
    (source (origin
              (method url-fetch)
              (uri (pypi-uri "lsprotocol" version))
              (sha256
               (base32
		"0l1wg3hp5agvy8dy5345bq7yll7xxxji4xp37sgrgv54nxq8gmrc"))))
    (build-system pyproject-build-system)
    (native-inputs (list python-flit-core))
    (inputs (list python-attrs))
    (propagated-inputs (list python-attrs python-cattrs))
    (home-page "")
    (synopsis "Python implementation of the Language Server Protocol.")
    (description "Python implementation of the Language Server Protocol.")
    (license expat)
    (arguments
     (list #:phases
	   #~(modify-phases %standard-phases
	     (delete 'check))))))

(define-public python-gls
  (package
   (name "python-gls")
   (version "1.0.1")
   (source (origin
	    (method url-fetch)
	    (uri "https://files.pythonhosted.org/packages/8e/27/58ff0f76b379fc11a1d03e8d4b4e96fd0abb463d27709a7fb4193bcdbbc4/pygls-1.0.1.tar.gz")
	    (sha256
             (base32
              "1clcnx1s9knh6dgmf4ykrca7yq19w6kjphsvfmffp426pgfrivpk"))))
   (build-system python-build-system)
   (native-inputs (list python-toml python-setuptools-scm python-wheel python-typeguard))
   (propagated-inputs (list python-lsprotocol))
   (home-page "https://github.com/openlawlibrary/pygls")
   (synopsis "A pythonic generic lanuage server.")
   (description "pygls (pronounced like \"pie glass\") is a pythonic generic implementation of the Language Server Protocol for use as a foundation for writing your own Language Servers in just a few lines of code.")
   (license asl2.0)
   (arguments
    (list
     #:phases
     #~(modify-phases %standard-phases
		      (delete 'check))))))

(define-public python-attrs
  (package
  (name "python-attrs")
  (version "22.2.0")
  (source (origin
            (method url-fetch)
            (uri (pypi-uri "attrs" version))
            (sha256
             (base32
              "16az31ccld8s3xj7q1iw6a402sf92lfpvcwdyq1kr6815zy7n8n9"))))
  (build-system python-build-system)
  (native-inputs (list 
                       python-cloudpickle
                       python-hypothesis
                       python-mypy
                       python-pympler
                       python-zope-interface))
  (home-page "https://www.attrs.org/")
  (synopsis "Classes Without Boilerplate")
  (description "Classes Without Boilerplate")
  (license expat)
  (arguments
   (list #:phases
	 #~(modify-phases %standard-phases
			  (delete 'check))))))

(define-public python-cattrs
  (package
    (name "python-cattrs")
    (version "22.2.0")
    (source (origin
              (method url-fetch)
              (uri (pypi-uri "cattrs" version))
              (sha256
               (base32
		"0vfggbggsdni4hdis17xr8z9cnyw5klnrdp7avv3qhlr4djdbvph"))))
    (build-system python-build-system)
    (propagated-inputs (list python-attrs python-exceptiongroup
                             python-typing-extensions))
    (home-page "https://github.com/python-attrs/cattrs")
    (synopsis "Composable complex class support for attrs and dataclasses.")
    (description "Composable complex class support for attrs and dataclasses.")
    (license expat)))

(define-public sway-contrib
  (package
    (name "sway-contrib")
    (version "1.8")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/swaywm/sway")
             (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "17dqr2lkmcv2ssp7vky27zw599i77whpb1aqh1s6kl8a8vkrz6mg"))))

    (build-system python-build-system)
    (native-inputs (list python-mypy python-pytest python-typing-extensions))
    (home-page "")
    (synopsis "Run-time type checker for Python")
    (description "Run-time type checker for Python")
    (license expat)))

(define-public python-lsprotocol
  (package
    (name "python-lsprotocol")
    (version "2022.0.0a10")
    (source (origin
              (method url-fetch)
              (uri (pypi-uri "lsprotocol" version))
              (sha256
               (base32
		"0l1wg3hp5agvy8dy5345bq7yll7xxxji4xp37sgrgv54nxq8gmrc"))))
    (build-system pyproject-build-system)
    (native-inputs (list python-flit-core))
    (inputs (list python-attrs))
    (propagated-inputs (list python-attrs python-cattrs))
    (home-page "")
    (synopsis "Python implementation of the Language Server Protocol.")
    (description "Python implementation of the Language Server Protocol.")
    (license expat)
    (arguments
     (list #:phases
	   #~(modify-phases %standard-phases
	     (delete 'check))))))

(define-public python-gls
  (package
   (name "python-gls")
   (version "1.0.1")
   (source (origin
	    (method url-fetch)
	    (uri "https://files.pythonhosted.org/packages/8e/27/58ff0f76b379fc11a1d03e8d4b4e96fd0abb463d27709a7fb4193bcdbbc4/pygls-1.0.1.tar.gz")
	    (sha256
             (base32
              "1clcnx1s9knh6dgmf4ykrca7yq19w6kjphsvfmffp426pgfrivpk"))))
   (build-system python-build-system)
   (native-inputs (list python-toml python-setuptools-scm python-wheel python-typeguard))
   (propagated-inputs (list python-lsprotocol))
   (home-page "https://github.com/openlawlibrary/pygls")
   (synopsis "A pythonic generic lanuage server.")
   (description "pygls (pronounced like \"pie glass\") is a pythonic generic implementation of the Language Server Protocol for use as a foundation for writing your own Language Servers in just a few lines of code.")
   (license asl2.0)
   (arguments
    (list
     #:phases
     #~(modify-phases %standard-phases
		      (delete 'check))))))

(define-public python-attrs
  (package
  (name "python-attrs")
  (version "22.2.0")
  (source (origin
            (method url-fetch)
            (uri (pypi-uri "attrs" version))
            (sha256
             (base32
              "16az31ccld8s3xj7q1iw6a402sf92lfpvcwdyq1kr6815zy7n8n9"))))
  (build-system python-build-system)
  (native-inputs (list 
                       python-cloudpickle
                       python-hypothesis
                       python-mypy
                       python-pympler
                       python-zope-interface))
  (home-page "https://www.attrs.org/")
  (synopsis "Classes Without Boilerplate")
  (description "Classes Without Boilerplate")
  (license expat)
  (arguments
   (list #:phases
	 #~(modify-phases %standard-phases
			  (delete 'check))))))

(define-public python-cattrs
  (package
    (name "python-cattrs")
    (version "22.2.0")
    (source (origin
              (method url-fetch)
              (uri (pypi-uri "cattrs" version))
              (sha256
               (base32
		"0vfggbggsdni4hdis17xr8z9cnyw5klnrdp7avv3qhlr4djdbvph"))))
    (build-system python-build-system)
    (propagated-inputs (list python-attrs python-exceptiongroup
                             python-typing-extensions))
    (home-page "https://github.com/python-attrs/cattrs")
    (synopsis "Composable complex class support for attrs and dataclasses.")
    (description "Composable complex class support for attrs and dataclasses.")
    (license expat)))

(define-public sway-contrib
  (package
    (name "sway-contrib")
    (version "1.8")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/swaywm/sway")
             (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "17dqr2lkmcv2ssp7vky27zw599i77whpb1aqh1s6kl8a8vkrz6mg"))
       (patches (crn/search-patches "sway-contrib-python.patch"))))
    (build-system copy-build-system)
    (arguments
     '(#:install-plan
       '(("contrib" "bin"))))
    (inputs (gnu:specifications->packages (list "sway"
						"python")))
    (propagated-inputs (gnu:specifications->packages (list "python-i3ipc"
							   "jq"
							   "grim")))
    (home-page "https://github.com/swaywm/sway")
    (synopsis "transparency for inactive windows in sway")
    (description "transparency for inactive windows in sway")
    (license expat)))