gnu: Add python-django-q-sentry.

* gnu/packages/django.scm (python-django-q-sentry): New variable.

Change-Id: Iaa23ed584b6528aee52d842e0b4b88ff2ffff09f
This commit is contained in:
Ricardo Wurmus 2025-01-14 14:29:21 +01:00
parent 13309b942c
commit fac2eec9b8
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -1153,6 +1153,37 @@ (define-public python-django-q2
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")