guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Mathieu Othacehe
Subject: [bug#40038] [PATCH] gnu: Add guile-torrent.
Date: Thu, 12 Mar 2020 12:54:18 +0100
User-agent: mu4e 1.2.0; emacs 26.3

Hello Amar,

Thanks for this patch.

;;; Copyright © 2019 Amar Singh <address@hidden>

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]