blob: c1a257784ab9524d732e656528dd0c140cef8521 (
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
|
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2023 Ricardo Wurmus <rekado@elephly.net>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages sourcehut)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix utils)
#:use-module (guix packages)
#:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix build-system pyproject)
#:use-module (gnu packages check)
#:use-module (gnu packages databases)
#:use-module (gnu packages markup)
#:use-module (gnu packages monitoring)
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-check)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages))
(define-public python-core-sr-ht
(package
(name "python-core-sr-ht")
(version "0.84.7")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://git.sr.ht/~sircmpwn/core.sr.ht")
(commit version)
(recursive? #true)))
(file-name (git-file-name name version))
(sha256
(base32 "1pqin2javjzk1bi7058bl1fvkq90lb41g2378fcxfjm2r8fxgdzd"))))
(build-system pyproject-build-system)
(arguments
(list
#:tests? #f)) ;there are none
(propagated-inputs
(list python-alembic
python-beautifulsoup4
python-bleach
python-celery
python-cryptography
python-flask
python-humanize
python-markdown
python-mistletoe
python-nh3
python-prometheus-client
python-psycopg2
python-pygments
python-redis
python-requests
python-sqlalchemy
python-sqlalchemy-utils))
(native-inputs
(list python-setuptools
python-setuptools-scm))
(home-page "https://git.sr.ht/~sircmpwn/core.sr.ht")
(synopsis "Shared code for all sourcehut projects")
(description
"This package contains code shared among all sr.ht projects.")
(license license:bsd-3)))
(define-public python-builds-sr-ht
(package
(name "python-builds-sr-ht")
(version "0.105.4")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://git.sr.ht/~sircmpwn/builds.sr.ht")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "0vgg5j5sms9czpdjaw1rs70rbqngx4090csx43nf53i5w4akr4j6"))))
(build-system pyproject-build-system)
(arguments
(list #:tests? #f)) ;there are none
(propagated-inputs
(list python-bleach
python-core-sr-ht
python-markdown
python-pyyaml
python-redis))
(native-inputs
(list python-setuptools python-setuptools-scm))
(home-page "https://git.sr.ht/~sircmpwn/builds.sr.ht")
(synopsis "Sourcehut's build service")
(description
"This repository contains the code for the sr.ht @acronym{CI, continuous
integration} build service.")
(license license:agpl3)))
(define-public python-hub-sr-ht
(package
(name "python-hub-sr-ht")
(version "0.32.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://git.sr.ht/~sircmpwn/hub.sr.ht")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "0wpd0bl9jc0p9cdggrpznx7axsx0rmirdl3k13s010x9zmdqff8z"))))
(build-system pyproject-build-system)
(arguments
(list #:tests? #f)) ;there are none
(propagated-inputs
(list python-core-sr-ht))
(native-inputs
(list python-setuptools python-setuptools-scm))
(home-page "https://git.sr.ht/~sircmpwn/hub.sr.ht")
(synopsis "Code for the sr.ht project hub")
(description
"This repository contains the code for the sr.ht project hub.")
(license license:agpl3)))
(define-public python-lists-sr-ht
(package
(name "python-lists-sr-ht")
(version "0.71.4")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://git.sr.ht/~sircmpwn/lists.sr.ht")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1c0hvf2gl05yjf5zaj74b5y8n3y7km6zgffzh7r6y8vjnwhmw995"))))
(build-system pyproject-build-system)
(arguments
(list #:tests? #f)) ;there are none
(propagated-inputs
(list python-core-sr-ht python-pygit2))
(native-inputs
(list python-setuptools python-setuptools-scm))
(home-page "https://git.sr.ht/~sircmpwn/lists.sr.ht")
(synopsis "Code for the sr.ht mailing list service")
(description
"This repository contains the code for the sr.ht mailing list service.")
(license license:agpl3)))
(define-public python-scm-sr-ht
(package
(name "python-scm-sr-ht")
(version "0.22.30")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://git.sr.ht/~sircmpwn/scm.sr.ht")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1qcp5imzjhm8swcdzfgnlcih97d5jq9rm3idw39pxdhpgh6lczcj"))))
(build-system pyproject-build-system)
(arguments
(list
#:tests? #false)) ;there are none
(propagated-inputs
(list python-core-sr-ht))
(native-inputs
(list python-setuptools
python-setuptools-scm))
(home-page "https://git.sr.ht/~sircmpwn/scm.sr.ht")
(synopsis "Shared support code for sr.ht source control services")
(description
"This package provides shared support code for sr.ht source control
services.")
(license license:agpl3)))
(define-public python-todo-sr-ht
(package
(name "python-todo-sr-ht")
(version "0.85.3")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://git.sr.ht/~sircmpwn/todo.sr.ht")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "0q3ls24njl0gh21ni08m0g0j9cv0l0clab9dip7dkmg3vczyn70c"))))
(build-system pyproject-build-system)
(arguments
(list #:tests? #false)) ;there are none
(propagated-inputs
(list python-core-sr-ht))
(native-inputs
(list python-setuptools python-setuptools-scm))
(home-page "https://git.sr.ht/~sircmpwn/todo.sr.ht")
(synopsis "Code for the sr.ht ticket tracking service")
(description
"This repository contains the code for the sr.ht ticket tracking service.")
(license license:agpl3)))
|