summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Vong <alexvong1995@gmail.com>2018-10-14 20:15:02 +0800
committerDanny Milosavljevic <dannym@scratchpost.org>2018-11-19 12:10:06 +0100
commit5497214d80b5c2569e0cd72fd9c702c01d231152 (patch)
tree04a3d6606ba15f9499a6914a5a81428218f8d9f1
parent2cab1d4a7d0aa3d4d3d10d745d4bb8762f93f90b (diff)
downloadguix-5497214d80b5c2569e0cd72fd9c702c01d231152.tar.gz
gnu: Add clojure-algo-monads.
* gnu/packages/lisp.scm (clojure-algo-monads): New public variable.
-rw-r--r--gnu/packages/lisp.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 3d0fce4e7a..6849cdd2bf 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -1632,6 +1632,33 @@ that can be implemented for any data type.")
     (home-page "https://github.com/clojure/algo.generic")
     (license license:epl1.0)))
 
+(define-public clojure-algo-monads
+  (package
+    (name "clojure-algo-monads")
+    (version "0.1.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (string-append "https://github.com/clojure/algo.monads/archive"
+                       "/algo.monads-" version ".tar.gz"))
+       (sha256
+        (base32 "14gbvfgmrda990h45yn7zag83vp1kdkz4f4yzmyvkr0sjihlgdmq"))))
+    (build-system clojure-build-system)
+    (arguments
+     '(#:source-dirs '("src/main/clojure/")
+       #:test-dirs '("src/test/clojure/")
+       #:doc-dirs '()))
+    (native-inputs
+     `(("clojure-tools-macro" ,clojure-tools-macro)))
+    (synopsis
+     "Monad Macros and Definitions")
+    (description
+     "This library contains the most commonly used monads as well as macros for
+defining and using monads and useful monadic functions.")
+    (home-page "https://github.com/clojure/algo.monads")
+    (license license:epl1.0)))
+
 (define-public clojure-core-match
   (let ((commit "1837ffbd4a150e8f3953b2d9ed5cf4a4ad3720a7")
         (revision "1")) ; this is the 1st commit buildable with clojure 1.9