tvl-depot/third_party/emacs/explain-pause-mode.nix
sterni 6b88df04c1 chore(3p/nixpkgs): update channels to 2021-07-25
* 3p/buzz: bump to latest master (1.6.0)

* 3p/emacs/explain-pause-mode: adjust to package-build update
  MELPA's package build now cares about git revisions, but calling VC
  commands in a nix build is usually a bad idea. Thus upstream nixpkgs
  passes `$commit` to the `buildPhase` and otherwise fails with an
  error message that doesn't really point to the issue. Upstream change:
  9140d4b06f

* 3p/overlays/emacs: udpate to 2021-07-25 to support the package-build
  update. Without this emacsPackages.xelb (for tazjin's exwm) would fail.

Change-Id: I7cd782fe7d66ed4ea78c529b79fe761d921f46a8
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3253
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Reviewed-by: grfn <grfn@gws.fyi>
2021-07-28 12:10:59 +00:00

24 lines
585 B
Nix

{ pkgs, ... }:
let
inherit (pkgs) emacsPackages fetchFromGitHub;
commit = "35f7d780a9c164b5c502023746473b1de3857904";
in emacsPackages.melpaBuild rec {
pname = "explain-pause-mode";
version = "0.1"; # master on 20200603
inherit commit;
recipe = builtins.toFile "recipe.el" ''
(explain-pause-mode :fetcher github
:repo "lastquestion/explain-pause-mode")
'';
src = fetchFromGitHub {
owner = "lastquestion";
repo = "explain-pause-mode";
rev = commit;
sha256 = "0d9lwzqqwmz0n94i7959rj7m24265yf3825a5g8cd7fyzxznl1pc";
};
}