guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#36467] [PATCH 10/12] gnu: Add bst.


From: Guillaume LE VAILLANT
Subject: [bug#36467] [PATCH 10/12] gnu: Add bst.
Date: Tue, 2 Jul 2019 00:31:25 +0200

* gnu/packages/lisp.scm (sbcl-bst, cl-bst): New variables.
---
 gnu/packages/lisp.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index ad77792cb9..84663aebf0 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -6284,3 +6284,33 @@ system.")
 
 (define-public cl-ledger
   (sbcl-package->cl-source-package sbcl-cl-ledger))
+
+(define-public sbcl-bst
+  (let ((commit "0656b90dce2dbdb898e1f40e4a1501c141e66e9b")
+        (revision "1"))
+    (package
+      (name "sbcl-bst")
+      (version (git-version "1.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/glv2/bst.git";)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1bsk20vbvgzivgvnnmmjl376ya4c5j4139m8i0m3nwkaa9kigp6c"))))
+      (build-system asdf-build-system/sbcl)
+      (native-inputs
+       `(("alexandria" ,sbcl-alexandria)
+         ("fiveam" ,sbcl-fiveam)))
+      (synopsis "Binary search tree for Common Lisp")
+      (description
+       "BST is a Common Lisp library for working with binary search trees that
+can contain any kind of values.")
+      (home-page "https://github.com/glv2/bst";)
+      (license license:gpl3))))
+
+(define-public cl-bst
+  (sbcl-package->cl-source-package sbcl-bst))
-- 
2.22.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]