aboutsummaryrefslogtreecommitdiff
path: root/tests/base16.scm
blob: a64b650bec4f566abb79b5b3e39de59ef6d053e8 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
;;; 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")
ommit/gnu?id=ed2acb1b16bd6f4d45c17c1585f2910e6d8cc2ba'>gnu: Add rust-print-bytes-0.5.Efraim Flashner * gnu/packages/crates-io.scm (rust-print-bytes-0.5): New variable. (rust-print-bytes-0.4): Inherit from rust-print-bytes-0.5. 2022-04-03gnu: Add rust-os-str-bytes-4.Efraim Flashner * gnu/packages/crates-io.scm (rust-os-str-bytes-4): New variable. (rust-os-str-bytes-2): Inherit from rust-os-str-bytes-4. 2022-04-03gnu: Add rust-print-bytes-0.4.Efraim Flashner * gnu/packages/crates-io.scm (rust-print-bytes-0.4): New variable. 2022-04-03gnu: Add rust-smawk-0.3.Efraim Flashner * gnu/packages/crates-io.scm (rust-smawk-0.3): New variable. 2022-04-03gnu: Add rust-ndarray-0.14.Efraim Flashner * gnu/packages/crates-io.scm (rust-ndarray-0.14): New variable. * gnu/packages/patches/rust-ndarray-0.14-remove-blas-src.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. 2022-04-03gnu: rust-escargot-0.5: Update to 0.5.7.Efraim Flashner * gnu/packages/crates-io.scm (rust-escargot-0.5): Update to 0.5.7. [arguments]<cargo-inputs>: Remove rust-lazy-static-1. Add rust-once-cell-1. <cargo-development-inputs>: Replace rust-assert-fs-0.11 with 1. 2022-04-03gnu: rust-terminal-size-0.1: Update to 0.1.17.Efraim Flashner * gnu/packages/crates-io.scm (rust-terminal-size-0.1): Update to 0.1.17. [arguments]: Skip tests. 2022-04-03gnu: Add rust-lipsum-0.8.Efraim Flashner * gnu/packages/crates-io.scm (rust-lipsum-0.8): New variable. 2022-04-03gnu: Add rust-unicode-linebreak-0.1.Efraim Flashner * gnu/packages/crates-io.scm (rust-unicode-linebreak-0.1): New variable. 2022-04-03gnu: Add rust-uniquote-3.Efraim Flashner * gnu/packages/crates-io.scm (rust-uniquote-3): New variable. 2022-04-03gnu: Add rust-version-sync-0.9.Efraim Flashner * gnu/packages/crates-io.scm (rust-version-sync-0.9): New variable. (rust-version-sync-0.8): Inherit from rust-version-sync-0.9. 2022-04-03gnu: rust-os-pipe-0.9: Don't skip build.Efraim Flashner * gnu/packages/crates-io.scm (rust-os-pipe-0.9)[arguments]: Inherit from rust-os-pipe-1. 2022-04-03gnu: Add rust-os-pipe-1.Efraim Flashner * gnu/packages/crates-io.scm (rust-os-pipe-1): New variable. (rust-os-pipe-0.9): Inherit from rust-os-pipe-1. 2022-04-03gnu: Add rust-kstring-1.Efraim Flashner * gnu/packages/crates-io.scm (rust-kstring-1): New variable. 2022-04-03gnu: Add rust-document-features-0.2.Efraim Flashner * gnu/packages/crates-io.scm (rust-document-features-0.2): New variable. 2022-04-03gnu: radicale: Update to 3.1.5.Jonathan Brielmaier * gnu/packages/dav.scm (radicale): Update to 3.1.5. [source]: tags have a leading "v" now. [arguments]: disable tests temporarily. Tested-by: Jonathan Brielmaier <jonathan.brielmaier@web.de> 2022-04-03gnu: oil: Update to 0.9.9.Felix Gruber * gnu/packages/shells.scm (oil): Update to 0.9.9. [source]: Add comment on embedded CPython like Ludo’ proposed in https://issues.guix.gnu.org/53642#3. Signed-off-by: Ludovic Courtès <ludo@gnu.org> 2022-04-03home: services: zsh: Fix zshenv creation.Brian Kubisiak Fixes a regression introduced by 4935501fd9f690d8990bb798237d51702b87fb3f that would skip generating the user's ~/.config/zsh/.zshenv unless both of zshenv and environment-variables are set in the configuration. * gnu/home/services/shells.scm (zsh-get-configuration-files): Generate ~/.config/zsh/.zshenv when only one of zshenv or environment-variables is specified. Signed-off-by: Ludovic Courtès <ludo@gnu.org> 2022-04-03gnu: mate-polkit: Improve synopsis.Brendan Tildesley * gnu/packages/mate.scm (mate-polkit): Improve synopsis. Co-authored-by: Ludovic Courtès <ludo@gnu.org> 2022-04-03gnu: xfce: Add notification supportBrendan Tildesley * gnu/packages/xfce.scm (xfce)[inputs]: Add XFCE4-NOTIFYD. Signed-off-by: Ludovic Courtès <ludo@gnu.org> 2022-04-03gnu: xfce: Remove input labels.Brendan Tildesley (xfconf, libxfce4ui, xfce4-panel, xfce4-whiskermenu-plugin, xfce, xfce4-screensaver): Remove input labels. Signed-off-by: Ludovic Courtès <ludo@gnu.org> 2022-04-03gnu: xfce4-screenshooter: Update to 1.9.10.Brendan Tildesley * gnu/packages/xfce.scm (xfce4-screenshooter): Update to 1.9.10. Signed-off-by: Ludovic Courtès <ludo@gnu.org> 2022-04-03gnu: xfce4-whiskermenu-plugin: Update to 2.6.2.Brendan Tildesley * gnu/packages/xfce.scm (xfce4-whiskermenu-plugin): Update to 2.6.2. Signed-off-by: Ludovic Courtès <ludo@gnu.org> 2022-04-02gnu: cpufrequtils: Update to 008-1.a2f0c39.Vagrant Cascadian Fixes build failure on non-x86 architectures, and brings cpufrequtils to the state of the art from 2011. * gnu/packages/linux.scm (cpufrequtils)[version]: Use git-version. [source]: Use git-fetch. 2022-04-02gnu: cl-dbi: Update to 0.9.5-2.738a74d.jgart * gnu/packages/lisp-xyz.scm (sbcl-dbi): Update to 0.9.5-2.738a74d. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> 2022-04-01gnu: python-pycountry: Update to 22.3.5.Chadwain Holness * gnu/packages/python-xyz.scm (python-pycountry): Update to 22.3.5. Signed-off-by: Ludovic Courtès <ludo@gnu.org> 2022-04-01gnu: gnunet: Update to 0.16.3.Tanguy Le Carrour * gnu/packages/gnunet.scm (gnunet): Update to 0.16.3. [arguments]: Enable all the tests that were disabled. [inputs]: Use new style. [native-inputs]: Add openssl. [home-page]: Update URL. Signed-off-by: Ludovic Courtès <ludo@gnu.org> 2022-04-01gnu: vtk: Remove input labels.Ludovic Courtès * gnu/packages/image-processing.scm (vtk)[inputs]: Remove labels. 2022-04-01gnu: vtk@6: Depend on Python 2.x, not 3.x.Ludovic Courtès * gnu/packages/image-processing.scm (vtk-6)[native-inputs]: Replace PYTHON with PYTHON-2. 2022-04-01gnu: libtool: Add 2.4.7.Ludovic Courtès * gnu/packages/autotools.scm (libtool-2.4.7): New variable. 2022-04-01gnu: libressl: Add 'release-monitoring-url' property.Ludovic Courtès * gnu/packages/tls.scm (libressl)[properties]: New field. 2022-04-01gnu: cl-usocket: Update to 0.8.4.jgart * gnu/packages/lisp-xyz.scm (sbcl-usocket): Update to 0.8.4. [inputs]: Use new style. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> 2022-03-31gnu: libfido2: Fix cross-compilation.Sébastien Lerique * gnu/packages/security-token.scm (libfido2)[arguments]: Set the PKG_CONFIG_EXECUTABLE variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> 2022-03-31gnu: libfido2: Use new style for inputs.Sébastien Lerique * gnu/packages/security-token.scm (libfido2)[inputs]: Use new style. Sort alphabetically. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> 2022-03-31gnu: tio: Update to 1.36.Raphaël Mélotte via Guix-patches * gnu/packages/terminals.scm (tio): Update to 1.36. [native-inputs]: Add pkg-config. [inputs]: Add libinih. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> 2022-03-31gnu: iverilog: Add zlib dependency for LXT dump file format support.Christian Gelinek * gnu/packages/fpga.scm (iverilog)[native-inputs]: Add zlib. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> 2022-03-31gnu: gmid: Update to 1.8.3.cage * gnu/packages/web.scm (gmid): Update to 1.8.3. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> 2022-03-31gnu: plantuml: Update to 1.2022.3.Collin J. Doering * gnu/packages/uml.scm (plantuml): Update to 1.2022.3. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> 2022-03-31gnu: python-velocyto: Set cache directory for Numba.Ricardo Wurmus * gnu/packages/bioinformatics.scm (python-velocyto)[arguments]: Add phase 'set-numba-cache-dir. 2022-03-31gnu: wfmash: Enable test suite.Efraim Flashner * gnu/packages/bioinformatics.scm (wfmash)[arguments]: Don't disable tests. Add custom 'check phase based on upstream's own CI tests. [native-inputs]: Add samtools. 2022-03-31gnu: Add wfmash.Arun Isaac * gnu/packages/bioinformatics.scm (wfmash): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> 2022-03-31gnu: atomic-queue: Do not look for boost when cross-compiling.Arun Isaac * gnu/packages/cpp.scm (atomic-queue)[arguments]: When cross-compiling, add a do-not-check-for-boost phase. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> 2022-03-31gnu: atomic-queue: Run tests correctly.Arun Isaac * gnu/packages/cpp.scm (atomic-queue)[arguments]: In the check phase, run tests instead of returning a function to run them. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> 2022-03-31gnu: htslib: Add bzip2 and xz to inputs.Arun Isaac htslib links to libbz2 from bzip2 and liblzma from xz. Therefore, bzip2 and xz should be listed in inputs even though they are already present implicitly in native-inputs. Else, cross-compilation will fail. * gnu/packages/bioinformatics.scm (htslib)[inputs]: Add bzip2 and xz. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> 2022-03-31gnu: gsl: Force bootstrap when cross-compiling to riscv64-linux.Arun Isaac * gnu/packages/maths.scm (gsl)[arguments]: Force an autotools bootstrap when cross-compiling to riscv64-linux. [native-inputs]: Add autoconf, automake and libtool when cross-compiling to riscv64-linux. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>