diff options
author | W. Kosior <koszko@koszko.org> | 2024-07-13 12:03:21 +0200 |
---|---|---|
committer | W. Kosior <koszko@koszko.org> | 2025-03-21 13:59:30 +0100 |
commit | cf7f49a482849d5de13cabaee305804bf49eed75 (patch) | |
tree | 8b0ebeb451528889a0ac99afd155f3e93e6d3ee5 | |
parent | 577e4649ea695d9e3539734a772de01a4dcb1426 (diff) | |
download | guix-cf7f49a482849d5de13cabaee305804bf49eed75.tar.gz guix-cf7f49a482849d5de13cabaee305804bf49eed75.zip |
gnu: Add python-django-timezone-field.
* gnu/packages/django.scm (python-django-timezone-field): New variable.
Change-Id: I3f500a7a088f0311df4962391bdc692d710176e4
-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 cb9df0d2df..6e82577d43 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. ;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus@gmail.com> ;;; ;;; This file is part of GNU Guix. @@ -1618,6 +1621,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") |