From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:34865) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hi4u5-0006Av-IH for guix-patches@gnu.org; Mon, 01 Jul 2019 18:36:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hi4u3-000435-RJ for guix-patches@gnu.org; Mon, 01 Jul 2019 18:36:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37443) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hi4u3-00042a-8V for guix-patches@gnu.org; Mon, 01 Jul 2019 18:36:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hi4u3-0002Q3-4m for guix-patches@gnu.org; Mon, 01 Jul 2019 18:36:03 -0400 Subject: [bug#36467] [PATCH 12/12] gnu: Add cl-lzlib Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:34738) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hi4ta-00063G-TV for guix-patches@gnu.org; Mon, 01 Jul 2019 18:35:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hi4tS-0003MA-RM for guix-patches@gnu.org; Mon, 01 Jul 2019 18:35:29 -0400 Received: from mout02.posteo.de ([185.67.36.66]:41199) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hi4t5-0002yq-Uf for guix-patches@gnu.org; Mon, 01 Jul 2019 18:35:08 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 9008D2400E5 for ; Tue, 2 Jul 2019 00:33:12 +0200 (CEST) From: Guillaume LE VAILLANT Date: Tue, 2 Jul 2019 00:31:27 +0200 Message-Id: <20190701223127.32222-12-glv@posteo.net> In-Reply-To: <20190701223127.32222-1-glv@posteo.net> References: <20190701222716.12254-1-glv@posteo.net> <20190701223127.32222-1-glv@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 36467@debbugs.gnu.org Cc: Guillaume LE VAILLANT * 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.") =20 (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)) --=20 2.22.0