emacs-packages: add automatic meta.homepages to builders, cleanup other expressions
Because we can.
This commit is contained in:
parent
389a0bf6cc
commit
56fbeb7a93
@ -1,4 +1,4 @@
|
|||||||
{trivialBuild, lib, fetchFromGitHub}:
|
{lib, trivialBuild, fetchFromGitHub}:
|
||||||
|
|
||||||
trivialBuild rec {
|
trivialBuild rec {
|
||||||
pname = "nyan-mode";
|
pname = "nyan-mode";
|
||||||
@ -23,9 +23,8 @@ trivialBuild rec {
|
|||||||
cp -r mus $out
|
cp -r mus $out
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "An analog indicator of the position in the buffer";
|
description = "An analog indicator of the position in the buffer";
|
||||||
homepage = https://github.com/TeMPOraL/nyan-mode/;
|
license = lib.licenses.gpl3Plus;
|
||||||
license = licenses.gpl3Plus;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -16,10 +16,14 @@ with lib;
|
|||||||
}@args:
|
}@args:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
defaultMeta = {
|
defaultMeta = {
|
||||||
broken = false;
|
broken = false;
|
||||||
platforms = emacs.meta.platforms;
|
platforms = emacs.meta.platforms;
|
||||||
|
} // optionalAttrs ((args.src.meta.homepage or "") != "") {
|
||||||
|
homepage = args.src.meta.homepage;
|
||||||
};
|
};
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation ({
|
stdenv.mkDerivation ({
|
||||||
|
@ -31,7 +31,7 @@ let
|
|||||||
targets = concatStringsSep " " (if files == null then fileSpecs else files);
|
targets = concatStringsSep " " (if files == null then fileSpecs else files);
|
||||||
|
|
||||||
defaultMeta = {
|
defaultMeta = {
|
||||||
homepage = "http://melpa.org/#/${pname}";
|
homepage = args.src.meta.homepage or "http://melpa.org/#/${pname}";
|
||||||
};
|
};
|
||||||
|
|
||||||
in
|
in
|
||||||
|
@ -127,7 +127,6 @@ let self = _self // overrides;
|
|||||||
mode which displays current match and total matches information
|
mode which displays current match and total matches information
|
||||||
in the mode-line in various search mode.
|
in the mode-line in various search mode.
|
||||||
'';
|
'';
|
||||||
homepage = https://github.com/syohex/emacs-anzu/;
|
|
||||||
license = gpl3Plus;
|
license = gpl3Plus;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -194,7 +193,6 @@ let self = _self // overrides;
|
|||||||
description = "Auto-complete extension for Emacs";
|
description = "Auto-complete extension for Emacs";
|
||||||
homepage = http://cx4a.org/software/auto-complete/;
|
homepage = http://cx4a.org/software/auto-complete/;
|
||||||
license = gpl3Plus;
|
license = gpl3Plus;
|
||||||
platforms = lib.platforms.all;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -235,7 +233,6 @@ let self = _self // overrides;
|
|||||||
};
|
};
|
||||||
meta = {
|
meta = {
|
||||||
description = "Interactively insert items from Emacs kill-ring";
|
description = "Interactively insert items from Emacs kill-ring";
|
||||||
homepage = https://github.com/browse-kill-ring/browse-kill-ring/;
|
|
||||||
license = gpl2Plus;
|
license = gpl2Plus;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -251,7 +248,6 @@ let self = _self // overrides;
|
|||||||
};
|
};
|
||||||
meta = {
|
meta = {
|
||||||
description = "Mouseable text in Emacs";
|
description = "Mouseable text in Emacs";
|
||||||
homepage = "https://github.com/rolandwalker/button-lock";
|
|
||||||
license = bsd2;
|
license = bsd2;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -355,7 +351,6 @@ let self = _self // overrides;
|
|||||||
The API and implementations were translated from JSDeferred (by cho45)
|
The API and implementations were translated from JSDeferred (by cho45)
|
||||||
and Mochikit.Async (by Bob Ippolito) in JavaScript.
|
and Mochikit.Async (by Bob Ippolito) in JavaScript.
|
||||||
'';
|
'';
|
||||||
homepage = https://github.com/kiwanami/emacs-deferred;
|
|
||||||
license = gpl3Plus;
|
license = gpl3Plus;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -770,7 +765,6 @@ let self = _self // overrides;
|
|||||||
};
|
};
|
||||||
meta = {
|
meta = {
|
||||||
description = "Does what you expected ido-everywhere to do in Emacs";
|
description = "Does what you expected ido-everywhere to do in Emacs";
|
||||||
homepage = https://github.com/DarwinAwardWinner/ido-ubiquitous/;
|
|
||||||
license = gpl3Plus;
|
license = gpl3Plus;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -949,7 +943,9 @@ let self = _self // overrides;
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nyan-mode = callPackage ../applications/editors/emacs-modes/nyan-mode {};
|
nyan-mode = callPackage ../applications/editors/emacs-modes/nyan-mode {
|
||||||
|
inherit lib;
|
||||||
|
};
|
||||||
|
|
||||||
org-plus-contrib = melpaBuild rec {
|
org-plus-contrib = melpaBuild rec {
|
||||||
pname = "org-plus-contrib";
|
pname = "org-plus-contrib";
|
||||||
@ -1211,7 +1207,6 @@ let self = _self // overrides;
|
|||||||
};
|
};
|
||||||
meta = {
|
meta = {
|
||||||
description = "M-x enhancement for Emacs build on top of Ido";
|
description = "M-x enhancement for Emacs build on top of Ido";
|
||||||
homepage = https://github.com/nonsequitur/smex/;
|
|
||||||
license = emacs.meta.license; # should be "same as Emacs"
|
license = emacs.meta.license; # should be "same as Emacs"
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -1224,7 +1219,6 @@ let self = _self // overrides;
|
|||||||
fileSpecs = [ "elisp/*.el" ];
|
fileSpecs = [ "elisp/*.el" ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/chrisdone/structured-haskell-mode";
|
|
||||||
description = "Structured editing Emacs mode for Haskell";
|
description = "Structured editing Emacs mode for Haskell";
|
||||||
license = bsd3;
|
license = bsd3;
|
||||||
platforms = external.structured-haskell-mode.meta.platforms;
|
platforms = external.structured-haskell-mode.meta.platforms;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user