19 python3Packages.buildPythonApplication rec {
22 pyproject = false; # Built with meson
24 src = fetchFromGitHub {
27 rev = "refs/tags/${version}";
28 hash = "sha256-gEQUVSNf8u92qIg0+5fsLIOPgIASdYdlTRDpzl61P+Q=";
47 dependencies = with python3Packages; [
54 youtube-transcript-api
60 "\${gappsWrapperArgs[@]}"
61 "--prefix PATH : ${lib.makeBinPath [ xdg-utils ollama ]}"
62 # Declared but not used in src/window.py, for later reference
63 # https://github.com/flatpak/flatpak/issues/3229
64 "--set FLATPAK_DEST ${placeholder "out"}"
68 description = "Ollama client made with GTK4 and Adwaita";
70 To run Alpaca with GPU acceleration enabled, simply override it:
72 pkgs.alpaca.override {
73 ollama = pkgs.ollama-cuda;
76 Or using `pkgs.ollama-rocm` for AMD GPUs.
78 homepage = "https://jeffser.com/alpaca";
79 license = lib.licenses.gpl3Plus;
80 mainProgram = "alpaca";
81 maintainers = with lib.maintainers; [ aleksana ];
82 platforms = lib.platforms.linux;