rekado pushed a commit to branch master
in repository guix.
commit 5af69ae4a4a558d633d199b1425c4a3773269640
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Tue Jan 14 14:29:21 2025 +0100
gnu: Add python-django-q-sentry.
* gnu/packages/django.scm (python-django-q-sentry): New variable.
Change-Id: Iaa23ed584b6528aee52d842e0b4b88ff2ffff09f
---
gnu/packages/django.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 106ebf651d..0f13611097 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -1153,6 +1153,37 @@ Django. Django Q2 is a fork of Django Q with the new
updated version of
Django Q, dependencies updates, docs updates and several bug fixes.")
(license license:expat)))
+(define-public python-django-q-sentry
+ (package
+ (name "python-django-q-sentry")
+ (version "0.1.6")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/danielwelch/django-q-sentry")
+ ;; There are no tags.
+ (commit "6ed0b372c502c18101c7b77dce162dcf2262c7bb")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0c7rypsfax1l1j587p4cvcypa7if3vcyz2l806s6z27ajz0bz3v4"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'use-poetry-core
+ (lambda _
+ ;; Patch to use the core poetry API.
+ (substitute* "pyproject.toml"
+ (("poetry.masonry.api") "poetry.core.masonry.api")))))))
+ (propagated-inputs (list python-sentry-sdk))
+ (native-inputs (list python-poetry-core python-setuptools python-wheel))
+ (home-page "https://django-q.readthedocs.org")
+ (synopsis "Sentry support plugin for Django Q")
+ (description "This package provides a Sentry support plugin for Django Q.")
+ (license license:expat)))
+
(define-public python-django-sortedm2m
(package
(name "python-django-sortedm2m")