mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
Merge pull request #329237 from atorres1985-contrib/emacspackages-codeium
emacsPackages.codeium: rework
This commit is contained in:
commit
794f0392cd
@ -17,7 +17,9 @@ in
|
||||
|
||||
cask = callPackage ./manual-packages/cask { };
|
||||
|
||||
codeium = callPackage ./manual-packages/codeium { };
|
||||
codeium = callPackage ./manual-packages/codeium {
|
||||
inherit (pkgs) codeium;
|
||||
};
|
||||
|
||||
consult-gh = callPackage ./manual-packages/consult-gh { };
|
||||
|
||||
|
@ -1,9 +1,10 @@
|
||||
{
|
||||
lib,
|
||||
codeium,
|
||||
fetchFromGitHub,
|
||||
melpaBuild,
|
||||
pkgs,
|
||||
lib,
|
||||
substituteAll,
|
||||
gitUpdater,
|
||||
}:
|
||||
|
||||
melpaBuild {
|
||||
@ -19,17 +20,19 @@ melpaBuild {
|
||||
|
||||
patches = [
|
||||
(substituteAll {
|
||||
src = ./codeium.el.patch;
|
||||
codeium = "${pkgs.codeium}/bin/codeium_language_server";
|
||||
src = ./0000-set-codeium-command-executable.patch;
|
||||
codeium = lib.getExe' codeium "codeium_language_server";
|
||||
})
|
||||
];
|
||||
|
||||
passthru.updateScript = gitUpdater { };
|
||||
|
||||
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;
|
||||
inherit (codeium.meta) platforms;
|
||||
sourceProvenance = [ lib.sourceTypes.fromSource ];
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user