From 2c6e3a958f241f5ee881a41aabe93e4d3e1e86af Mon Sep 17 00:00:00 2001 From: PerchunPak Date: Tue, 10 Feb 2026 16:08:47 +0100 Subject: [PATCH] spacevim: drop --- pkgs/by-name/sp/spacevim/init.nix | 48 ---------------- pkgs/by-name/sp/spacevim/package.nix | 82 ---------------------------- pkgs/top-level/aliases.nix | 1 + 3 files changed, 1 insertion(+), 130 deletions(-) delete mode 100644 pkgs/by-name/sp/spacevim/init.nix delete mode 100644 pkgs/by-name/sp/spacevim/package.nix diff --git a/pkgs/by-name/sp/spacevim/init.nix b/pkgs/by-name/sp/spacevim/init.nix deleted file mode 100644 index c99e37d8b39b..000000000000 --- a/pkgs/by-name/sp/spacevim/init.nix +++ /dev/null @@ -1,48 +0,0 @@ -# The Nix expression is a 1:1 mapping of the spacevim toml config which you can find on their website: spacevim.org/quick-start-guide/#configuration - -{ - custom_plugins = [ - { - merged = false; - name = "lilydjwg/colorizer"; - } - ]; - layers = [ - { name = "default"; } - { - enable = true; - name = "colorscheme"; - } - { name = "fzf"; } - { - default_height = 30; - default_position = "top"; - name = "shell"; - } - { name = "edit"; } - { name = "VersionControl"; } - { name = "git"; } - { - auto-completion-return-key-behavior = "complete"; - auto-completion-tab-key-behavior = "cycle"; - autocomplete_method = "coc"; - name = "autocomplete"; - } - { name = "lang#ruby"; } - { name = "lang#nix"; } - { name = "lang#java"; } - { name = "lang#kotlin"; } - { name = "lang#sh"; } - { name = "lang#html"; } - ]; - options = { - buffer_index_type = 4; - colorscheme = "gruvbox"; - colorscheme_bg = "dark"; - enable_guicolors = true; - enable_statusline_mode = true; - enable_tabline_filetype_icon = true; - statusline_separator = "fire"; - timeoutlen = 500; - }; -} diff --git a/pkgs/by-name/sp/spacevim/package.nix b/pkgs/by-name/sp/spacevim/package.nix deleted file mode 100644 index eee05b1cf28e..000000000000 --- a/pkgs/by-name/sp/spacevim/package.nix +++ /dev/null @@ -1,82 +0,0 @@ -{ - fetchFromGitHub, - formats, - fzf, - git, - lib, - makeWrapper, - neovim, - nix-update-script, - ripgrep, - runCommand, - stdenv, - vim-full, - spacevim_config ? import ./init.nix, -}: - -let - format = formats.toml { }; - spacevimdir = runCommand "SpaceVim.d" { } '' - mkdir -p $out - cp ${format.generate "init.toml" spacevim_config} $out/init.toml - ''; -in -stdenv.mkDerivation (finalAttrs: { - pname = "spacevim"; - version = "2.4.0"; - src = fetchFromGitHub { - owner = "SpaceVim"; - repo = "SpaceVim"; - rev = "v${finalAttrs.version}"; - hash = "sha256-qiNadhQJjU9RY14X8+pd4Ul+NLoNqbxuh3Kenw1dHDc="; - }; - - nativeBuildInputs = [ makeWrapper ]; - dontBuild = true; - - installPhase = '' - runHook preInstall - mkdir -p $out/bin - - cp -r $(pwd) $out/SpaceVim - - # trailing slash very important for SPACEVIMDIR - makeWrapper "${vim-full}/bin/vim" "$out/bin/spacevim" \ - --add-flags "-u $out/SpaceVim/vimrc" --set SPACEVIMDIR "${spacevimdir}/" \ - --prefix PATH : ${ - lib.makeBinPath [ - fzf - git - ripgrep - ] - } - makeWrapper "${neovim}/bin/nvim" "$out/bin/spacenvim" \ - --add-flags "-u $out/SpaceVim/init.vim" --set SPACEVIMDIR "${spacevimdir}/" \ - --prefix PATH : ${ - lib.makeBinPath [ - fzf - git - ripgrep - ] - } - runHook postInstall - ''; - - passthru.updateScript = nix-update-script { }; - - meta = { - description = "Modular Vim/Neovim configuration"; - longDescription = '' - SpaceVim is a modular configuration of Vim and Neovim. It's inspired by - spacemacs. It manages collections of plugins in layers, which help to - collect related packages together to provide features. This approach - helps keep the configuration organized and reduces overhead for the user - by keeping them from having to think about what packages to install. - ''; - homepage = "https://spacevim.org/"; - license = lib.licenses.gpl3Plus; - maintainers = [ lib.maintainers.PerchunPak ]; - platforms = lib.platforms.all; - mainProgram = "spacevim"; - }; -}) diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 3a6e77009a26..8dba66810aaa 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1744,6 +1744,7 @@ mapAliases { sourcehut = throw "'sourcehut.*' has been removed due to being broken and unmaintained"; # Added 2025-06-15 SP800-90B_EntropyAssessment = throw "'SP800-90B_EntropyAssessment' has been renamed to/replaced by 'sp800-90b-entropyassessment'"; # Converted to throw 2025-10-27 space-orbit = throw "'space-orbit' has been removed because it is unmaintained; Debian upstream stopped tracking it in 2011."; # Added 2025-06-08 + spacevim = throw "'spacevim' has been removed due to being archived upstream."; # Added 2026-02-10 SPAdes = throw "'SPAdes' has been renamed to/replaced by 'spades'"; # Converted to throw 2025-10-27 spago = spago-legacy; # Added 2025-09-23, pkgs.spago should become spago@next which hasn't been packaged yet spark2014 = throw "'spark2014' has been renamed to/replaced by 'gnatprove'"; # Converted to throw 2025-10-27