| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 |
|
| 19 | (define-module (gnu packages sourcehut)
|
| 20 | #:use-module ((guix licenses) #:prefix license:)
|
| 21 | #:use-module (guix utils)
|
| 22 | #:use-module (guix packages)
|
| 23 | #:use-module (guix gexp)
|
| 24 | #:use-module (guix git-download)
|
| 25 | #:use-module (guix build-system pyproject)
|
| 26 | #:use-module (gnu packages check)
|
| 27 | #:use-module (gnu packages databases)
|
| 28 | #:use-module (gnu packages markup)
|
| 29 | #:use-module (gnu packages monitoring)
|
| 30 | #:use-module (gnu packages python-build)
|
| 31 | #:use-module (gnu packages python-check)
|
| 32 | #:use-module (gnu packages python-crypto)
|
| 33 | #:use-module (gnu packages python-web)
|
| 34 | #:use-module (gnu packages python-xyz)
|
| 35 | #:use-module (gnu packages))
|
| 36 |
|
| 37 | (define-public python-core-sr-ht
|
| 38 | (package
|
| 39 | (name "python-core-sr-ht")
|
| 40 | (version "0.84.7")
|
| 41 | (source
|
| 42 | (origin
|
| 43 | (method git-fetch)
|
| 44 | (uri (git-reference
|
| 45 | (url "https://git.sr.ht/~sircmpwn/core.sr.ht")
|
| 46 | (commit version)
|
| 47 | (recursive? #true)))
|
| 48 | (file-name (git-file-name name version))
|
| 49 | (sha256
|
| 50 | (base32 "1pqin2javjzk1bi7058bl1fvkq90lb41g2378fcxfjm2r8fxgdzd"))))
|
| 51 | (build-system pyproject-build-system)
|
| 52 | (arguments
|
| 53 | (list
|
| 54 | #:tests? #f)) |
| 55 | (propagated-inputs
|
| 56 | (list python-alembic
|
| 57 | python-beautifulsoup4
|
| 58 | python-bleach
|
| 59 | python-celery
|
| 60 | python-cryptography
|
| 61 | python-flask
|
| 62 | python-humanize
|
| 63 | python-markdown
|
| 64 | python-mistletoe
|
| 65 | python-nh3
|
| 66 | python-prometheus-client
|
| 67 | python-psycopg2
|
| 68 | python-pygments
|
| 69 | python-redis
|
| 70 | python-requests
|
| 71 | python-sqlalchemy
|
| 72 | python-sqlalchemy-utils))
|
| 73 | (native-inputs
|
| 74 | (list python-setuptools
|
| 75 | python-setuptools-scm))
|
| 76 | (home-page "https://git.sr.ht/~sircmpwn/core.sr.ht")
|
| 77 | (synopsis "Shared code for all sourcehut projects")
|
| 78 | (description
|
| 79 | "This package contains code shared among all sr.ht projects.")
|
| 80 | (license license:bsd-3)))
|
| 81 |
|
| 82 | (define-public python-builds-sr-ht
|
| 83 | (package
|
| 84 | (name "python-builds-sr-ht")
|
| 85 | (version "0.105.4")
|
| 86 | (source
|
| 87 | (origin
|
| 88 | (method git-fetch)
|
| 89 | (uri (git-reference
|
| 90 | (url "https://git.sr.ht/~sircmpwn/builds.sr.ht")
|
| 91 | (commit version)))
|
| 92 | (file-name (git-file-name name version))
|
| 93 | (sha256
|
| 94 | (base32 "0vgg5j5sms9czpdjaw1rs70rbqngx4090csx43nf53i5w4akr4j6"))))
|
| 95 | (build-system pyproject-build-system)
|
| 96 | (arguments
|
| 97 | (list #:tests? #f)) |
| 98 | (propagated-inputs
|
| 99 | (list python-bleach
|
| 100 | python-core-sr-ht
|
| 101 | python-markdown
|
| 102 | python-pyyaml
|
| 103 | python-redis))
|
| 104 | (native-inputs
|
| 105 | (list python-setuptools python-setuptools-scm))
|
| 106 | (home-page "https://git.sr.ht/~sircmpwn/builds.sr.ht")
|
| 107 | (synopsis "Sourcehut's build service")
|
| 108 | (description
|
| 109 | "This repository contains the code for the sr.ht @acronym{CI, continuous
|
| 110 | integration} build service.")
|
| 111 | (license license:agpl3)))
|
| 112 |
|
| 113 | (define-public python-hub-sr-ht
|
| 114 | (package
|
| 115 | (name "python-hub-sr-ht")
|
| 116 | (version "0.32.2")
|
| 117 | (source
|
| 118 | (origin
|
| 119 | (method git-fetch)
|
| 120 | (uri (git-reference
|
| 121 | (url "https://git.sr.ht/~sircmpwn/hub.sr.ht")
|
| 122 | (commit version)))
|
| 123 | (file-name (git-file-name name version))
|
| 124 | (sha256
|
| 125 | (base32 "0wpd0bl9jc0p9cdggrpznx7axsx0rmirdl3k13s010x9zmdqff8z"))))
|
| 126 | (build-system pyproject-build-system)
|
| 127 | (arguments
|
| 128 | (list #:tests? #f)) |
| 129 | (propagated-inputs
|
| 130 | (list python-core-sr-ht))
|
| 131 | (native-inputs
|
| 132 | (list python-setuptools python-setuptools-scm))
|
| 133 | (home-page "https://git.sr.ht/~sircmpwn/hub.sr.ht")
|
| 134 | (synopsis "Code for the sr.ht project hub")
|
| 135 | (description
|
| 136 | "This repository contains the code for the sr.ht project hub.")
|
| 137 | (license license:agpl3)))
|
| 138 |
|
| 139 | (define-public python-lists-sr-ht
|
| 140 | (package
|
| 141 | (name "python-lists-sr-ht")
|
| 142 | (version "0.71.4")
|
| 143 | (source
|
| 144 | (origin
|
| 145 | (method git-fetch)
|
| 146 | (uri (git-reference
|
| 147 | (url "https://git.sr.ht/~sircmpwn/lists.sr.ht")
|
| 148 | (commit version)))
|
| 149 | (file-name (git-file-name name version))
|
| 150 | (sha256
|
| 151 | (base32 "1c0hvf2gl05yjf5zaj74b5y8n3y7km6zgffzh7r6y8vjnwhmw995"))))
|
| 152 | (build-system pyproject-build-system)
|
| 153 | (arguments
|
| 154 | (list #:tests? #f)) |
| 155 | (propagated-inputs
|
| 156 | (list python-core-sr-ht python-pygit2))
|
| 157 | (native-inputs
|
| 158 | (list python-setuptools python-setuptools-scm))
|
| 159 | (home-page "https://git.sr.ht/~sircmpwn/lists.sr.ht")
|
| 160 | (synopsis "Code for the sr.ht mailing list service")
|
| 161 | (description
|
| 162 | "This repository contains the code for the sr.ht mailing list service.")
|
| 163 | (license license:agpl3)))
|
| 164 |
|
| 165 | (define-public python-scm-sr-ht
|
| 166 | (package
|
| 167 | (name "python-scm-sr-ht")
|
| 168 | (version "0.22.30")
|
| 169 | (source
|
| 170 | (origin
|
| 171 | (method git-fetch)
|
| 172 | (uri (git-reference
|
| 173 | (url "https://git.sr.ht/~sircmpwn/scm.sr.ht")
|
| 174 | (commit version)))
|
| 175 | (file-name (git-file-name name version))
|
| 176 | (sha256
|
| 177 | (base32 "1qcp5imzjhm8swcdzfgnlcih97d5jq9rm3idw39pxdhpgh6lczcj"))))
|
| 178 | (build-system pyproject-build-system)
|
| 179 | (arguments
|
| 180 | (list
|
| 181 | #:tests? #false)) |
| 182 | (propagated-inputs
|
| 183 | (list python-core-sr-ht))
|
| 184 | (native-inputs
|
| 185 | (list python-setuptools
|
| 186 | python-setuptools-scm))
|
| 187 | (home-page "https://git.sr.ht/~sircmpwn/scm.sr.ht")
|
| 188 | (synopsis "Shared support code for sr.ht source control services")
|
| 189 | (description
|
| 190 | "This package provides shared support code for sr.ht source control
|
| 191 | services.")
|
| 192 | (license license:agpl3)))
|
| 193 |
|
| 194 | (define-public python-todo-sr-ht
|
| 195 | (package
|
| 196 | (name "python-todo-sr-ht")
|
| 197 | (version "0.85.3")
|
| 198 | (source
|
| 199 | (origin
|
| 200 | (method git-fetch)
|
| 201 | (uri (git-reference
|
| 202 | (url "https://git.sr.ht/~sircmpwn/todo.sr.ht")
|
| 203 | (commit version)))
|
| 204 | (file-name (git-file-name name version))
|
| 205 | (sha256
|
| 206 | (base32 "0q3ls24njl0gh21ni08m0g0j9cv0l0clab9dip7dkmg3vczyn70c"))))
|
| 207 | (build-system pyproject-build-system)
|
| 208 | (arguments
|
| 209 | (list #:tests? #false)) |
| 210 | (propagated-inputs
|
| 211 | (list python-core-sr-ht))
|
| 212 | (native-inputs
|
| 213 | (list python-setuptools python-setuptools-scm))
|
| 214 | (home-page "https://git.sr.ht/~sircmpwn/todo.sr.ht")
|
| 215 | (synopsis "Code for the sr.ht ticket tracking service")
|
| 216 | (description
|
| 217 | "This repository contains the code for the sr.ht ticket tracking service.")
|
| 218 | (license license:agpl3)))
|