source: dotfiles/guix/.guix-packages/python.scm@ 7bfb563

Last change on this file since 7bfb563 was 1e08614, checked in by Mikhail Kirillov <w96k@…>, on Apr 19, 2022 at 10:06:42 PM

Add guix packages

  • Property mode set to 100644
File size: 10.6 KB
Line 
1(define-module (python)
2 #:use-module ((guix licenses) #:prefix license:)
3 #:use-module (gnu packages)
4 #:use-module (gnu packages base)
5 #:use-module (gnu packages bash)
6 #:use-module (gnu packages certs)
7 #:use-module (gnu packages check)
8 #:use-module (gnu packages compression)
9 #:use-module (gnu packages dbm)
10 #:use-module (gnu packages time)
11 #:use-module (gnu packages databases)
12 #:use-module (gnu packages hurd)
13 #:use-module (gnu packages libffi)
14 #:use-module (gnu packages ncurses)
15 #:use-module (gnu packages pkg-config)
16 #:use-module (gnu packages python-xyz)
17 #:use-module (gnu packages python-web)
18 #:use-module (gnu packages readline)
19 #:use-module (gnu packages shells)
20 #:use-module (gnu packages sqlite)
21 #:use-module (gnu packages tcl)
22 #:use-module (gnu packages tls)
23 #:use-module (gnu packages xml)
24 #:use-module (guix gexp)
25 #:use-module (guix packages)
26 #:use-module (guix download)
27 #:use-module (guix utils)
28 #:use-module (guix build-system gnu)
29 #:use-module (guix build-system python)
30 #:use-module (guix build-system trivial)
31 #:use-module (srfi srfi-1)
32 #:use-module (srfi srfi-26)
33
34 #:export (customize-site
35 guix-pythonpath-search-path))
36
37(define-public python-types-urllib3
38 (package
39 (name "python-types-urllib3")
40 (version "1.26.11")
41 (source
42 (origin
43 (method url-fetch)
44 (uri (pypi-uri "types-urllib3" version))
45 (sha256
46 (base32 "0nri65gfihl4wcbi33wwcksmh5g3ibhjs0hxbyq1x1b82524xmi4"))))
47 (build-system python-build-system)
48 (home-page "https://github.com/python/typeshed")
49 (synopsis "Typing stubs for urllib3")
50 (description "Typing stubs for urllib3")
51 (license #f)))
52
53(define-public python-types-requests
54 (package
55 (name "python-types-requests")
56 (version "2.27.16")
57 (source
58 (origin
59 (method url-fetch)
60 (uri (pypi-uri "types-requests" version))
61 (sha256
62 (base32 "16zypz2csgw0c86ffmyn7mljbg1h4phxnlhl1fvfz9win8c0q0f8"))))
63 (build-system python-build-system)
64 (propagated-inputs (list python-types-urllib3))
65 (home-page "https://github.com/python/typeshed")
66 (synopsis "Typing stubs for requests")
67 (description "Typing stubs for requests")
68 (license #f)))
69
70(define-public python-types-pyyaml
71 (package
72 (name "python-types-pyyaml")
73 (version "6.0.5")
74 (source
75 (origin
76 (method url-fetch)
77 (uri (pypi-uri "types-PyYAML" version))
78 (sha256
79 (base32 "0blavmg6f0xapjba1sh2rnvrdjx5dps1r3h3ihxdilgk2h4hakj6"))))
80 (build-system python-build-system)
81 (home-page "https://github.com/python/typeshed")
82 (synopsis "Typing stubs for PyYAML")
83 (description "Typing stubs for PyYAML")
84 (license #f)))
85
86(define-public python-types-pytz
87 (package
88 (name "python-types-pytz")
89 (version "2021.3.6")
90 (source
91 (origin
92 (method url-fetch)
93 (uri (pypi-uri "types-pytz" version))
94 (sha256
95 (base32 "14yr5hg2ww8s4a0mz2bkd549fv8qgm538fnzxvqv92ld1pcpym3l"))))
96 (build-system python-build-system)
97 (home-page "https://github.com/python/typeshed")
98 (synopsis "Typing stubs for pytz")
99 (description "Typing stubs for pytz")
100 (license #f)))
101
102(define-public python-types-psycopg2
103 (package
104 (name "python-types-psycopg2")
105 (version "2.9.9")
106 (source
107 (origin
108 (method url-fetch)
109 (uri (pypi-uri "types-psycopg2" version))
110 (sha256
111 (base32 "0bhaybs5rl864yw2w1qapbpihp4a798z3m2yzl0dqhxkxr94v7ag"))))
112 (build-system python-build-system)
113 (home-page "https://github.com/python/typeshed")
114 (synopsis "Typing stubs for psycopg2")
115 (description "Typing stubs for psycopg2")
116 (license #f)))
117
118(define-public python-types-werkzeug
119 (package
120 (name "python-types-werkzeug")
121 (version "1.0.9")
122 (source
123 (origin
124 (method url-fetch)
125 (uri (pypi-uri "types-Werkzeug" version))
126 (sha256
127 (base32 "132im9g3m7hv57g3zq30qj7qfpv5jxiyw354aba360a09ih6khjw"))))
128 (build-system python-build-system)
129 (home-page "https://github.com/python/typeshed")
130 (synopsis "Typing stubs for Werkzeug")
131 (description "Typing stubs for Werkzeug")
132 (license #f)))
133
134(define-public python-types-markupsafe
135 (package
136 (name "python-types-markupsafe")
137 (version "1.1.10")
138 (source
139 (origin
140 (method url-fetch)
141 (uri (pypi-uri "types-MarkupSafe" version))
142 (sha256
143 (base32 "1c8iczhgiyw7f92mhbq3j9038g0rj3sqwamclnisw0ixd1raicw5"))))
144 (build-system python-build-system)
145 (home-page "https://github.com/python/typeshed")
146 (synopsis "Typing stubs for MarkupSafe")
147 (description "Typing stubs for MarkupSafe")
148 (license #f)))
149
150(define-public python-types-jinja2
151 (package
152 (name "python-types-jinja2")
153 (version "2.11.9")
154 (source
155 (origin
156 (method url-fetch)
157 (uri (pypi-uri "types-Jinja2" version))
158 (sha256
159 (base32 "10cc9d6hikrv28sqn84lhi8qchpyy3l8jkby1d9fsyms1aj79p6v"))))
160 (build-system python-build-system)
161 (propagated-inputs (list python-types-markupsafe))
162 (home-page "https://github.com/python/typeshed")
163 (synopsis "Typing stubs for Jinja2")
164 (description "Typing stubs for Jinja2")
165 (license #f)))
166
167(define-public python-types-flask
168 (package
169 (name "python-types-flask")
170 (version "1.1.6")
171 (source
172 (origin
173 (method url-fetch)
174 (uri (pypi-uri "types-Flask" version))
175 (sha256
176 (base32 "1kz9cdbirfxa79vvy777bdpfl8ygf60x1xh1ddp47ygzmfrpgixa"))))
177 (build-system python-build-system)
178 (propagated-inputs
179 (list python-types-click python-types-jinja2 python-types-werkzeug))
180 (home-page "https://github.com/python/typeshed")
181 (synopsis "Typing stubs for Flask")
182 (description "Typing stubs for Flask")
183 (license #f)))
184
185(define-public python-types-click
186 (package
187 (name "python-types-click")
188 (version "7.1.8")
189 (source
190 (origin
191 (method url-fetch)
192 (uri (pypi-uri "types-click" version))
193 (sha256
194 (base32 "14p0yjzxpw0jfkyhx16bl2kvla0ai9q51jhicd8xq0b4prl4jq5n"))))
195 (build-system python-build-system)
196 (home-page "https://github.com/python/typeshed")
197 (synopsis "Typing stubs for click")
198 (description "Typing stubs for click")
199 (license #f)))
200
201(define-public python-systemd-python
202 (package
203 (name "python-systemd-python")
204 (version "234")
205 (source
206 (origin
207 (method url-fetch)
208 (uri (pypi-uri "systemd-python" version))
209 (sha256
210 (base32 "1rw3vfakils7h0i93cyi5hvvdc5mgq5cp4n2mmdf9npaf2zl83px"))))
211 (build-system python-build-system)
212 (home-page "https://github.com/systemd/python-systemd")
213 (synopsis "Python interface for libsystemd")
214 (description "Python interface for libsystemd")
215 (license #f)))
216
217(define-public python-gunicorn
218 (package
219 (name "python-gunicorn")
220 (version "20.1.0")
221 (source
222 (origin
223 (method url-fetch)
224 (uri (pypi-uri "gunicorn" version))
225 (sha256
226 (base32 "1s7670qw36x90bgmazmgib170i5gnpyb2ypxzlla7y0mpasniag0"))))
227 (build-system python-build-system)
228 (arguments
229 `(#:tests? #f))
230 (propagated-inputs (list python-setuptools))
231 (home-page "https://gunicorn.org")
232 (synopsis "WSGI HTTP Server for UNIX")
233 (description "WSGI HTTP Server for UNIX")
234 (license license:expat)))
235
236(define-public python-aiohttp-utils
237 (package
238 (name "python-aiohttp-utils")
239 (version "3.1.1")
240 (source
241 (origin
242 (method url-fetch)
243 (uri (pypi-uri "aiohttp_utils" version))
244 (sha256
245 (base32 "056w0aw3nnnhwzrn8rrsn7hbmxb5yd7iz8h4m4x1kzd32pfc9wh8"))))
246 (build-system python-build-system)
247 (arguments
248 `(#:tests? #f))
249 (propagated-inputs (list python-aiohttp python-gunicorn python-mimeparse))
250 (home-page "https://github.com/sloria/aiohttp_utils")
251 (synopsis "Handy utilities for aiohttp.web applications.")
252 (description "Handy utilities for aiohttp.web applications.")
253 (license license:expat)))
254
255(define-public python-mirakuru
256 (package
257 (name "python-mirakuru")
258 (version "2.4.2")
259 (source
260 (origin
261 (method url-fetch)
262 (uri (pypi-uri "mirakuru" version))
263 (sha256
264 (base32 "09l2a2c2mh422j43q8n1l0vg14la34ynp32r1v5rdjjb3gcd917c"))))
265 (build-system python-build-system)
266 (propagated-inputs (list python-psutil))
267 (native-inputs (list python-daemon python-pytest python-pytest-cov))
268 (home-page "https://github.com/ClearcodeHQ/mirakuru")
269 (synopsis "Process executor (not only) for tests.")
270 (description "Process executor (not only) for tests.")
271 (license #f)))
272
273(define-public python-pytest-postgresql
274 (package
275 (name "python-pytest-postgresql")
276 (version "4.1.1")
277 (source
278 (origin
279 (method url-fetch)
280 (uri (pypi-uri "pytest-postgresql" version))
281 (sha256
282 (base32 "0p99j6wm36s0xz3zxi8qyir0ajnxpzcjb00f3z5xwh8603s6lk8l"))))
283 (build-system python-build-system)
284 (propagated-inputs
285 (list python-mirakuru python-port-for python-pytest python-setuptools))
286 (native-inputs (list python-pytest-cov python-pytest-xdist))
287 (home-page "https://github.com/ClearcodeHQ/pytest-postgresql")
288 (synopsis "Postgresql fixtures and fixture factories for Pytest.")
289 (description "Postgresql fixtures and fixture factories for Pytest.")
290 (license #f)))
291
292(define-public python-swh.core
293 (package
294 (name "python-swh.core")
295 (version "2.4.0")
296 (source
297 (origin
298 (method url-fetch)
299 (uri (pypi-uri "swh.core" version))
300 (sha256
301 (base32 "17dyqq1z774xnbjak4ncdrbp6acnbrmks0636fw1rmqq728rzz68"))))
302 (build-system python-build-system)
303 (propagated-inputs
304 (list python-click
305 python-deprecated
306 python-magic
307 python-pyyaml
308 python-sentry-sdk))
309 (native-inputs
310 (list python-aiohttp
311 python-aiohttp-utils
312 python-blinker
313 python-flask
314 python-hypothesis
315 python-iso8601
316 python-msgpack
317 python-psycopg2
318 python-pytest
319 python-pytest-mock
320 python-pytest-postgresql
321 python-pytz
322 python-requests
323 python-requests-mock
324 ;;python-systemd-python
325 python-types-click
326 python-types-flask
327 python-types-psycopg2
328 python-types-pytz
329 python-types-pyyaml
330 python-types-requests
331 python-typing-extensions))
332 (home-page "https://forge.softwareheritage.org/diffusion/DCORE/")
333 (synopsis "Software Heritage core utilities")
334 (description "Software Heritage core utilities")
335 (license #f)))
336
Note: See TracBrowser for help on using the repository browser.