;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015 Ludovic Courtès ;;; ;;; 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 . (define-module (test-sets) #:use-module (guix sets) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) #:use-module (srfi srfi-64)) (test-begin "sets") (test-assert "set-contains?" (let* ((lst (iota 123)) (set (list->set lst))) (and (every (cut set-contains? set <>) lst) (not (set-contains? set -1))))) (test-assert "set->list" (let* ((lst (iota 123)) (set (list->set lst))) (lset= = lst (set->list set)))) (test-assert "set-union" (let* ((a (list 'a)) (b (list 'b)) (s1 (setq a)) (s2 (setq b)) (s3 (set-union s1 s2))) (and (set-contains? s3 a) (set-contains? s3 b)))) (test-end) 63f45c44de39356b84dc0'>commitdiff
AgeCommit message (Expand)Author
2024-07-19gnu: rust-zstd-sys-2: Unbundle zstd....* gnu/packages/crates-io.scm (rust-zstd-sys-2)[source]: Add snippet to remove bundled zstd. [native-inputs]: Add pkg-config. [inputs]: Add zstd:lib. (rust-parquet2-0.17, rust-polars-io-0.37, rust-polars-pipe-0.37, rust-zip-0.6, rust-zstd-0.13, rust-zstd-safe-7)[native-inputs]: Add pkg-config. [inputs]: Add zstd:lib. * gnu/packages/crates-web.scm (rust-tower-http-0.5)[native-inputs]: Add pkg-config. [inputs]: Add zstd:lib. * gnu/packages/python-compression.scm (python-cramjam) [native-inputs]: Add pkg-config. [inputs]: Add zstd:lib. Change-Id: Iccb160aa7099c141567c415237ab9662448a4e93 Efraim Flashner
2024-05-30gnu: python-ewah-bool-utils: Update to 1.2.0....* gnu/packages/python-compression.scm (python-ewah-bool-utils): Update to 1.2.0. Change-Id: I7bc50249f2d7e97c64d23054ad176cf0e4af6258 Signed-off-by: Andrew Tropin <andrew@trop.in> Sharlatan Hellseher
2024-04-06gnu: Add python-zipstream-ng....* gnu/packages/python-xyz.scm (python-zipstream-ng): New variable. Change-Id: Idf0c0d471aa1eda45cf649874f6a79b6b9a7937b Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> TakeV
2024-03-29gnu: Add python-ewah-bool-utils....* gnu/packages/python-compression.scm (python-ewah-bool-utils): New variable. Change-Id: Ib9730d599f66bc2b864bfd305135e367f89ba9dd Sharlatan Hellseher
2024-03-29gnu: python-blosc: Simplify package....* gnu/packages/python-compression.scm (python-blosc) [arguments] <#:phases>: Swap to simple lambda in 'find-blosc phase as it already uses this-package-input procedure. Change-Id: I4d3219d9575b9573b0c384b067855fa927f122da Sharlatan Hellseher
2024-03-29gnu: python-blosc: Move to python-compression....* gnu/packages/python-xyz.scm (python-blosc): Move from here ... * gnu/packages/python-compression.scm: ... to here. Change-Id: Ieed1b399602d0ba64b065d1c03ef0855ac52f71e Sharlatan Hellseher
2024-03-03gnu: Add python-cramjam....* gnu/packages/python-compression.scm (python-cramjam): New variable. Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> Troy Figiel
2024-01-09gnu: Add python-python-snappy....* gnu/packages/python-compression.scm (python-python-snappy): New variable. Troy Figiel