about summary refs log tree commit diff
path: root/pkgs/applications/editors/emacs/elisp-packages/manual-packages/voicemacs/default.nix
blob: 60f3e3a75e053b53de7fdabb6575c2dcb84b57aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{ trivialBuild
, lib
, fetchFromGitHub
, avy
, json-rpc-server
, f
, nav-flash
, helm
, cl-lib
, porthole
, default-text-scale
, bind-key
, yasnippet
, company
, company-quickhelp
}:

trivialBuild {
  pname = "voicemacs";
  version = "0-unstable-2022-02-16";

  src = fetchFromGitHub {
    owner = "jcaw";
    repo = "voicemacs";
    rev = "d91de2a31c68ab083172ade2451419d6bd7bb389";
    sha256 = "sha256-/MBB2R9/V0aYZp15e0vx+67ijCPp2iPlgxe262ldmtc=";
  };

  patches = [ ./add-missing-require.patch ];

  packageRequires = [
    avy
    json-rpc-server
    f
    nav-flash
    helm
    cl-lib
    porthole
    default-text-scale
    bind-key
    yasnippet
    company-quickhelp
  ];

  meta = {
    description = "Voicemacs is a set of utilities for controlling Emacs by voice";
    license = lib.licenses.gpl3Only;
    platforms = lib.platforms.all;
  };
}