-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
81 lines (69 loc) · 1.82 KB
/
flake.nix
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
description = "Neovim Register Manager";
inputs = {
ribosome.url = "git+https://git.tryp.io/tek/ribosome";
};
outputs = {ribosome, ...}: ribosome.lib.pro ({config, ...}: {
depsFull = [ribosome];
compat.enable = false;
hackage.versionFile = "ops/version.nix";
cabal = {
license = "BSD-2-Clause-Patent";
license-file = "LICENSE";
author = "Torsten Schmits";
meta = {
maintainer = "hackage@tryp.io";
category = "Neovim";
github = "tek/uracil";
extra-source-files = ["readme.md" "changelog.md"];
};
ghc-options = ["-fplugin=Polysemy.Plugin"];
prelude = {
enable = true;
package = {
name = "prelate";
version = ">= 0.6 && < 0.8";
};
module = "Prelate";
};
dependencies = ["polysemy" "polysemy-plugin"];
};
packages.uracil = {
src = ./packages/uracil;
cabal.meta.synopsis = "Neovim Register Manager";
library = {
enable = true;
dependencies = [
"chiasma"
"chronos"
"exon"
"extra"
"polysemy-chronos"
"random"
"ribosome"
"ribosome-menu"
"prettyprinter"
];
};
test = {
enable = true;
dependencies = [
"chiasma"
"polysemy-test"
"ribosome"
"ribosome-menu"
"ribosome-test"
"tasty"
];
};
executable.enable = true;
buildInputs = [config.pkgs.neovim config.pkgs.tmux config.pkgs.xterm];
};
envs.dev.buildInputs = with config.pkgs; [pkgs.neovim pkgs.tmux];
exe = "uracil";
branch = "main";
githubOrg = "tek";
cachixName = "tek";
cachixKey = "tek.cachix.org-1:+sdc73WFq8aEKnrVv5j/kuhmnW2hQJuqdPJF5SnaCBk=";
});
}