copilot-el: init at d4fa14cea818e041b4a536c5052cf6d28c7223d7

This commit is contained in:
Samuel Rivas 2023-12-27 13:57:27 +01:00
parent 9a8519bdc8
commit 8d211c80fc
No known key found for this signature in database
GPG Key ID: 6E3075F199D84E3C
2 changed files with 40 additions and 0 deletions

View File

@ -21,6 +21,8 @@ in
control-lock = callPackage ./manual-packages/control-lock { };
copilot-el = callPackage ./manual-packages/copilot-el { };
ebuild-mode = callPackage ./manual-packages/ebuild-mode { };
el-easydraw = callPackage ./manual-packages/el-easydraw { };

View File

@ -0,0 +1,38 @@
{
dash,
editorconfig,
emacs,
fetchFromGitHub,
nodejs,
s,
trivialBuild,
}:
trivialBuild {
pname = "copilot-el";
version = "unstable-2023-12-26";
src = fetchFromGitHub {
owner = "zerolfx";
repo = "copilot.el";
rev = "d4fa14cea818e041b4a536c5052cf6d28c7223d7";
sha256 = "sha256-Tzs0Dawqa+OD0RSsf66ORbH6MdBp7BMXX7z+5UuNwq4=";
};
packageRequires = [
dash
editorconfig
nodejs
s
];
postInstall = ''
cp -r $src/dist $LISPDIR
'';
meta = {
description = "An unofficial copilot plugin for Emacs";
homepage = "https://github.com/zerolfx/copilot.el";
platforms = [
"x86_64-darwin"
"x86_64-linux"
"x86_64-windows"
];
};
}