about summary refs log tree commit diff
path: root/third_party
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-01-31T11·24+0300
committerclbot <clbot@tvl.fyi>2022-02-01T10·01+0000
commit8db3f1d56264aa8657b857f5ab1d2cf5a9da92e1 (patch)
tree9b11b353bdab153c87706a70ac502594584b12db /third_party
parent3122cdf0c4dca8df08aca42e7df3e866bc3dd94e (diff)
refactor(3p/overlays): Fetch emacs-overlay through niv r/3735
Change-Id: I1c59d463eb1f50fa6e24774ec75ccd2e2d98e120
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5144
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: sterni <sternenseemann@systemli.org>
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 1dba4a7393..341feb5015 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 51ba61412b..a4469c10f8 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",