Loading pkgs/development/python-modules/instructor/default.nix 0 → 100644 +41 −0 Original line number Diff line number Diff line { lib , python3 , fetchPypi , buildPythonPackage }: buildPythonPackage rec { pname = "instructor"; version = "0.6.4"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-Af52TGnkqY/t0cPkHoRfhFqa/tuOpQXAI/fFfMTcM4Y="; }; nativeBuildInputs = [ python3.pkgs.poetry-core ]; propagatedBuildInputs = with python3.pkgs; [ aiohttp docstring-parser openai pydantic rich tenacity typer ]; pythonImportsCheck = [ "instructor" ]; meta = with lib; { description = "Structured outputs for llm"; homepage = "https://github.com/jxnl/instructor"; changelog = "https://github.com/jxnl/instructor/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ mic92 ]; mainProgram = "instructor"; }; } pkgs/tools/llm/shell_gpt/default.nix +5 −3 Original line number Diff line number Diff line Loading @@ -6,12 +6,12 @@ python3.pkgs.buildPythonApplication rec { pname = "shell_gpt"; version = "1.0.1"; format = "pyproject"; version = "1.4.0"; pyproject = true; src = fetchPypi { inherit pname version; sha256 = "sha256-/rBD2n5IZzSeC5dmVQRZY8UrzUOkAEVHp8KwIfV1hec="; sha256 = "sha256-r/xQRqnLJhGZORjYUaYWKjqY4fQCW4WKkE+n8k0VMbA="; }; nativeBuildInputs = with python3.pkgs; [ Loading @@ -27,6 +27,8 @@ python3.pkgs.buildPythonApplication rec { typer requests hatchling openai instructor ]; pythonRelaxDeps = [ "requests" "rich" "distro" "typer" ]; Loading pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -5682,6 +5682,8 @@ self: super: with self; { insteon-frontend-home-assistant = callPackage ../development/python-modules/insteon-frontend-home-assistant { }; instructor = callPackage ../development/python-modules/instructor { }; intake = callPackage ../development/python-modules/intake { }; intake-parquet = callPackage ../development/python-modules/intake-parquet { }; Loading Loading
pkgs/development/python-modules/instructor/default.nix 0 → 100644 +41 −0 Original line number Diff line number Diff line { lib , python3 , fetchPypi , buildPythonPackage }: buildPythonPackage rec { pname = "instructor"; version = "0.6.4"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-Af52TGnkqY/t0cPkHoRfhFqa/tuOpQXAI/fFfMTcM4Y="; }; nativeBuildInputs = [ python3.pkgs.poetry-core ]; propagatedBuildInputs = with python3.pkgs; [ aiohttp docstring-parser openai pydantic rich tenacity typer ]; pythonImportsCheck = [ "instructor" ]; meta = with lib; { description = "Structured outputs for llm"; homepage = "https://github.com/jxnl/instructor"; changelog = "https://github.com/jxnl/instructor/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ mic92 ]; mainProgram = "instructor"; }; }
pkgs/tools/llm/shell_gpt/default.nix +5 −3 Original line number Diff line number Diff line Loading @@ -6,12 +6,12 @@ python3.pkgs.buildPythonApplication rec { pname = "shell_gpt"; version = "1.0.1"; format = "pyproject"; version = "1.4.0"; pyproject = true; src = fetchPypi { inherit pname version; sha256 = "sha256-/rBD2n5IZzSeC5dmVQRZY8UrzUOkAEVHp8KwIfV1hec="; sha256 = "sha256-r/xQRqnLJhGZORjYUaYWKjqY4fQCW4WKkE+n8k0VMbA="; }; nativeBuildInputs = with python3.pkgs; [ Loading @@ -27,6 +27,8 @@ python3.pkgs.buildPythonApplication rec { typer requests hatchling openai instructor ]; pythonRelaxDeps = [ "requests" "rich" "distro" "typer" ]; Loading
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -5682,6 +5682,8 @@ self: super: with self; { insteon-frontend-home-assistant = callPackage ../development/python-modules/insteon-frontend-home-assistant { }; instructor = callPackage ../development/python-modules/instructor { }; intake = callPackage ../development/python-modules/intake { }; intake-parquet = callPackage ../development/python-modules/intake-parquet { }; Loading