[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
22/55: gnu: Add python-django-ninja.
From: |
guix-commits |
Subject: |
22/55: gnu: Add python-django-ninja. |
Date: |
Thu, 21 Sep 2023 13:31:36 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 75fe559afc75fe33e35d44129f67663f6361e530
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sat Sep 16 16:47:56 2023 +0800
gnu: Add python-django-ninja.
* gnu/packages/django.scm (python-django-ninja): New variable.
---
gnu/packages/django.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index ca696abf19..145860ec40 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -897,6 +897,36 @@ used to attach comments to any model, so you can use it
for comments on blog
entries, photos, book chapters, or anything else.")
(license license:bsd-3)))
+(define-public python-django-ninja
+ (package
+ (name "python-django-ninja")
+ (version "0.22.2")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "django_ninja" version))
+ (sha256
+ (base32
+ "0b19w7nvw7c3z19dbza49m24c3384j59w2xcr5l6jshxazkvsgli"))))
+ (build-system pyproject-build-system)
+ (arguments
+ ;; FIXME: How to configure this test properly?
+ (list #:test-flags #~'("-k" "not test_improperly_configured")))
+ (propagated-inputs
+ (list python-django python-pydantic))
+ (native-inputs
+ (list python-flit-core
+ python-psycopg2
+ python-pytest
+ python-pytest-asyncio
+ python-pytest-django))
+ (home-page "https://django-ninja.rest-framework.com")
+ (synopsis "REST framework for Django")
+ (description
+ "Django Ninja is a web framework for building APIs with Django
+and Python type hints. It is designed to be fast and easy to use thanks
+to asyncio and Pydantic.")
+ (license license:expat)))
+
(define-public python-django-pipeline
(package
(name "python-django-pipeline")
- 34/55: gnu: python-django@3.2: Update to 3.2.21., (continued)
- 34/55: gnu: python-django@3.2: Update to 3.2.21., guix-commits, 2023/09/21
- 35/55: gnu: python-asgiref: Update to 3.7.2., guix-commits, 2023/09/21
- 40/55: gnu: python-distlib: Don't reference the implicit bash input., guix-commits, 2023/09/21
- 52/55: gnu: python-libnacl: Update to 2.1.0., guix-commits, 2023/09/21
- 44/55: gnu: python-uvicorn: Update to 0.23.2., guix-commits, 2023/09/21
- 49/55: gnu: python-incremental: Update to 22.10.0., guix-commits, 2023/09/21
- 46/55: gnu: python-psycopg: Update to 3.1.10., guix-commits, 2023/09/21
- 48/55: gnu: python-txaio: Update to 23.1.1., guix-commits, 2023/09/21
- 11/55: gnu: Add python-sphinx-basic-ng., guix-commits, 2023/09/21
- 16/55: services: nftables: Add 'configuration' action., guix-commits, 2023/09/21
- 22/55: gnu: Add python-django-ninja.,
guix-commits <=
- 55/55: gnu: python-bwapy: Fix typo., guix-commits, 2023/09/21
- 02/55: gnu: Add python-dirty-equals., guix-commits, 2023/09/21
- 07/55: gnu: Add python-html5tagger., guix-commits, 2023/09/21
- 09/55: gnu: Add python-pyproject-hooks., guix-commits, 2023/09/21
- 10/55: gnu: Add python-slotscheck., guix-commits, 2023/09/21
- 12/55: gnu: Add python-towncrier., guix-commits, 2023/09/21
- 13/55: gnu: Add python-pylsqpack., guix-commits, 2023/09/21
- 14/55: gnu: Add python-aioquic., guix-commits, 2023/09/21
- 19/55: gnu: Add python-dj-search-url., guix-commits, 2023/09/21
- 20/55: gnu: Add python-django-cache-url., guix-commits, 2023/09/21