From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:36839) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCMiy-00025V-19 for guix-patches@gnu.org; Thu, 12 Mar 2020 08:14:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCMiw-00076k-QX for guix-patches@gnu.org; Thu, 12 Mar 2020 08:14:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50139) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jCMiw-00076c-Lt for guix-patches@gnu.org; Thu, 12 Mar 2020 08:14:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jCMiw-0000Ie-HU for guix-patches@gnu.org; Thu, 12 Mar 2020 08:14:02 -0400 Subject: [bug#40038] [PATCH] [SQUASHED] gnu: add guile-torrent References: <85eetxdefs.fsf@disroot.org> In-Reply-To: <85eetxdefs.fsf@disroot.org> Resent-Message-ID: From: nly@disroot.org (Amar M. Singh) Date: Thu, 12 Mar 2020 17:43:25 +0530 Message-ID: <85zhclbwka.fsf@disroot.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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: 40038@debbugs.gnu.org --=-=-= Content-Type: text/plain Squashed the patches. Thanks, Amar --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-guile-torrent.patch Content-Transfer-Encoding: quoted-printable >From 6d313ab9a7bde4854a0a7eeecca97c43973b64be Mon Sep 17 00:00:00 2001 From: Amar Singh Date: Thu, 12 Mar 2020 16:25:33 +0530 Subject: [PATCH] gnu: Add guile-torrent. * gnu/packages/guile-xyz.scm (guile-torrent): New variable. --- gnu/packages/guile-xyz.scm | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 37a5198e4e..b384670e4e 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -21,7 +21,7 @@ ;;; Copyright =C2=A9 2018 Pierre-Antoine Rouby ;;; Copyright =C2=A9 2018 Eric Bavier ;;; Copyright =C2=A9 2019 swedebugia -;;; Copyright =C2=A9 2019 Amar Singh +;;; Copyright =C2=A9 2019, 2020 Amar Singh ;;; Copyright =C2=A9 2019 Timothy Sample ;;; ;;; This file is part of GNU Guix. @@ -3109,3 +3109,33 @@ currently a re-implementation of the lentes library = for Clojure. Lenses provide composable procedures, which can be used to focus, apply functions over, or update a value in arbitrary data structures.") (license license:gpl3+)))) + +(define-public guile-torrent + (package + (name "guile-torrent") + (version "0.1.3-candidate") + (source (origin (method git-fetch) + (uri (git-reference + (url + "https://github.com/o-nly/torrent.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1yiagi55ncq1x7s9n7salzywjm4l96y3n7y3s47a9anvz87mrmi= m")))) + (build-system gnu-build-system) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("guile" ,guile-2.2) + ("texinfo" ,texinfo) + ("perl" ,perl) + ("pkg-config" ,pkg-config))) + (propagated-inputs + `(("guile-gcrypt" ,guile-gcrypt))) + (home-page "https://github.com/o-nly/torrent") + (synopsis "Torrent library for GNU Guile") + (description + "This package provides facilities for working with @code{.torrent} or= metainfo +files. Implements a bencode reader and writer according to Bitorrent BEP0= 03.") + (license license:gpl3+))) --=20 2.25.1 --=-=-=--