about summary refs log tree commit diff
path: root/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'third_party')
-rw-r--r--third_party/overlays/emacs.nix12
-rw-r--r--third_party/sources/sources.json12
2 files changed, 14 insertions, 10 deletions
diff --git a/third_party/overlays/emacs.nix b/third_party/overlays/emacs.nix
index 1dba4a739303..341feb501507 100644
--- a/third_party/overlays/emacs.nix
+++ b/third_party/overlays/emacs.nix
@@ -1,12 +1,4 @@
 # Emacs overlay from https://github.com/nix-community/emacs-overlay
-{ ... }:
+{ depot, ... }:
 
-let
-  # from 2022-01-04
-  commit = "a463c3bcbb04b4b744a259587081786ded8fd5b5";
-  src = builtins.fetchTarball {
-    url = "https://github.com/nix-community/emacs-overlay/archive/${commit}.tar.gz";
-    sha256 = "1b7rmshf1wc9wcml7jlzggdzilj644brk5m49fry6lv53vqmykjq";
-  };
-in
-import src
+import depot.third_party.sources.emacs-overlay
diff --git a/third_party/sources/sources.json b/third_party/sources/sources.json
index 51ba61412b16..a4469c10f8fa 100644
--- a/third_party/sources/sources.json
+++ b/third_party/sources/sources.json
@@ -1,4 +1,16 @@
 {
+    "emacs-overlay": {
+        "branch": "master",
+        "description": "Bleeding edge emacs overlay [maintainer=@adisbladis] ",
+        "homepage": "",
+        "owner": "nix-community",
+        "repo": "emacs-overlay",
+        "rev": "d43cfd1815d2dbae970705196e2a297c2ba87811",
+        "sha256": "1sr7dyq34dfhxhxrp0zjlcf2bpqj1ns5ikhx6d22c5r3zcg507vd",
+        "type": "tarball",
+        "url": "https://github.com/nix-community/emacs-overlay/archive/d43cfd1815d2dbae970705196e2a297c2ba87811.tar.gz",
+        "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
+    },
     "nixpkgs": {
         "branch": "nixos-unstable",
         "description": "Nix Packages collection",