diff mbox

[1/3] gnu: Add emacs-stream.

Message ID CAKrPhPP3J5rMGMoPcOErZ3PMLQipR0LfJ0q_ZSaydNkKR3nE4A@mail.gmail.com
State New
Headers show

Commit Message

Federico Beffa Oct. 21, 2016, 6:27 a.m. UTC

Comments

Ludovic Court├Ęs Oct. 24, 2016, 9:34 p.m. UTC | #1
Federico Beffa <beffa@ieee.org> skribis:

> From 0ecbbcccb171223acc5b4824c0c22a35cb22b6f1 Mon Sep 17 00:00:00 2001
> From: Federico Beffa <beffa@fbengineering.ch>
> Date: Thu, 20 Oct 2016 17:32:42 +0200
> Subject: [PATCH 1/3] gnu: Add emacs-stream.
>
> * gnu/packages/emacs.scm (emacs-stream): New varaible.

OK!
diff mbox

Patch

From 0ecbbcccb171223acc5b4824c0c22a35cb22b6f1 Mon Sep 17 00:00:00 2001
From: Federico Beffa <beffa@fbengineering.ch>
Date: Thu, 20 Oct 2016 17:32:42 +0200
Subject: [PATCH 1/3] gnu: Add emacs-stream.

* gnu/packages/emacs.scm (emacs-stream): New varaible.
---
 gnu/packages/emacs.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 6e9c181..8debb48 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -3252,3 +3252,21 @@  This package contains the library runtime.")
     (description "This package provides an Emacs major mode for
 editing nginx config files.")
     (license license:gpl2+)))
+
+(define-public emacs-stream
+  (package
+    (name "emacs-stream")
+    (version "2.2.0")
+    (home-page "https://github.com/NicolasPetton/stream")
+    (source
+     (origin
+       (method url-fetch)
+       (file-name (string-append name "-" version ".tar.gz"))
+       (uri (string-append home-page "/archive/"version ".tar.gz"))
+       (sha256
+        (base32 "03ql4nqfz5pn55mjly6clhvc3g7x2d28kj7mrlqmigvjbql39xxc"))))
+    (build-system emacs-build-system)
+    (synopsis "Implementation of streams for Emacs")
+    (description "This library provides an implementation of streams for Emacs.
+Streams are implemented as delayed evaluation of cons cells.")
+    (license license:gpl3+)))
-- 
2.7.4