From f8247edd1c27fe8b9f3926b92a81e977db78a04e Mon Sep 17 00:00:00 2001 From: Johannes Bornhold Date: Sun, 11 Jan 2015 18:40:53 +0100 Subject: [PATCH] Add meta attributes to emacsPackages.d --- pkgs/applications/editors/emacs-modes/d/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/applications/editors/emacs-modes/d/default.nix b/pkgs/applications/editors/emacs-modes/d/default.nix index dd3a2305efd..28736acded2 100644 --- a/pkgs/applications/editors/emacs-modes/d/default.nix +++ b/pkgs/applications/editors/emacs-modes/d/default.nix @@ -1,5 +1,6 @@ {stdenv, fetchurl, emacs}: +# Note: Don't have a version, using date as fallback. let version = "20150111"; in stdenv.mkDerivation { @@ -20,4 +21,12 @@ in stdenv.mkDerivation { install -d $out/share/emacs/site-lisp install *.el *.elc $out/share/emacs/site-lisp ''; + + meta = { + description = "Major mode for editing D code"; + homepage = https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode; + license = stdenv.lib.licenses.gpl2; + platforms = stdenv.lib.platforms.all; + }; + }