diff options
author | W. Kosior <koszko@koszko.org> | 2024-07-13 12:03:21 +0200 |
---|---|---|
committer | W. Kosior <koszko@koszko.org> | 2024-09-04 21:02:09 +0200 |
commit | aa171ffcd40aee830e06b045c44b2ed51f413f95 (patch) | |
tree | 286fdece1756833af605c2c523f0fe34becb362b /gnu | |
parent | 9601961618687e78c91992b7a54d67853132f516 (diff) | |
download | guix-aa171ffcd40aee830e06b045c44b2ed51f413f95.tar.gz guix-aa171ffcd40aee830e06b045c44b2ed51f413f95.zip |
gnu: Add python-django-timezone-field.
* gnu/packages/django.scm (python-django-timezone-field): New variable.
Change-Id: I3f500a7a088f0311df4962391bdc692d710176e4
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/django.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 4404c8368d..2be815df9b 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -10,6 +10,9 @@ ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2021 Luis Felipe López Acevedo <luis.felipe.la@protonmail.com> ;;; Copyright © 2022 Pradana Aumars <paumars@courrier.dev> +;;; Copyright © 2024 Wojtek Kosior <koszko@koszko.org> +;;; Additions and modifications by Wojtek Kosior are additionally +;;; dual-licensed under the Creative Commons Zero v1.0. ;;; ;;; This file is part of GNU Guix. ;;; @@ -1407,6 +1410,35 @@ to ElasticSearch.") @code{CIDR} fields for use in Django projects.") (license license:bsd-3))) +(define-public python-django-timezone-field + (package + (name "python-django-timezone-field") + (version "6.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mfogel/django-timezone-field") + (commit version))) + (file-name (string-append name "-" version)) + (sha256 + (base32 + "0hsl8fi6rv4yz973b7m7j8id0prswz3gxljjqclswpz9q35rc5mx")))) + (build-system pyproject-build-system) + (arguments + ;; Some test dependencies are not packaged yet. + (list #:tests? #f)) + (propagated-inputs (list python-django)) + (native-inputs (list python-poetry-core python-pytest-django)) + (home-page "https://pypi.org/project/django-timezone-field/") + (synopsis + "A Django app providing DB, form, and REST framework fields for zoneinfo +and pytz timezone objects.") + (description + "This package provides a Django app providing DB, form, and REST +framework fields for zoneinfo and pytz timezone objects.") + (license license:bsd-2))) + (define-public python-django-url-filter (package (name "python-django-url-filter") |