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