at 23.11-beta 774 B view raw
1{ lib, buildNpmPackage, fetchzip }: 2 3buildNpmPackage rec { 4 pname = "github-copilot-cli"; 5 version = "0.1.33"; 6 7 src = fetchzip { 8 url = "https://registry.npmjs.org/@githubnext/${pname}/-/${pname}-${version}.tgz"; 9 hash = "sha256-uTv6Z/AzvINinMiIfaaqRZDCmsAQ7tOE5SpuecpzGug="; 10 }; 11 12 npmDepsHash = "sha256-VIg9a63GH246SbmK4Q8CwA2jdaaOwNUXoJkuDVwy5jE="; 13 14 postPatch = '' 15 cp ${./package-lock.json} package-lock.json 16 ''; 17 18 dontNpmBuild = true; 19 20 meta = with lib; { 21 description = "A CLI experience for letting GitHub Copilot help you on the command line"; 22 homepage = "https://githubnext.com/projects/copilot-cli/"; 23 license = licenses.unfree; # upstream has no license 24 maintainers = [ maintainers.malo ]; 25 platforms = platforms.all; 26 }; 27} 28