8 useVSCodeRipgrep ? stdenv.hostPlatform.isDarwin,
12 inherit (stdenv.hostPlatform) system;
13 throwSystem = throw "Unsupported system: ${system}";
17 x86_64-linux = "linux-x64";
18 x86_64-darwin = "darwin-x64";
19 aarch64-linux = "linux-arm64";
20 aarch64-darwin = "darwin-arm64";
21 armv7l-linux = "linux-armhf";
23 .${system} or throwSystem;
25 archive_fmt = if stdenv.hostPlatform.isDarwin then "zip" else "tar.gz";
29 x86_64-linux = "04q9jm91idlbqsyfjr194i3xayyind67hyk59x4wrmg25sdqa0km";
30 x86_64-darwin = "0a31fjsdx671crd9hs1c9vpqbnskgh57pq4j810v722rmfawn7g0";
31 aarch64-linux = "0i3kx0xsb920f2xnf1xxhf4415xnyljfmah222ikhf6q1lp8dkqd";
32 aarch64-darwin = "068h94fxdafgm7l0z9dvhlmmixp7w8nmll4rzm06i8s3243fzb84";
33 armv7l-linux = "1bqnrgd1ykn67gvscsbkv82bydpmfjq1pn0951iiv2sy4m1g9flr";
35 .${system} or throwSystem;
37 sourceRoot = lib.optionalString (!stdenv.hostPlatform.isDarwin) ".";
39 callPackage ./generic.nix rec {
40 inherit sourceRoot commandLineArgs useVSCodeRipgrep;
42 # Please backport all compatible updates to the stable release.
43 # This is important for the extension ecosystem.
44 version = "1.96.2.24355";
47 executableName = "codium";
48 longName = "VSCodium";
49 shortName = "vscodium";
52 url = "https://github.com/VSCodium/vscodium/releases/download/${version}/VSCodium-${plat}-${version}.${archive_fmt}";
56 tests = nixosTests.vscodium;
58 updateScript = ./update-vscodium.sh;
62 Open source source code editor developed by Microsoft for Windows,
63 Linux and macOS (VS Code without MS branding/telemetry/licensing)
66 Open source source code editor developed by Microsoft for Windows,
67 Linux and macOS. It includes support for debugging, embedded Git
68 control, syntax highlighting, intelligent code completion, snippets,
69 and code refactoring. It is also customizable, so users can change the
70 editor's theme, keyboard shortcuts, and preferences
72 homepage = "https://github.com/VSCodium/vscodium";
73 downloadPage = "https://github.com/VSCodium/vscodium/releases";
74 license = licenses.mit;
75 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
76 maintainers = with maintainers; [
81 mainProgram = "codium";