about summary refs log tree commit diff
path: root/third_party/emacs/exwm/default.nix
blob: b9941e83b01a7a9ce2161e5f66c4202706303c54 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# EXWM is present in nixpkgs and we do not (currently) intend to
# change the code structure, so the existing drv can be reused.
{ pkgs, lib, ... }:

let
  inherit (pkgs.emacsPackages) melpaBuild xelb;
in melpaBuild {
  pname = "exwm";
  ename = "exwm";
  version = "0.24";
  src = ./.;
  packageRequires = [ xelb ];

  recipe = builtins.toFile "recipe.el" ''
    (exwm :fetcher github :repo "ch11ng/exwm")
  '';

  meta = {
    homepage = "https://elpa.gnu.org/packages/exwm.html";
    license = lib.licenses.free;
  };
}