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 { };
|
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 { };
|
consult-gh = callPackage ./manual-packages/consult-gh { };
|
||||||
|
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
{
|
{
|
||||||
|
lib,
|
||||||
|
codeium,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
melpaBuild,
|
melpaBuild,
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
substituteAll,
|
substituteAll,
|
||||||
|
gitUpdater,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
melpaBuild {
|
melpaBuild {
|
||||||
@ -19,17 +20,19 @@ melpaBuild {
|
|||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
(substituteAll {
|
(substituteAll {
|
||||||
src = ./codeium.el.patch;
|
src = ./0000-set-codeium-command-executable.patch;
|
||||||
codeium = "${pkgs.codeium}/bin/codeium_language_server";
|
codeium = lib.getExe' codeium "codeium_language_server";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
passthru.updateScript = gitUpdater { };
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Free, ultrafast Copilot alternative for Emacs";
|
description = "Free, ultrafast Copilot alternative for Emacs";
|
||||||
homepage = "https://github.com/Exafunction/codeium.el";
|
homepage = "https://github.com/Exafunction/codeium.el";
|
||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = [ lib.maintainers.running-grass ];
|
maintainers = [ lib.maintainers.running-grass ];
|
||||||
platforms = pkgs.codeium.meta.platforms;
|
inherit (codeium.meta) platforms;
|
||||||
sourceProvenance = [ lib.sourceTypes.fromSource ];
|
sourceProvenance = [ lib.sourceTypes.fromSource ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user