spacevim: drop (#489117)
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
@@ -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";
|
||||
};
|
||||
})
|
||||
@@ -1747,6 +1747,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
|
||||
|
||||
Reference in New Issue
Block a user