unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: nly@disroot.org (Amar M. Singh)
To: 40038@debbugs.gnu.org
Subject: [bug#40038] [PATCH] [SQUASHED] gnu: add guile-torrent
Date: Thu, 12 Mar 2020 17:43:25 +0530	[thread overview]
Message-ID: <85zhclbwka.fsf@disroot.org> (raw)
In-Reply-To: <85eetxdefs.fsf@disroot.org>

[-- Attachment #1: Type: text/plain, Size: 38 bytes --]


Squashed the patches.

Thanks,
Amar


[-- Attachment #2: 0001-gnu-Add-guile-torrent.patch --]
[-- Type: text/x-patch, Size: 2444 bytes --]

From 6d313ab9a7bde4854a0a7eeecca97c43973b64be Mon Sep 17 00:00:00 2001
From: Amar Singh <nly@disroot.org>
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 © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
 ;;; Copyright © 2018 Eric Bavier <bavier@member.fsf.org>
 ;;; Copyright © 2019 swedebugia <swedebugia@riseup.net>
-;;; Copyright © 2019 Amar Singh <nly@disroot.org>
+;;; Copyright © 2019, 2020 Amar Singh <nly@disroot.org>
 ;;; Copyright © 2019 Timothy Sample <samplet@ngyro.com>
 ;;;
 ;;; 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
+                      "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


  parent reply	other threads:[~2020-03-12 12:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-12 11:01 [bug#40038] [PATCH] gnu: Add guile-torrent Amar M. Singh
2020-03-12 11:17 ` [bug#40038] [PATCH] gnu: guile-torrent: fix description according to guix lint Amar M. Singh
2020-03-12 11:54 ` [bug#40038] [PATCH] gnu: Add guile-torrent Mathieu Othacehe
2020-03-12 11:57 ` [bug#40038] [PATCH] gnu: guile-torrent: Update to 0.1.3-candidate Amar M. Singh
2020-03-12 12:09 ` [bug#40038] [PATCH] gnu: guile-torrent formatting and copyright year update Amar M. Singh
2020-03-12 12:42   ` Mathieu Othacehe
2020-03-12 12:13 ` Amar M. Singh [this message]
2020-03-12 13:38 ` [bug#40038] [PATCH] gnu: Add guile-torrent Amar M. Singh
2020-03-12 14:37   ` Julien Lepiller
2020-03-12 14:55   ` bug#40038: " Mathieu Othacehe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=85zhclbwka.fsf@disroot.org \
    --to=nly@disroot.org \
    --cc=40038@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).