Merge pull request #228854 from malob/add-github-copilot-cli

github-copilot-cli: init at 0.1.33
This commit is contained in:
Weijia Wang 2023-05-01 06:58:26 +03:00 committed by GitHub
commit 26bb09cd30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 3541 additions and 938 deletions

View File

@ -154,7 +154,6 @@
, "git-ssb"
, "git-standup"
, "@gitbeaker/cli"
, "@githubnext/github-copilot-cli"
, "gitmoji-cli"
, "glob"
, "gramma"

File diff suppressed because it is too large Load Diff

View File

@ -39,6 +39,8 @@ final: prev: {
];
};
"@githubnext/github-copilot-cli" = pkgs.github-copilot-cli;
"@medable/mdctl-cli" = prev."@medable/mdctl-cli".override (oldAttrs: {
nativeBuildInputs = with pkgs; with darwin.apple_sdk.frameworks; [
glib

View File

@ -0,0 +1,28 @@
{ lib, buildNpmPackage, fetchzip }:
buildNpmPackage rec {
pname = "github-copilot-cli";
version = "0.1.33";
src = fetchzip {
url = "https://registry.npmjs.org/@githubnext/${pname}/-/${pname}-${version}.tgz";
hash = "sha256-uTv6Z/AzvINinMiIfaaqRZDCmsAQ7tOE5SpuecpzGug=";
};
npmDepsHash = "sha256-VIg9a63GH246SbmK4Q8CwA2jdaaOwNUXoJkuDVwy5jE=";
postPatch = ''
cp ${./package-lock.json} package-lock.json
'';
dontNpmBuild = true;
meta = with lib; {
description = "A CLI experience for letting GitHub Copilot help you on the command line";
homepage = "https://githubnext.com/projects/copilot-cli/";
license = licenses.free;
maintainers = [ maintainers.malo ];
platforms = platforms.all;
};
}

File diff suppressed because it is too large Load Diff

View File

@ -1520,6 +1520,8 @@ with pkgs;
gen6dns = callPackage ../tools/networking/gen6dns { };
github-copilot-cli = callPackage ../tools/misc/github-copilot-cli { };
gfshare = callPackage ../tools/security/gfshare { };
gh-actions-cache = callPackage ../tools/misc/gh-actions-cache { };