diff options
-rw-r--r-- | overlays/extra-packages.nix | 10 | ||||
-rw-r--r-- | user/packages/tabnine-capf.nix | 47 |
2 files changed, 0 insertions, 57 deletions
diff --git a/overlays/extra-packages.nix b/overlays/extra-packages.nix index d0717756..0e0451d0 100644 --- a/overlays/extra-packages.nix +++ b/overlays/extra-packages.nix @@ -1,14 +1,4 @@ self: super: { - emacsPackagesFor = emacs: ( - (super.emacsPackagesFor emacs).overrideScope ( - eself: esuper: - esuper // { - tabnine-capf = super.callPackage ../packages/tabnine-capf.nix { - inherit eself; - }; - } - ) - ); vimPlugins = super.vimPlugins.extend (final: prev: { coc-tabnine = let diff --git a/user/packages/tabnine-capf.nix b/user/packages/tabnine-capf.nix deleted file mode 100644 index 94e730ea..00000000 --- a/user/packages/tabnine-capf.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ eself -, fetchFromGitHub -, emacs -, gcc -, lib -, writeText -, unstableGitUpdater -, ... -}: -let - rev = "a55cefee20ea94747b12068a1d4b64b0decf37eb"; -in -eself.trivialBuild { - ename = "tabnine-capf"; - pname = "tabnine-capf"; - version = "0.0.1+unstable=2023-04-23"; - - src = fetchFromGitHub { - owner = "50ways2sayhard"; - repo = "tabnine-capf"; - inherit rev; - sha256 = "14n5xklm9cpkn04crvx7mlykk48w2j2w5vcf6ipfj84dhpiyzh0j"; - }; - - packageRequires = with eself; [ dash s ]; - - buildInputs = [ emacs gcc ]; - - buildPhase = '' - runHook preBuild - emacs -L . --batch --funcall batch-byte-compile *.el - runHook postBuild - ''; - - recipe = writeText "recipe" '' - (tabnine-capf :repo "50ways2sayhard/tabnine-capf" :fetcher github) - ''; - - passthru.updateScript = unstableGitUpdater { }; - - meta = with lib; { - description = "A capf version of company-tabnine"; - homepage = "https://github.com/50ways2sayhard/tabnine-capf"; - license = licenses.mit; - inherit (emacs.meta) platforms; - }; -} |