[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#33215] [PATCH 09/11] gnu: Add clojure-algo-generic.
From: |
Alex Vong |
Subject: |
[bug#33215] [PATCH 09/11] gnu: Add clojure-algo-generic. |
Date: |
Wed, 31 Oct 2018 14:12:30 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
From f7228a07fa32fe3c6f4f0808e3112d63888e67cc Mon Sep 17 00:00:00 2001
From: Alex Vong <address@hidden>
Date: Sun, 14 Oct 2018 19:06:52 +0800
Subject: [PATCH 09/11] gnu: Add clojure-algo-generic.
* gnu/packages/lisp.scm (clojure-algo-generic): New public variable.
---
gnu/packages/lisp.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index db8d0e61a..78a74e981 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -1604,6 +1604,30 @@ compressor. It works on data produced by
@code{parse-js} to generate a
("sbcl-cl-uglify-js" ,sbcl-cl-uglify-js)))
(synopsis "JavaScript compressor")))
+(define-public clojure-algo-generic
+ (package
+ (name "clojure-algo-generic")
+ (version "0.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "https://github.com/clojure/algo.generic/archive"
+ "/algo.generic-" version ".tar.gz"))
+ (sha256
+ (base32 "12w9681i545gp1af4576z1qbixwps1j13c16fmcc7zsb0bd1zr7w"))))
+ (build-system clojure-build-system)
+ (arguments
+ '(#:source-dirs '("src/main/clojure/")
+ #:test-dirs '("src/test/clojure/")
+ #:doc-dirs '()))
+ (synopsis "Generic versions of common functions")
+ (description
+ "Generic versions of commonly used functions, implemented as multimethods
+that can be implemented for any data type.")
+ (home-page "https://github.com/clojure/algo.generic")
+ (license license:epl1.0)))
+
(define-public clojure-core-match
(let ((commit "1837ffbd4a150e8f3953b2d9ed5cf4a4ad3720a7")
(revision "1")) ; this is the 1st commit buildable with clojure 1.9
--
2.19.1
signature.asc
Description: PGP signature
- [bug#33215] [PATCH 00/11] build-system: Add 'clojure-build-system'., Alex Vong, 2018/10/31
- [bug#33215] [PATCH 01/11] gnu: clojure: Move from java to lisp., Alex Vong, 2018/10/31
- [bug#33215] [PATCH 02/11] gnu: clojure: Remove 'remove-archives' snippet., Alex Vong, 2018/10/31
- [bug#33215] [PATCH 03/11] gnu: clojure: Refactor to ensure there's a single list of libraries., Alex Vong, 2018/10/31
- [bug#33215] [PATCH 04/11] gnu: clojure: Use (guix build java-utils) to simplify build phases., Alex Vong, 2018/10/31
- [bug#33215] [PATCH 05/11] guix: Add clojure-utils., Alex Vong, 2018/10/31
- [bug#33215] [PATCH 06/11] build-system: Add 'clojure-build-system'., Alex Vong, 2018/10/31
- [bug#33215] [PATCH 08/11] gnu: Add clojure-core-match., Alex Vong, 2018/10/31
- [bug#33215] [PATCH 07/11] gnu: Add clojure-instaparse., Alex Vong, 2018/10/31
- [bug#33215] [PATCH 09/11] gnu: Add clojure-algo-generic.,
Alex Vong <=
- [bug#33215] [PATCH 10/11] gnu: Add clojure-tools-macro., Alex Vong, 2018/10/31
- [bug#33215] [PATCH 11/11] gnu: Add clojure-algo-monads., Alex Vong, 2018/10/31