Add python-platypush
modules/cogd/packages/python-xyz.scm
12 | 12 | (guix build-system pyproject) | |
13 | 13 | ((guix licenses) #:prefix license:) | |
14 | 14 | (gnu packages check) | |
15 | + | (gnu packages databases) | |
15 | 16 | (gnu packages python-build) | |
16 | 17 | (gnu packages python-compression) | |
18 | + | (gnu packages python-crypto) | |
19 | + | (gnu packages python-web) | |
17 | 20 | (gnu packages python-xyz) | |
21 | + | (gnu packages time) | |
18 | 22 | (gnu packages xdisorg) | |
19 | 23 | (gnu packages xorg)) | |
20 | 24 | ||
… | |||
121 | 125 | #:tests? #f)) | |
122 | 126 | (native-inputs (list python-setuptools python-setuptools-scm python-wheel)) | |
123 | 127 | (propagated-inputs (list)))) | |
128 | + | ||
129 | + | (define-public python-urllib3-for-platypush | |
130 | + | (package | |
131 | + | (inherit python-urllib3) | |
132 | + | (version "2.2.2") | |
133 | + | (source | |
134 | + | (origin | |
135 | + | (method url-fetch) | |
136 | + | (uri (pypi-uri "urllib3" version)) | |
137 | + | (sha256 | |
138 | + | (base32 "0s11c5gxrra19s3c6fzj0iy1f3cxcdin0pns6cl5aylsaj2m8l6x")))) | |
139 | + | (properties '((hidden? . #t))))) | |
140 | + | ||
141 | + | (define-public python-platypush | |
142 | + | (package | |
143 | + | (name "python-platypush") | |
144 | + | (version "1.3.4") | |
145 | + | (source | |
146 | + | (origin | |
147 | + | (method git-fetch) | |
148 | + | (uri (git-reference | |
149 | + | (url "https://git.platypush.tech/platypush/platypush.git") | |
150 | + | (commit (string-append "v" version)))) | |
151 | + | (file-name (git-file-name name version)) | |
152 | + | (sha256 | |
153 | + | (base32 "0c17hq7frwqjb8rwm949wi1h2y9f4ms06dhr77akf1qdb4lhn5l7")))) | |
154 | + | (build-system pyproject-build-system) | |
155 | + | (arguments | |
156 | + | (list | |
157 | + | #:phases #~(modify-phases %standard-phases | |
158 | + | (add-before 'check 'pre-check | |
159 | + | (lambda _ | |
160 | + | (setenv "HOME" "/tmp")))))) | |
161 | + | (native-inputs (list python-setuptools python-wheel python-pytest redis)) | |
162 | + | (propagated-inputs (list python-alembic | |
163 | + | python-croniter | |
164 | + | python-docutils | |
165 | + | python-flask | |
166 | + | python-marshmallow | |
167 | + | python-pillow | |
168 | + | python-pygments | |
169 | + | python-pyotp | |
170 | + | python-dateutil | |
171 | + | python-magic | |
172 | + | python-pyyaml | |
173 | + | python-pyzbar | |
174 | + | python-qrcode | |
175 | + | python-redis | |
176 | + | python-requests | |
177 | + | python-rsa | |
178 | + | python-sqlalchemy | |
179 | + | python-tornado | |
180 | + | python-urllib3-for-platypush | |
181 | + | python-websocket-client | |
182 | + | python-websockets | |
183 | + | python-werkzeug | |
184 | + | python-zeroconf | |
185 | + | python-zipp-3)) | |
186 | + | (home-page "https://platypush.tech/") | |
187 | + | (synopsis "General-purpose automation framework") | |
188 | + | (description | |
189 | + | "Platypush is a general-purpose and extensible platform for automation | |
190 | + | across multiple services and devices with hundreds of supported | |
191 | + | integrations.") | |
192 | + | (license license:expat))) |