summary refs log tree commit diff
path: root/pkgs/development/tools/tabnine
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-07-11 00:02:23 +0000
committerGitHub <noreply@github.com>2021-07-11 00:02:23 +0000
commit606194e1c0c34b4b00048651356eedb2c0628621 (patch)
tree0eed29d79ba9f65e5843480fdfd645302ada7953 /pkgs/development/tools/tabnine
parent77e4ca2baf3fcc6e73382280c6bf010d5cd7a70a (diff)
parentb7e408dd17f6868ff5d3f50d4b44eaee067412cc (diff)
downloadnixpkgs-606194e1c0c34b4b00048651356eedb2c0628621.tar
nixpkgs-606194e1c0c34b4b00048651356eedb2c0628621.tar.gz
nixpkgs-606194e1c0c34b4b00048651356eedb2c0628621.tar.bz2
nixpkgs-606194e1c0c34b4b00048651356eedb2c0628621.tar.lz
nixpkgs-606194e1c0c34b4b00048651356eedb2c0628621.tar.xz
nixpkgs-606194e1c0c34b4b00048651356eedb2c0628621.tar.zst
nixpkgs-606194e1c0c34b4b00048651356eedb2c0628621.zip
Merge staging-next into staging
Diffstat (limited to 'pkgs/development/tools/tabnine')
-rw-r--r--pkgs/development/tools/tabnine/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/development/tools/tabnine/default.nix b/pkgs/development/tools/tabnine/default.nix
index 0f596a0327d..5499a937b28 100644
--- a/pkgs/development/tools/tabnine/default.nix
+++ b/pkgs/development/tools/tabnine/default.nix
@@ -1,19 +1,19 @@
 { stdenv, lib, fetchurl, unzip }:
 
 let
-  version = "3.3.115";
+  version = "3.5.15";
   src =
     if stdenv.hostPlatform.system == "x86_64-darwin" then
       fetchurl
         {
           url = "https://update.tabnine.com/bundles/${version}/x86_64-apple-darwin/TabNine.zip";
-          sha256 = "104h3b9cvmz2m27a94cfc00xm8wa2p1pvrfs92hrz59hcs8vdldf";
+          sha256 = "sha256-JrDAF/3yPGJXwonWIvaKf0dw4GQf3U2wbf5iF4QUXco=";
         }
     else if stdenv.hostPlatform.system == "x86_64-linux" then
       fetchurl
         {
           url = "https://update.tabnine.com/bundles/${version}/x86_64-unknown-linux-musl/TabNine.zip";
-          sha256 = "0rs2vmdz8c9zs53pjbzy27ir0p5v752cpsnqfaqf0ilx7k6fpnnm";
+          sha256 = "sha256-fgVVJ+J4w+Z3Kmryixp844xlLFiRs5PSAcD/wrcXF1w=";
         }
     else throw "Not supported on ${stdenv.hostPlatform.system}";
 in
@@ -31,10 +31,12 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ unzip ];
 
   installPhase = ''
+    runHook preInstall
     install -Dm755 TabNine $out/bin/TabNine
     install -Dm755 TabNine-deep-cloud $out/bin/TabNine-deep-cloud
     install -Dm755 TabNine-deep-local $out/bin/TabNine-deep-local
     install -Dm755 WD-TabNine $out/bin/WD-TabNine
+    runHook postInstall
   '';
 
   meta = with lib; {
@@ -42,5 +44,6 @@ stdenv.mkDerivation rec {
     description = "Smart Compose for code that uses deep learning to help you write code faster";
     license = licenses.unfree;
     platforms = [ "x86_64-darwin" "x86_64-linux" ];
+    maintainers = with maintainers; [ lovesegfault ];
   };
 }