diff options
author | polwex <code@yago.one> | 2025-02-21 08:59:27 +0000 |
---|---|---|
committer | polwex <code@yago.one> | 2025-02-21 08:59:27 +0000 |
commit | c0be55eb72fdad38de6e1c72a52b1500216c3043 (patch) | |
tree | c053679bb21a023e115a0ab5f96d7926bd05d3c2 /derivations/windsurf/default.nix | |
parent | fb39334bcdac65a1ff1d95e7e4db2e28eabcc2d6 (diff) | |
parent | 59ab4467b69f3ba455ef23163cfc4543338d8a41 (diff) |
Merge pull request 'nvidia-wayland' (#1) from nvidia-wayland into master
Reviewed-on: https://git.sortug.com/polwex/nixconf/pulls/1
Diffstat (limited to 'derivations/windsurf/default.nix')
-rw-r--r-- | derivations/windsurf/default.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/derivations/windsurf/default.nix b/derivations/windsurf/default.nix new file mode 100644 index 0000000..9dc7cec --- /dev/null +++ b/derivations/windsurf/default.nix @@ -0,0 +1,39 @@ +{ + 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 = "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"; + }; + } |