jnv: 0.4.2 -> 0.5.0 (#371655)
[NixPkgs.git] / pkgs / applications / editors / emacs / elisp-packages / updater-emacs.nix
blob9356a9e3d0c1ae6cff434b174fcfa3a745571553
1 let
2   pkgs = import ../../../../.. { };
4   emacsEnv = pkgs.emacs.pkgs.withPackages (
5     epkgs:
6     let
8       promise = epkgs.melpaBuild {
9         pname = "promise";
10         version = "0-unstable-2019-06-07";
12         src = pkgs.fetchFromGitHub {
13           owner = "bendlas";
14           repo = "emacs-promise";
15           rev = "4da97087c5babbd8429b5ce62a8323b9b03c6022";
16           hash = "sha256-XsvPsA/lUzPWyJAdJg9XtD/vLDtk7guG7p+8ZOQ8Nno=";
17         };
19         packageRequires = [ epkgs.async ];
20       };
22       semaphore = epkgs.melpaBuild {
23         pname = "semaphore";
24         version = "0-unstable-2019-06-07";
26         src = pkgs.fetchFromGitHub {
27           owner = "webnf";
28           repo = "semaphore.el";
29           rev = "93802cb093073bc6a6ccd797328dafffcef248e0";
30           hash = "sha256-o6B5oaGGxwQOCoTIXrQre4veT6Mwqw7I2LqMesT17iY=";
31         };
33         packageRequires = [ promise ];
34       };
36     in
37     [
38       promise
39       semaphore
40     ]
41   );
44 pkgs.mkShell {
45   packages = [
46     pkgs.git
47     pkgs.bash
48     pkgs.nix-prefetch-git
49     pkgs.nix-prefetch-hg
50     emacsEnv
51   ];