me
/
guix
Archived
1
0
Fork 0

gnu: Add ghc-bencode.

* gnu/packages/haskell-xyz.scm (ghc-bencode): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
master
Kyle Meyer 2020-11-19 21:45:36 -05:00 committed by Mathieu Othacehe
parent fe50813c73
commit 7d06279ef5
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 26 additions and 0 deletions

View File

@ -997,6 +997,32 @@ Users wishing to have an improved Prelude can use BasicPrelude. Developers
wishing to create a new prelude should use CorePrelude.")
(license license:expat)))
(define-public ghc-bencode
(package
(name "ghc-bencode")
(version "0.6.1.1")
(source
(origin
(method url-fetch)
(uri (string-append
"https://hackage.haskell.org/package/bencode/bencode-"
version ".tar.gz"))
(sha256
(base32 "0znv0y3b3zm5jvhlvj5f5s7y93db67j9yd59w1bnrw2pqv30gqaq"))))
(build-system haskell-build-system)
(inputs
`(("ghc-transformers-compat" ,ghc-transformers-compat)))
(native-inputs
`(("ghc-hspec" ,ghc-hspec)
("ghc-quickcheck" ,ghc-quickcheck)))
(home-page "https://hackage.haskell.org/package/bencode")
(synopsis "Parsers and printers for bencoded data")
(description
"This library provides parsers and printers for bencoded data. Bencode
is the encoding used by the peer-to-peer file sharing system BitTorrent for
storing and transmitting loosely structured data.")
(license license:bsd-3)))
(define-public ghc-bifunctors
(package
(name "ghc-bifunctors")