+1
.gitignore
+1
.gitignore
···
1
+
result
+27
flake.lock
+27
flake.lock
···
1
+
{
2
+
"nodes": {
3
+
"nixpkgs": {
4
+
"locked": {
5
+
"lastModified": 1632176121,
6
+
"narHash": "sha256-N2oSOhbW38rbc53R1R8qXC/Xstht1PIsAcTzJfmCpTc=",
7
+
"owner": "NixOS",
8
+
"repo": "nixpkgs",
9
+
"rev": "3397f0ede9ea2ded1f8b6fa689dda71a7a67b806",
10
+
"type": "github"
11
+
},
12
+
"original": {
13
+
"owner": "NixOS",
14
+
"ref": "nixos-21.05",
15
+
"repo": "nixpkgs",
16
+
"type": "github"
17
+
}
18
+
},
19
+
"root": {
20
+
"inputs": {
21
+
"nixpkgs": "nixpkgs"
22
+
}
23
+
}
24
+
},
25
+
"root": "root",
26
+
"version": 7
27
+
}
+48
flake.nix
+48
flake.nix
···
1
+
{
2
+
3
+
description = "Duotonic colorscheme for {neo,}vim";
4
+
5
+
inputs = {
6
+
nixpkgs.url = "github:NixOS/nixpkgs/nixos-21.05";
7
+
};
8
+
9
+
outputs =
10
+
{ self
11
+
, nixpkgs
12
+
, ...
13
+
} @ rest:
14
+
let
15
+
supportedSystems = [ "x86_64-linux" "x86_64-darwin" ];
16
+
17
+
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
18
+
19
+
nixpkgsFor = forAllSystems (system:
20
+
import nixpkgs {
21
+
inherit system;
22
+
overlays = [ self.overlay ];
23
+
}
24
+
);
25
+
in
26
+
{
27
+
28
+
overlay = final: prev: rec {
29
+
vim-colors-plain =
30
+
with final; pkgs.vimUtils.buildVimPlugin {
31
+
pname = "vim-colors-plain";
32
+
version = "0.1.0";
33
+
src = ./.;
34
+
};
35
+
};
36
+
37
+
packages = forAllSystems (system:
38
+
{
39
+
inherit (nixpkgsFor."${system}") vim-colors-plain;
40
+
}
41
+
);
42
+
43
+
defaultPackage =
44
+
forAllSystems (system: self.packages."${system}".vim-colors-plain);
45
+
46
+
};
47
+
48
+
}
+4
readme.md
+4
readme.md
screenshots/plain-dark.png
screenshots/plain-dark.png
This is a binary file and will not be displayed.
screenshots/plain-light.png
screenshots/plain-light.png
This is a binary file and will not be displayed.