nixos-configs/legacyPackages/hass-components/extended-ollama-conversation/openai.nix
matt1432 41707ac4ae
All checks were successful
Discord / discord commits (push) Has been skipped
feat(hass): package spotifyplus
2024-09-19 22:16:11 -04:00

19 lines
456 B
Nix

pkgs:
pkgs.python3Packages.openai.overrideAttrs (o: rec {
name = "${o.pname}-${version}";
version = "1.3.8";
src = pkgs.fetchFromGitHub {
owner = "openai";
repo = "openai-python";
rev = "refs/tags/v${version}";
hash = "sha256-yU0XWEDYl/oBPpYNFg256H0Hn5AaJiP0vOQhbRLnAxQ=";
};
disabledTests =
o.disabledTests
++ [
"test_retrying_timeout_errors_doesnt_leak"
"test_retrying_status_errors_doesnt_leak"
];
})