Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 59 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ lib, buildPythonPackage, fetchPypi,
# build-system hatch-jupyter-builder, hatch-nodejs-version, hatchling, jupyterlab,
# dependencies ipywidgets,
# tests nbval, pytest-cov-stub, pytestCheckHook,}:
buildPythonPackage rec { pname = "guidance-stitch"; version = "0.1.5"; pyproject = true;
src = fetchPypi { pname = "guidance_stitch"; inherit version; hash = "sha256-Kg0O3oZds4eFfUlKe8sakDYhwT9XGGnN4RCcLFVpzZU="; };
build-system = [ hatch-jupyter-builder hatch-nodejs-version hatchling jupyterlab ];
dependencies = [ ipywidgets ];
pythonImportsCheck = [ "stitch" ];
nativeCheckInputs = [ nbval pytest-cov-stub pytestCheckHook ];
__darwinAllowLocalNetworking = true;
meta = { description = "Guidance language for controlling large language models"; homepage = "https://github.com/guidance-ai/guidance/tree/main/packages/python/stitch"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ GaetanLepage ]; };}