From patchwork Thu Mar 12 13:38:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Amar M. Singh" X-Patchwork-Id: 20652 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 73E4527BBEA; Thu, 12 Mar 2020 13:39:11 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 1816527BBE4 for ; Thu, 12 Mar 2020 13:39:11 +0000 (GMT) Received: from localhost ([::1]:41602 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCO3K-0000kO-LD for patchwork@mira.cbaines.net; Thu, 12 Mar 2020 09:39:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55308) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCO3D-0000hd-Im for guix-patches@gnu.org; Thu, 12 Mar 2020 09:39:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCO3C-0007LW-7e for guix-patches@gnu.org; Thu, 12 Mar 2020 09:39:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50199) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jCO3B-0007LK-Qs for guix-patches@gnu.org; Thu, 12 Mar 2020 09:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jCO3B-0002rC-Nc for guix-patches@gnu.org; Thu, 12 Mar 2020 09:39:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40038] [PATCH] gnu: Add guile-torrent. References: <85eetxdefs.fsf@disroot.org> In-Reply-To: <85eetxdefs.fsf@disroot.org> Resent-From: nly@disroot.org (Amar M. Singh) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 12 Mar 2020 13:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40038 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40038@debbugs.gnu.org Received: via spool by 40038-submit@debbugs.gnu.org id=B40038.158402029610923 (code B ref 40038); Thu, 12 Mar 2020 13:39:01 +0000 Received: (at 40038) by debbugs.gnu.org; 12 Mar 2020 13:38:16 +0000 Received: from localhost ([127.0.0.1]:56172 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jCO2S-0002q7-1T for submit@debbugs.gnu.org; Thu, 12 Mar 2020 09:38:16 -0400 Received: from knopi.disroot.org ([178.21.23.139]:41612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jCO2P-0002pt-CV for 40038@debbugs.gnu.org; Thu, 12 Mar 2020 09:38:14 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 95F6723C6D for <40038@debbugs.gnu.org>; Thu, 12 Mar 2020 14:38:11 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZW8-S8F2Iq8e for <40038@debbugs.gnu.org>; Thu, 12 Mar 2020 14:38:10 +0100 (CET) From: nly@disroot.org (Amar M. Singh) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1584020290; bh=Q4rdV+50RGES+f5S5cxCLNjYDX2ACCu85z3HZFh2UR8=; h=From:To:Subject:Date; b=bbyIeq9r+ZbuupfUSBAb8206R34+ddAozfn6mSP79Wuzz/GpieiEPkBohQD2piwoQ NKkjWHNpfPitmKn9WywCXO7LoCcuj7Nx9W+WSdgE3tT6OvCPrVt1JpTb0Vy/AvjjHJ 1mbjh5r0LjZdj9eh6hkQKsjUc26CjsOtptC93JO+Ioiiil/vGchmBW5CMEMzfoSfZ9 NPPMsp7wgNmWUQA4vAbgg4RFnGBgxHAeh3Np/8TMHG5+n7TWqIMnFeWb7KOoxP4wsG L8+pt0hjA7NLq4SRFtFd3+XJ4zCXVBx6mAqrc08kNbBCSnKUENtbnJ+GbwN+KspKqg aNB5mJw9jHaIQ== Date: Thu, 12 Mar 2020 19:08:02 +0530 Message-ID: <85wo7pbsn9.fsf@disroot.org> Mime-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Resolved into tip of guix/master. Thanks, Amar From 6285b45a00275d3c68a63f68c1e4e2db7ee0337c 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 b71b0178d6..088e8068c0 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -21,7 +21,7 @@ ;;; Copyright © 2018 Pierre-Antoine Rouby ;;; Copyright © 2018 Eric Bavier ;;; Copyright © 2019 swedebugia -;;; Copyright © 2019 Amar Singh +;;; Copyright © 2019, 2020 Amar Singh ;;; Copyright © 2019 Timothy Sample ;;; ;;; This file is part of GNU Guix. @@ -3144,3 +3144,33 @@ models and also supports a rich set of boolean query operators.") (inputs `(("guile" ,guile-next) ,@(alist-delete "guile" (package-inputs guile-xapian)))))) + +(define-public guile-torrent + (package + (name "guile-torrent") + (version "0.1.3") + (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 + "1yiagi55ncq1x7s9n7salzywjm4l96y3n7y3s47a9anvz87mrmim")))) + (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 BEP003.") + (license license:gpl3+))) -- 2.25.1