Loading pkgs/development/python-modules/outlines/default.nix 0 → 100644 +62 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , setuptools , setuptools-scm , interegular , cloudpickle , diskcache , joblib , jsonschema , pydantic , lark , nest-asyncio , numba , scipy , torch , transformers }: buildPythonPackage rec { pname = "outlines"; version = "0.0.34"; pyproject = true; src = fetchFromGitHub { owner = "outlines-dev"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-iIlthrhmCm3n0PwUSa1n7CL04sDc1Cs+rVboPY4nH78="; }; nativeBuildInputs = [ setuptools setuptools-scm ]; propagatedBuildInputs = [ interegular cloudpickle diskcache joblib jsonschema pydantic lark nest-asyncio numba scipy torch transformers ]; pythonImportsCheck = [ "outlines" ]; meta = with lib; { description = "Structured text generation"; homepage = "https://github.com/outlines-dev/outlines"; license = licenses.asl20; maintainers = with maintainers; [ lach ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -9413,6 +9413,8 @@ self: super: with self; { alembic = pkgs.alembic; }; outlines = callPackage ../development/python-modules/outlines { }; overly = callPackage ../development/python-modules/overly { }; overpy = callPackage ../development/python-modules/overpy { }; Loading Loading
pkgs/development/python-modules/outlines/default.nix 0 → 100644 +62 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , setuptools , setuptools-scm , interegular , cloudpickle , diskcache , joblib , jsonschema , pydantic , lark , nest-asyncio , numba , scipy , torch , transformers }: buildPythonPackage rec { pname = "outlines"; version = "0.0.34"; pyproject = true; src = fetchFromGitHub { owner = "outlines-dev"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-iIlthrhmCm3n0PwUSa1n7CL04sDc1Cs+rVboPY4nH78="; }; nativeBuildInputs = [ setuptools setuptools-scm ]; propagatedBuildInputs = [ interegular cloudpickle diskcache joblib jsonschema pydantic lark nest-asyncio numba scipy torch transformers ]; pythonImportsCheck = [ "outlines" ]; meta = with lib; { description = "Structured text generation"; homepage = "https://github.com/outlines-dev/outlines"; license = licenses.asl20; maintainers = with maintainers; [ lach ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -9413,6 +9413,8 @@ self: super: with self; { alembic = pkgs.alembic; }; outlines = callPackage ../development/python-modules/outlines { }; overly = callPackage ../development/python-modules/overly { }; overpy = callPackage ../development/python-modules/overpy { }; Loading