[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#36467] [PATCH 12/12] gnu: Add cl-lzlib
From: |
Guillaume LE VAILLANT |
Subject: |
[bug#36467] [PATCH 12/12] gnu: Add cl-lzlib |
Date: |
Tue, 2 Jul 2019 00:31:27 +0200 |
* gnu/packages/lisp.scm (sbcl-lzlib, cl-lzlib): New variables.
---
gnu/packages/lisp.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 94ebe813c5..e22314d059 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -6344,3 +6344,45 @@ libraries.")
(define-public cl-octet-streams
(sbcl-package->cl-source-package sbcl-cl-octet-streams))
+
+(define-public sbcl-lzlib
+ (let ((commit "0de1db7129fef9a58a059d35a2fa2ecfc5b47b47")
+ (revision "1"))
+ (package
+ (name "sbcl-lzlib")
+ (version (git-version "1.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/glv2/cl-lzlib.git")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "12ny7vj52fgnd8hb8fc8mry92vq4c1x72x2350191m4476j95clz"))))
+ (build-system asdf-build-system/sbcl)
+ (native-inputs
+ `(("fiveam" ,sbcl-fiveam)))
+ (inputs
+ `(("cffi" ,sbcl-cffi)
+ ("cl-octet-streams" ,sbcl-cl-octet-streams)
+ ("lzlib" ,lzlib)))
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "src/lzlib.lisp"
+ (("liblz\\.so")
+ (string-append (assoc-ref inputs "lzlib") "/lib/liblz.so")))
+ #t)))))
+ (synopsis "Common Lisp library for lzip (de)compression")
+ (description
+ "This Common Lisp library provides functions for lzip (LZMA)
+compression/decompression using bindings to the lzlib C library.")
+ (home-page "https://github.com/glv2/cl-lzlib")
+ (license license:gpl3+))))
+
+(define-public cl-lzlib
+ (sbcl-package->cl-source-package sbcl-lzlib))
--
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, 2019/07/01
- [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 <=
- [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