@@ -240,6 +240,27 @@ (define-public python-django-extensions
commands, additional database fields and admin extensions.")
(license license:expat)))
+(define-public python-django-extensions-3.0
+ (package
+ (inherit python-django-extensions)
+ (name "python-django-extensions")
+ (version "3.0.6")
+ (source
+ (origin
+ (method git-fetch)
+ ;; Fetch from the git repository, so that the tests can be run.
+ (uri (git-reference
+ (url "https://github.com/django-extensions/django-extensions")
+ (commit version)))
+ (file-name (string-append name "-" version))
+ (sha256
+ (base32 "0sra6hazqvspxd1pnx5cj7gia1rkaz3hn06ib4wd0frc167f5afy"))))
+ (arguments
+ '(#:tests? #f)) ;XXX: requires a Postgres or MySQL database
+ (propagated-inputs
+ (modify-inputs (package-propagated-inputs python-django-extensions)
+ (replace "python-django" python-django-3.1.14)))))
+
(define-public python-django-localflavor
(package
(name "python-django-localflavor")
@@ -8782,7 +8782,7 @@ (define-public archivebox
python-croniter
python-crontab
python-dateparser
- python-django-extensions
+ python-django-extensions-3.0
python-django-3.1.14
python-mypy-extensions))
(native-inputs