spacevim: 1.6.0 -> 1.7.0
This commit is contained in:
parent
e2eb50e6d6
commit
2578fb9c9f
|
@ -1,8 +1,19 @@
|
||||||
{ ripgrep, git, fzf, makeWrapper, vim_configurable, vimPlugins, fetchFromGitHub
|
{ ripgrep
|
||||||
, lib, stdenv, formats, runCommand, spacevim_config ? import ./init.nix }:
|
, git
|
||||||
|
, fzf
|
||||||
|
, makeWrapper
|
||||||
|
, vim_configurable
|
||||||
|
, vimPlugins
|
||||||
|
, fetchFromGitHub
|
||||||
|
, lib
|
||||||
|
, stdenv
|
||||||
|
, formats
|
||||||
|
, runCommand
|
||||||
|
, spacevim_config ? import ./init.nix
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
format = formats.toml {};
|
format = formats.toml { };
|
||||||
vim-customized = vim_configurable.customize {
|
vim-customized = vim_configurable.customize {
|
||||||
name = "vim";
|
name = "vim";
|
||||||
# Not clear at the moment how to import plugins such that
|
# Not clear at the moment how to import plugins such that
|
||||||
|
@ -14,17 +25,18 @@ let
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
cp ${format.generate "init.toml" spacevim_config} $out/init.toml
|
cp ${format.generate "init.toml" spacevim_config} $out/init.toml
|
||||||
'';
|
'';
|
||||||
in stdenv.mkDerivation rec {
|
in
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
pname = "spacevim";
|
pname = "spacevim";
|
||||||
version = "1.6.0";
|
version = "1.7.0";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "SpaceVim";
|
owner = "SpaceVim";
|
||||||
repo = "SpaceVim";
|
repo = "SpaceVim";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-QQdtjEdbuzmf0Rw+u2ZltLihnJt8LqkfTrLDWLAnCLE=";
|
sha256 = "sha256-TmfPeaGkH1Wq2b5lB29PUYDVddJVN3mBuPAmu9EtiGY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper vim-customized];
|
nativeBuildInputs = [ makeWrapper vim-customized ];
|
||||||
buildInputs = [ vim-customized ];
|
buildInputs = [ vim-customized ];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
|
Loading…
Reference in a new issue