GNU bug report logs - #40038
[PATCH] gnu: Add guile-torrent.

Previous Next

Package: guix-patches;

Reported by: nly <at> disroot.org (Amar M. Singh)

Date: Thu, 12 Mar 2020 11:03:02 UTC

Severity: normal

Tags: patch

Done: Mathieu Othacehe <m.othacehe <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Mathieu Othacehe <m.othacehe <at> gmail.com>
To: 40038 <at> debbugs.gnu.org
Subject: [bug#40038] [PATCH] gnu: Add guile-torrent.
Date: Thu, 12 Mar 2020 12:54:18 +0100
Hello Amar,

Thanks for this patch.

;;; Copyright © 2019 Amar Singh <nly <at> disroot.org>

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 metainfo
+files. Implements a bencode reader and writer according to Bitorrent BEP003.")

You can squash the other patch you sent fixing the description with this
one.

Mathieu




This bug report was last modified 5 years and 72 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.