aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorFederico Beffa <beffa@fbengineering.ch>2015-07-23 08:42:53 +0200
committerFederico Beffa <beffa@fbengineering.ch>2015-08-01 12:37:13 +0200
commit85777fe57a081ad0258badcfc264cb850ad0e7aa (patch)
tree26e93ff2d817f529143091beb00f61d3254e91bd /gnu
parentd4dbf10eb16401f9a8cbdf8b239586ea18528461 (diff)
downloadgnu-guix-85777fe57a081ad0258badcfc264cb850ad0e7aa.tar
gnu-guix-85777fe57a081ad0258badcfc264cb850ad0e7aa.tar.gz
gnu: Add emacs-s.
* gnu/packages/emacs.scm (emacs-s): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 815a25805c..2befebc61c 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -934,3 +934,29 @@ and stored in memory.")
(synopsis "Modern list library for Emacs")
(description "This package provides a modern list API library for Emacs.")
(license license:gpl3+)))
+
+(define-public emacs-s
+ (package
+ (name "emacs-s")
+ (version "1.9.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/magnars/s.el/archive/"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1gah2k577gvnmxlpw7zrz0jr571vghzhdv2hbgchlgah07czd091"))))
+ (build-system emacs-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'install 'check
+ (lambda _
+ (zero? (system* "./run-tests.sh")))))))
+ (home-page "https://github.com/magnars/s.el")
+ (synopsis "Emacs string manipulation library.")
+ (description "This package provides an Emacs library for manipulating
+strings.")
+ (license license:gpl3+)))