13 let self = buildPythonPackage rec {
14 pname = "pydantic-settings";
18 disabled = pythonOlder "3.8";
20 src = fetchFromGitHub {
22 repo = "pydantic-settings";
23 rev = "refs/tags/v${version}";
24 hash = "sha256-4o8LlIFVizoxb484lVT67e24jhtUl49otr1lX/2zZ4M=";
31 propagatedBuildInputs = [
36 pythonImportsCheck = [ "pydantic_settings" ];
46 "test_docs_examples[docs/index.md:212-246]"
53 # ruff is a dependency of pytest-examples which is required to run the tests.
54 # We do not want all of the downstream packages that depend on pydantic-settings to also depend on ruff.
57 pytest = self.overridePythonAttrs {
63 description = "Settings management using pydantic";
64 homepage = "https://github.com/pydantic/pydantic-settings";
65 license = licenses.mit;
66 broken = lib.versionOlder pydantic.version "2.0.0";
67 maintainers = with maintainers; [ ];