emacsPackagesNg: 2018-07-15 update
All package sets are simultaneously updated to accommodate changes to package-build. Due to new restrictions in package-build, all packages using `melpaBuild` must now provide a recipe file, even those packages which are not included in upstream MELPA.
This commit is contained in:
parent
dae9cf6106
commit
d3cea48608
770
pkgs/applications/editors/emacs-modes/elpa-generated.nix
generated
770
pkgs/applications/editors/emacs-modes/elpa-generated.nix
generated
File diff suppressed because it is too large
Load Diff
@ -10,7 +10,7 @@ melpaBuild {
|
|||||||
name = "filesets+.el";
|
name = "filesets+.el";
|
||||||
};
|
};
|
||||||
|
|
||||||
recipeFile = fetchurl {
|
recipe = fetchurl {
|
||||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/a5d15f875b0080b12ce45cf696c581f6bbf061ba/recipes/filesets-plus+";
|
url = "https://raw.githubusercontent.com/milkypostman/melpa/a5d15f875b0080b12ce45cf696c581f6bbf061ba/recipes/filesets-plus+";
|
||||||
sha256 = "1wn99cb53ykds87lg9mrlfpalrmjj177nwskrnp9wglyqs65lk4g";
|
sha256 = "1wn99cb53ykds87lg9mrlfpalrmjj177nwskrnp9wglyqs65lk4g";
|
||||||
name = "filesets-plus";
|
name = "filesets-plus";
|
||||||
|
@ -10,7 +10,7 @@ melpaBuild {
|
|||||||
name = "font-lock+.el";
|
name = "font-lock+.el";
|
||||||
};
|
};
|
||||||
|
|
||||||
recipeFile = fetchurl {
|
recipe = fetchurl {
|
||||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/a5d15f875b0080b12ce45cf696c581f6bbf061ba/recipes/font-lock+";
|
url = "https://raw.githubusercontent.com/milkypostman/melpa/a5d15f875b0080b12ce45cf696c581f6bbf061ba/recipes/font-lock+";
|
||||||
sha256 = "1wn99cb53ykds87lg9mrlfpalrmjj177nwskrnp9wglyqs65lk4g";
|
sha256 = "1wn99cb53ykds87lg9mrlfpalrmjj177nwskrnp9wglyqs65lk4g";
|
||||||
name = "font-lock-plus";
|
name = "font-lock-plus";
|
||||||
|
@ -10,7 +10,7 @@ melpaBuild {
|
|||||||
name = "header2.el";
|
name = "header2.el";
|
||||||
};
|
};
|
||||||
|
|
||||||
recipeFile = fetchurl {
|
recipe = fetchurl {
|
||||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/a5d15f875b0080b12ce45cf696c581f6bbf061ba/recipes/header2";
|
url = "https://raw.githubusercontent.com/milkypostman/melpa/a5d15f875b0080b12ce45cf696c581f6bbf061ba/recipes/header2";
|
||||||
sha256 = "1dg25krx3wxma2l5vb2ji7rpfp17qbrl62jyjpa52cjfsvyp6v06";
|
sha256 = "1dg25krx3wxma2l5vb2ji7rpfp17qbrl62jyjpa52cjfsvyp6v06";
|
||||||
name = "header2";
|
name = "header2";
|
||||||
|
@ -10,7 +10,7 @@ melpaBuild {
|
|||||||
name = "hexrgb.el";
|
name = "hexrgb.el";
|
||||||
};
|
};
|
||||||
|
|
||||||
recipeFile = fetchurl {
|
recipe = fetchurl {
|
||||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/a5d15f875b0080b12ce45cf696c581f6bbf061ba/recipes/hexrgb";
|
url = "https://raw.githubusercontent.com/milkypostman/melpa/a5d15f875b0080b12ce45cf696c581f6bbf061ba/recipes/hexrgb";
|
||||||
sha256 = "0mzqslrrf7sc262syj3ja7b7rnbg80dwf2p9bzxdrzx6b8vvsx06";
|
sha256 = "0mzqslrrf7sc262syj3ja7b7rnbg80dwf2p9bzxdrzx6b8vvsx06";
|
||||||
name = "hexrgb";
|
name = "hexrgb";
|
||||||
|
@ -10,7 +10,7 @@ melpaBuild {
|
|||||||
name = "lib-requires.el";
|
name = "lib-requires.el";
|
||||||
};
|
};
|
||||||
|
|
||||||
recipeFile = fetchurl {
|
recipe = fetchurl {
|
||||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/a5d15f875b0080b12ce45cf696c581f6bbf061ba/recipes/lib-requires";
|
url = "https://raw.githubusercontent.com/milkypostman/melpa/a5d15f875b0080b12ce45cf696c581f6bbf061ba/recipes/lib-requires";
|
||||||
sha256 = "1g22jh56z8rnq0h80wj10gs38yig1rk9xmk3kmhmm5mm6b14iwdx";
|
sha256 = "1g22jh56z8rnq0h80wj10gs38yig1rk9xmk3kmhmm5mm6b14iwdx";
|
||||||
name = "lib-requires";
|
name = "lib-requires";
|
||||||
|
57456
pkgs/applications/editors/emacs-modes/melpa-generated.nix
generated
57456
pkgs/applications/editors/emacs-modes/melpa-generated.nix
generated
File diff suppressed because it is too large
Load Diff
27791
pkgs/applications/editors/emacs-modes/melpa-stable-generated.nix
generated
27791
pkgs/applications/editors/emacs-modes/melpa-stable-generated.nix
generated
File diff suppressed because it is too large
Load Diff
@ -1,10 +1,12 @@
|
|||||||
{ callPackage }: {
|
{ callPackage }:
|
||||||
org = callPackage ({ elpaBuild, fetchurl, lib }: elpaBuild {
|
{
|
||||||
|
org = callPackage ({ elpaBuild, fetchurl, lib }:
|
||||||
|
elpaBuild {
|
||||||
pname = "org";
|
pname = "org";
|
||||||
version = "20180416";
|
version = "20180716";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://orgmode.org/elpa/org-20180416.tar";
|
url = "http://orgmode.org/elpa/org-20180716.tar";
|
||||||
sha256 = "05rbkrs93zd9kvldwvypb8fwwaysajy5n7b2k9c8xm2cx2nayv8m";
|
sha256 = "0gr57nfdncnxrxxzw87ni5i6zjh1mdxl9h8pw96msh1c47xhpk2d";
|
||||||
};
|
};
|
||||||
packageRequires = [];
|
packageRequires = [];
|
||||||
meta = {
|
meta = {
|
||||||
@ -12,12 +14,13 @@
|
|||||||
license = lib.licenses.free;
|
license = lib.licenses.free;
|
||||||
};
|
};
|
||||||
}) {};
|
}) {};
|
||||||
org-plus-contrib = callPackage ({ elpaBuild, fetchurl, lib }: elpaBuild {
|
org-plus-contrib = callPackage ({ elpaBuild, fetchurl, lib }:
|
||||||
|
elpaBuild {
|
||||||
pname = "org-plus-contrib";
|
pname = "org-plus-contrib";
|
||||||
version = "20180416";
|
version = "20180716";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://orgmode.org/elpa/org-plus-contrib-20180416.tar";
|
url = "http://orgmode.org/elpa/org-plus-contrib-20180716.tar";
|
||||||
sha256 = "1f5zdfsa1fcf66hk3w57wh5385069yg0b86h57jgkcbmxkcmj6ij";
|
sha256 = "0j4r3bcy96kcaab7cv2a5qd0mv8ddkr1qlihijk79l9nhsh2y4hm";
|
||||||
};
|
};
|
||||||
packageRequires = [];
|
packageRequires = [];
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -10,7 +10,7 @@ melpaBuild {
|
|||||||
name = "thingatpt+.el";
|
name = "thingatpt+.el";
|
||||||
};
|
};
|
||||||
|
|
||||||
recipeFile = fetchurl {
|
recipe = fetchurl {
|
||||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/a5d15f875b0080b12ce45cf696c581f6bbf061ba/recipes/thingatpt+";
|
url = "https://raw.githubusercontent.com/milkypostman/melpa/a5d15f875b0080b12ce45cf696c581f6bbf061ba/recipes/thingatpt+";
|
||||||
sha256 = "0w031lzjl5phvzsmbbxn2fpziwkmdyxsn08h6b9lxbss1prhx7aa";
|
sha256 = "0w031lzjl5phvzsmbbxn2fpziwkmdyxsn08h6b9lxbss1prhx7aa";
|
||||||
name = "thingatpt-plus";
|
name = "thingatpt-plus";
|
||||||
|
@ -1,35 +1,19 @@
|
|||||||
# builder for Emacs packages built for packages.el
|
# builder for Emacs packages built for packages.el
|
||||||
# using MELPA package-build.el
|
# using MELPA package-build.el
|
||||||
|
|
||||||
{ lib, stdenv, fetchurl, emacs, texinfo }:
|
{ lib, stdenv, fetchurl, fetchFromGitHub, emacs, texinfo }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
{ pname
|
{ pname
|
||||||
, version
|
, version
|
||||||
|
, recipe
|
||||||
, recipeFile ? null
|
|
||||||
|
|
||||||
, files ? null
|
|
||||||
, fileSpecs ? [ "*.el" "*.el.in" "dir"
|
|
||||||
"*.info" "*.texi" "*.texinfo"
|
|
||||||
"doc/dir" "doc/*.info" "doc/*.texi" "doc/*.texinfo"
|
|
||||||
]
|
|
||||||
|
|
||||||
, meta ? {}
|
, meta ? {}
|
||||||
|
|
||||||
, ...
|
, ...
|
||||||
}@args:
|
}@args:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
packageBuild = fetchurl {
|
|
||||||
url = https://raw.githubusercontent.com/milkypostman/melpa/2b3eb31c077fcaff94b74b757c1ce17650333943/package-build.el;
|
|
||||||
sha256 = "1biwg2pqmmdz5iwqbjdszljazqymvgyyjcnc255nr6qz8mhnx67j";
|
|
||||||
};
|
|
||||||
|
|
||||||
targets = concatStringsSep " " (if files == null then fileSpecs else files);
|
|
||||||
|
|
||||||
defaultMeta = {
|
defaultMeta = {
|
||||||
homepage = args.src.meta.homepage or "http://melpa.org/#/${pname}";
|
homepage = args.src.meta.homepage or "http://melpa.org/#/${pname}";
|
||||||
};
|
};
|
||||||
@ -37,33 +21,58 @@ let
|
|||||||
in
|
in
|
||||||
|
|
||||||
import ./generic.nix { inherit lib stdenv emacs texinfo; } ({
|
import ./generic.nix { inherit lib stdenv emacs texinfo; } ({
|
||||||
inherit packageBuild;
|
|
||||||
|
melpa = fetchFromGitHub {
|
||||||
|
owner = "melpa";
|
||||||
|
repo = "melpa";
|
||||||
|
rev = "7103313a7c31bb1ebb71419e365cd2e279ee4609";
|
||||||
|
sha256 = "0m10f83ix0mzjk0vjd4kkb1m1p4b8ha0ll2yjsgk9bqjd7fwapqb";
|
||||||
|
};
|
||||||
|
|
||||||
|
elpa2nix = ./elpa2nix.el;
|
||||||
|
melpa2nix = ./melpa2nix.el;
|
||||||
|
|
||||||
|
preUnpack = ''
|
||||||
|
mkdir -p "$NIX_BUILD_TOP/recipes"
|
||||||
|
if [ -n "$recipe" ]; then
|
||||||
|
cp "$recipe" "$NIX_BUILD_TOP/recipes/$pname"
|
||||||
|
fi
|
||||||
|
|
||||||
|
ln -s "$melpa/package-build" "$NIX_BUILD_TOP/package-build"
|
||||||
|
|
||||||
|
mkdir -p "$NIX_BUILD_TOP/packages"
|
||||||
|
'';
|
||||||
|
|
||||||
|
postUnpack = ''
|
||||||
|
mkdir -p "$NIX_BUILD_TOP/working"
|
||||||
|
ln -s "$NIX_BUILD_TOP/$sourceRoot" "$NIX_BUILD_TOP/working/$pname"
|
||||||
|
'';
|
||||||
|
|
||||||
buildPhase =
|
buildPhase =
|
||||||
if recipeFile == null
|
''
|
||||||
then ''
|
runHook preBuild
|
||||||
runHook preBuild
|
|
||||||
|
|
||||||
export archive=$(emacs --batch -Q -l $packageBuild -l ${./melpa2nix.el} \
|
cd "$NIX_BUILD_TOP"
|
||||||
-f melpa2nix-build-package \
|
|
||||||
${pname} ${version} ${targets})
|
|
||||||
|
|
||||||
runHook postBuild
|
emacs --batch -Q \
|
||||||
''
|
-L "$melpa/package-build" \
|
||||||
else ''
|
-l "$melpa2nix" \
|
||||||
runHook preBuild
|
-f melpa2nix-build-package \
|
||||||
|
$pname $version
|
||||||
|
|
||||||
export archive=$(emacs --batch -Q -l $packageBuild -l ${./melpa2nix.el} \
|
runHook postBuild
|
||||||
-f melpa2nix-build-package-from-recipe \
|
'';
|
||||||
${recipeFile} ${version})
|
|
||||||
|
|
||||||
runHook postBuild
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
emacs --batch -Q -l ${./elpa2nix.el} \
|
archive="$NIX_BUILD_TOP/packages/$pname-$version.el"
|
||||||
|
if [ ! -f "$archive" ]; then
|
||||||
|
archive="$NIX_BUILD_TOP/packages/$pname-$version.tar"
|
||||||
|
fi
|
||||||
|
|
||||||
|
emacs --batch -Q \
|
||||||
|
-l "$elpa2nix" \
|
||||||
-f elpa2nix-install-package \
|
-f elpa2nix-install-package \
|
||||||
"$archive" "$out/share/emacs/site-lisp/elpa"
|
"$archive" "$out/share/emacs/site-lisp/elpa"
|
||||||
|
|
||||||
@ -73,6 +82,4 @@ import ./generic.nix { inherit lib stdenv emacs texinfo; } ({
|
|||||||
meta = defaultMeta // meta;
|
meta = defaultMeta // meta;
|
||||||
}
|
}
|
||||||
|
|
||||||
// removeAttrs args [ "files" "fileSpecs"
|
// removeAttrs args [ "meta" ])
|
||||||
"meta"
|
|
||||||
])
|
|
||||||
|
@ -1,42 +1,16 @@
|
|||||||
(require 'package)
|
(require 'package)
|
||||||
(package-initialize)
|
(package-initialize)
|
||||||
|
|
||||||
|
(require 'package-recipe)
|
||||||
(require 'package-build)
|
(require 'package-build)
|
||||||
|
|
||||||
(setq package-build-working-dir (expand-file-name ".")
|
(setq package-build-working-dir (expand-file-name "working/"))
|
||||||
package-build-archive-dir (expand-file-name "."))
|
(setq package-build-archive-dir (expand-file-name "packages/"))
|
||||||
|
(setq package-build-recipes-dir (expand-file-name "recipes/"))
|
||||||
|
|
||||||
(defun melpa2nix-build-package ()
|
(defun melpa2nix-build-package ()
|
||||||
(if (not noninteractive)
|
(if (not noninteractive)
|
||||||
(error "`melpa2nix-build-package' is to be used only with -batch"))
|
(error "`melpa2nix-build-package' is to be used only with -batch"))
|
||||||
(pcase command-line-args-left
|
(pcase command-line-args-left
|
||||||
(`(,package ,version . ,files)
|
(`(,package ,version)
|
||||||
(melpa2nix-package-build-archive package version files))))
|
(package-build--package (package-recipe-lookup package) version))))
|
||||||
|
|
||||||
(defun melpa2nix-build-package-from-recipe ()
|
|
||||||
(if (not noninteractive)
|
|
||||||
(error "`melpa2nix-build-package' is to be used only with -batch"))
|
|
||||||
(pcase command-line-args-left
|
|
||||||
(`(,recipe-file ,version)
|
|
||||||
(let* ((recipe (package-build--read-from-file recipe-file))
|
|
||||||
(rcp (cdr recipe))
|
|
||||||
(package (car recipe))
|
|
||||||
(files (package-build--config-file-list rcp)))
|
|
||||||
(melpa2nix-package-build-archive package version files)))))
|
|
||||||
|
|
||||||
(defun melpa2nix-package-build-archive (name version files)
|
|
||||||
"Build a package archive for package NAME."
|
|
||||||
(package-build--message "\n;;; %s\n" name)
|
|
||||||
(let* ((start-time (current-time))
|
|
||||||
(archive-entry (package-build-package name
|
|
||||||
version
|
|
||||||
files
|
|
||||||
package-build-working-dir
|
|
||||||
package-build-archive-dir))
|
|
||||||
(archive-file (package-build--archive-file-name archive-entry)))
|
|
||||||
|
|
||||||
(progn
|
|
||||||
(package-build--message "Built in %.3fs, finished at %s"
|
|
||||||
(time-to-seconds (time-since start-time))
|
|
||||||
(current-time-string))
|
|
||||||
(princ (format "%s\n" archive-file)))))
|
|
||||||
|
@ -15891,7 +15891,7 @@ with pkgs;
|
|||||||
emacsPackagesNgGen = emacs: import ./emacs-packages.nix {
|
emacsPackagesNgGen = emacs: import ./emacs-packages.nix {
|
||||||
inherit lib newScope stdenv;
|
inherit lib newScope stdenv;
|
||||||
inherit fetchFromGitHub fetchgit fetchhg fetchurl fetchpatch;
|
inherit fetchFromGitHub fetchgit fetchhg fetchurl fetchpatch;
|
||||||
inherit emacs texinfo makeWrapper runCommand;
|
inherit emacs texinfo makeWrapper runCommand writeText;
|
||||||
inherit (xorg) lndir;
|
inherit (xorg) lndir;
|
||||||
|
|
||||||
trivialBuild = callPackage ../build-support/emacs/trivial.nix {
|
trivialBuild = callPackage ../build-support/emacs/trivial.nix {
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
# `meta` with `platforms` and `homepage` set to something you are
|
# `meta` with `platforms` and `homepage` set to something you are
|
||||||
# unlikely to want to override for most packages
|
# unlikely to want to override for most packages
|
||||||
|
|
||||||
{ lib, newScope, stdenv, fetchurl, fetchgit, fetchFromGitHub, fetchhg, fetchpatch, runCommand
|
{ lib, newScope, stdenv, fetchurl, fetchgit, fetchFromGitHub, fetchhg, fetchpatch, runCommand, writeText
|
||||||
|
|
||||||
, emacs, texinfo, lndir, makeWrapper
|
, emacs, texinfo, lndir, makeWrapper
|
||||||
, trivialBuild
|
, trivialBuild
|
||||||
@ -99,7 +99,11 @@ let
|
|||||||
nativeBuildInputs = [ external.pkgconfig ];
|
nativeBuildInputs = [ external.pkgconfig ];
|
||||||
buildInputs = with external; [ autoconf automake libpng zlib poppler ];
|
buildInputs = with external; [ autoconf automake libpng zlib poppler ];
|
||||||
preBuild = "make server/epdfinfo";
|
preBuild = "make server/epdfinfo";
|
||||||
fileSpecs = [ "lisp/pdf-*.el" "server/epdfinfo" ];
|
recipe = writeText "recipe" ''
|
||||||
|
(pdf-tools
|
||||||
|
:repo "politza/pdf-tools" :fetcher github
|
||||||
|
:files ("lisp/pdf-*.el" "server/epdfinfo"))
|
||||||
|
'';
|
||||||
packageRequires = [ tablist let-alist ];
|
packageRequires = [ tablist let-alist ];
|
||||||
meta = {
|
meta = {
|
||||||
description = "Emacs support library for PDF files";
|
description = "Emacs support library for PDF files";
|
||||||
@ -118,7 +122,12 @@ let
|
|||||||
};
|
};
|
||||||
buildInputs = [ external.libffi ];
|
buildInputs = [ external.libffi ];
|
||||||
preBuild = "make";
|
preBuild = "make";
|
||||||
files = [ "ffi-glue" "ffi.el" ];
|
recipe = writeText "recipe" ''
|
||||||
|
(elisp-ffi
|
||||||
|
:repo "skeeto/elisp-ffi"
|
||||||
|
:fetcher github
|
||||||
|
:files ("ffi-glue" "ffi.el"))
|
||||||
|
'';
|
||||||
meta = {
|
meta = {
|
||||||
description = "Emacs Lisp Foreign Function Interface";
|
description = "Emacs Lisp Foreign Function Interface";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
@ -163,6 +172,9 @@ let
|
|||||||
rev = "39ea47c73f040ce8dcc1c2d2639ebc0eb57ab8c8";
|
rev = "39ea47c73f040ce8dcc1c2d2639ebc0eb57ab8c8";
|
||||||
sha256 = "0q3av1qv4m6aj4bil608f688hjpr5px8zqnnrdqx784nz98rpjrs";
|
sha256 = "0q3av1qv4m6aj4bil608f688hjpr5px8zqnnrdqx784nz98rpjrs";
|
||||||
};
|
};
|
||||||
|
recipe = writeText "recipe" ''
|
||||||
|
(elpy :repo "jorgenschaefer/elpy" :fetcher github)
|
||||||
|
'';
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
for file in elpy.el elpy-pkg.el; do
|
for file in elpy.el elpy-pkg.el; do
|
||||||
@ -203,6 +215,9 @@ let
|
|||||||
rev = "fcadf2d93aaea3ba88a2ae63a860b9c1f0568167";
|
rev = "fcadf2d93aaea3ba88a2ae63a860b9c1f0568167";
|
||||||
sha256 = "0axx6cc9z9c1wh7qgm6ya54dsp3bn82bnb0cwj1rpv509qqmwgsj";
|
sha256 = "0axx6cc9z9c1wh7qgm6ya54dsp3bn82bnb0cwj1rpv509qqmwgsj";
|
||||||
};
|
};
|
||||||
|
recipe = writeText "recipe" ''
|
||||||
|
(evil-jumper :repo "bling/evil-jumper" :fetcher github)
|
||||||
|
'';
|
||||||
packageRequires = [ evil ];
|
packageRequires = [ evil ];
|
||||||
meta = {
|
meta = {
|
||||||
description = "Jump across buffer boundaries and revive dead buffers if necessary";
|
description = "Jump across buffer boundaries and revive dead buffers if necessary";
|
||||||
@ -222,6 +237,11 @@ let
|
|||||||
rev = "53a8d8174f915d9dcf5ac6954b1c0cae61266177";
|
rev = "53a8d8174f915d9dcf5ac6954b1c0cae61266177";
|
||||||
sha256 = "0wky8vqg08iw34prbz04bqmhfhj82y93swb8zkz6la2vf9da0gmd";
|
sha256 = "0wky8vqg08iw34prbz04bqmhfhj82y93swb8zkz6la2vf9da0gmd";
|
||||||
};
|
};
|
||||||
|
recipe = writeText "recipe" ''
|
||||||
|
(find-file-in-project
|
||||||
|
:repo "technomancy/find-file-in-project"
|
||||||
|
:fetcher github)
|
||||||
|
'';
|
||||||
meta = {
|
meta = {
|
||||||
description = "Quick access to project files in Emacs";
|
description = "Quick access to project files in Emacs";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
@ -243,6 +263,9 @@ let
|
|||||||
src = external.ghc-mod.src;
|
src = external.ghc-mod.src;
|
||||||
packageRequires = [ haskell-mode ];
|
packageRequires = [ haskell-mode ];
|
||||||
propagatedUserEnvPkgs = [ external.ghc-mod ];
|
propagatedUserEnvPkgs = [ external.ghc-mod ];
|
||||||
|
recipe = writeText "recipe" ''
|
||||||
|
(ghc-mod :repo "DanielG/ghc-mod" :fetcher github :files ("elisp/*.el"))
|
||||||
|
'';
|
||||||
fileSpecs = [ "elisp/*.el" ];
|
fileSpecs = [ "elisp/*.el" ];
|
||||||
meta = {
|
meta = {
|
||||||
description = "An extension of haskell-mode that provides completion of symbols and documentation browsing";
|
description = "An extension of haskell-mode that provides completion of symbols and documentation browsing";
|
||||||
@ -259,6 +282,11 @@ let
|
|||||||
rev = "d8d168148c187ed19350bb7a1a190217c2915a63";
|
rev = "d8d168148c187ed19350bb7a1a190217c2915a63";
|
||||||
sha256 = "09b7bg2s9aa4s8f2kdqs4xps3jxkq5wsvbi87ih8b6id38blhf78";
|
sha256 = "09b7bg2s9aa4s8f2kdqs4xps3jxkq5wsvbi87ih8b6id38blhf78";
|
||||||
};
|
};
|
||||||
|
recipe = writeText "recipe" ''
|
||||||
|
(haskell-unicode-input-method
|
||||||
|
:repo "roelvandijk/emacs-haskell-unicode-input-method"
|
||||||
|
:fetcher github)
|
||||||
|
'';
|
||||||
packageRequires = [];
|
packageRequires = [];
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://melpa.org/#haskell-unicode-input-method/";
|
homepage = "https://melpa.org/#haskell-unicode-input-method/";
|
||||||
@ -278,7 +306,11 @@ let
|
|||||||
src = external.hindent.src;
|
src = external.hindent.src;
|
||||||
packageRequires = [ haskell-mode ];
|
packageRequires = [ haskell-mode ];
|
||||||
propagatedUserEnvPkgs = [ external.hindent ];
|
propagatedUserEnvPkgs = [ external.hindent ];
|
||||||
fileSpecs = [ "elisp/*.el" ];
|
recipe = writeText "recipe" ''
|
||||||
|
(hindent
|
||||||
|
:repo "commercialhaskell/hindent" :fetcher github
|
||||||
|
:files ("elisp/*.el"))
|
||||||
|
'';
|
||||||
meta = {
|
meta = {
|
||||||
description = "Indent haskell code using the \"hindent\" program";
|
description = "Indent haskell code using the \"hindent\" program";
|
||||||
license = bsd3;
|
license = bsd3;
|
||||||
@ -297,7 +329,11 @@ let
|
|||||||
configurePhase = ":";
|
configurePhase = ":";
|
||||||
|
|
||||||
propagatedUserEnvPkgs = [ external.rtags ];
|
propagatedUserEnvPkgs = [ external.rtags ];
|
||||||
fileSpecs = [ "src/*.el" ];
|
recipe = writeText "recipe" ''
|
||||||
|
(rtags
|
||||||
|
:repo "andersbakken/rtags" :fetcher github
|
||||||
|
:files ("src/*.el"))
|
||||||
|
'';
|
||||||
inherit (external.rtags) meta;
|
inherit (external.rtags) meta;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -305,7 +341,9 @@ let
|
|||||||
pname = "lcs";
|
pname = "lcs";
|
||||||
version = circe.version;
|
version = circe.version;
|
||||||
src = circe.src;
|
src = circe.src;
|
||||||
fileSpecs = [ "lcs.el" ];
|
recipe = writeText "recipe" ''
|
||||||
|
(lcs :repo "jorgenschaefer/circe" :fetcher github :files ("lcs.el"))
|
||||||
|
'';
|
||||||
meta = {
|
meta = {
|
||||||
description = "Longest Common Sequence (LCS) library for Emacs";
|
description = "Longest Common Sequence (LCS) library for Emacs";
|
||||||
license = gpl3Plus;
|
license = gpl3Plus;
|
||||||
@ -320,7 +358,9 @@ let
|
|||||||
version = circe.version;
|
version = circe.version;
|
||||||
src = circe.src;
|
src = circe.src;
|
||||||
packageRequires = [ tracking ];
|
packageRequires = [ tracking ];
|
||||||
fileSpecs = [ "lui*.el" ];
|
recipe = writeText "recipe" ''
|
||||||
|
(lcs :repo "jorgenschaefer/circe" :fetcher github :files ("lui*.el"))
|
||||||
|
'';
|
||||||
meta = {
|
meta = {
|
||||||
description = "User interface library for Emacs";
|
description = "User interface library for Emacs";
|
||||||
license = gpl3Plus;
|
license = gpl3Plus;
|
||||||
@ -345,7 +385,9 @@ let
|
|||||||
pname = "shorten";
|
pname = "shorten";
|
||||||
version = circe.version;
|
version = circe.version;
|
||||||
src = circe.src;
|
src = circe.src;
|
||||||
fileSpecs = [ "shorten.el" ];
|
recipe = writeText "recipe" ''
|
||||||
|
(shorten :repo "jorgenschaefer/circe" :fetcher github :files ("shorten.el"))
|
||||||
|
'';
|
||||||
meta = {
|
meta = {
|
||||||
description = "String shortening to unique prefix library for Emacs";
|
description = "String shortening to unique prefix library for Emacs";
|
||||||
license = gpl3Plus;
|
license = gpl3Plus;
|
||||||
@ -354,20 +396,10 @@ let
|
|||||||
|
|
||||||
stgit = callPackage ../applications/editors/emacs-modes/stgit { };
|
stgit = callPackage ../applications/editors/emacs-modes/stgit { };
|
||||||
|
|
||||||
structured-haskell-mode = melpaBuild rec {
|
structured-haskell-mode = self.shm;
|
||||||
pname = "shm";
|
shm = (melpaPackages self).shm.overrideAttrs (attrs: {
|
||||||
version = external.structured-haskell-mode.version;
|
|
||||||
src = external.structured-haskell-mode.src;
|
|
||||||
packageRequires = [ haskell-mode ];
|
|
||||||
fileSpecs = [ "elisp/*.el" ];
|
|
||||||
propagatedUserEnvPkgs = [ external.structured-haskell-mode ];
|
propagatedUserEnvPkgs = [ external.structured-haskell-mode ];
|
||||||
|
});
|
||||||
meta = {
|
|
||||||
description = "Structured editing Emacs mode for Haskell";
|
|
||||||
license = bsd3;
|
|
||||||
platforms = external.structured-haskell-mode.meta.platforms;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
thingatpt-plus = callPackage ../applications/editors/emacs-modes/thingatpt-plus { };
|
thingatpt-plus = callPackage ../applications/editors/emacs-modes/thingatpt-plus { };
|
||||||
|
|
||||||
@ -386,6 +418,9 @@ let
|
|||||||
rm weechat-sauron.el weechat-secrets.el
|
rm weechat-sauron.el weechat-secrets.el
|
||||||
'';
|
'';
|
||||||
packageRequires = [ s ];
|
packageRequires = [ s ];
|
||||||
|
recipe = writeText "recipe" ''
|
||||||
|
(weechat :repo "the-kenny/weechat" :fetcher github)
|
||||||
|
'';
|
||||||
meta = {
|
meta = {
|
||||||
description = "A weechat IRC client frontend for Emacs";
|
description = "A weechat IRC client frontend for Emacs";
|
||||||
license = gpl3Plus;
|
license = gpl3Plus;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user