blob: 237be28898c329eb9d80ccaab2b934ce15952292 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
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.2.2"; # "windsurfVersion"
hash = "be4251dfb74e60e80fa973d61f3505da1ac9032e"; # "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-s53azwr+bO7UHVAq0iydP09z7ZK9rvF2P7NKoGPmUMM=";
};
sourceRoot = "Windsurf";
tests = nixosTests.vscodium;
updateScript = "nil";
meta = {
description = "The first agentic IDE, and then some";
};
}
# https://windsurf-stable.codeiumdata.com/linux-x64/stable/be4251dfb74e60e80fa973d61f3505da1ac9032e/Windsurf-linux-x64-1.2.2.tar.gz
|