aboutsummaryrefslogtreecommitdiff
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2017 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (test-base16)
  #:use-module (guix base16)
  #:use-module (srfi srfi-1)
  #:use-module (srfi srfi-64)
  #:use-module (rnrs bytevectors))

(test-begin "base16")

(test-assert "bytevector->base16-string->bytevector"
  (every (lambda (bv)
           (equal? (base16-string->bytevector
                    (bytevector->base16-string bv))
                   bv))
         (map string->utf8 '("" "f" "fo" "foo" "foob" "fooba" "foobar"))))

(test-end "base16")
056580bacff6'>774f3984146dffb33573ff119dee056580bacff6 (patch) tree2243879cdec5f6bc7689a1337062c43442fc8215 parent40e1af35bee20984563a4bf48810777d4b7c488b (diff)downloadguix-774f3984146dffb33573ff119dee056580bacff6.tar.gz
guix-774f3984146dffb33573ff119dee056580bacff6.zip
gnu: ghc-parsers: Update to 0.12.9.
* gnu/packages/haskell.scm (ghc-parsers): Update to 0.12.9.
Diffstat
-rw-r--r--gnu/packages/haskell.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index b43844fb7f..bdb1205082 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -2800,7 +2800,7 @@ copious examples.")
(define-public ghc-parsers
(package
(name "ghc-parsers")
- (version "0.12.4")
+ (version "0.12.9")
(source
(origin
(method url-fetch)
@@ -2810,7 +2810,7 @@ copious examples.")
".tar.gz"))
(sha256
(base32
- "07najh7f9y3ahh42z96sw4hnd0kc4x3wm0xlf739y0gh81ys5097"))))
+ "1r05sc1mcglk8w596kq9a1brfn9c2vll8lq16j07ln0vsz4jzrc1"))))
(build-system haskell-build-system)
(arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy
; -package attoparsec-0.13.0.1"