Skip to content

Commit

Permalink
python3Packages.outlines: 0.0.46 -> 0.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldk committed Nov 19, 2024
1 parent 30efd8d commit ef48c14
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions pkgs/development/python-modules/outlines/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,56 +4,60 @@
fetchFromGitHub,
setuptools,
setuptools-scm,
airportsdata,
interegular,
cloudpickle,
datasets,
diskcache,
joblib,
jinja2,
jsonschema,
pyairports,
numpy,
outlines-core,
pycountry,
pydantic,
lark,
nest-asyncio,
numba,
scipy,
referencing,
requests,
torch,
transformers,
}:

buildPythonPackage rec {
pname = "outlines";
version = "0.0.46";
version = "0.1.4";
pyproject = true;

src = fetchFromGitHub {
owner = "outlines-dev";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-6VH9BcMRVRf2xvLcK3GNA1pGgAOs95UOlFQ6KxHXwKo=";
hash = "sha256-hbg2U0YYw16PMrVPihx/WsqcQxvk3fIL10nm1Vrs4Lw=";
};

nativeBuildInputs = [
setuptools
setuptools-scm
];

propagatedBuildInputs = [
dependencies = [
airportsdata
interegular
cloudpickle
datasets
diskcache
joblib
jinja2
jsonschema
outlines-core
pydantic
lark
nest-asyncio
numba
scipy
numpy
referencing
requests
torch
transformers
pycountry
pyairports
];

checkPhase = ''
Expand Down

0 comments on commit ef48c14

Please sign in to comment.