Mathieu Othacehe (2017-01-27 14:43 +0100) wrote: > * gnu/packages/emacs.scm (emacs-alert): New variable. > --- > gnu/packages/emacs.scm | 26 ++++++++++++++++++++++++++ > 1 file changed, 26 insertions(+) > > diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm > index aaa67615f..81cefa541 100644 > --- a/gnu/packages/emacs.scm > +++ b/gnu/packages/emacs.scm > @@ -3723,3 +3723,29 @@ described at > http://www.growlforwindows.com/gfw/help/gntp.aspx > It is incomplete as it only lets you send but not receive > notifications.") > (license license:gpl3+))) > + > +(define-public emacs-alert > + (package > + (name "emacs-alert") > + (version "1.2") > + (source > + (origin > + (method url-fetch) > + (uri (string-append > + "https://github.com/jwiegley/alert/archive/" > + "v" version ".tar.gz"))
Also there should be ‘file-name’ field here (and in the other packages). Otherwise this source would have the following store file name: "/gnu/store/…-v1.2.tar.gz" while we want it to be "/gnu/store/…-emacs-alert-1.2.tar.gz". > + (sha256 > + (base32 > + "1693kck3k2iz5zhpmxwqyafxm68hr6gzs60lkxd3j1wlp2c9fwyr")))) > + (build-system emacs-build-system) > + (propagated-inputs > + `(("emacs-gntp" ,emacs-gntp) > + ("emacs-log4e" ,emacs-log4e))) > + (home-page "https://github.com/jwiegley/alert") > + (synopsis > + "Growl-style notification system for Emacs") > + (description > + "Alert is a Growl-workalike for Emacs which uses a common notification > +interface and multiple, selectable \"styles\", whose use is fully > +customizable by the user.") > + (license license:gpl3+))) This should be 'gpl2+' as you can see in the header of <https://github.com/jwiegley/alert/blob/master/alert.el> -- Alex