1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00

tabnine: 3.2.64 -> 3.3.101

This commit is contained in:
Andrey Kuznetsov 2021-03-27 23:35:04 +04:00
parent 693a938bef
commit 0c39926e7e
No known key found for this signature in database
GPG key ID: A3748A3281F25743

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;