From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:60189) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCMQZ-00064n-PP for guix-patches@gnu.org; Thu, 12 Mar 2020 07:55:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCMQY-0007J9-JW for guix-patches@gnu.org; Thu, 12 Mar 2020 07:55:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50084) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jCMQY-0007Ig-GV for guix-patches@gnu.org; Thu, 12 Mar 2020 07:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jCMQY-00086m-GM for guix-patches@gnu.org; Thu, 12 Mar 2020 07:55:02 -0400 Subject: [bug#40038] [PATCH] gnu: Add guile-torrent. Resent-Message-ID: References: <85eetxdefs.fsf@disroot.org> From: Mathieu Othacehe In-reply-to: <85eetxdefs.fsf@disroot.org> Date: Thu, 12 Mar 2020 12:54:18 +0100 Message-ID: <87tv2tzt3p.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 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: 40038@debbugs.gnu.org Hello Amar, Thanks for this patch. ;;; Copyright =C2=A9 2019 Amar Singh Don't forget to update your copyright. +(define-public guile-torrent + (package (name "guile-torrent") ^ This should be on the next line. + (version "0.1-preview") + (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 + "0rim8gr0cpnm1lixihsjpzg5z3i44vhqgj0dv6z7xj6jiwrmi9pw= ")))) + (build-system gnu-build-system) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("guile" ,guile-2.2) + ("texinfo" ,texinfo) + ("perl" ,perl) + ("pkg-config" ,pkg-config))) + (inputs + `(("guile-gcrypt" ,guile-gcrypt))) guile-gcrypt probably needs to be a propagated-input. + (home-page "https://github.com/o-nly/torrent") + (synopsis "Torrent library for GNU Guile") + (description + "This package provides facilities for working with `.torrent' or metai= nfo +files. Implements a bencode reader and writer according to Bitorrent BEP00= 3.") You can squash the other patch you sent fixing the description with this one. Mathieu