[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#36467] [PATCH 06/12] gnu: Add cl-containers
From: |
Guillaume LE VAILLANT |
Subject: |
[bug#36467] [PATCH 06/12] gnu: Add cl-containers |
Date: |
Tue, 2 Jul 2019 00:31:21 +0200 |
* gnu/packages/lisp.scm (sbcl-cl-containers, cl-containers): New variables.
---
gnu/packages/lisp.scm | 48 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 770c8030ad..d785ed2b73 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -6108,6 +6108,54 @@ which implements a set of utilities.")
(define-public cl-metatilities-base
(sbcl-package->cl-source-package sbcl-metatilities-base))
+(define-public sbcl-cl-containers
+ (let ((commit "810927e19d933bcf38ffeb7a23ce521efc432d45")
+ (revision "1"))
+ (package
+ (name "sbcl-cl-containers")
+ (version (git-version "0.12.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gwkkwg/cl-containers.git")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1s9faxw7svhbjpkhfrz2qxgjm3cvyjb8wpyb4m8dx4i5g7vvprkv"))))
+ (build-system asdf-build-system/sbcl)
+ (native-inputs
+ `(("lift" ,sbcl-lift)))
+ (inputs
+ `(("metatilities-base" ,sbcl-metatilities-base)))
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'relax-version-checks
+ (lambda _
+ (substitute* "cl-containers.asd"
+ (("\\(:version \"metatilities-base\" \"0\\.6\\.6\"\\)")
+ "\"metatilities-base\""))
+ (substitute* "cl-containers-test.asd"
+ (("\\(:version \"lift\" \"1\\.7\\.0\"\\)")
+ "\"lift\""))
+ #t)))))
+ (synopsis "Containers Library for Common Lisp")
+ (description
+ "Common Lisp ships with a set of powerful built in data structures
+including the venerable list, full featured arrays, and hash-tables.
+CL-containers enhances and builds on these structures by adding containers
+that are not available in native Lisp (for example: binary search trees,
+red-black trees, sparse arrays and so on), and by providing a standard
+interface so that they are simpler to use and so that changing design
+decisions becomes significantly easier.")
+ (home-page "https://common-lisp.net/project/cl-containers/")
+ (license license:expat))))
+
+(define-public cl-containers
+ (sbcl-package->cl-source-package sbcl-cl-containers))
+
(define-public sbcl-fprog
(let ((commit "7016d1a98215f82605d1c158e7a16504ca1f4636")
(revision "1"))
--
2.22.0
- [bug#36467] [PATCH 00/12] gnu: Add some Common Lisp libraries, Guillaume LE VAILLANT, 2019/07/01
- [bug#36467] [PATCH 01/12] gnu: Add fprog., Guillaume LE VAILLANT, 2019/07/01
- [bug#36467] [PATCH 04/12] gnu: Add periods-series, Guillaume LE VAILLANT, 2019/07/01
- [bug#36467] [PATCH 03/12] gnu: Add periods., Guillaume LE VAILLANT, 2019/07/01
- [bug#36467] [PATCH 05/12] gnu: Add metatilities-base, Guillaume LE VAILLANT, 2019/07/01
- [bug#36467] [PATCH 06/12] gnu: Add cl-containers,
Guillaume LE VAILLANT <=
- [bug#36467] [PATCH 10/12] gnu: Add bst., Guillaume LE VAILLANT, 2019/07/01
- [bug#36467] [PATCH 12/12] gnu: Add cl-lzlib, Guillaume LE VAILLANT, 2019/07/01
- [bug#36467] [PATCH 07/12] gnu: Add xlunit, Guillaume LE VAILLANT, 2019/07/01
- [bug#36467] [PATCH 02/12] gnu: Add series., Guillaume LE VAILLANT, 2019/07/01
- [bug#36467] [PATCH 08/12] gnu: Add cambl., Guillaume LE VAILLANT, 2019/07/01
- [bug#36467] [PATCH 11/12] gnu: Add cl-octet-streams, Guillaume LE VAILLANT, 2019/07/01
- [bug#36467] [PATCH 09/12] gnu: Add cl-ledger., Guillaume LE VAILLANT, 2019/07/01