diff options
Diffstat (limited to 'pkgs/development/python-modules/prisma/default.nix')
-rw-r--r-- | pkgs/development/python-modules/prisma/default.nix | 46 |
1 files changed, 20 insertions, 26 deletions
diff --git a/pkgs/development/python-modules/prisma/default.nix b/pkgs/development/python-modules/prisma/default.nix index 6f7c79715618..db89649a6a63 100644 --- a/pkgs/development/python-modules/prisma/default.nix +++ b/pkgs/development/python-modules/prisma/default.nix @@ -1,23 +1,23 @@ -{ lib -, buildPythonPackage -, click -, fetchFromGitHub -, httpx -, jinja2 -, nodeenv -, pydantic -, pytestCheckHook -, python-dotenv -, pythonOlder -, setuptools -, strenum -, tomlkit -, typing-extensions +{ + lib, + buildPythonPackage, + click, + fetchFromGitHub, + httpx, + jinja2, + nodeenv, + pydantic, + python-dotenv, + pythonOlder, + setuptools, + strenum, + tomlkit, + typing-extensions, }: buildPythonPackage rec { pname = "prisma"; - version = "0.13.1"; + version = "0.15.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -26,12 +26,10 @@ buildPythonPackage rec { owner = "RobertCraigie"; repo = "prisma-client-py"; rev = "refs/tags/v${version}"; - hash = "sha256-7pibexiFsyrwC6rVv0CGHRbQU4G3rOXVhQW/7c/vKJA="; + hash = "sha256-F+Up1HHslralt3NvZZ/wT+CKvzKOjhEEuMEeT0L6NZM="; }; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; dependencies = [ click @@ -42,16 +40,12 @@ buildPythonPackage rec { python-dotenv tomlkit typing-extensions - ] ++ lib.optionals (pythonOlder "3.11") [ - strenum - ]; + ] ++ lib.optionals (pythonOlder "3.11") [ strenum ]; # Building the client requires network access doCheck = false; - pythonImportsCheck = [ - "prisma" - ]; + pythonImportsCheck = [ "prisma" ]; meta = with lib; { description = "Auto-generated and fully type-safe database client for prisma"; |