unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: 44752@debbugs.gnu.org
Subject: [bug#44752] [PATCH 2/4] gnu: Add ghc-torrent.
Date: Thu, 19 Nov 2020 21:45:37 -0500	[thread overview]
Message-ID: <20201120024539.8539-2-kyle@kyleam.com> (raw)
In-Reply-To: <20201120024244.8187-1-kyle@kyleam.com>

* gnu/packages/haskell-xyz.scm (ghc-torrent): New variable.
---
 gnu/packages/haskell-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 19ba4e1c41..416db4398f 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -13823,6 +13823,28 @@ (define-public ghc-tldr
 man pages with practical examples.")
     (license license:bsd-3)))
 
+(define-public ghc-torrent
+  (package
+    (name "ghc-torrent")
+    (version "10000.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/torrent/torrent-"
+             version ".tar.gz"))
+       (sha256
+        (base32 "0m7s0q7f8c7glxzqhf2j86ch5xhk6jnzwwsa4mkywag22119c290"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-bencode" ,ghc-bencode)
+       ("ghc-syb" ,ghc-syb)))
+    (home-page "https://hackage.haskell.org/package/torrent")
+    (synopsis "BitTorrent file parser and generator")
+    (description "This library provides support for parsing and generating
+BitTorrent files.")
+    (license license:bsd-3)))
+
 (define-public ghc-transformers
   (package
     (name "ghc-transformers")
-- 
2.29.2.454.gaff20da3a2





  parent reply	other threads:[~2020-11-20  2:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-20  2:42 [bug#44752] [PATCH 0/4] Update git-annex to 8.20201116 Kyle Meyer
2020-11-20  2:45 ` [bug#44752] [PATCH 1/4] gnu: Add ghc-bencode Kyle Meyer
2020-11-20  2:45 ` Kyle Meyer [this message]
2020-11-20  2:45 ` [bug#44752] [PATCH 3/4] gnu: ghc-filepath-bytestring: Update to 1.4.2.1.6 Kyle Meyer
2020-11-20  2:45 ` [bug#44752] [PATCH 4/4] gnu: git-annex: Update to 8.20201116 Kyle Meyer
2020-11-25 12:44 ` bug#44752: [PATCH 0/4] Update git-annex " 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=20201120024539.8539-2-kyle@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=44752@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).