blob: 1a31e8f9a28dfda6cfc796d162966c489abb00cf (
plain) (
blame)
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
|
{ fetchFromGitHub, melpaBuild, pkgs, lib, substituteAll, writeText }:
melpaBuild {
pname = "codeium";
version = "1.6.13";
src = fetchFromGitHub {
owner = "Exafunction";
repo = "codeium.el";
rev = "1.6.13";
hash = "sha256-CjT21GhryO8/iM0Uzm/s/I32WqVo4M3tSlHC06iEDXA=";
};
commit = "02f9382c925633a19dc928e99b868fd5f6947e58";
buildInputs = [ pkgs.codeium ];
recipe = writeText "recipe" ''
(codeium
:repo "Exafunction/codeium.el"
:fetcher github)
'';
patches = [
(substituteAll {
src = ./codeium.el.patch;
codeium = "${pkgs.codeium}/bin/codeium_language_server";
})
];
meta = {
description = "Free, ultrafast Copilot alternative for Emacs";
homepage = "https://github.com/Exafunction/codeium.el";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.running-grass ];
platforms = pkgs.codeium.meta.platforms;
sourceProvenance = [ lib.sourceTypes.fromSource ];
};
}
|