mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
Merge pull request #138218 from lovesegfault/tabnine-3.6.8
tabnine: 3.5.49 -> 3.6.8
This commit is contained in:
commit
f12fb7a7d2
@ -3,16 +3,16 @@ let
|
|||||||
platform =
|
platform =
|
||||||
if stdenv.hostPlatform.system == "x86_64-linux" then {
|
if stdenv.hostPlatform.system == "x86_64-linux" then {
|
||||||
name = "x86_64-unknown-linux-musl";
|
name = "x86_64-unknown-linux-musl";
|
||||||
sha256 = "sha256-uy3+/+XMq56rO75mmSeOmE1HW7hhefaGwfY/QJPk3Ok=";
|
sha256 = "sha256-+jxjHE2/6IGptMlKXGebHcaIVokOP76ut325EbkdaA0=";
|
||||||
} else if stdenv.hostPlatform.system == "x86_64-darwin" then {
|
} else if stdenv.hostPlatform.system == "x86_64-darwin" then {
|
||||||
name = "x86_64-apple-darwin";
|
name = "x86_64-apple-darwin";
|
||||||
sha256 = "sha256-EK7FbRzgaCXviOuBcRf/ElllRdakhDmOLsKkwrIEhBU=";
|
sha256 = "sha256-87Hy1akNrZWQbKutkv4CToTyMcxRc7Y24o1+vI4pev8=";
|
||||||
} else throw "Not supported on ${stdenv.hostPlatform.system}";
|
} else throw "Not supported on ${stdenv.hostPlatform.system}";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "tabnine";
|
pname = "tabnine";
|
||||||
# You can check the latest version with `curl -sS https://update.tabnine.com/bundles/version`
|
# You can check the latest version with `curl -sS https://update.tabnine.com/bundles/version`
|
||||||
version = "3.5.49";
|
version = "3.6.8";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://update.tabnine.com/bundles/${version}/${platform.name}/TabNine.zip";
|
url = "https://update.tabnine.com/bundles/${version}/${platform.name}/TabNine.zip";
|
||||||
|
@ -142,7 +142,7 @@ self: super: {
|
|||||||
dependencies = with self; [ completion-nvim ];
|
dependencies = with self; [ completion-nvim ];
|
||||||
buildInputs = [ tabnine ];
|
buildInputs = [ tabnine ];
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
mkdir $target/binaries
|
mkdir -p $target/binaries
|
||||||
ln -s ${tabnine}/bin/TabNine $target/binaries/TabNine_$(uname -s)
|
ln -s ${tabnine}/bin/TabNine $target/binaries/TabNine_$(uname -s)
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user