{ lib, stdenv, nixpkgs, callPackage, fetchurl, nixosTests, commandLineArgs ? "", useVSCodeRipgrep ? stdenv.hostPlatform.isDarwin, }: # https://windsurf-stable.codeium.com/api/update/linux-x64/stable/latest let version = "1.3.4"; hash = "c418a14b63f051e96dafb37fe06f1fe0b10ba3c8"; # "version" in callPackage "${nixpkgs}/pkgs/applications/editors/vscode/generic.nix" rec { inherit commandLineArgs useVSCodeRipgrep version; pname = "windsurf"; executableName = "windsurf"; longName = "Windsurf"; shortName = "windsurf"; src = fetchurl { url = "https://windsurf-stable.codeiumdata.com/linux-x64/stable/${hash}/Windsurf-linux-x64-${version}.tar.gz"; hash = "sha256-fsDPzHtAmQIfFX7dji598Q+KXO6A5F9IFEC+bnmQzVU="; }; sourceRoot = "Windsurf"; tests = nixosTests.vscodium; updateScript = "nil"; meta = { description = "The first agentic IDE, and then some"; }; }