about summary refs log tree commit diff
path: root/tools/emacs-pkgs/term-switcher/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tools/emacs-pkgs/term-switcher/default.nix')
-rw-r--r--tools/emacs-pkgs/term-switcher/default.nix12
1 files changed, 3 insertions, 9 deletions
diff --git a/tools/emacs-pkgs/term-switcher/default.nix b/tools/emacs-pkgs/term-switcher/default.nix
index 0c5e4c17cd18..e775de5cdbe8 100644
--- a/tools/emacs-pkgs/term-switcher/default.nix
+++ b/tools/emacs-pkgs/term-switcher/default.nix
@@ -1,14 +1,8 @@
-{ pkgs, ... }:
+{ depot, ... }:
 
-with pkgs.emacsPackages;
-
-melpaBuild rec {
+depot.tools.emacs-pkgs.buildEmacsPackage {
   pname = "term-switcher";
   version = "1.0";
   src = ./term-switcher.el;
-  packageRequires = [ dash ivy s vterm ];
-
-  recipe = builtins.toFile "recipe" ''
-    (term-switcher :fetcher github :repo "tazjin/depot")
-  '';
+  externalRequires = epkgs: with epkgs; [ dash ivy s vterm ];
 }