about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pydantic-settings/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pydantic-settings/default.nix')
-rw-r--r--pkgs/development/python-modules/pydantic-settings/default.nix110
1 files changed, 55 insertions, 55 deletions
diff --git a/pkgs/development/python-modules/pydantic-settings/default.nix b/pkgs/development/python-modules/pydantic-settings/default.nix
index 250c1b8756301..2d158699724a9 100644
--- a/pkgs/development/python-modules/pydantic-settings/default.nix
+++ b/pkgs/development/python-modules/pydantic-settings/default.nix
@@ -1,69 +1,69 @@
-{ lib
-, buildPythonPackage
-, fetchFromGitHub
-, pythonOlder
-, hatchling
-, pydantic
-, python-dotenv
-, pytestCheckHook
-, pytest-examples
-, pytest-mock
+{
+  lib,
+  buildPythonPackage,
+  fetchFromGitHub,
+  pythonOlder,
+  hatchling,
+  pydantic,
+  python-dotenv,
+  pytestCheckHook,
+  pytest-examples,
+  pytest-mock,
 }:
 
-let self = buildPythonPackage rec {
-  pname = "pydantic-settings";
-  version = "2.2.1";
-  pyproject = true;
+let
+  self = buildPythonPackage rec {
+    pname = "pydantic-settings";
+    version = "2.3.2";
+    pyproject = true;
 
-  disabled = pythonOlder "3.8";
+    disabled = pythonOlder "3.8";
 
-  src = fetchFromGitHub {
-    owner = "pydantic";
-    repo = "pydantic-settings";
-    rev = "refs/tags/v${version}";
-    hash = "sha256-4o8LlIFVizoxb484lVT67e24jhtUl49otr1lX/2zZ4M=";
-  };
+    src = fetchFromGitHub {
+      owner = "pydantic";
+      repo = "pydantic-settings";
+      rev = "refs/tags/v${version}";
+      hash = "sha256-1wnTAoF9xi1xLgSWl0FhtIddWPpHgDJPxJlsctJvFQo=";
+    };
 
-  nativeBuildInputs = [
-    hatchling
-  ];
+    nativeBuildInputs = [ hatchling ];
 
-  propagatedBuildInputs = [
-    pydantic
-    python-dotenv
-  ];
+    propagatedBuildInputs = [
+      pydantic
+      python-dotenv
+    ];
 
-  pythonImportsCheck = [ "pydantic_settings" ];
+    pythonImportsCheck = [ "pydantic_settings" ];
 
-  nativeCheckInputs = [
-    pytestCheckHook
-    pytest-examples
-    pytest-mock
-  ];
+    nativeCheckInputs = [
+      pytestCheckHook
+      pytest-examples
+      pytest-mock
+    ];
 
-  disabledTests = [
-    # expected to fail
-    "test_docs_examples[docs/index.md:212-246]"
-  ];
+    disabledTests = [
+      # expected to fail
+      "test_docs_examples[docs/index.md:212-246]"
+    ];
 
-  preCheck = ''
-    export HOME=$TMPDIR
-  '';
+    preCheck = ''
+      export HOME=$TMPDIR
+    '';
 
-  # ruff is a dependency of pytest-examples which is required to run the tests.
-  # We do not want all of the downstream packages that depend on pydantic-settings to also depend on ruff.
-  doCheck = false;
-  passthru.tests = {
-    pytest = self.overridePythonAttrs {
-      doCheck = true;
+    # ruff is a dependency of pytest-examples which is required to run the tests.
+    # We do not want all of the downstream packages that depend on pydantic-settings to also depend on ruff.
+    doCheck = false;
+    passthru.tests = {
+      pytest = self.overridePythonAttrs { doCheck = true; };
     };
-  };
 
-  meta = with lib; {
-    description = "Settings management using pydantic";
-    homepage = "https://github.com/pydantic/pydantic-settings";
-    license = licenses.mit;
-    broken = lib.versionOlder pydantic.version "2.0.0";
-    maintainers = with maintainers; [ ];
+    meta = with lib; {
+      description = "Settings management using pydantic";
+      homepage = "https://github.com/pydantic/pydantic-settings";
+      license = licenses.mit;
+      broken = lib.versionOlder pydantic.version "2.0.0";
+      maintainers = with maintainers; [ ];
+    };
   };
-}; in self
+in
+self