1
0
Fork 0

tabnine: init

This commit is contained in:
Daniel Kempkens 2023-11-23 16:45:00 +01:00
parent 7f3cb4be93
commit 223db86bb6
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
2 changed files with 20 additions and 0 deletions

View file

@ -32,6 +32,7 @@
agilebits-op = import ./packages/agilebits-op.nix { inherit pkgs lib; }; agilebits-op = import ./packages/agilebits-op.nix { inherit pkgs lib; };
cliclick = import ./packages/cliclick.nix { inherit pkgs lib; }; cliclick = import ./packages/cliclick.nix { inherit pkgs lib; };
phantomjs = import ./packages/phantomjs.nix { inherit pkgs lib; }; phantomjs = import ./packages/phantomjs.nix { inherit pkgs lib; };
tabnine = import ./packages/tabnine.nix { inherit pkgs lib; };
} else { }; } else { };
in in
{ {

19
packages/tabnine.nix Normal file
View file

@ -0,0 +1,19 @@
{ pkgs, lib, ... }:
pkgs.tabnine.overrideAttrs (
oa: rec {
version = "4.49.0";
src = pkgs.fetchurl {
url = "https://update.tabnine.com/bundles/${version}/aarch64-apple-darwin/TabNine.zip";
sha256 = "0wrzbv2mam83visp322vwg98f63wcxxwlwm5rzwyd0psgqmgjkb3";
};
meta = with lib; {
homepage = "https://tabnine.com";
description = "Smart Compose for code that uses deep learning to help you write code faster";
license = licenses.unfree;
platforms = [ "aarch64-darwin" ];
};
}
)