mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-21 04:42:07 +03:00
tabnine: 3.5.15 -> 3.5.37
This commit is contained in:
parent
d50a16f414
commit
816b3decda
@ -1,19 +1,20 @@
|
|||||||
{ stdenv, lib, fetchurl, unzip }:
|
{ stdenv, lib, fetchurl, unzip }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "3.5.15";
|
# You can check the latest version with `curl -sS https://update.tabnine.com/bundles/version`
|
||||||
|
version = "3.5.37";
|
||||||
src =
|
src =
|
||||||
if stdenv.hostPlatform.system == "x86_64-darwin" then
|
if stdenv.hostPlatform.system == "x86_64-darwin" then
|
||||||
fetchurl
|
fetchurl
|
||||||
{
|
{
|
||||||
url = "https://update.tabnine.com/bundles/${version}/x86_64-apple-darwin/TabNine.zip";
|
url = "https://update.tabnine.com/bundles/${version}/x86_64-apple-darwin/TabNine.zip";
|
||||||
sha256 = "sha256-JrDAF/3yPGJXwonWIvaKf0dw4GQf3U2wbf5iF4QUXco=";
|
sha256 = "sha256-Vxmhl4/bhRDeByGgkdSF8yEY5wI23WzT2iH1OFkEpck=";
|
||||||
}
|
}
|
||||||
else if stdenv.hostPlatform.system == "x86_64-linux" then
|
else if stdenv.hostPlatform.system == "x86_64-linux" then
|
||||||
fetchurl
|
fetchurl
|
||||||
{
|
{
|
||||||
url = "https://update.tabnine.com/bundles/${version}/x86_64-unknown-linux-musl/TabNine.zip";
|
url = "https://update.tabnine.com/bundles/${version}/x86_64-unknown-linux-musl/TabNine.zip";
|
||||||
sha256 = "sha256-fgVVJ+J4w+Z3Kmryixp844xlLFiRs5PSAcD/wrcXF1w=";
|
sha256 = "sha256-pttjlx7WWE3nog9L1APp8HN+a4ShhlBj5irHOaPgqHw=";
|
||||||
}
|
}
|
||||||
else throw "Not supported on ${stdenv.hostPlatform.system}";
|
else throw "Not supported on ${stdenv.hostPlatform.system}";
|
||||||
in
|
in
|
||||||
|
Loading…
Reference in New Issue
Block a user