Merge pull request #117831 from onsails/tabnine

tabnine: 3.2.64 -> 3.3.101
This commit is contained in:
Sandro 2021-03-28 00:03:41 +01:00 committed by GitHub
commit fa0b7ed232
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,20 +1,23 @@
{ stdenv, lib, fetchurl, unzip }:
let
version = "3.2.63";
version = "3.3.101";
src =
if stdenv.hostPlatform.system == "x86_64-darwin" then
fetchurl {
url = "https://update.tabnine.com/bundles/${version}/x86_64-apple-darwin/TabNine.zip";
sha256 = "0y0wb3jdr2qk4k21c11w8c9a5fl0h2rm1wm7m8hqdywy4lz9ppgy";
}
fetchurl
{
url = "https://update.tabnine.com/bundles/${version}/x86_64-apple-darwin/TabNine.zip";
sha256 = "KrFDQSs7hMCioeqPKTNODe3RKnwNV8XafdYDUaxou/Y=";
}
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 = "0zzk2w5azk5f0svjxlj2774x01xdflb767xxvbglj4223dgyx2x5";
}
fetchurl
{
url = "https://update.tabnine.com/bundles/${version}/x86_64-unknown-linux-musl/TabNine.zip";
sha256 = "vbeuZf/phOj83xTha+AzpKIvvrjwMar7q2teAmr5ESQ=";
}
else throw "Not supported on ${stdenv.hostPlatform.system}";
in stdenv.mkDerivation rec {
in
stdenv.mkDerivation rec {
pname = "tabnine";
inherit version src;