From 20606ca9af1ac019073f4ed872a9ad9960ff0725 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 16 Jan 2024 15:40:22 +0100 Subject: gnu: Add python-prisma. * gnu/packages/databases.scm (python-prisma): New variable. Change-Id: I7df9b5600fb49ef46a73678323bc29993f35fae2 --- gnu/packages/databases.scm | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) (limited to 'gnu/packages/databases.scm') diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index c575ad7e74..b56767d311 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -28,7 +28,7 @@ ;;; Copyright © 2017, 2018 Ben Woodcroft ;;; Copyright © 2017 Rutger Helling ;;; Copyright © 2017, 2018, 2019 Pierre Langlois -;;; Copyright © 2015, 2017, 2018, 2019, 2021, 2022, 2023 Ricardo Wurmus +;;; Copyright © 2015, 2017, 2018, 2019, 2021, 2022, 2023, 2024 Ricardo Wurmus ;;; Copyright © 2017 Kristofer Buffington ;;; Copyright © 2018 Amirouche Boubekki ;;; Copyright © 2018 Joshua Sierles, Nextjournal @@ -578,6 +578,35 @@ the API, and provides features such as: @end itemize") (license license:bsd-3))) +(define-public python-prisma + (package + (name "python-prisma") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "prisma" version)) + (sha256 + (base32 "1y9m3bailnvid59dl4vx31vysaqbcg6gsppskyymaxg3m96808pc")))) + (build-system pyproject-build-system) + (propagated-inputs + (list python-cached-property + python-click + python-dotenv + python-httpx + python-jinja2 + python-nodeenv + python-pydantic + python-strenum + python-tomlkit + python-typing-extensions)) + (home-page "https://github.com/RobertCraigie/prisma-client-py") + (synopsis "Fully type-safe database client") + (description + "Prisma Client Python is an auto-generated and fully type-safe database +client.") + (license license:asl2.0))) + (define-public python-pylibmc (package (name "python-pylibmc") -- cgit v1.2.3