blob: bc16b7e7124480dd0bb1af66bacf3a6a65d80102 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
{
description = "Duotonic colorscheme for {neo,}vim";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-21.05";
};
outputs =
{ self
, nixpkgs
, ...
} @ rest:
let
supportedSystems = [ "x86_64-linux" "x86_64-darwin" ];
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
nixpkgsFor = forAllSystems (system:
import nixpkgs {
inherit system;
overlays = [ self.overlay ];
}
);
in
{
overlay = final: prev: rec {
vim-colors-plain =
with final; pkgs.vimUtils.buildVimPlugin {
pname = "vim-colors-plain";
version = "0.1.0";
src = ./.;
};
};
packages = forAllSystems (system:
{
inherit (nixpkgsFor."${system}") vim-colors-plain;
}
);
defaultPackage =
forAllSystems (system: self.packages."${system}".vim-colors-plain);
};
}
|