summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-09-06 14:12:29 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-06 17:52:20 +0100
commit0e193bdc6032c26ce5820faf4785a328fd0d887b (patch)
tree7b5075d03404ec9665c6349c80843da683dcf160 /gnu/packages/python-web.scm
parenteb35eee5407f5af66ec2ac6128f3a5f7286c7212 (diff)
gnu: python-ajsonrpc: Switch to pyproject.
* gnu/packages/python-web.scm (python-ajsonrpc): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-pytest, python-setuptools, python-wheel. Change-Id: I4d6b3813feea80af3d9a94f354a459780cbff281 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm12
1 files changed, 8 insertions, 4 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 20a0ee23f2d..aa1b7986e7e 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -10673,11 +10673,15 @@ standard library and supported by default in Quart.")
(version "1.2.0")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "ajsonrpc" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pavlov99/ajsonrpc")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32 "17x1a4r4l428mhwn53abki9gzdzq3halyr4lj48fw3dzy0caq6vr"))))
- (build-system python-build-system)
+ (base32 "0c7jxfkv5q2m95j54dn650gcvdbpag2qcki7phvmrwsgb36w09kd"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-pytest python-setuptools python-wheel))
(propagated-inputs
(list python-quart
python-sanic