blob: 94e730ea707c4a3a2b4098d18e7d43c270a31eea (
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
|
{ eself
, fetchFromGitHub
, emacs
, gcc
, lib
, writeText
, unstableGitUpdater
, ...
}:
let
rev = "a55cefee20ea94747b12068a1d4b64b0decf37eb";
in
eself.trivialBuild {
ename = "tabnine-capf";
pname = "tabnine-capf";
version = "0.0.1+unstable=2023-04-23";
src = fetchFromGitHub {
owner = "50ways2sayhard";
repo = "tabnine-capf";
inherit rev;
sha256 = "14n5xklm9cpkn04crvx7mlykk48w2j2w5vcf6ipfj84dhpiyzh0j";
};
packageRequires = with eself; [ dash s ];
buildInputs = [ emacs gcc ];
buildPhase = ''
runHook preBuild
emacs -L . --batch --funcall batch-byte-compile *.el
runHook postBuild
'';
recipe = writeText "recipe" ''
(tabnine-capf :repo "50ways2sayhard/tabnine-capf" :fetcher github)
'';
passthru.updateScript = unstableGitUpdater { };
meta = with lib; {
description = "A capf version of company-tabnine";
homepage = "https://github.com/50ways2sayhard/tabnine-capf";
license = licenses.mit;
inherit (emacs.meta) platforms;
};
}
|