Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 63 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364{ lib, buildPythonPackage, fetchFromGitHub,
# build-system poetry-core,
# dependencies attrs, httpcore, httpx, packaging, protobuf, python-dateutil, typing-extensions,}:
buildPythonPackage rec { pname = "e2b"; version = "1.5.1"; pyproject = true;
src = fetchFromGitHub { owner = "e2b-dev"; repo = "E2B"; tag = "@e2b/python-sdk@${version}"; hash = "sha256-6THRc4rv/mzOWbsN1FpUu56kjvHvVBssK2glNoGdSzI="; };
sourceRoot = "${src.name}/packages/python-sdk";
build-system = [ poetry-core ];
pythonRelaxDeps = [ "protobuf" ];
dependencies = [ attrs httpcore httpx packaging protobuf python-dateutil typing-extensions ];
pythonImportsCheck = [ "e2b" ];
# Tests require an API key # e2b.exceptions.AuthenticationException: API key is required, please visit the Team tab at https://e2b.dev/dashboard to get your API key. doCheck = false;
meta = { description = "E2B SDK that give agents cloud environments"; homepage = "https://github.com/e2b-dev/E2B/blob/main/packages/python-sdk"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ GaetanLepage ]; };}