Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 63 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364{ 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.45"; pyproject = true;
src = fetchFromGitHub { owner = "outlines-dev"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-VJ/q3NBNatBv3gsV637sciiOHdDJRnMlcisu5GRmWM0="; };
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 ]; # Missing dependencies since the last update broken = true; };}