mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-06 12:39:54 +03:00
Merge pull request #327952 from linj-fork/pr/clean-copilot
emacsPackages.copilot: trivialBuild -> melpaBuild
This commit is contained in:
commit
8b6b30c1b7
@ -1,33 +1,37 @@
|
||||
{
|
||||
lib,
|
||||
dash,
|
||||
editorconfig,
|
||||
fetchFromGitHub,
|
||||
nodejs,
|
||||
s,
|
||||
trivialBuild,
|
||||
melpaBuild,
|
||||
}:
|
||||
trivialBuild {
|
||||
melpaBuild {
|
||||
pname = "copilot";
|
||||
version = "0-unstable-2023-12-26";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zerolfx";
|
||||
repo = "copilot.el";
|
||||
rev = "d4fa14cea818e041b4a536c5052cf6d28c7223d7";
|
||||
sha256 = "sha256-Tzs0Dawqa+OD0RSsf66ORbH6MdBp7BMXX7z+5UuNwq4=";
|
||||
};
|
||||
|
||||
files = ''(:defaults "dist")'';
|
||||
|
||||
packageRequires = [
|
||||
dash
|
||||
editorconfig
|
||||
nodejs
|
||||
s
|
||||
];
|
||||
postInstall = ''
|
||||
cp -r $src/dist $LISPDIR
|
||||
'';
|
||||
|
||||
propagatedUserEnvPkgs = [ nodejs ];
|
||||
|
||||
meta = {
|
||||
description = "Unofficial copilot plugin for Emacs";
|
||||
homepage = "https://github.com/zerolfx/copilot.el";
|
||||
license = lib.licenses.mit;
|
||||
platforms = [
|
||||
"x86_64-darwin"
|
||||
"x86_64-linux"
|
||||
|
Loading…
Reference in New Issue
Block a user