tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
spacevim: 1.6.0 -> 1.7.0
Louis Bettens
4 years ago
2578fb9c
e2eb50e6
+19
-7
1 changed file
expand all
collapse all
unified
split
pkgs
applications
editors
spacevim
default.nix
+19
-7
pkgs/applications/editors/spacevim/default.nix
···
1
-
{ ripgrep, git, fzf, makeWrapper, vim_configurable, vimPlugins, fetchFromGitHub
2
-
, lib, stdenv, formats, runCommand, spacevim_config ? import ./init.nix }:
0
0
0
0
0
0
0
0
0
0
0
3
4
let
5
-
format = formats.toml {};
6
vim-customized = vim_configurable.customize {
7
name = "vim";
8
# Not clear at the moment how to import plugins such that
···
14
mkdir -p $out
15
cp ${format.generate "init.toml" spacevim_config} $out/init.toml
16
'';
17
-
in stdenv.mkDerivation rec {
0
18
pname = "spacevim";
19
-
version = "1.6.0";
20
src = fetchFromGitHub {
21
owner = "SpaceVim";
22
repo = "SpaceVim";
23
rev = "v${version}";
24
-
sha256 = "sha256-QQdtjEdbuzmf0Rw+u2ZltLihnJt8LqkfTrLDWLAnCLE=";
25
};
26
27
-
nativeBuildInputs = [ makeWrapper vim-customized];
28
buildInputs = [ vim-customized ];
29
30
buildPhase = ''
···
1
+
{ ripgrep
2
+
, git
3
+
, fzf
4
+
, makeWrapper
5
+
, vim_configurable
6
+
, vimPlugins
7
+
, fetchFromGitHub
8
+
, lib
9
+
, stdenv
10
+
, formats
11
+
, runCommand
12
+
, spacevim_config ? import ./init.nix
13
+
}:
14
15
let
16
+
format = formats.toml { };
17
vim-customized = vim_configurable.customize {
18
name = "vim";
19
# Not clear at the moment how to import plugins such that
···
25
mkdir -p $out
26
cp ${format.generate "init.toml" spacevim_config} $out/init.toml
27
'';
28
+
in
29
+
stdenv.mkDerivation rec {
30
pname = "spacevim";
31
+
version = "1.7.0";
32
src = fetchFromGitHub {
33
owner = "SpaceVim";
34
repo = "SpaceVim";
35
rev = "v${version}";
36
+
sha256 = "sha256-TmfPeaGkH1Wq2b5lB29PUYDVddJVN3mBuPAmu9EtiGY=";
37
};
38
39
+
nativeBuildInputs = [ makeWrapper vim-customized ];
40
buildInputs = [ vim-customized ];
41
42
buildPhase = ''