From ac9cd78ea9e6a3cf850b33fb2111b85e2bbf533d Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 29 Aug 2019 10:03:42 +0200 Subject: bootloader: Fix comment about 'menu-entries'. * gnu/bootloader.scm ()[menu-entries]: Fix margin comment. --- gnu/bootloader.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/bootloader.scm b/gnu/bootloader.scm index a381f67145..909036042f 100644 --- a/gnu/bootloader.scm +++ b/gnu/bootloader.scm @@ -108,7 +108,7 @@ (bootloader bootloader-configuration-bootloader) ; (target bootloader-configuration-target ;string (default #f)) - (menu-entries bootloader-configuration-menu-entries ;list of + (menu-entries bootloader-configuration-menu-entries ;list of (default '())) (default-entry bootloader-configuration-default-entry ;integer (default 0)) -- cgit v1.2.3 From 7d09f2e85faa03fd017fef2774c2aa9807c70f43 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 29 Aug 2019 12:15:09 +0200 Subject: lint: formatting: Reporters return #f or a warning. * guix/lint.scm (report-tabulations, report-trailing-white-space) (report-long-line, report-lone-parentheses): Return #f instead of *unspecified* when there are no warnings. (report-formatting-issues): Use 'filter-map' instead of 'map' + 'filter'. --- guix/lint.scm | 60 +++++++++++++++++++++++++++++------------------------------ 1 file changed, 29 insertions(+), 31 deletions(-) diff --git a/guix/lint.scm b/guix/lint.scm index 212ff70d54..2bf5097403 100644 --- a/guix/lint.scm +++ b/guix/lint.scm @@ -1031,7 +1031,7 @@ the NIST server non-fatal." (define (report-tabulations package line line-number) "Warn about tabulations found in LINE." (match (string-index line #\tab) - (#f #t) + (#f #f) (index (make-warning package (G_ "tabulation on line ~a, column ~a") @@ -1043,44 +1043,44 @@ the NIST server non-fatal." (define (report-trailing-white-space package line line-number) "Warn about trailing white space in LINE." - (unless (or (string=? line (string-trim-right line)) - (string=? line (string #\page))) - (make-warning package - (G_ "trailing white space on line ~a") - (list line-number) - #:location - (location (package-file package) - line-number - 0)))) + (and (not (or (string=? line (string-trim-right line)) + (string=? line (string #\page)))) + (make-warning package + (G_ "trailing white space on line ~a") + (list line-number) + #:location + (location (package-file package) + line-number + 0)))) (define (report-long-line package line line-number) "Emit a warning if LINE is too long." ;; Note: We don't warn at 80 characters because sometimes hashes and URLs ;; make it hard to fit within that limit and we want to avoid making too ;; much noise. - (when (> (string-length line) 90) - (make-warning package - (G_ "line ~a is way too long (~a characters)") - (list line-number (string-length line)) - #:location - (location (package-file package) - line-number - 0)))) + (and (> (string-length line) 90) + (make-warning package + (G_ "line ~a is way too long (~a characters)") + (list line-number (string-length line)) + #:location + (location (package-file package) + line-number + 0)))) (define %hanging-paren-rx (make-regexp "^[[:blank:]]*[()]+[[:blank:]]*$")) (define (report-lone-parentheses package line line-number) "Emit a warning if LINE contains hanging parentheses." - (when (regexp-exec %hanging-paren-rx line) - (make-warning package - (G_ "parentheses feel lonely, \ + (and (regexp-exec %hanging-paren-rx line) + (make-warning package + (G_ "parentheses feel lonely, \ move to the previous or next line") - (list line-number) - #:location - (location (package-file package) - line-number - 0)))) + (list line-number) + #:location + (location (package-file package) + line-number + 0)))) (define %formatting-reporters ;; List of procedures that report formatting issues. These are not separate @@ -1130,11 +1130,9 @@ them for PACKAGE." warnings (if (< line-number starting-line) '() - (filter - lint-warning? - (map (lambda (report) - (report package line line-number)) - reporters)))))))))))) + (filter-map (lambda (report) + (report package line line-number)) + reporters))))))))))) (define (check-formatting package) "Check the formatting of the source code of PACKAGE." -- cgit v1.2.3 From 546a709f202024c8a5173ad372a87ddc1c284c63 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 29 Aug 2019 15:04:49 +0200 Subject: daemon: Don't reply on 'st_blocks'. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ported by Ludovic Courtès from . * nix/libstore/gc.cc (LocalStore::removeUnusedLinks): Use 'st.st_size' instead of 'st.st_blocks * 512'. * nix/libutil/util.cc (_deletePath): Likewise. --- nix/libstore/gc.cc | 9 ++++----- nix/libutil/util.cc | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/nix/libstore/gc.cc b/nix/libstore/gc.cc index 310b8792fe..46171e116c 100644 --- a/nix/libstore/gc.cc +++ b/nix/libstore/gc.cc @@ -569,9 +569,8 @@ void LocalStore::removeUnusedLinks(const GCState & state) throw SysError(format("statting `%1%'") % path); if (st.st_nlink != 1) { - unsigned long long size = st.st_blocks * 512ULL; - actualSize += size; - unsharedSize += (st.st_nlink - 1) * size; + actualSize += st.st_size; + unsharedSize += (st.st_nlink - 1) * st.st_size; continue; } @@ -580,13 +579,13 @@ void LocalStore::removeUnusedLinks(const GCState & state) if (unlink(path.c_str()) == -1) throw SysError(format("deleting `%1%'") % path); - state.results.bytesFreed += st.st_blocks * 512; + state.results.bytesFreed += st.st_size; } struct stat st; if (stat(linksDir.c_str(), &st) == -1) throw SysError(format("statting `%1%'") % linksDir); - long long overhead = st.st_blocks * 512ULL; + long long overhead = st.st_size; printMsg(lvlInfo, format("note: currently hard linking saves %.2f MiB") % ((unsharedSize - actualSize - overhead) / (1024.0 * 1024.0))); diff --git a/nix/libutil/util.cc b/nix/libutil/util.cc index 768e12b5e4..9a83876013 100644 --- a/nix/libutil/util.cc +++ b/nix/libutil/util.cc @@ -309,7 +309,7 @@ static void _deletePath(const Path & path, unsigned long long & bytesFreed) struct stat st = lstat(path); if (!S_ISDIR(st.st_mode) && st.st_nlink == 1) - bytesFreed += st.st_blocks * 512; + bytesFreed += st.st_size; if (S_ISDIR(st.st_mode)) { /* Make the directory writable. */ -- cgit v1.2.3 From a28cfee841e9c5ab179291d3065f1486fd065e7e Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 28 Aug 2019 23:27:20 +0200 Subject: system: Add 'bootloader-menu-entries' field to . This allows us to keep track of the extra menu entries specified in the OS configuration. * gnu/system.scm ()[bootloader-menu-entries]: New field. (read-boot-parameters): Initialize it. (operating-system-boot-parameters): Likewise. (operating-system-boot-parameters-file): Serialize it. * gnu/bootloader.scm (menu-entry->sexp, sexp->menu-entry): New procedures. --- gnu/bootloader.scm | 34 ++++++++++++++++++++++++++++++++++ gnu/system.scm | 15 +++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/gnu/bootloader.scm b/gnu/bootloader.scm index 909036042f..01bdd4acaa 100644 --- a/gnu/bootloader.scm +++ b/gnu/bootloader.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2017 David Craven ;;; Copyright © 2017 Mathieu Othacehe ;;; Copyright © 2017 Leo Famulari +;;; Copyright © 2019 Ludovic Courtès ;;; ;;; This file is part of GNU Guix. ;;; @@ -23,6 +24,7 @@ #:use-module (guix records) #:use-module (guix ui) #:use-module (srfi srfi-1) + #:use-module (ice-9 match) #:export (menu-entry menu-entry? menu-entry-label @@ -32,6 +34,9 @@ menu-entry-initrd menu-entry-device-mount-point + menu-entry->sexp + sexp->menu-entry + bootloader bootloader? bootloader-name @@ -76,6 +81,35 @@ (default '())) ; list of string-valued gexps (initrd menu-entry-initrd)) ; file name of the initrd as a gexp +(define (menu-entry->sexp entry) + "Return ENTRY serialized as an sexp." + (match entry + (($ label device mount-point linux linux-arguments initrd) + `(menu-entry (version 0) + (label ,label) + (device ,device) + (device-mount-point ,mount-point) + (linux ,linux) + (linux-arguments ,linux-arguments) + (initrd ,initrd))))) + +(define (sexp->menu-entry sexp) + "Turn SEXP, an sexp as returned by 'menu-entry->sexp', into a +record." + (match sexp + (('menu-entry ('version 0) + ('label label) ('device device) + ('device-mount-point mount-point) + ('linux linux) ('linux-arguments linux-arguments) + ('initrd initrd) _ ...) + (menu-entry + (label label) + (device device) + (device-mount-point mount-point) + (linux linux) + (linux-arguments linux-arguments) + (initrd initrd))))) + ;;; ;;; Bootloader record. diff --git a/gnu/system.scm b/gnu/system.scm index 01be1243fe..c860c22433 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -116,6 +116,7 @@ boot-parameters-label boot-parameters-root-device boot-parameters-bootloader-name + boot-parameters-bootloader-menu-entries boot-parameters-store-device boot-parameters-store-mount-point boot-parameters-kernel @@ -251,6 +252,8 @@ directly by the user." ;; OS's root file system, so it might be a device path like "/dev/sda3". (root-device boot-parameters-root-device) (bootloader-name boot-parameters-bootloader-name) + (bootloader-menu-entries ;list of + boot-parameters-bootloader-menu-entries) (store-device boot-parameters-store-device) (store-mount-point boot-parameters-store-mount-point) (kernel boot-parameters-kernel) @@ -297,6 +300,11 @@ file system labels." ((_ args) args) (#f 'grub))) ; for compatibility reasons. + (bootloader-menu-entries + (match (assq 'bootloader-menu-entries rest) + ((_ entries) (map sexp->menu-entry entries)) + (#f '()))) + ;; In the past, we would store the directory name of the kernel instead ;; of the absolute file name of its image. Detect that and correct it. (kernel (if (string=? linux (direct-store-path linux)) @@ -1005,6 +1013,8 @@ such as '--root' and '--load' to ." (operating-system-user-kernel-arguments os))) (initrd initrd) (bootloader-name bootloader-name) + (bootloader-menu-entries + (bootloader-configuration-menu-entries (operating-system-bootloader os))) (store-device (ensure-not-/dev (file-system-device store))) (store-mount-point (file-system-mount-point store))))) @@ -1046,6 +1056,11 @@ being stored into the \"parameters\" file)." #$(boot-parameters-kernel-arguments params)) (initrd #$(boot-parameters-initrd params)) (bootloader-name #$(boot-parameters-bootloader-name params)) + (bootloader-menu-entries + #$(map menu-entry->sexp + (or (and=> (operating-system-bootloader os) + bootloader-configuration-menu-entries) + '()))) (store (device #$(device->sexp (boot-parameters-store-device params))) -- cgit v1.2.3 From c3e59de9b1340f1a0ef7e30dd2e4e7bf7b484ee9 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 28 Aug 2019 23:31:28 +0200 Subject: guix system: Reinstalling the bootloader preserves extra menu entries. Fixes . Reported by Jesse Gibbons . Previously 'guix system delete-generations' or 'switch-generation' would lose the extra bootloader menu entries specified in the current system's configuration. This fixes that. * guix/scripts/system.scm (reinstall-bootloader): Turn PARAMS into a single . Adjust ENTRIES to include extra menu entries specified in PARAMS. --- guix/scripts/system.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm index 9fc3a10e98..27b014db68 100644 --- a/guix/scripts/system.scm +++ b/guix/scripts/system.scm @@ -384,12 +384,14 @@ STORE is an open connection to the store." (bootloader bootloader))) ;; Make the specified system generation the default entry. - (params (profile-boot-parameters %system-profile (list number))) + (params (first (profile-boot-parameters %system-profile + (list number)))) (old-generations (delv number (reverse (generation-numbers %system-profile)))) (old-params (profile-boot-parameters %system-profile old-generations)) - (entries (map boot-parameters->menu-entry params)) + (entries (cons (boot-parameters->menu-entry params) + (boot-parameters-bootloader-menu-entries params))) (old-entries (map boot-parameters->menu-entry old-params))) (run-with-store store (mlet* %store-monad -- cgit v1.2.3 From 02c61278f1327d403f072f42e6b92a1dc62fc93a Mon Sep 17 00:00:00 2001 From: Ivan Petkov Date: Sun, 11 Aug 2019 15:07:05 -0700 Subject: gnu: rust: Update to 1.37.0. * gnu/packages/rust.scm (rust): Rename to... (rust-1.36): ...this. (rust): New variable. --- gnu/packages/rust.scm | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index b4c50437f7..6d1b9f1fe4 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -1073,7 +1073,7 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\" (("bins::check") "//bins::check")) #t))))))))) -(define-public rust +(define-public rust-1.36 (let ((base-rust (rust-bootstrapped-package rust-1.35 "1.36.0" "06xv2p6zq03lidr0yaf029ii8wnjjqa894nkmrm6s0rx47by9i04"))) @@ -1084,3 +1084,20 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\" ((#:phases phases) `(modify-phases ,phases (delete 'patch-process-docs-rev-cmd)))))))) + +(define-public rust + (let ((base-rust + (rust-bootstrapped-package rust-1.36 "1.37.0" + "1hrqprybhkhs6d9b5pjskfnc5z9v2l2gync7nb39qjb5s0h703hj"))) + (package + (inherit base-rust) + (arguments + (substitute-keyword-arguments (package-arguments base-rust) + ((#:phases phases) + `(modify-phases ,phases + (add-before 'configure 'configure-cargo-home + (lambda _ + (let ((cargo-home (string-append (getcwd) "/.cargo"))) + (mkdir-p cargo-home) + (setenv "CARGO_HOME" cargo-home) + #t)))))))))) -- cgit v1.2.3 From fa8ef3ed70a81771e888d6e7cdcc6612fadbdbda Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 30 Aug 2019 02:44:25 +0200 Subject: gnu: eolie: Update to 0.9.63. * gnu/packages/gnome.scm (eolie): Update to 0.9.63. --- gnu/packages/gnome.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 6ef6fdfc42..ab2c819db4 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -4312,15 +4312,15 @@ work and the interface is well tested.") (define-public eolie (package (name "eolie") - (version "0.9.62") + (version "0.9.63") (source (origin (method url-fetch) (uri (string-append "https://gitlab.gnome.org/World/eolie/" - "uploads/bb4aad19272cc636bd17f2f6602127fe/" + "uploads/d42b466752729a0d3fa828a721e25043/" "eolie-" version ".tar.xz")) (sha256 (base32 - "06v76hg87fnhw45dil5vvl20myvaa38n1jqsl0lmkkq6af4mk8wx")))) + "11pp8g0w22h1q0bbj9517l5838gcymvvp8fp9kh6h2dmgir2ssih")))) (build-system meson-build-system) (arguments `(#:glib-or-gtk? #t -- cgit v1.2.3 From d7c2c4bda5088435df50663a14749470f9714044 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 30 Aug 2019 03:23:09 +0200 Subject: gnu: conky: Update to 1.11.5. * gnu/packages/conky.scm (conky): Update to 1.11.5. --- gnu/packages/conky.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/conky.scm b/gnu/packages/conky.scm index 2b32bf8791..681feb6e43 100644 --- a/gnu/packages/conky.scm +++ b/gnu/packages/conky.scm @@ -37,7 +37,7 @@ (package (name "conky") (home-page "https://github.com/brndnmtthws/conky") - (version "1.11.3") + (version "1.11.5") (source (origin (method git-fetch) @@ -46,10 +46,10 @@ (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0pdl31xvmy8niagzqx9sd2b6hc6lzwfiaz66m4djf1gz9bksc8qv")))) + (base32 "1a75ss48mn9pknrxy33dh5rdgm67a5kpddsyqfhlcn1761kfzzyp")))) (build-system cmake-build-system) (arguments - `(#:tests? #f ; there are no tests + `(#:tests? #f ; there are no tests #:configure-flags (list "-DRELEASE=true") #:phases -- cgit v1.2.3 From d41ee146ce8ef77b36b37354f47c7e9aa470e3c8 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 30 Aug 2019 03:24:42 +0200 Subject: gnu: libhandy: Update to 0.0.11. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/gnome.scm (libhandy): Update to 0.0.11. [arguments]: Remove ‘disable-broken-test’ phase. [native-inputs]: Add hicolor-icon-theme. --- gnu/packages/gnome.scm | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index ab2c819db4..a30fc8460c 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -8242,7 +8242,7 @@ advanced image management tool") (define-public libhandy (package (name "libhandy") - (version "0.0.10") + (version "0.0.11") (source (origin (method git-fetch) @@ -8251,7 +8251,7 @@ advanced image management tool") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1702hbdqhfpgw0c4vj2ag08vgl83byiryrbngbq11b9azmj3jhzs")))) + (base32 "0622zp5wrvn5bvgardijxd11y76g1i54fs32y03dw9nrar7i6vb0")))) (build-system meson-build-system) (arguments `(#:configure-flags @@ -8259,12 +8259,6 @@ advanced image management tool") "-Dgtk_doc=true") #:phases (modify-phases %standard-phases - (add-after 'unpack 'disable-broken-test - (lambda _ - ;; This test fails for unknown reasons - (substitute* "tests/meson.build" - (("'test-dialog',") "")) - #t)) (add-before 'check 'pre-check (lambda _ ;; Tests require a running X server. @@ -8280,7 +8274,10 @@ advanced image management tool") ("gtk-doc" ,gtk-doc) ("pkg-config" ,pkg-config) ("gettext" ,gettext-minimal) - ("xorg-server" ,xorg-server))) + ("xorg-server" ,xorg-server) + + ;; Test suite dependencies. + ("hicolor-icon-theme" ,hicolor-icon-theme))) (home-page "https://source.puri.sm/Librem5/libhandy") (synopsis "Library full of GTK+ widgets for mobile phones") (description "The aim of the handy library is to help with developing user -- cgit v1.2.3 From 9441a9c1635edf4678d35f425a4aab0a2abb1bda Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 30 Aug 2019 03:24:58 +0200 Subject: gnu: python-pybtex: Update to 0.22.2. * gnu/packages/python-xyz.scm (python-pybtex): Update to 0.22.2. --- gnu/packages/python-xyz.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e7fffd0879..d5fcc5668c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -14677,14 +14677,13 @@ working with iterables.") (define-public python-pybtex (package (name "python-pybtex") - (version "0.21") + (version "0.22.2") (source (origin (method url-fetch) (uri (pypi-uri "pybtex" version)) (sha256 - (base32 - "00300j8dn5pxq4ndxmfmbmycg2znawkqs49val2x6jlmfiy6r2mg")))) + (base32 "070wfcmxrd7xg1si421mi9150gmx2qwx431nwf69sq3hhmgnx080")))) (build-system python-build-system) (native-inputs `(("python-nose" ,python-nose))) -- cgit v1.2.3 From 7ab5c4e0e861cfe979591e1ffab9c6e9f26caa6b Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 30 Aug 2019 03:37:52 +0200 Subject: gnu: emacs: Update to 26.3. * gnu/packages/emacs.scm (emacs): Update to 26.3. --- gnu/packages/emacs.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index e18db26821..5a3577350d 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -15,7 +15,7 @@ ;;; Copyright © 2017 Jan Nieuwenhuizen ;;; Copyright © 2018 Efraim Flashner ;;; Copyright © 2018 Mathieu Othacehe -;;; Copyright © 2018 Tobias Geerinckx-Rice +;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. ;;; @@ -68,14 +68,14 @@ (define-public emacs (package (name "emacs") - (version "26.2") + (version "26.3") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/emacs/emacs-" version ".tar.xz")) (sha256 (base32 - "13n5m60i47k96mpv5pp6km2ph9rv2m5lmbpzj929v02vpsfyc70m")) + "119ldpk7sgn9jlpyngv5y4z3i7bb8q3xp4p0qqi7i5nq39syd42d")) (patches (search-patches "emacs-exec-path.patch" "emacs-fix-scheme-indent-function.patch" "emacs-source-date-epoch.patch")) @@ -114,7 +114,7 @@ #t)))) (build-system glib-or-gtk-build-system) (arguments - `(#:tests? #f ; no check target + `(#:tests? #f ; no check target #:configure-flags (list "--with-modules" "--disable-build-details") #:phases -- cgit v1.2.3 From ee0de9945438cce41ef20e37144f41a8d40cd1ab Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 29 Aug 2019 23:02:10 +0200 Subject: services: cups: Add BrowseDNSSDSubTypes directive. * gnu/services/cups.scm (comma-separated-string-list?) (serialize-comma-separated-string-list): New variables. (cups-configuration)[browse-dns-sd-sub-types]: New field. * doc/guix.texi (Printing Services): Document it. --- doc/guix.texi | 8 ++++++++ gnu/services/cups.scm | 13 +++++++++++++ 2 files changed, 21 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index 1998ad049b..ed74034dc6 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -14248,6 +14248,14 @@ longer required for quotas. Defaults to @samp{#f}. @end deftypevr +@deftypevr {@code{cups-configuration} parameter} comma-separated-string-list browse-dns-sd-sub-types +Specifies a list of DNS-SD sub-types to advertise for each shared printer. +For example, @samp{"_cups" "_print"} will tell network clients that both +CUPS sharing and IPP Everywhere are supported. + +Defaults to @samp{"_cups"}. +@end deftypevr + @deftypevr {@code{cups-configuration} parameter} browse-local-protocols browse-local-protocols Specifies which protocols to use for local printer sharing. diff --git a/gnu/services/cups.scm b/gnu/services/cups.scm index e77c43bfbf..ace7889fb6 100644 --- a/gnu/services/cups.scm +++ b/gnu/services/cups.scm @@ -83,6 +83,14 @@ (define (serialize-multiline-string-list field-name val) (for-each (lambda (str) (serialize-field field-name str)) val)) +(define (comma-separated-string-list? val) + (and (list? val) + (and-map (lambda (x) + (and (string? x) (not (string-index x #\,)))) + val))) +(define (serialize-comma-separated-string-list field-name val) + (serialize-field field-name (string-join val ","))) + (define (space-separated-string-list? val) (and (list? val) (and-map (lambda (x) @@ -489,6 +497,11 @@ requests.") (boolean #f) "Specifies whether to purge job history data automatically when it is no longer required for quotas.") + (browse-dns-sd-sub-types + (comma-separated-string-list (list "_cups")) + "Specifies a list of DNS-SD sub-types to advertise for each shared printer. +For example, @samp{\"_cups\" \"_print\"} will tell network clients that both +CUPS sharing and IPP Everywhere are supported.") (browse-local-protocols (browse-local-protocols 'dnssd) "Specifies which protocols to use for local printer sharing.") -- cgit v1.2.3 From 70186c24eee7603e1763143ba97ab6abea63f10c Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 27 Aug 2019 19:22:04 +0200 Subject: services: cups: Move SET-ENV to FILES-CONFIGURATION. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/services/cups.scm (cups-configuration): Move SET-ENV from here… (files-configuration): …to here. * doc/guix.texi (Printing Services): Adjust accordingly. --- doc/guix.texi | 12 ++++++------ gnu/services/cups.scm | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index ed74034dc6..32c98e23c6 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -14228,6 +14228,12 @@ programs. Defaults to @samp{"lp"}. @end deftypevr + +@deftypevr {@code{files-configuration} parameter} string set-env +Set the specified environment variable to be passed to child processes. + +Defaults to @samp{"variable value"}. +@end deftypevr @end deftypevr @deftypevr {@code{cups-configuration} parameter} access-log-level access-log-level @@ -14755,12 +14761,6 @@ the output of the @code{uname} command. @code{Full} reports @code{CUPS Defaults to @samp{Minimal}. @end deftypevr -@deftypevr {@code{cups-configuration} parameter} string set-env -Set the specified environment variable to be passed to child processes. - -Defaults to @samp{"variable value"}. -@end deftypevr - @deftypevr {@code{cups-configuration} parameter} multiline-string-list ssl-listen Listens on the specified interfaces for encrypted connections. Valid values are of the form @var{address}:@var{port}, where @var{address} is diff --git a/gnu/services/cups.scm b/gnu/services/cups.scm index ace7889fb6..2105df6ded 100644 --- a/gnu/services/cups.scm +++ b/gnu/services/cups.scm @@ -458,7 +458,10 @@ or state files.") (user (string "lp") "Specifies the user name or ID that is used when running external -programs.")) +programs.") + (set-env + (string "variable value") + "Set the specified environment variable to be passed to child processes.")) (define (serialize-files-configuration field-name val) #f) @@ -811,9 +814,6 @@ reports @code{CUPS 2.0}. @code{Minimal} reports @code{CUPS 2.0.0}. @code{OS} reports @code{CUPS 2.0.0 (@var{uname})} where @var{uname} is the output of the @code{uname} command. @code{Full} reports @code{CUPS 2.0.0 (@var{uname}) IPP/2.0}.") - (set-env - (string "variable value") - "Set the specified environment variable to be passed to child processes.") (ssl-listen (multiline-string-list '()) "Listens on the specified interfaces for encrypted connections. Valid -- cgit v1.2.3 From 521bb336782b8fe04b57ebaadd55be005a85d788 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 30 Aug 2019 03:16:14 +0200 Subject: gnu: gwenhywfar: Update to 4.20.2. * gnu/packages/gnucash.scm (gwenhywfar): Update to 4.20.2. [source]: Remove FILE-NAME. --- gnu/packages/gnucash.scm | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/gnu/packages/gnucash.scm b/gnu/packages/gnucash.scm index 2196a8c50a..5d40bc3beb 100644 --- a/gnu/packages/gnucash.scm +++ b/gnu/packages/gnucash.scm @@ -231,17 +231,14 @@ to be read using the GNOME Yelp program.") (define-public gwenhywfar (package (name "gwenhywfar") - (version "4.20.0") + (version "4.20.2") (source (origin (method url-fetch) - (uri (string-append "https://www.aquamaniac.de/sites/download/" - "download.php?package=01&release=208&file=02&" - "dummy=gwenhywfar-" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (uri (string-append "https://www.aquamaniac.de/rdm/attachments/" + "download/108/gwenhywfar-" version ".tar.gz")) (sha256 - (base32 - "1c0g3f8jk6j693774ifslx2ds4ksabgbbalhhm9gk20kpamxm22s")))) + (base32 "0w1j7ppr1247kr3bpn4dqwyxp6cl8mfgr0m4782iz8f8a4ixjkqg")))) (build-system gnu-build-system) (arguments `(#:configure-flags -- cgit v1.2.3 From 43412ab967ee00789fe933f916d804aed9961c57 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 30 Aug 2019 03:17:07 +0200 Subject: gnu: aqbanking: Update to 5.8.1. * gnu/packages/gnucash.scm (aqbanking): Update to 5.8.1. [source]: Remove FILE-NAME. --- gnu/packages/gnucash.scm | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/gnu/packages/gnucash.scm b/gnu/packages/gnucash.scm index 5d40bc3beb..2ed1a890f7 100644 --- a/gnu/packages/gnucash.scm +++ b/gnu/packages/gnucash.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2015 Eric Bavier ;;; Copyright © 2016 Efraim Flashner ;;; Copyright © 2017 Chris Marusich -;;; Copyright © 2017 Tobias Geerinckx-Rice +;;; Copyright © 2017, 2019 Tobias Geerinckx-Rice ;;; Copyright © 2019 Maxim Cournoyer ;;; ;;; This file is part of GNU Guix. @@ -268,17 +268,14 @@ applications and libraries. It is used by AqBanking.") (define-public aqbanking (package (name "aqbanking") - (version "5.7.8") + (version "5.8.1") (source (origin (method url-fetch) - (uri (string-append "https://www.aquamaniac.de/sites/download/" - "download.php?package=03&release=217&file=02&" - "dummy=aqbanking-" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (uri (string-append "https://www.aquamaniac.de/rdm/attachments/" + "download/105/aqbanking-" version ".tar.gz")) (sha256 - (base32 - "0s67mysskbiw1h1p0np4ph4351r7wq3nc873vylam7lsqi66xy0n")))) + (base32 "0m44n2hyxprxzq7ijkrd7rmhhl0r033s1k21ix9y67a0p9skl1mg")))) (build-system gnu-build-system) (arguments `(;; Parallel building fails because aqhbci is required before it's -- cgit v1.2.3 From 45a973b3471f9e0435e573f0de4458da4a4a18e3 Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Wed, 28 Aug 2019 08:31:35 +0200 Subject: gnu: Add emacs-helm-ag. * gnu/packages/emacs-xyz.scm (emacs-helm-ag): New variable. Signed-off-by: Oleg Pykhalov --- gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 8fa5f71b9c..c01eba1264 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -6292,6 +6292,31 @@ not tied in the trap of backward compatibility.") for search-based navigation of buffers.") (license license:gpl2+))) +(define-public emacs-helm-ag + (let ((commit "2fc02c4ead29bf0db06fd70740cc7c364cb650ac") + (revision "1")) + (package + (name "emacs-helm-ag") + (version "0.58") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/syohex/emacs-helm-ag.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1gnn0byywbld6afcq1vp92cjvy4wlag9d1wgymnqn86c3b1bcf21")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-helm" ,emacs-helm))) + (home-page "https://github.com/syohex/emacs-helm-ag") + (synopsis "Helm interface to the Silver Searcher") + (description + "This package provides a frontend for grepping tools like ag and ack, +as well as features for editing search results.") + (license license:gpl3+)))) + (define-public emacs-helm-projectile (package (name "emacs-helm-projectile") -- cgit v1.2.3 From ab46af12660d76a616e11c72768fa0a8142b8d72 Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Wed, 28 Aug 2019 08:54:41 +0200 Subject: gnu: emacs-mbsync: Update to 0.1.2-2.f549ecc. * gnu/packages/emacs-xyz.scm (emacs-mbsync): Update to 0.1.2-2.f549ecc. Signed-off-by: Oleg Pykhalov --- gnu/packages/emacs-xyz.scm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index c01eba1264..151ef18135 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -11931,12 +11931,11 @@ key again.") (license license:gpl3+))) (define-public emacs-mbsync - (let ((commit "42077e83ae2db778ce0f8e22f8357b40355526b3") - (revision "1")) + (let ((commit "f549eccde6033449d24cd5b6148599484850c403") + (revision "2")) (package (name "emacs-mbsync") - (version (string-append "0.0.1" "-" revision "." - (string-take commit 7))) + (version (git-version "0.1.2" revision commit)) (source (origin (method git-fetch) @@ -11946,7 +11945,7 @@ key again.") (file-name (git-file-name name version)) (sha256 (base32 - "0yj93y2mpxlir8x73znlg1slxlv4blm1vjv5h2w3j8lxg8bxvmn6")))) + "1pdj41rq3pq4jdb5pma5j495xj7w7jgn8pnz1z1zwg75pn7ydfp0")))) (build-system emacs-build-system) (home-page "https://github.com/dimitri/mbsync-el") (synopsis "Interface to mbsync for Emacs") -- cgit v1.2.3 From 611049b397e6eab0d1b3d104031420e38b712115 Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Thu, 29 Aug 2019 18:12:48 +0200 Subject: gnu: Add emacs-taskrunner. * gnu/packages/emacs-xyz.scm (emacs-taskrunner): New variable. Signed-off-by: Oleg Pykhalov --- gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 151ef18135..1275753306 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -6341,6 +6341,32 @@ as well as features for editing search results.") "This Emacs library provides a Helm interface for Projectile.") (license license:gpl3+))) +(define-public emacs-taskrunner + (let ((commit "3afd4a546d42339543d3d4e51b175fc3e82b3358") + (revision "1")) + (package + (name "emacs-taskrunner") + (version (git-version "0.6" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/emacs-taskrunner/emacs-taskrunner.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1lkdvmjn3alhqxq2i64sdr977sbw3g0b2670d9bwyzi67qh0jxrv")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-async" ,emacs-async) + ("emacs-projectile" ,emacs-projectile))) + (home-page "https://github.com/emacs-taskrunner/emacs-taskrunner") + (synopsis "Retrieve tasks from various build systems and task-runners") + (description "This package parses Makefiles and build-system files for +multiple project types.") + (license license:gpl3+)))) + (define-public emacs-helm-make (let ((commit "feae8df22bc4b20705ea08ac9adfc2b43bb348d0") (revision "1")) -- cgit v1.2.3 From ed51d4206375b13e63a7518907fb4e1bda888976 Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Thu, 29 Aug 2019 18:13:06 +0200 Subject: gnu: Add emacs-ivy-taskrunner. * gnu/packages/emacs-xyz.scm (emacs-ivy-taskrunner): New variable. Signed-off-by: Oleg Pykhalov --- gnu/packages/emacs-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 1275753306..3024f78716 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -6367,6 +6367,33 @@ as well as features for editing search results.") multiple project types.") (license license:gpl3+)))) +(define-public emacs-ivy-taskrunner + (let ((commit "75d8d67cfe3c29663fe0f5508a887adf40ed5162") + (revision "1")) + (package + (name "emacs-ivy-taskrunner") + (version (git-version "0.9" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/emacs-taskrunner/ivy-taskrunner.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1wf4s4k0ap21f7g5w6128an8nsvbja7f5n889vcml5b6gjz058db")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-ivy" ,emacs-ivy) + ("emacs-taskrunner" ,emacs-taskrunner) + ("emacs-projectile" ,emacs-projectile))) + (home-page "https://github.com/emacs-taskrunner/ivy-taskrunner") + (synopsis "Retrieve build-system tasks using Ivy") + (description "This package provides an Ivy interface for selecting +Makefile targets.") + (license license:gpl3+)))) + (define-public emacs-helm-make (let ((commit "feae8df22bc4b20705ea08ac9adfc2b43bb348d0") (revision "1")) -- cgit v1.2.3 From 5796215a73c3d104ebe497cf3d1a33c9f2c85e72 Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Thu, 29 Aug 2019 18:13:12 +0200 Subject: gnu: Add emacs-helm-taskrunner. * gnu/packages/emacs-xyz.scm (emacs-helm-taskrunner): New variable. Signed-off-by: Oleg Pykhalov --- gnu/packages/emacs-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 3024f78716..9e94d3fc8e 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -6394,6 +6394,33 @@ multiple project types.") Makefile targets.") (license license:gpl3+)))) +(define-public emacs-helm-taskrunner + (let ((commit "1910dac19cbc7bd4fd08b0faf9affd455339fbea") + (revision "1")) + (package + (name "emacs-helm-taskrunner") + (version (git-version "0.9" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/emacs-taskrunner/helm-taskrunner.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "182lmr858fx6rdhp1fy7kv8dvrhzcnxzwfck1q22s6xs8x85d5q7")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-helm" ,emacs-helm) + ("emacs-taskrunner" ,emacs-taskrunner) + ("emacs-projectile" ,emacs-projectile))) + (home-page "https://github.com/emacs-taskrunner/helm-taskrunner") + (synopsis "Retrieve build-system tasks using Helm") + (description "This package provides a Helm interface for selecting +Makefile targets.") + (license license:gpl3+)))) + (define-public emacs-helm-make (let ((commit "feae8df22bc4b20705ea08ac9adfc2b43bb348d0") (revision "1")) -- cgit v1.2.3 From 06947252d3de55aff765334b88cde5990efa6abf Mon Sep 17 00:00:00 2001 From: Rutger Helling Date: Fri, 30 Aug 2019 11:41:48 +0200 Subject: gnu: wlroots: Update to 0.7.0. * gnu/packages/wm.scm (wlroots): Update to 0.7.0. --- gnu/packages/wm.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index c6f333cad9..a69c460e87 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -1143,7 +1143,7 @@ functionality to display information about the most commonly used services.") (define-public wlroots (package (name "wlroots") - (version "0.6.0") + (version "0.7.0") (source (origin (method git-fetch) @@ -1152,7 +1152,7 @@ functionality to display information about the most commonly used services.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "1rdcmll5b8w242n6yfjpsaprq280ck2jmbz46dxndhignxgda7k4")))) + (base32 "0jzxa6psbc7ddxli7rbfqxmv1svxnis51l1vch4hb9fdixqm284a")))) (build-system meson-build-system) (arguments `(#:configure-flags '("-Dlogind-provider=elogind") -- cgit v1.2.3 From d85c0f98424444eee10c721a03b400498cc89a6a Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 30 Aug 2019 22:42:29 +0200 Subject: gnu: Add r-genie3. * gnu/packages/bioconductor.scm (r-genie3): New variable. --- gnu/packages/bioconductor.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm index ea43bf2fdf..b7bc58d507 100644 --- a/gnu/packages/bioconductor.scm +++ b/gnu/packages/bioconductor.scm @@ -5230,3 +5230,24 @@ cis-regulatory topics (cisTopics) from single cell epigenomics data, and includes functionalities to identify cell states based on the contribution of cisTopics and explore the nature and regulatory proteins driving them.") (license license:gpl3)))) + +(define-public r-genie3 + (package + (name "r-genie3") + (version "1.6.0") + (source + (origin + (method url-fetch) + (uri (bioconductor-uri "GENIE3" version)) + (sha256 + (base32 + "0lvrpw4xn7xyinmn13f65i0vkzfzwdj5y8gsa8vyy8kcn83d28fx")))) + (properties `((upstream-name . "GENIE3"))) + (build-system r-build-system) + (propagated-inputs `(("r-reshape2" ,r-reshape2))) + (home-page "https://bioconductor.org/packages/GENIE3") + (synopsis "Gene network inference with ensemble of trees") + (description + "This package implements the GENIE3 algorithm for inferring gene +regulatory networks from expression data.") + (license license:gpl2+))) -- cgit v1.2.3 From b126f41b301a5ac13835bf20026ae6d1d5ae2bee Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Fri, 30 Aug 2019 13:47:44 -0700 Subject: gnu: diffoscope: Update to 122. * gnu/packages/package-management (diffoscope): Update to 122. --- gnu/packages/package-management.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index c4254f2aea..ff3e0d3209 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -546,7 +546,7 @@ transactions from C or Python.") (license license:gpl2+))) (define-public diffoscope - (let ((version "121")) + (let ((version "122")) (package (name "diffoscope") (version version) @@ -558,7 +558,7 @@ transactions from C or Python.") (file-name (git-file-name name version)) (sha256 (base32 - "1bw7s8qs1vnr93vhifl6pj6h6w6r6nrpc5anzhh9wx2gcaipkb3m")))) + "1pwddknk8qyv88ba63why8vbnlc14b47434lv4ijx49m7ya3zfvg")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases -- cgit v1.2.3 From 8f685df247ad859fefaeeef14332b2c455ffc5b2 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 23 Aug 2019 22:33:31 +0200 Subject: gnu: Add jbigkit. * gnu/packages/image.scm (jbigkit): New public variable. --- gnu/packages/image.scm | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index 5f3cf0ac2c..670aeff85a 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -643,6 +643,81 @@ work.") (home-page "https://jbig2dec.com") (license license:gpl2+))) +(define-public jbigkit + (package + (name "jbigkit") + (version "2.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://www.cl.cam.ac.uk/~mgk25/jbigkit/" + "download/jbigkit-" version ".tar.gz")) + (sha256 + (base32 "0cnrcdr1dwp7h7m0a56qw09bv08krb37mpf7cml5sjdgpyv0cwfy")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Remove files without clear licence information. + (for-each delete-file-recursively + (list "contrib" "examples")) + #t)))) + (build-system gnu-build-system) + (outputs (list "out" "pbmtools")) + (arguments + `(#:modules ((srfi srfi-26) + ,@%gnu-build-system-modules) + #:phases + (modify-phases %standard-phases + (delete 'configure) ; no configure script + (replace 'install ; no ‘make install’ target + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (lib (string-append out "/lib")) + (include (string-append out "/include"))) + (with-directory-excursion "libjbig" + (for-each (cut install-file <> include) + (find-files "." "\\.h$")) + (for-each (cut install-file <> lib) + (find-files "." "\\.a$"))) + #t))) + (add-after 'install 'install-pbmtools + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "pbmtools")) + (bin (string-append out "/bin")) + (man1 (string-append out "/share/man/man1")) + (man5 (string-append out "/share/man/man5"))) + (with-directory-excursion "pbmtools" + (for-each (cut install-file <> bin) + (list "jbgtopbm" "jbgtopbm85" + "pbmtojbg" "pbmtojbg85")) + + (for-each (cut install-file <> man1) + (find-files "." "\\.1$")) + (for-each (cut install-file <> man5) + (find-files "." "\\.5$")) + #t))))) + #:test-target "test" + #:tests? #f)) ; tests depend on examples/ + (home-page "https://www.cl.cam.ac.uk/~mgk25/jbigkit/") + (synopsis "Lossless compression for bi-level high-resolution images") + (description + "JBIG-KIT implements the JBIG1 data compression standard (ITU-T T.82 and +ISO/IEC 11544:1993), designed for bi-level (one bit per pixel) images such as +black-and-white scanned documents. It is widely used in fax products, printer +firmware and drivers, document management systems, and imaging software. + +This package provides a static C library of (de)compression functions and some +simple command-line converters similar to those provided by netpbm. + +Two JBIG1 variants are available. One (@file{jbig.c}) implements nearly all +options of the standard but has to keep the full uncompressed image in memory. +The other (@file{jbig85.c}) implements just the ITU-T T.85 profile, with +memory management optimized for embedded and fax applications. It buffers +only a few lines of the uncompressed image in memory and is able to stream +images of initially unknown height.") + (license (list license:isc ; pbmtools/p?m.5 + license:gpl2+)))) ; the rest + (define-public openjpeg (package (name "openjpeg") -- cgit v1.2.3 From 390f3e9e0292e9f46f869e1749b1807794dc4c82 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 23 Aug 2019 22:34:00 +0200 Subject: gnu: Add splix. * gnu/packages/cups.scm (splix): New public variable. --- gnu/packages/cups.scm | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm index 22b87460ab..4ce13ae8f8 100644 --- a/gnu/packages/cups.scm +++ b/gnu/packages/cups.scm @@ -48,6 +48,7 @@ #:use-module (guix build-system gnu) #:use-module (guix build-system python) #:use-module (guix download) + #:use-module (guix svn-download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix utils) @@ -740,6 +741,66 @@ language.") (home-page "http://download.ebz.epson.net/dsc/search/01/search") (license license:gpl2+))) +(define-public splix + ;; The last release was in 2009. The SVN repository contains 5 years of + ;; unreleased bug fixes and support for newer printer models. + (let ((revision 315)) + (package + (name "splix") + (version (string-append "2.0.0-" (number->string revision))) + (source + (origin + (method svn-fetch) + (uri (svn-reference + (url "https://svn.code.sf.net/p/splix/code/splix/") + (revision revision))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 "16wbm4xnz35ca3mw2iggf5f4jaxpyna718ia190ka6y4ah932jxl")))) + (build-system gnu-build-system) + ;; 90% (3.8 MiB) of output are .ppd files. Don't install them by default: + ;; CUPS has been able to read the .drv sources directly since version 1.2. + (outputs (list "out" "ppd")) + (arguments + '(#:make-flags + (list (string-append "CUPSDRV=" + (assoc-ref %outputs "out") "/share/cups/drv") + (string-append "CUPSFILTER=" + (assoc-ref %outputs "out") "/lib/cups/filter") + (string-append "CUPSPPD=" + (assoc-ref %outputs "ppd") "/share/cups/model") + "CACHESIZE=100" ; pages in RAM, ±300 KiB each + "THREADS=4") ; compress and print faster + #:phases + (modify-phases %standard-phases + (delete 'configure) ; no configure script + (add-before 'build 'build-.drv-files + (lambda* (#:key make-flags #:allow-other-keys) + (apply invoke "make" "drv" make-flags))) + (add-after 'install 'install-.drv-files + (lambda* (#:key make-flags #:allow-other-keys) + (apply invoke "make" "install" "DRV_ONLY=1" make-flags)))) + #:tests? #f)) ; no test suite + (inputs + `(("cups" ,cups-minimal) + ("zlib" ,zlib) + + ;; This dependency can be dropped by setting DISABLE_JBIG=1, but the + ;; result will not support some printers like the Samsung CLP-600. + ("jbigkit" ,jbigkit))) + (synopsis "QPDL (SPL2) printer driver") + (description + "SpliX is a set of CUPS drivers for printers that speak @acronym{QPDL, +Quick Page Description Language}, also called @acronym{SPL2, Samsung Printer +Language version 2}. These include many laser printers sold by Samsung, +Xerox, Lexmark, Toshiba, and Dell. + +Colour printers need colour profile files to get better results. These +@file{cms} files are provided by the printer's manufacturer and must be +obtained and installed separately.") + (home-page "http://splix.ap2c.org/") + (license license:gpl2)))) + (define-public python-pycups (package (name "python-pycups") -- cgit v1.2.3 From 3774efe36ff0cd20359506064484079001984f1c Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 30 Aug 2019 17:28:24 +0200 Subject: doc: Prefer https:// over git://. * doc/guix.texi (Continuous Integration): Use https:// in fictitious URLs. --- doc/guix.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 32c98e23c6..663228f00e 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -21377,12 +21377,12 @@ the @code{"custom-packages"} input, which is the equivalent of (#:branch . "master") (#:no-compile? . #t)) ((#:name . "config") - (#:url . "git://git.example.org/config.git") + (#:url . "https://git.example.org/config.git") (#:load-path . ".") (#:branch . "master") (#:no-compile? . #t)) ((#:name . "custom-packages") - (#:url . "git://git.example.org/custom-packages.git") + (#:url . "https://git.example.org/custom-packages.git") (#:load-path . ".") (#:branch . "master") (#:no-compile? . #t))))))) -- cgit v1.2.3 From 7e5e39a72fbe5b8bc832d6b15a94b75c7e28e6b0 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 30 Aug 2019 17:42:51 +0200 Subject: doc: Update GIT-DOWNLOAD @example. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * doc/guix.texi (origin Reference): Use (HTTPS, GNU-hosted) ‘hello’ package repository instead of off-line ‘shadow’ one. --- doc/guix.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 663228f00e..8469aad2b4 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -5565,8 +5565,8 @@ specified in the @code{uri} field as a @code{git-reference} object; a @example (git-reference - (url "git://git.debian.org/git/pkg-shadow/shadow") - (commit "v4.1.5.1")) + (url "https://git.savannah.gnu.org/git/hello.git") + (commit "v2.10")) @end example @end table -- cgit v1.2.3 From 8280e0864abbcdeb14b4ab65cc50a77e3521ab18 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 30 Aug 2019 20:55:58 +0200 Subject: gnu: libusb: Update to 1.0.23. * gnu/packages/libusb.scm (libusb): Update to 1.0.23. --- gnu/packages/libusb.scm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm index 5ef62e47fb..ba90d51130 100644 --- a/gnu/packages/libusb.scm +++ b/gnu/packages/libusb.scm @@ -51,15 +51,15 @@ (define-public libusb (package (name "libusb") - (version "1.0.22") + (version "1.0.23") (source (origin (method url-fetch) - (uri (string-append "mirror://sourceforge/libusb/libusb-1.0/" - "libusb-" version "/libusb-" version ".tar.bz2")) + (uri (string-append "https://github.com/libusb/libusb/" + "releases/download/v" version + "/libusb-" version ".tar.bz2")) (sha256 - (base32 - "0mw1a5ss4alg37m6bd4k44v35xwrcwp5qm4s686q1nsgkbavkbkm")))) + (base32 "13dd2a9x290d1q8nb1lqiaf36grcvns5ripk5k2xm0lajmpc04fv")))) (build-system gnu-build-system) ;; XXX: Enabling udev is now recommended, but eudev indirectly depends on -- cgit v1.2.3 From c9e37fe35391741d0db00c46a0629aff8bf70701 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 30 Aug 2019 20:56:07 +0200 Subject: gnu: libusb-compat: Don't use NAME in source URI. * gnu/packages/libusb.scm (libusb-compat)[source]: Hard-code NAME. --- gnu/packages/libusb.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm index ba90d51130..2018f1b3f4 100644 --- a/gnu/packages/libusb.scm +++ b/gnu/packages/libusb.scm @@ -82,9 +82,9 @@ devices on various operating systems.") (origin (method url-fetch) (uri (string-append "mirror://sourceforge/libusb/" - name "-" (version-major+minor version) "/" - name "-" version "/" - name "-" version ".tar.bz2")) + "libusb-compat-" (version-major+minor version) "/" + "libusb-compat-" version "/" + "libusb-compat-" version ".tar.bz2")) (sha256 (base32 "0nn5icrfm9lkhzw1xjvaks9bq3w6mjg86ggv3fn7kgi4nfvg8kj0")))) -- cgit v1.2.3 From 7ef15fa378d0cc5d14a244f6f53ffe44c682f7c8 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 30 Aug 2019 20:56:23 +0200 Subject: gnu: mpg123: Update to 1.25.12. * gnu/packages/mp3.scm (mpg123): Update to 1.25.12. --- gnu/packages/mp3.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/mp3.scm b/gnu/packages/mp3.scm index 967e299803..a218071edb 100644 --- a/gnu/packages/mp3.scm +++ b/gnu/packages/mp3.scm @@ -305,7 +305,7 @@ This package contains the binary.") (define-public mpg123 (package (name "mpg123") - (version "1.25.10") + (version "1.25.12") (source (origin (method url-fetch) (uri (list (string-append "mirror://sourceforge/mpg123/mpg123/" @@ -315,7 +315,7 @@ This package contains the binary.") version ".tar.bz2"))) (sha256 (base32 - "08vhp8lz7d9ybhxcmkq3adwfryhivfvp0745k4r9kgz4wap3f4vc")))) + "1l9iwwgqzw6yg5zk9pqmlbfyq6d8dqysbmj0j3m8dyrxd34wgzhz")))) (build-system gnu-build-system) (arguments '(#:configure-flags '("--with-default-audio=pulse"))) (native-inputs `(("pkg-config" ,pkg-config))) -- cgit v1.2.3 From 93a16e4d0dacba27d7bdedfb2181b4c150522a66 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 30 Aug 2019 21:12:53 +0200 Subject: gnu: numactl: Update to 2.0.13. * gnu/packages/linux.scm (numactl): Update to 2.0.13. --- gnu/packages/linux.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 0b6a84a90d..0ec5adaf64 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -2313,7 +2313,7 @@ compressed, transparent to other programs, without decompressing them.") (define-public numactl (package (name "numactl") - (version "2.0.12") + (version "2.0.13") (source (origin (method url-fetch) (uri (string-append @@ -2321,7 +2321,7 @@ compressed, transparent to other programs, without decompressing them.") version "/" name "-" version ".tar.gz")) (sha256 (base32 - "0ad7mpi3vacbfnx3aqxnvgsj64yp3mav9yxnaz8ancjv7wvdmfsm")))) + "16lcypvcmx1ydkpi2s82kqhg13kak7qhpbnj8hd9bdbyhr5ja7lr")))) (build-system gnu-build-system) (arguments '(;; There's a 'test' target, but it requires NUMA support in the kernel -- cgit v1.2.3 From 1ec29dff3ab2bcf1cdc637590889c46592e10fe1 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 30 Aug 2019 21:13:00 +0200 Subject: gnu: numactl: Don't use NAME in source URI. * gnu/packages/linux.scm (numactl)[source]: Hard-code NAME. --- gnu/packages/linux.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 0ec5adaf64..0fd532b101 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -2318,7 +2318,7 @@ compressed, transparent to other programs, without decompressing them.") (method url-fetch) (uri (string-append "https://github.com/numactl/numactl/releases/download/v" - version "/" name "-" version ".tar.gz")) + version "/numactl-" version ".tar.gz")) (sha256 (base32 "16lcypvcmx1ydkpi2s82kqhg13kak7qhpbnj8hd9bdbyhr5ja7lr")))) -- cgit v1.2.3 From 5a097cdd5446587511dbee049ad706366c74e5ad Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 31 Aug 2019 03:23:16 +0200 Subject: services: cups: Rename ‘retry-this-job’ to ‘retry-current-job’. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/services/cups.scm (error-policy, cups-configuration): Substitute RETRY-CURRENT-JOB for the obsolete RETRY-THIS-JOB name of this policy. * doc/guix.texi (Printing Services): Likewise. --- doc/guix.texi | 2 +- gnu/services/cups.scm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 8469aad2b4..54c7ea739e 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -14347,7 +14347,7 @@ Defaults to @samp{30}. Specifies what to do when an error occurs. Possible values are @code{abort-job}, which will discard the failed print job; @code{retry-job}, which will retry the job at a later time; -@code{retry-this-job}, which retries the failed job immediately; and +@code{retry-current-job}, which retries the failed job immediately; and @code{stop-printer}, which stops the printer. Defaults to @samp{stop-printer}. diff --git a/gnu/services/cups.scm b/gnu/services/cups.scm index 2105df6ded..c3c6d2f1be 100644 --- a/gnu/services/cups.scm +++ b/gnu/services/cups.scm @@ -139,7 +139,7 @@ (define-enumerated-field-type default-encryption (Never IfRequested Required)) (define-enumerated-field-type error-policy - (abort-job retry-job retry-this-job stop-printer)) + (abort-job retry-job retry-current-job stop-printer)) (define-enumerated-field-type log-level (none emerg alert crit error warn notice info debug debug2)) (define-enumerated-field-type log-time-format @@ -554,7 +554,7 @@ typically within a few milliseconds.") (error-policy 'stop-printer) "Specifies what to do when an error occurs. Possible values are @code{abort-job}, which will discard the failed print job; @code{retry-job}, -which will retry the job at a later time; @code{retry-this-job}, which retries +which will retry the job at a later time; @code{retry-current-job}, which retries the failed job immediately; and @code{stop-printer}, which stops the printer.") (filter-limit -- cgit v1.2.3 From 79d5ac595436c1dd9b288a1789d139bddc503915 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 30 Aug 2019 21:14:04 +0200 Subject: gnu: numactl: Fix typo in & mark up description. * gnu/packages/linux.scm (numactl)[description]: Fix typo & use @command{}. --- gnu/packages/linux.scm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 0fd532b101..e445b743f2 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -2335,14 +2335,14 @@ compressed, transparent to other programs, without decompressing them.") (synopsis "Tools for non-uniform memory access (NUMA) machines") (description "NUMA stands for Non-Uniform Memory Access, in other words a system whose -memory is not all in one place. The numactl program allows you to run your -application program on specific CPU's and memory nodes. It does this by -supplying a NUMA memory policy to the operating system before running your +memory is not all in one place. The @command{numactl} program allows you to +run your application program on specific CPUs and memory nodes. It does this +by supplying a NUMA memory policy to the operating system before running your program. -The package contains other commands, such as numademo, numastat and memhog. -The numademo command provides a quick overview of NUMA performance on your -system.") +The package contains other commands, such as @command{numastat}, +@command{memhog}, and @command{numademo} which provides a quick overview of +NUMA performance on your system.") (license (list license:gpl2 ;programs license:lgpl2.1)))) ;library -- cgit v1.2.3 From f6e82e0b3de5d2b10b206356e111fad76a825ade Mon Sep 17 00:00:00 2001 From: Rutger Helling Date: Sat, 31 Aug 2019 11:02:21 +0200 Subject: gnu: wine-staging: Update to 4.15. * gnu/packages/wine.scm (wine-staging-patchset-data): Update to 4.15. * gnu/packages/wine.scm (wine-staging): Update to 4.15. --- gnu/packages/wine.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/wine.scm b/gnu/packages/wine.scm index 4cf1a3ac4b..3a5def50b1 100644 --- a/gnu/packages/wine.scm +++ b/gnu/packages/wine.scm @@ -318,7 +318,7 @@ integrate Windows applications into your desktop.") (define-public wine-staging-patchset-data (package (name "wine-staging-patchset-data") - (version "4.14") + (version "4.15") (source (origin (method git-fetch) @@ -328,7 +328,7 @@ integrate Windows applications into your desktop.") (file-name (git-file-name name version)) (sha256 (base32 - "1s17hcrp1aa0v99y5iav2s0lxdx2rzgm7z0c4zhxyydqxj399f5j")))) + "13g40h2ybcl6vab4zbl1ksqfqyly5hzxssza9dv8r5pmp8x54hgr")))) (build-system trivial-build-system) (native-inputs `(("bash" ,bash) @@ -374,7 +374,7 @@ integrate Windows applications into your desktop.") (file-name (string-append name "-" version ".tar.xz")) (sha256 (base32 - "1rl1a3k5sr0hyxc61d68kwandhxcnxwv6b77vh7x2rkl1h4nxmfs")))) + "0bfh4vd99zwj7f4108zvs80dfvmmnnsap7i6gmf21jgcly3paygq")))) (inputs `(("autoconf" ,autoconf) ; for autoreconf ("faudio" ,faudio) ("ffmpeg" ,ffmpeg) -- cgit v1.2.3 From 62e42dfa236a14dcf30994602f2841ac16f26c08 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Thu, 29 Aug 2019 21:15:59 -0400 Subject: gnu: Move application packages out of haskell.scm. * gnu/packages/haskell.scm (cabal-install, corrode, cpphs, hlint, hscolour, shellcheck): Move variables from here... * gnu/packages/haskell-apps.scm: ...to here. Co-authored-by: Timothy Sample --- gnu/packages/haskell-apps.scm | 196 ++++++++++++++++++++++++++++++++++++++++++ gnu/packages/haskell.scm | 193 +---------------------------------------- 2 files changed, 197 insertions(+), 192 deletions(-) diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm index e77f6d113b..ecc097ceb6 100644 --- a/gnu/packages/haskell-apps.scm +++ b/gnu/packages/haskell-apps.scm @@ -1,6 +1,9 @@ ;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2015 Siniša Biđin ;;; Copyright © 2015, 2017, 2018 Ricardo Wurmus ;;; Copyright © 2016, 2017, 2018 ng0 +;;; Copyright © 2017 Danny Milosavljevic +;;; Copyright © 2017, 2018 Alex Vong ;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice ;;; Copyright © 2018 Timothy Sample ;;; Copyright © 2018 Arun Isaac @@ -25,6 +28,7 @@ (define-module (gnu packages haskell-apps) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix packages) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system haskell) @@ -42,6 +46,103 @@ #:use-module (gnu packages sdl) #:use-module (gnu packages version-control)) +(define-public cabal-install + (package + (name "cabal-install") + (version "2.2.0.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/cabal-install/cabal-install-" + version + ".tar.gz")) + (sha256 + (base32 "1nd3ch7qr4dpfxhgkcq2lnhvszx2kjgnn1kwb44vk9y5jgfs4mn8")))) + (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing. + (build-system haskell-build-system) + (inputs + `(("ghc-async" ,ghc-async) + ("ghc-base16-bytestring" ,ghc-base16-bytestring) + ("ghc-cryptohash-sha256" ,ghc-cryptohash-sha256) + ("ghc-echo" ,ghc-echo) + ("ghc-edit-distance" ,ghc-edit-distance) + ("ghc-hackage-security" ,ghc-hackage-security) + ("ghc-hashable" ,ghc-hashable) + ("ghc-http" ,ghc-http) + ("ghc-network-uri" ,ghc-network-uri) + ("ghc-network" ,ghc-network) + ("ghc-random" ,ghc-random) + ("ghc-resolv" ,ghc-resolv) + ("ghc-tar" ,ghc-tar) + ("ghc-zlib" ,ghc-zlib))) + (home-page "https://www.haskell.org/cabal/") + (synopsis "Command-line interface for Cabal and Hackage") + (description + "The cabal command-line program simplifies the process of managing +Haskell software by automating the fetching, configuration, compilation and +installation of Haskell libraries and programs.") + (license license:bsd-3))) + +(define-public corrode + (let ((commit "b6699fb2fa552a07c6091276285a44133e5c9789")) + (package + (name "corrode") + (version (string-append "0.0.1-" (string-take commit 7))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jameysharp/corrode.git") + (commit "b6699fb2fa552a07c6091276285a44133e5c9789"))) + (file-name + (string-append name "-" version "-checkout")) + (sha256 + (base32 "02v0yyj6sk4gpg2222wzsdqjxn8w66scbnf6b20x0kbmc69qcz4r")))) + (build-system haskell-build-system) + (inputs + `(("ghc-language-c" ,ghc-language-c) + ("ghc-markdown-unlit" ,ghc-markdown-unlit))) + (home-page "https://github.com/jameysharp/corrode") + (synopsis "Automatic semantics-preserving translation from C to Rust") + (description + "This program reads a C source file and prints an equivalent module in +Rust syntax. It is intended to be useful for two different purposes: + +@enumerate +@item Partial automation for migrating legacy code that was implemented in C. +@item A new, complementary approach to static analysis for C programs. +@end enumerate\n") + (license license:gpl2+)))) + +(define-public cpphs + (package + (name "cpphs") + (version "1.20.8") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/" name "/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "1bh524asqhk9v1s0wvipl0hgn7l63iy3js867yv0z3h5v2kn8vg5")))) + (build-system haskell-build-system) + (inputs + `(("ghc-polyparse" ,ghc-polyparse) + ("ghc-old-locale" ,ghc-old-locale) + ("ghc-old-time" ,ghc-old-time))) + (home-page "http://projects.haskell.org/cpphs/") + (synopsis "Liberalised re-implementation of cpp, the C pre-processor") + (description "Cpphs is a re-implementation of the C pre-processor that is +both more compatible with Haskell, and itself written in Haskell so that it +can be distributed with compilers. This version of the C pre-processor is +pretty-much feature-complete and compatible with traditional (K&R) +pre-processors. Additional features include: a plain-text mode; an option to +unlit literate code files; and an option to turn off macro-expansion.") + (license (list license:lgpl2.1+ license:gpl3+)))) + ;; Darcs has no https support: http://irclog.perlgeek.de/darcs/2016-09-17 ;; http://darcs.net/manual/Configuring_darcs.html#SECTION00440070000000000000 ;; and results of search engines will show that if the protocol is http, https @@ -364,6 +465,66 @@ programming.") @code{SDL2_image}.") (license license:expat))) +(define-public hlint + (package + (name "hlint") + (version "2.1.10") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/" name + "/" name "-" version ".tar.gz")) + (sha256 + (base32 + "19as2m9g75cr6n1agzvsij0cvqhb0wbjlk31w4y5d5mns87dki0w")))) + (build-system haskell-build-system) + (inputs + `(("cpphs" ,cpphs) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-yaml" ,ghc-yaml) + ("ghc-vector" ,ghc-vector) + ("ghc-data-default" ,ghc-data-default) + ("ghc-cmdargs" ,ghc-cmdargs) + ("ghc-haskell-src-exts" ,ghc-haskell-src-exts) + ("ghc-haskell-src-exts-util" ,ghc-haskell-src-exts-util) + ("ghc-uniplate" ,ghc-uniplate) + ("ghc-ansi-terminal" ,ghc-ansi-terminal) + ("ghc-extra" ,ghc-extra) + ("ghc-refact" ,ghc-refact) + ("ghc-aeson" ,ghc-aeson) + ("hscolour" ,hscolour))) + (home-page "http://community.haskell.org/~ndm/hlint/") + (synopsis "Suggest improvements for Haskell source code") + (description "HLint reads Haskell programs and suggests changes that +hopefully make them easier to read. HLint also makes it easy to disable +unwanted suggestions, and to add your own custom suggestions.") + (license license:bsd-3))) + +(define-public hscolour + (package + (name "hscolour") + (version "1.24.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/hscolour/hscolour-" + version + ".tar.gz")) + (sha256 + (base32 + "079jwph4bwllfp03yfr26s5zc6m6kw3nhb1cggrifh99haq34cr4")))) + (build-system haskell-build-system) + (home-page "https://hackage.haskell.org/package/hscolour") + (synopsis "Script to colourise Haskell code") + (description "HSColour is a small Haskell script to colourise Haskell +code. It currently has six output formats: ANSI terminal codes (optionally +XTerm-256colour codes), HTML 3.2 with font tags, HTML 4.01 with CSS, HTML 4.01 +with CSS and mouseover annotations, XHTML 1.0 with inline CSS styling, LaTeX, +and mIRC chat codes.") + (license license:bsd-3))) + (define-public raincat (package (name "raincat") @@ -405,3 +566,38 @@ play inspired from classics Lemmings and The Incredible Machine. The project proved to be an excellent learning experience for the programmers. Everything is programmed in Haskell.") (license license:bsd-3))) + +(define-public shellcheck + (package + (name "shellcheck") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/ShellCheck/ShellCheck-" + version ".tar.gz")) + (sha256 + (base32 "1vx895cp5k5h0680xfwj74lk97m9y627n965x6srds0gfnbkzy9s")) + (file-name (string-append name "-" version ".tar.gz")))) + (build-system haskell-build-system) + (inputs + `(("ghc-aeson" ,ghc-aeson) + ("ghc-diff" ,ghc-diff) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-regex-tdfa" ,ghc-regex-tdfa))) + (home-page "https://github.com/koalaman/shellcheck") + (synopsis "Static analysis for shell scripts") + (description "@code{shellcheck} provides static analysis for +@command{bash} and @command{sh} shell scripts. +It gives warnings and suggestions in order to: + +@enumerate +@item Point out and clarify typical beginner's syntax issues that cause +a shell to give cryptic error messages. +@item Point out and clarify typical intermediate level semantic problems +that cause a shell to behave strangely and counter-intuitively. +@item Point out subtle caveats, corner cases and pitfalls that may cause an +advanced user's otherwise working script to fail under future circumstances. +@end enumerate") + (license license:gpl3+))) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index b544190895..06d3d8afd7 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -48,6 +48,7 @@ #:use-module (gnu packages gl) #:use-module (gnu packages graphviz) #:use-module (gnu packages gtk) + #:use-module (gnu packages haskell-apps) #:use-module (gnu packages haskell-check) #:use-module (gnu packages haskell-crypto) #:use-module (gnu packages haskell-web) @@ -1493,42 +1494,6 @@ patterns as per the HaRP extension as well as HSX-style embedded XML syntax.") specify refactorings without depending on GHC.") (license license:bsd-3))) -(define-public hlint - (package - (name "hlint") - (version "2.1.10") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/" name - "/" name "-" version ".tar.gz")) - (sha256 - (base32 - "19as2m9g75cr6n1agzvsij0cvqhb0wbjlk31w4y5d5mns87dki0w")))) - (build-system haskell-build-system) - (inputs - `(("cpphs" ,cpphs) - ("ghc-unordered-containers" ,ghc-unordered-containers) - ("ghc-yaml" ,ghc-yaml) - ("ghc-vector" ,ghc-vector) - ("ghc-data-default" ,ghc-data-default) - ("ghc-cmdargs" ,ghc-cmdargs) - ("ghc-haskell-src-exts" ,ghc-haskell-src-exts) - ("ghc-haskell-src-exts-util" ,ghc-haskell-src-exts-util) - ("ghc-uniplate" ,ghc-uniplate) - ("ghc-ansi-terminal" ,ghc-ansi-terminal) - ("ghc-extra" ,ghc-extra) - ("ghc-refact" ,ghc-refact) - ("ghc-aeson" ,ghc-aeson) - ("hscolour" ,hscolour))) - (home-page "http://community.haskell.org/~ndm/hlint/") - (synopsis "Suggest improvements for Haskell source code") - (description "HLint reads Haskell programs and suggests changes that -hopefully make them easier to read. HLint also makes it easy to disable -unwanted suggestions, and to add your own custom suggestions.") - (license license:bsd-3))) - (define-public ghc-resourcet (package (name "ghc-resourcet") @@ -1852,34 +1817,6 @@ needed by various Haskell streaming data libraries, such as @code{conduit} and @code{pipe}s.") (license license:expat))) -(define-public cpphs - (package - (name "cpphs") - (version "1.20.8") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/" name "/" - name "-" version ".tar.gz")) - (sha256 - (base32 - "1bh524asqhk9v1s0wvipl0hgn7l63iy3js867yv0z3h5v2kn8vg5")))) - (build-system haskell-build-system) - (inputs - `(("ghc-polyparse" ,ghc-polyparse) - ("ghc-old-locale" ,ghc-old-locale) - ("ghc-old-time" ,ghc-old-time))) - (home-page "http://projects.haskell.org/cpphs/") - (synopsis "Liberalised re-implementation of cpp, the C pre-processor") - (description "Cpphs is a re-implementation of the C pre-processor that is -both more compatible with Haskell, and itself written in Haskell so that it -can be distributed with compilers. This version of the C pre-processor is -pretty-much feature-complete and compatible with traditional (K&R) -pre-processors. Additional features include: a plain-text mode; an option to -unlit literate code files; and an option to turn off macro-expansion.") - (license (list license:lgpl2.1+ license:gpl3+)))) - (define-public ghc-reflection (package (name "ghc-reflection") @@ -2124,44 +2061,6 @@ API is often available directly via the standard @code{libc} C library) on Unix systems.") (license license:gpl3))) -(define-public cabal-install - (package - (name "cabal-install") - (version "2.2.0.0") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/cabal-install/cabal-install-" - version - ".tar.gz")) - (sha256 - (base32 "1nd3ch7qr4dpfxhgkcq2lnhvszx2kjgnn1kwb44vk9y5jgfs4mn8")))) - (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing. - (build-system haskell-build-system) - (inputs - `(("ghc-async" ,ghc-async) - ("ghc-base16-bytestring" ,ghc-base16-bytestring) - ("ghc-cryptohash-sha256" ,ghc-cryptohash-sha256) - ("ghc-echo" ,ghc-echo) - ("ghc-edit-distance" ,ghc-edit-distance) - ("ghc-hackage-security" ,ghc-hackage-security) - ("ghc-hashable" ,ghc-hashable) - ("ghc-http" ,ghc-http) - ("ghc-network-uri" ,ghc-network-uri) - ("ghc-network" ,ghc-network) - ("ghc-random" ,ghc-random) - ("ghc-resolv" ,ghc-resolv) - ("ghc-tar" ,ghc-tar) - ("ghc-zlib" ,ghc-zlib))) - (home-page "https://www.haskell.org/cabal/") - (synopsis "Command-line interface for Cabal and Hackage") - (description - "The cabal command-line program simplifies the process of managing -Haskell software by automating the fetching, configuration, compilation and -installation of Haskell libraries and programs.") - (license license:bsd-3))) - (define-public cabal-doctest (package (name "cabal-doctest") @@ -3264,30 +3163,6 @@ parser isolation, and labeled blocks for better error messages.") (description "This library provides @code{Comonad}s for Haskell.") (license license:bsd-3))) -(define-public hscolour - (package - (name "hscolour") - (version "1.24.4") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/hscolour/hscolour-" - version - ".tar.gz")) - (sha256 - (base32 - "079jwph4bwllfp03yfr26s5zc6m6kw3nhb1cggrifh99haq34cr4")))) - (build-system haskell-build-system) - (home-page "https://hackage.haskell.org/package/hscolour") - (synopsis "Script to colourise Haskell code") - (description "HSColour is a small Haskell script to colourise Haskell -code. It currently has six output formats: ANSI terminal codes (optionally -XTerm-256colour codes), HTML 3.2 with font tags, HTML 4.01 with CSS, HTML 4.01 -with CSS and mouseover annotations, XHTML 1.0 with inline CSS styling, LaTeX, -and mIRC chat codes.") - (license license:bsd-3))) - (define-public ghc-polyparse (package (name "ghc-polyparse") @@ -8159,37 +8034,6 @@ and a large set of GNU extensions.") same time is a literate Haskell program.") (license license:expat))) -(define-public corrode - (let ((commit "b6699fb2fa552a07c6091276285a44133e5c9789")) - (package - (name "corrode") - (version (string-append "0.0.1-" (string-take commit 7))) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/jameysharp/corrode.git") - (commit "b6699fb2fa552a07c6091276285a44133e5c9789"))) - (file-name - (string-append name "-" version "-checkout")) - (sha256 - (base32 "02v0yyj6sk4gpg2222wzsdqjxn8w66scbnf6b20x0kbmc69qcz4r")))) - (build-system haskell-build-system) - (inputs - `(("ghc-language-c" ,ghc-language-c) - ("ghc-markdown-unlit" ,ghc-markdown-unlit))) - (home-page "https://github.com/jameysharp/corrode") - (synopsis "Automatic semantics-preserving translation from C to Rust") - (description - "This program reads a C source file and prints an equivalent module in -Rust syntax. It is intended to be useful for two different purposes: - -@enumerate -@item Partial automation for migrating legacy code that was implemented in C. -@item A new, complementary approach to static analysis for C programs. -@end enumerate\n") - (license license:gpl2+)))) - (define-public ghc-wave (package (name "ghc-wave") @@ -8358,41 +8202,6 @@ to learn new concepts, just new syntax, and it's fairly easy to predict the generated SQL and optimize it for your backend.") (license license:bsd-3)))) -(define-public shellcheck - (package - (name "shellcheck") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/ShellCheck/ShellCheck-" - version ".tar.gz")) - (sha256 - (base32 "1vx895cp5k5h0680xfwj74lk97m9y627n965x6srds0gfnbkzy9s")) - (file-name (string-append name "-" version ".tar.gz")))) - (build-system haskell-build-system) - (inputs - `(("ghc-aeson" ,ghc-aeson) - ("ghc-diff" ,ghc-diff) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-regex-tdfa" ,ghc-regex-tdfa))) - (home-page "https://github.com/koalaman/shellcheck") - (synopsis "Static analysis for shell scripts") - (description "@code{shellcheck} provides static analysis for -@command{bash} and @command{sh} shell scripts. -It gives warnings and suggestions in order to: - -@enumerate -@item Point out and clarify typical beginner's syntax issues that cause -a shell to give cryptic error messages. -@item Point out and clarify typical intermediate level semantic problems -that cause a shell to behave strangely and counter-intuitively. -@item Point out subtle caveats, corner cases and pitfalls that may cause an -advanced user's otherwise working script to fail under future circumstances. -@end enumerate") - (license license:gpl3+))) - (define-public ghc-simple-sendfile (package (name "ghc-simple-sendfile") -- cgit v1.2.3 From 1ba35ab7237851c740400ece0f62d455d967a2c0 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Thu, 29 Aug 2019 21:29:12 -0400 Subject: gnu: cabal-doctest: Move to haskell-check.scm. * gnu/packages/haskell.scm (cabal-doctest): Move variable from here... * gnu/packages/haskell-check.scm: ...to here. Co-authored-by: Timothy Sample --- gnu/packages/haskell-check.scm | 25 +++++++++++++++++++++++++ gnu/packages/haskell.scm | 25 ------------------------- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/gnu/packages/haskell-check.scm b/gnu/packages/haskell-check.scm index 589eee74d9..1a32382281 100644 --- a/gnu/packages/haskell-check.scm +++ b/gnu/packages/haskell-check.scm @@ -837,3 +837,28 @@ of generated values by construction. To get started quickly, see the examples: @uref{https://github.com/hedgehogqa/haskell-hedgehog/tree/master/hedgehog-example}") (license license:bsd-3))) + +(define-public cabal-doctest + (package + (name "cabal-doctest") + (version "1.0.6") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "cabal-doctest/cabal-doctest-" + version ".tar.gz")) + (sha256 + (base32 + "0bgd4jdmzxq5y465r4sf4jv2ix73yvblnr4c9wyazazafddamjny")))) + (build-system haskell-build-system) + (arguments + `(#:cabal-revision + ("1" "1bk85avgc93yvcggwbk01fy8nvg6753wgmaanhkry0hz55h7mpld"))) + (home-page "https://github.com/phadej/cabal-doctest") + (synopsis "Setup.hs helper for running doctests") + (description + "To properly work, the @code{doctest} package needs plenty of +configuration. This library provides the common bits for writing custom +@file{Setup.hs} files.") + (license license:bsd-3))) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 06d3d8afd7..cffa7e8ed7 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -2061,31 +2061,6 @@ API is often available directly via the standard @code{libc} C library) on Unix systems.") (license license:gpl3))) -(define-public cabal-doctest - (package - (name "cabal-doctest") - (version "1.0.6") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "cabal-doctest/cabal-doctest-" - version ".tar.gz")) - (sha256 - (base32 - "0bgd4jdmzxq5y465r4sf4jv2ix73yvblnr4c9wyazazafddamjny")))) - (build-system haskell-build-system) - (arguments - `(#:cabal-revision - ("1" "1bk85avgc93yvcggwbk01fy8nvg6753wgmaanhkry0hz55h7mpld"))) - (home-page "https://github.com/phadej/cabal-doctest") - (synopsis "Setup.hs helper for running doctests") - (description - "To properly work, the @code{doctest} package needs plenty of -configuration. This library provides the common bits for writing custom -@file{Setup.hs} files.") - (license license:bsd-3))) - (define-public ghc-parsec-numbers (package (name "ghc-parsec-numbers") -- cgit v1.2.3 From dddbc90c648a569ed3f6dcf8678cb94e63a8302f Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Thu, 29 Aug 2019 21:56:35 -0400 Subject: gnu: Move non-compilers out of haskell.scm. * gnu/packages/haskell.scm (ghc-abstract-deque, ghc-abstract-par, ghc-adjunctions, ghc-aeson-compat, ghc-alex, ghc-alsa-core, ghc-annotated-wl-pprint, ghc-ansi-terminal, ghc-ansi-wl-pprint, ghc-appar, ghc-async, ghc-atomic-write, ghc-attoparsec, ghc-attoparsec-bootstrap, ghc-attoparsec-iso8601, ghc-auto-update, ghc-aws, ghc-base16-bytestring, ghc-base64-bytestring, ghc-base-compat, ghc-basement, ghc-base-orphans, ghc-base-prelude, ghc-base-unicode-symbols, ghc-bifunctors, ghc-bindings-dsl, ghc-blaze-builder, ghc-blaze-markup, ghc-bloomfilter, ghc-boxes, ghc-byteable, ghc-byteorder, ghc-bytes, ghc-bytestring-builder, ghc-bytestring-handle, ghc-bytestring-lexing, ghc-bzlib-conduit, ghc-c2hs, ghc-cairo, ghc-call-stack, ghc-call-stack-boot, ghc-case-insensitive, ghc-cereal, ghc-cereal-conduit, ghc-cgi, ghc-charset, ghc-chart, ghc-chart-cairo, ghc-chasingbottoms, ghc-cheapskate, ghc-chell, ghc-chell-quickcheck, ghc-chunked-data, ghc-clock, ghc-clock-bootstrap, ghc-cmark, ghc-cmark-gfm, ghc-cmdargs, ghc-code-page, ghc-colour, ghc-comonad, ghc-concatenative, ghc-concurrent-output, ghc-conduit, ghc-conduit-algorithms, ghc-conduit-combinators, ghc-conduit-extra, ghc-configurator, ghc-connection, ghc-constraints, ghc-contravariant, ghc-contravariant-extras, ghc-convertible, ghc-data-accessor, ghc-data-accessor-transformers, ghc-data-default, ghc-data-default-class, ghc-data-default-instances-base, ghc-data-default-instances-containers, ghc-data-default-instances-dlist, ghc-data-default-instances-old-locale, ghc-data-hash, ghc-data-ordlist, ghc-deepseq-generics, ghc-descriptive, ghc-diff, ghc-disk-free-space, ghc-distributive, ghc-dlist, ghc-doctemplates, ghc-doctest, ghc-double-conversion, ghc-easy-file, ghc-easyplot, ghc-echo, ghc-edisonapi, ghc-edisoncore, ghc-edit-distance, ghc-either, ghc-email-validate, ghc-enclosed-exceptions, ghc-equivalence, ghc-erf, ghc-errorcall-eq-instance, ghc-errors, ghc-esqueleto, ghc-exactprint, ghc-exceptions, ghc-executable-path, ghc-extensible-exceptions, ghc-extra, ghc-fail, ghc-fast-logger, ghc-feed, ghc-fgl, ghc-fgl-arbitrary, ghc-file-embed, ghc-filemanip, ghc-findbin, ghc-fingertree, ghc-fixed, ghc-foldl, ghc-foundation, ghc-free, ghc-fsnotify, ghc-generic-deriving, ghc-generics-sop, ghc-geniplate-mirror, ghc-genvalidity, ghc-genvalidity-property, ghc-gitrev, ghc-glob, ghc-gluraw, ghc-glut, ghc-gnuplot, ghc-graphviz, ghc-gtk2hs-buildtools, ghc-hackage-security, ghc-haddock, ghc-haddock-api, ghc-haddock-library, ghc-half, ghc-happy, ghc-hashable, ghc-hashable-bootstrap, ghc-hashable-time, ghc-hashtables, ghc-haskell-lexer, ghc-haskell-src, ghc-haskell-src-exts, ghc-haskell-src-exts-util, ghc-haskell-src-meta, ghc-hasktags, ghc-hex, ghc-highlighting-kate, ghc-hindent, ghc-hinotify, ghc-hmatrix, ghc-hmatrix-gsl, ghc-hmatrix-gsl-stats, ghc-hmatrix-special, ghc-hostname, ghc-hourglass, ghc-hpack, ghc-hs-bibutils, ghc-hslogger, ghc-hslua, ghc-hslua-module-text, ghc-http-api-data, ghc-ieee754, ghc-ifelse, ghc-indents, ghc-inline-c, ghc-inline-c-cpp, ghc-integer-logarithms, ghc-integer-logarithms-bootstrap, ghc-interpolate, ghc-intervalmap, ghc-invariant, ghc-iproute, ghc-iwlib, ghc-json, ghc-juicypixels, ghc-kan-extensions, ghc-language-c, ghc-language-haskell-extract, ghc-lens, ghc-libffi, ghc-libmpd, ghc-libxml, ghc-lifted-async, ghc-lifted-base, ghc-linear, ghc-logging-facade, ghc-logict, ghc-lzma, ghc-lzma-conduit, ghc-markdown-unlit, ghc-math-functions, ghc-megaparsec, ghc-memory, ghc-memotrie, ghc-microlens, ghc-microlens-ghc, ghc-microlens-mtl, ghc-microlens-platform, ghc-microlens-th, ghc-missingh, ghc-mmap, ghc-mmorph, ghc-mockery, ghc-monad-control, ghc-monad-logger, ghc-monad-loops, ghc-monad-par, ghc-monad-par-extras, ghc-monadplus, ghc-monadrandom, ghc-monads-tf, ghc-mono-traversable, ghc-murmur-hash, ghc-mwc-random, ghc-nats, ghc-nats-bootstrap, ghc-network, ghc-network-info, ghc-network-uri, ghc-newtype-generics, ghc-objectname, ghc-old-locale, ghc-old-time, ghc-opengl, ghc-openglraw, ghc-operational, ghc-options, ghc-optparse-applicative, ghc-pandoc, ghc-pandoc-citeproc, ghc-pandoc-types, ghc-parallel, ghc-parsec-numbers, ghc-parser-combinators, ghc-parsers, ghc-path, ghc-path-io, ghc-paths, ghc-patience, ghc-pcre-light, ghc-persistent, ghc-persistent-sqlite, ghc-persistent-template, ghc-polyparse, ghc-pqueue, ghc-prelude-extras, ghc-pretty-hex, ghc-pretty-show, ghc-primitive, ghc-profunctors, ghc-psqueues, ghc-random, ghc-raw-strings-qq, ghc-rebase, ghc-reducers, ghc-refact, ghc-reflection, ghc-regex, ghc-regex-applicative, ghc-regex-base, ghc-regex-compat, ghc-regex-compat-tdfa, ghc-regex-pcre-builtin, ghc-regex-posix, ghc-regex-tdfa, ghc-regex-tdfa-text, ghc-rerebase, ghc-resolv, ghc-resource-pool, ghc-resourcet, ghc-rfc5051, ghc-rio, ghc-safe, ghc-safe-exceptions, ghc-safeio, ghc-safesemaphore, ghc-sandi, ghc-scientific, ghc-scientific-bootstrap, ghc-sdl, ghc-sdl-image, ghc-sdl-mixer, ghc-securemem, ghc-semigroupoids, ghc-semigroups, ghc-semigroups-bootstrap, ghc-setenv, ghc-setlocale, ghc-shakespeare, ghc-shelly, ghc-silently, ghc-simple-reflect, ghc-simple-sendfile, ghc-skylighting-core, ghc-skylighting, ghc-smallcheck, ghc-socks, ghc-split, ghc-statevar, ghc-statistics, ghc-stm-chans, ghc-stm-conduit, ghc-stmonadtrans, ghc-storable-complex, ghc-streaming-commons, ghc-strict, ghc-stringbuilder, ghc-string-qq, ghc-stringsearch, ghc-stylish-haskell, ghc-syb, ghc-system-fileio, ghc-system-filepath, ghc-tagged, ghc-tar, ghc-temporary, ghc-temporary-rc, ghc-terminal-size, ghc-texmath, ghc-text-binary, ghc-tf-random, ghc-th-abstraction, ghc-th-expand-syns, ghc-th-lift, ghc-th-lift-instances, ghc-th-orphans, ghc-th-reify-many, ghc-time-locale-compat, ghc-tldr, ghc-transformers-base, ghc-transformers-compat, ghc-tree-diff, ghc-trifecta, ghc-tuple-th, ghc-typed-process, ghc-unbounded-delays, ghc-unexceptionalio, ghc-union-find, ghc-uniplate, ghc-unix-compat, ghc-unix-time, ghc-unliftio, ghc-unliftio-core, ghc-unordered-containers, ghc-unordered-containers-bootstrap, ghc-uri-bytestring, ghc-utf8-string, ghc-utility-ht, ghc-uuid, ghc-uuid-types, ghc-validation, ghc-validity, ghc-vault, ghc-vector, ghc-vector-algorithms, ghc-vector-binary-instances, ghc-vector-builder, ghc-vector-th-unbox, ghc-void, ghc-wave, ghc-wcwidth, ghc-wcwidth-bootstrap, ghc-weigh, ghc-wl-pprint, ghc-wl-pprint-annotated, ghc-wl-pprint-text, ghc-word8, ghc-x11, ghc-x11-xft, ghc-xdg-basedir, ghc-xml, ghc-xml-conduit, ghc-xml-types, ghc-yaml, ghc-zip-archive, ghc-zlib): Move variables from here... * gnu/packages/haskell-xyz.scm: ...to here. * gnu/packages/agda.scm, gnu/packages/bioconductor.scm, gnu/packages/bioinformatics.scm, gnu/packages/cran.scm, gnu/packages/emacs-xyz.scm, gnu/packages/games.scm, gnu/packages/graphics.scm, gnu/packages/haskell-apps.scm, gnu/packages/haskell-check.scm, gnu/packages/idris.scm, gnu/packages/statistics.scm, gnu/packages/wm.scm: Update module references. Co-authored-by: Timothy Sample --- gnu/packages/agda.scm | 2 +- gnu/packages/bioconductor.scm | 2 +- gnu/packages/bioinformatics.scm | 2 +- gnu/packages/cran.scm | 2 +- gnu/packages/emacs-xyz.scm | 2 +- gnu/packages/games.scm | 1 + gnu/packages/graphics.scm | 2 +- gnu/packages/haskell-apps.scm | 1 + gnu/packages/haskell-check.scm | 2 +- gnu/packages/haskell-xyz.scm | 11371 +++++++++++++++++++++++++++++++++++++- gnu/packages/haskell.scm | 11076 +------------------------------------ gnu/packages/idris.scm | 2 +- gnu/packages/statistics.scm | 2 +- gnu/packages/wm.scm | 2 +- 14 files changed, 11246 insertions(+), 11223 deletions(-) diff --git a/gnu/packages/agda.scm b/gnu/packages/agda.scm index c085bfac2e..931f1e8ef7 100644 --- a/gnu/packages/agda.scm +++ b/gnu/packages/agda.scm @@ -22,9 +22,9 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages agda) - #:use-module (gnu packages haskell) #:use-module (gnu packages haskell-check) #:use-module (gnu packages haskell-web) + #:use-module (gnu packages haskell-xyz) #:use-module (guix build-system emacs) #:use-module (guix build-system gnu) #:use-module (guix build-system haskell) diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm index b7bc58d507..89aea8d9c0 100644 --- a/gnu/packages/bioconductor.scm +++ b/gnu/packages/bioconductor.scm @@ -31,7 +31,7 @@ #:use-module (gnu packages compression) #:use-module (gnu packages gcc) #:use-module (gnu packages graph) - #:use-module (gnu packages haskell) + #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages image) #:use-module (gnu packages maths) #:use-module (gnu packages netpbm) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 62f368c139..779a972520 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -77,9 +77,9 @@ #:use-module (gnu packages groff) #:use-module (gnu packages guile) #:use-module (gnu packages guile-xyz) - #:use-module (gnu packages haskell) #:use-module (gnu packages haskell-check) #:use-module (gnu packages haskell-web) + #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages image) #:use-module (gnu packages imagemagick) #:use-module (gnu packages java) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 458b141f91..6ba7c295cf 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -53,7 +53,7 @@ #:use-module (gnu packages gnome) #:use-module (gnu packages graph) #:use-module (gnu packages gtk) - #:use-module (gnu packages haskell) + #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages icu4c) #:use-module (gnu packages image) #:use-module (gnu packages imagemagick) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 9e94d3fc8e..6af5d43c27 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -137,7 +137,7 @@ #:use-module (gnu packages sqlite) #:use-module (gnu packages gnupg) #:use-module (gnu packages video) - #:use-module (gnu packages haskell) + #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages wordnet) #:use-module (guix utils) #:use-module (srfi srfi-1) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 870becc50b..f9d7331f5b 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -112,6 +112,7 @@ #:use-module (gnu packages guile) #:use-module (gnu packages haskell) #:use-module (gnu packages haskell-crypto) + #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages icu4c) #:use-module (gnu packages image) #:use-module (gnu packages imagemagick) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index ee56dae54e..b06a369325 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -49,7 +49,7 @@ #:use-module (gnu packages gnome) #:use-module (gnu packages graphviz) #:use-module (gnu packages gtk) - #:use-module (gnu packages haskell) + #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages image) #:use-module (gnu packages imagemagick) #:use-module (gnu packages jemalloc) diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm index ecc097ceb6..df8417ce3f 100644 --- a/gnu/packages/haskell-apps.scm +++ b/gnu/packages/haskell-apps.scm @@ -39,6 +39,7 @@ #:use-module (gnu packages haskell-check) #:use-module (gnu packages haskell-crypto) #:use-module (gnu packages haskell-web) + #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages ncurses) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) diff --git a/gnu/packages/haskell-check.scm b/gnu/packages/haskell-check.scm index 1a32382281..e0951d489c 100644 --- a/gnu/packages/haskell-check.scm +++ b/gnu/packages/haskell-check.scm @@ -28,8 +28,8 @@ (define-module (gnu packages haskell-check) #:use-module (gnu packages) - #:use-module (gnu packages haskell) #:use-module (gnu packages haskell-crypto) + #:use-module (gnu packages haskell-xyz) #:use-module (guix build-system haskell) #:use-module (guix download) #:use-module ((guix licenses) #:prefix license:) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 53c4dcc5ff..46e5153906 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -1,5 +1,24 @@ ;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2015, 2016 Federico Beffa +;;; Copyright © 2015 Siniša Biđin +;;; Copyright © 2015 Paul van der Walt +;;; Copyright © 2015, 2019 Eric Bavier +;;; Copyright © 2016, 2018, 2019 Ludovic Courtès +;;; Copyright © 2016, 2017 ng0 +;;; Copyright © 2016 Efraim Flashner +;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus +;;; Copyright © 2016, 2017 David Craven +;;; Copyright © 2017 Danny Milosavljevic +;;; Copyright © 2017 Peter Mikkelsen +;;; Copyright © 2017, 2018 Alex Vong +;;; Copyright © 2017 rsiddharth +;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice +;;; Copyright © 2018 Tonton +;;; Copyright © 2018, 2019 Timothy Sample +;;; Copyright © 2018 Arun Isaac +;;; Copyright © 2018, 2019 Gabriel Hondet ;;; Copyright © 2019 Robert Vollmert +;;; Copyright © 2019 Jacob MacDonald ;;; ;;; This file is part of GNU Guix. ;;; @@ -18,234 +37,11310 @@ (define-module (gnu packages haskell-xyz) #:use-module (gnu packages) - #:use-module (gnu packages haskell) + #:use-module (gnu packages base) + #:use-module (gnu packages compression) + #:use-module (gnu packages emacs) + #:use-module (gnu packages gcc) + #:use-module (gnu packages gl) + #:use-module (gnu packages graphviz) + #:use-module (gnu packages gtk) + #:use-module (gnu packages haskell-apps) #:use-module (gnu packages haskell-check) + #:use-module (gnu packages haskell-crypto) + #:use-module (gnu packages haskell-web) + #:use-module (gnu packages libffi) + #:use-module (gnu packages linux) + #:use-module (gnu packages lua) + #:use-module (gnu packages maths) + #:use-module (gnu packages pcre) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages sdl) + #:use-module (gnu packages xml) + #:use-module (gnu packages xorg) #:use-module (guix build-system haskell) #:use-module (guix download) + #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages)) -(define-public ghc-concurrent-extra +(define-public ghc-abstract-deque (package - (name "ghc-concurrent-extra") - (version "0.7.0.12") + (name "ghc-abstract-deque") + (version "0.3") (source (origin (method url-fetch) (uri (string-append "https://hackage.haskell.org/package/" - "concurrent-extra/concurrent-extra-" - version ".tar.gz")) + "abstract-deque-" version "/" + "abstract-deque-" version ".tar.gz")) (sha256 (base32 - "1y8xk460fvnw0idzdiylmm874sjny4q9jxb1js9fjz8lw2wns3h4")))) + "18jwswjxwzc9bjiy4ds6hw2a74ki797jmfcifxd2ga4kh7ri1ah9")))) (build-system haskell-build-system) - (arguments - ;; XXX: The ReadWriteLock 'stressTest' fails. - `(#:tests? #f)) - (inputs - `(("ghc-unbounded-delays" ,ghc-unbounded-delays))) - (native-inputs - `(("ghc-async" ,ghc-async) - ("ghc-hunit" ,ghc-hunit) - ("ghc-random" ,ghc-random) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) - (home-page "https://github.com/basvandijk/concurrent-extra") - (synopsis "Extra concurrency primitives") - (description "This Haskell library offers (among other things) the -following selection of synchronisation primitives: + (inputs `(("ghc-random" ,ghc-random))) + (home-page "https://github.com/rrnewton/haskell-lockfree/wiki") + (synopsis "Abstract, parameterized interface to mutable Deques for Haskell") + (description "This Haskell package provides an abstract interface to +highly-parameterizable queues/deques. + +Background: There exists a feature space for queues that extends between: @itemize -@item @code{Broadcast}: Wake multiple threads by broadcasting a value. -@item @code{Event}: Wake multiple threads by signalling an event. -@item @code{Lock}: Enforce exclusive access to a resource. Also known -as a binary semaphore or mutex. The package additionally provides an -alternative that works in the STM monad. -@item @code{RLock}: A lock which can be acquired multiple times by the -same thread. Also known as a reentrant mutex. -@item @code{ReadWriteLock}: Multiple-reader, single-writer locks. Used -to protect shared resources which may be concurrently read, but only -sequentially written. -@item @code{ReadWriteVar}: Concurrent read, sequential write variables. +@item Simple, single-ended, non-concurrent, bounded queues + +@item Double-ended, thread-safe, growable queues with important points +in between (such as the queues used for work stealing). @end itemize -Please consult the API documentation of the individual modules for more -detailed information. +This package includes an interface for Deques that allows the programmer +to use a single API for all of the above, while using the type system to +select an efficient implementation given the requirements (using type families). -This package was inspired by the concurrency libraries of Java and -Python.") +This package also includes a simple reference implementation based on +@code{IORef} and @code{Data.Sequence}.") (license license:bsd-3))) -(define-public ghc-io-streams +(define-public ghc-abstract-par (package - (name "ghc-io-streams") - (version "1.5.0.1") + (name "ghc-abstract-par") + (version "0.3.3") (source (origin (method url-fetch) (uri (string-append "https://hackage.haskell.org/package/" - "io-streams/io-streams-" version ".tar.gz")) + "abstract-par-" version "/" + "abstract-par-" version ".tar.gz")) (sha256 (base32 - "12rcdg2d70644bvn838fxcjkssqj8pssnx5y657si5rijcbkgjsx")))) + "0q6qsniw4wks2pw6wzncb1p1j3k6al5njnvm2v5n494hplwqg2i4")))) + (build-system haskell-build-system) + (home-page "https://github.com/simonmar/monad-par") + (synopsis "Abstract parallelization interface for Haskell") + (description "This Haskell package is an abstract interface +only. It provides a number of type clasess, but not an +implementation. The type classes separate different levels +of @code{Par} functionality. See the @code{Control.Monad.Par.Class} +module for more details.") + (license license:bsd-3))) + +(define-public ghc-adjunctions + (package + (name "ghc-adjunctions") + (version "4.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/adjunctions/adjunctions-" + version + ".tar.gz")) + (sha256 + (base32 + "1sbal7cbhm12crfnfhkk322jnzgx7lhw3jzq0p463bipagsjwz2h")))) (build-system haskell-build-system) (inputs - `(("ghc-attoparsec" ,ghc-attoparsec) - ("ghc-bytestring-builder" ,ghc-bytestring-builder) - ("ghc-network" ,ghc-network) - ("ghc-primitive" ,ghc-primitive) - ("ghc-vector" ,ghc-vector) - ("ghc-zlib-bindings" ,ghc-zlib-bindings))) + `(("ghc-profunctors" ,ghc-profunctors) + ("ghc-comonad" ,ghc-comonad) + ("ghc-contravariant" ,ghc-contravariant) + ("ghc-distributive" ,ghc-distributive) + ("ghc-free" ,ghc-free) + ("ghc-tagged" ,ghc-tagged) + ("ghc-semigroupoids" ,ghc-semigroupoids) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-transformers-compat" ,ghc-transformers-compat) + ("ghc-void" ,ghc-void))) (native-inputs - `(("ghc-hunit" ,ghc-hunit) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) - ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) - ("ghc-zlib" ,ghc-zlib))) + `(("ghc-generic-deriving" ,ghc-generic-deriving) + ("ghc-hspec" ,ghc-hspec) + ("hspec-discover" ,hspec-discover))) + (home-page "https://github.com/ekmett/adjunctions/") + (synopsis "Adjunctions and representable functors") + (description "This library provides adjunctions and representable functors +for Haskell.") + (license license:bsd-3))) + +(define-public ghc-aeson-compat + (package + (name "ghc-aeson-compat") + (version "0.3.8") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "aeson-compat-" version "/" + "aeson-compat-" version ".tar.gz")) + (sha256 + (base32 + "0j4v13pgk21zy8hqkbx8hw0n05jdl17qphxz9rj4h333pr547r3i")))) + (build-system haskell-build-system) + (arguments `(#:tests? #f)) ; FIXME: Tests require QuickCheck >= 2.10 + (inputs `(("ghc-base-compat" ,ghc-base-compat) + ("ghc-aeson" ,ghc-aeson) + ("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-attoparsec" ,ghc-attoparsec-iso8601) + ("ghc-exceptions" ,ghc-exceptions) + ("ghc-hashable" ,ghc-hashable) + ("ghc-scientific" ,ghc-scientific) + ("ghc-time-locale-compat" ,ghc-time-locale-compat) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-vector" ,ghc-vector) + ("ghc-tagged" ,ghc-tagged) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-nats" ,ghc-nats))) + (home-page "https://github.com/phadej/aeson-compat") + (synopsis "Compatibility layer for ghc-aeson") + (description "This Haskell package provides compatibility layer for +ghc-aeson.") + (license license:bsd-3))) + +(define-public ghc-alex + (package + (name "ghc-alex") + (version "3.2.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/alex/alex-" + version + ".tar.gz")) + (sha256 + (base32 + "0cpjixgsr0b2x4s6hz4aa6gnmjw9i7xd9nlfi8m37zqlidq4v3nm")))) + (build-system haskell-build-system) (arguments - `(#:cabal-revision - ("2" "1mcab95d6hm098myh9gp7sh10srigjphgvm8s9pfs7jg5hzghy14"))) - (home-page "http://hackage.haskell.org/package/io-streams") - (synopsis "Simple and composable stream I/O") - (description "This library contains simple and easy-to-use -primitives for I/O using streams.") + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'set-check-variables + (lambda _ + (setenv "PATH" (string-append (getcwd) "/dist/build/alex:" + (getenv "PATH"))) + (setenv "alex_datadir" (string-append (getcwd) "/data")) + #t))))) + (inputs `(("ghc-quickcheck" ,ghc-quickcheck))) + (native-inputs + `(("which" ,which))) + (home-page "https://www.haskell.org/alex/") + (synopsis + "Tool for generating lexical analysers in Haskell") + (description + "Alex is a tool for generating lexical analysers in Haskell. It takes a +description of tokens based on regular expressions and generates a Haskell +module containing code for scanning text efficiently. It is similar to the +tool lex or flex for C/C++.") (license license:bsd-3))) -(define-public ghc-io-streams-haproxy +(define-public ghc-alsa-core (package - (name "ghc-io-streams-haproxy") - (version "1.0.0.2") + (name "ghc-alsa-core") + (version "0.5.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://hackage/package/alsa-core/alsa-core-" + version + ".tar.gz")) + (sha256 + (base32 + "1avh4a419h9d2zsslg6j8hm87ppgsgqafz8ll037rk2yy1g4jl7b")))) + (build-system haskell-build-system) + (inputs + `(("ghc-extensible-exceptions" ,ghc-extensible-exceptions) + ("alsa-lib" ,alsa-lib))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "http://www.haskell.org/haskellwiki/ALSA") + (synopsis "Binding to the ALSA Library API (Exceptions)") + (description "This package provides access to ALSA infrastructure, that is +needed by both alsa-seq and alsa-pcm.") + (license license:bsd-3))) + +(define-public ghc-annotated-wl-pprint + (package + (name "ghc-annotated-wl-pprint") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/annotated-wl-pprint" + "/annotated-wl-pprint-" version + ".tar.gz")) + (sha256 + (base32 + "061xfz6qany3wf95csl8dcik2pz22cn8iv1qchhm16isw5zjs9hc")))) + (build-system haskell-build-system) + (home-page + "https://github.com/david-christiansen/annotated-wl-pprint") + (synopsis + "The Wadler/Leijen Pretty Printer, with annotation support") + (description "This is a modified version of wl-pprint, which was based on +Wadler's paper \"A Prettier Printer\". This version allows the library user +to annotate the text with semantic information, which can later be rendered in +a variety of ways.") + (license license:bsd-3))) + +(define-public ghc-ansi-terminal + (package + (name "ghc-ansi-terminal") + (version "0.8.0.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/ansi-terminal/ansi-terminal-" + version + ".tar.gz")) + (sha256 + (base32 + "0428gq8m3fdnb7ldcsyk97qcch76hcxbgh2666p6f76fs2qbhg7b")))) + (build-system haskell-build-system) + (inputs + `(("ghc-colour" ,ghc-colour))) + (home-page "https://github.com/feuerbach/ansi-terminal") + (synopsis "ANSI terminal support for Haskell") + (description "This package provides ANSI terminal support for Haskell. It +allows cursor movement, screen clearing, color output showing or hiding the +cursor, and changing the title.") + (license license:bsd-3))) + +(define-public ghc-ansi-wl-pprint + (package + (name "ghc-ansi-wl-pprint") + (version "0.6.8.2") (source (origin (method url-fetch) (uri (string-append "https://hackage.haskell.org/package/" - "io-streams-haproxy/io-streams-haproxy-" + "ansi-wl-pprint/ansi-wl-pprint-" version ".tar.gz")) (sha256 (base32 - "11nh9q158mgnvvb23s5ffg87lkhl5smk039yl43jghxmb214z0bp")))) + "0gnb4mkqryv08vncxnj0bzwcnd749613yw3cxfzw6y3nsldp4c56")))) (build-system haskell-build-system) (inputs - `(("ghc-attoparsec" ,ghc-attoparsec) - ("ghc-io-streams" ,ghc-io-streams) - ("ghc-network" ,ghc-network))) - (native-inputs - `(("ghc-hunit" ,ghc-hunit) + `(("ghc-ansi-terminal" ,ghc-ansi-terminal))) + (home-page "https://github.com/ekmett/ansi-wl-pprint") + (synopsis "Wadler/Leijen Pretty Printer for colored ANSI terminal output") + (description "This is a pretty printing library based on Wadler's paper +\"A Prettier Printer\". It has been enhanced with support for ANSI terminal +colored output using the ansi-terminal package.") + (license license:bsd-3))) + +(define-public ghc-appar + (package + (name "ghc-appar") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/appar/appar-" + version + ".tar.gz")) + (sha256 + (base32 + "09jb9ij78fdkz2qk66rw99q19qnm504dpv0yq0pjsl6xwjmndsjq")))) + (build-system haskell-build-system) + (home-page + "https://hackage.haskell.org/package/appar") + (synopsis "Simple applicative parser") + (description "This package provides a simple applicative parser in Parsec +style.") + (license license:bsd-3))) + +(define-public ghc-async + (package + (name "ghc-async") + (version "2.2.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/async/async-" + version + ".tar.gz")) + (sha256 + (base32 + "09whscli1q5z7lzyq9rfk0bq1ydplh6pjmc6qv0x668k5818c2wg")))) + (build-system haskell-build-system) + (inputs + `(("ghc-hashable" ,ghc-hashable) + ("ghc-hunit" ,ghc-hunit) ("ghc-test-framework" ,ghc-test-framework) ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) - (arguments - `(#:cabal-revision - ("4" "06c51a057n5bc9xfbp2m4jz5ds4z1xvmsx5mppch6qfwbz7x5i9l"))) - (home-page "http://snapframework.com/") - (synopsis "HAProxy protocol 1.5 support for io-streams") - (description "HAProxy protocol version 1.5 support -(see @uref{http://haproxy.1wt.eu/download/1.5/doc/proxy-protocol.txt}) -for applications using io-streams. The proxy protocol allows information -about a networked peer (like remote address and port) to be propagated -through a forwarding proxy that is configured to speak this protocol.") + (home-page "https://github.com/simonmar/async") + (synopsis "Library to run IO operations asynchronously") + (description "Async provides a library to run IO operations +asynchronously, and wait for their results. It is a higher-level interface +over threads in Haskell, in which @code{Async a} is a concurrent thread that +will eventually deliver a value of type @code{a}.") (license license:bsd-3))) -(define-public ghc-language-glsl +(define-public ghc-atomic-write (package - (name "ghc-language-glsl") - (version "0.3.0") + (name "ghc-atomic-write") + (version "0.2.0.5") (source (origin (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "language-glsl/language-glsl-" version ".tar.gz")) + (uri (string-append + "https://hackage.haskell.org/package/atomic-write/atomic-write-" + version + ".tar.gz")) (sha256 (base32 - "0hdg67ainlqpjjghg3qin6fg4p783m0zmjqh4rd5gyizwiplxkp1")))) + "1iaq0hprxcv0sl1sgwcgmm87zraf738va1bciwnx2jkk3k1v9iyv")))) + (build-system haskell-build-system) + (inputs + `(("ghc-temporary" ,ghc-temporary) + ("ghc-unix-compat" ,ghc-unix-compat))) + (native-inputs + `(("ghc-temporary" ,ghc-temporary) + ("ghc-unix-compat" ,ghc-unix-compat) + ("ghc-hspec" ,ghc-hspec) + ("hspec-discover" ,hspec-discover))) + (home-page "https://github.com/stackbuilders/atomic-write") + (synopsis "Atomically write to a file") + (description + "Atomically write to a file on POSIX-compliant systems while preserving +permissions. @code{mv} is an atomic operation. This makes it simple to write +to a file atomically just by using the @code{mv} operation. However, this +will destroy the permissions on the original file. This library preserves +permissions while atomically writing to a file.") + (license license:expat))) + +(define-public ghc-attoparsec + (package + (name "ghc-attoparsec") + (version "0.13.2.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/attoparsec/attoparsec-" + version + ".tar.gz")) + (sha256 + (base32 + "0j6qcwd146yzlkc9mcvzvnixsyl65n2a68l28322q5v9p4g4g4yx")))) (build-system haskell-build-system) - (inputs `(("ghc-prettyclass" ,ghc-prettyclass))) (arguments - `(#:tests? #f - #:cabal-revision - ("1" "10ac9pk4jy75k03j1ns4b5136l4kw8krr2d2nw2fdmpm5jzyghc5"))) - (home-page "http://hackage.haskell.org/package/language-glsl") - (synopsis "GLSL abstract syntax tree, parser, and pretty-printer") - (description "This package is a Haskell library for the -representation, parsing, and pretty-printing of GLSL 1.50 code.") + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-for-newer-quickcheck + (lambda _ + (substitute* "attoparsec.cabal" + (("QuickCheck >= 2\\.7 && < 2\\.10") + "QuickCheck >= 2.7 && < 2.12")) + ;; This test fails because of the newer QuickCheck: + ;; . + (substitute* "tests/QC/ByteString.hs" + ((", testProperty \"satisfyWith\" satisfyWith") + ""))))))) + (inputs + `(("ghc-scientific" ,ghc-scientific))) + (native-inputs + `(("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-quickcheck-unicode" ,ghc-quickcheck-unicode) + ("ghc-vector" ,ghc-vector))) + (home-page "https://github.com/bos/attoparsec") + (synopsis "Fast combinator parsing for bytestrings and text") + (description "This library provides a fast parser combinator library, +aimed particularly at dealing efficiently with network protocols and +complicated text/binary file formats.") (license license:bsd-3))) -(define-public ghc-prettyclass +(define-public ghc-attoparsec-bootstrap (package - (name "ghc-prettyclass") + (inherit ghc-attoparsec) + (name "ghc-attoparsec-bootstrap") + (arguments `(#:tests? #f)) + (inputs + `(("ghc-scientific" ,ghc-scientific-bootstrap))) + (native-inputs '()) + (properties '(hidden? #t)))) + +(define-public ghc-attoparsec-iso8601 + (package + (name "ghc-attoparsec-iso8601") (version "1.0.0.0") (source (origin (method url-fetch) (uri (string-append "https://hackage.haskell.org/package/" - "prettyclass/prettyclass-" version ".tar.gz")) + "attoparsec-iso8601-" version "/" + "attoparsec-iso8601-" version ".tar.gz")) (sha256 (base32 - "11l9ajci7nh1r547hx8hgxrhq8mh5gdq30pdf845wvilg9p48dz5")))) + "12l55b76bhya9q89mfmqmy6sl5v39b6gzrw5rf3f70vkb23nsv5a")))) (build-system haskell-build-system) - (home-page "http://hackage.haskell.org/package/prettyclass") - (synopsis "Pretty printing class similar to Show") - (description "This package provides a pretty printing class similar -to @code{Show}, based on the HughesPJ pretty printing library. It -provides the pretty printing class and instances for the Prelude -types.") + (arguments + `(#:cabal-revision + ("1" "06f7pgmmc8456p3hc1y23kz1y127gfczy7s00wz1rls9g2sm2vi4"))) + (inputs `(("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-base-compat" ,ghc-base-compat))) + (home-page "https://github.com/bos/aeson") + (synopsis "Parse ISO 8601 dates") + (description "Haskell library for parsing of ISO 8601 dates, originally +from aeson.") (license license:bsd-3))) -(define-public ghc-readable +(define-public ghc-auto-update (package - (name "ghc-readable") - (version "0.3.1") + (name "ghc-auto-update") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/auto-update/auto-update-" + version + ".tar.gz")) + (sha256 + (base32 + "09dlh2alsx2mw5kvj931yhbj0aw7jmly2cm9xbscm2sf098w35jy")))) + (build-system haskell-build-system) + (home-page "https://github.com/yesodweb/wai") + (synopsis "Efficiently run periodic, on-demand actions") + (description "This library provides mechanisms to efficiently run +periodic, on-demand actions in Haskell.") + (license license:expat))) + +(define-public ghc-aws + (package + (name "ghc-aws") + (version "0.20") (source (origin (method url-fetch) (uri (string-append "https://hackage.haskell.org/package/" - "readable/readable-" version ".tar.gz")) + "aws-" version "/aws-" version ".tar.gz")) + (sha256 (base32 + "0pwpabmypi1w8rni9qfwabgn95jks4h8dyw6889mn8xzsrhdhyf0")))) + (build-system haskell-build-system) + (arguments `(#:tests? #f)) ; Tests require AWS credentials. + (inputs + `(("ghc-aeson" ,ghc-aeson) + ("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-base16-bytestring" ,ghc-base16-bytestring) + ("ghc-base64-bytestring" ,ghc-base64-bytestring) + ("ghc-blaze-builder" ,ghc-blaze-builder) + ("ghc-byteable" ,ghc-byteable) + ("ghc-case-insensitive" ,ghc-case-insensitive) + ("ghc-cereal" ,ghc-cereal) + ("ghc-conduit" ,ghc-conduit) + ("ghc-conduit-extra" ,ghc-conduit-extra) + ("ghc-cryptonite" ,ghc-cryptonite) + ("ghc-data-default" ,ghc-data-default) + ("ghc-http-conduit" ,ghc-http-conduit) + ("ghc-http-types" ,ghc-http-types) + ("ghc-lifted-base" ,ghc-lifted-base) + ("ghc-monad-control" ,ghc-monad-control) + ("ghc-network" ,ghc-network) + ("ghc-old-locale" ,ghc-old-locale) + ("ghc-safe" ,ghc-safe) + ("ghc-scientific" ,ghc-scientific) + ("ghc-tagged" ,ghc-tagged) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-utf8-string" ,ghc-utf8-string) + ("ghc-vector" ,ghc-vector) + ("ghc-xml-conduit" ,ghc-xml-conduit))) + (native-inputs + `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-errors" ,ghc-errors) + ("ghc-http-client" ,ghc-http-client) + ("ghc-http-client-tls" ,ghc-http-client-tls) + ("ghc-quickcheck-instances" ,ghc-quickcheck-instances) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-conduit-combinators" ,ghc-conduit-combinators))) + (home-page "https://github.com/aristidb/aws") + (synopsis "Amazon Web Services for Haskell") + (description "This package attempts to provide support for using +Amazon Web Services like S3 (storage), SQS (queuing) and others to +Haskell programmers. The ultimate goal is to support all Amazon +Web Services.") + (license license:bsd-3))) + +(define-public ghc-base16-bytestring + (package + (name "ghc-base16-bytestring") + (version "0.1.1.6") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/base16-bytestring/" + "base16-bytestring-" version ".tar.gz")) (sha256 (base32 - "1ja39cg26wy2fs00gi12x7iq5k8i366pbqi3p916skfa5jnkfc3h")))) + "0jf40m3yijqw6wd1rwwvviww46fasphaay9m9rgqyhf5aahnbzjs")))) (build-system haskell-build-system) - (home-page "https://github.com/mightybyte/readable") - (synopsis "Type class for reading from Text and ByteString") - (description "This package provides a @code{Readable} type class for -reading data types from @code{ByteString} and @code{Text}. It also -includes efficient implementations for common data types.") + (home-page "https://github.com/bos/base16-bytestring") + (synopsis "Fast base16 (hex) encoding and decoding for ByteStrings") + (description + "This package provides a Haskell library for working with base16-encoded +data quickly and efficiently, using the ByteString type.") (license license:bsd-3))) -(define-public ghc-threads +(define-public ghc-base64-bytestring (package - (name "ghc-threads") - (version "0.5.1.6") + (name "ghc-base64-bytestring") + (version "1.0.0.2") (source (origin (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "threads/threads-" version ".tar.gz")) + (uri (string-append + "https://hackage.haskell.org/package/base64-bytestring/base64-bytestring-" + version + ".tar.gz")) + (sha256 + (base32 "13305brzlac24pifiqd5a2z10c6k6amhpdy9cc0z5ryrkgnm8dhr")))) + (build-system haskell-build-system) + (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing. + (home-page "https://github.com/bos/base64-bytestring") + (synopsis "Base64 encoding and decoding for ByteStrings") + (description "This library provides fast base64 encoding and decoding for +Haskell @code{ByteString}s.") + (license license:bsd-3))) + +(define-public ghc-base-compat + (package + (name "ghc-base-compat") + (version "0.10.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/base-compat/base-compat-" + version + ".tar.gz")) (sha256 (base32 - "0bjnjhnq3km6xqk0fn1fgyz5xdw4h6lylbwwbcmkkfzwcz0c76hk")))) + "0ksp990gxs731mq19rzbxrbs43nazfljjc8krlx5bjqblw3kfs8d")))) (build-system haskell-build-system) (native-inputs - `(("ghc-concurrent-extra" ,ghc-concurrent-extra) - ("ghc-hunit" ,ghc-hunit) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) - (home-page "https://github.com/basvandijk/threads") - (synopsis "Fork threads and wait for their result") - (description "This package provides functions to fork threads and -wait for their result, whether it's an exception or a normal value. -Besides waiting for the termination of a single thread this package also -provides functions to wait for a group of threads to terminate. This + `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-hspec" ,ghc-hspec) + ("hspec-discover" ,hspec-discover))) + (home-page "https://hackage.haskell.org/package/base-compat") + (synopsis "Haskell compiler compatibility library") + (description "This library provides functions available in later versions +of base to a wider range of compilers, without requiring the use of CPP +pragmas in your code.") + (license license:bsd-3))) + +(define-public ghc-basement + (package + (name "ghc-basement") + (version "0.0.8") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "basement/basement-" version ".tar.gz")) + (sha256 + (base32 + "194jw567di4q2758943q9rrwkbf9gl261my7qc21i9xhyabipx67")))) + (build-system haskell-build-system) + (home-page "https://github.com/haskell-foundation/foundation") + (synopsis "Basic primitives for Foundation starter pack") + (description + "This package contains basic primitives for the Foundation set of +packages.") + (license license:bsd-3))) + +(define-public ghc-base-orphans + (package + (name "ghc-base-orphans") + (version "0.7") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/base-orphans/base-orphans-" + version + ".tar.gz")) + (sha256 + (base32 + "057f9npnqk71ccfh95djfkpd54dzazphj06grwxa3fyhwcwxrb8a")))) + (build-system haskell-build-system) + (native-inputs + `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-hspec" ,ghc-hspec) + ("hspec-discover" ,hspec-discover))) + (home-page "https://hackage.haskell.org/package/base-orphans") + (synopsis "Orphan instances for backwards compatibility") + (description "This package defines orphan instances that mimic instances +available in later versions of base to a wider (older) range of compilers.") + (license license:bsd-3))) + +(define-public ghc-base-prelude + (package + (name "ghc-base-prelude") + (version "1.3") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "base-prelude-" version "/" + "base-prelude-" version ".tar.gz")) + (sha256 + (base32 + "1zk728sd09hh2r4xwz4lazsrrgg5cshydn64932sm0vckplndk73")))) + (build-system haskell-build-system) + (home-page "https://github.com/nikita-volkov/base-prelude") + (synopsis "The most complete prelude formed solely from the Haskell's base +package") + (description "This Haskell package aims to reexport all the non-conflicting +and most general definitions from the \"base\" package. + +This includes APIs for applicatives, arrows, monoids, foldables, traversables, +exceptions, generics, ST, MVars and STM. + +This package will never have any dependencies other than \"base\". + +Versioning policy: + +The versioning policy of this package deviates from PVP in the sense +that its exports in part are transitively determined by the version of \"base\". +Therefore it's recommended for the users of @code{ghc-base-prelude} to specify +the bounds of \"base\" as well.") + (license license:expat))) + +(define-public ghc-base-unicode-symbols + (package + (name "ghc-base-unicode-symbols") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://hackage/package/base-unicode-symbols/base-unicode-symbols-" + version + ".tar.gz")) + (sha256 + (base32 + "1ia6li7qjg1zkak4gf6mnbshw45mq9bfjr0jch58ds0lscmvwyzf")))) + (build-system haskell-build-system) + (home-page "http://www.haskell.org/haskellwiki/Unicode-symbols") + (synopsis "Unicode alternatives for common functions and operators") + (description "This package defines new symbols for a number of functions, +operators and types in the base package. All symbols are documented with +their actual definition and information regarding their Unicode code point. +They should be completely interchangeable with their definitions. For +further Unicode goodness you can enable the @code{UnicodeSyntax} +@url{https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exs.html#unicode-syntax, +language extension}. This extension enables Unicode characters to be used to +stand for certain ASCII character sequences, i.e. → instead of @code{->}, +∀ instead of @code{forall} and many others.") + (license license:bsd-3))) + +(define-public ghc-bifunctors + (package + (name "ghc-bifunctors") + (version "5.5.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/bifunctors/bifunctors-" + version + ".tar.gz")) + (sha256 + (base32 + "1jn9rxg643xnlhrknmjz88nblcpsr45xwjkwwnn5nxpasa7m4d6l")))) + (build-system haskell-build-system) + (inputs + `(("ghc-base-orphans" ,ghc-base-orphans) + ("ghc-comonad" ,ghc-comonad) + ("ghc-th-abstraction" ,ghc-th-abstraction) + ("ghc-transformers-compat" ,ghc-transformers-compat) + ("ghc-tagged" ,ghc-tagged) + ("ghc-semigroups" ,ghc-semigroups))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("hspec-discover" ,hspec-discover) + ("ghc-quickcheck" ,ghc-quickcheck))) + (home-page "https://github.com/ekmett/bifunctors/") + (synopsis "Bifunctors for Haskell") + (description "This package provides bifunctors for Haskell.") + (license license:bsd-3))) + +(define-public ghc-bindings-dsl + (package + (name "ghc-bindings-dsl") + (version "1.0.25") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/bindings-DSL/" + "bindings-DSL-" version ".tar.gz")) + (sha256 + (base32 + "0kqrd78nspl3lk4a0fqn47d8dirjg3b24dkvkigcrlb81hw35pk3")))) + (build-system haskell-build-system) + (home-page "https://github.com/jwiegley/bindings-dsl/wiki") + (synopsis "FFI domain specific language, on top of hsc2hs") + (description + "This is a set of macros to be used when writing Haskell FFI. They were +designed to be able to fully describe C interfaces, so that @code{hsc2hs} can +extract from them all Haskell code needed to mimic such interfaces. All +Haskell names used are automatically derived from C names, structures are +mapped to Haskell instances of @code{Storable}, and there are also macros you +can use with C code to help write bindings to inline functions or macro +functions.") + (license license:bsd-3))) + +(define-public ghc-blaze-builder + (package + (name "ghc-blaze-builder") + (version "0.4.1.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/blaze-builder/blaze-builder-" + version + ".tar.gz")) + (sha256 + (base32 + "05681dih2d8s96an945wkbwl05w8ddbcfx8n3r3ck79ydyb8pz4i")))) + (build-system haskell-build-system) + (arguments `(#:tests? #f)) ; FIXME: Missing test libraries. + (inputs + `(("ghc-utf8-string" ,ghc-utf8-string))) + (home-page "https://github.com/lpsmith/blaze-builder") + (synopsis "Efficient buffered output") + (description "This library provides an implementation of the older +@code{blaze-builder} interface in terms of the new builder that shipped with +@code{bytestring-0.10.4.0}. This implementation is mostly intended as a +bridge to the new builder, so that code that uses the old interface can +interoperate with code that uses the new implementation.") + (license license:bsd-3))) + +(define-public ghc-blaze-markup + (package + (name "ghc-blaze-markup") + (version "0.8.2.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "blaze-markup/blaze-markup-" + version ".tar.gz")) + (sha256 + (base32 + "0ih1c3qahkdgzbqihdhny5s313l2m66fbb88w8jbx7yz56y7rawh")))) + (build-system haskell-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'update-constraints + (lambda _ + (substitute* "blaze-markup.cabal" + (("tasty >= 1\\.0 && < 1\\.1") + "tasty >= 1.0 && < 1.2"))))))) + (inputs + `(("ghc-blaze-builder" ,ghc-blaze-builder))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) + (home-page "https://jaspervdj.be/blaze") + (synopsis "Fast markup combinator library for Haskell") + (description "This library provides core modules of a markup combinator +library for Haskell.") + (license license:bsd-3))) + +(define-public ghc-bloomfilter + (package + (name "ghc-bloomfilter") + (version "2.0.1.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "bloomfilter/bloomfilter-" version ".tar.gz")) + (sha256 + (base32 + "03vrmncg1c10a2wcg5skq30m1yiknn7nwxz2gblyyfaxglshspkc")))) + (build-system haskell-build-system) + (native-inputs + `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-random" ,ghc-random) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) + (home-page "https://github.com/bos/bloomfilter") + (synopsis "Pure and impure Bloom filter implementations") + (description "This package provides both mutable and immutable Bloom +filter data types, along with a family of hash functions and an easy-to-use +interface.") + (license license:bsd-3))) + +(define-public ghc-boxes + (package + (name "ghc-boxes") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/boxes/boxes-" + version ".tar.gz")) + (sha256 + (base32 "1hsnmw95i58d4bkpxby3ddsj1cawypw4mdyb18m393s5i8p7iq9q")))) + (build-system haskell-build-system) + (inputs + `(("ghc-split" ,ghc-split) + ("ghc-quickcheck" ,ghc-quickcheck))) + (home-page "https://hackage.haskell.org/package/boxes") + (synopsis "2D text pretty-printing library") + (description + "Boxes is a pretty-printing library for laying out text in two dimensions, +using a simple box model.") + (license license:bsd-3))) + +(define-public ghc-byteable + (package + (name "ghc-byteable") + (version "0.1.1") + (source (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "byteable/byteable-" version ".tar.gz")) + (sha256 + (base32 + "1qizg0kxxjqnd3cbrjhhidk5pbbciz0pb3z5kzikjjxnnnhk8fr4")))) + (build-system haskell-build-system) + (home-page "https://github.com/vincenthz/hs-byteable") + (synopsis "Type class for sequence of bytes") + (description + "This package provides an abstract class to manipulate sequence of bytes. +The use case of this class is abstracting manipulation of types that are just +wrapping a bytestring with stronger and more meaniful name.") + (license license:bsd-3))) + +(define-public ghc-byteorder + (package + (name "ghc-byteorder") + (version "1.0.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/byteorder/byteorder-" + version + ".tar.gz")) + (sha256 + (base32 + "06995paxbxk8lldvarqpb3ygcjbg4v8dk4scib1rjzwlhssvn85x")))) + (build-system haskell-build-system) + (home-page + "http://community.haskell.org/~aslatter/code/byteorder") + (synopsis + "Exposes the native endianness of the system") + (description + "This package is for working with the native byte-ordering of the +system.") + (license license:bsd-3))) + +(define-public ghc-bytes + (package + (name "ghc-bytes") + (version "0.15.5") + (source + (origin + (method url-fetch) + (uri + (string-append "https://hackage.haskell.org/package/bytes-" + version "/bytes-" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "063il2vrn0p88r9gzndh4ijs0mxj37khkc9ym9bqdsv7ngk3b683")))) + (build-system haskell-build-system) + (inputs `(("ghc-cereal" ,ghc-cereal) + ("cabal-doctest" ,cabal-doctest) + ("ghc-doctest" ,ghc-doctest) + ("ghc-scientific" ,ghc-scientific) + ("ghc-transformers-compat" ,ghc-transformers-compat) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-void" ,ghc-void) + ("ghc-vector" ,ghc-vector))) + (synopsis "Serialization between @code{binary} and @code{cereal}") + (description "This package provides a simple compatibility shim that lets +you work with both @code{binary} and @code{cereal} with one chunk of +serialization code.") + (home-page "https://hackage.haskell.org/package/bytes") + (license license:bsd-3))) + +(define-public ghc-bytestring-builder + (package + (name "ghc-bytestring-builder") + (version "0.10.8.1.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/bytestring-builder" + "/bytestring-builder-" version ".tar.gz")) + (sha256 + (base32 + "1hnvjac28y44yn78c9vdp1zvrknvlw98ky3g4n5vivr16rvh8x3d")))) + (build-system haskell-build-system) + (arguments `(#:haddock? #f)) ; Package contains no documentation. + (home-page "https://hackage.haskell.org/package/bytestring-builder") + (synopsis "The new bytestring builder, packaged outside of GHC") + (description "This package provides the bytestring builder that is +debuting in bytestring-0.10.4.0, which should be shipping with GHC 7.8. +Compatibility package for older packages.") + (license license:bsd-3))) + +(define-public ghc-bytestring-handle + (package + (name "ghc-bytestring-handle") + (version "0.1.0.6") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/bytestring-handle/bytestring-handle-" + version ".tar.gz")) + (sha256 + (base32 + "18f17aja1ivhr3zyg2cccn2m03hdn5jf5410dndkhf12gvgiqs7y")))) + (build-system haskell-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'update-constraints + (lambda _ + (substitute* "bytestring-handle.cabal" + (("QuickCheck >= 2\\.1\\.2 && < 2\\.11") + "QuickCheck >= 2.1.2 && < 2.12") + (("base >= 4\\.2 && < 4\\.11") + "base >= 4.2 && < 4.12"))))))) + (inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) + ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) + (home-page "https://hub.darcs.net/ganesh/bytestring-handle") + (synopsis "ByteString-backed Handles") + (description "ByteString-backed Handles") ; There is no description + (license license:bsd-3))) + +(define-public ghc-bytestring-lexing + (package + (name "ghc-bytestring-lexing") + (version "0.5.0.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "bytestring-lexing/bytestring-lexing-" + version ".tar.gz")) + (sha256 + (base32 + "0wrzniawhgpphc6yx1v972gyqxdbv0pizaz9bafahrshyb9svy81")))) + (build-system haskell-build-system) + (home-page "http://code.haskell.org/~wren/") + (synopsis "Parse and produce literals from strict or lazy bytestrings") + (description + "This package provides tools to parse and produce literals efficiently +from strict or lazy bytestrings.") + (license license:bsd-2))) + +(define-public ghc-bzlib-conduit + (package + (name "ghc-bzlib-conduit") + (version "0.3.0.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/bzlib-conduit/" + "bzlib-conduit-" version ".tar.gz")) + (sha256 + (base32 + "0fd2hnr782s7qgipazg2yxwia9qqhkvm9bcm90773c3zkxa13n23")))) + (build-system haskell-build-system) + (inputs + `(("ghc-bindings-dsl" ,ghc-bindings-dsl) + ("ghc-conduit" ,ghc-conduit) + ("ghc-data-default-class" ,ghc-data-default-class) + ("ghc-resourcet" ,ghc-resourcet))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("ghc-random" ,ghc-random))) + (home-page "https://github.com/snoyberg/bzlib-conduit") + (synopsis "Streaming compression/decompression via conduits") + (description + "This package provides Haskell bindings to bzlib and Conduit support for +streaming compression and decompression.") + (license license:bsd-3))) + +(define-public ghc-c2hs + (package + (name "ghc-c2hs") + (version "0.28.6") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/c2hs/c2hs-" + version + ".tar.gz")) + (sha256 + (base32 + "1nplgxfin139x12sb656f5870rpdclrhzi8mq8pry035qld15pci")))) + (build-system haskell-build-system) + (inputs + `(("ghc-language-c" ,ghc-language-c) + ("ghc-dlist" ,ghc-dlist))) + (native-inputs + `(("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) + ("ghc-hunit" ,ghc-hunit) + ("ghc-shelly" ,ghc-shelly) + ("gcc" ,gcc))) + (arguments + `(;; XXX: Test failures are induced by a parse error in + ;; of glibc 2.28. + #:tests? #f + + #:phases + (modify-phases %standard-phases + (add-before 'check 'set-cc + ;; add a cc executable in the path, needed for some tests to pass + (lambda* (#:key inputs #:allow-other-keys) + (let ((gcc (assoc-ref inputs "gcc")) + (tmpbin (tmpnam)) + (curpath (getenv "PATH"))) + (mkdir-p tmpbin) + (symlink (which "gcc") (string-append tmpbin "/cc")) + (setenv "PATH" (string-append tmpbin ":" curpath))) + #t)) + (add-after 'check 'remove-cc + ;; clean the tmp dir made in 'set-cc + (lambda _ + (let* ((cc-path (which "cc")) + (cc-dir (dirname cc-path))) + (delete-file-recursively cc-dir) + #t)))))) + (home-page "https://github.com/haskell/c2hs") + (synopsis "Create Haskell bindings to C libraries") + (description "C->Haskell assists in the development of Haskell bindings to +C libraries. It extracts interface information from C header files and +generates Haskell code with foreign imports and marshaling. Unlike writing +foreign imports by hand (or using hsc2hs), this ensures that C functions are +imported with the correct Haskell types.") + (license license:gpl2))) + +(define-public ghc-cairo + (package + (name "ghc-cairo") + (version "0.13.5.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/cairo/" + "cairo-" version ".tar.gz")) + (sha256 + (base32 + "1wxylv4d8120ri0vgar168ikqa9m6533ipdwi38qlmxmw20ws2j2")))) + (build-system haskell-build-system) + (arguments + `(#:modules ((guix build haskell-build-system) + (guix build utils) + (ice-9 match) + (srfi srfi-26)) + #:phases + (modify-phases %standard-phases + ;; FIXME: This is a copy of the standard configure phase with a tiny + ;; difference: this package needs the -package-db flag to be passed + ;; to "runhaskell" in addition to the "configure" action, because it + ;; depends on gtk2hs-buildtools, which provide setup hooks. Without + ;; this option the Setup.hs file cannot be evaluated. The + ;; haskell-build-system should be changed to pass "-package-db" to + ;; "runhaskell" in any case. + (replace 'configure + (lambda* (#:key outputs inputs tests? (configure-flags '()) + #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (name-version (strip-store-file-name out)) + (input-dirs (match inputs + (((_ . dir) ...) + dir) + (_ '()))) + (ghc-path (getenv "GHC_PACKAGE_PATH")) + (params (append `(,(string-append "--prefix=" out)) + `(,(string-append "--libdir=" out "/lib")) + `(,(string-append "--bindir=" out "/bin")) + `(,(string-append + "--docdir=" out + "/share/doc/" name-version)) + '("--libsubdir=$compiler/$pkg-$version") + '("--package-db=../package.conf.d") + '("--global") + `(,@(map + (cut string-append "--extra-include-dirs=" <>) + (search-path-as-list '("include") input-dirs))) + `(,@(map + (cut string-append "--extra-lib-dirs=" <>) + (search-path-as-list '("lib") input-dirs))) + (if tests? + '("--enable-tests") + '()) + configure-flags))) + (unsetenv "GHC_PACKAGE_PATH") + (apply invoke "runhaskell" "-package-db=../package.conf.d" + "Setup.hs" "configure" params) + (setenv "GHC_PACKAGE_PATH" ghc-path) + #t)))))) + (inputs + `(("ghc-utf8-string" ,ghc-utf8-string) + ("cairo" ,cairo))) + (native-inputs + `(("ghc-gtk2hs-buildtools" ,ghc-gtk2hs-buildtools) + ("pkg-config" ,pkg-config))) + (home-page "http://projects.haskell.org/gtk2hs/") + (synopsis "Haskell bindings to the Cairo vector graphics library") + (description + "Cairo is a library to render high quality vector graphics. There exist +various backends that allows rendering to Gtk windows, PDF, PS, PNG and SVG +documents, amongst others.") + (license license:bsd-3))) + +(define-public ghc-call-stack + (package + (name "ghc-call-stack") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "call-stack/call-stack-" + version ".tar.gz")) + (sha256 + (base32 + "1qmihf5jafmc79sk52l6gpx75f5bnla2lp62kh3p34x3j84mwpzj")))) + (build-system haskell-build-system) + (inputs `(("ghc-nanospec" ,ghc-nanospec))) + (home-page "https://github.com/sol/call-stack#readme") + (synopsis "Use GHC call-stacks in a backward compatible way") + (description "This package provides a compatibility layer for using GHC +call stacks with different versions of the compiler.") + (license license:expat))) + +;; This is used as an input to ghc-hunit. We cannot use ghc-call-stack there, +;; because it depends on ghc-nanospec, which depends on ghc-hunit. +(define-public ghc-call-stack-boot + (hidden-package + (package + (inherit ghc-call-stack) + (arguments '(#:tests? #f)) + (inputs '())))) + +(define-public ghc-case-insensitive + (package + (name "ghc-case-insensitive") + (version "1.2.0.11") + (outputs '("out" "doc")) + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/case-insensitive/case-insensitive-" + version + ".tar.gz")) + (sha256 + (base32 + "1qrpxfirsxckg7jv28f5ah2qc8lh95hp7rnqkbqs1ahcwlbnvkm7")))) + (build-system haskell-build-system) + ;; these inputs are necessary to use this library + (inputs + `(("ghc-hashable" ,ghc-hashable))) + (arguments + `(#:tests? #f)) ; FIXME: currently missing libraries used for tests. + (home-page + "https://github.com/basvandijk/case-insensitive") + (synopsis "Case insensitive string comparison") + (description + "The module @code{Data.CaseInsensitive} provides the @code{CI} type +constructor which can be parameterised by a string-like type like: +@code{String}, @code{ByteString}, @code{Text}, etc. Comparisons of values of +the resulting type will be insensitive to cases.") + (license license:bsd-3))) + +(define-public ghc-cereal + (package + (name "ghc-cereal") + (version "0.5.7.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/cereal/cereal-" + version + ".tar.gz")) + (sha256 + (base32 + "1j7imh2mzqcljld7sx0av69699955rpy3hzivi5723i6a9nszgbs")))) + (build-system haskell-build-system) + (native-inputs + `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-fail" ,ghc-fail) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) + (home-page "https://hackage.haskell.org/package/cereal") + (synopsis "Binary serialization library") + (description "This package provides a binary serialization library, +similar to @code{binary}, that introduces an @code{isolate} primitive for +parser isolation, and labeled blocks for better error messages.") + (license license:bsd-3))) + +(define-public ghc-cereal-conduit + (package + (name "ghc-cereal-conduit") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "cereal-conduit/cereal-conduit-" + version ".tar.gz")) + (sha256 + (base32 + "1srr7agvgfw78q5s1npjq5sgynvhjgllpihiv37ylkwqm4c4ap6r")))) + (build-system haskell-build-system) + (inputs + `(("ghc-conduit" ,ghc-conduit) + ("ghc-resourcet" ,ghc-resourcet) + ("ghc-cereal" ,ghc-cereal))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit))) + (home-page "https://github.com/snoyberg/conduit") + (synopsis "Turn Data.Serialize Gets and Puts into Sources, Sinks, and Conduits") + (description + "This package turn @code{Data.Serialize} @code{Gets} and @code{Puts} into +@code{Sources}, @code{Sinks}, and @code{Conduits}.") + (license license:bsd-3))) + +(define-public ghc-cgi + (package + (name "ghc-cgi") + (version "3001.3.0.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/cgi/cgi-" + version + ".tar.gz")) + (sha256 + (base32 + "1hbpplss1m4rdpm4ibip6fpimlhssqa14fl338kl2jbc463i64cj")))) + (build-system haskell-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'update-constraints + (lambda _ + (substitute* "cgi.cabal" + (("exceptions < 0\\.9") + "exceptions < 0.11") + (("time >= 1\\.5 && < 1\\.7") + "time >= 1.5 && < 1.9") + (("doctest >= 0\\.8 && < 0\\.12") + "doctest >= 0.8 && < 0.17") + (("QuickCheck >= 2\\.8\\.1 && < 2\\.10") + "QuickCheck >= 2.8.1 && < 2.12"))))))) + (inputs + `(("ghc-exceptions" ,ghc-exceptions) + ("ghc-multipart" ,ghc-multipart) + ("ghc-network-uri" ,ghc-network-uri) + ("ghc-network" ,ghc-network))) + (native-inputs + `(("ghc-doctest" ,ghc-doctest) + ("ghc-quickcheck" ,ghc-quickcheck))) + (home-page + "https://github.com/cheecheeo/haskell-cgi") + (synopsis "Library for writing CGI programs") + (description + "This is a Haskell library for writing CGI programs.") + (license license:bsd-3))) + +(define-public ghc-charset + (package + (name "ghc-charset") + (version "0.3.7.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/charset/charset-" + version + ".tar.gz")) + (sha256 + (base32 + "1gn0m96qpjww8hpp2g1as5yy0wcwy4iq73h3kz6g0yxxhcl5sh9x")))) + (build-system haskell-build-system) + (inputs + `(("ghc-semigroups" ,ghc-semigroups) + ("ghc-unordered-containers" ,ghc-unordered-containers))) + (home-page "https://github.com/ekmett/charset") + (synopsis "Fast unicode character sets for Haskell") + (description "This package provides fast unicode character sets for +Haskell, based on complemented PATRICIA tries.") + (license license:bsd-3))) + +(define-public ghc-chart + (package + (name "ghc-chart") + (version "1.9") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/Chart/" + "Chart-" version ".tar.gz")) + (sha256 + (base32 + "1f5azj17y8xsb3gjhf7gg1gnnlq12rxkmfjmgcly314d7vghs05z")))) + (build-system haskell-build-system) + (inputs + `(("ghc-old-locale" ,ghc-old-locale) + ("ghc-lens" ,ghc-lens) + ("ghc-colour" ,ghc-colour) + ("ghc-data-default-class" ,ghc-data-default-class) + ("ghc-operational" ,ghc-operational) + ("ghc-vector" ,ghc-vector))) + (home-page "https://github.com/timbod7/haskell-chart/wiki") + (synopsis "Library for generating 2D charts and plots") + (description + "This package provides a library for generating 2D charts and plots, with +backends provided by the @code{Cairo} and @code{Diagrams} libraries.") + (license license:bsd-3))) + +(define-public ghc-chart-cairo + (package + (name "ghc-chart-cairo") + (version "1.9") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/Chart-cairo/" + "Chart-cairo-" version ".tar.gz")) + (sha256 + (base32 + "0iany6lfyfb1cw0pxfs5aw5k0a6x41m6ql9ad9w59biwdckbsyqr")))) + (build-system haskell-build-system) + (inputs + `(("ghc-old-locale" ,ghc-old-locale) + ("ghc-cairo" ,ghc-cairo) + ("ghc-colour" ,ghc-colour) + ("ghc-data-default-class" ,ghc-data-default-class) + ("ghc-operational" ,ghc-operational) + ("ghc-lens" ,ghc-lens) + ("ghc-chart" ,ghc-chart))) + (home-page "https://github.com/timbod7/haskell-chart/wiki") + (synopsis "Cairo backend for Charts") + (description "This package provides a Cairo vector graphics rendering +backend for the Charts library.") + (license license:bsd-3))) + +(define-public ghc-chasingbottoms + (package + (name "ghc-chasingbottoms") + (version "1.3.1.4") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/ChasingBottoms/" + "ChasingBottoms-" version ".tar.gz")) + (sha256 + (base32 + "06cynx6hcbfpky7qq3b3mjjgwbnaxkwin3znbwq4b9ikiw0ng633")))) + (build-system haskell-build-system) + (inputs + `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-random" ,ghc-random) + ("ghc-syb" ,ghc-syb))) + (home-page "https://hackage.haskell.org/package/ChasingBottoms") + (synopsis "Testing of partial and infinite values in Haskell") + (description + ;; FIXME: There should be a @comma{} in the uref text, but it is not + ;; rendered properly. + "This is a library for testing code involving bottoms or infinite values. +For the underlying theory and a larger example involving use of QuickCheck, +see the article +@uref{http://www.cse.chalmers.se/~nad/publications/danielsson-jansson-mpc2004.html, +\"Chasing Bottoms A Case Study in Program Verification in the Presence of +Partial and Infinite Values\"}.") + (license license:expat))) + +(define-public ghc-cheapskate + (package + (name "ghc-cheapskate") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/cheapskate/cheapskate-" + version + ".tar.gz")) + (sha256 + (base32 + "1hiqi7h76shjzs2zj0j8g6wnq2hbiq1hmfafdazr97fba2zl2432")))) + (build-system haskell-build-system) + (inputs + `(("ghc-blaze-html" ,ghc-blaze-html) + ("ghc-xss-sanitize" ,ghc-xss-sanitize) + ("ghc-data-default" ,ghc-data-default) + ("ghc-syb" ,ghc-syb) + ("ghc-uniplate" ,ghc-uniplate))) + (home-page "https://github.com/jgm/cheapskate") + (synopsis "Experimental markdown processor") + (description "Cheapskate is an experimental Markdown processor in pure +Haskell. It aims to process Markdown efficiently and in the most forgiving +possible way. It is designed to deal with any input, including garbage, with +linear performance. Output is sanitized by default for protection against +cross-site scripting (@dfn{XSS}) attacks.") + (license license:bsd-3))) + +(define-public ghc-chell + (package + (name "ghc-chell") + (version "0.4.0.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/chell/chell-" + version ".tar.gz")) + (sha256 + (base32 + "10ingy9qnbmc8cqh4i9pskcw43l0mzk8f3d76b3qz3fig5ary3j9")))) + (build-system haskell-build-system) + (inputs + `(("ghc-options-bootstrap" ,ghc-options-bootstrap) + ("ghc-patience" ,ghc-patience) + ("ghc-random" ,ghc-random) + ("ghc-ansi-terminal" ,ghc-ansi-terminal))) + (home-page "https://john-millikin.com/software/chell/") + (synopsis "Simple and intuitive library for automated testing") + (description + "Chell is a simple and intuitive library for automated testing. +It natively supports assertion-based testing, and can use companion +libraries such as @code{chell-quickcheck} to support more complex +testing strategies.") + (license license:expat))) + +(define-public ghc-chell-quickcheck + (package + (name "ghc-chell-quickcheck") + (version "0.2.5.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/chell-quickcheck/" + "chell-quickcheck-" version ".tar.gz")) + (sha256 + (base32 + "1iicsys9igx7m7n4l2b8djardmjy2ah5ibzp7kzs758h460fq53a")))) + (build-system haskell-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'update-constraints + (lambda _ + (substitute* "chell-quickcheck.cabal" + (("QuickCheck >= 2\\.3 && < 2\\.11") + "QuickCheck >= 2.3 && < 2.12"))))))) + (inputs + `(("ghc-chell" ,ghc-chell) + ("ghc-chell-quickcheck-bootstrap" ,ghc-chell-quickcheck-bootstrap) + ("ghc-random" ,ghc-random) + ("ghc-quickcheck" ,ghc-quickcheck))) + (home-page "https://john-millikin.com/software/chell/") + (synopsis "QuickCheck support for the Chell testing library") + (description "More complex tests for @code{chell}.") + (license license:expat))) + +(define ghc-chell-quickcheck-bootstrap + (package + (name "ghc-chell-quickcheck-bootstrap") + (version "0.2.5.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/chell-quickcheck/" + "chell-quickcheck-" version ".tar.gz")) + (sha256 + (base32 + "1iicsys9igx7m7n4l2b8djardmjy2ah5ibzp7kzs758h460fq53a")))) + (build-system haskell-build-system) + (inputs + `(("ghc-chell" ,ghc-chell) + ("ghc-random" ,ghc-random) + ("ghc-quickcheck" ,ghc-quickcheck))) + (arguments + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (add-before 'configure 'update-constraints + (lambda _ + (substitute* "chell-quickcheck.cabal" + (("QuickCheck >= 2\\.3 && < 2\\.11") + "QuickCheck >= 2.3 && < 2.12"))))))) + (home-page "https://john-millikin.com/software/chell/") + (synopsis "QuickCheck support for the Chell testing library") + (description "More complex tests for @code{chell}.") + (license license:expat))) + +(define-public ghc-chunked-data + (package + (name "ghc-chunked-data") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "chunked-data-" version "/" + "chunked-data-" version ".tar.gz")) + (sha256 + (base32 + "16m7y7fwrirbjbqqcsfmr4yxa9qvfax6r7pw0zl9ky71ms0wa47p")))) + (build-system haskell-build-system) + (inputs `(("ghc-vector" ,ghc-vector) + ("ghc-semigroups" ,ghc-semigroups))) + (home-page "https://github.com/snoyberg/mono-traversable") + (synopsis "Typeclasses for dealing with various chunked data +representations for Haskell") + (description "This Haskell package was originally present in +classy-prelude.") + (license license:expat))) + +(define-public ghc-clock + (package + (name "ghc-clock") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/" + "clock/" + "clock-" version ".tar.gz")) + (sha256 + (base32 "07v91s20halsqjmziqb1sqjp2sjpckl9by7y28aaklwqi2bh2rl8")))) + (build-system haskell-build-system) + (inputs + `(("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) + (home-page "https://hackage.haskell.org/package/clock") + (synopsis "High-resolution clock for Haskell") + (description "A package for convenient access to high-resolution clock and +timer functions of different operating systems via a unified API.") + (license license:bsd-3))) + +;; This package builds `clock` without tests, since the tests rely on tasty +;; and tasty-quickcheck, which in turn require clock to build. +(define-public ghc-clock-bootstrap + (package + (inherit ghc-clock) + (name "ghc-clock-bootstrap") + (arguments '(#:tests? #f)) + (inputs '()) + (properties '((hidden? #t))))) + +(define-public ghc-cmark + (package + (name "ghc-cmark") + (version "0.5.6") + (source (origin + (method url-fetch) + ;; XXX As of version 0.5.6, this package bundles libcmark 0.28.0. + ;; See cbits/cmark_version.h. + (uri (string-append "https://hackage.haskell.org/package/" + "cmark/cmark-" version ".tar.gz")) + (sha256 + (base32 + "1c1j3a8b9qx5zk9myqm3gap8ymz7fipwrdmyfsq9wkkdr9x4np45")))) + (build-system haskell-build-system) + (native-inputs + `(("ghc-hunit" ,ghc-hunit))) + (home-page "https://github.com/jgm/commonmark-hs") + (synopsis "Fast, accurate CommonMark (Markdown) parser and renderer") + (description + "This package provides Haskell bindings for +@uref{https://github.com/jgm/cmark, libcmark}, the reference parser for +CommonMark, a fully specified variant of Markdown. It includes bundled libcmark +sources, and does not require prior installation of the C library.") + (license license:bsd-3))) + +(define-public ghc-cmark-gfm + (package + (name "ghc-cmark-gfm") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "cmark-gfm/cmark-gfm-" + version ".tar.gz")) + (sha256 + (base32 + "13b0mqks5c1q989slgsa3ixr5vvkfyic4ynzgv00kgl5qrs7hqk7")))) + (build-system haskell-build-system) + (native-inputs + `(("ghc-hunit" ,ghc-hunit))) + (home-page "https://github.com/kivikakk/cmark-gfm-hs") + (synopsis + "Fast, accurate GitHub Flavored Markdown parser and renderer") + (description + "This package provides Haskell bindings for libcmark-gfm, the reference +parser for GitHub Flavored Markdown, a fully specified variant of Markdown. +It includes sources for libcmark-gfm and does not require prior installation +of the C library.") + (license license:bsd-3))) + +(define-public ghc-cmdargs + (package + (name "ghc-cmdargs") + (version "0.10.20") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/cmdargs/cmdargs-" + version ".tar.gz")) + (sha256 + (base32 + "0cbkmgrcnwgigg6z88y3c09gm7g6dwm7gzbgr53h8k1xik29s9hf")))) + (build-system haskell-build-system) + (home-page + "http://community.haskell.org/~ndm/cmdargs/") + (synopsis "Command line argument processing") + (description + "This library provides an easy way to define command line parsers.") + (license license:bsd-3))) + +(define-public ghc-code-page + (package + (name "ghc-code-page") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/code-page/code-page-" + version ".tar.gz")) + (sha256 + (base32 + "1491frk4jx6dlhifky9dvcxbsbcfssrz979a5hp5zn061rh8cp76")))) + (build-system haskell-build-system) + (home-page "https://github.com/RyanGlScott/code-page") + (synopsis "Windows code page library for Haskell") + (description "A cross-platform library with functions for adjusting +code pages on Windows. On all other operating systems, the library does +nothing.") + (license license:bsd-3))) + +(define-public ghc-colour +(package + (name "ghc-colour") + (version "2.3.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/colour/colour-" + version ".tar.gz")) + (sha256 + (base32 + "1sy51nz096sv91nxqk6yk7b92b5a40axv9183xakvki2nc09yhqg")))) + (arguments + ;; The tests for this package have the following dependency cycle: + ;; ghc-test-framework -> ghc-ansi-terminal -> ghc-colour. + `(#:tests? #f)) + (build-system haskell-build-system) + (home-page "https://www.haskell.org/haskellwiki/Colour") + (synopsis "Model for human colour perception") + (description + "This package provides a data type for colours and transparency. +Colours can be blended and composed. Various colour spaces are +supported. A module of colour names (\"Data.Colour.Names\") is provided.") + (license license:expat))) + +(define-public ghc-comonad + (package + (name "ghc-comonad") + (version "5.0.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/comonad/comonad-" + version + ".tar.gz")) + (sha256 + (base32 + "09g870c4flp4k3fgbibsd0mmfjani1qcpbcl685v8x89kxzrva3q")))) + (build-system haskell-build-system) + (native-inputs + `(("cabal-doctest" ,cabal-doctest) + ("ghc-doctest" ,ghc-doctest))) + (inputs + `(("ghc-contravariant" ,ghc-contravariant) + ("ghc-distributive" ,ghc-distributive) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-tagged" ,ghc-tagged) + ("ghc-transformers-compat" ,ghc-transformers-compat))) + (home-page "https://github.com/ekmett/comonad/") + (synopsis "Comonads for Haskell") + (description "This library provides @code{Comonad}s for Haskell.") + (license license:bsd-3))) + +(define-public ghc-concatenative + (package + (name "ghc-concatenative") + (version "1.0.1") + (source (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/concatenative/concatenative-" + version ".tar.gz")) + (sha256 + (base32 + "05xwqvcdnk8bsyj698ab9jxpa1nk23pf3m7wi9mwmw0q8n99fngd")))) + (build-system haskell-build-system) + (home-page + "https://patch-tag.com/r/salazar/concatenative/snapshot/current/content/pretty") + (synopsis "Library for postfix control flow") + (description + "Concatenative gives Haskell Factor-style combinators and arrows for +postfix notation. For more information on stack based languages, see +@uref{https://concatenative.org}.") + (license license:bsd-3))) + +(define-public ghc-concurrent-extra + (package + (name "ghc-concurrent-extra") + (version "0.7.0.12") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "concurrent-extra/concurrent-extra-" + version ".tar.gz")) + (sha256 + (base32 + "1y8xk460fvnw0idzdiylmm874sjny4q9jxb1js9fjz8lw2wns3h4")))) + (build-system haskell-build-system) + (arguments + ;; XXX: The ReadWriteLock 'stressTest' fails. + `(#:tests? #f)) + (inputs + `(("ghc-unbounded-delays" ,ghc-unbounded-delays))) + (native-inputs + `(("ghc-async" ,ghc-async) + ("ghc-hunit" ,ghc-hunit) + ("ghc-random" ,ghc-random) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) + (home-page "https://github.com/basvandijk/concurrent-extra") + (synopsis "Extra concurrency primitives") + (description "This Haskell library offers (among other things) the +following selection of synchronisation primitives: + +@itemize +@item @code{Broadcast}: Wake multiple threads by broadcasting a value. +@item @code{Event}: Wake multiple threads by signalling an event. +@item @code{Lock}: Enforce exclusive access to a resource. Also known +as a binary semaphore or mutex. The package additionally provides an +alternative that works in the STM monad. +@item @code{RLock}: A lock which can be acquired multiple times by the +same thread. Also known as a reentrant mutex. +@item @code{ReadWriteLock}: Multiple-reader, single-writer locks. Used +to protect shared resources which may be concurrently read, but only +sequentially written. +@item @code{ReadWriteVar}: Concurrent read, sequential write variables. +@end itemize + +Please consult the API documentation of the individual modules for more +detailed information. + +This package was inspired by the concurrency libraries of Java and +Python.") + (license license:bsd-3))) + +(define-public ghc-concurrent-output + (package + (name "ghc-concurrent-output") + (version "1.10.9") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://hackage/package/concurrent-output/concurrent-output-" + version + ".tar.gz")) + (sha256 + (base32 + "0mwf155w89nbbkjln7hhbn8k3f8p0ylcvgrg31cm7ijpx4499i4c")))) + (build-system haskell-build-system) + (inputs + `(("ghc-async" ,ghc-async) + ("ghc-exceptions" ,ghc-exceptions) + ("ghc-ansi-terminal" ,ghc-ansi-terminal) + ("ghc-terminal-size" ,ghc-terminal-size))) + (home-page + "https://hackage.haskell.org/package/concurrent-output") + (synopsis + "Ungarble output from several threads or commands") + (description + "Lets multiple threads and external processes concurrently output to the +console, without it getting all garbled up. + +Built on top of that is a way of defining multiple output regions, which are +automatically laid out on the screen and can be individually updated by +concurrent threads. Can be used for progress displays etc.") + (license license:bsd-2))) + +(define-public ghc-conduit + (package + (name "ghc-conduit") + (version "1.3.0.3") + (source (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "conduit/conduit-" version ".tar.gz")) + (sha256 + (base32 + "1sangm0qqi9dzlq95746a3kl14k8b09592a423shxjf2a0b1yx5v")))) + (build-system haskell-build-system) + (inputs + `(("ghc-exceptions" ,ghc-exceptions) + ("ghc-lifted-base" ,ghc-lifted-base) + ("ghc-mono-traversable" ,ghc-mono-traversable) + ("ghc-mmorph" ,ghc-mmorph) + ("ghc-resourcet" ,ghc-resourcet) + ("ghc-silently" ,ghc-silently) + ("ghc-transformers-base" ,ghc-transformers-base) + ("ghc-unliftio" ,ghc-unliftio) + ("ghc-unliftio-core" ,ghc-unliftio-core) + ("ghc-vector" ,ghc-vector) + ("ghc-void" ,ghc-void))) + (native-inputs + `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-hspec" ,ghc-hspec) + ("ghc-safe" ,ghc-safe) + ("ghc-split" ,ghc-split))) + (home-page "https://github.com/snoyberg/conduit") + (synopsis "Streaming data library ") + (description + "The conduit package is a solution to the streaming data problem, +allowing for production, transformation, and consumption of streams of data +in constant memory. It is an alternative to lazy I/O which guarantees +deterministic resource handling, and fits in the same general solution +space as enumerator/iteratee and pipes.") + (license license:expat))) + +(define-public ghc-conduit-algorithms + (package + (name "ghc-conduit-algorithms") + (version "0.0.8.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "conduit-algorithms/conduit-algorithms-" + version ".tar.gz")) + (sha256 + (base32 + "07gx2q3d1bbfw14q41rmqg0i4m018pci10lswc0k1ij6lw7sb9fd")))) + (build-system haskell-build-system) + (inputs + `(("ghc-async" ,ghc-async) + ("ghc-bzlib-conduit" ,ghc-bzlib-conduit) + ("ghc-conduit" ,ghc-conduit) + ("ghc-conduit-combinators" ,ghc-conduit-combinators) + ("ghc-conduit-extra" ,ghc-conduit-extra) + ("ghc-exceptions" ,ghc-exceptions) + ("ghc-lzma-conduit" ,ghc-lzma-conduit) + ("ghc-monad-control" ,ghc-monad-control) + ("ghc-pqueue" ,ghc-pqueue) + ("ghc-resourcet" ,ghc-resourcet) + ("ghc-stm-conduit" ,ghc-stm-conduit) + ("ghc-streaming-commons" ,ghc-streaming-commons) + ("ghc-unliftio-core" ,ghc-unliftio-core) + ("ghc-vector" ,ghc-vector))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) + ("ghc-test-framework-th" ,ghc-test-framework-th))) + (home-page "https://github.com/luispedro/conduit-algorithms#readme") + (synopsis "Conduit-based algorithms") + (description + "This package provides algorithms on @code{Conduits}, including higher +level asynchronous processing and some other utilities.") + (license license:expat))) + +(define-public ghc-conduit-combinators + (package + (name "ghc-conduit-combinators") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "conduit-combinators-" version "/" + "conduit-combinators-" version ".tar.gz")) + (sha256 + (base32 + "1lz70vwp4y4lpsivxl0cshq7aq3968rh48r6rjvpyaj2l0bdj5wp")))) + (build-system haskell-build-system) + (inputs `(("ghc-conduit" ,ghc-conduit) + ("ghc-conduit-extra" ,ghc-conduit-extra) + ("ghc-transformers-base" ,ghc-transformers-base) + ("ghc-primitive" ,ghc-primitive) + ("ghc-vector" ,ghc-vector) + ("ghc-void" ,ghc-void) + ("ghc-mwc-random" ,ghc-mwc-random) + ("ghc-unix-compat" ,ghc-unix-compat) + ("ghc-base16-bytestring" ,ghc-base16-bytestring) + ("ghc-base64-bytestring" ,ghc-base64-bytestring) + ("ghc-resourcet" ,ghc-resourcet) + ("ghc-monad-control" ,ghc-monad-control) + ("ghc-chunked-data" ,ghc-chunked-data) + ("ghc-mono-traversable" ,ghc-mono-traversable))) + (native-inputs `(("ghc-hspec" ,ghc-hspec) + ("ghc-silently" ,ghc-silently) + ("ghc-safe" ,ghc-safe) + ("ghc-quickcheck" ,ghc-quickcheck))) + (home-page "https://github.com/snoyberg/mono-traversable") + (synopsis "Commonly used conduit functions, for both chunked and +unchunked data") + (description "This Haskell package provides a replacement for Data.Conduit.List, +as well as a convenient Conduit module.") + (license license:expat))) + +(define-public ghc-conduit-extra + (package + (name "ghc-conduit-extra") + (version "1.3.1.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "conduit-extra/conduit-extra-" + version ".tar.gz")) + (sha256 + (base32 + "0jaj350vv6mbb26gdwcqz4gwzfzrjydv5pis2da49wz1npbakcfw")))) + (build-system haskell-build-system) + (inputs + `(("ghc-conduit" ,ghc-conduit) + ("ghc-exceptions" ,ghc-exceptions) + ("ghc-monad-control" ,ghc-monad-control) + ("ghc-transformers-base" ,ghc-transformers-base) + ("ghc-typed-process" ,ghc-typed-process) + ("ghc-async" ,ghc-async) + ("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-blaze-builder" ,ghc-blaze-builder) + ("ghc-network" ,ghc-network) + ("ghc-primitive" ,ghc-primitive) + ("ghc-resourcet" ,ghc-resourcet) + ("ghc-streaming-commons" ,ghc-streaming-commons) + ("ghc-hspec" ,ghc-hspec) + ("ghc-bytestring-builder" ,ghc-bytestring-builder) + ("ghc-quickcheck" ,ghc-quickcheck))) + (native-inputs + `(("hspec-discover" ,hspec-discover))) + (home-page "https://github.com/snoyberg/conduit") + (synopsis "Conduit adapters for common libraries") + (description + "The @code{conduit} package itself maintains relative small dependencies. +The purpose of this package is to collect commonly used utility functions +wrapping other library dependencies, without depending on heavier-weight +dependencies. The basic idea is that this package should only depend on +@code{haskell-platform} packages and @code{conduit}.") + (license license:expat))) + +(define-public ghc-configurator + (package + (name "ghc-configurator") + (version "0.3.0.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "configurator/configurator-" + version ".tar.gz")) + (sha256 + (base32 + "1d1iq1knwiq6ia5g64rw5hqm6dakz912qj13r89737rfcxmrkfbf")))) + (build-system haskell-build-system) + (inputs + `(("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-hashable" ,ghc-hashable) + ("ghc-unix-compat" ,ghc-unix-compat) + ("ghc-unordered-containers" ,ghc-unordered-containers))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) + (home-page "http://github.com/bos/configurator") + (synopsis "Configuration management") + (description + "This package provides a configuration management library for programs +and daemons. The features include: + +@enumerate +@item Automatic, dynamic reloading in response to modifications to + configuration files. +@item A simple, but flexible, configuration language, supporting several of + the most commonly needed types of data, along with interpolation of strings + from the configuration or the system environment (e.g. @code{$(HOME)}). +@item Subscription-based notification of changes to configuration properties. +@item An @code{import} directive allows the configuration of a complex + application to be split across several smaller files, or common configuration + data to be shared across several applications. +@end enumerate\n") + (license license:bsd-3))) + +(define-public ghc-connection + (package + (name "ghc-connection") + (version "0.2.8") + (source (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "connection/connection-" + version ".tar.gz")) + (sha256 + (base32 + "1swkb9w5vx9ph7x55y51dc0srj2z27nd9ibgn8c0qcl6hx7g9cbh")))) + (build-system haskell-build-system) + (inputs + `(("ghc-byteable" ,ghc-byteable) + ("ghc-data-default-class" ,ghc-data-default-class) + ("ghc-network" ,ghc-network) + ("ghc-tls" ,ghc-tls) + ("ghc-socks" ,ghc-socks) + ("ghc-x509" ,ghc-x509) + ("ghc-x509-store" ,ghc-x509-store) + ("ghc-x509-system" ,ghc-x509-system) + ("ghc-x509-validation" ,ghc-x509-validation))) + (home-page "https://github.com/vincenthz/hs-connection") + (synopsis "Simple and easy network connections API") + (description + "This package provides a simple network library for all your connection +needs. It provides a very simple API to create sockets to a destination with +the choice of SSL/TLS, and SOCKS.") + (license license:bsd-3))) + +(define-public ghc-constraints + (package + (name "ghc-constraints") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/constraints/constraints-" + version ".tar.gz")) + (sha256 + (base32 + "1xy3vv78jxc17hm0z7qqspxjwv7l2jbcbj670yrl2f053qkfr02q")))) + (build-system haskell-build-system) + (inputs + `(("ghc-hashable" ,ghc-hashable) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-transformers-compat" ,ghc-transformers-compat))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("hspec-discover" ,hspec-discover))) + (home-page "https://github.com/ekmett/constraints/") + (synopsis "Constraint manipulation") + (description + "GHC 7.4 gave us the ability to talk about @code{ConstraintKinds}. +They stopped crashing the compiler in GHC 7.6. This package provides +a vocabulary for working with them.") + (license license:bsd-3))) + +(define-public ghc-contravariant + (package + (name "ghc-contravariant") + (version "1.4.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/contravariant/contravariant-" + version + ".tar.gz")) + (sha256 + (base32 + "1vfhk8c5cxmmakx7rflap1ipkx5q0j5vnlrcz7yz6y53kxhksgf9")))) + (build-system haskell-build-system) + (inputs + `(("ghc-void" ,ghc-void) + ("ghc-transformers-compat" ,ghc-transformers-compat) + ("ghc-statevar" ,ghc-statevar) + ("ghc-semigroups" ,ghc-semigroups))) + (home-page + "https://github.com/ekmett/contravariant/") + (synopsis "Contravariant functors") + (description "Contravariant functors for Haskell.") + (license license:bsd-3))) + +(define-public ghc-contravariant-extras + (package + (name "ghc-contravariant-extras") + (version "0.3.4") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "contravariant-extras-" version "/" + "contravariant-extras-" version ".tar.gz")) + (sha256 + (base32 + "0gg62ccl94kvh7mnvdq09pifqxjx2kgs189si90nmg44bafj7a9n")))) + (build-system haskell-build-system) + (inputs + `(("ghc-tuple-th" ,ghc-tuple-th) + ("ghc-contravariant" ,ghc-contravariant) + ("ghc-base-prelude" ,ghc-base-prelude) + ("ghc-semigroups" ,ghc-semigroups))) + (home-page "https://github.com/nikita-volkov/contravariant-extras") + (synopsis "Extras for the @code{ghc-contravariant} Haskell package") + (description "This Haskell package provides extras for the +@code{ghc-contravariant} package.") + (license license:expat))) + +(define-public ghc-convertible + (package + (name "ghc-convertible") + (version "1.1.1.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/convertible/" + "convertible-" version ".tar.gz")) + (sha256 + (base32 + "0v18ap1mccnndgxmbfgyjdicg8jlss01bd5fq8a576dr0h4sgyg9")))) + (build-system haskell-build-system) + (inputs + `(("ghc-old-time" ,ghc-old-time) + ("ghc-old-locale" ,ghc-old-locale))) + (home-page "https://hackage.haskell.org/package/convertible") + (synopsis "Typeclasses and instances for converting between types") + (description + "This package provides a typeclass with a single function that is +designed to help convert between different types: numeric values, dates and +times, and the like. The conversions perform bounds checking and return a +pure @code{Either} value. This means that you need not remember which specific +function performs the conversion you desire.") + (license license:bsd-3))) + +(define-public ghc-data-accessor + (package + (name "ghc-data-accessor") + (version "0.2.2.7") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://hackage/package/data-accessor/data-accessor-" + version ".tar.gz")) + (sha256 + (base32 "1vf2g1gac3rm32g97rl0fll51m88q7ry4m6khnl5j47qsmx24r9l")))) + (build-system haskell-build-system) + (home-page "https://www.haskell.org/haskellwiki/Record_access") + (synopsis + "Haskell utilities for accessing and manipulating fields of records") + (description "This package provides Haskell modules for accessing and +manipulating fields of records.") + (license license:bsd-3))) + +(define-public ghc-data-accessor-transformers + (package + (name "ghc-data-accessor-transformers") + (version "0.2.1.7") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://hackage/package/data-accessor-transformers/" + "data-accessor-transformers-" version ".tar.gz")) + (sha256 + (base32 "0yp030vafbpddl27m606aibbbr5ar5j5bsv4bksscz3cq4yq5j10")))) + (build-system haskell-build-system) + (inputs `(("ghc-data-accessor" ,ghc-data-accessor))) + (home-page "https://www.haskell.org/haskellwiki/Record_access") + (synopsis "Use Accessor to access state in transformers State monad") + (description "This package provides Haskell modules to allow use of +Accessor to access state in transformers State monad.") + (license license:bsd-3))) + +(define-public ghc-data-default + (package + (name "ghc-data-default") + (version "0.7.1.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/data-default/data-default-" + version + ".tar.gz")) + (sha256 + (base32 "04d5n8ybmcxba9qb6h389w9zfq1lvj81b82jh6maqp6pkhkmvydh")))) + (build-system haskell-build-system) + (inputs + `(("ghc-data-default-class" + ,ghc-data-default-class) + ("ghc-data-default-instances-base" + ,ghc-data-default-instances-base) + ("ghc-data-default-instances-containers" + ,ghc-data-default-instances-containers) + ("ghc-data-default-instances-dlist" + ,ghc-data-default-instances-dlist) + ("ghc-data-default-instances-old-locale" + ,ghc-data-default-instances-old-locale))) + (home-page "https://hackage.haskell.org/package/data-default") + (synopsis "Types with default values") + (description + "This package defines a class for types with a default value, and +provides instances for types from the base, containers, dlist and old-locale +packages.") + (license license:bsd-3))) + +(define-public ghc-data-default-class + (package + (name "ghc-data-default-class") + (version "0.1.2.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/data-default-class/" + "data-default-class-" version ".tar.gz")) + (sha256 + (base32 "0miyjz8d4jyvqf2vp60lyfbnflx6cj2k8apmm9ly1hq0y0iv80ag")))) + (build-system haskell-build-system) + (home-page "https://hackage.haskell.org/package/data-default-class") + (synopsis "Types with default values") + (description + "This package defines a class for types with default values.") + (license license:bsd-3))) + +(define-public ghc-data-default-instances-base + (package + (name "ghc-data-default-instances-base") + (version "0.1.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/" + "data-default-instances-base/" + "data-default-instances-base-" version ".tar.gz")) + (sha256 + (base32 "0ym1sw3ssdzzifxxhh76qlv8kkmb2iclc158incv1dklyr9y8kw4")))) + (build-system haskell-build-system) + (inputs + `(("ghc-data-default-class" ,ghc-data-default-class))) + (home-page "https://hackage.haskell.org/package/data-default-instances-base") + (synopsis "Default instances for types in base") + (description + "This package provides default instances for types from the base +package.") + (license license:bsd-3))) + +(define-public ghc-data-default-instances-containers + (package + (name "ghc-data-default-instances-containers") + (version "0.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/" + "data-default-instances-containers/" + "data-default-instances-containers-" version ".tar.gz")) + (sha256 + (base32 "06h8xka031w752a7cjlzghvr8adqbl95xj9z5zc1b62w02phfpm5")))) + (build-system haskell-build-system) + (inputs + `(("ghc-data-default-class" ,ghc-data-default-class))) + (home-page "https://hackage.haskell.org/package/data-default-instances-containers") + (synopsis "Default instances for types in containers") + (description "Provides default instances for types from the containers +package.") + (license license:bsd-3))) + +(define-public ghc-data-default-instances-dlist + (package + (name "ghc-data-default-instances-dlist") + (version "0.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/" + "data-default-instances-dlist/" + "data-default-instances-dlist-" version ".tar.gz")) + (sha256 + (base32 "0narkdqiprhgayjiawrr4390h4rq4pl2pb6mvixbv2phrc8kfs3x")))) + (build-system haskell-build-system) + (inputs + `(("ghc-data-default-class" ,ghc-data-default-class) + ("ghc-dlist" ,ghc-dlist))) + (home-page "https://hackage.haskell.org/package/data-default-instances-dlist") + (synopsis "Default instances for types in dlist") + (description "Provides default instances for types from the dlist +package.") + (license license:bsd-3))) + +(define-public ghc-data-default-instances-old-locale + (package + (name "ghc-data-default-instances-old-locale") + (version "0.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/" + "data-default-instances-old-locale/" + "data-default-instances-old-locale-" version ".tar.gz")) + (sha256 + (base32 "00h81i5phib741yj517p8mbnc48myvfj8axzsw44k34m48lv1lv0")))) + (build-system haskell-build-system) + (inputs + `(("ghc-data-default-class" ,ghc-data-default-class) + ("ghc-old-locale" ,ghc-old-locale))) + (home-page + "https://hackage.haskell.org/package/data-default-instances-old-locale") + (synopsis "Default instances for types in old-locale") + (description "Provides Default instances for types from the old-locale + package.") + (license license:bsd-3))) + +(define-public ghc-data-hash + (package + (name "ghc-data-hash") + (version "0.2.0.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/data-hash" + "/data-hash-" version ".tar.gz")) + (sha256 + (base32 "1ghbqvc48gf9p8wiy71hdpaj7by3b9cw6wgwi3qqz8iw054xs5wi")))) + (build-system haskell-build-system) + (inputs + `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) + (home-page "https://hackage.haskell.org/package/data-hash") + (synopsis "Combinators for building fast hashing functions") + (description + "This package provides combinators for building fast hashing functions. +It includes hashing functions for all basic Haskell98 types.") + (license license:bsd-3))) + +(define-public ghc-data-ordlist + (package + (name "ghc-data-ordlist") + (version "0.4.7.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/data-ordlist/data-ordlist-" + version ".tar.gz")) + (sha256 + (base32 + "03a9ix1fcx08viwv2jg5ndw1qbkydyyrmjvqr9wasmcik9x1wv3g")))) + (build-system haskell-build-system) + (home-page "https://hackage.haskell.org/package/data-ordlist") + (synopsis "Set and bag operations on ordered lists") + (description + "This module provides set and multiset operations on ordered lists.") + (license license:bsd-3))) + +(define-public ghc-deepseq-generics + (package + (name "ghc-deepseq-generics") + (version "0.2.0.0") + (source (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "deepseq-generics/deepseq-generics-" + version ".tar.gz")) + (sha256 + (base32 + "17bwghc15mc9pchfd1w46jh2p3wzc86aj6a537wqwxn08rayzcxh")))) + (build-system haskell-build-system) + (arguments + `(#:cabal-revision + ("2" "1pnidf8w8x0w5fsqgv8hhrw07slmhxwy5x4fikgk0bd6k76aqicb"))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) + (home-page "https://github.com/hvr/deepseq-generics") + (synopsis "Generic RNF implementation") + (description + "This package provides a @code{GHC.Generics}-based +@code{Control.DeepSeq.Generics.genericRnf} function which can be used for +providing an @code{rnf} implementation.") + (license license:bsd-3))) + +(define-public ghc-descriptive + (package + (name "ghc-descriptive") + (version "0.9.5") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/descriptive/descriptive-" + version + ".tar.gz")) + (sha256 + (base32 + "0y5693zm2kvqjilybbmrcv1g6n6x2p6zjgi0k0axjw1sdhh1g237")))) + (build-system haskell-build-system) + (inputs + `(("ghc-aeson" ,ghc-aeson) + ("ghc-bifunctors" ,ghc-bifunctors) + ("ghc-scientific" ,ghc-scientific) + ("ghc-vector" ,ghc-vector))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-hspec" ,ghc-hspec))) + (home-page + "https://github.com/chrisdone/descriptive") + (synopsis + "Self-describing consumers/parsers: forms, cmd-line args, JSON, etc.") + (description + "This package provides datatypes and functions for creating consumers +and parsers with useful semantics.") + (license license:bsd-3))) + +(define-public ghc-diff + (package + (name "ghc-diff") + (version "0.3.4") + (source (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "Diff/Diff-" version ".tar.gz")) + (sha256 + (base32 + "0bqcdvhxx8dmqc3793m6axg813wv9ldz2j37f1wygbbrbbndmdvp")))) + (build-system haskell-build-system) + (native-inputs + `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) + (home-page "https://hub.darcs.net/sterlingclover/Diff") + (synopsis "O(ND) diff algorithm in Haskell") + (description + "This package provides an implementation of the standard diff algorithm, +and utilities for pretty printing.") + (license license:bsd-3))) + +(define-public ghc-disk-free-space + (package + (name "ghc-disk-free-space") + (version "0.1.0.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "disk-free-space/disk-free-space-" + version ".tar.gz")) + (sha256 + (base32 + "07rqj8k1vh3cykq9yidpjxhgh1f7vgmjs6y1nv5kq2217ff4yypi")))) + (build-system haskell-build-system) + (home-page "https://github.com/redneb/disk-free-space") + (synopsis "Retrieve information about disk space usage") + (description "A cross-platform library for retrieving information about +disk space usage.") + (license license:bsd-3))) + +(define-public ghc-distributive + (package + (name "ghc-distributive") + (version "0.5.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/distributive/distributive-" + version + ".tar.gz")) + (sha256 + (base32 + "0y566r97sfyvhsmd4yxiz4ns2mqgwf5bdbp56wgxl6wlkidq0wwi")))) + (build-system haskell-build-system) + (arguments + `(#:cabal-revision + ("6" "06bd38rf31yrvvy989r44pm0id3dsxwcp6nxg7wk6ccj3n2b8rzk"))) + (inputs + `(("ghc-tagged" ,ghc-tagged) + ("ghc-base-orphans" ,ghc-base-orphans) + ("ghc-transformers-compat" ,ghc-transformers-compat) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-generic-deriving" ,ghc-generic-deriving))) + (native-inputs + `(("cabal-doctest" ,cabal-doctest) + ("ghc-doctest" ,ghc-doctest) + ("ghc-hspec" ,ghc-hspec) + ("hspec-discover" ,hspec-discover))) + (home-page "https://github.com/ekmett/distributive/") + (synopsis "Distributive functors for Haskell") + (description "This package provides distributive functors for Haskell. +Dual to @code{Traversable}.") + (license license:bsd-3))) + +(define-public ghc-dlist + (package + (name "ghc-dlist") + (version "0.8.0.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/dlist/dlist-" + version + ".tar.gz")) + (sha256 + (base32 "0yirrh0s6acjy9hhvf5fqg2d6q5y6gm9xs04v6w1imndh1xqdwdc")))) + (build-system haskell-build-system) + (inputs + `(("ghc-quickcheck" ,ghc-quickcheck))) + (home-page "https://github.com/spl/dlist") + (synopsis "Difference lists") + (description + "Difference lists are a list-like type supporting O(1) append. This is +particularly useful for efficient logging and pretty printing (e.g. with the +Writer monad), where list append quickly becomes too expensive.") + (license license:bsd-3))) + +(define-public ghc-doctemplates + (package + (name "ghc-doctemplates") + (version "0.2.2.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "doctemplates/doctemplates-" + version ".tar.gz")) + (sha256 + (base32 + "1gyckfg3kgvzhxw14i7iwrw0crygvsp86sy53bbr1yn7bxbgn33b")))) + (build-system haskell-build-system) + (inputs + `(("ghc-aeson" ,ghc-aeson) + ("ghc-blaze-markup" ,ghc-blaze-markup) + ("ghc-blaze-html" ,ghc-blaze-html) + ("ghc-vector" ,ghc-vector) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-scientific" ,ghc-scientific))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec))) + (home-page "https://github.com/jgm/doctemplates#readme") + (synopsis "Pandoc-style document templates") + (description + "This package provides a simple text templating system used by pandoc.") + (license license:bsd-3))) + +(define-public ghc-doctest + (package + (name "ghc-doctest") + (version "0.16.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/doctest/doctest-" + version + ".tar.gz")) + (sha256 + (base32 + "0hkccch65s3kp0b36h7bqhilnpi4bx8kngncm7ma9vbd3dwacjdv")))) + (build-system haskell-build-system) + (arguments `(#:tests? #f)) ; FIXME: missing test framework + (inputs + `(("ghc-syb" ,ghc-syb) + ("ghc-paths" ,ghc-paths) + ("ghc-base-compat" ,ghc-base-compat) + ("ghc-code-page" ,ghc-code-page) + ("ghc-hunit" ,ghc-hunit) + ("ghc-hspec" ,ghc-hspec) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-stringbuilder" ,ghc-stringbuilder) + ("ghc-silently" ,ghc-silently) + ("ghc-setenv" ,ghc-setenv))) + (home-page + "https://github.com/sol/doctest#readme") + (synopsis "Test interactive Haskell examples") + (description "The doctest program checks examples in source code comments. +It is modeled after doctest for Python, see +@uref{https://docs.python.org/library/doctest.html, the Doctest website}.") + (license license:expat))) + +(define-public ghc-double-conversion + (package + (name "ghc-double-conversion") + (version "2.0.2.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "double-conversion/double-conversion-" + version ".tar.gz")) + (sha256 + (base32 + "0sx2kc1gw72mjvd8vph8bbjw5whfxfv92rsdhjg1c0al75rf3ka4")))) + (build-system haskell-build-system) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) + ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) + (home-page "https://github.com/bos/double-conversion") + (synopsis "Fast conversion between double precision floating point and text") + (description + "This package provides a library that performs fast, accurate conversion +between double precision floating point and text.") + (license license:bsd-3))) + +(define-public ghc-easy-file + (package + (name "ghc-easy-file") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/easy-file/easy-file-" + version + ".tar.gz")) + (sha256 + (base32 + "0zmlcz723051qpn8l8vi51c5rx1blwrw4094jcshkmj8p9r2xxaj")))) + (build-system haskell-build-system) + (home-page + "https://github.com/kazu-yamamoto/easy-file") + (synopsis "File handling library for Haskell") + (description "This library provides file handling utilities for Haskell.") + (license license:bsd-3))) + +(define-public ghc-easyplot + (package + (name "ghc-easyplot") + (version "1.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/easyplot/easyplot-" + version ".tar.gz")) + (sha256 + (base32 "18kndgvdj2apjpfga6fp7m16y1gx8zrwp3c5vfj03sx4v6jvciqk")))) + (build-system haskell-build-system) + (propagated-inputs `(("gnuplot" ,gnuplot))) + (arguments + `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'fix-setup-suffix + (lambda _ (rename-file "Setup.lhs" "Setup.hs") #t))))) + (home-page "https://hub.darcs.net/scravy/easyplot") + (synopsis "Haskell plotting library based on gnuplot") + (description "This package provides a plotting library for +Haskell, using gnuplot for rendering.") + (license license:expat))) + +(define-public ghc-echo + (package + (name "ghc-echo") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/echo/echo-" + version ".tar.gz")) + (sha256 + (base32 + "1vw5ykpwhr39wc0hhcgq3r8dh59zq6ib4zxbz1qd2wl21wqhfkvh")))) + (build-system haskell-build-system) + (arguments + `(#:cabal-revision + ("1" "0br8wfiybcw5hand4imiw0i5hacdmrax1dv8g95f35gazffbx42l"))) + (home-page "https://github.com/RyanGlScott/echo") + (synopsis "Echo terminal input portably") + (description "The @code{base} library exposes the @code{hGetEcho} and +@code{hSetEcho} functions for querying and setting echo status, but +unfortunately, neither function works with MinTTY consoles on Windows. +This library provides an alternative interface which works with both +MinTTY and other consoles.") + (license license:bsd-3))) + +(define-public ghc-edisonapi + (package + (name "ghc-edisonapi") + (version "1.3.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/EdisonAPI" + "/EdisonAPI-" version ".tar.gz")) + (sha256 + (base32 "0vmmlsj8ggbpwx6fkf5fvb6jp0zpx6iba6b28m80lllr2p8bi8wm")))) + (build-system haskell-build-system) + (home-page "http://rwd.rdockins.name/edison/home/") + (synopsis "Library of efficient, purely-functional data structures (API)") + (description + "Edison is a library of purely functional data structures written by +Chris Okasaki. It is named after Thomas Alva Edison and for the mnemonic +value EDiSon (Efficient Data Structures). Edison provides several families of +abstractions, each with multiple implementations. The main abstractions +provided by Edison are: Sequences such as stacks, queues, and dequeues; +Collections such as sets, bags and heaps; and Associative Collections such as +finite maps and priority queues where the priority and element are distinct.") + (license license:expat))) + +(define-public ghc-edisoncore + (package + (name "ghc-edisoncore") + (version "1.3.2.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/EdisonCore" + "/EdisonCore-" version ".tar.gz")) + (sha256 + (base32 "0fgj5iwiv3v2gdgx7kjcr15dcs4x1kvmjspp3p99wyhh0x6h3ikk")))) + (build-system haskell-build-system) + (inputs + `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-edisonapi" ,ghc-edisonapi))) + (home-page "http://rwd.rdockins.name/edison/home/") + (synopsis "Library of efficient, purely-functional data structures") + (description + "This package provides the core Edison data structure implementations, +including multiple sequence, set, bag, and finite map concrete implementations +with various performance characteristics.") + (license license:expat))) + +(define-public ghc-edit-distance + (package + (name "ghc-edit-distance") + (version "0.2.2.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/edit-distance" + "/edit-distance-" version ".tar.gz")) + (sha256 + (base32 "0jkca97zyv23yyilp3jydcrzxqhyk27swhzh82llvban5zp8b21y")))) + (build-system haskell-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'update-constraints + (lambda _ + (substitute* "edit-distance.cabal" + (("QuickCheck >= 2\\.4 && <2\\.9") + "QuickCheck >= 2.4 && < 2.12"))))))) + (inputs + `(("ghc-random" ,ghc-random) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) + (home-page "https://github.com/phadej/edit-distance") + (synopsis "Levenshtein and restricted Damerau-Levenshtein edit distances") + (description + "This package provides optimized functions to determine the edit +distances for fuzzy matching, including Levenshtein and restricted +Damerau-Levenshtein algorithms.") + (license license:bsd-3))) + +(define-public ghc-either + (package + (name "ghc-either") + (version "5.0.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "either-" version "/" + "either-" version ".tar.gz")) + (sha256 + (base32 + "064hjfld7dkzs78sy30k5qkiva3hx24rax6dvzz5ygr2c0zypdkc")))) + (build-system haskell-build-system) + (inputs `(("ghc-bifunctors" ,ghc-bifunctors) + ("ghc-exceptions" ,ghc-exceptions) + ("ghc-free" ,ghc-free) + ("ghc-monad-control" ,ghc-monad-control) + ("ghc-manodrandom" ,ghc-monadrandom) + ("ghc-mmorph" ,ghc-mmorph) + ("ghc-profunctors" ,ghc-profunctors) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-semigroupoids" ,ghc-semigroupoids) + ("ghc-transformers-base" ,ghc-transformers-base))) + (native-inputs + `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) + (home-page "https://github.com/ekmett/either") + (synopsis "Provides an either monad transformer for Haskell") + (description "This Haskell package provides an either monad transformer.") + (license license:bsd-3))) + +(define-public ghc-email-validate + (package + (name "ghc-email-validate") + (version "2.3.2.6") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/" + "email-validate/email-validate-" + version + ".tar.gz")) + (sha256 + (base32 + "0chgylvc8xmhp933rdbmpg5sv4y7yg2h6kbf0ip1dzmbd5p55pa5")))) + (build-system haskell-build-system) + (inputs + `(("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-hspec" ,ghc-hspec) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-doctest" ,ghc-doctest))) + (home-page + "https://github.com/Porges/email-validate-hs") + (synopsis "Email address validator for Haskell") + (description + "This Haskell package provides a validator that can validate an email +address string against RFC 5322.") + (license license:bsd-3))) + +(define-public ghc-enclosed-exceptions + (package + (name "ghc-enclosed-exceptions") + (version "1.0.3") + (source (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "enclosed-exceptions/enclosed-exceptions-" + version ".tar.gz")) + (sha256 + (base32 + "1fghjj7nkiddrf03ks8brjpr5x25yi9fs7xg6adbi4mc2gqr6vdg")))) + (build-system haskell-build-system) + ;; FIXME: one of the tests blocks forever: + ;; "thread blocked indefinitely in an MVar operation" + (arguments '(#:tests? #f)) + (inputs + `(("ghc-lifted-base" ,ghc-lifted-base) + ("ghc-monad-control" ,ghc-monad-control) + ("ghc-async" ,ghc-async) + ("ghc-transformers-base" ,ghc-transformers-base))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("ghc-quickcheck" ,ghc-quickcheck))) + (home-page "https://github.com/jcristovao/enclosed-exceptions") + (synopsis "Catch all exceptions from within an enclosed computation") + (description + "This library implements a technique to catch all exceptions raised +within an enclosed computation, while remaining responsive to (external) +asynchronous exceptions.") + (license license:expat))) + +(define-public ghc-equivalence + (package + (name "ghc-equivalence") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/equivalence" + "/equivalence-" version ".tar.gz")) + (sha256 + (base32 "0a85bdyyvjqs5z4kfhhf758210k9gi9dv42ik66a3jl0z7aix8kx")))) + (build-system haskell-build-system) + (inputs + `(("ghc-stmonadtrans" ,ghc-stmonadtrans) + ("ghc-transformers-compat" ,ghc-transformers-compat) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) + (home-page "https://github.com/pa-ba/equivalence") + (synopsis "Maintaining an equivalence relation implemented as union-find") + (description + "This is an implementation of Tarjan's Union-Find algorithm (Robert E.@: +Tarjan. \"Efficiency of a Good But Not Linear Set Union Algorithm\",JACM +22(2), 1975) in order to maintain an equivalence relation. This +implementation is a port of the @code{union-find} package using the @code{ST} +monad transformer (instead of the IO monad).") + (license license:bsd-3))) + +(define-public ghc-erf + (package + (name "ghc-erf") + (version "2.0.0.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "erf-" version "/" + "erf-" version ".tar.gz")) + (sha256 + (base32 + "0dxk2r32ajmmc05vaxcp0yw6vgv4lkbmh8jcshncn98xgsfbgw14")))) + (build-system haskell-build-system) + (home-page "https://hackage.haskell.org/package/erf") + (synopsis "The error function, erf, and related functions for Haskell") + (description "This Haskell library provides a type class for the +error function, erf, and related functions. Instances for Float and +Double.") + (license license:bsd-3))) + +(define-public ghc-errorcall-eq-instance + (package + (name "ghc-errorcall-eq-instance") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "errorcall-eq-instance/errorcall-eq-instance-" + version ".tar.gz")) + (sha256 + (base32 + "0hqw82m8bbrxy5vgdwb83bhzdx070ibqrm9rshyja7cb808ahijm")))) + (build-system haskell-build-system) + (inputs + `(("ghc-base-orphans" ,ghc-base-orphans))) + (native-inputs + `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-hspec" ,ghc-hspec) + ("hspec-discover" ,hspec-discover))) + (home-page "http://hackage.haskell.org/package/errorcall-eq-instance") + (synopsis "Orphan Eq instance for ErrorCall") + (description + "Prior to @code{base-4.7.0.0} there was no @code{Eq} instance for @code{ErrorCall}. +This package provides an orphan instance.") + (license license:expat))) + +(define-public ghc-errors + (package + (name "ghc-errors") + (version "2.3.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "errors-" version "/" + "errors-" version ".tar.gz")) + (sha256 + (base32 + "0x8znwn31qcx6kqx99wp7bc86kckfb39ncz3zxvj1s07kxlfawk7")))) + (build-system haskell-build-system) + (inputs + `(("ghc-exceptions" ,ghc-exceptions) + ("ghc-transformers-compat" ,ghc-transformers-compat) + ("ghc-unexceptionalio" ,ghc-unexceptionalio) + ("ghc-safe" ,ghc-safe))) + (home-page "https://github.com/gabriel439/haskell-errors-library") + (synopsis "Error handling library for Haskell") + (description "This library encourages an error-handling style that +directly uses the type system, rather than out-of-band exceptions.") + (license license:bsd-3))) + +(define-public ghc-esqueleto + (let ((version "2.5.3") + (revision "1") + (commit "b81e0d951e510ebffca03c5a58658ad884cc6fbd")) + (package + (name "ghc-esqueleto") + (version (git-version version revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/bitemyapp/esqueleto") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0lz1qxms7cfg5p3j37inlych0r2fwhm8xbarcys3df9m7jy9nixa")))) + (build-system haskell-build-system) + (arguments + `(#:haddock? #f ; Haddock reports an internal error. + #:phases + (modify-phases %standard-phases + ;; This package normally runs tests for the MySQL, PostgreSQL, and + ;; SQLite backends. Since we only have Haskell packages for + ;; SQLite, we remove the other two test suites. FIXME: Add the + ;; other backends and run all three test suites. + (add-before 'configure 'remove-non-sqlite-test-suites + (lambda _ + (use-modules (ice-9 rdelim)) + (with-atomic-file-replacement "esqueleto.cabal" + (lambda (in out) + (let loop ((line (read-line in 'concat)) (deleting? #f)) + (cond + ((eof-object? line) #t) + ((string-every char-set:whitespace line) + (unless deleting? (display line out)) + (loop (read-line in 'concat) #f)) + ((member line '("test-suite mysql\n" + "test-suite postgresql\n")) + (loop (read-line in 'concat) #t)) + (else + (unless deleting? (display line out)) + (loop (read-line in 'concat) deleting?))))))))))) + (inputs + `(("ghc-blaze-html" ,ghc-blaze-html) + ("ghc-conduit" ,ghc-conduit) + ("ghc-monad-logger" ,ghc-monad-logger) + ("ghc-persistent" ,ghc-persistent) + ("ghc-resourcet" ,ghc-resourcet) + ("ghc-tagged" ,ghc-tagged) + ("ghc-unliftio" ,ghc-unliftio) + ("ghc-unordered-containers" ,ghc-unordered-containers))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("ghc-persistent-sqlite" ,ghc-persistent-sqlite) + ("ghc-persistent-template" ,ghc-persistent-template))) + (home-page "https://github.com/bitemyapp/esqueleto") + (synopsis "Type-safe embedded domain specific language for SQL queries") + (description "This library provides a type-safe embedded domain specific +language (EDSL) for SQL queries that works with SQL backends as provided by +@code{ghc-persistent}. Its language closely resembles SQL, so you don't have +to learn new concepts, just new syntax, and it's fairly easy to predict the +generated SQL and optimize it for your backend.") + (license license:bsd-3)))) + +(define-public ghc-exactprint + (package + (name "ghc-exactprint") + (version "0.5.6.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/" + "ghc-exactprint/ghc-exactprint-" version ".tar.gz")) + (sha256 + (base32 + "141k6qiys0m0r4br7ikp4i546vs3xcil9cwglzcdfcbnb5nj1z87")))) + (build-system haskell-build-system) + (inputs + `(("ghc-paths" ,ghc-paths) + ("ghc-syb" ,ghc-syb) + ("ghc-free" ,ghc-free))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-diff" ,ghc-diff) + ("ghc-silently" ,ghc-silently) + ("ghc-filemanip" ,ghc-filemanip))) + (home-page + "http://hackage.haskell.org/package/ghc-exactprint") + (synopsis "ExactPrint for GHC") + (description + "Using the API Annotations available from GHC 7.10.2, this library +provides a means to round-trip any code that can be compiled by GHC, currently +excluding @file{.lhs} files.") + (license license:bsd-3))) + +(define-public ghc-exceptions + (package + (name "ghc-exceptions") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/exceptions/exceptions-" + version + ".tar.gz")) + (sha256 + (base32 + "1ms9zansv0pwzwdjncvx4kf18lnkjy2p61hvjhvxmjx5bqp93p8y")))) + (build-system haskell-build-system) + (native-inputs + `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) + ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) + (inputs + `(("ghc-transformers-compat" ,ghc-transformers-compat))) + (home-page "https://github.com/ekmett/exceptions/") + (synopsis "Extensible optionally-pure exceptions") + (description "This library provides extensible optionally-pure exceptions +for Haskell.") + (license license:bsd-3))) + +(define-public ghc-executable-path + (package + (name "ghc-executable-path") + (version "0.0.3.1") + (source (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "executable-path/executable-path-" + version ".tar.gz")) + (sha256 + (base32 + "0vxwmnsvx13cawcyhbyljkds0l1vr996ijldycx7nj0asjv45iww")))) + (build-system haskell-build-system) + (home-page "https://hackage.haskell.org/package/executable-path") + (synopsis "Find out the full path of the executable") + (description + "The documentation of @code{System.Environment.getProgName} says that +\"However, this is hard-to-impossible to implement on some non-Unix OSes, so +instead, for maximum portability, we just return the leafname of the program +as invoked.\" This library tries to provide the missing path.") + (license license:public-domain))) + +(define-public ghc-extensible-exceptions + (package + (name "ghc-extensible-exceptions") + (version "0.1.1.4") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "extensible-exceptions/extensible-exceptions-" + version ".tar.gz")) + (sha256 + (base32 "1273nqws9ij1rp1bsq5jc7k2jxpqa0svawdbim05lf302y0firbc")))) + (build-system haskell-build-system) + (home-page "https://hackage.haskell.org/package/extensible-exceptions") + (synopsis "Extensible exceptions for Haskell") + (description + "This package provides extensible exceptions for both new and old +versions of GHC (i.e., < 6.10).") + (license license:bsd-3))) + +(define-public ghc-extra + (package + (name "ghc-extra") + (version "1.6.9") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/extra/extra-" + version + ".tar.gz")) + (sha256 + (base32 + "0xxcpb00pgwi9cmy6a7ghh6rblxry42p8pz5ssfgj20fs1xwzj1b")))) + (build-system haskell-build-system) + (inputs + `(("ghc-clock" ,ghc-clock) + ("ghc-quickcheck" ,ghc-quickcheck))) + (home-page "https://github.com/ndmitchell/extra") + (synopsis "Extra Haskell functions") + (description "This library provides extra functions for the standard +Haskell libraries. Most functions are simple additions, filling out missing +functionality. A few functions are available in later versions of GHC, but +this package makes them available back to GHC 7.2.") + (license license:bsd-3))) + +(define-public ghc-fail + (package + (name "ghc-fail") + (version "4.9.0.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/fail/fail-" + version ".tar.gz")) + (sha256 + (base32 "18nlj6xvnggy61gwbyrpmvbdkq928wv0wx2zcsljb52kbhddnp3d")))) + (build-system haskell-build-system) + (arguments `(#:haddock? #f)) ; Package contains no documentation. + (home-page "https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail") + (synopsis "Forward-compatible MonadFail class") + (description + "This package contains the @code{Control.Monad.Fail} module providing the +@uref{https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail, MonadFail} +class that became available in +@uref{https://hackage.haskell.org/package/base-4.9.0.0, base-4.9.0.0} for +older @code{base} package versions. This package turns into an empty package +when used with GHC versions which already provide the +@code{Control.Monad.Fail} module.") + (license license:bsd-3))) + +(define-public ghc-fast-logger + (package + (name "ghc-fast-logger") + (version "2.4.11") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/fast-logger/fast-logger-" + version + ".tar.gz")) + (sha256 + (base32 + "1ad2vq4nifdxshqk9yrmghqizhkgybfz134kpr6padglb2mxxrdv")))) + (build-system haskell-build-system) + (inputs + `(("ghc-auto-update" ,ghc-auto-update) + ("ghc-easy-file" ,ghc-easy-file) + ("ghc-unix-time" ,ghc-unix-time))) + (native-inputs + `(("hspec-discover" ,hspec-discover) + ("ghc-hspec" ,ghc-hspec))) + (home-page "https://hackage.haskell.org/package/fast-logger") + (synopsis "Fast logging system") + (description "This library provides a fast logging system for Haskell.") + (license license:bsd-3))) + +(define-public ghc-feed + (package + (name "ghc-feed") + (version "1.0.0.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "feed/feed-" version ".tar.gz")) + (sha256 + (base32 + "05rgg7x1984mgfhkmz792xj8lhwjgznixhygzr8blf517lns2nck")))) + (build-system haskell-build-system) + (arguments + `(#:cabal-revision + ("4" "0baavcavm3ywykcr9cm07aqr7sna98jba2n68lyn3kany8ri214d"))) + (inputs + `(("ghc-base-compat" ,ghc-base-compat) + ("ghc-old-locale" ,ghc-old-locale) + ("ghc-old-time" ,ghc-old-time) + ("ghc-safe" ,ghc-safe) + ("ghc-time-locale-compat" ,ghc-time-locale-compat) + ("ghc-utf8-string" ,ghc-utf8-string) + ("ghc-xml-conduit" ,ghc-xml-conduit) + ("ghc-xml-types" ,ghc-xml-types))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) + (home-page "https://github.com/bergmark/feed") + (synopsis "Haskell package for handling various syndication formats") + (description "This Haskell package includes tools for generating and +consuming feeds in both RSS (Really Simple Syndication) and Atom format.") + (license license:bsd-3))) + +(define-public ghc-fgl + (package + (name "ghc-fgl") + (version "5.6.0.0") + (outputs '("out" "doc")) + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/fgl/fgl-" + version + ".tar.gz")) + (sha256 + (base32 + "1i6cp4b3w7sjk7y1dq3fh6bci2sm5h3lnbbaw9ln19nwncg2wwll")))) + (build-system haskell-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'update-constraints + (lambda _ + (substitute* "fgl.cabal" + (("QuickCheck >= 2\\.8 && < 2\\.10") + "QuickCheck >= 2.8 && < 2.12") + (("hspec >= 2\\.1 && < 2\\.5") + "hspec >= 2.1 && < 2.6"))))))) + (inputs + `(("ghc-hspec" ,ghc-hspec) + ("ghc-quickcheck" ,ghc-quickcheck))) + (home-page "https://web.engr.oregonstate.edu/~erwig/fgl/haskell") + (synopsis + "Martin Erwig's Functional Graph Library") + (description "The functional graph library, FGL, is a collection of type +and function definitions to address graph problems. The basis of the library +is an inductive definition of graphs in the style of algebraic data types that +encourages inductive, recursive definitions of graph algorithms.") + (license license:bsd-3))) + +(define-public ghc-fgl-arbitrary + (package + (name "ghc-fgl-arbitrary") + (version "0.2.0.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/fgl-arbitrary/fgl-arbitrary-" + version ".tar.gz")) + (sha256 + (base32 + "0ln1szgfy8fa78l3issq4fx3aqnnd54w3cb4wssrfi48vd5rkfjm")))) + (build-system haskell-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'update-constraints + (lambda _ + (substitute* "fgl-arbitrary.cabal" + (("QuickCheck >= 2\\.3 && < 2\\.10") + "QuickCheck >= 2.3 && < 2.12") + (("hspec >= 2\\.1 && < 2\\.5") + "hspec >= 2.1 && < 2.6"))))))) + (inputs + `(("ghc-fgl" ,ghc-fgl) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-hspec" ,ghc-hspec))) + (home-page "https://hackage.haskell.org/package/fgl-arbitrary") + (synopsis "QuickCheck support for fgl") + (description + "Provides Arbitrary instances for fgl graphs to avoid adding a +QuickCheck dependency for fgl whilst still making the instances +available to others. Also available are non-fgl-specific functions +for generating graph-like data structures.") + (license license:bsd-3))) + +(define-public ghc-file-embed + (package + (name "ghc-file-embed") + (version "0.0.10.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/file-embed/" + "file-embed-" version ".tar.gz")) + (sha256 + (base32 + "0lj164cnzqyd487mli91nnr7137a4h4qsasfwsnsh77sx12fpk9k")))) + (build-system haskell-build-system) + (home-page "https://github.com/snoyberg/file-embed") + (synopsis "Use Template Haskell to embed file contents directly") + (description + "This package allows you to use Template Haskell to read a file or all +the files in a directory, and turn them into @code{(path, bytestring)} pairs +embedded in your Haskell code.") + (license license:bsd-3))) + +(define-public ghc-filemanip + (package + (name "ghc-filemanip") + (version "0.3.6.3") + (source (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "filemanip/filemanip-" version ".tar.gz")) + (sha256 + (base32 + "0ilqr8jv41zxcj5qyicg29m8s30b9v70x6f9h2h2rw5ap8bxldl8")))) + (build-system haskell-build-system) + (inputs + `(("ghc-unix-compat" ,ghc-unix-compat))) + (home-page "https://github.com/bos/filemanip") + (synopsis "File and directory manipulation for Haskell") + (description + "This package provides a Haskell library for working with files and +directories. It includes code for pattern matching, finding files, modifying +file contents, and more.") + (license license:bsd-3))) + +(define-public ghc-findbin + (package + (name "ghc-findbin") + (version "0.0.5") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/FindBin/FindBin-" + version ".tar.gz")) + (sha256 + (base32 + "197xvn05yysmibm1p5wzxfa256lvpbknr5d1l2ws6g40w1kpk717")))) + (build-system haskell-build-system) + (home-page "https://github.com/audreyt/findbin") + (synopsis "Get the absolute path of the running program") + (description + "This module locates the full directory of the running program, to allow +the use of paths relative to it. FindBin supports invocation of Haskell +programs via \"ghci\", via \"runhaskell/runghc\", as well as compiled as +an executable.") + (license license:bsd-3))) + +(define-public ghc-fingertree + (package + (name "ghc-fingertree") + (version "0.1.4.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/fingertree/fingertree-" + version ".tar.gz")) + (sha256 + (base32 + "192fyzv0pn1437wdpqg1l80rswkk4rw3w61r4bq7dhv354bdqy4p")))) + (build-system haskell-build-system) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) + ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) + (home-page "https://hackage.haskell.org/package/fingertree") + (synopsis "Generic finger-tree structure") + (description "This library provides finger trees, a general sequence +representation with arbitrary annotations, for use as a base for +implementations of various collection types. It includes examples, as +described in section 4 of Ralf Hinze and Ross Paterson, \"Finger trees: a +simple general-purpose data structure\".") + (license license:bsd-3))) + +(define-public ghc-fixed + (package + (name "ghc-fixed") + (version "0.2.1.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/fixed/fixed-" + version ".tar.gz")) + (sha256 + (base32 + "1qhmwx8iqshns0crmr9d2f8hm65jxbcp3dvv0c39v34ra7if3a94")))) + (build-system haskell-build-system) + (home-page "https://github.com/ekmett/fixed") + (synopsis "Signed 15.16 precision fixed point arithmetic") + (description + "This package provides functions for signed 15.16 precision fixed point +arithmetic.") + (license license:bsd-3))) + +(define-public ghc-foldl + (package + (name "ghc-foldl") + (version "1.4.3") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "foldl-" version "/" + "foldl-" version ".tar.gz")) + (sha256 + (base32 + "13n0ca3hw5jzqf6rxsdbhbwkn61a9zlm13f0f205s60j3sc72jzk")))) + (build-system haskell-build-system) + (inputs `(("ghc-mwc-randam" ,ghc-mwc-random) + ("ghc-primitive" ,ghc-primitive) + ("ghc-vector" ,ghc-vector) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-hashable" ,ghc-hashable) + ("ghc-contravariant" ,ghc-contravariant) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-profunctors" ,ghc-profunctors) + ("ghc-semigroupoids" ,ghc-semigroupoids) + ("ghc-comonad" ,ghc-comonad) + ("ghc-vector-builder" ,ghc-vector-builder))) + (home-page "https://github.com/Gabriel439/Haskell-Foldl-Library") + (synopsis "Composable, streaming, and efficient left folds for Haskell") + (description "This Haskell library provides strict left folds that stream +in constant memory, and you can combine folds using @code{Applicative} style +to derive new folds. Derived folds still traverse the container just once +and are often as efficient as hand-written folds.") + (license license:bsd-3))) + +(define-public ghc-foundation + (package + (name "ghc-foundation") + (version "0.0.21") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "foundation/foundation-" version ".tar.gz")) + (sha256 + (base32 + "1q43y8wfj0wf9gdq2kzphwjwq6m5pvryy1lqgk954aq5z3ks1lsf")))) + (build-system haskell-build-system) + (inputs `(("ghc-basement" ,ghc-basement))) + (home-page "https://github.com/haskell-foundation/foundation") + (synopsis "Alternative prelude with batteries and no dependencies") + (description + "This package provides a custom prelude with no dependencies apart from +the base package. + +Foundation has the following goals: + +@enumerate +@item provide a base like sets of modules that provide a consistent set of + features and bugfixes across multiple versions of GHC (unlike base). +@item provide a better and more efficient prelude than base's prelude. +@item be self-sufficient: no external dependencies apart from base; +@item provide better data-types: packed unicode string by default, arrays; +@item Numerical classes that better represent mathematical things (no more + all-in-one @code{Num}); +@item I/O system with less lazy IO. +@end enumerate\n") + (license license:bsd-3))) + +(define-public ghc-free + (package + (name "ghc-free") + (version "5.0.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/free/free-" + version + ".tar.gz")) + (sha256 + (base32 + "15m3n9vhz7z3kzv1w3wlfa3x8jp4cbrkwmrcjr7jlx39iqffn1gg")))) + (build-system haskell-build-system) + (inputs + `(("ghc-prelude-extras" ,ghc-prelude-extras) + ("ghc-profunctors" ,ghc-profunctors) + ("ghc-exceptions" ,ghc-exceptions) + ("ghc-bifunctors" ,ghc-bifunctors) + ("ghc-comonad" ,ghc-comonad) + ("ghc-distributive" ,ghc-distributive) + ("ghc-semigroupoids" ,ghc-semigroupoids) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-transformers-base" ,ghc-transformers-base) + ("ghc-transformers-compat" ,ghc-transformers-compat))) + (home-page "https://github.com/ekmett/free/") + (synopsis "Unrestricted monads for Haskell") + (description "This library provides free monads, which are useful for many +tree-like structures and domain specific languages. If @code{f} is a +@code{Functor} then the free @code{Monad} on @code{f} is the type of trees +whose nodes are labeled with the constructors of @code{f}. The word \"free\" +is used in the sense of \"unrestricted\" rather than \"zero-cost\": @code{Free +f} makes no constraining assumptions beyond those given by @code{f} and the +definition of @code{Monad}.") + (license license:bsd-3))) + +(define-public ghc-fsnotify + (package + (name "ghc-fsnotify") + (version "0.3.0.1") + (source (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/fsnotify/" + "fsnotify-" version ".tar.gz")) + (sha256 + (base32 + "19bdbz9wb9jvln6yg6qm0hz0w84bypvkxf0wjhgrgd52f9gidlny")))) + (build-system haskell-build-system) + (inputs + `(("ghc-async" ,ghc-async) + ("ghc-unix-compat" ,ghc-unix-compat) + ("ghc-hinotify" ,ghc-hinotify) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-random" ,ghc-random) + ("ghc-shelly" ,ghc-shelly) + ("ghc-temporary" ,ghc-temporary))) + (home-page "https://github.com/haskell-fswatch/hfsnotify") + (synopsis "Cross platform library for file change notification.") + (description "Cross platform library for file creation, modification, and +deletion notification. This library builds upon existing libraries for platform +specific Windows, Mac, and Linux file system event notification.") + (license license:bsd-3))) + +(define-public ghc-generic-deriving + (package + (name "ghc-generic-deriving") + (version "1.12.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/generic-deriving/generic-deriving-" + version + ".tar.gz")) + (sha256 + (base32 + "1i7d6cpj9yhaqb79zays3nqchhaacacjz9bkc0zlwj73y5gvi22n")))) + (build-system haskell-build-system) + (inputs + `(("ghc-th-abstraction" ,ghc-th-abstraction))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("hspec-discover" ,hspec-discover))) + (home-page "https://hackage.haskell.org/package/generic-deriving") + (synopsis "Generalise the deriving mechanism to arbitrary classes") + (description "This package provides functionality for generalising the +deriving mechanism in Haskell to arbitrary classes.") + (license license:bsd-3))) + +(define-public ghc-generics-sop + (package + (name "ghc-generics-sop") + (version "0.3.2.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "generics-sop-" version "/" + "generics-sop-" version ".tar.gz")) + (sha256 + (base32 + "168v62i845jh9jbfaz3ldz8svz4wmzq9mf2vhb7pxlnbkk8fqq1h")))) + (build-system haskell-build-system) + (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat))) + (home-page "https://github.com/well-typed/generics-sop") + (synopsis "Generic Programming using True Sums of Products for Haskell") + (description "This Haskell package supports the definition of generic +functions. Datatypes are viewed in a uniform, structured way: the choice +between constructors is represented using an n-ary sum, and the arguments of +each constructor are represented using an n-ary product.") + (license license:bsd-3))) + +(define-public ghc-geniplate-mirror + (package + (name "ghc-geniplate-mirror") + (version "0.7.6") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package" + "/geniplate-mirror" + "/geniplate-mirror-" version ".tar.gz")) + (sha256 + (base32 "1y0m0bw5zpm1y1y6d9qmxj3swl8j8hlw1shxbr5awycf6k884ssb")))) + (build-system haskell-build-system) + (home-page "https://github.com/danr/geniplate") + (synopsis "Use Template Haskell to generate Uniplate-like functions") + (description + "Use Template Haskell to generate Uniplate-like functions. This is a +maintained mirror of the @uref{https://hackage.haskell.org/package/geniplate, +geniplate} package, written by Lennart Augustsson.") + (license license:bsd-3))) + +(define-public ghc-genvalidity + (package + (name "ghc-genvalidity") + (version "0.5.1.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/genvalidity/genvalidity-" + version + ".tar.gz")) + (sha256 + (base32 + "17ykq38j9a2lzir6dqz5jgy6ndaafrpkhqhcg96c5ppg7wcxaaj0")))) + (build-system haskell-build-system) + (inputs + `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-validity" ,ghc-validity))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("hspec-discover" ,hspec-discover) + ("ghc-hspec-core" ,ghc-hspec-core))) + (home-page + "https://github.com/NorfairKing/validity") + (synopsis + "Testing utilities for the @code{validity} library") + (description + "This package provides testing utilities that are useful in conjunction +with the @code{Validity} typeclass.") + (license license:expat))) + +(define-public ghc-genvalidity-property + (package + (name "ghc-genvalidity-property") + (version "0.2.1.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/" + "genvalidity-property/genvalidity-property-" + version + ".tar.gz")) + (sha256 + (base32 + "0cjw5i2pydidda9bnp6x37ylhxdk9g874x5sadr6sscg5kq85a1b")))) + (build-system haskell-build-system) + (inputs + `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-genvalidity" ,ghc-genvalidity) + ("ghc-hspec" ,ghc-hspec) + ("hspec-discover" ,hspec-discover) + ("ghc-validity" ,ghc-validity))) + (native-inputs `(("ghc-doctest" ,ghc-doctest))) + (home-page + "https://github.com/NorfairKing/validity") + (synopsis + "Standard properties for functions on @code{Validity} types") + (description + "This package supplements the @code{Validity} typeclass with standard +properties for functions operating on them.") + (license license:expat))) + +(define-public ghc-gitrev + (package + (name "ghc-gitrev") + (version "1.3.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/gitrev/gitrev-" + version ".tar.gz")) + (sha256 + (base32 "0cl3lfm6k1h8fxp2vxa6ihfp4v8igkz9h35iwyq2frzm4kdn96d8")))) + (build-system haskell-build-system) + (inputs `(("ghc-base-compat" ,ghc-base-compat))) + (home-page "https://github.com/acfoltzer/gitrev") + (synopsis "Compile git revision info into Haskell projects") + (description + "This package provides some handy Template Haskell splices for including +the current git hash and branch in the code of your project. This is useful +for including in panic messages, @command{--version} output, or diagnostic +info for more informative bug reports.") + (license license:bsd-3))) + +(define-public ghc-glob + (package + (name "ghc-glob") + (version "0.9.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "Glob-" version "/" + "Glob-" version ".tar.gz")) + (sha256 + (base32 + "1rbwcq9w9951qsnp13vqcm9r01yax2yh1wk8s4zxa3ckk9717iwg")))) + (build-system haskell-build-system) + (inputs + `(("ghc-dlist" ,ghc-dlist) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-transformers-compat" ,ghc-transformers-compat))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) + ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) + (home-page "http://iki.fi/matti.niemenmaa/glob/") + (synopsis "Haskell library matching glob patterns against file paths") + (description "This package provides a Haskell library for @dfn{globbing}: +matching patterns against file paths.") + (license license:bsd-3))) + +(define-public ghc-gluraw + (package + (name "ghc-gluraw") + (version "2.0.0.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/GLURaw/GLURaw-" + version + ".tar.gz")) + (sha256 + (base32 + "1i2xi35n5z0d372px9mh6cyhgg1m0cfaiy3fnspkf6kbn9fgsqxq")))) + (build-system haskell-build-system) + (inputs + `(("ghc-openglraw" ,ghc-openglraw))) + (home-page "https://www.haskell.org/haskellwiki/Opengl") + (synopsis "Raw Haskell bindings GLU") + (description "GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL +utility library. It is basically a 1:1 mapping of GLU's C API, intended as a +basis for a nicer interface.") + (license license:bsd-3))) + +(define-public ghc-glut + (package + (name "ghc-glut") + (version "2.7.0.14") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/GLUT/GLUT-" + version + ".tar.gz")) + (sha256 + (base32 + "01i162fly4q1751fp60lgkzlb8kr0qqbvmxj74zc6skb19qggy2w")))) + (build-system haskell-build-system) + (inputs + `(("ghc-statevar" ,ghc-statevar) + ("ghc-opengl" ,ghc-opengl) + ("ghc-openglraw" ,ghc-openglraw) + ("freeglut" ,freeglut))) + (home-page "https://www.haskell.org/haskellwiki/Opengl") + (synopsis "Haskell bindings for the OpenGL Utility Toolkit") + (description "This library provides Haskell bindings for the OpenGL +Utility Toolkit, a window system-independent toolkit for writing OpenGL +programs.") + (license license:bsd-3))) + +(define-public ghc-gnuplot + (package + (name "ghc-gnuplot") + (version "0.5.5.2") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://hackage/package/gnuplot/gnuplot-" + version ".tar.gz")) + (sha256 + (base32 "1mlppnc13ygjzmf6ldydys4wvy35yb3xjwwfgf9rbi7nfcqjr6mn")))) + (build-system haskell-build-system) + (inputs + `(("ghc-temporary" ,ghc-temporary) + ("ghc-utility-ht" ,ghc-utility-ht) + ("ghc-data-accessor-transformers" ,ghc-data-accessor-transformers) + ("ghc-data-accessor" ,ghc-data-accessor) + ("ghc-semigroups" ,ghc-semigroups) + ("gnuplot" ,gnuplot))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'fix-path-to-gnuplot + (lambda* (#:key inputs #:allow-other-keys) + (let ((gnuplot (assoc-ref inputs "gnuplot"))) + (substitute* "os/generic/Graphics/Gnuplot/Private/OS.hs" + (("(gnuplotName = ).*$" all cmd) + (string-append cmd "\"" gnuplot "/bin/gnuplot\""))))))))) + (home-page "https://www.haskell.org/haskellwiki/Gnuplot") + (synopsis "2D and 3D plots using gnuplot") + (description "This package provides a Haskell module for creating 2D and +3D plots using gnuplot.") + (license license:bsd-3))) + +(define-public ghc-graphviz + (package + (name "ghc-graphviz") + (version "2999.20.0.2") + (source (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "graphviz/graphviz-" version ".tar.gz")) + (sha256 + (base32 + "0kj7ap0gnliviq2p8lscw1m06capnsa90vpvcys24nqy5nw2wrp7")))) + (build-system haskell-build-system) + (inputs + `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-colour" ,ghc-colour) + ("ghc-dlist" ,ghc-dlist) + ("ghc-fgl" ,ghc-fgl) + ("ghc-fgl-arbitrary" ,ghc-fgl-arbitrary) + ("ghc-polyparse" ,ghc-polyparse) + ("ghc-temporary" ,ghc-temporary) + ("ghc-wl-pprint-text" ,ghc-wl-pprint-text))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("graphviz" ,graphviz) + ("hspec-discover" ,hspec-discover))) + (home-page "https://hackage.haskell.org/package/graphviz") + (synopsis "Bindings to Graphviz for graph visualisation") + (description + "This library provides bindings for the Dot language used by +the @uref{https://graphviz.org/, Graphviz} suite of programs for +visualising graphs, as well as functions to call those programs. +Main features of the graphviz library include: + +@enumerate +@item Almost complete coverage of all Graphviz attributes and syntax +@item Support for specifying clusters +@item The ability to use a custom node type +@item Functions for running a Graphviz layout tool with all specified output types +@item Generate and parse Dot code with two options: strict and liberal +@item Functions to convert FGL graphs and other graph-like data structures +@item Round-trip support for passing an FGL graph through Graphviz to augment node +and edge labels with positional information, etc. +@end enumerate\n") + (license license:bsd-3))) + +(define-public ghc-gtk2hs-buildtools + (package + (name "ghc-gtk2hs-buildtools") + (version "0.13.4.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "gtk2hs-buildtools/gtk2hs-buildtools-" + version ".tar.gz")) + (sha256 + (base32 + "0yg6xmylgpylmnh5g33qwwn5x9bqckdvvv4czqzd9vrr12lnnghg")))) + (build-system haskell-build-system) + (inputs + `(("ghc-random" ,ghc-random) + ("ghc-hashtables" ,ghc-hashtables))) + (native-inputs + `(("ghc-alex" ,ghc-alex) + ("ghc-happy" ,ghc-happy))) + (home-page "http://projects.haskell.org/gtk2hs/") + (synopsis "Tools to build the Gtk2Hs suite of user interface libraries") + (description + "This package provides a set of helper programs necessary to build the +Gtk2Hs suite of libraries. These tools include a modified c2hs binding tool +that is used to generate FFI declarations, a tool to build a type hierarchy +that mirrors the C type hierarchy of GObjects found in glib, and a generator +for signal declarations that are used to call back from C to Haskell. These +tools are not needed to actually run Gtk2Hs programs.") + (license license:gpl2))) + +(define-public ghc-hackage-security + (package + (name "ghc-hackage-security") + (version "0.5.3.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "hackage-security/hackage-security-" + version ".tar.gz")) + (sha256 + (base32 + "08bwawc7ramgdh54vcly2m9pvfchp0ahhs8117jajni6x4bnx66v")))) + (build-system haskell-build-system) + (arguments + `(#:tests? #f)) ; Tests fail because of framework updates. + (inputs + `(("ghc-base16-bytestring" ,ghc-base16-bytestring) + ("ghc-base64-bytestring" ,ghc-base64-bytestring) + ("ghc-cryptohash-sha256" ,ghc-cryptohash-sha256) + ("ghc-ed25519" ,ghc-ed25519) + ("ghc-network" ,ghc-network) + ("ghc-network-uri" ,ghc-network-uri) + ("ghc-tar" ,ghc-tar) + ("ghc-zlib" ,ghc-zlib))) + (native-inputs + `(("ghc-network-uri" ,ghc-network-uri) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-tar" ,ghc-tar) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) + ("ghc-temporary" ,ghc-temporary) + ("ghc-zlib" ,ghc-zlib))) + (home-page "https://github.com/haskell/hackage-security") + (synopsis "Hackage security library") + (description "This Hackage security library provides both server and +client utilities for securing @uref{http://hackage.haskell.org/, the +Hackage package server}. It is based on +@uref{http://theupdateframework.com/, The Update Framework}, a set of +recommendations developed by security researchers at various universities +in the US as well as developers on the @uref{https://www.torproject.org/, +Tor project}.") + (license license:bsd-3))) + +(define-public ghc-haddock + (package + (name "ghc-haddock") + (version "2.19.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/haddock/haddock-" + version + ".tar.gz")) + (sha256 + (base32 + "1g1j9j0hf2yhyyh0gwz6bzbvfvliqz9x8a8hnkmwghm7w3xa6sb7")))) + (build-system haskell-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; There are four test suites that require the ghc-haddock-test + ;; package, which no longer builds with GHC 8.4.3. This phase + ;; removes these four test suites from the Cabal file, so that we + ;; do not need ghc-haddock-test as an input. + (add-before 'configure 'remove-haddock-test-test-suites + (lambda _ + (use-modules (ice-9 rdelim)) + (with-atomic-file-replacement "haddock.cabal" + (lambda (in out) + (let loop ((line (read-line in 'concat)) (deleting? #f)) + (cond + ((eof-object? line) #t) + ((string-every char-set:whitespace line) + (unless deleting? (display line out)) + (loop (read-line in 'concat) #f)) + ((member line '("test-suite html-test\n" + "test-suite hypsrc-test\n" + "test-suite latex-test\n" + "test-suite hoogle-test\n")) + (loop (read-line in 'concat) #t)) + (else + (unless deleting? (display line out)) + (loop (read-line in 'concat) deleting?))))))))))) + (inputs `(("ghc-haddock-api" ,ghc-haddock-api))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec))) + (home-page "https://www.haskell.org/haddock/") + (synopsis + "Documentation-generation tool for Haskell libraries") + (description + "Haddock is a documentation-generation tool for Haskell libraries.") + (license license:bsd-3))) + +(define-public ghc-haddock-api + (package + (name "ghc-haddock-api") + (version "2.19.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/haddock-api/haddock-api-" + version + ".tar.gz")) + (sha256 + (base32 + "0c6i7sljp7myz25d90gyw68a90i5jcrkajkxcciikp2hjirfaas3")))) + (build-system haskell-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'update-constraints + (lambda _ + (substitute* "haddock-api.cabal" + (("Cabal \\^>= 2\\.0\\.0") + "Cabal ^>= 2.2.0") + (("hspec \\^>= 2\\.4\\.4") + "hspec >= 2.4.4 && < 2.6"))))))) + (inputs + `(("ghc-paths" ,ghc-paths) + ("ghc-haddock-library" ,ghc-haddock-library))) + (native-inputs + `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-hspec" ,ghc-hspec) + ("hspec-discover" ,hspec-discover))) + (home-page "https://www.haskell.org/haddock/") + (synopsis "API for documentation-generation tool Haddock") + (description "This package provides an API to Haddock, the +documentation-generation tool for Haskell libraries.") + (license license:bsd-3))) + +(define-public ghc-haddock-library + (package + (name "ghc-haddock-library") + (version "1.5.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/haddock-library/haddock-library-" + version + ".tar.gz")) + (sha256 + (base32 + "1cmbg8l5xrwpliclwy3l057raypjqy0hsg1h1743ahaj8gq10b7z")) + (patches (search-patches + "ghc-haddock-library-unbundle.patch")) + (modules '((guix build utils))) + (snippet '(begin + (delete-file-recursively "vendor") + #t)))) + (build-system haskell-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'relax-test-suite-dependencies + (lambda _ + (substitute* "haddock-library.cabal" + (("base-compat\\s*\\^>= 0\\.9\\.3") "base-compat") + (("hspec\\s*\\^>= 2\\.4\\.4") "hspec")))) + ;; The release tarball does not contain the "fixtures/examples" + ;; directory, which is required for testing. In the upstream + ;; repository, the directory exists and is populated. Here, we + ;; create an empty directory to placate the tests. + (add-before 'check 'add-examples-directory + (lambda _ + (mkdir "fixtures/examples") + #t))))) + (native-inputs + `(("ghc-base-compat" ,ghc-base-compat) + ("ghc-hspec" ,ghc-hspec) + ("ghc-optparse-applicative" ,ghc-optparse-applicative) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-tree-diff" ,ghc-tree-diff) + ("hspec-discover" ,hspec-discover))) + (home-page "https://www.haskell.org/haddock/") + (synopsis "Library exposing some functionality of Haddock") + (description + "Haddock is a documentation-generation tool for Haskell libraries. These +modules expose some functionality of it without pulling in the GHC dependency. +Please note that the API is likely to change so specify upper bounds in your +project if you can't release often. For interacting with Haddock itself, see +the ‘haddock’ package.") + (license license:bsd-3))) + +(define-public ghc-half + (package + (name "ghc-half") + (version "0.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/half/half-" + version ".tar.gz")) + (sha256 + (base32 + "14r0nx8hm5fic9gz0ybjjw4kyc758zfgvhhwvzsshpx5caq6zch6")))) + (build-system haskell-build-system) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("ghc-quickcheck" ,ghc-quickcheck))) + (home-page "https://github.com/ekmett/half") + (synopsis "Half-precision floating-point computations") + (description "This library provides a half-precision floating-point +computation library for Haskell.") + (license license:bsd-3))) + +(define-public ghc-happy + (package + (name "ghc-happy") + (version "1.19.9") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/happy/happy-" + version + ".tar.gz")) + (sha256 + (base32 + "138xpxdb7x62lpmgmb6b3v3vgdqqvqn4273jaap3mjmc2gla709y")))) + (build-system haskell-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'skip-test-issue93 + (lambda _ + ;; Tests run out of memory on a system with 2GB of available RAM, + ;; in 'issue93.a.hs' and 'issue93.n.hs'. + (substitute* "tests/Makefile" + ((" issue93.y ") " ")) + #t))))) + (home-page "https://hackage.haskell.org/package/happy") + (synopsis "Parser generator for Haskell") + (description "Happy is a parser generator for Haskell. Given a grammar +specification in BNF, Happy generates Haskell code to parse the grammar. +Happy works in a similar way to the yacc tool for C.") + (license license:bsd-3))) + +(define-public ghc-hashable + (package + (name "ghc-hashable") + (version "1.2.7.0") + (outputs '("out" "doc")) + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/hashable/hashable-" + version + ".tar.gz")) + (sha256 + (base32 + "1gra8gq3kb7b2sd845h55yxlrfqx3ii004c6vjhga8v0b30fzdgc")))) + (build-system haskell-build-system) + (inputs + `(("ghc-random" ,ghc-random))) + (native-inputs + `(("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) + ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) + ("ghc-hunit" ,ghc-hunit) + ("ghc-quickcheck" ,ghc-quickcheck))) + (home-page "https://github.com/tibbe/hashable") + (synopsis "Class for types that can be converted to a hash value") + (description + "This package defines a class, @code{Hashable}, for types that can be +converted to a hash value. This class exists for the benefit of hashing-based +data structures. The package provides instances for basic types and a way to +combine hash values.") + (license license:bsd-3))) + +(define-public ghc-hashable-bootstrap + (package + (inherit ghc-hashable) + (name "ghc-hashable-bootstrap") + (arguments `(#:tests? #f)) + (native-inputs '()) + (properties '((hidden? #t))))) + +(define-public ghc-hashable-time + (package + (name "ghc-hashable-time") + (version "0.2.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/hashable-time/hashable-time-" + version + ".tar.gz")) + (sha256 + (base32 + "0k932nyd08l3xxbh2g3n76py2f4kd9yw4s5a065vjz0xp6wjnxdm")))) + (build-system haskell-build-system) + (arguments + `(#:cabal-revision + ("1" "0rv40xkg3gj8jnqsry1gq3f5s5la6d5arg8fzkirnwdpcgha1as6"))) + (inputs `(("ghc-hashable" ,ghc-hashable))) + (home-page "http://hackage.haskell.org/package/hashable-time") + (synopsis "Hashable instances for Data.Time") + (description + "This package provides @code{Hashable} instances for types in +@code{Data.Time}.") + (license license:bsd-3))) + +(define-public ghc-hashtables + (package + (name "ghc-hashtables") + (version "1.2.3.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/hashtables/hashtables-" + version ".tar.gz")) + (sha256 + (base32 "1giw9caajr07slf09j7zry9b0kvm4yj9q78zy1mawzi6gk3wglcg")))) + (build-system haskell-build-system) + (inputs + `(("ghc-hashable" ,ghc-hashable) + ("ghc-primitive" ,ghc-primitive) + ("ghc-vector" ,ghc-vector))) + (home-page "https://github.com/gregorycollins/hashtables") + (synopsis "Haskell Mutable hash tables in the ST monad") + (description "This package provides a Haskell library including a +couple of different implementations of mutable hash tables in the ST +monad, as well as a typeclass abstracting their common operations, and +a set of wrappers to use the hash tables in the IO monad.") + (license license:bsd-3))) + +(define-public ghc-haskell-lexer + (package + (name "ghc-haskell-lexer") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/haskell-lexer/haskell-lexer-" + version ".tar.gz")) + (sha256 + (base32 "1wyxd8x33x4v5vxyzkhm610pl86gbkc8y439092fr1735q9g7kfq")))) + (build-system haskell-build-system) + (home-page "http://hackage.haskell.org/package/haskell-lexer") + (synopsis "Fully compliant Haskell 98 lexer") + (description + "This package provides a fully compliant Haskell 98 lexer.") + (license license:bsd-3))) + +(define-public ghc-haskell-src + (package + (name "ghc-haskell-src") + (version "1.0.3.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/haskell-src/haskell-src-" + version + ".tar.gz")) + (sha256 + (base32 + "1g4dj1f0j68bhn4ixfac63wjzy6gsp6kwgxryb1k5nl3i0g99d5l")))) + (build-system haskell-build-system) + (inputs + `(("ghc-happy" ,ghc-happy) + ("ghc-syb" ,ghc-syb))) + (home-page + "https://hackage.haskell.org/package/haskell-src") + (synopsis + "Support for manipulating Haskell source code") + (description + "The @code{haskell-src} package provides support for manipulating Haskell +source code. The package provides a lexer, parser and pretty-printer, and a +definition of a Haskell abstract syntax tree (AST). Common uses of this +package are to parse or generate Haskell 98 code.") + (license license:bsd-3))) + +(define-public ghc-haskell-src-exts + (package + (name "ghc-haskell-src-exts") + (version "1.20.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/haskell-src-exts/haskell-src-exts-" + version + ".tar.gz")) + (sha256 + (base32 + "1sm3z4v1p5yffg01ldgavz71s3bvfhjfa13k428rk14bpkl8crlz")))) + (build-system haskell-build-system) + (inputs + `(("cpphs" ,cpphs) + ("ghc-happy" ,ghc-happy) + ("ghc-pretty-show" ,ghc-pretty-show))) + (native-inputs + `(("ghc-smallcheck" ,ghc-smallcheck) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck) + ("ghc-tasty-golden" ,ghc-tasty-golden))) + (home-page "https://github.com/haskell-suite/haskell-src-exts") + (synopsis "Library for manipulating Haskell source") + (description "Haskell-Source with Extensions (HSE, haskell-src-exts) is an +extension of the standard @code{haskell-src} package, and handles most +registered syntactic extensions to Haskell. All extensions implemented in GHC +are supported. Apart from these standard extensions, it also handles regular +patterns as per the HaRP extension as well as HSX-style embedded XML syntax.") + (license license:bsd-3))) + +(define-public ghc-haskell-src-exts-util + (package + (name "ghc-haskell-src-exts-util") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "haskell-src-exts-util/haskell-src-exts-util-" + version ".tar.gz")) + (sha256 + (base32 + "1803718paq89f8pdck4mb88hv2k1ah9lxzq0lgjgwi9n88ryycz8")))) + (build-system haskell-build-system) + (inputs + `(("ghc-data-default" ,ghc-data-default) + ("ghc-haskell-src-exts" ,ghc-haskell-src-exts) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-uniplate" ,ghc-uniplate))) + (home-page "https://github.com/pepeiborra/haskell-src-exts-util") + (synopsis "Helper functions for working with haskell-src-exts trees") + (description + "This package provides helper functions for working with +@code{haskell-src-exts} trees.") + (license license:bsd-3))) + +(define-public ghc-haskell-src-meta + (package + (name "ghc-haskell-src-meta") + (version "0.8.0.3") + (source (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "haskell-src-meta/haskell-src-meta-" + version ".tar.gz")) + (sha256 + (base32 + "08jq156zv4m0fjq6712n99c1jwxnpa6kj6sq8ch0r1l0a1ay6ww4")))) + (build-system haskell-build-system) + (inputs + `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts) + ("ghc-syb" ,ghc-syb) + ("ghc-th-orphans" ,ghc-th-orphans))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) + (home-page "https://hackage.haskell.org/package/haskell-src-meta") + (synopsis "Parse source to template-haskell abstract syntax") + (description + "This package provides tools to parse Haskell sources to the +template-haskell abstract syntax.") + (license license:bsd-3))) + +(define-public ghc-hasktags + (package + (name "ghc-hasktags") + (version "0.71.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/hasktags/hasktags-" + version + ".tar.gz")) + (sha256 + (base32 + "1s2k9qrgy1jily96img2pmn7g35mwnnfiw6si3aw32jfhg5zsh1c")))) + (build-system haskell-build-system) + (inputs + `(("ghc-system-filepath" ,ghc-system-filepath) + ("ghc-optparse-applicative" ,ghc-optparse-applicative))) + (native-inputs + `(("ghc-json" ,ghc-json) + ("ghc-utf8-string" ,ghc-utf8-string) + ("ghc-microlens-platform" ,ghc-microlens-platform) + ("ghc-hunit" ,ghc-hunit))) + (home-page "http://github.com/MarcWeber/hasktags") + (synopsis "Make @code{Ctags} and @code{Etags} files for Haskell programs") + (description + "This package provides a means of generating tag files for Emacs and +Vim.") + (license license:bsd-3))) + +(define-public ghc-hex + (package + (name "ghc-hex") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "hex-" version "/" + "hex-" version ".tar.gz")) + (sha256 + (base32 + "1v31xiaivrrn0q2jz8919wvkjplv1kxna5ajhsj701fqxm1i5vhj")))) + (build-system haskell-build-system) + (home-page "https://hackage.haskell.org/package/hex") + (synopsis "Convert strings into hexadecimal and back") + (description "This package provides conversion functions between +bytestrings and their hexademical representation.") + (license license:bsd-3))) + +(define-public ghc-highlighting-kate + (package + (name "ghc-highlighting-kate") + (version "0.6.4") + (source (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "highlighting-kate/highlighting-kate-" + version ".tar.gz")) + (sha256 + (base32 + "1bqv00gfmrsf0jjr4qf3lhshvfkyzmhbi3pjb6mafbnsyn2k7f6q")))) + (build-system haskell-build-system) + (inputs + `(("ghc-diff" ,ghc-diff) + ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin))) + (native-inputs + `(("ghc-blaze-html" ,ghc-blaze-html) + ("ghc-utf8-string" ,ghc-utf8-string))) + (home-page "https://github.com/jgm/highlighting-kate") + (synopsis "Syntax highlighting library") + (description + "Highlighting-kate is a syntax highlighting library with support for +nearly one hundred languages. The syntax parsers are automatically generated +from @uref{https://kate-editor.org/, Kate syntax descriptions}, so any syntax +supported by Kate can be added. An (optional) command-line program is +provided, along with a utility for generating new parsers from Kate XML syntax +descriptions.") + (license license:gpl2+))) + +(define-public ghc-hindent + (package + (name "ghc-hindent") + (version "5.3.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/hindent/hindent-" + version + ".tar.gz")) + (sha256 + (base32 + "0wkfik7mvqskk23kyh7ybgnlh3j9j1ym7d3ncahsbli9w654b7xg")))) + (build-system haskell-build-system) + (arguments + `(#:modules ((guix build haskell-build-system) + (guix build utils) + (guix build emacs-utils)) + #:imported-modules (,@%haskell-build-system-modules + (guix build emacs-utils)) + #:phases + (modify-phases %standard-phases + (add-after 'install 'emacs-install + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (elisp-file "elisp/hindent.el") + (dest (string-append out "/share/emacs/site-lisp" + "/guix.d/hindent-" ,version)) + (emacs (string-append (assoc-ref inputs "emacs") + "/bin/emacs"))) + (make-file-writable elisp-file) + (emacs-substitute-variables elisp-file + ("hindent-process-path" + (string-append out "/bin/hindent"))) + (install-file elisp-file dest) + (emacs-generate-autoloads "hindent" dest))))))) + (inputs + `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts) + ("ghc-monad-loops" ,ghc-monad-loops) + ("ghc-utf8-string" ,ghc-utf8-string) + ("ghc-exceptions" ,ghc-exceptions) + ("ghc-yaml" ,ghc-yaml) + ("ghc-unix-compat" ,ghc-unix-compat) + ("ghc-path" ,ghc-path) + ("ghc-path-io" ,ghc-path-io) + ("ghc-optparse-applicative" ,ghc-optparse-applicative))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("ghc-diff" ,ghc-diff) + ("emacs" ,emacs-minimal))) + (home-page + "https://github.com/commercialhaskell/hindent") + (synopsis "Extensible Haskell pretty printer") + (description + "This package provides automatic formatting for Haskell files. Both a +library and an executable.") + (license license:bsd-3))) + +(define-public ghc-hinotify + (package + (name "ghc-hinotify") + (version "0.3.10") + (source (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/hinotify/" + "hinotify-" version ".tar.gz")) + (sha256 + (base32 + "17ax3n68a5c2ddazp86aciliskrh6znd3bnry0wcllmb6dbpsaxg")))) + (build-system haskell-build-system) + (inputs + `(("ghc-async" ,ghc-async))) + (home-page "https://github.com/kolmodin/hinotify.git") + (synopsis "Haskell binding to inotify") + (description "This library provides a wrapper to the Linux kernel's inotify +feature, allowing applications to subscribe to notifications when a file is +accessed or modified.") + (license license:bsd-3))) + +(define-public ghc-hmatrix + (package + (name "ghc-hmatrix") + (version "0.19.0.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/hmatrix/hmatrix-" + version ".tar.gz")) + (sha256 + (base32 "10jd69nby29dggghcyjk6ykyr5wrn97nrv1dkpyrp0y5xm12xssj")))) + (build-system haskell-build-system) + (inputs + `(("ghc-random" ,ghc-random) + ("ghc-split" ,ghc-split) + ("ghc-storable-complex" ,ghc-storable-complex) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-vector" ,ghc-vector) + ;;("openblas" ,openblas) + ("lapack" ,lapack))) + ;; Guix's OpenBLAS is built with the flag "NO_LAPACK=1" which + ;; disables inclusion of the LAPACK functions. + ;; (arguments `(#:configure-flags '("--flags=openblas"))) + (home-page "https://github.com/albertoruiz/hmatrix") + (synopsis "Haskell numeric linear algebra library") + (description "The HMatrix package provices a Haskell library for +dealing with linear systems, matrix decompositions, and other +numerical computations based on BLAS and LAPACK.") + (license license:bsd-3))) + +(define-public ghc-hmatrix-gsl + (package + (name "ghc-hmatrix-gsl") + (version "0.19.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/hmatrix-gsl/hmatrix-gsl-" + version ".tar.gz")) + (sha256 + (base32 "0v6dla426x4ywaq59jm89ql1i42n39iw6z0j378xwb676v9kfxhm")))) + (build-system haskell-build-system) + (inputs + `(("ghc-hmatrix" ,ghc-hmatrix) + ("ghc-vector" ,ghc-vector) + ("ghc-random" ,ghc-random) + ("gsl" ,gsl))) + (native-inputs `(("pkg-config" ,pkg-config))) + (home-page "https://github.com/albertoruiz/hmatrix") + (synopsis "Haskell GSL binding") + (description "This Haskell library provides a purely functional +interface to selected numerical computations, internally implemented +using GSL.") + (license license:gpl3+))) + +(define-public ghc-hmatrix-gsl-stats + (package + (name "ghc-hmatrix-gsl-stats") + (version "0.4.1.7") + (source + (origin + (method url-fetch) + (uri + (string-append + "https://hackage.haskell.org/package/hmatrix-gsl-stats/hmatrix-gsl-stats-" + version ".tar.gz")) + (sha256 + (base32 "1gslgk58lzin43cvbpivhw7nrn9qyaa6qwhy1z9ypvyal5p8n3sa")))) + (build-system haskell-build-system) + (inputs + `(("ghc-vector" ,ghc-vector) + ("ghc-storable-complex" ,ghc-storable-complex) + ("ghc-hmatrix" ,ghc-hmatrix) + ("gsl" ,gsl))) + (native-inputs `(("pkg-config" ,pkg-config))) + (home-page "http://code.haskell.org/hmatrix-gsl-stats") + (synopsis "GSL Statistics interface for Haskell") + (description "This Haskell library provides a purely functional +interface for statistics based on hmatrix and GSL.") + (license license:bsd-3))) + +(define-public ghc-hmatrix-special + (package + (name "ghc-hmatrix-special") + (version "0.19.0.0") + (source + (origin + (method url-fetch) + (uri + (string-append + "https://hackage.haskell.org/package/hmatrix-special/hmatrix-special-" + version ".tar.gz")) + (sha256 + (base32 "1mywr61kr852sbff26n9x95kswx9l4ycbv6s68qsbkh02xzqq7qz")))) + (build-system haskell-build-system) + (inputs + `(("ghc-hmatrix" ,ghc-hmatrix) + ("ghc-hmatrix-gsl" ,ghc-hmatrix-gsl))) + (home-page "https://github.com/albertoruiz/hmatrix") + (synopsis "Haskell interface to GSL special functions") + (description "This library provides an interface to GSL special +functions for Haskell.") + (license license:gpl3+))) + +(define-public ghc-hostname + (package + (name "ghc-hostname") + (version "1.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/hostname/" + "hostname-" version ".tar.gz")) + (sha256 + (base32 + "0p6gm4328946qxc295zb6vhwhf07l1fma82vd0siylnsnsqxlhwv")))) + (build-system haskell-build-system) + (home-page "https://hackage.haskell.org/package/hostname") + (synopsis "Hostname in Haskell") + (description "Network.HostName is a simple package providing a means to +determine the hostname.") + (license license:bsd-3))) + +(define-public ghc-hourglass + (package + (name "ghc-hourglass") + (version "0.2.12") + (source (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "hourglass/hourglass-" version ".tar.gz")) + (sha256 + (base32 + "0jnay5j13vpz6i1rkaj3j0d9v8jfpri499xn3l7wd01f81f5ncs4")))) + (build-system haskell-build-system) + (inputs + `(("ghc-old-locale" ,ghc-old-locale))) + (native-inputs + `(("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) + ("ghc-tasty-hunit" ,ghc-tasty-hunit))) + (home-page "https://github.com/vincenthz/hs-hourglass") + (synopsis "Simple time-related library for Haskell") + (description + "This is a simple time library providing a simple but powerful and +performant API. The backbone of the library are the @code{Timeable} and +@code{Time} type classes. Each @code{Timeable} instances can be converted to +a type that has a @code{Time} instances, and thus are different +representations of current time.") + (license license:bsd-3))) + +(define-public ghc-hpack + (package + (name "ghc-hpack") + (version "0.28.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/hpack/" + "hpack-" version ".tar.gz")) + (sha256 + (base32 + "18w0h76jdp3mk9vin8da9iz3cwhcxmw787xy8wlh8bxcpcr16q5r")))) + (build-system haskell-build-system) + (inputs + `(("ghc-aeson" ,ghc-aeson) + ("ghc-bifunctors" ,ghc-bifunctors) + ("ghc-cryptonite" ,ghc-cryptonite) + ("ghc-glob" ,ghc-glob) + ("ghc-http-client" ,ghc-http-client) + ("ghc-http-client-tls" ,ghc-http-client-tls) + ("ghc-http-types" ,ghc-http-types) + ("ghc-scientific" ,ghc-scientific) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-vector" ,ghc-vector) + ("ghc-yaml" ,ghc-yaml))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("ghc-hunit" ,ghc-hunit) + ("ghc-interpolate" ,ghc-interpolate) + ("ghc-mockery" ,ghc-mockery) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-temporary" ,ghc-temporary) + ("hspec-discover" ,hspec-discover))) + (home-page "https://github.com/sol/hpack") + (synopsis "Tools for an alternative Haskell package format") + (description + "Hpack is a format for Haskell packages. It is an alternative to the +Cabal package format and follows different design principles. Hpack packages +are described in a file named @code{package.yaml}. Both @code{cabal2nix} and +@code{stack} support @code{package.yaml} natively. For other build tools the +@code{hpack} executable can be used to generate a @code{.cabal} file from +@code{package.yaml}.") + (license license:expat))) + +(define-public ghc-hs-bibutils + (package + (name "ghc-hs-bibutils") + (version "6.6.0.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/hs-bibutils/hs-bibutils-" + version ".tar.gz")) + (sha256 + (base32 + "0n2sz2zl4naspryd49ii858qkjp2lapns5a2gr8zm6vvn5sh1f0l")))) + (build-system haskell-build-system) + (inputs `(("ghc-syb" ,ghc-syb))) + (home-page "https://hackage.haskell.org/package/hs-bibutils") + (synopsis "Haskell bindings to bibutils") + (description + "This package provides Haskell bindings to @code{bibutils}, a library +that interconverts between various bibliography formats using a common +MODS-format XML intermediate.") + (license license:gpl2+))) + +(define-public ghc-hslogger + (package + (name "ghc-hslogger") + (version "1.2.10") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "hslogger-" version "/" "hslogger-" + version ".tar.gz")) + (sha256 (base32 + "0as5gvlh6pi2gflakp695qnlizyyp059dqrhvjl4gjxalja6xjnp")))) + (build-system haskell-build-system) + (inputs + `(("ghc-network" ,ghc-network) + ("ghc-old-locale" ,ghc-old-locale))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit))) + (home-page "https://software.complete.org/hslogger") + (synopsis "Logging framework for Haskell, similar to Python's logging module") + (description "Hslogger lets each log message have a priority and source be +associated with it. The programmer can then define global handlers that route +or filter messages based on the priority and source. It also has a syslog +handler built in.") + (license license:bsd-3))) + +(define-public ghc-hslua + (package + (name "ghc-hslua") + (version "0.9.5.2") + (source (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "hslua/hslua-" version ".tar.gz")) + (sha256 + (base32 + "1rdvv01p214zfjh6fcqjjgqwi8y42wad6cqzhlcv5gvclzw2ck8f")))) + (build-system haskell-build-system) + (arguments + `(#:configure-flags '("-fsystem-lua"))) + (inputs + `(("lua" ,lua) + ("ghc-exceptions" ,ghc-exceptions) + ("ghc-fail" ,ghc-fail))) + (native-inputs + `(("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-quickcheck-instances" ,ghc-quickcheck-instances))) + (home-page "https://hackage.haskell.org/package/hslua") + (synopsis "Lua language interpreter embedding in Haskell") + (description + "The Scripting.Lua module is a wrapper of the Lua language interpreter as +described in @url{https://www.lua.org/}.") + (license license:expat))) + +(define-public ghc-hslua-module-text + (package + (name "ghc-hslua-module-text") + (version "0.1.2.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "hslua-module-text/hslua-module-text-" + version ".tar.gz")) + (sha256 + (base32 + "0bcfpb1dhnxp0gr376ai4w7vczr9zrjl1r3r6w7kcxivfkwq9cxf")))) + (build-system haskell-build-system) + (arguments + `(#:cabal-revision + ("1" "0vajlsd7y6pwa08635q0cx8z5c1c55bk7fvavw7g2vmyvxqjzx6n"))) + (inputs + `(("ghc-hslua" ,ghc-hslua))) + (native-inputs + `(("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hunit" ,ghc-tasty-hunit))) + (home-page "https://github.com/hslua/hslua-module-text") + (synopsis "Lua module for text") + (description + "This package provides a UTF-8 aware subset of Lua's @code{string} module +for Haskell. The functions provided by this module are @code{upper}, +@code{lower}, @code{len}, @code{reverse}, and @code{sub}.") + (license license:expat))) + +(define-public ghc-http-api-data + (package + (name "ghc-http-api-data") + (version "0.3.8.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "http-api-data-" version "/" + "http-api-data-" version ".tar.gz")) + (sha256 + (base32 + "1cq6459b8wz6nvkvpi89dg189n5q2xdq4rdq435hf150555vmskf")))) + (build-system haskell-build-system) + (arguments `(#:tests? #f)) ; FIXME: Tests require QuickCheck >= 2.9 + (inputs `(("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-attoparsec-iso8601" ,ghc-attoparsec-iso8601) + ("ghc-hashable" ,ghc-hashable) + ("ghc-http-types" ,ghc-http-types) + ("ghc-time-locale-compat" ,ghc-time-locale-compat) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-uri-bytestring" ,ghc-uri-bytestring) + ("ghc-uuid-types" ,ghc-uuid-types))) + (home-page "https://github.com/fizruk/http-api-data") + (synopsis "Convert to/from HTTP API data like URL pieces, headers and +query parameters") + (description "This Haskell package defines typeclasses used for converting +Haskell data types to and from HTTP API data.") + (license license:bsd-3))) + +(define-public ghc-ieee754 + (package + (name "ghc-ieee754") + (version "0.8.0") + (source (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/ieee754/" + "ieee754-" version ".tar.gz")) + (sha256 + (base32 + "1lcs521g9lzy9d7337vg4w7q7s8500rfqy7rcifcz6pm6yfgyb8f")))) + (build-system haskell-build-system) + (home-page "https://github.com/patperry/hs-ieee754") + (synopsis "Utilities for dealing with IEEE floating point numbers") + (description "Utilities for dealing with IEEE floating point numbers, +ported from the Tango math library; approximate and exact equality comparisons +for general types.") + (license license:bsd-3))) + +(define-public ghc-ifelse + (package + (name "ghc-ifelse") + (version "0.85") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "IfElse/IfElse-" version ".tar.gz")) + (sha256 + (base32 + "1kfx1bwfjczj93a8yqz1n8snqiq5655qgzwv1lrycry8wb1vzlwa")))) + (build-system haskell-build-system) + (home-page "http://hackage.haskell.org/package/IfElse") + (synopsis "Monadic control flow with anaphoric variants") + (description "This library provides functions for control flow inside of +monads with anaphoric variants on @code{if} and @code{when} and a C-like +@code{switch} function.") + (license license:bsd-3))) + +(define-public ghc-indents + (package + (name "ghc-indents") + (version "0.5.0.0") + (source (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/indents/indents-" + version ".tar.gz")) + (sha256 + (base32 + "1ly3v41jacc6lrsvg4j3m5a6zs90gr8dyif5m6bf34hj1k5cgg0n")))) + (build-system haskell-build-system) + ;; This package needs an older version of tasty. + (arguments '(#:tests? #f)) + (inputs + `(("ghc-concatenative" ,ghc-concatenative))) + (native-inputs + `(("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hunit" ,ghc-tasty-hunit))) + (home-page "http://patch-tag.com/r/salazar/indents") + (synopsis "Indentation sensitive parser-combinators for parsec") + (description + "This library provides functions for use in parsing indentation sensitive +contexts. It parses blocks of lines all indented to the same level as well as +lines continued at an indented level below.") + (license license:bsd-3))) + +(define-public ghc-inline-c + (package + (name "ghc-inline-c") + (version "0.6.1.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/inline-c/" + "inline-c-" version ".tar.gz")) + (sha256 + (base32 + "0vbfrsqsi7mdziqsnj68bsqlwbqxxhvrmy9rv6w8z18d1m8w3n6h")))) + (build-system haskell-build-system) + (inputs + `(("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint) + ("ghc-cryptohash" ,ghc-cryptohash) + ("ghc-hashable" ,ghc-hashable) + ("ghc-parsers" ,ghc-parsers) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-vector" ,ghc-vector))) + (native-inputs + `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-hspec" ,ghc-hspec) + ("ghc-raw-strings-qq" ,ghc-raw-strings-qq) + ("ghc-regex-posix" ,ghc-regex-posix))) + (home-page "http://hackage.haskell.org/package/inline-c") + (synopsis "Write Haskell source files including C code inline") + (description + "inline-c lets you seamlessly call C libraries and embed high-performance +inline C code in Haskell modules. Haskell and C can be freely intermixed in +the same source file, and data passed to and from code in either language with +minimal overhead. No FFI required.") + (license license:expat))) + +(define-public ghc-inline-c-cpp + (package + (name "ghc-inline-c-cpp") + (version "0.2.2.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/inline-c-cpp/" + "inline-c-cpp-" version ".tar.gz")) + (sha256 + (base32 + "1rk7fmpkmxw9hhwr8df29kadnf0ybnwj64ggdbnsdrpfyhnkisci")))) + (build-system haskell-build-system) + (inputs + `(("ghc-inline-c" ,ghc-inline-c) + ("ghc-safe-exceptions" ,ghc-safe-exceptions))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec))) + (home-page "https://hackage.haskell.org/package/inline-c-cpp") + (synopsis "Lets you embed C++ code into Haskell") + (description + "This package provides utilities to inline C++ code into Haskell using +@code{inline-c}.") + (license license:expat))) + +(define-public ghc-integer-logarithms + (package + (name "ghc-integer-logarithms") + (version "1.0.2.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "integer-logarithms/integer-logarithms-" + version ".tar.gz")) + (sha256 + (base32 + "1wj8kgjg5bn2yrs4zh9qfjv85cx6w998j9pi39yrbv305944mb9j")))) + (build-system haskell-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'update-constraints + (lambda _ + (substitute* "integer-logarithms.cabal" + (("tasty >= 0\\.10 && < 1\\.1") + "tasty >= 0.10 && < 1.2"))))))) + (native-inputs + `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-smallcheck" ,ghc-smallcheck) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) + ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck))) + (home-page "https://github.com/Bodigrim/integer-logarithms") + (synopsis "Integer logarithms") + (description + "This package provides the following modules: +@code{Math.NumberTheory.Logarithms} and +@code{Math.NumberTheory.Powers.Integer} from the @code{arithmoi} package, +@code{GHC.Integer.Logarithms.Compat} and +@code{Math.NumberTheory.Power.Natural}, as well as some additional functions +in migrated modules.") + (license license:expat))) + +(define-public ghc-integer-logarithms-bootstrap + (package + (inherit ghc-integer-logarithms) + (name "ghc-integer-logarithms-bootstrap") + (arguments `(#:tests? #f)) + (native-inputs '()) + (properties '(hidden? #t)))) + +(define-public ghc-interpolate + (package + (name "ghc-interpolate") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/interpolate/" + "interpolate-" version ".tar.gz")) + (sha256 + (base32 + "1gkaj98yz363v38fv78sqby236mp8yqwqcilx7kr2b9z0w3204bf")))) + (build-system haskell-build-system) + (inputs + `(("ghc-haskell-src-meta" ,ghc-haskell-src-meta))) + (native-inputs + `(("ghc-base-compat" ,ghc-base-compat) + ("ghc-hspec" ,ghc-hspec) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-quickcheck-instances" ,ghc-quickcheck-instances) + ("hspec-discover" ,hspec-discover))) + (home-page "https://github.com/sol/interpolate") + (synopsis "String interpolation library") + (description "This package provides a string interpolation library for +Haskell.") + (license license:expat))) + +(define-public ghc-intervalmap + (package + (name "ghc-intervalmap") + (version "0.6.0.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/IntervalMap/" + "IntervalMap-" version ".tar.gz")) + (sha256 + (base32 + "06hin9wf1by8aqa7820fsi2339bh82184frkwz3jsb9sqa0hszcg")))) + (build-system haskell-build-system) + (native-inputs + `(("ghc-quickcheck" ,ghc-quickcheck))) + (home-page "http://www.chr-breitkopf.de/comp/IntervalMap") + (synopsis "Containers for intervals, with efficient search") + (description + "This package provides ordered containers of intervals, with efficient +search for all keys containing a point or overlapping an interval. See the +example code on the home page for a quick introduction.") + (license license:bsd-3))) + +(define-public ghc-invariant + (package + (name "ghc-invariant") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/invariant/invariant-" + version ".tar.gz")) + (sha256 + (base32 + "0aqj7z55632qdg45074kgn9qfdxzb0a2f8lgjzr0l0i4mm2rr37b")))) + (build-system haskell-build-system) + (inputs + `(("ghc-bifunctors" ,ghc-bifunctors) + ("ghc-comonad" ,ghc-comonad) + ("ghc-contravariant" ,ghc-contravariant) + ("ghc-profunctors" ,ghc-profunctors) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-statevar" ,ghc-statevar) + ("ghc-tagged" ,ghc-tagged) + ("ghc-th-abstraction" ,ghc-th-abstraction) + ("ghc-transformers-compat" ,ghc-transformers-compat) + ("ghc-unordered-containers" ,ghc-unordered-containers))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("ghc-quickcheck" ,ghc-quickcheck) + ("hspec-discover" ,hspec-discover))) + (home-page "https://github.com/nfrisby/invariant-functors") + (synopsis "Haskell98 invariant functors") + (description "Haskell98 invariant functors (also known as exponential +functors). For more information, see Edward Kmett's article +@uref{http://comonad.com/reader/2008/rotten-bananas/, Rotten Bananas}.") + (license license:bsd-2))) + +(define-public ghc-io-streams + (package + (name "ghc-io-streams") + (version "1.5.0.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "io-streams/io-streams-" version ".tar.gz")) + (sha256 + (base32 + "12rcdg2d70644bvn838fxcjkssqj8pssnx5y657si5rijcbkgjsx")))) + (build-system haskell-build-system) + (inputs + `(("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-bytestring-builder" ,ghc-bytestring-builder) + ("ghc-network" ,ghc-network) + ("ghc-primitive" ,ghc-primitive) + ("ghc-vector" ,ghc-vector) + ("ghc-zlib-bindings" ,ghc-zlib-bindings))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) + ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) + ("ghc-zlib" ,ghc-zlib))) + (arguments + `(#:cabal-revision + ("2" "1mcab95d6hm098myh9gp7sh10srigjphgvm8s9pfs7jg5hzghy14"))) + (home-page "http://hackage.haskell.org/package/io-streams") + (synopsis "Simple and composable stream I/O") + (description "This library contains simple and easy-to-use +primitives for I/O using streams.") + (license license:bsd-3))) + +(define-public ghc-io-streams-haproxy + (package + (name "ghc-io-streams-haproxy") + (version "1.0.0.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "io-streams-haproxy/io-streams-haproxy-" + version ".tar.gz")) + (sha256 + (base32 + "11nh9q158mgnvvb23s5ffg87lkhl5smk039yl43jghxmb214z0bp")))) + (build-system haskell-build-system) + (inputs + `(("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-io-streams" ,ghc-io-streams) + ("ghc-network" ,ghc-network))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) + (arguments + `(#:cabal-revision + ("4" "06c51a057n5bc9xfbp2m4jz5ds4z1xvmsx5mppch6qfwbz7x5i9l"))) + (home-page "http://snapframework.com/") + (synopsis "HAProxy protocol 1.5 support for io-streams") + (description "HAProxy protocol version 1.5 support +(see @uref{http://haproxy.1wt.eu/download/1.5/doc/proxy-protocol.txt}) +for applications using io-streams. The proxy protocol allows information +about a networked peer (like remote address and port) to be propagated +through a forwarding proxy that is configured to speak this protocol.") + (license license:bsd-3))) + +(define-public ghc-iproute + (package + (name "ghc-iproute") + (version "1.7.5") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/iproute/iproute-" + version + ".tar.gz")) + (sha256 + (base32 + "1vw1nm3s8vz1hqnjnqd3wh5rr4q3m2r4izn5ynhf93h9185qwqzd")))) + (build-system haskell-build-system) + (arguments `(#:tests? #f)) ; FIXME: Tests cannot find System.ByteOrder, + ; exported by ghc-byteorder. Doctest issue. + (inputs + `(("ghc-appar" ,ghc-appar) + ("ghc-byteorder" ,ghc-byteorder) + ("ghc-network" ,ghc-network) + ("ghc-safe" ,ghc-safe))) + (home-page "https://www.mew.org/~kazu/proj/iproute/") + (synopsis "IP routing table") + (description "IP Routing Table is a tree of IP ranges to search one of +them on the longest match base. It is a kind of TRIE with one way branching +removed. Both IPv4 and IPv6 are supported.") + (license license:bsd-3))) + +(define-public ghc-iwlib + (package + (name "ghc-iwlib") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/iwlib/iwlib-" + version ".tar.gz")) + (sha256 + (base32 "0khmfwql4vwj55idsxmhjhrbqzfir3g9wm5lmpvnf77mm95cfpdz")))) + (build-system haskell-build-system) + (inputs + `(("wireless-tools" ,wireless-tools))) + (home-page "https://github.com/jaor/iwlib") + (synopsis "Haskell binding to the iw wireless networking library") + (description + "IWlib is a thin Haskell binding to the iw C library. It provides +information about the current wireless network connections, and adapters on +supported systems.") + (license license:bsd-3))) + +(define-public ghc-json + (package + (name "ghc-json") + (version "0.9.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/json/" + "json-" version ".tar.gz")) + (sha256 + (base32 + "13kkfgx58z18jphbg56jn08jn72wi3kvfndlwwx87hqwg7x1dfz6")))) + (build-system haskell-build-system) + (inputs + `(("ghc-syb" ,ghc-syb))) + (home-page "https://hackage.haskell.org/package/json") + (synopsis "Serializes Haskell data to and from JSON") + (description "This package provides a parser and pretty printer for +converting between Haskell values and JSON. +JSON (JavaScript Object Notation) is a lightweight data-interchange format.") + (license license:bsd-3))) + +(define-public ghc-juicypixels + (package + (name "ghc-juicypixels") + (version "3.2.9.5") + (source (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "JuicyPixels/JuicyPixels-" + version ".tar.gz")) + (sha256 + (base32 + "0mf3ihr0xy2wc2wzb9a17g0n3p60x7pvm8akwpvhdy8klvs6r744")))) + (build-system haskell-build-system) + (inputs + `(("ghc-zlib" ,ghc-zlib) + ("ghc-vector" ,ghc-vector) + ("ghc-primitive" ,ghc-primitive) + ("ghc-mmap" ,ghc-mmap))) + (home-page "https://github.com/Twinside/Juicy.Pixels") + (synopsis "Picture loading and serialization library") + (description + "This library can load and store images in PNG, Bitmap, JPEG, Radiance, +TIFF and GIF formats.") + (license license:bsd-3))) + +(define-public ghc-kan-extensions + (package + (name "ghc-kan-extensions") + (version "5.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/kan-extensions/kan-extensions-" + version + ".tar.gz")) + (sha256 + (base32 + "1lyvyiwwh962j2nnnsqzlvp5zq6z8p3spvhmji99cjvldxc7wwkb")))) + (build-system haskell-build-system) + (inputs + `(("ghc-adjunctions" ,ghc-adjunctions) + ("ghc-comonad" ,ghc-comonad) + ("ghc-contravariant" ,ghc-contravariant) + ("ghc-distributive" ,ghc-distributive) + ("ghc-free" ,ghc-free) + ("ghc-invariant" ,ghc-invariant) + ("ghc-semigroupoids" ,ghc-semigroupoids) + ("ghc-tagged" ,ghc-tagged) + ("ghc-transformers-compat" ,ghc-transformers-compat))) + (home-page "https://github.com/ekmett/kan-extensions/") + (synopsis "Kan extensions library") + (description "This library provides Kan extensions, Kan lifts, various +forms of the Yoneda lemma, and (co)density (co)monads for Haskell.") + (license license:bsd-3))) + +(define-public ghc-language-c + (package + (name "ghc-language-c") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "language-c/language-c-" version ".tar.gz")) + (sha256 + (base32 + "0sdkjj0hq8p69fcdm6ljbjkjvrsrb8a6rl5dq6dj6byj32ajrm3d")))) + (build-system haskell-build-system) + (inputs `(("ghc-syb" ,ghc-syb))) + (native-inputs + `(("ghc-happy" ,ghc-happy) + ("ghc-alex" ,ghc-alex))) + (home-page "https://visq.github.io/language-c/") + (synopsis "Analysis and generation of C code") + (description + "Language C is a Haskell library for the analysis and generation of C code. +It features a complete, well-tested parser and pretty printer for all of C99 +and a large set of GNU extensions.") + (license license:bsd-3))) + +(define-public ghc-language-glsl + (package + (name "ghc-language-glsl") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "language-glsl/language-glsl-" version ".tar.gz")) + (sha256 + (base32 + "0hdg67ainlqpjjghg3qin6fg4p783m0zmjqh4rd5gyizwiplxkp1")))) + (build-system haskell-build-system) + (inputs `(("ghc-prettyclass" ,ghc-prettyclass))) + (arguments + `(#:tests? #f + #:cabal-revision + ("1" "10ac9pk4jy75k03j1ns4b5136l4kw8krr2d2nw2fdmpm5jzyghc5"))) + (home-page "http://hackage.haskell.org/package/language-glsl") + (synopsis "GLSL abstract syntax tree, parser, and pretty-printer") + (description "This package is a Haskell library for the +representation, parsing, and pretty-printing of GLSL 1.50 code.") + (license license:bsd-3))) + +(define-public ghc-language-haskell-extract + (package + (name "ghc-language-haskell-extract") + (version "0.2.4") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "language-haskell-extract-" version "/" + "language-haskell-extract-" version ".tar.gz")) + (sha256 + (base32 + "1nxcs7g8a1sp91bzpy4cj6s31k5pvc3gvig04cbrggv5cvjidnhl")))) + (build-system haskell-build-system) + (inputs + `(("ghc-regex-posix" ,ghc-regex-posix))) + (home-page "https://github.com/finnsson/template-helper") + (synopsis "Haskell module to automatically extract functions from +the local code") + (description "This package contains helper functions on top of +Template Haskell. + +For example, @code{functionExtractor} extracts all functions after a +regexp-pattern, which can be useful if you wish to extract all functions +beginning with @code{test} (for a test framework) or all functions beginning +with @code{wc} (for a web service).") + (license license:bsd-3))) + +(define-public ghc-lens + (package + (name "ghc-lens") + (version "4.16.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/lens/lens-" + version ".tar.gz")) + (sha256 + (base32 + "1im4drhbydbawd6i0jsrzpqihnmx4ywpkg7yg94ddwsw3mxwkgpm")))) + (build-system haskell-build-system) + (arguments + `(#:cabal-revision + ("2" "11h83lj5mba4grhz1qx3irz10ysm9c3k7k6i6xv2cr60q8xin3ri"))) + (inputs + `(("ghc-base-orphans" ,ghc-base-orphans) + ("ghc-bifunctors" ,ghc-bifunctors) + ("ghc-distributive" ,ghc-distributive) + ("ghc-exceptions" ,ghc-exceptions) + ("ghc-free" ,ghc-free) + ("ghc-kan-extensions" ,ghc-kan-extensions) + ("ghc-parallel" ,ghc-parallel) + ("ghc-reflection" ,ghc-reflection) + ("ghc-semigroupoids" ,ghc-semigroupoids) + ("ghc-vector" ,ghc-vector) + ("ghc-call-stack" ,ghc-call-stack) + ("ghc-comonad" ,ghc-comonad) + ("ghc-contravariant" ,ghc-contravariant) + ("ghc-hashable" ,ghc-hashable) + ("ghc-profunctors" ,ghc-profunctors) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-tagged" ,ghc-tagged) + ("ghc-transformers-compat" ,ghc-transformers-compat) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-void" ,ghc-void) + ("ghc-generic-deriving" ,ghc-generic-deriving) + ("ghc-nats" ,ghc-nats) + ("ghc-simple-reflect" ,ghc-simple-reflect) + ("hlint" ,hlint))) + (native-inputs + `(("cabal-doctest" ,cabal-doctest) + ("ghc-doctest" ,ghc-doctest) + ("ghc-hunit" ,ghc-hunit) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) + ("ghc-test-framework-th" ,ghc-test-framework-th) + ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) + ("ghc-quickcheck" ,ghc-quickcheck))) + (home-page "https://github.com/ekmett/lens/") + (synopsis "Lenses, Folds and Traversals") + (description "This library provides @code{Control.Lens}. The combinators +in @code{Control.Lens} provide a highly generic toolbox for composing families +of getters, folds, isomorphisms, traversals, setters and lenses and their +indexed variants.") + (license license:bsd-3))) + +(define-public ghc-libffi + (package + (name "ghc-libffi") + (version "0.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "libffi/libffi-" version ".tar.gz")) + (sha256 + (base32 + "0g7jnhng3j7z5517aaqga0144aamibsbpgm3yynwyfzkq1kp0f28")))) + (build-system haskell-build-system) + (native-inputs `(("pkg-config" ,pkg-config))) + (inputs `(("libffi" ,libffi))) + (home-page "http://hackage.haskell.org/package/libffi") + (synopsis "Haskell binding to libffi") + (description + "A binding to libffi, allowing C functions of types only known at runtime +to be called from Haskell.") + (license license:bsd-3))) + +(define-public ghc-libmpd + (package + (name "ghc-libmpd") + (version "0.9.0.9") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://hackage/package/libmpd/libmpd-" + version + ".tar.gz")) + (sha256 + (base32 + "1931m23iqb4wddpdidm4ph746zpaw41kkjzmb074j7yyfpk7x1jv")))) + (build-system haskell-build-system) + ;; Tests fail on i686. + ;; See https://github.com/vimus/libmpd-haskell/issues/112 + (arguments `(#:tests? #f)) + (inputs + `(("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-old-locale" ,ghc-old-locale) + ("ghc-data-default-class" ,ghc-data-default-class) + ("ghc-network" ,ghc-network) + ("ghc-utf8-string" ,ghc-utf8-string))) + (native-inputs + `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-hspec" ,ghc-hspec) + ("hspec-discover" ,hspec-discover))) + (home-page "https://github.com/vimus/libmpd-haskell") + (synopsis "Haskell client library for the Music Player Daemon") + (description "This package provides a pure Haskell client library for the +Music Player Daemon.") + (license license:expat))) + +(define-public ghc-libxml + (package + (name "ghc-libxml") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/libxml/" + "libxml-" version ".tar.gz")) + (sha256 + (base32 + "01zvk86kg726lf2vnlr7dxiz7g3xwi5a4ak9gcfbwyhynkzjmsfi")))) + (build-system haskell-build-system) + (inputs + `(("libxml2" ,libxml2))) + (arguments + `(#:configure-flags + `(,(string-append "--extra-include-dirs=" + (assoc-ref %build-inputs "libxml2") + "/include/libxml2")))) + (home-page "https://hackage.haskell.org/package/libxml") + (synopsis "Haskell bindings to libxml2") + (description + "This library provides minimal Haskell binding to libxml2.") + (license license:bsd-3))) + +(define-public ghc-lifted-async + (package + (name "ghc-lifted-async") + (version "0.10.0.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/lifted-async/lifted-async-" + version ".tar.gz")) + (sha256 + (base32 + "1073r512c1x2m1v0jar9bwqg656slg7jd1jhsyj6m8awgx1l1mwf")))) + (build-system haskell-build-system) + (inputs + `(("ghc-async" ,ghc-async) + ("ghc-lifted-base" ,ghc-lifted-base) + ("ghc-transformers-base" ,ghc-transformers-base) + ("ghc-monad-control" ,ghc-monad-control) + ("ghc-constraints" ,ghc-constraints) + ("ghc-hunit" ,ghc-hunit) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-tasty-th" ,ghc-tasty-th))) + (home-page "https://github.com/maoe/lifted-async") + (synopsis "Run lifted IO operations asynchronously and wait for their results") + (description + "This package provides IO operations from @code{async} package lifted to any +instance of @code{MonadBase} or @code{MonadBaseControl}.") + (license license:bsd-3))) + +(define-public ghc-lifted-base + (package + (name "ghc-lifted-base") + (version "0.2.3.12") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/lifted-base/lifted-base-" + version + ".tar.gz")) + (sha256 + (base32 + "1i8p8d3rkdh21bhgjjh32vd7qqjr7jq7p59qds0aw2kmargsjd61")))) + (build-system haskell-build-system) + (arguments `(#:tests? #f)) ; FIXME: Missing testing libraries. + (inputs + `(("ghc-transformers-base" ,ghc-transformers-base) + ("ghc-monad-control" ,ghc-monad-control) + ("ghc-transformers-compat" ,ghc-transformers-compat) + ("ghc-hunit" ,ghc-hunit))) + (home-page "https://github.com/basvandijk/lifted-base") + (synopsis "Lifted IO operations from the base library") + (description "Lifted-base exports IO operations from the @code{base} +library lifted to any instance of @code{MonadBase} or @code{MonadBaseControl}. +Note that not all modules from @code{base} are converted yet. The package +includes a copy of the @code{monad-peel} test suite written by Anders +Kaseorg.") + (license license:bsd-3))) + +(define-public ghc-linear + (package + (name "ghc-linear") + (version "1.20.8") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/linear/" + "linear-" version ".tar.gz")) + (sha256 + (base32 + "046vkvxlb0s286qr55s0c6db0rlwbm1cmlmwhrrkqbkzhfcipgay")))) + (build-system haskell-build-system) + (inputs + `(("ghc-adjunctions" ,ghc-adjunctions) + ("ghc-base-orphans" ,ghc-base-orphans) + ("ghc-bytes" ,ghc-bytes) + ("ghc-cereal" ,ghc-cereal) + ("ghc-distributive" ,ghc-distributive) + ("ghc-hashable" ,ghc-hashable) + ("ghc-lens" ,ghc-lens) + ("ghc-reflection" ,ghc-reflection) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-semigroupoids" ,ghc-semigroupoids) + ("ghc-tagged" ,ghc-tagged) + ("ghc-transformers-compat" ,ghc-transformers-compat) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-vector" ,ghc-vector) + ("ghc-void" ,ghc-void))) + (native-inputs + `(("cabal-doctest" ,cabal-doctest) + ("ghc-doctest" ,ghc-doctest) + ("ghc-simple-reflect" ,ghc-simple-reflect) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) + ("ghc-hunit" ,ghc-hunit))) + (home-page "http://github.com/ekmett/linear/") + (synopsis "Linear algebra library for Haskell") + (description + "This package provides types and combinators for linear algebra on free +vector spaces.") + (license license:bsd-3))) + +(define-public ghc-logging-facade + (package + (name "ghc-logging-facade") + (version "0.3.0") + (source (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "logging-facade/logging-facade-" + version ".tar.gz")) + (sha256 + (base32 + "0d0lwxxgd16is9aw6v3ps4r9prv3dj8xscmm45fvzq3nicjiawcf")))) + (build-system haskell-build-system) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("hspec-discover" ,hspec-discover))) + (home-page "https://hackage.haskell.org/package/logging-facade") + (synopsis "Simple logging abstraction that allows multiple back-ends") + (description + "This package provides a simple logging abstraction that allows multiple +back-ends.") + (license license:expat))) + +(define-public ghc-logict + (package + (name "ghc-logict") + (version "0.6.0.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/logict/logict-" + version + ".tar.gz")) + (sha256 + (base32 + "07hnirv6snnym2r7iijlfz00b60jpy2856zvqxh989q0in7bd0hi")))) + (build-system haskell-build-system) + (home-page "http://code.haskell.org/~dolio/") + (synopsis "Backtracking logic-programming monad") + (description "This library provides a continuation-based, backtracking, +logic programming monad. An adaptation of the two-continuation implementation +found in the paper \"Backtracking, Interleaving, and Terminating Monad +Transformers\" available @uref{http://okmij.org/ftp/papers/LogicT.pdf, +online}.") + (license license:bsd-3))) + +(define-public ghc-lzma + (package + (name "ghc-lzma") + (version "0.0.0.3") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/lzma/" + "lzma-" version ".tar.gz")) + (sha256 + (base32 + "0i416gqi8j55nd1pqbkxvf3f6hn6fjys6gq98lkkxphva71j30xg")))) + (build-system haskell-build-system) + (arguments + '(#:tests? #f ; requires older versions of QuickCheck and tasty. + #:cabal-revision + ("3" "1sify6gnsalyp6dakfzi0mdy5jcz2kcp9jsdsgkmxd40nfzgd44m"))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) + (home-page "https://github.com/hvr/lzma") + (synopsis "LZMA/XZ compression and decompression") + (description + "This package provides a pure interface for compressing and +decompressing LZMA streams of data represented as lazy @code{ByteString}s. A +monadic incremental interface is provided as well.") + (license license:bsd-3))) + +(define-public ghc-lzma-conduit + (package + (name "ghc-lzma-conduit") + (version "1.2.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/lzma-conduit/" + "lzma-conduit-" version ".tar.gz")) + (sha256 + (base32 + "0hm72da7xk9l3zxjh274yg444vf405djxqbkf3q3p2qhicmxlmg9")))) + (build-system haskell-build-system) + (inputs + `(("ghc-conduit" ,ghc-conduit) + ("ghc-lzma" ,ghc-lzma) + ("ghc-resourcet" ,ghc-resourcet))) + (native-inputs + `(("ghc-base-compat" ,ghc-base-compat) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) + ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) + ("ghc-hunit" ,ghc-hunit) + ("ghc-quickcheck" ,ghc-quickcheck))) + (home-page "https://github.com/alphaHeavy/lzma-conduit") + (synopsis "Conduit interface for lzma/xz compression") + (description + "This package provides a @code{Conduit} interface for the LZMA +compression algorithm used in the @code{.xz} file format.") + (license license:bsd-3))) + +(define-public ghc-markdown-unlit + (package + (name "ghc-markdown-unlit") + (version "0.5.0") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://hackage/package/markdown-unlit/" + "markdown-unlit-" version ".tar.gz")) + (sha256 + (base32 + "1gy79vr85vcp13rdjh0hz7zv6daqqffww4j0cqn2lpjjh9xhsbg7")))) + (build-system haskell-build-system) + (inputs + `(("ghc-base-compat" ,ghc-base-compat) + ("ghc-hspec" ,ghc-hspec) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-silently" ,ghc-silently) + ("ghc-stringbuilder" ,ghc-stringbuilder) + ("ghc-temporary" ,ghc-temporary) + ("hspec-discover" ,hspec-discover))) + (home-page "https://github.com/sol/markdown-unlit#readme") + (synopsis "Literate Haskell support for Markdown") + (description "This package allows you to have a README.md that at the +same time is a literate Haskell program.") + (license license:expat))) + +(define-public ghc-math-functions + (package + (name "ghc-math-functions") + (version "0.2.1.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "math-functions-" version "/" + "math-functions-" version ".tar.gz")) + (sha256 + (base32 + "1sv5vabsx332v1lpb6v3jv4zrzvpx1n7yprzd8wlcda5vsc5a6zp")))) + (build-system haskell-build-system) + (arguments `(#:tests? #f)) ; FIXME: 1 test fails. + (inputs + `(("ghc-vector" ,ghc-vector) + ("ghc-vector-th-unbox" ,ghc-vector-th-unbox))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-erf" ,ghc-erf) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) + ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) + (home-page "https://github.com/bos/math-functions") + (synopsis "Special functions and Chebyshev polynomials for Haskell") + (description "This Haskell library provides implementations of +special mathematical functions and Chebyshev polynomials. These +functions are often useful in statistical and numerical computing.") + (license license:bsd-3))) + +(define-public ghc-megaparsec + (package + (name "ghc-megaparsec") + (version "6.5.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "megaparsec/megaparsec-" + version ".tar.gz")) + (sha256 + (base32 + "12iggy7qpf8x93jm64zf0g215xwy779bqyfyjk2bhmxqqr1yzgdy")))) + (build-system haskell-build-system) + (arguments + `(#:cabal-revision + ("4" "0ij3asi5vwlhbgwsy6nhli9a0qb7926mg809fsgyl1rnhs9fvpx1"))) + (inputs + `(("ghc-case-insensitive" ,ghc-case-insensitive) + ("ghc-parser-combinators" ,ghc-parser-combinators) + ("ghc-scientific" ,ghc-scientific))) + (native-inputs + `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-hspec" ,ghc-hspec) + ("ghc-hspec-expectations" ,ghc-hspec-expectations) + ("hspec-discover" ,hspec-discover))) + (home-page "https://github.com/mrkkrp/megaparsec") + (synopsis "Monadic parser combinators") + (description + "This is an industrial-strength monadic parser combinator library. +Megaparsec is a feature-rich package that strikes a nice balance between +speed, flexibility, and quality of parse errors.") + (license license:bsd-2))) + +(define-public ghc-memory + (package + (name "ghc-memory") + (version "0.14.16") + (source (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "memory/memory-" version ".tar.gz")) + (sha256 + (base32 + "03rbszi5d4z9rlbfv8ydrl1xf84xsh8z57g07f7j9qccn9587c3v")))) + (build-system haskell-build-system) + (inputs + `(("ghc-basement" ,ghc-basement) + ("ghc-foundation" ,ghc-foundation))) + (native-inputs + `(("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) + ("ghc-tasty-hunit" ,ghc-tasty-hunit))) + (home-page "https://github.com/vincenthz/hs-memory") + (synopsis "Memory abstractions for Haskell") + (description + "This package provides memory abstractions, such as chunk of memory, +polymorphic byte array management and manipulation functions. It contains a +polymorphic byte array abstraction and functions similar to strict ByteString, +different type of byte array abstraction, raw memory IO operations (memory +set, memory copy, ..) and more") + (license license:bsd-3))) + +(define-public ghc-memotrie + (package + (name "ghc-memotrie") + (version "0.6.9") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/MemoTrie/MemoTrie-" + version + ".tar.gz")) + (sha256 + (base32 + "157p0pi6rrq74a35mq6zkkycv4ah7xhkbrcmnkb9xf7pznw4aq0x")))) + (build-system haskell-build-system) + (inputs + `(("ghc-newtype-generics" ,ghc-newtype-generics))) + (home-page "https://github.com/conal/MemoTrie") + (synopsis "Trie-based memo functions") + (description "This package provides a functional library for creating +efficient memo functions using tries.") + (license license:bsd-3))) + +(define-public ghc-microlens + (package + (name "ghc-microlens") + (version "0.4.9.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "microlens-" version "/" + "microlens-" version ".tar.gz")) + (sha256 + (base32 + "0j2nzf0vpx2anvsrg2w0vy2z4jn3kkcs2n6glkzblhn1j9piqh51")))) + (build-system haskell-build-system) + (home-page + "https://github.com/aelve/microlens") + (synopsis "Provides a tiny lens Haskell library with no dependencies") + (description "This Haskell package provides a lens library, just like +@code{ghc-lens}, but smaller. It provides essential lenses and +traversals (like @code{_1} and @code{_Just}), as well as ones which are simply +nice to have (like @code{each}, @code{at}, and @code{ix}), and some +combinators (like @code{failing} and @code{singular}), but everything else is +stripped. As the result, this package has no dependencies.") + (license license:bsd-3))) + +(define-public ghc-microlens-ghc + (package + (name "ghc-microlens-ghc") + (version "0.4.9.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/microlens-ghc/microlens-ghc-" + version + ".tar.gz")) + (sha256 + (base32 + "03iwgg8zww9irv59l70c8yy7vzxir1zf66y12210xk91k5hq6jrj")))) + (build-system haskell-build-system) + (inputs `(("ghc-microlens" ,ghc-microlens))) + (home-page "https://github.com/monadfix/microlens") + (synopsis "Use @code{microlens} with GHC libraries like @code{array}") + (description "This library provides everything that @code{microlens} +provides plus instances to make @code{each}, @code{at}, and @code{ix} +usable with arrays, @code{ByteString}, and containers. This package is +a part of the @uref{http://hackage.haskell.org/package/microlens, +microlens} family; see the readme +@uref{https://github.com/aelve/microlens#readme, on Github}.") + (license license:bsd-3))) + +(define-public ghc-microlens-mtl + (package + (name "ghc-microlens-mtl") + (version "0.1.11.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/microlens-mtl/microlens-mtl-" + version + ".tar.gz")) + (sha256 + (base32 + "0l6z1gkzwcpv89bxf5vgfrjb6gq2pj7sjjc53nvi5b9alx34zryk")))) + (build-system haskell-build-system) + (inputs + `(("ghc-microlens" ,ghc-microlens) + ("ghc-transformers-compat" ,ghc-transformers-compat))) + (home-page "https://github.com/monadfix/microlens") + (synopsis + "@code{microlens} support for Reader/Writer/State from mtl") + (description + "This package contains functions (like @code{view} or @code{+=}) which +work on @code{MonadReader}, @code{MonadWriter}, and @code{MonadState} from the +mtl package. This package is a part of the +@uref{http://hackage.haskell.org/package/microlens, microlens} family; see the +readme @uref{https://github.com/aelve/microlens#readme, on Github}.") + (license license:bsd-3))) + +(define-public ghc-microlens-platform + (package + (name "ghc-microlens-platform") + (version "0.3.10") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/" + "microlens-platform/microlens-platform-" version ".tar.gz")) + (sha256 + (base32 + "1d4nhmgf9jq0ixc7qhwm7aaw3xdr0nalw58d0ydsydgf02cyazwv")))) + (build-system haskell-build-system) + (inputs + `(("ghc-hashable" ,ghc-hashable) + ("ghc-microlens" ,ghc-microlens) + ("ghc-microlens-ghc" ,ghc-microlens-ghc) + ("ghc-microlens-mtl" ,ghc-microlens-mtl) + ("ghc-microlens-th" ,ghc-microlens-th) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-vector" ,ghc-vector))) + (home-page "https://github.com/monadfix/microlens") + (synopsis "Feature-complete microlens") + (description + "This package exports a module which is the recommended starting point +for using @uref{http://hackage.haskell.org/package/microlens, microlens} if +you aren't trying to keep your dependencies minimal. By importing +@code{Lens.Micro.Platform} you get all functions and instances from +@uref{http://hackage.haskell.org/package/microlens, microlens}, +@uref{http://hackage.haskell.org/package/microlens-th, microlens-th}, +@uref{http://hackage.haskell.org/package/microlens-mtl, microlens-mtl}, +@uref{http://hackage.haskell.org/package/microlens-ghc, microlens-ghc}, as +well as instances for @code{Vector}, @code{Text}, and @code{HashMap}. The +minor and major versions of @code{microlens-platform} are incremented whenever +the minor and major versions of any other @code{microlens} package are +incremented, so you can depend on the exact version of +@code{microlens-platform} without specifying the version of @code{microlens} +you need. This package is a part of the +@uref{http://hackage.haskell.org/package/microlens, microlens} family; see the +readme @uref{https://github.com/aelve/microlens#readme, on Github}.") + (license license:bsd-3))) + +(define-public ghc-microlens-th + (package + (name "ghc-microlens-th") + (version "0.4.2.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "microlens-th-" version "/" + "microlens-th-" version ".tar.gz")) + (sha256 + (base32 + "02nj7lnl61yffi3c6wn341arxhld5r0vj6nzcb5zmqjhnqsv8c05")))) + (build-system haskell-build-system) + (inputs `(("ghc-microlens" ,ghc-microlens) + ("ghc-th-abstraction" ,ghc-th-abstraction))) + (home-page + "https://github.com/aelve/microlens") + (synopsis "Automatic generation of record lenses for +@code{ghc-microlens}") + (description "This Haskell package lets you automatically generate lenses +for data types; code was extracted from the lens package, and therefore +generated lenses are fully compatible with ones generated by lens (and can be +used both from lens and microlens).") + (license license:bsd-3))) + +(define-public ghc-missingh + (package + (name "ghc-missingh") + (version "1.4.0.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/MissingH/" + "MissingH-" version ".tar.gz")) + (sha256 + (base32 + "0wcvgrmav480w7nf4bl14yi0jq2yzanysxwzwas9hpb28vyjlgr8")))) + (build-system haskell-build-system) + ;; Tests require the unmaintained testpack package, which depends on the + ;; outdated QuickCheck version 2.7, which can no longer be built with + ;; recent versions of GHC and Haskell libraries. + (arguments '(#:tests? #f)) + (inputs + `(("ghc-network" ,ghc-network) + ("ghc-hunit" ,ghc-hunit) + ("ghc-regex-compat" ,ghc-regex-compat) + ("ghc-hslogger" ,ghc-hslogger) + ("ghc-random" ,ghc-random) + ("ghc-old-time" ,ghc-old-time) + ("ghc-old-locale" ,ghc-old-locale))) + (native-inputs + `(("ghc-errorcall-eq-instance" ,ghc-errorcall-eq-instance) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-hunit" ,ghc-hunit))) + (home-page "http://software.complete.org/missingh") + (synopsis "Large utility library") + (description + "MissingH is a library of all sorts of utility functions for Haskell +programmers. It is written in pure Haskell and thus should be extremely +portable and easy to use.") + (license license:bsd-3))) + +(define-public ghc-mmap + (package + (name "ghc-mmap") + (version "0.5.9") + (source (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "mmap/mmap-" version ".tar.gz")) + (sha256 + (base32 + "1y5mk3yf4b8r6rzmlx1xqn4skaigrqnv08sqq0v7r3nbw42bpz2q")))) + (build-system haskell-build-system) + (home-page "https://hackage.haskell.org/package/mmap") + (synopsis "Memory mapped files for Haskell") + (description + "This library provides a wrapper to @code{mmap}, allowing files or +devices to be lazily loaded into memory as strict or lazy @code{ByteStrings}, +@code{ForeignPtrs} or plain @code{Ptrs}, using the virtual memory subsystem to +do on-demand loading.") + (license license:bsd-3))) + +(define-public ghc-mmorph + (package + (name "ghc-mmorph") + (version "1.1.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/mmorph/mmorph-" + version + ".tar.gz")) + (sha256 + (base32 + "1gjz1ib968lqybma7my1n19qq6cdj6a7nskrlnwy4jy9jrwzs2n9")))) + (build-system haskell-build-system) + (inputs + `(("ghc-transformers-compat" ,ghc-transformers-compat))) + (home-page "https://hackage.haskell.org/package/mmorph") + (synopsis "Monad morphisms") + (description + "This library provides monad morphism utilities, most commonly used for +manipulating monad transformer stacks.") + (license license:bsd-3))) + +(define-public ghc-mockery + (package + (name "ghc-mockery") + (version "0.3.5") + (source (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "mockery/mockery-" version ".tar.gz")) + (sha256 + (base32 + "09ypgm3z69gq8mj6y66ss58kbjnk15r8frwcwbqcfbfksfnfv8dp")))) + (build-system haskell-build-system) + (inputs + `(("ghc-temporary" ,ghc-temporary) + ("ghc-logging-facade" ,ghc-logging-facade) + ("ghc-base-compat" ,ghc-base-compat))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("hspec-discover" ,hspec-discover))) + (home-page "https://hackage.haskell.org/package/mockery") + (synopsis "Support functions for automated testing") + (description + "The mockery package provides support functions for automated testing.") + (license license:expat))) + +(define-public ghc-monad-control + (package + (name "ghc-monad-control") + (version "1.0.2.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/monad-control" + "/monad-control-" version ".tar.gz")) + (sha256 + (base32 + "1c92833gr6cadidjdp8mlznkpp8lyxl0w3y7d19y8yi3klc3843c")))) + (build-system haskell-build-system) + (inputs + `(("ghc-transformers-base" ,ghc-transformers-base) + ("ghc-transformers-compat" ,ghc-transformers-compat))) + (home-page "https://github.com/basvandijk/monad-control") + (synopsis "Monad transformers to lift control operations like exception +catching") + (description "This package defines the type class @code{MonadBaseControl}, +a subset of @code{MonadBase} into which generic control operations such as +@code{catch} can be lifted from @code{IO} or any other base monad.") + (license license:bsd-3))) + +(define-public ghc-monad-logger + (package + (name "ghc-monad-logger") + (version "0.3.29") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "monad-logger-" version "/" + "monad-logger-" version ".tar.gz")) + (sha256 + (base32 + "1z516s4pa9n94zf0l45mylssg07xr1d1m6zrz900p0iv3vfd07mv")))) + (build-system haskell-build-system) + (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat) + ("ghc-stm-chans" ,ghc-stm-chans) + ("ghc-lifted-base" ,ghc-lifted-base) + ("ghc-resourcet" ,ghc-resourcet) + ("ghc-conduit" ,ghc-conduit) + ("ghc-conduit-extra" ,ghc-conduit-extra) + ("ghc-fast-logger" ,ghc-fast-logger) + ("ghc-transformers-base" ,ghc-transformers-base) + ("ghc-monad-control" ,ghc-monad-control) + ("ghc-monad-loops" ,ghc-monad-loops) + ("ghc-blaze-builder" ,ghc-blaze-builder) + ("ghc-exceptions" ,ghc-exceptions))) + (home-page "https://github.com/kazu-yamamoto/logger") + (synopsis "Provides a class of monads which can log messages for Haskell") + (description "This Haskell package uses a monad transformer approach +for logging. + +This package provides Template Haskell functions for determining source +code locations of messages.") + (license license:expat))) + +(define-public ghc-monad-loops + (package + (name "ghc-monad-loops") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "monad-loops-" version "/" + "monad-loops-" version ".tar.gz")) + (sha256 + (base32 + "062c2sn3hc8h50p1mhqkpyv6x8dydz2zh3ridvlfjq9nqimszaky")))) + (build-system haskell-build-system) + (native-inputs `(("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hunit" ,ghc-tasty-hunit))) + (home-page "https://github.com/mokus0/monad-loops") + (synopsis "Monadic loops for Haskell") + (description "This Haskell package provides some useful control +operators for looping.") + (license license:public-domain))) + +(define-public ghc-monad-par + (package + (name "ghc-monad-par") + (version "0.3.4.8") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "monad-par-" version "/" + "monad-par-" version ".tar.gz")) + (sha256 + (base32 + "0ldrzqy24fsszvn2a2nr77m2ih7xm0h9bgkjyv1l274aj18xyk7q")))) + (build-system haskell-build-system) + (inputs `(("ghc-abstract-par" ,ghc-abstract-par) + ("ghc-abstract-deque" ,ghc-abstract-deque) + ("ghc-monad-par-extras" ,ghc-monad-par-extras) + ("ghc-mwc-random" ,ghc-mwc-random) + ("ghc-parallel" ,ghc-parallel))) + (native-inputs `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-hunit" ,ghc-hunit) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) + ("ghc-test-framework-quickcheck2" + ,ghc-test-framework-quickcheck2) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-th" ,ghc-test-framework-th))) + (home-page "https://github.com/simonmar/monad-par") + (synopsis "Haskell library for parallel programming based on a monad") + (description "The @code{Par} monad offers an API for parallel +programming. The library works for parallelising both pure and @code{IO} +computations, although only the pure version is deterministic. The default +implementation provides a work-stealing scheduler and supports forking tasks +that are much lighter weight than IO-threads.") + (license license:bsd-3))) + +(define-public ghc-monad-par-extras + (package + (name "ghc-monad-par-extras") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "monad-par-extras-" version "/" + "monad-par-extras-" version ".tar.gz")) + (sha256 + (base32 + "0bl4bd6jzdc5zm20q1g67ppkfh6j6yn8fwj6msjayj621cck67p2")))) + (build-system haskell-build-system) + (inputs `(("ghc-abstract-par" ,ghc-abstract-par) + ("ghc-cereal" ,ghc-cereal) + ("ghc-random" ,ghc-random))) + (home-page "https://github.com/simonmar/monad-par") + (synopsis "Combinators and extra features for Par monads for Haskell") + (description "This Haskell package provides additional data structures, +and other added capabilities layered on top of the @code{Par} monad.") + (license license:bsd-3))) + +(define-public ghc-monadplus + (package + (name "ghc-monadplus") + (version "1.4.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/monadplus" + "/monadplus-" version ".tar.gz")) + (sha256 + (base32 "15b5320wdpmdp5slpphnc1x4rhjch3igw245dp2jxbqyvchdavin")))) + (build-system haskell-build-system) + (home-page "https://hackage.haskell.org/package/monadplus") + (synopsis "Filtering and folding over arbitrary MonadPlus instances") + (description + "This package generalizes many common stream operations such as +@code{filter}, @code{catMaybes} etc, enabling filtering and folding over +arbitrary @code{MonadPlus} instances.") + (license license:bsd-3))) + +(define-public ghc-monadrandom + (package + (name "ghc-monadrandom") + (version "0.5.1.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "MonadRandom-" version "/" + "MonadRandom-" version ".tar.gz")) + (sha256 + (base32 + "0w44jl1n3kqvqaflh82l1wj3xxbhzfs3kf4m8rk7w6fgg8llmnmb")))) + (build-system haskell-build-system) + (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat) + ("ghc-primitive" ,ghc-primitive) + ("ghc-fail" ,ghc-fail) + ("ghc-random" ,ghc-random))) + (home-page "https://github.com/byorgey/MonadRandom") + (synopsis "Random-number generation monad for Haskell") + (description "This Haskell package provides support for computations +which consume random values.") + (license license:bsd-3))) + +(define-public ghc-monads-tf + (package + (name "ghc-monads-tf") + (version "0.1.0.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/monads-tf/monads-tf-" + version ".tar.gz")) + (sha256 + (base32 + "1wdhskwa6dw8qljbvwpyxj8ca6y95q2np7z4y4q6bpf4anmd5794")))) + (build-system haskell-build-system) + (home-page "https://hackage.haskell.org/package/monads-tf") + (synopsis "Monad classes, using type families") + (description + "Monad classes using type families, with instances for various monad transformers, +inspired by the paper 'Functional Programming with Overloading and Higher-Order +Polymorphism', by Mark P Jones. This package is almost a compatible replacement for +the @code{mtl-tf} package.") + (license license:bsd-3))) + +(define-public ghc-mono-traversable + (package + (name "ghc-mono-traversable") + (version "1.0.9.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "mono-traversable-" version "/" + "mono-traversable-" version ".tar.gz")) + (sha256 + (base32 + "0180ks0dyvpk1r20w5jw2w2n79mjnk69n9vhspaxzlyxqgim5psa")))) + (build-system haskell-build-system) + (inputs `(("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-hashable" ,ghc-hashable) + ("ghc-vector" ,ghc-vector) + ("ghc-vector-algorithms" ,ghc-vector-algorithms) + ("ghc-split" ,ghc-split))) + (native-inputs `(("ghc-hspec" ,ghc-hspec) + ("ghc-hunit" ,ghc-hunit) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-foldl" ,ghc-foldl))) + (home-page "https://github.com/snoyberg/mono-traversable") + (synopsis "Haskell classes for mapping, folding, and traversing monomorphic +containers") + (description "This Haskell package provides Monomorphic variants of the +Functor, Foldable, and Traversable typeclasses. If you understand Haskell's +basic typeclasses, you understand mono-traversable. In addition to what +you are used to, it adds on an IsSequence typeclass and has code for marking +data structures as non-empty.") + (license license:expat))) + +(define-public ghc-murmur-hash + (package + (name "ghc-murmur-hash") + (version "0.1.0.9") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/murmur-hash" + "/murmur-hash-" version ".tar.gz")) + (sha256 + (base32 "1bb58kfnzvx3mpc0rc0dhqc1fk36nm8prd6gvf20gk6lxaadpfc9")))) + (build-system haskell-build-system) + (home-page "https://github.com/nominolo/murmur-hash") + (synopsis "MurmurHash2 implementation for Haskell") + (description + "This package provides an implementation of MurmurHash2, a good, fast, +general-purpose, non-cryptographic hashing function. See +@url{https://sites.google.com/site/murmurhash/} for details. This +implementation is pure Haskell, so it might be a bit slower than a C FFI +binding.") + (license license:bsd-3))) + +(define-public ghc-mwc-random + (package + (name "ghc-mwc-random") + (version "0.13.6.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "mwc-random-" version "/" + "mwc-random-" version ".tar.gz")) + (sha256 + (base32 + "05j7yh0hh9nxic3dijmzv44kc6gzclvamdph7sq7w19wq57k6pq6")))) + (build-system haskell-build-system) + (inputs + `(("ghc-primitive" ,ghc-primitive) + ("ghc-vector" ,ghc-vector) + ("ghc-math-functions" ,ghc-math-functions))) + (arguments + `(#:tests? #f)) ; FIXME: Test-Suite `spec` fails. + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) + ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) + (home-page "https://github.com/bos/mwc-random") + (synopsis "Random number generation library for Haskell") + (description "This Haskell package contains code for generating +high quality random numbers that follow either a uniform or normal +distribution. The generated numbers are suitable for use in +statistical applications. + +The uniform PRNG uses Marsaglia's MWC256 (also known as MWC8222) +multiply-with-carry generator, which has a period of 2^{8222} and +fares well in tests of randomness. It is also extremely fast, +between 2 and 3 times faster than the Mersenne Twister.") + (license license:bsd-3))) + +(define-public ghc-nats + (package + (name "ghc-nats") + (version "1.1.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/nats/nats-" + version + ".tar.gz")) + (sha256 + (base32 + "1v40drmhixck3pz3mdfghamh73l4rp71mzcviipv1y8jhrfxilmr")))) + (build-system haskell-build-system) + (arguments `(#:haddock? #f)) + (inputs + `(("ghc-hashable" ,ghc-hashable))) + (home-page "https://hackage.haskell.org/package/nats") + (synopsis "Natural numbers") + (description "This library provides the natural numbers for Haskell.") + (license license:bsd-3))) + +(define-public ghc-nats-bootstrap + (package + (inherit ghc-nats) + (name "ghc-nats-bootstrap") + (inputs + `(("ghc-hashable" ,ghc-hashable-bootstrap))) + (properties '((hidden? #t))))) + +(define-public ghc-network + (package + (name "ghc-network") + (version "2.6.3.6") + (outputs '("out" "doc")) + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/network/network-" + version + ".tar.gz")) + (sha256 + (base32 + "198mam7ahny48p9fajznbqq16a8ya2gw0xm3gnm1si1rmc4hdplv")))) + (build-system haskell-build-system) + ;; The regression tests depend on an unpublished module. + (arguments `(#:tests? #f)) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-doctest" ,ghc-doctest) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) + (home-page "https://github.com/haskell/network") + (synopsis "Low-level networking interface") + (description + "This package provides a low-level networking interface.") + (license license:bsd-3))) + +(define-public ghc-network-info + (package + (name "ghc-network-info") + (version "0.2.0.10") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "network-info-" version "/" + "network-info-" version ".tar.gz")) + (sha256 + (base32 + "0anmgzcpnz7nw3n6vq0r25m1s9l2svpwi83wza0lzkrlbnbzd02n")))) + (build-system haskell-build-system) + (home-page "https://github.com/jystic/network-info") + (synopsis "Access the local computer's basic network configuration") + (description "This Haskell library provides simple read-only access to the +local computer's networking configuration. It is currently capable of +getting a list of all the network interfaces and their respective +IPv4, IPv6 and MAC addresses.") + (license license:bsd-3))) + +(define-public ghc-network-uri + (package + (name "ghc-network-uri") + (version "2.6.1.0") + (outputs '("out" "doc")) + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/network-uri/network-uri-" + version + ".tar.gz")) + (sha256 + (base32 + "1w27zkvn39kjr9lmw9421y8w43h572ycsfafsb7kyvr3a4ihlgj2")))) + (build-system haskell-build-system) + (arguments + `(#:tests? #f)) ; FIXME: currently missing libraries used for tests. + (inputs + `(("ghc-network" ,ghc-network))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit))) + (home-page + "https://github.com/haskell/network-uri") + (synopsis "Library for URI manipulation") + (description "This package provides an URI manipulation interface. In +@code{network-2.6} the @code{Network.URI} module was split off from the +@code{network} package into this package.") + (license license:bsd-3))) + +(define-public ghc-newtype-generics + (package + (name "ghc-newtype-generics") + (version "0.5.3") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "newtype-generics/newtype-generics-" + version ".tar.gz")) + (sha256 + (base32 + "0igyisw2djg19v9vkna1rwf47k97mvkvk4bbkmswznvbm00z15gj")))) + (build-system haskell-build-system) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("hspec-discover" ,hspec-discover))) + (home-page "http://github.com/sjakobi/newtype-generics") + (synopsis "Typeclass and set of functions for working with newtypes") + (description "The @code{Newtype} typeclass represents the packing and +unpacking of a newtype, and allows you to operate under that newtype with +functions such as @code{ala}. Generics support was added in version 0.4, +making this package a full replacement for the original newtype package, +and an alternative to newtype-th.") + (license license:bsd-3))) + +(define-public ghc-objectname + (package + (name "ghc-objectname") + (version "1.1.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/ObjectName/ObjectName-" + version + ".tar.gz")) + (sha256 + (base32 + "046jm94rmm46cicd31pl54vdvfjvhd9ffbfycy2lxzc0fliyznvj")))) + (build-system haskell-build-system) + (home-page "https://hackage.haskell.org/package/ObjectName") + (synopsis "Helper library for Haskell OpenGL") + (description "This tiny package contains the class ObjectName, which +corresponds to the general notion of explicitly handled identifiers for API +objects, e.g. a texture object name in OpenGL or a buffer object name in +OpenAL.") + (license license:bsd-3))) + +(define-public ghc-old-locale + (package + (name "ghc-old-locale") + (version "1.0.0.7") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/old-locale/old-locale-" + version + ".tar.gz")) + (sha256 + (base32 "0l3viphiszvz5wqzg7a45zp40grwlab941q5ay29iyw8p3v8pbyv")))) + (build-system haskell-build-system) + (arguments + `(#:cabal-revision + ("2" "04b9vn007hlvsrx4ksd3r8r3kbyaj2kvwxchdrmd4370qzi8p6gs"))) + (home-page "https://hackage.haskell.org/package/old-locale") + (synopsis "Adapt to locale conventions") + (description + "This package provides the ability to adapt to locale conventions such as +date and time formats.") + (license license:bsd-3))) + +(define-public ghc-old-time + (package + (name "ghc-old-time") + (version "1.1.0.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/old-time/old-time-" + version + ".tar.gz")) + (sha256 + (base32 + "1h9b26s3kfh2k0ih4383w90ibji6n0iwamxp6rfp2lbq1y5ibjqw")))) + (build-system haskell-build-system) + (arguments + `(#:cabal-revision + ("2" "1j6ln1dkvhdvnwl33bp0xf9lhc4sybqk0aw42p8cq81xwwzbn7y9"))) + (inputs + `(("ghc-old-locale" ,ghc-old-locale))) + (home-page "https://hackage.haskell.org/package/old-time") + (synopsis "Time compatibility library for Haskell") + (description "Old-time is a package for backwards compatibility with the +old @code{time} library. For new projects, the newer +@uref{https://hackage.haskell.org/package/time, time library} is recommended.") + (license license:bsd-3))) + +(define-public ghc-opengl + (package + (name "ghc-opengl") + (version "3.0.2.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/OpenGL/OpenGL-" + version + ".tar.gz")) + (sha256 + (base32 + "19vxwvx2n8zq2klj176l25n2b64ybp0b8mhm4p46gvpcivz41fjc")))) + (build-system haskell-build-system) + (inputs + `(("ghc-objectname" ,ghc-objectname) + ("ghc-gluraw" ,ghc-gluraw) + ("ghc-statevar" ,ghc-statevar) + ("ghc-openglraw" ,ghc-openglraw))) + (home-page "https://www.haskell.org/haskellwiki/Opengl") + (synopsis "Haskell bindings for the OpenGL graphics system") + (description "This package provides Haskell bindings for the OpenGL +graphics system (GL, version 4.5) and its accompanying utility library (GLU, +version 1.3).") + (license license:bsd-3))) + +(define-public ghc-openglraw + (package + (name "ghc-openglraw") + (version "3.3.1.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/OpenGLRaw/OpenGLRaw-" + version + ".tar.gz")) + (sha256 + (base32 + "1x8w3x308jldj2c1xqcq3a3sc2jc06pdpgqkgjsmixi1skv4a1vb")))) + (build-system haskell-build-system) + (inputs + `(("ghc-half" ,ghc-half) + ("ghc-fixed" ,ghc-fixed) + ("glu" ,glu))) + (home-page "https://www.haskell.org/haskellwiki/Opengl") + (synopsis "Raw Haskell bindings for the OpenGL graphics system") + (description "OpenGLRaw is a raw Haskell binding for the OpenGL 4.5 +graphics system and lots of OpenGL extensions. It is basically a 1:1 mapping +of OpenGL's C API, intended as a basis for a nicer interface. OpenGLRaw +offers access to all necessary functions, tokens and types plus a general +facility for loading extension entries. The module hierarchy closely mirrors +the naming structure of the OpenGL extensions, making it easy to find the +right module to import. All API entries are loaded dynamically, so no special +C header files are needed for building this package. If an API entry is not +found at runtime, a userError is thrown.") + (license license:bsd-3))) + +(define-public ghc-operational + (package + (name "ghc-operational") + (version "0.2.3.5") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/operational/" + "operational-" version ".tar.gz")) + (sha256 + (base32 + "1x2abg2q9d26h1vzj40r6k7k3gqgappbs4g9d853vvg77837km4i")))) + (build-system haskell-build-system) + (inputs + `(("ghc-random" ,ghc-random))) + (home-page "http://wiki.haskell.org/Operational") + (synopsis "Implementation of difficult monads made easy with operational semantics") + (description + "This library makes it easy to implement monads with tricky control +flow. This is useful for: writing web applications in a sequential style, +programming games with a uniform interface for human and AI players and easy +replay capababilities, implementing fast parser monads, designing monadic +DSLs, etc.") + (license license:bsd-3))) + +(define-public ghc-options + (package + (name "ghc-options") + (version "1.2.1.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/options/options-" + version ".tar.gz")) + (sha256 + (base32 + "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8")))) + (build-system haskell-build-system) + (inputs + `(("ghc-monads-tf" ,ghc-monads-tf) + ("ghc-chell" ,ghc-chell) + ("ghc-chell-quickcheck" ,ghc-chell-quickcheck))) + (home-page "https://john-millikin.com/software/haskell-options/") + (synopsis "Powerful and easy-to-use command-line option parser") + (description + "The @code{options} package lets library and application developers +easily work with command-line options.") + (license license:expat))) + +;; See ghc-system-filepath-bootstrap, chell and chell-quickcheck are required for tests. +(define ghc-options-bootstrap + (package + (name "ghc-options-bootstrap") + (version "1.2.1.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/options/options-" + version ".tar.gz")) + (sha256 + (base32 + "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8")))) + (build-system haskell-build-system) + (arguments + `(#:tests? #f)) + (inputs + `(("ghc-monads-tf" ,ghc-monads-tf))) + (home-page "https://john-millikin.com/software/haskell-options/") + (synopsis "Powerful and easy-to-use command-line option parser") + (description + "The @code{options} package lets library and application developers +easily work with command-line options.") + (license license:expat))) + + +(define-public ghc-optparse-applicative + (package + (name "ghc-optparse-applicative") + (version "0.14.2.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/optparse-applicative" + "/optparse-applicative-" version ".tar.gz")) + (sha256 + (base32 + "0c3z1mvynlyv1garjbdmdd3npm40dabgm75js4r07cf766c1wd71")))) + (build-system haskell-build-system) + (inputs + `(("ghc-transformers-compat" ,ghc-transformers-compat) + ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint))) + (native-inputs + `(("ghc-quickcheck" ,ghc-quickcheck))) + (home-page "https://github.com/pcapriotti/optparse-applicative") + (synopsis "Utilities and combinators for parsing command line options") + (description "This package provides utilities and combinators for parsing +command line options in Haskell.") + (license license:bsd-3))) + +(define-public ghc-pandoc + (package + (name "ghc-pandoc") + (version "2.2.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/pandoc/pandoc-" + version ".tar.gz")) + (sha256 + (base32 + "1dqin92w513l7whg5wdgrngnxsj5mb8gppfvn7kjgyv2pdgpy0zy")))) + (build-system haskell-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'update-constraints + (lambda _ + (substitute* "pandoc.cabal" + (("tasty >= 0\\.11 && < 1\\.1") + "tasty >= 0.11 && < 1.1.1")))) + (add-before 'configure 'patch-tests + (lambda _ + ;; These tests fail benignly and have been adjusted upstream: + ;; . + (substitute* "test/Tests/Old.hs" + (("lhsWriterTests \"html\"") "[]"))))))) + (inputs + `(("ghc-aeson" ,ghc-aeson) + ("ghc-aeson-pretty" ,ghc-aeson-pretty) + ("ghc-base64-bytestring" ,ghc-base64-bytestring) + ("ghc-blaze-html" ,ghc-blaze-html) + ("ghc-blaze-markup" ,ghc-blaze-markup) + ("ghc-cmark-gfm" ,ghc-cmark-gfm) + ("ghc-data-default" ,ghc-data-default) + ("ghc-deepseq-generics" ,ghc-deepseq-generics) + ("ghc-diff" ,ghc-diff) + ("ghc-doctemplates" ,ghc-doctemplates) + ("ghc-executable-path" ,ghc-executable-path) + ("ghc-glob" ,ghc-glob) + ("ghc-haddock-library" ,ghc-haddock-library) + ("ghc-hslua" ,ghc-hslua) + ("ghc-hslua-module-text" ,ghc-hslua-module-text) + ("ghc-http" ,ghc-http) + ("ghc-http-client" ,ghc-http-client) + ("ghc-http-client-tls" ,ghc-http-client-tls) + ("ghc-http-types" ,ghc-http-types) + ("ghc-juicypixels" ,ghc-juicypixels) + ("ghc-network" ,ghc-network) + ("ghc-network-uri" ,ghc-network-uri) + ("ghc-old-locale" ,ghc-old-locale) + ("ghc-pandoc-types" ,ghc-pandoc-types) + ("ghc-random" ,ghc-random) + ("ghc-scientific" ,ghc-scientific) + ("ghc-sha" ,ghc-sha) + ("ghc-skylighting" ,ghc-skylighting) + ("ghc-split" ,ghc-split) + ("ghc-syb" ,ghc-syb) + ("ghc-tagsoup" ,ghc-tagsoup) + ("ghc-temporary" ,ghc-temporary) + ("ghc-texmath" ,ghc-texmath) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-vector" ,ghc-vector) + ("ghc-xml" ,ghc-xml) + ("ghc-yaml" ,ghc-yaml) + ("ghc-zip-archive" ,ghc-zip-archive) + ("ghc-zlib" ,ghc-zlib))) + (native-inputs + `(("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-golden" ,ghc-tasty-golden) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-hunit" ,ghc-hunit))) + (home-page "https://pandoc.org") + (synopsis "Conversion between markup formats") + (description + "Pandoc is a Haskell library for converting from one markup format to +another, and a command-line tool that uses this library. It can read and +write Markdown and (subsets of) other formats, such as HTML, reStructuredText, +LaTeX, DocBook, and many more. + +Pandoc extends standard Markdown syntax with footnotes, embedded LaTeX, +definition lists, tables, and other features. A compatibility mode is +provided for those who need a drop-in replacement for Markdown.pl.") + (license license:gpl2+))) + +(define-public ghc-pandoc-citeproc + (package + (name "ghc-pandoc-citeproc") + (version "0.14.3.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "pandoc-citeproc/pandoc-citeproc-" + version ".tar.gz")) + (sha256 + (base32 + "0yj6rckwsc9vig40cm15ry0j3d01xpk04qma9n4byhal6v4b5h22")))) + (build-system haskell-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; Many YAML tests (44) are failing do to changes in ghc-yaml: + ;; . + (add-before 'configure 'patch-tests + (lambda _ + (substitute* "tests/test-pandoc-citeproc.hs" + (("let allTests = citeprocTests \\+\\+ biblio2yamlTests") + "let allTests = citeprocTests")))) + ;; Tests need to be run after installation. + (delete 'check) + (add-after 'install 'post-install-check + (assoc-ref %standard-phases 'check))))) + (inputs + `(("ghc-pandoc-types" ,ghc-pandoc-types) + ("ghc-pandoc" ,ghc-pandoc) + ("ghc-tagsoup" ,ghc-tagsoup) + ("ghc-aeson" ,ghc-aeson) + ("ghc-vector" ,ghc-vector) + ("ghc-xml-conduit" ,ghc-xml-conduit) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-data-default" ,ghc-data-default) + ("ghc-setenv" ,ghc-setenv) + ("ghc-split" ,ghc-split) + ("ghc-yaml" ,ghc-yaml) + ("ghc-hs-bibutils" ,ghc-hs-bibutils) + ("ghc-rfc5051" ,ghc-rfc5051) + ("ghc-syb" ,ghc-syb) + ("ghc-old-locale" ,ghc-old-locale) + ("ghc-aeson-pretty" ,ghc-aeson-pretty) + ("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-temporary" ,ghc-temporary))) + (home-page "https://github.com/jgm/pandoc-citeproc") + (synopsis "Library for using pandoc with citeproc") + (description + "The @code{pandoc-citeproc} library exports functions for using the +citeproc system with pandoc. It relies on @code{citeproc-hs}, a library for +rendering bibliographic reference citations into a variety of styles using a +macro language called @dfn{Citation Style Language} (CSL). This package also +contains an executable @code{pandoc-citeproc}, which works as a pandoc filter, +and also has a mode for converting bibliographic databases a YAML format +suitable for inclusion in pandoc YAML metadata.") + (license license:bsd-3))) + +(define-public ghc-pandoc-types + (package + (name "ghc-pandoc-types") + (version "1.17.5.1") + (source (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "pandoc-types/pandoc-types-" + version ".tar.gz")) + (sha256 + (base32 + "1q6v2bynij724fv347mhqxdscwifzrx5jb9mq80608qf638fn717")))) + (build-system haskell-build-system) + (inputs + `(("ghc-syb" ,ghc-syb) + ("ghc-aeson" ,ghc-aeson) + ("ghc-string-qq" ,ghc-string-qq))) + (native-inputs + `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) + ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) + ("ghc-hunit" ,ghc-hunit))) + (home-page "http://johnmacfarlane.net/pandoc") + (synopsis "Types for representing a structured document") + (description + "This module defines the @code{Pandoc} data structure, which is used by +pandoc to represent structured documents. It also provides functions for +building up, manipulating and serialising @code{Pandoc} structures.") + (license license:bsd-3))) + +(define-public ghc-parallel + (package + (name "ghc-parallel") + (version "3.2.2.0") + (outputs '("out" "doc")) + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/parallel/parallel-" + version + ".tar.gz")) + (sha256 + (base32 + "1xkfi96w6yfpppd0nw1rnszdxmvifwzm699ilv6332ra3akm610p")))) + (build-system haskell-build-system) + (home-page "https://hackage.haskell.org/package/parallel") + (synopsis "Parallel programming library") + (description + "This package provides a library for parallel programming.") + (license license:bsd-3))) + +(define-public ghc-parsec-numbers + (package + (name "ghc-parsec-numbers") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "parsec-numbers/parsec-numbers-" version ".tar.gz")) + (sha256 + (base32 "1gzy4v3r02kvdxvgg1nj83mmb6aph2v4ilf9c7y6nbvi2x49l0bp")))) + (build-system haskell-build-system) + (home-page "https://hackage.haskell.org/package/parsec-numbers") + (synopsis "Utilities for parsing numbers from strings") + (description + "This package provides the number parsers without the need to use a large +(and unportable) token parser.") + (license license:bsd-3))) + +(define-public ghc-parser-combinators + (package + (name "ghc-parser-combinators") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "parser-combinators/parser-combinators-" + version ".tar.gz")) + (sha256 + (base32 + "1pwfdsklqwvaynwpdzmx1bs35mp6dpsyaqdnzxnqcrxwf5h8sk75")))) + (build-system haskell-build-system) + (home-page "https://github.com/mrkkrp/parser-combinators") + (synopsis "Commonly useful parser combinators") + (description + "This is a lightweight package providing commonly useful parser +combinators.") + (license license:bsd-3))) + +(define-public ghc-parsers + (package + (name "ghc-parsers") + (version "0.12.9") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/parsers/parsers-" + version + ".tar.gz")) + (sha256 + (base32 + "1r05sc1mcglk8w596kq9a1brfn9c2vll8lq16j07ln0vsz4jzrc1")))) + (build-system haskell-build-system) + (arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy + ; -package attoparsec-0.13.0.1" + (inputs + `(("ghc-base-orphans" ,ghc-base-orphans) + ("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-scientific" ,ghc-scientific) + ("ghc-charset" ,ghc-charset) + ("ghc-unordered-containers" ,ghc-unordered-containers))) + (home-page "https://github.com/ekmett/parsers/") + (synopsis "Parsing combinators") + (description "This library provides convenient combinators for working +with and building parsing combinator libraries. Given a few simple instances, +you get access to a large number of canned definitions. Instances exist for +the parsers provided by @code{parsec}, @code{attoparsec} and @code{base}'s +@code{Text.Read}.") + (license license:bsd-3))) + +(define-public ghc-path + (package + (name "ghc-path") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/path/path-" + version + ".tar.gz")) + (sha256 + (base32 + "0nayla4k1gb821k8y5b9miflv1bi8f0czf9rqr044nrr2dddi2sb")))) + (build-system haskell-build-system) + (arguments + ;; TODO: There are some Windows-related tests and modules that need to be + ;; danced around. + `(#:tests? #f + #:cabal-revision + ("1" "05b1zwx2a893h4h5wvgpc5g5pyx71hfmx409rqisd8s1bq1hn463"))) + (inputs + `(("ghc-aeson" ,ghc-aeson) + ("ghc-exceptions" ,ghc-exceptions) + ("ghc-hashable" ,ghc-hashable))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-genvalidity" ,ghc-genvalidity) + ("ghc-genvalidity-property" ,ghc-genvalidity-property) + ("ghc-hspec" ,ghc-hspec) + ("ghc-validity" ,ghc-validity))) + (home-page + "http://hackage.haskell.org/package/path") + (synopsis "Support for well-typed paths") + (description "This package introduces a type for paths upholding useful +invariants.") + (license license:bsd-3))) + +(define-public ghc-path-io + (package + (name "ghc-path-io") + (version "1.3.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/path-io/path-io-" + version + ".tar.gz")) + (sha256 + (base32 + "1g9m3qliqjk1img894wsb89diym5zrq51qkkrwhz4sbm9a8hbv1a")))) + (build-system haskell-build-system) + (inputs + `(("ghc-dlist" ,ghc-dlist) + ("ghc-exceptions" ,ghc-exceptions) + ("ghc-path" ,ghc-path) + ("ghc-transformers-base" ,ghc-transformers-base) + ("ghc-unix-compat" ,ghc-unix-compat) + ("ghc-temporary" ,ghc-temporary))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec))) + (arguments + `(#:cabal-revision + ("3" "1h9hsibbflkxpjl2fqamqiv3x3gasf51apnmklrs9l9x8r32hzcc"))) + (home-page + "https://github.com/mrkkrp/path-io") + (synopsis "Functions for manipulating well-typed paths") + (description "This package provides an interface to the @code{directory} +package for users of @code{path}. It also implements some missing stuff like +recursive scanning and copying of directories, working with temporary +files/directories, and more.") + (license license:bsd-3))) + +(define-public ghc-paths + (package + (name "ghc-paths") + (version "0.1.0.9") + (outputs '("out" "doc")) + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/ghc-paths/ghc-paths-" + version + ".tar.gz")) + (sha256 + (base32 + "0ibrr1dxa35xx20cpp8jzgfak1rdmy344dfwq4vlq013c6w8z9mg")))) + (build-system haskell-build-system) + (home-page "https://github.com/simonmar/ghc-paths") + (synopsis + "Knowledge of GHC's installation directories") + (description + "Knowledge of GHC's installation directories.") + (license license:bsd-3))) + +(define-public ghc-patience + (package + (name "ghc-patience") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/patience/patience-" + version ".tar.gz")) + (sha256 + (base32 + "0qyv20gqy9pb1acy700ahv70lc6vprcwb26cc7fcpcs4scsc7irm")))) + (build-system haskell-build-system) + (home-page "https://hackage.haskell.org/package/patience") + (synopsis "Patience diff and longest increasing subsequence") + (description + "This library implements the 'patience diff' algorithm, as well as the +patience algorithm for the longest increasing subsequence problem. +Patience diff computes the difference between two lists, for example the lines +of two versions of a source file. It provides a good balance between +performance, nice output for humans, and simplicity of implementation.") + (license license:bsd-3))) + +(define-public ghc-pcre-light + (package + (name "ghc-pcre-light") + (version "0.4.0.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/pcre-light/pcre-light-" + version + ".tar.gz")) + (sha256 + (base32 + "0xcyi1fivwg7a92mch5bcqzmrfxzqj42rmb3m8kgs61x4qwpxj82")))) + (build-system haskell-build-system) + (inputs + `(("pcre" ,pcre))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "https://github.com/Daniel-Diaz/pcre-light") + (synopsis "Haskell library for Perl 5 compatible regular expressions") + (description "This package provides a small, efficient, and portable regex +library for Perl 5 compatible regular expressions. The PCRE library is a set +of functions that implement regular expression pattern matching using the same +syntax and semantics as Perl 5.") + (license license:bsd-3))) + +(define-public ghc-persistent + (package + (name "ghc-persistent") + (version "2.8.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "persistent-" version "/" + "persistent-" version ".tar.gz")) + (sha256 + (base32 + "1h0yijbf1yiwl50klyafy4ln99j8bib4kgbzviw7fc4y4mwv4sv9")))) + (build-system haskell-build-system) + (inputs `(("ghc-old-locale" ,ghc-old-locale) + ("ghc-conduit" ,ghc-conduit) + ("ghc-resourcet" ,ghc-resourcet) + ("ghc-exceptions" ,ghc-exceptions) + ("ghc-monad-control" ,ghc-monad-control) + ("ghc-lifted-base" ,ghc-lifted-base) + ("ghc-resource-pool" ,ghc-resource-pool) + ("ghc-path-pieces" ,ghc-path-pieces) + ("ghc-http-api-data" ,ghc-http-api-data) + ("ghc-aeson" ,ghc-aeson) + ("ghc-monad-logger" ,ghc-monad-logger) + ("ghc-transformers-base" ,ghc-transformers-base) + ("ghc-base64-bytestring" ,ghc-base64-bytestring) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-vector" ,ghc-vector) + ("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-haskell-src-meta" ,ghc-haskell-src-meta) + ("ghc-blaze-html" ,ghc-blaze-html) + ("ghc-blaze-markup" ,ghc-blaze-markup) + ("ghc-silently" ,ghc-silently) + ("ghc-fast-logger" ,ghc-fast-logger) + ("ghc-scientific" ,ghc-scientific) + ("ghc-tagged" ,ghc-tagged) + ("ghc-void" ,ghc-void))) + (native-inputs `(("ghc-hspec" ,ghc-hspec))) + (home-page "https://www.yesodweb.com/book/persistent") + (synopsis "Type-safe, multi-backend data serialization for Haskell") + (description "This Haskell package allows Haskell programs to access data +storage systems like PostgreSQL, SQLite, MySQL and MongoDB in a type-safe +way.") + (license license:expat))) + +(define-public ghc-persistent-sqlite + (package + (name "ghc-persistent-sqlite") + (version "2.8.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "persistent-sqlite-" version "/" + "persistent-sqlite-" version ".tar.gz")) + (sha256 + (base32 + "1chbmvjz46smhgnzhha3bbkhys3fys6dip1jr4v7xp1jf78zbyp6")))) + (build-system haskell-build-system) + (inputs `(("ghc-persistent" ,ghc-persistent) + ("ghc-unliftio-core" ,ghc-unliftio-core) + ("ghc-aeson" ,ghc-aeson) + ("ghc-conduit" ,ghc-conduit) + ("ghc-monad-logger" ,ghc-monad-logger) + ("ghc-microlens-th" ,ghc-microlens-th) + ("ghc-resourcet" ,ghc-resourcet) + ("ghc-old-locale" ,ghc-old-locale) + ("ghc-resource-pool" ,ghc-resource-pool) + ("ghc-unordered-containers" ,ghc-unordered-containers))) + (native-inputs `(("ghc-hspec" ,ghc-hspec) + ("ghc-persistent-template" ,ghc-persistent-template) + ("ghc-temporary" ,ghc-temporary))) + (home-page + "https://www.yesodweb.com/book/persistent") + (synopsis "Backend for the persistent library using sqlite3") + (description "This Haskell package includes a thin sqlite3 wrapper based +on the direct-sqlite package, as well as the entire C library, so there are no +system dependencies.") + (license license:expat))) + +(define-public ghc-persistent-template + (package + (name "ghc-persistent-template") + (version "2.5.4") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "persistent-template-" version "/" + "persistent-template-" version ".tar.gz")) + (sha256 + (base32 + "008afcy7zbw7bzp9jww8gdldb51kfm0fg4p0x4xcp61gx4679bjc")))) + (build-system haskell-build-system) + (arguments + `(#:cabal-revision + ("2" "03qgwk32krldph3blw5agiqcpccr3649hajyn8wm9k71zz82dpn6"))) + (inputs `(("ghc-persistent" ,ghc-persistent) + ("ghc-monad-control" ,ghc-monad-control) + ("ghc-aeson" ,ghc-aeson) + ("ghc-aeson-compat" ,ghc-aeson-compat) + ("ghc-monad-logger" ,ghc-monad-logger) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-tagged" ,ghc-tagged) + ("ghc-path-pieces" ,ghc-path-pieces) + ("ghc-http-api-data" ,ghc-http-api-data))) + (native-inputs `(("ghc-hspec" ,ghc-hspec) + ("ghc-quickcheck" ,ghc-quickcheck))) + (home-page "https://www.yesodweb.com/book/persistent") + (synopsis "Type-safe, non-relational, multi-backend persistence") + (description "This Haskell package provides interfaces and helper +functions for the ghc-persistent package.") + (license license:expat))) + +(define-public ghc-polyparse + (package + (name "ghc-polyparse") + (version "1.12") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/polyparse/polyparse-" + version + ".tar.gz")) + (sha256 + (base32 + "05dya1vdvq29hkhkdlsglzhw7bdn51rvs1javs0q75nf99c66k7m")))) + (build-system haskell-build-system) + (home-page + "http://code.haskell.org/~malcolm/polyparse/") + (synopsis + "Alternative parser combinator libraries") + (description + "This package provides a variety of alternative parser combinator +libraries, including the original HuttonMeijer set. The Poly sets have +features like good error reporting, arbitrary token type, running state, lazy +parsing, and so on. Finally, Text.Parse is a proposed replacement for the +standard Read class, for better deserialisation of Haskell values from +Strings.") + (license license:lgpl2.1))) + +(define-public ghc-pqueue + (package + (name "ghc-pqueue") + (version "1.4.1.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "pqueue/pqueue-" version ".tar.gz")) + (sha256 + (base32 + "1zvwm1zcqqq5n101s1brjhgbay8rf9fviq6gxbplf40i63m57p1x")))) + (build-system haskell-build-system) + (native-inputs + `(("ghc-quickcheck" ,ghc-quickcheck))) + (home-page "https://hackage.haskell.org/package/pqueue") + (synopsis "Reliable, persistent, fast priority queues") + (description + "This package provides a fast, reliable priority queue implementation +based on a binomial heap.") + (license license:bsd-3))) + +(define-public ghc-prelude-extras + (package + (name "ghc-prelude-extras") + (version "0.4.0.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/prelude-extras/prelude-extras-" + version + ".tar.gz")) + (sha256 + (base32 + "0xzqdf3nl2h0ra4gnslm1m1nsxlsgc0hh6ky3vn578vh11zhifq9")))) + (build-system haskell-build-system) + (home-page "https://github.com/ekmett/prelude-extras") + (synopsis "Higher order versions of Prelude classes") + (description "This library provides higher order versions of +@code{Prelude} classes to ease programming with polymorphic recursion and +reduce @code{UndecidableInstances}.") + (license license:bsd-3))) + +(define-public ghc-prettyclass + (package + (name "ghc-prettyclass") + (version "1.0.0.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "prettyclass/prettyclass-" version ".tar.gz")) + (sha256 + (base32 + "11l9ajci7nh1r547hx8hgxrhq8mh5gdq30pdf845wvilg9p48dz5")))) + (build-system haskell-build-system) + (home-page "http://hackage.haskell.org/package/prettyclass") + (synopsis "Pretty printing class similar to Show") + (description "This package provides a pretty printing class similar +to @code{Show}, based on the HughesPJ pretty printing library. It +provides the pretty printing class and instances for the Prelude +types.") + (license license:bsd-3))) + +(define-public ghc-pretty-hex + (package + (name "ghc-pretty-hex") + (version "1.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "pretty-hex-" version "/" + "pretty-hex-" version ".tar.gz")) + (sha256 + (base32 + "0ylwkvvjvmpprha9nx83xb8gkhyanhk5fffc0r7lb96n4ch5z6pz")))) + (build-system haskell-build-system) + (home-page "https://github.com/GaloisInc/hexdump") + (synopsis "Haskell library for hex dumps of ByteStrings") + (description "This Haskell library generates pretty hex dumps of +ByteStrings in the style of other common *nix hex dump tools.") + (license license:bsd-3))) + +(define-public ghc-pretty-show + (package + (name "ghc-pretty-show") + (version "1.7") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/pretty-show/" + "pretty-show-" version ".tar.gz")) + (sha256 + (base32 + "0br7pkxqqqhby2j2v1g847lgqsrasx56g1jw3dhmjh4flzs6warq")))) + (build-system haskell-build-system) + (inputs + `(("ghc-haskell-lexer" ,ghc-haskell-lexer) + ("ghc-happy" ,ghc-happy))) + (home-page "http://wiki.github.com/yav/pretty-show") + (synopsis "Tools for working with derived `Show` instances") + (description + "This package provides a library and an executable for working with +derived @code{Show} instances. By using the library, derived @code{Show} +instances can be parsed into a generic data structure. The @code{ppsh} tool +uses the library to produce human-readable versions of @code{Show} instances, +which can be quite handy for debugging Haskell programs. We can also render +complex generic values into an interactive Html page, for easier +examination.") + (license license:expat))) + +(define-public ghc-primitive + (package + (name "ghc-primitive") + (version "0.6.4.0") + (outputs '("out" "doc")) + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/primitive/primitive-" + version + ".tar.gz")) + (sha256 + (base32 + "0r0cda7acvplgwaxy69kviv4jp7kkfi038by68gj4yfx4iwszgjc")))) + (build-system haskell-build-system) + (home-page + "https://github.com/haskell/primitive") + (synopsis "Primitive memory-related operations") + (description + "This package provides various primitive memory-related operations.") + (license license:bsd-3))) + +(define-public ghc-profunctors + (package + (name "ghc-profunctors") + (version "5.2.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/profunctors/profunctors-" + version + ".tar.gz")) + (sha256 + (base32 + "0s1pwjidbn761xk43pmzyvn99hm3psdifjd78ylki7f97aiyd0g9")))) + (build-system haskell-build-system) + (arguments + `(#:cabal-revision + ("2" "1ywlg9z8nlhd2avgb8c6gbkv8zyk7hvc25926bafyg0m0k8y1amq"))) + (inputs + `(("ghc-base-orphans" ,ghc-base-orphans) + ("ghc-bifunctors" ,ghc-bifunctors) + ("ghc-comonad" ,ghc-comonad) + ("ghc-contravariant" ,ghc-contravariant) + ("ghc-distributive" ,ghc-distributive) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-tagged" ,ghc-tagged))) + (home-page "https://github.com/ekmett/profunctors/") + (synopsis "Profunctors for Haskell") + (description "This library provides profunctors for Haskell.") + (license license:bsd-3))) + +(define-public ghc-psqueues + (package + (name "ghc-psqueues") + (version "0.2.7.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "psqueues-" version "/" + "psqueues-" version ".tar.gz")) + (sha256 + (base32 + "1sjgc9bxh63kkdp59nbirx3xazr02ia5yhp4f4a0jnq1hj465wsc")))) + (build-system haskell-build-system) + (inputs + `(("ghc-hashable" ,ghc-hashable))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-tagged" ,ghc-tagged) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) + ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) + (home-page "https://github.com/jaspervdj/psqueues") + (synopsis "Pure priority search queues") + (description "The psqueues package provides +@uref{https://en.wikipedia.org/wiki/Priority_queue, Priority Search Queues} in +three different flavors: + +@itemize +@item @code{OrdPSQ k p v}, which uses the @code{Ord k} instance to provide +fast insertion, deletion and lookup. This implementation is based on Ralf +Hinze's @uref{http://citeseer.ist.psu.edu/hinze01simple.html, A Simple +Implementation Technique for Priority Search Queues}. + +Hence, it is similar to the @uref{https://hackage.haskell.org/package/PSQueue, +PSQueue} library, although it is considerably faster and provides a slightly +different API. + +@item @code{IntPSQ p v} is a far more efficient implementation. It fixes the +key type to @code{Int} and uses a +@code{https://en.wikipedia.org/wiki/Radix_tree, radix tree} (like @code{IntMap}) +with an additional min-heap property. + +@item @code{HashPSQ k p v} is a fairly straightforward extension +of @code{IntPSQ}: it simply uses the keys' hashes as indices in the +@code{IntPSQ}. If there are any hash collisions, it uses an +@code{OrdPSQ} to resolve those. The performance of this implementation +is comparable to that of @code{IntPSQ}, but it is more widely +applicable since the keys are not restricted to @code{Int}, +but rather to any @code{Hashable} datatype. +@end itemize + +Each of the three implementations provides the same API, so they can +be used interchangeably. + +Typical applications of Priority Search Queues include: + +@itemize +@item Caches, and more specifically LRU Caches; +@item Schedulers; +@item Pathfinding algorithms, such as Dijkstra's and A*. +@end itemize") + (license license:bsd-3))) + +(define-public ghc-random + (package + (name "ghc-random") + (version "1.1") + (outputs '("out" "doc")) + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/random/random-" + version + ".tar.gz")) + (sha256 + (base32 "0nis3lbkp8vfx8pkr6v7b7kr5m334bzb0fk9vxqklnp2aw8a865p")))) + (build-system haskell-build-system) + (home-page "https://hackage.haskell.org/package/random") + (synopsis "Random number library") + (description "This package provides a basic random number generation +library, including the ability to split random number generators.") + (license license:bsd-3))) + +(define-public ghc-raw-strings-qq + (package + (name "ghc-raw-strings-qq") + (version "1.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "raw-strings-qq/raw-strings-qq-" + version ".tar.gz")) + (sha256 + (base32 + "1lxy1wy3awf52968iy5y9r5z4qgnn2sxkdrh7js3m9gadb11w09f")))) + (build-system haskell-build-system) + (native-inputs `(("ghc-hunit" ,ghc-hunit))) + (home-page "https://github.com/23Skidoo/raw-strings-qq") + (synopsis "Raw string literals for Haskell") + (description + "This package provides a quasiquoter for raw string literals, i.e. string +literals that don't recognise the standard escape sequences. Basically, they +make your code more readable by freeing you from the responsibility to escape +backslashes. They are useful when working with regular expressions, +DOS/Windows paths and markup languages (such as XML).") + (license license:bsd-3))) + +(define-public ghc-readable + (package + (name "ghc-readable") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "readable/readable-" version ".tar.gz")) + (sha256 + (base32 + "1ja39cg26wy2fs00gi12x7iq5k8i366pbqi3p916skfa5jnkfc3h")))) + (build-system haskell-build-system) + (home-page "https://github.com/mightybyte/readable") + (synopsis "Type class for reading from Text and ByteString") + (description "This package provides a @code{Readable} type class for +reading data types from @code{ByteString} and @code{Text}. It also +includes efficient implementations for common data types.") + (license license:bsd-3))) + +(define-public ghc-rebase + (package + (name "ghc-rebase") + (version "1.2.4") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "rebase-" version "/" + "rebase-" version ".tar.gz")) + (sha256 + (base32 + "1gah2qwfpzwamnikbc5h4nv6dgvv9h16di9ka7946za3nibyasya")))) + (build-system haskell-build-system) + (inputs `(("ghc-hashable" ,ghc-hashable) + ("ghc-vector" ,ghc-vector) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-scientific" ,ghc-scientific) + ("ghc-uuid" ,ghc-uuid) + ("ghc-dlist" ,ghc-dlist) + ("ghc-void" ,ghc-void) + ("ghc-bifunctors" ,ghc-bifunctors) + ("ghc-profunctors" ,ghc-profunctors) + ("ghc-contravariant" ,ghc-contravariant) + ("ghc-contravariant-extras" ,ghc-contravariant-extras) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-either" ,ghc-either) + ("ghc-fail" ,ghc-fail) + ("ghc-base-prelude" ,ghc-base-prelude))) + (home-page "https://github.com/nikita-volkov/rebase") + (synopsis "Progressive alternative to the base package +for Haskell") + (description "This Haskell package is intended for those who are +tired of keeping long lists of dependencies to the same essential libraries +in each package as well as the endless imports of the same APIs all over again. + +It also supports the modern tendencies in the language. + +To solve those problems this package does the following: + +@itemize +@item Reexport the original APIs under the @code{Rebase} namespace. + +@item Export all the possible non-conflicting symbols from the +@code{Rebase.Prelude} module. + +@item Give priority to the modern practices in the conflicting cases. +@end itemize + +The policy behind the package is only to reexport the non-ambiguous and +non-controversial APIs, which the community has obviously settled on. +The package is intended to rapidly evolve with the contribution from +the community, with the missing features being added with pull-requests.") + (license license:expat))) + +(define-public ghc-reducers + (package + (name "ghc-reducers") + (version "3.12.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/reducers/reducers-" + version + ".tar.gz")) + (sha256 + (base32 + "09wf8pl9ycglcv6qj5ba26gkg2s5iy81hsx9xp0q8na0cwvp71ki")))) + (build-system haskell-build-system) + (inputs + `(("ghc-fingertree" ,ghc-fingertree) + ("ghc-hashable" ,ghc-hashable) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-semigroupoids" ,ghc-semigroupoids) + ("ghc-semigroups" ,ghc-semigroups))) + (home-page "https://github.com/ekmett/reducers/") + (synopsis "Semigroups, specialized containers and a general map/reduce framework") + (description "This library provides various semigroups, specialized +containers and a general map/reduce framework for Haskell.") + (license license:bsd-3))) + +(define-public ghc-refact + (package + (name "ghc-refact") + (version "0.3.0.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "refact/refact-" + version ".tar.gz")) + (sha256 + (base32 + "0v0zxcx29b8jxs2kgy9csykqcp8kzhdvyylw2xfwmj4pfxr2kl0a")))) + (build-system haskell-build-system) + (home-page "http://hackage.haskell.org/package/refact") + (synopsis "Specify refactorings to perform with apply-refact") + (description + "This library provides a datatype which can be interpreted by +@code{apply-refact}. It exists as a separate library so that applications can +specify refactorings without depending on GHC.") + (license license:bsd-3))) + +(define-public ghc-reflection + (package + (name "ghc-reflection") + (version "2.1.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/reflection/reflection-" + version + ".tar.gz")) + (sha256 + (base32 + "0kf4a5ijw6jfnfibjcrpdy9vzh1n6v2pxia8dhyyqdissiwc8bzj")))) + (build-system haskell-build-system) + (inputs `(("ghc-tagged" ,ghc-tagged))) + (home-page "https://github.com/ekmett/reflection") + (synopsis "Reify arbitrary terms into types that can be reflected back +into terms") + (description "This package addresses the 'configuration problem' which is +propagating configurations that are available at run-time, allowing multiple +configurations to coexist without resorting to mutable global variables or +@code{System.IO.Unsafe.unsafePerformIO}.") + (license license:bsd-3))) + +(define-public ghc-regex + (package + (name "ghc-regex") + (version "1.0.1.3") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/regex/" + "regex-" version ".tar.gz")) + (sha256 + (base32 + "1sjkpkgv4phy5b5v2lr89x4vx4dh44pj0sbvlsp6n86w9v6v4jwb")))) + (build-system haskell-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'relax-dependencies + (lambda _ + (substitute* "regex.cabal" + (("base-compat.*>=.*0.6.*") + "base-compat >= 0.6\n") + (("template-haskell.*>=.*2.7.*") + "template-haskell >= 2.7\n")) + #t))))) + (inputs + `(("ghc-base-compat" ,ghc-base-compat) + ("ghc-hashable" ,ghc-hashable) + ("ghc-regex-base" ,ghc-regex-base) + ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin) + ("ghc-regex-tdfa" ,ghc-regex-tdfa) + ("ghc-regex-tdfa-text" ,ghc-regex-tdfa-text) + ("ghc-time-locale-compat" ,ghc-time-locale-compat) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-utf8-string" ,ghc-utf8-string))) + (home-page "http://regex.uk") + (synopsis "Toolkit for regex-base") + (description + "This package provides a regular expression toolkit for @code{regex-base} +with compile-time checking of regular expression syntax, data types for +matches and captures, a text replacement toolkit, portable options, high-level +AWK-like tools for building text processing apps, regular expression macros +with parsers and test bench, comprehensive documentation, tutorials and +copious examples.") + (license license:bsd-3))) + +(define-public ghc-regex-applicative + (package + (name "ghc-regex-applicative") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/regex-applicative/" + "regex-applicative-" version ".tar.gz")) + (sha256 + (base32 + "1riv7jqf26lbv4rm54sd6mrx8xdh4dvh4xbzymzdfdw13k6a4nb6")))) + (build-system haskell-build-system) + (inputs + `(("ghc-smallcheck" ,ghc-smallcheck) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck) + ("ghc-tasty-hunit" ,ghc-tasty-hunit))) + (home-page "https://github.com/feuerbach/regex-applicative") + (synopsis "Regex-based parsing with applicative interface") + (description + "@code{regex-applicative} is a Haskell library for parsing using +regular expressions. Parsers can be built using Applicative interface.") + (license license:expat))) + +(define-public ghc-regex-base + (package + (name "ghc-regex-base") + (version "0.93.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/regex-base/regex-base-" + version + ".tar.gz")) + (sha256 + (base32 + "0y1j4h2pg12c853nzmczs263di7xkkmlnsq5dlp5wgbgl49mgp10")))) + (build-system haskell-build-system) + (home-page + "https://sourceforge.net/projects/lazy-regex") + (synopsis "Replaces/Enhances Text.Regex") + (description "@code{Text.Regex.Base} provides the interface API for +regex-posix, regex-pcre, regex-parsec, regex-tdfa, regex-dfa.") + (license license:bsd-3))) + +(define-public ghc-regex-compat + (package + (name "ghc-regex-compat") + (version "0.95.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/regex-compat/regex-compat-" + version + ".tar.gz")) + (sha256 + (base32 + "0fwmima3f04p9y4h3c23493n1xj629ia2dxaisqm6rynljjv2z6m")))) + (build-system haskell-build-system) + (inputs + `(("ghc-regex-base" ,ghc-regex-base) + ("ghc-regex-posix" ,ghc-regex-posix))) + (home-page "https://sourceforge.net/projects/lazy-regex") + (synopsis "Replaces/Enhances Text.Regex") + (description "This library provides one module layer over +@code{regex-posix} to replace @code{Text.Regex}.") + (license license:bsd-3))) + +(define-public ghc-regex-compat-tdfa + (package + (name "ghc-regex-compat-tdfa") + (version "0.95.1.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/regex-compat-tdfa/regex-compat-tdfa-" + version ".tar.gz")) + (sha256 + (base32 + "1p90fn90yhp7fvljjdqjp41cszidcfz4pw7fwvzyx4739b98x8sg")))) + (build-system haskell-build-system) + (inputs + `(("ghc-regex-base" ,ghc-regex-base) + ("ghc-regex-tdfa" ,ghc-regex-tdfa))) + (home-page "https://hub.darcs.net/shelarcy/regex-compat-tdfa") + (synopsis "Unicode Support version of Text.Regex, using regex-tdfa") + (description + "One module layer over @code{regex-tdfa} to replace @code{Text.Regex}. +@code{regex-compat} can't use Unicode characters correctly because of using regex-posix. +This is not good for Unicode users. This modified regex-compat uses regex-tdfa to solve +this problem.") + (license license:bsd-3))) + +(define-public ghc-regex-pcre-builtin + (package + (name "ghc-regex-pcre-builtin") + (version "0.94.4.8.8.35") + (source (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "regex-pcre-builtin/regex-pcre-builtin-" + version ".tar.gz")) + (sha256 + (base32 + "0y7as9wqlkykpipka2cfdhmcnin345q01pp0wsva8fwmvsavdl8b")))) + (build-system haskell-build-system) + (inputs + `(("ghc-regex-base" ,ghc-regex-base))) + (home-page "https://hackage.haskell.org/package/regex-pcre") + (synopsis "Enhancement of the builtin Text.Regex library") + (description + "This package is an enhancement of the @code{Text.Regex} library, +providing the PCRE backend to accompany regex-base, with bundled code from +@url{https://www.pcre.org}.") + (license license:bsd-3))) + +(define-public ghc-regex-posix + (package + (name "ghc-regex-posix") + (version "0.95.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/regex-posix/regex-posix-" + version + ".tar.gz")) + (sha256 + (base32 + "0gkhzhj8nvfn1ija31c7xnl6p0gadwii9ihyp219ck2arlhrj0an")))) + (build-system haskell-build-system) + (inputs + `(("ghc-regex-base" ,ghc-regex-base))) + (home-page "https://sourceforge.net/projects/lazy-regex") + (synopsis "POSIX regular expressions for Haskell") + (description "This library provides the POSIX regex backend used by the +Haskell library @code{regex-base}.") + (license license:bsd-3))) + +(define-public ghc-regex-tdfa + (package + (name "ghc-regex-tdfa") + (version "1.2.3.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/regex-tdfa/regex-tdfa-" + version ".tar.gz")) + (sha256 + (base32 + "0l7ajnh4hpgggf2a1r9dg0hx2fy679vd2kada5y7r02hy3nfxala")))) + (build-system haskell-build-system) + (inputs + `(("ghc-regex-base" ,ghc-regex-base))) + (home-page "https://github.com/ChrisKuklewicz/regex-tdfa") + (synopsis "POSIX extended regular expressions in Haskell.") + (description + "Regex-tdfa is a pure Haskell regular expression library implementing POSIX +extended regular expressions. It is a \"tagged\" DFA regex engine. It is +inspired by libtre.") + (license license:bsd-3))) + +(define-public ghc-regex-tdfa-text + (package + (name "ghc-regex-tdfa-text") + (version "1.0.0.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/regex-tdfa-text/" + "regex-tdfa-text-" version ".tar.gz")) + (sha256 + (base32 + "0090g6lgbdm9lywpqm2d3724nnnh24nx3vnlqr96qc2w486pmmrq")))) + (build-system haskell-build-system) + (inputs + `(("ghc-regex-base" ,ghc-regex-base) + ("ghc-regex-tdfa" ,ghc-regex-tdfa))) + (home-page + "http://hackage.haskell.org/package/regex-tdfa-text") + (synopsis "Text interface for regex-tdfa") + (description + "This provides an extra text interface for regex-tdfa.") + (license license:bsd-3))) + +(define-public ghc-rerebase + (package + (name "ghc-rerebase") + (version "1.2.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/rerebase/rerebase-" + version ".tar.gz")) + (sha256 + (base32 + "11v6rmz7ql2rdx6mhb3lsal952lwihclfhh0m7fcnii5br0906ks")))) + (build-system haskell-build-system) + (inputs + `(("ghc-rebase" ,ghc-rebase))) + (home-page "https://github.com/nikita-volkov/rerebase") + (synopsis "Reexports from ``base'' with many other standard libraries") + (description "A rich drop-in replacement for @code{base}. For details and +documentation please visit @uref{https://github.com/nikita-volkov/rerebase, +the project's home page}.") + (license license:expat))) + +(define-public ghc-resolv + (package + (name "ghc-resolv") + (version "0.1.1.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/resolv/resolv-" + version ".tar.gz")) + (sha256 + (base32 + "0wh7wj56l3f2bylz563g5g04a4nydj8acv60hpwa7k3mn792xca9")))) + (build-system haskell-build-system) + (arguments + `(#:cabal-revision + ("1" "15ay4n3x8c09cb3h4z1nan84yd3n9zpgvi6h114hk98bq10k8mma") + #:tests? #f)) ; The required test frameworks are too old. + (inputs + `(("ghc-base16-bytestring" ,ghc-base16-bytestring))) + (home-page "https://github.com/haskell/hackage-security") + (synopsis "Domain Name Service (DNS) lookup via @code{libresolv}") + (description "This package implements an API for accessing the +@uref{https://tools.ietf.org/html/rfc1035, Domain Name Service (DNS)} +resolver service via the standard @code{libresolv} system library (whose +API is often available directly via the standard @code{libc} C library) on +Unix systems.") + (license license:gpl3))) + +(define-public ghc-resource-pool + (package + (name "ghc-resource-pool") + (version "0.2.3.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "resource-pool-" version "/" + "resource-pool-" version ".tar.gz")) + (sha256 + (base32 + "04mw8b9djb14zp4rdi6h7mc3zizh597ffiinfbr4m0m8psifw9w6")))) + (build-system haskell-build-system) + (inputs `(("ghc-hashable" ,ghc-hashable) + ("ghc-monad-control" ,ghc-monad-control) + ("ghc-transformers-base" ,ghc-transformers-base) + ("ghc-vector" ,ghc-vector))) + (home-page "https://github.com/bos/pool") + (synopsis "Striped resource pooling implementation in Haskell") + (description "This Haskell package provides striped pooling abstraction +for managing flexibly-sized collections of resources such as database +connections.") + (license license:bsd-3))) + +(define-public ghc-resourcet + (package + (name "ghc-resourcet") + (version "1.2.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/resourcet/" + "resourcet-" version ".tar.gz")) + (sha256 + (base32 + "0rzjzh34s36ssign7akqjnwnjxf11c3511wk7ky0xxy0dqmc2rg7")))) + (build-system haskell-build-system) + (inputs + `(("ghc-transformers-base" ,ghc-transformers-base) + ("ghc-monad-control" ,ghc-monad-control) + ("ghc-transformers-compat" ,ghc-transformers-compat) + ("ghc-mmorph" ,ghc-mmorph) + ("ghc-exceptions" ,ghc-exceptions) + ("ghc-unliftio-core" ,ghc-unliftio-core))) + (native-inputs + `(("ghc-lifted-base" ,ghc-lifted-base) + ("ghc-hspec" ,ghc-hspec))) + (home-page "https://github.com/snoyberg/conduit") + (synopsis "Deterministic allocation and freeing of scarce resources") + (description "ResourceT is a monad transformer which creates a region of +code where you can safely allocate resources.") + (license license:bsd-3))) + +(define-public ghc-rfc5051 + (package + (name "ghc-rfc5051") + (version "0.1.0.3") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/rfc5051/" + "rfc5051-" version ".tar.gz")) + (sha256 + (base32 + "0av4c3qvwbkbzrjrrg601ay9pds7wscqqp2lc2z78mv2lllap3g3")))) + (build-system haskell-build-system) + (home-page "https://hackage.haskell.org/package/rfc5051") + (synopsis "Simple unicode collation as per RFC5051") + (description + "This library implements @code{unicode-casemap}, the simple, non +locale-sensitive unicode collation algorithm described in RFC 5051. Proper +unicode collation can be done using @code{text-icu}, but that is a big +dependency that depends on a large C library, and @code{rfc5051} might be +better for some purposes.") + (license license:bsd-3))) + +(define-public ghc-rio + (package + (name "ghc-rio") + (version "0.1.5.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/rio/rio-" + version ".tar.gz")) + (sha256 + (base32 + "064h8a4hp53a479d3ak0vmqbx8hi0cpg7zn4wp23rjy26dka8p7g")))) + (build-system haskell-build-system) + (inputs + `(("ghc-exceptions" ,ghc-exceptions) + ("ghc-hashable" ,ghc-hashable) + ("ghc-microlens" ,ghc-microlens) + ("ghc-primitive" ,ghc-primitive) + ("ghc-typed-process" ,ghc-typed-process) + ("ghc-unliftio" ,ghc-unliftio) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-vector" ,ghc-vector))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("hspec-discover" ,hspec-discover))) + (home-page "https://github.com/commercialhaskell/rio#readme") + (synopsis "A standard library for Haskell") + (description "This package works as a prelude replacement for Haskell, +providing more functionality and types out of the box than the standard +prelude (such as common data types like @code{ByteString} and +@code{Text}), as well as removing common ``gotchas'', like partial +functions and lazy I/O. The guiding principle here is: +@itemize +@item If something is safe to use in general and has no expected naming +conflicts, expose it. +@item If something should not always be used, or has naming conflicts, +expose it from another module in the hierarchy. +@end itemize") + (license license:expat))) + +(define-public ghc-safe + (package + (name "ghc-safe") + (version "0.3.17") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/safe/safe-" + version + ".tar.gz")) + (sha256 + (base32 + "0p3yaf5slvyz1cyy51jq64c5rlp8yzwim8iy2dlnk42if4gc9ibr")))) + (build-system haskell-build-system) + (native-inputs + `(("ghc-quickcheck" ,ghc-quickcheck))) + (home-page "https://github.com/ndmitchell/safe#readme") + (synopsis "Library of safe (exception free) functions") + (description "This library provides wrappers around @code{Prelude} and +@code{Data.List} functions, such as @code{head} and @code{!!}, that can throw +exceptions.") + (license license:bsd-3))) + +(define-public ghc-safe-exceptions + (package + (name "ghc-safe-exceptions") + (version "0.1.7.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "safe-exceptions/safe-exceptions-" + version ".tar.gz")) + (sha256 + (base32 + "0sd0zfsm9pcll5bzzj523rbn45adjrnavdkz52hgmdjjgdcdrk8q")))) + (build-system haskell-build-system) + (arguments + '(#:cabal-revision + ("4" "0fid41gishzsyb47wzxhd5falandfirqcp760hcja81qjpfmqd32"))) + (inputs `(("ghc-exceptions" ,ghc-exceptions))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("ghc-void" ,ghc-void) + ("hspec-discover" ,hspec-discover))) + (home-page "https://github.com/fpco/safe-exceptions") + (synopsis "Safe, consistent, and easy exception handling") + (description "Runtime exceptions - as exposed in @code{base} by the +@code{Control.Exception} module - have long been an intimidating part of the +Haskell ecosystem. This package is intended to overcome this. It provides a +safe and simple API on top of the existing exception handling machinery. The +API is equivalent to the underlying implementation in terms of power but +encourages best practices to minimize the chances of getting the exception +handling wrong.") + (license license:expat))) + +(define-public ghc-safeio + (package + (name "ghc-safeio") + (version "0.0.5.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/safeio/" + "safeio-" version ".tar.gz")) + (sha256 + (base32 + "04g3070cbjdqj0h9l9ii6470xcbn40xfv4fr89a8yvnkdim9nyfm")))) + (build-system haskell-build-system) + (inputs + `(("ghc-conduit" ,ghc-conduit) + ("ghc-conduit-combinators" ,ghc-conduit-combinators) + ("ghc-exceptions" ,ghc-exceptions) + ("ghc-resourcet" ,ghc-resourcet))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) + ("ghc-test-framework-th" ,ghc-test-framework-th))) + (home-page "https://github.com/luispedro/safeio") + (synopsis "Write output to disk atomically") + (description + "This package implements utilities to perform atomic output so as to +avoid the problem of partial intermediate files.") + (license license:expat))) + +(define-public ghc-safesemaphore + (package + (name "ghc-safesemaphore") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "SafeSemaphore/SafeSemaphore-" version ".tar.gz")) + (sha256 + (base32 + "0rpg9j6fy70i0b9dkrip9d6wim0nac0snp7qzbhykjkqlcvvgr91")))) + (build-system haskell-build-system) + (native-inputs + `(("ghc-hunit" ,ghc-hunit))) + (home-page "https://github.com/ChrisKuklewicz/SafeSemaphore") + (synopsis "Exception safe semaphores") + (description "This library provides exception safe semaphores that can be +used in place of @code{QSem}, @code{QSemN}, and @code{SampleVar}, all of which +are not exception safe and can be broken by @code{killThread}.") + (license license:bsd-3))) + +(define-public ghc-sandi + (package + (name "ghc-sandi") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/sandi/sandi-" + version ".tar.gz")) + (sha256 + (base32 + "0dvkpk91n9kz2ha04rvp231ra9sgd1ilyc1qkzf9l03iir7zrh9b")))) + (build-system haskell-build-system) + (inputs + `(("ghc-stringsearch" ,ghc-stringsearch) + ("ghc-conduit" ,ghc-conduit) + ("ghc-exceptions" ,ghc-exceptions) + ("ghc-hunit" ,ghc-hunit) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) + ("ghc-tasty-th" ,ghc-tasty-th))) + (home-page "https://hackage.haskell.org/package/sandi") + (synopsis "Data encoding library") + (description "Reasonably fast data encoding library.") + (license license:bsd-3))) + +(define-public ghc-scientific + (package + (name "ghc-scientific") + (version "0.3.6.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/scientific/scientific-" + version + ".tar.gz")) + (sha256 + (base32 + "03ql2f0ac8bsl524idy9xxa3kxisb2sj3avflzw580j5hzy0m397")))) + (build-system haskell-build-system) + (inputs + `(("ghc-integer-logarithms" ,ghc-integer-logarithms) + ("ghc-hashable" ,ghc-hashable) + ("ghc-primitive" ,ghc-primitive))) + (native-inputs + `(("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-ant-xml" ,ghc-tasty-ant-xml) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) + ("ghc-smallcheck" ,ghc-smallcheck) + ("ghc-quickcheck" ,ghc-quickcheck))) + (home-page "https://github.com/basvandijk/scientific") + (synopsis "Numbers represented using scientific notation") + (description "This package provides @code{Data.Scientific}, which provides +the number type @code{Scientific}. Scientific numbers are arbitrary precision +and space efficient. They are represented using +@uref{https://en.wikipedia.org/wiki/Scientific_notation, scientific +notation}.") + (license license:bsd-3))) + +(define-public ghc-scientific-bootstrap + (package + (inherit ghc-scientific) + (name "ghc-scientific-bootstrap") + (arguments `(#:tests? #f)) + (inputs + `(("ghc-integer-logarithms" ,ghc-integer-logarithms-bootstrap) + ("ghc-hashable" ,ghc-hashable) + ("ghc-primitive" ,ghc-primitive))) + (native-inputs '()) + (properties '(hidden? #t)))) + +(define-public ghc-sdl + (package + (name "ghc-sdl") + (version "0.6.7.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/SDL/SDL-" + version + ".tar.gz")) + (sha256 + (base32 + "00y67v80a8l09i3k76z09lg25kw72ivl09nag8ckdlk4a0cfnzfq")))) + (build-system haskell-build-system) + (inputs + `(("sdl" ,sdl))) + (home-page "https://hackage.haskell.org/package/SDL") + (synopsis "LibSDL for Haskell") + (description "Simple DirectMedia Layer (libSDL) is a cross-platform +multimedia library designed to provide low level access to audio, keyboard, +mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used +by MPEG playback software, emulators, and many popular games, including the +award winning Linux port of \"Civilization: Call To Power.\"") + (license license:bsd-3))) + +(define-public ghc-sdl-image + (package + (name "ghc-sdl-image") + (version "0.6.2.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/SDL-image/SDL-image-" + version + ".tar.gz")) + (sha256 + (base32 + "1gxwrvswgwjw6g7ym52gik22l9l3ljy592phv97jdmcf3gi6qcg1")))) + (build-system haskell-build-system) + (arguments + `(#:configure-flags + (let* ((sdl-image (assoc-ref %build-inputs "sdl-image")) + (sdl-image-include (string-append sdl-image "/include/SDL"))) + (list (string-append "--extra-include-dirs=" sdl-image-include))))) + (inputs + `(("ghc-sdl" ,ghc-sdl) + ("sdl-image" ,sdl-image))) + (home-page "https://hackage.haskell.org/package/SDL-image") + (synopsis "Haskell bindings to libSDL_image") + (description "SDL_image is an image file loading library. It loads images +as SDL surfaces, and supports the following formats: BMP, GIF, JPEG, LBM, PCX, +PNG, PNM, TGA, TIFF, XCF, XPM, XV.") + (license license:bsd-3))) + +(define-public ghc-sdl-mixer + (package + (name "ghc-sdl-mixer") + (version "0.6.3.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/SDL-mixer/SDL-mixer-" + version + ".tar.gz")) + (sha256 + (base32 + "0k26hqgdh789ka3mv4dsk6rin6x6vwcs6hjmnsqq7j3mnrh1342r")))) + (build-system haskell-build-system) + (arguments + `(#:configure-flags + (let* ((sdl-mixer (assoc-ref %build-inputs "sdl-mixer")) + (sdl-mixer-include (string-append sdl-mixer "/include/SDL"))) + (list (string-append "--extra-include-dirs=" sdl-mixer-include))))) + (inputs + `(("ghc-sdl" ,ghc-sdl) + ("sdl-mixer" ,sdl-mixer))) + (home-page "https://hackage.haskell.org/package/SDL-mixer") + (synopsis "Haskell bindings to libSDL_mixer") + (description "SDL_mixer is a sample multi-channel audio mixer library. It +supports any number of simultaneously playing channels of 16 bit stereo audio, +plus a single channel of music, mixed by the popular MikMod MOD, Timidity +MIDI, Ogg Vorbis, and SMPEG MP3 libraries.") + (license license:bsd-3))) + +(define-public ghc-securemem + (package + (name "ghc-securemem") + (version "0.1.10") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "securemem-" version "/" + "securemem-" version ".tar.gz")) + (sha256 + (base32 + "19hnw2cfbsfjynxq1bq9f6djbxhsc1k751ml0y1ab3ah913mm29j")))) + (build-system haskell-build-system) + (inputs `(("ghc-byteable" ,ghc-byteable) + ("ghc-memory" ,ghc-memory))) + (home-page "https://github.com/vincenthz/hs-securemem") + (synopsis "Auto-scrubbing and const-time-eq memory chunk abstraction for +Haskell") + (description "SecureMem is similar to ByteString, except that it provides +a memory chunk that will be auto-scrubbed after it run out of scope.") + (license license:bsd-3))) + +(define-public ghc-semigroupoids + (package + (name "ghc-semigroupoids") + (version "5.2.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/semigroupoids/semigroupoids-" + version + ".tar.gz")) + (sha256 + (base32 + "17i96y4iqj8clcs090lf6k0ij3j16nj14vsfwz0mm9nd6i4gbpp4")))) + (build-system haskell-build-system) + (arguments + `(#:cabal-revision + ("4" "0pqfrxzypjq6z8lgdkzq4vhcyqkpk5326hny0r6snpc3gm78r4ij"))) + (inputs + `(("ghc-base-orphans" ,ghc-base-orphans) + ("ghc-transformers-compat" ,ghc-transformers-compat) + ("ghc-bifunctors" ,ghc-bifunctors) + ("ghc-comonad" ,ghc-comonad) + ("ghc-contravariant" ,ghc-contravariant) + ("ghc-distributive" ,ghc-distributive) + ("ghc-hashable" ,ghc-hashable) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-tagged" ,ghc-tagged) + ("ghc-unordered-containers" ,ghc-unordered-containers))) + (native-inputs + `(("cabal-doctest" ,cabal-doctest) + ("ghc-doctest" ,ghc-doctest))) + (home-page "https://github.com/ekmett/semigroupoids") + (synopsis "Semigroupoids operations for Haskell") + (description "This library provides a wide array of (semi)groupoids and +operations for working with them. A @code{Semigroupoid} is a @code{Category} +without the requirement of identity arrows for every object in the category. +A @code{Category} is any @code{Semigroupoid} for which the Yoneda lemma holds. +Finally, to work with these weaker structures it is beneficial to have +containers that can provide stronger guarantees about their contents, so +versions of @code{Traversable} and @code{Foldable} that can be folded with +just a @code{Semigroup} are added.") + (license license:bsd-3))) + +(define-public ghc-semigroups + (package + (name "ghc-semigroups") + (version "0.18.5") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/semigroups/semigroups-" + version + ".tar.gz")) + (sha256 + (base32 + "17g29h62g1k51ghhvzkw72zksjgi6vs6bfipkj81pqw1dsprcamb")))) + (build-system haskell-build-system) + (inputs + `(("ghc-nats" ,ghc-nats) + ("ghc-tagged" ,ghc-tagged) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-hashable" ,ghc-hashable))) + (home-page "https://github.com/ekmett/semigroups/") + (synopsis "Semigroup operations for Haskell") + (description "This package provides semigroups for Haskell. In +mathematics, a semigroup is an algebraic structure consisting of a set +together with an associative binary operation. A semigroup generalizes a +monoid in that there might not exist an identity element. It +also (originally) generalized a group (a monoid with all inverses) to a type +where every element did not have to have an inverse, thus the name +semigroup.") + (license license:bsd-3))) + +(define-public ghc-semigroups-bootstrap + (package + (inherit ghc-semigroups) + (name "ghc-semigroups-bootstrap") + (inputs + `(("ghc-nats" ,ghc-nats-bootstrap) + ("ghc-tagged" ,ghc-tagged) + ("ghc-unordered-containers" ,ghc-unordered-containers-bootstrap) + ("ghc-hashable" ,ghc-hashable-bootstrap))) + (properties '(hidden? #t)))) + +(define-public ghc-setenv + (package + (name "ghc-setenv") + (version "0.1.1.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/setenv/setenv-" + version + ".tar.gz")) + (sha256 + (base32 + "0cnbgrvb9byyahb37zlqrj05rj25v190crgcw8wmlgf0mwwxyn73")))) + (build-system haskell-build-system) + (home-page "https://hackage.haskell.org/package/setenv") + (synopsis "Library for setting environment variables") + (description "This package provides a Haskell library for setting +environment variables.") + (license license:expat))) + +(define-public ghc-setlocale + (package + (name "ghc-setlocale") + (version "1.0.0.8") + (source (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/setlocale-" + version "/setlocale-" version ".tar.gz")) + (sha256 + (base32 + "0sdrsmkhw08483d73ysgm2926fdbhii61br03lqpqw0lfzj4ilbd")))) + (build-system haskell-build-system) + (home-page "https://hackage.haskell.org/package/setlocale") + (synopsis "Haskell bindings to setlocale") + (description "This package provides Haskell bindings to the +@code{setlocale} C function.") + (license license:bsd-3))) + +(define-public ghc-shakespeare + (package + (name "ghc-shakespeare") + (version "2.0.15") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "shakespeare-" version "/" + "shakespeare-" version ".tar.gz")) + (sha256 + (base32 + "1vk4b19zvwy4mpwaq9z3l3kfmz75gfyf7alhh0y112gspgpccm23")))) + (build-system haskell-build-system) + (inputs `(("ghc-aeson" ,ghc-aeson) + ("ghc-blaze-markup" ,ghc-blaze-markup) + ("ghc-blaze-html" ,ghc-blaze-html) + ("ghc-exceptions" ,ghc-exceptions) + ("ghc-vector" ,ghc-vector) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-scientific" ,ghc-scientific))) + (native-inputs `(("ghc-hspec" ,ghc-hspec) + ("ghc-hunit" ,ghc-hunit) + ("hspec-discover" ,hspec-discover))) + (home-page "https://www.yesodweb.com/book/shakespearean-templates") + (synopsis "Family of type-safe template languages for Haskell") + (description "This Haskell package provides a family of type-safe +templates with simple variable interpolation. Shakespeare templates can +be used inline with a quasi-quoter or in an external file and it +interpolates variables according to the type being inserted.") + (license license:expat))) + +(define-public ghc-shelly + (package + (name "ghc-shelly") + (version "1.8.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/shelly/shelly-" + version ".tar.gz")) + (sha256 + (base32 + "023fbvbqs5gdwm30j5517gbdcc7fvz0md70dgwgpypkskj3i926y")))) + (build-system haskell-build-system) + (inputs + `(("ghc-unix-compat" ,ghc-unix-compat) + ("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap) + ("ghc-system-fileio-bootstrap" ,ghc-system-fileio-bootstrap) + ("ghc-monad-control" ,ghc-monad-control) + ("ghc-lifted-base" ,ghc-lifted-base) + ("ghc-lifted-async" ,ghc-lifted-async) + ("ghc-exceptions" ,ghc-exceptions) + ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions) + ("ghc-async" ,ghc-async) + ("ghc-transformers-base" ,ghc-transformers-base) + ("ghc-hunit" ,ghc-hunit) + ("ghc-hspec" ,ghc-hspec) + ("ghc-hspec-contrib" ,ghc-hspec-contrib))) + (home-page "https://github.com/yesodweb/Shelly.hs") + (synopsis "Shell-like (systems) programming in Haskell") + (description + "Shelly provides convenient systems programming in Haskell, similar in +spirit to POSIX shells. Shelly is originally forked from the Shellish package.") + (license license:bsd-3))) + +(define-public ghc-silently + (package + (name "ghc-silently") + (version "1.2.5") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/silently/silently-" + version + ".tar.gz")) + (sha256 + (base32 + "0f9qm3f7y0hpxn6mddhhg51mm1r134qkvd2kr8r6192ka1ijbxnf")))) + (build-system haskell-build-system) + (arguments `(#:tests? #f)) ;; circular dependency with nanospec + ;; (inputs + ;; `(("ghc-temporary" ,ghc-temporary))) + (home-page "https://github.com/hspec/silently") + (synopsis "Prevent writing to stdout") + (description "This package provides functions to prevent or capture +writing to stdout and other handles.") + (license license:bsd-3))) + +(define-public ghc-simple-reflect + (package + (name "ghc-simple-reflect") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/simple-reflect/simple-reflect-" + version + ".tar.gz")) + (sha256 + (base32 + "0ayvrx5cm8n6db21jiyjmk5h93pw7cz1707hih09hlhk9jh5x0h7")))) + (build-system haskell-build-system) + (home-page + "https://twanvl.nl/blog/haskell/simple-reflection-of-expressions") + (synopsis + "Simple reflection of expressions containing variables") + (description + "This package allows simple reflection of expressions containing +variables. Reflection here means that a Haskell expression is turned into a +string. The primary aim of this package is teaching and understanding; there +are no options for manipulating the reflected expressions beyond showing +them.") + (license license:bsd-3))) + +(define-public ghc-simple-sendfile + (package + (name "ghc-simple-sendfile") + (version "0.2.27") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "simple-sendfile-" version "/" + "simple-sendfile-" version ".tar.gz")) + (sha256 + (base32 + "1bwwqzcm56m2w4ymsa054sxmpbj76h9pvb0jf8zxp8lr41cp51gn")))) + (build-system haskell-build-system) + (inputs + `(("ghc-conduit" ,ghc-conduit) + ("ghc-conduit-extra" ,ghc-conduit-extra) + ("ghc-network" ,ghc-network) + ("ghc-resourcet" ,ghc-resourcet))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("hspec-discover" ,hspec-discover))) + (home-page "https://github.com/kazu-yamamoto/simple-sendfile") + (synopsis "Cross platform library for the sendfile system call") + (description "This library tries to call minimum system calls which +are the bottleneck of web servers.") + (license license:bsd-3))) + +(define-public ghc-skylighting-core + (package + (name "ghc-skylighting-core") + (version "0.7.2") + (source (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "skylighting-core/skylighting-core-" + version ".tar.gz")) + (sha256 + (base32 + "066fwmwsd7xcvwlinfk2izlzq0xp8697i6lnbgsbl71jdybyackq")))) + (build-system haskell-build-system) + (inputs + `(("ghc-aeson" ,ghc-aeson) + ("ghc-ansi-terminal" ,ghc-ansi-terminal) + ("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-base64-bytestring" ,ghc-base64-bytestring) + ("ghc-blaze-html" ,ghc-blaze-html) + ("ghc-case-insensitive" ,ghc-case-insensitive) + ("ghc-colour" ,ghc-colour) + ("ghc-hxt" ,ghc-hxt) + ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin) + ("ghc-safe" ,ghc-safe) + ("ghc-utf8-string" ,ghc-utf8-string))) + (native-inputs + `(("ghc-diff" ,ghc-diff) + ("ghc-hunit" ,ghc-hunit) + ("ghc-pretty-show" ,ghc-pretty-show) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-golden" ,ghc-tasty-golden) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) + (home-page "https://github.com/jgm/skylighting") + (synopsis "Syntax highlighting library") + (description "Skylighting is a syntax highlighting library with support +for over one hundred languages. It derives its tokenizers from XML syntax +definitions used by KDE's @code{KSyntaxHighlighting} framework, so any syntax +supported by that framework can be added. An optional command-line program is +provided. Skylighting is intended to be the successor to highlighting-kate.") + (license license:gpl2))) + +(define-public ghc-skylighting + (package + (inherit ghc-skylighting-core) + (name "ghc-skylighting") + (version "0.7.2") + (source (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/skylighting-" + version "/skylighting-" version ".tar.gz")) + (sha256 + (base32 + "1rh3z1a7a4clvksdw1qlpmhxqkfahwypi70k91whgfamzsqpxdch")))) + (inputs + `(("ghc-skylighting-core" ,ghc-skylighting-core) + ,@(package-inputs ghc-skylighting-core))))) + +(define-public ghc-smallcheck + (package + (name "ghc-smallcheck") + (version "1.1.5") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/smallcheck/smallcheck-" + version + ".tar.gz")) + (sha256 + (base32 + "195fj7w3v03d1y1nm2ylavzrwxjcdbq0lb6zsw1dwyx5jmwfc84h")))) + (build-system haskell-build-system) + (inputs + `(("ghc-logict" ,ghc-logict))) + (home-page + "https://github.com/feuerbach/smallcheck") + (synopsis "Property-based testing library") + (description "SmallCheck is a testing library that allows to verify +properties for all test cases up to some depth. The test cases are generated +automatically by SmallCheck.") + (license license:bsd-3))) + +(define-public ghc-socks + (package + (name "ghc-socks") + (version "0.5.6") + (source (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "socks/socks-" version ".tar.gz")) + (sha256 + (base32 + "0f44qy74i0n6ll3jym0a2ipafkpw1h67amcpqmj8iq95h21wsqzs")))) + (build-system haskell-build-system) + (inputs + `(("ghc-cereal" ,ghc-cereal) + ("ghc-network" ,ghc-network))) + (home-page "https://github.com/vincenthz/hs-socks") + (synopsis "SOCKS proxy (version 5) implementation") + (description + "This library provides a SOCKS proxy (version 5) implementation.") + (license license:bsd-3))) + +(define-public ghc-split + (package + (name "ghc-split") + (version "0.2.3.3") + (outputs '("out" "doc")) + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/split/split-" + version + ".tar.gz")) + (sha256 + (base32 + "04qlmkcyklznl03gsjg95b4nzb6i96gdapqg60rny9szgi7ngk8x")))) + (build-system haskell-build-system) + (native-inputs + `(("ghc-quickcheck" ,ghc-quickcheck))) + (home-page "https://hackage.haskell.org/package/split") + (synopsis "Combinator library for splitting lists") + (description "This package provides a collection of Haskell functions for +splitting lists into parts, akin to the @code{split} function found in several +mainstream languages.") + (license license:bsd-3))) + +(define-public ghc-statevar + (package + (name "ghc-statevar") + (version "1.1.1.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/StateVar/StateVar-" + version + ".tar.gz")) + (sha256 + (base32 + "08r2iw0gdmfs4f6wraaq19vfmkjdbics3dbhw39y7mdjd98kcr7b")))) + (build-system haskell-build-system) + (home-page "https://hackage.haskell.org/package/StateVar") + (synopsis "State variables for Haskell") + (description "This package provides state variables, which are references +in the @code{IO} monad, like @code{IORef}s or parts of the OpenGL state.") + (license license:bsd-3))) + +(define-public ghc-statistics + (package + (name "ghc-statistics") + (version "0.14.0.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "statistics-" version "/" + "statistics-" version ".tar.gz")) + (sha256 + (base32 + "0y27gafkib0x0fn39qfn2rkgsfrm09ng35sbb5dwr7rclhnxz59l")))) + (build-system haskell-build-system) + (arguments + '(#:cabal-revision + ("2" "1bx70yqkn62ii17fjv3pig4hklrzkqd09zj67zzjiyjzmn04fir3") + ;; Two tests fail: "Discrete CDF is OK" and "Quantile is CDF inverse". + #:tests? #f)) + (inputs + `(("ghc-aeson" ,ghc-aeson) + ("ghc-base-orphans" ,ghc-base-orphans) + ("ghc-erf" ,ghc-erf) + ("ghc-math-functions" ,ghc-math-functions) + ("ghc-monad-par" ,ghc-monad-par) + ("ghc-mwc-random" ,ghc-mwc-random) + ("ghc-primitive" ,ghc-primitive) + ("ghc-vector" ,ghc-vector) + ("ghc-vector-algorithms" ,ghc-vector-algorithms) + ("ghc-vector-th-unbox" ,ghc-vector-th-unbox) + ("ghc-vector-binary-instances" ,ghc-vector-binary-instances))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-ieee754" ,ghc-ieee754) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) + ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) + (home-page "https://github.com/bos/mwc-random") + (synopsis "Haskell library of statistical types, data, and functions") + (description "This library provides a number of common functions +and types useful in statistics. We focus on high performance, numerical +robustness, and use of good algorithms. Where possible, we provide references +to the statistical literature. + +The library's facilities can be divided into four broad categories: + +@itemize +@item Working with widely used discrete and continuous probability +distributions. (There are dozens of exotic distributions in use; we focus +on the most common.) + +@item Computing with sample data: quantile estimation, kernel density +estimation, histograms, bootstrap methods, significance testing, +and regression and autocorrelation analysis. + +@item Random variate generation under several different distributions. + +@item Common statistical tests for significant differences between samples. +@end itemize") + (license license:bsd-2))) + +(define-public ghc-stm-chans + (package + (name "ghc-stm-chans") + (version "3.0.0.4") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "stm-chans-" version "/" + "stm-chans-" version ".tar.gz")) + (sha256 + (base32 + "0f27sp09yha43xk9q55sc185jyjs5h7gq2dhsyx6bm9kz9dzqi13")))) + (build-system haskell-build-system) + (home-page "https://hackage.haskell.org/package/stm-chans") + (synopsis "Additional types of channels for ghc-stm") + (description "This Haskell package offers a collection of channel types, +similar to @code{Control.Concurrent.STM.@{TChan,TQueue@}} but with additional +features.") + (license license:bsd-3))) + +(define-public ghc-stm-conduit + (package + (name "ghc-stm-conduit") + (version "4.0.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/stm-conduit/" + "stm-conduit-" version ".tar.gz")) + (sha256 + (base32 + "0paapljn7nqfzrx889y0n8sszci38mdiaxkgr0bb00ph9246rr7z")))) + (build-system haskell-build-system) + (inputs + `(("ghc-stm-chans" ,ghc-stm-chans) + ("ghc-cereal" ,ghc-cereal) + ("ghc-cereal-conduit" ,ghc-cereal-conduit) + ("ghc-conduit" ,ghc-conduit) + ("ghc-conduit-extra" ,ghc-conduit-extra) + ("ghc-exceptions" ,ghc-exceptions) + ("ghc-resourcet" ,ghc-resourcet) + ("ghc-async" ,ghc-async) + ("ghc-monad-loops" ,ghc-monad-loops) + ("ghc-unliftio" ,ghc-unliftio))) + (native-inputs + `(("ghc-doctest" ,ghc-doctest) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-hunit" ,ghc-hunit) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) + ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) + (home-page "https://github.com/cgaebel/stm-conduit") + (synopsis "Introduces conduits to channels and promotes using conduits concurrently") + (description + "This package provides two simple conduit wrappers around STM channels: a +source and a sink.") + (license license:bsd-3))) + +(define-public ghc-stmonadtrans + (package + (name "ghc-stmonadtrans") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/STMonadTrans" + "/STMonadTrans-" version ".tar.gz")) + (sha256 + (base32 "1nr26fnmi5fdjc6d00w13kjhmfyvb5b837d0006w4dj0yxndaksp")))) + (build-system haskell-build-system) + (home-page "https://hackage.haskell.org/package/STMonadTrans") + (synopsis "Monad transformer version of the ST monad") + (description + "This package provides a monad transformer version of the @code{ST} monad +for strict state threads.") + (license license:bsd-3))) + +(define-public ghc-storable-complex + (package + (name "ghc-storable-complex") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/storable-complex/storable-complex-" + version ".tar.gz")) + (sha256 + (base32 "01kwwkpbfjrv26vj83cd92px5qbq1bpgxj0r45534aksqhany1xb")))) + (build-system haskell-build-system) + (home-page "https://github.com/cartazio/storable-complex") + (synopsis "Haskell Storable instance for Complex") + (description "This package provides a Haskell library including a +Storable instance for Complex which is binary compatible with C99, C++ +and Fortran complex data types.") + (license license:bsd-3))) + +(define-public ghc-streaming-commons + (package + (name "ghc-streaming-commons") + (version "0.2.1.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "streaming-commons/streaming-commons-" + version ".tar.gz")) + (sha256 + (base32 + "1lmyx3wkjsayhy5yilzvy0kf8qwmycwlk26r1d8f3cxbfhkr7s52")))) + (build-system haskell-build-system) + (inputs + `(("ghc-async" ,ghc-async) + ("ghc-blaze-builder" ,ghc-blaze-builder) + ("ghc-network" ,ghc-network) + ("ghc-random" ,ghc-random) + ("ghc-zlib" ,ghc-zlib))) + (native-inputs + `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-hspec" ,ghc-hspec) + ("hspec-discover" ,hspec-discover))) + (home-page "https://hackage.haskell.org/package/streaming-commons") + (synopsis "Conduit and pipes needed by some streaming data libraries") + (description "This package provides low-dependency functionality commonly +needed by various Haskell streaming data libraries, such as @code{conduit} and +@code{pipe}s.") + (license license:expat))) + +(define-public ghc-strict + (package + (name "ghc-strict") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/strict/strict-" + version ".tar.gz")) + (sha256 + (base32 "08cjajqz9h47fkq98mlf3rc8n5ghbmnmgn8pfsl3bdldjdkmmlrc")))) + (build-system haskell-build-system) + (home-page "https://hackage.haskell.org/package/strict") + (synopsis "Strict data types and String IO") + (description + "This package provides strict versions of some standard Haskell data +types, such as pairs, @code{Maybe} and @code{Either}. It also contains strict +IO operations.") + (license license:bsd-3))) + +(define-public ghc-stringbuilder + (package + (name "ghc-stringbuilder") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/stringbuilder/stringbuilder-" + version + ".tar.gz")) + (sha256 + (base32 + "1fh3csx1wcssn8xyvl4ip4aprh9l4qyz2kk8mgjvqvc0vb2bsy6q")))) + (build-system haskell-build-system) + (arguments `(#:tests? #f)) ; FIXME: circular dependencies with tests + ; enabled + (home-page "https://hackage.haskell.org/package/stringbuilder") + (synopsis "Writer monad for multi-line string literals") + (description "This package provides a writer monad for multi-line string +literals.") + (license license:expat))) + +(define-public ghc-string-qq + (package + (name "ghc-string-qq") + (version "0.0.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/string-qq/string-qq-" + version + ".tar.gz")) + (sha256 + (base32 + "0662m3i5xrdrr95w829bszkhp88mj9iy1zya54vk2sl5hz9wlmwp")))) + (build-system haskell-build-system) + (home-page "http://hackage.haskell.org/package/string-qq") + (synopsis + "QuasiQuoter for non-interpolated strings, texts and bytestrings.") + (description + "This package provides a quasiquoter for non-interpolated strings, texts +and bytestrings.") + (license license:public-domain))) + +(define-public ghc-stringsearch + (package + (name "ghc-stringsearch") + (version "0.3.6.6") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/stringsearch/stringsearch-" + version + ".tar.gz")) + (sha256 + (base32 + "0jpy9xjcjdbpi3wk6mg7xwd7wfi2mma70p97v1ij5i8bj9qijpr9")))) + (build-system haskell-build-system) + (home-page "https://bitbucket.org/dafis/stringsearch") + (synopsis "Fast searching, splitting and replacing of ByteStrings") + (description "This package provides several functions to quickly search +for substrings in strict or lazy @code{ByteStrings}. It also provides +functions for breaking or splitting on substrings and replacing all +occurrences of a substring (the first in case of overlaps) with another.") + (license license:bsd-3))) + +(define-public ghc-stylish-haskell + (package + (name "ghc-stylish-haskell") + (version "0.9.2.1") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://hackage/package/stylish-haskell/stylish-haskell-" + version + ".tar.gz")) + (sha256 + (base32 + "1ls11fdx6snvfx8yykpidz142zzxwi5bazl49hgfqlwx50rqcp7w")))) + (build-system haskell-build-system) + (inputs + `(("ghc-aeson" ,ghc-aeson) + ("ghc-file-embed" ,ghc-file-embed) + ("ghc-haskell-src-exts" ,ghc-haskell-src-exts) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-syb" ,ghc-syb) + ("ghc-yaml" ,ghc-yaml) + ("ghc-strict" ,ghc-strict) + ("ghc-optparse-applicative" + ,ghc-optparse-applicative))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) + (home-page "https://github.com/jaspervdj/stylish-haskell") + (synopsis "Haskell code prettifier") + (description "Stylish-haskell is a Haskell code prettifier. The goal is +not to format all of the code in a file, to avoid \"getting in the way\". +However, this tool can e.g. clean up import statements and help doing various +tasks that get tedious very quickly. It can +@itemize +@item +Align and sort @code{import} statements +@item +Group and wrap @code{{-# LANGUAGE #-}} pragmas, remove (some) redundant +pragmas +@item +Remove trailing whitespaces +@item +Align branches in @code{case} and fields in records +@item +Convert line endings (customisable) +@item +Replace tabs by four spaces (turned off by default) +@item +Replace some ASCII sequences by their Unicode equivalent (turned off by +default) +@end itemize") + (license license:bsd-3))) + +(define-public ghc-syb + (package + (name "ghc-syb") + (version "0.7") + (outputs '("out" "doc")) + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/syb/syb-" + version + ".tar.gz")) + (sha256 + (base32 + "1da2zz7gqm4xbkx5vpd74dayx1svaxyl145fl14mq15lbb77sxdq")))) + (build-system haskell-build-system) + (inputs + `(("ghc-hunit" ,ghc-hunit))) + (home-page + "http://www.cs.uu.nl/wiki/GenericProgramming/SYB") + (synopsis "Scrap Your Boilerplate") + (description "This package contains the generics system described in the +/Scrap Your Boilerplate/ papers (see +@uref{http://www.cs.uu.nl/wiki/GenericProgramming/SYB, the website}). It +defines the @code{Data} class of types permitting folding and unfolding of +constructor applications, instances of this class for primitive types, and a +variety of traversals.") + (license license:bsd-3))) + +(define-public ghc-system-fileio + (package + (name "ghc-system-fileio") + (version "0.3.16.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/system-fileio/system-fileio-" + version ".tar.gz")) + (sha256 + (base32 + "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i")))) + (build-system haskell-build-system) + (inputs + `(("ghc-system-filepath" ,ghc-system-filepath) + ("ghc-chell" ,ghc-chell) + ("ghc-temporary" ,ghc-temporary))) + (home-page "https://github.com/fpco/haskell-filesystem") + (synopsis "Consistent file system interaction across GHC versions") + (description + "This is a small wrapper around the directory, unix, and Win32 packages, +for use with system-filepath. It provides a consistent API to the various +versions of these packages distributed with different versions of GHC. +In particular, this library supports working with POSIX files that have paths +which can't be decoded in the current locale encoding.") + (license license:expat))) + +;; See ghc-system-filepath-bootstrap. In addition this package depends on +;; ghc-system-filepath. +(define ghc-system-fileio-bootstrap + (package + (name "ghc-system-fileio-bootstrap") + (version "0.3.16.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/system-fileio/system-fileio-" + version ".tar.gz")) + (sha256 + (base32 + "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i")))) + (build-system haskell-build-system) + (arguments + `(#:tests? #f)) + (inputs + `(("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap) + ("ghc-temporary" ,ghc-temporary))) + (home-page "https://github.com/fpco/haskell-filesystem") + (synopsis "Consistent file system interaction across GHC versions") + (description + "This is a small wrapper around the directory, unix, and Win32 packages, +for use with system-filepath. It provides a consistent API to the various +versions of these packages distributed with different versions of GHC. +In particular, this library supports working with POSIX files that have paths +which can't be decoded in the current locale encoding.") + (license license:expat))) + + +(define-public ghc-system-filepath + (package + (name "ghc-system-filepath") + (version "0.4.14") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/system-filepath/system-filepath-" + version ".tar.gz")) + (sha256 + (base32 + "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn")))) + (build-system haskell-build-system) + ;; FIXME: One of the tests fails: + ;; [ FAIL ] tests.validity.posix + ;; note: seed=7310214548328823169 + ;; *** Failed! Falsifiable (after 24 tests): + ;; FilePath "/r2\ENQ52\t ;$/o\US=/okG\146\&6\n=1\\.7\\.1\\.1 && <1\\.8") + "trifecta >=1.7.1.1 && <=2"))))))) + (inputs + `(("ghc-aeson" ,ghc-aeson) + ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint) + ("ghc-ansi-terminal" ,ghc-ansi-terminal) + ("ghc-base-compat" ,ghc-base-compat) + ("ghc-generics-sop" ,ghc-generics-sop) + ("ghc-hashable" ,ghc-hashable) + ("ghc-memotrie" ,ghc-memotrie) + ("ghc-parsers" ,ghc-parsers) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-scientific" ,ghc-scientific) + ("ghc-tagged" ,ghc-tagged) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-uuid-types" ,ghc-uuid-types) + ("ghc-vector" ,ghc-vector))) + (native-inputs + `(("ghc-base-compat" ,ghc-base-compat) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-ansi-terminal" ,ghc-ansi-terminal) + ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint) + ("ghc-trifecta" ,ghc-trifecta) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-golden" ,ghc-tasty-golden) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) + (home-page "https://github.com/phadej/tree-diff") + (synopsis "Compute difference between (expression) trees") + (description "This Haskell library provides a function for computing +the difference between (expression) trees. It also provides a way to +compute the difference between arbitrary abstract datatypes (ADTs) using +@code{Generics}-derivable helpers.") + (license license:bsd-3))) + +(define-public ghc-trifecta + (package + (name "ghc-trifecta") + (version "2") + (source (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/trifecta/" + "trifecta-" version ".tar.gz")) + (sha256 + (base32 + "0hznd8i65s81xy13i2qc7cvipw3lfb2yhkv53apbdsh6sbljz5sk")))) + (build-system haskell-build-system) + (arguments `(#:tests? #f)) ; doctest suite fails to build on i686 + (inputs + `(("ghc-reducers" ,ghc-reducers) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint) + ("ghc-ansi-terminal" ,ghc-ansi-terminal) + ("ghc-blaze-builder" ,ghc-blaze-builder) + ("ghc-blaze-html" ,ghc-blaze-html) + ("ghc-blaze-markup" ,ghc-blaze-markup) + ("ghc-charset" ,ghc-charset) + ("ghc-comonad" ,ghc-comonad) + ("ghc-fingertree" ,ghc-fingertree) + ("ghc-hashable" ,ghc-hashable) + ("ghc-lens" ,ghc-lens) + ("ghc-parsers" ,ghc-parsers) + ("ghc-profunctors" ,ghc-profunctors) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-utf8-string" ,ghc-utf8-string))) + (native-inputs + `(("cabal-doctest" ,cabal-doctest) + ("ghc-doctest" ,ghc-doctest) + ("ghc-quickcheck" ,ghc-quickcheck))) + (home-page "https://github.com/ekmett/trifecta/") + (synopsis "Parser combinator library with convenient diagnostics") + (description "Trifecta is a modern parser combinator library for Haskell, +with slicing and Clang-style colored diagnostics.") + (license license:bsd-3))) + +(define-public ghc-tuple-th + (package + (name "ghc-tuple-th") + (version "0.2.5") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "tuple-th-" version "/" + "tuple-th-" version ".tar.gz")) + (sha256 + (base32 + "1mrl4vvxmby7sf1paf7hklzidnr6wq55822i73smqyz0xpf3gsjn")))) + (build-system haskell-build-system) + (home-page "https://github.com/DanielSchuessler/tuple-th") + (synopsis "Generate utility functions for tuples of statically known size +for Haskell") + (description "This Haskell package contains Template Haskell functions for +generating functions similar to those in @code{Data.List} for tuples of +statically known size.") + (license license:bsd-3))) + +(define-public ghc-typed-process + (package + (name "ghc-typed-process") + (version "0.2.3.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "typed-process/typed-process-" + version ".tar.gz")) + (sha256 + (base32 + "0j36vrc9w841m5qbwqra1lwiznx31xfnhin1sm8x2c2739csbpn0")))) + (build-system haskell-build-system) + (inputs + `(("ghc-async" ,ghc-async))) + (native-inputs + `(("ghc-base64-bytestring" ,ghc-base64-bytestring) + ("ghc-hspec" ,ghc-hspec) + ("hspec-discover" ,hspec-discover) + ("ghc-temporary" ,ghc-temporary))) + (home-page "https://haskell-lang.org/library/typed-process") + (synopsis "Run external processes with strong typing of streams") + (description + "This library provides the ability to launch and interact with external +processes. It wraps around the @code{process} library, and intends to improve +upon it.") + (license license:expat))) + +(define-public ghc-unbounded-delays + (package + (name "ghc-unbounded-delays") + (version "0.1.1.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/unbounded-delays/unbounded-delays-" + version + ".tar.gz")) + (sha256 + (base32 + "1ir9fghbrc214c97bwafk5ck6cacxz1pdnq4i18p604d1b8zg9wa")))) + (build-system haskell-build-system) + (home-page "https://github.com/basvandijk/unbounded-delays") + (synopsis "Unbounded thread delays and timeouts") + (description "The @code{threadDelay} and @code{timeout} functions from the +Haskell base library use the bounded @code{Int} type for specifying the delay +or timeout period. This package provides alternative functions which use the +unbounded @code{Integer} type.") + (license license:bsd-3))) + +(define-public ghc-unexceptionalio + (package + (name "ghc-unexceptionalio") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "unexceptionalio-" version "/" "unexceptionalio-" + version ".tar.gz")) + (sha256 (base32 "09gynk472l7nn5l2w320n4dwigwp0wh0shfp6dyw6r5h2jdxz18p")))) + (build-system haskell-build-system) + (home-page "https://github.com/singpolyma/unexceptionalio") + (synopsis "IO without any non-error, synchronous exceptions") + (description "When you've caught all the exceptions that can be +handled safely, this is what you're left with.") + (license license:isc))) + +(define-public ghc-union-find + (package + (name "ghc-union-find") + (version "0.2") + (source (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/union-find/union-find-" + version ".tar.gz")) + (sha256 + (base32 + "1v7hj42j9w6jlzi56jg8rh4p58gfs1c5dx30wd1qqvn0p0mnihp6")))) + (build-system haskell-build-system) + (home-page "https://github.com/nominolo/union-find") + (synopsis "Efficient union and equivalence testing of sets") + (description + "The Union/Find algorithm implements these operations in (effectively) +constant-time: +@enumerate +@item Check whether two elements are in the same equivalence class. +@item Create a union of two equivalence classes. +@item Look up the descriptor of the equivalence class. +@end enumerate\n") + (license license:bsd-3))) + +(define-public ghc-uniplate + (package + (name "ghc-uniplate") + (version "1.6.12") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/uniplate/uniplate-" + version + ".tar.gz")) + (sha256 + (base32 + "1dx8f9aw27fz8kw0ad1nm6355w5rdl7bjvb427v2bsgnng30pipw")))) + (build-system haskell-build-system) + (inputs + `(("ghc-syb" ,ghc-syb) + ("ghc-hashable" ,ghc-hashable) + ("ghc-unordered-containers" ,ghc-unordered-containers))) + (home-page "http://community.haskell.org/~ndm/uniplate/") + (synopsis "Simple, concise and fast generic operations") + (description "Uniplate is a library for writing simple and concise generic +operations. Uniplate has similar goals to the original Scrap Your Boilerplate +work, but is substantially simpler and faster.") + (license license:bsd-3))) + +(define-public ghc-unix-compat + (package + (name "ghc-unix-compat") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/unix-compat/unix-compat-" + version + ".tar.gz")) + (sha256 + (base32 + "0llwl7rp63fy2ychwdclz1afj45pbin5pfl01dvn6rwhvmwhr7d3")))) + (build-system haskell-build-system) + (home-page + "https://github.com/jystic/unix-compat") + (synopsis "Portable POSIX-compatibility layer") + (description + "This package provides portable implementations of parts of the unix +package. This package re-exports the unix package when available. When it +isn't available, portable implementations are used.") + (license license:bsd-3))) + +(define-public ghc-unix-time + (package + (name "ghc-unix-time") + (version "0.3.8") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/unix-time/unix-time-" + version + ".tar.gz")) + (sha256 + (base32 + "051slgpid5cxiaw203ky0ql3823h28fcjs08axkzd4265wrvv8fw")))) + (build-system haskell-build-system) + (arguments + `(#:tests? #f)) ; FIXME: Test fails with "System.Time not found". This + ; is weird, that should be provided by GHC 7.10.2. + (inputs + `(("ghc-old-time" ,ghc-old-time) + ("ghc-old-locale" ,ghc-old-locale))) + (home-page "https://hackage.haskell.org/package/unix-time") + (synopsis "Unix time parser/formatter and utilities") + (description "This library provides fast parsing and formatting utilities +for Unix time in Haskell.") + (license license:bsd-3))) + +(define-public ghc-unliftio + (package + (name "ghc-unliftio") + (version "0.2.7.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/unliftio/unliftio-" + version + ".tar.gz")) + (sha256 + (base32 + "0qql93lq5w7qghl454cc3s1i8v1jb4h08n82fqkw0kli4g3g9njs")))) + (build-system haskell-build-system) + (arguments `(#:tests? #f)) ; FIXME: hspec-discover not in PATH + (inputs + `(("ghc-async" ,ghc-async) + ("ghc-unliftio-core" ,ghc-unliftio-core))) + (native-inputs `(("ghc-hspec" ,ghc-hspec))) + (home-page "https://github.com/fpco/unliftio") + (synopsis "Provides MonadUnliftIO typecplass for unlifting monads to +IO (batteries included)") + (description "This Haskell package provides the core @code{MonadUnliftIO} +typeclass, a number of common instances, and a collection of common functions +working with it.") + (license license:expat))) + +(define-public ghc-unliftio-core + (package + (name "ghc-unliftio-core") + (version "0.1.1.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "unliftio-core-" version "/" + "unliftio-core-" version ".tar.gz")) + (sha256 + (base32 + "1193fplsjm1lcr05xwvkj1rsyzx74i755f6kw3ikmxbsv0bv0l3m")))) + (build-system haskell-build-system) + (arguments + `(#:cabal-revision + ("1" "16bjwcsaghqqmyi69rq65dn3ydifyfaabq3ns37apdm00mwqbcj2"))) + (home-page + "https://github.com/fpco/unliftio/tree/master/unliftio-core#readme") + (synopsis "The MonadUnliftIO typeclass for unlifting monads to IO") + (description "This Haskell package provides the core @code{MonadUnliftIO} +typeclass, instances for base and transformers, and basic utility +functions.") + (license license:expat))) + +(define-public ghc-unordered-containers + (package + (name "ghc-unordered-containers") + (version "0.2.9.0") + (outputs '("out" "doc")) + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/unordered-containers" + "/unordered-containers-" version ".tar.gz")) + (sha256 + (base32 + "0l4264p0av12cc6i8gls13q8y27x12z2ar4x34n3x59y99fcnc37")))) + (build-system haskell-build-system) + (inputs + `(("ghc-chasingbottoms" ,ghc-chasingbottoms) + ("ghc-hunit" ,ghc-hunit) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) + ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) + ("ghc-hashable" ,ghc-hashable))) + (home-page + "https://github.com/tibbe/unordered-containers") + (synopsis + "Efficient hashing-based container types") + (description + "Efficient hashing-based container types. The containers have been +optimized for performance critical use, both in terms of large data quantities +and high speed.") + (license license:bsd-3))) + +(define-public ghc-unordered-containers-bootstrap + (package + (inherit ghc-unordered-containers) + (name "ghc-unordered-containers-bootstrap") + (arguments `(#:tests? #f)) + (inputs + `(("ghc-hashable" ,ghc-hashable-bootstrap))) + (properties '(hidden? #t)))) + +(define-public ghc-uri-bytestring + (package + (name "ghc-uri-bytestring") + (version "0.3.2.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "uri-bytestring-" version "/" + "uri-bytestring-" version ".tar.gz")) + (sha256 + (base32 + "1q04j5ybvk37zk2m0bkjwyhblz0ymdj0cn4rvsvdca1ikn5xdv5c")))) + (build-system haskell-build-system) + (inputs `(("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-fail" ,ghc-fail) + ("ghc-blaze-builder" ,ghc-blaze-builder) + ("ghc-th-lift-instances" ,ghc-th-lift-instances))) + (native-inputs `(("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-hunit" ,ghc-hunit) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) + ("ghc-base-compat" ,ghc-base-compat) + ("ghc-quickcheck-instances" ,ghc-quickcheck-instances) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-generics-sop" ,ghc-generics-sop))) + (home-page "https://github.com/Soostone/uri-bytestring") + (synopsis "Haskell URI parsing as ByteStrings") + (description "This Haskell package aims to be an RFC3986 compliant URI +parser that uses ByteStrings for parsing and representing the URI data.") + (license license:bsd-3))) + +(define-public ghc-utf8-string + (package + (name "ghc-utf8-string") + (version "1.0.1.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/utf8-string/utf8-string-" + version + ".tar.gz")) + (sha256 + (base32 "0h7imvxkahiy8pzr8cpsimifdfvv18lizrb33k6mnq70rcx9w2zv")))) + (build-system haskell-build-system) + (arguments + `(#:cabal-revision + ("3" "02vhj5gykkqa2dyn7s6gn8is1b5fdn9xcqqvlls268g7cpv6rk38"))) + (home-page "https://github.com/glguy/utf8-string/") + (synopsis "Support for reading and writing UTF8 Strings") + (description + "A UTF8 layer for Strings. The utf8-string package provides operations +for encoding UTF8 strings to Word8 lists and back, and for reading and writing +UTF8 without truncation.") + (license license:bsd-3))) + +(define-public ghc-utility-ht + (package + (name "ghc-utility-ht") + (version "0.0.14") + (home-page "https://hackage.haskell.org/package/utility-ht") + (source + (origin + (method url-fetch) + (uri (string-append home-page "/utility-ht-" version ".tar.gz")) + (sha256 + (base32 "1a7bgk7wv7sqbxbiv7kankiimr3wij7zdm7s83zwsf886ghyxhk9")))) + (build-system haskell-build-system) + (inputs `(("ghc-quickcheck" ,ghc-quickcheck))) + (synopsis "Haskell helper functions for Lists, Maybes, Tuples, Functions") + (description "This package includes Hakell modules providing various +helper functions for Lists, Maybes, Tuples, Functions.") + (license license:bsd-3))) + +(define-public ghc-uuid + (package + (name "ghc-uuid") + (version "1.3.13") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "uuid-" version "/" + "uuid-" version ".tar.gz")) + (sha256 + (base32 + "09xhk42yhxvqmka0iqrv3338asncz8cap3j0ic0ps896f2581b6z")))) + (build-system haskell-build-system) + (arguments + `(#:cabal-revision + ("2" "0m185q62jkfb5jsv358nxbnrkv8y8hd0qqvgvh22wvc5g9ipz0r9") + #:phases + (modify-phases %standard-phases + (add-before 'configure 'strip-test-framework-constraints + (lambda _ + (substitute* "uuid.cabal" + (("HUnit >= 1\\.2 && < 1\\.4") "HUnit") + (("QuickCheck >= 2\\.4 && < 2\\.10") "QuickCheck") + (("tasty >= 0\\.10 && < 0\\.12") "tasty") + (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit") + (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck"))))))) + (inputs `(("ghc-cryptohash-sha1" ,ghc-cryptohash-sha1) + ("ghc-cryptohash-md5" ,ghc-cryptohash-md5) + ("ghc-entropy" ,ghc-entropy) + ("ghc-network-info" ,ghc-network-info) + ("ghc-random" ,ghc-random) + ("ghc-uuid-types" ,ghc-uuid-types))) + (native-inputs `(("ghc-hunit" ,ghc-hunit) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) + (home-page "https://github.com/hvr/uuid") + (synopsis "Haskell library to create, compare, parse, and print UUIDs") + (description "This Haskell library provides utilities creating, comparing, +parsing and printing @dfn{Universally Unique Identifiers} or UUIDs.") + (license license:bsd-3))) + +(define-public ghc-uuid-types + (package + (name "ghc-uuid-types") + (version "1.0.3") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "uuid-types-" version "/" + "uuid-types-" version ".tar.gz")) + (sha256 + (base32 + "1zdka5jnm1h6k36w3nr647yf3b5lqb336g3fkprhd6san9x52xlj")))) + (build-system haskell-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'strip-test-framework-constraints + (lambda _ + (substitute* "uuid-types.cabal" + (("HUnit >=1\\.2 && < 1\\.4") "HUnit") + (("QuickCheck >=2\\.4 && < 2\\.9") "QuickCheck") + (("tasty >= 0\\.10 && < 0\\.12") "tasty") + (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit") + (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck"))))))) + (inputs `(("ghc-hashable" ,ghc-hashable) + ("ghc-random" ,ghc-random))) + (native-inputs `(("ghc-hunit" ,ghc-hunit) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) + (home-page "https://github.com/hvr/uuid") + (synopsis "Haskell type definitions for UUIDs") + (description "This Haskell library contains type definitions for +@dfn{Universally Unique Identifiers} or +@uref{https://en.wikipedia.org/wiki/UUID, UUIDs}, and basic conversion +functions.") + (license license:bsd-3))) + +(define-public ghc-validation + (package + (name "ghc-validation") + (version "1") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://hackage/package/validation/validation-" + version + ".tar.gz")) + (sha256 + (base32 + "08drmdvyzg2frbb26icy1mlz52xv0l6gi3v8gb7xp0vrcci5libh")))) + (build-system haskell-build-system) + (arguments + `(#:cabal-revision + ("1" "1x1g4nannz81j1h64l1m3ancc96zc57d1bjhj1wk7bwn1xxbi5h3"))) + (inputs + `(("ghc-semigroups" ,ghc-semigroups) + ("ghc-semigroupoids" ,ghc-semigroupoids) + ("ghc-bifunctors" ,ghc-bifunctors) + ("ghc-lens" ,ghc-lens))) + (native-inputs + `(("ghc-hedgehog" ,ghc-hedgehog) + ("ghc-hunit" ,ghc-hunit))) + (home-page "https://github.com/qfpl/validation") + (synopsis + "Data-type like Either but with an accumulating Applicative") + (description + "A data-type like Either but with differing properties and type-class +instances. + +Library support is provided for this different representation, including +@code{lens}-related functions for converting between each and abstracting over +their similarities. + +The @code{Validation} data type is isomorphic to @code{Either}, but has an +instance of @code{Applicative} that accumulates on the error side. That is to +say, if two (or more) errors are encountered, they are appended using a +@{Semigroup} operation. + +As a consequence of this @code{Applicative} instance, there is no +corresponding @code{Bind} or @code{Monad} instance. @code{Validation} is an +example of, \"An applicative functor that is not a monad.\"") + (license license:bsd-3))) + +(define-public ghc-validity + (package + (name "ghc-validity") + (version "0.7.0.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/validity/validity-" + version + ".tar.gz")) + (sha256 + (base32 + "0xribw98amafihw87ddajk6vlirp7w9b26lrnjgq7jfm4710j95f")))) + (build-system haskell-build-system) + (native-inputs `(("ghc-hspec" ,ghc-hspec) + ("hspec-discover" ,hspec-discover))) + (home-page + "https://github.com/NorfairKing/validity") + (synopsis "Validity typeclass") + (description + "Values of custom types usually have invariants imposed upon them. This +package provides the @code{Validity} type class, which makes these invariants +explicit by providing a function to check whether the invariants hold.") + (license license:expat))) + +(define-public ghc-vault + (package + (name "ghc-vault") + (version "0.3.1.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/vault/vault-" + version + ".tar.gz")) + (sha256 + (base32 + "072mbrihsdsb8c6xvg6lvk0rqjgvxvi8qkg4n6wwym5hq0pfa04y")))) + (build-system haskell-build-system) + (inputs + `(("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-hashable" ,ghc-hashable) + ("ghc-semigroupoids" ,ghc-semigroupoids))) + (home-page + "https://github.com/HeinrichApfelmus/vault") + (synopsis "Persistent store for arbitrary values") + (description "This package provides vaults for Haskell. A vault is a +persistent store for values of arbitrary types. It's like having first-class +access to the storage space behind @code{IORefs}. The data structure is +analogous to a bank vault, where you can access different bank boxes with +different keys; hence the name. Also provided is a @code{locker} type, +representing a store for a single element.") + (license license:bsd-3))) + +(define-public ghc-vector + (package + (name "ghc-vector") + (version "0.12.0.1") + (outputs '("out" "doc")) + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/vector/vector-" + version + ".tar.gz")) + (sha256 + (base32 + "0yrx2ypiaxahvaz84af5bi855hd3107kxkbqc8km29nsp5wyw05i")))) + (build-system haskell-build-system) + ;; FIXME: To simplify upgrading all Haskell packages, we leave the tests + ;; disabled for now. + (arguments + `(#:cabal-revision + ("3" "0y5rh8k710i2a3p1h2rghvr5cfg78p5h0kbfi7ifxqqf6pzlyr1x") + #:tests? #f)) + (inputs + `(("ghc-primitive" ,ghc-primitive) + ("ghc-random" ,ghc-random) + ("ghc-quickcheck" ,ghc-quickcheck) + ;; ("ghc-hunit" ,ghc-hunit) + ;; ("ghc-test-framework" ,ghc-test-framework) + ;; ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) + ;; ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) + )) + (home-page "https://github.com/haskell/vector") + (synopsis "Efficient Arrays") + (description "This library provides an efficient implementation of +Int-indexed arrays (both mutable and immutable), with a powerful loop +optimisation framework.") + (license license:bsd-3))) + +(define-public ghc-vector-algorithms + (package + (name "ghc-vector-algorithms") + (version "0.7.0.4") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "vector-algorithms-" version "/" + "vector-algorithms-" version ".tar.gz")) + (sha256 + (base32 + "0mfa8ig9v69l41p2vb5jl4qmaln5y1rlzarr2mlgm8g1nvq8qqdg")))) + (build-system haskell-build-system) + (inputs + `(("ghc-vector" ,ghc-vector))) + (native-inputs + `(("ghc-quickcheck" ,ghc-quickcheck))) + (home-page "https://github.com/bos/math-functions") + (synopsis "Algorithms for vector arrays in Haskell") + (description "This Haskell library algorithms for vector arrays.") + (license license:bsd-3))) + +(define-public ghc-vector-binary-instances + (package + (name "ghc-vector-binary-instances") + (version "0.2.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/" + "vector-binary-instances/vector-binary-instances-" + version ".tar.gz")) + (sha256 + (base32 + "1y236jb72iab9ska1mc48z6yb0xgwmj45laaqdyjxksd84z7hbrb")))) + (build-system haskell-build-system) + (arguments + `(#:cabal-revision + ("1" "196frl4akhfk7xf1nxzn8lmq99dxhzhsimanswn9yy7ym8zhki4i"))) + (inputs + `(("ghc-vector" ,ghc-vector))) + (native-inputs + `(("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) + (home-page "https://github.com/bos/vector-binary-instances") + (synopsis "Instances of Data.Binary and Data.Serialize for vector") + (description "This library provides instances of @code{Binary} for the +types defined in the @code{vector} package, making it easy to serialize +vectors to and from disk. We use the generic interface to vectors, so all +vector types are supported. Specific instances are provided for unboxed, +boxed and storable vectors.") + (license license:bsd-3))) + +(define-public ghc-vector-builder + (package + (name "ghc-vector-builder") + (version "0.3.6") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "vector-builder-" version "/" + "vector-builder-" version ".tar.gz")) + (sha256 + (base32 + "06d2pa1fb3ydrl7l6rjazqyxv5i73v65x2f5fp0ypjxfbm6jsmn8")))) + (build-system haskell-build-system) + (inputs `(("ghc-vector" ,ghc-vector) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-base-prelude" ,ghc-base-prelude))) + (native-inputs `(("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) + ("ghc-hunit" ,ghc-hunit) + ("ghc-quickcheck-instances" ,ghc-quickcheck-instances) + ("ghc-rerebase" ,ghc-rerebase))) + (home-page "https://github.com/nikita-volkov/vector-builder") + (synopsis "Vector builder for Haskell") + (description "This Haskell package provides an API for constructing vectors. +It provides the composable @code{Builder} abstraction, which has instances of the +@code{Monoid} and @code{Semigroup} classes. + +You would first use the @code{Builder} abstraction to specify the structure of +the vector; then you can execute the builder to actually produce the +vector. ") + (license license:expat))) + +(define-public ghc-vector-th-unbox + (package + (name "ghc-vector-th-unbox") + (version "0.2.1.6") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "vector-th-unbox-" version "/" + "vector-th-unbox-" version ".tar.gz")) + (sha256 + (base32 + "0d82x55f5vvr1jvaia382m23rs690lg55pvavv8f4ph0y6kd91xy")))) + (build-system haskell-build-system) + (inputs + `(("ghc-vector" ,ghc-vector) + ("ghc-data-default" ,ghc-data-default))) + (home-page "https://github.com/liyang/vector-th-unbox") + (synopsis "Deriver for Data.Vector.Unboxed using Template Haskell") + (description "This Haskell library provides a Template Haskell +deriver for unboxed vectors, given a pair of coercion functions to +and from some existing type with an Unbox instance.") + (license license:bsd-3))) + +(define-public ghc-void + (package + (name "ghc-void") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/void/void-" + version + ".tar.gz")) + (sha256 + (base32 + "0aygw0yb1h3yhmfl3bkwh5d3h0l4mmsxz7j53vdm6jryl1kgxzyk")))) + (build-system haskell-build-system) + (inputs + `(("ghc-semigroups" ,ghc-semigroups) + ("ghc-hashable" ,ghc-hashable))) + (home-page "https://github.com/ekmett/void") + (synopsis + "Logically uninhabited data type") + (description + "A Haskell 98 logically uninhabited data type, used to indicate that a +given term should not exist.") + (license license:bsd-3))) + +(define-public ghc-wave + (package + (name "ghc-wave") + (version "0.1.5") + (source (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/wave/wave-" + version + ".tar.gz")) + (sha256 + (base32 + "03zycmwrchhqvi37fdvlzz2d1vl4hy0i8xyys1zznw38qfq0h2i5")))) + (build-system haskell-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-before 'configure 'update-constraints + (lambda _ + (substitute* "wave.cabal" + (("temporary.* < 1\\.3") + "temporary >= 1.1 && < 1.4"))))))) + (inputs + `(("ghc-cereal" ,ghc-cereal) + ("ghc-data-default-class" + ,ghc-data-default-class) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-temporary" ,ghc-temporary))) + (native-inputs + `(("hspec-discover" ,hspec-discover) + ("ghc-hspec" ,ghc-hspec))) + (home-page "https://github.com/mrkkrp/wave") + (synopsis "Work with WAVE and RF64 files in Haskell") + (description "This package allows you to work with WAVE and RF64 +files in Haskell.") + (license license:bsd-3))) + +(define-public ghc-wcwidth + (package + (name "ghc-wcwidth") + (version "0.0.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/wcwidth/wcwidth-" + version ".tar.gz")) + (sha256 + (base32 + "1n1fq7v64b59ajf5g50iqj9sa34wm7s2j3viay0kxpmvlcv8gipz")))) + (build-system haskell-build-system) + (inputs + `(("ghc-setlocale" ,ghc-setlocale) + ("ghc-utf8-string" ,ghc-utf8-string) + ("ghc-attoparsec" ,ghc-attoparsec))) + (home-page "https://github.com/solidsnack/wcwidth/") + (synopsis "Haskell bindings to wcwidth") + (description "This package provides Haskell bindings to your system's +native wcwidth and a command line tool to examine the widths assigned by it. +The command line tool can compile a width table to Haskell code that assigns +widths to the Char type.") + (license license:bsd-3))) + +(define-public ghc-wcwidth-bootstrap + (package + (inherit ghc-wcwidth) + (name "ghc-wcwidth-bootstrap") + (inputs + `(("ghc-setlocale" ,ghc-setlocale) + ("ghc-utf8-string" ,ghc-utf8-string) + ("ghc-attoparsec" ,ghc-attoparsec-bootstrap))) + (properties '(hidden? #t)))) + +(define-public ghc-weigh + (package + (name "ghc-weigh") + (version "0.0.12") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/weigh/" + "weigh-" version ".tar.gz")) + (sha256 + (base32 + "0zw2a997gxgdzqmd7j730kxgynzmjvvlkw84dajmfzf1v9pbij7x")))) + (build-system haskell-build-system) + (inputs + `(("ghc-split" ,ghc-split) + ("ghc-temporary" ,ghc-temporary))) + (home-page "https://github.com/fpco/weigh#readme") + (synopsis "Measure allocations of a Haskell functions/values") + (description "This package provides tools to measure the memory usage of a +Haskell value or function.") + (license license:bsd-3))) + +(define-public ghc-wl-pprint + (package + (name "ghc-wl-pprint") + (version "1.2.1") + (source (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/wl-pprint/wl-pprint-" + version ".tar.gz")) + (sha256 + (base32 + "0kn7y8pdrv8f87zhd5mifcl8fy3b2zvnzmzwhdqhxxlyzwiq6z0c")))) + (build-system haskell-build-system) + (home-page "https://hackage.haskell.org/package/wl-pprint") + (synopsis "Wadler/Leijen pretty printer") + (description + "This is a pretty printing library based on Wadler's paper @i{A Prettier +Printer}. This version allows the library user to declare overlapping +instances of the @code{Pretty} class.") + (license license:bsd-3))) + +(define-public ghc-wl-pprint-annotated + (package + (name "ghc-wl-pprint-annotated") + (version "0.1.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://hackage/package/wl-pprint-annotated/wl-pprint-annotated-" + version + ".tar.gz")) + (sha256 + (base32 + "1br7qyf27iza213inwhf9bm2k6in0zbmfw6w4clqlc9f9cj2nrkb")))) + (build-system haskell-build-system) + (native-inputs + `(("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hunit" ,ghc-tasty-hunit))) + (home-page + "https://github.com/minad/wl-pprint-annotated#readme") + (synopsis + "Wadler/Leijen pretty printer with annotation support") + (description + "Annotations are useful for coloring. This is a limited version of +@code{wl-pprint-extras} without support for point effects and without the free +monad. Like in @code{annotated-wl-pprint}, only annotations are supported. +Compared to @code{annotated-wl-pprint} this library provides a slightly +modernized interface.") + (license license:bsd-3))) + +(define-public ghc-wl-pprint-text + (package + (name "ghc-wl-pprint-text") + (version "1.2.0.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/wl-pprint-text/wl-pprint-text-" + version ".tar.gz")) + (sha256 + (base32 + "0g3w92rad6x5appfb22rbzcas2ix2h0hy91sdxhq8a4a5cnlrpa0")))) + (build-system haskell-build-system) + (inputs + `(("ghc-base-compat" ,ghc-base-compat))) + (home-page "https://hackage.haskell.org/package/wl-pprint-text") + (synopsis "Wadler/Leijen Pretty Printer for Text values") + (description + "A clone of wl-pprint for use with the text library.") + (license license:bsd-3))) + +(define-public ghc-word8 + (package + (name "ghc-word8") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/word8/word8-" + version + ".tar.gz")) + (sha256 + (base32 + "12jx7f13d2h1djq4fh4dyrab61sm49mj1w61j3rzp2vjfm696c16")))) + (build-system haskell-build-system) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("hspec-discover" ,hspec-discover))) + (home-page "https://hackage.haskell.org/package/word8") + (synopsis "Word8 library for Haskell") + (description "Word8 library to be used with @code{Data.ByteString}.") + (license license:bsd-3))) + +(define-public ghc-x11 + (package + (name "ghc-x11") + (version "1.9") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/X11/" + "X11-" version ".tar.gz")) + (sha256 + (base32 "1f8dy6ckkyvpcv7zlniyv01cqjb9lgqscm8pml58cvwc7n38w4qh")))) + (build-system haskell-build-system) + (inputs + `(("libx11" ,libx11) + ("libxrandr" ,libxrandr) + ("libxinerama" ,libxinerama) + ("libxscrnsaver" ,libxscrnsaver) + ("ghc-data-default" ,ghc-data-default))) + (home-page "https://github.com/haskell-pkg-janitors/X11") + (synopsis "Bindings to the X11 graphics library") + (description + "This package provides Haskell bindings to the X11 graphics library. The +bindings are a direct translation of the C bindings.") + (license license:bsd-3))) + +(define-public ghc-x11-xft + (package + (name "ghc-x11-xft") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/X11-xft/" + "X11-xft-" version ".tar.gz")) + (sha256 + (base32 "1lgqb0s2qfwwgbvwxhjbi23rbwamzdi0l0slfr20c3jpcbp3zfjf")))) + (inputs + `(("ghc-x11" ,ghc-x11) + ("ghc-utf8-string" ,ghc-utf8-string) + ("libx11" ,libx11) + ("libxft" ,libxft) + ("xorgproto" ,xorgproto))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (build-system haskell-build-system) + (home-page "https://hackage.haskell.org/package/X11-xft") + (synopsis "Bindings to Xft") + (description + "Bindings to the Xft, X Free Type interface library, and some Xrender +parts.") + (license license:lgpl2.1))) + +(define-public ghc-xdg-basedir + (package + (name "ghc-xdg-basedir") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/xdg-basedir/" + "xdg-basedir-" version ".tar.gz")) + (sha256 + (base32 + "0azlzaxp2dn4l1nr7shsxah2magk1szf6fx0mv75az00qsjw6qg4")))) + (build-system haskell-build-system) + (home-page "http://github.com/willdonnelly/xdg-basedir") + (synopsis "XDG Base Directory library for Haskell") + (description "This package provides a library implementing the XDG Base Directory spec.") + (license license:bsd-3))) + +(define-public ghc-xml + (package + (name "ghc-xml") + (version "1.3.14") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/xml/xml-" + version + ".tar.gz")) + (sha256 + (base32 + "0g814lj7vaxvib2g3r734221k80k7ap9czv9hinifn8syals3l9j")))) + (build-system haskell-build-system) + (home-page "http://code.galois.com") + (synopsis "Simple XML library for Haskell") + (description "This package provides a simple XML library for Haskell.") + (license license:bsd-3))) + +(define-public ghc-xml-conduit + (package + (name "ghc-xml-conduit") + (version "1.8.0.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/xml-conduit/" + "xml-conduit-" version ".tar.gz")) + (sha256 + (base32 + "177gmyigxql1pn3ncz0r8annwv5cbxnihbgrrg1dhm4gmc9jy2wq")))) + (build-system haskell-build-system) + (inputs + `(("ghc-conduit" ,ghc-conduit) + ("ghc-conduit-extra" ,ghc-conduit-extra) + ("ghc-doctest" ,ghc-doctest) + ("ghc-resourcet" ,ghc-resourcet) + ("ghc-xml-types" ,ghc-xml-types) + ("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-data-default-class" ,ghc-data-default-class) + ("ghc-blaze-markup" ,ghc-blaze-markup) + ("ghc-blaze-html" ,ghc-blaze-html) + ("ghc-monad-control" ,ghc-monad-control) + ("ghc-hspec" ,ghc-hspec) + ("ghc-hunit" ,ghc-hunit))) + (home-page "https://github.com/snoyberg/xml") + (synopsis "Utilities for dealing with XML with the conduit package") + (description + "This package provides pure-Haskell utilities for dealing with XML with +the @code{conduit} package.") + (license license:expat))) + +(define-public ghc-xml-types + (package + (name "ghc-xml-types") + (version "0.3.6") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/xml-types/" + "xml-types-" version ".tar.gz")) + (sha256 + (base32 + "1jgqxsa9p2q3h6nymbfmvhldqrqlwrhrzmwadlyc0li50x0d8dwr")))) + (build-system haskell-build-system) + (home-page "https://john-millikin.com/software/haskell-xml/") + (synopsis "Basic types for representing XML") + (description "This package provides basic types for representing XML +documents.") + (license license:expat))) + +(define-public ghc-yaml + (package + (name "ghc-yaml") + (version "0.8.32") + (source (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "yaml/yaml-" version ".tar.gz")) + (sha256 + (base32 + "0cbsyh4ilvjzq1q7pxls43k6pdqxg1l85xzibcwpbvmlvrizh86w")))) + (build-system haskell-build-system) + ;; The tests are broken on i686. They are fixed in 0.10.3.0. + ;; See https://github.com/snoyberg/yaml/issues/158 + (arguments `(#:tests? #f)) + (inputs + `(("ghc-conduit" ,ghc-conduit) + ("ghc-resourcet" ,ghc-resourcet) + ("ghc-aeson" ,ghc-aeson) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-vector" ,ghc-vector) + ("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-scientific" ,ghc-scientific) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-temporary" ,ghc-temporary) + ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions) + ("ghc-base-compat" ,ghc-base-compat))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("ghc-hunit" ,ghc-hunit) + ("hspec-discover" ,hspec-discover) + ("ghc-mockery" ,ghc-mockery))) + (home-page "https://github.com/snoyberg/yaml/") + (synopsis "Parsing and rendering YAML documents") + (description + "This package provides a library to parse and render YAML documents.") + (license license:bsd-3))) + +(define-public ghc-zip-archive + (package + (name "ghc-zip-archive") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/zip-archive/zip-archive-" + version + ".tar.gz")) + (sha256 + (base32 + "0kf8xyac168bng8a0za2jwrbss7a4ralvci9g54hnvl0gkkxx2lq")))) + (build-system haskell-build-system) + (inputs + `(("ghc-digest" ,ghc-digest) + ("ghc-temporary" ,ghc-temporary) + ("ghc-zlib" ,ghc-zlib))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("unzip" ,unzip))) + (home-page "https://hackage.haskell.org/package/zip-archive") + (synopsis "Zip archive library for Haskell") + (description "The zip-archive library provides functions for creating, +modifying, and extracting files from zip archives in Haskell.") + (license license:bsd-3))) + +(define-public ghc-zlib + (package + (name "ghc-zlib") + (version "0.6.2") + (outputs '("out" "doc")) + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/zlib/zlib-" + version + ".tar.gz")) + (sha256 + (base32 + "1vbzf0awb6zb456xf48za1kl22018646cfzq4frvxgb9ay97vk0d")))) + (build-system haskell-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'strip-test-framework-constraints + (lambda _ + (substitute* "zlib.cabal" + (("tasty >= 0\\.8 && < 0\\.12") "tasty") + (("tasty-hunit >= 0\\.8 && < 0\\.10") "tasty-hunit") + (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck"))))))) + (inputs `(("zlib" ,zlib))) + (native-inputs + `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) + (home-page "https://hackage.haskell.org/package/zlib") + (synopsis + "Compression and decompression in the gzip and zlib formats") + (description + "This package provides a pure interface for compressing and decompressing +streams of data represented as lazy @code{ByteString}s. It uses the zlib C +library so it has high performance. It supports the @code{zlib}, @code{gzip} +and @code{raw} compression formats. It provides a convenient high level API +suitable for most tasks and for the few cases where more control is needed it +provides access to the full zlib feature set.") (license license:bsd-3))) (define-public ghc-zlib-bindings diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index cffa7e8ed7..4d16cd656f 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -39,44 +39,23 @@ #:use-module (gnu packages) #:use-module (gnu packages base) #:use-module (gnu packages bootstrap) - #:use-module (gnu packages check) - #:use-module (gnu packages compression) #:use-module (gnu packages elf) - #:use-module (gnu packages emacs) #:use-module (gnu packages gcc) #:use-module (gnu packages ghostscript) - #:use-module (gnu packages gl) - #:use-module (gnu packages graphviz) - #:use-module (gnu packages gtk) - #:use-module (gnu packages haskell-apps) - #:use-module (gnu packages haskell-check) - #:use-module (gnu packages haskell-crypto) - #:use-module (gnu packages haskell-web) #:use-module (gnu packages libffi) - #:use-module (gnu packages linux) #:use-module (gnu packages lisp) - #:use-module (gnu packages lua) - #:use-module (gnu packages maths) #:use-module (gnu packages multiprecision) #:use-module (gnu packages ncurses) - #:use-module (gnu packages pcre) #:use-module (gnu packages perl) - #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) - #:use-module (gnu packages sdl) - #:use-module (gnu packages tls) - #:use-module (gnu packages xml) - #:use-module (gnu packages xorg) #:use-module (guix build-system gnu) - #:use-module (guix build-system haskell) #:use-module (guix download) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix utils) #:use-module (ice-9 match) - #:use-module (ice-9 regex) - #:use-module ((srfi srfi-1) #:select (alist-delete))) + #:use-module (ice-9 regex)) (define-public cl-yale-haskell (let ((commit "85f94c72a16c5f70301dd8db04cde9de2d7dd270") @@ -623,11057 +602,4 @@ interactive environment for the functional language Haskell.") (define-public ghc ghc-8) -(define-public ghc-hostname - (package - (name "ghc-hostname") - (version "1.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/hostname/" - "hostname-" version ".tar.gz")) - (sha256 - (base32 - "0p6gm4328946qxc295zb6vhwhf07l1fma82vd0siylnsnsqxlhwv")))) - (build-system haskell-build-system) - (home-page "https://hackage.haskell.org/package/hostname") - (synopsis "Hostname in Haskell") - (description "Network.HostName is a simple package providing a means to -determine the hostname.") - (license license:bsd-3))) - -(define-public ghc-convertible - (package - (name "ghc-convertible") - (version "1.1.1.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/convertible/" - "convertible-" version ".tar.gz")) - (sha256 - (base32 - "0v18ap1mccnndgxmbfgyjdicg8jlss01bd5fq8a576dr0h4sgyg9")))) - (build-system haskell-build-system) - (inputs - `(("ghc-old-time" ,ghc-old-time) - ("ghc-old-locale" ,ghc-old-locale))) - (home-page "https://hackage.haskell.org/package/convertible") - (synopsis "Typeclasses and instances for converting between types") - (description - "This package provides a typeclass with a single function that is -designed to help convert between different types: numeric values, dates and -times, and the like. The conversions perform bounds checking and return a -pure @code{Either} value. This means that you need not remember which specific -function performs the conversion you desire.") - (license license:bsd-3))) - -(define-public ghc-double-conversion - (package - (name "ghc-double-conversion") - (version "2.0.2.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "double-conversion/double-conversion-" - version ".tar.gz")) - (sha256 - (base32 - "0sx2kc1gw72mjvd8vph8bbjw5whfxfv92rsdhjg1c0al75rf3ka4")))) - (build-system haskell-build-system) - (native-inputs - `(("ghc-hunit" ,ghc-hunit) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) - ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) - (home-page "https://github.com/bos/double-conversion") - (synopsis "Fast conversion between double precision floating point and text") - (description - "This package provides a library that performs fast, accurate conversion -between double precision floating point and text.") - (license license:bsd-3))) - -(define-public ghc-libxml - (package - (name "ghc-libxml") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/libxml/" - "libxml-" version ".tar.gz")) - (sha256 - (base32 - "01zvk86kg726lf2vnlr7dxiz7g3xwi5a4ak9gcfbwyhynkzjmsfi")))) - (build-system haskell-build-system) - (inputs - `(("libxml2" ,libxml2))) - (arguments - `(#:configure-flags - `(,(string-append "--extra-include-dirs=" - (assoc-ref %build-inputs "libxml2") - "/include/libxml2")))) - (home-page "https://hackage.haskell.org/package/libxml") - (synopsis "Haskell bindings to libxml2") - (description - "This library provides minimal Haskell binding to libxml2.") - (license license:bsd-3))) - -(define-public ghc-prelude-extras - (package - (name "ghc-prelude-extras") - (version "0.4.0.3") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/prelude-extras/prelude-extras-" - version - ".tar.gz")) - (sha256 - (base32 - "0xzqdf3nl2h0ra4gnslm1m1nsxlsgc0hh6ky3vn578vh11zhifq9")))) - (build-system haskell-build-system) - (home-page "https://github.com/ekmett/prelude-extras") - (synopsis "Higher order versions of Prelude classes") - (description "This library provides higher order versions of -@code{Prelude} classes to ease programming with polymorphic recursion and -reduce @code{UndecidableInstances}.") - (license license:bsd-3))) - -(define-public ghc-data-default - (package - (name "ghc-data-default") - (version "0.7.1.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/data-default/data-default-" - version - ".tar.gz")) - (sha256 - (base32 "04d5n8ybmcxba9qb6h389w9zfq1lvj81b82jh6maqp6pkhkmvydh")))) - (build-system haskell-build-system) - (inputs - `(("ghc-data-default-class" - ,ghc-data-default-class) - ("ghc-data-default-instances-base" - ,ghc-data-default-instances-base) - ("ghc-data-default-instances-containers" - ,ghc-data-default-instances-containers) - ("ghc-data-default-instances-dlist" - ,ghc-data-default-instances-dlist) - ("ghc-data-default-instances-old-locale" - ,ghc-data-default-instances-old-locale))) - (home-page "https://hackage.haskell.org/package/data-default") - (synopsis "Types with default values") - (description - "This package defines a class for types with a default value, and -provides instances for types from the base, containers, dlist and old-locale -packages.") - (license license:bsd-3))) - -(define-public ghc-data-default-class - (package - (name "ghc-data-default-class") - (version "0.1.2.0") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/data-default-class/" - "data-default-class-" version ".tar.gz")) - (sha256 - (base32 "0miyjz8d4jyvqf2vp60lyfbnflx6cj2k8apmm9ly1hq0y0iv80ag")))) - (build-system haskell-build-system) - (home-page "https://hackage.haskell.org/package/data-default-class") - (synopsis "Types with default values") - (description - "This package defines a class for types with default values.") - (license license:bsd-3))) - -(define-public ghc-data-default-instances-base - (package - (name "ghc-data-default-instances-base") - (version "0.1.0.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/" - "data-default-instances-base/" - "data-default-instances-base-" version ".tar.gz")) - (sha256 - (base32 "0ym1sw3ssdzzifxxhh76qlv8kkmb2iclc158incv1dklyr9y8kw4")))) - (build-system haskell-build-system) - (inputs - `(("ghc-data-default-class" ,ghc-data-default-class))) - (home-page "https://hackage.haskell.org/package/data-default-instances-base") - (synopsis "Default instances for types in base") - (description - "This package provides default instances for types from the base -package.") - (license license:bsd-3))) - -(define-public ghc-data-default-instances-containers - (package - (name "ghc-data-default-instances-containers") - (version "0.0.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/" - "data-default-instances-containers/" - "data-default-instances-containers-" version ".tar.gz")) - (sha256 - (base32 "06h8xka031w752a7cjlzghvr8adqbl95xj9z5zc1b62w02phfpm5")))) - (build-system haskell-build-system) - (inputs - `(("ghc-data-default-class" ,ghc-data-default-class))) - (home-page "https://hackage.haskell.org/package/data-default-instances-containers") - (synopsis "Default instances for types in containers") - (description "Provides default instances for types from the containers -package.") - (license license:bsd-3))) - -(define-public ghc-data-default-instances-dlist - (package - (name "ghc-data-default-instances-dlist") - (version "0.0.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/" - "data-default-instances-dlist/" - "data-default-instances-dlist-" version ".tar.gz")) - (sha256 - (base32 "0narkdqiprhgayjiawrr4390h4rq4pl2pb6mvixbv2phrc8kfs3x")))) - (build-system haskell-build-system) - (inputs - `(("ghc-data-default-class" ,ghc-data-default-class) - ("ghc-dlist" ,ghc-dlist))) - (home-page "https://hackage.haskell.org/package/data-default-instances-dlist") - (synopsis "Default instances for types in dlist") - (description "Provides default instances for types from the dlist -package.") - (license license:bsd-3))) - -(define-public ghc-code-page - (package - (name "ghc-code-page") - (version "0.1.3") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/code-page/code-page-" - version ".tar.gz")) - (sha256 - (base32 - "1491frk4jx6dlhifky9dvcxbsbcfssrz979a5hp5zn061rh8cp76")))) - (build-system haskell-build-system) - (home-page "https://github.com/RyanGlScott/code-page") - (synopsis "Windows code page library for Haskell") - (description "A cross-platform library with functions for adjusting -code pages on Windows. On all other operating systems, the library does -nothing.") - (license license:bsd-3))) - -(define-public ghc-libffi - (package - (name "ghc-libffi") - (version "0.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "libffi/libffi-" version ".tar.gz")) - (sha256 - (base32 - "0g7jnhng3j7z5517aaqga0144aamibsbpgm3yynwyfzkq1kp0f28")))) - (build-system haskell-build-system) - (native-inputs `(("pkg-config" ,pkg-config))) - (inputs `(("libffi" ,libffi))) - (home-page "http://hackage.haskell.org/package/libffi") - (synopsis "Haskell binding to libffi") - (description - "A binding to libffi, allowing C functions of types only known at runtime -to be called from Haskell.") - (license license:bsd-3))) - -(define-public ghc-newtype-generics - (package - (name "ghc-newtype-generics") - (version "0.5.3") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "newtype-generics/newtype-generics-" - version ".tar.gz")) - (sha256 - (base32 - "0igyisw2djg19v9vkna1rwf47k97mvkvk4bbkmswznvbm00z15gj")))) - (build-system haskell-build-system) - (native-inputs - `(("ghc-hspec" ,ghc-hspec) - ("hspec-discover" ,hspec-discover))) - (home-page "http://github.com/sjakobi/newtype-generics") - (synopsis "Typeclass and set of functions for working with newtypes") - (description "The @code{Newtype} typeclass represents the packing and -unpacking of a newtype, and allows you to operate under that newtype with -functions such as @code{ala}. Generics support was added in version 0.4, -making this package a full replacement for the original newtype package, -and an alternative to newtype-th.") - (license license:bsd-3))) - -(define-public ghc-memotrie - (package - (name "ghc-memotrie") - (version "0.6.9") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/MemoTrie/MemoTrie-" - version - ".tar.gz")) - (sha256 - (base32 - "157p0pi6rrq74a35mq6zkkycv4ah7xhkbrcmnkb9xf7pznw4aq0x")))) - (build-system haskell-build-system) - (inputs - `(("ghc-newtype-generics" ,ghc-newtype-generics))) - (home-page "https://github.com/conal/MemoTrie") - (synopsis "Trie-based memo functions") - (description "This package provides a functional library for creating -efficient memo functions using tries.") - (license license:bsd-3))) - -(define-public ghc-tree-diff - (package - (name "ghc-tree-diff") - (version "0.0.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/tree-diff/tree-diff-" - version - ".tar.gz")) - (sha256 - (base32 - "049v44c520jy3icxlnrvbdblh3mjmvd7m6qmkzxbzkf02x63xqmz")))) - (build-system haskell-build-system) - (arguments - `(#:cabal-revision - ("4" "1rqxxyj6hqllahs11693g855cxz8mgnb490s7j1ksd300i5xgjsp") - #:phases - (modify-phases %standard-phases - (add-before 'configure 'update-constraints - (lambda _ - (substitute* "tree-diff.cabal" - (("trifecta >=1\\.7\\.1\\.1 && <1\\.8") - "trifecta >=1.7.1.1 && <=2"))))))) - (inputs - `(("ghc-aeson" ,ghc-aeson) - ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint) - ("ghc-ansi-terminal" ,ghc-ansi-terminal) - ("ghc-base-compat" ,ghc-base-compat) - ("ghc-generics-sop" ,ghc-generics-sop) - ("ghc-hashable" ,ghc-hashable) - ("ghc-memotrie" ,ghc-memotrie) - ("ghc-parsers" ,ghc-parsers) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-scientific" ,ghc-scientific) - ("ghc-tagged" ,ghc-tagged) - ("ghc-unordered-containers" ,ghc-unordered-containers) - ("ghc-uuid-types" ,ghc-uuid-types) - ("ghc-vector" ,ghc-vector))) - (native-inputs - `(("ghc-base-compat" ,ghc-base-compat) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-ansi-terminal" ,ghc-ansi-terminal) - ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint) - ("ghc-trifecta" ,ghc-trifecta) - ("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-golden" ,ghc-tasty-golden) - ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) - (home-page "https://github.com/phadej/tree-diff") - (synopsis "Compute difference between (expression) trees") - (description "This Haskell library provides a function for computing -the difference between (expression) trees. It also provides a way to -compute the difference between arbitrary abstract datatypes (ADTs) using -@code{Generics}-derivable helpers.") - (license license:bsd-3))) - -(define-public ghc-haddock-library - (package - (name "ghc-haddock-library") - (version "1.5.0.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/haddock-library/haddock-library-" - version - ".tar.gz")) - (sha256 - (base32 - "1cmbg8l5xrwpliclwy3l057raypjqy0hsg1h1743ahaj8gq10b7z")) - (patches (search-patches - "ghc-haddock-library-unbundle.patch")) - (modules '((guix build utils))) - (snippet '(begin - (delete-file-recursively "vendor") - #t)))) - (build-system haskell-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'configure 'relax-test-suite-dependencies - (lambda _ - (substitute* "haddock-library.cabal" - (("base-compat\\s*\\^>= 0\\.9\\.3") "base-compat") - (("hspec\\s*\\^>= 2\\.4\\.4") "hspec")))) - ;; The release tarball does not contain the "fixtures/examples" - ;; directory, which is required for testing. In the upstream - ;; repository, the directory exists and is populated. Here, we - ;; create an empty directory to placate the tests. - (add-before 'check 'add-examples-directory - (lambda _ - (mkdir "fixtures/examples") - #t))))) - (native-inputs - `(("ghc-base-compat" ,ghc-base-compat) - ("ghc-hspec" ,ghc-hspec) - ("ghc-optparse-applicative" ,ghc-optparse-applicative) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-tree-diff" ,ghc-tree-diff) - ("hspec-discover" ,hspec-discover))) - (home-page "https://www.haskell.org/haddock/") - (synopsis "Library exposing some functionality of Haddock") - (description - "Haddock is a documentation-generation tool for Haskell libraries. These -modules expose some functionality of it without pulling in the GHC dependency. -Please note that the API is likely to change so specify upper bounds in your -project if you can't release often. For interacting with Haddock itself, see -the ‘haddock’ package.") - (license license:bsd-3))) - -(define-public ghc-haddock-api - (package - (name "ghc-haddock-api") - (version "2.19.0.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/haddock-api/haddock-api-" - version - ".tar.gz")) - (sha256 - (base32 - "0c6i7sljp7myz25d90gyw68a90i5jcrkajkxcciikp2hjirfaas3")))) - (build-system haskell-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'configure 'update-constraints - (lambda _ - (substitute* "haddock-api.cabal" - (("Cabal \\^>= 2\\.0\\.0") - "Cabal ^>= 2.2.0") - (("hspec \\^>= 2\\.4\\.4") - "hspec >= 2.4.4 && < 2.6"))))))) - (inputs - `(("ghc-paths" ,ghc-paths) - ("ghc-haddock-library" ,ghc-haddock-library))) - (native-inputs - `(("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-hspec" ,ghc-hspec) - ("hspec-discover" ,hspec-discover))) - (home-page "https://www.haskell.org/haddock/") - (synopsis "API for documentation-generation tool Haddock") - (description "This package provides an API to Haddock, the -documentation-generation tool for Haskell libraries.") - (license license:bsd-3))) - -(define-public ghc-haddock - (package - (name "ghc-haddock") - (version "2.19.0.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/haddock/haddock-" - version - ".tar.gz")) - (sha256 - (base32 - "1g1j9j0hf2yhyyh0gwz6bzbvfvliqz9x8a8hnkmwghm7w3xa6sb7")))) - (build-system haskell-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - ;; There are four test suites that require the ghc-haddock-test - ;; package, which no longer builds with GHC 8.4.3. This phase - ;; removes these four test suites from the Cabal file, so that we - ;; do not need ghc-haddock-test as an input. - (add-before 'configure 'remove-haddock-test-test-suites - (lambda _ - (use-modules (ice-9 rdelim)) - (with-atomic-file-replacement "haddock.cabal" - (lambda (in out) - (let loop ((line (read-line in 'concat)) (deleting? #f)) - (cond - ((eof-object? line) #t) - ((string-every char-set:whitespace line) - (unless deleting? (display line out)) - (loop (read-line in 'concat) #f)) - ((member line '("test-suite html-test\n" - "test-suite hypsrc-test\n" - "test-suite latex-test\n" - "test-suite hoogle-test\n")) - (loop (read-line in 'concat) #t)) - (else - (unless deleting? (display line out)) - (loop (read-line in 'concat) deleting?))))))))))) - (inputs `(("ghc-haddock-api" ,ghc-haddock-api))) - (native-inputs - `(("ghc-hspec" ,ghc-hspec))) - (home-page "https://www.haskell.org/haddock/") - (synopsis - "Documentation-generation tool for Haskell libraries") - (description - "Haddock is a documentation-generation tool for Haskell libraries.") - (license license:bsd-3))) - -(define-public ghc-simple-reflect - (package - (name "ghc-simple-reflect") - (version "0.3.3") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/simple-reflect/simple-reflect-" - version - ".tar.gz")) - (sha256 - (base32 - "0ayvrx5cm8n6db21jiyjmk5h93pw7cz1707hih09hlhk9jh5x0h7")))) - (build-system haskell-build-system) - (home-page - "https://twanvl.nl/blog/haskell/simple-reflection-of-expressions") - (synopsis - "Simple reflection of expressions containing variables") - (description - "This package allows simple reflection of expressions containing -variables. Reflection here means that a Haskell expression is turned into a -string. The primary aim of this package is teaching and understanding; there -are no options for manipulating the reflected expressions beyond showing -them.") - (license license:bsd-3))) - -(define-public ghc-haskell-src - (package - (name "ghc-haskell-src") - (version "1.0.3.0") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/haskell-src/haskell-src-" - version - ".tar.gz")) - (sha256 - (base32 - "1g4dj1f0j68bhn4ixfac63wjzy6gsp6kwgxryb1k5nl3i0g99d5l")))) - (build-system haskell-build-system) - (inputs - `(("ghc-happy" ,ghc-happy) - ("ghc-syb" ,ghc-syb))) - (home-page - "https://hackage.haskell.org/package/haskell-src") - (synopsis - "Support for manipulating Haskell source code") - (description - "The @code{haskell-src} package provides support for manipulating Haskell -source code. The package provides a lexer, parser and pretty-printer, and a -definition of a Haskell abstract syntax tree (AST). Common uses of this -package are to parse or generate Haskell 98 code.") - (license license:bsd-3))) - -(define-public ghc-alex - (package - (name "ghc-alex") - (version "3.2.4") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/alex/alex-" - version - ".tar.gz")) - (sha256 - (base32 - "0cpjixgsr0b2x4s6hz4aa6gnmjw9i7xd9nlfi8m37zqlidq4v3nm")))) - (build-system haskell-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'check 'set-check-variables - (lambda _ - (setenv "PATH" (string-append (getcwd) "/dist/build/alex:" - (getenv "PATH"))) - (setenv "alex_datadir" (string-append (getcwd) "/data")) - #t))))) - (inputs `(("ghc-quickcheck" ,ghc-quickcheck))) - (native-inputs - `(("which" ,which))) - (home-page "https://www.haskell.org/alex/") - (synopsis - "Tool for generating lexical analysers in Haskell") - (description - "Alex is a tool for generating lexical analysers in Haskell. It takes a -description of tokens based on regular expressions and generates a Haskell -module containing code for scanning text efficiently. It is similar to the -tool lex or flex for C/C++.") - (license license:bsd-3))) - -(define-public ghc-cgi - (package - (name "ghc-cgi") - (version "3001.3.0.2") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/cgi/cgi-" - version - ".tar.gz")) - (sha256 - (base32 - "1hbpplss1m4rdpm4ibip6fpimlhssqa14fl338kl2jbc463i64cj")))) - (build-system haskell-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'configure 'update-constraints - (lambda _ - (substitute* "cgi.cabal" - (("exceptions < 0\\.9") - "exceptions < 0.11") - (("time >= 1\\.5 && < 1\\.7") - "time >= 1.5 && < 1.9") - (("doctest >= 0\\.8 && < 0\\.12") - "doctest >= 0.8 && < 0.17") - (("QuickCheck >= 2\\.8\\.1 && < 2\\.10") - "QuickCheck >= 2.8.1 && < 2.12"))))))) - (inputs - `(("ghc-exceptions" ,ghc-exceptions) - ("ghc-multipart" ,ghc-multipart) - ("ghc-network-uri" ,ghc-network-uri) - ("ghc-network" ,ghc-network))) - (native-inputs - `(("ghc-doctest" ,ghc-doctest) - ("ghc-quickcheck" ,ghc-quickcheck))) - (home-page - "https://github.com/cheecheeo/haskell-cgi") - (synopsis "Library for writing CGI programs") - (description - "This is a Haskell library for writing CGI programs.") - (license license:bsd-3))) - -(define-public ghc-cmdargs - (package - (name "ghc-cmdargs") - (version "0.10.20") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/cmdargs/cmdargs-" - version ".tar.gz")) - (sha256 - (base32 - "0cbkmgrcnwgigg6z88y3c09gm7g6dwm7gzbgr53h8k1xik29s9hf")))) - (build-system haskell-build-system) - (home-page - "http://community.haskell.org/~ndm/cmdargs/") - (synopsis "Command line argument processing") - (description - "This library provides an easy way to define command line parsers.") - (license license:bsd-3))) - -(define-public ghc-concatenative - (package - (name "ghc-concatenative") - (version "1.0.1") - (source (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/concatenative/concatenative-" - version ".tar.gz")) - (sha256 - (base32 - "05xwqvcdnk8bsyj698ab9jxpa1nk23pf3m7wi9mwmw0q8n99fngd")))) - (build-system haskell-build-system) - (home-page - "https://patch-tag.com/r/salazar/concatenative/snapshot/current/content/pretty") - (synopsis "Library for postfix control flow") - (description - "Concatenative gives Haskell Factor-style combinators and arrows for -postfix notation. For more information on stack based languages, see -@uref{https://concatenative.org}.") - (license license:bsd-3))) - -(define-public ghc-happy - (package - (name "ghc-happy") - (version "1.19.9") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/happy/happy-" - version - ".tar.gz")) - (sha256 - (base32 - "138xpxdb7x62lpmgmb6b3v3vgdqqvqn4273jaap3mjmc2gla709y")))) - (build-system haskell-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'skip-test-issue93 - (lambda _ - ;; Tests run out of memory on a system with 2GB of available RAM, - ;; in 'issue93.a.hs' and 'issue93.n.hs'. - (substitute* "tests/Makefile" - ((" issue93.y ") " ")) - #t))))) - (home-page "https://hackage.haskell.org/package/happy") - (synopsis "Parser generator for Haskell") - (description "Happy is a parser generator for Haskell. Given a grammar -specification in BNF, Happy generates Haskell code to parse the grammar. -Happy works in a similar way to the yacc tool for C.") - (license license:bsd-3))) - -(define-public ghc-haskell-lexer - (package - (name "ghc-haskell-lexer") - (version "1.0.2") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/haskell-lexer/haskell-lexer-" - version ".tar.gz")) - (sha256 - (base32 "1wyxd8x33x4v5vxyzkhm610pl86gbkc8y439092fr1735q9g7kfq")))) - (build-system haskell-build-system) - (home-page "http://hackage.haskell.org/package/haskell-lexer") - (synopsis "Fully compliant Haskell 98 lexer") - (description - "This package provides a fully compliant Haskell 98 lexer.") - (license license:bsd-3))) - -(define-public ghc-pretty-show - (package - (name "ghc-pretty-show") - (version "1.7") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/pretty-show/" - "pretty-show-" version ".tar.gz")) - (sha256 - (base32 - "0br7pkxqqqhby2j2v1g847lgqsrasx56g1jw3dhmjh4flzs6warq")))) - (build-system haskell-build-system) - (inputs - `(("ghc-haskell-lexer" ,ghc-haskell-lexer) - ("ghc-happy" ,ghc-happy))) - (home-page "http://wiki.github.com/yav/pretty-show") - (synopsis "Tools for working with derived `Show` instances") - (description - "This package provides a library and an executable for working with -derived @code{Show} instances. By using the library, derived @code{Show} -instances can be parsed into a generic data structure. The @code{ppsh} tool -uses the library to produce human-readable versions of @code{Show} instances, -which can be quite handy for debugging Haskell programs. We can also render -complex generic values into an interactive Html page, for easier -examination.") - (license license:expat))) - -(define-public ghc-haskell-src-exts - (package - (name "ghc-haskell-src-exts") - (version "1.20.2") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/haskell-src-exts/haskell-src-exts-" - version - ".tar.gz")) - (sha256 - (base32 - "1sm3z4v1p5yffg01ldgavz71s3bvfhjfa13k428rk14bpkl8crlz")))) - (build-system haskell-build-system) - (inputs - `(("cpphs" ,cpphs) - ("ghc-happy" ,ghc-happy) - ("ghc-pretty-show" ,ghc-pretty-show))) - (native-inputs - `(("ghc-smallcheck" ,ghc-smallcheck) - ("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck) - ("ghc-tasty-golden" ,ghc-tasty-golden))) - (home-page "https://github.com/haskell-suite/haskell-src-exts") - (synopsis "Library for manipulating Haskell source") - (description "Haskell-Source with Extensions (HSE, haskell-src-exts) is an -extension of the standard @code{haskell-src} package, and handles most -registered syntactic extensions to Haskell. All extensions implemented in GHC -are supported. Apart from these standard extensions, it also handles regular -patterns as per the HaRP extension as well as HSX-style embedded XML syntax.") - (license license:bsd-3))) - -(define-public ghc-haskell-src-exts-util - (package - (name "ghc-haskell-src-exts-util") - (version "0.2.3") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "haskell-src-exts-util/haskell-src-exts-util-" - version ".tar.gz")) - (sha256 - (base32 - "1803718paq89f8pdck4mb88hv2k1ah9lxzq0lgjgwi9n88ryycz8")))) - (build-system haskell-build-system) - (inputs - `(("ghc-data-default" ,ghc-data-default) - ("ghc-haskell-src-exts" ,ghc-haskell-src-exts) - ("ghc-semigroups" ,ghc-semigroups) - ("ghc-uniplate" ,ghc-uniplate))) - (home-page "https://github.com/pepeiborra/haskell-src-exts-util") - (synopsis "Helper functions for working with haskell-src-exts trees") - (description - "This package provides helper functions for working with -@code{haskell-src-exts} trees.") - (license license:bsd-3))) - -(define-public ghc-refact - (package - (name "ghc-refact") - (version "0.3.0.2") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "refact/refact-" - version ".tar.gz")) - (sha256 - (base32 - "0v0zxcx29b8jxs2kgy9csykqcp8kzhdvyylw2xfwmj4pfxr2kl0a")))) - (build-system haskell-build-system) - (home-page "http://hackage.haskell.org/package/refact") - (synopsis "Specify refactorings to perform with apply-refact") - (description - "This library provides a datatype which can be interpreted by -@code{apply-refact}. It exists as a separate library so that applications can -specify refactorings without depending on GHC.") - (license license:bsd-3))) - -(define-public ghc-resourcet - (package - (name "ghc-resourcet") - (version "1.2.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/resourcet/" - "resourcet-" version ".tar.gz")) - (sha256 - (base32 - "0rzjzh34s36ssign7akqjnwnjxf11c3511wk7ky0xxy0dqmc2rg7")))) - (build-system haskell-build-system) - (inputs - `(("ghc-transformers-base" ,ghc-transformers-base) - ("ghc-monad-control" ,ghc-monad-control) - ("ghc-transformers-compat" ,ghc-transformers-compat) - ("ghc-mmorph" ,ghc-mmorph) - ("ghc-exceptions" ,ghc-exceptions) - ("ghc-unliftio-core" ,ghc-unliftio-core))) - (native-inputs - `(("ghc-lifted-base" ,ghc-lifted-base) - ("ghc-hspec" ,ghc-hspec))) - (home-page "https://github.com/snoyberg/conduit") - (synopsis "Deterministic allocation and freeing of scarce resources") - (description "ResourceT is a monad transformer which creates a region of -code where you can safely allocate resources.") - (license license:bsd-3))) - -(define-public ghc-objectname - (package - (name "ghc-objectname") - (version "1.1.0.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/ObjectName/ObjectName-" - version - ".tar.gz")) - (sha256 - (base32 - "046jm94rmm46cicd31pl54vdvfjvhd9ffbfycy2lxzc0fliyznvj")))) - (build-system haskell-build-system) - (home-page "https://hackage.haskell.org/package/ObjectName") - (synopsis "Helper library for Haskell OpenGL") - (description "This tiny package contains the class ObjectName, which -corresponds to the general notion of explicitly handled identifiers for API -objects, e.g. a texture object name in OpenGL or a buffer object name in -OpenAL.") - (license license:bsd-3))) - -(define-public ghc-sdl - (package - (name "ghc-sdl") - (version "0.6.7.0") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/SDL/SDL-" - version - ".tar.gz")) - (sha256 - (base32 - "00y67v80a8l09i3k76z09lg25kw72ivl09nag8ckdlk4a0cfnzfq")))) - (build-system haskell-build-system) - (inputs - `(("sdl" ,sdl))) - (home-page "https://hackage.haskell.org/package/SDL") - (synopsis "LibSDL for Haskell") - (description "Simple DirectMedia Layer (libSDL) is a cross-platform -multimedia library designed to provide low level access to audio, keyboard, -mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used -by MPEG playback software, emulators, and many popular games, including the -award winning Linux port of \"Civilization: Call To Power.\"") - (license license:bsd-3))) - -(define-public ghc-sdl-mixer - (package - (name "ghc-sdl-mixer") - (version "0.6.3.0") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/SDL-mixer/SDL-mixer-" - version - ".tar.gz")) - (sha256 - (base32 - "0k26hqgdh789ka3mv4dsk6rin6x6vwcs6hjmnsqq7j3mnrh1342r")))) - (build-system haskell-build-system) - (arguments - `(#:configure-flags - (let* ((sdl-mixer (assoc-ref %build-inputs "sdl-mixer")) - (sdl-mixer-include (string-append sdl-mixer "/include/SDL"))) - (list (string-append "--extra-include-dirs=" sdl-mixer-include))))) - (inputs - `(("ghc-sdl" ,ghc-sdl) - ("sdl-mixer" ,sdl-mixer))) - (home-page "https://hackage.haskell.org/package/SDL-mixer") - (synopsis "Haskell bindings to libSDL_mixer") - (description "SDL_mixer is a sample multi-channel audio mixer library. It -supports any number of simultaneously playing channels of 16 bit stereo audio, -plus a single channel of music, mixed by the popular MikMod MOD, Timidity -MIDI, Ogg Vorbis, and SMPEG MP3 libraries.") - (license license:bsd-3))) - -(define-public ghc-sdl-image - (package - (name "ghc-sdl-image") - (version "0.6.2.0") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/SDL-image/SDL-image-" - version - ".tar.gz")) - (sha256 - (base32 - "1gxwrvswgwjw6g7ym52gik22l9l3ljy592phv97jdmcf3gi6qcg1")))) - (build-system haskell-build-system) - (arguments - `(#:configure-flags - (let* ((sdl-image (assoc-ref %build-inputs "sdl-image")) - (sdl-image-include (string-append sdl-image "/include/SDL"))) - (list (string-append "--extra-include-dirs=" sdl-image-include))))) - (inputs - `(("ghc-sdl" ,ghc-sdl) - ("sdl-image" ,sdl-image))) - (home-page "https://hackage.haskell.org/package/SDL-image") - (synopsis "Haskell bindings to libSDL_image") - (description "SDL_image is an image file loading library. It loads images -as SDL surfaces, and supports the following formats: BMP, GIF, JPEG, LBM, PCX, -PNG, PNM, TGA, TIFF, XCF, XPM, XV.") - (license license:bsd-3))) - -(define-public ghc-half - (package - (name "ghc-half") - (version "0.3") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/half/half-" - version ".tar.gz")) - (sha256 - (base32 - "14r0nx8hm5fic9gz0ybjjw4kyc758zfgvhhwvzsshpx5caq6zch6")))) - (build-system haskell-build-system) - (native-inputs - `(("ghc-hspec" ,ghc-hspec) - ("ghc-quickcheck" ,ghc-quickcheck))) - (home-page "https://github.com/ekmett/half") - (synopsis "Half-precision floating-point computations") - (description "This library provides a half-precision floating-point -computation library for Haskell.") - (license license:bsd-3))) - -(define-public ghc-fixed - (package - (name "ghc-fixed") - (version "0.2.1.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/fixed/fixed-" - version ".tar.gz")) - (sha256 - (base32 - "1qhmwx8iqshns0crmr9d2f8hm65jxbcp3dvv0c39v34ra7if3a94")))) - (build-system haskell-build-system) - (home-page "https://github.com/ekmett/fixed") - (synopsis "Signed 15.16 precision fixed point arithmetic") - (description - "This package provides functions for signed 15.16 precision fixed point -arithmetic.") - (license license:bsd-3))) - -(define-public ghc-openglraw - (package - (name "ghc-openglraw") - (version "3.3.1.0") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/OpenGLRaw/OpenGLRaw-" - version - ".tar.gz")) - (sha256 - (base32 - "1x8w3x308jldj2c1xqcq3a3sc2jc06pdpgqkgjsmixi1skv4a1vb")))) - (build-system haskell-build-system) - (inputs - `(("ghc-half" ,ghc-half) - ("ghc-fixed" ,ghc-fixed) - ("glu" ,glu))) - (home-page "https://www.haskell.org/haskellwiki/Opengl") - (synopsis "Raw Haskell bindings for the OpenGL graphics system") - (description "OpenGLRaw is a raw Haskell binding for the OpenGL 4.5 -graphics system and lots of OpenGL extensions. It is basically a 1:1 mapping -of OpenGL's C API, intended as a basis for a nicer interface. OpenGLRaw -offers access to all necessary functions, tokens and types plus a general -facility for loading extension entries. The module hierarchy closely mirrors -the naming structure of the OpenGL extensions, making it easy to find the -right module to import. All API entries are loaded dynamically, so no special -C header files are needed for building this package. If an API entry is not -found at runtime, a userError is thrown.") - (license license:bsd-3))) - -(define-public ghc-glut - (package - (name "ghc-glut") - (version "2.7.0.14") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/GLUT/GLUT-" - version - ".tar.gz")) - (sha256 - (base32 - "01i162fly4q1751fp60lgkzlb8kr0qqbvmxj74zc6skb19qggy2w")))) - (build-system haskell-build-system) - (inputs - `(("ghc-statevar" ,ghc-statevar) - ("ghc-opengl" ,ghc-opengl) - ("ghc-openglraw" ,ghc-openglraw) - ("freeglut" ,freeglut))) - (home-page "https://www.haskell.org/haskellwiki/Opengl") - (synopsis "Haskell bindings for the OpenGL Utility Toolkit") - (description "This library provides Haskell bindings for the OpenGL -Utility Toolkit, a window system-independent toolkit for writing OpenGL -programs.") - (license license:bsd-3))) - -(define-public ghc-gluraw - (package - (name "ghc-gluraw") - (version "2.0.0.4") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/GLURaw/GLURaw-" - version - ".tar.gz")) - (sha256 - (base32 - "1i2xi35n5z0d372px9mh6cyhgg1m0cfaiy3fnspkf6kbn9fgsqxq")))) - (build-system haskell-build-system) - (inputs - `(("ghc-openglraw" ,ghc-openglraw))) - (home-page "https://www.haskell.org/haskellwiki/Opengl") - (synopsis "Raw Haskell bindings GLU") - (description "GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL -utility library. It is basically a 1:1 mapping of GLU's C API, intended as a -basis for a nicer interface.") - (license license:bsd-3))) - -(define-public ghc-opengl - (package - (name "ghc-opengl") - (version "3.0.2.2") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/OpenGL/OpenGL-" - version - ".tar.gz")) - (sha256 - (base32 - "19vxwvx2n8zq2klj176l25n2b64ybp0b8mhm4p46gvpcivz41fjc")))) - (build-system haskell-build-system) - (inputs - `(("ghc-objectname" ,ghc-objectname) - ("ghc-gluraw" ,ghc-gluraw) - ("ghc-statevar" ,ghc-statevar) - ("ghc-openglraw" ,ghc-openglraw))) - (home-page "https://www.haskell.org/haskellwiki/Opengl") - (synopsis "Haskell bindings for the OpenGL graphics system") - (description "This package provides Haskell bindings for the OpenGL -graphics system (GL, version 4.5) and its accompanying utility library (GLU, -version 1.3).") - (license license:bsd-3))) - -(define-public ghc-streaming-commons - (package - (name "ghc-streaming-commons") - (version "0.2.1.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "streaming-commons/streaming-commons-" - version ".tar.gz")) - (sha256 - (base32 - "1lmyx3wkjsayhy5yilzvy0kf8qwmycwlk26r1d8f3cxbfhkr7s52")))) - (build-system haskell-build-system) - (inputs - `(("ghc-async" ,ghc-async) - ("ghc-blaze-builder" ,ghc-blaze-builder) - ("ghc-network" ,ghc-network) - ("ghc-random" ,ghc-random) - ("ghc-zlib" ,ghc-zlib))) - (native-inputs - `(("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-hspec" ,ghc-hspec) - ("hspec-discover" ,hspec-discover))) - (home-page "https://hackage.haskell.org/package/streaming-commons") - (synopsis "Conduit and pipes needed by some streaming data libraries") - (description "This package provides low-dependency functionality commonly -needed by various Haskell streaming data libraries, such as @code{conduit} and -@code{pipe}s.") - (license license:expat))) - -(define-public ghc-reflection - (package - (name "ghc-reflection") - (version "2.1.4") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/reflection/reflection-" - version - ".tar.gz")) - (sha256 - (base32 - "0kf4a5ijw6jfnfibjcrpdy9vzh1n6v2pxia8dhyyqdissiwc8bzj")))) - (build-system haskell-build-system) - (inputs `(("ghc-tagged" ,ghc-tagged))) - (home-page "https://github.com/ekmett/reflection") - (synopsis "Reify arbitrary terms into types that can be reflected back -into terms") - (description "This package addresses the 'configuration problem' which is -propagating configurations that are available at run-time, allowing multiple -configurations to coexist without resorting to mutable global variables or -@code{System.IO.Unsafe.unsafePerformIO}.") - (license license:bsd-3))) - -(define-public ghc-old-locale - (package - (name "ghc-old-locale") - (version "1.0.0.7") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/old-locale/old-locale-" - version - ".tar.gz")) - (sha256 - (base32 "0l3viphiszvz5wqzg7a45zp40grwlab941q5ay29iyw8p3v8pbyv")))) - (build-system haskell-build-system) - (arguments - `(#:cabal-revision - ("2" "04b9vn007hlvsrx4ksd3r8r3kbyaj2kvwxchdrmd4370qzi8p6gs"))) - (home-page "https://hackage.haskell.org/package/old-locale") - (synopsis "Adapt to locale conventions") - (description - "This package provides the ability to adapt to locale conventions such as -date and time formats.") - (license license:bsd-3))) - -(define-public ghc-old-time - (package - (name "ghc-old-time") - (version "1.1.0.3") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/old-time/old-time-" - version - ".tar.gz")) - (sha256 - (base32 - "1h9b26s3kfh2k0ih4383w90ibji6n0iwamxp6rfp2lbq1y5ibjqw")))) - (build-system haskell-build-system) - (arguments - `(#:cabal-revision - ("2" "1j6ln1dkvhdvnwl33bp0xf9lhc4sybqk0aw42p8cq81xwwzbn7y9"))) - (inputs - `(("ghc-old-locale" ,ghc-old-locale))) - (home-page "https://hackage.haskell.org/package/old-time") - (synopsis "Time compatibility library for Haskell") - (description "Old-time is a package for backwards compatibility with the -old @code{time} library. For new projects, the newer -@uref{https://hackage.haskell.org/package/time, time library} is recommended.") - (license license:bsd-3))) - -(define-public ghc-data-default-instances-old-locale - (package - (name "ghc-data-default-instances-old-locale") - (version "0.0.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/" - "data-default-instances-old-locale/" - "data-default-instances-old-locale-" version ".tar.gz")) - (sha256 - (base32 "00h81i5phib741yj517p8mbnc48myvfj8axzsw44k34m48lv1lv0")))) - (build-system haskell-build-system) - (inputs - `(("ghc-data-default-class" ,ghc-data-default-class) - ("ghc-old-locale" ,ghc-old-locale))) - (home-page - "https://hackage.haskell.org/package/data-default-instances-old-locale") - (synopsis "Default instances for types in old-locale") - (description "Provides Default instances for types from the old-locale - package.") - (license license:bsd-3))) - -(define-public ghc-dlist - (package - (name "ghc-dlist") - (version "0.8.0.4") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/dlist/dlist-" - version - ".tar.gz")) - (sha256 - (base32 "0yirrh0s6acjy9hhvf5fqg2d6q5y6gm9xs04v6w1imndh1xqdwdc")))) - (build-system haskell-build-system) - (inputs - `(("ghc-quickcheck" ,ghc-quickcheck))) - (home-page "https://github.com/spl/dlist") - (synopsis "Difference lists") - (description - "Difference lists are a list-like type supporting O(1) append. This is -particularly useful for efficient logging and pretty printing (e.g. with the -Writer monad), where list append quickly becomes too expensive.") - (license license:bsd-3))) - -(define-public ghc-extensible-exceptions - (package - (name "ghc-extensible-exceptions") - (version "0.1.1.4") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "extensible-exceptions/extensible-exceptions-" - version ".tar.gz")) - (sha256 - (base32 "1273nqws9ij1rp1bsq5jc7k2jxpqa0svawdbim05lf302y0firbc")))) - (build-system haskell-build-system) - (home-page "https://hackage.haskell.org/package/extensible-exceptions") - (synopsis "Extensible exceptions for Haskell") - (description - "This package provides extensible exceptions for both new and old -versions of GHC (i.e., < 6.10).") - (license license:bsd-3))) - -(define-public ghc-echo - (package - (name "ghc-echo") - (version "0.1.3") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/echo/echo-" - version ".tar.gz")) - (sha256 - (base32 - "1vw5ykpwhr39wc0hhcgq3r8dh59zq6ib4zxbz1qd2wl21wqhfkvh")))) - (build-system haskell-build-system) - (arguments - `(#:cabal-revision - ("1" "0br8wfiybcw5hand4imiw0i5hacdmrax1dv8g95f35gazffbx42l"))) - (home-page "https://github.com/RyanGlScott/echo") - (synopsis "Echo terminal input portably") - (description "The @code{base} library exposes the @code{hGetEcho} and -@code{hSetEcho} functions for querying and setting echo status, but -unfortunately, neither function works with MinTTY consoles on Windows. -This library provides an alternative interface which works with both -MinTTY and other consoles.") - (license license:bsd-3))) - -(define-public ghc-hackage-security - (package - (name "ghc-hackage-security") - (version "0.5.3.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "hackage-security/hackage-security-" - version ".tar.gz")) - (sha256 - (base32 - "08bwawc7ramgdh54vcly2m9pvfchp0ahhs8117jajni6x4bnx66v")))) - (build-system haskell-build-system) - (arguments - `(#:tests? #f)) ; Tests fail because of framework updates. - (inputs - `(("ghc-base16-bytestring" ,ghc-base16-bytestring) - ("ghc-base64-bytestring" ,ghc-base64-bytestring) - ("ghc-cryptohash-sha256" ,ghc-cryptohash-sha256) - ("ghc-ed25519" ,ghc-ed25519) - ("ghc-network" ,ghc-network) - ("ghc-network-uri" ,ghc-network-uri) - ("ghc-tar" ,ghc-tar) - ("ghc-zlib" ,ghc-zlib))) - (native-inputs - `(("ghc-network-uri" ,ghc-network-uri) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-tar" ,ghc-tar) - ("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-hunit" ,ghc-tasty-hunit) - ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) - ("ghc-temporary" ,ghc-temporary) - ("ghc-zlib" ,ghc-zlib))) - (home-page "https://github.com/haskell/hackage-security") - (synopsis "Hackage security library") - (description "This Hackage security library provides both server and -client utilities for securing @uref{http://hackage.haskell.org/, the -Hackage package server}. It is based on -@uref{http://theupdateframework.com/, The Update Framework}, a set of -recommendations developed by security researchers at various universities -in the US as well as developers on the @uref{https://www.torproject.org/, -Tor project}.") - (license license:bsd-3))) - -(define-public ghc-resolv - (package - (name "ghc-resolv") - (version "0.1.1.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/resolv/resolv-" - version ".tar.gz")) - (sha256 - (base32 - "0wh7wj56l3f2bylz563g5g04a4nydj8acv60hpwa7k3mn792xca9")))) - (build-system haskell-build-system) - (arguments - `(#:cabal-revision - ("1" "15ay4n3x8c09cb3h4z1nan84yd3n9zpgvi6h114hk98bq10k8mma") - #:tests? #f)) ; The required test frameworks are too old. - (inputs - `(("ghc-base16-bytestring" ,ghc-base16-bytestring))) - (home-page "https://github.com/haskell/hackage-security") - (synopsis "Domain Name Service (DNS) lookup via @code{libresolv}") - (description "This package implements an API for accessing the -@uref{https://tools.ietf.org/html/rfc1035, Domain Name Service (DNS)} -resolver service via the standard @code{libresolv} system library (whose -API is often available directly via the standard @code{libc} C library) on -Unix systems.") - (license license:gpl3))) - -(define-public ghc-parsec-numbers - (package - (name "ghc-parsec-numbers") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "parsec-numbers/parsec-numbers-" version ".tar.gz")) - (sha256 - (base32 "1gzy4v3r02kvdxvgg1nj83mmb6aph2v4ilf9c7y6nbvi2x49l0bp")))) - (build-system haskell-build-system) - (home-page "https://hackage.haskell.org/package/parsec-numbers") - (synopsis "Utilities for parsing numbers from strings") - (description - "This package provides the number parsers without the need to use a large -(and unportable) token parser.") - (license license:bsd-3))) - -(define-public ghc-paths - (package - (name "ghc-paths") - (version "0.1.0.9") - (outputs '("out" "doc")) - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/ghc-paths/ghc-paths-" - version - ".tar.gz")) - (sha256 - (base32 - "0ibrr1dxa35xx20cpp8jzgfak1rdmy344dfwq4vlq013c6w8z9mg")))) - (build-system haskell-build-system) - (home-page "https://github.com/simonmar/ghc-paths") - (synopsis - "Knowledge of GHC's installation directories") - (description - "Knowledge of GHC's installation directories.") - (license license:bsd-3))) - -(define-public ghc-utf8-string - (package - (name "ghc-utf8-string") - (version "1.0.1.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/utf8-string/utf8-string-" - version - ".tar.gz")) - (sha256 - (base32 "0h7imvxkahiy8pzr8cpsimifdfvv18lizrb33k6mnq70rcx9w2zv")))) - (build-system haskell-build-system) - (arguments - `(#:cabal-revision - ("3" "02vhj5gykkqa2dyn7s6gn8is1b5fdn9xcqqvlls268g7cpv6rk38"))) - (home-page "https://github.com/glguy/utf8-string/") - (synopsis "Support for reading and writing UTF8 Strings") - (description - "A UTF8 layer for Strings. The utf8-string package provides operations -for encoding UTF8 strings to Word8 lists and back, and for reading and writing -UTF8 without truncation.") - (license license:bsd-3))) - -(define-public ghc-setenv - (package - (name "ghc-setenv") - (version "0.1.1.3") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/setenv/setenv-" - version - ".tar.gz")) - (sha256 - (base32 - "0cnbgrvb9byyahb37zlqrj05rj25v190crgcw8wmlgf0mwwxyn73")))) - (build-system haskell-build-system) - (home-page "https://hackage.haskell.org/package/setenv") - (synopsis "Library for setting environment variables") - (description "This package provides a Haskell library for setting -environment variables.") - (license license:expat))) - -(define-public ghc-setlocale - (package - (name "ghc-setlocale") - (version "1.0.0.8") - (source (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/setlocale-" - version "/setlocale-" version ".tar.gz")) - (sha256 - (base32 - "0sdrsmkhw08483d73ysgm2926fdbhii61br03lqpqw0lfzj4ilbd")))) - (build-system haskell-build-system) - (home-page "https://hackage.haskell.org/package/setlocale") - (synopsis "Haskell bindings to setlocale") - (description "This package provides Haskell bindings to the -@code{setlocale} C function.") - (license license:bsd-3))) - -(define-public ghc-x11 - (package - (name "ghc-x11") - (version "1.9") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/X11/" - "X11-" version ".tar.gz")) - (sha256 - (base32 "1f8dy6ckkyvpcv7zlniyv01cqjb9lgqscm8pml58cvwc7n38w4qh")))) - (build-system haskell-build-system) - (inputs - `(("libx11" ,libx11) - ("libxrandr" ,libxrandr) - ("libxinerama" ,libxinerama) - ("libxscrnsaver" ,libxscrnsaver) - ("ghc-data-default" ,ghc-data-default))) - (home-page "https://github.com/haskell-pkg-janitors/X11") - (synopsis "Bindings to the X11 graphics library") - (description - "This package provides Haskell bindings to the X11 graphics library. The -bindings are a direct translation of the C bindings.") - (license license:bsd-3))) - -(define-public ghc-x11-xft - (package - (name "ghc-x11-xft") - (version "0.3.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/X11-xft/" - "X11-xft-" version ".tar.gz")) - (sha256 - (base32 "1lgqb0s2qfwwgbvwxhjbi23rbwamzdi0l0slfr20c3jpcbp3zfjf")))) - (inputs - `(("ghc-x11" ,ghc-x11) - ("ghc-utf8-string" ,ghc-utf8-string) - ("libx11" ,libx11) - ("libxft" ,libxft) - ("xorgproto" ,xorgproto))) - (native-inputs - `(("pkg-config" ,pkg-config))) - (build-system haskell-build-system) - (home-page "https://hackage.haskell.org/package/X11-xft") - (synopsis "Bindings to Xft") - (description - "Bindings to the Xft, X Free Type interface library, and some Xrender -parts.") - (license license:lgpl2.1))) - -(define-public ghc-stringbuilder - (package - (name "ghc-stringbuilder") - (version "0.5.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/stringbuilder/stringbuilder-" - version - ".tar.gz")) - (sha256 - (base32 - "1fh3csx1wcssn8xyvl4ip4aprh9l4qyz2kk8mgjvqvc0vb2bsy6q")))) - (build-system haskell-build-system) - (arguments `(#:tests? #f)) ; FIXME: circular dependencies with tests - ; enabled - (home-page "https://hackage.haskell.org/package/stringbuilder") - (synopsis "Writer monad for multi-line string literals") - (description "This package provides a writer monad for multi-line string -literals.") - (license license:expat))) - -(define-public ghc-zlib - (package - (name "ghc-zlib") - (version "0.6.2") - (outputs '("out" "doc")) - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/zlib/zlib-" - version - ".tar.gz")) - (sha256 - (base32 - "1vbzf0awb6zb456xf48za1kl22018646cfzq4frvxgb9ay97vk0d")))) - (build-system haskell-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'configure 'strip-test-framework-constraints - (lambda _ - (substitute* "zlib.cabal" - (("tasty >= 0\\.8 && < 0\\.12") "tasty") - (("tasty-hunit >= 0\\.8 && < 0\\.10") "tasty-hunit") - (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck"))))))) - (inputs `(("zlib" ,zlib))) - (native-inputs - `(("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-hunit" ,ghc-tasty-hunit) - ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) - (home-page "https://hackage.haskell.org/package/zlib") - (synopsis - "Compression and decompression in the gzip and zlib formats") - (description - "This package provides a pure interface for compressing and decompressing -streams of data represented as lazy @code{ByteString}s. It uses the zlib C -library so it has high performance. It supports the @code{zlib}, @code{gzip} -and @code{raw} compression formats. It provides a convenient high level API -suitable for most tasks and for the few cases where more control is needed it -provides access to the full zlib feature set.") - (license license:bsd-3))) - -(define-public ghc-parallel - (package - (name "ghc-parallel") - (version "3.2.2.0") - (outputs '("out" "doc")) - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/parallel/parallel-" - version - ".tar.gz")) - (sha256 - (base32 - "1xkfi96w6yfpppd0nw1rnszdxmvifwzm699ilv6332ra3akm610p")))) - (build-system haskell-build-system) - (home-page "https://hackage.haskell.org/package/parallel") - (synopsis "Parallel programming library") - (description - "This package provides a library for parallel programming.") - (license license:bsd-3))) - -(define-public ghc-safesemaphore - (package - (name "ghc-safesemaphore") - (version "0.10.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "SafeSemaphore/SafeSemaphore-" version ".tar.gz")) - (sha256 - (base32 - "0rpg9j6fy70i0b9dkrip9d6wim0nac0snp7qzbhykjkqlcvvgr91")))) - (build-system haskell-build-system) - (native-inputs - `(("ghc-hunit" ,ghc-hunit))) - (home-page "https://github.com/ChrisKuklewicz/SafeSemaphore") - (synopsis "Exception safe semaphores") - (description "This library provides exception safe semaphores that can be -used in place of @code{QSem}, @code{QSemN}, and @code{SampleVar}, all of which -are not exception safe and can be broken by @code{killThread}.") - (license license:bsd-3))) - -(define-public ghc-text-binary - (package - (name "ghc-text-binary") - (version "0.2.1.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "text-binary/text-binary-" - version ".tar.gz")) - (sha256 - (base32 - "18gl10pwg3qwsk0za3c70j4n6a9129wwf1b7d3a461h816yv55xn")))) - (build-system haskell-build-system) - (home-page "https://github.com/kawu/text-binary") - (synopsis "Binary instances for text types") - (description - "This package provides a compatibility layer providing @code{Binary} -instances for strict and lazy text types for versions older than 1.2.1 of the -text package.") - (license license:bsd-2))) - -(define-public ghc-strict - (package - (name "ghc-strict") - (version "0.3.2") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/strict/strict-" - version ".tar.gz")) - (sha256 - (base32 "08cjajqz9h47fkq98mlf3rc8n5ghbmnmgn8pfsl3bdldjdkmmlrc")))) - (build-system haskell-build-system) - (home-page "https://hackage.haskell.org/package/strict") - (synopsis "Strict data types and String IO") - (description - "This package provides strict versions of some standard Haskell data -types, such as pairs, @code{Maybe} and @code{Either}. It also contains strict -IO operations.") - (license license:bsd-3))) - -(define-public ghc-hashable - (package - (name "ghc-hashable") - (version "1.2.7.0") - (outputs '("out" "doc")) - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/hashable/hashable-" - version - ".tar.gz")) - (sha256 - (base32 - "1gra8gq3kb7b2sd845h55yxlrfqx3ii004c6vjhga8v0b30fzdgc")))) - (build-system haskell-build-system) - (inputs - `(("ghc-random" ,ghc-random))) - (native-inputs - `(("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) - ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) - ("ghc-hunit" ,ghc-hunit) - ("ghc-quickcheck" ,ghc-quickcheck))) - (home-page "https://github.com/tibbe/hashable") - (synopsis "Class for types that can be converted to a hash value") - (description - "This package defines a class, @code{Hashable}, for types that can be -converted to a hash value. This class exists for the benefit of hashing-based -data structures. The package provides instances for basic types and a way to -combine hash values.") - (license license:bsd-3))) - -(define-public ghc-hashable-bootstrap - (package - (inherit ghc-hashable) - (name "ghc-hashable-bootstrap") - (arguments `(#:tests? #f)) - (native-inputs '()) - (properties '((hidden? #t))))) - -(define-public ghc-hashable-time - (package - (name "ghc-hashable-time") - (version "0.2.0.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/hashable-time/hashable-time-" - version - ".tar.gz")) - (sha256 - (base32 - "0k932nyd08l3xxbh2g3n76py2f4kd9yw4s5a065vjz0xp6wjnxdm")))) - (build-system haskell-build-system) - (arguments - `(#:cabal-revision - ("1" "0rv40xkg3gj8jnqsry1gq3f5s5la6d5arg8fzkirnwdpcgha1as6"))) - (inputs `(("ghc-hashable" ,ghc-hashable))) - (home-page "http://hackage.haskell.org/package/hashable-time") - (synopsis "Hashable instances for Data.Time") - (description - "This package provides @code{Hashable} instances for types in -@code{Data.Time}.") - (license license:bsd-3))) - -(define-public ghc-data-hash - (package - (name "ghc-data-hash") - (version "0.2.0.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/data-hash" - "/data-hash-" version ".tar.gz")) - (sha256 - (base32 "1ghbqvc48gf9p8wiy71hdpaj7by3b9cw6wgwi3qqz8iw054xs5wi")))) - (build-system haskell-build-system) - (inputs - `(("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) - (home-page "https://hackage.haskell.org/package/data-hash") - (synopsis "Combinators for building fast hashing functions") - (description - "This package provides combinators for building fast hashing functions. -It includes hashing functions for all basic Haskell98 types.") - (license license:bsd-3))) - -(define-public ghc-murmur-hash - (package - (name "ghc-murmur-hash") - (version "0.1.0.9") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/murmur-hash" - "/murmur-hash-" version ".tar.gz")) - (sha256 - (base32 "1bb58kfnzvx3mpc0rc0dhqc1fk36nm8prd6gvf20gk6lxaadpfc9")))) - (build-system haskell-build-system) - (home-page "https://github.com/nominolo/murmur-hash") - (synopsis "MurmurHash2 implementation for Haskell") - (description - "This package provides an implementation of MurmurHash2, a good, fast, -general-purpose, non-cryptographic hashing function. See -@url{https://sites.google.com/site/murmurhash/} for details. This -implementation is pure Haskell, so it might be a bit slower than a C FFI -binding.") - (license license:bsd-3))) - -(define-public ghc-random - (package - (name "ghc-random") - (version "1.1") - (outputs '("out" "doc")) - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/random/random-" - version - ".tar.gz")) - (sha256 - (base32 "0nis3lbkp8vfx8pkr6v7b7kr5m334bzb0fk9vxqklnp2aw8a865p")))) - (build-system haskell-build-system) - (home-page "https://hackage.haskell.org/package/random") - (synopsis "Random number library") - (description "This package provides a basic random number generation -library, including the ability to split random number generators.") - (license license:bsd-3))) - -(define-public ghc-primitive - (package - (name "ghc-primitive") - (version "0.6.4.0") - (outputs '("out" "doc")) - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/primitive/primitive-" - version - ".tar.gz")) - (sha256 - (base32 - "0r0cda7acvplgwaxy69kviv4jp7kkfi038by68gj4yfx4iwszgjc")))) - (build-system haskell-build-system) - (home-page - "https://github.com/haskell/primitive") - (synopsis "Primitive memory-related operations") - (description - "This package provides various primitive memory-related operations.") - (license license:bsd-3))) - -(define-public ghc-tf-random - (package - (name "ghc-tf-random") - (version "0.5") - (outputs '("out" "doc")) - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/tf-random/tf-random-" - version - ".tar.gz")) - (sha256 - (base32 "0445r2nns6009fmq0xbfpyv7jpzwv0snccjdg7hwj4xk4z0cwc1f")))) - (build-system haskell-build-system) - (inputs - `(("ghc-primitive" ,ghc-primitive) - ("ghc-random" ,ghc-random))) - (home-page "https://hackage.haskell.org/package/tf-random") - (synopsis "High-quality splittable pseudorandom number generator") - (description "This package contains an implementation of a high-quality -splittable pseudorandom number generator. The generator is based on a -cryptographic hash function built on top of the ThreeFish block cipher. See -the paper \"Splittable Pseudorandom Number Generators Using Cryptographic -Hashing\" by Claessen, Pałka for details and the rationale of the design.") - (license license:bsd-3))) - -(define-public ghc-transformers-base - (package - (name "ghc-transformers-base") - (version "0.4.5.2") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/transformers-base/transformers-base-" - version - ".tar.gz")) - (sha256 - (base32 - "1s256bi0yh0x2hp2gwd30f3mg1cv53zz397dv1yhfsnfzmihrj6h")))) - (build-system haskell-build-system) - (inputs - `(("ghc-transformers-compat" ,ghc-transformers-compat))) - (home-page - "https://hackage.haskell.org/package/transformers-compat") - (synopsis - "Backported transformer library") - (description - "Backported versions of types that were added to transformers in -transformers 0.3 and 0.4 for users who need strict transformers 0.2 or 0.3 -compatibility to run on old versions of the platform.") - (license license:bsd-3))) - -(define-public ghc-transformers-compat - (package - (name "ghc-transformers-compat") - (version "0.6.2") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/transformers-compat" - "/transformers-compat-" version ".tar.gz")) - (sha256 - (base32 - "1gp4a8kvniwgm8947ghb4iwv4b7wd6ry4kvv4nfnym4agf5j41nw")))) - (build-system haskell-build-system) - (home-page "https://github.com/ekmett/transformers-compat/") - (synopsis "Small compatibility shim between transformers 0.3 and 0.4") - (description "This package includes backported versions of types that were -added to transformers in transformers 0.3 and 0.4 for users who need strict -transformers 0.2 or 0.3 compatibility to run on old versions of the platform, -but also need those types.") - (license license:bsd-3))) - -(define-public ghc-unix-time - (package - (name "ghc-unix-time") - (version "0.3.8") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/unix-time/unix-time-" - version - ".tar.gz")) - (sha256 - (base32 - "051slgpid5cxiaw203ky0ql3823h28fcjs08axkzd4265wrvv8fw")))) - (build-system haskell-build-system) - (arguments - `(#:tests? #f)) ; FIXME: Test fails with "System.Time not found". This - ; is weird, that should be provided by GHC 7.10.2. - (inputs - `(("ghc-old-time" ,ghc-old-time) - ("ghc-old-locale" ,ghc-old-locale))) - (home-page "https://hackage.haskell.org/package/unix-time") - (synopsis "Unix time parser/formatter and utilities") - (description "This library provides fast parsing and formatting utilities -for Unix time in Haskell.") - (license license:bsd-3))) - -(define-public ghc-unix-compat - (package - (name "ghc-unix-compat") - (version "0.5.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/unix-compat/unix-compat-" - version - ".tar.gz")) - (sha256 - (base32 - "0llwl7rp63fy2ychwdclz1afj45pbin5pfl01dvn6rwhvmwhr7d3")))) - (build-system haskell-build-system) - (home-page - "https://github.com/jystic/unix-compat") - (synopsis "Portable POSIX-compatibility layer") - (description - "This package provides portable implementations of parts of the unix -package. This package re-exports the unix package when available. When it -isn't available, portable implementations are used.") - (license license:bsd-3))) - -(define-public ghc-indents - (package - (name "ghc-indents") - (version "0.5.0.0") - (source (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/indents/indents-" - version ".tar.gz")) - (sha256 - (base32 - "1ly3v41jacc6lrsvg4j3m5a6zs90gr8dyif5m6bf34hj1k5cgg0n")))) - (build-system haskell-build-system) - ;; This package needs an older version of tasty. - (arguments '(#:tests? #f)) - (inputs - `(("ghc-concatenative" ,ghc-concatenative))) - (native-inputs - `(("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-hunit" ,ghc-tasty-hunit))) - (home-page "http://patch-tag.com/r/salazar/indents") - (synopsis "Indentation sensitive parser-combinators for parsec") - (description - "This library provides functions for use in parsing indentation sensitive -contexts. It parses blocks of lines all indented to the same level as well as -lines continued at an indented level below.") - (license license:bsd-3))) - -(define-public ghc-iproute - (package - (name "ghc-iproute") - (version "1.7.5") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/iproute/iproute-" - version - ".tar.gz")) - (sha256 - (base32 - "1vw1nm3s8vz1hqnjnqd3wh5rr4q3m2r4izn5ynhf93h9185qwqzd")))) - (build-system haskell-build-system) - (arguments `(#:tests? #f)) ; FIXME: Tests cannot find System.ByteOrder, - ; exported by ghc-byteorder. Doctest issue. - (inputs - `(("ghc-appar" ,ghc-appar) - ("ghc-byteorder" ,ghc-byteorder) - ("ghc-network" ,ghc-network) - ("ghc-safe" ,ghc-safe))) - (home-page "https://www.mew.org/~kazu/proj/iproute/") - (synopsis "IP routing table") - (description "IP Routing Table is a tree of IP ranges to search one of -them on the longest match base. It is a kind of TRIE with one way branching -removed. Both IPv4 and IPv6 are supported.") - (license license:bsd-3))) - -(define-public ghc-iwlib - (package - (name "ghc-iwlib") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/iwlib/iwlib-" - version ".tar.gz")) - (sha256 - (base32 "0khmfwql4vwj55idsxmhjhrbqzfir3g9wm5lmpvnf77mm95cfpdz")))) - (build-system haskell-build-system) - (inputs - `(("wireless-tools" ,wireless-tools))) - (home-page "https://github.com/jaor/iwlib") - (synopsis "Haskell binding to the iw wireless networking library") - (description - "IWlib is a thin Haskell binding to the iw C library. It provides -information about the current wireless network connections, and adapters on -supported systems.") - (license license:bsd-3))) - -(define-public ghc-regex-base - (package - (name "ghc-regex-base") - (version "0.93.2") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/regex-base/regex-base-" - version - ".tar.gz")) - (sha256 - (base32 - "0y1j4h2pg12c853nzmczs263di7xkkmlnsq5dlp5wgbgl49mgp10")))) - (build-system haskell-build-system) - (home-page - "https://sourceforge.net/projects/lazy-regex") - (synopsis "Replaces/Enhances Text.Regex") - (description "@code{Text.Regex.Base} provides the interface API for -regex-posix, regex-pcre, regex-parsec, regex-tdfa, regex-dfa.") - (license license:bsd-3))) - -(define-public ghc-regex-posix - (package - (name "ghc-regex-posix") - (version "0.95.2") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/regex-posix/regex-posix-" - version - ".tar.gz")) - (sha256 - (base32 - "0gkhzhj8nvfn1ija31c7xnl6p0gadwii9ihyp219ck2arlhrj0an")))) - (build-system haskell-build-system) - (inputs - `(("ghc-regex-base" ,ghc-regex-base))) - (home-page "https://sourceforge.net/projects/lazy-regex") - (synopsis "POSIX regular expressions for Haskell") - (description "This library provides the POSIX regex backend used by the -Haskell library @code{regex-base}.") - (license license:bsd-3))) - -(define-public ghc-regex-compat - (package - (name "ghc-regex-compat") - (version "0.95.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/regex-compat/regex-compat-" - version - ".tar.gz")) - (sha256 - (base32 - "0fwmima3f04p9y4h3c23493n1xj629ia2dxaisqm6rynljjv2z6m")))) - (build-system haskell-build-system) - (inputs - `(("ghc-regex-base" ,ghc-regex-base) - ("ghc-regex-posix" ,ghc-regex-posix))) - (home-page "https://sourceforge.net/projects/lazy-regex") - (synopsis "Replaces/Enhances Text.Regex") - (description "This library provides one module layer over -@code{regex-posix} to replace @code{Text.Regex}.") - (license license:bsd-3))) - -(define-public ghc-regex-tdfa-text - (package - (name "ghc-regex-tdfa-text") - (version "1.0.0.3") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/regex-tdfa-text/" - "regex-tdfa-text-" version ".tar.gz")) - (sha256 - (base32 - "0090g6lgbdm9lywpqm2d3724nnnh24nx3vnlqr96qc2w486pmmrq")))) - (build-system haskell-build-system) - (inputs - `(("ghc-regex-base" ,ghc-regex-base) - ("ghc-regex-tdfa" ,ghc-regex-tdfa))) - (home-page - "http://hackage.haskell.org/package/regex-tdfa-text") - (synopsis "Text interface for regex-tdfa") - (description - "This provides an extra text interface for regex-tdfa.") - (license license:bsd-3))) - -(define-public ghc-regex - (package - (name "ghc-regex") - (version "1.0.1.3") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/regex/" - "regex-" version ".tar.gz")) - (sha256 - (base32 - "1sjkpkgv4phy5b5v2lr89x4vx4dh44pj0sbvlsp6n86w9v6v4jwb")))) - (build-system haskell-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'relax-dependencies - (lambda _ - (substitute* "regex.cabal" - (("base-compat.*>=.*0.6.*") - "base-compat >= 0.6\n") - (("template-haskell.*>=.*2.7.*") - "template-haskell >= 2.7\n")) - #t))))) - (inputs - `(("ghc-base-compat" ,ghc-base-compat) - ("ghc-hashable" ,ghc-hashable) - ("ghc-regex-base" ,ghc-regex-base) - ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin) - ("ghc-regex-tdfa" ,ghc-regex-tdfa) - ("ghc-regex-tdfa-text" ,ghc-regex-tdfa-text) - ("ghc-time-locale-compat" ,ghc-time-locale-compat) - ("ghc-unordered-containers" ,ghc-unordered-containers) - ("ghc-utf8-string" ,ghc-utf8-string))) - (home-page "http://regex.uk") - (synopsis "Toolkit for regex-base") - (description - "This package provides a regular expression toolkit for @code{regex-base} -with compile-time checking of regular expression syntax, data types for -matches and captures, a text replacement toolkit, portable options, high-level -AWK-like tools for building text processing apps, regular expression macros -with parsers and test bench, comprehensive documentation, tutorials and -copious examples.") - (license license:bsd-3))) - -(define-public ghc-parsers - (package - (name "ghc-parsers") - (version "0.12.9") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/parsers/parsers-" - version - ".tar.gz")) - (sha256 - (base32 - "1r05sc1mcglk8w596kq9a1brfn9c2vll8lq16j07ln0vsz4jzrc1")))) - (build-system haskell-build-system) - (arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy - ; -package attoparsec-0.13.0.1" - (inputs - `(("ghc-base-orphans" ,ghc-base-orphans) - ("ghc-attoparsec" ,ghc-attoparsec) - ("ghc-scientific" ,ghc-scientific) - ("ghc-charset" ,ghc-charset) - ("ghc-unordered-containers" ,ghc-unordered-containers))) - (home-page "https://github.com/ekmett/parsers/") - (synopsis "Parsing combinators") - (description "This library provides convenient combinators for working -with and building parsing combinator libraries. Given a few simple instances, -you get access to a large number of canned definitions. Instances exist for -the parsers provided by @code{parsec}, @code{attoparsec} and @code{base}'s -@code{Text.Read}.") - (license license:bsd-3))) - -(define-public ghc-trifecta - (package - (name "ghc-trifecta") - (version "2") - (source (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/trifecta/" - "trifecta-" version ".tar.gz")) - (sha256 - (base32 - "0hznd8i65s81xy13i2qc7cvipw3lfb2yhkv53apbdsh6sbljz5sk")))) - (build-system haskell-build-system) - (arguments `(#:tests? #f)) ; doctest suite fails to build on i686 - (inputs - `(("ghc-reducers" ,ghc-reducers) - ("ghc-semigroups" ,ghc-semigroups) - ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint) - ("ghc-ansi-terminal" ,ghc-ansi-terminal) - ("ghc-blaze-builder" ,ghc-blaze-builder) - ("ghc-blaze-html" ,ghc-blaze-html) - ("ghc-blaze-markup" ,ghc-blaze-markup) - ("ghc-charset" ,ghc-charset) - ("ghc-comonad" ,ghc-comonad) - ("ghc-fingertree" ,ghc-fingertree) - ("ghc-hashable" ,ghc-hashable) - ("ghc-lens" ,ghc-lens) - ("ghc-parsers" ,ghc-parsers) - ("ghc-profunctors" ,ghc-profunctors) - ("ghc-unordered-containers" ,ghc-unordered-containers) - ("ghc-utf8-string" ,ghc-utf8-string))) - (native-inputs - `(("cabal-doctest" ,cabal-doctest) - ("ghc-doctest" ,ghc-doctest) - ("ghc-quickcheck" ,ghc-quickcheck))) - (home-page "https://github.com/ekmett/trifecta/") - (synopsis "Parser combinator library with convenient diagnostics") - (description "Trifecta is a modern parser combinator library for Haskell, -with slicing and Clang-style colored diagnostics.") - (license license:bsd-3))) - -(define-public ghc-time-locale-compat - (package - (name "ghc-time-locale-compat") - (version "0.1.1.5") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "time-locale-compat/time-locale-compat-" - version ".tar.gz")) - (sha256 - (base32 - "0b2hmj8wwrfkndwzgm11qr496ca2ahwdxcj3m0ii91bxvrk1bzq7")))) - (build-system haskell-build-system) - (inputs `(("ghc-old-locale" ,ghc-old-locale))) - (home-page "https://github.com/khibino/haskell-time-locale-compat") - (synopsis "Compatibility of TimeLocale between old-locale and time-1.5") - (description "This package contains a wrapped name module for -@code{TimeLocale}.") - (license license:bsd-3))) - -(define-public ghc-attoparsec - (package - (name "ghc-attoparsec") - (version "0.13.2.2") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/attoparsec/attoparsec-" - version - ".tar.gz")) - (sha256 - (base32 - "0j6qcwd146yzlkc9mcvzvnixsyl65n2a68l28322q5v9p4g4g4yx")))) - (build-system haskell-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-for-newer-quickcheck - (lambda _ - (substitute* "attoparsec.cabal" - (("QuickCheck >= 2\\.7 && < 2\\.10") - "QuickCheck >= 2.7 && < 2.12")) - ;; This test fails because of the newer QuickCheck: - ;; . - (substitute* "tests/QC/ByteString.hs" - ((", testProperty \"satisfyWith\" satisfyWith") - ""))))))) - (inputs - `(("ghc-scientific" ,ghc-scientific))) - (native-inputs - `(("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-quickcheck-unicode" ,ghc-quickcheck-unicode) - ("ghc-vector" ,ghc-vector))) - (home-page "https://github.com/bos/attoparsec") - (synopsis "Fast combinator parsing for bytestrings and text") - (description "This library provides a fast parser combinator library, -aimed particularly at dealing efficiently with network protocols and -complicated text/binary file formats.") - (license license:bsd-3))) - -(define-public ghc-attoparsec-bootstrap - (package - (inherit ghc-attoparsec) - (name "ghc-attoparsec-bootstrap") - (arguments `(#:tests? #f)) - (inputs - `(("ghc-scientific" ,ghc-scientific-bootstrap))) - (native-inputs '()) - (properties '(hidden? #t)))) - -(define-public ghc-zip-archive - (package - (name "ghc-zip-archive") - (version "0.3.3") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/zip-archive/zip-archive-" - version - ".tar.gz")) - (sha256 - (base32 - "0kf8xyac168bng8a0za2jwrbss7a4ralvci9g54hnvl0gkkxx2lq")))) - (build-system haskell-build-system) - (inputs - `(("ghc-digest" ,ghc-digest) - ("ghc-temporary" ,ghc-temporary) - ("ghc-zlib" ,ghc-zlib))) - (native-inputs - `(("ghc-hunit" ,ghc-hunit) - ("unzip" ,unzip))) - (home-page "https://hackage.haskell.org/package/zip-archive") - (synopsis "Zip archive library for Haskell") - (description "The zip-archive library provides functions for creating, -modifying, and extracting files from zip archives in Haskell.") - (license license:bsd-3))) - -(define-public ghc-distributive - (package - (name "ghc-distributive") - (version "0.5.3") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/distributive/distributive-" - version - ".tar.gz")) - (sha256 - (base32 - "0y566r97sfyvhsmd4yxiz4ns2mqgwf5bdbp56wgxl6wlkidq0wwi")))) - (build-system haskell-build-system) - (arguments - `(#:cabal-revision - ("6" "06bd38rf31yrvvy989r44pm0id3dsxwcp6nxg7wk6ccj3n2b8rzk"))) - (inputs - `(("ghc-tagged" ,ghc-tagged) - ("ghc-base-orphans" ,ghc-base-orphans) - ("ghc-transformers-compat" ,ghc-transformers-compat) - ("ghc-semigroups" ,ghc-semigroups) - ("ghc-generic-deriving" ,ghc-generic-deriving))) - (native-inputs - `(("cabal-doctest" ,cabal-doctest) - ("ghc-doctest" ,ghc-doctest) - ("ghc-hspec" ,ghc-hspec) - ("hspec-discover" ,hspec-discover))) - (home-page "https://github.com/ekmett/distributive/") - (synopsis "Distributive functors for Haskell") - (description "This package provides distributive functors for Haskell. -Dual to @code{Traversable}.") - (license license:bsd-3))) - -(define-public ghc-cereal - (package - (name "ghc-cereal") - (version "0.5.7.0") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/cereal/cereal-" - version - ".tar.gz")) - (sha256 - (base32 - "1j7imh2mzqcljld7sx0av69699955rpy3hzivi5723i6a9nszgbs")))) - (build-system haskell-build-system) - (native-inputs - `(("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-fail" ,ghc-fail) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) - (home-page "https://hackage.haskell.org/package/cereal") - (synopsis "Binary serialization library") - (description "This package provides a binary serialization library, -similar to @code{binary}, that introduces an @code{isolate} primitive for -parser isolation, and labeled blocks for better error messages.") - (license license:bsd-3))) - -(define-public ghc-comonad - (package - (name "ghc-comonad") - (version "5.0.4") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/comonad/comonad-" - version - ".tar.gz")) - (sha256 - (base32 - "09g870c4flp4k3fgbibsd0mmfjani1qcpbcl685v8x89kxzrva3q")))) - (build-system haskell-build-system) - (native-inputs - `(("cabal-doctest" ,cabal-doctest) - ("ghc-doctest" ,ghc-doctest))) - (inputs - `(("ghc-contravariant" ,ghc-contravariant) - ("ghc-distributive" ,ghc-distributive) - ("ghc-semigroups" ,ghc-semigroups) - ("ghc-tagged" ,ghc-tagged) - ("ghc-transformers-compat" ,ghc-transformers-compat))) - (home-page "https://github.com/ekmett/comonad/") - (synopsis "Comonads for Haskell") - (description "This library provides @code{Comonad}s for Haskell.") - (license license:bsd-3))) - -(define-public ghc-polyparse - (package - (name "ghc-polyparse") - (version "1.12") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/polyparse/polyparse-" - version - ".tar.gz")) - (sha256 - (base32 - "05dya1vdvq29hkhkdlsglzhw7bdn51rvs1javs0q75nf99c66k7m")))) - (build-system haskell-build-system) - (home-page - "http://code.haskell.org/~malcolm/polyparse/") - (synopsis - "Alternative parser combinator libraries") - (description - "This package provides a variety of alternative parser combinator -libraries, including the original HuttonMeijer set. The Poly sets have -features like good error reporting, arbitrary token type, running state, lazy -parsing, and so on. Finally, Text.Parse is a proposed replacement for the -standard Read class, for better deserialisation of Haskell values from -Strings.") - (license license:lgpl2.1))) - -(define-public ghc-extra - (package - (name "ghc-extra") - (version "1.6.9") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/extra/extra-" - version - ".tar.gz")) - (sha256 - (base32 - "0xxcpb00pgwi9cmy6a7ghh6rblxry42p8pz5ssfgj20fs1xwzj1b")))) - (build-system haskell-build-system) - (inputs - `(("ghc-clock" ,ghc-clock) - ("ghc-quickcheck" ,ghc-quickcheck))) - (home-page "https://github.com/ndmitchell/extra") - (synopsis "Extra Haskell functions") - (description "This library provides extra functions for the standard -Haskell libraries. Most functions are simple additions, filling out missing -functionality. A few functions are available in later versions of GHC, but -this package makes them available back to GHC 7.2.") - (license license:bsd-3))) - -(define-public ghc-profunctors - (package - (name "ghc-profunctors") - (version "5.2.2") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/profunctors/profunctors-" - version - ".tar.gz")) - (sha256 - (base32 - "0s1pwjidbn761xk43pmzyvn99hm3psdifjd78ylki7f97aiyd0g9")))) - (build-system haskell-build-system) - (arguments - `(#:cabal-revision - ("2" "1ywlg9z8nlhd2avgb8c6gbkv8zyk7hvc25926bafyg0m0k8y1amq"))) - (inputs - `(("ghc-base-orphans" ,ghc-base-orphans) - ("ghc-bifunctors" ,ghc-bifunctors) - ("ghc-comonad" ,ghc-comonad) - ("ghc-contravariant" ,ghc-contravariant) - ("ghc-distributive" ,ghc-distributive) - ("ghc-semigroups" ,ghc-semigroups) - ("ghc-tagged" ,ghc-tagged))) - (home-page "https://github.com/ekmett/profunctors/") - (synopsis "Profunctors for Haskell") - (description "This library provides profunctors for Haskell.") - (license license:bsd-3))) - -(define-public ghc-reducers - (package - (name "ghc-reducers") - (version "3.12.3") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/reducers/reducers-" - version - ".tar.gz")) - (sha256 - (base32 - "09wf8pl9ycglcv6qj5ba26gkg2s5iy81hsx9xp0q8na0cwvp71ki")))) - (build-system haskell-build-system) - (inputs - `(("ghc-fingertree" ,ghc-fingertree) - ("ghc-hashable" ,ghc-hashable) - ("ghc-unordered-containers" ,ghc-unordered-containers) - ("ghc-semigroupoids" ,ghc-semigroupoids) - ("ghc-semigroups" ,ghc-semigroups))) - (home-page "https://github.com/ekmett/reducers/") - (synopsis "Semigroups, specialized containers and a general map/reduce framework") - (description "This library provides various semigroups, specialized -containers and a general map/reduce framework for Haskell.") - (license license:bsd-3))) - -(define-public ghc-appar - (package - (name "ghc-appar") - (version "0.1.4") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/appar/appar-" - version - ".tar.gz")) - (sha256 - (base32 - "09jb9ij78fdkz2qk66rw99q19qnm504dpv0yq0pjsl6xwjmndsjq")))) - (build-system haskell-build-system) - (home-page - "https://hackage.haskell.org/package/appar") - (synopsis "Simple applicative parser") - (description "This package provides a simple applicative parser in Parsec -style.") - (license license:bsd-3))) - -(define-public ghc-safe - (package - (name "ghc-safe") - (version "0.3.17") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/safe/safe-" - version - ".tar.gz")) - (sha256 - (base32 - "0p3yaf5slvyz1cyy51jq64c5rlp8yzwim8iy2dlnk42if4gc9ibr")))) - (build-system haskell-build-system) - (native-inputs - `(("ghc-quickcheck" ,ghc-quickcheck))) - (home-page "https://github.com/ndmitchell/safe#readme") - (synopsis "Library of safe (exception free) functions") - (description "This library provides wrappers around @code{Prelude} and -@code{Data.List} functions, such as @code{head} and @code{!!}, that can throw -exceptions.") - (license license:bsd-3))) - -(define-public ghc-generic-deriving - (package - (name "ghc-generic-deriving") - (version "1.12.2") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/generic-deriving/generic-deriving-" - version - ".tar.gz")) - (sha256 - (base32 - "1i7d6cpj9yhaqb79zays3nqchhaacacjz9bkc0zlwj73y5gvi22n")))) - (build-system haskell-build-system) - (inputs - `(("ghc-th-abstraction" ,ghc-th-abstraction))) - (native-inputs - `(("ghc-hspec" ,ghc-hspec) - ("hspec-discover" ,hspec-discover))) - (home-page "https://hackage.haskell.org/package/generic-deriving") - (synopsis "Generalise the deriving mechanism to arbitrary classes") - (description "This package provides functionality for generalising the -deriving mechanism in Haskell to arbitrary classes.") - (license license:bsd-3))) - -(define-public ghc-pcre-light - (package - (name "ghc-pcre-light") - (version "0.4.0.4") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/pcre-light/pcre-light-" - version - ".tar.gz")) - (sha256 - (base32 - "0xcyi1fivwg7a92mch5bcqzmrfxzqj42rmb3m8kgs61x4qwpxj82")))) - (build-system haskell-build-system) - (inputs - `(("pcre" ,pcre))) - (native-inputs - `(("pkg-config" ,pkg-config))) - (home-page "https://github.com/Daniel-Diaz/pcre-light") - (synopsis "Haskell library for Perl 5 compatible regular expressions") - (description "This package provides a small, efficient, and portable regex -library for Perl 5 compatible regular expressions. The PCRE library is a set -of functions that implement regular expression pattern matching using the same -syntax and semantics as Perl 5.") - (license license:bsd-3))) - -(define-public ghc-logict - (package - (name "ghc-logict") - (version "0.6.0.2") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/logict/logict-" - version - ".tar.gz")) - (sha256 - (base32 - "07hnirv6snnym2r7iijlfz00b60jpy2856zvqxh989q0in7bd0hi")))) - (build-system haskell-build-system) - (home-page "http://code.haskell.org/~dolio/") - (synopsis "Backtracking logic-programming monad") - (description "This library provides a continuation-based, backtracking, -logic programming monad. An adaptation of the two-continuation implementation -found in the paper \"Backtracking, Interleaving, and Terminating Monad -Transformers\" available @uref{http://okmij.org/ftp/papers/LogicT.pdf, -online}.") - (license license:bsd-3))) - -(define-public ghc-xml - (package - (name "ghc-xml") - (version "1.3.14") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/xml/xml-" - version - ".tar.gz")) - (sha256 - (base32 - "0g814lj7vaxvib2g3r734221k80k7ap9czv9hinifn8syals3l9j")))) - (build-system haskell-build-system) - (home-page "http://code.galois.com") - (synopsis "Simple XML library for Haskell") - (description "This package provides a simple XML library for Haskell.") - (license license:bsd-3))) - -(define-public ghc-feed - (package - (name "ghc-feed") - (version "1.0.0.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "feed/feed-" version ".tar.gz")) - (sha256 - (base32 - "05rgg7x1984mgfhkmz792xj8lhwjgznixhygzr8blf517lns2nck")))) - (build-system haskell-build-system) - (arguments - `(#:cabal-revision - ("4" "0baavcavm3ywykcr9cm07aqr7sna98jba2n68lyn3kany8ri214d"))) - (inputs - `(("ghc-base-compat" ,ghc-base-compat) - ("ghc-old-locale" ,ghc-old-locale) - ("ghc-old-time" ,ghc-old-time) - ("ghc-safe" ,ghc-safe) - ("ghc-time-locale-compat" ,ghc-time-locale-compat) - ("ghc-utf8-string" ,ghc-utf8-string) - ("ghc-xml-conduit" ,ghc-xml-conduit) - ("ghc-xml-types" ,ghc-xml-types))) - (native-inputs - `(("ghc-hunit" ,ghc-hunit) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) - (home-page "https://github.com/bergmark/feed") - (synopsis "Haskell package for handling various syndication formats") - (description "This Haskell package includes tools for generating and -consuming feeds in both RSS (Really Simple Syndication) and Atom format.") - (license license:bsd-3))) - -(define-public ghc-exceptions - (package - (name "ghc-exceptions") - (version "0.10.0") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/exceptions/exceptions-" - version - ".tar.gz")) - (sha256 - (base32 - "1ms9zansv0pwzwdjncvx4kf18lnkjy2p61hvjhvxmjx5bqp93p8y")))) - (build-system haskell-build-system) - (native-inputs - `(("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) - ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) - (inputs - `(("ghc-transformers-compat" ,ghc-transformers-compat))) - (home-page "https://github.com/ekmett/exceptions/") - (synopsis "Extensible optionally-pure exceptions") - (description "This library provides extensible optionally-pure exceptions -for Haskell.") - (license license:bsd-3))) - -(define-public ghc-temporary - (package - (name "ghc-temporary") - (version "1.3") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/temporary/temporary-" - version - ".tar.gz")) - (sha256 - (base32 - "144qhwfwg37l3k313raf4ssiz16jbgwlm1nf4flgqpsbd69jji4c")))) - (build-system haskell-build-system) - (inputs - `(("ghc-exceptions" ,ghc-exceptions) - ("ghc-random" ,ghc-random))) - (native-inputs - `(("ghc-base-compat" ,ghc-base-compat) - ("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-hunit" ,ghc-tasty-hunit))) - (home-page "https://www.github.com/batterseapower/temporary") - (synopsis "Temporary file and directory support") - (description "The functions for creating temporary files and directories -in the Haskelll base library are quite limited. This library just repackages -the Cabal implementations of its own temporary file and folder functions so -that you can use them without linking against Cabal or depending on it being -installed.") - (license license:bsd-3))) - -(define-public ghc-temporary-rc - (package - (name "ghc-temporary-rc") - (version "1.2.0.3") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/temporary-rc/temporary-rc-" - version - ".tar.gz")) - (sha256 - (base32 - "1nqih0qks439k3pr5kmbbc8rjdw730slrxlflqb27fbxbzb8skqs")))) - (build-system haskell-build-system) - (inputs `(("ghc-exceptions" ,ghc-exceptions))) - (home-page - "https://www.github.com/feuerbach/temporary") - (synopsis - "Portable temporary file and directory support") - (description - "The functions for creating temporary files and directories in the base -library are quite limited. The unixutils package contains some good ones, but -they aren't portable to Windows. This library just repackages the Cabal -implementations of its own temporary file and folder functions so that you can -use them without linking against Cabal or depending on it being installed. -This is a better maintained fork of the \"temporary\" package.") - (license license:bsd-3))) - -(define-public ghc-smallcheck - (package - (name "ghc-smallcheck") - (version "1.1.5") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/smallcheck/smallcheck-" - version - ".tar.gz")) - (sha256 - (base32 - "195fj7w3v03d1y1nm2ylavzrwxjcdbq0lb6zsw1dwyx5jmwfc84h")))) - (build-system haskell-build-system) - (inputs - `(("ghc-logict" ,ghc-logict))) - (home-page - "https://github.com/feuerbach/smallcheck") - (synopsis "Property-based testing library") - (description "SmallCheck is a testing library that allows to verify -properties for all test cases up to some depth. The test cases are generated -automatically by SmallCheck.") - (license license:bsd-3))) - -(define-public ghc-silently - (package - (name "ghc-silently") - (version "1.2.5") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/silently/silently-" - version - ".tar.gz")) - (sha256 - (base32 - "0f9qm3f7y0hpxn6mddhhg51mm1r134qkvd2kr8r6192ka1ijbxnf")))) - (build-system haskell-build-system) - (arguments `(#:tests? #f)) ;; circular dependency with nanospec - ;; (inputs - ;; `(("ghc-temporary" ,ghc-temporary))) - (home-page "https://github.com/hspec/silently") - (synopsis "Prevent writing to stdout") - (description "This package provides functions to prevent or capture -writing to stdout and other handles.") - (license license:bsd-3))) - -(define-public ghc-case-insensitive - (package - (name "ghc-case-insensitive") - (version "1.2.0.11") - (outputs '("out" "doc")) - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/case-insensitive/case-insensitive-" - version - ".tar.gz")) - (sha256 - (base32 - "1qrpxfirsxckg7jv28f5ah2qc8lh95hp7rnqkbqs1ahcwlbnvkm7")))) - (build-system haskell-build-system) - ;; these inputs are necessary to use this library - (inputs - `(("ghc-hashable" ,ghc-hashable))) - (arguments - `(#:tests? #f)) ; FIXME: currently missing libraries used for tests. - (home-page - "https://github.com/basvandijk/case-insensitive") - (synopsis "Case insensitive string comparison") - (description - "The module @code{Data.CaseInsensitive} provides the @code{CI} type -constructor which can be parameterised by a string-like type like: -@code{String}, @code{ByteString}, @code{Text}, etc. Comparisons of values of -the resulting type will be insensitive to cases.") - (license license:bsd-3))) - -(define-public ghc-syb - (package - (name "ghc-syb") - (version "0.7") - (outputs '("out" "doc")) - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/syb/syb-" - version - ".tar.gz")) - (sha256 - (base32 - "1da2zz7gqm4xbkx5vpd74dayx1svaxyl145fl14mq15lbb77sxdq")))) - (build-system haskell-build-system) - (inputs - `(("ghc-hunit" ,ghc-hunit))) - (home-page - "http://www.cs.uu.nl/wiki/GenericProgramming/SYB") - (synopsis "Scrap Your Boilerplate") - (description "This package contains the generics system described in the -/Scrap Your Boilerplate/ papers (see -@uref{http://www.cs.uu.nl/wiki/GenericProgramming/SYB, the website}). It -defines the @code{Data} class of types permitting folding and unfolding of -constructor applications, instances of this class for primitive types, and a -variety of traversals.") - (license license:bsd-3))) - -(define-public ghc-fgl - (package - (name "ghc-fgl") - (version "5.6.0.0") - (outputs '("out" "doc")) - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/fgl/fgl-" - version - ".tar.gz")) - (sha256 - (base32 - "1i6cp4b3w7sjk7y1dq3fh6bci2sm5h3lnbbaw9ln19nwncg2wwll")))) - (build-system haskell-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'configure 'update-constraints - (lambda _ - (substitute* "fgl.cabal" - (("QuickCheck >= 2\\.8 && < 2\\.10") - "QuickCheck >= 2.8 && < 2.12") - (("hspec >= 2\\.1 && < 2\\.5") - "hspec >= 2.1 && < 2.6"))))))) - (inputs - `(("ghc-hspec" ,ghc-hspec) - ("ghc-quickcheck" ,ghc-quickcheck))) - (home-page "https://web.engr.oregonstate.edu/~erwig/fgl/haskell") - (synopsis - "Martin Erwig's Functional Graph Library") - (description "The functional graph library, FGL, is a collection of type -and function definitions to address graph problems. The basis of the library -is an inductive definition of graphs in the style of algebraic data types that -encourages inductive, recursive definitions of graph algorithms.") - (license license:bsd-3))) - -(define-public ghc-chasingbottoms - (package - (name "ghc-chasingbottoms") - (version "1.3.1.4") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/ChasingBottoms/" - "ChasingBottoms-" version ".tar.gz")) - (sha256 - (base32 - "06cynx6hcbfpky7qq3b3mjjgwbnaxkwin3znbwq4b9ikiw0ng633")))) - (build-system haskell-build-system) - (inputs - `(("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-random" ,ghc-random) - ("ghc-syb" ,ghc-syb))) - (home-page "https://hackage.haskell.org/package/ChasingBottoms") - (synopsis "Testing of partial and infinite values in Haskell") - (description - ;; FIXME: There should be a @comma{} in the uref text, but it is not - ;; rendered properly. - "This is a library for testing code involving bottoms or infinite values. -For the underlying theory and a larger example involving use of QuickCheck, -see the article -@uref{http://www.cse.chalmers.se/~nad/publications/danielsson-jansson-mpc2004.html, -\"Chasing Bottoms A Case Study in Program Verification in the Presence of -Partial and Infinite Values\"}.") - (license license:expat))) - -(define-public ghc-unordered-containers - (package - (name "ghc-unordered-containers") - (version "0.2.9.0") - (outputs '("out" "doc")) - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/unordered-containers" - "/unordered-containers-" version ".tar.gz")) - (sha256 - (base32 - "0l4264p0av12cc6i8gls13q8y27x12z2ar4x34n3x59y99fcnc37")))) - (build-system haskell-build-system) - (inputs - `(("ghc-chasingbottoms" ,ghc-chasingbottoms) - ("ghc-hunit" ,ghc-hunit) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) - ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) - ("ghc-hashable" ,ghc-hashable))) - (home-page - "https://github.com/tibbe/unordered-containers") - (synopsis - "Efficient hashing-based container types") - (description - "Efficient hashing-based container types. The containers have been -optimized for performance critical use, both in terms of large data quantities -and high speed.") - (license license:bsd-3))) - -(define-public ghc-unordered-containers-bootstrap - (package - (inherit ghc-unordered-containers) - (name "ghc-unordered-containers-bootstrap") - (arguments `(#:tests? #f)) - (inputs - `(("ghc-hashable" ,ghc-hashable-bootstrap))) - (properties '(hidden? #t)))) - -(define-public ghc-uniplate - (package - (name "ghc-uniplate") - (version "1.6.12") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/uniplate/uniplate-" - version - ".tar.gz")) - (sha256 - (base32 - "1dx8f9aw27fz8kw0ad1nm6355w5rdl7bjvb427v2bsgnng30pipw")))) - (build-system haskell-build-system) - (inputs - `(("ghc-syb" ,ghc-syb) - ("ghc-hashable" ,ghc-hashable) - ("ghc-unordered-containers" ,ghc-unordered-containers))) - (home-page "http://community.haskell.org/~ndm/uniplate/") - (synopsis "Simple, concise and fast generic operations") - (description "Uniplate is a library for writing simple and concise generic -operations. Uniplate has similar goals to the original Scrap Your Boilerplate -work, but is substantially simpler and faster.") - (license license:bsd-3))) - -(define-public ghc-base64-bytestring - (package - (name "ghc-base64-bytestring") - (version "1.0.0.2") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/base64-bytestring/base64-bytestring-" - version - ".tar.gz")) - (sha256 - (base32 "13305brzlac24pifiqd5a2z10c6k6amhpdy9cc0z5ryrkgnm8dhr")))) - (build-system haskell-build-system) - (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing. - (home-page "https://github.com/bos/base64-bytestring") - (synopsis "Base64 encoding and decoding for ByteStrings") - (description "This library provides fast base64 encoding and decoding for -Haskell @code{ByteString}s.") - (license license:bsd-3))) - -(define-public ghc-annotated-wl-pprint - (package - (name "ghc-annotated-wl-pprint") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/annotated-wl-pprint" - "/annotated-wl-pprint-" version - ".tar.gz")) - (sha256 - (base32 - "061xfz6qany3wf95csl8dcik2pz22cn8iv1qchhm16isw5zjs9hc")))) - (build-system haskell-build-system) - (home-page - "https://github.com/david-christiansen/annotated-wl-pprint") - (synopsis - "The Wadler/Leijen Pretty Printer, with annotation support") - (description "This is a modified version of wl-pprint, which was based on -Wadler's paper \"A Prettier Printer\". This version allows the library user -to annotate the text with semantic information, which can later be rendered in -a variety of ways.") - (license license:bsd-3))) - -(define-public ghc-wl-pprint - (package - (name "ghc-wl-pprint") - (version "1.2.1") - (source (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/wl-pprint/wl-pprint-" - version ".tar.gz")) - (sha256 - (base32 - "0kn7y8pdrv8f87zhd5mifcl8fy3b2zvnzmzwhdqhxxlyzwiq6z0c")))) - (build-system haskell-build-system) - (home-page "https://hackage.haskell.org/package/wl-pprint") - (synopsis "Wadler/Leijen pretty printer") - (description - "This is a pretty printing library based on Wadler's paper @i{A Prettier -Printer}. This version allows the library user to declare overlapping -instances of the @code{Pretty} class.") - (license license:bsd-3))) - -(define-public ghc-ansi-wl-pprint - (package - (name "ghc-ansi-wl-pprint") - (version "0.6.8.2") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "ansi-wl-pprint/ansi-wl-pprint-" - version ".tar.gz")) - (sha256 - (base32 - "0gnb4mkqryv08vncxnj0bzwcnd749613yw3cxfzw6y3nsldp4c56")))) - (build-system haskell-build-system) - (inputs - `(("ghc-ansi-terminal" ,ghc-ansi-terminal))) - (home-page "https://github.com/ekmett/ansi-wl-pprint") - (synopsis "Wadler/Leijen Pretty Printer for colored ANSI terminal output") - (description "This is a pretty printing library based on Wadler's paper -\"A Prettier Printer\". It has been enhanced with support for ANSI terminal -colored output using the ansi-terminal package.") - (license license:bsd-3))) - -(define-public ghc-split - (package - (name "ghc-split") - (version "0.2.3.3") - (outputs '("out" "doc")) - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/split/split-" - version - ".tar.gz")) - (sha256 - (base32 - "04qlmkcyklznl03gsjg95b4nzb6i96gdapqg60rny9szgi7ngk8x")))) - (build-system haskell-build-system) - (native-inputs - `(("ghc-quickcheck" ,ghc-quickcheck))) - (home-page "https://hackage.haskell.org/package/split") - (synopsis "Combinator library for splitting lists") - (description "This package provides a collection of Haskell functions for -splitting lists into parts, akin to the @code{split} function found in several -mainstream languages.") - (license license:bsd-3))) - -(define-public ghc-parser-combinators - (package - (name "ghc-parser-combinators") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "parser-combinators/parser-combinators-" - version ".tar.gz")) - (sha256 - (base32 - "1pwfdsklqwvaynwpdzmx1bs35mp6dpsyaqdnzxnqcrxwf5h8sk75")))) - (build-system haskell-build-system) - (home-page "https://github.com/mrkkrp/parser-combinators") - (synopsis "Commonly useful parser combinators") - (description - "This is a lightweight package providing commonly useful parser -combinators.") - (license license:bsd-3))) - -(define-public ghc-megaparsec - (package - (name "ghc-megaparsec") - (version "6.5.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "megaparsec/megaparsec-" - version ".tar.gz")) - (sha256 - (base32 - "12iggy7qpf8x93jm64zf0g215xwy779bqyfyjk2bhmxqqr1yzgdy")))) - (build-system haskell-build-system) - (arguments - `(#:cabal-revision - ("4" "0ij3asi5vwlhbgwsy6nhli9a0qb7926mg809fsgyl1rnhs9fvpx1"))) - (inputs - `(("ghc-case-insensitive" ,ghc-case-insensitive) - ("ghc-parser-combinators" ,ghc-parser-combinators) - ("ghc-scientific" ,ghc-scientific))) - (native-inputs - `(("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-hspec" ,ghc-hspec) - ("ghc-hspec-expectations" ,ghc-hspec-expectations) - ("hspec-discover" ,hspec-discover))) - (home-page "https://github.com/mrkkrp/megaparsec") - (synopsis "Monadic parser combinators") - (description - "This is an industrial-strength monadic parser combinator library. -Megaparsec is a feature-rich package that strikes a nice balance between -speed, flexibility, and quality of parse errors.") - (license license:bsd-2))) - -(define-public ghc-vector - (package - (name "ghc-vector") - (version "0.12.0.1") - (outputs '("out" "doc")) - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/vector/vector-" - version - ".tar.gz")) - (sha256 - (base32 - "0yrx2ypiaxahvaz84af5bi855hd3107kxkbqc8km29nsp5wyw05i")))) - (build-system haskell-build-system) - ;; FIXME: To simplify upgrading all Haskell packages, we leave the tests - ;; disabled for now. - (arguments - `(#:cabal-revision - ("3" "0y5rh8k710i2a3p1h2rghvr5cfg78p5h0kbfi7ifxqqf6pzlyr1x") - #:tests? #f)) - (inputs - `(("ghc-primitive" ,ghc-primitive) - ("ghc-random" ,ghc-random) - ("ghc-quickcheck" ,ghc-quickcheck) - ;; ("ghc-hunit" ,ghc-hunit) - ;; ("ghc-test-framework" ,ghc-test-framework) - ;; ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) - ;; ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) - )) - (home-page "https://github.com/haskell/vector") - (synopsis "Efficient Arrays") - (description "This library provides an efficient implementation of -Int-indexed arrays (both mutable and immutable), with a powerful loop -optimisation framework.") - (license license:bsd-3))) - -(define-public ghc-vector-binary-instances - (package - (name "ghc-vector-binary-instances") - (version "0.2.4") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/" - "vector-binary-instances/vector-binary-instances-" - version ".tar.gz")) - (sha256 - (base32 - "1y236jb72iab9ska1mc48z6yb0xgwmj45laaqdyjxksd84z7hbrb")))) - (build-system haskell-build-system) - (arguments - `(#:cabal-revision - ("1" "196frl4akhfk7xf1nxzn8lmq99dxhzhsimanswn9yy7ym8zhki4i"))) - (inputs - `(("ghc-vector" ,ghc-vector))) - (native-inputs - `(("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) - (home-page "https://github.com/bos/vector-binary-instances") - (synopsis "Instances of Data.Binary and Data.Serialize for vector") - (description "This library provides instances of @code{Binary} for the -types defined in the @code{vector} package, making it easy to serialize -vectors to and from disk. We use the generic interface to vectors, so all -vector types are supported. Specific instances are provided for unboxed, -boxed and storable vectors.") - (license license:bsd-3))) - -(define-public ghc-bloomfilter - (package - (name "ghc-bloomfilter") - (version "2.0.1.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "bloomfilter/bloomfilter-" version ".tar.gz")) - (sha256 - (base32 - "03vrmncg1c10a2wcg5skq30m1yiknn7nwxz2gblyyfaxglshspkc")))) - (build-system haskell-build-system) - (native-inputs - `(("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-random" ,ghc-random) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) - (home-page "https://github.com/bos/bloomfilter") - (synopsis "Pure and impure Bloom filter implementations") - (description "This package provides both mutable and immutable Bloom -filter data types, along with a family of hash functions and an easy-to-use -interface.") - (license license:bsd-3))) - -(define-public ghc-network - (package - (name "ghc-network") - (version "2.6.3.6") - (outputs '("out" "doc")) - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/network/network-" - version - ".tar.gz")) - (sha256 - (base32 - "198mam7ahny48p9fajznbqq16a8ya2gw0xm3gnm1si1rmc4hdplv")))) - (build-system haskell-build-system) - ;; The regression tests depend on an unpublished module. - (arguments `(#:tests? #f)) - (native-inputs - `(("ghc-hunit" ,ghc-hunit) - ("ghc-doctest" ,ghc-doctest) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) - (home-page "https://github.com/haskell/network") - (synopsis "Low-level networking interface") - (description - "This package provides a low-level networking interface.") - (license license:bsd-3))) - -(define-public ghc-network-uri - (package - (name "ghc-network-uri") - (version "2.6.1.0") - (outputs '("out" "doc")) - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/network-uri/network-uri-" - version - ".tar.gz")) - (sha256 - (base32 - "1w27zkvn39kjr9lmw9421y8w43h572ycsfafsb7kyvr3a4ihlgj2")))) - (build-system haskell-build-system) - (arguments - `(#:tests? #f)) ; FIXME: currently missing libraries used for tests. - (inputs - `(("ghc-network" ,ghc-network))) - (native-inputs - `(("ghc-hunit" ,ghc-hunit))) - (home-page - "https://github.com/haskell/network-uri") - (synopsis "Library for URI manipulation") - (description "This package provides an URI manipulation interface. In -@code{network-2.6} the @code{Network.URI} module was split off from the -@code{network} package into this package.") - (license license:bsd-3))) - -(define-public ghc-ansi-terminal - (package - (name "ghc-ansi-terminal") - (version "0.8.0.4") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/ansi-terminal/ansi-terminal-" - version - ".tar.gz")) - (sha256 - (base32 - "0428gq8m3fdnb7ldcsyk97qcch76hcxbgh2666p6f76fs2qbhg7b")))) - (build-system haskell-build-system) - (inputs - `(("ghc-colour" ,ghc-colour))) - (home-page "https://github.com/feuerbach/ansi-terminal") - (synopsis "ANSI terminal support for Haskell") - (description "This package provides ANSI terminal support for Haskell. It -allows cursor movement, screen clearing, color output showing or hiding the -cursor, and changing the title.") - (license license:bsd-3))) - -(define-public ghc-vault - (package - (name "ghc-vault") - (version "0.3.1.2") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/vault/vault-" - version - ".tar.gz")) - (sha256 - (base32 - "072mbrihsdsb8c6xvg6lvk0rqjgvxvi8qkg4n6wwym5hq0pfa04y")))) - (build-system haskell-build-system) - (inputs - `(("ghc-unordered-containers" ,ghc-unordered-containers) - ("ghc-hashable" ,ghc-hashable) - ("ghc-semigroupoids" ,ghc-semigroupoids))) - (home-page - "https://github.com/HeinrichApfelmus/vault") - (synopsis "Persistent store for arbitrary values") - (description "This package provides vaults for Haskell. A vault is a -persistent store for values of arbitrary types. It's like having first-class -access to the storage space behind @code{IORefs}. The data structure is -analogous to a bank vault, where you can access different bank boxes with -different keys; hence the name. Also provided is a @code{locker} type, -representing a store for a single element.") - (license license:bsd-3))) - -(define-public ghc-edisonapi - (package - (name "ghc-edisonapi") - (version "1.3.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/EdisonAPI" - "/EdisonAPI-" version ".tar.gz")) - (sha256 - (base32 "0vmmlsj8ggbpwx6fkf5fvb6jp0zpx6iba6b28m80lllr2p8bi8wm")))) - (build-system haskell-build-system) - (home-page "http://rwd.rdockins.name/edison/home/") - (synopsis "Library of efficient, purely-functional data structures (API)") - (description - "Edison is a library of purely functional data structures written by -Chris Okasaki. It is named after Thomas Alva Edison and for the mnemonic -value EDiSon (Efficient Data Structures). Edison provides several families of -abstractions, each with multiple implementations. The main abstractions -provided by Edison are: Sequences such as stacks, queues, and dequeues; -Collections such as sets, bags and heaps; and Associative Collections such as -finite maps and priority queues where the priority and element are distinct.") - (license license:expat))) - -(define-public ghc-edisoncore - (package - (name "ghc-edisoncore") - (version "1.3.2.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/EdisonCore" - "/EdisonCore-" version ".tar.gz")) - (sha256 - (base32 "0fgj5iwiv3v2gdgx7kjcr15dcs4x1kvmjspp3p99wyhh0x6h3ikk")))) - (build-system haskell-build-system) - (inputs - `(("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-edisonapi" ,ghc-edisonapi))) - (home-page "http://rwd.rdockins.name/edison/home/") - (synopsis "Library of efficient, purely-functional data structures") - (description - "This package provides the core Edison data structure implementations, -including multiple sequence, set, bag, and finite map concrete implementations -with various performance characteristics.") - (license license:expat))) - -(define-public ghc-mmorph - (package - (name "ghc-mmorph") - (version "1.1.2") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/mmorph/mmorph-" - version - ".tar.gz")) - (sha256 - (base32 - "1gjz1ib968lqybma7my1n19qq6cdj6a7nskrlnwy4jy9jrwzs2n9")))) - (build-system haskell-build-system) - (inputs - `(("ghc-transformers-compat" ,ghc-transformers-compat))) - (home-page "https://hackage.haskell.org/package/mmorph") - (synopsis "Monad morphisms") - (description - "This library provides monad morphism utilities, most commonly used for -manipulating monad transformer stacks.") - (license license:bsd-3))) - -(define-public ghc-ifelse - (package - (name "ghc-ifelse") - (version "0.85") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "IfElse/IfElse-" version ".tar.gz")) - (sha256 - (base32 - "1kfx1bwfjczj93a8yqz1n8snqiq5655qgzwv1lrycry8wb1vzlwa")))) - (build-system haskell-build-system) - (home-page "http://hackage.haskell.org/package/IfElse") - (synopsis "Monadic control flow with anaphoric variants") - (description "This library provides functions for control flow inside of -monads with anaphoric variants on @code{if} and @code{when} and a C-like -@code{switch} function.") - (license license:bsd-3))) - -(define-public ghc-monad-control - (package - (name "ghc-monad-control") - (version "1.0.2.3") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/monad-control" - "/monad-control-" version ".tar.gz")) - (sha256 - (base32 - "1c92833gr6cadidjdp8mlznkpp8lyxl0w3y7d19y8yi3klc3843c")))) - (build-system haskell-build-system) - (inputs - `(("ghc-transformers-base" ,ghc-transformers-base) - ("ghc-transformers-compat" ,ghc-transformers-compat))) - (home-page "https://github.com/basvandijk/monad-control") - (synopsis "Monad transformers to lift control operations like exception -catching") - (description "This package defines the type class @code{MonadBaseControl}, -a subset of @code{MonadBase} into which generic control operations such as -@code{catch} can be lifted from @code{IO} or any other base monad.") - (license license:bsd-3))) - -(define-public ghc-fail - (package - (name "ghc-fail") - (version "4.9.0.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/fail/fail-" - version ".tar.gz")) - (sha256 - (base32 "18nlj6xvnggy61gwbyrpmvbdkq928wv0wx2zcsljb52kbhddnp3d")))) - (build-system haskell-build-system) - (arguments `(#:haddock? #f)) ; Package contains no documentation. - (home-page "https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail") - (synopsis "Forward-compatible MonadFail class") - (description - "This package contains the @code{Control.Monad.Fail} module providing the -@uref{https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail, MonadFail} -class that became available in -@uref{https://hackage.haskell.org/package/base-4.9.0.0, base-4.9.0.0} for -older @code{base} package versions. This package turns into an empty package -when used with GHC versions which already provide the -@code{Control.Monad.Fail} module.") - (license license:bsd-3))) - -(define-public ghc-monadplus - (package - (name "ghc-monadplus") - (version "1.4.2") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/monadplus" - "/monadplus-" version ".tar.gz")) - (sha256 - (base32 "15b5320wdpmdp5slpphnc1x4rhjch3igw245dp2jxbqyvchdavin")))) - (build-system haskell-build-system) - (home-page "https://hackage.haskell.org/package/monadplus") - (synopsis "Filtering and folding over arbitrary MonadPlus instances") - (description - "This package generalizes many common stream operations such as -@code{filter}, @code{catMaybes} etc, enabling filtering and folding over -arbitrary @code{MonadPlus} instances.") - (license license:bsd-3))) - -(define-public ghc-byteorder - (package - (name "ghc-byteorder") - (version "1.0.4") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/byteorder/byteorder-" - version - ".tar.gz")) - (sha256 - (base32 - "06995paxbxk8lldvarqpb3ygcjbg4v8dk4scib1rjzwlhssvn85x")))) - (build-system haskell-build-system) - (home-page - "http://community.haskell.org/~aslatter/code/byteorder") - (synopsis - "Exposes the native endianness of the system") - (description - "This package is for working with the native byte-ordering of the -system.") - (license license:bsd-3))) - -(define-public ghc-base-compat - (package - (name "ghc-base-compat") - (version "0.10.4") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/base-compat/base-compat-" - version - ".tar.gz")) - (sha256 - (base32 - "0ksp990gxs731mq19rzbxrbs43nazfljjc8krlx5bjqblw3kfs8d")))) - (build-system haskell-build-system) - (native-inputs - `(("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-hspec" ,ghc-hspec) - ("hspec-discover" ,hspec-discover))) - (home-page "https://hackage.haskell.org/package/base-compat") - (synopsis "Haskell compiler compatibility library") - (description "This library provides functions available in later versions -of base to a wider range of compilers, without requiring the use of CPP -pragmas in your code.") - (license license:bsd-3))) - -(define-public ghc-blaze-builder - (package - (name "ghc-blaze-builder") - (version "0.4.1.0") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/blaze-builder/blaze-builder-" - version - ".tar.gz")) - (sha256 - (base32 - "05681dih2d8s96an945wkbwl05w8ddbcfx8n3r3ck79ydyb8pz4i")))) - (build-system haskell-build-system) - (arguments `(#:tests? #f)) ; FIXME: Missing test libraries. - (inputs - `(("ghc-utf8-string" ,ghc-utf8-string))) - (home-page "https://github.com/lpsmith/blaze-builder") - (synopsis "Efficient buffered output") - (description "This library provides an implementation of the older -@code{blaze-builder} interface in terms of the new builder that shipped with -@code{bytestring-0.10.4.0}. This implementation is mostly intended as a -bridge to the new builder, so that code that uses the old interface can -interoperate with code that uses the new implementation.") - (license license:bsd-3))) - -(define-public ghc-blaze-markup - (package - (name "ghc-blaze-markup") - (version "0.8.2.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "blaze-markup/blaze-markup-" - version ".tar.gz")) - (sha256 - (base32 - "0ih1c3qahkdgzbqihdhny5s313l2m66fbb88w8jbx7yz56y7rawh")))) - (build-system haskell-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'configure 'update-constraints - (lambda _ - (substitute* "blaze-markup.cabal" - (("tasty >= 1\\.0 && < 1\\.1") - "tasty >= 1.0 && < 1.2"))))))) - (inputs - `(("ghc-blaze-builder" ,ghc-blaze-builder))) - (native-inputs - `(("ghc-hunit" ,ghc-hunit) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-hunit" ,ghc-tasty-hunit) - ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) - (home-page "https://jaspervdj.be/blaze") - (synopsis "Fast markup combinator library for Haskell") - (description "This library provides core modules of a markup combinator -library for Haskell.") - (license license:bsd-3))) - -(define-public ghc-easy-file - (package - (name "ghc-easy-file") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/easy-file/easy-file-" - version - ".tar.gz")) - (sha256 - (base32 - "0zmlcz723051qpn8l8vi51c5rx1blwrw4094jcshkmj8p9r2xxaj")))) - (build-system haskell-build-system) - (home-page - "https://github.com/kazu-yamamoto/easy-file") - (synopsis "File handling library for Haskell") - (description "This library provides file handling utilities for Haskell.") - (license license:bsd-3))) - -(define-public ghc-async - (package - (name "ghc-async") - (version "2.2.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/async/async-" - version - ".tar.gz")) - (sha256 - (base32 - "09whscli1q5z7lzyq9rfk0bq1ydplh6pjmc6qv0x668k5818c2wg")))) - (build-system haskell-build-system) - (inputs - `(("ghc-hashable" ,ghc-hashable) - ("ghc-hunit" ,ghc-hunit) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) - (home-page "https://github.com/simonmar/async") - (synopsis "Library to run IO operations asynchronously") - (description "Async provides a library to run IO operations -asynchronously, and wait for their results. It is a higher-level interface -over threads in Haskell, in which @code{Async a} is a concurrent thread that -will eventually deliver a value of type @code{a}.") - (license license:bsd-3))) - -(define-public ghc-fingertree - (package - (name "ghc-fingertree") - (version "0.1.4.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/fingertree/fingertree-" - version ".tar.gz")) - (sha256 - (base32 - "192fyzv0pn1437wdpqg1l80rswkk4rw3w61r4bq7dhv354bdqy4p")))) - (build-system haskell-build-system) - (native-inputs - `(("ghc-hunit" ,ghc-hunit) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) - ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) - (home-page "https://hackage.haskell.org/package/fingertree") - (synopsis "Generic finger-tree structure") - (description "This library provides finger trees, a general sequence -representation with arbitrary annotations, for use as a base for -implementations of various collection types. It includes examples, as -described in section 4 of Ralf Hinze and Ross Paterson, \"Finger trees: a -simple general-purpose data structure\".") - (license license:bsd-3))) - -(define-public ghc-optparse-applicative - (package - (name "ghc-optparse-applicative") - (version "0.14.2.0") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/optparse-applicative" - "/optparse-applicative-" version ".tar.gz")) - (sha256 - (base32 - "0c3z1mvynlyv1garjbdmdd3npm40dabgm75js4r07cf766c1wd71")))) - (build-system haskell-build-system) - (inputs - `(("ghc-transformers-compat" ,ghc-transformers-compat) - ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint))) - (native-inputs - `(("ghc-quickcheck" ,ghc-quickcheck))) - (home-page "https://github.com/pcapriotti/optparse-applicative") - (synopsis "Utilities and combinators for parsing command line options") - (description "This package provides utilities and combinators for parsing -command line options in Haskell.") - (license license:bsd-3))) - -(define-public ghc-base-orphans - (package - (name "ghc-base-orphans") - (version "0.7") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/base-orphans/base-orphans-" - version - ".tar.gz")) - (sha256 - (base32 - "057f9npnqk71ccfh95djfkpd54dzazphj06grwxa3fyhwcwxrb8a")))) - (build-system haskell-build-system) - (native-inputs - `(("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-hspec" ,ghc-hspec) - ("hspec-discover" ,hspec-discover))) - (home-page "https://hackage.haskell.org/package/base-orphans") - (synopsis "Orphan instances for backwards compatibility") - (description "This package defines orphan instances that mimic instances -available in later versions of base to a wider (older) range of compilers.") - (license license:bsd-3))) - -(define-public ghc-auto-update - (package - (name "ghc-auto-update") - (version "0.1.4") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/auto-update/auto-update-" - version - ".tar.gz")) - (sha256 - (base32 - "09dlh2alsx2mw5kvj931yhbj0aw7jmly2cm9xbscm2sf098w35jy")))) - (build-system haskell-build-system) - (home-page "https://github.com/yesodweb/wai") - (synopsis "Efficiently run periodic, on-demand actions") - (description "This library provides mechanisms to efficiently run -periodic, on-demand actions in Haskell.") - (license license:expat))) - -(define-public ghc-tagged - (package - (name "ghc-tagged") - (version "0.8.5") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/tagged/tagged-" - version - ".tar.gz")) - (sha256 - (base32 - "16cdzh0bw16nvjnyyy5j9s60malhz4nnazw96vxb0xzdap4m2z74")))) - (build-system haskell-build-system) - (arguments - `(#:cabal-revision - ("2" "0r2knfcq0b4s652vlvlnfwxlc2mkc2ra9kl8bp4zdn1awmfy0ia5"))) - (inputs - `(("ghc-transformers-compat" ,ghc-transformers-compat))) - (home-page "https://hackage.haskell.org/package/tagged") - (synopsis "Haskell phantom types to avoid passing dummy arguments") - (description "This library provides phantom types for Haskell 98, to avoid -having to unsafely pass dummy arguments.") - (license license:bsd-3))) - -(define-public ghc-unbounded-delays - (package - (name "ghc-unbounded-delays") - (version "0.1.1.0") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/unbounded-delays/unbounded-delays-" - version - ".tar.gz")) - (sha256 - (base32 - "1ir9fghbrc214c97bwafk5ck6cacxz1pdnq4i18p604d1b8zg9wa")))) - (build-system haskell-build-system) - (home-page "https://github.com/basvandijk/unbounded-delays") - (synopsis "Unbounded thread delays and timeouts") - (description "The @code{threadDelay} and @code{timeout} functions from the -Haskell base library use the bounded @code{Int} type for specifying the delay -or timeout period. This package provides alternative functions which use the -unbounded @code{Integer} type.") - (license license:bsd-3))) - -(define-public ghc-clock - (package - (name "ghc-clock") - (version "0.7.2") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/" - "clock/" - "clock-" version ".tar.gz")) - (sha256 - (base32 "07v91s20halsqjmziqb1sqjp2sjpckl9by7y28aaklwqi2bh2rl8")))) - (build-system haskell-build-system) - (inputs - `(("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) - (home-page "https://hackage.haskell.org/package/clock") - (synopsis "High-resolution clock for Haskell") - (description "A package for convenient access to high-resolution clock and -timer functions of different operating systems via a unified API.") - (license license:bsd-3))) - -;; This package builds `clock` without tests, since the tests rely on tasty -;; and tasty-quickcheck, which in turn require clock to build. -(define-public ghc-clock-bootstrap - (package - (inherit ghc-clock) - (name "ghc-clock-bootstrap") - (arguments '(#:tests? #f)) - (inputs '()) - (properties '((hidden? #t))))) - -(define-public ghc-charset - (package - (name "ghc-charset") - (version "0.3.7.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/charset/charset-" - version - ".tar.gz")) - (sha256 - (base32 - "1gn0m96qpjww8hpp2g1as5yy0wcwy4iq73h3kz6g0yxxhcl5sh9x")))) - (build-system haskell-build-system) - (inputs - `(("ghc-semigroups" ,ghc-semigroups) - ("ghc-unordered-containers" ,ghc-unordered-containers))) - (home-page "https://github.com/ekmett/charset") - (synopsis "Fast unicode character sets for Haskell") - (description "This package provides fast unicode character sets for -Haskell, based on complemented PATRICIA tries.") - (license license:bsd-3))) - -(define-public ghc-bytestring-builder - (package - (name "ghc-bytestring-builder") - (version "0.10.8.1.0") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/bytestring-builder" - "/bytestring-builder-" version ".tar.gz")) - (sha256 - (base32 - "1hnvjac28y44yn78c9vdp1zvrknvlw98ky3g4n5vivr16rvh8x3d")))) - (build-system haskell-build-system) - (arguments `(#:haddock? #f)) ; Package contains no documentation. - (home-page "https://hackage.haskell.org/package/bytestring-builder") - (synopsis "The new bytestring builder, packaged outside of GHC") - (description "This package provides the bytestring builder that is -debuting in bytestring-0.10.4.0, which should be shipping with GHC 7.8. -Compatibility package for older packages.") - (license license:bsd-3))) - -(define-public ghc-nats - (package - (name "ghc-nats") - (version "1.1.2") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/nats/nats-" - version - ".tar.gz")) - (sha256 - (base32 - "1v40drmhixck3pz3mdfghamh73l4rp71mzcviipv1y8jhrfxilmr")))) - (build-system haskell-build-system) - (arguments `(#:haddock? #f)) - (inputs - `(("ghc-hashable" ,ghc-hashable))) - (home-page "https://hackage.haskell.org/package/nats") - (synopsis "Natural numbers") - (description "This library provides the natural numbers for Haskell.") - (license license:bsd-3))) - -(define-public ghc-nats-bootstrap - (package - (inherit ghc-nats) - (name "ghc-nats-bootstrap") - (inputs - `(("ghc-hashable" ,ghc-hashable-bootstrap))) - (properties '((hidden? #t))))) - -(define-public ghc-void - (package - (name "ghc-void") - (version "0.7.2") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/void/void-" - version - ".tar.gz")) - (sha256 - (base32 - "0aygw0yb1h3yhmfl3bkwh5d3h0l4mmsxz7j53vdm6jryl1kgxzyk")))) - (build-system haskell-build-system) - (inputs - `(("ghc-semigroups" ,ghc-semigroups) - ("ghc-hashable" ,ghc-hashable))) - (home-page "https://github.com/ekmett/void") - (synopsis - "Logically uninhabited data type") - (description - "A Haskell 98 logically uninhabited data type, used to indicate that a -given term should not exist.") - (license license:bsd-3))) - -(define-public ghc-invariant - (package - (name "ghc-invariant") - (version "0.5.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/invariant/invariant-" - version ".tar.gz")) - (sha256 - (base32 - "0aqj7z55632qdg45074kgn9qfdxzb0a2f8lgjzr0l0i4mm2rr37b")))) - (build-system haskell-build-system) - (inputs - `(("ghc-bifunctors" ,ghc-bifunctors) - ("ghc-comonad" ,ghc-comonad) - ("ghc-contravariant" ,ghc-contravariant) - ("ghc-profunctors" ,ghc-profunctors) - ("ghc-semigroups" ,ghc-semigroups) - ("ghc-statevar" ,ghc-statevar) - ("ghc-tagged" ,ghc-tagged) - ("ghc-th-abstraction" ,ghc-th-abstraction) - ("ghc-transformers-compat" ,ghc-transformers-compat) - ("ghc-unordered-containers" ,ghc-unordered-containers))) - (native-inputs - `(("ghc-hspec" ,ghc-hspec) - ("ghc-quickcheck" ,ghc-quickcheck) - ("hspec-discover" ,hspec-discover))) - (home-page "https://github.com/nfrisby/invariant-functors") - (synopsis "Haskell98 invariant functors") - (description "Haskell98 invariant functors (also known as exponential -functors). For more information, see Edward Kmett's article -@uref{http://comonad.com/reader/2008/rotten-bananas/, Rotten Bananas}.") - (license license:bsd-2))) - -(define-public ghc-kan-extensions - (package - (name "ghc-kan-extensions") - (version "5.2") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/kan-extensions/kan-extensions-" - version - ".tar.gz")) - (sha256 - (base32 - "1lyvyiwwh962j2nnnsqzlvp5zq6z8p3spvhmji99cjvldxc7wwkb")))) - (build-system haskell-build-system) - (inputs - `(("ghc-adjunctions" ,ghc-adjunctions) - ("ghc-comonad" ,ghc-comonad) - ("ghc-contravariant" ,ghc-contravariant) - ("ghc-distributive" ,ghc-distributive) - ("ghc-free" ,ghc-free) - ("ghc-invariant" ,ghc-invariant) - ("ghc-semigroupoids" ,ghc-semigroupoids) - ("ghc-tagged" ,ghc-tagged) - ("ghc-transformers-compat" ,ghc-transformers-compat))) - (home-page "https://github.com/ekmett/kan-extensions/") - (synopsis "Kan extensions library") - (description "This library provides Kan extensions, Kan lifts, various -forms of the Yoneda lemma, and (co)density (co)monads for Haskell.") - (license license:bsd-3))) - -(define-public ghc-call-stack - (package - (name "ghc-call-stack") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "call-stack/call-stack-" - version ".tar.gz")) - (sha256 - (base32 - "1qmihf5jafmc79sk52l6gpx75f5bnla2lp62kh3p34x3j84mwpzj")))) - (build-system haskell-build-system) - (inputs `(("ghc-nanospec" ,ghc-nanospec))) - (home-page "https://github.com/sol/call-stack#readme") - (synopsis "Use GHC call-stacks in a backward compatible way") - (description "This package provides a compatibility layer for using GHC -call stacks with different versions of the compiler.") - (license license:expat))) - -;; This is used as an input to ghc-hunit. We cannot use ghc-call-stack there, -;; because it depends on ghc-nanospec, which depends on ghc-hunit. -(define-public ghc-call-stack-boot - (hidden-package - (package - (inherit ghc-call-stack) - (arguments '(#:tests? #f)) - (inputs '())))) - -(define-public ghc-statevar - (package - (name "ghc-statevar") - (version "1.1.1.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/StateVar/StateVar-" - version - ".tar.gz")) - (sha256 - (base32 - "08r2iw0gdmfs4f6wraaq19vfmkjdbics3dbhw39y7mdjd98kcr7b")))) - (build-system haskell-build-system) - (home-page "https://hackage.haskell.org/package/StateVar") - (synopsis "State variables for Haskell") - (description "This package provides state variables, which are references -in the @code{IO} monad, like @code{IORef}s or parts of the OpenGL state.") - (license license:bsd-3))) - -(define-public ghc-lens - (package - (name "ghc-lens") - (version "4.16.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/lens/lens-" - version ".tar.gz")) - (sha256 - (base32 - "1im4drhbydbawd6i0jsrzpqihnmx4ywpkg7yg94ddwsw3mxwkgpm")))) - (build-system haskell-build-system) - (arguments - `(#:cabal-revision - ("2" "11h83lj5mba4grhz1qx3irz10ysm9c3k7k6i6xv2cr60q8xin3ri"))) - (inputs - `(("ghc-base-orphans" ,ghc-base-orphans) - ("ghc-bifunctors" ,ghc-bifunctors) - ("ghc-distributive" ,ghc-distributive) - ("ghc-exceptions" ,ghc-exceptions) - ("ghc-free" ,ghc-free) - ("ghc-kan-extensions" ,ghc-kan-extensions) - ("ghc-parallel" ,ghc-parallel) - ("ghc-reflection" ,ghc-reflection) - ("ghc-semigroupoids" ,ghc-semigroupoids) - ("ghc-vector" ,ghc-vector) - ("ghc-call-stack" ,ghc-call-stack) - ("ghc-comonad" ,ghc-comonad) - ("ghc-contravariant" ,ghc-contravariant) - ("ghc-hashable" ,ghc-hashable) - ("ghc-profunctors" ,ghc-profunctors) - ("ghc-semigroups" ,ghc-semigroups) - ("ghc-tagged" ,ghc-tagged) - ("ghc-transformers-compat" ,ghc-transformers-compat) - ("ghc-unordered-containers" ,ghc-unordered-containers) - ("ghc-void" ,ghc-void) - ("ghc-generic-deriving" ,ghc-generic-deriving) - ("ghc-nats" ,ghc-nats) - ("ghc-simple-reflect" ,ghc-simple-reflect) - ("hlint" ,hlint))) - (native-inputs - `(("cabal-doctest" ,cabal-doctest) - ("ghc-doctest" ,ghc-doctest) - ("ghc-hunit" ,ghc-hunit) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) - ("ghc-test-framework-th" ,ghc-test-framework-th) - ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) - ("ghc-quickcheck" ,ghc-quickcheck))) - (home-page "https://github.com/ekmett/lens/") - (synopsis "Lenses, Folds and Traversals") - (description "This library provides @code{Control.Lens}. The combinators -in @code{Control.Lens} provide a highly generic toolbox for composing families -of getters, folds, isomorphisms, traversals, setters and lenses and their -indexed variants.") - (license license:bsd-3))) - -(define-public ghc-cheapskate - (package - (name "ghc-cheapskate") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/cheapskate/cheapskate-" - version - ".tar.gz")) - (sha256 - (base32 - "1hiqi7h76shjzs2zj0j8g6wnq2hbiq1hmfafdazr97fba2zl2432")))) - (build-system haskell-build-system) - (inputs - `(("ghc-blaze-html" ,ghc-blaze-html) - ("ghc-xss-sanitize" ,ghc-xss-sanitize) - ("ghc-data-default" ,ghc-data-default) - ("ghc-syb" ,ghc-syb) - ("ghc-uniplate" ,ghc-uniplate))) - (home-page "https://github.com/jgm/cheapskate") - (synopsis "Experimental markdown processor") - (description "Cheapskate is an experimental Markdown processor in pure -Haskell. It aims to process Markdown efficiently and in the most forgiving -possible way. It is designed to deal with any input, including garbage, with -linear performance. Output is sanitized by default for protection against -cross-site scripting (@dfn{XSS}) attacks.") - (license license:bsd-3))) - -(define-public ghc-bifunctors - (package - (name "ghc-bifunctors") - (version "5.5.3") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/bifunctors/bifunctors-" - version - ".tar.gz")) - (sha256 - (base32 - "1jn9rxg643xnlhrknmjz88nblcpsr45xwjkwwnn5nxpasa7m4d6l")))) - (build-system haskell-build-system) - (inputs - `(("ghc-base-orphans" ,ghc-base-orphans) - ("ghc-comonad" ,ghc-comonad) - ("ghc-th-abstraction" ,ghc-th-abstraction) - ("ghc-transformers-compat" ,ghc-transformers-compat) - ("ghc-tagged" ,ghc-tagged) - ("ghc-semigroups" ,ghc-semigroups))) - (native-inputs - `(("ghc-hspec" ,ghc-hspec) - ("hspec-discover" ,hspec-discover) - ("ghc-quickcheck" ,ghc-quickcheck))) - (home-page "https://github.com/ekmett/bifunctors/") - (synopsis "Bifunctors for Haskell") - (description "This package provides bifunctors for Haskell.") - (license license:bsd-3))) - -(define-public ghc-semigroupoids - (package - (name "ghc-semigroupoids") - (version "5.2.2") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/semigroupoids/semigroupoids-" - version - ".tar.gz")) - (sha256 - (base32 - "17i96y4iqj8clcs090lf6k0ij3j16nj14vsfwz0mm9nd6i4gbpp4")))) - (build-system haskell-build-system) - (arguments - `(#:cabal-revision - ("4" "0pqfrxzypjq6z8lgdkzq4vhcyqkpk5326hny0r6snpc3gm78r4ij"))) - (inputs - `(("ghc-base-orphans" ,ghc-base-orphans) - ("ghc-transformers-compat" ,ghc-transformers-compat) - ("ghc-bifunctors" ,ghc-bifunctors) - ("ghc-comonad" ,ghc-comonad) - ("ghc-contravariant" ,ghc-contravariant) - ("ghc-distributive" ,ghc-distributive) - ("ghc-hashable" ,ghc-hashable) - ("ghc-semigroups" ,ghc-semigroups) - ("ghc-tagged" ,ghc-tagged) - ("ghc-unordered-containers" ,ghc-unordered-containers))) - (native-inputs - `(("cabal-doctest" ,cabal-doctest) - ("ghc-doctest" ,ghc-doctest))) - (home-page "https://github.com/ekmett/semigroupoids") - (synopsis "Semigroupoids operations for Haskell") - (description "This library provides a wide array of (semi)groupoids and -operations for working with them. A @code{Semigroupoid} is a @code{Category} -without the requirement of identity arrows for every object in the category. -A @code{Category} is any @code{Semigroupoid} for which the Yoneda lemma holds. -Finally, to work with these weaker structures it is beneficial to have -containers that can provide stronger guarantees about their contents, so -versions of @code{Traversable} and @code{Foldable} that can be folded with -just a @code{Semigroup} are added.") - (license license:bsd-3))) - -(define-public ghc-contravariant - (package - (name "ghc-contravariant") - (version "1.4.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/contravariant/contravariant-" - version - ".tar.gz")) - (sha256 - (base32 - "1vfhk8c5cxmmakx7rflap1ipkx5q0j5vnlrcz7yz6y53kxhksgf9")))) - (build-system haskell-build-system) - (inputs - `(("ghc-void" ,ghc-void) - ("ghc-transformers-compat" ,ghc-transformers-compat) - ("ghc-statevar" ,ghc-statevar) - ("ghc-semigroups" ,ghc-semigroups))) - (home-page - "https://github.com/ekmett/contravariant/") - (synopsis "Contravariant functors") - (description "Contravariant functors for Haskell.") - (license license:bsd-3))) - -(define-public ghc-semigroups - (package - (name "ghc-semigroups") - (version "0.18.5") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/semigroups/semigroups-" - version - ".tar.gz")) - (sha256 - (base32 - "17g29h62g1k51ghhvzkw72zksjgi6vs6bfipkj81pqw1dsprcamb")))) - (build-system haskell-build-system) - (inputs - `(("ghc-nats" ,ghc-nats) - ("ghc-tagged" ,ghc-tagged) - ("ghc-unordered-containers" ,ghc-unordered-containers) - ("ghc-hashable" ,ghc-hashable))) - (home-page "https://github.com/ekmett/semigroups/") - (synopsis "Semigroup operations for Haskell") - (description "This package provides semigroups for Haskell. In -mathematics, a semigroup is an algebraic structure consisting of a set -together with an associative binary operation. A semigroup generalizes a -monoid in that there might not exist an identity element. It -also (originally) generalized a group (a monoid with all inverses) to a type -where every element did not have to have an inverse, thus the name -semigroup.") - (license license:bsd-3))) - -(define-public ghc-semigroups-bootstrap - (package - (inherit ghc-semigroups) - (name "ghc-semigroups-bootstrap") - (inputs - `(("ghc-nats" ,ghc-nats-bootstrap) - ("ghc-tagged" ,ghc-tagged) - ("ghc-unordered-containers" ,ghc-unordered-containers-bootstrap) - ("ghc-hashable" ,ghc-hashable-bootstrap))) - (properties '(hidden? #t)))) - -(define-public ghc-free - (package - (name "ghc-free") - (version "5.0.2") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/free/free-" - version - ".tar.gz")) - (sha256 - (base32 - "15m3n9vhz7z3kzv1w3wlfa3x8jp4cbrkwmrcjr7jlx39iqffn1gg")))) - (build-system haskell-build-system) - (inputs - `(("ghc-prelude-extras" ,ghc-prelude-extras) - ("ghc-profunctors" ,ghc-profunctors) - ("ghc-exceptions" ,ghc-exceptions) - ("ghc-bifunctors" ,ghc-bifunctors) - ("ghc-comonad" ,ghc-comonad) - ("ghc-distributive" ,ghc-distributive) - ("ghc-semigroupoids" ,ghc-semigroupoids) - ("ghc-semigroups" ,ghc-semigroups) - ("ghc-transformers-base" ,ghc-transformers-base) - ("ghc-transformers-compat" ,ghc-transformers-compat))) - (home-page "https://github.com/ekmett/free/") - (synopsis "Unrestricted monads for Haskell") - (description "This library provides free monads, which are useful for many -tree-like structures and domain specific languages. If @code{f} is a -@code{Functor} then the free @code{Monad} on @code{f} is the type of trees -whose nodes are labeled with the constructors of @code{f}. The word \"free\" -is used in the sense of \"unrestricted\" rather than \"zero-cost\": @code{Free -f} makes no constraining assumptions beyond those given by @code{f} and the -definition of @code{Monad}.") - (license license:bsd-3))) - -(define-public ghc-adjunctions - (package - (name "ghc-adjunctions") - (version "4.4") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/adjunctions/adjunctions-" - version - ".tar.gz")) - (sha256 - (base32 - "1sbal7cbhm12crfnfhkk322jnzgx7lhw3jzq0p463bipagsjwz2h")))) - (build-system haskell-build-system) - (inputs - `(("ghc-profunctors" ,ghc-profunctors) - ("ghc-comonad" ,ghc-comonad) - ("ghc-contravariant" ,ghc-contravariant) - ("ghc-distributive" ,ghc-distributive) - ("ghc-free" ,ghc-free) - ("ghc-tagged" ,ghc-tagged) - ("ghc-semigroupoids" ,ghc-semigroupoids) - ("ghc-semigroups" ,ghc-semigroups) - ("ghc-transformers-compat" ,ghc-transformers-compat) - ("ghc-void" ,ghc-void))) - (native-inputs - `(("ghc-generic-deriving" ,ghc-generic-deriving) - ("ghc-hspec" ,ghc-hspec) - ("hspec-discover" ,hspec-discover))) - (home-page "https://github.com/ekmett/adjunctions/") - (synopsis "Adjunctions and representable functors") - (description "This library provides adjunctions and representable functors -for Haskell.") - (license license:bsd-3))) - -(define-public ghc-equivalence - (package - (name "ghc-equivalence") - (version "0.3.2") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/equivalence" - "/equivalence-" version ".tar.gz")) - (sha256 - (base32 "0a85bdyyvjqs5z4kfhhf758210k9gi9dv42ik66a3jl0z7aix8kx")))) - (build-system haskell-build-system) - (inputs - `(("ghc-stmonadtrans" ,ghc-stmonadtrans) - ("ghc-transformers-compat" ,ghc-transformers-compat) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) - (home-page "https://github.com/pa-ba/equivalence") - (synopsis "Maintaining an equivalence relation implemented as union-find") - (description - "This is an implementation of Tarjan's Union-Find algorithm (Robert E.@: -Tarjan. \"Efficiency of a Good But Not Linear Set Union Algorithm\",JACM -22(2), 1975) in order to maintain an equivalence relation. This -implementation is a port of the @code{union-find} package using the @code{ST} -monad transformer (instead of the IO monad).") - (license license:bsd-3))) - -(define-public ghc-fast-logger - (package - (name "ghc-fast-logger") - (version "2.4.11") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/fast-logger/fast-logger-" - version - ".tar.gz")) - (sha256 - (base32 - "1ad2vq4nifdxshqk9yrmghqizhkgybfz134kpr6padglb2mxxrdv")))) - (build-system haskell-build-system) - (inputs - `(("ghc-auto-update" ,ghc-auto-update) - ("ghc-easy-file" ,ghc-easy-file) - ("ghc-unix-time" ,ghc-unix-time))) - (native-inputs - `(("hspec-discover" ,hspec-discover) - ("ghc-hspec" ,ghc-hspec))) - (home-page "https://hackage.haskell.org/package/fast-logger") - (synopsis "Fast logging system") - (description "This library provides a fast logging system for Haskell.") - (license license:bsd-3))) - -(define-public ghc-doctest - (package - (name "ghc-doctest") - (version "0.16.0") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/doctest/doctest-" - version - ".tar.gz")) - (sha256 - (base32 - "0hkccch65s3kp0b36h7bqhilnpi4bx8kngncm7ma9vbd3dwacjdv")))) - (build-system haskell-build-system) - (arguments `(#:tests? #f)) ; FIXME: missing test framework - (inputs - `(("ghc-syb" ,ghc-syb) - ("ghc-paths" ,ghc-paths) - ("ghc-base-compat" ,ghc-base-compat) - ("ghc-code-page" ,ghc-code-page) - ("ghc-hunit" ,ghc-hunit) - ("ghc-hspec" ,ghc-hspec) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-stringbuilder" ,ghc-stringbuilder) - ("ghc-silently" ,ghc-silently) - ("ghc-setenv" ,ghc-setenv))) - (home-page - "https://github.com/sol/doctest#readme") - (synopsis "Test interactive Haskell examples") - (description "The doctest program checks examples in source code comments. -It is modeled after doctest for Python, see -@uref{https://docs.python.org/library/doctest.html, the Doctest website}.") - (license license:expat))) - -(define-public ghc-lifted-base - (package - (name "ghc-lifted-base") - (version "0.2.3.12") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/lifted-base/lifted-base-" - version - ".tar.gz")) - (sha256 - (base32 - "1i8p8d3rkdh21bhgjjh32vd7qqjr7jq7p59qds0aw2kmargsjd61")))) - (build-system haskell-build-system) - (arguments `(#:tests? #f)) ; FIXME: Missing testing libraries. - (inputs - `(("ghc-transformers-base" ,ghc-transformers-base) - ("ghc-monad-control" ,ghc-monad-control) - ("ghc-transformers-compat" ,ghc-transformers-compat) - ("ghc-hunit" ,ghc-hunit))) - (home-page "https://github.com/basvandijk/lifted-base") - (synopsis "Lifted IO operations from the base library") - (description "Lifted-base exports IO operations from the @code{base} -library lifted to any instance of @code{MonadBase} or @code{MonadBaseControl}. -Note that not all modules from @code{base} are converted yet. The package -includes a copy of the @code{monad-peel} test suite written by Anders -Kaseorg.") - (license license:bsd-3))) - -(define-public ghc-word8 - (package - (name "ghc-word8") - (version "0.1.3") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/word8/word8-" - version - ".tar.gz")) - (sha256 - (base32 - "12jx7f13d2h1djq4fh4dyrab61sm49mj1w61j3rzp2vjfm696c16")))) - (build-system haskell-build-system) - (native-inputs - `(("ghc-hspec" ,ghc-hspec) - ("hspec-discover" ,hspec-discover))) - (home-page "https://hackage.haskell.org/package/word8") - (synopsis "Word8 library for Haskell") - (description "Word8 library to be used with @code{Data.ByteString}.") - (license license:bsd-3))) - -(define-public ghc-stringsearch - (package - (name "ghc-stringsearch") - (version "0.3.6.6") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/stringsearch/stringsearch-" - version - ".tar.gz")) - (sha256 - (base32 - "0jpy9xjcjdbpi3wk6mg7xwd7wfi2mma70p97v1ij5i8bj9qijpr9")))) - (build-system haskell-build-system) - (home-page "https://bitbucket.org/dafis/stringsearch") - (synopsis "Fast searching, splitting and replacing of ByteStrings") - (description "This package provides several functions to quickly search -for substrings in strict or lazy @code{ByteStrings}. It also provides -functions for breaking or splitting on substrings and replacing all -occurrences of a substring (the first in case of overlaps) with another.") - (license license:bsd-3))) - -(define-public ghc-integer-logarithms - (package - (name "ghc-integer-logarithms") - (version "1.0.2.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "integer-logarithms/integer-logarithms-" - version ".tar.gz")) - (sha256 - (base32 - "1wj8kgjg5bn2yrs4zh9qfjv85cx6w998j9pi39yrbv305944mb9j")))) - (build-system haskell-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'configure 'update-constraints - (lambda _ - (substitute* "integer-logarithms.cabal" - (("tasty >= 0\\.10 && < 1\\.1") - "tasty >= 0.10 && < 1.2"))))))) - (native-inputs - `(("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-smallcheck" ,ghc-smallcheck) - ("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-hunit" ,ghc-tasty-hunit) - ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) - ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck))) - (home-page "https://github.com/Bodigrim/integer-logarithms") - (synopsis "Integer logarithms") - (description - "This package provides the following modules: -@code{Math.NumberTheory.Logarithms} and -@code{Math.NumberTheory.Powers.Integer} from the @code{arithmoi} package, -@code{GHC.Integer.Logarithms.Compat} and -@code{Math.NumberTheory.Power.Natural}, as well as some additional functions -in migrated modules.") - (license license:expat))) - -(define-public ghc-integer-logarithms-bootstrap - (package - (inherit ghc-integer-logarithms) - (name "ghc-integer-logarithms-bootstrap") - (arguments `(#:tests? #f)) - (native-inputs '()) - (properties '(hidden? #t)))) - -(define-public ghc-scientific - (package - (name "ghc-scientific") - (version "0.3.6.2") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/scientific/scientific-" - version - ".tar.gz")) - (sha256 - (base32 - "03ql2f0ac8bsl524idy9xxa3kxisb2sj3avflzw580j5hzy0m397")))) - (build-system haskell-build-system) - (inputs - `(("ghc-integer-logarithms" ,ghc-integer-logarithms) - ("ghc-hashable" ,ghc-hashable) - ("ghc-primitive" ,ghc-primitive))) - (native-inputs - `(("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-ant-xml" ,ghc-tasty-ant-xml) - ("ghc-tasty-hunit" ,ghc-tasty-hunit) - ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck) - ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) - ("ghc-smallcheck" ,ghc-smallcheck) - ("ghc-quickcheck" ,ghc-quickcheck))) - (home-page "https://github.com/basvandijk/scientific") - (synopsis "Numbers represented using scientific notation") - (description "This package provides @code{Data.Scientific}, which provides -the number type @code{Scientific}. Scientific numbers are arbitrary precision -and space efficient. They are represented using -@uref{https://en.wikipedia.org/wiki/Scientific_notation, scientific -notation}.") - (license license:bsd-3))) - -(define-public ghc-scientific-bootstrap - (package - (inherit ghc-scientific) - (name "ghc-scientific-bootstrap") - (arguments `(#:tests? #f)) - (inputs - `(("ghc-integer-logarithms" ,ghc-integer-logarithms-bootstrap) - ("ghc-hashable" ,ghc-hashable) - ("ghc-primitive" ,ghc-primitive))) - (native-inputs '()) - (properties '(hidden? #t)))) - -(define-public ghc-boxes - (package - (name "ghc-boxes") - (version "0.1.5") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/boxes/boxes-" - version ".tar.gz")) - (sha256 - (base32 "1hsnmw95i58d4bkpxby3ddsj1cawypw4mdyb18m393s5i8p7iq9q")))) - (build-system haskell-build-system) - (inputs - `(("ghc-split" ,ghc-split) - ("ghc-quickcheck" ,ghc-quickcheck))) - (home-page "https://hackage.haskell.org/package/boxes") - (synopsis "2D text pretty-printing library") - (description - "Boxes is a pretty-printing library for laying out text in two dimensions, -using a simple box model.") - (license license:bsd-3))) - -(define-public ghc-deepseq-generics - (package - (name "ghc-deepseq-generics") - (version "0.2.0.0") - (source (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "deepseq-generics/deepseq-generics-" - version ".tar.gz")) - (sha256 - (base32 - "17bwghc15mc9pchfd1w46jh2p3wzc86aj6a537wqwxn08rayzcxh")))) - (build-system haskell-build-system) - (arguments - `(#:cabal-revision - ("2" "1pnidf8w8x0w5fsqgv8hhrw07slmhxwy5x4fikgk0bd6k76aqicb"))) - (native-inputs - `(("ghc-hunit" ,ghc-hunit) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) - (home-page "https://github.com/hvr/deepseq-generics") - (synopsis "Generic RNF implementation") - (description - "This package provides a @code{GHC.Generics}-based -@code{Control.DeepSeq.Generics.genericRnf} function which can be used for -providing an @code{rnf} implementation.") - (license license:bsd-3))) - -(define-public ghc-string-qq - (package - (name "ghc-string-qq") - (version "0.0.2") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/string-qq/string-qq-" - version - ".tar.gz")) - (sha256 - (base32 - "0662m3i5xrdrr95w829bszkhp88mj9iy1zya54vk2sl5hz9wlmwp")))) - (build-system haskell-build-system) - (home-page "http://hackage.haskell.org/package/string-qq") - (synopsis - "QuasiQuoter for non-interpolated strings, texts and bytestrings.") - (description - "This package provides a quasiquoter for non-interpolated strings, texts -and bytestrings.") - (license license:public-domain))) - -(define-public ghc-pandoc-types - (package - (name "ghc-pandoc-types") - (version "1.17.5.1") - (source (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "pandoc-types/pandoc-types-" - version ".tar.gz")) - (sha256 - (base32 - "1q6v2bynij724fv347mhqxdscwifzrx5jb9mq80608qf638fn717")))) - (build-system haskell-build-system) - (inputs - `(("ghc-syb" ,ghc-syb) - ("ghc-aeson" ,ghc-aeson) - ("ghc-string-qq" ,ghc-string-qq))) - (native-inputs - `(("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) - ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) - ("ghc-hunit" ,ghc-hunit))) - (home-page "http://johnmacfarlane.net/pandoc") - (synopsis "Types for representing a structured document") - (description - "This module defines the @code{Pandoc} data structure, which is used by -pandoc to represent structured documents. It also provides functions for -building up, manipulating and serialising @code{Pandoc} structures.") - (license license:bsd-3))) - -(define-public ghc-texmath - (package - (name "ghc-texmath") - (version "0.11.0.1") - (source (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "texmath/texmath-" version ".tar.gz")) - (sha256 - (base32 - "11dc09hfnyfsz20ch2c867w0zdgjkzq41506lm61i3dk87ngdisf")))) - (build-system haskell-build-system) - (inputs - `(("ghc-syb" ,ghc-syb) - ("ghc-network-uri" ,ghc-network-uri) - ("ghc-split" ,ghc-split) - ("ghc-temporary" ,ghc-temporary) - ("ghc-utf8-string" ,ghc-utf8-string) - ("ghc-xml" ,ghc-xml) - ("ghc-pandoc-types" ,ghc-pandoc-types))) - (home-page "https://github.com/jgm/texmath") - (synopsis "Conversion between formats used to represent mathematics") - (description - "The texmath library provides functions to read and write TeX math, -presentation MathML, and OMML (Office Math Markup Language, used in Microsoft -Office). Support is also included for converting math formats to pandoc's -native format (allowing conversion, via pandoc, to a variety of different -markup formats). The TeX reader supports basic LaTeX and AMS extensions, and -it can parse and apply LaTeX macros.") - (license license:gpl2+))) - -(define-public ghc-regex-pcre-builtin - (package - (name "ghc-regex-pcre-builtin") - (version "0.94.4.8.8.35") - (source (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "regex-pcre-builtin/regex-pcre-builtin-" - version ".tar.gz")) - (sha256 - (base32 - "0y7as9wqlkykpipka2cfdhmcnin345q01pp0wsva8fwmvsavdl8b")))) - (build-system haskell-build-system) - (inputs - `(("ghc-regex-base" ,ghc-regex-base))) - (home-page "https://hackage.haskell.org/package/regex-pcre") - (synopsis "Enhancement of the builtin Text.Regex library") - (description - "This package is an enhancement of the @code{Text.Regex} library, -providing the PCRE backend to accompany regex-base, with bundled code from -@url{https://www.pcre.org}.") - (license license:bsd-3))) - -(define-public ghc-diff - (package - (name "ghc-diff") - (version "0.3.4") - (source (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "Diff/Diff-" version ".tar.gz")) - (sha256 - (base32 - "0bqcdvhxx8dmqc3793m6axg813wv9ldz2j37f1wygbbrbbndmdvp")))) - (build-system haskell-build-system) - (native-inputs - `(("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) - (home-page "https://hub.darcs.net/sterlingclover/Diff") - (synopsis "O(ND) diff algorithm in Haskell") - (description - "This package provides an implementation of the standard diff algorithm, -and utilities for pretty printing.") - (license license:bsd-3))) - -(define-public ghc-highlighting-kate - (package - (name "ghc-highlighting-kate") - (version "0.6.4") - (source (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "highlighting-kate/highlighting-kate-" - version ".tar.gz")) - (sha256 - (base32 - "1bqv00gfmrsf0jjr4qf3lhshvfkyzmhbi3pjb6mafbnsyn2k7f6q")))) - (build-system haskell-build-system) - (inputs - `(("ghc-diff" ,ghc-diff) - ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin))) - (native-inputs - `(("ghc-blaze-html" ,ghc-blaze-html) - ("ghc-utf8-string" ,ghc-utf8-string))) - (home-page "https://github.com/jgm/highlighting-kate") - (synopsis "Syntax highlighting library") - (description - "Highlighting-kate is a syntax highlighting library with support for -nearly one hundred languages. The syntax parsers are automatically generated -from @uref{https://kate-editor.org/, Kate syntax descriptions}, so any syntax -supported by Kate can be added. An (optional) command-line program is -provided, along with a utility for generating new parsers from Kate XML syntax -descriptions.") - (license license:gpl2+))) - -(define-public ghc-cmark - (package - (name "ghc-cmark") - (version "0.5.6") - (source (origin - (method url-fetch) - ;; XXX As of version 0.5.6, this package bundles libcmark 0.28.0. - ;; See cbits/cmark_version.h. - (uri (string-append "https://hackage.haskell.org/package/" - "cmark/cmark-" version ".tar.gz")) - (sha256 - (base32 - "1c1j3a8b9qx5zk9myqm3gap8ymz7fipwrdmyfsq9wkkdr9x4np45")))) - (build-system haskell-build-system) - (native-inputs - `(("ghc-hunit" ,ghc-hunit))) - (home-page "https://github.com/jgm/commonmark-hs") - (synopsis "Fast, accurate CommonMark (Markdown) parser and renderer") - (description - "This package provides Haskell bindings for -@uref{https://github.com/jgm/cmark, libcmark}, the reference parser for -CommonMark, a fully specified variant of Markdown. It includes bundled libcmark -sources, and does not require prior installation of the C library.") - (license license:bsd-3))) - -(define-public ghc-cmark-gfm - (package - (name "ghc-cmark-gfm") - (version "0.1.5") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "cmark-gfm/cmark-gfm-" - version ".tar.gz")) - (sha256 - (base32 - "13b0mqks5c1q989slgsa3ixr5vvkfyic4ynzgv00kgl5qrs7hqk7")))) - (build-system haskell-build-system) - (native-inputs - `(("ghc-hunit" ,ghc-hunit))) - (home-page "https://github.com/kivikakk/cmark-gfm-hs") - (synopsis - "Fast, accurate GitHub Flavored Markdown parser and renderer") - (description - "This package provides Haskell bindings for libcmark-gfm, the reference -parser for GitHub Flavored Markdown, a fully specified variant of Markdown. -It includes sources for libcmark-gfm and does not require prior installation -of the C library.") - (license license:bsd-3))) - -(define-public ghc-executable-path - (package - (name "ghc-executable-path") - (version "0.0.3.1") - (source (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "executable-path/executable-path-" - version ".tar.gz")) - (sha256 - (base32 - "0vxwmnsvx13cawcyhbyljkds0l1vr996ijldycx7nj0asjv45iww")))) - (build-system haskell-build-system) - (home-page "https://hackage.haskell.org/package/executable-path") - (synopsis "Find out the full path of the executable") - (description - "The documentation of @code{System.Environment.getProgName} says that -\"However, this is hard-to-impossible to implement on some non-Unix OSes, so -instead, for maximum portability, we just return the leafname of the program -as invoked.\" This library tries to provide the missing path.") - (license license:public-domain))) - -(define-public ghc-enclosed-exceptions - (package - (name "ghc-enclosed-exceptions") - (version "1.0.3") - (source (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "enclosed-exceptions/enclosed-exceptions-" - version ".tar.gz")) - (sha256 - (base32 - "1fghjj7nkiddrf03ks8brjpr5x25yi9fs7xg6adbi4mc2gqr6vdg")))) - (build-system haskell-build-system) - ;; FIXME: one of the tests blocks forever: - ;; "thread blocked indefinitely in an MVar operation" - (arguments '(#:tests? #f)) - (inputs - `(("ghc-lifted-base" ,ghc-lifted-base) - ("ghc-monad-control" ,ghc-monad-control) - ("ghc-async" ,ghc-async) - ("ghc-transformers-base" ,ghc-transformers-base))) - (native-inputs - `(("ghc-hspec" ,ghc-hspec) - ("ghc-quickcheck" ,ghc-quickcheck))) - (home-page "https://github.com/jcristovao/enclosed-exceptions") - (synopsis "Catch all exceptions from within an enclosed computation") - (description - "This library implements a technique to catch all exceptions raised -within an enclosed computation, while remaining responsive to (external) -asynchronous exceptions.") - (license license:expat))) - -(define-public ghc-th-abstraction - (package - (name "ghc-th-abstraction") - (version "0.2.8.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "th-abstraction/th-abstraction-" - version ".tar.gz")) - (sha256 - (base32 - "0n17w4q2ykd0nica4sck2wng6md56rfad8x0icl0l8vnzb9nn4ya")))) - (build-system haskell-build-system) - (home-page "https://github.com/glguy/th-abstraction") - (synopsis "Nicer interface for reified information about data types") - (description - "This package normalizes variations in the interface for inspecting -datatype information via Template Haskell so that packages and support a -single, easier to use informational datatype while supporting many versions of -Template Haskell.") - (license license:isc))) - -(define-public ghc-th-lift - (package - (name "ghc-th-lift") - (version "0.7.11") - (source (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "th-lift/th-lift-" version ".tar.gz")) - (sha256 - (base32 - "131360zxb0hazbqwbkk6ab2p77jkxr79bwwm618mrwrwkm3x2g6m")))) - (build-system haskell-build-system) - (inputs - `(("ghc-th-abstraction" ,ghc-th-abstraction))) - (home-page "https://github.com/mboes/th-lift") - (synopsis "Derive Template Haskell's Lift class for datatypes") - (description - "This is a Haskell library to derive Template Haskell's Lift class for -datatypes.") - (license license:bsd-3))) - -(define-public ghc-th-lift-instances - (package - (name "ghc-th-lift-instances") - (version "0.1.11") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "th-lift-instances/th-lift-instances-" - version ".tar.gz")) - (sha256 - (base32 - "1f56cp6ckcalld5jchv0kxpjkwcsixd7smd0g7r8cg67ppx6m90x")))) - (build-system haskell-build-system) - (inputs - `(("ghc-th-lift" ,ghc-th-lift) - ("ghc-vector" ,ghc-vector) - ("ghc-quickcheck" ,ghc-quickcheck))) - (home-page "https://github.com/bennofs/th-lift-instances/") - (synopsis "Lift instances for template-haskell for common data types.") - (description "Most data types in the Haskell platform do not have Lift -instances. This package provides orphan instances for @code{containers}, -@code{text}, @code{bytestring} and @code{vector}.") - (license license:bsd-3))) - -(define-public ghc-th-expand-syns - (package - (name "ghc-th-expand-syns") - (version "0.4.4.0") - (source (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "th-expand-syns/th-expand-syns-" - version ".tar.gz")) - (sha256 - (base32 - "01prlvh3py5hq5ccjidfyp9ixq2zd88dkbsidyjrpkja6v8m43yc")))) - (build-system haskell-build-system) - (inputs - `(("ghc-syb" ,ghc-syb))) - (home-page "https://hackage.haskell.org/package/th-expand-syns") - (synopsis "Expands type synonyms in Template Haskell ASTs") - (description - "This package enables users to expand type synonyms in Template Haskell -@dfn{abstract syntax trees} (ASTs).") - (license license:bsd-3))) - -(define-public ghc-th-reify-many - (package - (name "ghc-th-reify-many") - (version "0.1.8") - (source (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "th-reify-many/th-reify-many-" - version ".tar.gz")) - (sha256 - (base32 - "0hzy6hvhvcd6i60vx5cp2b7ggmnnjh9rx4h8bm8xw4grglcaxjnf")))) - (build-system haskell-build-system) - (inputs - `(("ghc-safe" ,ghc-safe) - ("ghc-th-expand-syns" ,ghc-th-expand-syns))) - (home-page "https://github.com/mgsloan/th-reify-many") - (synopsis "Recurseively reify template haskell datatype info") - (description - "th-reify-many provides functions for recursively reifying top level -declarations. The main intended use case is for enumerating the names of -datatypes reachable from an initial datatype, and passing these names to some -function which generates instances.") - (license license:bsd-3))) - -(define-public ghc-th-orphans - (package - (name "ghc-th-orphans") - (version "0.13.6") - (source (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "th-orphans/th-orphans-" version ".tar.gz")) - (sha256 - (base32 - "0sfl3pn9kq9da3ji3lsgzgzy82vz6yvsg80dmakc1jvk7awycibp")))) - (build-system haskell-build-system) - (inputs - `(("ghc-th-lift" ,ghc-th-lift) - ("ghc-th-lift-instances" ,ghc-th-lift-instances) - ("ghc-th-reify-many" ,ghc-th-reify-many) - ("ghc-generic-deriving" ,ghc-generic-deriving))) - (native-inputs - `(("ghc-hspec" ,ghc-hspec))) - (home-page "https://hackage.haskell.org/package/th-orphans") - (synopsis "Orphan instances for TH datatypes") - (description - "This package provides orphan instances for Template Haskell datatypes. In particular, -instances for @code{Ord} and @code{Lift}, as well as a few missing @code{Show} -and @code{Eq} instances. These instances used to live in the haskell-src-meta -package, and that's where the version number started.") - (license license:bsd-3))) - -(define-public ghc-geniplate-mirror - (package - (name "ghc-geniplate-mirror") - (version "0.7.6") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package" - "/geniplate-mirror" - "/geniplate-mirror-" version ".tar.gz")) - (sha256 - (base32 "1y0m0bw5zpm1y1y6d9qmxj3swl8j8hlw1shxbr5awycf6k884ssb")))) - (build-system haskell-build-system) - (home-page "https://github.com/danr/geniplate") - (synopsis "Use Template Haskell to generate Uniplate-like functions") - (description - "Use Template Haskell to generate Uniplate-like functions. This is a -maintained mirror of the @uref{https://hackage.haskell.org/package/geniplate, -geniplate} package, written by Lennart Augustsson.") - (license license:bsd-3))) - -(define-public ghc-gitrev - (package - (name "ghc-gitrev") - (version "1.3.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/gitrev/gitrev-" - version ".tar.gz")) - (sha256 - (base32 "0cl3lfm6k1h8fxp2vxa6ihfp4v8igkz9h35iwyq2frzm4kdn96d8")))) - (build-system haskell-build-system) - (inputs `(("ghc-base-compat" ,ghc-base-compat))) - (home-page "https://github.com/acfoltzer/gitrev") - (synopsis "Compile git revision info into Haskell projects") - (description - "This package provides some handy Template Haskell splices for including -the current git hash and branch in the code of your project. This is useful -for including in panic messages, @command{--version} output, or diagnostic -info for more informative bug reports.") - (license license:bsd-3))) - -(define-public ghc-haskell-src-meta - (package - (name "ghc-haskell-src-meta") - (version "0.8.0.3") - (source (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "haskell-src-meta/haskell-src-meta-" - version ".tar.gz")) - (sha256 - (base32 - "08jq156zv4m0fjq6712n99c1jwxnpa6kj6sq8ch0r1l0a1ay6ww4")))) - (build-system haskell-build-system) - (inputs - `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts) - ("ghc-syb" ,ghc-syb) - ("ghc-th-orphans" ,ghc-th-orphans))) - (native-inputs - `(("ghc-hunit" ,ghc-hunit) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) - (home-page "https://hackage.haskell.org/package/haskell-src-meta") - (synopsis "Parse source to template-haskell abstract syntax") - (description - "This package provides tools to parse Haskell sources to the -template-haskell abstract syntax.") - (license license:bsd-3))) - -(define-public ghc-conduit - (package - (name "ghc-conduit") - (version "1.3.0.3") - (source (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "conduit/conduit-" version ".tar.gz")) - (sha256 - (base32 - "1sangm0qqi9dzlq95746a3kl14k8b09592a423shxjf2a0b1yx5v")))) - (build-system haskell-build-system) - (inputs - `(("ghc-exceptions" ,ghc-exceptions) - ("ghc-lifted-base" ,ghc-lifted-base) - ("ghc-mono-traversable" ,ghc-mono-traversable) - ("ghc-mmorph" ,ghc-mmorph) - ("ghc-resourcet" ,ghc-resourcet) - ("ghc-silently" ,ghc-silently) - ("ghc-transformers-base" ,ghc-transformers-base) - ("ghc-unliftio" ,ghc-unliftio) - ("ghc-unliftio-core" ,ghc-unliftio-core) - ("ghc-vector" ,ghc-vector) - ("ghc-void" ,ghc-void))) - (native-inputs - `(("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-hspec" ,ghc-hspec) - ("ghc-safe" ,ghc-safe) - ("ghc-split" ,ghc-split))) - (home-page "https://github.com/snoyberg/conduit") - (synopsis "Streaming data library ") - (description - "The conduit package is a solution to the streaming data problem, -allowing for production, transformation, and consumption of streams of data -in constant memory. It is an alternative to lazy I/O which guarantees -deterministic resource handling, and fits in the same general solution -space as enumerator/iteratee and pipes.") - (license license:expat))) - -(define-public ghc-logging-facade - (package - (name "ghc-logging-facade") - (version "0.3.0") - (source (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "logging-facade/logging-facade-" - version ".tar.gz")) - (sha256 - (base32 - "0d0lwxxgd16is9aw6v3ps4r9prv3dj8xscmm45fvzq3nicjiawcf")))) - (build-system haskell-build-system) - (native-inputs - `(("ghc-hspec" ,ghc-hspec) - ("hspec-discover" ,hspec-discover))) - (home-page "https://hackage.haskell.org/package/logging-facade") - (synopsis "Simple logging abstraction that allows multiple back-ends") - (description - "This package provides a simple logging abstraction that allows multiple -back-ends.") - (license license:expat))) - -(define-public ghc-mockery - (package - (name "ghc-mockery") - (version "0.3.5") - (source (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "mockery/mockery-" version ".tar.gz")) - (sha256 - (base32 - "09ypgm3z69gq8mj6y66ss58kbjnk15r8frwcwbqcfbfksfnfv8dp")))) - (build-system haskell-build-system) - (inputs - `(("ghc-temporary" ,ghc-temporary) - ("ghc-logging-facade" ,ghc-logging-facade) - ("ghc-base-compat" ,ghc-base-compat))) - (native-inputs - `(("ghc-hspec" ,ghc-hspec) - ("hspec-discover" ,hspec-discover))) - (home-page "https://hackage.haskell.org/package/mockery") - (synopsis "Support functions for automated testing") - (description - "The mockery package provides support functions for automated testing.") - (license license:expat))) - -(define-public ghc-yaml - (package - (name "ghc-yaml") - (version "0.8.32") - (source (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "yaml/yaml-" version ".tar.gz")) - (sha256 - (base32 - "0cbsyh4ilvjzq1q7pxls43k6pdqxg1l85xzibcwpbvmlvrizh86w")))) - (build-system haskell-build-system) - ;; The tests are broken on i686. They are fixed in 0.10.3.0. - ;; See https://github.com/snoyberg/yaml/issues/158 - (arguments `(#:tests? #f)) - (inputs - `(("ghc-conduit" ,ghc-conduit) - ("ghc-resourcet" ,ghc-resourcet) - ("ghc-aeson" ,ghc-aeson) - ("ghc-unordered-containers" ,ghc-unordered-containers) - ("ghc-vector" ,ghc-vector) - ("ghc-attoparsec" ,ghc-attoparsec) - ("ghc-scientific" ,ghc-scientific) - ("ghc-semigroups" ,ghc-semigroups) - ("ghc-temporary" ,ghc-temporary) - ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions) - ("ghc-base-compat" ,ghc-base-compat))) - (native-inputs - `(("ghc-hspec" ,ghc-hspec) - ("ghc-hunit" ,ghc-hunit) - ("hspec-discover" ,hspec-discover) - ("ghc-mockery" ,ghc-mockery))) - (home-page "https://github.com/snoyberg/yaml/") - (synopsis "Parsing and rendering YAML documents") - (description - "This package provides a library to parse and render YAML documents.") - (license license:bsd-3))) - -(define-public ghc-filemanip - (package - (name "ghc-filemanip") - (version "0.3.6.3") - (source (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "filemanip/filemanip-" version ".tar.gz")) - (sha256 - (base32 - "0ilqr8jv41zxcj5qyicg29m8s30b9v70x6f9h2h2rw5ap8bxldl8")))) - (build-system haskell-build-system) - (inputs - `(("ghc-unix-compat" ,ghc-unix-compat))) - (home-page "https://github.com/bos/filemanip") - (synopsis "File and directory manipulation for Haskell") - (description - "This package provides a Haskell library for working with files and -directories. It includes code for pattern matching, finding files, modifying -file contents, and more.") - (license license:bsd-3))) - -(define-public ghc-mmap - (package - (name "ghc-mmap") - (version "0.5.9") - (source (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "mmap/mmap-" version ".tar.gz")) - (sha256 - (base32 - "1y5mk3yf4b8r6rzmlx1xqn4skaigrqnv08sqq0v7r3nbw42bpz2q")))) - (build-system haskell-build-system) - (home-page "https://hackage.haskell.org/package/mmap") - (synopsis "Memory mapped files for Haskell") - (description - "This library provides a wrapper to @code{mmap}, allowing files or -devices to be lazily loaded into memory as strict or lazy @code{ByteStrings}, -@code{ForeignPtrs} or plain @code{Ptrs}, using the virtual memory subsystem to -do on-demand loading.") - (license license:bsd-3))) - -(define-public ghc-juicypixels - (package - (name "ghc-juicypixels") - (version "3.2.9.5") - (source (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "JuicyPixels/JuicyPixels-" - version ".tar.gz")) - (sha256 - (base32 - "0mf3ihr0xy2wc2wzb9a17g0n3p60x7pvm8akwpvhdy8klvs6r744")))) - (build-system haskell-build-system) - (inputs - `(("ghc-zlib" ,ghc-zlib) - ("ghc-vector" ,ghc-vector) - ("ghc-primitive" ,ghc-primitive) - ("ghc-mmap" ,ghc-mmap))) - (home-page "https://github.com/Twinside/Juicy.Pixels") - (synopsis "Picture loading and serialization library") - (description - "This library can load and store images in PNG, Bitmap, JPEG, Radiance, -TIFF and GIF formats.") - (license license:bsd-3))) - -(define-public ghc-hslua - (package - (name "ghc-hslua") - (version "0.9.5.2") - (source (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "hslua/hslua-" version ".tar.gz")) - (sha256 - (base32 - "1rdvv01p214zfjh6fcqjjgqwi8y42wad6cqzhlcv5gvclzw2ck8f")))) - (build-system haskell-build-system) - (arguments - `(#:configure-flags '("-fsystem-lua"))) - (inputs - `(("lua" ,lua) - ("ghc-exceptions" ,ghc-exceptions) - ("ghc-fail" ,ghc-fail))) - (native-inputs - `(("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure) - ("ghc-tasty-hunit" ,ghc-tasty-hunit) - ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-quickcheck-instances" ,ghc-quickcheck-instances))) - (home-page "https://hackage.haskell.org/package/hslua") - (synopsis "Lua language interpreter embedding in Haskell") - (description - "The Scripting.Lua module is a wrapper of the Lua language interpreter as -described in @url{https://www.lua.org/}.") - (license license:expat))) - -(define-public ghc-hslua-module-text - (package - (name "ghc-hslua-module-text") - (version "0.1.2.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "hslua-module-text/hslua-module-text-" - version ".tar.gz")) - (sha256 - (base32 - "0bcfpb1dhnxp0gr376ai4w7vczr9zrjl1r3r6w7kcxivfkwq9cxf")))) - (build-system haskell-build-system) - (arguments - `(#:cabal-revision - ("1" "0vajlsd7y6pwa08635q0cx8z5c1c55bk7fvavw7g2vmyvxqjzx6n"))) - (inputs - `(("ghc-hslua" ,ghc-hslua))) - (native-inputs - `(("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-hunit" ,ghc-tasty-hunit))) - (home-page "https://github.com/hslua/hslua-module-text") - (synopsis "Lua module for text") - (description - "This package provides a UTF-8 aware subset of Lua's @code{string} module -for Haskell. The functions provided by this module are @code{upper}, -@code{lower}, @code{len}, @code{reverse}, and @code{sub}.") - (license license:expat))) - -(define-public ghc-byteable - (package - (name "ghc-byteable") - (version "0.1.1") - (source (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "byteable/byteable-" version ".tar.gz")) - (sha256 - (base32 - "1qizg0kxxjqnd3cbrjhhidk5pbbciz0pb3z5kzikjjxnnnhk8fr4")))) - (build-system haskell-build-system) - (home-page "https://github.com/vincenthz/hs-byteable") - (synopsis "Type class for sequence of bytes") - (description - "This package provides an abstract class to manipulate sequence of bytes. -The use case of this class is abstracting manipulation of types that are just -wrapping a bytestring with stronger and more meaniful name.") - (license license:bsd-3))) - -(define-public ghc-hourglass - (package - (name "ghc-hourglass") - (version "0.2.12") - (source (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "hourglass/hourglass-" version ".tar.gz")) - (sha256 - (base32 - "0jnay5j13vpz6i1rkaj3j0d9v8jfpri499xn3l7wd01f81f5ncs4")))) - (build-system haskell-build-system) - (inputs - `(("ghc-old-locale" ,ghc-old-locale))) - (native-inputs - `(("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) - ("ghc-tasty-hunit" ,ghc-tasty-hunit))) - (home-page "https://github.com/vincenthz/hs-hourglass") - (synopsis "Simple time-related library for Haskell") - (description - "This is a simple time library providing a simple but powerful and -performant API. The backbone of the library are the @code{Timeable} and -@code{Time} type classes. Each @code{Timeable} instances can be converted to -a type that has a @code{Time} instances, and thus are different -representations of current time.") - (license license:bsd-3))) - -(define-public ghc-edit-distance - (package - (name "ghc-edit-distance") - (version "0.2.2.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/edit-distance" - "/edit-distance-" version ".tar.gz")) - (sha256 - (base32 "0jkca97zyv23yyilp3jydcrzxqhyk27swhzh82llvban5zp8b21y")))) - (build-system haskell-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'configure 'update-constraints - (lambda _ - (substitute* "edit-distance.cabal" - (("QuickCheck >= 2\\.4 && <2\\.9") - "QuickCheck >= 2.4 && < 2.12"))))))) - (inputs - `(("ghc-random" ,ghc-random) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) - (home-page "https://github.com/phadej/edit-distance") - (synopsis "Levenshtein and restricted Damerau-Levenshtein edit distances") - (description - "This package provides optimized functions to determine the edit -distances for fuzzy matching, including Levenshtein and restricted -Damerau-Levenshtein algorithms.") - (license license:bsd-3))) - -(define-public ghc-memory - (package - (name "ghc-memory") - (version "0.14.16") - (source (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "memory/memory-" version ".tar.gz")) - (sha256 - (base32 - "03rbszi5d4z9rlbfv8ydrl1xf84xsh8z57g07f7j9qccn9587c3v")))) - (build-system haskell-build-system) - (inputs - `(("ghc-basement" ,ghc-basement) - ("ghc-foundation" ,ghc-foundation))) - (native-inputs - `(("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) - ("ghc-tasty-hunit" ,ghc-tasty-hunit))) - (home-page "https://github.com/vincenthz/hs-memory") - (synopsis "Memory abstractions for Haskell") - (description - "This package provides memory abstractions, such as chunk of memory, -polymorphic byte array management and manipulation functions. It contains a -polymorphic byte array abstraction and functions similar to strict ByteString, -different type of byte array abstraction, raw memory IO operations (memory -set, memory copy, ..) and more") - (license license:bsd-3))) - -(define-public ghc-socks - (package - (name "ghc-socks") - (version "0.5.6") - (source (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "socks/socks-" version ".tar.gz")) - (sha256 - (base32 - "0f44qy74i0n6ll3jym0a2ipafkpw1h67amcpqmj8iq95h21wsqzs")))) - (build-system haskell-build-system) - (inputs - `(("ghc-cereal" ,ghc-cereal) - ("ghc-network" ,ghc-network))) - (home-page "https://github.com/vincenthz/hs-socks") - (synopsis "SOCKS proxy (version 5) implementation") - (description - "This library provides a SOCKS proxy (version 5) implementation.") - (license license:bsd-3))) - -(define-public ghc-connection - (package - (name "ghc-connection") - (version "0.2.8") - (source (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "connection/connection-" - version ".tar.gz")) - (sha256 - (base32 - "1swkb9w5vx9ph7x55y51dc0srj2z27nd9ibgn8c0qcl6hx7g9cbh")))) - (build-system haskell-build-system) - (inputs - `(("ghc-byteable" ,ghc-byteable) - ("ghc-data-default-class" ,ghc-data-default-class) - ("ghc-network" ,ghc-network) - ("ghc-tls" ,ghc-tls) - ("ghc-socks" ,ghc-socks) - ("ghc-x509" ,ghc-x509) - ("ghc-x509-store" ,ghc-x509-store) - ("ghc-x509-system" ,ghc-x509-system) - ("ghc-x509-validation" ,ghc-x509-validation))) - (home-page "https://github.com/vincenthz/hs-connection") - (synopsis "Simple and easy network connections API") - (description - "This package provides a simple network library for all your connection -needs. It provides a very simple API to create sockets to a destination with -the choice of SSL/TLS, and SOCKS.") - (license license:bsd-3))) - -(define-public ghc-skylighting-core - (package - (name "ghc-skylighting-core") - (version "0.7.2") - (source (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "skylighting-core/skylighting-core-" - version ".tar.gz")) - (sha256 - (base32 - "066fwmwsd7xcvwlinfk2izlzq0xp8697i6lnbgsbl71jdybyackq")))) - (build-system haskell-build-system) - (inputs - `(("ghc-aeson" ,ghc-aeson) - ("ghc-ansi-terminal" ,ghc-ansi-terminal) - ("ghc-attoparsec" ,ghc-attoparsec) - ("ghc-base64-bytestring" ,ghc-base64-bytestring) - ("ghc-blaze-html" ,ghc-blaze-html) - ("ghc-case-insensitive" ,ghc-case-insensitive) - ("ghc-colour" ,ghc-colour) - ("ghc-hxt" ,ghc-hxt) - ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin) - ("ghc-safe" ,ghc-safe) - ("ghc-utf8-string" ,ghc-utf8-string))) - (native-inputs - `(("ghc-diff" ,ghc-diff) - ("ghc-hunit" ,ghc-hunit) - ("ghc-pretty-show" ,ghc-pretty-show) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-golden" ,ghc-tasty-golden) - ("ghc-tasty-hunit" ,ghc-tasty-hunit) - ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) - (home-page "https://github.com/jgm/skylighting") - (synopsis "Syntax highlighting library") - (description "Skylighting is a syntax highlighting library with support -for over one hundred languages. It derives its tokenizers from XML syntax -definitions used by KDE's @code{KSyntaxHighlighting} framework, so any syntax -supported by that framework can be added. An optional command-line program is -provided. Skylighting is intended to be the successor to highlighting-kate.") - (license license:gpl2))) - -(define-public ghc-skylighting - (package - (inherit ghc-skylighting-core) - (name "ghc-skylighting") - (version "0.7.2") - (source (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/skylighting-" - version "/skylighting-" version ".tar.gz")) - (sha256 - (base32 - "1rh3z1a7a4clvksdw1qlpmhxqkfahwypi70k91whgfamzsqpxdch")))) - (inputs - `(("ghc-skylighting-core" ,ghc-skylighting-core) - ,@(package-inputs ghc-skylighting-core))))) - -(define-public ghc-doctemplates - (package - (name "ghc-doctemplates") - (version "0.2.2.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "doctemplates/doctemplates-" - version ".tar.gz")) - (sha256 - (base32 - "1gyckfg3kgvzhxw14i7iwrw0crygvsp86sy53bbr1yn7bxbgn33b")))) - (build-system haskell-build-system) - (inputs - `(("ghc-aeson" ,ghc-aeson) - ("ghc-blaze-markup" ,ghc-blaze-markup) - ("ghc-blaze-html" ,ghc-blaze-html) - ("ghc-vector" ,ghc-vector) - ("ghc-unordered-containers" ,ghc-unordered-containers) - ("ghc-scientific" ,ghc-scientific))) - (native-inputs - `(("ghc-hspec" ,ghc-hspec))) - (home-page "https://github.com/jgm/doctemplates#readme") - (synopsis "Pandoc-style document templates") - (description - "This package provides a simple text templating system used by pandoc.") - (license license:bsd-3))) - -(define-public ghc-pandoc - (package - (name "ghc-pandoc") - (version "2.2.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/pandoc/pandoc-" - version ".tar.gz")) - (sha256 - (base32 - "1dqin92w513l7whg5wdgrngnxsj5mb8gppfvn7kjgyv2pdgpy0zy")))) - (build-system haskell-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'configure 'update-constraints - (lambda _ - (substitute* "pandoc.cabal" - (("tasty >= 0\\.11 && < 1\\.1") - "tasty >= 0.11 && < 1.1.1")))) - (add-before 'configure 'patch-tests - (lambda _ - ;; These tests fail benignly and have been adjusted upstream: - ;; . - (substitute* "test/Tests/Old.hs" - (("lhsWriterTests \"html\"") "[]"))))))) - (inputs - `(("ghc-aeson" ,ghc-aeson) - ("ghc-aeson-pretty" ,ghc-aeson-pretty) - ("ghc-base64-bytestring" ,ghc-base64-bytestring) - ("ghc-blaze-html" ,ghc-blaze-html) - ("ghc-blaze-markup" ,ghc-blaze-markup) - ("ghc-cmark-gfm" ,ghc-cmark-gfm) - ("ghc-data-default" ,ghc-data-default) - ("ghc-deepseq-generics" ,ghc-deepseq-generics) - ("ghc-diff" ,ghc-diff) - ("ghc-doctemplates" ,ghc-doctemplates) - ("ghc-executable-path" ,ghc-executable-path) - ("ghc-glob" ,ghc-glob) - ("ghc-haddock-library" ,ghc-haddock-library) - ("ghc-hslua" ,ghc-hslua) - ("ghc-hslua-module-text" ,ghc-hslua-module-text) - ("ghc-http" ,ghc-http) - ("ghc-http-client" ,ghc-http-client) - ("ghc-http-client-tls" ,ghc-http-client-tls) - ("ghc-http-types" ,ghc-http-types) - ("ghc-juicypixels" ,ghc-juicypixels) - ("ghc-network" ,ghc-network) - ("ghc-network-uri" ,ghc-network-uri) - ("ghc-old-locale" ,ghc-old-locale) - ("ghc-pandoc-types" ,ghc-pandoc-types) - ("ghc-random" ,ghc-random) - ("ghc-scientific" ,ghc-scientific) - ("ghc-sha" ,ghc-sha) - ("ghc-skylighting" ,ghc-skylighting) - ("ghc-split" ,ghc-split) - ("ghc-syb" ,ghc-syb) - ("ghc-tagsoup" ,ghc-tagsoup) - ("ghc-temporary" ,ghc-temporary) - ("ghc-texmath" ,ghc-texmath) - ("ghc-unordered-containers" ,ghc-unordered-containers) - ("ghc-vector" ,ghc-vector) - ("ghc-xml" ,ghc-xml) - ("ghc-yaml" ,ghc-yaml) - ("ghc-zip-archive" ,ghc-zip-archive) - ("ghc-zlib" ,ghc-zlib))) - (native-inputs - `(("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-golden" ,ghc-tasty-golden) - ("ghc-tasty-hunit" ,ghc-tasty-hunit) - ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-hunit" ,ghc-hunit))) - (home-page "https://pandoc.org") - (synopsis "Conversion between markup formats") - (description - "Pandoc is a Haskell library for converting from one markup format to -another, and a command-line tool that uses this library. It can read and -write Markdown and (subsets of) other formats, such as HTML, reStructuredText, -LaTeX, DocBook, and many more. - -Pandoc extends standard Markdown syntax with footnotes, embedded LaTeX, -definition lists, tables, and other features. A compatibility mode is -provided for those who need a drop-in replacement for Markdown.pl.") - (license license:gpl2+))) - -(define-public ghc-hs-bibutils - (package - (name "ghc-hs-bibutils") - (version "6.6.0.0") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/hs-bibutils/hs-bibutils-" - version ".tar.gz")) - (sha256 - (base32 - "0n2sz2zl4naspryd49ii858qkjp2lapns5a2gr8zm6vvn5sh1f0l")))) - (build-system haskell-build-system) - (inputs `(("ghc-syb" ,ghc-syb))) - (home-page "https://hackage.haskell.org/package/hs-bibutils") - (synopsis "Haskell bindings to bibutils") - (description - "This package provides Haskell bindings to @code{bibutils}, a library -that interconverts between various bibliography formats using a common -MODS-format XML intermediate.") - (license license:gpl2+))) - -(define-public ghc-rfc5051 - (package - (name "ghc-rfc5051") - (version "0.1.0.3") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/rfc5051/" - "rfc5051-" version ".tar.gz")) - (sha256 - (base32 - "0av4c3qvwbkbzrjrrg601ay9pds7wscqqp2lc2z78mv2lllap3g3")))) - (build-system haskell-build-system) - (home-page "https://hackage.haskell.org/package/rfc5051") - (synopsis "Simple unicode collation as per RFC5051") - (description - "This library implements @code{unicode-casemap}, the simple, non -locale-sensitive unicode collation algorithm described in RFC 5051. Proper -unicode collation can be done using @code{text-icu}, but that is a big -dependency that depends on a large C library, and @code{rfc5051} might be -better for some purposes.") - (license license:bsd-3))) - -(define-public ghc-typed-process - (package - (name "ghc-typed-process") - (version "0.2.3.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "typed-process/typed-process-" - version ".tar.gz")) - (sha256 - (base32 - "0j36vrc9w841m5qbwqra1lwiznx31xfnhin1sm8x2c2739csbpn0")))) - (build-system haskell-build-system) - (inputs - `(("ghc-async" ,ghc-async))) - (native-inputs - `(("ghc-base64-bytestring" ,ghc-base64-bytestring) - ("ghc-hspec" ,ghc-hspec) - ("hspec-discover" ,hspec-discover) - ("ghc-temporary" ,ghc-temporary))) - (home-page "https://haskell-lang.org/library/typed-process") - (synopsis "Run external processes with strong typing of streams") - (description - "This library provides the ability to launch and interact with external -processes. It wraps around the @code{process} library, and intends to improve -upon it.") - (license license:expat))) - -(define-public ghc-conduit-extra - (package - (name "ghc-conduit-extra") - (version "1.3.1.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "conduit-extra/conduit-extra-" - version ".tar.gz")) - (sha256 - (base32 - "0jaj350vv6mbb26gdwcqz4gwzfzrjydv5pis2da49wz1npbakcfw")))) - (build-system haskell-build-system) - (inputs - `(("ghc-conduit" ,ghc-conduit) - ("ghc-exceptions" ,ghc-exceptions) - ("ghc-monad-control" ,ghc-monad-control) - ("ghc-transformers-base" ,ghc-transformers-base) - ("ghc-typed-process" ,ghc-typed-process) - ("ghc-async" ,ghc-async) - ("ghc-attoparsec" ,ghc-attoparsec) - ("ghc-blaze-builder" ,ghc-blaze-builder) - ("ghc-network" ,ghc-network) - ("ghc-primitive" ,ghc-primitive) - ("ghc-resourcet" ,ghc-resourcet) - ("ghc-streaming-commons" ,ghc-streaming-commons) - ("ghc-hspec" ,ghc-hspec) - ("ghc-bytestring-builder" ,ghc-bytestring-builder) - ("ghc-quickcheck" ,ghc-quickcheck))) - (native-inputs - `(("hspec-discover" ,hspec-discover))) - (home-page "https://github.com/snoyberg/conduit") - (synopsis "Conduit adapters for common libraries") - (description - "The @code{conduit} package itself maintains relative small dependencies. -The purpose of this package is to collect commonly used utility functions -wrapping other library dependencies, without depending on heavier-weight -dependencies. The basic idea is that this package should only depend on -@code{haskell-platform} packages and @code{conduit}.") - (license license:expat))) - -(define-public ghc-xml-types - (package - (name "ghc-xml-types") - (version "0.3.6") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/xml-types/" - "xml-types-" version ".tar.gz")) - (sha256 - (base32 - "1jgqxsa9p2q3h6nymbfmvhldqrqlwrhrzmwadlyc0li50x0d8dwr")))) - (build-system haskell-build-system) - (home-page "https://john-millikin.com/software/haskell-xml/") - (synopsis "Basic types for representing XML") - (description "This package provides basic types for representing XML -documents.") - (license license:expat))) - -(define-public ghc-xml-conduit - (package - (name "ghc-xml-conduit") - (version "1.8.0.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/xml-conduit/" - "xml-conduit-" version ".tar.gz")) - (sha256 - (base32 - "177gmyigxql1pn3ncz0r8annwv5cbxnihbgrrg1dhm4gmc9jy2wq")))) - (build-system haskell-build-system) - (inputs - `(("ghc-conduit" ,ghc-conduit) - ("ghc-conduit-extra" ,ghc-conduit-extra) - ("ghc-doctest" ,ghc-doctest) - ("ghc-resourcet" ,ghc-resourcet) - ("ghc-xml-types" ,ghc-xml-types) - ("ghc-attoparsec" ,ghc-attoparsec) - ("ghc-data-default-class" ,ghc-data-default-class) - ("ghc-blaze-markup" ,ghc-blaze-markup) - ("ghc-blaze-html" ,ghc-blaze-html) - ("ghc-monad-control" ,ghc-monad-control) - ("ghc-hspec" ,ghc-hspec) - ("ghc-hunit" ,ghc-hunit))) - (home-page "https://github.com/snoyberg/xml") - (synopsis "Utilities for dealing with XML with the conduit package") - (description - "This package provides pure-Haskell utilities for dealing with XML with -the @code{conduit} package.") - (license license:expat))) - -(define-public ghc-pandoc-citeproc - (package - (name "ghc-pandoc-citeproc") - (version "0.14.3.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "pandoc-citeproc/pandoc-citeproc-" - version ".tar.gz")) - (sha256 - (base32 - "0yj6rckwsc9vig40cm15ry0j3d01xpk04qma9n4byhal6v4b5h22")))) - (build-system haskell-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - ;; Many YAML tests (44) are failing do to changes in ghc-yaml: - ;; . - (add-before 'configure 'patch-tests - (lambda _ - (substitute* "tests/test-pandoc-citeproc.hs" - (("let allTests = citeprocTests \\+\\+ biblio2yamlTests") - "let allTests = citeprocTests")))) - ;; Tests need to be run after installation. - (delete 'check) - (add-after 'install 'post-install-check - (assoc-ref %standard-phases 'check))))) - (inputs - `(("ghc-pandoc-types" ,ghc-pandoc-types) - ("ghc-pandoc" ,ghc-pandoc) - ("ghc-tagsoup" ,ghc-tagsoup) - ("ghc-aeson" ,ghc-aeson) - ("ghc-vector" ,ghc-vector) - ("ghc-xml-conduit" ,ghc-xml-conduit) - ("ghc-unordered-containers" ,ghc-unordered-containers) - ("ghc-data-default" ,ghc-data-default) - ("ghc-setenv" ,ghc-setenv) - ("ghc-split" ,ghc-split) - ("ghc-yaml" ,ghc-yaml) - ("ghc-hs-bibutils" ,ghc-hs-bibutils) - ("ghc-rfc5051" ,ghc-rfc5051) - ("ghc-syb" ,ghc-syb) - ("ghc-old-locale" ,ghc-old-locale) - ("ghc-aeson-pretty" ,ghc-aeson-pretty) - ("ghc-attoparsec" ,ghc-attoparsec) - ("ghc-temporary" ,ghc-temporary))) - (home-page "https://github.com/jgm/pandoc-citeproc") - (synopsis "Library for using pandoc with citeproc") - (description - "The @code{pandoc-citeproc} library exports functions for using the -citeproc system with pandoc. It relies on @code{citeproc-hs}, a library for -rendering bibliographic reference citations into a variety of styles using a -macro language called @dfn{Citation Style Language} (CSL). This package also -contains an executable @code{pandoc-citeproc}, which works as a pandoc filter, -and also has a mode for converting bibliographic databases a YAML format -suitable for inclusion in pandoc YAML metadata.") - (license license:bsd-3))) - -(define-public ghc-union-find - (package - (name "ghc-union-find") - (version "0.2") - (source (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/union-find/union-find-" - version ".tar.gz")) - (sha256 - (base32 - "1v7hj42j9w6jlzi56jg8rh4p58gfs1c5dx30wd1qqvn0p0mnihp6")))) - (build-system haskell-build-system) - (home-page "https://github.com/nominolo/union-find") - (synopsis "Efficient union and equivalence testing of sets") - (description - "The Union/Find algorithm implements these operations in (effectively) -constant-time: -@enumerate -@item Check whether two elements are in the same equivalence class. -@item Create a union of two equivalence classes. -@item Look up the descriptor of the equivalence class. -@end enumerate\n") - (license license:bsd-3))) - -(define-public ghc-base16-bytestring - (package - (name "ghc-base16-bytestring") - (version "0.1.1.6") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/base16-bytestring/" - "base16-bytestring-" version ".tar.gz")) - (sha256 - (base32 - "0jf40m3yijqw6wd1rwwvviww46fasphaay9m9rgqyhf5aahnbzjs")))) - (build-system haskell-build-system) - (home-page "https://github.com/bos/base16-bytestring") - (synopsis "Fast base16 (hex) encoding and decoding for ByteStrings") - (description - "This package provides a Haskell library for working with base16-encoded -data quickly and efficiently, using the ByteString type.") - (license license:bsd-3))) - -(define-public ghc-data-ordlist - (package - (name "ghc-data-ordlist") - (version "0.4.7.0") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/data-ordlist/data-ordlist-" - version ".tar.gz")) - (sha256 - (base32 - "03a9ix1fcx08viwv2jg5ndw1qbkydyyrmjvqr9wasmcik9x1wv3g")))) - (build-system haskell-build-system) - (home-page "https://hackage.haskell.org/package/data-ordlist") - (synopsis "Set and bag operations on ordered lists") - (description - "This module provides set and multiset operations on ordered lists.") - (license license:bsd-3))) - -(define-public ghc-regex-applicative - (package - (name "ghc-regex-applicative") - (version "0.3.3") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/regex-applicative/" - "regex-applicative-" version ".tar.gz")) - (sha256 - (base32 - "1riv7jqf26lbv4rm54sd6mrx8xdh4dvh4xbzymzdfdw13k6a4nb6")))) - (build-system haskell-build-system) - (inputs - `(("ghc-smallcheck" ,ghc-smallcheck) - ("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck) - ("ghc-tasty-hunit" ,ghc-tasty-hunit))) - (home-page "https://github.com/feuerbach/regex-applicative") - (synopsis "Regex-based parsing with applicative interface") - (description - "@code{regex-applicative} is a Haskell library for parsing using -regular expressions. Parsers can be built using Applicative interface.") - (license license:expat))) - -(define-public ghc-regex-tdfa - (package - (name "ghc-regex-tdfa") - (version "1.2.3.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/regex-tdfa/regex-tdfa-" - version ".tar.gz")) - (sha256 - (base32 - "0l7ajnh4hpgggf2a1r9dg0hx2fy679vd2kada5y7r02hy3nfxala")))) - (build-system haskell-build-system) - (inputs - `(("ghc-regex-base" ,ghc-regex-base))) - (home-page "https://github.com/ChrisKuklewicz/regex-tdfa") - (synopsis "POSIX extended regular expressions in Haskell.") - (description - "Regex-tdfa is a pure Haskell regular expression library implementing POSIX -extended regular expressions. It is a \"tagged\" DFA regex engine. It is -inspired by libtre.") - (license license:bsd-3))) - -(define-public ghc-regex-compat-tdfa - (package - (name "ghc-regex-compat-tdfa") - (version "0.95.1.4") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/regex-compat-tdfa/regex-compat-tdfa-" - version ".tar.gz")) - (sha256 - (base32 - "1p90fn90yhp7fvljjdqjp41cszidcfz4pw7fwvzyx4739b98x8sg")))) - (build-system haskell-build-system) - (inputs - `(("ghc-regex-base" ,ghc-regex-base) - ("ghc-regex-tdfa" ,ghc-regex-tdfa))) - (home-page "https://hub.darcs.net/shelarcy/regex-compat-tdfa") - (synopsis "Unicode Support version of Text.Regex, using regex-tdfa") - (description - "One module layer over @code{regex-tdfa} to replace @code{Text.Regex}. -@code{regex-compat} can't use Unicode characters correctly because of using regex-posix. -This is not good for Unicode users. This modified regex-compat uses regex-tdfa to solve -this problem.") - (license license:bsd-3))) - -(define-public ghc-sandi - (package - (name "ghc-sandi") - (version "0.4.2") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/sandi/sandi-" - version ".tar.gz")) - (sha256 - (base32 - "0dvkpk91n9kz2ha04rvp231ra9sgd1ilyc1qkzf9l03iir7zrh9b")))) - (build-system haskell-build-system) - (inputs - `(("ghc-stringsearch" ,ghc-stringsearch) - ("ghc-conduit" ,ghc-conduit) - ("ghc-exceptions" ,ghc-exceptions) - ("ghc-hunit" ,ghc-hunit) - ("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-hunit" ,ghc-tasty-hunit) - ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) - ("ghc-tasty-th" ,ghc-tasty-th))) - (home-page "https://hackage.haskell.org/package/sandi") - (synopsis "Data encoding library") - (description "Reasonably fast data encoding library.") - (license license:bsd-3))) - -(define-public ghc-bytestring-handle - (package - (name "ghc-bytestring-handle") - (version "0.1.0.6") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/bytestring-handle/bytestring-handle-" - version ".tar.gz")) - (sha256 - (base32 - "18f17aja1ivhr3zyg2cccn2m03hdn5jf5410dndkhf12gvgiqs7y")))) - (build-system haskell-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'configure 'update-constraints - (lambda _ - (substitute* "bytestring-handle.cabal" - (("QuickCheck >= 2\\.1\\.2 && < 2\\.11") - "QuickCheck >= 2.1.2 && < 2.12") - (("base >= 4\\.2 && < 4\\.11") - "base >= 4.2 && < 4.12"))))))) - (inputs - `(("ghc-hunit" ,ghc-hunit) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) - ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) - (home-page "https://hub.darcs.net/ganesh/bytestring-handle") - (synopsis "ByteString-backed Handles") - (description "ByteString-backed Handles") ; There is no description - (license license:bsd-3))) - -(define-public ghc-tar - (package - (name "ghc-tar") - (version "0.5.1.0") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/tar/tar-" - version ".tar.gz")) - (sha256 - (base32 - "0s2brvaxg5fki2jdkccmnpssiy6a3wjh24p6a3dkkdvjcixnk7f8")))) - (build-system haskell-build-system) - ;; FIXME: 2/24 tests fail. - (arguments `(#:tests? #f)) - (inputs - `(("ghc-bytestring-handle" ,ghc-bytestring-handle) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) - (home-page "https://hackage.haskell.org/package/tar") - (synopsis "Reading, writing and manipulating \".tar\" archive files") - (description - "This library is for working with \\\"@.tar@\\\" archive files. -It can read and write a range of common variations of the tar archive format -including V7, POSIX USTAR and GNU formats. It provides support for packing and -unpacking portable archives. This makes it suitable for distribution but not -backup because details like file ownership and exact permissions are not -preserved. It also provides features for random access to archive content using -an index.") - (license license:bsd-3))) - -(define-public ghc-stmonadtrans - (package - (name "ghc-stmonadtrans") - (version "0.4.3") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/STMonadTrans" - "/STMonadTrans-" version ".tar.gz")) - (sha256 - (base32 "1nr26fnmi5fdjc6d00w13kjhmfyvb5b837d0006w4dj0yxndaksp")))) - (build-system haskell-build-system) - (home-page "https://hackage.haskell.org/package/STMonadTrans") - (synopsis "Monad transformer version of the ST monad") - (description - "This package provides a monad transformer version of the @code{ST} monad -for strict state threads.") - (license license:bsd-3))) - -(define-public ghc-findbin - (package - (name "ghc-findbin") - (version "0.0.5") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/FindBin/FindBin-" - version ".tar.gz")) - (sha256 - (base32 - "197xvn05yysmibm1p5wzxfa256lvpbknr5d1l2ws6g40w1kpk717")))) - (build-system haskell-build-system) - (home-page "https://github.com/audreyt/findbin") - (synopsis "Get the absolute path of the running program") - (description - "This module locates the full directory of the running program, to allow -the use of paths relative to it. FindBin supports invocation of Haskell -programs via \"ghci\", via \"runhaskell/runghc\", as well as compiled as -an executable.") - (license license:bsd-3))) - -(define-public ghc-patience - (package - (name "ghc-patience") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/patience/patience-" - version ".tar.gz")) - (sha256 - (base32 - "0qyv20gqy9pb1acy700ahv70lc6vprcwb26cc7fcpcs4scsc7irm")))) - (build-system haskell-build-system) - (home-page "https://hackage.haskell.org/package/patience") - (synopsis "Patience diff and longest increasing subsequence") - (description - "This library implements the 'patience diff' algorithm, as well as the -patience algorithm for the longest increasing subsequence problem. -Patience diff computes the difference between two lists, for example the lines -of two versions of a source file. It provides a good balance between -performance, nice output for humans, and simplicity of implementation.") - (license license:bsd-3))) - -(define-public ghc-monads-tf - (package - (name "ghc-monads-tf") - (version "0.1.0.3") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/monads-tf/monads-tf-" - version ".tar.gz")) - (sha256 - (base32 - "1wdhskwa6dw8qljbvwpyxj8ca6y95q2np7z4y4q6bpf4anmd5794")))) - (build-system haskell-build-system) - (home-page "https://hackage.haskell.org/package/monads-tf") - (synopsis "Monad classes, using type families") - (description - "Monad classes using type families, with instances for various monad transformers, -inspired by the paper 'Functional Programming with Overloading and Higher-Order -Polymorphism', by Mark P Jones. This package is almost a compatible replacement for -the @code{mtl-tf} package.") - (license license:bsd-3))) - -(define-public ghc-colour -(package - (name "ghc-colour") - (version "2.3.4") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/colour/colour-" - version ".tar.gz")) - (sha256 - (base32 - "1sy51nz096sv91nxqk6yk7b92b5a40axv9183xakvki2nc09yhqg")))) - (arguments - ;; The tests for this package have the following dependency cycle: - ;; ghc-test-framework -> ghc-ansi-terminal -> ghc-colour. - `(#:tests? #f)) - (build-system haskell-build-system) - (home-page "https://www.haskell.org/haskellwiki/Colour") - (synopsis "Model for human colour perception") - (description - "This package provides a data type for colours and transparency. -Colours can be blended and composed. Various colour spaces are -supported. A module of colour names (\"Data.Colour.Names\") is provided.") - (license license:expat))) - -(define-public ghc-wl-pprint-text - (package - (name "ghc-wl-pprint-text") - (version "1.2.0.0") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/wl-pprint-text/wl-pprint-text-" - version ".tar.gz")) - (sha256 - (base32 - "0g3w92rad6x5appfb22rbzcas2ix2h0hy91sdxhq8a4a5cnlrpa0")))) - (build-system haskell-build-system) - (inputs - `(("ghc-base-compat" ,ghc-base-compat))) - (home-page "https://hackage.haskell.org/package/wl-pprint-text") - (synopsis "Wadler/Leijen Pretty Printer for Text values") - (description - "A clone of wl-pprint for use with the text library.") - (license license:bsd-3))) - -(define-public ghc-fgl-arbitrary - (package - (name "ghc-fgl-arbitrary") - (version "0.2.0.3") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/fgl-arbitrary/fgl-arbitrary-" - version ".tar.gz")) - (sha256 - (base32 - "0ln1szgfy8fa78l3issq4fx3aqnnd54w3cb4wssrfi48vd5rkfjm")))) - (build-system haskell-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'configure 'update-constraints - (lambda _ - (substitute* "fgl-arbitrary.cabal" - (("QuickCheck >= 2\\.3 && < 2\\.10") - "QuickCheck >= 2.3 && < 2.12") - (("hspec >= 2\\.1 && < 2\\.5") - "hspec >= 2.1 && < 2.6"))))))) - (inputs - `(("ghc-fgl" ,ghc-fgl) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-hspec" ,ghc-hspec))) - (home-page "https://hackage.haskell.org/package/fgl-arbitrary") - (synopsis "QuickCheck support for fgl") - (description - "Provides Arbitrary instances for fgl graphs to avoid adding a -QuickCheck dependency for fgl whilst still making the instances -available to others. Also available are non-fgl-specific functions -for generating graph-like data structures.") - (license license:bsd-3))) - -(define-public ghc-graphviz - (package - (name "ghc-graphviz") - (version "2999.20.0.2") - (source (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "graphviz/graphviz-" version ".tar.gz")) - (sha256 - (base32 - "0kj7ap0gnliviq2p8lscw1m06capnsa90vpvcys24nqy5nw2wrp7")))) - (build-system haskell-build-system) - (inputs - `(("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-colour" ,ghc-colour) - ("ghc-dlist" ,ghc-dlist) - ("ghc-fgl" ,ghc-fgl) - ("ghc-fgl-arbitrary" ,ghc-fgl-arbitrary) - ("ghc-polyparse" ,ghc-polyparse) - ("ghc-temporary" ,ghc-temporary) - ("ghc-wl-pprint-text" ,ghc-wl-pprint-text))) - (native-inputs - `(("ghc-hspec" ,ghc-hspec) - ("graphviz" ,graphviz) - ("hspec-discover" ,hspec-discover))) - (home-page "https://hackage.haskell.org/package/graphviz") - (synopsis "Bindings to Graphviz for graph visualisation") - (description - "This library provides bindings for the Dot language used by -the @uref{https://graphviz.org/, Graphviz} suite of programs for -visualising graphs, as well as functions to call those programs. -Main features of the graphviz library include: - -@enumerate -@item Almost complete coverage of all Graphviz attributes and syntax -@item Support for specifying clusters -@item The ability to use a custom node type -@item Functions for running a Graphviz layout tool with all specified output types -@item Generate and parse Dot code with two options: strict and liberal -@item Functions to convert FGL graphs and other graph-like data structures -@item Round-trip support for passing an FGL graph through Graphviz to augment node -and edge labels with positional information, etc. -@end enumerate\n") - (license license:bsd-3))) - -(define-public ghc-constraints - (package - (name "ghc-constraints") - (version "0.10.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/constraints/constraints-" - version ".tar.gz")) - (sha256 - (base32 - "1xy3vv78jxc17hm0z7qqspxjwv7l2jbcbj670yrl2f053qkfr02q")))) - (build-system haskell-build-system) - (inputs - `(("ghc-hashable" ,ghc-hashable) - ("ghc-semigroups" ,ghc-semigroups) - ("ghc-transformers-compat" ,ghc-transformers-compat))) - (native-inputs - `(("ghc-hspec" ,ghc-hspec) - ("hspec-discover" ,hspec-discover))) - (home-page "https://github.com/ekmett/constraints/") - (synopsis "Constraint manipulation") - (description - "GHC 7.4 gave us the ability to talk about @code{ConstraintKinds}. -They stopped crashing the compiler in GHC 7.6. This package provides -a vocabulary for working with them.") - (license license:bsd-3))) - -(define-public ghc-lifted-async - (package - (name "ghc-lifted-async") - (version "0.10.0.2") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/lifted-async/lifted-async-" - version ".tar.gz")) - (sha256 - (base32 - "1073r512c1x2m1v0jar9bwqg656slg7jd1jhsyj6m8awgx1l1mwf")))) - (build-system haskell-build-system) - (inputs - `(("ghc-async" ,ghc-async) - ("ghc-lifted-base" ,ghc-lifted-base) - ("ghc-transformers-base" ,ghc-transformers-base) - ("ghc-monad-control" ,ghc-monad-control) - ("ghc-constraints" ,ghc-constraints) - ("ghc-hunit" ,ghc-hunit) - ("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure) - ("ghc-tasty-hunit" ,ghc-tasty-hunit) - ("ghc-tasty-th" ,ghc-tasty-th))) - (home-page "https://github.com/maoe/lifted-async") - (synopsis "Run lifted IO operations asynchronously and wait for their results") - (description - "This package provides IO operations from @code{async} package lifted to any -instance of @code{MonadBase} or @code{MonadBaseControl}.") - (license license:bsd-3))) - -;; Ghc-shelly depends on ghc-system-filepath and ghc-system-fileio, who in turn depend on -;; ghc-chell and ghc-chell-quickcheck for the test phase. Ghc-chell depends on ghc-options -;; which depends on ghc-chell and ghc-chell-quickcheck. -;; Therefore we bootstrap it with tests disabled. -(define ghc-system-filepath-bootstrap - (package - (name "ghc-system-filepath-bootstrap") - (version "0.4.14") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/system-filepath/system-filepath-" - version ".tar.gz")) - (sha256 - (base32 - "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn")))) - (build-system haskell-build-system) - (arguments - `(#:tests? #f)) - (inputs - `(("ghc-quickcheck" ,ghc-quickcheck))) - (home-page "https://github.com/fpco/haskell-filesystem") - (synopsis "High-level, byte-based file and directory path manipulations") - (description - "Provides a FilePath datatype and utility functions for operating on it. -Unlike the filepath package, this package does not simply reuse String, -increasing type safety.") - (license license:expat))) - -;; See ghc-system-filepath-bootstrap. In addition this package depends on -;; ghc-system-filepath. -(define ghc-system-fileio-bootstrap - (package - (name "ghc-system-fileio-bootstrap") - (version "0.3.16.3") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/system-fileio/system-fileio-" - version ".tar.gz")) - (sha256 - (base32 - "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i")))) - (build-system haskell-build-system) - (arguments - `(#:tests? #f)) - (inputs - `(("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap) - ("ghc-temporary" ,ghc-temporary))) - (home-page "https://github.com/fpco/haskell-filesystem") - (synopsis "Consistent file system interaction across GHC versions") - (description - "This is a small wrapper around the directory, unix, and Win32 packages, -for use with system-filepath. It provides a consistent API to the various -versions of these packages distributed with different versions of GHC. -In particular, this library supports working with POSIX files that have paths -which can't be decoded in the current locale encoding.") - (license license:expat))) - -(define-public ghc-shelly - (package - (name "ghc-shelly") - (version "1.8.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/shelly/shelly-" - version ".tar.gz")) - (sha256 - (base32 - "023fbvbqs5gdwm30j5517gbdcc7fvz0md70dgwgpypkskj3i926y")))) - (build-system haskell-build-system) - (inputs - `(("ghc-unix-compat" ,ghc-unix-compat) - ("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap) - ("ghc-system-fileio-bootstrap" ,ghc-system-fileio-bootstrap) - ("ghc-monad-control" ,ghc-monad-control) - ("ghc-lifted-base" ,ghc-lifted-base) - ("ghc-lifted-async" ,ghc-lifted-async) - ("ghc-exceptions" ,ghc-exceptions) - ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions) - ("ghc-async" ,ghc-async) - ("ghc-transformers-base" ,ghc-transformers-base) - ("ghc-hunit" ,ghc-hunit) - ("ghc-hspec" ,ghc-hspec) - ("ghc-hspec-contrib" ,ghc-hspec-contrib))) - (home-page "https://github.com/yesodweb/Shelly.hs") - (synopsis "Shell-like (systems) programming in Haskell") - (description - "Shelly provides convenient systems programming in Haskell, similar in -spirit to POSIX shells. Shelly is originally forked from the Shellish package.") - (license license:bsd-3))) - -;; See ghc-system-filepath-bootstrap, chell and chell-quickcheck are required for tests. -(define ghc-options-bootstrap - (package - (name "ghc-options-bootstrap") - (version "1.2.1.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/options/options-" - version ".tar.gz")) - (sha256 - (base32 - "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8")))) - (build-system haskell-build-system) - (arguments - `(#:tests? #f)) - (inputs - `(("ghc-monads-tf" ,ghc-monads-tf))) - (home-page "https://john-millikin.com/software/haskell-options/") - (synopsis "Powerful and easy-to-use command-line option parser") - (description - "The @code{options} package lets library and application developers -easily work with command-line options.") - (license license:expat))) - -(define-public ghc-chell - (package - (name "ghc-chell") - (version "0.4.0.2") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/chell/chell-" - version ".tar.gz")) - (sha256 - (base32 - "10ingy9qnbmc8cqh4i9pskcw43l0mzk8f3d76b3qz3fig5ary3j9")))) - (build-system haskell-build-system) - (inputs - `(("ghc-options-bootstrap" ,ghc-options-bootstrap) - ("ghc-patience" ,ghc-patience) - ("ghc-random" ,ghc-random) - ("ghc-ansi-terminal" ,ghc-ansi-terminal))) - (home-page "https://john-millikin.com/software/chell/") - (synopsis "Simple and intuitive library for automated testing") - (description - "Chell is a simple and intuitive library for automated testing. -It natively supports assertion-based testing, and can use companion -libraries such as @code{chell-quickcheck} to support more complex -testing strategies.") - (license license:expat))) - -(define ghc-chell-quickcheck-bootstrap - (package - (name "ghc-chell-quickcheck-bootstrap") - (version "0.2.5.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/chell-quickcheck/" - "chell-quickcheck-" version ".tar.gz")) - (sha256 - (base32 - "1iicsys9igx7m7n4l2b8djardmjy2ah5ibzp7kzs758h460fq53a")))) - (build-system haskell-build-system) - (inputs - `(("ghc-chell" ,ghc-chell) - ("ghc-random" ,ghc-random) - ("ghc-quickcheck" ,ghc-quickcheck))) - (arguments - `(#:tests? #f - #:phases - (modify-phases %standard-phases - (add-before 'configure 'update-constraints - (lambda _ - (substitute* "chell-quickcheck.cabal" - (("QuickCheck >= 2\\.3 && < 2\\.11") - "QuickCheck >= 2.3 && < 2.12"))))))) - (home-page "https://john-millikin.com/software/chell/") - (synopsis "QuickCheck support for the Chell testing library") - (description "More complex tests for @code{chell}.") - (license license:expat))) - -(define-public ghc-chell-quickcheck - (package - (name "ghc-chell-quickcheck") - (version "0.2.5.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/chell-quickcheck/" - "chell-quickcheck-" version ".tar.gz")) - (sha256 - (base32 - "1iicsys9igx7m7n4l2b8djardmjy2ah5ibzp7kzs758h460fq53a")))) - (build-system haskell-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'configure 'update-constraints - (lambda _ - (substitute* "chell-quickcheck.cabal" - (("QuickCheck >= 2\\.3 && < 2\\.11") - "QuickCheck >= 2.3 && < 2.12"))))))) - (inputs - `(("ghc-chell" ,ghc-chell) - ("ghc-chell-quickcheck-bootstrap" ,ghc-chell-quickcheck-bootstrap) - ("ghc-random" ,ghc-random) - ("ghc-quickcheck" ,ghc-quickcheck))) - (home-page "https://john-millikin.com/software/chell/") - (synopsis "QuickCheck support for the Chell testing library") - (description "More complex tests for @code{chell}.") - (license license:expat))) - -(define-public ghc-options - (package - (name "ghc-options") - (version "1.2.1.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/options/options-" - version ".tar.gz")) - (sha256 - (base32 - "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8")))) - (build-system haskell-build-system) - (inputs - `(("ghc-monads-tf" ,ghc-monads-tf) - ("ghc-chell" ,ghc-chell) - ("ghc-chell-quickcheck" ,ghc-chell-quickcheck))) - (home-page "https://john-millikin.com/software/haskell-options/") - (synopsis "Powerful and easy-to-use command-line option parser") - (description - "The @code{options} package lets library and application developers -easily work with command-line options.") - (license license:expat))) - -(define-public ghc-system-filepath - (package - (name "ghc-system-filepath") - (version "0.4.14") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/system-filepath/system-filepath-" - version ".tar.gz")) - (sha256 - (base32 - "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn")))) - (build-system haskell-build-system) - ;; FIXME: One of the tests fails: - ;; [ FAIL ] tests.validity.posix - ;; note: seed=7310214548328823169 - ;; *** Failed! Falsifiable (after 24 tests): - ;; FilePath "/r2\ENQ52\t ;$/o\US=/okG\146\&6\n= 1.1 && < 1.4"))))))) - (inputs - `(("ghc-cereal" ,ghc-cereal) - ("ghc-data-default-class" - ,ghc-data-default-class) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-temporary" ,ghc-temporary))) - (native-inputs - `(("hspec-discover" ,hspec-discover) - ("ghc-hspec" ,ghc-hspec))) - (home-page "https://github.com/mrkkrp/wave") - (synopsis "Work with WAVE and RF64 files in Haskell") - (description "This package allows you to work with WAVE and RF64 -files in Haskell.") - (license license:bsd-3))) - -(define-public ghc-hslogger - (package - (name "ghc-hslogger") - (version "1.2.10") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "hslogger-" version "/" "hslogger-" - version ".tar.gz")) - (sha256 (base32 - "0as5gvlh6pi2gflakp695qnlizyyp059dqrhvjl4gjxalja6xjnp")))) - (build-system haskell-build-system) - (inputs - `(("ghc-network" ,ghc-network) - ("ghc-old-locale" ,ghc-old-locale))) - (native-inputs - `(("ghc-hunit" ,ghc-hunit))) - (home-page "https://software.complete.org/hslogger") - (synopsis "Logging framework for Haskell, similar to Python's logging module") - (description "Hslogger lets each log message have a priority and source be -associated with it. The programmer can then define global handlers that route -or filter messages based on the priority and source. It also has a syslog -handler built in.") - (license license:bsd-3))) - -(define-public ghc-unexceptionalio - (package - (name "ghc-unexceptionalio") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "unexceptionalio-" version "/" "unexceptionalio-" - version ".tar.gz")) - (sha256 (base32 "09gynk472l7nn5l2w320n4dwigwp0wh0shfp6dyw6r5h2jdxz18p")))) - (build-system haskell-build-system) - (home-page "https://github.com/singpolyma/unexceptionalio") - (synopsis "IO without any non-error, synchronous exceptions") - (description "When you've caught all the exceptions that can be -handled safely, this is what you're left with.") - (license license:isc))) - -(define-public ghc-json - (package - (name "ghc-json") - (version "0.9.2") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/json/" - "json-" version ".tar.gz")) - (sha256 - (base32 - "13kkfgx58z18jphbg56jn08jn72wi3kvfndlwwx87hqwg7x1dfz6")))) - (build-system haskell-build-system) - (inputs - `(("ghc-syb" ,ghc-syb))) - (home-page "https://hackage.haskell.org/package/json") - (synopsis "Serializes Haskell data to and from JSON") - (description "This package provides a parser and pretty printer for -converting between Haskell values and JSON. -JSON (JavaScript Object Notation) is a lightweight data-interchange format.") - (license license:bsd-3))) - -(define-public ghc-esqueleto - (let ((version "2.5.3") - (revision "1") - (commit "b81e0d951e510ebffca03c5a58658ad884cc6fbd")) - (package - (name "ghc-esqueleto") - (version (git-version version revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/bitemyapp/esqueleto") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0lz1qxms7cfg5p3j37inlych0r2fwhm8xbarcys3df9m7jy9nixa")))) - (build-system haskell-build-system) - (arguments - `(#:haddock? #f ; Haddock reports an internal error. - #:phases - (modify-phases %standard-phases - ;; This package normally runs tests for the MySQL, PostgreSQL, and - ;; SQLite backends. Since we only have Haskell packages for - ;; SQLite, we remove the other two test suites. FIXME: Add the - ;; other backends and run all three test suites. - (add-before 'configure 'remove-non-sqlite-test-suites - (lambda _ - (use-modules (ice-9 rdelim)) - (with-atomic-file-replacement "esqueleto.cabal" - (lambda (in out) - (let loop ((line (read-line in 'concat)) (deleting? #f)) - (cond - ((eof-object? line) #t) - ((string-every char-set:whitespace line) - (unless deleting? (display line out)) - (loop (read-line in 'concat) #f)) - ((member line '("test-suite mysql\n" - "test-suite postgresql\n")) - (loop (read-line in 'concat) #t)) - (else - (unless deleting? (display line out)) - (loop (read-line in 'concat) deleting?))))))))))) - (inputs - `(("ghc-blaze-html" ,ghc-blaze-html) - ("ghc-conduit" ,ghc-conduit) - ("ghc-monad-logger" ,ghc-monad-logger) - ("ghc-persistent" ,ghc-persistent) - ("ghc-resourcet" ,ghc-resourcet) - ("ghc-tagged" ,ghc-tagged) - ("ghc-unliftio" ,ghc-unliftio) - ("ghc-unordered-containers" ,ghc-unordered-containers))) - (native-inputs - `(("ghc-hspec" ,ghc-hspec) - ("ghc-persistent-sqlite" ,ghc-persistent-sqlite) - ("ghc-persistent-template" ,ghc-persistent-template))) - (home-page "https://github.com/bitemyapp/esqueleto") - (synopsis "Type-safe embedded domain specific language for SQL queries") - (description "This library provides a type-safe embedded domain specific -language (EDSL) for SQL queries that works with SQL backends as provided by -@code{ghc-persistent}. Its language closely resembles SQL, so you don't have -to learn new concepts, just new syntax, and it's fairly easy to predict the -generated SQL and optimize it for your backend.") - (license license:bsd-3)))) - -(define-public ghc-simple-sendfile - (package - (name "ghc-simple-sendfile") - (version "0.2.27") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "simple-sendfile-" version "/" - "simple-sendfile-" version ".tar.gz")) - (sha256 - (base32 - "1bwwqzcm56m2w4ymsa054sxmpbj76h9pvb0jf8zxp8lr41cp51gn")))) - (build-system haskell-build-system) - (inputs - `(("ghc-conduit" ,ghc-conduit) - ("ghc-conduit-extra" ,ghc-conduit-extra) - ("ghc-network" ,ghc-network) - ("ghc-resourcet" ,ghc-resourcet))) - (native-inputs - `(("ghc-hspec" ,ghc-hspec) - ("hspec-discover" ,hspec-discover))) - (home-page "https://github.com/kazu-yamamoto/simple-sendfile") - (synopsis "Cross platform library for the sendfile system call") - (description "This library tries to call minimum system calls which -are the bottleneck of web servers.") - (license license:bsd-3))) - -(define-public ghc-hex - (package - (name "ghc-hex") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "hex-" version "/" - "hex-" version ".tar.gz")) - (sha256 - (base32 - "1v31xiaivrrn0q2jz8919wvkjplv1kxna5ajhsj701fqxm1i5vhj")))) - (build-system haskell-build-system) - (home-page "https://hackage.haskell.org/package/hex") - (synopsis "Convert strings into hexadecimal and back") - (description "This package provides conversion functions between -bytestrings and their hexademical representation.") - (license license:bsd-3))) - -(define-public ghc-psqueues - (package - (name "ghc-psqueues") - (version "0.2.7.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "psqueues-" version "/" - "psqueues-" version ".tar.gz")) - (sha256 - (base32 - "1sjgc9bxh63kkdp59nbirx3xazr02ia5yhp4f4a0jnq1hj465wsc")))) - (build-system haskell-build-system) - (inputs - `(("ghc-hashable" ,ghc-hashable))) - (native-inputs - `(("ghc-hunit" ,ghc-hunit) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-tagged" ,ghc-tagged) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) - ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) - (home-page "https://github.com/jaspervdj/psqueues") - (synopsis "Pure priority search queues") - (description "The psqueues package provides -@uref{https://en.wikipedia.org/wiki/Priority_queue, Priority Search Queues} in -three different flavors: - -@itemize -@item @code{OrdPSQ k p v}, which uses the @code{Ord k} instance to provide -fast insertion, deletion and lookup. This implementation is based on Ralf -Hinze's @uref{http://citeseer.ist.psu.edu/hinze01simple.html, A Simple -Implementation Technique for Priority Search Queues}. - -Hence, it is similar to the @uref{https://hackage.haskell.org/package/PSQueue, -PSQueue} library, although it is considerably faster and provides a slightly -different API. - -@item @code{IntPSQ p v} is a far more efficient implementation. It fixes the -key type to @code{Int} and uses a -@code{https://en.wikipedia.org/wiki/Radix_tree, radix tree} (like @code{IntMap}) -with an additional min-heap property. - -@item @code{HashPSQ k p v} is a fairly straightforward extension -of @code{IntPSQ}: it simply uses the keys' hashes as indices in the -@code{IntPSQ}. If there are any hash collisions, it uses an -@code{OrdPSQ} to resolve those. The performance of this implementation -is comparable to that of @code{IntPSQ}, but it is more widely -applicable since the keys are not restricted to @code{Int}, -but rather to any @code{Hashable} datatype. -@end itemize - -Each of the three implementations provides the same API, so they can -be used interchangeably. - -Typical applications of Priority Search Queues include: - -@itemize -@item Caches, and more specifically LRU Caches; -@item Schedulers; -@item Pathfinding algorithms, such as Dijkstra's and A*. -@end itemize") - (license license:bsd-3))) - -(define-public ghc-glob - (package - (name "ghc-glob") - (version "0.9.2") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "Glob-" version "/" - "Glob-" version ".tar.gz")) - (sha256 - (base32 - "1rbwcq9w9951qsnp13vqcm9r01yax2yh1wk8s4zxa3ckk9717iwg")))) - (build-system haskell-build-system) - (inputs - `(("ghc-dlist" ,ghc-dlist) - ("ghc-semigroups" ,ghc-semigroups) - ("ghc-transformers-compat" ,ghc-transformers-compat))) - (native-inputs - `(("ghc-hunit" ,ghc-hunit) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) - ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) - (home-page "http://iki.fi/matti.niemenmaa/glob/") - (synopsis "Haskell library matching glob patterns against file paths") - (description "This package provides a Haskell library for @dfn{globbing}: -matching patterns against file paths.") - (license license:bsd-3))) - -(define-public ghc-errors - (package - (name "ghc-errors") - (version "2.3.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "errors-" version "/" - "errors-" version ".tar.gz")) - (sha256 - (base32 - "0x8znwn31qcx6kqx99wp7bc86kckfb39ncz3zxvj1s07kxlfawk7")))) - (build-system haskell-build-system) - (inputs - `(("ghc-exceptions" ,ghc-exceptions) - ("ghc-transformers-compat" ,ghc-transformers-compat) - ("ghc-unexceptionalio" ,ghc-unexceptionalio) - ("ghc-safe" ,ghc-safe))) - (home-page "https://github.com/gabriel439/haskell-errors-library") - (synopsis "Error handling library for Haskell") - (description "This library encourages an error-handling style that -directly uses the type system, rather than out-of-band exceptions.") - (license license:bsd-3))) - -(define-public ghc-vector-th-unbox - (package - (name "ghc-vector-th-unbox") - (version "0.2.1.6") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "vector-th-unbox-" version "/" - "vector-th-unbox-" version ".tar.gz")) - (sha256 - (base32 - "0d82x55f5vvr1jvaia382m23rs690lg55pvavv8f4ph0y6kd91xy")))) - (build-system haskell-build-system) - (inputs - `(("ghc-vector" ,ghc-vector) - ("ghc-data-default" ,ghc-data-default))) - (home-page "https://github.com/liyang/vector-th-unbox") - (synopsis "Deriver for Data.Vector.Unboxed using Template Haskell") - (description "This Haskell library provides a Template Haskell -deriver for unboxed vectors, given a pair of coercion functions to -and from some existing type with an Unbox instance.") - (license license:bsd-3))) - -(define-public ghc-erf - (package - (name "ghc-erf") - (version "2.0.0.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "erf-" version "/" - "erf-" version ".tar.gz")) - (sha256 - (base32 - "0dxk2r32ajmmc05vaxcp0yw6vgv4lkbmh8jcshncn98xgsfbgw14")))) - (build-system haskell-build-system) - (home-page "https://hackage.haskell.org/package/erf") - (synopsis "The error function, erf, and related functions for Haskell") - (description "This Haskell library provides a type class for the -error function, erf, and related functions. Instances for Float and -Double.") - (license license:bsd-3))) - -(define-public ghc-math-functions - (package - (name "ghc-math-functions") - (version "0.2.1.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "math-functions-" version "/" - "math-functions-" version ".tar.gz")) - (sha256 - (base32 - "1sv5vabsx332v1lpb6v3jv4zrzvpx1n7yprzd8wlcda5vsc5a6zp")))) - (build-system haskell-build-system) - (arguments `(#:tests? #f)) ; FIXME: 1 test fails. - (inputs - `(("ghc-vector" ,ghc-vector) - ("ghc-vector-th-unbox" ,ghc-vector-th-unbox))) - (native-inputs - `(("ghc-hunit" ,ghc-hunit) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-erf" ,ghc-erf) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) - ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) - (home-page "https://github.com/bos/math-functions") - (synopsis "Special functions and Chebyshev polynomials for Haskell") - (description "This Haskell library provides implementations of -special mathematical functions and Chebyshev polynomials. These -functions are often useful in statistical and numerical computing.") - (license license:bsd-3))) - -(define-public ghc-mwc-random - (package - (name "ghc-mwc-random") - (version "0.13.6.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "mwc-random-" version "/" - "mwc-random-" version ".tar.gz")) - (sha256 - (base32 - "05j7yh0hh9nxic3dijmzv44kc6gzclvamdph7sq7w19wq57k6pq6")))) - (build-system haskell-build-system) - (inputs - `(("ghc-primitive" ,ghc-primitive) - ("ghc-vector" ,ghc-vector) - ("ghc-math-functions" ,ghc-math-functions))) - (arguments - `(#:tests? #f)) ; FIXME: Test-Suite `spec` fails. - (native-inputs - `(("ghc-hunit" ,ghc-hunit) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) - ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) - (home-page "https://github.com/bos/mwc-random") - (synopsis "Random number generation library for Haskell") - (description "This Haskell package contains code for generating -high quality random numbers that follow either a uniform or normal -distribution. The generated numbers are suitable for use in -statistical applications. - -The uniform PRNG uses Marsaglia's MWC256 (also known as MWC8222) -multiply-with-carry generator, which has a period of 2^{8222} and -fares well in tests of randomness. It is also extremely fast, -between 2 and 3 times faster than the Mersenne Twister.") - (license license:bsd-3))) - -(define-public ghc-vector-algorithms - (package - (name "ghc-vector-algorithms") - (version "0.7.0.4") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "vector-algorithms-" version "/" - "vector-algorithms-" version ".tar.gz")) - (sha256 - (base32 - "0mfa8ig9v69l41p2vb5jl4qmaln5y1rlzarr2mlgm8g1nvq8qqdg")))) - (build-system haskell-build-system) - (inputs - `(("ghc-vector" ,ghc-vector))) - (native-inputs - `(("ghc-quickcheck" ,ghc-quickcheck))) - (home-page "https://github.com/bos/math-functions") - (synopsis "Algorithms for vector arrays in Haskell") - (description "This Haskell library algorithms for vector arrays.") - (license license:bsd-3))) - -(define-public ghc-language-haskell-extract - (package - (name "ghc-language-haskell-extract") - (version "0.2.4") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "language-haskell-extract-" version "/" - "language-haskell-extract-" version ".tar.gz")) - (sha256 - (base32 - "1nxcs7g8a1sp91bzpy4cj6s31k5pvc3gvig04cbrggv5cvjidnhl")))) - (build-system haskell-build-system) - (inputs - `(("ghc-regex-posix" ,ghc-regex-posix))) - (home-page "https://github.com/finnsson/template-helper") - (synopsis "Haskell module to automatically extract functions from -the local code") - (description "This package contains helper functions on top of -Template Haskell. - -For example, @code{functionExtractor} extracts all functions after a -regexp-pattern, which can be useful if you wish to extract all functions -beginning with @code{test} (for a test framework) or all functions beginning -with @code{wc} (for a web service).") - (license license:bsd-3))) - -(define-public ghc-abstract-par - (package - (name "ghc-abstract-par") - (version "0.3.3") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "abstract-par-" version "/" - "abstract-par-" version ".tar.gz")) - (sha256 - (base32 - "0q6qsniw4wks2pw6wzncb1p1j3k6al5njnvm2v5n494hplwqg2i4")))) - (build-system haskell-build-system) - (home-page "https://github.com/simonmar/monad-par") - (synopsis "Abstract parallelization interface for Haskell") - (description "This Haskell package is an abstract interface -only. It provides a number of type clasess, but not an -implementation. The type classes separate different levels -of @code{Par} functionality. See the @code{Control.Monad.Par.Class} -module for more details.") - (license license:bsd-3))) - -(define-public ghc-monad-par-extras - (package - (name "ghc-monad-par-extras") - (version "0.3.3") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "monad-par-extras-" version "/" - "monad-par-extras-" version ".tar.gz")) - (sha256 - (base32 - "0bl4bd6jzdc5zm20q1g67ppkfh6j6yn8fwj6msjayj621cck67p2")))) - (build-system haskell-build-system) - (inputs `(("ghc-abstract-par" ,ghc-abstract-par) - ("ghc-cereal" ,ghc-cereal) - ("ghc-random" ,ghc-random))) - (home-page "https://github.com/simonmar/monad-par") - (synopsis "Combinators and extra features for Par monads for Haskell") - (description "This Haskell package provides additional data structures, -and other added capabilities layered on top of the @code{Par} monad.") - (license license:bsd-3))) - -(define-public ghc-abstract-deque - (package - (name "ghc-abstract-deque") - (version "0.3") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "abstract-deque-" version "/" - "abstract-deque-" version ".tar.gz")) - (sha256 - (base32 - "18jwswjxwzc9bjiy4ds6hw2a74ki797jmfcifxd2ga4kh7ri1ah9")))) - (build-system haskell-build-system) - (inputs `(("ghc-random" ,ghc-random))) - (home-page "https://github.com/rrnewton/haskell-lockfree/wiki") - (synopsis "Abstract, parameterized interface to mutable Deques for Haskell") - (description "This Haskell package provides an abstract interface to -highly-parameterizable queues/deques. - -Background: There exists a feature space for queues that extends between: - -@itemize -@item Simple, single-ended, non-concurrent, bounded queues - -@item Double-ended, thread-safe, growable queues with important points -in between (such as the queues used for work stealing). -@end itemize - -This package includes an interface for Deques that allows the programmer -to use a single API for all of the above, while using the type system to -select an efficient implementation given the requirements (using type families). - -This package also includes a simple reference implementation based on -@code{IORef} and @code{Data.Sequence}.") - (license license:bsd-3))) - -(define-public ghc-monad-par - (package - (name "ghc-monad-par") - (version "0.3.4.8") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "monad-par-" version "/" - "monad-par-" version ".tar.gz")) - (sha256 - (base32 - "0ldrzqy24fsszvn2a2nr77m2ih7xm0h9bgkjyv1l274aj18xyk7q")))) - (build-system haskell-build-system) - (inputs `(("ghc-abstract-par" ,ghc-abstract-par) - ("ghc-abstract-deque" ,ghc-abstract-deque) - ("ghc-monad-par-extras" ,ghc-monad-par-extras) - ("ghc-mwc-random" ,ghc-mwc-random) - ("ghc-parallel" ,ghc-parallel))) - (native-inputs `(("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-hunit" ,ghc-hunit) - ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) - ("ghc-test-framework-quickcheck2" - ,ghc-test-framework-quickcheck2) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-th" ,ghc-test-framework-th))) - (home-page "https://github.com/simonmar/monad-par") - (synopsis "Haskell library for parallel programming based on a monad") - (description "The @code{Par} monad offers an API for parallel -programming. The library works for parallelising both pure and @code{IO} -computations, although only the pure version is deterministic. The default -implementation provides a work-stealing scheduler and supports forking tasks -that are much lighter weight than IO-threads.") - (license license:bsd-3))) - -(define-public ghc-statistics - (package - (name "ghc-statistics") - (version "0.14.0.2") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "statistics-" version "/" - "statistics-" version ".tar.gz")) - (sha256 - (base32 - "0y27gafkib0x0fn39qfn2rkgsfrm09ng35sbb5dwr7rclhnxz59l")))) - (build-system haskell-build-system) - (arguments - '(#:cabal-revision - ("2" "1bx70yqkn62ii17fjv3pig4hklrzkqd09zj67zzjiyjzmn04fir3") - ;; Two tests fail: "Discrete CDF is OK" and "Quantile is CDF inverse". - #:tests? #f)) - (inputs - `(("ghc-aeson" ,ghc-aeson) - ("ghc-base-orphans" ,ghc-base-orphans) - ("ghc-erf" ,ghc-erf) - ("ghc-math-functions" ,ghc-math-functions) - ("ghc-monad-par" ,ghc-monad-par) - ("ghc-mwc-random" ,ghc-mwc-random) - ("ghc-primitive" ,ghc-primitive) - ("ghc-vector" ,ghc-vector) - ("ghc-vector-algorithms" ,ghc-vector-algorithms) - ("ghc-vector-th-unbox" ,ghc-vector-th-unbox) - ("ghc-vector-binary-instances" ,ghc-vector-binary-instances))) - (native-inputs - `(("ghc-hunit" ,ghc-hunit) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-ieee754" ,ghc-ieee754) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) - ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) - (home-page "https://github.com/bos/mwc-random") - (synopsis "Haskell library of statistical types, data, and functions") - (description "This library provides a number of common functions -and types useful in statistics. We focus on high performance, numerical -robustness, and use of good algorithms. Where possible, we provide references -to the statistical literature. - -The library's facilities can be divided into four broad categories: - -@itemize -@item Working with widely used discrete and continuous probability -distributions. (There are dozens of exotic distributions in use; we focus -on the most common.) - -@item Computing with sample data: quantile estimation, kernel density -estimation, histograms, bootstrap methods, significance testing, -and regression and autocorrelation analysis. - -@item Random variate generation under several different distributions. - -@item Common statistical tests for significant differences between samples. -@end itemize") - (license license:bsd-2))) - -(define-public ghc-chunked-data - (package - (name "ghc-chunked-data") - (version "0.3.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "chunked-data-" version "/" - "chunked-data-" version ".tar.gz")) - (sha256 - (base32 - "16m7y7fwrirbjbqqcsfmr4yxa9qvfax6r7pw0zl9ky71ms0wa47p")))) - (build-system haskell-build-system) - (inputs `(("ghc-vector" ,ghc-vector) - ("ghc-semigroups" ,ghc-semigroups))) - (home-page "https://github.com/snoyberg/mono-traversable") - (synopsis "Typeclasses for dealing with various chunked data -representations for Haskell") - (description "This Haskell package was originally present in -classy-prelude.") - (license license:expat))) - -(define-public ghc-base-prelude - (package - (name "ghc-base-prelude") - (version "1.3") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "base-prelude-" version "/" - "base-prelude-" version ".tar.gz")) - (sha256 - (base32 - "1zk728sd09hh2r4xwz4lazsrrgg5cshydn64932sm0vckplndk73")))) - (build-system haskell-build-system) - (home-page "https://github.com/nikita-volkov/base-prelude") - (synopsis "The most complete prelude formed solely from the Haskell's base -package") - (description "This Haskell package aims to reexport all the non-conflicting -and most general definitions from the \"base\" package. - -This includes APIs for applicatives, arrows, monoids, foldables, traversables, -exceptions, generics, ST, MVars and STM. - -This package will never have any dependencies other than \"base\". - -Versioning policy: - -The versioning policy of this package deviates from PVP in the sense -that its exports in part are transitively determined by the version of \"base\". -Therefore it's recommended for the users of @code{ghc-base-prelude} to specify -the bounds of \"base\" as well.") - (license license:expat))) - -(define-public ghc-tuple-th - (package - (name "ghc-tuple-th") - (version "0.2.5") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "tuple-th-" version "/" - "tuple-th-" version ".tar.gz")) - (sha256 - (base32 - "1mrl4vvxmby7sf1paf7hklzidnr6wq55822i73smqyz0xpf3gsjn")))) - (build-system haskell-build-system) - (home-page "https://github.com/DanielSchuessler/tuple-th") - (synopsis "Generate utility functions for tuples of statically known size -for Haskell") - (description "This Haskell package contains Template Haskell functions for -generating functions similar to those in @code{Data.List} for tuples of -statically known size.") - (license license:bsd-3))) - -(define-public ghc-contravariant-extras - (package - (name "ghc-contravariant-extras") - (version "0.3.4") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "contravariant-extras-" version "/" - "contravariant-extras-" version ".tar.gz")) - (sha256 - (base32 - "0gg62ccl94kvh7mnvdq09pifqxjx2kgs189si90nmg44bafj7a9n")))) - (build-system haskell-build-system) - (inputs - `(("ghc-tuple-th" ,ghc-tuple-th) - ("ghc-contravariant" ,ghc-contravariant) - ("ghc-base-prelude" ,ghc-base-prelude) - ("ghc-semigroups" ,ghc-semigroups))) - (home-page "https://github.com/nikita-volkov/contravariant-extras") - (synopsis "Extras for the @code{ghc-contravariant} Haskell package") - (description "This Haskell package provides extras for the -@code{ghc-contravariant} package.") - (license license:expat))) - -(define-public ghc-monadrandom - (package - (name "ghc-monadrandom") - (version "0.5.1.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "MonadRandom-" version "/" - "MonadRandom-" version ".tar.gz")) - (sha256 - (base32 - "0w44jl1n3kqvqaflh82l1wj3xxbhzfs3kf4m8rk7w6fgg8llmnmb")))) - (build-system haskell-build-system) - (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat) - ("ghc-primitive" ,ghc-primitive) - ("ghc-fail" ,ghc-fail) - ("ghc-random" ,ghc-random))) - (home-page "https://github.com/byorgey/MonadRandom") - (synopsis "Random-number generation monad for Haskell") - (description "This Haskell package provides support for computations -which consume random values.") - (license license:bsd-3))) - -(define-public ghc-either - (package - (name "ghc-either") - (version "5.0.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "either-" version "/" - "either-" version ".tar.gz")) - (sha256 - (base32 - "064hjfld7dkzs78sy30k5qkiva3hx24rax6dvzz5ygr2c0zypdkc")))) - (build-system haskell-build-system) - (inputs `(("ghc-bifunctors" ,ghc-bifunctors) - ("ghc-exceptions" ,ghc-exceptions) - ("ghc-free" ,ghc-free) - ("ghc-monad-control" ,ghc-monad-control) - ("ghc-manodrandom" ,ghc-monadrandom) - ("ghc-mmorph" ,ghc-mmorph) - ("ghc-profunctors" ,ghc-profunctors) - ("ghc-semigroups" ,ghc-semigroups) - ("ghc-semigroupoids" ,ghc-semigroupoids) - ("ghc-transformers-base" ,ghc-transformers-base))) - (native-inputs - `(("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) - (home-page "https://github.com/ekmett/either") - (synopsis "Provides an either monad transformer for Haskell") - (description "This Haskell package provides an either monad transformer.") - (license license:bsd-3))) - -(define-public ghc-pretty-hex - (package - (name "ghc-pretty-hex") - (version "1.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "pretty-hex-" version "/" - "pretty-hex-" version ".tar.gz")) - (sha256 - (base32 - "0ylwkvvjvmpprha9nx83xb8gkhyanhk5fffc0r7lb96n4ch5z6pz")))) - (build-system haskell-build-system) - (home-page "https://github.com/GaloisInc/hexdump") - (synopsis "Haskell library for hex dumps of ByteStrings") - (description "This Haskell library generates pretty hex dumps of -ByteStrings in the style of other common *nix hex dump tools.") - (license license:bsd-3))) - -(define-public ghc-network-info - (package - (name "ghc-network-info") - (version "0.2.0.10") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "network-info-" version "/" - "network-info-" version ".tar.gz")) - (sha256 - (base32 - "0anmgzcpnz7nw3n6vq0r25m1s9l2svpwi83wza0lzkrlbnbzd02n")))) - (build-system haskell-build-system) - (home-page "https://github.com/jystic/network-info") - (synopsis "Access the local computer's basic network configuration") - (description "This Haskell library provides simple read-only access to the -local computer's networking configuration. It is currently capable of -getting a list of all the network interfaces and their respective -IPv4, IPv6 and MAC addresses.") - (license license:bsd-3))) - -(define-public ghc-uuid-types - (package - (name "ghc-uuid-types") - (version "1.0.3") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "uuid-types-" version "/" - "uuid-types-" version ".tar.gz")) - (sha256 - (base32 - "1zdka5jnm1h6k36w3nr647yf3b5lqb336g3fkprhd6san9x52xlj")))) - (build-system haskell-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'configure 'strip-test-framework-constraints - (lambda _ - (substitute* "uuid-types.cabal" - (("HUnit >=1\\.2 && < 1\\.4") "HUnit") - (("QuickCheck >=2\\.4 && < 2\\.9") "QuickCheck") - (("tasty >= 0\\.10 && < 0\\.12") "tasty") - (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit") - (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck"))))))) - (inputs `(("ghc-hashable" ,ghc-hashable) - ("ghc-random" ,ghc-random))) - (native-inputs `(("ghc-hunit" ,ghc-hunit) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-hunit" ,ghc-tasty-hunit) - ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) - (home-page "https://github.com/hvr/uuid") - (synopsis "Haskell type definitions for UUIDs") - (description "This Haskell library contains type definitions for -@dfn{Universally Unique Identifiers} or -@uref{https://en.wikipedia.org/wiki/UUID, UUIDs}, and basic conversion -functions.") - (license license:bsd-3))) - -(define-public ghc-uuid - (package - (name "ghc-uuid") - (version "1.3.13") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "uuid-" version "/" - "uuid-" version ".tar.gz")) - (sha256 - (base32 - "09xhk42yhxvqmka0iqrv3338asncz8cap3j0ic0ps896f2581b6z")))) - (build-system haskell-build-system) - (arguments - `(#:cabal-revision - ("2" "0m185q62jkfb5jsv358nxbnrkv8y8hd0qqvgvh22wvc5g9ipz0r9") - #:phases - (modify-phases %standard-phases - (add-before 'configure 'strip-test-framework-constraints - (lambda _ - (substitute* "uuid.cabal" - (("HUnit >= 1\\.2 && < 1\\.4") "HUnit") - (("QuickCheck >= 2\\.4 && < 2\\.10") "QuickCheck") - (("tasty >= 0\\.10 && < 0\\.12") "tasty") - (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit") - (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck"))))))) - (inputs `(("ghc-cryptohash-sha1" ,ghc-cryptohash-sha1) - ("ghc-cryptohash-md5" ,ghc-cryptohash-md5) - ("ghc-entropy" ,ghc-entropy) - ("ghc-network-info" ,ghc-network-info) - ("ghc-random" ,ghc-random) - ("ghc-uuid-types" ,ghc-uuid-types))) - (native-inputs `(("ghc-hunit" ,ghc-hunit) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-hunit" ,ghc-tasty-hunit) - ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) - (home-page "https://github.com/hvr/uuid") - (synopsis "Haskell library to create, compare, parse, and print UUIDs") - (description "This Haskell library provides utilities creating, comparing, -parsing and printing @dfn{Universally Unique Identifiers} or UUIDs.") - (license license:bsd-3))) - -(define-public ghc-rebase - (package - (name "ghc-rebase") - (version "1.2.4") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "rebase-" version "/" - "rebase-" version ".tar.gz")) - (sha256 - (base32 - "1gah2qwfpzwamnikbc5h4nv6dgvv9h16di9ka7946za3nibyasya")))) - (build-system haskell-build-system) - (inputs `(("ghc-hashable" ,ghc-hashable) - ("ghc-vector" ,ghc-vector) - ("ghc-unordered-containers" ,ghc-unordered-containers) - ("ghc-scientific" ,ghc-scientific) - ("ghc-uuid" ,ghc-uuid) - ("ghc-dlist" ,ghc-dlist) - ("ghc-void" ,ghc-void) - ("ghc-bifunctors" ,ghc-bifunctors) - ("ghc-profunctors" ,ghc-profunctors) - ("ghc-contravariant" ,ghc-contravariant) - ("ghc-contravariant-extras" ,ghc-contravariant-extras) - ("ghc-semigroups" ,ghc-semigroups) - ("ghc-either" ,ghc-either) - ("ghc-fail" ,ghc-fail) - ("ghc-base-prelude" ,ghc-base-prelude))) - (home-page "https://github.com/nikita-volkov/rebase") - (synopsis "Progressive alternative to the base package -for Haskell") - (description "This Haskell package is intended for those who are -tired of keeping long lists of dependencies to the same essential libraries -in each package as well as the endless imports of the same APIs all over again. - -It also supports the modern tendencies in the language. - -To solve those problems this package does the following: - -@itemize -@item Reexport the original APIs under the @code{Rebase} namespace. - -@item Export all the possible non-conflicting symbols from the -@code{Rebase.Prelude} module. - -@item Give priority to the modern practices in the conflicting cases. -@end itemize - -The policy behind the package is only to reexport the non-ambiguous and -non-controversial APIs, which the community has obviously settled on. -The package is intended to rapidly evolve with the contribution from -the community, with the missing features being added with pull-requests.") - (license license:expat))) - -(define-public ghc-rerebase - (package - (name "ghc-rerebase") - (version "1.2.2") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/rerebase/rerebase-" - version ".tar.gz")) - (sha256 - (base32 - "11v6rmz7ql2rdx6mhb3lsal952lwihclfhh0m7fcnii5br0906ks")))) - (build-system haskell-build-system) - (inputs - `(("ghc-rebase" ,ghc-rebase))) - (home-page "https://github.com/nikita-volkov/rerebase") - (synopsis "Reexports from ``base'' with many other standard libraries") - (description "A rich drop-in replacement for @code{base}. For details and -documentation please visit @uref{https://github.com/nikita-volkov/rerebase, -the project's home page}.") - (license license:expat))) - -(define-public ghc-vector-builder - (package - (name "ghc-vector-builder") - (version "0.3.6") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "vector-builder-" version "/" - "vector-builder-" version ".tar.gz")) - (sha256 - (base32 - "06d2pa1fb3ydrl7l6rjazqyxv5i73v65x2f5fp0ypjxfbm6jsmn8")))) - (build-system haskell-build-system) - (inputs `(("ghc-vector" ,ghc-vector) - ("ghc-semigroups" ,ghc-semigroups) - ("ghc-base-prelude" ,ghc-base-prelude))) - (native-inputs `(("ghc-attoparsec" ,ghc-attoparsec) - ("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-hunit" ,ghc-tasty-hunit) - ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) - ("ghc-hunit" ,ghc-hunit) - ("ghc-quickcheck-instances" ,ghc-quickcheck-instances) - ("ghc-rerebase" ,ghc-rerebase))) - (home-page "https://github.com/nikita-volkov/vector-builder") - (synopsis "Vector builder for Haskell") - (description "This Haskell package provides an API for constructing vectors. -It provides the composable @code{Builder} abstraction, which has instances of the -@code{Monoid} and @code{Semigroup} classes. - -You would first use the @code{Builder} abstraction to specify the structure of -the vector; then you can execute the builder to actually produce the -vector. ") - (license license:expat))) - -(define-public ghc-foldl - (package - (name "ghc-foldl") - (version "1.4.3") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "foldl-" version "/" - "foldl-" version ".tar.gz")) - (sha256 - (base32 - "13n0ca3hw5jzqf6rxsdbhbwkn61a9zlm13f0f205s60j3sc72jzk")))) - (build-system haskell-build-system) - (inputs `(("ghc-mwc-randam" ,ghc-mwc-random) - ("ghc-primitive" ,ghc-primitive) - ("ghc-vector" ,ghc-vector) - ("ghc-unordered-containers" ,ghc-unordered-containers) - ("ghc-hashable" ,ghc-hashable) - ("ghc-contravariant" ,ghc-contravariant) - ("ghc-semigroups" ,ghc-semigroups) - ("ghc-profunctors" ,ghc-profunctors) - ("ghc-semigroupoids" ,ghc-semigroupoids) - ("ghc-comonad" ,ghc-comonad) - ("ghc-vector-builder" ,ghc-vector-builder))) - (home-page "https://github.com/Gabriel439/Haskell-Foldl-Library") - (synopsis "Composable, streaming, and efficient left folds for Haskell") - (description "This Haskell library provides strict left folds that stream -in constant memory, and you can combine folds using @code{Applicative} style -to derive new folds. Derived folds still traverse the container just once -and are often as efficient as hand-written folds.") - (license license:bsd-3))) - -(define-public ghc-mono-traversable - (package - (name "ghc-mono-traversable") - (version "1.0.9.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "mono-traversable-" version "/" - "mono-traversable-" version ".tar.gz")) - (sha256 - (base32 - "0180ks0dyvpk1r20w5jw2w2n79mjnk69n9vhspaxzlyxqgim5psa")))) - (build-system haskell-build-system) - (inputs `(("ghc-unordered-containers" ,ghc-unordered-containers) - ("ghc-hashable" ,ghc-hashable) - ("ghc-vector" ,ghc-vector) - ("ghc-vector-algorithms" ,ghc-vector-algorithms) - ("ghc-split" ,ghc-split))) - (native-inputs `(("ghc-hspec" ,ghc-hspec) - ("ghc-hunit" ,ghc-hunit) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-semigroups" ,ghc-semigroups) - ("ghc-foldl" ,ghc-foldl))) - (home-page "https://github.com/snoyberg/mono-traversable") - (synopsis "Haskell classes for mapping, folding, and traversing monomorphic -containers") - (description "This Haskell package provides Monomorphic variants of the -Functor, Foldable, and Traversable typeclasses. If you understand Haskell's -basic typeclasses, you understand mono-traversable. In addition to what -you are used to, it adds on an IsSequence typeclass and has code for marking -data structures as non-empty.") - (license license:expat))) - -(define-public ghc-conduit-combinators - (package - (name "ghc-conduit-combinators") - (version "1.3.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "conduit-combinators-" version "/" - "conduit-combinators-" version ".tar.gz")) - (sha256 - (base32 - "1lz70vwp4y4lpsivxl0cshq7aq3968rh48r6rjvpyaj2l0bdj5wp")))) - (build-system haskell-build-system) - (inputs `(("ghc-conduit" ,ghc-conduit) - ("ghc-conduit-extra" ,ghc-conduit-extra) - ("ghc-transformers-base" ,ghc-transformers-base) - ("ghc-primitive" ,ghc-primitive) - ("ghc-vector" ,ghc-vector) - ("ghc-void" ,ghc-void) - ("ghc-mwc-random" ,ghc-mwc-random) - ("ghc-unix-compat" ,ghc-unix-compat) - ("ghc-base16-bytestring" ,ghc-base16-bytestring) - ("ghc-base64-bytestring" ,ghc-base64-bytestring) - ("ghc-resourcet" ,ghc-resourcet) - ("ghc-monad-control" ,ghc-monad-control) - ("ghc-chunked-data" ,ghc-chunked-data) - ("ghc-mono-traversable" ,ghc-mono-traversable))) - (native-inputs `(("ghc-hspec" ,ghc-hspec) - ("ghc-silently" ,ghc-silently) - ("ghc-safe" ,ghc-safe) - ("ghc-quickcheck" ,ghc-quickcheck))) - (home-page "https://github.com/snoyberg/mono-traversable") - (synopsis "Commonly used conduit functions, for both chunked and -unchunked data") - (description "This Haskell package provides a replacement for Data.Conduit.List, -as well as a convenient Conduit module.") - (license license:expat))) - -(define-public ghc-aws - (package - (name "ghc-aws") - (version "0.20") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "aws-" version "/aws-" version ".tar.gz")) - (sha256 (base32 - "0pwpabmypi1w8rni9qfwabgn95jks4h8dyw6889mn8xzsrhdhyf0")))) - (build-system haskell-build-system) - (arguments `(#:tests? #f)) ; Tests require AWS credentials. - (inputs - `(("ghc-aeson" ,ghc-aeson) - ("ghc-attoparsec" ,ghc-attoparsec) - ("ghc-base16-bytestring" ,ghc-base16-bytestring) - ("ghc-base64-bytestring" ,ghc-base64-bytestring) - ("ghc-blaze-builder" ,ghc-blaze-builder) - ("ghc-byteable" ,ghc-byteable) - ("ghc-case-insensitive" ,ghc-case-insensitive) - ("ghc-cereal" ,ghc-cereal) - ("ghc-conduit" ,ghc-conduit) - ("ghc-conduit-extra" ,ghc-conduit-extra) - ("ghc-cryptonite" ,ghc-cryptonite) - ("ghc-data-default" ,ghc-data-default) - ("ghc-http-conduit" ,ghc-http-conduit) - ("ghc-http-types" ,ghc-http-types) - ("ghc-lifted-base" ,ghc-lifted-base) - ("ghc-monad-control" ,ghc-monad-control) - ("ghc-network" ,ghc-network) - ("ghc-old-locale" ,ghc-old-locale) - ("ghc-safe" ,ghc-safe) - ("ghc-scientific" ,ghc-scientific) - ("ghc-tagged" ,ghc-tagged) - ("ghc-unordered-containers" ,ghc-unordered-containers) - ("ghc-utf8-string" ,ghc-utf8-string) - ("ghc-vector" ,ghc-vector) - ("ghc-xml-conduit" ,ghc-xml-conduit))) - (native-inputs - `(("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-errors" ,ghc-errors) - ("ghc-http-client" ,ghc-http-client) - ("ghc-http-client-tls" ,ghc-http-client-tls) - ("ghc-quickcheck-instances" ,ghc-quickcheck-instances) - ("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) - ("ghc-tasty-hunit" ,ghc-tasty-hunit) - ("ghc-conduit-combinators" ,ghc-conduit-combinators))) - (home-page "https://github.com/aristidb/aws") - (synopsis "Amazon Web Services for Haskell") - (description "This package attempts to provide support for using -Amazon Web Services like S3 (storage), SQS (queuing) and others to -Haskell programmers. The ultimate goal is to support all Amazon -Web Services.") - (license license:bsd-3))) - -(define-public ghc-basement - (package - (name "ghc-basement") - (version "0.0.8") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "basement/basement-" version ".tar.gz")) - (sha256 - (base32 - "194jw567di4q2758943q9rrwkbf9gl261my7qc21i9xhyabipx67")))) - (build-system haskell-build-system) - (home-page "https://github.com/haskell-foundation/foundation") - (synopsis "Basic primitives for Foundation starter pack") - (description - "This package contains basic primitives for the Foundation set of -packages.") - (license license:bsd-3))) - -(define-public ghc-foundation - (package - (name "ghc-foundation") - (version "0.0.21") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "foundation/foundation-" version ".tar.gz")) - (sha256 - (base32 - "1q43y8wfj0wf9gdq2kzphwjwq6m5pvryy1lqgk954aq5z3ks1lsf")))) - (build-system haskell-build-system) - (inputs `(("ghc-basement" ,ghc-basement))) - (home-page "https://github.com/haskell-foundation/foundation") - (synopsis "Alternative prelude with batteries and no dependencies") - (description - "This package provides a custom prelude with no dependencies apart from -the base package. - -Foundation has the following goals: - -@enumerate -@item provide a base like sets of modules that provide a consistent set of - features and bugfixes across multiple versions of GHC (unlike base). -@item provide a better and more efficient prelude than base's prelude. -@item be self-sufficient: no external dependencies apart from base; -@item provide better data-types: packed unicode string by default, arrays; -@item Numerical classes that better represent mathematical things (no more - all-in-one @code{Num}); -@item I/O system with less lazy IO. -@end enumerate\n") - (license license:bsd-3))) - -(define-public ghc-stm-chans - (package - (name "ghc-stm-chans") - (version "3.0.0.4") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "stm-chans-" version "/" - "stm-chans-" version ".tar.gz")) - (sha256 - (base32 - "0f27sp09yha43xk9q55sc185jyjs5h7gq2dhsyx6bm9kz9dzqi13")))) - (build-system haskell-build-system) - (home-page "https://hackage.haskell.org/package/stm-chans") - (synopsis "Additional types of channels for ghc-stm") - (description "This Haskell package offers a collection of channel types, -similar to @code{Control.Concurrent.STM.@{TChan,TQueue@}} but with additional -features.") - (license license:bsd-3))) - -(define-public ghc-monad-loops - (package - (name "ghc-monad-loops") - (version "0.4.3") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "monad-loops-" version "/" - "monad-loops-" version ".tar.gz")) - (sha256 - (base32 - "062c2sn3hc8h50p1mhqkpyv6x8dydz2zh3ridvlfjq9nqimszaky")))) - (build-system haskell-build-system) - (native-inputs `(("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-hunit" ,ghc-tasty-hunit))) - (home-page "https://github.com/mokus0/monad-loops") - (synopsis "Monadic loops for Haskell") - (description "This Haskell package provides some useful control -operators for looping.") - (license license:public-domain))) - -(define-public ghc-monad-logger - (package - (name "ghc-monad-logger") - (version "0.3.29") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "monad-logger-" version "/" - "monad-logger-" version ".tar.gz")) - (sha256 - (base32 - "1z516s4pa9n94zf0l45mylssg07xr1d1m6zrz900p0iv3vfd07mv")))) - (build-system haskell-build-system) - (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat) - ("ghc-stm-chans" ,ghc-stm-chans) - ("ghc-lifted-base" ,ghc-lifted-base) - ("ghc-resourcet" ,ghc-resourcet) - ("ghc-conduit" ,ghc-conduit) - ("ghc-conduit-extra" ,ghc-conduit-extra) - ("ghc-fast-logger" ,ghc-fast-logger) - ("ghc-transformers-base" ,ghc-transformers-base) - ("ghc-monad-control" ,ghc-monad-control) - ("ghc-monad-loops" ,ghc-monad-loops) - ("ghc-blaze-builder" ,ghc-blaze-builder) - ("ghc-exceptions" ,ghc-exceptions))) - (home-page "https://github.com/kazu-yamamoto/logger") - (synopsis "Provides a class of monads which can log messages for Haskell") - (description "This Haskell package uses a monad transformer approach -for logging. - -This package provides Template Haskell functions for determining source -code locations of messages.") - (license license:expat))) - -(define-public ghc-shakespeare - (package - (name "ghc-shakespeare") - (version "2.0.15") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "shakespeare-" version "/" - "shakespeare-" version ".tar.gz")) - (sha256 - (base32 - "1vk4b19zvwy4mpwaq9z3l3kfmz75gfyf7alhh0y112gspgpccm23")))) - (build-system haskell-build-system) - (inputs `(("ghc-aeson" ,ghc-aeson) - ("ghc-blaze-markup" ,ghc-blaze-markup) - ("ghc-blaze-html" ,ghc-blaze-html) - ("ghc-exceptions" ,ghc-exceptions) - ("ghc-vector" ,ghc-vector) - ("ghc-unordered-containers" ,ghc-unordered-containers) - ("ghc-scientific" ,ghc-scientific))) - (native-inputs `(("ghc-hspec" ,ghc-hspec) - ("ghc-hunit" ,ghc-hunit) - ("hspec-discover" ,hspec-discover))) - (home-page "https://www.yesodweb.com/book/shakespearean-templates") - (synopsis "Family of type-safe template languages for Haskell") - (description "This Haskell package provides a family of type-safe -templates with simple variable interpolation. Shakespeare templates can -be used inline with a quasi-quoter or in an external file and it -interpolates variables according to the type being inserted.") - (license license:expat))) - -(define-public ghc-securemem - (package - (name "ghc-securemem") - (version "0.1.10") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "securemem-" version "/" - "securemem-" version ".tar.gz")) - (sha256 - (base32 - "19hnw2cfbsfjynxq1bq9f6djbxhsc1k751ml0y1ab3ah913mm29j")))) - (build-system haskell-build-system) - (inputs `(("ghc-byteable" ,ghc-byteable) - ("ghc-memory" ,ghc-memory))) - (home-page "https://github.com/vincenthz/hs-securemem") - (synopsis "Auto-scrubbing and const-time-eq memory chunk abstraction for -Haskell") - (description "SecureMem is similar to ByteString, except that it provides -a memory chunk that will be auto-scrubbed after it run out of scope.") - (license license:bsd-3))) - -(define-public ghc-resource-pool - (package - (name "ghc-resource-pool") - (version "0.2.3.2") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "resource-pool-" version "/" - "resource-pool-" version ".tar.gz")) - (sha256 - (base32 - "04mw8b9djb14zp4rdi6h7mc3zizh597ffiinfbr4m0m8psifw9w6")))) - (build-system haskell-build-system) - (inputs `(("ghc-hashable" ,ghc-hashable) - ("ghc-monad-control" ,ghc-monad-control) - ("ghc-transformers-base" ,ghc-transformers-base) - ("ghc-vector" ,ghc-vector))) - (home-page "https://github.com/bos/pool") - (synopsis "Striped resource pooling implementation in Haskell") - (description "This Haskell package provides striped pooling abstraction -for managing flexibly-sized collections of resources such as database -connections.") - (license license:bsd-3))) - -(define-public ghc-attoparsec-iso8601 - (package - (name "ghc-attoparsec-iso8601") - (version "1.0.0.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "attoparsec-iso8601-" version "/" - "attoparsec-iso8601-" version ".tar.gz")) - (sha256 - (base32 - "12l55b76bhya9q89mfmqmy6sl5v39b6gzrw5rf3f70vkb23nsv5a")))) - (build-system haskell-build-system) - (arguments - `(#:cabal-revision - ("1" "06f7pgmmc8456p3hc1y23kz1y127gfczy7s00wz1rls9g2sm2vi4"))) - (inputs `(("ghc-attoparsec" ,ghc-attoparsec) - ("ghc-base-compat" ,ghc-base-compat))) - (home-page "https://github.com/bos/aeson") - (synopsis "Parse ISO 8601 dates") - (description "Haskell library for parsing of ISO 8601 dates, originally -from aeson.") - (license license:bsd-3))) - -(define-public ghc-generics-sop - (package - (name "ghc-generics-sop") - (version "0.3.2.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "generics-sop-" version "/" - "generics-sop-" version ".tar.gz")) - (sha256 - (base32 - "168v62i845jh9jbfaz3ldz8svz4wmzq9mf2vhb7pxlnbkk8fqq1h")))) - (build-system haskell-build-system) - (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat))) - (home-page "https://github.com/well-typed/generics-sop") - (synopsis "Generic Programming using True Sums of Products for Haskell") - (description "This Haskell package supports the definition of generic -functions. Datatypes are viewed in a uniform, structured way: the choice -between constructors is represented using an n-ary sum, and the arguments of -each constructor are represented using an n-ary product.") - (license license:bsd-3))) - -(define-public ghc-uri-bytestring - (package - (name "ghc-uri-bytestring") - (version "0.3.2.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "uri-bytestring-" version "/" - "uri-bytestring-" version ".tar.gz")) - (sha256 - (base32 - "1q04j5ybvk37zk2m0bkjwyhblz0ymdj0cn4rvsvdca1ikn5xdv5c")))) - (build-system haskell-build-system) - (inputs `(("ghc-attoparsec" ,ghc-attoparsec) - ("ghc-fail" ,ghc-fail) - ("ghc-blaze-builder" ,ghc-blaze-builder) - ("ghc-th-lift-instances" ,ghc-th-lift-instances))) - (native-inputs `(("ghc-attoparsec" ,ghc-attoparsec) - ("ghc-hunit" ,ghc-hunit) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-hunit" ,ghc-tasty-hunit) - ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) - ("ghc-base-compat" ,ghc-base-compat) - ("ghc-quickcheck-instances" ,ghc-quickcheck-instances) - ("ghc-semigroups" ,ghc-semigroups) - ("ghc-generics-sop" ,ghc-generics-sop))) - (home-page "https://github.com/Soostone/uri-bytestring") - (synopsis "Haskell URI parsing as ByteStrings") - (description "This Haskell package aims to be an RFC3986 compliant URI -parser that uses ByteStrings for parsing and representing the URI data.") - (license license:bsd-3))) - -(define-public ghc-http-api-data - (package - (name "ghc-http-api-data") - (version "0.3.8.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "http-api-data-" version "/" - "http-api-data-" version ".tar.gz")) - (sha256 - (base32 - "1cq6459b8wz6nvkvpi89dg189n5q2xdq4rdq435hf150555vmskf")))) - (build-system haskell-build-system) - (arguments `(#:tests? #f)) ; FIXME: Tests require QuickCheck >= 2.9 - (inputs `(("ghc-attoparsec" ,ghc-attoparsec) - ("ghc-attoparsec-iso8601" ,ghc-attoparsec-iso8601) - ("ghc-hashable" ,ghc-hashable) - ("ghc-http-types" ,ghc-http-types) - ("ghc-time-locale-compat" ,ghc-time-locale-compat) - ("ghc-unordered-containers" ,ghc-unordered-containers) - ("ghc-uri-bytestring" ,ghc-uri-bytestring) - ("ghc-uuid-types" ,ghc-uuid-types))) - (home-page "https://github.com/fizruk/http-api-data") - (synopsis "Convert to/from HTTP API data like URL pieces, headers and -query parameters") - (description "This Haskell package defines typeclasses used for converting -Haskell data types to and from HTTP API data.") - (license license:bsd-3))) - -(define-public ghc-persistent - (package - (name "ghc-persistent") - (version "2.8.2") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "persistent-" version "/" - "persistent-" version ".tar.gz")) - (sha256 - (base32 - "1h0yijbf1yiwl50klyafy4ln99j8bib4kgbzviw7fc4y4mwv4sv9")))) - (build-system haskell-build-system) - (inputs `(("ghc-old-locale" ,ghc-old-locale) - ("ghc-conduit" ,ghc-conduit) - ("ghc-resourcet" ,ghc-resourcet) - ("ghc-exceptions" ,ghc-exceptions) - ("ghc-monad-control" ,ghc-monad-control) - ("ghc-lifted-base" ,ghc-lifted-base) - ("ghc-resource-pool" ,ghc-resource-pool) - ("ghc-path-pieces" ,ghc-path-pieces) - ("ghc-http-api-data" ,ghc-http-api-data) - ("ghc-aeson" ,ghc-aeson) - ("ghc-monad-logger" ,ghc-monad-logger) - ("ghc-transformers-base" ,ghc-transformers-base) - ("ghc-base64-bytestring" ,ghc-base64-bytestring) - ("ghc-unordered-containers" ,ghc-unordered-containers) - ("ghc-vector" ,ghc-vector) - ("ghc-attoparsec" ,ghc-attoparsec) - ("ghc-haskell-src-meta" ,ghc-haskell-src-meta) - ("ghc-blaze-html" ,ghc-blaze-html) - ("ghc-blaze-markup" ,ghc-blaze-markup) - ("ghc-silently" ,ghc-silently) - ("ghc-fast-logger" ,ghc-fast-logger) - ("ghc-scientific" ,ghc-scientific) - ("ghc-tagged" ,ghc-tagged) - ("ghc-void" ,ghc-void))) - (native-inputs `(("ghc-hspec" ,ghc-hspec))) - (home-page "https://www.yesodweb.com/book/persistent") - (synopsis "Type-safe, multi-backend data serialization for Haskell") - (description "This Haskell package allows Haskell programs to access data -storage systems like PostgreSQL, SQLite, MySQL and MongoDB in a type-safe -way.") - (license license:expat))) - -(define-public ghc-aeson-compat - (package - (name "ghc-aeson-compat") - (version "0.3.8") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "aeson-compat-" version "/" - "aeson-compat-" version ".tar.gz")) - (sha256 - (base32 - "0j4v13pgk21zy8hqkbx8hw0n05jdl17qphxz9rj4h333pr547r3i")))) - (build-system haskell-build-system) - (arguments `(#:tests? #f)) ; FIXME: Tests require QuickCheck >= 2.10 - (inputs `(("ghc-base-compat" ,ghc-base-compat) - ("ghc-aeson" ,ghc-aeson) - ("ghc-attoparsec" ,ghc-attoparsec) - ("ghc-attoparsec" ,ghc-attoparsec-iso8601) - ("ghc-exceptions" ,ghc-exceptions) - ("ghc-hashable" ,ghc-hashable) - ("ghc-scientific" ,ghc-scientific) - ("ghc-time-locale-compat" ,ghc-time-locale-compat) - ("ghc-unordered-containers" ,ghc-unordered-containers) - ("ghc-vector" ,ghc-vector) - ("ghc-tagged" ,ghc-tagged) - ("ghc-semigroups" ,ghc-semigroups) - ("ghc-nats" ,ghc-nats))) - (home-page "https://github.com/phadej/aeson-compat") - (synopsis "Compatibility layer for ghc-aeson") - (description "This Haskell package provides compatibility layer for -ghc-aeson.") - (license license:bsd-3))) - -(define-public ghc-persistent-template - (package - (name "ghc-persistent-template") - (version "2.5.4") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "persistent-template-" version "/" - "persistent-template-" version ".tar.gz")) - (sha256 - (base32 - "008afcy7zbw7bzp9jww8gdldb51kfm0fg4p0x4xcp61gx4679bjc")))) - (build-system haskell-build-system) - (arguments - `(#:cabal-revision - ("2" "03qgwk32krldph3blw5agiqcpccr3649hajyn8wm9k71zz82dpn6"))) - (inputs `(("ghc-persistent" ,ghc-persistent) - ("ghc-monad-control" ,ghc-monad-control) - ("ghc-aeson" ,ghc-aeson) - ("ghc-aeson-compat" ,ghc-aeson-compat) - ("ghc-monad-logger" ,ghc-monad-logger) - ("ghc-unordered-containers" ,ghc-unordered-containers) - ("ghc-tagged" ,ghc-tagged) - ("ghc-path-pieces" ,ghc-path-pieces) - ("ghc-http-api-data" ,ghc-http-api-data))) - (native-inputs `(("ghc-hspec" ,ghc-hspec) - ("ghc-quickcheck" ,ghc-quickcheck))) - (home-page "https://www.yesodweb.com/book/persistent") - (synopsis "Type-safe, non-relational, multi-backend persistence") - (description "This Haskell package provides interfaces and helper -functions for the ghc-persistent package.") - (license license:expat))) - -(define-public ghc-unliftio-core - (package - (name "ghc-unliftio-core") - (version "0.1.1.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "unliftio-core-" version "/" - "unliftio-core-" version ".tar.gz")) - (sha256 - (base32 - "1193fplsjm1lcr05xwvkj1rsyzx74i755f6kw3ikmxbsv0bv0l3m")))) - (build-system haskell-build-system) - (arguments - `(#:cabal-revision - ("1" "16bjwcsaghqqmyi69rq65dn3ydifyfaabq3ns37apdm00mwqbcj2"))) - (home-page - "https://github.com/fpco/unliftio/tree/master/unliftio-core#readme") - (synopsis "The MonadUnliftIO typeclass for unlifting monads to IO") - (description "This Haskell package provides the core @code{MonadUnliftIO} -typeclass, instances for base and transformers, and basic utility -functions.") - (license license:expat))) - -(define-public ghc-microlens - (package - (name "ghc-microlens") - (version "0.4.9.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "microlens-" version "/" - "microlens-" version ".tar.gz")) - (sha256 - (base32 - "0j2nzf0vpx2anvsrg2w0vy2z4jn3kkcs2n6glkzblhn1j9piqh51")))) - (build-system haskell-build-system) - (home-page - "https://github.com/aelve/microlens") - (synopsis "Provides a tiny lens Haskell library with no dependencies") - (description "This Haskell package provides a lens library, just like -@code{ghc-lens}, but smaller. It provides essential lenses and -traversals (like @code{_1} and @code{_Just}), as well as ones which are simply -nice to have (like @code{each}, @code{at}, and @code{ix}), and some -combinators (like @code{failing} and @code{singular}), but everything else is -stripped. As the result, this package has no dependencies.") - (license license:bsd-3))) - -(define-public ghc-microlens-th - (package - (name "ghc-microlens-th") - (version "0.4.2.2") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "microlens-th-" version "/" - "microlens-th-" version ".tar.gz")) - (sha256 - (base32 - "02nj7lnl61yffi3c6wn341arxhld5r0vj6nzcb5zmqjhnqsv8c05")))) - (build-system haskell-build-system) - (inputs `(("ghc-microlens" ,ghc-microlens) - ("ghc-th-abstraction" ,ghc-th-abstraction))) - (home-page - "https://github.com/aelve/microlens") - (synopsis "Automatic generation of record lenses for -@code{ghc-microlens}") - (description "This Haskell package lets you automatically generate lenses -for data types; code was extracted from the lens package, and therefore -generated lenses are fully compatible with ones generated by lens (and can be -used both from lens and microlens).") - (license license:bsd-3))) - -(define-public ghc-unliftio - (package - (name "ghc-unliftio") - (version "0.2.7.0") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/unliftio/unliftio-" - version - ".tar.gz")) - (sha256 - (base32 - "0qql93lq5w7qghl454cc3s1i8v1jb4h08n82fqkw0kli4g3g9njs")))) - (build-system haskell-build-system) - (arguments `(#:tests? #f)) ; FIXME: hspec-discover not in PATH - (inputs - `(("ghc-async" ,ghc-async) - ("ghc-unliftio-core" ,ghc-unliftio-core))) - (native-inputs `(("ghc-hspec" ,ghc-hspec))) - (home-page "https://github.com/fpco/unliftio") - (synopsis "Provides MonadUnliftIO typecplass for unlifting monads to -IO (batteries included)") - (description "This Haskell package provides the core @code{MonadUnliftIO} -typeclass, a number of common instances, and a collection of common functions -working with it.") - (license license:expat))) - -(define-public ghc-persistent-sqlite - (package - (name "ghc-persistent-sqlite") - (version "2.8.2") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "persistent-sqlite-" version "/" - "persistent-sqlite-" version ".tar.gz")) - (sha256 - (base32 - "1chbmvjz46smhgnzhha3bbkhys3fys6dip1jr4v7xp1jf78zbyp6")))) - (build-system haskell-build-system) - (inputs `(("ghc-persistent" ,ghc-persistent) - ("ghc-unliftio-core" ,ghc-unliftio-core) - ("ghc-aeson" ,ghc-aeson) - ("ghc-conduit" ,ghc-conduit) - ("ghc-monad-logger" ,ghc-monad-logger) - ("ghc-microlens-th" ,ghc-microlens-th) - ("ghc-resourcet" ,ghc-resourcet) - ("ghc-old-locale" ,ghc-old-locale) - ("ghc-resource-pool" ,ghc-resource-pool) - ("ghc-unordered-containers" ,ghc-unordered-containers))) - (native-inputs `(("ghc-hspec" ,ghc-hspec) - ("ghc-persistent-template" ,ghc-persistent-template) - ("ghc-temporary" ,ghc-temporary))) - (home-page - "https://www.yesodweb.com/book/persistent") - (synopsis "Backend for the persistent library using sqlite3") - (description "This Haskell package includes a thin sqlite3 wrapper based -on the direct-sqlite package, as well as the entire C library, so there are no -system dependencies.") - (license license:expat))) - -(define-public ghc-email-validate - (package - (name "ghc-email-validate") - (version "2.3.2.6") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/" - "email-validate/email-validate-" - version - ".tar.gz")) - (sha256 - (base32 - "0chgylvc8xmhp933rdbmpg5sv4y7yg2h6kbf0ip1dzmbd5p55pa5")))) - (build-system haskell-build-system) - (inputs - `(("ghc-attoparsec" ,ghc-attoparsec) - ("ghc-hspec" ,ghc-hspec) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-doctest" ,ghc-doctest))) - (home-page - "https://github.com/Porges/email-validate-hs") - (synopsis "Email address validator for Haskell") - (description - "This Haskell package provides a validator that can validate an email -address string against RFC 5322.") - (license license:bsd-3))) - -(define-public ghc-bytes - (package - (name "ghc-bytes") - (version "0.15.5") - (source - (origin - (method url-fetch) - (uri - (string-append "https://hackage.haskell.org/package/bytes-" - version "/bytes-" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "063il2vrn0p88r9gzndh4ijs0mxj37khkc9ym9bqdsv7ngk3b683")))) - (build-system haskell-build-system) - (inputs `(("ghc-cereal" ,ghc-cereal) - ("cabal-doctest" ,cabal-doctest) - ("ghc-doctest" ,ghc-doctest) - ("ghc-scientific" ,ghc-scientific) - ("ghc-transformers-compat" ,ghc-transformers-compat) - ("ghc-unordered-containers" ,ghc-unordered-containers) - ("ghc-void" ,ghc-void) - ("ghc-vector" ,ghc-vector))) - (synopsis "Serialization between @code{binary} and @code{cereal}") - (description "This package provides a simple compatibility shim that lets -you work with both @code{binary} and @code{cereal} with one chunk of -serialization code.") - (home-page "https://hackage.haskell.org/package/bytes") - (license license:bsd-3))) - -(define-public ghc-disk-free-space - (package - (name "ghc-disk-free-space") - (version "0.1.0.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "disk-free-space/disk-free-space-" - version ".tar.gz")) - (sha256 - (base32 - "07rqj8k1vh3cykq9yidpjxhgh1f7vgmjs6y1nv5kq2217ff4yypi")))) - (build-system haskell-build-system) - (home-page "https://github.com/redneb/disk-free-space") - (synopsis "Retrieve information about disk space usage") - (description "A cross-platform library for retrieving information about -disk space usage.") - (license license:bsd-3))) - -(define-public ghc-xdg-basedir - (package - (name "ghc-xdg-basedir") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/xdg-basedir/" - "xdg-basedir-" version ".tar.gz")) - (sha256 - (base32 - "0azlzaxp2dn4l1nr7shsxah2magk1szf6fx0mv75az00qsjw6qg4")))) - (build-system haskell-build-system) - (home-page "http://github.com/willdonnelly/xdg-basedir") - (synopsis "XDG Base Directory library for Haskell") - (description "This package provides a library implementing the XDG Base Directory spec.") - (license license:bsd-3))) - -(define-public ghc-errorcall-eq-instance - (package - (name "ghc-errorcall-eq-instance") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "errorcall-eq-instance/errorcall-eq-instance-" - version ".tar.gz")) - (sha256 - (base32 - "0hqw82m8bbrxy5vgdwb83bhzdx070ibqrm9rshyja7cb808ahijm")))) - (build-system haskell-build-system) - (inputs - `(("ghc-base-orphans" ,ghc-base-orphans))) - (native-inputs - `(("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-hspec" ,ghc-hspec) - ("hspec-discover" ,hspec-discover))) - (home-page "http://hackage.haskell.org/package/errorcall-eq-instance") - (synopsis "Orphan Eq instance for ErrorCall") - (description - "Prior to @code{base-4.7.0.0} there was no @code{Eq} instance for @code{ErrorCall}. -This package provides an orphan instance.") - (license license:expat))) - -(define-public ghc-missingh - (package - (name "ghc-missingh") - (version "1.4.0.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/MissingH/" - "MissingH-" version ".tar.gz")) - (sha256 - (base32 - "0wcvgrmav480w7nf4bl14yi0jq2yzanysxwzwas9hpb28vyjlgr8")))) - (build-system haskell-build-system) - ;; Tests require the unmaintained testpack package, which depends on the - ;; outdated QuickCheck version 2.7, which can no longer be built with - ;; recent versions of GHC and Haskell libraries. - (arguments '(#:tests? #f)) - (inputs - `(("ghc-network" ,ghc-network) - ("ghc-hunit" ,ghc-hunit) - ("ghc-regex-compat" ,ghc-regex-compat) - ("ghc-hslogger" ,ghc-hslogger) - ("ghc-random" ,ghc-random) - ("ghc-old-time" ,ghc-old-time) - ("ghc-old-locale" ,ghc-old-locale))) - (native-inputs - `(("ghc-errorcall-eq-instance" ,ghc-errorcall-eq-instance) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-hunit" ,ghc-hunit))) - (home-page "http://software.complete.org/missingh") - (synopsis "Large utility library") - (description - "MissingH is a library of all sorts of utility functions for Haskell -programmers. It is written in pure Haskell and thus should be extremely -portable and easy to use.") - (license license:bsd-3))) - -(define-public ghc-intervalmap - (package - (name "ghc-intervalmap") - (version "0.6.0.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/IntervalMap/" - "IntervalMap-" version ".tar.gz")) - (sha256 - (base32 - "06hin9wf1by8aqa7820fsi2339bh82184frkwz3jsb9sqa0hszcg")))) - (build-system haskell-build-system) - (native-inputs - `(("ghc-quickcheck" ,ghc-quickcheck))) - (home-page "http://www.chr-breitkopf.de/comp/IntervalMap") - (synopsis "Containers for intervals, with efficient search") - (description - "This package provides ordered containers of intervals, with efficient -search for all keys containing a point or overlapping an interval. See the -example code on the home page for a quick introduction.") - (license license:bsd-3))) - -(define-public ghc-operational - (package - (name "ghc-operational") - (version "0.2.3.5") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/operational/" - "operational-" version ".tar.gz")) - (sha256 - (base32 - "1x2abg2q9d26h1vzj40r6k7k3gqgappbs4g9d853vvg77837km4i")))) - (build-system haskell-build-system) - (inputs - `(("ghc-random" ,ghc-random))) - (home-page "http://wiki.haskell.org/Operational") - (synopsis "Implementation of difficult monads made easy with operational semantics") - (description - "This library makes it easy to implement monads with tricky control -flow. This is useful for: writing web applications in a sequential style, -programming games with a uniform interface for human and AI players and easy -replay capababilities, implementing fast parser monads, designing monadic -DSLs, etc.") - (license license:bsd-3))) - -(define-public ghc-gtk2hs-buildtools - (package - (name "ghc-gtk2hs-buildtools") - (version "0.13.4.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "gtk2hs-buildtools/gtk2hs-buildtools-" - version ".tar.gz")) - (sha256 - (base32 - "0yg6xmylgpylmnh5g33qwwn5x9bqckdvvv4czqzd9vrr12lnnghg")))) - (build-system haskell-build-system) - (inputs - `(("ghc-random" ,ghc-random) - ("ghc-hashtables" ,ghc-hashtables))) - (native-inputs - `(("ghc-alex" ,ghc-alex) - ("ghc-happy" ,ghc-happy))) - (home-page "http://projects.haskell.org/gtk2hs/") - (synopsis "Tools to build the Gtk2Hs suite of user interface libraries") - (description - "This package provides a set of helper programs necessary to build the -Gtk2Hs suite of libraries. These tools include a modified c2hs binding tool -that is used to generate FFI declarations, a tool to build a type hierarchy -that mirrors the C type hierarchy of GObjects found in glib, and a generator -for signal declarations that are used to call back from C to Haskell. These -tools are not needed to actually run Gtk2Hs programs.") - (license license:gpl2))) - -(define-public ghc-chart - (package - (name "ghc-chart") - (version "1.9") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/Chart/" - "Chart-" version ".tar.gz")) - (sha256 - (base32 - "1f5azj17y8xsb3gjhf7gg1gnnlq12rxkmfjmgcly314d7vghs05z")))) - (build-system haskell-build-system) - (inputs - `(("ghc-old-locale" ,ghc-old-locale) - ("ghc-lens" ,ghc-lens) - ("ghc-colour" ,ghc-colour) - ("ghc-data-default-class" ,ghc-data-default-class) - ("ghc-operational" ,ghc-operational) - ("ghc-vector" ,ghc-vector))) - (home-page "https://github.com/timbod7/haskell-chart/wiki") - (synopsis "Library for generating 2D charts and plots") - (description - "This package provides a library for generating 2D charts and plots, with -backends provided by the @code{Cairo} and @code{Diagrams} libraries.") - (license license:bsd-3))) - -(define-public ghc-wcwidth - (package - (name "ghc-wcwidth") - (version "0.0.2") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/wcwidth/wcwidth-" - version ".tar.gz")) - (sha256 - (base32 - "1n1fq7v64b59ajf5g50iqj9sa34wm7s2j3viay0kxpmvlcv8gipz")))) - (build-system haskell-build-system) - (inputs - `(("ghc-setlocale" ,ghc-setlocale) - ("ghc-utf8-string" ,ghc-utf8-string) - ("ghc-attoparsec" ,ghc-attoparsec))) - (home-page "https://github.com/solidsnack/wcwidth/") - (synopsis "Haskell bindings to wcwidth") - (description "This package provides Haskell bindings to your system's -native wcwidth and a command line tool to examine the widths assigned by it. -The command line tool can compile a width table to Haskell code that assigns -widths to the Char type.") - (license license:bsd-3))) - -(define-public ghc-wcwidth-bootstrap - (package - (inherit ghc-wcwidth) - (name "ghc-wcwidth-bootstrap") - (inputs - `(("ghc-setlocale" ,ghc-setlocale) - ("ghc-utf8-string" ,ghc-utf8-string) - ("ghc-attoparsec" ,ghc-attoparsec-bootstrap))) - (properties '(hidden? #t)))) - -(define-public ghc-rio - (package - (name "ghc-rio") - (version "0.1.5.0") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/rio/rio-" - version ".tar.gz")) - (sha256 - (base32 - "064h8a4hp53a479d3ak0vmqbx8hi0cpg7zn4wp23rjy26dka8p7g")))) - (build-system haskell-build-system) - (inputs - `(("ghc-exceptions" ,ghc-exceptions) - ("ghc-hashable" ,ghc-hashable) - ("ghc-microlens" ,ghc-microlens) - ("ghc-primitive" ,ghc-primitive) - ("ghc-typed-process" ,ghc-typed-process) - ("ghc-unliftio" ,ghc-unliftio) - ("ghc-unordered-containers" ,ghc-unordered-containers) - ("ghc-vector" ,ghc-vector))) - (native-inputs - `(("ghc-hspec" ,ghc-hspec) - ("hspec-discover" ,hspec-discover))) - (home-page "https://github.com/commercialhaskell/rio#readme") - (synopsis "A standard library for Haskell") - (description "This package works as a prelude replacement for Haskell, -providing more functionality and types out of the box than the standard -prelude (such as common data types like @code{ByteString} and -@code{Text}), as well as removing common ``gotchas'', like partial -functions and lazy I/O. The guiding principle here is: -@itemize -@item If something is safe to use in general and has no expected naming -conflicts, expose it. -@item If something should not always be used, or has naming conflicts, -expose it from another module in the hierarchy. -@end itemize") - (license license:expat))) - -(define-public ghc-cairo - (package - (name "ghc-cairo") - (version "0.13.5.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/cairo/" - "cairo-" version ".tar.gz")) - (sha256 - (base32 - "1wxylv4d8120ri0vgar168ikqa9m6533ipdwi38qlmxmw20ws2j2")))) - (build-system haskell-build-system) - (arguments - `(#:modules ((guix build haskell-build-system) - (guix build utils) - (ice-9 match) - (srfi srfi-26)) - #:phases - (modify-phases %standard-phases - ;; FIXME: This is a copy of the standard configure phase with a tiny - ;; difference: this package needs the -package-db flag to be passed - ;; to "runhaskell" in addition to the "configure" action, because it - ;; depends on gtk2hs-buildtools, which provide setup hooks. Without - ;; this option the Setup.hs file cannot be evaluated. The - ;; haskell-build-system should be changed to pass "-package-db" to - ;; "runhaskell" in any case. - (replace 'configure - (lambda* (#:key outputs inputs tests? (configure-flags '()) - #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (name-version (strip-store-file-name out)) - (input-dirs (match inputs - (((_ . dir) ...) - dir) - (_ '()))) - (ghc-path (getenv "GHC_PACKAGE_PATH")) - (params (append `(,(string-append "--prefix=" out)) - `(,(string-append "--libdir=" out "/lib")) - `(,(string-append "--bindir=" out "/bin")) - `(,(string-append - "--docdir=" out - "/share/doc/" name-version)) - '("--libsubdir=$compiler/$pkg-$version") - '("--package-db=../package.conf.d") - '("--global") - `(,@(map - (cut string-append "--extra-include-dirs=" <>) - (search-path-as-list '("include") input-dirs))) - `(,@(map - (cut string-append "--extra-lib-dirs=" <>) - (search-path-as-list '("lib") input-dirs))) - (if tests? - '("--enable-tests") - '()) - configure-flags))) - (unsetenv "GHC_PACKAGE_PATH") - (apply invoke "runhaskell" "-package-db=../package.conf.d" - "Setup.hs" "configure" params) - (setenv "GHC_PACKAGE_PATH" ghc-path) - #t)))))) - (inputs - `(("ghc-utf8-string" ,ghc-utf8-string) - ("cairo" ,cairo))) - (native-inputs - `(("ghc-gtk2hs-buildtools" ,ghc-gtk2hs-buildtools) - ("pkg-config" ,pkg-config))) - (home-page "http://projects.haskell.org/gtk2hs/") - (synopsis "Haskell bindings to the Cairo vector graphics library") - (description - "Cairo is a library to render high quality vector graphics. There exist -various backends that allows rendering to Gtk windows, PDF, PS, PNG and SVG -documents, amongst others.") - (license license:bsd-3))) - -(define-public ghc-chart-cairo - (package - (name "ghc-chart-cairo") - (version "1.9") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/Chart-cairo/" - "Chart-cairo-" version ".tar.gz")) - (sha256 - (base32 - "0iany6lfyfb1cw0pxfs5aw5k0a6x41m6ql9ad9w59biwdckbsyqr")))) - (build-system haskell-build-system) - (inputs - `(("ghc-old-locale" ,ghc-old-locale) - ("ghc-cairo" ,ghc-cairo) - ("ghc-colour" ,ghc-colour) - ("ghc-data-default-class" ,ghc-data-default-class) - ("ghc-operational" ,ghc-operational) - ("ghc-lens" ,ghc-lens) - ("ghc-chart" ,ghc-chart))) - (home-page "https://github.com/timbod7/haskell-chart/wiki") - (synopsis "Cairo backend for Charts") - (description "This package provides a Cairo vector graphics rendering -backend for the Charts library.") - (license license:bsd-3))) - -(define-public ghc-atomic-write - (package - (name "ghc-atomic-write") - (version "0.2.0.5") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/atomic-write/atomic-write-" - version - ".tar.gz")) - (sha256 - (base32 - "1iaq0hprxcv0sl1sgwcgmm87zraf738va1bciwnx2jkk3k1v9iyv")))) - (build-system haskell-build-system) - (inputs - `(("ghc-temporary" ,ghc-temporary) - ("ghc-unix-compat" ,ghc-unix-compat))) - (native-inputs - `(("ghc-temporary" ,ghc-temporary) - ("ghc-unix-compat" ,ghc-unix-compat) - ("ghc-hspec" ,ghc-hspec) - ("hspec-discover" ,hspec-discover))) - (home-page "https://github.com/stackbuilders/atomic-write") - (synopsis "Atomically write to a file") - (description - "Atomically write to a file on POSIX-compliant systems while preserving -permissions. @code{mv} is an atomic operation. This makes it simple to write -to a file atomically just by using the @code{mv} operation. However, this -will destroy the permissions on the original file. This library preserves -permissions while atomically writing to a file.") - (license license:expat))) - -(define-public ghc-cereal-conduit - (package - (name "ghc-cereal-conduit") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "cereal-conduit/cereal-conduit-" - version ".tar.gz")) - (sha256 - (base32 - "1srr7agvgfw78q5s1npjq5sgynvhjgllpihiv37ylkwqm4c4ap6r")))) - (build-system haskell-build-system) - (inputs - `(("ghc-conduit" ,ghc-conduit) - ("ghc-resourcet" ,ghc-resourcet) - ("ghc-cereal" ,ghc-cereal))) - (native-inputs - `(("ghc-hunit" ,ghc-hunit))) - (home-page "https://github.com/snoyberg/conduit") - (synopsis "Turn Data.Serialize Gets and Puts into Sources, Sinks, and Conduits") - (description - "This package turn @code{Data.Serialize} @code{Gets} and @code{Puts} into -@code{Sources}, @code{Sinks}, and @code{Conduits}.") - (license license:bsd-3))) - -(define-public ghc-lzma - (package - (name "ghc-lzma") - (version "0.0.0.3") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/lzma/" - "lzma-" version ".tar.gz")) - (sha256 - (base32 - "0i416gqi8j55nd1pqbkxvf3f6hn6fjys6gq98lkkxphva71j30xg")))) - (build-system haskell-build-system) - (arguments - '(#:tests? #f ; requires older versions of QuickCheck and tasty. - #:cabal-revision - ("3" "1sify6gnsalyp6dakfzi0mdy5jcz2kcp9jsdsgkmxd40nfzgd44m"))) - (native-inputs - `(("ghc-hunit" ,ghc-hunit) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-hunit" ,ghc-tasty-hunit) - ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) - (home-page "https://github.com/hvr/lzma") - (synopsis "LZMA/XZ compression and decompression") - (description - "This package provides a pure interface for compressing and -decompressing LZMA streams of data represented as lazy @code{ByteString}s. A -monadic incremental interface is provided as well.") - (license license:bsd-3))) - -(define-public ghc-stm-conduit - (package - (name "ghc-stm-conduit") - (version "4.0.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/stm-conduit/" - "stm-conduit-" version ".tar.gz")) - (sha256 - (base32 - "0paapljn7nqfzrx889y0n8sszci38mdiaxkgr0bb00ph9246rr7z")))) - (build-system haskell-build-system) - (inputs - `(("ghc-stm-chans" ,ghc-stm-chans) - ("ghc-cereal" ,ghc-cereal) - ("ghc-cereal-conduit" ,ghc-cereal-conduit) - ("ghc-conduit" ,ghc-conduit) - ("ghc-conduit-extra" ,ghc-conduit-extra) - ("ghc-exceptions" ,ghc-exceptions) - ("ghc-resourcet" ,ghc-resourcet) - ("ghc-async" ,ghc-async) - ("ghc-monad-loops" ,ghc-monad-loops) - ("ghc-unliftio" ,ghc-unliftio))) - (native-inputs - `(("ghc-doctest" ,ghc-doctest) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-hunit" ,ghc-hunit) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) - ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) - (home-page "https://github.com/cgaebel/stm-conduit") - (synopsis "Introduces conduits to channels and promotes using conduits concurrently") - (description - "This package provides two simple conduit wrappers around STM channels: a -source and a sink.") - (license license:bsd-3))) - -(define-public ghc-bindings-dsl - (package - (name "ghc-bindings-dsl") - (version "1.0.25") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/bindings-DSL/" - "bindings-DSL-" version ".tar.gz")) - (sha256 - (base32 - "0kqrd78nspl3lk4a0fqn47d8dirjg3b24dkvkigcrlb81hw35pk3")))) - (build-system haskell-build-system) - (home-page "https://github.com/jwiegley/bindings-dsl/wiki") - (synopsis "FFI domain specific language, on top of hsc2hs") - (description - "This is a set of macros to be used when writing Haskell FFI. They were -designed to be able to fully describe C interfaces, so that @code{hsc2hs} can -extract from them all Haskell code needed to mimic such interfaces. All -Haskell names used are automatically derived from C names, structures are -mapped to Haskell instances of @code{Storable}, and there are also macros you -can use with C code to help write bindings to inline functions or macro -functions.") - (license license:bsd-3))) - -(define-public ghc-lzma-conduit - (package - (name "ghc-lzma-conduit") - (version "1.2.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/lzma-conduit/" - "lzma-conduit-" version ".tar.gz")) - (sha256 - (base32 - "0hm72da7xk9l3zxjh274yg444vf405djxqbkf3q3p2qhicmxlmg9")))) - (build-system haskell-build-system) - (inputs - `(("ghc-conduit" ,ghc-conduit) - ("ghc-lzma" ,ghc-lzma) - ("ghc-resourcet" ,ghc-resourcet))) - (native-inputs - `(("ghc-base-compat" ,ghc-base-compat) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) - ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) - ("ghc-hunit" ,ghc-hunit) - ("ghc-quickcheck" ,ghc-quickcheck))) - (home-page "https://github.com/alphaHeavy/lzma-conduit") - (synopsis "Conduit interface for lzma/xz compression") - (description - "This package provides a @code{Conduit} interface for the LZMA -compression algorithm used in the @code{.xz} file format.") - (license license:bsd-3))) - -(define-public ghc-bzlib-conduit - (package - (name "ghc-bzlib-conduit") - (version "0.3.0.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/bzlib-conduit/" - "bzlib-conduit-" version ".tar.gz")) - (sha256 - (base32 - "0fd2hnr782s7qgipazg2yxwia9qqhkvm9bcm90773c3zkxa13n23")))) - (build-system haskell-build-system) - (inputs - `(("ghc-bindings-dsl" ,ghc-bindings-dsl) - ("ghc-conduit" ,ghc-conduit) - ("ghc-data-default-class" ,ghc-data-default-class) - ("ghc-resourcet" ,ghc-resourcet))) - (native-inputs - `(("ghc-hspec" ,ghc-hspec) - ("ghc-random" ,ghc-random))) - (home-page "https://github.com/snoyberg/bzlib-conduit") - (synopsis "Streaming compression/decompression via conduits") - (description - "This package provides Haskell bindings to bzlib and Conduit support for -streaming compression and decompression.") - (license license:bsd-3))) - -(define-public ghc-pqueue - (package - (name "ghc-pqueue") - (version "1.4.1.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "pqueue/pqueue-" version ".tar.gz")) - (sha256 - (base32 - "1zvwm1zcqqq5n101s1brjhgbay8rf9fviq6gxbplf40i63m57p1x")))) - (build-system haskell-build-system) - (native-inputs - `(("ghc-quickcheck" ,ghc-quickcheck))) - (home-page "https://hackage.haskell.org/package/pqueue") - (synopsis "Reliable, persistent, fast priority queues") - (description - "This package provides a fast, reliable priority queue implementation -based on a binomial heap.") - (license license:bsd-3))) - -(define-public ghc-conduit-algorithms - (package - (name "ghc-conduit-algorithms") - (version "0.0.8.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "conduit-algorithms/conduit-algorithms-" - version ".tar.gz")) - (sha256 - (base32 - "07gx2q3d1bbfw14q41rmqg0i4m018pci10lswc0k1ij6lw7sb9fd")))) - (build-system haskell-build-system) - (inputs - `(("ghc-async" ,ghc-async) - ("ghc-bzlib-conduit" ,ghc-bzlib-conduit) - ("ghc-conduit" ,ghc-conduit) - ("ghc-conduit-combinators" ,ghc-conduit-combinators) - ("ghc-conduit-extra" ,ghc-conduit-extra) - ("ghc-exceptions" ,ghc-exceptions) - ("ghc-lzma-conduit" ,ghc-lzma-conduit) - ("ghc-monad-control" ,ghc-monad-control) - ("ghc-pqueue" ,ghc-pqueue) - ("ghc-resourcet" ,ghc-resourcet) - ("ghc-stm-conduit" ,ghc-stm-conduit) - ("ghc-streaming-commons" ,ghc-streaming-commons) - ("ghc-unliftio-core" ,ghc-unliftio-core) - ("ghc-vector" ,ghc-vector))) - (native-inputs - `(("ghc-hunit" ,ghc-hunit) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) - ("ghc-test-framework-th" ,ghc-test-framework-th))) - (home-page "https://github.com/luispedro/conduit-algorithms#readme") - (synopsis "Conduit-based algorithms") - (description - "This package provides algorithms on @code{Conduits}, including higher -level asynchronous processing and some other utilities.") - (license license:expat))) - -(define-public ghc-interpolate - (package - (name "ghc-interpolate") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/interpolate/" - "interpolate-" version ".tar.gz")) - (sha256 - (base32 - "1gkaj98yz363v38fv78sqby236mp8yqwqcilx7kr2b9z0w3204bf")))) - (build-system haskell-build-system) - (inputs - `(("ghc-haskell-src-meta" ,ghc-haskell-src-meta))) - (native-inputs - `(("ghc-base-compat" ,ghc-base-compat) - ("ghc-hspec" ,ghc-hspec) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-quickcheck-instances" ,ghc-quickcheck-instances) - ("hspec-discover" ,hspec-discover))) - (home-page "https://github.com/sol/interpolate") - (synopsis "String interpolation library") - (description "This package provides a string interpolation library for -Haskell.") - (license license:expat))) - -(define-public ghc-hpack - (package - (name "ghc-hpack") - (version "0.28.2") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/hpack/" - "hpack-" version ".tar.gz")) - (sha256 - (base32 - "18w0h76jdp3mk9vin8da9iz3cwhcxmw787xy8wlh8bxcpcr16q5r")))) - (build-system haskell-build-system) - (inputs - `(("ghc-aeson" ,ghc-aeson) - ("ghc-bifunctors" ,ghc-bifunctors) - ("ghc-cryptonite" ,ghc-cryptonite) - ("ghc-glob" ,ghc-glob) - ("ghc-http-client" ,ghc-http-client) - ("ghc-http-client-tls" ,ghc-http-client-tls) - ("ghc-http-types" ,ghc-http-types) - ("ghc-scientific" ,ghc-scientific) - ("ghc-unordered-containers" ,ghc-unordered-containers) - ("ghc-vector" ,ghc-vector) - ("ghc-yaml" ,ghc-yaml))) - (native-inputs - `(("ghc-hspec" ,ghc-hspec) - ("ghc-hunit" ,ghc-hunit) - ("ghc-interpolate" ,ghc-interpolate) - ("ghc-mockery" ,ghc-mockery) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-temporary" ,ghc-temporary) - ("hspec-discover" ,hspec-discover))) - (home-page "https://github.com/sol/hpack") - (synopsis "Tools for an alternative Haskell package format") - (description - "Hpack is a format for Haskell packages. It is an alternative to the -Cabal package format and follows different design principles. Hpack packages -are described in a file named @code{package.yaml}. Both @code{cabal2nix} and -@code{stack} support @code{package.yaml} natively. For other build tools the -@code{hpack} executable can be used to generate a @code{.cabal} file from -@code{package.yaml}.") - (license license:expat))) - -(define-public ghc-raw-strings-qq - (package - (name "ghc-raw-strings-qq") - (version "1.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "raw-strings-qq/raw-strings-qq-" - version ".tar.gz")) - (sha256 - (base32 - "1lxy1wy3awf52968iy5y9r5z4qgnn2sxkdrh7js3m9gadb11w09f")))) - (build-system haskell-build-system) - (native-inputs `(("ghc-hunit" ,ghc-hunit))) - (home-page "https://github.com/23Skidoo/raw-strings-qq") - (synopsis "Raw string literals for Haskell") - (description - "This package provides a quasiquoter for raw string literals, i.e. string -literals that don't recognise the standard escape sequences. Basically, they -make your code more readable by freeing you from the responsibility to escape -backslashes. They are useful when working with regular expressions, -DOS/Windows paths and markup languages (such as XML).") - (license license:bsd-3))) - -(define-public ghc-inline-c - (package - (name "ghc-inline-c") - (version "0.6.1.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/inline-c/" - "inline-c-" version ".tar.gz")) - (sha256 - (base32 - "0vbfrsqsi7mdziqsnj68bsqlwbqxxhvrmy9rv6w8z18d1m8w3n6h")))) - (build-system haskell-build-system) - (inputs - `(("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint) - ("ghc-cryptohash" ,ghc-cryptohash) - ("ghc-hashable" ,ghc-hashable) - ("ghc-parsers" ,ghc-parsers) - ("ghc-unordered-containers" ,ghc-unordered-containers) - ("ghc-vector" ,ghc-vector))) - (native-inputs - `(("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-hspec" ,ghc-hspec) - ("ghc-raw-strings-qq" ,ghc-raw-strings-qq) - ("ghc-regex-posix" ,ghc-regex-posix))) - (home-page "http://hackage.haskell.org/package/inline-c") - (synopsis "Write Haskell source files including C code inline") - (description - "inline-c lets you seamlessly call C libraries and embed high-performance -inline C code in Haskell modules. Haskell and C can be freely intermixed in -the same source file, and data passed to and from code in either language with -minimal overhead. No FFI required.") - (license license:expat))) - -(define-public ghc-weigh - (package - (name "ghc-weigh") - (version "0.0.12") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/weigh/" - "weigh-" version ".tar.gz")) - (sha256 - (base32 - "0zw2a997gxgdzqmd7j730kxgynzmjvvlkw84dajmfzf1v9pbij7x")))) - (build-system haskell-build-system) - (inputs - `(("ghc-split" ,ghc-split) - ("ghc-temporary" ,ghc-temporary))) - (home-page "https://github.com/fpco/weigh#readme") - (synopsis "Measure allocations of a Haskell functions/values") - (description "This package provides tools to measure the memory usage of a -Haskell value or function.") - (license license:bsd-3))) - -(define-public ghc-linear - (package - (name "ghc-linear") - (version "1.20.8") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/linear/" - "linear-" version ".tar.gz")) - (sha256 - (base32 - "046vkvxlb0s286qr55s0c6db0rlwbm1cmlmwhrrkqbkzhfcipgay")))) - (build-system haskell-build-system) - (inputs - `(("ghc-adjunctions" ,ghc-adjunctions) - ("ghc-base-orphans" ,ghc-base-orphans) - ("ghc-bytes" ,ghc-bytes) - ("ghc-cereal" ,ghc-cereal) - ("ghc-distributive" ,ghc-distributive) - ("ghc-hashable" ,ghc-hashable) - ("ghc-lens" ,ghc-lens) - ("ghc-reflection" ,ghc-reflection) - ("ghc-semigroups" ,ghc-semigroups) - ("ghc-semigroupoids" ,ghc-semigroupoids) - ("ghc-tagged" ,ghc-tagged) - ("ghc-transformers-compat" ,ghc-transformers-compat) - ("ghc-unordered-containers" ,ghc-unordered-containers) - ("ghc-vector" ,ghc-vector) - ("ghc-void" ,ghc-void))) - (native-inputs - `(("cabal-doctest" ,cabal-doctest) - ("ghc-doctest" ,ghc-doctest) - ("ghc-simple-reflect" ,ghc-simple-reflect) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) - ("ghc-hunit" ,ghc-hunit))) - (home-page "http://github.com/ekmett/linear/") - (synopsis "Linear algebra library for Haskell") - (description - "This package provides types and combinators for linear algebra on free -vector spaces.") - (license license:bsd-3))) - -(define-public ghc-safe-exceptions - (package - (name "ghc-safe-exceptions") - (version "0.1.7.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "safe-exceptions/safe-exceptions-" - version ".tar.gz")) - (sha256 - (base32 - "0sd0zfsm9pcll5bzzj523rbn45adjrnavdkz52hgmdjjgdcdrk8q")))) - (build-system haskell-build-system) - (arguments - '(#:cabal-revision - ("4" "0fid41gishzsyb47wzxhd5falandfirqcp760hcja81qjpfmqd32"))) - (inputs `(("ghc-exceptions" ,ghc-exceptions))) - (native-inputs - `(("ghc-hspec" ,ghc-hspec) - ("ghc-void" ,ghc-void) - ("hspec-discover" ,hspec-discover))) - (home-page "https://github.com/fpco/safe-exceptions") - (synopsis "Safe, consistent, and easy exception handling") - (description "Runtime exceptions - as exposed in @code{base} by the -@code{Control.Exception} module - have long been an intimidating part of the -Haskell ecosystem. This package is intended to overcome this. It provides a -safe and simple API on top of the existing exception handling machinery. The -API is equivalent to the underlying implementation in terms of power but -encourages best practices to minimize the chances of getting the exception -handling wrong.") - (license license:expat))) - -(define-public ghc-inline-c-cpp - (package - (name "ghc-inline-c-cpp") - (version "0.2.2.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/inline-c-cpp/" - "inline-c-cpp-" version ".tar.gz")) - (sha256 - (base32 - "1rk7fmpkmxw9hhwr8df29kadnf0ybnwj64ggdbnsdrpfyhnkisci")))) - (build-system haskell-build-system) - (inputs - `(("ghc-inline-c" ,ghc-inline-c) - ("ghc-safe-exceptions" ,ghc-safe-exceptions))) - (native-inputs - `(("ghc-hspec" ,ghc-hspec))) - (home-page "https://hackage.haskell.org/package/inline-c-cpp") - (synopsis "Lets you embed C++ code into Haskell") - (description - "This package provides utilities to inline C++ code into Haskell using -@code{inline-c}.") - (license license:expat))) - -(define-public ghc-bytestring-lexing - (package - (name "ghc-bytestring-lexing") - (version "0.5.0.2") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "bytestring-lexing/bytestring-lexing-" - version ".tar.gz")) - (sha256 - (base32 - "0wrzniawhgpphc6yx1v972gyqxdbv0pizaz9bafahrshyb9svy81")))) - (build-system haskell-build-system) - (home-page "http://code.haskell.org/~wren/") - (synopsis "Parse and produce literals from strict or lazy bytestrings") - (description - "This package provides tools to parse and produce literals efficiently -from strict or lazy bytestrings.") - (license license:bsd-2))) - -(define-public ghc-configurator - (package - (name "ghc-configurator") - (version "0.3.0.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "configurator/configurator-" - version ".tar.gz")) - (sha256 - (base32 - "1d1iq1knwiq6ia5g64rw5hqm6dakz912qj13r89737rfcxmrkfbf")))) - (build-system haskell-build-system) - (inputs - `(("ghc-attoparsec" ,ghc-attoparsec) - ("ghc-hashable" ,ghc-hashable) - ("ghc-unix-compat" ,ghc-unix-compat) - ("ghc-unordered-containers" ,ghc-unordered-containers))) - (native-inputs - `(("ghc-hunit" ,ghc-hunit) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) - (home-page "http://github.com/bos/configurator") - (synopsis "Configuration management") - (description - "This package provides a configuration management library for programs -and daemons. The features include: - -@enumerate -@item Automatic, dynamic reloading in response to modifications to - configuration files. -@item A simple, but flexible, configuration language, supporting several of - the most commonly needed types of data, along with interpolation of strings - from the configuration or the system environment (e.g. @code{$(HOME)}). -@item Subscription-based notification of changes to configuration properties. -@item An @code{import} directive allows the configuration of a complex - application to be split across several smaller files, or common configuration - data to be shared across several applications. -@end enumerate\n") - (license license:bsd-3))) - -(define-public ghc-file-embed - (package - (name "ghc-file-embed") - (version "0.0.10.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/file-embed/" - "file-embed-" version ".tar.gz")) - (sha256 - (base32 - "0lj164cnzqyd487mli91nnr7137a4h4qsasfwsnsh77sx12fpk9k")))) - (build-system haskell-build-system) - (home-page "https://github.com/snoyberg/file-embed") - (synopsis "Use Template Haskell to embed file contents directly") - (description - "This package allows you to use Template Haskell to read a file or all -the files in a directory, and turn them into @code{(path, bytestring)} pairs -embedded in your Haskell code.") - (license license:bsd-3))) - -(define-public ghc-safeio - (package - (name "ghc-safeio") - (version "0.0.5.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/safeio/" - "safeio-" version ".tar.gz")) - (sha256 - (base32 - "04g3070cbjdqj0h9l9ii6470xcbn40xfv4fr89a8yvnkdim9nyfm")))) - (build-system haskell-build-system) - (inputs - `(("ghc-conduit" ,ghc-conduit) - ("ghc-conduit-combinators" ,ghc-conduit-combinators) - ("ghc-exceptions" ,ghc-exceptions) - ("ghc-resourcet" ,ghc-resourcet))) - (native-inputs - `(("ghc-hunit" ,ghc-hunit) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) - ("ghc-test-framework-th" ,ghc-test-framework-th))) - (home-page "https://github.com/luispedro/safeio") - (synopsis "Write output to disk atomically") - (description - "This package implements utilities to perform atomic output so as to -avoid the problem of partial intermediate files.") - (license license:expat))) - -(define-public ghc-tldr - (package - (name "ghc-tldr") - (version "0.4.0.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/tldr/tldr-" - version - ".tar.gz")) - (sha256 - (base32 - "0nc581y9jjzwd8l88g48c72mla7k6q1w102akl7gl5jsk9ljamd3")))) - (build-system haskell-build-system) - (inputs - `(("ghc-cmark" ,ghc-cmark) - ("ghc-optparse-applicative" ,ghc-optparse-applicative) - ("ghc-typed-process" ,ghc-typed-process) - ("ghc-semigroups" ,ghc-semigroups))) - (native-inputs - `(("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-golden" ,ghc-tasty-golden))) - (home-page "https://github.com/psibi/tldr-hs#readme") - (synopsis "Haskell tldr client") - (description "This package provides the @command{tldr} command and a -Haskell client library allowing users to update and view @code{tldr} pages -from a shell. The @code{tldr} pages are a community effort to simplify the -man pages with practical examples.") - (license license:bsd-3))) - -(define-public ghc-c2hs - (package - (name "ghc-c2hs") - (version "0.28.6") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/c2hs/c2hs-" - version - ".tar.gz")) - (sha256 - (base32 - "1nplgxfin139x12sb656f5870rpdclrhzi8mq8pry035qld15pci")))) - (build-system haskell-build-system) - (inputs - `(("ghc-language-c" ,ghc-language-c) - ("ghc-dlist" ,ghc-dlist))) - (native-inputs - `(("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) - ("ghc-hunit" ,ghc-hunit) - ("ghc-shelly" ,ghc-shelly) - ("gcc" ,gcc))) - (arguments - `(;; XXX: Test failures are induced by a parse error in - ;; of glibc 2.28. - #:tests? #f - - #:phases - (modify-phases %standard-phases - (add-before 'check 'set-cc - ;; add a cc executable in the path, needed for some tests to pass - (lambda* (#:key inputs #:allow-other-keys) - (let ((gcc (assoc-ref inputs "gcc")) - (tmpbin (tmpnam)) - (curpath (getenv "PATH"))) - (mkdir-p tmpbin) - (symlink (which "gcc") (string-append tmpbin "/cc")) - (setenv "PATH" (string-append tmpbin ":" curpath))) - #t)) - (add-after 'check 'remove-cc - ;; clean the tmp dir made in 'set-cc - (lambda _ - (let* ((cc-path (which "cc")) - (cc-dir (dirname cc-path))) - (delete-file-recursively cc-dir) - #t)))))) - (home-page "https://github.com/haskell/c2hs") - (synopsis "Create Haskell bindings to C libraries") - (description "C->Haskell assists in the development of Haskell bindings to -C libraries. It extracts interface information from C header files and -generates Haskell code with foreign imports and marshaling. Unlike writing -foreign imports by hand (or using hsc2hs), this ensures that C functions are -imported with the correct Haskell types.") - (license license:gpl2))) - -(define-public ghc-libmpd - (package - (name "ghc-libmpd") - (version "0.9.0.9") - (source - (origin - (method url-fetch) - (uri (string-append - "mirror://hackage/package/libmpd/libmpd-" - version - ".tar.gz")) - (sha256 - (base32 - "1931m23iqb4wddpdidm4ph746zpaw41kkjzmb074j7yyfpk7x1jv")))) - (build-system haskell-build-system) - ;; Tests fail on i686. - ;; See https://github.com/vimus/libmpd-haskell/issues/112 - (arguments `(#:tests? #f)) - (inputs - `(("ghc-attoparsec" ,ghc-attoparsec) - ("ghc-old-locale" ,ghc-old-locale) - ("ghc-data-default-class" ,ghc-data-default-class) - ("ghc-network" ,ghc-network) - ("ghc-utf8-string" ,ghc-utf8-string))) - (native-inputs - `(("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-hspec" ,ghc-hspec) - ("hspec-discover" ,hspec-discover))) - (home-page "https://github.com/vimus/libmpd-haskell") - (synopsis "Haskell client library for the Music Player Daemon") - (description "This package provides a pure Haskell client library for the -Music Player Daemon.") - (license license:expat))) - -(define-public ghc-alsa-core - (package - (name "ghc-alsa-core") - (version "0.5.0.1") - (source - (origin - (method url-fetch) - (uri (string-append - "mirror://hackage/package/alsa-core/alsa-core-" - version - ".tar.gz")) - (sha256 - (base32 - "1avh4a419h9d2zsslg6j8hm87ppgsgqafz8ll037rk2yy1g4jl7b")))) - (build-system haskell-build-system) - (inputs - `(("ghc-extensible-exceptions" ,ghc-extensible-exceptions) - ("alsa-lib" ,alsa-lib))) - (native-inputs - `(("pkg-config" ,pkg-config))) - (home-page "http://www.haskell.org/haskellwiki/ALSA") - (synopsis "Binding to the ALSA Library API (Exceptions)") - (description "This package provides access to ALSA infrastructure, that is -needed by both alsa-seq and alsa-pcm.") - (license license:bsd-3))) - -(define-public ghc-base-unicode-symbols - (package - (name "ghc-base-unicode-symbols") - (version "0.2.3") - (source - (origin - (method url-fetch) - (uri (string-append - "mirror://hackage/package/base-unicode-symbols/base-unicode-symbols-" - version - ".tar.gz")) - (sha256 - (base32 - "1ia6li7qjg1zkak4gf6mnbshw45mq9bfjr0jch58ds0lscmvwyzf")))) - (build-system haskell-build-system) - (home-page "http://www.haskell.org/haskellwiki/Unicode-symbols") - (synopsis "Unicode alternatives for common functions and operators") - (description "This package defines new symbols for a number of functions, -operators and types in the base package. All symbols are documented with -their actual definition and information regarding their Unicode code point. -They should be completely interchangeable with their definitions. For -further Unicode goodness you can enable the @code{UnicodeSyntax} -@url{https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exs.html#unicode-syntax, -language extension}. This extension enables Unicode characters to be used to -stand for certain ASCII character sequences, i.e. → instead of @code{->}, -∀ instead of @code{forall} and many others.") - (license license:bsd-3))) - -(define-public ghc-genvalidity - (package - (name "ghc-genvalidity") - (version "0.5.1.0") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/genvalidity/genvalidity-" - version - ".tar.gz")) - (sha256 - (base32 - "17ykq38j9a2lzir6dqz5jgy6ndaafrpkhqhcg96c5ppg7wcxaaj0")))) - (build-system haskell-build-system) - (inputs - `(("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-validity" ,ghc-validity))) - (native-inputs - `(("ghc-hspec" ,ghc-hspec) - ("hspec-discover" ,hspec-discover) - ("ghc-hspec-core" ,ghc-hspec-core))) - (home-page - "https://github.com/NorfairKing/validity") - (synopsis - "Testing utilities for the @code{validity} library") - (description - "This package provides testing utilities that are useful in conjunction -with the @code{Validity} typeclass.") - (license license:expat))) - -(define-public ghc-genvalidity-property - (package - (name "ghc-genvalidity-property") - (version "0.2.1.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/" - "genvalidity-property/genvalidity-property-" - version - ".tar.gz")) - (sha256 - (base32 - "0cjw5i2pydidda9bnp6x37ylhxdk9g874x5sadr6sscg5kq85a1b")))) - (build-system haskell-build-system) - (inputs - `(("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-genvalidity" ,ghc-genvalidity) - ("ghc-hspec" ,ghc-hspec) - ("hspec-discover" ,hspec-discover) - ("ghc-validity" ,ghc-validity))) - (native-inputs `(("ghc-doctest" ,ghc-doctest))) - (home-page - "https://github.com/NorfairKing/validity") - (synopsis - "Standard properties for functions on @code{Validity} types") - (description - "This package supplements the @code{Validity} typeclass with standard -properties for functions operating on them.") - (license license:expat))) - -(define-public ghc-validity - (package - (name "ghc-validity") - (version "0.7.0.0") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/validity/validity-" - version - ".tar.gz")) - (sha256 - (base32 - "0xribw98amafihw87ddajk6vlirp7w9b26lrnjgq7jfm4710j95f")))) - (build-system haskell-build-system) - (native-inputs `(("ghc-hspec" ,ghc-hspec) - ("hspec-discover" ,hspec-discover))) - (home-page - "https://github.com/NorfairKing/validity") - (synopsis "Validity typeclass") - (description - "Values of custom types usually have invariants imposed upon them. This -package provides the @code{Validity} type class, which makes these invariants -explicit by providing a function to check whether the invariants hold.") - (license license:expat))) - -(define-public ghc-path - (package - (name "ghc-path") - (version "0.6.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/path/path-" - version - ".tar.gz")) - (sha256 - (base32 - "0nayla4k1gb821k8y5b9miflv1bi8f0czf9rqr044nrr2dddi2sb")))) - (build-system haskell-build-system) - (arguments - ;; TODO: There are some Windows-related tests and modules that need to be - ;; danced around. - `(#:tests? #f - #:cabal-revision - ("1" "05b1zwx2a893h4h5wvgpc5g5pyx71hfmx409rqisd8s1bq1hn463"))) - (inputs - `(("ghc-aeson" ,ghc-aeson) - ("ghc-exceptions" ,ghc-exceptions) - ("ghc-hashable" ,ghc-hashable))) - (native-inputs - `(("ghc-hspec" ,ghc-hspec) - ("ghc-quickcheck" ,ghc-quickcheck) - ("ghc-genvalidity" ,ghc-genvalidity) - ("ghc-genvalidity-property" ,ghc-genvalidity-property) - ("ghc-hspec" ,ghc-hspec) - ("ghc-validity" ,ghc-validity))) - (home-page - "http://hackage.haskell.org/package/path") - (synopsis "Support for well-typed paths") - (description "This package introduces a type for paths upholding useful -invariants.") - (license license:bsd-3))) - -(define-public ghc-path-io - (package - (name "ghc-path-io") - (version "1.3.3") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/path-io/path-io-" - version - ".tar.gz")) - (sha256 - (base32 - "1g9m3qliqjk1img894wsb89diym5zrq51qkkrwhz4sbm9a8hbv1a")))) - (build-system haskell-build-system) - (inputs - `(("ghc-dlist" ,ghc-dlist) - ("ghc-exceptions" ,ghc-exceptions) - ("ghc-path" ,ghc-path) - ("ghc-transformers-base" ,ghc-transformers-base) - ("ghc-unix-compat" ,ghc-unix-compat) - ("ghc-temporary" ,ghc-temporary))) - (native-inputs - `(("ghc-hspec" ,ghc-hspec))) - (arguments - `(#:cabal-revision - ("3" "1h9hsibbflkxpjl2fqamqiv3x3gasf51apnmklrs9l9x8r32hzcc"))) - (home-page - "https://github.com/mrkkrp/path-io") - (synopsis "Functions for manipulating well-typed paths") - (description "This package provides an interface to the @code{directory} -package for users of @code{path}. It also implements some missing stuff like -recursive scanning and copying of directories, working with temporary -files/directories, and more.") - (license license:bsd-3))) - -(define-public ghc-hindent - (package - (name "ghc-hindent") - (version "5.3.0") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/hindent/hindent-" - version - ".tar.gz")) - (sha256 - (base32 - "0wkfik7mvqskk23kyh7ybgnlh3j9j1ym7d3ncahsbli9w654b7xg")))) - (build-system haskell-build-system) - (arguments - `(#:modules ((guix build haskell-build-system) - (guix build utils) - (guix build emacs-utils)) - #:imported-modules (,@%haskell-build-system-modules - (guix build emacs-utils)) - #:phases - (modify-phases %standard-phases - (add-after 'install 'emacs-install - (lambda* (#:key inputs outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (elisp-file "elisp/hindent.el") - (dest (string-append out "/share/emacs/site-lisp" - "/guix.d/hindent-" ,version)) - (emacs (string-append (assoc-ref inputs "emacs") - "/bin/emacs"))) - (make-file-writable elisp-file) - (emacs-substitute-variables elisp-file - ("hindent-process-path" - (string-append out "/bin/hindent"))) - (install-file elisp-file dest) - (emacs-generate-autoloads "hindent" dest))))))) - (inputs - `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts) - ("ghc-monad-loops" ,ghc-monad-loops) - ("ghc-utf8-string" ,ghc-utf8-string) - ("ghc-exceptions" ,ghc-exceptions) - ("ghc-yaml" ,ghc-yaml) - ("ghc-unix-compat" ,ghc-unix-compat) - ("ghc-path" ,ghc-path) - ("ghc-path-io" ,ghc-path-io) - ("ghc-optparse-applicative" ,ghc-optparse-applicative))) - (native-inputs - `(("ghc-hspec" ,ghc-hspec) - ("ghc-diff" ,ghc-diff) - ("emacs" ,emacs-minimal))) - (home-page - "https://github.com/commercialhaskell/hindent") - (synopsis "Extensible Haskell pretty printer") - (description - "This package provides automatic formatting for Haskell files. Both a -library and an executable.") - (license license:bsd-3))) - -(define-public ghc-descriptive - (package - (name "ghc-descriptive") - (version "0.9.5") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/descriptive/descriptive-" - version - ".tar.gz")) - (sha256 - (base32 - "0y5693zm2kvqjilybbmrcv1g6n6x2p6zjgi0k0axjw1sdhh1g237")))) - (build-system haskell-build-system) - (inputs - `(("ghc-aeson" ,ghc-aeson) - ("ghc-bifunctors" ,ghc-bifunctors) - ("ghc-scientific" ,ghc-scientific) - ("ghc-vector" ,ghc-vector))) - (native-inputs - `(("ghc-hunit" ,ghc-hunit) - ("ghc-hspec" ,ghc-hspec))) - (home-page - "https://github.com/chrisdone/descriptive") - (synopsis - "Self-describing consumers/parsers: forms, cmd-line args, JSON, etc.") - (description - "This package provides datatypes and functions for creating consumers -and parsers with useful semantics.") - (license license:bsd-3))) - -(define-public ghc-exactprint - (package - (name "ghc-exactprint") - (version "0.5.6.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/" - "ghc-exactprint/ghc-exactprint-" version ".tar.gz")) - (sha256 - (base32 - "141k6qiys0m0r4br7ikp4i546vs3xcil9cwglzcdfcbnb5nj1z87")))) - (build-system haskell-build-system) - (inputs - `(("ghc-paths" ,ghc-paths) - ("ghc-syb" ,ghc-syb) - ("ghc-free" ,ghc-free))) - (native-inputs - `(("ghc-hunit" ,ghc-hunit) - ("ghc-diff" ,ghc-diff) - ("ghc-silently" ,ghc-silently) - ("ghc-filemanip" ,ghc-filemanip))) - (home-page - "http://hackage.haskell.org/package/ghc-exactprint") - (synopsis "ExactPrint for GHC") - (description - "Using the API Annotations available from GHC 7.10.2, this library -provides a means to round-trip any code that can be compiled by GHC, currently -excluding @file{.lhs} files.") - (license license:bsd-3))) - -(define-public ghc-microlens-mtl - (package - (name "ghc-microlens-mtl") - (version "0.1.11.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/microlens-mtl/microlens-mtl-" - version - ".tar.gz")) - (sha256 - (base32 - "0l6z1gkzwcpv89bxf5vgfrjb6gq2pj7sjjc53nvi5b9alx34zryk")))) - (build-system haskell-build-system) - (inputs - `(("ghc-microlens" ,ghc-microlens) - ("ghc-transformers-compat" ,ghc-transformers-compat))) - (home-page "https://github.com/monadfix/microlens") - (synopsis - "@code{microlens} support for Reader/Writer/State from mtl") - (description - "This package contains functions (like @code{view} or @code{+=}) which -work on @code{MonadReader}, @code{MonadWriter}, and @code{MonadState} from the -mtl package. This package is a part of the -@uref{http://hackage.haskell.org/package/microlens, microlens} family; see the -readme @uref{https://github.com/aelve/microlens#readme, on Github}.") - (license license:bsd-3))) - -(define-public ghc-microlens-ghc - (package - (name "ghc-microlens-ghc") - (version "0.4.9.1") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/microlens-ghc/microlens-ghc-" - version - ".tar.gz")) - (sha256 - (base32 - "03iwgg8zww9irv59l70c8yy7vzxir1zf66y12210xk91k5hq6jrj")))) - (build-system haskell-build-system) - (inputs `(("ghc-microlens" ,ghc-microlens))) - (home-page "https://github.com/monadfix/microlens") - (synopsis "Use @code{microlens} with GHC libraries like @code{array}") - (description "This library provides everything that @code{microlens} -provides plus instances to make @code{each}, @code{at}, and @code{ix} -usable with arrays, @code{ByteString}, and containers. This package is -a part of the @uref{http://hackage.haskell.org/package/microlens, -microlens} family; see the readme -@uref{https://github.com/aelve/microlens#readme, on Github}.") - (license license:bsd-3))) - -(define-public ghc-microlens-platform - (package - (name "ghc-microlens-platform") - (version "0.3.10") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/" - "microlens-platform/microlens-platform-" version ".tar.gz")) - (sha256 - (base32 - "1d4nhmgf9jq0ixc7qhwm7aaw3xdr0nalw58d0ydsydgf02cyazwv")))) - (build-system haskell-build-system) - (inputs - `(("ghc-hashable" ,ghc-hashable) - ("ghc-microlens" ,ghc-microlens) - ("ghc-microlens-ghc" ,ghc-microlens-ghc) - ("ghc-microlens-mtl" ,ghc-microlens-mtl) - ("ghc-microlens-th" ,ghc-microlens-th) - ("ghc-unordered-containers" ,ghc-unordered-containers) - ("ghc-vector" ,ghc-vector))) - (home-page "https://github.com/monadfix/microlens") - (synopsis "Feature-complete microlens") - (description - "This package exports a module which is the recommended starting point -for using @uref{http://hackage.haskell.org/package/microlens, microlens} if -you aren't trying to keep your dependencies minimal. By importing -@code{Lens.Micro.Platform} you get all functions and instances from -@uref{http://hackage.haskell.org/package/microlens, microlens}, -@uref{http://hackage.haskell.org/package/microlens-th, microlens-th}, -@uref{http://hackage.haskell.org/package/microlens-mtl, microlens-mtl}, -@uref{http://hackage.haskell.org/package/microlens-ghc, microlens-ghc}, as -well as instances for @code{Vector}, @code{Text}, and @code{HashMap}. The -minor and major versions of @code{microlens-platform} are incremented whenever -the minor and major versions of any other @code{microlens} package are -incremented, so you can depend on the exact version of -@code{microlens-platform} without specifying the version of @code{microlens} -you need. This package is a part of the -@uref{http://hackage.haskell.org/package/microlens, microlens} family; see the -readme @uref{https://github.com/aelve/microlens#readme, on Github}.") - (license license:bsd-3))) - -(define-public ghc-hasktags - (package - (name "ghc-hasktags") - (version "0.71.2") - (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/hasktags/hasktags-" - version - ".tar.gz")) - (sha256 - (base32 - "1s2k9qrgy1jily96img2pmn7g35mwnnfiw6si3aw32jfhg5zsh1c")))) - (build-system haskell-build-system) - (inputs - `(("ghc-system-filepath" ,ghc-system-filepath) - ("ghc-optparse-applicative" ,ghc-optparse-applicative))) - (native-inputs - `(("ghc-json" ,ghc-json) - ("ghc-utf8-string" ,ghc-utf8-string) - ("ghc-microlens-platform" ,ghc-microlens-platform) - ("ghc-hunit" ,ghc-hunit))) - (home-page "http://github.com/MarcWeber/hasktags") - (synopsis "Make @code{Ctags} and @code{Etags} files for Haskell programs") - (description - "This package provides a means of generating tag files for Emacs and -Vim.") - (license license:bsd-3))) - -(define-public ghc-stylish-haskell - (package - (name "ghc-stylish-haskell") - (version "0.9.2.1") - (source - (origin - (method url-fetch) - (uri (string-append - "mirror://hackage/package/stylish-haskell/stylish-haskell-" - version - ".tar.gz")) - (sha256 - (base32 - "1ls11fdx6snvfx8yykpidz142zzxwi5bazl49hgfqlwx50rqcp7w")))) - (build-system haskell-build-system) - (inputs - `(("ghc-aeson" ,ghc-aeson) - ("ghc-file-embed" ,ghc-file-embed) - ("ghc-haskell-src-exts" ,ghc-haskell-src-exts) - ("ghc-semigroups" ,ghc-semigroups) - ("ghc-syb" ,ghc-syb) - ("ghc-yaml" ,ghc-yaml) - ("ghc-strict" ,ghc-strict) - ("ghc-optparse-applicative" - ,ghc-optparse-applicative))) - (native-inputs - `(("ghc-hunit" ,ghc-hunit) - ("ghc-test-framework" ,ghc-test-framework) - ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) - (home-page "https://github.com/jaspervdj/stylish-haskell") - (synopsis "Haskell code prettifier") - (description "Stylish-haskell is a Haskell code prettifier. The goal is -not to format all of the code in a file, to avoid \"getting in the way\". -However, this tool can e.g. clean up import statements and help doing various -tasks that get tedious very quickly. It can -@itemize -@item -Align and sort @code{import} statements -@item -Group and wrap @code{{-# LANGUAGE #-}} pragmas, remove (some) redundant -pragmas -@item -Remove trailing whitespaces -@item -Align branches in @code{case} and fields in records -@item -Convert line endings (customisable) -@item -Replace tabs by four spaces (turned off by default) -@item -Replace some ASCII sequences by their Unicode equivalent (turned off by -default) -@end itemize") - (license license:bsd-3))) - -(define-public ghc-validation - (package - (name "ghc-validation") - (version "1") - (source - (origin - (method url-fetch) - (uri (string-append - "mirror://hackage/package/validation/validation-" - version - ".tar.gz")) - (sha256 - (base32 - "08drmdvyzg2frbb26icy1mlz52xv0l6gi3v8gb7xp0vrcci5libh")))) - (build-system haskell-build-system) - (arguments - `(#:cabal-revision - ("1" "1x1g4nannz81j1h64l1m3ancc96zc57d1bjhj1wk7bwn1xxbi5h3"))) - (inputs - `(("ghc-semigroups" ,ghc-semigroups) - ("ghc-semigroupoids" ,ghc-semigroupoids) - ("ghc-bifunctors" ,ghc-bifunctors) - ("ghc-lens" ,ghc-lens))) - (native-inputs - `(("ghc-hedgehog" ,ghc-hedgehog) - ("ghc-hunit" ,ghc-hunit))) - (home-page "https://github.com/qfpl/validation") - (synopsis - "Data-type like Either but with an accumulating Applicative") - (description - "A data-type like Either but with differing properties and type-class -instances. - -Library support is provided for this different representation, including -@code{lens}-related functions for converting between each and abstracting over -their similarities. - -The @code{Validation} data type is isomorphic to @code{Either}, but has an -instance of @code{Applicative} that accumulates on the error side. That is to -say, if two (or more) errors are encountered, they are appended using a -@{Semigroup} operation. - -As a consequence of this @code{Applicative} instance, there is no -corresponding @code{Bind} or @code{Monad} instance. @code{Validation} is an -example of, \"An applicative functor that is not a monad.\"") - (license license:bsd-3))) - -(define-public ghc-concurrent-output - (package - (name "ghc-concurrent-output") - (version "1.10.9") - (source - (origin - (method url-fetch) - (uri (string-append - "mirror://hackage/package/concurrent-output/concurrent-output-" - version - ".tar.gz")) - (sha256 - (base32 - "0mwf155w89nbbkjln7hhbn8k3f8p0ylcvgrg31cm7ijpx4499i4c")))) - (build-system haskell-build-system) - (inputs - `(("ghc-async" ,ghc-async) - ("ghc-exceptions" ,ghc-exceptions) - ("ghc-ansi-terminal" ,ghc-ansi-terminal) - ("ghc-terminal-size" ,ghc-terminal-size))) - (home-page - "https://hackage.haskell.org/package/concurrent-output") - (synopsis - "Ungarble output from several threads or commands") - (description - "Lets multiple threads and external processes concurrently output to the -console, without it getting all garbled up. - -Built on top of that is a way of defining multiple output regions, which are -automatically laid out on the screen and can be individually updated by -concurrent threads. Can be used for progress displays etc.") - (license license:bsd-2))) - -(define-public ghc-wl-pprint-annotated - (package - (name "ghc-wl-pprint-annotated") - (version "0.1.0.1") - (source - (origin - (method url-fetch) - (uri (string-append - "mirror://hackage/package/wl-pprint-annotated/wl-pprint-annotated-" - version - ".tar.gz")) - (sha256 - (base32 - "1br7qyf27iza213inwhf9bm2k6in0zbmfw6w4clqlc9f9cj2nrkb")))) - (build-system haskell-build-system) - (native-inputs - `(("ghc-tasty" ,ghc-tasty) - ("ghc-tasty-hunit" ,ghc-tasty-hunit))) - (home-page - "https://github.com/minad/wl-pprint-annotated#readme") - (synopsis - "Wadler/Leijen pretty printer with annotation support") - (description - "Annotations are useful for coloring. This is a limited version of -@code{wl-pprint-extras} without support for point effects and without the free -monad. Like in @code{annotated-wl-pprint}, only annotations are supported. -Compared to @code{annotated-wl-pprint} this library provides a slightly -modernized interface.") - (license license:bsd-3))) ;;; haskell.scm ends here diff --git a/gnu/packages/idris.scm b/gnu/packages/idris.scm index 4290d8c21f..894a19f0aa 100644 --- a/gnu/packages/idris.scm +++ b/gnu/packages/idris.scm @@ -21,9 +21,9 @@ (define-module (gnu packages idris) #:use-module (gnu packages) - #:use-module (gnu packages haskell) #:use-module (gnu packages haskell-check) #:use-module (gnu packages haskell-web) + #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages libffi) #:use-module (gnu packages multiprecision) #:use-module (gnu packages ncurses) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index cdd0caec4a..4e2f6b7937 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -53,7 +53,7 @@ #:use-module (gnu packages gtk) #:use-module (gnu packages gettext) #:use-module (gnu packages glib) - #:use-module (gnu packages haskell) + #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages icu4c) #:use-module (gnu packages image) #:use-module (gnu packages java) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index a69c460e87..c7d633455e 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -48,9 +48,9 @@ #:use-module (guix build-system meson) #:use-module (guix build-system perl) #:use-module (guix build-system python) - #:use-module (gnu packages haskell) #:use-module (gnu packages haskell-check) #:use-module (gnu packages haskell-web) + #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages autotools) #:use-module (gnu packages bison) #:use-module (gnu packages gawk) -- cgit v1.2.3 From 1874cdc1e1a9ae982612051d2004fca644ba6b13 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Thu, 29 Aug 2019 23:17:40 -0400 Subject: gnu: Move Haskell SDL 2 packages to haskell-xyz.scm. * gnu/packages/haskell-apps.scm (ghc-sdl2, ghc-sdl2-image, ghc-sdl2-mixer): Move variables from here... * gnu/packages/haskell-xyz.scm: ...to here. Co-authored-by: Timothy Sample --- gnu/packages/haskell-apps.scm | 89 ------------------------------------------- gnu/packages/haskell-xyz.scm | 88 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 88 insertions(+), 89 deletions(-) diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm index df8417ce3f..28502eb87f 100644 --- a/gnu/packages/haskell-apps.scm +++ b/gnu/packages/haskell-apps.scm @@ -44,7 +44,6 @@ #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages rsync) - #:use-module (gnu packages sdl) #:use-module (gnu packages version-control)) (define-public cabal-install @@ -378,94 +377,6 @@ used to keep a folder in sync between computers.") (license (list license:gpl3+ license:agpl3+)))) -(define-public ghc-sdl2 - (package - (name "ghc-sdl2") - (version "2.4.1.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "sdl2/sdl2-" version ".tar.gz")) - (sha256 - (base32 - "0p4b12fmxps0sbnkqdfy0qw19s355yrkw7fgw6xz53wzq706k991")))) - (build-system haskell-build-system) - (arguments '(#:tests? #f)) ; tests require graphical environment - (inputs - `(("ghc-exceptions" ,ghc-exceptions) - ("ghc-linear" ,ghc-linear) - ("ghc-statevar" ,ghc-statevar) - ("ghc-vector" ,ghc-vector) - ("sdl2" ,sdl2))) - (native-inputs - `(("ghc-weigh" ,ghc-weigh) - ("pkg-config" ,pkg-config))) - (home-page "http://hackage.haskell.org/package/sdl2") - (synopsis "High- and low-level bindings to the SDL library") - (description - "This package contains bindings to the SDL 2 library, in both high- and -low-level forms. The @code{SDL} namespace contains high-level bindings, where -enumerations are split into sum types, and we perform automatic -error-checking. The @code{SDL.Raw} namespace contains an almost 1-1 -translation of the C API into Haskell FFI calls. As such, this does not -contain sum types nor error checking. Thus this namespace is suitable for -building your own abstraction over SDL, but is not recommended for day-to-day -programming.") - (license license:bsd-3))) - -(define-public ghc-sdl2-mixer - (package - (name "ghc-sdl2-mixer") - (version "1.1.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/sdl2-mixer/" - "sdl2-mixer-" version ".tar.gz")) - (sha256 - (base32 - "1k8avyccq5l9z7bwxigim312yaancxl1sr3q6a96bcm7pnhiak0g")))) - (build-system haskell-build-system) - (inputs - `(("ghc-data-default-class" ,ghc-data-default-class) - ("ghc-lifted-base" ,ghc-lifted-base) - ("ghc-monad-control" ,ghc-monad-control) - ("ghc-sdl2" ,ghc-sdl2) - ("ghc-vector" ,ghc-vector) - ("sdl2-mixer" ,sdl2-mixer))) - (native-inputs - `(("pkg-config" ,pkg-config))) - (home-page "http://hackage.haskell.org/package/sdl2-mixer") - (synopsis "Bindings to SDL2 mixer") - (description "This package provides Haskell bindings to -@code{SDL2_mixer}.") - (license license:bsd-3))) - -(define-public ghc-sdl2-image - (package - (name "ghc-sdl2-image") - (version "2.0.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/sdl2-image/" - "sdl2-image-" version ".tar.gz")) - (sha256 - (base32 - "1pr6dkg73cy9z0w54lrkj9c5bhxj56nl92lxikjy8kz6nyr455rr")))) - (build-system haskell-build-system) - (inputs - `(("ghc-sdl2" ,ghc-sdl2) - ("sdl2-image" ,sdl2-image))) - (native-inputs - `(("pkg-config" ,pkg-config))) - (home-page "http://hackage.haskell.org/package/sdl2-image") - (synopsis "Bindings to SDL2_image") - (description "This package provides Haskell bindings to -@code{SDL2_image}.") - (license license:expat))) - (define-public hlint (package (name "hlint") diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 46e5153906..91d009dc22 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -8578,6 +8578,94 @@ by MPEG playback software, emulators, and many popular games, including the award winning Linux port of \"Civilization: Call To Power.\"") (license license:bsd-3))) +(define-public ghc-sdl2 + (package + (name "ghc-sdl2") + (version "2.4.1.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "sdl2/sdl2-" version ".tar.gz")) + (sha256 + (base32 + "0p4b12fmxps0sbnkqdfy0qw19s355yrkw7fgw6xz53wzq706k991")))) + (build-system haskell-build-system) + (arguments '(#:tests? #f)) ; tests require graphical environment + (inputs + `(("ghc-exceptions" ,ghc-exceptions) + ("ghc-linear" ,ghc-linear) + ("ghc-statevar" ,ghc-statevar) + ("ghc-vector" ,ghc-vector) + ("sdl2" ,sdl2))) + (native-inputs + `(("ghc-weigh" ,ghc-weigh) + ("pkg-config" ,pkg-config))) + (home-page "http://hackage.haskell.org/package/sdl2") + (synopsis "High- and low-level bindings to the SDL library") + (description + "This package contains bindings to the SDL 2 library, in both high- and +low-level forms. The @code{SDL} namespace contains high-level bindings, where +enumerations are split into sum types, and we perform automatic +error-checking. The @code{SDL.Raw} namespace contains an almost 1-1 +translation of the C API into Haskell FFI calls. As such, this does not +contain sum types nor error checking. Thus this namespace is suitable for +building your own abstraction over SDL, but is not recommended for day-to-day +programming.") + (license license:bsd-3))) + +(define-public ghc-sdl2-image + (package + (name "ghc-sdl2-image") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/sdl2-image/" + "sdl2-image-" version ".tar.gz")) + (sha256 + (base32 + "1pr6dkg73cy9z0w54lrkj9c5bhxj56nl92lxikjy8kz6nyr455rr")))) + (build-system haskell-build-system) + (inputs + `(("ghc-sdl2" ,ghc-sdl2) + ("sdl2-image" ,sdl2-image))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "http://hackage.haskell.org/package/sdl2-image") + (synopsis "Bindings to SDL2_image") + (description "This package provides Haskell bindings to +@code{SDL2_image}.") + (license license:expat))) + +(define-public ghc-sdl2-mixer + (package + (name "ghc-sdl2-mixer") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/sdl2-mixer/" + "sdl2-mixer-" version ".tar.gz")) + (sha256 + (base32 + "1k8avyccq5l9z7bwxigim312yaancxl1sr3q6a96bcm7pnhiak0g")))) + (build-system haskell-build-system) + (inputs + `(("ghc-data-default-class" ,ghc-data-default-class) + ("ghc-lifted-base" ,ghc-lifted-base) + ("ghc-monad-control" ,ghc-monad-control) + ("ghc-sdl2" ,ghc-sdl2) + ("ghc-vector" ,ghc-vector) + ("sdl2-mixer" ,sdl2-mixer))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "http://hackage.haskell.org/package/sdl2-mixer") + (synopsis "Bindings to SDL2 mixer") + (description "This package provides Haskell bindings to +@code{SDL2_mixer}.") + (license license:bsd-3))) + (define-public ghc-sdl-image (package (name "ghc-sdl-image") -- cgit v1.2.3 From 4cb5d2515ca0061f1e2b0b422d54df705ddc4956 Mon Sep 17 00:00:00 2001 From: Steve Sprang Date: Wed, 21 Aug 2019 17:17:02 -0700 Subject: gnu: Add speedcrunch. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/maths.scm (speedcrunch): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/maths.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 4a07b8e687..c9db51b561 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -31,6 +31,7 @@ ;;; Copyright © 2018 Julien Lepiller ;;; Copyright © 2018 Amin Bandali ;;; Copyright © 2019 Nicolas Goaziou +;;; Copyright © 2019 Steve Sprang ;;; ;;; This file is part of GNU Guix. ;;; @@ -5136,3 +5137,36 @@ algorithm, a parametric integer programming solver, and primitives for termination analysis via the automatic synthesis of linear ranking functions.") (license license:gpl3+))) + +(define-public speedcrunch + (package + (name "speedcrunch") + (version "0.12.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://bitbucket.org/heldercorreia/speedcrunch.git") + (commit (string-append "release-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0vh7cd1915bjqzkdp3sk25ngy8cq624mkh8c53c5bnzk357kb0fk")))) + (build-system cmake-build-system) + (inputs `(("qtbase" ,qtbase))) + (native-inputs `(("qttools" ,qttools))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'chdir-to-src + (lambda _ (chdir "src") #t))))) + (synopsis "High-precision scientific calculator") + (description + "SpeedCrunch is a high-precision scientific calculator. It features a +syntax-highlighted scrollable display and is designed to be fully used via +keyboard. Some distinctive features are auto-completion of functions and +variables, a formula book, and quick insertion of constants from various +fields of knowledge.") + (home-page "http://speedcrunch.org/") + (license license:gpl2+))) + -- cgit v1.2.3 From 2c0040ae302fa8549161754283b404b9dd22a619 Mon Sep 17 00:00:00 2001 From: Steve Sprang Date: Fri, 23 Aug 2019 15:23:00 -0700 Subject: gnu: Add lib3mf. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/engineering.scm (lib3mf): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/engineering.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index a1f222bed4..54bf5a7b69 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2018, 2019 Arun Isaac ;;; Copyright © 2019 Tim Stahel ;;; Copyright © 2019 Jovany Leandro G.C +;;; Copyright © 2019 Steve Sprang ;;; ;;; This file is part of GNU Guix. ;;; @@ -2109,3 +2110,38 @@ while keeping the user experience at mind. Cutter is created by reverse engineers for reverse engineers.") (license (list license:cc-by-sa3.0 ;the "Iconic" icon set license:gpl3+)))) ;everything else + +(define-public lib3mf + (package + (name "lib3mf") + (version "1.8.1") + (source + (origin + (method git-fetch) + (uri (git-reference (url "https://github.com/3MFConsortium/lib3mf.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "11wpk6n9ga2p57h1dcrp37w77mii0r7r6mlrgmykf7rvii1rzgqd")))) + (build-system cmake-build-system) + (native-inputs + `(("googletest-source" ,(package-source googletest)))) + (inputs + `(("libuuid" ,util-linux))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'unpack-googletest + (lambda* (#:key inputs #:allow-other-keys) + (copy-recursively (assoc-ref inputs "googletest-source") + "UnitTests/googletest") + #t))))) + (synopsis "Implementation of the 3D Manufacturing Format (3MF) file standard") + (description + "Lib3MF is a C++ implementation of the 3D Manufacturing Format (3MF) file +standard. It offers a way to integrate 3MF reading and writing capabilities, as +well as conversion and validation tools for input and output data. The +specification can be downloaded at @url{http://3mf.io/specification/}.") + (home-page "https://3mf.io/") + (license license:bsd-2))) -- cgit v1.2.3 From 900e0fbcc4626bdf57e455836f86367e3ec36d69 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 31 Aug 2019 21:03:16 +0200 Subject: lint: Gracefully handle errors from 'connect' & co. * guix/lint.scm (call-with-networking-fail-safe): Add case for 'system-error' as typically raised by 'connect' & co. --- guix/lint.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/guix/lint.scm b/guix/lint.scm index 2bf5097403..254f4e2830 100644 --- a/guix/lint.scm +++ b/guix/lint.scm @@ -950,6 +950,16 @@ display a message including MESSAGE and return ERROR-VALUE." message (tls-certificate-error-string args)) error-value) + ((and ('system-error _ ...) args) + (let ((errno (system-error-errno args))) + (if (member errno (list ECONNRESET ECONNABORTED ECONNREFUSED)) + (let ((details (call-with-output-string + (lambda (port) + (print-exception port #f (car args) + (cdr args)))))) + (warning (G_ "~a: ~a~%") message details) + error-value) + (apply throw args)))) (args (apply throw args)))))) -- cgit v1.2.3 From b212fef4b076faccdd36335c728fd71321778716 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 31 Aug 2019 21:23:29 +0200 Subject: nls: Update 'es' translation of the manual. --- po/doc/guix-manual.es.po | 1505 +++++++++++++++++++++++++--------------------- 1 file changed, 820 insertions(+), 685 deletions(-) diff --git a/po/doc/guix-manual.es.po b/po/doc/guix-manual.es.po index 4b6439ba5f..fd7efc4d0d 100644 --- a/po/doc/guix-manual.es.po +++ b/po/doc/guix-manual.es.po @@ -50,7 +50,7 @@ msgstr "" "Project-Id-Version: guix-manual 1.0.1-pre1\n" "Report-Msgid-Bugs-To: ludo@gnu.org\n" "POT-Creation-Date: 2019-05-10 20:53+0200\n" -"PO-Revision-Date: 2019-05-11 16:59+0200\n" +"PO-Revision-Date: 2019-08-03 20:59+0200\n" "Last-Translator: Miguel Ángel Arruga Vivas \n" "Language-Team: Spanish \n" "Language: es\n" @@ -1630,9 +1630,9 @@ msgstr "Este documento describe GNU Guix versión @value{VERSION}, una herramien #: doc/guix.texi:123 msgid "This manual is also available in Simplified Chinese (@pxref{Top,,, guix.zh_CN, GNU Guix参考手册}), French (@pxref{Top,,, guix.fr, Manuel de référence de GNU Guix}), German (@pxref{Top,,, guix.de, Referenzhandbuch zu GNU Guix}), and Spanish (@pxref{Top,,, guix.es, Manual de referencia de GNU Guix}). If you would like to translate it in your native language, consider joining the @uref{https://translationproject.org/domain/guix-manual.html, Translation Project}." msgstr "" -"Este manual también está disponible en chino simplificado (@pxref{Top,,, guix.zh_CN, GNU Guix参考手册}), francés (@pxref{Top,,, guix.fr, Manuel de référence de GNU Guix}), alemán (@pxref{Top,,, guix.de, Referenzhandbuch zu GNU Guix}) e inglés (@pxref{Top,,, guix, GNU Guix Reference Manual}). Si desea traducirlo en su lengua nativa, considere unirse al @uref{https://translationproject.org/domain/guix-manual.html, Translation Project}.\n" +"Este manual también está disponible en chino simplificado (@pxref{Top,,, guix.zh_CN, GNU Guix参考手册}), francés (@pxref{Top,,, guix.fr, Manuel de référence de GNU Guix}), alemán (@pxref{Top,,, guix.de, Referenzhandbuch zu GNU Guix}), ruso (@pxref{Top,,, guix.ru, Руководство GNU Guix}) y la versión original en inglés (@pxref{Top,,, guix, GNU Guix Reference Manual}). Si desea traducirlo en su lengua nativa, considere unirse al @uref{https://translationproject.org/domain/guix-manual.html, Translation Project}.\n" "\n" -"Actualmente este manual no está completamente traducido y varias secciones de servicios prácticamente se encuentran al completo en inglés. En versiones posteriores se irá completando la traducción, a la vez que adaptando la evolución de su fuente original en inglés. Si encuentra fallos en esta traducción le rogamos que nos lo comunique mediante @uref{https://translationproject.org/team/es.html, la información de contacto del equipo de traducción}." +"Este manual se está traducido prácticamente al completo al castellano, pero es posible que se ocasionalmente algún fragmento sin traducir aquí y allá, debido a modificaciones al texto original en inglés del manual. Si encuentra fallos en esta traducción, o simplemente quiere colaborar en su evolución y mejora, le rogamos que nos contacte a través de @uref{https://translationproject.org/team/es.html, la información de contacto del equipo de traducción}." #. type: chapter #: doc/guix.texi:139 doc/guix.texi:149 doc/guix.texi:312 doc/guix.texi:313 @@ -2261,7 +2261,7 @@ msgstr "Sobre la confianza en binarios" #. type: menuentry #: doc/guix.texi:206 doc/guix.texi:3123 msgid "How can you trust that binary blob?" -msgstr "¿Cómo puede usted confiar en esa masa informe de datos binarios?" +msgstr "¿Cómo puede confiar en esa masa amorfa de datos binarios?" #. type: node #: doc/guix.texi:211 doc/guix.texi:4348 doc/guix.texi:4350 @@ -13783,7 +13783,7 @@ msgstr "(ungexp-native @var{obj} @var{salida})" #. type: table #: doc/guix.texi:7170 msgid "Same as @code{ungexp}, but produces a reference to the @emph{native} build of @var{obj} when used in a cross compilation context." -msgstr "Lo mismo que @code{ungexp}, pero produce una referencia a la construcción @emph{nativa} de @var{obj} cuando se usa en un contexto de compilación cruzada." +msgstr "Igual que @code{ungexp}, pero produce una referencia a la construcción @emph{nativa} de @var{obj} cuando se usa en un contexto de compilación cruzada." #. type: item #: doc/guix.texi:7171 @@ -20721,7 +20721,7 @@ msgstr "El nombre de la localización. @xref{Locale Names,,, libc, The GNU C Li #. type: table #: doc/guix.texi:11320 msgid "The name of the source for that locale. This is typically the @code{@var{language}_@var{territory}} part of the locale name." -msgstr "El nombre de la fuente para dicha localización. Esto típicamente es la parte @code{@var{idioma}_@var{territorio}} del nombre de localización." +msgstr "El nombre de la fuente para dicha localización. Habitualmente es la parte @code{@var{idioma}_@var{territorio}} del nombre de localización." #. type: item #: doc/guix.texi:11321 @@ -31521,10 +31521,9 @@ msgstr "{parámetro de @code{dovecot-configuration}} string ssl-key-password" #. type: deftypevr #: doc/guix.texi:16391 -#, fuzzy msgid "If key file is password protected, give the password here. Alternatively give it when starting dovecot with -p parameter. Since this file is often world-readable, you may want to place this setting instead to a different. Defaults to @samp{\"\"}." msgstr "" -"\n" +"Si el fichero de la clave está protegido por contraseña, proporcionela aquí. De manera alternativa, puede proporcionarla al iniciar dovecot con el parámetro -p. Como este fichero es habitualmente legible por todo el mundo, puede que desee desplazar esta opción a un fichero diferente.\n" "Su valor predeterminado es @samp{\"\"}." #. type: deftypevr @@ -31535,10 +31534,9 @@ msgstr "{parámetro de @code{dovecot-configuration}} string ssl-ca" #. type: deftypevr #: doc/guix.texi:16399 -#, fuzzy msgid "PEM encoded trusted certificate authority. Set this only if you intend to use @samp{ssl-verify-client-cert? #t}. The file should contain the CA certificate(s) followed by the matching CRL(s). (e.g.@: @samp{ssl-ca @@dominio.\n" "Su valor predeterminado es @samp{\"\"}." #. type: deftypevr @@ -31655,12 +31650,12 @@ msgstr "" msgid "{@code{dovecot-configuration} parameter} boolean quota-full-tempfail?" msgstr "{parámetro de @code{dovecot-configuration}} boolean quota-full-tempfail?" +# FUZZY #. type: deftypevr #: doc/guix.texi:16450 -#, fuzzy msgid "If user is over quota, return with temporary failure instead of bouncing the mail. Defaults to @samp{#f}." msgstr "" -"\n" +"Si la usuaria supera la cuota, devuelve un fallo temporal en vez de rechazar el correo.\n" "Su valor predeterminado es @samp{#f}." #. type: deftypevr @@ -31671,10 +31666,9 @@ msgstr "{parámetro de @code{dovecot-configuration}} nombre-fichero sendmail-pat #. type: deftypevr #: doc/guix.texi:16455 -#, fuzzy msgid "Binary to use for sending mails. Defaults to @samp{\"/usr/sbin/sendmail\"}." msgstr "" -"\n" +"Binario usado para el envío de correos.\n" "Su valor predeterminado es @samp{\"/usr/sbin/sendmail\"}." #. type: deftypevr @@ -31683,12 +31677,12 @@ msgstr "" msgid "{@code{dovecot-configuration} parameter} string submission-host" msgstr "{parámetro de @code{dovecot-configuration}} string submission-host" +# FUZZY #. type: deftypevr #: doc/guix.texi:16461 -#, fuzzy msgid "If non-empty, send mails via this SMTP host[:port] instead of sendmail. Defaults to @samp{\"\"}." msgstr "" -"\n" +"Si no está vacío, envía el correo a través de esta máquina[:puerto] SMTP en vez de usar sendmail\n" "Su valor predeterminado es @samp{\"\"}." #. type: deftypevr @@ -31699,10 +31693,9 @@ msgstr "{parámetro de @code{dovecot-configuration}} string rejection-subject" #. type: deftypevr #: doc/guix.texi:16467 -#, fuzzy msgid "Subject: header to use for rejection mails. You can use the same variables as for @samp{rejection-reason} below. Defaults to @samp{\"Rejected: %s\"}." msgstr "" -"\n" +"Asunto: cabecera usada en el rechazo de correos. Puede usar las mismas variables que las indicadas en @samp{rejection-reason} a continuación.\n" "Su valor predeterminado es @samp{\"Rejected: %s\"}." #. type: deftypevr @@ -31759,12 +31752,12 @@ msgstr "El valor predeterminado es @samp{\"Your message to <%t> was automaticall msgid "{@code{dovecot-configuration} parameter} string recipient-delimiter" msgstr "{parámetro de @code{dovecot-configuration}} string recipient-delimiter" +# FUZZY #. type: deftypevr #: doc/guix.texi:16490 -#, fuzzy msgid "Delimiter character between local-part and detail in email address. Defaults to @samp{\"+\"}." msgstr "" -"\n" +"Caracter delimitador entre la parte local y el detalle en las direcciones de correo.\n" "Su valor predeterminado es @samp{\"+\"}." #. type: deftypevr @@ -31773,12 +31766,12 @@ msgstr "" msgid "{@code{dovecot-configuration} parameter} string lda-original-recipient-header" msgstr "{parámetro de @code{dovecot-configuration}} string lda-original-recipient-header" +# FUZZY #. type: deftypevr #: doc/guix.texi:16498 -#, fuzzy msgid "Header where the original recipient address (SMTP's RCPT TO: address) is taken from if not available elsewhere. With dovecot-lda -a parameter overrides this. A commonly used header for this is X-Original-To. Defaults to @samp{\"\"}." msgstr "" -"\n" +"Cabecera de donde se obtiene la dirección receptora original (la dirección de SMTP RCPT TO:) en caso de no estar disponible en otro lugar. El parámetro -a de dovecot-lda reemplaza este valor. Una cabecera usada para esto de manera común es X-Original-To.\n" "Su valor predeterminado es @samp{\"\"}." #. type: deftypevr @@ -31789,10 +31782,9 @@ msgstr "{parámetro de @code{dovecot-configuration}} boolean lda-mailbox-autocre #. type: deftypevr #: doc/guix.texi:16504 -#, fuzzy msgid "Should saving a mail to a nonexistent mailbox automatically create it?. Defaults to @samp{#f}." msgstr "" -"\n" +"¿Se debe crear una bandeja de correo no existente de manera automática al almacenar un correo?\n" "Su valor predeterminado es @samp{#f}." #. type: deftypevr @@ -31814,12 +31806,12 @@ msgstr "" msgid "{@code{dovecot-configuration} parameter} non-negative-integer imap-max-line-length" msgstr "{parámetro de @code{dovecot-configuration}} entero-no-negativo imap-max-line-length" +# FUZZY #. type: deftypevr #: doc/guix.texi:16518 -#, fuzzy msgid "Maximum IMAP command line length. Some clients generate very long command lines with huge mailboxes, so you may need to raise this if you get \"Too long argument\" or \"IMAP command line too large\" errors often. Defaults to @samp{64000}." msgstr "" -"\n" +"Longitud máxima de la línea de órdenes de IMAP. Algunos clientes generan líneas de órdenes muy largas con bandejas de correo enormes, por lo que debe incrementarlo si recibe los errores «Too long argument» (parámetro demasiado largo) o \"IMAP command line too large\" (línea de órdenes de IMAP demasiado grande).\n" "Su valor predeterminado es @samp{64000}." #. type: deftypevr @@ -31869,12 +31861,12 @@ msgstr "" msgid "{@code{dovecot-configuration} parameter} string imap-capability" msgstr "{parámetro de @code{dovecot-configuration}} string imap-capability" +# FUZZY #. type: deftypevr #: doc/guix.texi:16536 -#, fuzzy msgid "Override the IMAP CAPABILITY response. If the value begins with '+', add the given capabilities on top of the defaults (e.g.@: +XFOO XBAR). Defaults to @samp{\"\"}." msgstr "" -"\n" +"Fuerza el valor de la respuesta de IMAP CAPABILITY. Si el valor comienza con '+', añade las capacidades especificadas sobre las predeterminadas (por ejemplo, +XFOO XBAR).\n" "Su valor predeterminado es @samp{\"\"}." #. type: deftypevr @@ -31883,12 +31875,12 @@ msgstr "" msgid "{@code{dovecot-configuration} parameter} string imap-idle-notify-interval" msgstr "{parámetro de @code{dovecot-configuration}} string imap-idle-notify-interval" +# FUZZY #. type: deftypevr #: doc/guix.texi:16542 -#, fuzzy msgid "How long to wait between \"OK Still here\" notifications when client is IDLEing. Defaults to @samp{\"2 mins\"}." msgstr "" -"\n" +"Durante cuanto tiempo se espera entre notificaciones \"OK Still here\" cuando el cliente se encuentre en estado IDLE.\n" "Su valor predeterminado es @samp{\"2 mins\"}." #. type: deftypevr @@ -32439,12 +32431,12 @@ msgstr "" msgid "{@code{prosody-configuration} parameter} file-name certificates" msgstr "{parámetro de @code{prosody-configuration}} nombre-fichero certificates" +# FUZZY #. type: deftypevr #: doc/guix.texi:16841 -#, fuzzy msgid "Every virtual host and component needs a certificate so that clients and servers can securely verify its identity. Prosody will automatically load certificates/keys from the directory specified here. Defaults to @samp{\"/etc/prosody/certs\"}." msgstr "" -"\n" +"Cada máquina virtual y componente necesitan un certificado de manera que los clientes y servidores puedan verificar su identidad de manera segura. Prosody cargará de manera automática certificados/claves del directorio especificado aquí.\n" "Su valor predeterminado es @samp{\"/etc/prosody/certs\"}." #. type: deftypevr @@ -32467,12 +32459,12 @@ msgstr "" msgid "{@code{prosody-configuration} parameter} boolean use-libevent?" msgstr "{parámetro de @code{prosody-configuration}} boolean use-libevent?" +# FUZZY #. type: deftypevr #: doc/guix.texi:16855 -#, fuzzy msgid "Enable use of libevent for better performance under high load. See @url{https://prosody.im/doc/libevent}. Defaults to @samp{#f}." msgstr "" -"\n" +"Activa el uso de libevent para mejorar el rendimiento bajo altas cargas de trabajo. Véase @url{https://prosody.im/doc/libevent}.\n" "Su valor predeterminado es @samp{#f}." #. type: deftypevr @@ -32495,12 +32487,12 @@ msgstr "" msgid "{@code{prosody-configuration} parameter} string-list modules-disabled" msgstr "{parámetro de @code{prosody-configuration}} lista-string modules-disabled" +# FUZZY #. type: deftypevr #: doc/guix.texi:16869 -#, fuzzy msgid "@samp{\"offline\"}, @samp{\"c2s\"} and @samp{\"s2s\"} are auto-loaded, but should you want to disable them then add them to this list. Defaults to @samp{()}." msgstr "" -"\n" +"@samp{\"offline\"}, @samp{\"c2s\"} y @samp{\"s2s\"} se cargan de manera automática, pero puede desactivarlos si los añade a esta lista.\n" "Su valor predeterminado es @samp{()}." #. type: deftypevr @@ -32511,10 +32503,9 @@ msgstr "{parámetro de @code{prosody-configuration}} file-object groups-file" #. type: deftypevr #: doc/guix.texi:16876 -#, fuzzy msgid "Path to a text file where the shared groups are defined. If this path is empty then @samp{mod_groups} does nothing. See @url{https://prosody.im/doc/modules/mod_groups}. Defaults to @samp{\"/var/lib/prosody/sharedgroups.txt\"}." msgstr "" -"\n" +"Ruta a un fichero de texto donde se definan los grupos compartidos. Si esta ruta está vacía, @samp{mod_groups} no hace nada. Véase @url{https://prosody.im/doc/modules/mod_groups}.\n" "Su valor predeterminado es @samp{\"/var/lib/prosody/sharedgroups.txt\"}." #. type: deftypevr @@ -32525,10 +32516,9 @@ msgstr "{parámetro de @code{prosody-configuration}} boolean allow-registration? #. type: deftypevr #: doc/guix.texi:16882 -#, fuzzy msgid "Disable account creation by default, for security. See @url{https://prosody.im/doc/creating_accounts}. Defaults to @samp{#f}." msgstr "" -"\n" +"Desactiva la creación de cuentas de manera predeterminada, por seguridad. Véase @url{https://prosody.im/doc/creating_accounts}.\n" "Su valor predeterminado es @samp{#f}." #. type: deftypevr @@ -32589,12 +32579,12 @@ msgstr "Ruta al fichero de su certificado." msgid "{@code{ssl-configuration} parameter} file-object capath" msgstr "{parámetro de @code{ssl-configuration}} file-object capath" +# FUZZY #. type: deftypevr #: doc/guix.texi:16908 -#, fuzzy msgid "Path to directory containing root certificates that you wish Prosody to trust when verifying the certificates of remote servers. Defaults to @samp{\"/etc/ssl/certs\"}." msgstr "" -"\n" +"Ruta al directorio que contiene los certificados raíz en los que desea que Prosody confíe al verificar los certificados de servidores remotos.\n" "Su valor predeterminado es @samp{\"/etc/ssl/certs\"}." #. type: deftypevr @@ -32708,10 +32698,9 @@ msgstr "{parámetro de @code{prosody-configuration}} boolean c2s-require-encrypt #. type: deftypevr #: doc/guix.texi:16961 -#, fuzzy msgid "Whether to force all client-to-server connections to be encrypted or not. See @url{https://prosody.im/doc/modules/mod_tls}. Defaults to @samp{#f}." msgstr "" -"\n" +"Determina si se fuerza que todas las conexiones cliente-servidor vayan cifradas o no. Véase @url{https://prosody.im/doc/modules/mod_tls}.\n" "Su valor predeterminado es @samp{#f}." #. type: deftypevr @@ -32720,12 +32709,12 @@ msgstr "" msgid "{@code{prosody-configuration} parameter} string-list disable-sasl-mechanisms" msgstr "{parámetro de @code{prosody-configuration}} lista-string disable-sasl-mechanisms" +# FUZZY #. type: deftypevr #: doc/guix.texi:16967 -#, fuzzy msgid "Set of mechanisms that will never be offered. See @url{https://prosody.im/doc/modules/mod_saslauth}. Defaults to @samp{(\"DIGEST-MD5\")}." msgstr "" -"\n" +"Conjunto de mecanismos que no se ofrecerán nunca. Véase @url{https://prosody.im/doc/modules/mod_saslauth}.\n" "Su valor predeterminado es @samp{(\"DIGEST-MD5\")}." #. type: deftypevr @@ -32736,10 +32725,9 @@ msgstr "{parámetro de @code{prosody-configuration}} boolean s2s-require-encrypt #. type: deftypevr #: doc/guix.texi:16973 -#, fuzzy msgid "Whether to force all server-to-server connections to be encrypted or not. See @url{https://prosody.im/doc/modules/mod_tls}. Defaults to @samp{#f}." msgstr "" -"\n" +"Determina si se fuerza que todas las conexiones servidor-servidor vayan cifradas o no. Véase @url{https://prosody.im/doc/modules/mod_tls}.\n" "Su valor predeterminado es @samp{#f}." #. type: deftypevr @@ -32750,10 +32738,9 @@ msgstr "{parámetro de @code{prosody-configuration}} boolean s2s-secure-auth?" #. type: deftypevr #: doc/guix.texi:16981 -#, fuzzy msgid "Whether to require encryption and certificate authentication. This provides ideal security, but requires servers you communicate with to support encryption AND present valid, trusted certificates. See @url{https://prosody.im/doc/s2s#security}. Defaults to @samp{#f}." msgstr "" -"\n" +"Determina si el cifrado y la identificación mediante certificado son necesarias. Esto proporciona una seguridad ideal, pero necesita que los servidores con los que se comunique permitan cifrado y tengan presentes certificados válidos en los que se tenga confianza. Véase @url{https://prosody.im/doc/s2s#security}.\n" "Su valor predeterminado es @samp{#f}." #. type: deftypevr @@ -32764,10 +32751,9 @@ msgstr "{parámetro de @code{prosody-configuration}} lista-string s2s-insecure-d #. type: deftypevr #: doc/guix.texi:16989 -#, fuzzy msgid "Many servers don't support encryption or have invalid or self-signed certificates. You can list domains here that will not be required to authenticate using certificates. They will be authenticated using DNS. See @url{https://prosody.im/doc/s2s#security}. Defaults to @samp{()}." msgstr "" -"\n" +"Muchos servidores no permiten el cifrado o tienen certificados auto-firmados. Puede proporcionar aquí una lista de dominios que no necesitarán la identificación mediante certificado. Se identificarán mediante DNS. Véase @url{https://prosody.im/doc/s2s#security}.\n" "Su valor predeterminado es @samp{()}." #. type: deftypevr @@ -32778,10 +32764,9 @@ msgstr "{parámetro de @code{prosody-configuration}} lista-string s2s-secure-dom #. type: deftypevr #: doc/guix.texi:16996 -#, fuzzy msgid "Even if you leave @code{s2s-secure-auth?} disabled, you can still require valid certificates for some domains by specifying a list here. See @url{https://prosody.im/doc/s2s#security}. Defaults to @samp{()}." msgstr "" -"\n" +"Aún en el caso de mantener @code{s2s-secure-auth?}, puede exigir certificados válidos para algunos dominios especificando una lista aquí. Véase @url{https://prosody.im/doc/s2s#security}.\n" "Su valor predeterminado es @samp{()}." #. type: deftypevr @@ -32790,12 +32775,12 @@ msgstr "" msgid "{@code{prosody-configuration} parameter} string authentication" msgstr "{parámetro de @code{prosody-configuration}} string authentication" +# TODO: Parche por punto tras el último enlace. #. type: deftypevr #: doc/guix.texi:17006 -#, fuzzy msgid "Select the authentication backend to use. The default provider stores passwords in plaintext and uses Prosody's configured data storage to store the authentication data. If you do not trust your server please see @url{https://prosody.im/doc/modules/mod_auth_internal_hashed} for information about using the hashed backend. See also @url{https://prosody.im/doc/authentication} Defaults to @samp{\"internal_plain\"}." msgstr "" -"\n" +"Selecciona el motor de identificación usado. La implementación predeterminada almacena las contraseñas en texto claro y usa el almacenamiento de datos configurado en Prosody para los datos de identificación. Si no confía en su servidor le recomendamos que visite @url{https://prosody.im/doc/modules/mod_auth_internal_hashed} para obtener información sobre el motor de almacenamiento tras hash. Véase también @url{https://prosody.im/doc/authentication}.\n" "Su valor predeterminado es @samp{\"internal_plain\"}." #. type: deftypevr @@ -32806,10 +32791,9 @@ msgstr "{parámetro de @code{prosody-configuration}} maybe-string log" #. type: deftypevr #: doc/guix.texi:17012 -#, fuzzy msgid "Set logging options. Advanced logging configuration is not yet supported by the Prosody service. See @url{https://prosody.im/doc/logging}. Defaults to @samp{\"*syslog\"}." msgstr "" -"\n" +"Determina las opciones del registro. La configuración avanzada del registro no está implementada todavía para el servicio Prosody. Véase @url{https://prosody.im/doc/logging}.\n" "Su valor predeterminado es @samp{\"*syslog\"}." #. type: deftypevr @@ -33014,12 +32998,12 @@ msgstr "" msgid "{@code{prosody-configuration} parameter} ext-component-configuration-list ext-components" msgstr "{parámetro de @code{prosody-configuration}} lista-ext-component-configuration ext-components" +# FUZZY FUZZY #. type: deftypevr #: doc/guix.texi:17118 -#, fuzzy msgid "External components use XEP-0114, which most standalone components support. To add an external component, you simply fill the hostname field. See @url{https://prosody.im/doc/components}. Defaults to @samp{()}." msgstr "" -"\n" +"Los componentes externos usan XEP-0114, el cual se implementa en la mayor parte de componentes independientes. Para añadir un componente externo, simplemente rellene el campo de nombre de máquina (hostname). Véase @url{httos://prosody.im/doc/components}.\n" "Su valor predeterminado es @samp{()}." #. type: deftypevr @@ -34819,12 +34803,12 @@ msgstr "Servicio Krb5" #. type: Plain text #: doc/guix.texi:17972 msgid "Programs using a Kerberos client library normally expect a configuration file in @file{/etc/krb5.conf}. This service generates such a file from a definition provided in the operating system declaration. It does not cause any daemon to be started." -msgstr "" +msgstr "Los programas que usan una biblioteca cliente de Kerberos habitualmente esperan un fichero de configuración en la ruta @file{/etc/krb5.conf}. Este servicio genera dicho fichero desde una definición proporcionada en la declaración de sistema operativo. Esto no causa el inicio de ningún daemon." #. type: Plain text #: doc/guix.texi:17976 msgid "No ``keytab'' files are provided by this service---you must explicitly create them. This service is known to work with the MIT client library, @code{mit-krb5}. Other implementations have not been tested." -msgstr "" +msgstr "Este servicio no crea ningún fichero «keytab»---debe crearlos explícitamente usted. Se ha comprobado que este servicio funciona con la biblioteca de cliente @code{mit-krb5} del MIT. No se han probado otras implementaciones." #. type: defvr #: doc/guix.texi:17977 @@ -34912,10 +34896,11 @@ msgstr "explícitamente por parte del cliente." msgid "Accepts services which only support encryption types known to be weak." msgstr "Acepta servicios cuyos únicos tipos de cifrado implementados se sabe que son débiles." +# TODO: Revisar #. type: Plain text #: doc/guix.texi:18014 msgid "The @code{krb5-realm} and @code{krb5-configuration} types have many fields. Only the most commonly used ones are described here. For a full list, and more detailed explanation of each, see the MIT @uref{https://web.mit.edu/kerberos/krb5-devel/doc/admin/conf_files/krb5_conf.html,,krb5.conf} documentation." -msgstr "" +msgstr "Los tipos @code{krb5-realm} y @code{krb5-configuration} contienen muchos campos. Aquí se describen únicamente los más habitualmente usados. Para obtener una lista complete y una explicación detallada de cada campo, véase la documentación de @uref{https://web.mit.edu/kerberos/krb5-devel/doc/admin/conf_files/krb5_conf.html,,krb5.conf}." #. type: deftp #: doc/guix.texi:18016 @@ -34929,10 +34914,12 @@ msgstr "{Tipo de datos} krb5-realm" msgid "realm, kerberos" msgstr "dominio (realm), kerberos" +# FUZZY +# TODO (MAAV): fully qualified name #. type: table #: doc/guix.texi:18023 msgid "This field is a string identifying the name of the realm. A common convention is to use the fully qualified DNS name of your organization, converted to upper case." -msgstr "" +msgstr "Este campo es una cadena que identifica el nombre del dominio. Una convención habitual es el uso del nombre completo de DNS de su organización, convertido a mayúsculas." #. type: code{#1} #: doc/guix.texi:18024 @@ -34980,10 +34967,12 @@ msgstr "Si esta opción es @code{#t} se aceptarán los servicios que únicamente msgid "@code{default-realm} (default: @code{#f})" msgstr "@code{default-realm} (predeterminado: @code{#f})" +# FUZZY FUZZY FUZZY +# TODO (MAAV): Kerberos Principal = primary/instance@REALM #. type: table #: doc/guix.texi:18048 msgid "This field should be a string identifying the default Kerberos realm for the client. You should set this field to the name of your Kerberos realm. If this value is @code{#f} then a realm must be specified with every Kerberos principal when invoking programs such as @command{kinit}." -msgstr "" +msgstr "Este campo debe ser una cadena que identifique el dominio predeterminado de Kerberos para los clientes. Debería proporcionar el nombre de su dominio Kerberos. Si este valor es @code{#f}, el dominio debe especificarse en cada principal de Kerberos cuando se invoquen programas como @command{kinit}." #. type: code{#1} #: doc/guix.texi:18049 @@ -34994,7 +34983,7 @@ msgstr "realms" #. type: table #: doc/guix.texi:18054 msgid "This should be a non-empty list of @code{krb5-realm} objects, which clients may access. Normally, one of them will have a @code{name} field matching the @code{default-realm} field." -msgstr "" +msgstr "Debe ser una lista no vacía de objetos @code{krb5-realm}, accesibles por los clientes. Normalmente, uno de ellos tendrá un campo @code{name} que corresponda con el campo @code{default-realm}." #. type: subsubheading #: doc/guix.texi:18058 @@ -35008,10 +34997,11 @@ msgstr "Servicio PAM krb5" msgid "pam-krb5" msgstr "pam-krb5" +# FUZZY #. type: Plain text #: doc/guix.texi:18065 msgid "The @code{pam-krb5} service allows for login authentication and password management via Kerberos. You will need this service if you want PAM enabled applications to authenticate users using Kerberos." -msgstr "" +msgstr "El servicio @code{pam-krb5} le permite la identificación para el ingreso al sistema y la gestión de contraseñas mediante Kerberos. Este servicio es necesario si desea que aplicaciones que permiten PAM lleven a cabo la identificación de usuarias mediante el uso de Kerberos." #. type: defvr #: doc/guix.texi:18066 @@ -35052,10 +35042,11 @@ msgstr "El paquete pam-krb5 usado." msgid "@code{minimum-uid} (default: @code{1000})" msgstr "@code{minimum-uid} (predeterminado: @code{1000})" +# FUZZY #. type: table #: doc/guix.texi:18080 msgid "The smallest user ID for which Kerberos authentications should be attempted. Local accounts with lower values will silently fail to authenticate." -msgstr "" +msgstr "El ID de usuaria mínimo con el que se permitirán los intentos de identificación con Kerberos. El proceso de identificación de las cuentas locales con valores menores fallará de manera silenciosa." #. type: cindex #: doc/guix.texi:18086 @@ -35217,10 +35208,11 @@ msgstr "Especifica el id de grupo con el que debe ejecutarse el daemon." msgid "{@code{nslcd-configuration} parameter} log-option log" msgstr "{parámetro de @code{nslcd-configuration}} opcion-registro log" +# FUZZY #. type: deftypevr #: doc/guix.texi:18162 msgid "This option controls the way logging is done via a list containing SCHEME and LEVEL. The SCHEME argument may either be the symbols \"none\" or \"syslog\", or an absolute file name. The LEVEL argument is optional and specifies the log level. The log level may be one of the following symbols: \"crit\", \"error\", \"warning\", \"notice\", \"info\" or \"debug\". All messages with the specified log level or higher are logged." -msgstr "" +msgstr "Esta opción controla la forma en la que se realiza el registro a través de una lista que contiene ESQUEMA y NIVEL. El parámetro ESQUEMA puede ser o bien los símbolos \"none\" o \"syslog\", o la ruta absoluta de un fichero. El parámetro NIVEL es opcional y especifica el nivel de registro. El nivel de registro puede ser uno de los siguientes símbolos: \"crit\", \"error\", \"warning\", \"notice\", \"info\" o \"debug\". Se registran todos los mensajes con el nivel especificado o uno superior." #. type: deftypevr #: doc/guix.texi:18164 @@ -35233,10 +35225,11 @@ msgstr "El valor predeterminado es @samp{(\"/var/log/nslcd\" info)}." msgid "{@code{nslcd-configuration} parameter} list uri" msgstr "{parámetro de @code{nslcd-configuration}} lista uri" +# FUZZY FUZZY #. type: deftypevr #: doc/guix.texi:18170 msgid "The list of LDAP server URIs. Normally, only the first server will be used with the following servers as fall-back." -msgstr "" +msgstr "La lista de URI de servidores LDAP. Normalmente, únicamente se usará el primer servidor y los siguientes se usan en caso de fallo." #. type: deftypevr #: doc/guix.texi:18172 @@ -35252,7 +35245,7 @@ msgstr "{parámetro de @code{nslcd-configuration}} maybe-string ldap-version" #. type: deftypevr #: doc/guix.texi:18178 msgid "The version of the LDAP protocol to use. The default is to use the maximum version supported by the LDAP library." -msgstr "" +msgstr "La versión del protocolo LDAP usada. El valor predeterminado usa la versión máxima implementada por la biblioteca LDAP." #. type: deftypevr #: doc/guix.texi:18183 @@ -35263,7 +35256,7 @@ msgstr "{parámetro de @code{nslcd-configuration}} maybe-string binddn" #. type: deftypevr #: doc/guix.texi:18186 msgid "Specifies the distinguished name with which to bind to the directory server for lookups. The default is to bind anonymously." -msgstr "" +msgstr "Especifica el nombre distinguido con el que enlazarse en el servidor de directorio para las búsquedas. El valor predeterminado se enlaza de forma anónima." #. type: deftypevr #: doc/guix.texi:18191 @@ -35271,10 +35264,11 @@ msgstr "" msgid "{@code{nslcd-configuration} parameter} maybe-string bindpw" msgstr "{parámetro de @code{nslcd-configuration}} maybe-string bindpw" +# FUZZY FUZZY #. type: deftypevr #: doc/guix.texi:18194 msgid "Specifies the credentials with which to bind. This option is only applicable when used with binddn." -msgstr "" +msgstr "Especifica las credenciales usadas para el enlace. Esta opción tiene utilidad únicamente cuando se usa con binddn." #. type: deftypevr #: doc/guix.texi:18199 @@ -35282,10 +35276,11 @@ msgstr "" msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmoddn" msgstr "{parámetro de @code{nslcd-configuration}} maybe-string rootpwmoddn" +# FUZZY #. type: deftypevr #: doc/guix.texi:18202 msgid "Specifies the distinguished name to use when the root user tries to modify a user's password using the PAM module." -msgstr "" +msgstr "Especifica el nombre distinguido usado cuando la usuaria root intenta modificar la contraseña de una usuaria mediante el módulo de PAM." #. type: deftypevr #: doc/guix.texi:18207 @@ -35293,10 +35288,11 @@ msgstr "" msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmodpw" msgstr "{parámetro de @code{nslcd-configuration}} maybe-string rootpwmodpw" +# FUZZY FUZZY #. type: deftypevr #: doc/guix.texi:18211 msgid "Specifies the credentials with which to bind if the root user tries to change a user's password. This option is only applicable when used with rootpwmoddn" -msgstr "" +msgstr "Especifica las credenciales con las que enlazarse si la usuaria root intenta cambiar la contraseña de una usuaria. Esta opción tiene utilidad únicamente cuando se usa con rootpwmoddn." #. type: deftypevr #: doc/guix.texi:18216 @@ -35304,11 +35300,11 @@ msgstr "" msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-mech" msgstr "{parámetro de @code{nslcd-configuration}} maybe-string sasl-mech" +# FUZZY #. type: deftypevr #: doc/guix.texi:18219 -#, fuzzy msgid "Specifies the SASL mechanism to be used when performing SASL authentication." -msgstr "Especifica el o los grupos a usar para la identificación del grupo @code{@@SYSTEM}." +msgstr "Especifica el mecanismo de SASL usado cuando se realice la identificación con SASL." #. type: deftypevr #: doc/guix.texi:18224 @@ -35316,11 +35312,11 @@ msgstr "Especifica el o los grupos a usar para la identificación del grupo @cod msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-realm" msgstr "{parámetro de @code{nslcd-configuration}} maybe-string sasl-realm" +# FUZZY #. type: deftypevr #: doc/guix.texi:18226 -#, fuzzy msgid "Specifies the SASL realm to be used when performing SASL authentication." -msgstr "Especifica el o los grupos a usar para la identificación del grupo @code{@@SYSTEM}." +msgstr "Especifica el dominio de SASL usado cuando se realice la identificación con SASL." #. type: deftypevr #: doc/guix.texi:18231 @@ -35331,9 +35327,8 @@ msgstr "{parámetro de @code{nslcd-configuration}} maybe-string sasl-authcid" # FUZZY FUZZY #. type: deftypevr #: doc/guix.texi:18234 -#, fuzzy msgid "Specifies the authentication identity to be used when performing SASL authentication." -msgstr "Especifica si se usará cifrado para peticiones con identificación." +msgstr "Especifica la identidad de verificación usada cuando se realice la identificación con SASL." #. type: deftypevr #: doc/guix.texi:18239 @@ -35344,9 +35339,8 @@ msgstr "{parámetro de @code{nslcd-configuration}} maybe-string sasl-authzid" # FUZZY FUZZY #. type: deftypevr #: doc/guix.texi:18242 -#, fuzzy msgid "Specifies the authorization identity to be used when performing SASL authentication." -msgstr "Especifica si se usará cifrado para peticiones con identificación." +msgstr "Especifica la identidad de autorización usada cuando se realice la identificación con SASL." #. type: deftypevr #: doc/guix.texi:18247 @@ -35354,10 +35348,11 @@ msgstr "Especifica si se usará cifrado para peticiones con identificación." msgid "{@code{nslcd-configuration} parameter} maybe-boolean sasl-canonicalize?" msgstr "{parámetro de @code{nslcd-configuration}} maybe-boolean sasl-canonicalize?" +# FUZZY #. type: deftypevr #: doc/guix.texi:18252 msgid "Determines whether the LDAP server host name should be canonicalised. If this is enabled the LDAP library will do a reverse host name lookup. By default, it is left up to the LDAP library whether this check is performed or not." -msgstr "" +msgstr "Determina si el nombre de máquina del servidor LDAP debe transformarse a su forma canónica. Si se activa, la librería LDAP realizará una búsqueda inversa de nombre de máquina. De manera predeterminada, se delega en la biblioteca la decisión de realizar esta comprobación o no." #. type: deftypevr #: doc/guix.texi:18257 @@ -35365,10 +35360,11 @@ msgstr "" msgid "{@code{nslcd-configuration} parameter} maybe-string krb5-ccname" msgstr "{parámetro de @code{nslcd-configuration}} maybe-string krb5-ccname" +# FUZZY #. type: deftypevr #: doc/guix.texi:18259 msgid "Set the name for the GSS-API Kerberos credentials cache." -msgstr "" +msgstr "Establece el nombre para la caché de credenciales GSS-API de Kerberos." #. type: deftypevr #: doc/guix.texi:18264 @@ -35411,7 +35407,7 @@ msgstr "{parámetro de @code{nslcd-configuration}} maybe-deref-option deref" #. type: deftypevr #: doc/guix.texi:18283 msgid "Specifies the policy for dereferencing aliases. The default policy is to never dereference aliases." -msgstr "" +msgstr "Especifica la política para seguir las referencias de los alias. La política predeterminada es nunca seguir las referencias de los alias." #. type: deftypevr #: doc/guix.texi:18288 @@ -35422,7 +35418,7 @@ msgstr "{parámetro de @code{nslcd-configuration}} maybe-boolean referrals" #. type: deftypevr #: doc/guix.texi:18291 msgid "Specifies whether automatic referral chasing should be enabled. The default behaviour is to chase referrals." -msgstr "" +msgstr "Especifica si el seguimiento automático de referencias debe activarse. El seguimiento de referencias es comportamiento predeterminado." #. type: deftypevr #: doc/guix.texi:18296 @@ -35442,10 +35438,11 @@ msgstr "Esta opción permite que se busquen atributos personalizados en vez de l msgid "{@code{nslcd-configuration} parameter} list-of-filter-entries filters" msgstr "{parámetro de @code{nslcd-configuration}} lista-asociación-entrada filters" +# FUZZY FUZZY #. type: deftypevr #: doc/guix.texi:18309 msgid "A list of filters consisting of the name of a map to which the filter applies and an LDAP search filter expression." -msgstr "" +msgstr "Una lista de filtros que consiste en el nombre de una asociación a la que se aplica el filtro y una expresión de filtrado de búsqueda de LDAP." #. type: deftypevr #: doc/guix.texi:18314 @@ -35456,7 +35453,7 @@ msgstr "{parámetro de @code{nslcd-configuration}} maybe-number bind-timelimit" #. type: deftypevr #: doc/guix.texi:18317 msgid "Specifies the time limit in seconds to use when connecting to the directory server. The default value is 10 seconds." -msgstr "" +msgstr "Especifica el tiempo límite usado en segundos durante la conexión al servidor de directorio. El valor predeterminado son 10 segundos." #. type: deftypevr #: doc/guix.texi:18322 @@ -35464,10 +35461,11 @@ msgstr "" msgid "{@code{nslcd-configuration} parameter} maybe-number timelimit" msgstr "{parámetro de @code{nslcd-configuration}} maybe-number timelimit" +# FUZZY #. type: deftypevr #: doc/guix.texi:18326 msgid "Specifies the time limit (in seconds) to wait for a response from the LDAP server. A value of zero, which is the default, is to wait indefinitely for searches to be completed." -msgstr "" +msgstr "Especifica el tiempo límite (en segundos) durante el que se esperará una respuesta del servidor LDAP. Un valor de cero, por omisión, hace que se espere de manera indefinida hasta que las búsquedas se completen." #. type: deftypevr #: doc/guix.texi:18331 @@ -35475,10 +35473,11 @@ msgstr "" msgid "{@code{nslcd-configuration} parameter} maybe-number idle-timelimit" msgstr "{parámetro de @code{nslcd-configuration}} maybe-number idle-timelimit" +# FUZZY #. type: deftypevr #: doc/guix.texi:18335 msgid "Specifies the period if inactivity (in seconds) after which the con‐ nection to the LDAP server will be closed. The default is not to time out connections." -msgstr "" +msgstr "Especifica el periodo de inactividad (en segundos) tras el cual se cerrará la conexión con el servidor LDAP. El valor predeterminado no cierra las conexiones por inactividad." #. type: deftypevr #: doc/guix.texi:18340 @@ -35486,10 +35485,11 @@ msgstr "" msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-sleeptime" msgstr "{parámetro de @code{nslcd-configuration}} maybe-number reconnect-sleeptime" +# FUZZY #. type: deftypevr #: doc/guix.texi:18344 msgid "Specifies the number of seconds to sleep when connecting to all LDAP servers fails. By default one second is waited between the first failure and the first retry." -msgstr "" +msgstr "Especifica en número de segundos que se dormirá cuando falle la conexión a todos los servidores LDAP. De manera predeterminada se espera un segundo entre el primer fallo y el primer reintento." #. type: deftypevr #: doc/guix.texi:18349 @@ -35497,10 +35497,11 @@ msgstr "" msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-retrytime" msgstr "{parámetro de @code{nslcd-configuration}} maybe-number reconnect-retrytime" +# FUZZY #. type: deftypevr #: doc/guix.texi:18353 msgid "Specifies the time after which the LDAP server is considered to be permanently unavailable. Once this time is reached retries will be done only once per this time period. The default value is 10 seconds." -msgstr "" +msgstr "Especifica el tiempo tras el cual el servidor LDAP se considera no disponible de manera permanente. Una vez se alcance este tiempo, los reintentos se realizarán una vez en cada periodo de tiempo igual al especificado. El valor predeterminado es 10 segundos." #. type: deftypevr #: doc/guix.texi:18358 @@ -35508,10 +35509,11 @@ msgstr "" msgid "{@code{nslcd-configuration} parameter} maybe-ssl-option ssl" msgstr "{parámetro de @code{nslcd-configuration}} maybe-ssl-option ssl" +# FUZZY #. type: deftypevr #: doc/guix.texi:18362 msgid "Specifies whether to use SSL/TLS or not (the default is not to). If 'start-tls is specified then StartTLS is used rather than raw LDAP over SSL." -msgstr "" +msgstr "Determina si se usa SSL/TLS o no (el comportamiento predeterminado es no hacerlo). Si se especifica 'start-tls, se usa StartTLS en vez de la transmisión del protocolo LDAP en crudo sobre SSL." #. type: deftypevr #: doc/guix.texi:18367 @@ -35522,7 +35524,7 @@ msgstr "{parámetro de @code{nslcd-configuration}} maybe-tls-reqcert-option tls- #. type: deftypevr #: doc/guix.texi:18370 msgid "Specifies what checks to perform on a server-supplied certificate. The meaning of the values is described in the ldap.conf(5) manual page." -msgstr "" +msgstr "Especifica las comprobaciones que se deben realizar con un certificado proporcionado por el servidor. El significado de los valores se describe en la página de manual de ldap.conf(5). " #. type: deftypevr #: doc/guix.texi:18375 @@ -35533,7 +35535,7 @@ msgstr "{parámetro de @code{nslcd-configuration}} maybe-string tls-cacertdir" #. type: deftypevr #: doc/guix.texi:18378 msgid "Specifies the directory containing X.509 certificates for peer authen‐ tication. This parameter is ignored when using GnuTLS." -msgstr "" +msgstr "Especifica el directorio que contiene los certificados X.509 para la identificación de pares. Este parámetro se ignora si se usa GnuTLS." #. type: deftypevr #: doc/guix.texi:18383 @@ -35541,11 +35543,11 @@ msgstr "" msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertfile" msgstr "{parámetro de @code{nslcd-configuration}} maybe-string tls-cacertfile" +# FUZZY #. type: deftypevr #: doc/guix.texi:18385 -#, fuzzy msgid "Specifies the path to the X.509 certificate for peer authentication." -msgstr "Especifica el o los grupos a usar para la identificación del grupo @code{@@SYSTEM}." +msgstr "Especifica la ruta al certificado X.509 para la identificación de pares." #. type: deftypevr #: doc/guix.texi:18390 @@ -35556,7 +35558,7 @@ msgstr "{parámetro de @code{nslcd-configuration}} maybe-string tls-randfile" #. type: deftypevr #: doc/guix.texi:18393 msgid "Specifies the path to an entropy source. This parameter is ignored when using GnuTLS." -msgstr "" +msgstr "Especifica la ruta de la fuente de entropía. Este parámetro se ignora si se usa GnuTLS." #. type: deftypevr #: doc/guix.texi:18398 @@ -35566,9 +35568,8 @@ msgstr "{parámetro de @code{nslcd-configuration}} maybe-string tls-ciphers" #. type: deftypevr #: doc/guix.texi:18400 -#, fuzzy msgid "Specifies the ciphers to use for TLS as a string." -msgstr "Especifica qué protocolos deben usarse para compartir las impresoras locales." +msgstr "Especifica como una cadena los algoritmos de cifrado usados para TLS." #. type: deftypevr #: doc/guix.texi:18405 @@ -35579,7 +35580,7 @@ msgstr "{parámetro de @code{nslcd-configuration}} maybe-string tls-cert" #. type: deftypevr #: doc/guix.texi:18408 msgid "Specifies the path to the file containing the local certificate for client TLS authentication." -msgstr "" +msgstr "Especifica la ruta al fichero que contiene el certificado local para la identificación de clientes con TLS." #. type: deftypevr #: doc/guix.texi:18413 @@ -35590,7 +35591,7 @@ msgstr "{parámetro de @code{nslcd-configuration}} maybe-string tls-key" #. type: deftypevr #: doc/guix.texi:18416 msgid "Specifies the path to the file containing the private key for client TLS authentication." -msgstr "" +msgstr "Especifica la ruta al fichero que contiene la clave privada para la identificación de clientes con TLS." #. type: deftypevr #: doc/guix.texi:18421 @@ -35598,10 +35599,11 @@ msgstr "" msgid "{@code{nslcd-configuration} parameter} maybe-number pagesize" msgstr "{parámetro de @code{nslcd-configuration}} maybe-number pagesize" +# FUZZY FUZZY FUZZY #. type: deftypevr #: doc/guix.texi:18425 msgid "Set this to a number greater than 0 to request paged results from the LDAP server in accordance with RFC2696. The default (0) is to not request paged results." -msgstr "" +msgstr "Proporcione un valor superior a 0 para solicitar al servidor LDAP que proporcione los resultados divididos en páginas de acuerdo con el RFC2696. El valor predeterminado (0) no solicita resultados divididos en páginas." #. type: deftypevr #: doc/guix.texi:18430 @@ -35609,10 +35611,11 @@ msgstr "" msgid "{@code{nslcd-configuration} parameter} maybe-ignore-users-option nss-initgroups-ignoreusers" msgstr "{parámetro de @code{nslcd-configuration}} maybe-ignore-users-option nss-initgroups-ignoreusers" +# FUZZY FUZZY #. type: deftypevr #: doc/guix.texi:18434 msgid "This option prevents group membership lookups through LDAP for the specified users. Alternatively, the value 'all-local may be used. With that value nslcd builds a full list of non-LDAP users on startup." -msgstr "" +msgstr "Esta opción previene las búsquedas de pertenencia a grupos a través de LDAP sobre las usuarias especificadas. De manera alternativa, se puede usar el valor 'all-local. Con dicho valor nslcd construye al inicio una lista completa de usuarias que no se encuentren en LDAP." #. type: deftypevr #: doc/guix.texi:18439 @@ -35620,10 +35623,11 @@ msgstr "" msgid "{@code{nslcd-configuration} parameter} maybe-number nss-min-uid" msgstr "{parámetro de @code{nslcd-configuration}} maybe-number nss-min-uid" +# FUZZY FUZZY #. type: deftypevr #: doc/guix.texi:18442 msgid "This option ensures that LDAP users with a numeric user id lower than the specified value are ignored." -msgstr "" +msgstr "Esta opción hace que se ignoren las usuarias de LDAP con un identificador numérico inferior al valor especificado." #. type: deftypevr #: doc/guix.texi:18447 @@ -35631,10 +35635,11 @@ msgstr "" msgid "{@code{nslcd-configuration} parameter} maybe-number nss-uid-offset" msgstr "{parámetro de @code{nslcd-configuration}} maybe-number nss-uid-offset" +# FUZZY #. type: deftypevr #: doc/guix.texi:18450 msgid "This option specifies an offset that is added to all LDAP numeric user ids. This can be used to avoid user id collisions with local users." -msgstr "" +msgstr "Esta opción especifica un desplazamiento que se añade a todos los identificadores numéricos de usuaria de LDAP. Puede usarse para evitar colisiones de identificadores con usuarias locales." #. type: deftypevr #: doc/guix.texi:18455 @@ -35645,7 +35650,7 @@ msgstr "{parámetro de @code{nslcd-configuration}} maybe-number nss-gid-offset" #. type: deftypevr #: doc/guix.texi:18458 msgid "This option specifies an offset that is added to all LDAP numeric group ids. This can be used to avoid user id collisions with local groups." -msgstr "" +msgstr "Esta opción especifica un desplazamiento que se añade a todos los identificadores numéricos de grupos de LDAP. Puede usarse para evitar cololisiones de identificadores con grupos locales." #. type: deftypevr #: doc/guix.texi:18463 @@ -35656,7 +35661,7 @@ msgstr "{parámetro de @code{nslcd-configuration}} maybe-boolean nss-nested-grou #. type: deftypevr #: doc/guix.texi:18469 msgid "If this option is set, the member attribute of a group may point to another group. Members of nested groups are also returned in the higher level group and parent groups are returned when finding groups for a specific user. The default is not to perform extra searches for nested groups." -msgstr "" +msgstr "Cuando se activa esta opción, un grupo puede contener como atributo la pertenencia a otro grupo. Los miembros de grupos anidados se devuelven en el grupo superior y los grupos superiores se devuelven cuando se busquen los grupos de una usuaria específica. El valor predeterminado determina que no se realicen búsquedas adicionales para grupos anidados." #. type: deftypevr #: doc/guix.texi:18474 @@ -35664,10 +35669,11 @@ msgstr "" msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-getgrent-skipmembers" msgstr "{parámetro de @code{nslcd-configuration}} maybe-boolean nss-getgrent-skipmembers" +# FUZZY #. type: deftypevr #: doc/guix.texi:18479 msgid "If this option is set, the group member list is not retrieved when looking up groups. Lookups for finding which groups a user belongs to will remain functional so the user will likely still get the correct groups assigned on login." -msgstr "" +msgstr "Cuando se activa esta opción, la lista de miembros de un grupo no se obtiene en las búsquedas de grupos. Las búsquedas que busquen los grupos de los que una usuaria es miembro continuarán funcionando de manera que probablemente a la usuaria se le asignen los grupos correctos durante el ingreso al sistema." #. type: deftypevr #: doc/guix.texi:18484 @@ -35675,10 +35681,11 @@ msgstr "" msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-disable-enumeration" msgstr "{parámetro de @code{nslcd-configuration}} maybe-boolean nss-disable-enumeration" +# FUZZY #. type: deftypevr #: doc/guix.texi:18490 msgid "If this option is set, functions which cause all user/group entries to be loaded from the directory will not succeed in doing so. This can dramatically reduce LDAP server load in situations where there are a great number of users and/or groups. This option is not recommended for most configurations." -msgstr "" +msgstr "Cuando se activa esta opción, las funciones que provocan la carga de todas las entradas usuaria/grupo del directorio no tendrán éxito al realizarlo. Esto puede reducir de forma dramática la carga del servidor LDAP cuando existe un gran número de usuarias y/o grupos. Esta opción no se recomienda para la mayoría de las configuraciones." #. type: deftypevr #: doc/guix.texi:18495 @@ -35686,10 +35693,11 @@ msgstr "" msgid "{@code{nslcd-configuration} parameter} maybe-string validnames" msgstr "{parámetro de @code{nslcd-configuration}} maybe-string validnames" +# FUZZY #. type: deftypevr #: doc/guix.texi:18499 msgid "This option can be used to specify how user and group names are verified within the system. This pattern is used to check all user and group names that are requested and returned from LDAP." -msgstr "" +msgstr "Esta opción puede usarse para especificar cómo se verifican en el sistema los nombres de usuaria y grupo. Este patrón se usa para comprobar todos los nombres de usuarias y grupos que se soliciten y proporcionen a través de LDAP." #. type: deftypevr #: doc/guix.texi:18504 @@ -35697,10 +35705,11 @@ msgstr "" msgid "{@code{nslcd-configuration} parameter} maybe-boolean ignorecase" msgstr "{parámetro de @code{nslcd-configuration}} maybe-boolean ignorecase" +# FUZZY FUZZY FUZZY #. type: deftypevr #: doc/guix.texi:18509 msgid "This specifies whether or not to perform searches using case-insensitive matching. Enabling this could open up the system to authorization bypass vulnerabilities and introduce nscd cache poisoning vulnerabilities which allow denial of service." -msgstr "" +msgstr "Especifica si se realizarán las búsquedas sin diferenciar mayúsculas y minúsculas o no. Su activación puede abrir puntos vulnerables que permitan la omisión de las comprobaciones de autorización e introducir vulnerabilidades que permitan el envenenamiento de la caché de nscd, lo que puede provocar la denegación del servicio." #. type: deftypevr #: doc/guix.texi:18514 @@ -35711,7 +35720,7 @@ msgstr "{parámetro de @code{nslcd-configuration}} maybe-boolean pam-authc-ppoli #. type: deftypevr #: doc/guix.texi:18517 msgid "This option specifies whether password policy controls are requested and handled from the LDAP server when performing user authentication." -msgstr "" +msgstr "Esta opción determina si los controles de la política de contraseñas se solicitan y manejan desde el servidor LDAP cuando se realice la identificación de usuarias." #. type: deftypevr #: doc/guix.texi:18522 @@ -35719,10 +35728,11 @@ msgstr "" msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authc-search" msgstr "{parámetro de @code{nslcd-configuration}} maybe-string pam-authc-search" +# FUZZY #. type: deftypevr #: doc/guix.texi:18528 msgid "By default nslcd performs an LDAP search with the user's credentials after BIND (authentication) to ensure that the BIND operation was successful. The default search is a simple check to see if the user's DN exists. A search filter can be specified that will be used instead. It should return at least one entry." -msgstr "" +msgstr "De manera predeterminada nslcd realiza una búsqueda LDAP con las credenciales de la usuaria tras la orden BIND (identificación) para asegurarse de que la opción BIND fue satisfactoria. La busqueda predeterminada es una simple comprobación de la existencia del DN de la usuaria. Se puede especificar un filtro de búsqueda que se usará en vez de dicha búsqueda. Debe devolver al menos una entrada." #. type: deftypevr #: doc/guix.texi:18533 @@ -35733,7 +35743,7 @@ msgstr "{parámetro de @code{nslcd-configuration}} maybe-string pam-authz-search #. type: deftypevr #: doc/guix.texi:18537 msgid "This option allows flexible fine tuning of the authorisation check that should be performed. The search filter specified is executed and if any entries match, access is granted, otherwise access is denied." -msgstr "" +msgstr "Esta opción permite la configuración detallada de las comprobaciones de autorización que deben realizarse. El filtro de búsqueda especificado es ejecutado, y si cualquier entrada corresponde se permite el acceso, el cual se deniega en caso contrario." #. type: deftypevr #: doc/guix.texi:18542 @@ -35744,7 +35754,7 @@ msgstr "{parámetro de @code{nslcd-configuration}} maybe-string pam-password-pro #. type: deftypevr #: doc/guix.texi:18547 msgid "If this option is set password modification using pam_ldap will be denied and the specified message will be presented to the user instead. The message can be used to direct the user to an alternative means of changing their password." -msgstr "" +msgstr "Si se proporciona esta opción, se denegará la modificación de contraseñas a través de pam_ldap y en vez de ello el mensaje especificado se presentará a la usuaria. El mensaje puede usarse para redirigir a la usuaria a un medio alternativo para el cambio de su contraseña." #. type: deftypevr #: doc/guix.texi:18552 @@ -35795,9 +35805,8 @@ msgstr "{Variable Scheme} httpd-service-type" # FUZZY #. type: deffn #: doc/guix.texi:18577 -#, fuzzy msgid "Service type for the @uref{https://httpd.apache.org/,Apache HTTP} server (@dfn{httpd}). The value for this service type is a @code{httpd-configuration} record." -msgstr "Este es el tipo de servicio para el servicio @uref{https://memcached.org/, Memcached}, que proporciona caché distribuida en memoria. El valor para este tipo de servicio es un objeto @code{memcached-configuration}." +msgstr "Tipo de servicio para el servidor @uref{https://httpd.apache.org/, Apache HTTP} (@dfn{httpd}). El valor para este tipo de servicio es un registro @code{httpd-configuration}." #. type: deffn #: doc/guix.texi:18579 doc/guix.texi:18760 @@ -35822,11 +35831,11 @@ msgstr "" " (server-name \"www.example.com\")\n" " (document-root \"/srv/http/www.example.com\")))))\n" +# FUZZY #. type: deffn #: doc/guix.texi:18591 -#, fuzzy msgid "Other services can also extend the @code{httpd-service-type} to add to the configuration." -msgstr "En ambos casos el resultado es una instancia de @code{openssh-service-type} con la configuración predeterminada." +msgstr "Otros servicios también pueden exteneder el tipo @code{httpd-service-type} para añadir su contribución a la configuración." #. type: example #: doc/guix.texi:18600 doc/guix.texi:18740 @@ -35917,7 +35926,7 @@ msgstr "El nombre del módulo." #. type: table #: doc/guix.texi:18638 msgid "The file for the module. This can be relative to the httpd package being used, the absolute location of a file, or a G-expression for a file within the store, for example @code{(file-append mod-wsgi \"/modules/mod_wsgi.so\")}." -msgstr "" +msgstr "El fichero para el módulo. La ruta puede ser relativa al paquete httpd usado, la ruta absoluta de un fichero, o una expresión-G para un fichero dentro del almacén, por ejemplo @code{(file-append mod-wsgi \"/modules/mod_wsgi.so\")}." #. type: defvr #: doc/guix.texi:18642 @@ -35947,15 +35956,16 @@ msgstr "Este tipo de datos representa un fichero de configuración para el servi msgid "@code{modules} (default: @code{%default-httpd-modules})" msgstr "@code{modules} (predeterminados: @code{%default-httpd-modules})" +# FUZZY FUZZY #. type: table #: doc/guix.texi:18653 msgid "The modules to load. Additional modules can be added here, or loaded by additional configuration." -msgstr "" +msgstr "Módulos que deben cargarse. Aquí pueden añadir módulos adicionales, o que se carguen en la configuración adicional." #. type: table #: doc/guix.texi:18656 msgid "For example, in order to handle requests for PHP files, you can use Apache’s @code{mod_proxy_fcgi} module along with @code{php-fpm-service-type}:" -msgstr "" +msgstr "Por ejemplo, para manejar las peticiones de ficheros PHP, puede usar el módulo @code{mod_proxy_fcgi} de Apache junto con @code{php-fpm-service-type}:" #. type: example #: doc/guix.texi:18678 @@ -35988,10 +35998,10 @@ msgstr "" " (httpd-config-file\n" " (modules (cons*\n" " (httpd-module\n" -" (name \"proxy_module\")\n" +" (name \"modulo_proxy\")\n" " (file \"modules/mod_proxy.so\"))\n" " (httpd-module\n" -" (name \"proxy_fcgi_module\")\n" +" (name \"module_proxy_fcgi\")\n" " (file \"modules/mod_proxy_fcgi.so\"))\n" " %default-httpd-modules))\n" " (extra-config (list \"\\\n" @@ -36009,10 +36019,11 @@ msgstr "" msgid "@code{server-root} (default: @code{httpd})" msgstr "@code{server-root} (predeterminado: @code{httpd})" +# FUZZY #. type: table #: doc/guix.texi:18684 msgid "The @code{ServerRoot} in the configuration file, defaults to the httpd package. Directives including @code{Include} and @code{LoadModule} are taken as relative to the server root." -msgstr "" +msgstr "El campo @code{ServerRoot} (raíz del servidor) en el fichero de configuración, cuyo valor predeterminado apunta al paquete httpd. Directivas como @code{Include} and @code{LoadModule} se interpretan como relativas a la raíz del servidor." #. type: item #: doc/guix.texi:18685 @@ -36020,15 +36031,16 @@ msgstr "" msgid "@code{server-name} (default: @code{#f})" msgstr "@code{server-name} (predeterminado: @code{#f})" +# FUZZY #. type: table #: doc/guix.texi:18689 msgid "The @code{ServerName} in the configuration file, used to specify the request scheme, hostname and port that the server uses to identify itself." -msgstr "" +msgstr "El campo @code{ServerName} (nombre del servidor) en el fichero de configuración, el cual se usa para especificar el esquema de peticiones, nombre de máquina y puerto que el servidor usa para su propia identificación." #. type: table #: doc/guix.texi:18693 msgid "This doesn't need to be set in the server config, and can be specifyed in virtual hosts. The default is @code{#f} to not specify a @code{ServerName}." -msgstr "" +msgstr "No es necesario proporcionar un valor en la configuración del servidor, y puede especificarse en las máquinas virtuales. El valor predeterminado es @code{#f} que no especifica un campo @code{ServerName}." #. type: item #: doc/guix.texi:18694 @@ -36051,12 +36063,12 @@ msgstr "@code{listen} (predeterminado: @code{'(\"80\")})" #. type: table #: doc/guix.texi:18702 msgid "The list of values for the @code{Listen} directives in the config file. The value should be a list of strings, when each string can specify the port number to listen on, and optionally the IP address and protocol to use." -msgstr "" +msgstr "La lista de valores para las directivas @code{Listen} en el fichero de configuración. El valor debe ser una lista de cadenas, donde cada cadena puede especificar el número de puerto en el que se escucha, y de manera opcional la dirección IP y el protocolo usados." #. type: table #: doc/guix.texi:18707 msgid "The @code{PidFile} to use. This should match the @code{pid-file} set in the @code{httpd-configuration} so that the Shepherd service is configured correctly." -msgstr "" +msgstr "El fichero de PID usado (@code{PidFile}). Debe corresponder con el valor de @code{pid-file} proporcionado en @code{httpd-configuration} de manera que el servicio de Shepherd se configure de manera correcta." #. type: item #: doc/guix.texi:18708 @@ -36064,11 +36076,11 @@ msgstr "" msgid "@code{error-log} (default: @code{\"/var/log/httpd/error_log\"})" msgstr "@code{error-log} (predeterminado: @code{\"/var/log/httpd/error_log\"})" +# FUZZY #. type: table #: doc/guix.texi:18710 -#, fuzzy msgid "The @code{ErrorLog} to which the server will log errors." -msgstr "El grupo como el que el servidor responderá a las peticiones." +msgstr "El fichero @code{ErrorLog} en el que el servidor registrará los errores." #. type: item #: doc/guix.texi:18711 @@ -36100,14 +36112,13 @@ msgstr "@code{extra-config} (predeterminadas: @code{(list \"TypesConfig etc/http #. type: table #: doc/guix.texi:18720 -#, fuzzy msgid "A flat list of strings and G-expressions which will be added to the end of the configuration file." -msgstr "Una lista de cadenas u objetos «tipo-fichero» que denota otros ficheros que deben incluirse al inicio del fichero de configuración." +msgstr "Una lista de cadenas y expresiones-G que se añadirán al final del fichero de configuración." #. type: table #: doc/guix.texi:18723 msgid "Any values which the service is extended with will be appended to this list." -msgstr "" +msgstr "Los valores con los que se extiende el servicio se añaden al final de esta lista." #. type: deffn #: doc/guix.texi:18727 @@ -36117,15 +36128,14 @@ msgstr "{Tipo de datos} httpd-virtualhost" #. type: deffn #: doc/guix.texi:18729 -#, fuzzy msgid "This data type represents a virtualhost configuration block for the httpd service." -msgstr "Este tipo de datos representa la configuración del servicio httpd." +msgstr "Este tipo de datos representa un bloque de configuración de máquina virtual del servicio httpd." +# FUZZY #. type: deffn #: doc/guix.texi:18731 -#, fuzzy msgid "These should be added to the extra-config for the httpd-service." -msgstr "Este tipo de datos representa la configuración del servicio httpd." +msgstr "Se deben añadir a la configuración adicional extra-config del servicio httpd-service." #. type: code{#1} #: doc/guix.texi:18743 @@ -36136,7 +36146,7 @@ msgstr "addresses-and-ports" #. type: table #: doc/guix.texi:18745 msgid "The addresses and ports for the @code{VirtualHost} directive." -msgstr "" +msgstr "Las direcciones y puertos de la directiva @code{VirtualHost}." #. type: code{#1} #: doc/guix.texi:18746 @@ -36147,7 +36157,7 @@ msgstr "contents" #. type: table #: doc/guix.texi:18749 msgid "The contents of the @code{VirtualHost} directive, this should be a list of strings and G-expressions." -msgstr "" +msgstr "El contenido de la directiva @code{VirtualHost}; debe ser una lista de cadenas y expresiones-G." #. type: subsubheading #: doc/guix.texi:18753 @@ -36187,7 +36197,7 @@ msgstr "" #. type: deffn #: doc/guix.texi:18773 msgid "In addition to adding server blocks to the service configuration directly, this service can be extended by other services to add server blocks, as in this example:" -msgstr "" +msgstr "Además de añadiendo bloques de servidor a la configuración del servicio de manera directa, este servicio puede extenderse con otros servicios para añadir bloques de servidor, como en este ejemplo:" #. type: example #: doc/guix.texi:18779 @@ -36198,9 +36208,9 @@ msgid "" " (root \"/srv/http/extra-website\")\n" " (try-files (list \"$uri\" \"$uri/index.html\")))))\n" msgstr "" -"(simple-service 'mi-servidor-extra nginx-service-type\n" +"(simple-service 'mi-servidor-adicional nginx-service-type\n" " (list (nginx-server-configuration\n" -" (root \"/srv/http/sitio-extra\")\n" +" (root \"/srv/http/sitio-adicional\")\n" " (try-files (list \"$uri\" \"$uri/index.html\")))))\n" # FUZZY @@ -36218,7 +36228,7 @@ msgstr "{Tipo de datos} nginx-configuration" #. type: deffn #: doc/guix.texi:18795 msgid "This data type represents the configuration for NGinx. Some configuration can be done through this and the other provided record types, or alternatively, a config file can be provided." -msgstr "" +msgstr "Este tipo de datos representa la configuración para NGinx. Alguna configuración puede llevarse a cabo a través de este y otros tipos de registro proporcionados, o de manera alternativa se puede proporcionar un fichero de configuración." #. type: item #: doc/guix.texi:18797 @@ -36240,9 +36250,8 @@ msgstr "@code{log-directory} (predeterminado: @code{\"/var/log/nginx\"})" # FUZZY #. type: table #: doc/guix.texi:18802 -#, fuzzy msgid "The directory to which NGinx will write log files." -msgstr "El directorio al que se debe asociar el sistema de ficheros." +msgstr "Directorio en el que NGinx escribirá los ficheros de registro." #. type: item #: doc/guix.texi:18803 @@ -36253,9 +36262,8 @@ msgstr "@code{run-directory} (predeterminado: @code{\"/var/run/nginx\"})" # FUZZY #. type: table #: doc/guix.texi:18806 -#, fuzzy msgid "The directory in which NGinx will create a pid file, and write temporary files." -msgstr "Directorio en el que se almacena los ficheros de base de datos y relacionados." +msgstr "Directorio en el que NGinx crea el fichero de PID, y escribe ficheros temporales." #. type: item #: doc/guix.texi:18807 @@ -36263,15 +36271,16 @@ msgstr "Directorio en el que se almacena los ficheros de base de datos y relacio msgid "@code{server-blocks} (default: @code{'()})" msgstr "@code{server-blocks} (predeterminados: @code{'()})" +# FUZZY #. type: table #: doc/guix.texi:18811 msgid "A list of @dfn{server blocks} to create in the generated configuration file, the elements should be of type @code{}." -msgstr "" +msgstr "Una lista de @dfn{bloques de servidor} que se crearán en el fichero de configuración generado; los elementos deben ser del tipo @code{}." #. type: table #: doc/guix.texi:18815 msgid "The following example would setup NGinx to serve @code{www.example.com} from the @code{/srv/http/www.example.com} directory, without using HTTPS." -msgstr "" +msgstr "El ejemplo siguiente configura NGinx para proporcionar @code{www.example.com} a partir del directorio @code{/srv/http/www.example.com}, sin usar HTTPS." #. type: item #: doc/guix.texi:18824 @@ -36282,12 +36291,13 @@ msgstr "@code{upstream-blocks} (predeterminados: @code{'()})" #. type: table #: doc/guix.texi:18828 msgid "A list of @dfn{upstream blocks} to create in the generated configuration file, the elements should be of type @code{}." -msgstr "" +msgstr "Una lista de @dfn{bloques upstream} creada en el fichero de configuración generado, los elementos deben ser del tipo @code{}." +# FUZZY #. type: table #: doc/guix.texi:18835 msgid "Configuring upstreams through the @code{upstream-blocks} can be useful when combined with @code{locations} in the @code{} records. The following example creates a server configuration with one location configuration, that will proxy requests to a upstream configuration, which will handle requests with two servers." -msgstr "" +msgstr "La configuración de proveedores a través de @code{upstream-blocks} puede ser útil al combinarse con @code{location} en los registros @code{}. El siguiente ejemplo crea la configuración de un servidor con una configuración de ruta, que hará de intermediaria en las peticiones a la configuración de proveedores, que delegarán las peticiones en dos servidores." #. type: example #: doc/guix.texi:18854 @@ -36311,16 +36321,35 @@ msgid "" " (servers (list \"server1.example.com\"\n" " \"server2.example.com\")))))))\n" msgstr "" +"(service\n" +" nginx-service-type\n" +" (nginx-configuration\n" +" (server-blocks\n" +" (list (nginx-server-configuration\n" +" (server-name '(\"www.example.com\"))\n" +" (root \"/srv/http/www.example.com\")\n" +" (locations\n" +" (list\n" +" (nginx-location-configuration\n" +" (uri \"/ruta1\")\n" +" (body '(\"proxy_pass http://servidor-proxy;\"))))))))\n" +" (upstream-blocks\n" +" (list (nginx-upstream-configuration\n" +" (name \"servidor-proxy\")\n" +" (servers (list \"servidor1.example.com\"\n" +" \"servidor2.example.com\")))))))\n" +# FUZZY #. type: table #: doc/guix.texi:18862 msgid "If a configuration @var{file} is provided, this will be used, rather than generating a configuration file from the provided @code{log-directory}, @code{run-directory}, @code{server-blocks} and @code{upstream-blocks}. For proper operation, these arguments should match what is in @var{file} to ensure that the directories are created when the service is activated." -msgstr "" +msgstr "Si se proporciona un fichero de configuración con @var{file}, se usará este, en vez de generar un fichero de configuración a partir de los parámetros @code{log-directory}, @code{run-directory}, @code{server-blocks} y @code{upstream-blocks} proporcionados. Para conseguir un funcionamiento adecuado, estos parámetros deben corresponder con el contenido de @var{file}, lo que asegura que los directorios se hayan creado durante la activación del servicio." +# FUZZY #. type: table #: doc/guix.texi:18866 msgid "This can be useful if you have an existing configuration file, or it's not possible to do what is required through the other parts of the nginx-configuration record." -msgstr "" +msgstr "Esto puede ser útil si ya dispone de un fichero de configuración, o no es posible hacer lo que necesita con el resto de opciones del registro nginx-configuration." #. type: item #: doc/guix.texi:18867 @@ -36328,10 +36357,11 @@ msgstr "" msgid "@code{server-names-hash-bucket-size} (default: @code{#f})" msgstr "@code{server-names-hash-bucket-size} (predeterminado: @code{#f})" +# FUZZY FUZZY FUZZY #. type: table #: doc/guix.texi:18870 msgid "Bucket size for the server names hash tables, defaults to @code{#f} to use the size of the processors cache line." -msgstr "" +msgstr "Tamaño del cubo para las tablas hash de los nombres de servidor, cuyo valor predeterminado es @code{#f} para que se use el tamaño de la línea de caché de los procesadores." #. type: item #: doc/guix.texi:18871 @@ -36339,15 +36369,16 @@ msgstr "" msgid "@code{server-names-hash-bucket-max-size} (default: @code{#f})" msgstr "@code{server-names-hash-bucket-max-size} (predeterminado: @code{#f})" +# FUZZY FUZZY FUZZY #. type: table #: doc/guix.texi:18873 msgid "Maximum bucket size for the server names hash tables." -msgstr "" +msgstr "Tamaño máximo del cubo para las tablas hash de nombres de servidor." #. type: table #: doc/guix.texi:18877 msgid "Extra content for the @code{http} block. Should be string or a string valued G-expression." -msgstr "" +msgstr "Contenido adicional para el bloque @code{http}. Debe ser una cadena o una expresión-G que evalúe a una cadena." #. type: deftp #: doc/guix.texi:18881 @@ -36369,7 +36400,7 @@ msgstr "@code{listen} (predeterminadas: @code{'(\"80\" \"443 ssl\")})" #. type: table #: doc/guix.texi:18891 msgid "Each @code{listen} directive sets the address and port for IP, or the path for a UNIX-domain socket on which the server will accept requests. Both address and port, or only address or only port can be specified. An address may also be a hostname, for example:" -msgstr "" +msgstr "Cada directiva @code{listen} establece la dirección y el puerto para IP, o la ruta para un socket de dominio de UNIX sobre el que el servidor acepta peticiones. Se puede especificar tanto dirección y puerto como únicamente la dirección o únicamente el puerto. Una dirección puede ser también un nombre de máquina, por ejemplo:" #. type: example #: doc/guix.texi:18894 @@ -36383,10 +36414,11 @@ msgstr "'(\"127.0.0.1:8000\" \"127.0.0.1\" \"8000\" \"*:8000\" \"localhost:8000\ msgid "@code{server-name} (default: @code{(list 'default)})" msgstr "@code{server-name} (predeterminados: @code{(list 'default)})" +# FUZZY #. type: table #: doc/guix.texi:18899 msgid "A list of server names this server represents. @code{'default} represents the default server for connections matching no other server." -msgstr "" +msgstr "Una lista de nombres de servidor que este servidor representa. @code{'default} representa el servidor predeterminado para conexiones que no correspondan a otro servidor." #. type: item #: doc/guix.texi:18900 @@ -36408,7 +36440,7 @@ msgstr "@code{locations} (predeterminado: @code{'()})" #. type: table #: doc/guix.texi:18907 msgid "A list of @dfn{nginx-location-configuration} or @dfn{nginx-named-location-configuration} records to use within this server block." -msgstr "" +msgstr "Una lista de registros @dfn{nginx-location-configuration} o @dfn{nginx-named-location-configuration} usados dentro de este bloque de servidor." #. type: item #: doc/guix.texi:18908 @@ -36416,10 +36448,11 @@ msgstr "" msgid "@code{index} (default: @code{(list \"index.html\")})" msgstr "@code{index} (predeterminado: @code{(list \"index.html\")})" +# FUZZY #. type: table #: doc/guix.texi:18911 msgid "Index files to look for when clients ask for a directory. If it cannot be found, Nginx will send the list of files in the directory." -msgstr "" +msgstr "Ficheros de índice buscados cuando los clientes solicitan un directorio. Si no se encuentra ninguno, Nginx enviará la lista de ficheros del directorio." #. type: item #: doc/guix.texi:18912 @@ -36430,7 +36463,7 @@ msgstr "@code{try-files} (predeterminado: @code{'()})" #. type: table #: doc/guix.texi:18915 msgid "A list of files whose existence is checked in the specified order. @code{nginx} will use the first file it finds to process the request." -msgstr "" +msgstr "Una lista de ficheros cuya existencia se comprueba en el orden especificado. @code{nginx} usará el primer fichero que encuentre para procesar la petición." #. type: item #: doc/guix.texi:18916 @@ -36441,7 +36474,7 @@ msgstr "@code{ssl-certificate} (predeterminado: @code{#f})" #. type: table #: doc/guix.texi:18919 msgid "Where to find the certificate for secure connections. Set it to @code{#f} if you don't have a certificate or you don't want to use HTTPS." -msgstr "" +msgstr "Lugar donde se encuentra el certificado para conexiones seguras. Proporcione @code{#f} si no dispone de un certificado o no desea usar HTTPS." #. type: item #: doc/guix.texi:18920 @@ -36452,7 +36485,7 @@ msgstr "@code{ssl-certificate-key} (predeterminado: @code{#f})" #. type: table #: doc/guix.texi:18923 msgid "Where to find the private key for secure connections. Set it to @code{#f} if you don't have a key or you don't want to use HTTPS." -msgstr "" +msgstr "Lugar donde se encuentra la clave privada para conexiones seguras. Proporcione @code{#f} si no dispone de una clave o no desea usar HTTPS." #. type: item #: doc/guix.texi:18924 @@ -36460,10 +36493,11 @@ msgstr "" msgid "@code{server-tokens?} (default: @code{#f})" msgstr "@code{server-tokens?} (predeterminado: @code{#f})" +# FUZZY #. type: table #: doc/guix.texi:18926 msgid "Whether the server should add its configuration to response." -msgstr "" +msgstr "Determina si el servidor debe añadir su configuración a las respuestas." #. type: item #: doc/guix.texi:18927 @@ -36471,11 +36505,11 @@ msgstr "" msgid "@code{raw-content} (default: @code{'()})" msgstr "@code{raw-content} (predeterminado: @code{'()})" +# FUZZY #. type: table #: doc/guix.texi:18929 -#, fuzzy msgid "A list of raw lines added to the server block." -msgstr "Una lista de servidores remotos a los que conectarse." +msgstr "Una lista de líneas que se añadirán literalmente al bloque del servidor." #. type: deftp #: doc/guix.texi:18933 @@ -36499,10 +36533,11 @@ msgstr "Nombre para este grupo de servidores." msgid "servers" msgstr "servers" +# FUZZY #. type: table #: doc/guix.texi:18948 msgid "Specify the addresses of the servers in the group. The address can be specified as a IP address (e.g.@: @samp{127.0.0.1}), domain name (e.g.@: @samp{backend1.example.com}) or a path to a UNIX socket using the prefix @samp{unix:}. For addresses using an IP address or domain name, the default port is 80, and a different port can be specified explicitly." -msgstr "" +msgstr "Especifica las direcciones de los servidores en el grupo. Las direcciones se pueden proporcionar mediante direcciones IP (por ejemplo @samp{127.0.0.1}), nombres de dominio (por ejemplo @samp{maquina1.example.com}) o rutas de socket de UNIX mediante el prefijo @samp{unix:}. El puerto predeterminado para las direcciones IP o nombres de dominio es el 80, y se puede proporcionar un puerto de manera explícita." #. type: deftp #: doc/guix.texi:18952 @@ -36518,12 +36553,12 @@ msgstr "Tipo de datos que representa la configuración de un bloque @code{locati #. type: table #: doc/guix.texi:18959 msgid "URI which this location block matches." -msgstr "" +msgstr "URI a la que corresponde este bloque de location." #. type: anchor{#1} #: doc/guix.texi:18961 msgid "nginx-location-configuration body" -msgstr "nginx-location-configuration body" +msgstr "cuerpo de nginx-location-configuration" #. type: code{#1} #: doc/guix.texi:18961 doc/guix.texi:18982 @@ -36534,7 +36569,7 @@ msgstr "body" #. type: table #: doc/guix.texi:18968 msgid "Body of the location block, specified as a list of strings. This can contain many configuration directives. For example, to pass requests to a upstream server group defined using an @code{nginx-upstream-configuration} block, the following directive would be specified in the body @samp{(list \"proxy_pass http://upstream-name;\")}." -msgstr "" +msgstr "Cuerpo del bloque de localización «location», especificado como una lista de cadenas. Puede contener muchas directivas de configuración. Por ejemplo, para pasar las peticiones a un grupo de servidores proveedores definido mediante el uso de un bloque @code{nginx-upstream-configuration}, se especificaría la siguiente directiva en el cuerpo @samp{(list \"proxy_pass http://upstream-name;\")}." #. type: deftp #: doc/guix.texi:18972 @@ -36544,20 +36579,20 @@ msgstr "{Tipo de datos} nginx-named-location-configuration" #. type: deftp #: doc/guix.texi:18977 -#, fuzzy msgid "Data type representing the configuration of an nginx named location block. Named location blocks are used for request redirection, and not used for regular request processing. This type has the following parameters:" -msgstr "Tipo de datos que representa la configuración de un bloque @code{location} de nginx. Este tipo tiene los siguientes parámetros:" +msgstr "Tipo de datos que representa la configuración de un bloque de localización con nombre de nginx. Los bloques de localizaciones con nombre se usan para la redirección de peticiones, y no se usan para el procesamiento regular de peticiones. Este tipo tiene los siguientes parámetros:" +# FUZZY #. type: table #: doc/guix.texi:18981 -#, fuzzy msgid "Name to identify this location block." -msgstr "Nombre que identifica este bloque @code{location}." +msgstr "Nombre que identifica este bloque de dirección @code{location}." +# FUZZY #. type: table #: doc/guix.texi:18987 msgid "@xref{nginx-location-configuration body}, as the body for named location blocks can be used in a similar way to the @code{nginx-location-configuration body}. One restriction is that the body of a named location block cannot contain location blocks." -msgstr "" +msgstr "@xref{cuerpo de nginx-location-configuration}, como el cuerpo de los bloques de localizaciones con nombre puede usarse de manera similar al @code{cuerpo de nginx-location-configuration}. Una restricción es que el cuerpo de una localización con nombre no puede contener bloques de localizaciones." #. type: subsubheading #: doc/guix.texi:18991 @@ -36571,10 +36606,11 @@ msgstr "Caché Varnish" msgid "Varnish" msgstr "Varnish" +# FUZZY #. type: Plain text #: doc/guix.texi:18997 msgid "Varnish is a fast cache server that sits in between web applications and end users. It proxies requests from clients and caches the accessed URLs such that multiple requests for the same resource only creates one request to the back-end." -msgstr "" +msgstr "Varnish es un servidor de caché rápida que se coloca entre aplicaciones web y usuarios finales. Hace de intermediario (proxy) en las peticiones de los clientes y almacena en caché las URL a las que se accede de manera que múltiples peticiones al mismo recurso únicamente creen una petición al motor." #. type: defvr #: doc/guix.texi:18998 @@ -36618,12 +36654,12 @@ msgstr "@code{name} (predeterminado: @code{\"default\"})" #. type: table #: doc/guix.texi:19015 msgid "A name for this Varnish instance. Varnish will create a directory in @file{/var/varnish/} with this name and keep temporary files there. If the name starts with a forward slash, it is interpreted as an absolute directory name." -msgstr "" +msgstr "Un nombre para esta instancia de Varnish. Varnish creará un directorio en @file{/var/varnish} con este nombre y mantendrá allí los ficheros temporales. Si el nombre comienza con una barra, se interpreta como un nombre absoluto de directorio." #. type: table #: doc/guix.texi:19018 msgid "Pass the @code{-n} argument to other Varnish programs to connect to the named instance, e.g.@: @command{varnishncsa -n default}." -msgstr "" +msgstr "Proporcione el parámetro @code{-n} a otros programas de Varnish para que se conecten a la instancia de dicho nombre, por ejemplo @command{varnishncsa -n default}." #. type: item #: doc/guix.texi:19019 @@ -36643,10 +36679,11 @@ msgstr "Motor usado. Esta opción no tiene efecto si se usa @code{vcl}." msgid "@code{vcl} (default: #f)" msgstr "@code{vcl} (predeterminado: #f)" +# FUZZY #. type: table #: doc/guix.texi:19027 msgid "The @dfn{VCL} (Varnish Configuration Language) program to run. If this is @code{#f}, Varnish will proxy @code{backend} using the default configuration. Otherwise this must be a file-like object with valid VCL syntax." -msgstr "" +msgstr "El programa @dfn{VCL} (lenguaje de configuración de Varnish) ejecutado. Si se proporciona @code{#f}, Varnish actuará de intermediario (proxy) de @code{backend} usando la configuración predeterminada. En otro caso debe ser un objeto «tipo-fichero» con sintaxis válida para VCL." #. type: table #: doc/guix.texi:19031 @@ -36694,12 +36731,13 @@ msgstr "" #. type: table #: doc/guix.texi:19050 msgid "The configuration of an already running Varnish instance can be inspected and changed using the @command{varnishadm} program." -msgstr "" +msgstr "La configuración de una instancia de Varnish ya en ejecución puede inspeccionarse y cambiarse mediante el uso de la orden @command{varnishadm}." +# FUZZY #. type: table #: doc/guix.texi:19054 msgid "Consult the @url{https://varnish-cache.org/docs/,Varnish User Guide} and @url{https://book.varnish-software.com/4.0/,Varnish Book} for comprehensive documentation on Varnish and its configuration language." -msgstr "" +msgstr "Consulte la @url{https://varnish-cache.org/docs/,guía de usuaria de Varnish} y @url{https://book.varnish-software.com/4.0/,el libro de Varnish} para obtener la documentación completa de Varnish y su lenguaje de configuración." #. type: item #: doc/guix.texi:19055 @@ -36718,10 +36756,11 @@ msgstr "Lista de direcciones en las que Varnish escucha." msgid "@code{storage} (default: @code{'(\"malloc,128m\")})" msgstr "@code{storage} (predeterminado: @code{'(\"malloc,128m\")})" +# FUZZY #. type: table #: doc/guix.texi:19060 msgid "List of storage backends that will be available in VCL." -msgstr "" +msgstr "Lista de motores de almacenamiento que estarán disponibles en VCL." #. type: item #: doc/guix.texi:19061 @@ -36732,7 +36771,7 @@ msgstr "@code{parameters} (predeterminados: @code{'()})" #. type: table #: doc/guix.texi:19063 msgid "List of run-time parameters in the form @code{'((\"parameter\" . \"value\"))}." -msgstr "" +msgstr "Lista de parámetros de tiempo de ejecución con la forma @code{'((\"parámetro\" . \"valor\"))}." #. type: table #: doc/guix.texi:19066 @@ -36760,12 +36799,12 @@ msgstr "fcgiwrap" #. type: Plain text #: doc/guix.texi:19079 msgid "FastCGI is an interface between the front-end and the back-end of a web service. It is a somewhat legacy facility; new web services should generally just talk HTTP between the front-end and the back-end. However there are a number of back-end services such as PHP or the optimized HTTP Git repository access that use FastCGI, so we have support for it in Guix." -msgstr "" +msgstr "FastCGI es una interfaz entre la presentación (front-end) y el motor (back-end) de un servicio web. Es en cierto modo una característica antigua; los nuevos servicios web generalmente únicamente se comunican con HTTP entre ambas partes. No obstante, existe cierto número de servicios de motor como PHP o el acceso HTTP optimizado para repositorios Git que usan FastCGI, por lo que debemos incluirlo en Guix." #. type: Plain text #: doc/guix.texi:19086 msgid "To use FastCGI, you configure the front-end web server (e.g., nginx) to dispatch some subset of its requests to the fastcgi backend, which listens on a local TCP or UNIX socket. There is an intermediary @code{fcgiwrap} program that sits between the actual backend process and the web server. The front-end indicates which backend program to run, passing that information to the @code{fcgiwrap} process." -msgstr "" +msgstr "Para usar FastCGI debe configurar el servidor web de entrada@footnote{NdT: Front-end en inglés.} (por ejemplo, ngnix) para delegar un subconjunto de sus peticiones al motor fastcgi, que escucha en un puerto TCP local o en un socket de UNIX. Existe un programa de intermediación llamado @code{fcgiwrap} que se posiciona entre el proceso del motor y el servidor web. El servidor indica el programa del motor usado, proporcionando dicha información al proceso @code{fcgiwrap}." #. type: defvr #: doc/guix.texi:19087 @@ -36809,7 +36848,7 @@ msgstr "@code{socket} (predeterminado: @code{tcp:127.0.0.1:9000})" #. type: table #: doc/guix.texi:19104 msgid "The socket on which the @code{fcgiwrap} process should listen, as a string. Valid @var{socket} values include @code{unix:@var{/path/to/unix/socket}}, @code{tcp:@var{dot.ted.qu.ad}:@var{port}} and @code{tcp6:[@var{ipv6_addr}]:port}." -msgstr "" +msgstr "El socket donde el proceso @code{fcgiwrap} deba escuchar, como una cadena. Los valores adecuados para @var{socket} socket incluyen @code{unix:@var{/ruta/al/socket/unix}}, @code{tcp:@var{dirección.ip.con.puntos}:@var{puerto}} and @code{tcp6:[@var{dirección_ipv6}]:puerto}." #. type: item #: doc/guix.texi:19105 @@ -36823,15 +36862,18 @@ msgstr "@code{user} (predeterminado: @code{fcgiwrap})" msgid "@code{group} (default: @code{fcgiwrap})" msgstr "@code{group} (predeterminado: @code{fcgiwrap})" +# FUZZY #. type: table #: doc/guix.texi:19111 msgid "The user and group names, as strings, under which to run the @code{fcgiwrap} process. The @code{fastcgi} service will ensure that if the user asks for the specific user or group names @code{fcgiwrap} that the corresponding user and/or group is present on the system." -msgstr "" +msgstr "Los nombres de usuaria y grupo, como cadenas, con los que se ejecutará el proceso @code{fcgiwrap}. El servicio @code{fastcgi} se asegura, en caso de solicitar específicamente el uso de nombres de usuaria o grupo @code{fcgiwrap}, que la usuaria y/o grupo correspondientes se encuentren presentes en el sistema." +# FUZZY FUZZY FUZZY +# TODO (MAAV): Repensar #. type: table #: doc/guix.texi:19118 msgid "It is possible to configure a FastCGI-backed web service to pass HTTP authentication information from the front-end to the back-end, and to allow @code{fcgiwrap} to run the back-end process as a corresponding local user. To enable this capability on the back-end., run @code{fcgiwrap} as the @code{root} user and group. Note that this capability also has to be configured on the front-end as well." -msgstr "" +msgstr "Es posible configurar un servicio web proporcionado por FastCGI para que el servidor de fachada proporcione la información de identificación HTTP al motor, y para ejecutar el proceso del motor como el usuario local correspondiente. Para activar esta funcionalidad en el motor, ejecute @code{fcgiwrap} con la usuaria y grupo @code{root}. Tenga en cuenta de que esta funcionalidad debe configurarse del mismo modo en el servidor de fachada." #. type: cindex #: doc/guix.texi:19121 @@ -36839,10 +36881,12 @@ msgstr "" msgid "php-fpm" msgstr "php-fpm" +# FUZZY +# TODO (MAAV): Site... Repensar. #. type: Plain text #: doc/guix.texi:19124 msgid "PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size." -msgstr "" +msgstr "PHP-FPM (FastCGI Process Manager) es una implementación alternativa de FastCGI en PHP con algunas caracterísiticas adicionales útiles para sitios de cualquier tamaño." #. type: Plain text #: doc/guix.texi:19126 @@ -37002,12 +37046,10 @@ msgstr "Escucha en un socket Unix." msgid "@code{user} (default: @code{php-fpm})" msgstr "@code{user} (predeterminada: @code{php-fpm})" -# FUZZY #. type: table #: doc/guix.texi:19164 -#, fuzzy msgid "User who will own the php worker processes." -msgstr "Grupo de los procesos de trabajo." +msgstr "Usuaria que poseerá los procesos de trabajo de php." #. type: item #: doc/guix.texi:19164 @@ -37027,10 +37069,11 @@ msgstr "Grupo de los procesos de trabajo." msgid "@code{socket-user} (default: @code{php-fpm})" msgstr "@code{socket-user} (predeterminado: @code{php-fpm})" +# FUZZY #. type: table #: doc/guix.texi:19168 msgid "User who can speak to the php-fpm socket." -msgstr "" +msgstr "Usuaria que puede comunicarse con el socket de php-fpm." #. type: item #: doc/guix.texi:19168 @@ -37041,7 +37084,7 @@ msgstr "@code{socket-group} (predeterminado: @code{php-fpm})" #. type: table #: doc/guix.texi:19170 msgid "Group that can speak to the php-fpm socket." -msgstr "" +msgstr "Grupo que puede comunicarse con el socket de php-fpm." #. type: item #: doc/guix.texi:19170 @@ -37049,10 +37092,11 @@ msgstr "" msgid "@code{pid-file} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.pid\")})" msgstr "@code{pid-file} (predeterminado: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.pid\")})" +# FUZZY #. type: table #: doc/guix.texi:19173 msgid "The process id of the php-fpm process is written to this file once the service has started." -msgstr "" +msgstr "El identificador de proceso del proceso de php-fpm se escribe en este fichero cuando se ha iniciado el servicio." #. type: item #: doc/guix.texi:19173 @@ -37063,7 +37107,7 @@ msgstr "@code{log-file} (predeterminado: @code{(string-append \"/var/log/php\" ( #. type: table #: doc/guix.texi:19175 msgid "Log for the php-fpm master process." -msgstr "" +msgstr "Registro del proceso maestro de php-fpm." #. type: item #: doc/guix.texi:19175 @@ -37071,10 +37115,13 @@ msgstr "" msgid "@code{process-manager} (default: @code{(php-fpm-dynamic-process-manager-configuration)})" msgstr "@code{process-manager} (predeterminado: @code{(php-fpm-dynamic-process-manager-configuration)})" +# MAAV: Cuidado, esta traducción no tiene sentido si lo siguiente no son +# tipos. Y no encuentro una forma de traducirlo de forma genérica y que +# me suene bien... #. type: table #: doc/guix.texi:19178 msgid "Detailed settings for the php-fpm process manager. Must be either:" -msgstr "" +msgstr "Configuración detallada para el gestor de procesos php-fpm. Debe ser uno de los siguientes tipos:" #. type: code{#1} #: doc/guix.texi:19179 @@ -37100,10 +37147,11 @@ msgstr "" msgid "@code{display-errors} (default @code{#f})" msgstr "@code{display-errors} (predeterminado @code{#f})" +# FUZZY #. type: table #: doc/guix.texi:19188 msgid "Determines whether php errors and warning should be sent to clients and displayed in their browsers. This is useful for local php development, but a security risk for public sites, as error messages can reveal passwords and personal data." -msgstr "" +msgstr "Determina si los errores y avisos de php deben enviarse a los clientes para que se muestren en sus navegadores. Esto es útil para la programación local con php, pero un riesgo para la seguridad de sitios públicos, ya que los mensajes de error pueden revelar contraseñas y datos personales." #. type: item #: doc/guix.texi:19188 @@ -37114,7 +37162,7 @@ msgstr "@code{timezone} (predeterminado: @code{#f})" #. type: table #: doc/guix.texi:19190 msgid "Specifies @code{php_admin_value[date.timezone]} parameter." -msgstr "" +msgstr "Especifica el parámetro @code{php_admin_value[date.timezone]}." #. type: item #: doc/guix.texi:19190 @@ -37125,7 +37173,7 @@ msgstr "@code{workers-logfile} (predeterminado @code{(string-append \"/var/log/p #. type: table #: doc/guix.texi:19193 msgid "This file will log the @code{stderr} outputs of php worker processes. Can be set to @code{#f} to disable logging." -msgstr "" +msgstr "Este fichero registrará las salidas por @code{stderr} de los procesos de trabajo de php. Puede proporcionarse @code{#f} para desactivar el registro." #. type: item #: doc/guix.texi:19193 @@ -37136,7 +37184,7 @@ msgstr "@code{file} (predeterminado @code{#f})" #. type: table #: doc/guix.texi:19196 msgid "An optional override of the whole configuration. You can use the @code{mixed-text-file} function or an absolute filepath for it." -msgstr "" +msgstr "Sustituye opcionalmente la configuración al completo. Puede usar la función @code{mixed-text-file} o una ruta absoluta de un fichero para hacerlo." #. type: deftp #: doc/guix.texi:19199 @@ -37144,10 +37192,11 @@ msgstr "" msgid "{Data type} php-fpm-dynamic-process-manager-configuration" msgstr "{Tipo de datos} php-fpm-dynamic-process-manager-configuration" +# FUZZY #. type: deftp #: doc/guix.texi:19203 msgid "Data Type for the @code{dynamic} php-fpm process manager. With the @code{dynamic} process manager, spare worker processes are kept around based on it's configured limits." -msgstr "" +msgstr "Tipo de datos para el gestor de procesos @code{dynamic} de php-fpm. Con el gestor de procesos @code{dynamic}, se mantienen procesos de trabajo disponibles en base a los límites configurados." #. type: item #: doc/guix.texi:19204 doc/guix.texi:19220 doc/guix.texi:19230 @@ -37155,12 +37204,10 @@ msgstr "" msgid "@code{max-children} (default: @code{5})" msgstr "@code{max-children} (predeterminados: @code{5})" -# FUZZY #. type: table #: doc/guix.texi:19206 doc/guix.texi:19222 doc/guix.texi:19232 -#, fuzzy msgid "Maximum of worker processes." -msgstr "Grupo de los procesos de trabajo." +msgstr "Número máximo de procesos de trabajo." #. type: item #: doc/guix.texi:19206 @@ -37171,7 +37218,7 @@ msgstr "@code{start-servers} (predeterminados: @code{2})" #. type: table #: doc/guix.texi:19208 msgid "How many worker processes should be started on start-up." -msgstr "" +msgstr "Cuantos procesos de trabajo deben ejecutarse al inicio." #. type: item #: doc/guix.texi:19208 @@ -37182,7 +37229,7 @@ msgstr "@code{min-spare-servers} (predeterminado: @code{1})" #. type: table #: doc/guix.texi:19210 msgid "How many spare worker processes should be kept around at minimum." -msgstr "" +msgstr "Cuantos procesos de trabajo deben mantenerse disponibles como mínimo." #. type: item #: doc/guix.texi:19210 @@ -37193,7 +37240,7 @@ msgstr "@code{max-spare-servers} (predeterminados: @code{3})" #. type: table #: doc/guix.texi:19212 msgid "How many spare worker processes should be kept around at maximum." -msgstr "" +msgstr "Cuantos procesos de trabajo deben mantenerse disponibles como máximo." #. type: deftp #: doc/guix.texi:19215 @@ -37204,7 +37251,7 @@ msgstr "{Tipo de datos} php-fpm-static-process-manager-configuration" #. type: deftp #: doc/guix.texi:19219 msgid "Data Type for the @code{static} php-fpm process manager. With the @code{static} process manager, an unchanging number of worker processes are created." -msgstr "" +msgstr "Tipo de datos para el gestor de procesos @code{static} de php-fpm. Con el gestor de procesos @code{static}, se crea un número fijo de procesos de trabajo." #. type: deftp #: doc/guix.texi:19225 @@ -37215,7 +37262,7 @@ msgstr "{Tipo de datos} php-fpm-on-demand-process-manager-configuration" #. type: deftp #: doc/guix.texi:19229 msgid "Data Type for the @code{on-demand} php-fpm process manager. With the @code{on-demand} process manager, worker processes are only created as requests arrive." -msgstr "" +msgstr "Tipo de datos para el gestor de procesos @code{on-demand} de php-fpm. Con el gestor de procesos @code{on-demand}, se crean procesos de trabajo únicamente cuando se reciben peticiones." #. type: item #: doc/guix.texi:19232 @@ -37223,10 +37270,11 @@ msgstr "" msgid "@code{process-idle-timeout} (default: @code{10})" msgstr "@code{process-idle-timeout} (predeterminado: @code{10})" +# FUZZY FUZZY #. type: table #: doc/guix.texi:19234 msgid "The time in seconds after which a process with no requests is killed." -msgstr "" +msgstr "El tiempo en segundos tras el cual un proceso sin peticiones será eliminado." #. type: deffn #: doc/guix.texi:19238 @@ -37238,6 +37286,8 @@ msgstr "{Procedimiento Scheme} nginx-php-fpm-location @" #: doc/guix.texi:19244 msgid "[#:nginx-package nginx] @ [socket (string-append \"/var/run/php\" @ (version-major (package-version php)) @ \"-fpm.sock\")] A helper function to quickly add php to an @code{nginx-server-configuration}." msgstr "" +"[#:nginx-package nginx] @ [socket (string-append \"/var/run/php\" @ (version-major (package-version php)) @ \"-fpm.sock\")]\n" +"Función auxiliar para añadir php a una configuración @code{nginx-server-configuration} rápidamente." #. type: Plain text #: doc/guix.texi:19247 @@ -37283,7 +37333,7 @@ msgstr "cat-avatar-generator" #. type: Plain text #: doc/guix.texi:19266 msgid "The cat avatar generator is a simple service to demonstrate the use of php-fpm in @code{Nginx}. It is used to generate cat avatar from a seed, for instance the hash of a user's email address." -msgstr "" +msgstr "El generadores de avatares de gato es un servicio simple para demostrar el uso de php-fpm en @code{Nginx}. Se usa para generar un avatar de gato desde una semilla, por ejemplo el hash de la dirección de correo de la usuaria." #. type: deffn #: doc/guix.texi:19267 @@ -37291,16 +37341,18 @@ msgstr "" msgid "{Scheme Procedure} cat-avatar-generator-service @" msgstr "{Procedimiento Scheme} cat-avatar-generator-service @" +# FUZZY #. type: deffn #: doc/guix.texi:19275 msgid "[#:cache-dir \"/var/cache/cat-avatar-generator\"] @ [#:package cat-avatar-generator] @ [#:configuration (nginx-server-configuration)] Returns an nginx-server-configuration that inherits @code{configuration}. It extends the nginx configuration to add a server block that serves @code{package}, a version of cat-avatar-generator. During execution, cat-avatar-generator will be able to use @code{cache-dir} as its cache directory." msgstr "" +"[#:cache-dir \"/var/cache/cat-avatar-generator\"] @ [#:package cat-avatar-generator] @ [#:configuration (nginx-server-configuration)]\n" +"Devuelve una configuración de nginx-server-configuration que hereda de @code{configuration}. Extiende la configuración de nginx para añadir un bloque de servidor que proporciona @code{package}, una versión de cat-avatar-generator. Durante su ejecución, cat-avatar-generator podrá usar @code{cache-dir} como su directorio de caché." #. type: Plain text #: doc/guix.texi:19278 -#, fuzzy msgid "A simple setup for cat-avatar-generator can look like this:" -msgstr "Una configuración simple de servicios para nginx con php puede ser más o menos así:" +msgstr "Una configuración simple para cat-avatar-generator puede ser más o menos así:" #. type: example #: doc/guix.texi:19285 @@ -37332,10 +37384,11 @@ msgstr "Hpcguix-web" msgid "hpcguix-web" msgstr "hpcguix-web" +# FUZZY #. type: Plain text #: doc/guix.texi:19294 msgid "The @uref{hpcguix-web, https://github.com/UMCUGenetics/hpcguix-web/} program is a customizable web interface to browse Guix packages, initially designed for users of high-performance computing (HPC) clusters." -msgstr "" +msgstr "El programa @uref{hpcguix-web, https://github.com/UMCUGenetics/hpcguix-web/} es una interfaz web personalizable para buscar paquetes de Guix, diseñado inicialmente para usuarias de clusters de computación de alto rendimiento (HPC)." #. type: defvr #: doc/guix.texi:19295 @@ -37368,7 +37421,7 @@ msgstr "specs" #. type: table #: doc/guix.texi:19306 msgid "A gexp (@pxref{G-Expressions}) specifying the hpcguix-web service configuration. The main items available in this spec are:" -msgstr "" +msgstr "Una expresión-G (@pxref{G-Expressions}) que especifica la configuración del servicio hpcguix-web. Los elementos principales en esta especificación son:" #. type: item #: doc/guix.texi:19308 @@ -37398,11 +37451,11 @@ msgstr "La orden @command{guix}." msgid "@code{package-filter-proc} (default: @code{(const #t)})" msgstr "@code{package-filter-proc} (predeterminado: @code{(const #t)})" +# FUZZY #. type: table #: doc/guix.texi:19316 -#, fuzzy msgid "A procedure specifying how to filter packages that are displayed." -msgstr "Especificar como se construyen los paquetes." +msgstr "Un procedimiento que especifica cómo filtrar los paquetes mostrados." #. type: item #: doc/guix.texi:19317 @@ -37435,7 +37488,7 @@ msgstr "@code{channels} (predeterminados: @code{%default-channels})" #. type: table #: doc/guix.texi:19325 msgid "List of channels from which the package list is built (@pxref{Channels})." -msgstr "" +msgstr "Lista de canales desde los que se construye la lista de paquetes (@pxref{Channels})." #. type: item #: doc/guix.texi:19326 @@ -37446,12 +37499,12 @@ msgstr "@code{package-list-expiration} (predeterminado: @code{(* 12 3600)})" #. type: table #: doc/guix.texi:19329 msgid "The expiration time, in seconds, after which the package list is rebuilt from the latest instances of the given channels." -msgstr "" +msgstr "El tiempo de expiración, en segundos, tras el cual la lista de paquetes se reconstruye desde las últimas instancias de los canales proporcionados." #. type: table #: doc/guix.texi:19334 msgid "See the hpcguix-web repository for a @uref{https://github.com/UMCUGenetics/hpcguix-web/blob/master/hpcweb-configuration.scm, complete example}." -msgstr "" +msgstr "Véase el repositorio de hpcguix-web para un @uref{https://github.com/UMCUGenetics/hpcguix-web/blob/master/hpcweb-configuration.scm, ejemplo completo}." #. type: item #: doc/guix.texi:19335 @@ -37464,10 +37517,11 @@ msgstr "@code{package} (predeterminado: @code{hpcguix-web})" msgid "The hpcguix-web package to use." msgstr "El paquete hpcguix-web usado." +# FUZZY #. type: Plain text #: doc/guix.texi:19341 msgid "A typical hpcguix-web service declaration looks like this:" -msgstr "" +msgstr "Una declaración típica del servicio hpcguix-web es más o menos así:" #. type: example #: doc/guix.texi:19350 @@ -37489,15 +37543,16 @@ msgstr "" " (title-prefix \"Guix-HPC - \")\n" " (menu '((\"/about\" \"ABOUT\"))))))))\n" +# FUZZY #. type: quotation #: doc/guix.texi:19357 msgid "The hpcguix-web service periodically updates the package list it publishes by pulling channels from Git. To that end, it needs to access X.509 certificates so that it can authenticate Git servers when communicating over HTTPS, and it assumes that @file{/etc/ssl/certs} contains those certificates." -msgstr "" +msgstr "El servicio hpcguix-web actualiza periódicamente la lista de paquetes que publica obteniendo canales con Git. Para ello, necesita acceder a certificados X.509 de manera que pueda validar los servidores Git durante la comunicación con HTTPS, y asume que @file{/etc/ssl/certs} contiene dichos certificados." #. type: quotation #: doc/guix.texi:19361 msgid "Thus, make sure to add @code{nss-certs} or another certificate package to the @code{packages} field of your configuration. @ref{X.509 Certificates}, for more information on X.509 certificates." -msgstr "" +msgstr "Por lo tanto, asegúrese de añadir @code{nss-certs} u otro paquete de certificados al campo @code{packages} de su configuración. @ref{X.509 Certificates}, para más información sobre certificados X.509." #. type: cindex #: doc/guix.texi:19366 @@ -37533,22 +37588,24 @@ msgstr "El módulo @code{(gnu services certbot)} proporciona un servicio para la #. type: Plain text #: doc/guix.texi:19388 msgid "@url{https://letsencrypt.org/, Let's Encrypt} provides the @code{certbot} tool to automate the certification process. This tool first securely generates a key on the server. It then makes a request to the Let's Encrypt certificate authority (CA) to sign the key. The CA checks that the request originates from the host in question by using a challenge-response protocol, requiring the server to provide its response over HTTP. If that protocol completes successfully, the CA signs the key, resulting in a certificate. That certificate is valid for a limited period of time, and therefore to continue to provide TLS services, the server needs to periodically ask the CA to renew its signature." -msgstr "" +msgstr "@url{https://letsencrypt.org/, Let's Encrypt} proporciona la herramienta @code{certbot} para automatizar el proceso de certificación. Esta herramienta genera primero de manera segura una clave en el servidor. Una vez hecho realiza una petición a la autoridad de certificación (AC, CA en inglés) Let's Encrypt para que firme la clave. La AC comprueba que la petición se origina en la máquina en cuestión mediante un protocolo de desafío-respuesta, esperando que el servidor proporcione su respuesta a través de HTTP. Si dicho protocolo se completa de manera satisfactoria, la AC firma la clave, resultando en un certificado. Dicho certificado es válido por un periodo de tiempo limitado y, por tanto, para continuar proporcionando servicios TLS, el servidor necesita solicitar a la AC periódicamente la renovación de su firma." #. type: Plain text #: doc/guix.texi:19395 msgid "The certbot service automates this process: the initial key generation, the initial certification request to the Let's Encrypt service, the web server challenge/response integration, writing the certificate to disk, the automated periodic renewals, and the deployment tasks associated with the renewal (e.g.@: reloading services, copying keys with different permissions)." -msgstr "" +msgstr "El servicio certbot automatiza este proceso: la generación inicial de la clave, la petición inicial de certificación al servicio Let's Encrypt, la integración del desafío/respuesta en el servidor web, la escritura del certificado en disco, las renovaciones periódicas automáticas y el despliegue de tareas asociadas con la renovación (por ejemplo la recarga de servicios y la copia de claves con diferentes permisos)." +# FUZZY #. type: Plain text #: doc/guix.texi:19401 msgid "Certbot is run twice a day, at a random minute within the hour. It won't do anything until your certificates are due for renewal or revoked, but running it regularly would give your service a chance of staying online in case a Let's Encrypt-initiated revocation happened for some reason." -msgstr "" +msgstr "Certbot se ejecuta dos veces al día, en un minuto aleatorio dentro de la hora. No hará nada hasta que sus certificados estén pendientes de renovación o sean revocados, pero su ejecución regular propociona a su servicio la oportunidad de permanecer en línea en caso de que se produzca una revocación iniciada por Let's Encrypt por alguna razón." +# FUZZY #. type: Plain text #: doc/guix.texi:19405 msgid "By using this service, you agree to the ACME Subscriber Agreement, which can be found there: @url{https://acme-v01.api.letsencrypt.org/directory}." -msgstr "" +msgstr "Mediante el uso de este servicio, usted acepta el acuerdo de suscripción ACME, que se puede encontrar aquí: @url{https://acme-v01.api.letsencrypt.org/directory}." #. type: defvr #: doc/guix.texi:19406 @@ -37558,9 +37615,8 @@ msgstr "{Variable Scheme} certbot-service-type" #. type: defvr #: doc/guix.texi:19409 -#, fuzzy msgid "A service type for the @code{certbot} Let's Encrypt client. Its value must be a @code{certbot-configuration} record as in this example:" -msgstr "Este es el tipo de servicio del servicio @uref{https://unix4lyfe.org/darkstat/, darkstat}, su valor debe ser un registro @code{darkstat-configuration} como en este ejemplo:" +msgstr "Un tipo de servicio para el cliente de Let's Encrypt @code{certbot}. Su valor debe ser un registro @code{certbot-configuration} como en este ejemplo:" #. type: example #: doc/guix.texi:19416 @@ -37573,9 +37629,9 @@ msgid "" " (kill pid SIGHUP))))\n" "\n" msgstr "" -"(define %nginx-deploy-hook\n" +"(define %procedimiento-de-despliegue-nginx\n" " (program-file\n" -" \"nginx-deploy-hook\"\n" +" \"procedimiento-de-despliegue-nginx\"\n" " #~(let ((pid (call-with-input-file \"/var/run/nginx/pid\" read)))\n" " (kill pid SIGHUP))))\n" "\n" @@ -37602,7 +37658,7 @@ msgstr "" " (list\n" " (certificate-configuration\n" " (domains '(\"example.net\" \"www.example.net\"))\n" -" (deploy-hook %nginx-deploy-hook))\n" +" (deploy-hook %procedimiento-de-despliegue-nginx))\n" " (certificate-configuration\n" " (domains '(\"bar.example.net\")))))))\n" @@ -37642,9 +37698,8 @@ msgstr "@code{webroot} (predeterminado: @code{/var/www})" # FUZZY #. type: table #: doc/guix.texi:19443 -#, fuzzy msgid "The directory from which to serve the Let's Encrypt challenge/response files." -msgstr "Directorio en el que se almacena los ficheros de base de datos y relacionados." +msgstr "Directorio desde el que se proporcionan los ficheros de desafío/respuesta de Let's Encrypt." #. type: item #: doc/guix.texi:19444 @@ -37655,12 +37710,13 @@ msgstr "@code{certificates} (predeterminados: @code{()})" #. type: table #: doc/guix.texi:19448 msgid "A list of @code{certificates-configuration}s for which to generate certificates and request signatures. Each certificate has a @code{name} and several @code{domains}." -msgstr "" +msgstr "Una lista de configuraciones @code{certificates-configuration} para los cuales se generan certificados y se solicitan firmas. Cada certificado tiene un nombre (@code{name}) y varios dominios (@code{domains})." +# FUZZY #. type: table #: doc/guix.texi:19452 msgid "Mandatory email used for registration, recovery contact, and important account notifications." -msgstr "" +msgstr "Correo electrónico obligatorio usado para el registro, contacto de recuperación y notificaciones importantes de la cuenta." #. type: item #: doc/guix.texi:19453 @@ -37677,27 +37733,29 @@ msgstr "Tamaño de la clave RSA." #: doc/guix.texi:19456 #, no-wrap msgid "@code{default-location} (default: @i{see below})" -msgstr "@code{default-location} (predeterminada: @i{vea a continuación})" +msgstr "@code{default-location} (predeterminada: @i{véase a continuación})" #. type: table #: doc/guix.texi:19465 msgid "The default @code{nginx-location-configuration}. Because @code{certbot} needs to be able to serve challenges and responses, it needs to be able to run a web server. It does so by extending the @code{nginx} web service with an @code{nginx-server-configuration} listening on the @var{domains} on port 80, and which has a @code{nginx-location-configuration} for the @code{/.well-known/} URI path subspace used by Let's Encrypt. @xref{Web Services}, for more on these nginx configuration data types." -msgstr "" +msgstr "La configuración @code{nginx-location-configuration} predeterminada. Debido a que @code{certbot} necesita proporcionar desafíos y respuestas, necesita ser capaz de ejecutar un servidor web. Se lleva a cabo extendiendo el servicio web @code{nginx} con una configuración @code{nginx-server-configuration} que escucha en los dominios @var{domains} en el puerto 80, y que contiene una configuración @code{nginx-location-configuration} para el subespacio de rutas URI @code{/.well-known/} usado por Let's Encrypt. @xref{Web Services}, para más información sobre estos tipos de datos de configuración de nginx." +# FUZZY #. type: table #: doc/guix.texi:19469 msgid "Requests to other URL paths will be matched by the @code{default-location}, which if present is added to all @code{nginx-server-configuration}s." -msgstr "" +msgstr "Las peticiones a otras rutas URL se compararán contra la dirección predeterminada @code{default-location}, la cual, en caso de estar presente, se añade a todas las configuraciones @code{nginx-server-configuration}." +# FUZZY #. type: table #: doc/guix.texi:19473 msgid "By default, the @code{default-location} will issue a redirect from @code{http://@var{domain}/...} to @code{https://@var{domain}/...}, leaving you to define what to serve on your site via @code{https}." -msgstr "" +msgstr "De manera predeterminada, la dirección predeterminada @code{default-location} emitirá una redirección @code{http://@var{dominio}/...} a @code{https://@var{dominio}/...}, permitiendole definir qué proporcionar en su sitio a través de @code{https}." #. type: table #: doc/guix.texi:19475 msgid "Pass @code{#f} to not issue a default location." -msgstr "" +msgstr "Proporcione @code{#f} para no emitir una dirección predeterminada." #. type: deftp #: doc/guix.texi:19478 @@ -37719,12 +37777,12 @@ msgstr "@code{name} (predeterminado: @i{vea a continuación})" #. type: table #: doc/guix.texi:19487 msgid "This name is used by Certbot for housekeeping and in file paths; it doesn't affect the content of the certificate itself. To see certificate names, run @code{certbot certificates}." -msgstr "" +msgstr "Este nombre se usa por Certbot para su mantenimiento interno y en las rutas de ficheros; no afecta al contenido del certificado en sí mismo. Para ver los nombres de certificados, ejecute @code{certbot certificates}." #. type: table #: doc/guix.texi:19489 msgid "Its default is the first provided domain." -msgstr "" +msgstr "Su valor predeterminado es el primer dominio proporcionado." #. type: item #: doc/guix.texi:19490 @@ -37732,10 +37790,11 @@ msgstr "" msgid "@code{domains} (default: @code{()})" msgstr "@code{domains} (predeterminado: @code{()})" +# FUZZY #. type: table #: doc/guix.texi:19493 msgid "The first domain provided will be the subject CN of the certificate, and all domains will be Subject Alternative Names on the certificate." -msgstr "" +msgstr "El primer dominio proporcionado será el sujecto del nombre común (CN) del certificado, y todos los dominios seran nombres alternativos (Subject Alternative Names) en el certificado." #. type: item #: doc/guix.texi:19494 @@ -37746,7 +37805,7 @@ msgstr "@code{challenge} (predeterminado: @code{#f})" #. type: table #: doc/guix.texi:19499 msgid "The challenge type that has to be run by certbot. If @code{#f} is specified, default to the HTTP challenge. If a value is specified, defaults to the manual plugin (see @code{authentication-hook}, @code{cleanup-hook} and the documentation at @url{https://certbot.eff.org/docs/using.html#hooks})." -msgstr "" +msgstr "El tipo de desafío que debe ejecutar certbot. Si se especifica @code{#f}, el valor por omisión es desafío HTTP. Si se especifica un valor, el valor por omisión es el módulo manual (véase @code{authentication-hook}, @code{cleanup-hook} y la documentación en @url{https://certbot.eff.org/docs/using.html#hooks})." #. type: item #: doc/guix.texi:19500 @@ -37754,10 +37813,11 @@ msgstr "" msgid "@code{authentication-hook} (default: @code{#f})" msgstr "@code{authentication-hook} (predeterminado: @code{#t})" +# FUZZY #. type: table #: doc/guix.texi:19506 msgid "Command to be run in a shell once for each certificate challenge to be answered. For this command, the shell variable @code{$CERTBOT_DOMAIN} will contain the domain being authenticated, @code{$CERTBOT_VALIDATION} contains the validation string and @code{$CERTBOT_TOKEN} contains the file name of the resource requested when performing an HTTP-01 challenge." -msgstr "" +msgstr "Orden ejecutada en un shell una vez por cada desafío de certificado que debe contestarse. Durante su ejecución, la variable del shell @code{$CERTBOT_DOMAIN} contiene el dominio que se está validando, @code{$CERTBOT_VALIDATION} contiene la cadena de validación y @code{$CERTBOT_TOKEN} contiene el nombre de fichero del recurso solicitado cuando se realiza el desafío HTTP-01." #. type: item #: doc/guix.texi:19507 @@ -37765,10 +37825,11 @@ msgstr "" msgid "@code{cleanup-hook} (default: @code{#f})" msgstr "@code{cleanup-hook} (predeterminado: @code{#f})" +# FUZZY FUZZY FUZZY #. type: table #: doc/guix.texi:19513 msgid "Command to be run in a shell once for each certificate challenge that have been answered by the @code{auth-hook}. For this command, the shell variables available in the @code{auth-hook} script are still available, and additionally @code{$CERTBOT_AUTH_OUTPUT} will contain the standard output of the @code{auth-hook} script." -msgstr "" +msgstr "Orden ejecutada en un shell una vez por cada desafío de certificado que haya sido contestado por @code{auth-hook}. Durante su ejecución, las variables del shell disponibles en el script @code{auth-hook} todavía están disponibles, y adicionalmente @code{$CERTBOT_AUTH_OUTPUT} contendrá la salida estándar que produjo @code{auth-hook}." #. type: item #: doc/guix.texi:19514 @@ -37779,12 +37840,12 @@ msgstr "@code{deploy-hook} (predeterminado: @code{#f})" #. type: table #: doc/guix.texi:19522 msgid "Command to be run in a shell once for each successfully issued certificate. For this command, the shell variable @code{$RENEWED_LINEAGE} will point to the config live subdirectory (for example, @samp{\"/etc/letsencrypt/live/example.com\"}) containing the new certificates and keys; the shell variable @code{$RENEWED_DOMAINS} will contain a space-delimited list of renewed certificate domains (for example, @samp{\"example.com www.example.com\"}." -msgstr "" +msgstr "Orden ejecutada en un shell una vez por cada certificado emitido satisfactoriamente. Durante su ejecución, la variable del shell @code{$RENEWED_LINEAGE} apuntará al subdirectorio live de configuración (por ejemplo, @samp{\"/etc/letsencrypt/live/example.com\"}) que contiene las nuevas claves y certificados; la variable del shell @code{$RENEWED_DOMAINS} contendrá una lista delimitada por espacios de certificados de dominio renovados (por ejemplo, @samp{\"example.com www.example.com\"})." #. type: Plain text #: doc/guix.texi:19529 msgid "For each @code{certificate-configuration}, the certificate is saved to @code{/etc/letsencrypt/live/@var{name}/fullchain.pem} and the key is saved to @code{/etc/letsencrypt/live/@var{name}/privkey.pem}." -msgstr "" +msgstr "Para cada configuración @code{certificate-configuration}, el certificado se almacena @code{/etc/letsencrypt/live/@var{name}/fullchain.pem} y la clave se almacena en @code{/etc/letsencrypt/live/@var{name}/privkey.pem}." #. type: cindex #: doc/guix.texi:19531 @@ -37811,10 +37872,11 @@ msgstr "El módulo @code{(gnu services dns)} proporciona servicios relacionados msgid "Knot Service" msgstr "Servicio Knot" +# FUZZY FUZZY #. type: Plain text #: doc/guix.texi:19545 msgid "An example configuration of an authoritative server for two zones, one master and one slave, is:" -msgstr "" +msgstr "Esta es una configuración de ejemplo de un servidor de autoridad para dos zonas, una maestra y otra esclava:" # FUZZY #. type: lisp @@ -37926,16 +37988,16 @@ msgstr "{Variable Scheme} knot-service-type" msgid "This is the type for the Knot DNS server." msgstr "Este es el tipo de datos para el servidor DNS Knot." +# FUZZY #. type: deffn #: doc/guix.texi:19591 msgid "Knot DNS is an authoritative DNS server, meaning that it can serve multiple zones, that is to say domain names you would buy from a registrar. This server is not a resolver, meaning that it can only resolve names for which it is authoritative. This server can be configured to serve zones as a master server or a slave server as a per-zone basis. Slave zones will get their data from masters, and will serve it as an authoritative server. From the point of view of a resolver, there is no difference between master and slave." -msgstr "" +msgstr "Knot DNS es un servidor de autoridad de DNS, lo que significa que puede servir múltiples zonas, es decir, nombres de dominio que compraría a una autoridad de registro de nombres. Este servidor no es un resolvedor, lo que significa que sólo puede resolver nombres para los que tiene autoridad. Este servidor puede configurarse para servir zonas como servidor maestro o como servidor esclavo con una granularidad al nivel de zona. Las zonas esclavas obtendrán sus datos de los servidores maestros, y las proporcionarán como un servidor de autoridad. Desde el punto de vista de un resolvedor, no hay diferencia entre servidor maestro y esclavo." #. type: deffn #: doc/guix.texi:19593 -#, fuzzy msgid "The following data types are used to configure the Knot DNS server:" -msgstr "Este es el tipo de datos para el servidor DNS Knot." +msgstr "Los siguientes tipos de datos se usan para configurar el servidor DNS Knot:" #. type: deftp #: doc/guix.texi:19595 @@ -37958,7 +38020,7 @@ msgstr "@code{id} (predeterminado: @code{\"\"})" #. type: table #: doc/guix.texi:19603 msgid "An identifier for other configuration fields to refer to this key. IDs must be unique and must not be empty." -msgstr "" +msgstr "Un identificador para que otros campos de configuración hagan referencia a esta clave. Los identificadores deben ser únicos y no deben estar vacíos." #. type: item #: doc/guix.texi:19604 @@ -37966,10 +38028,11 @@ msgstr "" msgid "@code{algorithm} (default: @code{#f})" msgstr "@code{algorithm} (predeterminado: @code{#f})" +# FUZZY #. type: table #: doc/guix.texi:19608 msgid "The algorithm to use. Choose between @code{#f}, @code{'hmac-md5}, @code{'hmac-sha1}, @code{'hmac-sha224}, @code{'hmac-sha256}, @code{'hmac-sha384} and @code{'hmac-sha512}." -msgstr "" +msgstr "El algoritmo usado. Debe seleccionarse entre @code{#f}, @code{'hmac-md5}, @code{'hmac-sha1}, @code{'hmac-sha224}, @code{'hmac-sha256}, @code{'hmac-sha384} y @code{'hmac-sha512}." #. type: item #: doc/guix.texi:19609 @@ -37993,10 +38056,11 @@ msgstr "{Tipo de datos} knot-acl-configuration" msgid "Data type representing an Access Control List (ACL) configuration. This type has the following parameters:" msgstr "Tipo de datos que representa una configuración de lista de control de acceso (ACL). Este tipo tiene los siguientes parámetros:" +# TODO: Enviar parche! #. type: table #: doc/guix.texi:19623 msgid "An identifier for ether configuration fields to refer to this key. IDs must be unique and must not be empty." -msgstr "" +msgstr "Un identificador para que otros campos de configuración hagan referencia a esta clave. Los identificadores deben ser únicos y no deben estar vacíos." #. type: item #: doc/guix.texi:19624 doc/guix.texi:19739 @@ -38004,10 +38068,11 @@ msgstr "" msgid "@code{address} (default: @code{'()})" msgstr "@code{address} (predeterminada: @code{'()})" +# FUZZY FUZZY #. type: table #: doc/guix.texi:19628 msgid "An ordered list of IP addresses, network subnets, or network ranges represented with strings. The query must match one of them. Empty value means that address match is not required." -msgstr "" +msgstr "Lista ordenada de direcciones IP, subredes o rangos de red representadas como cadenas. La búsqueda debe corresponder con alguna. El valor vacío significa que la comprobación de correspondencia de la dirección no es necesaria." #. type: item #: doc/guix.texi:19629 @@ -38015,10 +38080,11 @@ msgstr "" msgid "@code{key} (default: @code{'()})" msgstr "@code{key} (predeterminada: @code{'()})" +# FUZZY FUZZY #. type: table #: doc/guix.texi:19633 msgid "An ordered list of references to keys represented with strings. The string must match a key ID defined in a @code{knot-key-configuration}. No key means that a key is not require to match that ACL." -msgstr "" +msgstr "Lista ordenada de referencias a claves representadas como cadenas. La cadena debe corresponder con un ID de clave definido en @code{knot-key-configuration}. Ninguna clave significa que la comprobación de claves no es necesaria para este control de acceso (ACL)." #. type: item #: doc/guix.texi:19634 @@ -38029,7 +38095,7 @@ msgstr "@code{action} (predeterminada: @code{'()})" #. type: table #: doc/guix.texi:19638 msgid "An ordered list of actions that are permitted or forbidden by this ACL. Possible values are lists of zero or more elements from @code{'transfer}, @code{'notify} and @code{'update}." -msgstr "" +msgstr "Lista ordenada de acciones que se permiten o prohiben por este control de acceso (ACL). Los valores posibles son listas de cero o más elementos entre @code{'transfer}, @code{'notify} y @code{'update}." #. type: item #: doc/guix.texi:19639 @@ -38037,10 +38103,11 @@ msgstr "" msgid "@code{deny?} (default: @code{#f})" msgstr "@code{deny?} (predeterminado: @code{#f})" +# FUZZY #. type: table #: doc/guix.texi:19642 msgid "When true, the ACL defines restrictions. Listed actions are forbidden. When false, listed actions are allowed." -msgstr "" +msgstr "Cuando es verdadero, este ACL define restricciones. Las acciones enumeradas no se permiten. Cuando es falso, las acciones enumeradas se permiten." #. type: deftp #: doc/guix.texi:19646 @@ -38062,7 +38129,7 @@ msgstr "@code{name} (predeterminado: @code{\"@@\"})" #. type: table #: doc/guix.texi:19657 msgid "The name of the record. @code{\"@@\"} refers to the origin of the zone. Names are relative to the origin of the zone. For example, in the @code{example.org} zone, @code{\"ns.example.org\"} actually refers to @code{ns.example.org.example.org}. Names ending with a dot are absolute, which means that @code{\"ns.example.org.\"} refers to @code{ns.example.org}." -msgstr "" +msgstr "El nombre del registro. @code{\"@@\"} hace referencia al origen de la zona. Los nombres son relativos al origen de la zona. Por ejemplo, en la zona @code{example.org}, @code{\"ns.example.org\"} en realidad hace referencia a @code{ns.example.org.example.org}. Los nombres que terminan en un punto se consideran absolutos, lo que significa que @code{\"ns.example.org.\"} hace referencia a @code{ns.example.org}." #. type: item #: doc/guix.texi:19658 @@ -38073,7 +38140,7 @@ msgstr "@code{ttl} (predeterminado: @code{\"\"})" #. type: table #: doc/guix.texi:19660 msgid "The Time-To-Live (TTL) of this record. If not set, the default TTL is used." -msgstr "" +msgstr "El tiempo de vida (TTL) de este registro. Si no se proporciona, se usa el TTL predeterminado." #. type: item #: doc/guix.texi:19661 @@ -38084,7 +38151,7 @@ msgstr "@code{class} (predeterminada: @code{\"IN\"})" #. type: table #: doc/guix.texi:19664 msgid "The class of the record. Knot currently supports only @code{\"IN\"} and partially @code{\"CH\"}." -msgstr "" +msgstr "La clase del registro. Actualmente Knot implementa únicamente @code{\"IN\"} y parcialmente @code{\"CH\"}." #. type: item #: doc/guix.texi:19665 @@ -38092,10 +38159,11 @@ msgstr "" msgid "@code{type} (default: @code{\"A\"})" msgstr "@code{type} (predeterminado: @code{\"A\"})" +# FUZZY #. type: table #: doc/guix.texi:19669 msgid "The type of the record. Common types include A (IPv4 address), AAAA (IPv6 address), NS (Name Server) and MX (Mail eXchange). Many other types are defined." -msgstr "" +msgstr "El tipo del registro. Los tipos comunes incluyen A (dirección IPv4), AAAA (dirección IPv6), NS (servidor de nombres@footnote{Name Server en inglés.}) y MX (pasarela de correo@footnote{Mail eXchange en inglés}). Otros muchos tipos distintos se encuentran definidos." #. type: item #: doc/guix.texi:19670 @@ -38106,7 +38174,7 @@ msgstr "@code{data} (predeterminados: @code{\"\"})" #. type: table #: doc/guix.texi:19674 msgid "The data contained in the record. For instance an IP address associated with an A record, or a domain name associated with an NS record. Remember that domain names are relative to the origin unless they end with a dot." -msgstr "" +msgstr "Los datos que contiene el registro. Por ejemplo, una dirección IP asociada con un registro A, o un nombre de dominio asociado con un registro NS. Recuerde que los nombres de dominio son relativos al origen a menos que terminen con punto." #. type: deftp #: doc/guix.texi:19678 @@ -38119,10 +38187,12 @@ msgstr "{Tipo de datos} zone-file" msgid "Data type representing the content of a zone file. This type has the following parameters:" msgstr "Tipo de datos que representa el contenido de un fichero de zona. Este tipo tiene los siguientes parámetros:" +# FUZZY +# TODO (MAAV): Revisar traducción. #. type: table #: doc/guix.texi:19690 msgid "The list of entries. The SOA record is taken care of, so you don't need to put it in the list of entries. This list should probably contain an entry for your primary authoritative DNS server. Other than using a list of entries directly, you can use @code{define-zone-entries} to define a object containing the list of entries more easily, that you can later pass to the @code{entries} field of the @code{zone-file}." -msgstr "" +msgstr "La lista de entradas. El registro SOA se genera automáticamente, por lo que no necesita ponerlo en la lista de entradas. Esta lista probablemente debería contener una entrada apuntando a su servidor DNS de autoridad. En vez de usar una lista de entradas directamente, puede usar @code{define-zone-entries} para definir un objeto que contenga la lista de entradas más fácilmente, que posteriormente puede proporcionar en el campo @code{entries} del fichero @code{zone-file}." #. type: item #: doc/guix.texi:19691 @@ -38133,7 +38203,7 @@ msgstr "@code{origin} (predeterminado: @code{\"\"})" #. type: table #: doc/guix.texi:19693 msgid "The name of your zone. This parameter cannot be empty." -msgstr "" +msgstr "El nombre de su zona. Este parámetro no puede estar vacío." #. type: item #: doc/guix.texi:19694 @@ -38141,10 +38211,11 @@ msgstr "" msgid "@code{ns} (default: @code{\"ns\"})" msgstr "@code{ns} (predeterminado: @code{\"ns\"})" +# FUZZY FUZZY #. type: table #: doc/guix.texi:19699 msgid "The domain of your primary authoritative DNS server. The name is relative to the origin, unless it ends with a dot. It is mandatory that this primary DNS server corresponds to an NS record in the zone and that it is associated to an IP address in the list of entries." -msgstr "" +msgstr "El dominio de su servidor DNS primario de autoridad. El nombre es relativo al origen, a menos que termine en punto. Es obligatorio que este servidor DNS primario corresponda con un registro NS en la zona y que esté asociado a una dirección IP en la lista de entradas." #. type: item #: doc/guix.texi:19700 @@ -38155,7 +38226,7 @@ msgstr "@code{mail} (predeterminado: @code{\"hostmaster\"})" #. type: table #: doc/guix.texi:19703 msgid "An email address people can contact you at, as the owner of the zone. This is translated as @code{@@}." -msgstr "" +msgstr "Dirección de correo a través de la cual la gente puede contactar con usted, como propietaria de la zona. Se traduce a @code{@@}." #. type: item #: doc/guix.texi:19704 @@ -38163,10 +38234,11 @@ msgstr "" msgid "@code{serial} (default: @code{1})" msgstr "@code{serial} (predeterminado: @code{1})" +# FUZZY FUZZY #. type: table #: doc/guix.texi:19708 msgid "The serial number of the zone. As this is used to keep track of changes by both slaves and resolvers, it is mandatory that it @emph{never} decreases. Always increment it when you make a change in your zone." -msgstr "" +msgstr "Número serie de la zona. Como se usa para tener constancia de los cambios tanto en servidores esclavos como en resolvedores, es obligatorio que @emph{nunca} decremente. Incrementelo siempre que haga cambios en su zona." #. type: item #: doc/guix.texi:19709 @@ -38177,7 +38249,7 @@ msgstr "@code{refresh} (predeterminado: @code{(* 2 24 3600)})" #. type: table #: doc/guix.texi:19713 msgid "The frequency at which slaves will do a zone transfer. This value is a number of seconds. It can be computed by multiplications or with @code{(string->duration)}." -msgstr "" +msgstr "La frecuencia con la que los servidores esclavos realizarán una transferencia de zona. Este valor es un número de segundos. Puede calcularse con multiplicaciones o con @code{(string->duration)}." #. type: item #: doc/guix.texi:19714 @@ -38188,7 +38260,7 @@ msgstr "@code{retry} (predeterminado: @code{(* 15 60)})" #. type: table #: doc/guix.texi:19717 msgid "The period after which a slave will retry to contact its master when it fails to do so a first time." -msgstr "" +msgstr "El periodo tras el cual un servidor esclavo reintentará el contacto con su maestro cuando falle al intentarlo la primera vez." #. type: item #: doc/guix.texi:19718 @@ -38196,10 +38268,12 @@ msgstr "" msgid "@code{expiry} (default: @code{(* 14 24 3600)})" msgstr "@code{expiry} (predeterminado: @code{(* 14 24 3600)})" +# FUZZY FUZZY +# TODO (MAAV): Resolvedor? #. type: table #: doc/guix.texi:19722 msgid "Default TTL of records. Existing records are considered correct for at most this amount of time. After this period, resolvers will invalidate their cache and check again that it still exists." -msgstr "" +msgstr "Tiempo de vida (TTL) predeterminado de los registros. Los registros existentes se consideran correctos durante al menos este periodo de tiempo. Tras este periodo, los resolvedores invalidarán su caché y comprobarán de nuevo que todavía exista." #. type: item #: doc/guix.texi:19723 @@ -38210,7 +38284,7 @@ msgstr "@code{nx} (predeterminado: @code{3600})" #. type: table #: doc/guix.texi:19726 msgid "Default TTL of inexistant records. This delay is usually short because you want your new domains to reach everyone quickly." -msgstr "" +msgstr "Tiempo de vida (TTL) de los registros inexistentes. Este retraso es habitualmente corto ya que deseará que sus nuevos dominios estén disponibles para cualquiera rápidamente." #. type: deftp #: doc/guix.texi:19730 @@ -38226,12 +38300,12 @@ msgstr "Tipo de datos que representa una configuración remota. Este tipo tiene #. type: table #: doc/guix.texi:19738 msgid "An identifier for other configuration fields to refer to this remote. IDs must be unique and must not be empty." -msgstr "" +msgstr "Un identificador para que otros campos de configuración hagan referencia a esta configuración remota. Los identificadores deben ser únicos y no deben estar vacíos." #. type: table #: doc/guix.texi:19743 msgid "An ordered list of destination IP addresses. Addresses are tried in sequence. An optional port can be given with the @@ separator. For instance: @code{(list \"1.2.3.4\" \"2.3.4.5@@53\")}. Default port is 53." -msgstr "" +msgstr "Una lista ordenada de direcciones IP de destino. Las direcciones se prueban en secuencia. Opcionalmente se puede proporcionar el puerto con el separador @@. Por ejemplo: @code{(list \"1.2.3.4\" \"2.3.4.5@@53\")}. El puerto predeterminado es el 53." #. type: item #: doc/guix.texi:19744 @@ -38242,7 +38316,7 @@ msgstr "@code{via} (predeterminada: @code{'()})" #. type: table #: doc/guix.texi:19748 msgid "An ordered list of source IP addresses. An empty list will have Knot choose an appropriate source IP. An optional port can be given with the @@ separator. The default is to choose at random." -msgstr "" +msgstr "Una lista ordenada de direcciones IP de fuente. Una lista vacía hará que Knot seleccione una fuente IP apropiada. Opcionalmente se puede proporcionar el puerto con el separador @@. De manera predeterminada se selecciona al azar." #. type: item #: doc/guix.texi:19749 @@ -38253,7 +38327,7 @@ msgstr "@code{key} (predeterminada: @code{#f})" #. type: table #: doc/guix.texi:19752 msgid "A reference to a key, that is a string containing the identifier of a key defined in a @code{knot-key-configuration} field." -msgstr "" +msgstr "Referencia a una clave, esto es una cadena que contiene el identificador de una clave definida en el campo @code{knot-key-configuration}." #. type: deftp #: doc/guix.texi:19756 @@ -38261,16 +38335,16 @@ msgstr "" msgid "{Data Type} knot-keystore-configuration" msgstr "{Tipo de datos} knot-keystore-configuration" +# FUZZY #. type: deftp #: doc/guix.texi:19759 -#, fuzzy msgid "Data type representing a keystore to hold dnssec keys. This type has the following parameters:" -msgstr "Tipo de datos que representa una clave. Este tipo tiene los siguientes parámetros:" +msgstr "Tipo de datos que representa un almacén de claves para alojar claves de dnssec. Este tipo tiene los siguientes parámetros:" #. type: table #: doc/guix.texi:19763 msgid "The id of the keystore. It must not be empty." -msgstr "" +msgstr "El identificador del almacén de claves. No debe estar vacío." #. type: item #: doc/guix.texi:19764 @@ -38289,10 +38363,11 @@ msgstr "El motor en el que se almacenan las claves. Puede ser @code{'pem} o @cod msgid "@code{config} (default: @code{\"/var/lib/knot/keys/keys\"})" msgstr "@code{config} (predeterminada: @code{\"/var/lib/knot/keys/keys\"})" +# FUZZY #. type: table #: doc/guix.texi:19771 msgid "The configuration string of the backend. An example for the PKCS#11 is: @code{\"pkcs11:token=knot;pin-value=1234 /gnu/store/.../lib/pkcs11/libsofthsm2.so\"}. For the pem backend, the string reprensents a path in the file system." -msgstr "" +msgstr "La cadena de configuración del motor. Un ejemplo para PKCS#11 es: @code{\"pkcs11:token=knot;pin-value=1234 /gnu/store/.../lib/pkcs11/libsofthsm2.so\"}. La cadena representa una ruta en el sistema de ficheros para el motor pem." #. type: deftp #: doc/guix.texi:19775 @@ -38300,30 +38375,32 @@ msgstr "" msgid "{Data Type} knot-policy-configuration" msgstr "{Tipo de datos} knot-policy-configuration" +# FUZZY #. type: deftp #: doc/guix.texi:19779 msgid "Data type representing a dnssec policy. Knot DNS is able to automatically sign your zones. It can either generate and manage your keys automatically or use keys that you generate." -msgstr "" +msgstr "Tipo de datos que representa una política de dnssec. El DNS Knot es capaz de firmar automáticamente sus zonas. Puede generar y gestionar sus claves de manerá automática o usar las claves que usted genere." #. type: deftp #: doc/guix.texi:19786 msgid "Dnssec is usually implemented using two keys: a Key Signing Key (KSK) that is used to sign the second, and a Zone Signing Key (ZSK) that is used to sign the zone. In order to be trusted, the KSK needs to be present in the parent zone (usually a top-level domain). If your registrar supports dnssec, you will have to send them your KSK's hash so they can add a DS record in their zone. This is not automated and need to be done each time you change your KSK." -msgstr "" +msgstr "Dnssec se implementa habitualmente usando dos claves: una clave para firma de claves (KSK) que se usa para firmar la segunda, y una clave para firma de zona (ZSK) que se usa para firmar la zona. Para establecer la confianza, la KSK necesita estar presente en la zona padre (habitualmente un dominio de nivel superior). Si su entidad de registro permite dnssec, debe mandarle el hash de su KSK de manera que puedan añadir un registro DS en su zona. No es automático y debe realizarse cada vez que cambie su KSK." #. type: deftp #: doc/guix.texi:19792 msgid "The policy also defines the lifetime of keys. Usually, ZSK can be changed easily and use weaker cryptographic functions (they use lower parameters) in order to sign records quickly, so they are changed often. The KSK however requires manual interaction with the registrar, so they are changed less often and use stronger parameters because they sign only one record." -msgstr "" +msgstr "La política también define el tiempo de vida de las claves. Habitualmente, la ZSK puede cambiarse fácilmente y usa funciones criptográficas más débiles (usa parámetros de menor magnitud) para firmar los registros rápidamente, ya que cambian habitualmente. No obstante, la KSK requiere interacción manual con la entidad de registro, por lo que se cambia menos habitualmente y usa parámetros más fuertes debido a que únicamente firma un registro." #. type: deftp #: doc/guix.texi:19794 msgid "This type has the following parameters:" msgstr "Este tipo tiene los siguientes parámetros:" +# FUZZY #. type: table #: doc/guix.texi:19798 msgid "The id of the policy. It must not be empty." -msgstr "" +msgstr "El identificador de la política. No debe estar vacío." #. type: item #: doc/guix.texi:19799 @@ -38334,7 +38411,7 @@ msgstr "@code{keystore} (predeterminado: @code{\"default\"})" #. type: table #: doc/guix.texi:19804 msgid "A reference to a keystore, that is a string containing the identifier of a keystore defined in a @code{knot-keystore-configuration} field. The @code{\"default\"} identifier means the default keystore (a kasp database that was setup by this service)." -msgstr "" +msgstr "Referencia a un almacén de claves, es decir una cadena que contiene el identificador de un almacén de claves definido en un campo de @code{knot-keystore-configuration}. El identificador predeterminado @code{\"default\"} implica el uso del almacén de claves predeterminado (una base de datos kasp que se configura para este servicio)." #. type: item #: doc/guix.texi:19805 @@ -38345,7 +38422,7 @@ msgstr "@code{manual?} (predeterminado: @code{#f})" #. type: table #: doc/guix.texi:19807 msgid "Whether the key management is manual or automatic." -msgstr "" +msgstr "Si la gestión de claves es manual o automática." #. type: item #: doc/guix.texi:19808 @@ -38356,7 +38433,7 @@ msgstr "@code{single-type-signing?} (predeterminado: @code{#f})" #. type: table #: doc/guix.texi:19810 msgid "When @code{#t}, use the Single-Type Signing Scheme." -msgstr "" +msgstr "Cuando sea @code{#t}, usa el esquema de firma de tipo único (Single-Type Signing Scheme)." #. type: item #: doc/guix.texi:19811 @@ -38364,10 +38441,11 @@ msgstr "" msgid "@code{algorithm} (default: @code{\"ecdsap256sha256\"})" msgstr "@code{algorithm} (predeterminado: @code{\"ecdsap256sha256\"})" +# FUZZY #. type: table #: doc/guix.texi:19813 msgid "An algorithm of signing keys and issued signatures." -msgstr "" +msgstr "Algoritmo para las claves de firma y las firmas emitidas." #. type: item #: doc/guix.texi:19814 @@ -38378,7 +38456,7 @@ msgstr "@code{ksk-size} (predeterminado: @code{256})" #. type: table #: doc/guix.texi:19817 msgid "The length of the KSK. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms." -msgstr "" +msgstr "La longitud de la KSK. Fíjese que este valor es correcto para el algoritmo predeterminado, pero sería inseguro para otros algoritmos." #. type: item #: doc/guix.texi:19818 @@ -38389,7 +38467,7 @@ msgstr "@code{zsk-size} (predeterminado: @code{256})" #. type: table #: doc/guix.texi:19821 msgid "The length of the ZSK. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms." -msgstr "" +msgstr "La longitud de la ZSK. Fíjese que este valor es correcto para el algoritmo predeterminado, pero sería inseguro para otros algoritmos." #. type: item #: doc/guix.texi:19822 @@ -38400,7 +38478,7 @@ msgstr "@code{dnskey-ttl} (predeterminado: @code{'default})" #. type: table #: doc/guix.texi:19825 msgid "The TTL value for DNSKEY records added into zone apex. The special @code{'default} value means same as the zone SOA TTL." -msgstr "" +msgstr "El valor del tiempo de vida (TTL) de los registros DNSKEY añadidos al «apex» de la zona. El valor especial @code{'default} significa el mismo valor que el TTL del SOA de la zona." #. type: item #: doc/guix.texi:19826 @@ -38408,10 +38486,11 @@ msgstr "" msgid "@code{zsk-lifetime} (default: @code{(* 30 24 3600)})" msgstr "@code{zsk-lifetime} (predeterminado: @code{(* 30 24 3600)})" +# FUZZY #. type: table #: doc/guix.texi:19828 msgid "The period between ZSK publication and the next rollover initiation." -msgstr "" +msgstr "El periodo entre la publicación de la ZSK y el inicio del siguiente ciclo de renovación." #. type: item #: doc/guix.texi:19829 @@ -38419,10 +38498,11 @@ msgstr "" msgid "@code{propagation-delay} (default: @code{(* 24 3600)})" msgstr "@code{propagation-delay} (predeterminado: @code{(* 24 3600)})" +# FUZZY #. type: table #: doc/guix.texi:19832 msgid "An extra delay added for each key rollover step. This value should be high enough to cover propagation of data from the master server to all slaves." -msgstr "" +msgstr "Retraso adicional añadido por cada paso del ciclo de renovación de clave. Este valor debe ser suficientemente alto para cubrir la propagación de datos del servidor maestro a todos los esclavos." #. type: item #: doc/guix.texi:19833 @@ -38430,10 +38510,11 @@ msgstr "" msgid "@code{rrsig-lifetime} (default: @code{(* 14 24 3600)})" msgstr "@code{rrsig-lifetime} (predeterminado: @code{(* 14 24 3600)})" +# FUZZY #. type: table #: doc/guix.texi:19835 msgid "A validity period of newly issued signatures." -msgstr "" +msgstr "Periodo de validez para las nuevas firmas emitidas." #. type: item #: doc/guix.texi:19836 @@ -38444,7 +38525,7 @@ msgstr "@code{rrsig-refresh} (predeterminado: @code{(* 7 24 3600)})" #. type: table #: doc/guix.texi:19838 msgid "A period how long before a signature expiration the signature will be refreshed." -msgstr "" +msgstr "Periodo de antelación con el que se realiza el refresco de la firma antes de una expiración de la misma." #. type: item #: doc/guix.texi:19839 @@ -38452,10 +38533,11 @@ msgstr "" msgid "@code{nsec3?} (default: @code{#f})" msgstr "@code{nsec3?} (predeterminado: @code{#f})" +# FUZZY #. type: table #: doc/guix.texi:19841 msgid "When @code{#t}, NSEC3 will be used instead of NSEC." -msgstr "" +msgstr "Si es @code{#t}, se usa NSEC3 en vez de NSEC." #. type: item #: doc/guix.texi:19842 @@ -38463,10 +38545,11 @@ msgstr "" msgid "@code{nsec3-iterations} (default: @code{5})" msgstr "@code{nsec3-iterations} (predeterminado: @code{5})" +# FUZZY FUZZY #. type: table #: doc/guix.texi:19844 msgid "The number of additional times the hashing is performed." -msgstr "" +msgstr "Número de ejecuciones adicionales de la operación de hash." #. type: item #: doc/guix.texi:19845 @@ -38474,10 +38557,11 @@ msgstr "" msgid "@code{nsec3-salt-length} (default: @code{8})" msgstr "@code{nsec3-salt-length} (predeterminado: @code{8})" +# FUZZY #. type: table #: doc/guix.texi:19848 msgid "The length of a salt field in octets, which is appended to the original owner name before hashing." -msgstr "" +msgstr "La longitud del campo «salt» en octetos, que se añade al nombre de la propietaria original antes de ejecutar la operación de hash." #. type: item #: doc/guix.texi:19849 @@ -38485,10 +38569,11 @@ msgstr "" msgid "@code{nsec3-salt-lifetime} (default: @code{(* 30 24 3600)})" msgstr "@code{nsec3-salt-lifetime} (predeterminado: @code{(* 30 24 3600)})" +# FUZZY FUZZY FUZZY #. type: table #: doc/guix.texi:19851 msgid "The validity period of newly issued salt field." -msgstr "" +msgstr "El periodo de validez de los campos «salt» que se generen." #. type: deftp #: doc/guix.texi:19855 @@ -38507,10 +38592,11 @@ msgstr "Tipo de datos que representa una zona ofrecida por Knot. Este tipo tiene msgid "@code{domain} (default: @code{\"\"})" msgstr "@code{domain} (predeterminado: @code{\"\"})" +# FUZZY FUZZY #. type: table #: doc/guix.texi:19862 msgid "The domain served by this configuration. It must not be empty." -msgstr "" +msgstr "El dominio ofrecido con esta configuración. No debe estar vacío." #. type: item #: doc/guix.texi:19863 @@ -38521,7 +38607,7 @@ msgstr "@code{file} (predeterminado: @code{\"\"})" #. type: table #: doc/guix.texi:19866 msgid "The file where this zone is saved. This parameter is ignored by master zones. Empty means default location that depends on the domain name." -msgstr "" +msgstr "El fichero donde se almacena esta zona. Este parámetro se ignora para zonas maestras. Vacío significa la ruta predeterminada que depende del nombre del dominio." #. type: item #: doc/guix.texi:19867 @@ -38529,10 +38615,11 @@ msgstr "" msgid "@code{zone} (default: @code{(zone-file)})" msgstr "@code{zone} (predeterminado: @code{(zone-file)})" +# FUZZY #. type: table #: doc/guix.texi:19870 msgid "The content of the zone file. This parameter is ignored by slave zones. It must contain a zone-file record." -msgstr "" +msgstr "El contenido del fichero de zona. Este parámetro se ignora para zonas esclavas. Debe contener un registro de fichero de zona." #. type: item #: doc/guix.texi:19871 @@ -38543,7 +38630,7 @@ msgstr "@code{master} (predeterminado: @code{'()})" #. type: table #: doc/guix.texi:19874 msgid "A list of master remotes. When empty, this zone is a master. When set, this zone is a slave. This is a list of remotes identifiers." -msgstr "" +msgstr "Lista de maestros remotos. Cuando está vacía, esta zona es maestra. Cuando tiene contenido, esta zona es esclava. Es una lista de identificadores remotos." #. type: item #: doc/guix.texi:19875 @@ -38554,7 +38641,7 @@ msgstr "@code{ddns-master} (predeterminado: @code{#f})" #. type: table #: doc/guix.texi:19878 msgid "The main master. When empty, it defaults to the first master in the list of masters." -msgstr "" +msgstr "Maestro principal. Cuando está vacío, apunta de manera predeterminada al primer maestro en la lista de maestros." #. type: item #: doc/guix.texi:19879 @@ -38565,7 +38652,7 @@ msgstr "@code{notify} (predeterminado: @code{'()})" #. type: table #: doc/guix.texi:19881 msgid "A list of slave remote identifiers." -msgstr "" +msgstr "Una lista de identificadores remotos de esclavos." #. type: item #: doc/guix.texi:19882 @@ -38573,10 +38660,11 @@ msgstr "" msgid "@code{acl} (default: @code{'()})" msgstr "@code{acl} (predeterminado: @code{'()})" +# FUZZY FUZZY #. type: table #: doc/guix.texi:19884 msgid "A list of acl identifiers." -msgstr "" +msgstr "Lista de identicadores acl." #. type: item #: doc/guix.texi:19885 @@ -38587,7 +38675,7 @@ msgstr "@code{semantic-checks?} (predeterminado: @code{#f})" #. type: table #: doc/guix.texi:19887 msgid "When set, this adds more semantic checks to the zone." -msgstr "" +msgstr "Cuando es verdadero, añade más comprobaciones semánticas a la zona." #. type: item #: doc/guix.texi:19888 @@ -38598,7 +38686,7 @@ msgstr "@code{disable-any?} (predeterminado: @code{#f})" #. type: table #: doc/guix.texi:19890 msgid "When set, this forbids queries of the ANY type." -msgstr "" +msgstr "Cuando es verdadero, no permite consultas de tipo ANY." #. type: item #: doc/guix.texi:19891 @@ -38609,7 +38697,7 @@ msgstr "@code{zonefile-sync} (predeterminado: @code{0})" #. type: table #: doc/guix.texi:19894 msgid "The delay between a modification in memory and on disk. 0 means immediate synchronization." -msgstr "" +msgstr "El retraso entre una modificación en memoria y en disco. 0 significa sincronización inmediata." #. type: item #: doc/guix.texi:19895 @@ -38620,47 +38708,47 @@ msgstr "@code{zonefile-load} (predeterminado: @code{#f})" #. type: table #: doc/guix.texi:19898 msgid "The way the zone file contents are applied during zone load. Possible values are:" -msgstr "" +msgstr "La forma en la que los contenidos del fichero de zona se aplican durante la carga de la zona. Los valores posibles son:" #. type: item #: doc/guix.texi:19900 #, no-wrap msgid "@code{#f} for using the default value from Knot," -msgstr "" +msgstr "@code{#f} para obtener el valor predeterminado de Knot," #. type: item #: doc/guix.texi:19901 #, no-wrap msgid "@code{'none} for not using the zone file at all," -msgstr "" +msgstr "@code{'none} para no usar el fichero de zona en absoluto," #. type: item #: doc/guix.texi:19902 #, no-wrap msgid "@code{'difference} for computing the difference between already available" -msgstr "" +msgstr "@code{'difference} para calcular la diferencia entre los contenidos disponibles" #. type: itemize #: doc/guix.texi:19904 msgid "contents and zone contents and applying it to the current zone contents," -msgstr "" +msgstr "actualmente y los contenidos de la zona y los aplica a los contenidos actuales de la zona actual," #. type: item #: doc/guix.texi:19904 #, no-wrap msgid "@code{'difference-no-serial} for the same as @code{'difference}, but" -msgstr "" +msgstr "@code{'difference-no-serial} es igual que @code{'difference}, pero" #. type: itemize #: doc/guix.texi:19907 msgid "ignoring the SOA serial in the zone file, while the server takes care of it automatically." -msgstr "" +msgstr "ignora el código serie SOA en el fichero de zona, mientras que el servidor se hace cargo de él de manera automática." #. type: item #: doc/guix.texi:19907 #, no-wrap msgid "@code{'whole} for loading zone contents from the zone file." -msgstr "" +msgstr "@code{'whole} para cargar los contenidos de la zona del fichero de zona." #. type: item #: doc/guix.texi:19910 @@ -38671,7 +38759,7 @@ msgstr "@code{journal-content} (predeterminado: @code{'()})" #. type: table #: doc/guix.texi:19915 msgid "The way the journal is used to store zone and its changes. Possible values are @code{'none} to not use it at all, @code{'changes} to store changes and @code{'all} to store contents. @code{#f} does not set this option, so the default value from Knot is used." -msgstr "" +msgstr "La forma en la que se usa el diario para almacenar la zona y sus cambios. Los posibles valores son @code{'none} para no usarlo en absoluto, @code{'changes} para almacenar los cambios y @code{'all} para almacenar los contenidos. @code{#f} proporciona un valor a esta opción, por lo que se usa el valor predeterminado de Knot." #. type: item #: doc/guix.texi:19916 @@ -38682,7 +38770,7 @@ msgstr "@code{max-journal-usage} (predeterminado: @code{#f})" #. type: table #: doc/guix.texi:19919 msgid "The maximum size for the journal on disk. @code{#f} does not set this option, so the default value from Knot is used." -msgstr "" +msgstr "Tamaño máximo del diario en disco. @code{#f} no proporciona un valor a esta opción, por lo que se usa el valor predeterminado de Knot." #. type: item #: doc/guix.texi:19920 @@ -38693,7 +38781,7 @@ msgstr "@code{max-journal-depth} (predeterminado: @code{#f})" #. type: table #: doc/guix.texi:19923 msgid "The maximum size of the history. @code{#f} does not set this option, so the default value from Knot is used." -msgstr "" +msgstr "Tamaño máximo de la historia. @code{#f} proporciona un valor a esta opción, por lo que se usa el valor predeterminado de Knot." #. type: item #: doc/guix.texi:19924 @@ -38704,7 +38792,7 @@ msgstr "@code{max-zone-size} (predeterminado: @code{#f})" #. type: table #: doc/guix.texi:19928 msgid "The maximum size of the zone file. This limit is enforced for incoming transfer and updates. @code{#f} does not set this option, so the default value from Knot is used." -msgstr "" +msgstr "Tamaño máximo del fichero de zona. Este límite se usa para transferencias entrantes y actualizaciones. @code{#f} no proporciona un valor a esta opción, por lo que se usa el valor predeterminado de Knot." #. type: item #: doc/guix.texi:19929 @@ -38715,7 +38803,7 @@ msgstr "@code{dnssec-policy} (predeterminado: @code{#f})" #. type: table #: doc/guix.texi:19933 msgid "A reference to a @code{knot-policy-configuration} record, or the special name @code{\"default\"}. If the value is @code{#f}, there is no dnssec signing on this zone." -msgstr "" +msgstr "Una referencia a un registro de @code{knot-policy-configuration}, o el nombre especial @code{\"default\"}. Si el valor es @code{#f}, no se realiza firma dnssec en esta zona." #. type: item #: doc/guix.texi:19934 @@ -38723,10 +38811,11 @@ msgstr "" msgid "@code{serial-policy} (default: @code{'increment})" msgstr "@code{serial-policy} (predeterminado: @code{'increment})" +# FUZZY #. type: table #: doc/guix.texi:19936 msgid "A policy between @code{'increment} and @code{'unixtime}." -msgstr "" +msgstr "Una política entre @code{'increment} y @code{'unixtime}." #. type: deftp #: doc/guix.texi:19940 @@ -38759,9 +38848,8 @@ msgstr "@code{run-directory} (predeterminado: @code{\"/var/run/knot\"})" # FUZZY #. type: table #: doc/guix.texi:19950 -#, fuzzy msgid "The run directory. This directory will be used for pid file and sockets." -msgstr "El directorio de ejecución usado. Durante la activación del servicio se creará en caso de no existir." +msgstr "El directorio de ejecución. Este directorio se usará para los ficheros de PID y de sockets." #. type: item #: doc/guix.texi:19951 @@ -38783,12 +38871,12 @@ msgstr "secretos, servicio Knot" #. type: table #: doc/guix.texi:19961 msgid "This can be used to manage secrets out-of-band. For example, secret keys may be stored in an out-of-band file not managed by Guix, and thus not visible in @file{/gnu/store}---e.g., you could store secret key configuration in @file{/etc/knot/secrets.conf} and add this file to the @code{includes} list." -msgstr "" +msgstr "Puede usarse para gestionar secretos fuera de banda. Por ejemplo, las claves secretas pueden almacenarse en un fichero fuera de banda no gestionado por Guix, y por tanto no visible en @file{/gnu/store}---por ejemplo, puede almacenar su configuración de clave secreta en @file{/etc/knot/secrets.conf} e incluir este fichero en la lista @code{includes}." #. type: table #: doc/guix.texi:19963 msgid "It can also be used to add configuration not supported by this interface." -msgstr "" +msgstr "También puede usarse para añadir configuración no implementada por esta interfaz." #. type: item #: doc/guix.texi:19964 @@ -38827,7 +38915,7 @@ msgstr "@code{keys} (predeterminada: @code{'()})" #. type: table #: doc/guix.texi:19975 msgid "The list of knot-key-configuration used by this configuration." -msgstr "" +msgstr "La lista de configuraciones knot-key-configuration usadas por esta configuración." #. type: item #: doc/guix.texi:19976 @@ -38838,7 +38926,7 @@ msgstr "@code{acls} (predeterminado: @code{'()})" #. type: table #: doc/guix.texi:19978 msgid "The list of knot-acl-configuration used by this configuration." -msgstr "" +msgstr "La lista de configuraciones knot-acl-configuration usadas por esta configuración." #. type: item #: doc/guix.texi:19979 @@ -38849,7 +38937,7 @@ msgstr "@code{remotes} (predeterminada: @code{'()})" #. type: table #: doc/guix.texi:19981 msgid "The list of knot-remote-configuration used by this configuration." -msgstr "" +msgstr "La lista de configuraciones knot-remote-configuration usadas por esta configuración." #. type: item #: doc/guix.texi:19982 @@ -38860,7 +38948,7 @@ msgstr "@code{zones} (predeterminada: @code{'()})" #. type: table #: doc/guix.texi:19984 msgid "The list of knot-zone-configuration used by this configuration." -msgstr "" +msgstr "La lista de configuraciones knot-zone-configuration usadas por esta configuración." #. type: subsubheading #: doc/guix.texi:19988 @@ -38924,7 +39012,7 @@ msgstr "@code{no-hosts?} (predeterminado: @code{#f})" #. type: table #: doc/guix.texi:20011 msgid "When true, don't read the hostnames in /etc/hosts." -msgstr "" +msgstr "Cuando es verdadero, no lee los nombres de máquina en /etc/hosts." #. type: item #: doc/guix.texi:20012 @@ -38935,7 +39023,7 @@ msgstr "@code{port} (predeterminado: @code{53})" #. type: table #: doc/guix.texi:20015 msgid "The port to listen on. Setting this to zero completely disables DNS responses, leaving only DHCP and/or TFTP functions." -msgstr "" +msgstr "El puerto sobre el que se escucha. Proporcionar el valor cero deshabilita las respuestas DNS completamente, dejando las funciones DHCP y/o TFTP únicamente." #. type: item #: doc/guix.texi:20016 @@ -38946,7 +39034,7 @@ msgstr "@code{local-service?} (predeterminado: @code{#t})" #. type: table #: doc/guix.texi:20019 msgid "Accept DNS queries only from hosts whose address is on a local subnet, ie a subnet for which an interface exists on the server." -msgstr "" +msgstr "Acepta peticiones DNS únicamente de máquinas cuya dirección esté en una subred local, es decir, subred para la que existe una interfaz en el servidor." #. type: item #: doc/guix.texi:20020 @@ -38965,10 +39053,12 @@ msgstr "Escucha en las direcciones IP proporcionadas." msgid "@code{resolv-file} (default: @code{\"/etc/resolv.conf\"})" msgstr "@code{resolv-file} (predeterminado: @code{\"/etc/resolv.conf\"})" +# FUZZY +# TODO!!! #. type: table #: doc/guix.texi:20025 msgid "The file to read the IP address of the upstream nameservers from." -msgstr "" +msgstr "Fichero en el que se obtienen las direcciones IP de los servidores de nombres desde los que se obtienen datos." #. type: item #: doc/guix.texi:20026 @@ -38979,13 +39069,12 @@ msgstr "@code{no-resolv?} (predeterminado: @code{#f})" #. type: table #: doc/guix.texi:20028 msgid "When true, don't read @var{resolv-file}." -msgstr "" +msgstr "Cuando tiene valor verdadero, no se lee @var{resolv-file}." #. type: table #: doc/guix.texi:20031 -#, fuzzy msgid "Specify IP address of upstream servers directly." -msgstr "Especifica la dirección de correo electrónico de la administradora del servidor." +msgstr "Especifica directamente la dirección IP de los servidores proveedores." #. type: item #: doc/guix.texi:20032 @@ -38996,7 +39085,7 @@ msgstr "@code{cache-size} (predeterminado: @code{150})" #. type: table #: doc/guix.texi:20035 msgid "Set the size of dnsmasq's cache. Setting the cache size to zero disables caching." -msgstr "" +msgstr "Establece el tamaño de la caché de dnsmasq. Proporcionar el valor cero desactiva el almacenamiento en caché." #. type: item #: doc/guix.texi:20036 @@ -39004,10 +39093,11 @@ msgstr "" msgid "@code{negative-cache?} (default: @code{#t})" msgstr "@code{negative-cache?} (predeterminado: @code{#t})" +# FUZZY #. type: table #: doc/guix.texi:20038 msgid "When false, disable negative caching." -msgstr "" +msgstr "Cuando es falso, desactiva la caché negativa." #. type: subsubheading #: doc/guix.texi:20042 @@ -39024,7 +39114,7 @@ msgstr "ddclient" #. type: Plain text #: doc/guix.texi:20048 msgid "The ddclient service described below runs the ddclient daemon, which takes care of automatically updating DNS entries for service providers such as @uref{https://dyn.com/dns/, Dyn}." -msgstr "" +msgstr "El servicio de ddclient descrito a continuación ejecuta el daemon ddclient, que se encarga de actualizar automáticamente entradas DNS para proveedores de servicio como @uref{https://dyn.com/dns/, Dyn}." #. type: Plain text #: doc/guix.texi:20051 @@ -39040,7 +39130,7 @@ msgstr "(service ddclient-service-type)\n" #. type: Plain text #: doc/guix.texi:20063 msgid "Note that ddclient needs to access credentials that are stored in a @dfn{secret file}, by default @file{/etc/ddclient/secrets} (see @code{secret-file} below.) You are expected to create this file manually, in an ``out-of-band'' fashion (you @emph{could} make this file part of the service configuration, for instance by using @code{plain-file}, but it will be world-readable @i{via} @file{/gnu/store}.) See the examples in the @file{share/ddclient} directory of the @code{ddclient} package." -msgstr "" +msgstr "Fíjese que ddclient necesita acceder a las credenciales que se almacenan en un @dfn{fichero de secretos}, de manera predeterminada @file{/etc/ddclient/secrets} (véase @code{secret-file} a continuación). Se espera que genere este fichero manualmente, «fuera de banda» (@emph{puede} incluir este fichero en la configuración del servicio, por ejemplo mediante el uso de @code{plain-file}, pero sera legible por todo el mundo a través de @file{/gnu/store}). Véase los ejemplos en el directorio @file{share/ddclient} del paquete @code{ddclient}." #. type: Plain text #: doc/guix.texi:20067 @@ -39067,7 +39157,7 @@ msgstr "{parámetro de @code{ddclient-configuration}} integer daemon" #. type: deftypevr #: doc/guix.texi:20075 msgid "The period after which ddclient will retry to check IP and domain name." -msgstr "" +msgstr "Periodo tras el cual ddclient reintentará la comprobación de IP y de nombre de dominio." #. type: deftypevr #: doc/guix.texi:20080 @@ -39078,7 +39168,7 @@ msgstr "{parámetro de @code{ddclient-configuration}} boolean syslog" #. type: deftypevr #: doc/guix.texi:20082 msgid "Use syslog for the output." -msgstr "" +msgstr "Usa syslog para la salida." #. type: deftypevr #: doc/guix.texi:20087 @@ -39088,9 +39178,8 @@ msgstr "{parámetro de @code{ddclient-configuration}} string mail" #. type: deftypevr #: doc/guix.texi:20089 -#, fuzzy msgid "Mail to user." -msgstr "VT mínimo usado." +msgstr "Envía por correo a la usuaria." #. type: deftypevr #: doc/guix.texi:20091 doc/guix.texi:20098 doc/guix.texi:21435 @@ -39105,9 +39194,8 @@ msgstr "{parámetro de @code{ddclient-configuration}} string mail-failure" #. type: deftypevr #: doc/guix.texi:20096 -#, fuzzy msgid "Mail failed update to user." -msgstr "Paquete Gitolite usado." +msgstr "Envía por correo las actualizaciones fallidas a la usuaria." #. type: deftypevr #: doc/guix.texi:20101 @@ -39131,10 +39219,11 @@ msgstr "El valor predeterminado es @samp{\"/var/run/ddclient/ddclient.pid\"}." msgid "{@code{ddclient-configuration} parameter} boolean ssl" msgstr "{parámetro de @code{ddclient-configuration}} boolean ssl" +# FUZZY #. type: deftypevr #: doc/guix.texi:20110 msgid "Enable SSL support." -msgstr "" +msgstr "Permite el uso de SSL." #. type: deftypevr #: doc/guix.texi:20115 @@ -39318,7 +39407,7 @@ msgstr "{parámetro de @code{openvpn-client-configuration}} string ca" #. type: deftypevr #: doc/guix.texi:20207 doc/guix.texi:20343 msgid "The certificate authority to check connections against." -msgstr "" +msgstr "La autoridad de certificación contra la que se comprueban las conexiones." #. type: deftypevr #: doc/guix.texi:20209 doc/guix.texi:20345 @@ -39334,7 +39423,7 @@ msgstr "{parámetro de @code{openvpn-client-configuration}} string cert" #. type: deftypevr #: doc/guix.texi:20215 doc/guix.texi:20351 msgid "The certificate of the machine the daemon is running on. It should be signed by the authority given in @code{ca}." -msgstr "" +msgstr "El certificado de la máquina en la que se ejecuta el daemon. Debe estar firmado por la autoridad proporcionada en @code{ca}." #. type: deftypevr #: doc/guix.texi:20217 doc/guix.texi:20353 @@ -39350,7 +39439,7 @@ msgstr "{parámetro de @code{openvpn-client-configuration}} string key" #. type: deftypevr #: doc/guix.texi:20223 doc/guix.texi:20359 msgid "The key of the machine the daemon is running on. It must be the key whose certificate is @code{cert}." -msgstr "" +msgstr "La clave de la máquina en la que se ejecuta el daemon. Debe ser la clave cuyo certificado es @code{cert}." #. type: deftypevr #: doc/guix.texi:20225 doc/guix.texi:20361 @@ -39366,7 +39455,7 @@ msgstr "{parámetro de @code{openvpn-client-configuration}} boolean comp-lzo?" #. type: deftypevr #: doc/guix.texi:20230 doc/guix.texi:20366 msgid "Whether to use the lzo compression algorithm." -msgstr "" +msgstr "Determina si se usa el algoritmo de compresión lzo." #. type: deftypevr #: doc/guix.texi:20235 @@ -39374,10 +39463,11 @@ msgstr "" msgid "{@code{openvpn-client-configuration} parameter} boolean persist-key?" msgstr "{parámetro de @code{openvpn-client-configuration}} boolean persist-key?" +# FUZZY #. type: deftypevr #: doc/guix.texi:20237 doc/guix.texi:20373 msgid "Don't re-read key files across SIGUSR1 or --ping-restart." -msgstr "" +msgstr "No vuelve a leer los ficheros de claves tras la señal SIGUSR1 o --ping-restart." #. type: deftypevr #: doc/guix.texi:20242 @@ -39388,7 +39478,7 @@ msgstr "{parámetro de @code{openvpn-client-configuration}} boolean persist-tun? #. type: deftypevr #: doc/guix.texi:20245 doc/guix.texi:20381 msgid "Don't close and reopen TUN/TAP device or run up/down scripts across SIGUSR1 or --ping-restart restarts." -msgstr "" +msgstr "No cierra y reabre el dispositivo TUN/TAP o ejecuta los guiones de parada e inicio tras los reinicios por SIGUSR1 o --ping-restart." #. type: deftypevr #: doc/guix.texi:20250 @@ -39416,7 +39506,7 @@ msgstr "{parámetro de @code{openvpn-client-configuration}} cliente-tls-auth tls #. type: deftypevr #: doc/guix.texi:20260 doc/guix.texi:20396 msgid "Add an additional layer of HMAC authentication on top of the TLS control channel to protect against DoS attacks." -msgstr "" +msgstr "Añade una capa adicional de verificación HMAC sobre el canal de control TLS para protección contra ataques de denegación de servicio (DoS)." #. type: deftypevr #: doc/guix.texi:20265 @@ -39424,10 +39514,11 @@ msgstr "" msgid "{@code{openvpn-client-configuration} parameter} key-usage verify-key-usage?" msgstr "{parámetro de @code{openvpn-client-configuration}} key-usage verify-key-usage?" +# FUZZY #. type: deftypevr #: doc/guix.texi:20267 msgid "Whether to check the server certificate has server usage extension." -msgstr "" +msgstr "Si se comprueba que el certificado del servidor tenga la extensión de uso de servidor." #. type: deftypevr #: doc/guix.texi:20272 @@ -39435,21 +39526,22 @@ msgstr "" msgid "{@code{openvpn-client-configuration} parameter} bind bind?" msgstr "{parámetro de @code{openvpn-client-configuration}} bind bind?" +# FUZZY #. type: deftypevr #: doc/guix.texi:20274 msgid "Bind to a specific local port number." -msgstr "" +msgstr "Asocación a un puerto local específico." #. type: deftypevr #: doc/guix.texi:20279 #, no-wrap msgid "{@code{openvpn-client-configuration} parameter} resolv-retry resolv-retry?" -msgstr "{parámetro de @code{openvpn-client-configuration}} reintenta-resolv resolv-retry?" +msgstr "{parámetro de @code{openvpn-client-configuration}} resolv-retry resolv-retry?" #. type: deftypevr #: doc/guix.texi:20281 msgid "Retry resolving server address." -msgstr "" +msgstr "Reintentos de resolución de la dirección del servidor." #. type: deftypevr #: doc/guix.texi:20286 @@ -39584,9 +39676,8 @@ msgstr "{parámetro de @code{openvpn-server-configuration}} number port" #. type: deftypevr #: doc/guix.texi:20403 -#, fuzzy msgid "Specifies the port number on which the server listens." -msgstr "Puerto en el que escucha el servidor." +msgstr "Especifica el número de puerto en el que escucha el servidor." #. type: deftypevr #: doc/guix.texi:20408 @@ -39667,7 +39758,7 @@ msgstr "{parámetro de @code{openvpn-server-configuration}} boolean client-to-cl #. type: deftypevr #: doc/guix.texi:20445 msgid "When true, clients are allowed to talk to each other inside the VPN." -msgstr "" +msgstr "Cuando es verdadero, se permite la comunicación entre clientes dentro de la VPN." #. type: deftypevr #: doc/guix.texi:20450 @@ -39678,7 +39769,7 @@ msgstr "{parámetro de @code{openvpn-server-configuration}} keepalive keepalive" #. type: deftypevr #: doc/guix.texi:20456 msgid "Causes ping-like messages to be sent back and forth over the link so that each side knows when the other side has gone down. @code{keepalive} requires a pair. The first element is the period of the ping sending, and the second element is the timeout before considering the other side down." -msgstr "" +msgstr "Hace que se envíen mensajes tipo-ping en ambas direcciones a través del enlace de modo que cada extremo conozca si el otro extremo no está disponible. @code{keepalive} necesita un par. El primer elemento es el periodo de envío de ping, y el segundo elemento es el plazo máximo antes de considerar que el otro extremo no está disponible." #. type: deftypevr #: doc/guix.texi:20459 @@ -39689,7 +39780,7 @@ msgstr "{parámetro de @code{openvpn-server-configuration}} number max-clients" #. type: deftypevr #: doc/guix.texi:20461 msgid "The maximum number of clients." -msgstr "" +msgstr "Número máximo de clientes." #. type: deftypevr #: doc/guix.texi:20466 @@ -39700,7 +39791,7 @@ msgstr "{parámetro de @code{openvpn-server-configuration}} string status" #. type: deftypevr #: doc/guix.texi:20469 msgid "The status file. This file shows a small report on current connection. It is truncated and rewritten every minute." -msgstr "" +msgstr "El fichero de estado. Este fichero muestra un pequeño informe sobre la conexión actual. Su contenido se borra y se reescribe cada minuto." #. type: deftypevr #: doc/guix.texi:20471 @@ -39772,7 +39863,7 @@ msgstr "NFS" #. type: Plain text #: doc/guix.texi:20515 msgid "The @code{(gnu services nfs)} module provides the following services, which are most commonly used in relation to mounting or exporting directory trees as @dfn{network file systems} (NFS)." -msgstr "" +msgstr "El módulo @code{(gnu services nfs)} proporciona los siguientes servicios, que se usan habitualmente en relación con el montado o la exportación de árboles de directorios como @dfn{sistemas de ficheros en red} (NFS)." #. type: subsubheading #: doc/guix.texi:20516 @@ -39789,7 +39880,7 @@ msgstr "rpcbind" #. type: Plain text #: doc/guix.texi:20523 msgid "The RPC Bind service provides a facility to map program numbers into universal addresses. Many NFS related services use this facility. Hence it is automatically started when a dependent service starts." -msgstr "" +msgstr "El servicio RPC Bind proporciona una forma de asociar números de programa con direcciones universales. Muchos servicios relacionados con NFS usan esta característica. De ahí que se inicie automáticamente cuando un servicio dependiente se inicia." #. type: defvr #: doc/guix.texi:20524 @@ -39833,7 +39924,7 @@ msgstr "@code{warm-start?} (predeterminado: @code{#t})" #. type: table #: doc/guix.texi:20540 msgid "If this parameter is @code{#t}, then the daemon will read a state file on startup thus reloading state information saved by a previous instance." -msgstr "" +msgstr "Si este parámetro es @code{#t}, el daemon leerá el fichero de estado durante el arranche, por tanto recargando la información del estado almacenada por la instancia previa." #. type: subsubheading #: doc/guix.texi:20544 @@ -39856,7 +39947,7 @@ msgstr "rpc_pipefs" #. type: Plain text #: doc/guix.texi:20550 msgid "The pipefs file system is used to transfer NFS related data between the kernel and user space programs." -msgstr "" +msgstr "El sistema de ficheros pipefs se usa para transferir datos relacionados con NFS entre el núcleo y los programas de espacio de usuaria." #. type: defvr #: doc/guix.texi:20551 @@ -39914,12 +40005,13 @@ msgstr "GSS" #: doc/guix.texi:20568 #, no-wrap msgid "global security system" -msgstr "" +msgstr "sistema de seguridad global (GSS)" +# FUZZY #. type: Plain text #: doc/guix.texi:20575 msgid "The @dfn{global security system} (GSS) daemon provides strong security for RPC based protocols. Before exchanging RPC requests an RPC client must establish a security context. Typically this is done using the Kerberos command @command{kinit} or automatically at login time using PAM services (@pxref{Kerberos Services})." -msgstr "" +msgstr "El daemon @dfn{sistema de seguridad global} (GSS) proporciona fuertes garantías de seguridad para protocolos basados en RPC. Antes de intercambiar peticiones RPC el cliente debe establecer un contexto de seguridad. Habitualmente esto se lleva a cabo con el uso de la orden @command{kinit}o automáticamente durante el ingreso al sistema mediante el uso de servicios PAM (@pxref{Kerberos Services})." #. type: defvr #: doc/guix.texi:20576 @@ -39952,7 +40044,7 @@ msgstr "@code{nfs-utils} (predeterminado: @code{nfs-utils})" #. type: table #: doc/guix.texi:20586 msgid "The package in which the @command{rpc.gssd} command is to be found." -msgstr "" +msgstr "Paquete en el que se encuentra la orden @command{rpc.gssd}." #. type: item #: doc/guix.texi:20587 doc/guix.texi:20612 @@ -39982,12 +40074,12 @@ msgstr "idmapd" #: doc/guix.texi:20596 #, no-wrap msgid "name mapper" -msgstr "" +msgstr "servicio de asociación de nombres" #. type: Plain text #: doc/guix.texi:20600 msgid "The idmap daemon service provides mapping between user IDs and user names. Typically it is required in order to access file systems mounted via NFSv4." -msgstr "" +msgstr "El servicio del daemon idmap proporciona una asociación entre identificadores de usuaria y nombres de usuaria. Habitualmente es necesario para acceder sistemas de ficheros montados con NFSv4." #. type: defvr #: doc/guix.texi:20601 @@ -40016,7 +40108,7 @@ msgstr "Tipo de datos que representa la configuración del servicio del daemon I #. type: table #: doc/guix.texi:20611 msgid "The package in which the @command{rpc.idmapd} command is to be found." -msgstr "" +msgstr "Paquete en el que se encuentra la orden @command{rpc.idmapd}." #. type: item #: doc/guix.texi:20615 @@ -40024,15 +40116,16 @@ msgstr "" msgid "@code{domain} (default: @code{#f})" msgstr "@code{domain} (predeterminado: @code{#f})" +# FUZZY #. type: table #: doc/guix.texi:20619 msgid "The local NFSv4 domain name. This must be a string or @code{#f}. If it is @code{#f} then the daemon will use the host's fully qualified domain name." -msgstr "" +msgstr "El nombre de dominio local de NFSv4. Debe ser una cadena o @code{#f}. Si es @code{#f} el daemon usará el nombre de dominio totalmente cualificado de la máquina." #. type: Plain text #: doc/guix.texi:20630 msgid "@uref{https://git.savannah.gnu.org/cgit/guix/guix-cuirass.git, Cuirass} is a continuous integration tool for Guix. It can be used both for development and for providing substitutes to others (@pxref{Substitutes})." -msgstr "" +msgstr "@uref{https://git.savannah.gnu.org/cgit/guix/guix-cuirass.git, Cuirass} es una herramienta de integración continua para Guix. Puede usarse tanto para el desarrollo como para proporcionar sustituciones a otras personas (@pxref{Substitutes})." #. type: Plain text #: doc/guix.texi:20632 @@ -40053,7 +40146,7 @@ msgstr "El tipo del servicio Cuirass. Su valor debe ser un objeto @code{cuirass- #. type: Plain text #: doc/guix.texi:20643 msgid "To add build jobs, you have to set the @code{specifications} field of the configuration. Here is an example of a service that polls the Guix repository and builds the packages from a manifest. Some of the packages are defined in the @code{\"custom-packages\"} input, which is the equivalent of @code{GUIX_PACKAGE_PATH}." -msgstr "" +msgstr "Para añadir trabajos de construcción, debe proporcionarlos en el campo @code{specifications} de la configuración. A continuación se encuentra un ejemplo de un servicio que consulta el repositorio de Guix y construye los paquetes de un manifiesto. Algunos de los paquetes se definen en la entrada @code{\"custom-packages\"}, que es el equivalente de @code{GUIX_PACKAGE_PATH}." #. type: example #: doc/guix.texi:20671 @@ -40130,7 +40223,7 @@ msgstr "" #. type: Plain text #: doc/guix.texi:20680 msgid "While information related to build jobs is located directly in the specifications, global settings for the @command{cuirass} process are accessible in other @code{cuirass-configuration} fields." -msgstr "" +msgstr "Mientras que la información de los trabajos de construcción se encuentra directamente en las especificaciones, la configuración global del proceso @command{cuirass} está accesible en otros campos de @code{cuirass-configuration}." #. type: deftp #: doc/guix.texi:20681 @@ -40196,7 +40289,7 @@ msgstr "@code{interval} (predeterminado: @code{60})" #. type: table #: doc/guix.texi:20700 msgid "Number of seconds between the poll of the repositories followed by the Cuirass jobs." -msgstr "" +msgstr "Número de segundos entre las consulta de repositorios seguida de los trabajos de Cuirass." #. type: item #: doc/guix.texi:20701 @@ -40207,7 +40300,7 @@ msgstr "@code{database} (predeterminada: @code{\"/var/lib/cuirass/cuirass.db\"}) #. type: table #: doc/guix.texi:20704 msgid "Location of sqlite database which contains the build results and previously added specifications." -msgstr "" +msgstr "Ruta de la base de datos sqlite que contiene los resultados de construcción y las especificaciones añadidas previamente." #. type: item #: doc/guix.texi:20705 @@ -40218,7 +40311,7 @@ msgstr "@code{ttl} (predeterminado: @code{(* 30 24 3600)})" #. type: table #: doc/guix.texi:20709 msgid "Specifies the time-to-live (TTL) in seconds of garbage collector roots that are registered for build results. This means that build results are protected from garbage collection for at least @var{ttl} seconds." -msgstr "" +msgstr "Especifica el tiempo de vida (TTL) en segundos de las raíces del recolector de basura que se registran con resultados de construcciones. Esto significa que los resultados de las construcciones se protegen de la recolección de basura al menos @var{ttl} segundos." #. type: item #: doc/guix.texi:20710 @@ -40245,7 +40338,7 @@ msgstr "@code{specifications} (predeterminada: @code{#~'()})" #. type: table #: doc/guix.texi:20723 msgid "A gexp (@pxref{G-Expressions}) that evaluates to a list of specifications, where a specification is an association list (@pxref{Associations Lists,,, guile, GNU Guile Reference Manual}) whose keys are keywords (@code{#:keyword-example}) as shown in the example above." -msgstr "" +msgstr "Una expresión-G (@pxref{G-Expressions}) que evalua a una lista de especificaciones, donde una especificación es una lista asociativa (@pxref{Associations Lists,,, guile, GNU Guile Reference Manual}) cuyas claves son palabras claves (@code{#:ejemplo-de-palabra-clave}) como se muestra en el ejemplo anterior." #. type: item #: doc/guix.texi:20724 @@ -40253,10 +40346,11 @@ msgstr "" msgid "@code{use-substitutes?} (default: @code{#f})" msgstr "@code{use-substitutes?} (predeterminado: @code{#f})" +# FUZZY #. type: table #: doc/guix.texi:20727 msgid "This allows using substitutes to avoid building every dependencies of a job from source." -msgstr "" +msgstr "Permite el uso de sustituciones para evitar la construcción desde las fuentes de todas las dependencias de un trabajo." #. type: item #: doc/guix.texi:20728 doc/guix.texi:25286 @@ -40267,7 +40361,7 @@ msgstr "@code{one-shot?} (predeterminado: @code{#f})" #. type: table #: doc/guix.texi:20730 msgid "Only evaluate specifications and build derivations once." -msgstr "" +msgstr "Evalua las especificaciones y construye las derivaciones solo una vez." #. type: item #: doc/guix.texi:20731 @@ -40317,7 +40411,7 @@ msgstr "El módulo @code{(gnu services pm)} proporciona una definición de servi #. type: Plain text #: doc/guix.texi:20755 msgid "TLP enables various powersaving modes in userspace and kernel. Contrary to @code{upower-service}, it is not a passive, monitoring tool, as it will apply custom settings each time a new power source is detected. More information can be found at @uref{https://linrunner.de/en/tlp/tlp.html, TLP home page}." -msgstr "" +msgstr "TLP activa varios modos de ahorro de energía en el núcleo y en espacio de usuaria. Al contrario que @code{upower-service}, no es una herramienta de monitorización pasiva, puesto que aplicará una nueva configuración personalizada cada vez que se detecte una nueva fuente de energía/alimentación. Puede encontrar más información en @uref{https://linrunner.de/en/tlp/tlp.html, la página de TLP}." #. type: deffn #: doc/guix.texi:20756 @@ -40339,7 +40433,7 @@ msgstr "(service tlp-service-type)\n" #. type: Plain text #: doc/guix.texi:20767 msgid "By default TLP does not need much configuration but most TLP parameters can be tweaked using @code{tlp-configuration}." -msgstr "" +msgstr "De manera predeterminada TLP no necesita mucha configuración, pero los parámetros de TLP se pueden ajustar mediante el uso de @code{tlp-configuration}." #. type: Plain text #: doc/guix.texi:20773 @@ -40371,7 +40465,7 @@ msgstr "{parámetro de @code{tlp-configuration}} boolean tlp-enable?" #. type: deftypevr #: doc/guix.texi:20791 msgid "Set to true if you wish to enable TLP." -msgstr "" +msgstr "Proporcione un valor verdadero si desea activar TLP." #. type: deftypevr #: doc/guix.texi:20796 @@ -40382,12 +40476,12 @@ msgstr "{parámetro de @code{tlp-configuration}} string tlp-default-mode" #. type: deftypevr #: doc/guix.texi:20799 msgid "Default mode when no power supply can be detected. Alternatives are AC and BAT." -msgstr "" +msgstr "Modo predeterminado cuando no se puede detectar una fuente de alimentación. Las alternativas son AC (corriente alterna) y BAT (batería)." #. type: deftypevr #: doc/guix.texi:20801 msgid "Defaults to @samp{\"AC\"}." -msgstr "El valor predeterminado es @samp{\"AC\"}." +msgstr "El valor predeterminado es @samp{\"AC\"} (corriente alterna)." #. type: deftypevr #: doc/guix.texi:20804 @@ -40398,7 +40492,7 @@ msgstr "{parámetro de @code{tlp-configuration}} entero-no-negativo disk-idle-se #. type: deftypevr #: doc/guix.texi:20807 msgid "Number of seconds Linux kernel has to wait after the disk goes idle, before syncing on AC." -msgstr "" +msgstr "Número de segundos que el núcleo Linux debe esperar desde que el disco se queda en espera, antes de sincronizar en corriente alterna (AC)." #. type: deftypevr #: doc/guix.texi:20812 @@ -40409,7 +40503,7 @@ msgstr "{parámetro de @code{tlp-configuration}} entero-no-negativo disk-idle-se #. type: deftypevr #: doc/guix.texi:20814 msgid "Same as @code{disk-idle-ac} but on BAT mode." -msgstr "" +msgstr "Igual que @code{disk-idle-ac} pero en modo BAT (batería)." #. type: deftypevr #: doc/guix.texi:20816 @@ -40422,10 +40516,11 @@ msgstr "El valor predeterminado es @samp{2}." msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-ac" msgstr "{parámetro de @code{tlp-configuration}} entero-no-negativo max-lost-work-secs-on-ac" +# FUZZY #. type: deftypevr #: doc/guix.texi:20821 msgid "Dirty pages flushing periodicity, expressed in seconds." -msgstr "" +msgstr "Periodicidad de la evacuación de las páginas sucias, expresada en segundos." #. type: deftypevr #: doc/guix.texi:20823 doc/guix.texi:21046 doc/guix.texi:22375 @@ -40442,7 +40537,7 @@ msgstr "{parámetro de @code{tlp-configuration}} entero-no-negativo max-lost-wor #. type: deftypevr #: doc/guix.texi:20828 msgid "Same as @code{max-lost-work-secs-on-ac} but on BAT mode." -msgstr "" +msgstr "Igual que @code{max-lost-work-secs-on-ac} pero en modo BAT (batería)." #. type: deftypevr #: doc/guix.texi:20830 @@ -40458,7 +40553,7 @@ msgstr "{parámetro de @code{tlp-configuration}} maybe-lista-cadena-separada-esp #. type: deftypevr #: doc/guix.texi:20837 msgid "CPU frequency scaling governor on AC mode. With intel_pstate driver, alternatives are powersave and performance. With acpi-cpufreq driver, alternatives are ondemand, powersave, performance and conservative." -msgstr "" +msgstr "Governador de escalado de frecuencia del procesador en modo de corriente alterna (AC). Con el controlador intel_pstate, las alternativas son «powersave» (ahorro de energía) y «performance» (rendimiento). Con el controlador acpi-cpufreq, las alternativas son «ondemand» (bajo demanda), «powersave», «performance» y «conservative» (conservativo)." #. type: deftypevr #: doc/guix.texi:20842 @@ -40469,7 +40564,7 @@ msgstr "{parámetro de @code{tlp-configuration}} maybe-lista-cadena-separada-esp #. type: deftypevr #: doc/guix.texi:20844 msgid "Same as @code{cpu-scaling-governor-on-ac} but on BAT mode." -msgstr "" +msgstr "Igual que @code{max-lost-work-secs-on-ac} pero en modo BAT (batería)." #. type: deftypevr #: doc/guix.texi:20849 @@ -40477,10 +40572,11 @@ msgstr "" msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-ac" msgstr "{parámetro de @code{tlp-configuration}} maybe-entero-no-negativo cpu-scaling-min-freq-on-ac" +# FUZZY #. type: deftypevr #: doc/guix.texi:20851 msgid "Set the min available frequency for the scaling governor on AC." -msgstr "" +msgstr "Establece la frecuencia mínima disponible para el controlador de escalado en AC." #. type: deftypevr #: doc/guix.texi:20856 @@ -40488,10 +40584,11 @@ msgstr "" msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-ac" msgstr "{parámetro de @code{tlp-configuration}} maybe-entero-no-negativo cpu-scaling-max-freq-on-ac" +# FUZZY #. type: deftypevr #: doc/guix.texi:20858 msgid "Set the max available frequency for the scaling governor on AC." -msgstr "" +msgstr "Establece la frecuencia máxima disponible para el controlador de escalado en AC." #. type: deftypevr #: doc/guix.texi:20863 @@ -40502,7 +40599,7 @@ msgstr "{parámetro de @code{tlp-configuration}} maybe-entero-no-negativo cpu-sc #. type: deftypevr #: doc/guix.texi:20865 msgid "Set the min available frequency for the scaling governor on BAT." -msgstr "" +msgstr "Establece la frecuencia mínima disponible para el controlador de escalado en BAT." #. type: deftypevr #: doc/guix.texi:20870 @@ -40513,7 +40610,7 @@ msgstr "{parámetro de @code{tlp-configuration}} maybe-entero-no-negativo cpu-sc #. type: deftypevr #: doc/guix.texi:20872 msgid "Set the max available frequency for the scaling governor on BAT." -msgstr "" +msgstr "Establece la frecuencia máxima disponible para el controlador de escalado en BAT." #. type: deftypevr #: doc/guix.texi:20877 @@ -40521,10 +40618,11 @@ msgstr "" msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-ac" msgstr "{parámetro de @code{tlp-configuration}} maybe-entero-no-negativo cpu-min-perf-on-ac" +# FUZZY #. type: deftypevr #: doc/guix.texi:20880 msgid "Limit the min P-state to control the power dissipation of the CPU, in AC mode. Values are stated as a percentage of the available performance." -msgstr "" +msgstr "Limita el estado-P mínimo para controlar la disipación de potencia del procesador en modo AC. Los valores se indican como un porcentaje de rendimiento disponible." #. type: deftypevr #: doc/guix.texi:20885 @@ -40535,7 +40633,7 @@ msgstr "{parámetro de @code{tlp-configuration}} maybe-entero-no-negativo cpu-ma #. type: deftypevr #: doc/guix.texi:20888 msgid "Limit the max P-state to control the power dissipation of the CPU, in AC mode. Values are stated as a percentage of the available performance." -msgstr "" +msgstr "Limita el estado-P máximo para controlar la disipación de potencia del procesador en modo AC. Los valores se indican como un porcentaje de rendimiento disponible." #. type: deftypevr #: doc/guix.texi:20893 @@ -40546,7 +40644,7 @@ msgstr "{parámetro de @code{tlp-configuration}} maybe-entero-no-negativo cpu-mi #. type: deftypevr #: doc/guix.texi:20895 msgid "Same as @code{cpu-min-perf-on-ac} on BAT mode." -msgstr "" +msgstr "Igual que @code{cpu-min-perf-on-ac} pero en modo BAT (batería)." #. type: deftypevr #: doc/guix.texi:20900 @@ -40557,7 +40655,7 @@ msgstr "{parámetro de @code{tlp-configuration}} maybe-entero-no-negativo cpu-ma #. type: deftypevr #: doc/guix.texi:20902 msgid "Same as @code{cpu-max-perf-on-ac} on BAT mode." -msgstr "" +msgstr "Igual que @code{cpu-max-perf-on-ac} pero en modo BAT (batería)." #. type: deftypevr #: doc/guix.texi:20907 @@ -40568,7 +40666,7 @@ msgstr "{parámetro de @code{tlp-configuration}} maybe-boolean cpu-boost-on-ac?" #. type: deftypevr #: doc/guix.texi:20909 msgid "Enable CPU turbo boost feature on AC mode." -msgstr "" +msgstr "Activa la característica «turbo boost» del procesador en modo AC (corriente alterna)." #. type: deftypevr #: doc/guix.texi:20914 @@ -40579,7 +40677,7 @@ msgstr "{parámetro de @code{tlp-configuration}} maybe-boolean cpu-boost-on-bat? #. type: deftypevr #: doc/guix.texi:20916 msgid "Same as @code{cpu-boost-on-ac?} on BAT mode." -msgstr "" +msgstr "Igual que @code{cpu-boost-on-ac} pero en modo BAT (batería)." #. type: deftypevr #: doc/guix.texi:20921 @@ -40590,7 +40688,7 @@ msgstr "{parámetro de @code{tlp-configuration}} boolean sched-powersave-on-ac?" #. type: deftypevr #: doc/guix.texi:20924 msgid "Allow Linux kernel to minimize the number of CPU cores/hyper-threads used under light load conditions." -msgstr "" +msgstr "Permite al núcleo Linux minimizar el número de núcleos/hyper-thread del procesador usados bajo condiciones de baja carga." #. type: deftypevr #: doc/guix.texi:20929 @@ -40601,7 +40699,7 @@ msgstr "{parámetro de @code{tlp-configuration}} boolean sched-powersave-on-bat? #. type: deftypevr #: doc/guix.texi:20931 msgid "Same as @code{sched-powersave-on-ac?} but on BAT mode." -msgstr "" +msgstr "Igual que @code{sched-powersave-on-ac?} pero en modo BAT (batería)." #. type: deftypevr #: doc/guix.texi:20936 @@ -40609,10 +40707,11 @@ msgstr "" msgid "{@code{tlp-configuration} parameter} boolean nmi-watchdog?" msgstr "{parámetro de @code{tlp-configuration}} boolean nmi-watchdog?" +# FUZZY #. type: deftypevr #: doc/guix.texi:20938 msgid "Enable Linux kernel NMI watchdog." -msgstr "" +msgstr "Activa el proceso guardián (watchdog) NMI del núcleo Linux." #. type: deftypevr #: doc/guix.texi:20943 @@ -40620,10 +40719,11 @@ msgstr "" msgid "{@code{tlp-configuration} parameter} maybe-string phc-controls" msgstr "{parámetro de @code{tlp-configuration}} maybe-string phc-controls" +# FUZZY #. type: deftypevr #: doc/guix.texi:20946 msgid "For Linux kernels with PHC patch applied, change CPU voltages. An example value would be @samp{\"F:V F:V F:V F:V\"}." -msgstr "" +msgstr "Para núcleos Linux con el parche PHC aplicado, cambia los voltajes del procesador. Un valor de ejemplo sería @samp{\"F:V F:V F:V F:V\"}." #. type: deftypevr #: doc/guix.texi:20951 @@ -40634,7 +40734,7 @@ msgstr "{parámetro de @code{tlp-configuration}} string energy-perf-policy-on-ac #. type: deftypevr #: doc/guix.texi:20954 msgid "Set CPU performance versus energy saving policy on AC. Alternatives are performance, normal, powersave." -msgstr "" +msgstr "Establece la política de alto rendimiento del procesador en vez del ahorro de energíal estar en corriente alterna (AC). Las alternativas son «performance» (alto rendimiento), «normal» y «powersave» (ahorro de energía)." #. type: deftypevr #: doc/guix.texi:20956 doc/guix.texi:21054 doc/guix.texi:21084 @@ -40650,7 +40750,7 @@ msgstr "{parámetro de @code{tlp-configuration}} string energy-perf-policy-on-ba #. type: deftypevr #: doc/guix.texi:20961 msgid "Same as @code{energy-perf-policy-ac} but on BAT mode." -msgstr "" +msgstr "Igual que @code{energy-perf-policy-ac} pero en modo BAT (batería)." #. type: deftypevr #: doc/guix.texi:20963 doc/guix.texi:21061 @@ -40677,7 +40777,7 @@ msgstr "{parámetro de @code{tlp-configuration}} lista-cadena-separada-espacios #. type: deftypevr #: doc/guix.texi:20973 msgid "Hard disk advanced power management level." -msgstr "" +msgstr "Nivel de APM (gestión avanzada de energía) del disco duro." #. type: deftypevr #: doc/guix.texi:20976 @@ -40688,7 +40788,7 @@ msgstr "{parámetro de @code{tlp-configuration}} lista-cadena-separada-espacios #. type: deftypevr #: doc/guix.texi:20978 msgid "Same as @code{disk-apm-bat} but on BAT mode." -msgstr "" +msgstr "Igual que @code{disk-apm-bat} pero en modo BAT (batería)." #. type: deftypevr #: doc/guix.texi:20981 @@ -40699,7 +40799,7 @@ msgstr "{parámetro de @code{tlp-configuration}} maybe-lista-cadena-separada-esp #. type: deftypevr #: doc/guix.texi:20984 msgid "Hard disk spin down timeout. One value has to be specified for each declared hard disk." -msgstr "" +msgstr "Plazo para la parada rotacional del disco duro. Se debe especificar un valor por cada disco duro declarado." #. type: deftypevr #: doc/guix.texi:20989 @@ -40710,7 +40810,7 @@ msgstr "{parámetro de @code{tlp-configuration}} maybe-lista-cadena-separada-esp #. type: deftypevr #: doc/guix.texi:20991 msgid "Same as @code{disk-spindown-timeout-on-ac} but on BAT mode." -msgstr "" +msgstr "Igual que @code{disk-spindown-timeout-on-ac} pero en modo BAT (batería)." #. type: deftypevr #: doc/guix.texi:20996 @@ -40721,7 +40821,7 @@ msgstr "{parámetro de @code{tlp-configuration}} maybe-lista-cadena-separada-esp #. type: deftypevr #: doc/guix.texi:21000 msgid "Select IO scheduler for disk devices. One value has to be specified for each declared hard disk. Example alternatives are cfq, deadline and noop." -msgstr "" +msgstr "Selecciona el planificador de E/S para dispositivos de disco. Se debe especificar un valor por cada disco duro declarado. Ejemplos de alternativas son «cfq», «deadline» y «noop»." #. type: deftypevr #: doc/guix.texi:21005 @@ -40732,7 +40832,7 @@ msgstr "{parámetro de @code{tlp-configuration}} string sata-linkpwr-on-ac" #. type: deftypevr #: doc/guix.texi:21008 msgid "SATA aggressive link power management (ALPM) level. Alternatives are min_power, medium_power, max_performance." -msgstr "" +msgstr "Nivel de gestión agresiva de energía del enlace (ALPM) de SATA. Las alternativas son «min_power» (energía mínima), «medium_power» (energía media) y «max_performance» (máximo rendimiento)." #. type: deftypevr #: doc/guix.texi:21010 @@ -40748,7 +40848,7 @@ msgstr "{parámetro de @code{tlp-configuration}} string sata-linkpwr-on-bat" #. type: deftypevr #: doc/guix.texi:21015 msgid "Same as @code{sata-linkpwr-ac} but on BAT mode." -msgstr "" +msgstr "Igual que @code{sata-linkpwr-ac} pero en modo BAT (batería)." #. type: deftypevr #: doc/guix.texi:21017 @@ -40764,7 +40864,7 @@ msgstr "{parámetro de @code{tlp-configuration}} maybe-string sata-linkpwr-black #. type: deftypevr #: doc/guix.texi:21022 msgid "Exclude specified SATA host devices for link power management." -msgstr "" +msgstr "Excluye los dispositivos SATA especificados de la gestión de energía del enlace." #. type: deftypevr #: doc/guix.texi:21027 @@ -40775,7 +40875,7 @@ msgstr "{parámetro de @code{tlp-configuration}} maybe-on-off-boolean ahci-runti #. type: deftypevr #: doc/guix.texi:21030 msgid "Enable Runtime Power Management for AHCI controller and disks on AC mode." -msgstr "" +msgstr "Activa la gestión de energía de tiempo de ejecución para controladores AHCI y discos en modo AC." #. type: deftypevr #: doc/guix.texi:21035 @@ -40786,7 +40886,7 @@ msgstr "{parámetro de @code{tlp-configuration}} maybe-on-off-boolean ahci-runti #. type: deftypevr #: doc/guix.texi:21037 msgid "Same as @code{ahci-runtime-pm-on-ac} on BAT mode." -msgstr "" +msgstr "Igual que @code{ahci-runtime-pm-on-ac} pero en modo BAT (batería)." #. type: deftypevr #: doc/guix.texi:21042 @@ -40797,7 +40897,7 @@ msgstr "{parámetro de @code{tlp-configuration}} entero-no-negativo ahci-runtime #. type: deftypevr #: doc/guix.texi:21044 msgid "Seconds of inactivity before disk is suspended." -msgstr "" +msgstr "Segundos de inactividad antes de suspender el disco." #. type: deftypevr #: doc/guix.texi:21049 @@ -40808,7 +40908,7 @@ msgstr "{parámetro de @code{tlp-configuration}} string pcie-aspm-on-ac" #. type: deftypevr #: doc/guix.texi:21052 msgid "PCI Express Active State Power Management level. Alternatives are default, performance, powersave." -msgstr "" +msgstr "Nivel de gestión de energía de estado activo de PCI Express. Las alternativas son «default» (predeterminado), «performance» (rendimiento) y «powersave» (ahorro de energía)." #. type: deftypevr #: doc/guix.texi:21057 @@ -40819,7 +40919,7 @@ msgstr "{parámetro de @code{tlp-configuration}} string pcie-aspm-on-bat" #. type: deftypevr #: doc/guix.texi:21059 msgid "Same as @code{pcie-aspm-ac} but on BAT mode." -msgstr "" +msgstr "Igual que @code{pcie-aspm-ac} pero en modo BAT (batería)." #. type: deftypevr #: doc/guix.texi:21064 @@ -40830,7 +40930,7 @@ msgstr "{parámetro de @code{tlp-configuration}} string radeon-power-profile-on- #. type: deftypevr #: doc/guix.texi:21067 msgid "Radeon graphics clock speed level. Alternatives are low, mid, high, auto, default." -msgstr "" +msgstr "Nivel de velocidad de reloj de gráficos Radeon. Las alternativas son «low» (bajo), «mid» (medio), «high» (alto), «auto» (automático) y «default» (predeterminado)." #. type: deftypevr #: doc/guix.texi:21069 @@ -40846,7 +40946,7 @@ msgstr "{parámetro de @code{tlp-configuration}} string radeon-power-profile-on- #. type: deftypevr #: doc/guix.texi:21074 msgid "Same as @code{radeon-power-ac} but on BAT mode." -msgstr "" +msgstr "Igual que @code{radeon-power-ac} pero en modo BAT (batería)." #. type: deftypevr #: doc/guix.texi:21076 @@ -40862,7 +40962,7 @@ msgstr "{parámetro de @code{tlp-configuration}} string radeon-dpm-state-on-ac" #. type: deftypevr #: doc/guix.texi:21082 msgid "Radeon dynamic power management method (DPM). Alternatives are battery, performance." -msgstr "" +msgstr "Método de gestión de energía dinámica (DPM) de Radeon. Las alternativas son «battery» (batería) y «performance» (rendimiento)." #. type: deftypevr #: doc/guix.texi:21087 @@ -40873,7 +40973,7 @@ msgstr "{parámetro de @code{tlp-configuration}} string radeon-dpm-state-on-bat" #. type: deftypevr #: doc/guix.texi:21089 msgid "Same as @code{radeon-dpm-state-ac} but on BAT mode." -msgstr "" +msgstr "Igual que @code{radeon-dpm-state-ac} pero en modo BAT (batería)." #. type: deftypevr #: doc/guix.texi:21091 @@ -40889,7 +40989,7 @@ msgstr "{parámetro de @code{tlp-configuration}} string radeon-dpm-perf-level-on #. type: deftypevr #: doc/guix.texi:21096 msgid "Radeon DPM performance level. Alternatives are auto, low, high." -msgstr "" +msgstr "Nivel de rendimiento del DPM de Radeon. Las alternativas son «auto» (automático), «low» (bajo) y «high» (alto)." #. type: deftypevr #: doc/guix.texi:21098 doc/guix.texi:21105 doc/guix.texi:21179 @@ -40905,7 +41005,7 @@ msgstr "{parámetro de @code{tlp-configuration}} string radeon-dpm-perf-level-on #. type: deftypevr #: doc/guix.texi:21103 msgid "Same as @code{radeon-dpm-perf-ac} but on BAT mode." -msgstr "" +msgstr "Igual que @code{radeon-dpm-perf-ac} pero en modo BAT (batería)." #. type: deftypevr #: doc/guix.texi:21108 @@ -40913,10 +41013,11 @@ msgstr "" msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-ac?" msgstr "{parámetro de @code{tlp-configuration}} on-off-boolean wifi-pwr-on-ac?" +# FUZZY #. type: deftypevr #: doc/guix.texi:21110 msgid "Wifi power saving mode." -msgstr "" +msgstr "Modo de ahorro de energía de Wifi." #. type: deftypevr #: doc/guix.texi:21115 @@ -40927,7 +41028,7 @@ msgstr "{parámetro de @code{tlp-configuration}} on-off-boolean wifi-pwr-on-bat? #. type: deftypevr #: doc/guix.texi:21117 msgid "Same as @code{wifi-power-ac?} but on BAT mode." -msgstr "" +msgstr "Igual que @code{wifi-power-ac?} pero en modo BAT (batería)." #. type: deftypevr #: doc/guix.texi:21122 @@ -40935,10 +41036,11 @@ msgstr "" msgid "{@code{tlp-configuration} parameter} y-n-boolean wol-disable?" msgstr "{parámetro de @code{tlp-configuration}} y-n-boolean wol-disable?" +# FUZZY #. type: deftypevr #: doc/guix.texi:21124 msgid "Disable wake on LAN." -msgstr "" +msgstr "Desactiva el encendido desde la red local (wake on LAN)." #. type: deftypevr #: doc/guix.texi:21129 @@ -40949,7 +41051,7 @@ msgstr "{parámetro de @code{tlp-configuration}} entero-no-negativo sound-power- #. type: deftypevr #: doc/guix.texi:21132 msgid "Timeout duration in seconds before activating audio power saving on Intel HDA and AC97 devices. A value of 0 disables power saving." -msgstr "" +msgstr "Duración en segundos del plazo antes de activar el ahorro de energía de audio en dispositivos Intel HDA y AC97. El valor 0 desactiva el ahorro de energia." #. type: deftypevr #: doc/guix.texi:21137 @@ -40960,7 +41062,7 @@ msgstr "{parámetro de @code{tlp-configuration}} entero-no-negativo sound-power- #. type: deftypevr #: doc/guix.texi:21139 msgid "Same as @code{sound-powersave-ac} but on BAT mode." -msgstr "" +msgstr "Igual que @code{sound-powersave-ac} pero en modo BAT (batería)." #. type: deftypevr #: doc/guix.texi:21141 doc/guix.texi:21668 doc/guix.texi:21812 @@ -40976,7 +41078,7 @@ msgstr "{parámetro de @code{tlp-configuration}} y-n-boolean sound-power-save-co #. type: deftypevr #: doc/guix.texi:21146 msgid "Disable controller in powersaving mode on Intel HDA devices." -msgstr "" +msgstr "Desactiva el controlador en modo de ahorro de energía en dispositivos Intel HDA." #. type: deftypevr #: doc/guix.texi:21151 @@ -40987,7 +41089,7 @@ msgstr "{parámetro de @code{tlp-configuration}} boolean bay-poweroff-on-bat?" #. type: deftypevr #: doc/guix.texi:21155 msgid "Enable optical drive in UltraBay/MediaBay on BAT mode. Drive can be powered on again by releasing (and reinserting) the eject lever or by pressing the disc eject button on newer models." -msgstr "" +msgstr "Activa las unidades ópticas en UltraBay/MediaBay en modo BAT. La unidad puede volver a alimentarse liberando (y reinsertando) la palanca de eyección o presionando el botón de eyección de disco en modelos más modernos." #. type: deftypevr #: doc/guix.texi:21160 @@ -40998,7 +41100,7 @@ msgstr "{parámetro de @code{tlp-configuration}} string bay-device" #. type: deftypevr #: doc/guix.texi:21162 msgid "Name of the optical drive device to power off." -msgstr "" +msgstr "Nombre de la unidad de dispositivos ópticos a apagar." #. type: deftypevr #: doc/guix.texi:21164 @@ -41014,7 +41116,7 @@ msgstr "{parámetro de @code{tlp-configuration}} string runtime-pm-on-ac" #. type: deftypevr #: doc/guix.texi:21170 msgid "Runtime Power Management for PCI(e) bus devices. Alternatives are on and auto." -msgstr "" +msgstr "Gestión de energía en tiempo de ejecución para dispositivos de bus PCI(e). Las alternativas son «on» y «auto»." #. type: deftypevr #: doc/guix.texi:21172 @@ -41030,7 +41132,7 @@ msgstr "{parámetro de @code{tlp-configuration}} string runtime-pm-on-bat" #. type: deftypevr #: doc/guix.texi:21177 msgid "Same as @code{runtime-pm-ac} but on BAT mode." -msgstr "" +msgstr "Igual que @code{runtime-pm-ac} pero en modo BAT (batería)." #. type: deftypevr #: doc/guix.texi:21182 @@ -41041,7 +41143,7 @@ msgstr "{parámetro de @code{tlp-configuration}} boolean runtime-pm-all?" #. type: deftypevr #: doc/guix.texi:21185 msgid "Runtime Power Management for all PCI(e) bus devices, except blacklisted ones." -msgstr "" +msgstr "Gestión de energia de tiempo de ejecución (Runtime Power Management) para todos los dispositivos del bus PCI(e), excepto los excluidos." #. type: deftypevr #: doc/guix.texi:21190 @@ -41052,7 +41154,7 @@ msgstr "{parámetro de @code{tlp-configuration}} maybe-lista-cadena-separada-esp #. type: deftypevr #: doc/guix.texi:21192 msgid "Exclude specified PCI(e) device addresses from Runtime Power Management." -msgstr "" +msgstr "Excluye las direcciones de dispositivo PCI(e) especificadas de la gestión de energia de tiempo de ejecución (Runtime Power Management)." #. type: deftypevr #: doc/guix.texi:21197 @@ -41063,7 +41165,7 @@ msgstr "{parámetro de @code{tlp-configuration}} lista-cadena-separada-espacios #. type: deftypevr #: doc/guix.texi:21200 msgid "Exclude PCI(e) devices assigned to the specified drivers from Runtime Power Management." -msgstr "" +msgstr "Excluye los dispositivos PCI(e) asignados a los controladores especificados de la gestión de energia de tiempo de ejecución (Runtime Power Management)." #. type: deftypevr #: doc/guix.texi:21203 @@ -41085,7 +41187,7 @@ msgstr "{parámetro de @code{tlp-configuration}} maybe-string usb-blacklist" #. type: deftypevr #: doc/guix.texi:21212 msgid "Exclude specified devices from USB autosuspend." -msgstr "" +msgstr "Excluye los dispositivos especificados de la suspensión automática de USB." #. type: deftypevr #: doc/guix.texi:21217 @@ -41096,7 +41198,7 @@ msgstr "{parámetro de @code{tlp-configuration}} boolean usb-blacklist-wwan?" #. type: deftypevr #: doc/guix.texi:21219 msgid "Exclude WWAN devices from USB autosuspend." -msgstr "" +msgstr "Excluye los dispositivos WWAN de la suspensión automática de USB." #. type: deftypevr #: doc/guix.texi:21224 @@ -41107,7 +41209,7 @@ msgstr "{parámetro de @code{tlp-configuration}} maybe-string usb-whitelist" #. type: deftypevr #: doc/guix.texi:21227 msgid "Include specified devices into USB autosuspend, even if they are already excluded by the driver or via @code{usb-blacklist-wwan?}." -msgstr "" +msgstr "Incluye los dispositivos especificados en la suspensión automática de USB, incluso cuando están excluidos por el controlador o a través de @code{usb-blacklist-wwan?}." #. type: deftypevr #: doc/guix.texi:21232 @@ -41129,7 +41231,7 @@ msgstr "{parámetro de @code{tlp-configuration}} boolean restore-device-state-on #. type: deftypevr #: doc/guix.texi:21242 msgid "Restore radio device state (bluetooth, wifi, wwan) from previous shutdown on system startup." -msgstr "" +msgstr "Restablece el estado de los dispositivos de radio (bluetooth, wifi, wwan) previo al apagado durante el arranque del sistema." #. type: cindex #: doc/guix.texi:21247 @@ -41163,7 +41265,7 @@ msgstr "{Variable Scheme} thermald-service-type" #. type: defvr #: doc/guix.texi:21259 msgid "This is the service type for @uref{https://01.org/linux-thermal-daemon/, thermald}, the Linux Thermal Daemon, which is responsible for controlling the thermal state of processors and preventing overheating." -msgstr "" +msgstr "Este es el tipo de servicio para @uref{https://01.org/linux-thermal-daemon/, thermald}, el daemon Thermal de Linux, que es responsable del control del estado térmico de los procesadores y la prevención del sobrecalentamiento." #. type: deftp #: doc/guix.texi:21261 @@ -41182,10 +41284,11 @@ msgstr "Tipo de datos que representa la configuración de @code{thermald-service msgid "@code{ignore-cpuid-check?} (default: @code{#f})" msgstr "@code{ignore-cpuid-check?} (predeterminado: @code{#f})" +# FUZZY #. type: table #: doc/guix.texi:21267 msgid "Ignore cpuid check for supported CPU models." -msgstr "" +msgstr "Ignora la comprobación de cpuid durante la comprobación de procesadores permitidos." #. type: item #: doc/guix.texi:21268 @@ -41280,9 +41383,8 @@ msgstr "@code{music-dir} (predeterminado: @code{\"~/Music\"})" #. type: table #: doc/guix.texi:21310 -#, fuzzy msgid "The directory to scan for music files." -msgstr "El directorio para almacenar listas de reproducción." +msgstr "El directorio para buscar ficheros de música." #. type: item #: doc/guix.texi:21311 @@ -41315,7 +41417,7 @@ msgstr "@code{state-file} (predeterminado: @code{\"~/.mpd/state\"})" #. type: table #: doc/guix.texi:21319 msgid "The location of the file that stores current MPD's state." -msgstr "" +msgstr "La localización del fichero que almacena el estado actual de MPD." #. type: item #: doc/guix.texi:21320 @@ -41349,7 +41451,7 @@ msgstr "@code{address} (predeterminada: @code{\"any\"})" #. type: table #: doc/guix.texi:21329 msgid "The address that mpd will bind to. To use a Unix domain socket, an absolute path can be specified here." -msgstr "" +msgstr "Dirección a la que mpd se asociará. Para usar un socket de dominio de Unix puede especificarse una ruta absoluta." #. type: subsection #: doc/guix.texi:21334 @@ -41368,10 +41470,11 @@ msgstr "El módulo @code{(gnu services virtualization)} proporciona servicios pa msgid "Libvirt daemon" msgstr "Daemon de Libvirt" +# FUZZY #. type: Plain text #: doc/guix.texi:21344 msgid "@code{libvirtd} is the server side daemon component of the libvirt virtualization management system. This daemon runs on host servers and performs required management tasks for virtualized guests." -msgstr "" +msgstr "@code{libvirtd} es un daemon del que se compone el lado del servidor del sistema de gestión de virtualización libvirt. Este daemon se ejecuta en las máquinas servidoras y realiza las tareas de gestión necesarias para los sistemas virtualizados." #. type: deffn #: doc/guix.texi:21345 @@ -41420,15 +41523,17 @@ msgstr "Paquete libvirt." msgid "{@code{libvirt-configuration} parameter} boolean listen-tls?" msgstr "{parámetro de @code{libvirt-configuration}} boolean listen-tls?" +# FUZZY +# TODO: Enviar parche. #. type: deftypevr #: doc/guix.texi:21368 msgid "Flag listening for secure TLS connections on the public TCP/IP port. must set @code{listen} for this to have any effect." -msgstr "" +msgstr "Opción para la escucha de conexiones seguras TLS en el puerto TCP/IP público. Debe haberse proporcionado valor a @code{listen} para que tenga algún efecto." #. type: deftypevr #: doc/guix.texi:21371 msgid "It is necessary to setup a CA and issue server certificates before using this capability." -msgstr "" +msgstr "Es necesario configurar una autoridad de certificación (CA) y emitir certificados de servidor antes de usar esta característica." #. type: deftypevr #: doc/guix.texi:21376 @@ -41436,15 +41541,18 @@ msgstr "" msgid "{@code{libvirt-configuration} parameter} boolean listen-tcp?" msgstr "{parámetro de @code{libvirt-configuration}} boolean listen-tcp?" +# FUZZY +# TODO: Enviar parche. #. type: deftypevr #: doc/guix.texi:21379 msgid "Listen for unencrypted TCP connections on the public TCP/IP port. must set @code{listen} for this to have any effect." -msgstr "" +msgstr "Escucha de conexiones TCP sin cifrar en el puerto TCP/IP público. Debe haberse proporcionado valor a @code{listen} para que tenga algún efecto." +# TODO: Enviar parche. #. type: deftypevr #: doc/guix.texi:21383 msgid "Using the TCP socket requires SASL authentication by default. Only SASL mechanisms which support data encryption are allowed. This is DIGEST_MD5 and GSSAPI (Kerberos5)" -msgstr "" +msgstr "El uso del socket TCP necesita de manera predeterminada identificación SASL. Únicamente se permiten mecanismos SASL que implementen cifrado de datos. Estos son DIGEST_MD5 y GSSAPI (Kerberos5)." #. type: deftypevr #: doc/guix.texi:21388 @@ -41452,10 +41560,11 @@ msgstr "" msgid "{@code{libvirt-configuration} parameter} string tls-port" msgstr "{parámetro de @code{libvirt-configuration}} string tls-port" +# TODO: Enviar parche. #. type: deftypevr #: doc/guix.texi:21391 msgid "Port for accepting secure TLS connections This can be a port number, or service name" -msgstr "" +msgstr "Puerto en el que se aceptan conexiones seguras. Puede ser un número de puerto o un nombre de servicio." #. type: deftypevr #: doc/guix.texi:21393 @@ -41468,10 +41577,11 @@ msgstr "El valor predeterminado es @samp{\"16514\"}." msgid "{@code{libvirt-configuration} parameter} string tcp-port" msgstr "{parámetro de @code{libvirt-configuration}} string tcp-port" +# TODO: Enviar parche #. type: deftypevr #: doc/guix.texi:21399 msgid "Port for accepting insecure TCP connections This can be a port number, or service name" -msgstr "" +msgstr "Puerto en el que se aceptan conexiones inseguras. Puede ser un número de puerto o un nombre de servicio." #. type: deftypevr #: doc/guix.texi:21401 @@ -41486,9 +41596,8 @@ msgstr "{parámetro de @code{libvirt-configuration}} string listen-addr" #. type: deftypevr #: doc/guix.texi:21406 -#, fuzzy msgid "IP address or hostname used for client connections." -msgstr "Nombre del fichero del certificado SSL/TLS usado para conexiones cifradas." +msgstr "Dirección IP o nombre de máquina usado para las conexiones de clientes." #. type: deftypevr #: doc/guix.texi:21408 @@ -41504,12 +41613,12 @@ msgstr "{parámetro de @code{libvirt-configuration}} boolean mdns-adv?" #. type: deftypevr #: doc/guix.texi:21413 msgid "Flag toggling mDNS advertisement of the libvirt service." -msgstr "" +msgstr "Opción que determina el anuncio mDNS del servicio libvirt." #. type: deftypevr #: doc/guix.texi:21416 msgid "Alternatively can disable for all services on a host by stopping the Avahi daemon." -msgstr "" +msgstr "De manera alternativa puede desactivarse para todos los servicios en una máquina parando el daemon Avahi." #. type: deftypevr #: doc/guix.texi:21421 @@ -41517,10 +41626,11 @@ msgstr "" msgid "{@code{libvirt-configuration} parameter} string mdns-name" msgstr "{parámetro de @code{libvirt-configuration}} string mdns-name" +# FUZZY FUZZY #. type: deftypevr #: doc/guix.texi:21424 msgid "Default mDNS advertisement name. This must be unique on the immediate broadcast network." -msgstr "" +msgstr "Nombre predeterminado del anuncio mDNS. Debe ser único en la red de distribución inmediata." #. type: deftypevr #: doc/guix.texi:21426 @@ -41536,7 +41646,7 @@ msgstr "{parámetro de @code{libvirt-configuration}} string unix-sock-group" #. type: deftypevr #: doc/guix.texi:21433 msgid "UNIX domain socket group ownership. This can be used to allow a 'trusted' set of users access to management capabilities without becoming root." -msgstr "" +msgstr "Grupo propietario del socket de dominio de UNIX. Puede usarse para permitir a un conjunto de usuarias «de confianza» acceso a las funcionalidades de gestión sin convertirse en root." #. type: deftypevr #: doc/guix.texi:21438 @@ -41547,7 +41657,7 @@ msgstr "{parámetro de @code{libvirt-configuration}} string unix-sock-ro-perms" #. type: deftypevr #: doc/guix.texi:21441 msgid "UNIX socket permissions for the R/O socket. This is used for monitoring VM status only." -msgstr "" +msgstr "Permisos del socket UNIX de sólo lectura@footnote{R/O: Read-Only en inglés.}. Se usa únicamente para monitorizar el estado de las máquinas virtuales." #. type: deftypevr #: doc/guix.texi:21443 doc/guix.texi:21461 @@ -41563,7 +41673,7 @@ msgstr "{parámetro de @code{libvirt-configuration}} string unix-sock-rw-perms" #. type: deftypevr #: doc/guix.texi:21450 msgid "UNIX socket permissions for the R/W socket. Default allows only root. If PolicyKit is enabled on the socket, the default will change to allow everyone (eg, 0777)" -msgstr "" +msgstr "Permisos del socket UNIX de lectura/escritura@footnote{R/W: Read-Write en inglés.}. El valor predeterminado únicamente permite acceso a root. Si PolicyKit se encuentra activo en el socket, el valor predeterminado cambiará para permitir acceso universal (es decir, 0777)." #. type: deftypevr #: doc/guix.texi:21452 @@ -41576,10 +41686,11 @@ msgstr "El valor predeterminado es @samp{\"0770\"}." msgid "{@code{libvirt-configuration} parameter} string unix-sock-admin-perms" msgstr "{parámetro de @code{libvirt-configuration}} string unix-sock-admin-perms" +# FUZZY #. type: deftypevr #: doc/guix.texi:21459 msgid "UNIX socket permissions for the admin socket. Default allows only owner (root), do not change it unless you are sure to whom you are exposing the access to." -msgstr "" +msgstr "Permisos del socket UNIX de administración. El valor predeterminado únicamente permite acceso a la propietaria (root), no lo cambie a menos que esté completamente segura de a quién expone el acceso." #. type: deftypevr #: doc/guix.texi:21464 @@ -41590,9 +41701,8 @@ msgstr "{parámetro de @code{libvirt-configuration}} string unix-sock-dir" # FUZZY #. type: deftypevr #: doc/guix.texi:21466 -#, fuzzy msgid "The directory in which sockets will be found/created." -msgstr "El directorio al que se debe asociar el sistema de ficheros." +msgstr "Directorio en el que los sockets se encuentran/crean." #. type: deftypevr #: doc/guix.texi:21468 @@ -41605,10 +41715,11 @@ msgstr "El valor predeterminado es @samp{\"/var/run/libvirt\"}." msgid "{@code{libvirt-configuration} parameter} string auth-unix-ro" msgstr "{parámetro de @code{libvirt-configuration}} string auth-unix-ro" +# FUZZY #. type: deftypevr #: doc/guix.texi:21474 msgid "Authentication scheme for UNIX read-only sockets. By default socket permissions allow anyone to connect" -msgstr "" +msgstr "Esquema de indentificación para los sockets de solo-lectura de UNIX. Los permisos predeterminados del socket permiten la conexión de cualquier usuaria." #. type: deftypevr #: doc/guix.texi:21476 doc/guix.texi:21485 @@ -41624,7 +41735,7 @@ msgstr "{parámetro de @code{libvirt-configuration}} string auth-unix-rw" #. type: deftypevr #: doc/guix.texi:21483 msgid "Authentication scheme for UNIX read-write sockets. By default socket permissions only allow root. If PolicyKit support was compiled into libvirt, the default will be to use 'polkit' auth." -msgstr "" +msgstr "Esquema de indentificación para los sockets de lectura/escritura de UNIX. Los permisos predeterminados del socket permiten la conexión únicamente a root. Si se activó en la compilación de libvirt la interoperabilidad con PolicyKit, el valor predeterminado es usar la identificación «policykit»." #. type: deftypevr #: doc/guix.texi:21488 @@ -41635,7 +41746,7 @@ msgstr "{parámetro de @code{libvirt-configuration}} string auth-tcp" #. type: deftypevr #: doc/guix.texi:21492 msgid "Authentication scheme for TCP sockets. If you don't enable SASL, then all TCP traffic is cleartext. Don't do this outside of a dev/test scenario." -msgstr "" +msgstr "Esquema de indentificación para los sockets TCP. Si no activa SASL, todo el tráfico TCP estará en texto plano. No lo haga más allá de un escenario de desarrollo/pruebas." #. type: deftypevr #: doc/guix.texi:21494 @@ -41651,12 +41762,12 @@ msgstr "{parámetro de @code{libvirt-configuration}} string auth-tls" #. type: deftypevr #: doc/guix.texi:21501 msgid "Authentication scheme for TLS sockets. TLS sockets already have encryption provided by the TLS layer, and limited authentication is done by certificates." -msgstr "" +msgstr "Esquema de indentificación para los sockets TLS. Los sockets TLS ya se encuentran cifrados gracias a la capa TLS, y una identificación limitada se realiza con los certificados." #. type: deftypevr #: doc/guix.texi:21504 msgid "It is possible to make use of any SASL authentication mechanism as well, by using 'sasl' for this option" -msgstr "" +msgstr "También es posible hacer uso de cualquier mecanismo de identificación SASL proporcionando «sasl» en esta opción." #. type: deftypevr #: doc/guix.texi:21506 @@ -41673,12 +41784,13 @@ msgstr "{parámetro de @code{libvirt-configuration}} lista-opcional access-drive #. type: deftypevr #: doc/guix.texi:21511 msgid "API access control scheme." -msgstr "" +msgstr "Esquema de la API de control de acceso." +# FUZZY #. type: deftypevr #: doc/guix.texi:21514 msgid "By default an authenticated user is allowed access to all APIs. Access drivers can place restrictions on this." -msgstr "" +msgstr "De manera predeterminada una usuaria identificada puede acceder a todas las API. Los controladores de acceso pueden incluir restricciones de acceso sobre ello." #. type: deftypevr #: doc/guix.texi:21519 @@ -41689,7 +41801,7 @@ msgstr "{parámetro de @code{libvirt-configuration}} string key-file" #. type: deftypevr #: doc/guix.texi:21522 msgid "Server key file path. If set to an empty string, then no private key is loaded." -msgstr "" +msgstr "Ruta del fichero con la clave del servidor. Si se proporciona una cadena vacía, no se carga ninguna clave privada." #. type: deftypevr #: doc/guix.texi:21527 @@ -41700,7 +41812,7 @@ msgstr "{parámetro de @code{libvirt-configuration}} string cert-file" #. type: deftypevr #: doc/guix.texi:21530 msgid "Server key file path. If set to an empty string, then no certificate is loaded." -msgstr "" +msgstr "Ruta del fichero con la clave del servidor. Si se proporciona una cadena vacía, no se carga ningún certificado." #. type: deftypevr #: doc/guix.texi:21535 @@ -41711,7 +41823,7 @@ msgstr "{parámetro de @code{libvirt-configuration}} string ca-file" #. type: deftypevr #: doc/guix.texi:21538 msgid "Server key file path. If set to an empty string, then no CA certificate is loaded." -msgstr "" +msgstr "Ruta del fichero con la clave del servidor. Si se proporciona una cadena vacía, no se carga ningún certificado de CA." #. type: deftypevr #: doc/guix.texi:21543 @@ -41719,10 +41831,11 @@ msgstr "" msgid "{@code{libvirt-configuration} parameter} string crl-file" msgstr "{parámetro de @code{libvirt-configuration}} string crl-file" +# FUZZY #. type: deftypevr #: doc/guix.texi:21546 msgid "Certificate revocation list path. If set to an empty string, then no CRL is loaded." -msgstr "" +msgstr "Ruta de la lista de revocaciones de certificado. Si se proporciona una cadena vacía, no se carga ninguna lista." #. type: deftypevr #: doc/guix.texi:21551 @@ -41733,12 +41846,12 @@ msgstr "{parámetro de @code{libvirt-configuration}} boolean tls-no-sanity-cert" #. type: deftypevr #: doc/guix.texi:21553 msgid "Disable verification of our own server certificates." -msgstr "" +msgstr "Desactiva la verificación de los propios certificados del servidor." #. type: deftypevr #: doc/guix.texi:21556 msgid "When libvirtd starts it performs some sanity checks against its own certificates." -msgstr "" +msgstr "Cuando libvirtd arranca, realiza algunas comprobaciones básicas sobre sus propios certificados." #. type: deftypevr #: doc/guix.texi:21561 @@ -41748,14 +41861,13 @@ msgstr "{parámetro de @code{libvirt-configuration}} boolean tls-no-verify-cert" #. type: deftypevr #: doc/guix.texi:21563 -#, fuzzy msgid "Disable verification of client certificates." -msgstr "Localización de los certificados SSL de los clientes." +msgstr "Desactiva la verificación de certificados de clientes." #. type: deftypevr #: doc/guix.texi:21567 msgid "Client certificate verification is the primary authentication mechanism. Any client which does not present a certificate signed by the CA will be rejected." -msgstr "" +msgstr "La verificación de certificados de cliente es el mecanismo primario de identificación. Se rechazará cualquier cliente que no presente un certificado firmado por la autoridad de certificación (CA)." #. type: deftypevr #: doc/guix.texi:21572 @@ -41763,10 +41875,11 @@ msgstr "" msgid "{@code{libvirt-configuration} parameter} optional-list tls-allowed-dn-list" msgstr "{parámetro de @code{libvirt-configuration}} lista-opcional tls-allowed-dn-list" +# FUZZY FUZZY FUZZY #. type: deftypevr #: doc/guix.texi:21574 msgid "Whitelist of allowed x509 Distinguished Name." -msgstr "" +msgstr "Lista de nombres distinguidos (DN) x509 permitidos." #. type: deftypevr #: doc/guix.texi:21579 @@ -41774,10 +41887,11 @@ msgstr "" msgid "{@code{libvirt-configuration} parameter} optional-list sasl-allowed-usernames" msgstr "{parámetro de @code{libvirt-configuration}} lista-opcional sasl-allowed-usernames" +# FUZZY FUZZY FUZZY #. type: deftypevr #: doc/guix.texi:21582 msgid "Whitelist of allowed SASL usernames. The format for username depends on the SASL authentication mechanism." -msgstr "" +msgstr "Lista de nombres de usuaria SASL permitidos. El formato para el nombre de la usuaria depende del mecanismo de identificación SASL." #. type: deftypevr #: doc/guix.texi:21587 @@ -41785,10 +41899,11 @@ msgstr "" msgid "{@code{libvirt-configuration} parameter} string tls-priority" msgstr "{parámetro de @code{libvirt-configuration}} string tls-priority" +# FUZZY #. type: deftypevr #: doc/guix.texi:21591 msgid "Override the compile time default TLS priority string. The default is usually \"NORMAL\" unless overridden at build time. Only set this is it is desired for libvirt to deviate from the global default settings." -msgstr "" +msgstr "Cambia el valor de la cadena de prioridad de TLS predeterminada en tiempo de compilación. El valor predeterminado habitualmente es \"NORMAL\" a menos que se cambiase en tiempo de compilación. Proporcione este valor únicamente si desea que libvirt se desvíe de la configuración global predeterminada." #. type: deftypevr #: doc/guix.texi:21593 @@ -41804,7 +41919,7 @@ msgstr "{parámetro de @code{libvirt-configuration}} integer max-clients" #. type: deftypevr #: doc/guix.texi:21599 doc/guix.texi:22022 msgid "Maximum number of concurrent client connections to allow over all sockets combined." -msgstr "" +msgstr "Número máximo de conexiones concurrentes de clientes permitidas en todos los sockets combinados." #. type: deftypevr #: doc/guix.texi:21601 @@ -41817,10 +41932,11 @@ msgstr "El valor predeterminado es @samp{5000}." msgid "{@code{libvirt-configuration} parameter} integer max-queued-clients" msgstr "{parámetro de @code{libvirt-configuration}} integer max-queued-clients" +# FUZZY #. type: deftypevr #: doc/guix.texi:21608 msgid "Maximum length of queue of connections waiting to be accepted by the daemon. Note, that some protocols supporting retransmission may obey this so that a later reattempt at connection succeeds." -msgstr "" +msgstr "Longitud máxima de la cola de conexiones a la espera de ser aceptadas por el daemon. Fíjese que algunos protocolos que implementan la retransmisión pueden obedecer esto de manera que un intento posterior de conexión tenga éxito." #. type: deftypevr #: doc/guix.texi:21613 @@ -41831,7 +41947,7 @@ msgstr "{parámetro de @code{libvirt-configuration}} integer max-anonymous-clien #. type: deftypevr #: doc/guix.texi:21616 msgid "Maximum length of queue of accepted but not yet authenticated clients. Set this to zero to turn this feature off" -msgstr "" +msgstr "Longitud máxima de la cola de clientes aceptados pero no identificados todavía. Proporcione el valor cero para desactivar esta característica." #. type: deftypevr #: doc/guix.texi:21618 doc/guix.texi:21636 doc/guix.texi:21652 @@ -41846,9 +41962,8 @@ msgstr "{parámetro de @code{libvirt-configuration}} integer min-workers" #. type: deftypevr #: doc/guix.texi:21623 -#, fuzzy msgid "Number of workers to start up initially." -msgstr "Número de líneas a leer inicialmente de cada fichero." +msgstr "Número de procesos de trabajo que se lanzarán inicialmente." #. type: deftypevr #: doc/guix.texi:21628 @@ -41859,12 +41974,13 @@ msgstr "{parámetro de @code{libvirt-configuration}} integer max-workers" #. type: deftypevr #: doc/guix.texi:21630 msgid "Maximum number of worker threads." -msgstr "" +msgstr "Número máximo de hilos de trabajo." +# FUZZY #. type: deftypevr #: doc/guix.texi:21634 msgid "If the number of active clients exceeds @code{min-workers}, then more threads are spawned, up to max_workers limit. Typically you'd want max_workers to equal maximum number of clients allowed." -msgstr "" +msgstr "Si el número de clientes excede @code{min-workers}, se lanzan más hilos, hasta el límite @code{max-workers}. Habitualmente se desea que @code{max-workers} sea igual al número máximo de clientes permitido." #. type: deftypevr #: doc/guix.texi:21639 @@ -41872,10 +41988,11 @@ msgstr "" msgid "{@code{libvirt-configuration} parameter} integer prio-workers" msgstr "{parámetro de @code{libvirt-configuration}} integer prio-workers" +# FUZZY FUZZY #. type: deftypevr #: doc/guix.texi:21643 msgid "Number of priority workers. If all workers from above pool are stuck, some calls marked as high priority (notably domainDestroy) can be executed in this pool." -msgstr "" +msgstr "Número de procesos de trabajo prioritarios. Si todos los hilos de trabajo del conjunto previo se encuentran bloqueados, algunas llamadas marcadas como de alta prioridad (notablemente domainDestroy) pueden ejecutarse en este conjunto de hilos." #. type: deftypevr #: doc/guix.texi:21648 @@ -41886,7 +42003,7 @@ msgstr "{parámetro de @code{libvirt-configuration}} integer max-requests" #. type: deftypevr #: doc/guix.texi:21650 msgid "Total global limit on concurrent RPC calls." -msgstr "" +msgstr "Límite global total de llamadas RPC concurrentes." #. type: deftypevr #: doc/guix.texi:21655 @@ -41897,7 +42014,7 @@ msgstr "{parámetro de @code{libvirt-configuration}} integer max-client-requests #. type: deftypevr #: doc/guix.texi:21659 msgid "Limit on concurrent requests from a single client connection. To avoid one client monopolizing the server this should be a small fraction of the global max_requests and max_workers parameter." -msgstr "" +msgstr "Límite de peticiones concurrentes desde una única conexión de cliente. Para evitar que un cliente monopolice el servidor esto debe ser una pequeña fracción de los parámetros globales «max_requests» y «max_workers»." #. type: deftypevr #: doc/guix.texi:21664 @@ -41908,7 +42025,7 @@ msgstr "{parámetro de @code{libvirt-configuration}} integer admin-min-workers" #. type: deftypevr #: doc/guix.texi:21666 msgid "Same as @code{min-workers} but for the admin interface." -msgstr "" +msgstr "Igual que @code{min-workers} pero para la interfaz de administración." #. type: deftypevr #: doc/guix.texi:21671 @@ -41919,7 +42036,7 @@ msgstr "{parámetro de @code{libvirt-configuration}} integer admin-max-workers" #. type: deftypevr #: doc/guix.texi:21673 msgid "Same as @code{max-workers} but for the admin interface." -msgstr "" +msgstr "Igual que @code{max-workers} pero para la interfaz de administración." #. type: deftypevr #: doc/guix.texi:21678 @@ -41930,7 +42047,7 @@ msgstr "{parámetro de @code{libvirt-configuration}} integer admin-max-clients" #. type: deftypevr #: doc/guix.texi:21680 msgid "Same as @code{max-clients} but for the admin interface." -msgstr "" +msgstr "Igual que @code{max-clients} pero para la interfaz de administración." #. type: deftypevr #: doc/guix.texi:21685 @@ -41941,7 +42058,7 @@ msgstr "{parámetro de @code{libvirt-configuration}} integer admin-max-queued-cl #. type: deftypevr #: doc/guix.texi:21687 msgid "Same as @code{max-queued-clients} but for the admin interface." -msgstr "" +msgstr "Igual que @code{max-queued-clients} pero para la interfaz de administración." #. type: deftypevr #: doc/guix.texi:21692 @@ -41952,7 +42069,7 @@ msgstr "{parámetro de @code{libvirt-configuration}} integer admin-max-client-re #. type: deftypevr #: doc/guix.texi:21694 msgid "Same as @code{max-client-requests} but for the admin interface." -msgstr "" +msgstr "Igual que @code{max-client-requests} pero para la interfaz de administración." #. type: deftypevr #: doc/guix.texi:21699 @@ -41963,7 +42080,7 @@ msgstr "{parámetro de @code{libvirt-configuration}} integer log-level" #. type: deftypevr #: doc/guix.texi:21701 doc/guix.texi:21924 msgid "Logging level. 4 errors, 3 warnings, 2 information, 1 debug." -msgstr "" +msgstr "Nivel de registro. 4 errores, 3 avisos, 2 información, 1 depuración." #. type: deftypevr #: doc/guix.texi:21706 @@ -41971,17 +42088,16 @@ msgstr "" msgid "{@code{libvirt-configuration} parameter} string log-filters" msgstr "{parámetro de @code{libvirt-configuration}} string log-filters" -# FUZZY -# MAAV (TODO): Log #. type: deftypevr #: doc/guix.texi:21708 doc/guix.texi:21931 msgid "Logging filters." -msgstr "Filtros de log." +msgstr "Filtros del registro." +# TODO: Enviar parche. #. type: deftypevr #: doc/guix.texi:21711 doc/guix.texi:21934 msgid "A filter allows to select a different logging level for a given category of logs The format for a filter is one of:" -msgstr "" +msgstr "Un filtro permite la selección de un nivel de registro diferente para una categoria dada de registros. El formato del filtro es uno de los siguientes:" #. type: itemize #: doc/guix.texi:21715 doc/guix.texi:21938 @@ -41996,37 +42112,36 @@ msgstr "x:+nombre" #. type: deftypevr #: doc/guix.texi:21728 doc/guix.texi:21951 msgid "where @code{name} is a string which is matched against the category given in the @code{VIR_LOG_INIT()} at the top of each libvirt source file, e.g., \"remote\", \"qemu\", or \"util.json\" (the name in the filter can be a substring of the full category name, in order to match multiple similar categories), the optional \"+\" prefix tells libvirt to log stack trace for each message matching name, and @code{x} is the minimal level where matching messages should be logged:" -msgstr "" +msgstr "donde @code{nombre} es una cadena contra la que se compara la categoría proporcionada en la llamada @code{VIR_LOG_INIT()} al principio de cada fichero de fuentes de libvirt, por ejemplo \"remote\", \"qemu\" o \"util.json\" (el nombre en el filtro puede ser una subcadena del nombre completo de la categoría, para aceptar múltiples categorías con nombres similares), el prefijo opcional \"+\" indica a libvirt que registre la pila de llamadas en cada mensaje con el nombre correspondiente, y @code{x} es el nivel mínimo de los mensajes que deben registrarse:" #. type: itemize #: doc/guix.texi:21732 doc/guix.texi:21777 doc/guix.texi:21955 #: doc/guix.texi:22000 msgid "1: DEBUG" -msgstr "" +msgstr "1: DEBUG (depuración)" #. type: itemize #: doc/guix.texi:21735 doc/guix.texi:21780 doc/guix.texi:21958 #: doc/guix.texi:22003 msgid "2: INFO" -msgstr "" +msgstr "2: INFO (información)" #. type: itemize #: doc/guix.texi:21738 doc/guix.texi:21783 doc/guix.texi:21961 #: doc/guix.texi:22006 msgid "3: WARNING" -msgstr "" +msgstr "3: WARNING (aviso)" #. type: itemize #: doc/guix.texi:21741 doc/guix.texi:21786 doc/guix.texi:21964 #: doc/guix.texi:22009 msgid "4: ERROR" -msgstr "" +msgstr "4: ERROR" #. type: deftypevr #: doc/guix.texi:21746 doc/guix.texi:21969 -#, fuzzy msgid "Multiple filters can be defined in a single filters statement, they just need to be separated by spaces." -msgstr "Se pueden definir salidas múltiples, únicamente deben separarse por espacios." +msgstr "Se pueden definir en una única sentencia múltiples filtros, únicamente hace falta separarlos por espacios." #. type: deftypevr #: doc/guix.texi:21748 doc/guix.texi:21971 @@ -42122,22 +42237,22 @@ msgstr "{parámetro de @code{libvirt-configuration}} integer audit-level" #. type: deftypevr #: doc/guix.texi:21798 msgid "Allows usage of the auditing subsystem to be altered" -msgstr "" +msgstr "Permite la alteración del uso del sistema de auditoría." #. type: itemize #: doc/guix.texi:21802 msgid "0: disable all auditing" -msgstr "" +msgstr "0: desactiva la auditoría" #. type: itemize #: doc/guix.texi:21805 msgid "1: enable auditing, only if enabled on host" -msgstr "" +msgstr "1: activa la auditoría, únicamente si está activado en la máquina" #. type: itemize #: doc/guix.texi:21808 msgid "2: enable auditing, and exit if disabled on host." -msgstr "" +msgstr "2: activa la auditoría, y sale si está desactivada en la máquina." #. type: deftypevr #: doc/guix.texi:21815 @@ -42148,7 +42263,7 @@ msgstr "{parámetro de @code{libvirt-configuration}} boolean audit-logging" #. type: deftypevr #: doc/guix.texi:21817 msgid "Send audit messages via libvirt logging infrastructure." -msgstr "" +msgstr "Envía los mensajes de auditoría a través de la infraestructura de registro de libvirt." # FUZZY #. type: deftypevr @@ -42160,7 +42275,7 @@ msgstr "{parámetro de @code{libvirt-configuration}} string-opcional host-uuid" #. type: deftypevr #: doc/guix.texi:21824 msgid "Host UUID. UUID must not have all digits be the same." -msgstr "" +msgstr "UUID de la máquina anfitriona. No pueden ser iguales todos los dígitos del UUID." #. type: deftypevr #: doc/guix.texi:21829 @@ -42171,22 +42286,22 @@ msgstr "{parámetro de @code{libvirt-configuration}} string host-uuid-source" #. type: deftypevr #: doc/guix.texi:21831 msgid "Source to read host UUID." -msgstr "" +msgstr "Fuente de lectura del UUID de la máquina anfitriona." #. type: itemize #: doc/guix.texi:21835 msgid "@code{smbios}: fetch the UUID from @code{dmidecode -s system-uuid}" -msgstr "" +msgstr "@code{smbios}: obtiene el UUID de @code{dmidecode -s system-uuid}" #. type: itemize #: doc/guix.texi:21838 msgid "@code{machine-id}: fetch the UUID from @code{/etc/machine-id}" -msgstr "" +msgstr "@code{machine-id}: obtiene el UUID de @code{/etc/machine-id}" #. type: deftypevr #: doc/guix.texi:21843 msgid "If @code{dmidecode} does not provide a valid UUID a temporary UUID will be generated." -msgstr "" +msgstr "Si @code{dmidecode} no proporciona un UUID válido, se generará un UUID temporal." #. type: deftypevr #: doc/guix.texi:21845 @@ -42202,7 +42317,7 @@ msgstr "{parámetro de @code{libvirt-configuration}} integer keepalive-interval" #. type: deftypevr #: doc/guix.texi:21853 msgid "A keepalive message is sent to a client after @code{keepalive_interval} seconds of inactivity to check if the client is still responding. If set to -1, libvirtd will never send keepalive requests; however clients can still send them and the daemon will send responses." -msgstr "" +msgstr "Un mensaje «keepalive» se envia al cliente tras @code{keepalive_interval} segundos de inactividad para comprobar si el cliente todavía responde. Si se proporciona el valor -1, libvirtd nunca enviará peticiones «keepalive»; no obstante los clientes todavía pueden mandarlas y el daemon enviará las respuestas." #. type: deftypevr #: doc/guix.texi:21858 @@ -42213,12 +42328,12 @@ msgstr "{parámetro de @code{libvirt-configuration}} integer keepalive-count" #. type: deftypevr #: doc/guix.texi:21862 msgid "Maximum number of keepalive messages that are allowed to be sent to the client without getting any response before the connection is considered broken." -msgstr "" +msgstr "Número máximo de mensajes «keepalive» que se permite enviar a un cliente sin obtener respuesta antes de considerar que se ha roto la conexión." #. type: deftypevr #: doc/guix.texi:21869 msgid "In other words, the connection is automatically closed approximately after @code{keepalive_interval * (keepalive_count + 1)} seconds since the last message received from the client. When @code{keepalive-count} is set to 0, connections will be automatically closed after @code{keepalive-interval} seconds of inactivity without sending any keepalive messages." -msgstr "" +msgstr "En otras palabras, la conexión se cierra automáticamente tras @code{keepalive_interval * (keepalive_count + 1)} segundos tras la última recepción de un mensaje desde el cliente. Cuando @code{keepalive_count} tiene valor 0, las conexiones se cerrarán automáticamente tras @code{keepalive-interval} segundos de inactividad sin mandar ningún mensaje «keepalive»." #. type: deftypevr #: doc/guix.texi:21874 @@ -42229,7 +42344,7 @@ msgstr "{parámetro de @code{libvirt-configuration}} integer admin-keepalive-int #. type: deftypevr #: doc/guix.texi:21876 doc/guix.texi:21883 msgid "Same as above but for admin interface." -msgstr "" +msgstr "Igual que la opción anterior pero para la interfaz de administración." #. type: deftypevr #: doc/guix.texi:21881 @@ -42243,15 +42358,17 @@ msgstr "{parámetro de @code{libvirt-configuration}} integer admin-keepalive-cou msgid "{@code{libvirt-configuration} parameter} integer ovs-timeout" msgstr "{parámetro de @code{libvirt-configuration}} integer ovs-timeout" +# FUZZY #. type: deftypevr #: doc/guix.texi:21890 msgid "Timeout for Open vSwitch calls." -msgstr "" +msgstr "Plazo máximo para las llamadas a Open vSwitch." +# FUZZY #. type: deftypevr #: doc/guix.texi:21894 msgid "The @code{ovs-vsctl} utility is used for the configuration and its timeout option is set by default to 5 seconds to avoid potential infinite waits blocking libvirt." -msgstr "" +msgstr "La utilidad @code{ovs-vsctl} se usa para la configuración y su opción de plazo máximo (timeout) tiene un valor de 5 segundos de manera predeterminada para evitar que esperas potencialmente infinitas bloqueen libvirt." #. type: subsubheading #: doc/guix.texi:21901 @@ -42262,12 +42379,12 @@ msgstr "Daemon Virtlog" #. type: Plain text #: doc/guix.texi:21904 msgid "The virtlogd service is a server side daemon component of libvirt that is used to manage logs from virtual machine consoles." -msgstr "" +msgstr "El servicio virtlogd es un daemon del que se compone el lado servidor de libvirt cuya finalidad es la gestión del registro de las consolas de las máquinas virtuales." #. type: Plain text #: doc/guix.texi:21910 msgid "This daemon is not used directly by libvirt client applications, rather it is called on their behalf by @code{libvirtd}. By maintaining the logs in a standalone daemon, the main @code{libvirtd} daemon can be restarted without risk of losing logs. The @code{virtlogd} daemon has the ability to re-exec() itself upon receiving @code{SIGUSR1}, to allow live upgrades without downtime." -msgstr "" +msgstr "Este daemon no se usa directamente en aplicaciones cliente de libvirt, sino que @code{libvirtd} lo invoca en su nombre. Al mantener los registros en un daemon independiente, el daemon @code{libvirtd} puede reiniciarse sin correr el riesgo de perder registros. El daemon @code{virtlogd} tiene la capacidad de ejecutar exec() sobre sí mismo al recibir @code{SIGUSR1}, para permitir actualizaciones en vivo sin tiempo de parada." #. type: deffn #: doc/guix.texi:21911 @@ -42337,7 +42454,7 @@ msgstr "{parámetro de @code{virtlog-configuration}} integer max-size" #. type: deftypevr #: doc/guix.texi:22029 msgid "Maximum file size before rolling over." -msgstr "" +msgstr "Tamaño máximo del fichero antes de pasar al siguiente." #. type: deftypevr #: doc/guix.texi:22031 @@ -42350,10 +42467,11 @@ msgstr "El valor predeterminado es @samp{2MB}." msgid "{@code{virtlog-configuration} parameter} integer max-backups" msgstr "{parámetro de @code{virtlog-configuration}} integer max-backups" +# FUZZY FUZZY #. type: deftypevr #: doc/guix.texi:22036 msgid "Maximum number of backup files to keep." -msgstr "" +msgstr "Número máximo de ficheros de backup que se deben mantener." #. type: deftypevr #: doc/guix.texi:22038 @@ -42376,12 +42494,12 @@ msgstr "emulación" #: doc/guix.texi:22044 #, no-wrap msgid "binfmt_misc" -msgstr "" +msgstr "binfmt_misc" #. type: Plain text #: doc/guix.texi:22050 msgid "@code{qemu-binfmt-service-type} provides support for transparent emulation of program binaries built for different architectures---e.g., it allows you to transparently execute an ARMv7 program on an x86_64 machine. It achieves this by combining the @uref{https://www.qemu.org, QEMU} emulator and the @code{binfmt_misc} feature of the kernel Linux." -msgstr "" +msgstr "@code{qemu-binfmt-service-type} proporciona la capacidad de emular transparentemente programas binarios construidos para arquitecturas diferentes---por ejemplo, le permite ejecutar de manera transparente un programa de ARMv7 en una máquina x86_64. Esto se consigue mediante la combinación del emulador @uref{https://www.qemu.org, QEMU} y la característica @code{binfmt_misc} del núcleo Linux." #. type: defvr #: doc/guix.texi:22051 @@ -42392,7 +42510,7 @@ msgstr "{Variable Scheme} qemu-binfmt-service-type" #. type: defvr #: doc/guix.texi:22056 msgid "This is the type of the QEMU/binfmt service for transparent emulation. Its value must be a @code{qemu-binfmt-configuration} object, which specifies the QEMU package to use as well as the architecture we want to emulated:" -msgstr "" +msgstr "Este es el tipo del servicio de emulación transparente QEMU/binfmt. Su valor debe ser un objeto @code{qemu-binfmt-configuration}, que especifica el paquete QEMU usado así como las arquitecturas que se desean emular:" #. type: example #: doc/guix.texi:22061 @@ -42409,7 +42527,7 @@ msgstr "" #. type: defvr #: doc/guix.texi:22067 msgid "In this example, we enable transparent emulation for the ARM and aarch64 platforms. Running @code{herd stop qemu-binfmt} turns it off, and running @code{herd start qemu-binfmt} turns it back on (@pxref{Invoking herd, the @command{herd} command,, shepherd, The GNU Shepherd Manual})." -msgstr "" +msgstr "En este ejemplo se activa la emulación transparente para las plataformas ARM y aarch64. La ejecución de @code{herd stop qemu-binfmt} la desactiva, y la ejecución de @code{herd start qemu-binfmt} la vuelve a activar (@pxref{Invoking herd, the @command{herd} command,, shepherd, The GNU Shepherd Manual})." #. type: deftp #: doc/guix.texi:22069 @@ -42431,7 +42549,7 @@ msgstr "@code{platforms} (predeterminadas: @code{'()})" #. type: table #: doc/guix.texi:22076 msgid "The list of emulated QEMU platforms. Each item must be a @dfn{platform object} as returned by @code{lookup-qemu-platforms} (see below)." -msgstr "" +msgstr "Lista de plataformas de QEMU emuladas. Cada elemento debe ser un @dfn{objeto de platforma} como los devueltos por @code{lookup-qemu-platforms} (véase a continuación)." #. type: item #: doc/guix.texi:22077 @@ -42439,15 +42557,16 @@ msgstr "" msgid "@code{guix-support?} (default: @code{#f})" msgstr "@code{guix-support?} (predeterminado: @code{#f})" +# FUZZY FUZZY #. type: table #: doc/guix.texi:22083 msgid "When it is true, QEMU and all its dependencies are added to the build environment of @command{guix-daemon} (@pxref{Invoking guix-daemon, @code{--chroot-directory} option}). This allows the @code{binfmt_misc} handlers to be used within the build environment, which in turn means that you can transparently build programs for another architecture." -msgstr "" +msgstr "Cuando su valor es verdadero, QEMU y todas sus dependencias se añaden al entorno de construcción de @command{guix-daemon} (@pxref{Invoking guix-daemon, opción @code{--chroot-directory}}). Esto permite que se usen los controladores @code{binfmt_misc} dentro del entorno de construcción, lo que permite construir transparentemente programas para otra arquitectura." #. type: table #: doc/guix.texi:22086 msgid "For example, let's suppose you're on an x86_64 machine and you have this service:" -msgstr "" +msgstr "Por ejemplo, supongamos que está en una máquina x86_64 y tiene este servicio:" #. type: example #: doc/guix.texi:22092 @@ -42466,18 +42585,18 @@ msgstr "" #. type: table #: doc/guix.texi:22095 msgid "You can run:" -msgstr "" +msgstr "Puede ejecutar:" #. type: example #: doc/guix.texi:22098 #, no-wrap msgid "guix build -s armhf-linux inkscape\n" -msgstr "" +msgstr "guix build -s armhf-linux inkscape\n" #. type: table #: doc/guix.texi:22105 msgid "and it will build Inkscape for ARMv7 @emph{as if it were a native build}, transparently using QEMU to emulate the ARMv7 CPU. Pretty handy if you'd like to test a package build for an architecture you don't have access to!" -msgstr "" +msgstr "Y construirá Inkscape para ARMv7 @emph{como si fuese una construcción nativa}, de manera transparente mediante el uso de QEMU para emular la CPU ARMv7. ¡Muy útil si quisiera probar la construcción de un paquete en una arquitectura a la que no tenga acceso!" #. type: item #: doc/guix.texi:22106 @@ -42499,7 +42618,7 @@ msgstr "{Procedimiento Scheme} lookup-qemu-platforms @var{plataformas}@dots{}" #. type: deffn #: doc/guix.texi:22116 msgid "Return the list of QEMU platform objects corresponding to @var{platforms}@dots{}. @var{platforms} must be a list of strings corresponding to platform names, such as @code{\"arm\"}, @code{\"sparc\"}, @code{\"mips64el\"}, and so on." -msgstr "" +msgstr "Devuelve la lista de objetos de plataforma de QEMU que corresponden a @var{plataformas}@dots{}. @var{plataformas} debe ser una lista de cadenas que correspondan con nombres de plataforma, como @code{\"arm\"}, @code{\"sparc\"}, @code{\"mips64el\"}, etcétera." #. type: deffn #: doc/guix.texi:22118 @@ -42510,7 +42629,7 @@ msgstr "{Procedimiento Scheme} qemu-platform? @var{obj}" #. type: deffn #: doc/guix.texi:22120 msgid "Return true if @var{obj} is a platform object." -msgstr "Devuelve verdadero si @var{obj} es un objeto plataforma." +msgstr "Devuelve verdadero si @var{obj} es un objeto de plataforma." #. type: deffn #: doc/guix.texi:22122 @@ -42523,10 +42642,11 @@ msgstr "{Procedimiento Scheme} qemu-platform-name @var{plataforma}" msgid "Return the name of @var{platform}---a string such as @code{\"arm\"}." msgstr "Devuelve el nombre de @var{plataforma}---una cadena como @code{\"arm\"}." +# FUZZY FUZZY #. type: Plain text #: doc/guix.texi:22136 msgid "The @code{(gnu services version-control)} module provides a service to allow remote access to local Git repositories. There are three options: the @code{git-daemon-service}, which provides access to repositories via the @code{git://} unsecured TCP-based protocol, extending the @code{nginx} web server to proxy some requests to @code{git-http-backend}, or providing a web interface with @code{cgit-service-type}." -msgstr "" +msgstr "El módulo @code{(gnu services version-control)} proporciona un servicio para permitir el acceso remoto a repositorios Git locales. Existen tres opciones: el servicio @code{git-daemon-service}, que proporciona acceso a repositorios a través del protocolo inseguro basado en TCP @code{git://}, la extensión del servidor web @code{nginx} para redirigir algunas peticiones al motor @code{git-http-backend}, o una interfaz web proporcionada por el servicio @code{cgit-service-type}." #. type: deffn #: doc/guix.texi:22137 @@ -42539,10 +42659,11 @@ msgstr "{Procedimiento Scheme} git-daemon-service [#:config (git-daemon-configur msgid "Return a service that runs @command{git daemon}, a simple TCP server to expose repositories over the Git protocol for anonymous access." msgstr "Devuelve un servicio que ejecuta @command{git daemon}, un servidor TCP simple para exponer repositorios con el protocolo Git para acceso anónimo." +# FUZZY #. type: deffn #: doc/guix.texi:22147 msgid "The optional @var{config} argument should be a @code{} object, by default it allows read-only access to exported@footnote{By creating the magic file \"git-daemon-export-ok\" in the repository directory.} repositories under @file{/srv/git}." -msgstr "" +msgstr "El parámetro opcional @var{config} debe ser un objeto @code{}, de manera predeterminada permite acceso de solo lectura a los repositorios exportados@footnote{Mediante la creación del fichero mágico \"git-daemon-export-ok\" en el directorio del repositorio.} bajo @file{/srv/git}." #. type: deftp #: doc/guix.texi:22150 @@ -42575,7 +42696,7 @@ msgstr "@code{export-all?} (predeterminado: @var{#f})" #. type: table #: doc/guix.texi:22160 msgid "Whether to allow access for all Git repositories, even if they do not have the @file{git-daemon-export-ok} file." -msgstr "" +msgstr "Determina si se permite el acceso a todos los repositorios Git, incluso si no tienen el fichero @file{git-daemon-export-ok}." #. type: item #: doc/guix.texi:22161 @@ -42586,7 +42707,7 @@ msgstr "@code{base-path} (predeterminado: @file{/srv/git})" #. type: table #: doc/guix.texi:22166 msgid "Whether to remap all the path requests as relative to the given path. If you run git daemon with @var{(base-path \"/srv/git\")} on example.com, then if you later try to pull @code{git://example.com/hello.git}, git daemon will interpret the path as @code{/srv/git/hello.git}." -msgstr "" +msgstr "Determina si se traducirán todas las rutas de las peticiones como relativas a la ruta proporcionada. Si se encuentra en ejecución el daemon de git con @var{(base-path \"/srv/git\"} en example.com, al realizar la solicitud de @code{git://example.com/hello.git}, el daemon de git interpretará la ruta como @code{/srv/git/hello.git}." #. type: item #: doc/guix.texi:22167 @@ -42597,7 +42718,7 @@ msgstr "@code{user-path} (predeterminado: @var{#f})" #. type: table #: doc/guix.texi:22174 msgid "Whether to allow @code{~user} notation to be used in requests. When specified with empty string, requests to @code{git://host/~alice/foo} is taken as a request to access @code{foo} repository in the home directory of user @code{alice}. If @var{(user-path \"path\")} is specified, the same request is taken as a request to access @code{path/foo} repository in the home directory of user @code{alice}." -msgstr "" +msgstr "Determina si se permite el uso de la notación @code{~user} en las peticiones. Si se especifica una cadena vacía, una peticione de @code{git://máquina/~alicia/algo} se tomará como una petición de acceso al repositorio @code{algo} en el directorio de la usuaria @code{alicia}. Si se especifica @var{(user-path \"ruta\")}, la misma petición se traducirá en una petición de acceso al repositorio @code{ruta/algo} en el directorio de la usuaria @code{alicia}." #. type: item #: doc/guix.texi:22175 @@ -42605,11 +42726,11 @@ msgstr "" msgid "@code{listen} (default: @var{'()})" msgstr "@code{listen} (predeterminado: @var{'()})" +# FUZZY FUZZY #. type: table #: doc/guix.texi:22178 -#, fuzzy msgid "Whether to listen on specific IP addresses or hostnames, defaults to all." -msgstr "Una lista de direcciones IP o nombres de máquina con los que el daemon ntpd se debe sincronizar." +msgstr "Determina si se debe escuchar en direcciones IP o nombres de máquina específicos, de manera predeterminada escucha en cualquiera." #. type: item #: doc/guix.texi:22179 @@ -42620,7 +42741,7 @@ msgstr "@code{port} (predeterminado: @var{#f})" #. type: table #: doc/guix.texi:22181 msgid "Whether to listen on an alternative port, which defaults to 9418." -msgstr "" +msgstr "Determina si se escucha en un puerto alternativo, cuyo valor predeterminado es 9418." #. type: item #: doc/guix.texi:22182 @@ -42631,7 +42752,7 @@ msgstr "@code{whitelist} (predeterminado: @var{'()})" #. type: table #: doc/guix.texi:22184 msgid "If not empty, only allow access to this list of directories." -msgstr "" +msgstr "Si no está vacío, únicamente permite el acceso a esta lista de directorios." #. type: item #: doc/guix.texi:22185 @@ -42642,17 +42763,18 @@ msgstr "@code{extra-options} (predeterminadas: @var{'()})" #. type: table #: doc/guix.texi:22188 msgid "Extra options will be passed to @code{git daemon}, please run @command{man git-daemon} for more information." -msgstr "" +msgstr "Opciones adicionales que se proporcionan a @code{git daemon}, para obtener más información le rogamos que ejecute @command{man git-daemon}." +# FUZZY #. type: Plain text #: doc/guix.texi:22202 msgid "The @code{git://} protocol lacks authentication. When you pull from a repository fetched via @code{git://}, you don't know that the data you receive was modified is really coming from the specified host, and you have your connection is subject to eavesdropping. It's better to use an authenticated and encrypted transport, such as @code{https}. Although Git allows you to serve repositories using unsophisticated file-based web servers, there is a faster protocol implemented by the @code{git-http-backend} program. This program is the back-end of a proper Git web service. It is designed to sit behind a FastCGI proxy. @xref{Web Services}, for more on running the necessary @code{fcgiwrap} daemon." -msgstr "" +msgstr "El protocolo @code{git://} carece de verificación. Cuando se obtienen datos de un repositorio a través del protocolo @code{git://}, no puede asegurarse que los datos que reciba proceden realmente de la máquina que especificó, y su conexión puede ser interceptada. Es mejor usar un transporte verificado y cifrado, como @code{https}. Aunque Git le permite servir repositorios usando servidores web poco sofisticados basados en ficheros, existe un protocolo más rápido implementado en el programa @code{git-http-backend}. Este programa es el motor de un servicio web de Git adecuado. Está diseñado para ejecutarse tras FastCGI. @xref{Web Services}, para más información sobre la ejecución del daemon @code{fcgiwrap} necesario." #. type: Plain text #: doc/guix.texi:22205 msgid "Guix has a separate configuration data type for serving Git repositories over HTTP." -msgstr "" +msgstr "Guix tiene un tipo de datos de configuración distinto para proporcionar repositorios Git sobre HTTP." #. type: deftp #: doc/guix.texi:22206 @@ -42674,12 +42796,12 @@ msgstr "@code{git-root} (predeterminada: @file{/srv/git})" #. type: table #: doc/guix.texi:22215 msgid "Directory containing the Git repositories to expose to the world." -msgstr "" +msgstr "Directorio que contiene los repositorios Git que se expondrán al mundo." #. type: table #: doc/guix.texi:22219 msgid "Whether to expose access for all Git repositories in @var{git-root}, even if they do not have the @file{git-daemon-export-ok} file." -msgstr "" +msgstr "Determina si se expondrá el acceso a todos los repositorios en @var{git-root}, incluso si no contienen el fichero @file{git-daemon-export-ok}." #. type: item #: doc/guix.texi:22220 @@ -42690,7 +42812,7 @@ msgstr "@code{uri-path} (predeterminada: @file{/git/})" #. type: table #: doc/guix.texi:22225 msgid "Path prefix for Git access. With the default @code{/git/} prefix, this will map @code{http://@var{server}/git/@var{repo}.git} to @code{/srv/git/@var{repo}.git}. Requests whose URI paths do not begin with this prefix are not passed on to this Git instance." -msgstr "" +msgstr "Prefijo de la ruta del acceso de Git. Con el prefijo predeterminado @code{/git/}, @code{http://@var{servidor}/git/@var{repositorio}.git} se traducirá en @code{/srv/git/@var{repositorio}.git}. Las peticiones cuyas rutas URI no comiencen con dicho prefijo no se pasan a esta instancia de Git." #. type: item #: doc/guix.texi:22226 @@ -42701,12 +42823,12 @@ msgstr "@code{fcgiwrap-socket} (predeterminado: @code{127.0.0.1:9000})" #. type: table #: doc/guix.texi:22229 msgid "The socket on which the @code{fcgiwrap} daemon is listening. @xref{Web Services}." -msgstr "" +msgstr "Socket en el que el daemon @code{fcgiwrap} escucha. @xref{Web Services}." #. type: Plain text #: doc/guix.texi:22236 msgid "There is no @code{git-http-service-type}, currently; instead you can create an @code{nginx-location-configuration} from a @code{git-http-configuration} and then add that location to a web server." -msgstr "" +msgstr "No existe actualmente @code{git-http-service-type}; en vez de eso puede crear una configuración @code{nginx-location-configuration} desde @code{git-http-configuration} y añadir dicha configuración al servidor web." #. type: deffn #: doc/guix.texi:22237 @@ -42718,6 +42840,8 @@ msgstr "{Procedimiento Scheme} git-http-nginx-location-configuration @" #: doc/guix.texi:22242 msgid "[config=(git-http-configuration)] Compute an @code{nginx-location-configuration} that corresponds to the given Git http configuration. An example nginx service definition to serve the default @file{/srv/git} over HTTPS might be:" msgstr "" +"[config=(git-http-configuration)]\n" +"Calcula una configuración @code{nginx-location-configuration} que corresponde con la configuración http de Git proporcionada. Un ejemplo de definición de servicio nginx que ofrece el directorio predeterminado @file{/srv/git} sobre HTTPS podría ser:" #. type: example #: doc/guix.texi:22259 @@ -42758,7 +42882,7 @@ msgstr "" #. type: deffn #: doc/guix.texi:22266 msgid "This example assumes that you are using Let's Encrypt to get your TLS certificate. @xref{Certificate Services}. The default @code{certbot} service will redirect all HTTP traffic on @code{git.my-host.org} to HTTPS. You will also need to add an @code{fcgiwrap} proxy to your system services. @xref{Web Services}." -msgstr "" +msgstr "Este ejemplo asume que usa Let's Encrypt para obtener su certificado TLS. @xref{Certificate Services}. El servicio predeterminado @code{certbot} redirigirá todo el tráfico HTTP en @code{git.mi-maquina.org} hacia HTTPS. También necesitará añadir @code{fcgiwrap} a sus servicios del sistema. @xref{Web Services}." #. type: subsubheading #: doc/guix.texi:22268 @@ -42778,16 +42902,16 @@ msgstr "servicio Cgit" msgid "Git, web interface" msgstr "Git, interfaz web" +# FUZZY #. type: Plain text #: doc/guix.texi:22274 msgid "@uref{https://git.zx2c4.com/cgit/, Cgit} is a web frontend for Git repositories written in C." -msgstr "" +msgstr "@uref{https://git.zx2c4.com/cgit/, Cgit} es un servidor de fachada para repositiorios Git escrito en C." #. type: Plain text #: doc/guix.texi:22277 -#, fuzzy msgid "The following example will configure the service with default values. By default, Cgit can be accessed on port 80 (@code{http://localhost:80})." -msgstr "El ejemplo siguiente configura el servicio con los valores predeterminados. Por omisión, se puede acceder a Tailon en el puerto 8080 (@code{http://localhost:8080})." +msgstr "El ejemplo siguiente configura el servicio con los valores predeterminados. Por omisión, se puede acceder a Cgit en el puerto 80 (@code{http://localhost:80})." #. type: example #: doc/guix.texi:22280 @@ -42832,7 +42956,7 @@ msgstr "{parámetro de @code{cgit-configuration}} file-object about-filter" #. type: deftypevr #: doc/guix.texi:22302 msgid "Specifies a command which will be invoked to format the content of about pages (both top-level and for each repository)." -msgstr "" +msgstr "Especifica una orden que se llamará para dar formato al contenido de las páginas «about» (tanto al nivel superior como cada repositorio)." #. type: deftypevr #: doc/guix.texi:22307 @@ -42843,7 +42967,7 @@ msgstr "{parámetro de @code{cgit-configuration}} string agefile" #. type: deftypevr #: doc/guix.texi:22310 msgid "Specifies a path, relative to each repository path, which can be used to specify the date and time of the youngest commit in the repository." -msgstr "" +msgstr "Especifica una ruta, relativa a cada ruta de repositorio, que puede usarse para espeficar una fecha y hora de la revisión más reciente del repositorio." #. type: deftypevr #: doc/guix.texi:22315 @@ -42854,9 +42978,8 @@ msgstr "{parámetro de @code{cgit-configuration}} file-object auth-filter" # FUZZY FUZZY #. type: deftypevr #: doc/guix.texi:22318 -#, fuzzy msgid "Specifies a command that will be invoked for authenticating repository access." -msgstr "Especifica si se usará cifrado para peticiones con identificación." +msgstr "Especifica una orden que se invocará para la validación de acceso al repositorio." #. type: deftypevr #: doc/guix.texi:22323 @@ -42867,7 +42990,7 @@ msgstr "{parámetro de @code{cgit-configuration}} string branch-sort" #. type: deftypevr #: doc/guix.texi:22326 msgid "Flag which, when set to @samp{age}, enables date ordering in the branch ref list, and when set @samp{name} enables ordering by branch name." -msgstr "" +msgstr "Opción que, cuando tiene valor @samp{age}, activa la ordenación por fecha en la lista de referencias de ramas, y cuando tiene valor @samp{name} activa la ordenación por nombre de rama." #. type: deftypevr #: doc/guix.texi:22328 @@ -42939,7 +43062,7 @@ msgstr "{parámetro de @code{cgit-configuration}} integer cache-root-ttl" #. type: deftypevr #: doc/guix.texi:22365 msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository index page." -msgstr "Número que especifica el tiempo de vida, en minutos, de la versión en caché de la página del índice del repositorio." +msgstr "Número que especifica el tiempo de vida, en minutos, de la versión en caché de la página del índice de repositorios." #. type: deftypevr #: doc/guix.texi:22370 @@ -43008,7 +43131,7 @@ msgstr "{parámetro de @code{cgit-configuration}} lista clone-prefix" #. type: deftypevr #: doc/guix.texi:22412 msgid "List of common prefixes which, when combined with a repository URL, generates valid clone URLs for the repository." -msgstr "" +msgstr "Lista de prefijos comunes que, cuando se combinen con la URL de un repositorio, generan una URL que permite el clonado del repositorio." #. type: deftypevr #: doc/guix.texi:22417 @@ -43040,10 +43163,11 @@ msgstr "Orden ejecutada para el formato de mensajes de revisión." msgid "{@code{cgit-configuration} parameter} string commit-sort" msgstr "{parámetro de @code{cgit-configuration}} string commit-sort" +# FUZZY #. type: deftypevr #: doc/guix.texi:22435 doc/guix.texi:22993 msgid "Flag which, when set to @samp{date}, enables strict date ordering in the commit log, and when set to @samp{topo} enables strict topological ordering." -msgstr "" +msgstr "Opción que, cuando tiene valor @samp{date}, activa la ordenación estricta por fecha en el registro histórico de revisiones, y cuando tiene valor @samp{topo} activa la ordenación estricta topológica." #. type: deftypevr #: doc/guix.texi:22437 @@ -43059,7 +43183,7 @@ msgstr "{parámetro de @code{cgit-configuration}} file-object css" #. type: deftypevr #: doc/guix.texi:22442 msgid "URL which specifies the css document to include in all cgit pages." -msgstr "" +msgstr "URL que especifica el documento css incluído en todas las páginas de cgit." #. type: deftypevr #: doc/guix.texi:22444 @@ -43075,7 +43199,7 @@ msgstr "{parámetro de @code{cgit-configuration}} file-object email-filter" #. type: deftypevr #: doc/guix.texi:22451 msgid "Specifies a command which will be invoked to format names and email address of committers, authors, and taggers, as represented in various places throughout the cgit interface." -msgstr "" +msgstr "Especifica una orden que se llamará para dar formato a los nombres y las direcciones de correo electrónico de las revisoras, autoras y etiquetadoras con el que se representarán en varios lugares de la interfaz cgit." #. type: deftypevr #: doc/guix.texi:22456 @@ -43083,10 +43207,11 @@ msgstr "" msgid "{@code{cgit-configuration} parameter} boolean embedded?" msgstr "{parámetro de @code{cgit-configuration}} boolean embedded?" +# FUZZY #. type: deftypevr #: doc/guix.texi:22459 msgid "Flag which, when set to @samp{#t}, will make cgit generate a HTML fragment suitable for embedding in other HTML pages." -msgstr "" +msgstr "Opción que, cuando tiene valor @samp{#t}, hace que cgit genere un fragmento HTML adecuado para embeberse en otras páginas HTML." #. type: deftypevr #: doc/guix.texi:22464 @@ -43097,7 +43222,7 @@ msgstr "{parámetro de @code{cgit-configuration}} boolean enable-commit-graph?" #. type: deftypevr #: doc/guix.texi:22468 msgid "Flag which, when set to @samp{#t}, will make cgit print an ASCII-art commit history graph to the left of the commit messages in the repository log page." -msgstr "" +msgstr "Opción que, cuando tiene el valor @samp{#t}, hace que cgit imprima un grafo histórico de la revisión de arte ASCII a la izquierda de los mensajes de revisión en la página del histórico del repositorio." #. type: deftypevr #: doc/guix.texi:22473 @@ -43107,9 +43232,8 @@ msgstr "{parámetro de @code{cgit-configuration}} boolean enable-filter-override #. type: deftypevr #: doc/guix.texi:22476 -#, fuzzy msgid "Flag which, when set to @samp{#t}, allows all filter settings to be overridden in repository-specific cgitrc files." -msgstr "Opción que, cuando tiene valor @samp{#t}, ignora el repositorio." +msgstr "Opción que, cuando tiene valor @samp{#t}, permite que todas las configuraciones de filtros se sustituyan en los ficheros cgitrc específicos del repositorio." #. type: deftypevr #: doc/guix.texi:22481 @@ -43119,9 +43243,8 @@ msgstr "{parámetro de @code{cgit-configuration}} boolean enable-follow-links?" #. type: deftypevr #: doc/guix.texi:22484 -#, fuzzy msgid "Flag which, when set to @samp{#t}, allows users to follow a file in the log view." -msgstr "Opción que, cuando tiene valor @samp{#t}, ignora el repositorio." +msgstr "Opción que, cuando tiene valor @samp{#t}, permite a las usuarias seguir un fichero en la vista de registro (log)." #. type: deftypevr #: doc/guix.texi:22489 @@ -43129,10 +43252,11 @@ msgstr "Opción que, cuando tiene valor @samp{#t}, ignora el repositorio." msgid "{@code{cgit-configuration} parameter} boolean enable-http-clone?" msgstr "{parámetro de @code{cgit-configuration}} boolean enable-http-clone?" +# FUZZY #. type: deftypevr #: doc/guix.texi:22492 msgid "If set to @samp{#t}, cgit will act as an dumb HTTP endpoint for Git clones." -msgstr "" +msgstr "Si se proporciona @samp{#t}, cgit actuará como un simple servidor HTTP para los clones de Git." #. type: deftypevr #: doc/guix.texi:22497 @@ -43140,10 +43264,11 @@ msgstr "" msgid "{@code{cgit-configuration} parameter} boolean enable-index-links?" msgstr "{parámetro de @code{cgit-configuration}} boolean enable-index-links?" +# FUZZY #. type: deftypevr #: doc/guix.texi:22500 msgid "Flag which, when set to @samp{#t}, will make cgit generate extra links \"summary\", \"commit\", \"tree\" for each repo in the repository index." -msgstr "" +msgstr "Opción que, cuando tiene valor @samp{#t}, hace que cgit genere enlaces adicionales \"summary\" (resumen), \"commit\" (revisión) y \"tree\" (árbol) para cada repositorio en el índice de repositorios." #. type: deftypevr #: doc/guix.texi:22505 @@ -43151,11 +43276,11 @@ msgstr "" msgid "{@code{cgit-configuration} parameter} boolean enable-index-owner?" msgstr "{parámetro de @code{cgit-configuration}} boolean enable-index-owner?" +# FUZZY #. type: deftypevr #: doc/guix.texi:22508 -#, fuzzy msgid "Flag which, when set to @samp{#t}, will make cgit display the owner of each repo in the repository index." -msgstr "Opción que, cuando tiene valor @samp{#t}, ignora el repositorio." +msgstr "Opción que, cuando tiene valor @samp{#t}, hace que cgit muestre la propietaria de cada repositorio en el índice del repositorios." #. type: deftypevr #: doc/guix.texi:22513 @@ -43165,9 +43290,8 @@ msgstr "{parámetro de @code{cgit-configuration}} boolean enable-log-filecount?" #. type: deftypevr #: doc/guix.texi:22516 -#, fuzzy msgid "Flag which, when set to @samp{#t}, will make cgit print the number of modified files for each commit on the repository log page." -msgstr "Opción que, cuando tiene valor @samp{#t}, ignora el repositorio." +msgstr "Opción que, cuando se proporciona el valor @samp{#t}, hace que cgit imprima el número de ficheros modificados por cada revisión en la página de registro histórico del repositorio (\"log\")." #. type: deftypevr #: doc/guix.texi:22521 @@ -43178,7 +43302,7 @@ msgstr "{parámetro de @code{cgit-configuration}} boolean enable-log-linecount?" #. type: deftypevr #: doc/guix.texi:22524 msgid "Flag which, when set to @samp{#t}, will make cgit print the number of added and removed lines for each commit on the repository log page." -msgstr "" +msgstr "Opción que, cuando se proporciona el valor @samp{#t}, hace que cgit imprima el número de líneas añadidas y eliminadas en cada revisión en la página de registro histórico (\"log\")." #. type: deftypevr #: doc/guix.texi:22529 @@ -43189,7 +43313,7 @@ msgstr "{parámetro de @code{cgit-configuration}} boolean enable-remote-branches #. type: deftypevr #: doc/guix.texi:22532 doc/guix.texi:23056 msgid "Flag which, when set to @code{#t}, will make cgit display remote branches in the summary and refs views." -msgstr "" +msgstr "Opción que, cuando se proporciona el valor @samp{#t}, hace que cgit muestre ramas remotas en las vistas de resumen (\"summary\") y de referencias (\"refs\")." #. type: deftypevr #: doc/guix.texi:22537 @@ -43197,10 +43321,11 @@ msgstr "" msgid "{@code{cgit-configuration} parameter} boolean enable-subject-links?" msgstr "{parámetro de @code{cgit-configuration}} boolean enable-subject-links?" +# TODO (MAAV): Enviar parche. #. type: deftypevr #: doc/guix.texi:22541 msgid "Flag which, when set to @code{1}, will make cgit use the subject of the parent commit as link text when generating links to parent commits in commit view." -msgstr "" +msgstr "Opción que, cuando se proporciona el valor @samp{1}, hace que cgit use el asunto de la revisión previa como texto del enlace cuando se generen enlaces a revisiones previas en la vista de la revisión." #. type: deftypevr #: doc/guix.texi:22546 @@ -43208,10 +43333,12 @@ msgstr "" msgid "{@code{cgit-configuration} parameter} boolean enable-html-serving?" msgstr "{parámetro de @code{cgit-configuration}} boolean enable-html-serving?" +# FUZZY +# TODO (MAAV): Enviar parche. #. type: deftypevr #: doc/guix.texi:22550 msgid "Flag which, when set to @samp{#t}, will make cgit use the subject of the parent commit as link text when generating links to parent commits in commit view." -msgstr "" +msgstr "Opción que, cuando se proporciona el valor @samp{#t}, hace que cgit use el asunto de la revisión previa como texto del enlace cuando se generen enlaces a revisiones previas en la vista de la revisión." #. type: deftypevr #: doc/guix.texi:22555 @@ -43219,10 +43346,11 @@ msgstr "" msgid "{@code{cgit-configuration} parameter} boolean enable-tree-linenumbers?" msgstr "{parámetro de @code{cgit-configuration}} boolean enable-tree-linenumbers?" +# FUZZY #. type: deftypevr #: doc/guix.texi:22558 msgid "Flag which, when set to @samp{#t}, will make cgit generate linenumber links for plaintext blobs printed in the tree view." -msgstr "" +msgstr "Opción que, cuando se proporciona el valor @samp{#t}, hace que cgit genere enlaces de números de línea para los ficheros (blob) de texto plano impresos en la vista de árbol." #. type: deftypevr #: doc/guix.texi:22563 @@ -43230,11 +43358,11 @@ msgstr "" msgid "{@code{cgit-configuration} parameter} boolean enable-git-config?" msgstr "{parámetro de @code{cgit-configuration}} boolean enable-git-config?" +# FUZZY #. type: deftypevr #: doc/guix.texi:22566 -#, fuzzy msgid "Flag which, when set to @samp{#f}, will allow cgit to use Git config to set any repo specific settings." -msgstr "Opción que, cuando tiene valor @samp{#t}, ignora el repositorio." +msgstr "Opción que, cuando tiene valor @samp{#f}, permite que cgit use la configuración de Git para fijar el valor de cualquier opción específica del repositorio." #. type: deftypevr #: doc/guix.texi:22571 @@ -43242,10 +43370,11 @@ msgstr "Opción que, cuando tiene valor @samp{#t}, ignora el repositorio." msgid "{@code{cgit-configuration} parameter} file-object favicon" msgstr "{parámetro de @code{cgit-configuration}} file-object favicon" +# FUZZY FUZZY #. type: deftypevr #: doc/guix.texi:22573 msgid "URL used as link to a shortcut icon for cgit." -msgstr "" +msgstr "URL usada para icono de los enlaces a cgit." #. type: deftypevr #: doc/guix.texi:22575 @@ -43258,10 +43387,11 @@ msgstr "El valor predeterminado es @samp{\"/favicon.ico\"}." msgid "{@code{cgit-configuration} parameter} string footer" msgstr "{parámetro de @code{cgit-configuration}} string footer" +# FUZZY #. type: deftypevr #: doc/guix.texi:22582 msgid "The content of the file specified with this option will be included verbatim at the bottom of all pages (i.e.@: it replaces the standard \"generated by...\"@: message)." -msgstr "" +msgstr "El contenido del fichero especificado con esta opción se incluirá literalmente en la parte inferior de todas las páginas (es decir, sustituye al mensaje estándar \"generated by...\")." #. type: deftypevr #: doc/guix.texi:22587 @@ -43272,7 +43402,7 @@ msgstr "{parámetro de @code{cgit-configuration}} string head-include" #. type: deftypevr #: doc/guix.texi:22590 msgid "The content of the file specified with this option will be included verbatim in the HTML HEAD section on all pages." -msgstr "" +msgstr "El contenido del fichero especificado con esta opción se incluirá literalmente en la sección HEAD de HTML en todas las páginas." #. type: deftypevr #: doc/guix.texi:22595 @@ -43283,7 +43413,7 @@ msgstr "{parámetro de @code{cgit-configuration}} string header" #. type: deftypevr #: doc/guix.texi:22598 msgid "The content of the file specified with this option will be included verbatim at the top of all pages." -msgstr "" +msgstr "El contenido del fichero especificado con esta opción se incluirá literalmente en la parte superior de todas las páginas." #. type: deftypevr #: doc/guix.texi:22603 @@ -43294,7 +43424,7 @@ msgstr "{parámetro de @code{cgit-configuration}} file-object include" #. type: deftypevr #: doc/guix.texi:22606 msgid "Name of a configfile to include before the rest of the current config- file is parsed." -msgstr "" +msgstr "Nombre de un fichero de configuración que debe incluirse antes de procesar el resto del fichero de configuración actual." #. type: deftypevr #: doc/guix.texi:22611 @@ -43305,7 +43435,7 @@ msgstr "{parámetro de @code{cgit-configuration}} string index-header" #. type: deftypevr #: doc/guix.texi:22614 msgid "The content of the file specified with this option will be included verbatim above the repository index." -msgstr "" +msgstr "El contenido del fichero especificado en esta opción se incluirá literalmente sobre el índice de repositorios." #. type: deftypevr #: doc/guix.texi:22619 @@ -43313,11 +43443,11 @@ msgstr "" msgid "{@code{cgit-configuration} parameter} string index-info" msgstr "{parámetro de @code{cgit-configuration}} string index-info" +# FUZZY #. type: deftypevr #: doc/guix.texi:22622 -#, fuzzy msgid "The content of the file specified with this option will be included verbatim below the heading on the repository index page." -msgstr "Número que especifica el tiempo de vida, en minutos, de la versión en caché de la página del índice del repositorio." +msgstr "El contenido del fichero especificado con esta opción se incluirá de manera literal bajo la cabecera en la página de índice del repositorio." #. type: deftypevr #: doc/guix.texi:22627 @@ -43325,11 +43455,11 @@ msgstr "Número que especifica el tiempo de vida, en minutos, de la versión en msgid "{@code{cgit-configuration} parameter} boolean local-time?" msgstr "{parámetro de @code{cgit-configuration}} boolean local-time?" +# FUZZY #. type: deftypevr #: doc/guix.texi:22630 -#, fuzzy msgid "Flag which, if set to @samp{#t}, makes cgit print commit and tag times in the servers timezone." -msgstr "Opción que, cuando tiene valor @samp{#t}, ignora el repositorio." +msgstr "Opción que, cuando tiene valor @samp{#t}, hace que cgit imprima las fechas de revisión y etiqueta en la zona horaria del servidor." #. type: deftypevr #: doc/guix.texi:22635 @@ -43340,7 +43470,7 @@ msgstr "{parámetro de @code{cgit-configuration}} file-object logo" #. type: deftypevr #: doc/guix.texi:22638 msgid "URL which specifies the source of an image which will be used as a logo on all cgit pages." -msgstr "" +msgstr "URL que especifica la fuente de una imagen usada como logo en todas las páginas de cgit." #. type: deftypevr #: doc/guix.texi:22640 @@ -43356,7 +43486,7 @@ msgstr "{parámetro de @code{cgit-configuration}} string logo-link" #. type: deftypevr #: doc/guix.texi:22645 doc/guix.texi:23102 msgid "URL loaded when clicking on the cgit logo image." -msgstr "" +msgstr "URL que se carga al pulsar la imagen del logo de cgit." #. type: deftypevr #: doc/guix.texi:22650 @@ -43367,9 +43497,8 @@ msgstr "{parámetro de @code{cgit-configuration}} file-object owner-filter" # FUZZY #. type: deftypevr #: doc/guix.texi:22653 -#, fuzzy msgid "Command which will be invoked to format the Owner column of the main page." -msgstr "Orden ejecutada para el formato de mensajes de revisión." +msgstr "Orden que se ejecuta para dar formato a la columna de propietaria (Owner) de la página principal." #. type: deftypevr #: doc/guix.texi:22658 @@ -43377,11 +43506,11 @@ msgstr "Orden ejecutada para el formato de mensajes de revisión." msgid "{@code{cgit-configuration} parameter} integer max-atom-items" msgstr "{parámetro de @code{cgit-configuration}} integer max-atom-items" +# FUZZY #. type: deftypevr #: doc/guix.texi:22660 -#, fuzzy msgid "Number of items to display in atom feeds view." -msgstr "Número de líneas a leer inicialmente de cada fichero." +msgstr "Número de elementos a mostrar en la vista de «atom feeds»." #. type: deftypevr #: doc/guix.texi:22662 doc/guix.texi:22897 doc/guix.texi:22905 @@ -43398,7 +43527,7 @@ msgstr "{parámetro de @code{cgit-configuration}} integer max-commit-count" #. type: deftypevr #: doc/guix.texi:22667 msgid "Number of entries to list per page in \"log\" view." -msgstr "" +msgstr "Número de entradas a mostrar por página en la vista del registro histórico (\"log\")." #. type: deftypevr #: doc/guix.texi:22669 doc/guix.texi:22684 @@ -43414,7 +43543,7 @@ msgstr "{parámetro de @code{cgit-configuration}} integer max-message-length" #. type: deftypevr #: doc/guix.texi:22674 msgid "Number of commit message characters to display in \"log\" view." -msgstr "" +msgstr "Número de caracteres del mensaje de la revisión a mostrar en la vista del registro histórico (\"log\")." #. type: deftypevr #: doc/guix.texi:22676 doc/guix.texi:22692 @@ -43429,9 +43558,8 @@ msgstr "{parámetro de @code{cgit-configuration}} integer max-repo-count" #. type: deftypevr #: doc/guix.texi:22682 -#, fuzzy msgid "Specifies the number of entries to list per page on the repository index page." -msgstr "Número que especifica el tiempo de vida, en minutos, de la versión en caché de la página del índice del repositorio." +msgstr "Especifica el número de entradas a mostrar por página en la página de índice de repositorios." #. type: deftypevr #: doc/guix.texi:22687 @@ -43441,9 +43569,8 @@ msgstr "{parámetro de @code{cgit-configuration}} integer max-repodesc-length" #. type: deftypevr #: doc/guix.texi:22690 -#, fuzzy msgid "Specifies the maximum number of repo description characters to display on the repository index page." -msgstr "Especifica el número de copias máximo que una usuaria puede imprimir con cada trabajo." +msgstr "Especifica el número máximo de caracteres mostrados en la descripción del repositorio en la página del índice de repositorios." #. type: deftypevr #: doc/guix.texi:22695 @@ -43451,10 +43578,11 @@ msgstr "Especifica el número de copias máximo que una usuaria puede imprimir c msgid "{@code{cgit-configuration} parameter} integer max-blob-size" msgstr "{parámetro de @code{cgit-configuration}} integer max-blob-size" +# FUZZY #. type: deftypevr #: doc/guix.texi:22697 msgid "Specifies the maximum size of a blob to display HTML for in KBytes." -msgstr "" +msgstr "Especifica el tamaño máximo para mostar HTML de un fichero (blob) en kilobytes." #. type: deftypevr #: doc/guix.texi:22702 @@ -43465,7 +43593,7 @@ msgstr "{parámetro de @code{cgit-configuration}} string max-stats" #. type: deftypevr #: doc/guix.texi:22705 msgid "Maximum statistics period. Valid values are @samp{week},@samp{month}, @samp{quarter} and @samp{year}." -msgstr "" +msgstr "Periodo estadístico máximo. Son valores aceptados @samp{week}, @samp{month}, @samp{quarter} and @samp{year}." #. type: deftypevr #: doc/guix.texi:22710 @@ -43475,9 +43603,8 @@ msgstr "{parámetro de @code{cgit-configuration}} mimetype-alist mimetype" #. type: deftypevr #: doc/guix.texi:22712 -#, fuzzy msgid "Mimetype for the specified filename extension." -msgstr "Un tipo de servicio para el pseudo-sistema de ficheros pipefs." +msgstr "Tipo MIME para la extensión de fichero especificada." #. type: deftypevr #: doc/guix.texi:22716 @@ -43490,11 +43617,11 @@ msgstr "El valor predeterminado es @samp{((gif \"image/gif\") (html \"text/html\ msgid "{@code{cgit-configuration} parameter} file-object mimetype-file" msgstr "{parámetro de @code{cgit-configuration}} file-object mimetype-file" +# FUZZY #. type: deftypevr #: doc/guix.texi:22721 -#, fuzzy msgid "Specifies the file to use for automatic mimetype lookup." -msgstr "Especifica el tipo de identificación usado por omisión." +msgstr "Especifica el fichero usado para la búsqueda automática de tipos MIME." #. type: deftypevr #: doc/guix.texi:22726 @@ -43502,10 +43629,11 @@ msgstr "Especifica el tipo de identificación usado por omisión." msgid "{@code{cgit-configuration} parameter} string module-link" msgstr "{parámetro de @code{cgit-configuration}} string module-link" +# FUZZY #. type: deftypevr #: doc/guix.texi:22729 msgid "Text which will be used as the formatstring for a hyperlink when a submodule is printed in a directory listing." -msgstr "" +msgstr "Texto que se usará como la cadena de formato para un enlace cuando un submódulo se imprime en el listado del directorio." #. type: deftypevr #: doc/guix.texi:22734 @@ -43516,7 +43644,7 @@ msgstr "{parámetro de @code{cgit-configuration}} boolean nocache?" #. type: deftypevr #: doc/guix.texi:22736 msgid "If set to the value @samp{#t} caching will be disabled." -msgstr "" +msgstr "Si se proporciona el valor @samp{#t}, se desactiva la caché." #. type: deftypevr #: doc/guix.texi:22741 @@ -43524,10 +43652,11 @@ msgstr "" msgid "{@code{cgit-configuration} parameter} boolean noplainemail?" msgstr "{parámetro de @code{cgit-configuration}} boolean noplainemail?" +# FUZZY #. type: deftypevr #: doc/guix.texi:22744 msgid "If set to @samp{#t} showing full author email addresses will be disabled." -msgstr "" +msgstr "Si se proporciona @samp{#t}, se desactiva la impresión de direcciones de correo completas de las autoras." #. type: deftypevr #: doc/guix.texi:22749 @@ -43537,9 +43666,8 @@ msgstr "{parámetro de @code{cgit-configuration}} boolean noheader?" #. type: deftypevr #: doc/guix.texi:22752 -#, fuzzy msgid "Flag which, when set to @samp{#t}, will make cgit omit the standard header on all pages." -msgstr "Opción que, cuando tiene valor @samp{#t}, ignora el repositorio." +msgstr "Opción que, cuando tiene valor @samp{#t}, hace que cgit omita la cabecera estándar en todas las páginas." #. type: deftypevr #: doc/guix.texi:22757 @@ -43550,7 +43678,7 @@ msgstr "{parámetro de @code{cgit-configuration}} lista-proyectos project-list" #. type: deftypevr #: doc/guix.texi:22761 msgid "A list of subdirectories inside of @code{repository-directory}, relative to it, that should loaded as Git repositories. An empty list means that all subdirectories will be loaded." -msgstr "" +msgstr "Una lista de subdirectorios dentro de @code{repository-directory}, relativa a él, que debe cargarse como repositorios Git. La lista vacía significa que se cargarán todos los subdirectorios." #. type: deftypevr #: doc/guix.texi:22766 @@ -43561,7 +43689,7 @@ msgstr "{parámetro de @code{cgit-configuration}} file-object readme" #. type: deftypevr #: doc/guix.texi:22768 msgid "Text which will be used as default value for @code{cgit-repo-readme}." -msgstr "" +msgstr "Texto usado como valor predeterminado para @code{cgit-repo-readme}." #. type: deftypevr #: doc/guix.texi:22773 @@ -43572,7 +43700,7 @@ msgstr "{parámetro de @code{cgit-configuration}} boolean remove-suffix?" #. type: deftypevr #: doc/guix.texi:22777 msgid "If set to @code{#t} and @code{repository-directory} is enabled, if any repositories are found with a suffix of @code{.git}, this suffix will be removed for the URL and name." -msgstr "" +msgstr "Si se proporciona @code{#t} y @code{repository-directory} está activo, si se encuentra algún repositorio con el sufijo @code{.git}, se elimina dicho sufijo de la URL y del nombre." #. type: deftypevr #: doc/guix.texi:22782 @@ -43580,10 +43708,11 @@ msgstr "" msgid "{@code{cgit-configuration} parameter} integer renamelimit" msgstr "{parámetro de @code{cgit-configuration}} integer renamelimit" +# FUZZY #. type: deftypevr #: doc/guix.texi:22784 msgid "Maximum number of files to consider when detecting renames." -msgstr "" +msgstr "Número máximo de ficheros considerados durante la detección de renombrados." #. type: deftypevr #: doc/guix.texi:22789 @@ -43594,7 +43723,7 @@ msgstr "{parámetro de @code{cgit-configuration}} string repository-sort" #. type: deftypevr #: doc/guix.texi:22791 msgid "The way in which repositories in each section are sorted." -msgstr "" +msgstr "La forma de ordenar los repositorios de cada sección." #. type: deftypevr #: doc/guix.texi:22796 @@ -43604,9 +43733,8 @@ msgstr "{parámetro de @code{cgit-configuration}} lista-robots robots" #. type: deftypevr #: doc/guix.texi:22798 -#, fuzzy msgid "Text used as content for the @code{robots} meta-tag." -msgstr "El contenido de @code{dovecot.conf}, como una cadena." +msgstr "Texto usado como contenido de la meta-etiqueta @code{robots}." #. type: deftypevr #: doc/guix.texi:22800 @@ -43622,7 +43750,7 @@ msgstr "{parámetro de @code{cgit-configuration}} string root-desc" #. type: deftypevr #: doc/guix.texi:22805 msgid "Text printed below the heading on the repository index page." -msgstr "" +msgstr "Texto impreso bajo la cabecera en la página de índice del repositorio." #. type: deftypevr #: doc/guix.texi:22807 @@ -43638,7 +43766,7 @@ msgstr "{parámetro de @code{cgit-configuration}} string root-readme" #. type: deftypevr #: doc/guix.texi:22813 msgid "The content of the file specified with this option will be included verbatim below thef \"about\" link on the repository index page." -msgstr "" +msgstr "El contenido del fichero especificado con esta opción se incluirá de manera literal tras el enlace \"about\" (acerca de) en la página de índice del repositorio." #. type: deftypevr #: doc/guix.texi:22818 @@ -43649,7 +43777,7 @@ msgstr "{parámetro de @code{cgit-configuration}} string root-title" #. type: deftypevr #: doc/guix.texi:22820 msgid "Text printed as heading on the repository index page." -msgstr "" +msgstr "Texto impreso como cabecera en la página de índice del repositorio." #. type: deftypevr #: doc/guix.texi:22825 @@ -43657,10 +43785,11 @@ msgstr "" msgid "{@code{cgit-configuration} parameter} boolean scan-hidden-path" msgstr "{parámetro de @code{cgit-configuration}} boolean scan-hidden-path" +# FUZZY #. type: deftypevr #: doc/guix.texi:22831 msgid "If set to @samp{#t} and repository-directory is enabled, repository-directory will recurse into directories whose name starts with a period. Otherwise, repository-directory will stay away from such directories, considered as \"hidden\". Note that this does not apply to the \".git\" directory in non-bare repos." -msgstr "" +msgstr "Si se proporciona @samp{#t} y repository-directory está activo, repository-directory recorrerá recursivamente los directorios cuyos nombres comiencen por punto. En otro caso, repository-directory no tendrá en cuenta dichos directorios, considerados «ocultos». Tenga en cuenta que esto no incluye al directorio «.git» en repositorios con una copia de trabajo." #. type: deftypevr #: doc/guix.texi:22836 @@ -43668,10 +43797,11 @@ msgstr "" msgid "{@code{cgit-configuration} parameter} list snapshots" msgstr "{parámetro de @code{cgit-configuration}} lista snapshots" +# FUZZY #. type: deftypevr #: doc/guix.texi:22839 msgid "Text which specifies the default set of snapshot formats that cgit generates links for." -msgstr "" +msgstr "Texto que especifica el conjunto predeterminado de formatos de instantánea para los que cgit genera enlaces." #. type: deftypevr #: doc/guix.texi:22844 @@ -43682,7 +43812,7 @@ msgstr "{parámetro de @code{cgit-configuration}} directorio-repositorio reposit #. type: deftypevr #: doc/guix.texi:22847 msgid "Name of the directory to scan for repositories (represents @code{scan-path})." -msgstr "" +msgstr "Nombre del directorio en el que se buscarán repositorios (representa @code{scan-path})." #. type: deftypevr #: doc/guix.texi:22849 @@ -43698,7 +43828,7 @@ msgstr "{parámetro de @code{cgit-configuration}} string section" #. type: deftypevr #: doc/guix.texi:22855 doc/guix.texi:23171 msgid "The name of the current repository section - all repositories defined after this option will inherit the current section name." -msgstr "" +msgstr "Nombre actual de la sección de repositorios - todos los repositorios definidos tras esta opción heredarán el nombre actual de sección." #. type: deftypevr #: doc/guix.texi:22860 @@ -43708,9 +43838,8 @@ msgstr "{parámetro de @code{cgit-configuration}} string section-sort" #. type: deftypevr #: doc/guix.texi:22863 -#, fuzzy msgid "Flag which, when set to @samp{1}, will sort the sections on the repository listing by name." -msgstr "Opción que, cuando tiene valor @samp{#t}, ignora el repositorio." +msgstr "Opción que, cuando tiene valor @samp{1}, ordenará las secciones en el listado de repositorios por nombre." #. type: deftypevr #: doc/guix.texi:22868 @@ -43718,10 +43847,11 @@ msgstr "Opción que, cuando tiene valor @samp{#t}, ignora el repositorio." msgid "{@code{cgit-configuration} parameter} integer section-from-path" msgstr "{parámetro de @code{cgit-configuration}} integer section-from-path" +# FUZZY #. type: deftypevr #: doc/guix.texi:22871 msgid "A number which, if defined prior to repository-directory, specifies how many path elements from each repo path to use as a default section name." -msgstr "" +msgstr "Número que, si se define antes de repository-directory, especifica cuandos elementos de ruta de cada ruta de repositorio se usarán como nombre de sección predeterminado." #. type: deftypevr #: doc/guix.texi:22876 @@ -43729,10 +43859,11 @@ msgstr "" msgid "{@code{cgit-configuration} parameter} boolean side-by-side-diffs?" msgstr "{parámetro de @code{cgit-configuration}} boolean side-by-side-diffs?" +# FUZZY #. type: deftypevr #: doc/guix.texi:22879 msgid "If set to @samp{#t} shows side-by-side diffs instead of unidiffs per default." -msgstr "" +msgstr "Si se proporciona el valor @samp{#t} se muestran las diferencias lado a lado en vez de usar el formato universal de manera predeterminada." #. type: deftypevr #: doc/guix.texi:22884 @@ -43755,7 +43886,7 @@ msgstr "{parámetro de @code{cgit-configuration}} integer summary-branches" #. type: deftypevr #: doc/guix.texi:22895 msgid "Specifies the number of branches to display in the repository \"summary\" view." -msgstr "" +msgstr "Especifica el número de ramas mostradas en la vista resumen (\"summary\") del repositorio." #. type: deftypevr #: doc/guix.texi:22900 @@ -43766,7 +43897,7 @@ msgstr "{parámetro de @code{cgit-configuration}} integer summary-log" #. type: deftypevr #: doc/guix.texi:22903 msgid "Specifies the number of log entries to display in the repository \"summary\" view." -msgstr "" +msgstr "Especifica el número de entradas del registro mostradas en la vista resumen (\"summary\") del repositorio." #. type: deftypevr #: doc/guix.texi:22908 @@ -43774,10 +43905,11 @@ msgstr "" msgid "{@code{cgit-configuration} parameter} integer summary-tags" msgstr "{parámetro de @code{cgit-configuration}} integer summary-tags" +# FUZZY #. type: deftypevr #: doc/guix.texi:22911 msgid "Specifies the number of tags to display in the repository \"summary\" view." -msgstr "" +msgstr "Especifica el número que etiquetas que se mostrarán en la vista resumen (\"summary\") del repositorio." #. type: deftypevr #: doc/guix.texi:22916 @@ -43788,7 +43920,7 @@ msgstr "{parámetro de @code{cgit-configuration}} string strict-export" #. type: deftypevr #: doc/guix.texi:22919 msgid "Filename which, if specified, needs to be present within the repository for cgit to allow access to that repository." -msgstr "" +msgstr "Nombre de fichero que, en caso de especificarse, debe estar presente en el repositiorio para que se permita el acceso de cgit a dicho repositorio." #. type: deftypevr #: doc/guix.texi:22924 @@ -43799,7 +43931,7 @@ msgstr "{parámetro de @code{cgit-configuration}} string virtual-root" #. type: deftypevr #: doc/guix.texi:22926 msgid "URL which, if specified, will be used as root for all cgit links." -msgstr "" +msgstr "URL que, en caso de especificarse, se usará como raíz de todos los enlaces de cgit." #. type: deftypevr #: doc/guix.texi:22928 @@ -43815,7 +43947,7 @@ msgstr "{parámetro de @code{cgit-configuration}} lista-repository-cgit-configur #. type: deftypevr #: doc/guix.texi:22933 msgid "A list of @dfn{cgit-repo} records to use with config." -msgstr "" +msgstr "Lista de registros @dfn{cgit-repo} usados con la configuración." #. type: deftypevr #: doc/guix.texi:22937 @@ -43828,10 +43960,11 @@ msgstr "Los campos disponibles de @code{repository-cgit-configuration} son:" msgid "{@code{repository-cgit-configuration} parameter} repo-list snapshots" msgstr "{parámetro de @code{repository-cgit-configuration}} repo-list snapshots" +# FUZZY #. type: deftypevr #: doc/guix.texi:22941 msgid "A mask of snapshot formats for this repo that cgit generates links for, restricted by the global @code{snapshots} setting." -msgstr "" +msgstr "Una máscara de los formatos de instantánea para este repositorio para los que cgit genera enlaces, restringida por la opción de configuración global @code{snapshots}." #. type: deftypevr #: doc/guix.texi:22946 @@ -43853,7 +43986,7 @@ msgstr "{parámetro de @code{repository-cgit-configuration}} repo-string url" #. type: deftypevr #: doc/guix.texi:22955 msgid "The relative URL used to access the repository." -msgstr "" +msgstr "La URL relativa usada para el acceso al repositorio." #. type: deftypevr #: doc/guix.texi:22960 @@ -43876,7 +44009,7 @@ msgstr "{parámetro de @code{repository-cgit-configuration}} repo-string branch- #. type: deftypevr #: doc/guix.texi:22970 msgid "Flag which, when set to @samp{age}, enables date ordering in the branch ref list, and when set to @samp{name} enables ordering by branch name." -msgstr "" +msgstr "Cuando se proporciona el valor @samp{age}, activa la ordenación por fecha en la lista de referencias de ramas, y cuando se proporciona @samp{name} se activa la ordenación por nombre de rama." #. type: deftypevr #: doc/guix.texi:22975 @@ -43887,7 +44020,7 @@ msgstr "{parámetro de @code{repository-cgit-configuration}} repo-list clone-url #. type: deftypevr #: doc/guix.texi:22977 msgid "A list of URLs which can be used to clone repo." -msgstr "" +msgstr "Una lista de URL que se pueden usar para clonar el repositorio." #. type: deftypevr #: doc/guix.texi:22982 @@ -43913,10 +44046,11 @@ msgstr "{parámetro de @code{repository-cgit-configuration}} repo-string commit- msgid "{@code{repository-cgit-configuration} parameter} repo-string defbranch" msgstr "{parámetro de @code{repository-cgit-configuration}} repo-string defbranch" +# FUZZY #. type: deftypevr #: doc/guix.texi:23003 msgid "The name of the default branch for this repository. If no such branch exists in the repository, the first branch name (when sorted) is used as default instead. By default branch pointed to by HEAD, or \"master\" if there is no suitable HEAD." -msgstr "" +msgstr "Nombre de la rama predeterminada de este repositorio. Si no existe dicha rama en el repositorio, se usará como predeterminado el primer nombre de rama encontrado (tras su ordenación). De manera predeterminada, la rama a la que apunta HEAD, o \"master\" si no existe un valor adecuado para HEAD." #. type: deftypevr #: doc/guix.texi:23008 @@ -43962,7 +44096,7 @@ msgstr "{parámetro de @code{repository-cgit-configuration}} maybe-repo-boolean #. type: deftypevr #: doc/guix.texi:23032 msgid "A flag which can be used to disable the global setting @code{enable-commit-graph?}." -msgstr "" +msgstr "Esta opción se puede usar para forzar el valor de la opción de configuración global @code{enable-commit-graph?}." #. type: deftypevr #: doc/guix.texi:23037 @@ -43973,7 +44107,7 @@ msgstr "{parámetro de @code{repository-cgit-configuration}} maybe-repo-boolean #. type: deftypevr #: doc/guix.texi:23040 msgid "A flag which can be used to disable the global setting @code{enable-log-filecount?}." -msgstr "" +msgstr "Esta opción se puede usar para forzar el valor de la opción de configuración global @code{enable-log-filecount?}." #. type: deftypevr #: doc/guix.texi:23045 @@ -43984,7 +44118,7 @@ msgstr "{parámetro de @code{repository-cgit-configuration}} maybe-repo-boolean #. type: deftypevr #: doc/guix.texi:23048 msgid "A flag which can be used to disable the global setting @code{enable-log-linecount?}." -msgstr "" +msgstr "Esta opción se puede usar para forzar el valor de la opción de configuración global @code{enable-log-linecount?}." #. type: deftypevr #: doc/guix.texi:23053 @@ -44001,7 +44135,7 @@ msgstr "{parámetro de @code{repository-cgit-configuration}} maybe-repo-boolean #. type: deftypevr #: doc/guix.texi:23064 msgid "A flag which can be used to override the global setting @code{enable-subject-links?}." -msgstr "" +msgstr "Esta opción se puede usar para forzar el valor de la opción de configuración global @code{enable-subject-links?}." #. type: deftypevr #: doc/guix.texi:23069 @@ -44012,7 +44146,7 @@ msgstr "{parámetro de @code{repository-cgit-configuration}} maybe-repo-boolean #. type: deftypevr #: doc/guix.texi:23072 msgid "A flag which can be used to override the global setting @code{enable-html-serving?}." -msgstr "" +msgstr "Esta opción se puede usar para forzar el valor de la opción de configuración global @code{enable-html-serving?}." #. type: deftypevr #: doc/guix.texi:23077 @@ -44045,7 +44179,7 @@ msgstr "{parámetro de @code{repository-cgit-configuration}} repo-file-object lo #. type: deftypevr #: doc/guix.texi:23095 msgid "URL which specifies the source of an image which will be used as a logo on this repo’s pages." -msgstr "" +msgstr "URL que especifica la fuente de una imágen que se usará como logo en las páginas de este repositorio." #. type: deftypevr #: doc/guix.texi:23100 @@ -44074,7 +44208,7 @@ msgstr "{parámetro de @code{repository-cgit-configuration}} repo-string module- #. type: deftypevr #: doc/guix.texi:23118 msgid "Text which will be used as the formatstring for a hyperlink when a submodule is printed in a directory listing. The arguments for the formatstring are the path and SHA1 of the submodule commit." -msgstr "" +msgstr "Texto que se usará como la cadena de formato de un enlace cuando un submódulo se imprima en el listado de un directorio. Los parámetros para la cadena de formato son la ruta y el SHA1 de la revisión del submódulo." #. type: deftypevr #: doc/guix.texi:23123 @@ -44082,10 +44216,11 @@ msgstr "" msgid "{@code{repository-cgit-configuration} parameter} module-link-path module-link-path" msgstr "{parámetro de @code{repository-cgit-configuration}} ruta-enlace-módulo module-link" +# FUZZY #. type: deftypevr #: doc/guix.texi:23127 msgid "Text which will be used as the formatstring for a hyperlink when a submodule with the specified subdirectory path is printed in a directory listing." -msgstr "" +msgstr "Texto que se usará como la cadena de formato de un enlace cuando un submódulo con la ruta de subdirectorio especificada se imprima en el listado de un directorio." #. type: deftypevr #: doc/guix.texi:23132 -- cgit v1.2.3 From e60a3e74400efc9149083708e3369f1eeb6cb6d6 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 31 Aug 2019 21:24:22 +0200 Subject: nls: Update 'fr' translation of the manual. --- po/doc/guix-manual.fr.po | 206 +++++++++++++++++++++++++---------------------- 1 file changed, 109 insertions(+), 97 deletions(-) diff --git a/po/doc/guix-manual.fr.po b/po/doc/guix-manual.fr.po index 06708874c9..668c32f0e4 100644 --- a/po/doc/guix-manual.fr.po +++ b/po/doc/guix-manual.fr.po @@ -3,13 +3,23 @@ # This file is distributed under the same license as the guix package. # Julien Lepiller , 2018. # Simon Tournier , 2018. +# Ludovic Courtès , 2019 +# +# Afin de n'exclure personne, de même que dans la version originale, on +# essaye de ne pas écrire ce document au masculin (ou au féminin). Par +# exemple, on ne veut pas laisser entendre qu'un « utilisateur » ou un +# « développeur » est forcément un homme. +# +# Pour cela on a recours en français aux techniques telles que décrites, +# par exemple, dans le « Manuel d'écriture inclusive » à : +# http://www.univ-tlse3.fr/medias/fichier/manuel-decriture_1482308453426-pdf # msgid "" msgstr "" "Project-Id-Version: guix-manual 1.0.1-pre1\n" "Report-Msgid-Bugs-To: ludo@gnu.org\n" "POT-Creation-Date: 2019-05-10 20:53+0200\n" -"PO-Revision-Date: 2019-07-20 11:50+0200\n" +"PO-Revision-Date: 2019-08-31 21:01+0200\n" "Last-Translator: Julien Lepiller \n" "Language-Team: French \n" "Language: fr\n" @@ -18,7 +28,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "X-Bugs: Report translation errors to the Language-Team address.\n" -"X-Generator: Poedit 2.2.1\n" +"X-Generator: Offlate 0.1\n" #. #-#-#-#-# contributing.pot (guix 1.0.1-pre1) #-#-#-#-# #. type: chapter @@ -38,7 +48,7 @@ msgstr "Ce projet est un effort coopératif et nous avons besoin de votre aide p #: doc/contributing.texi:10 #, no-wrap msgid "code of conduct, of contributors" -msgstr "code de conduite, des contributeurs" +msgstr "code de conduite, des contributeur·rices" #. type: cindex #: doc/contributing.texi:11 @@ -54,7 +64,9 @@ msgstr "Nous souhaitons fournir un environnement chaleureux, amical et sans harc #. type: Plain text #: doc/contributing.texi:21 msgid "Contributors are not required to use their legal name in patches and on-line communication; they can use any name or pseudonym of their choice." -msgstr "Les contributeurs n'ont pas besoin d'utiliser leur nom légal dans leurs correctifs et leurs communications en ligne ; ils peuvent utiliser n'importe quel nom ou pseudonyme de leur choix." +msgstr "" +"Les contributeur·rice·s n'ont pas besoin d'utiliser leur nom légal dans\n" +"leurs correctifs et leurs communications en ligne ; elles et ils peuvent utiliser n'importe quel nom ou pseudonyme de leur choix." #. type: section #: doc/contributing.texi:29 doc/contributing.texi:31 doc/contributing.texi:32 @@ -113,7 +125,7 @@ msgstr "Style de code" #. type: menuentry #: doc/contributing.texi:29 msgid "Hygiene of the contributor." -msgstr "Hygiène du contributeur." +msgstr "Hygiène des contributeur·rice·s." #. type: section #: doc/contributing.texi:29 doc/contributing.texi:778 @@ -241,7 +253,7 @@ msgstr "Finalement, vous devez invoquer @code{make check} pour lancer les tests #. type: Plain text #: doc/contributing.texi:110 msgid "In order to keep a sane working environment, you will find it useful to test the changes made in your local source tree checkout without actually installing them. So that you can distinguish between your ``end-user'' hat and your ``motley'' costume." -msgstr "Pour garder un environnement de travail sain, il est utile de tester les changement localement sans les installer pour de vrai. Pour pouvoir distinguer votre rôle « d'utilisateur final » de celui parfois haut en couleur de « développeur »." +msgstr "Pour garder un environnement de travail sain, il est utile de tester les changement localement sans les installer pour de vrai. Pour pouvoir distinguer votre rôle « d'utilisateur·rice final·e » de celui parfois haut en couleur de « développeur·euse »." #. type: Plain text #: doc/contributing.texi:121 @@ -526,7 +538,7 @@ msgstr "Synopsis et descriptions" #. type: menuentry #: doc/contributing.texi:305 msgid "Helping users find the right package." -msgstr "Aider les utilisateurs à trouver le bon paquet." +msgstr "Aider les utilisateur·rice·s à trouver le bon paquet." #. type: subsection #: doc/contributing.texi:305 doc/contributing.texi:531 @@ -585,7 +597,7 @@ msgstr "logiciel libre" #. type: Plain text #: doc/contributing.texi:319 msgid "The GNU operating system has been developed so that users can have freedom in their computing. GNU is @dfn{free software}, meaning that users have the @url{http://www.gnu.org/philosophy/free-sw.html,four essential freedoms}: to run the program, to study and change the program in source code form, to redistribute exact copies, and to distribute modified versions. Packages found in the GNU distribution provide only software that conveys these four freedoms." -msgstr "Le système d'exploitation GNU a été développé pour que les utilisateurs puissent utiliser leur ordinateur en toute liberté. GNU est un @dfn{logiciel libre}, ce qui signifie que les utilisateur ont les @url{http://www.gnu.org/philosophy/free-sw.fr.html,quatre libertés essentielles} : exécuter le programmer, étudier et modifier le programme sous sa forme source, redistribuer des copies exactes et distribuer les versions modifiées. Les paquets qui se trouvent dans la distribution GNU ne fournissent que des logiciels qui respectent ces quatre libertés." +msgstr "Le système d'exploitation GNU a été développé pour que les utilisatrices et utilisateurs puissent utiliser leur ordinateur en toute liberté. GNU est un @dfn{logiciel libre}, ce qui signifie que chaque personne l'utilisant bénéficie des @url{http://www.gnu.org/philosophy/free-sw.fr.html,quatre libertés essentielles} : exécuter le programmer, étudier et modifier le programme sous sa forme source, redistribuer des copies exactes et distribuer les versions modifiées. Les paquets qui se trouvent dans la distribution GNU ne fournissent que des logiciels qui respectent ces quatre libertés." #. type: Plain text #: doc/contributing.texi:325 @@ -781,7 +793,7 @@ msgstr "résumé du paquet" #. type: Plain text #: doc/contributing.texi:462 msgid "As we have seen before, each package in GNU@tie{}Guix includes a synopsis and a description (@pxref{Defining Packages}). Synopses and descriptions are important: They are what @command{guix package --search} searches, and a crucial piece of information to help users determine whether a given package suits their needs. Consequently, packagers should pay attention to what goes into them." -msgstr "Comme nous l'avons vu avant, chaque paquet dans GNU@tie{}Guix contient un résumé et une description (@pxref{Defining Packages}). Les résumés et les descriptions sont importants : ce sont eux que recherche @command{guix package --search}, et c'est une source d'informations cruciale pour aider les utilisateurs à déterminer si un paquet donner correspond à leurs besoins. En conséquence, les mainteneurs doivent prêter attention à leur contenu." +msgstr "Comme nous l'avons vu avant, chaque paquet dans GNU@tie{}Guix contient un résumé et une description (@pxref{Defining Packages}). Les résumés et les descriptions sont importants : ce sont eux que recherche @command{guix package --search}, et c'est une source d'informations cruciale pour aider les utilisateur·rice·s à déterminer si un paquet donné correspond à leurs besoins. En conséquence, il convient de prêter attention à leur contenu lorsqu'on travaille sur un paquet." #. type: Plain text #: doc/contributing.texi:470 @@ -791,12 +803,12 @@ msgstr "Les résumés doivent commencer par une lettre capitale et ne doit pas f #. type: Plain text #: doc/contributing.texi:480 msgid "Keep in mind that the synopsis must be meaningful for a very wide audience. For example, ``Manipulate alignments in the SAM format'' might make sense for a seasoned bioinformatics researcher, but might be fairly unhelpful or even misleading to a non-specialized audience. It is a good idea to come up with a synopsis that gives an idea of the application domain of the package. In this example, this might give something like ``Manipulate nucleotide sequence alignments'', which hopefully gives the user a better idea of whether this is what they are looking for." -msgstr "Gardez à l'esprit que le résumé doit avoir un sens pour une large audience. Par exemple « Manipulation d'alignements au format SAM » peut avoir du sens pour un bioinformaticien chevronné, mais n'aidera pas ou pourra perdre une audience de non-spécialistes. C'est une bonne idée de créer un résumé qui donne une idée du domaine d'application du paquet. Dans cet exemple, cela donnerait « Manipulation d'alignements de séquences de nucléotides », ce qui devrait donner une meilleure idée à l'utilisateur pour savoir si c'est ce qu'il recherche." +msgstr "Gardez à l'esprit que le résumé doit avoir un sens pour une large audience. Par exemple « Manipulation d'alignements au format SAM » peut avoir du sens pour un bioinformaticien chevronné, mais n'aidera pas ou pourra perdre une audience de non-spécialistes. C'est une bonne idée de créer un résumé qui donne une idée du domaine d'application du paquet. Dans cet exemple, cela donnerait « Manipulation d'alignements de séquences de nucléotides », ce qui devrait donner une meilleure idée à la personne qui le lit pour savoir si c'est ce qu'elle recherche." #. type: Plain text #: doc/contributing.texi:488 msgid "Descriptions should take between five and ten lines. Use full sentences, and avoid using acronyms without first introducing them. Please avoid marketing phrases such as ``world-leading'', ``industrial-strength'', and ``next-generation'', and avoid superlatives like ``the most advanced''---they are not helpful to users looking for a package and may even sound suspicious. Instead, try to be factual, mentioning use cases and features." -msgstr "Les descriptions devraient faire entre cinq et dix lignes. Utilisez des phrases complètes, et évitez d'utiliser des acronymes sans les introduire d'abord. Évitez les phrases marketings comme « world-leading », « industrial-strength » et « next-generation » et évitez les superlatifs comme « the most advanced » — ils ne sont pas utiles pour les utilisateurs qui cherchent un paquet et semblent même un peu suspects. À la place, essayez d'être factuels, en mentionnant les cas d'utilisation et les fonctionnalités." +msgstr "Les descriptions devraient faire entre cinq et dix lignes. Utilisez des phrases complètes, et évitez d'utiliser des acronymes sans les introduire d'abord. Évitez les phrases marketings comme « world-leading », « industrial-strength » et « next-generation » et évitez les superlatifs comme « the most advanced » — ils ne sont pas utiles aux personnes qui cherchent un paquet et semblent même un peu suspects. À la place, essayez d'être factuels, en mentionnant les cas d'utilisation et les fonctionnalités." #. type: cindex #: doc/contributing.texi:489 @@ -807,12 +819,12 @@ msgstr "balisage texinfo, dans les descriptions de paquets" #. type: Plain text #: doc/contributing.texi:498 msgid "Descriptions can include Texinfo markup, which is useful to introduce ornaments such as @code{@@code} or @code{@@dfn}, bullet lists, or hyperlinks (@pxref{Overview,,, texinfo, GNU Texinfo}). However you should be careful when using some characters for example @samp{@@} and curly braces which are the basic special characters in Texinfo (@pxref{Special Characters,,, texinfo, GNU Texinfo}). User interfaces such as @command{guix package --show} take care of rendering it appropriately." -msgstr "Les descriptions peuvent inclure du balisage Texinfo, ce qui est utile pour introduire des ornements comme @code{@@code} ou @code{@@dfn}, des listes à points ou des hyperliens (@pxref{Overview,,, texinfo, GNU Texinfo}). Cependant soyez prudents lorsque vous utilisez certains symboles, par exemple @samp{@@} et les accolades qui sont les caractères spéciaux de base en Texinfo (@pxref{Special Characters,,, texinfo, GNU Texinfo}). Les interfaces utilisateurs comme @command{guix package --show} prennent en charge le rendu." +msgstr "Les descriptions peuvent inclure du balisage Texinfo, ce qui est utile pour introduire des ornements comme @code{@@code} ou @code{@@dfn}, des listes à points ou des hyperliens (@pxref{Overview,,, texinfo, GNU Texinfo}). Cependant soyez prudents lorsque vous utilisez certains symboles, par exemple @samp{@@} et les accolades qui sont les caractères spéciaux de base en Texinfo (@pxref{Special Characters,,, texinfo, GNU Texinfo}). Les commandes et outils comme @command{guix package --show} prennent en charge le rendu." #. type: Plain text #: doc/contributing.texi:504 msgid "Synopses and descriptions are translated by volunteers @uref{http://translationproject.org/domain/guix-packages.html, at the Translation Project} so that as many users as possible can read them in their native language. User interfaces search them and display them in the language specified by the current locale." -msgstr "Les résumés et les descriptions sont traduits par des volontaires @uref{http://translationproject.org/domain/guix-packages.html, sur le projet de traduction} pour que le plus d'utilisateurs possible puissent les lire dans leur langue natale. Les interfaces utilisateurs les recherchent et les affichent dans la langue spécifiée par le paramètre de régionalisation actuel." +msgstr "Les résumés et les descriptions sont traduits par des volontaires @uref{http://translationproject.org/domain/guix-packages.html, sur le projet de traduction} pour que le plus de personnes possible puissent les lire dans leur langue natale. Les interfaces les recherchent et les affichent dans la langue spécifiée par le paramètre de régionalisation actuel." #. type: Plain text #: doc/contributing.texi:509 @@ -836,7 +848,7 @@ msgstr "" #. type: Plain text #: doc/contributing.texi:523 msgid "Translation is a lot of work so, as a packager, please pay even more attention to your synopses and descriptions as every change may entail additional work for translators. In order to help them, it is possible to make recommendations or instructions visible to them by inserting special comments like this (@pxref{xgettext Invocation,,, gettext, GNU Gettext}):" -msgstr "La traduction demande beaucoup de travail, donc en tant que packageur, faîtes encore plus attention à vos résumés et descriptions car chaque changement peut demander d'autant plus de travail de la part des traducteurs. Pour les aider, il est possible de donner des recommandations ou des instructions qu'ils pourront voir en insérant des commentaires spéciaux comme ceci (@pxref{xgettext Invocation,,, gettext, GNU Gettext}) :" +msgstr "La traduction demande beaucoup de travail, faites donc d'autant plus attention à vos résumés et descriptions lorsque vous développez un paquet car chaque changement peut demander du de travail de la part des traducteur·rice·s. Pour les aider, il est possible de donner des recommandations ou des instructions qu'ils et elles pourront voir en insérant des commentaires spéciaux comme ceci (@pxref{xgettext Invocation,,, gettext, GNU Gettext}) :" #. type: example #: doc/contributing.texi:528 @@ -964,12 +976,12 @@ msgstr "polices" #. type: Plain text #: doc/contributing.texi:651 msgid "For fonts that are in general not installed by a user for typesetting purposes, or that are distributed as part of a larger software package, we rely on the general packaging rules for software; for instance, this applies to the fonts delivered as part of the X.Org system or fonts that are part of TeX Live." -msgstr "Pour les polices qui n esont en général par installées par un utilisateurs pour du traitement de texte, ou qui sont distribuées en tant que partie d'un paquet logiciel plus gros, nous nous appuyons sur les règles générales pour les logiciels ; par exemple, cela s'applique aux polices livrées avec le système X.Org ou les polices qui font partie de TeX Live." +msgstr "Pour les polices qui ne sont en général pas installées pour être utilisées pour du traitement de texte, ou qui sont distribuées en tant que partie d'un paquet logiciel plus gros, nous nous appuyons sur les règles générales pour les logiciels ; par exemple, cela s'applique aux polices livrées avec le système X.Org ou les polices qui font partie de TeX Live." #. type: Plain text #: doc/contributing.texi:655 msgid "To make it easier for a user to search for fonts, names for other packages containing only fonts are constructed as follows, independently of the upstream package name." -msgstr "Pour rendre plus facile la recherche par l'utilisateur, les noms des autres paquets contenant seulement des polices sont construits ainsi, indépendamment du nom du paquet en amont." +msgstr "Pour rendre plus facile la recherche par l'utilisatrice ou l'utilisateur, les noms des autres paquets contenant seulement des polices sont construits ainsi, indépendamment du nom du paquet en amont." #. type: Plain text #: doc/contributing.texi:663 @@ -1164,7 +1176,7 @@ msgstr "Avant de soumettre un correctif qui ajoute ou modifie la définition d'u #. type: enumerate #: doc/contributing.texi:806 msgid "If the authors of the packaged software provide a cryptographic signature for the release tarball, make an effort to verify the authenticity of the archive. For a detached GPG signature file this would be done with the @code{gpg --verify} command." -msgstr "Si les auteurs du paquet logiciel fournissent une signature cryptographique pour l'archive, faîtes un effort pour vérifier l'authenticité de l'archive. Pour un fichier de signature GPG détaché, cela se fait avec la commande @code{gpg --verify}." +msgstr "Si les auteurs ou autrices du paquet logiciel fournissent une signature cryptographique pour l'archive, faites un effort pour vérifier l'authenticité de l'archive. Pour un fichier de signature GPG détaché, cela se fait avec la commande @code{gpg --verify}." #. type: enumerate #: doc/contributing.texi:810 @@ -1236,7 +1248,7 @@ msgstr "Assurez-vous que le paquet n'utilise pas de copie groupée d'un logiciel #. type: enumerate #: doc/contributing.texi:859 msgid "Sometimes, packages include copies of the source code of their dependencies as a convenience for users. However, as a distribution, we want to make sure that such packages end up using the copy we already have in the distribution, if there is one. This improves resource usage (the dependency is built and stored only once), and allows the distribution to make transverse changes such as applying security updates for a given software package in a single place and have them affect the whole system---something that bundled copies prevent." -msgstr "Parfois, les paquets incluent des copie du code source de leurs dépendances pour le confort de leurs utilisateurs. Cependant, en tant que distribution, nous voulons nous assurer que ces paquets utilisent bien les copient que nous avons déjà dans la distribution si elles existent. Cela améliore l'utilisation des ressources (la dépendance n'est construite et stockée qu'une seule fois) et permet à la distribution de faire des changements transversaux comme appliquer des correctifs de sécurité pour un paquet donné depuis un unique emplacement et qu'ils affectent tout le système, ce qu'empêchent les copies groupées." +msgstr "Parfois, les paquets incluent des copie du code source de leurs dépendances pour le confort des utilisateur·rice·s. Cependant, en tant que distribution, nous voulons nous assurer que ces paquets utilisent bien les copient que nous avons déjà dans la distribution si elles existent. Cela améliore l'utilisation des ressources (la dépendance n'est construite et stockée qu'une seule fois) et permet à la distribution de faire des changements transversaux comme appliquer des correctifs de sécurité pour un paquet donné depuis un unique emplacement et qu'ils affectent tout le système, ce qu'empêchent les copies groupées." #. type: enumerate #: doc/contributing.texi:868 @@ -1301,7 +1313,7 @@ msgstr "branche @code{core-updates} (peut inclure des changements majeurs et pot #. type: enumerate #: doc/contributing.texi:901 msgid "All these branches are @uref{https://hydra.gnu.org/project/gnu, tracked by our build farm} and merged into @code{master} once everything has been successfully built. This allows us to fix issues before they hit users, and to reduce the window during which pre-built binaries are not available." -msgstr "Toutes ces branches sont @uref{https://hydra.gnu.org/project/gnu, gérées par notre ferme de construction} et fusionnées dans @code{master} une fois que tout a été construit correctement. Cela nous permet de corriger des problèmes avant qu'ils n'atteignent les utilisateurs et réduit la fenêtre pendant laquelle les binaires pré-construits ne sont pas disponibles." +msgstr "Toutes ces branches sont @uref{https://hydra.gnu.org/project/gnu, gérées par notre ferme de construction} et fusionnées dans @code{master} une fois que tout a été construit correctement. Cela nous permet de corriger des problèmes avant qu'ils n'atteignent les utilisateur·rice·s et réduit la fenêtre pendant laquelle les binaires pré-construits ne sont pas disponibles." #. type: enumerate #: doc/contributing.texi:908 @@ -1715,7 +1727,7 @@ msgstr "Documentation" #. type: menuentry #: doc/guix.texi:139 msgid "Browsing software user manuals." -msgstr "Visualiser les manuels d'utilisateur des logiciels." +msgstr "Visualiser les manuels des logiciels." #. type: chapter #: doc/guix.texi:139 doc/guix.texi:25456 doc/guix.texi:25457 @@ -2583,7 +2595,7 @@ msgstr "Débogage des échecs de construction" #. type: menuentry #: doc/guix.texi:252 doc/guix.texi:7661 msgid "Real life packaging experience." -msgstr "La vie d'un empaqueteur." +msgstr "L'empaquetage dans la vraie vie." #. type: section #: doc/guix.texi:271 doc/guix.texi:10236 doc/guix.texi:10238 @@ -3142,7 +3154,7 @@ msgstr "but" #. type: Plain text #: doc/guix.texi:323 msgid "GNU Guix@footnote{``Guix'' is pronounced like ``geeks'', or ``ɡiːks'' using the international phonetic alphabet (IPA).} is a package management tool for and distribution of the GNU system. Guix makes it easy for unprivileged users to install, upgrade, or remove software packages, to roll back to a previous package set, to build packages from source, and generally assists with the creation and maintenance of software environments." -msgstr "GNU Guix@footnote{« Guix » se prononce comme « geeks » (en prononçant le « s »), ou « ɡiːks » dans l'alphabet phonétique international (API).} est un outil de gestion de paquets et une distribution pour le système GNU@. Guix facilite pour les utilisateurs non privilégiés l'installation, la mise à jour et la suppression de paquets, la restauration à un ensemble de paquets précédent, la construction de paquets depuis les sources et plus généralement aide à la création et à la maintenance d'environnements logiciels." +msgstr "GNU Guix@footnote{« Guix » se prononce comme « geeks » (en prononçant le « s »), ou « ɡiːks » dans l'alphabet phonétique international (API).} est un outil de gestion de paquets et une distribution pour le système GNU@. Guix facilite pour les utilisateur·rice·s non privilégié·e·s l'installation, la mise à jour et la suppression de paquets, la restauration à un ensemble de paquets précédent, la construction de paquets depuis les sources et plus généralement aide à la création et à la maintenance d'environnements logiciels." #. type: cindex #: doc/guix.texi:324 doc/guix.texi:399 @@ -3171,7 +3183,7 @@ msgstr "Vous pouvez installer GNU@tie{}Guix sur un système GNU/Linux existant p #: doc/guix.texi:344 #, no-wrap msgid "user interfaces" -msgstr "interfaces utilisateurs" +msgstr "interfaces utilisateur·rice" #. type: Plain text #: doc/guix.texi:350 @@ -3187,7 +3199,7 @@ msgstr "démon de construction" #. type: Plain text #: doc/guix.texi:354 msgid "Its @dfn{build daemon} is responsible for building packages on behalf of users (@pxref{Setting Up the Daemon}) and for downloading pre-built binaries from authorized sources (@pxref{Substitutes})." -msgstr "Son @dfn{démon de construction} est responsable de la construction des paquets pour les utilisateurs (@pxref{Paramétrer le démon}) et du téléchargement des binaires pré-construits depuis les sources autorisées (@pxref{Substituts})." +msgstr "Son @dfn{démon de construction} est responsable de la construction des paquets pour les utilisateur·rice·s (@pxref{Paramétrer le démon}) et du téléchargement des binaires pré-construits depuis les sources autorisées (@pxref{Substituts})." #. type: cindex #: doc/guix.texi:355 @@ -3204,7 +3216,7 @@ msgstr "personnalisation, des paquets" #. type: Plain text #: doc/guix.texi:365 msgid "Guix includes package definitions for many GNU and non-GNU packages, all of which @uref{https://www.gnu.org/philosophy/free-sw.html, respect the user's computing freedom}. It is @emph{extensible}: users can write their own package definitions (@pxref{Defining Packages}) and make them available as independent package modules (@pxref{Package Modules}). It is also @emph{customizable}: users can @emph{derive} specialized package definitions from existing ones, including from the command line (@pxref{Package Transformation Options})." -msgstr "Guix contient de nombreuses définitions de paquet GNU et non-GNU qui respectent tous les @uref{https://www.gnu.org/philosophy/free-sw.fr.html, libertés de l'utilisateur}. Il est @emph{extensible} : les utilisateurs peuvent écrire leurs propres définitions de paquets (@pxref{Defining Packages}) et les rendre disponibles dans des modules de paquets indépendants (@pxref{Package Modules}). Il est aussi @emph{personnalisable} : les utilisateurs peuvent @emph{dériver} des définitions de paquets spécialisées à partir de définitions existantes, même depuis la ligne de commande (@pxref{Package Transformation Options})." +msgstr "Guix contient de nombreuses définitions de paquet GNU et non-GNU qui respectent tous les @uref{https://www.gnu.org/philosophy/free-sw.fr.html, libertés de l'utilisateur ou utilisatrice}. Il est @emph{extensible}  : chacun·e peut écrire ses propres définitions de paquets (@pxref{Defining Packages}) et les rendre disponibles dans des modules de paquets indépendants (@pxref{Package Modules}). Il est aussi @emph{personnalisable} : on peut @emph{dériver} des définitions de paquets spécialisées à partir de définitions existantes, même depuis la ligne de commande (@pxref{Package Transformation Options})." #. type: cindex #: doc/guix.texi:366 @@ -3237,12 +3249,12 @@ msgstr "Le résultat des fonctions de construction de paquets est mis en @dfn{ca #. type: Plain text #: doc/guix.texi:394 msgid "This approach is the foundation for the salient features of Guix: support for transactional package upgrade and rollback, per-user installation, and garbage collection of packages (@pxref{Features})." -msgstr "Cette approche est le fondement des fonctionnalités les plus importante de Guix : le support des mises à jour des paquets et des retours en arrière transactionnels, l'installation différenciée par utilisateur et le ramassage de miettes pour les paquets (@pxref{Fonctionnalités})." +msgstr "Cette approche est le fondement des fonctionnalités les plus importante de Guix : le support des mises à jour des paquets et des retours en arrière transactionnels, l'installation différenciée par utilisateur·rice et le ramassage de miettes pour les paquets (@pxref{Fonctionnalités})." #. type: Plain text #: doc/guix.texi:409 msgid "Guix comes with a distribution of the GNU system consisting entirely of free software@footnote{The term ``free'' here refers to the @url{https://www.gnu.org/philosophy/free-sw.html,freedom provided to users of that software}.}. The distribution can be installed on its own (@pxref{System Installation}), but it is also possible to install Guix as a package manager on top of an installed GNU/Linux system (@pxref{Installation}). When we need to distinguish between the two, we refer to the standalone distribution as Guix@tie{}System." -msgstr "Guix fournit aussi une distribution du système GNU contenant uniquement des logiciels libres@footnote{Le terme « libre » se réfère ici bien sûr à @url{http://www.gnu.org/philosophy/free-sw.fr.html,la liberté offerte à l'utilisateur de ces logiciels}.}. On peut installer la distribution elle-même (@pxref{System Installation}), mais on peut aussi installer Guix comme gestionnaire de paquets par dessus un système GNU/Linux déjà installé (@pxref{Installation}). Pour distinguer ces deux cas, on appelle la distribution autonome le « système Guix » ou Guix@tie{}System." +msgstr "Guix fournit aussi une distribution du système GNU contenant uniquement des logiciels libres@footnote{Le terme « libre » se réfère ici bien sûr à @url{http://www.gnu.org/philosophy/free-sw.fr.html,la liberté offerte à la personne qui utilise ces logiciels}.}. On peut installer la distribution elle-même (@pxref{System Installation}), mais on peut aussi installer Guix comme gestionnaire de paquets par dessus un système GNU/Linux déjà installé (@pxref{Installation}). Pour distinguer ces deux cas, on appelle la distribution autonome le « système Guix » ou Guix@tie{}System." #. type: Plain text #: doc/guix.texi:415 @@ -3258,7 +3270,7 @@ msgstr "guix package --list-available\n" #. type: Plain text #: doc/guix.texi:424 msgid "Our goal is to provide a practical 100% free software distribution of Linux-based and other variants of GNU, with a focus on the promotion and tight integration of GNU components, and an emphasis on programs and tools that help users exert that freedom." -msgstr "Notre but est de fournir une distribution logicielle entièrement libre de GNU/Linux et d'autres variantes de GNU, en se concentrant sur la promotion et l'intégration étroite des composants GNU en insistant sur les programmes et les outils qui aident l'utilisateur à exercer ses libertés." +msgstr "Notre but est de fournir une distribution logicielle entièrement libre de GNU/Linux et d'autres variantes de GNU, en se concentrant sur la promotion et l'intégration étroite des composants GNU en insistant sur les programmes et les outils qui aident l'utilisateur·rice à exercer ses libertés." #. type: Plain text #: doc/guix.texi:426 @@ -3364,7 +3376,7 @@ msgstr "Remarque" #. type: quotation #: doc/guix.texi:486 msgid "We recommend the use of this @uref{https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh, shell installer script} to install Guix on top of a running GNU/Linux system, thereafter called a @dfn{foreign distro}.@footnote{This section is concerned with the installation of the package manager, which can be done on top of a running GNU/Linux system. If, instead, you want to install the complete GNU operating system, @pxref{System Installation}.} The script automates the download, installation, and initial configuration of Guix. It should be run as the root user." -msgstr "Nous vous recommandons d'utiliser ce @uref{https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh, script shell d'installation} pour installer Guix sur un système GNU/Linux fonctionnel, que nous appelons une @dfn{distro externe}@footnote{Cette section s'occupe de l'installation du gestionnaire de paquet, ce qui peut se faire sur un système GNU/Linux existant. Si vous voulez plutôt installer le système d'exploitation GNU complet, @pxref{System Installation}.}. Le script automatise le téléchargement, l'installation et la configuration initiale de Guix. Vous devez l'exécuter en tant qu'utilisateur root." +msgstr "Nous vous recommandons d'utiliser ce @uref{https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh, script shell d'installation} pour installer Guix sur un système GNU/Linux fonctionnel, que nous appelons une @dfn{distro externe}@footnote{Cette section s'occupe de l'installation du gestionnaire de paquet, ce qui peut se faire sur un système GNU/Linux existant. Si vous voulez plutôt installer le système d'exploitation GNU complet, @pxref{System Installation}.}. Le script automatise le téléchargement, l'installation et la configuration initiale de Guix. Vous devez l'exécuter en tant que root." #. type: cindex #: doc/guix.texi:488 doc/guix.texi:1565 @@ -3413,7 +3425,7 @@ msgstr "Cette section décrit comment installer Guix sur un système quelconque #. type: quotation #: doc/guix.texi:530 msgid "We recommend the use of this @uref{https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh, shell installer script}. The script automates the download, installation, and initial configuration steps described below. It should be run as the root user." -msgstr "Nous vous recommandons d'utiliser ce @uref{https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh, script d'installation shell}. Ce script automatise le téléchargement, l'installation et les étapes de configuration initiales décrites plus bas. Vous devriez le lancer en tant qu'utilisateur root." +msgstr "Nous vous recommandons d'utiliser ce @uref{https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh, script d'installation shell}. Ce script automatise le téléchargement, l'installation et les étapes de configuration initiales décrites plus bas. Vous devriez le lancer en tant que root." #. type: Plain text #: doc/guix.texi:533 @@ -3469,7 +3481,7 @@ msgstr "et relancez la commande @code{gpg --verify}." #. type: enumerate #: doc/guix.texi:566 msgid "Now, you need to become the @code{root} user. Depending on your distribution, you may have to run @code{su -} or @code{sudo -i}. As @code{root}, run:" -msgstr "Maintenant, vous devez devenir l'utilisateur @code{root}. En fonction de votre distribution, vous devrez lancer @code{su -} ou @code{sudo -i}. En tant que @code{root}, lancez :" +msgstr "Maintenant, vous devez devenir @code{root}. En fonction de votre distribution, vous devrez lancer @code{su -} ou @code{sudo -i}. En tant que @code{root}, lancez :" #. type: example #: doc/guix.texi:572 @@ -3535,7 +3547,7 @@ msgstr "" #. type: enumerate #: doc/guix.texi:612 msgid "Create the group and user accounts for build users as explained below (@pxref{Build Environment Setup})." -msgstr "Créez le groupe et les comptes utilisateurs pour les utilisateurs de construction comme expliqué plus loin (@pxref{Build Environment Setup})." +msgstr "Créez le groupe et les comptes utilisés pour la construction comme expliqué plus loin (@pxref{Build Environment Setup})." #. type: enumerate #: doc/guix.texi:615 @@ -3596,7 +3608,7 @@ msgstr "" #. type: enumerate #: doc/guix.texi:651 msgid "Make the @command{guix} command available to other users on the machine, for instance with:" -msgstr "Rendez la commande @command{guix} disponible pour les autres utilisateurs sur la machine, par exemple avec :" +msgstr "Rendez la commande @command{guix} disponible pour les autres personnes sur la machine, par exemple avec :" #. type: example #: doc/guix.texi:656 @@ -3658,7 +3670,7 @@ msgstr "" #. type: enumerate #: doc/guix.texi:686 msgid "Each user may need to perform a few additional steps to make their Guix environment ready for use, @pxref{Application Setup}." -msgstr "Chaque utilisateur peut avoir besoin d'effectuer des étapes supplémentaires pour que leur environnement Guix soit prêt à être utilisé, @pxref{Application Setup}." +msgstr "On peut avoir besoin d'effectuer des étapes supplémentaires pour que son environnement Guix soit prêt à être utilisé, @pxref{Application Setup}." #. type: Plain text #: doc/guix.texi:689 @@ -3954,23 +3966,23 @@ msgstr "environnement de construction" #. type: Plain text #: doc/guix.texi:896 msgid "In a standard multi-user setup, Guix and its daemon---the @command{guix-daemon} program---are installed by the system administrator; @file{/gnu/store} is owned by @code{root} and @command{guix-daemon} runs as @code{root}. Unprivileged users may use Guix tools to build packages or otherwise access the store, and the daemon will do it on their behalf, ensuring that the store is kept in a consistent state, and allowing built packages to be shared among users." -msgstr "Dans une installation standard multi-utilisateurs, Guix et son démon — le programme @command{guix-daemon} — sont installé par l'administrateur système ; @file{/gnu/store} appartient à @code{root} et @command{guix-daemon} est lancé en @code{root}. Les utilisateurs non-privilégiés peuvent utiliser les outils Guix pour construire des paquets ou accéder au dépôt et le démon le fera pour leur compte en s'assurant que le dépôt garde un état cohérent et permet le partage des paquets déjà construits entre les utilisateurs." +msgstr "Dans une installation standard multi-utilisateur·rice·s, Guix et son démon — le programme @command{guix-daemon} — sont installés par la personne qui administre le système ; @file{/gnu/store} appartient à @code{root} et @command{guix-daemon} est lancé en @code{root}. Les utilisateur·rice·s non-privilégié·e·s peuvent utiliser les outils Guix pour construire des paquets ou accéder au dépôt et le démon le fera pour leur compte en s'assurant que le dépôt garde un état cohérent et permet le partage des paquets déjà construits entre les utilisateur·rice·s." #. type: cindex #: doc/guix.texi:897 #, no-wrap msgid "build users" -msgstr "utilisateurs de construction" +msgstr "comptes de construction" #. type: Plain text #: doc/guix.texi:908 msgid "When @command{guix-daemon} runs as @code{root}, you may not want package build processes themselves to run as @code{root} too, for obvious security reasons. To avoid that, a special pool of @dfn{build users} should be created for use by build processes started by the daemon. These build users need not have a shell and a home directory: they will just be used when the daemon drops @code{root} privileges in build processes. Having several such users allows the daemon to launch distinct build processes under separate UIDs, which guarantees that they do not interfere with each other---an essential feature since builds are regarded as pure functions (@pxref{Introduction})." -msgstr "Alors que @command{guix-daemon} tourne en @code{root}, vous n'avez pas forcément envie que les processus de construction de paquets tournent aussi en @code{root}, pour des raisons de sécurité évidentes. Pour éviter cela, vous devriez créer une réserve spéciale d'@dfn{utilisateurs de construction} que les processus de construction démarrés par le démon utiliseront. Ces utilisateurs de construction n'ont pas besoin d'un shell ou d'un répertoire personnel ; ils seront seulement utilisés quand le démon délaissera ses privilèges @code{root} dans les processus de construction. En ayant plusieurs de ces utilisateurs, vous permettez au démon de lancer des processus de construction distincts sous des UID différent, ce qui garanti qu'aucune interférence n'ait lieu entre les uns et les autres — une fonctionnalité essentielle puisque les constructions sont supposées être des fonctions pures (@pxref{Introduction})." +msgstr "Alors que @command{guix-daemon} tourne en @code{root}, vous n'avez pas forcément envie que les processus de construction de paquets tournent aussi en @code{root}, pour des raisons de sécurité évidentes. Pour éviter cela, vous devriez créer une réserve spéciale de @dfn{comptes de construction} que les processus de construction démarrés par le démon utiliseront. Ces comptes de construction n'ont pas besoin d'un shell ou d'un répertoire personnel ; ils seront seulement utilisés quand le démon délaissera ses privilèges @code{root} dans les processus de construction. En ayant plusieurs de ces comptes, vous permettez au démon de lancer des processus de construction distincts sous des UID différent, ce qui garanti qu'aucune interférence n'ait lieu entre les uns et les autres — une fonctionnalité essentielle puisque les constructions sont supposées être des fonctions pures (@pxref{Introduction})." #. type: Plain text #: doc/guix.texi:911 msgid "On a GNU/Linux system, a build user pool may be created like this (using Bash syntax and the @code{shadow} commands):" -msgstr "Sur un système GNU/Linux, on peut créer une réserve d'utilisateurs de construction comme ceci (avec la syntaxe Bash et les commandes @code{shadow}) :" +msgstr "Sur un système GNU/Linux, on peut créer une réserve de comptes de construction comme ceci (avec la syntaxe Bash et les commandes @code{shadow}) :" #. type: example #: doc/guix.texi:923 @@ -3990,14 +4002,14 @@ msgstr "" " do\n" " useradd -g guixbuild -G guixbuild \\\n" " -d /var/empty -s `which nologin` \\\n" -" -c \"Utilisateur de construction Guix $i\" --system \\\n" +" -c \"Compte de construction Guix $i\" --system \\\n" " guixbuilder$i;\n" " done\n" #. type: Plain text #: doc/guix.texi:933 msgid "The number of build users determines how many build jobs may run in parallel, as specified by the @option{--max-jobs} option (@pxref{Invoking guix-daemon, @option{--max-jobs}}). To use @command{guix system vm} and related commands, you may need to add the build users to the @code{kvm} group so they can access @file{/dev/kvm}, using @code{-G guixbuild,kvm} instead of @code{-G guixbuild} (@pxref{Invoking guix system})." -msgstr "Le nombre d'utilisateurs de construction détermine le nombre de tâches de constructions qui peuvent tourner en parallèle, tel que spécifié par l'option @option{--max-jobs} (@pxref{Invoking guix-daemon, @option{--max-jobs}}). Pour utiliser @command{guix system vm} et les commandes liées, vous devrez ajouter les utilisateurs de construction au groupe @code{kvm} pour qu'ils puissent accéder à @file{/dev/kvm} avec @code{-G guixbuild,kvm} plutôt que @code{-G guixbuild} (@pxref{Invoking guix system})." +msgstr "Le nombre de comptes de construction détermine le nombre de tâches de constructions qui peuvent tourner en parallèle, tel que spécifié par l'option @option{--max-jobs} (@pxref{Invoking guix-daemon, @option{--max-jobs}}). Pour utiliser @command{guix system vm} et les commandes liées, vous devrez ajouter les comptes de construction au groupe @code{kvm} pour qu'ils puissent accéder à @file{/dev/kvm} avec @code{-G guixbuild,kvm} plutôt que @code{-G guixbuild} (@pxref{Invoking guix system})." #. type: Plain text #: doc/guix.texi:942 @@ -4019,7 +4031,7 @@ msgstr "chroot" #. type: Plain text #: doc/guix.texi:952 msgid "This way, the daemon starts build processes in a chroot, under one of the @code{guixbuilder} users. On GNU/Linux, by default, the chroot environment contains nothing but:" -msgstr "De cette façon, le démon démarre les processus de construction dans un chroot, sous un des utilisateurs @code{guixbuilder}. Sur GNU/Linux par défaut, l'environnement chroot ne contient rien d'autre que :" +msgstr "De cette façon, le démon démarre les processus de construction dans un chroot, sous un des comptes @code{guixbuilder}. Sur GNU/Linux par défaut, l'environnement chroot ne contient rien d'autre que :" #. type: itemize #: doc/guix.texi:960 @@ -4034,12 +4046,12 @@ msgstr "le répertoire @code{/proc} ; il ne montre que les processus du conteneu #. type: itemize #: doc/guix.texi:968 msgid "@file{/etc/passwd} with an entry for the current user and an entry for user @file{nobody};" -msgstr "@file{/etc/passwd} avec une entrée pour l'utilisateur actuel et une entrée pour l'utilisateur @file{nobody} ;" +msgstr "@file{/etc/passwd} avec une entrée pour le compte actuel et une entrée pour le compte @file{nobody} ;" #. type: itemize #: doc/guix.texi:971 msgid "@file{/etc/group} with an entry for the user's group;" -msgstr "@file{/etc/group} avec une entrée pour le groupe de l'utilisateur ;" +msgstr "@file{/etc/group} avec une entrée pour le groupe de ce compte ;" #. type: itemize #: doc/guix.texi:975 @@ -4070,7 +4082,7 @@ msgstr "Le démon tient aussi compte de la variable d'environnement @code{http_p #. type: Plain text #: doc/guix.texi:1000 msgid "If you are installing Guix as an unprivileged user, it is still possible to run @command{guix-daemon} provided you pass @code{--disable-chroot}. However, build processes will not be isolated from one another, and not from the rest of the system. Thus, build processes may interfere with each other, and may access programs, libraries, and other files available on the system---making it much harder to view them as @emph{pure} functions." -msgstr "Si vous installez Guix en tant qu'utilisateur non-privilégié, il est toujours possible de lancer @command{guix-daemon} si vous passez @code{--disable-chroot}. Cependant, les processus de construction ne seront pas isolés les uns des autres ni du reste du système. Ainsi les processus de construction peuvent interférer les uns avec les autres, et peuvent accéder à des programmes, des bibliothèques et d'autres fichiers présents sur le système — ce qui rend plus difficile de les voir comme des fonctions @emph{pures}." +msgstr "Si vous installez Guix en tant qu'utilisateur·rice non-privilégié·e, il est toujours possible de lancer @command{guix-daemon} si vous passez @code{--disable-chroot}. Cependant, les processus de construction ne seront pas isolés les uns des autres ni du reste du système. Ainsi les processus de construction peuvent interférer les uns avec les autres, et peuvent accéder à des programmes, des bibliothèques et d'autres fichiers présents sur le système — ce qui rend plus difficile de les voir comme des fonctions @emph{pures}." #. type: subsection #: doc/guix.texi:1003 @@ -4093,7 +4105,7 @@ msgstr "crochet de construction" #. type: Plain text #: doc/guix.texi:1020 msgid "When desired, the build daemon can @dfn{offload} derivation builds to other machines running Guix, using the @code{offload} @dfn{build hook}@footnote{This feature is available only when @uref{https://github.com/artyom-poptsov/guile-ssh, Guile-SSH} is present.}. When that feature is enabled, a list of user-specified build machines is read from @file{/etc/guix/machines.scm}; every time a build is requested, for instance via @code{guix build}, the daemon attempts to offload it to one of the machines that satisfy the constraints of the derivation, in particular its system type---e.g., @file{x86_64-linux}. Missing prerequisites for the build are copied over SSH to the target machine, which then proceeds with the build; upon success the output(s) of the build are copied back to the initial machine." -msgstr "Si vous le souhaitez, le démon de construction peut @dfn{décharger} des constructions de dérivations sur d'autres machines Guix avec le @dfn{crochet de construction} @code{offload}@footnote{Cette fonctionnalité n'est disponible que si @uref{https://github.com/artyom-poptsov/guile-ssh, Guile-SSH} est présent.}. Lorsque cette fonctionnalité est activée, Guix lit une liste de machines de constructions spécifiée par l'utilisateur dans @file{/etc/guix/machines.scm} ; à chaque fois qu'une construction est demandée, par exemple par @code{guix build}, le démon essaie de la décharger sur une des machines qui satisfont les contraintes de la dérivation, en particulier le type de système, p.@: ex.@: @file{x86_64-linux}. Les prérequis manquants pour la construction sont copiés par SSH sur la machine de construction qui procède ensuite à la construction ; si elle réussit, les sorties de la construction sont copiés vers la machine de départ." +msgstr "Si vous le souhaitez, le démon de construction peut @dfn{décharger} des constructions de dérivations sur d'autres machines Guix avec le @dfn{crochet de construction} @code{offload}@footnote{Cette fonctionnalité n'est disponible que si @uref{https://github.com/artyom-poptsov/guile-ssh, Guile-SSH} est présent.}. Lorsque cette fonctionnalité est activée, Guix lit une liste de machines de constructions spécifiée par l'utilisateur·rice dans @file{/etc/guix/machines.scm} ; à chaque fois qu'une construction est demandée, par exemple par @code{guix build}, le démon essaie de la décharger sur une des machines qui satisfont les contraintes de la dérivation, en particulier le type de système, p.@: ex.@: @file{x86_64-linux}. Les prérequis manquants pour la construction sont copiés par SSH sur la machine de construction qui procède ensuite à la construction ; si elle réussit, les sorties de la construction sont copiés vers la machine de départ." #. type: Plain text #: doc/guix.texi:1022 @@ -4199,7 +4211,7 @@ msgstr "user" #. type: table #: doc/guix.texi:1071 msgid "The user account to use when connecting to the remote machine over SSH. Note that the SSH key pair must @emph{not} be passphrase-protected, to allow non-interactive logins." -msgstr "Le compte utilisateur à utiliser lors de la connexion à la machine distante par SSH@. Remarquez que la paire de clef SSH ne doit @emph{pas} être protégée par mot de passe pour permettre des connexions non-interactives." +msgstr "Le compte à utiliser lors de la connexion à la machine distante par SSH@. Remarquez que la paire de clef SSH ne doit @emph{pas} être protégée par mot de passe pour permettre des connexions non-interactives." #. type: item #: doc/guix.texi:1072 @@ -4526,7 +4538,7 @@ msgstr "@code{guix_daemon_socket_t} n'est pas vraiment utilisé. Aucune des op #. type: enumerate #: doc/guix.texi:1268 msgid "@code{guix gc} cannot access arbitrary links to profiles. By design, the file label of the destination of a symlink is independent of the file label of the link itself. Although all profiles under $localstatedir are labelled, the links to these profiles inherit the label of the directory they are in. For links in the user’s home directory this will be @code{user_home_t}. But for links from the root user’s home directory, or @file{/tmp}, or the HTTP server’s working directory, etc, this won’t work. @code{guix gc} would be prevented from reading and following these links." -msgstr "@code{guix gc} ne peut pas accéder à n'importe quel lien vers les profils. Par conception, l'étiquette de fichier de la destination d'un lien symbolique est indépendant de l'étiquette du lien lui-même. Bien que tous les profils sous $localstatedir aient une étiquette, les liens vers ces profils héritent de l'étiquette du répertoire dans lequel ils se trouvent. Pour les liens dans le répertoire personnel cela sera @code{user_home_t}. Mais pour les liens du répertoire personnel de l'utilisateur root, ou @file{/tmp}, ou du répertoire de travail du serveur HTTP, etc, cela ne fonctionnera pas. SELinux empêcherait @code{guix gc} de lire et de suivre ces liens." +msgstr "@code{guix gc} ne peut pas accéder à n'importe quel lien vers les profils. Par conception, l'étiquette de fichier de la destination d'un lien symbolique est indépendant de l'étiquette du lien lui-même. Bien que tous les profils sous $localstatedir aient une étiquette, les liens vers ces profils héritent de l'étiquette du répertoire dans lequel ils se trouvent. Pour les liens dans le répertoire personnel cela sera @code{user_home_t}. Mais pour les liens du répertoire personnel de root, ou @file{/tmp}, ou du répertoire de travail du serveur HTTP, etc, cela ne fonctionnera pas. SELinux empêcherait @code{guix gc} de lire et de suivre ces liens." #. type: enumerate #: doc/guix.texi:1273 @@ -4536,7 +4548,7 @@ msgstr "La fonctionnalité du démon d'écouter des connexions TCP pourrait ne p #. type: enumerate #: doc/guix.texi:1284 msgid "Currently all files with a name matching the regular expression @code{/gnu/store/.+-(guix-.+|profile)/bin/guix-daemon} are assigned the label @code{guix_daemon_exec_t}; this means that @emph{any} file with that name in any profile would be permitted to run in the @code{guix_daemon_t} domain. This is not ideal. An attacker could build a package that provides this executable and convince a user to install and run it, which lifts it into the @code{guix_daemon_t} domain. At that point SELinux could not prevent it from accessing files that are allowed for processes in that domain." -msgstr "Actuellement tous les fichiers qui correspondent à l'expression rationnelle @code{/gnu/store/.+-(guix-.+|profile)/bin/guix-daemon} reçoivent l'étiquette @code{guix_daemon_exec_t} ; cela signifie que @emph{tout} fichier avec ce nom dans n'importe quel profil serait autorisé à se lancer dans le domaine @code{guix_daemon_t}. Ce n'est pas idéal. Un attaquant pourrait construire un paquet qui fournit cet exécutable et convaincre un utilisateur de l'installer et de le lancer, ce qui l'élève dans le domaine @code{guix_daemon_t}. À ce moment SELinux ne pourrait pas l'empêcher d'accéder à des fichiers autorisés pour les processus de ce domaine." +msgstr "Actuellement tous les fichiers qui correspondent à l'expression rationnelle @code{/gnu/store/.+-(guix-.+|profile)/bin/guix-daemon} reçoivent l'étiquette @code{guix_daemon_exec_t} ; cela signifie que @emph{tout} fichier avec ce nom dans n'importe quel profil serait autorisé à se lancer dans le domaine @code{guix_daemon_t}. Ce n'est pas idéal. Un attaquant pourrait construire un paquet qui fournit cet exécutable et convaincre un·e utilisateur·rice de l'installer et de le lancer, ce qui l'élève dans le domaine @code{guix_daemon_t}. À ce moment SELinux ne pourrait pas l'empêcher d'accéder à des fichiers autorisés pour les processus de ce domaine." #. type: enumerate #: doc/guix.texi:1292 @@ -4579,7 +4591,7 @@ msgstr "Par défaut, @command{guix-daemon} lance les processus de construction s #. type: Plain text #: doc/guix.texi:1330 msgid "When the daemon performs a build on behalf of the user, it creates a build directory under @file{/tmp} or under the directory specified by its @code{TMPDIR} environment variable. This directory is shared with the container for the duration of the build, though within the container, the build tree is always called @file{/tmp/guix-build-@var{name}.drv-0}." -msgstr "Lorsque le démon effectue une construction pour le compte de l'utilisateur, il crée un répertoire sous @file{/tmp} ou sous le répertoire spécifié par sa variable d'environnement @code{TMPDIR}. Ce répertoire est partagé avec le conteneur pendant la durée de la construction, bien que dans le conteneur, l'arborescence de construction est toujours appelée @file{/tmp/guix-build-@var{name}.drv-0}." +msgstr "Lorsque le démon effectue une construction pour le compte de l'utilisateur·rice, il crée un répertoire sous @file{/tmp} ou sous le répertoire spécifié par sa variable d'environnement @code{TMPDIR}. Ce répertoire est partagé avec le conteneur pendant la durée de la construction, bien que dans le conteneur, l'arborescence de construction est toujours appelée @file{/tmp/guix-build-@var{name}.drv-0}." #. type: Plain text #: doc/guix.texi:1334 @@ -4605,7 +4617,7 @@ msgstr "--build-users-group=@var{groupe}" #. type: table #: doc/guix.texi:1347 msgid "Take users from @var{group} to run build processes (@pxref{Setting Up the Daemon, build users})." -msgstr "Prendre les utilisateurs de @var{group} pour lancer les processus de construction (@pxref{Paramétrer le démon, utilisateurs de construction})." +msgstr "Utiliser les comptes du @var{groupe} pour lancer les processus de construction (@pxref{Paramétrer le démon, comptes de construction})." #. type: item #: doc/guix.texi:1348 doc/guix.texi:7723 @@ -4826,7 +4838,7 @@ msgstr "Désactive les constructions dans un chroot." #. type: table #: doc/guix.texi:1454 msgid "Using this option is not recommended since, again, it would allow build processes to gain access to undeclared dependencies. It is necessary, though, when @command{guix-daemon} is running under an unprivileged user account." -msgstr "Utiliser cette option n'est pas recommandé car, de nouveau, elle permet aux processus de construction d'accéder à des dépendances non déclarées. Elle est nécessaire cependant lorsque @command{guix-daemon} tourne en tant qu'utilisateur non privilégié." +msgstr "Utiliser cette option n'est pas recommandé car, de nouveau, elle permet aux processus de construction d'accéder à des dépendances non déclarées. Elle est nécessaire cependant lorsque @command{guix-daemon} tourne sans privilèges." #. type: item #: doc/guix.texi:1455 @@ -4908,7 +4920,7 @@ msgstr "Dire si le ramasse-miettes (GC) doit garder les dérivations corresponda #. type: table #: doc/guix.texi:1493 msgid "When set to ``yes'', as is the case by default, the GC keeps derivations---i.e., @code{.drv} files---as long as at least one of their outputs is live. This allows users to keep track of the origins of items in their store. Setting it to ``no'' saves a bit of disk space." -msgstr "Lorsqu'elle est à « yes », comme c'est le cas par défaut, le GC garde les dérivations — c.-à-d.@: les fichiers @file{.drv} — tant qu'au moins une de leurs sorties est utilisée. Cela permet aux utilisateurs de garder une trace de l'origine des éléments du dépôt. Le mettre à « no » préserve un peu d'espace disque." +msgstr "Lorsqu'elle est à « yes », comme c'est le cas par défaut, le GC garde les dérivations — c.-à-d.@: les fichiers @file{.drv} — tant qu'au moins une de leurs sorties est utilisée. Cela permet de garder une trace de l'origine des éléments du dépôt. Le mettre à « no » préserve un peu d'espace disque." #. type: table #: doc/guix.texi:1501 @@ -5026,7 +5038,7 @@ msgstr "Écouter les connexions TCP sur l'interface réseau correspondant à @co #. type: table #: doc/guix.texi:1547 msgid "This option can be repeated multiple times, in which case @command{guix-daemon} accepts connections on all the specified endpoints. Users can tell client commands what endpoint to connect to by setting the @code{GUIX_DAEMON_SOCKET} environment variable (@pxref{The Store, @code{GUIX_DAEMON_SOCKET}})." -msgstr "Cette option peut être répétée plusieurs fois, auquel cas @command{guix-daemon} accepte des connexions sur toutes les extrémités spécifiées. Les utilisateurs peuvent dire aux commandes clientes à quelle extrémité se connecter en paramétrant la variable d'environnement @code{GUIX_DAEMON_SOCKET} (@pxref{The Store, @code{GUIX_DAEMON_SOCKET}})." +msgstr "Cette option peut être répétée plusieurs fois, auquel cas @command{guix-daemon} accepte des connexions sur toutes les extrémités spécifiées. On peut indiquer aux commandes clientes à quoi se connecter en paramétrant la variable d'environnement @code{GUIX_DAEMON_SOCKET} (@pxref{The Store, @code{GUIX_DAEMON_SOCKET}})." #. type: quotation #: doc/guix.texi:1554 @@ -5133,7 +5145,7 @@ msgstr "name service caching daemon (nscd)" #. type: Plain text #: doc/guix.texi:1625 msgid "When using Guix on a foreign distro, we @emph{strongly recommend} that the system run the GNU C library's @dfn{name service cache daemon}, @command{nscd}, which should be listening on the @file{/var/run/nscd/socket} socket. Failing to do that, applications installed with Guix may fail to look up host names or user accounts, or may even crash. The next paragraphs explain why." -msgstr "Lorsque vous utilisez Guix sur une distro externe, nous @emph{recommandons fortement} que ce système fasse tourner le @dfn{démon de cache de service de noms} de la bibliothèque C de GNU, @command{nscd}, qui devrait écouter sur le socket @file{/var/run/nscd/socket}. Sans cela, les applications installées avec Guix peuvent échouer à résoudre des noms d'hôtes ou d'utilisateurs, ou même planter. Les paragraphes suivants expliquent pourquoi." +msgstr "Lorsque vous utilisez Guix sur une distro externe, nous @emph{recommandons fortement} que ce système fasse tourner le @dfn{démon de cache de service de noms} de la bibliothèque C de GNU, @command{nscd}, qui devrait écouter sur le socket @file{/var/run/nscd/socket}. Sans cela, les applications installées avec Guix peuvent échouer à résoudre des noms d'hôtes ou de comptes, ou même planter. Les paragraphes suivants expliquent pourquoi." #. type: file{#1} #: doc/guix.texi:1626 @@ -5144,7 +5156,7 @@ msgstr "nsswitch.conf" #. type: Plain text #: doc/guix.texi:1631 msgid "The GNU C library implements a @dfn{name service switch} (NSS), which is an extensible mechanism for ``name lookups'' in general: host name resolution, user accounts, and more (@pxref{Name Service Switch,,, libc, The GNU C Library Reference Manual})." -msgstr "La bibliothèque C de GNU implémente un @dfn{name service switch} (NSS), qui est un mécanisme d'extension pour les « résolutions de noms » en général : résolution de nom d'hôte, de compte utilisateur et plus (@pxref{Name Service Switch,,, libc, The GNU C Library Reference Manual})." +msgstr "La bibliothèque C de GNU implémente un @dfn{name service switch} (NSS), qui est un mécanisme d'extension pour les « résolutions de noms » en général : résolution de nom d'hôte, de compte utilisateur·rice et plus (@pxref{Name Service Switch,,, libc, The GNU C Library Reference Manual})." #. type: cindex #: doc/guix.texi:1632 @@ -5161,7 +5173,7 @@ msgstr "NIS (Network information service)" #. type: Plain text #: doc/guix.texi:1642 msgid "Being extensible, the NSS supports @dfn{plugins}, which provide new name lookup implementations: for example, the @code{nss-mdns} plugin allow resolution of @code{.local} host names, the @code{nis} plugin allows user account lookup using the Network information service (NIS), and so on. These extra ``lookup services'' are configured system-wide in @file{/etc/nsswitch.conf}, and all the programs running on the system honor those settings (@pxref{NSS Configuration File,,, libc, The GNU C Reference Manual})." -msgstr "Comme il est extensible, NSS supporte des @dfn{greffons} qui fournissent une nouvelle implémentation de résolution de nom : par exemple le greffon @code{nss-mdns} permet la résolution de noms d'hôtes en @code{.local}, le greffon @code{nis} permet la résolution de comptes utilisateurs avec le Network Information Service (NIS), etc. Ces « services de recherches » supplémentaires sont configurés au niveau du système dans @file{/etc/nsswitch.conf}, et tous les programmes qui tournent sur ce système honorent ces paramètres (@pxref{NSS Configuration File,,, libc, The GNU C Reference Manual})" +msgstr "Comme il est extensible, NSS supporte des @dfn{greffons} qui fournissent une nouvelle implémentation de résolution de nom : par exemple le greffon @code{nss-mdns} permet la résolution de noms d'hôtes en @code{.local}, le greffon @code{nis} permet la résolution de comptes avec le Network Information Service (NIS), etc. Ces « services de recherches » supplémentaires sont configurés au niveau du système dans @file{/etc/nsswitch.conf}, et tous les programmes qui tournent sur ce système honorent ces paramètres (@pxref{NSS Configuration File,,, libc, The GNU C Reference Manual})" #. type: Plain text #: doc/guix.texi:1652 @@ -5388,7 +5400,7 @@ msgstr "prise en charge du matériel sur Guix System" #. type: Plain text #: doc/guix.texi:1845 msgid "GNU@tie{}Guix focuses on respecting the user's computing freedom. It builds around the kernel Linux-libre, which means that only hardware for which free software drivers and firmware exist is supported. Nowadays, a wide range of off-the-shelf hardware is supported on GNU/Linux-libre---from keyboards to graphics cards to scanners and Ethernet controllers. Unfortunately, there are still areas where hardware vendors deny users control over their own computing, and such hardware is not supported on Guix System." -msgstr "GNU@tie{}Guix se concentre sur le respect des libertés de ses utilisateurs. Il est construit autour du noyau Linux-libre, ce qui signifie que seuls les matériels pour lesquels des pilotes logiciels et des microgiciels libres sont disponibles sont pris en charge. De nos jours, une grande gamme de matériel qu'on peut acheter est prise en charge par GNU/Linux-libre — des claviers aux cartes graphiques en passant par les scanners et les contrôleurs Ethernet. Malheureusement, il reste des produit dont les fabricants refusent de laisser le contrôle aux utilisateurs sur leur propre utilisation de l'ordinateur, et ces matériels ne sont pas pris en charge par Guix System." +msgstr "GNU@tie{}Guix se concentre sur le respect des libertés de ses utilisateurs et utilisatrices. Il est construit autour du noyau Linux-libre, ce qui signifie que seuls les matériels pour lesquels des pilotes logiciels et des microgiciels libres sont disponibles sont pris en charge. De nos jours, une grande gamme de matériel qu'on peut acheter est prise en charge par GNU/Linux-libre — des claviers aux cartes graphiques en passant par les scanners et les contrôleurs Ethernet. Malheureusement, il reste des produits dont les fabricants refusent de laisser le contrôle aux utilisateur·rice·s sur leur propre utilisation de l'ordinateur, et ces matériels ne sont pas pris en charge par Guix System." #. type: cindex #: doc/guix.texi:1846 @@ -5492,7 +5504,7 @@ msgstr "" #. type: enumerate #: doc/guix.texi:1931 msgid "Access to @file{/dev/sdX} usually requires root privileges." -msgstr "Accéder à @file{/dev/sdX} requiert généralement les privilèges super-utilisateur." +msgstr "Accéder à @file{/dev/sdX} requiert généralement les privilèges d'administration." #. type: unnumberedsubsec #: doc/guix.texi:1933 @@ -5519,7 +5531,7 @@ msgstr "growisofs -dvd-compat -Z /dev/srX=guix-system-install-@value{VERSION}.@v #. type: enumerate #: doc/guix.texi:1955 msgid "Access to @file{/dev/srX} usually requires root privileges." -msgstr "Accéder à @file{/dev/srX} requiert généralement les privilèges super-utilisateur." +msgstr "Accéder à @file{/dev/srX} requiert généralement les privilèges root." #. type: unnumberedsubsec #: doc/guix.texi:1957 @@ -6060,7 +6072,7 @@ msgstr "Cela copie tous les fichiers nécessaires et installe GRUB sur @file{/de #. type: Plain text #: doc/guix.texi:2362 msgid "Once that command has completed---and hopefully succeeded!---you can run @command{reboot} and boot into the new system. The @code{root} password in the new system is initially empty; other users' passwords need to be initialized by running the @command{passwd} command as @code{root}, unless your configuration specifies otherwise (@pxref{user-account-password, user account passwords}). @xref{After System Installation}, for what's next!" -msgstr "Une fois que cette commande a terminé — et on l'espère réussi ! — vous pouvez lancer @command{reboot} et démarrer sur votre nouveau système. Le mot de passe @code{root} est d'abord vide ; les mots de passe des autres utilisateurs doivent être initialisés avec la commande @command{passwd} en tant que @code{root}, à mois que votre configuration ne spécifie autre chose (@pxref{user-account-password, mot de passe des comptes utilisateurs}). @xref{After System Installation}, pour la suite !" +msgstr "Une fois que cette commande a terminé — et on l'espère réussi ! — vous pouvez lancer @command{reboot} et démarrer sur votre nouveau système. Le mot de passe @code{root} est d'abord vide ; les mots de passe des autres comptes doivent être initialisés avec la commande @command{passwd} en tant que @code{root}, à mois que votre configuration ne spécifie autre chose (@pxref{user-account-password, mot de passe des comptes}). @xref{After System Installation}, pour la suite !" #. type: Plain text #: doc/guix.texi:2369 @@ -6091,7 +6103,7 @@ msgstr "sudo vs.@: @command{guix pull}" #. type: quotation #: doc/guix.texi:2386 msgid "Note that @command{sudo guix} runs your user's @command{guix} command and @emph{not} root's, because @command{sudo} leaves @code{PATH} unchanged. To explicitly run root's @command{guix}, type @command{sudo -i guix @dots{}}." -msgstr "Remarquez que @command{sudo guix} exécute la commande @command{guix} de votre utilisateur et @emph{non} celle de root, parce que @command{sudo} ne change pas @code{PATH}. Pour utiliser explicitement le @command{guix} de root, tapez @command{sudo -i guix @dots{}}." +msgstr "Remarquez que @command{sudo guix} exécute la commande @command{guix} de votre compte et @emph{non} celle de root, parce que @command{sudo} ne change pas @code{PATH}. Pour utiliser explicitement le @command{guix} de root, tapez @command{sudo -i guix @dots{}}." #. type: Plain text #: doc/guix.texi:2390 @@ -6254,7 +6266,7 @@ msgstr "paquets" #. type: Plain text #: doc/guix.texi:2487 msgid "The purpose of GNU Guix is to allow users to easily install, upgrade, and remove software packages, without having to know about their build procedures or dependencies. Guix also goes beyond this obvious set of features." -msgstr "Le but de GNU Guix est de permettre à ses utilisateurs d'installer, mettre à jour et supprimer facilement des paquets logiciels sans devoir connaître leur procédure de construction ou leurs dépendances. Guix va aussi plus loin que ces fonctionnalités évidentes." +msgstr "Le but de GNU Guix est de permettre à ses utilisatrices et utilisateurs d'installer, mettre à jour et supprimer facilement des paquets logiciels sans devoir connaître leur procédure de construction ou leurs dépendances. Guix va aussi plus loin que ces fonctionnalités évidentes." #. type: Plain text #: doc/guix.texi:2495 @@ -6275,7 +6287,7 @@ msgstr "Lorsque vous utilisez Guix, chaque paquet arrive dans @dfn{dépôt des p #. type: Plain text #: doc/guix.texi:2524 msgid "Instead of referring to these directories, users have their own @dfn{profile}, which points to the packages that they actually want to use. These profiles are stored within each user's home directory, at @code{$HOME/.guix-profile}." -msgstr "Plutôt que de se rapporter à ces répertoires, les utilisateurs ont leur propre @dfn{profil} qui pointe vers les paquets qu'ils veulent vraiment utiliser. Ces profils sont stockés dans le répertoire personnel de chaque utilisateur dans @code{$HOME/.guix-profile}." +msgstr "Plutôt que de se rapporter à ces répertoires, les utilisateur·rice·s ont leur propre @dfn{profil} qui pointe vers les paquets qu'ils ou elles veulent vraiment utiliser. Ces profils sont stockés dans le répertoire personnel de chacun·e dans @code{$HOME/.guix-profile}." #. type: Plain text #: doc/guix.texi:2532 @@ -6285,7 +6297,7 @@ msgstr "Par exemple, @code{alice} installe GCC 4.7.2. Il en résulte que @file{ #. type: Plain text #: doc/guix.texi:2536 msgid "The @command{guix package} command is the central tool to manage packages (@pxref{Invoking guix package}). It operates on the per-user profiles, and can be used @emph{with normal user privileges}." -msgstr "La commande @command{guix package} est l'outil central pour gérer les paquets (@pxref{Invoking guix package}). Il opère sur les profils utilisateurs et peut être utilisé avec les @emph{privilèges utilisateurs normaux}." +msgstr "La commande @command{guix package} est l'outil central pour gérer les paquets (@pxref{Invoking guix package}). Il opère sur les profils de chaque utilisateur·rice et peut être utilisé avec les @emph{privilèges normaux}." #. type: cindex #: doc/guix.texi:2537 doc/guix.texi:2616 @@ -6296,7 +6308,7 @@ msgstr "transactions" #. type: Plain text #: doc/guix.texi:2544 msgid "The command provides the obvious install, remove, and upgrade operations. Each invocation is actually a @emph{transaction}: either the specified operation succeeds, or nothing happens. Thus, if the @command{guix package} process is terminated during the transaction, or if a power outage occurs during the transaction, then the user's profile remains in its previous state, and remains usable." -msgstr "La commande fournit les opérations évidentes d'installation, de suppression et de mise à jour. Chaque invocation est en fait une @emph{transaction} : soit l'opération demandée réussit, soit rien ne se passe. Ainsi, si le processus @command{guix package} est terminé pendant la transaction ou si une panne de courant arrive pendant la transaction, le profil de l'utilisateur reste dans son état précédent et reste utilisable." +msgstr "La commande fournit les opérations évidentes d'installation, de suppression et de mise à jour. Chaque invocation est en fait une @emph{transaction} : soit l'opération demandée réussit, soit rien ne se passe. Ainsi, si le processus @command{guix package} est terminé pendant la transaction ou si une panne de courant arrive pendant la transaction, le profil reste dans son état précédent et reste utilisable." #. type: Plain text #: doc/guix.texi:2552 @@ -6306,7 +6318,7 @@ msgstr "En plus, il est possible @emph{d'annuler} toute transaction sur les paqu #. type: Plain text #: doc/guix.texi:2559 msgid "All packages in the package store may be @emph{garbage-collected}. Guix can determine which packages are still referenced by user profiles, and remove those that are provably no longer referenced (@pxref{Invoking guix gc}). Users may also explicitly remove old generations of their profile so that the packages they refer to can be collected." -msgstr "Tout paquet du dépôt des paquets peut être @emph{glané}. Guix peut déterminer quels paquets sont toujours référencés par les profils des utilisateurs et supprimer ceux qui ne sont plus référencés de manière prouvable (@pxref{Invoking guix gc}). Les utilisateurs peuvent toujours explicitement supprimer les anciennes générations de leur profil pour que les paquets auxquels elles faisaient référence puissent être glanés." +msgstr "Tout paquet du dépôt des paquets peut être @emph{glané}. Guix peut déterminer quels paquets sont toujours référencés par les profils des utilisateur·rice·s et supprimer ceux qui ne sont de tout évidence plus référencés (@pxref{Invoking guix gc}). Les utilisateur·rice·s peuvent toujours explicitement supprimer les anciennes générations de leur profil pour que les paquets auxquels elles faisaient référence puissent être glanés." #. type: cindex #: doc/guix.texi:2560 doc/guix.texi:4087 @@ -6317,7 +6329,7 @@ msgstr "reproductibilité" #. type: Plain text #: doc/guix.texi:2572 msgid "Guix takes a @dfn{purely functional} approach to package management, as described in the introduction (@pxref{Introduction}). Each @file{/gnu/store} package directory name contains a hash of all the inputs that were used to build that package---compiler, libraries, build scripts, etc. This direct correspondence allows users to make sure a given package installation matches the current state of their distribution. It also helps maximize @dfn{build reproducibility}: thanks to the isolated build environments that are used, a given build is likely to yield bit-identical files when performed on different machines (@pxref{Invoking guix-daemon, container})." -msgstr "Guix prend une approche @dfn{purement fonctionnelle} de la gestion de paquets, telle que décrite dans l'introduction (@pxref{Introduction}). Chaque nom de répertoire de paquet dans @file{/gnu/store} contient un hash de toutes les entrées qui ont été utilisées pendant la construction de ce paquet — le compilateur, les bibliothèques, les scripts de construction, etc. Cette correspondance directe permet aux utilisateurs de s'assurer que l'installation d'un paquet donné correspond à l'état actuel de leur distribution. Elle aide aussi à maximiser la @dfn{reproductibilité} : grâce aux environnements de construction utilisés, une construction donnée a de forte chances de donner des fichiers identiques bit-à-bit lorsqu'elle est effectuée sur des machines différentes (@pxref{Invoking guix-daemon, container})." +msgstr "Guix prend une approche @dfn{purement fonctionnelle} de la gestion de paquets, telle que décrite dans l'introduction (@pxref{Introduction}). Chaque nom de répertoire de paquet dans @file{/gnu/store} contient un hash de toutes les entrées qui ont été utilisées pendant la construction de ce paquet — le compilateur, les bibliothèques, les scripts de construction, etc. Cette correspondance directe permet aux utilisateur·rice·s de s'assurer que l'installation d'un paquet donné correspond à l'état actuel de leur distribution. Elle aide aussi à maximiser la @dfn{reproductibilité} : grâce aux environnements de construction utilisés, une construction donnée a de forte chances de donner des fichiers identiques bit-à-bit lorsqu'elle est effectuée sur des machines différentes (@pxref{Invoking guix-daemon, container})." #. type: Plain text #: doc/guix.texi:2583 @@ -6379,7 +6391,7 @@ msgstr "suppression de paquets" #. type: Plain text #: doc/guix.texi:2611 msgid "The @command{guix package} command is the tool that allows users to install, upgrade, and remove packages, as well as rolling back to previous configurations. It operates only on the user's own profile, and works with normal user privileges (@pxref{Features}). Its syntax is:" -msgstr "La commande @command{guix package} est l'outil qui permet d'installer, mettre à jour et supprimer les paquets ainsi que de revenir à une configuration précédente. Elle n'opère que dans le profil de l'utilisateur et fonctionne avec les privilèges utilisateurs normaux (@pxref{Fonctionnalités}). Sa syntaxe est :" +msgstr "La commande @command{guix package} est l'outil qui permet d'installer, mettre à jour et supprimer les paquets ainsi que de revenir à une configuration précédente. Elle n'opère que dans le profil de l'utilisateur·rice et fonctionne avec les privilèges normaux (@pxref{Fonctionnalités}). Sa syntaxe est :" #. type: example #: doc/guix.texi:2614 @@ -6390,7 +6402,7 @@ msgstr "guix package @var{options}\n" #. type: Plain text #: doc/guix.texi:2621 msgid "Primarily, @var{options} specifies the operations to be performed during the transaction. Upon completion, a new profile is created, but previous @dfn{generations} of the profile remain available, should the user want to roll back." -msgstr "@var{options} spécifie d'abord les opérations à effectuer pendant la transaction. À la fin, une nouvelle génération du profil est créée mais les @dfn{générations} précédentes du profil restent disponibles si l'utilisateur souhaite y revenir." +msgstr "@var{options} spécifie d'abord les opérations à effectuer pendant la transaction. À la fin, une nouvelle génération du profil est créée mais les @dfn{générations} précédentes du profil restent disponibles si l'utilisateur·rice souhaite y revenir." #. type: Plain text #: doc/guix.texi:2624 @@ -6442,7 +6454,7 @@ msgstr "Ces alias sont moins expressifs que @command{guix package} et fournissen #. type: Plain text #: doc/guix.texi:2651 msgid "@command{guix package} also supports a @dfn{declarative approach} whereby the user specifies the exact set of packages to be available and passes it @i{via} the @option{--manifest} option (@pxref{profile-manifest, @option{--manifest}})." -msgstr "@command{guix package} supporte aussi une @dfn{approche déclarative} où l'utilisateur spécifie l'ensemble exact des paquets qui doivent être disponibles le passe @i{via} l'option @option{--manifest} (@pxref{profile-manifest, @option{--manifest}})." +msgstr "@command{guix package} supporte aussi une @dfn{approche déclarative} où on spécifie l'ensemble exact des paquets qui doivent être disponibles que l'on passe @i{via} l'option @option{--manifest} (@pxref{profile-manifest, @option{--manifest}})." #. type: cindex #: doc/guix.texi:2652 @@ -6453,7 +6465,7 @@ msgstr "profil" #. type: Plain text #: doc/guix.texi:2658 msgid "For each user, a symlink to the user's default profile is automatically created in @file{$HOME/.guix-profile}. This symlink always points to the current generation of the user's default profile. Thus, users can add @file{$HOME/.guix-profile/bin} to their @code{PATH} environment variable, and so on." -msgstr "Pour chaque utilisateur, un lien symbolique vers le profil par défaut de cet utilisateur est automatiquement créé dans @file{$HOME/.guix-profile}. Ce lien symbolique pointe toujours vers la génération actuelle du profil par défaut de l'utilisateur. Ainsi, les utilisateurs peuvent ajouter @file{$HOME/.guix-profile/bin} à leur variable d'environnement @code{PATH} etc." +msgstr "Pour chaque compte, un lien symbolique vers son profil par défaut est automatiquement créé dans @file{$HOME/.guix-profile}. Ce lien symbolique pointe toujours vers la génération actuelle du profil par défaut du compte. Ainsi, on peut ajouter @file{$HOME/.guix-profile/bin} à sa variable d'environnement @code{PATH} etc." #. type: cindex #: doc/guix.texi:2658 doc/guix.texi:2855 @@ -6479,7 +6491,7 @@ msgstr "" #. type: Plain text #: doc/guix.texi:2678 msgid "In a multi-user setup, user profiles are stored in a place registered as a @dfn{garbage-collector root}, which @file{$HOME/.guix-profile} points to (@pxref{Invoking guix gc}). That directory is normally @code{@var{localstatedir}/guix/profiles/per-user/@var{user}}, where @var{localstatedir} is the value passed to @code{configure} as @code{--localstatedir}, and @var{user} is the user name. The @file{per-user} directory is created when @command{guix-daemon} is started, and the @var{user} sub-directory is created by @command{guix package}." -msgstr "Dans un environnement multi-utilisateur, les profils utilisateurs sont stockés comme une @dfn{racine du ramasse-miettes}, vers laquelle pointe @file{$HOME/.guix-profile} (@pxref{Invoking guix gc}). Ce répertoire est normalement @code{@var{localstatedir}/guix/profiles/per-user/@var{utilisateur}}, où @var{localstatedir} est la valeur passée à @code{configure} avec @code{--localstatedir} et @var{utilisateur} le nom d'utilisateur. Le répertoire @file{per-user} est créé lorsque @command{guix-daemon} est démarré et le sous-répertoire @var{user} est créé par @command{guix package}." +msgstr "Dans un environnement multi-utilisateur·rice, les profils sont stockés comme une @dfn{racine du ramasse-miettes}, vers laquelle pointe @file{$HOME/.guix-profile} (@pxref{Invoking guix gc}). Ce répertoire est normalement @code{@var{localstatedir}/guix/profiles/per-user/@var{compte}}, où @var{localstatedir} est la valeur passée à @code{configure} avec @code{--localstatedir} et @var{compte} le nom du compte. Le répertoire @file{per-user} est créé lorsque @command{guix-daemon} est démarré et le sous-répertoire @var{user} est créé par @command{guix package}." #. type: Plain text #: doc/guix.texi:2680 @@ -6532,7 +6544,7 @@ msgstr "package-cmd-propagated-inputs" #. type: table #: doc/guix.texi:2713 msgid "An example is the GNU MPC library: its C header files refer to those of the GNU MPFR library, which in turn refer to those of the GMP library. Thus, when installing MPC, the MPFR and GMP libraries also get installed in the profile; removing MPC also removes MPFR and GMP---unless they had also been explicitly installed by the user." -msgstr "Un exemple est la bibliothèque MPC de GNU : ses fichiers d'en-tête C se réfèrent à ceux de la bibliothèque MPFR de GNU, qui se réfèrent en retour à ceux de la bibliothèque GMP. Ainsi, lorsqu'on installe MPC, les bibliothèques MPFR et GMP sont aussi installées dans le profil ; supprimer MPC supprimera aussi MPFR et GMP — à moins qu'ils n'aient été aussi installés explicitement par l'utilisateur." +msgstr "Un exemple est la bibliothèque MPC de GNU : ses fichiers d'en-tête C se réfèrent à ceux de la bibliothèque MPFR de GNU, qui se réfèrent en retour à ceux de la bibliothèque GMP. Ainsi, lorsqu'on installe MPC, les bibliothèques MPFR et GMP sont aussi installées dans le profil ; supprimer MPC supprimera aussi MPFR et GMP — à moins qu'ils n'aient été aussi installés explicitement par l'utilisateur·rice." #. type: table #: doc/guix.texi:2718 @@ -6597,7 +6609,7 @@ msgstr "@verbatiminclude package-hello.scm\n" #. type: table #: doc/guix.texi:2747 msgid "Developers may find it useful to include such a @file{guix.scm} file in the root of their project source tree that can be used to test development snapshots and create reproducible development environments (@pxref{Invoking guix environment})." -msgstr "Les développeurs peuvent trouver utile d'inclure un tel fichier @file{guix.scm} à la racine de l'arborescence des sources de leur projet qui pourrait être utilisé pour tester des versions de développement et créer des environnements de développement reproductibles (@pxref{Invoking guix environment})." +msgstr "Lorsqu'on développe, on peut trouver utile d'inclure un tel fichier @file{guix.scm} à la racine de l'arborescence des sources de son projet qui pourrait être utilisé pour tester des versions de développement et créer des environnements de développement reproductibles (@pxref{Invoking guix environment})." #. type: item #: doc/guix.texi:2748 @@ -6856,7 +6868,7 @@ msgstr "Rapporter les définitions des variables d'environnement dans la syntaxe #. type: table #: doc/guix.texi:2868 msgid "For example, GCC needs the @code{CPATH} and @code{LIBRARY_PATH} environment variables to be defined so it can look for headers and libraries in the user's profile (@pxref{Environment Variables,,, gcc, Using the GNU Compiler Collection (GCC)}). If GCC and, say, the C library are installed in the profile, then @code{--search-paths} will suggest setting these variables to @code{@var{profile}/include} and @code{@var{profile}/lib}, respectively." -msgstr "Par exemple, GCC a besoin des variables d'environnement @code{CPATH} et @code{LIBRARY_PATH} pour trouver les en-têtes et les bibliothèques dans le profil de l'utilisateur (@pxref{Environment Variables,,, gcc, Using the GNU Compiler Collection (GCC)}). Si GCC et, disons, la bibliothèque C sont installés dans le profil, alors @code{--search-paths} suggérera d'initialiser ces variables à @code{@var{profil}/include} et @code{@var{profil}/lib}, respectivement." +msgstr "Par exemple, GCC a besoin des variables d'environnement @code{CPATH} et @code{LIBRARY_PATH} pour trouver les en-têtes et les bibliothèques dans le profil de l'utilisateur·rice (@pxref{Environment Variables,,, gcc, Using the GNU Compiler Collection (GCC)}). Si GCC et, disons, la bibliothèque C sont installés dans le profil, alors @code{--search-paths} suggérera d'initialiser ces variables à @code{@var{profil}/include} et @code{@var{profil}/lib}, respectivement." #. type: table #: doc/guix.texi:2871 @@ -6911,7 +6923,7 @@ msgstr "-p @var{profil}" #. type: table #: doc/guix.texi:2898 msgid "Use @var{profile} instead of the user's default profile." -msgstr "Utiliser le @var{profil} à la place du profil par défaut de l'utilisateur." +msgstr "Utiliser le @var{profil} à la place du profil par défaut du compte." #. type: cindex #: doc/guix.texi:2899 @@ -6956,7 +6968,7 @@ msgstr "--bootstrap" #. type: table #: doc/guix.texi:2912 msgid "Use the bootstrap Guile to build the profile. This option is only useful to distribution developers." -msgstr "Utiliser le programme d'amorçage Guile pour compiler le profil. Cette option n'est utile que pour les développeurs de la distribution." +msgstr "Utiliser le programme d'amorçage Guile pour compiler le profil. Cette option n'est utile qu'aux personnes qui développent la distribution." #. type: Plain text #: doc/guix.texi:2918 @@ -7514,17 +7526,17 @@ msgstr "confiance, en des binaires pré-construits" #. type: Plain text #: doc/guix.texi:3311 msgid "Today, each individual's control over their own computing is at the mercy of institutions, corporations, and groups with enough power and determination to subvert the computing infrastructure and exploit its weaknesses. While using @code{@value{SUBSTITUTE-SERVER}} substitutes can be convenient, we encourage users to also build on their own, or even run their own build farm, such that @code{@value{SUBSTITUTE-SERVER}} is less of an interesting target. One way to help is by publishing the software you build using @command{guix publish} so that others have one more choice of server to download substitutes from (@pxref{Invoking guix publish})." -msgstr "De nos jours, le contrôle individuel sur son utilisation propre de l'informatique est à la merci d'institutions, de sociétés et de groupes avec assez de pouvoir et de détermination pour contourner les infrastructures informatiques et exploiter leurs faiblesses. Bien qu'utiliser les substituts de @code{@value{SUBSTITUTE-SERVER}} soit pratique, nous encourageons les utilisateurs à construire aussi par eux-mêmes, voir à faire tourner leur propre ferme de construction, pour que @code{@value{SUBSTITUTE-SERVER}} devienne une cible moins intéressante. Une façon d'aider est de publier les logiciels que vous construisez avec @command{guix publish} pour que les autres aient plus de choix de serveurs où télécharger les substituts (@pxref{Invoking guix publish})." +msgstr "De nos jours, le contrôle individuel sur son utilisation propre de l'informatique est à la merci d'institutions, de sociétés et de groupes avec assez de pouvoir et de détermination pour contourner les infrastructures informatiques et exploiter leurs faiblesses. Bien qu'utiliser les substituts de @code{@value{SUBSTITUTE-SERVER}} soit pratique, nous encourageons chacun·e à construire aussi par soi-même, voire à faire tourner sa propre ferme de construction, pour que @code{@value{SUBSTITUTE-SERVER}} devienne une cible moins intéressante. Une façon d'aider est de publier les logiciels que vous construisez avec @command{guix publish} pour que les autres aient plus de choix de serveurs où télécharger les substituts (@pxref{Invoking guix publish})." #. type: Plain text #: doc/guix.texi:3323 msgid "Guix has the foundations to maximize build reproducibility (@pxref{Features}). In most cases, independent builds of a given package or derivation should yield bit-identical results. Thus, through a diverse set of independent package builds, we can strengthen the integrity of our systems. The @command{guix challenge} command aims to help users assess substitute servers, and to assist developers in finding out about non-deterministic package builds (@pxref{Invoking guix challenge}). Similarly, the @option{--check} option of @command{guix build} allows users to check whether previously-installed substitutes are genuine by rebuilding them locally (@pxref{build-check, @command{guix build --check}})." -msgstr "Guix possède les fondations pour maximiser la reproductibilité logicielle (@pxref{Features}). Dans la plupart des cas, des constructions indépendantes d'un paquet donnée ou d'une dérivation devrait donner des résultats identiques au bit près. Ainsi, à travers un ensemble de constructions de paquets indépendantes il est possible de renforcer l'intégrité du système. La commande @command{guix challenge} a pour but d'aider les utilisateurs à tester les serveurs de substituts et à aider les développeurs à trouver les constructions de paquets non-déterministes (@pxref{Invoking guix challenge}). De même, l'option @option{--check} de @command{guix build} permet aux utilisateurs de vérifier si les substituts précédemment installés sont authentiques en les reconstruisant localement (@pxref{build-check, @command{guix build --check}})." +msgstr "Guix possède les fondations pour maximiser la reproductibilité logicielle (@pxref{Features}). Dans la plupart des cas, des constructions indépendantes d'un paquet donnée ou d'une dérivation devrait donner des résultats identiques au bit près. Ainsi, à travers un ensemble de constructions de paquets indépendantes il est possible de renforcer l'intégrité du système. La commande @command{guix challenge} a pour but d'aider les utilisateur·rice·s à tester les serveurs de substituts et à aider les développeur·euse·s à trouver les constructions de paquets non-déterministes (@pxref{Invoking guix challenge}). De même, l'option @option{--check} de @command{guix build} permet à chaque personne de vérifier si les substituts précédemment installés sont authentiques en les reconstruisant localement (@pxref{build-check, @command{guix build --check}})." #. type: Plain text #: doc/guix.texi:3327 msgid "In the future, we want Guix to have support to publish and retrieve binaries to/from other users, in a peer-to-peer fashion. If you would like to discuss this project, join us on @email{guix-devel@@gnu.org}." -msgstr "Dans le futur, nous aimerions que Guix puisse publier et recevoir des binaires d'autres utilisateurs, d'une manière pair-à-pair. Si vous voulez discuter de ce projet, rejoignez-nous sur @email{guix-devel@@gnu.org}." +msgstr "À l'avenir, nous aimerions que Guix puisse publier et recevoir des binaires d'autres personnes, de manière pair-à-pair. Si vous voulez discuter de ce projet, rejoignez-nous sur @email{guix-devel@@gnu.org}." #. type: cindex #: doc/guix.texi:3331 @@ -8268,7 +8280,7 @@ msgstr "Produire une sortie verbeuse, en écrivant les journaux de construction #. type: table #: doc/guix.texi:3733 msgid "Use the bootstrap Guile to build the latest Guix. This option is only useful to Guix developers." -msgstr "Utiliser le programme d'amorçage Guile pour construire la dernière version de Guix. Cette option n'est utile que pour les développeurs de Guix." +msgstr "Utiliser le programme d'amorçage Guile pour construire la dernière version de Guix. Cette option n'est utile qu'aux personnes qui développent Guix." #. type: Plain text #: doc/guix.texi:3739 @@ -8383,7 +8395,7 @@ msgstr "Avant de publier un canal, envisagez de contribuer vos définitions de p #. type: itemize #: doc/guix.texi:3817 msgid "When you maintain package definitions outside Guix, we, Guix developers, consider that @emph{the compatibility burden is on you}. Remember that package modules and package definitions are just Scheme code that uses various programming interfaces (APIs). We want to remain free to change these APIs to keep improving Guix, possibly in ways that break your channel. We never change APIs gratuitously, but we will @emph{not} commit to freezing APIs either." -msgstr "Lorsque vous maintenez des définitions de paquets en dehors de Guix, nous, les développeurs de Guix, considérons que @emph{la charge de la compatibilité vous incombe}. Rappelez-vous que les modules de paquets et les définitions de paquets ne sont que du code Scheme qui utilise diverses interfaces de programmation (API). Nous souhaitons rester libres de changer ces API pour continuer à améliorer Guix, éventuellement d'une manière qui casse votre canal. Nous ne changeons jamais l'API gratuitement, mais nous ne nous engageons @emph{pas} à geler les API non plus." +msgstr "Lorsque vous maintenez des définitions de paquets en dehors de Guix, nous, les développeur·euse·s de Guix, considérons que @emph{la charge de la compatibilité vous incombe}. Rappelez-vous que les modules de paquets et les définitions de paquets ne sont que du code Scheme qui utilise diverses interfaces de programmation (API). Nous souhaitons rester libres de changer ces API pour continuer à améliorer Guix, éventuellement d'une manière qui casse votre canal. Nous ne changeons jamais l'API gratuitement, mais nous ne nous engageons @emph{pas} à geler les API non plus." #. type: itemize #: doc/guix.texi:3821 @@ -10232,7 +10244,7 @@ msgstr "Un cas d'utilisation est l'archive binaire indépendante de Guix (@pxref #. type: table #: doc/guix.texi:4947 msgid "Use the bootstrap binaries to build the pack. This option is only useful to Guix developers." -msgstr "Utiliser les programmes d'amorçage pour construire le pack. Cette option n'est utile que pour les développeurs de Guix." +msgstr "Utiliser les programmes d'amorçage pour construire le pack. Cette option n'est utile que pour les personnes qui développent Guix." #. type: Plain text #: doc/guix.texi:4952 @@ -11959,7 +11971,7 @@ msgstr "Cette variable est exportée par @code{(guix build-system ruby)}. Elle #. type: defvr #: doc/guix.texi:6120 msgid "The @code{source} field of a package that uses this build system typically references a gem archive, since this is the format that Ruby developers use when releasing their software. The build system unpacks the gem archive, potentially patches the source, runs the test suite, repackages the gem, and installs it. Additionally, directories and tarballs may be referenced to allow building unreleased gems from Git or a traditional source release tarball." -msgstr "Le champ @code{source} d'un paquet qui utilise ce système de construction référence le plus souvent une archive gem, puisque c'est le format utilisé par les développeurs Ruby quand ils publient leur logiciel. Le système de construction décompresse l'archive gem, éventuellement en corrigeant les sources, lance la suite de tests, recompresse la gemme et l'installe. En plus, des répertoires et des archives peuvent être référencés pour permettre de construire des gemmes qui n'ont pas été publiées depuis Git ou une archive de sources traditionnelle." +msgstr "Le champ @code{source} d'un paquet qui utilise ce système de construction référence le plus souvent une archive gem, puisque c'est le format utilisé par les personnes qui développent en Ruby quand elles publient leur logiciel. Le système de construction décompresse l'archive gem, éventuellement en corrigeant les sources, lance la suite de tests, recompresse la gemme et l'installe. En plus, des répertoires et des archives peuvent être référencés pour permettre de construire des gemmes qui n'ont pas été publiées depuis Git ou une archive de sources traditionnelle." #. type: defvr #: doc/guix.texi:6124 @@ -14316,7 +14328,7 @@ msgstr "Accepte les connexions sur le socket Unix-domain @file{/tmp/socket}." #. type: Plain text #: doc/guix.texi:7590 msgid "This section describes Guix command-line utilities. Some of them are primarily targeted at developers and users who write new package definitions, while others are more generally useful. They complement the Scheme programming interface of Guix in a convenient way." -msgstr "Cette section décrit les utilitaires en ligne de commande de Guix. certains sont surtout faits pour les développeurs qui écrivent de nouvelles définitions de paquets tandis que d'autres sont plus utiles pour une utilisation générale. Ils complètent l'interface de programmation Scheme de Guix d'une manière pratique." +msgstr "Cette section décrit les utilitaires en ligne de commande de Guix. certains sont surtout faits pour les personnes qui écrivent de nouvelles définitions de paquets tandis que d'autres sont plus utiles pour une utilisation générale. Ils complètent l'interface de programmation Scheme de Guix d'une manière pratique." #. type: cindex #: doc/guix.texi:7612 @@ -14333,7 +14345,7 @@ msgstr "guix build" #. type: Plain text #: doc/guix.texi:7619 msgid "The @command{guix build} command builds packages or derivations and their dependencies, and prints the resulting store paths. Note that it does not modify the user's profile---this is the job of the @command{guix package} command (@pxref{Invoking guix package}). Thus, it is mainly useful for distribution developers." -msgstr "La commande @command{guix build} construit des paquets ou des dérivations et leurs dépendances et affiche les chemins du dépôt qui en résulte. Remarquez qu'elle ne modifie pas le profil de l'utilisateur — c'est le travail de la commande @command{guix package} (@pxref{Invoking guix package}). Ainsi, elle est surtout utile pour les développeurs de la distribution." +msgstr "La commande @command{guix build} construit des paquets ou des dérivations et leurs dépendances et affiche les chemins du dépôt qui en résulte. Remarquez qu'elle ne modifie pas le profil de l'utilisateur — c'est le travail de la commande @command{guix package} (@pxref{Invoking guix package}). Ainsi, elle est surtout utile pour les personnes qui développent la distribution." #. type: example #: doc/guix.texi:7624 @@ -15379,12 +15391,12 @@ msgstr "télécharger les sources des paquets" #. type: Plain text #: doc/guix.texi:8297 msgid "When writing a package definition, developers typically need to download a source tarball, compute its SHA256 hash, and write that hash in the package definition (@pxref{Defining Packages}). The @command{guix download} tool helps with this task: it downloads a file from the given URI, adds it to the store, and prints both its file name in the store and its SHA256 hash." -msgstr "En écrivant des définitions de paquets, les développeurs ont généralement besoin de télécharger une archive des sources, calculer son hash SHA256 et écrire ce hash dans la définition du paquet (@pxref{Defining Packages}). L'outil @command{guix download} aide à cette tâche : il télécharge un fichier à l'URL donné, l'ajoute au dépôt et affiche à la fois son nom dans le dépôt et son hash SHA56." +msgstr "Lorsqu'on écrit une définition de paquet, on a généralement besoin de télécharger une archive des sources, calculer son hash SHA256 et écrire ce hash dans la définition du paquet (@pxref{Defining Packages}). L'outil @command{guix download} aide à cette tâche : il télécharge un fichier à l'URL donné, l'ajoute au dépôt et affiche à la fois son nom dans le dépôt et son hash SHA56." #. type: Plain text #: doc/guix.texi:8304 msgid "The fact that the downloaded file is added to the store saves bandwidth: when the developer eventually tries to build the newly defined package with @command{guix build}, the source tarball will not have to be downloaded again because it is already in the store. It is also a convenient way to temporarily stash files, which may be deleted eventually (@pxref{Invoking guix gc})." -msgstr "Le fait que le fichier téléchargé soit ajouté au dépôt préserve la bande passante : lorsque les développeurs finissent par construire le paquet nouvellement défini avec @command{guix build}, l'archive des sources n'aura pas besoin d'être téléchargée de nouveau puisqu'elle se trouvera déjà dans le dépôt. C'est aussi une manière pratique de garder des fichiers temporairement, qui pourront ensuite être supprimés (@pxref{Invoking guix gc})." +msgstr "Le fait que le fichier téléchargé soit ajouté au dépôt économise la bande passante : quand on construit ensuite le paquet nouvellement défini avec @command{guix build}, l'archive des sources n'a pas besoin d'être à nouveau téléchargée puisqu'elle se trouve déjà dans le dépôt. C'est aussi une manière pratique de garder des fichiers temporairement, qui pourront ensuite être supprimés (@pxref{Invoking guix gc})." #. type: Plain text #: doc/guix.texi:8312 @@ -16175,7 +16187,7 @@ msgstr "guix refresh" #. type: Plain text #: doc/guix.texi:8807 msgid "The primary audience of the @command{guix refresh} command is developers of the GNU software distribution. By default, it reports any packages provided by the distribution that are outdated compared to the latest upstream version, like this:" -msgstr "L'audience première de la commande @command{guix refresh} est l'ensemble des développeurs de la distribution logicielle GNU. Par défaut, elle rapporte les paquets fournis par la distribution qui sont en retard par rapport aux dernières versions disponibles en amont, comme ceci :" +msgstr "La commande @command{guix refresh} s'adresse avant tout aux personnes qui développent la distribution logicielle GNU. Par défaut, elle rapporte les paquets fournis par la distribution qui sont en retard par rapport aux dernières versions disponibles en amont, comme ceci :" #. type: example #: doc/guix.texi:8812 @@ -16750,7 +16762,7 @@ msgstr "paquets, chercher des erreurs" #. type: Plain text #: doc/guix.texi:9120 msgid "The @command{guix lint} command is meant to help package developers avoid common errors and use a consistent style. It runs a number of checks on a given set of packages in order to find common mistakes in their definitions. Available @dfn{checkers} include (see @code{--list-checkers} for a complete list):" -msgstr "La commande @command{guix lint} est conçue pour aider les développeurs à éviter des erreurs commune et à utiliser un style cohérent lors de l'écriture de recettes de paquets. Elle lance des vérifications sur un ensemble de paquets donnés pour trouver des erreurs communes dans leur définition. Les @dfn{vérifieurs} disponibles comprennent (voir @code{--list-checkers} pour une liste complète) :" +msgstr "La commande @command{guix lint} est conçue pour aider les développeur·euse·s à éviter des erreurs communes et à utiliser un style cohérent lors de l'écriture de recettes de paquets. Elle lance des vérifications sur un ensemble de paquets donnés pour trouver des erreurs communes dans leur définition. Les @dfn{vérifieurs} disponibles comprennent (voir @code{--list-checkers} pour une liste complète) :" #. type: table #: doc/guix.texi:9126 @@ -16848,7 +16860,7 @@ msgstr "où @code{CVE-ANNÉE-ABCD} est l'identifiant CVE — p.@: ex.@: @code{CV #. type: table #: doc/guix.texi:9172 msgid "Package developers can specify in package recipes the @uref{https://nvd.nist.gov/cpe.cfm,Common Platform Enumeration (CPE)} name and version of the package when they differ from the name or version that Guix uses, as in this example:" -msgstr "Les développeurs de paquets peuvent spécifier dans les recettes des paquets le nom @uref{https://nvd.nist.gov/cpe.cfm,CPE (Common Platform Enumeration)} et la version du paquet s'ils diffèrent du nom et de la version que Guix utilise, comme dans cet exemple :" +msgstr "On peut spécifier dans les recettes des paquets le nom @uref{https://nvd.nist.gov/cpe.cfm,CPE (Common Platform Enumeration)} et la version du paquet s'ils diffèrent du nom et de la version que Guix utilise, comme dans cet exemple :" #. type: example #: doc/guix.texi:9180 @@ -16871,7 +16883,7 @@ msgstr "" #. type: table #: doc/guix.texi:9187 msgid "Some entries in the CVE database do not specify which version of a package they apply to, and would thus ``stick around'' forever. Package developers who found CVE alerts and verified they can be ignored can declare them as in this example:" -msgstr "Certaines entrées dans la base de données CVE ne spécifient pas la version du paquet auquel elles s'appliquent et lui restera donc attachée pour toujours. Les développeurs qui trouvent des alertes CVE et ont vérifiés qu'elles peuvent être ignorées peuvent les déclarer comme dans cet exemple :" +msgstr "Certaines entrées dans la base de données CVE ne spécifient pas la version du paquet auquel elles s'appliquent et lui restera donc attachée pour toujours. Les développeur·euse·s qui trouvent des alertes CVE et ont vérifié qu'elles peuvent être ignorées peuvent les déclarer comme dans cet exemple :" #. type: example #: doc/guix.texi:9197 @@ -16904,7 +16916,7 @@ msgstr "formatting" #. type: table #: doc/guix.texi:9202 msgid "Warn about obvious source code formatting issues: trailing white space, use of tabulations, etc." -msgstr "Avertit le développeurs lorsqu'il y a des problèmes de formatage du code source évident : des espaces en fin de ligne, des tabulations, etc." +msgstr "Avertit de problèmes de formatage du code source évidents : des espaces en fin de ligne, des tabulations, etc." #. type: example #: doc/guix.texi:9208 @@ -16972,7 +16984,7 @@ msgstr "guix size" #. type: Plain text #: doc/guix.texi:9239 msgid "The @command{guix size} command helps package developers profile the disk usage of packages. It is easy to overlook the impact of an additional dependency added to a package, or the impact of using a single output for a package that could easily be split (@pxref{Packages with Multiple Outputs}). Such are the typical issues that @command{guix size} can highlight." -msgstr "La commande @command{guix size} aide les développeurs à dresser un profil de l'utilisation du disque que font les paquets. C'est facile de négliger l'impact d'une dépendance supplémentaire ajoutée à un paquet, ou l'impact de l'utilisation d'une sortie unique pour un paquet qui pourrait être facilement séparé (@pxref{Packages with Multiple Outputs}). Ce sont les problèmes que @command{guix size} peut typiquement mettre en valeur." +msgstr "La commande @command{guix size} aide à dresser un profil de l'utilisation de l'espace disque par les paquets. Il est facile de négliger l'impact d'une dépendance supplémentaire ajoutée à un paquet, ou l'impact de l'utilisation d'une sortie unique pour un paquet qui pourrait être facilement séparé (@pxref{Packages with Multiple Outputs}). Ce sont ces problèmes que @command{guix size} peut typiquement mettre en valeur." #. type: Plain text #: doc/guix.texi:9244 @@ -18371,7 +18383,7 @@ msgstr "Invoquer @command{guix processes}" #. type: Plain text #: doc/guix.texi:10146 msgid "The @command{guix processes} command can be useful to developers and system administrators, especially on multi-user machines and on build farms: it lists the current sessions (connections to the daemon), as well as information about the processes involved@footnote{Remote sessions, when @command{guix-daemon} is started with @option{--listen} specifying a TCP endpoint, are @emph{not} listed.}. Here's an example of the information it returns:" -msgstr "La commande @command{guix processes} peut être utile pour les développeurs et les administrateurs systèmes, surtout sur des machines multi-utilisateurs et sur les fermes de construction : elle liste les sessions actuelles (les connexions au démon), ainsi que des informations sur les processus en question@footnote{Les sessions distantes, lorsque @command{guix-daemon} est démarré avec @option{--listen} en spécifiant un point d'entrée TCP, ne sont @emph{pas} listées.}. Voici un exemple des informations qu'elle renvoie :" +msgstr "La commande @command{guix processes} peut être utile pour les développeur·euse·s ou les personnes qui administrent des systèmes, surtout sur des machines multi-utilisateur·rice et sur les fermes de construction : elle liste les sessions actuelles (les connexions au démon), ainsi que des informations sur les processus en question@footnote{Les sessions distantes, lorsque @command{guix-daemon} est démarré avec @option{--listen} en spécifiant un point d'entrée TCP, ne sont @emph{pas} listées.}. Voici un exemple des informations qu'elle renvoie :" #. type: example #: doc/guix.texi:10152 @@ -45882,7 +45894,7 @@ msgstr "types de services" #. type: Plain text #: doc/guix.texi:24876 msgid "Technically, developers can define @dfn{service types} to express these relations. There can be any number of services of a given type on the system---for instance, a system running two instances of the GNU secure shell server (lsh) has two instances of @code{lsh-service-type}, with different parameters." -msgstr "Techniquement, les développeurs peuvent définir des @dfn{types de services} pour exprimer ces relations. Il peut y avoir n'importe quel quantité de services d'un type donné sur le système — par exemple, un système sur lequel tournent deux instances du serveur ssh de GNU (lsh) a deux instance de @var{lsh-service-type}, avec des paramètres différents." +msgstr "Techniquement, on peut définir des @dfn{types de services} pour exprimer ces relations. Il peut y avoir n'importe quel quantité de services d'un type donné sur le système — par exemple, un système sur lequel tournent deux instances du serveur ssh de GNU (lsh) a deux instance de @var{lsh-service-type}, avec des paramètres différents." #. type: Plain text #: doc/guix.texi:24879 @@ -46965,7 +46977,7 @@ msgstr "mises à jour de sécurité" #. type: Plain text #: doc/guix.texi:25534 msgid "Occasionally, important security vulnerabilities are discovered in software packages and must be patched. Guix developers try hard to keep track of known vulnerabilities and to apply fixes as soon as possible in the @code{master} branch of Guix (we do not yet provide a ``stable'' branch containing only security updates.) The @command{guix lint} tool helps developers find out about vulnerable versions of software packages in the distribution:" -msgstr "Parfois, des vulnérabilités importantes sont découvertes dans les paquets logiciels et doivent être corrigées. Les développeurs de Guix essayent de suivre les vulnérabilités connues et d'appliquer des correctifs aussi vite que possible dans la branche @code{master} de Guix (nous n'avons pas encore de branche « stable » contenant seulement des mises à jour de sécurité). L'outil @command{guix lint} aide les développeurs à trouver les versions vulnérables des paquets logiciels dans la distribution :" +msgstr "Parfois, des vulnérabilités importantes sont découvertes dans les paquets logiciels et doivent être corrigées. Les développeur·euse·s de Guix essayent de suivre les vulnérabilités connues et d'appliquer des correctifs aussi vite que possible dans la branche @code{master} de Guix (nous n'avons pas encore de branche « stable » contenant seulement des mises à jour de sécurité). L'outil @command{guix lint} aide à trouver les versions vulnérables des paquets logiciels dans la distribution :" #. type: smallexample #: doc/guix.texi:25541 -- cgit v1.2.3 From aa0f683462fd66630c0731f09275e14c9dfe0118 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 1 Sep 2019 00:11:17 +0200 Subject: gnu: cedille: Adjust import list. This is a followup to dddbc90c648a569ed3f6dcf8678cb94e63a8302f. * gnu/packages/cedille.scm: Use (gnu packages haskell-xyz). --- gnu/packages/cedille.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/packages/cedille.scm b/gnu/packages/cedille.scm index 36fa3ae17e..caa3d864f8 100644 --- a/gnu/packages/cedille.scm +++ b/gnu/packages/cedille.scm @@ -21,6 +21,7 @@ #:use-module (gnu packages agda) #:use-module (gnu packages emacs-xyz) #:use-module (gnu packages haskell) + #:use-module (gnu packages haskell-xyz) #:use-module (guix build-system emacs) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) -- cgit v1.2.3 From f91c843449b9b91290dae43632aa78c6f5ec02ce Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sun, 1 Sep 2019 00:31:20 +0900 Subject: doc: Update the default list of files rotated by rottlog. * doc/guix.texi (Log Rotation): Add "/var/log/debug" and "/var/log/maillog" to the default value of %rotated-files. --- doc/guix.texi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/guix.texi b/doc/guix.texi index 54c7ea739e..d46dbc8394 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -12626,7 +12626,8 @@ a couple of other files. @defvr {Scheme Variable} %rotated-files The list of syslog-controlled files to be rotated. By default it is: -@code{'("/var/log/messages" "/var/log/secure")}. +@code{'("/var/log/messages" "/var/log/secure" "/var/log/debug" \ +"/var/log/maillog")}. @end defvr @node Networking Services -- cgit v1.2.3 From 1719f4f1e3aba3af60b5f7e63b8db529ef777af5 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sun, 1 Sep 2019 06:05:43 +0900 Subject: doc: Specify the files rotated by default by the rottlog service. * doc/guix.texi (Log Rotation): Replace "a couple of other files" by "/var/log/guix-daemon.log". --- doc/guix.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index d46dbc8394..031ee53295 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -12620,8 +12620,8 @@ Either @code{#f} or a gexp to execute once the rotation has completed. @end deftp @defvr {Scheme Variable} %default-rotations -Specifies weekly rotation of @var{%rotated-files} and -a couple of other files. +Specifies weekly rotation of @var{%rotated-files} and of +@file{/var/log/guix-daemon.log}. @end defvr @defvr {Scheme Variable} %rotated-files -- cgit v1.2.3 From 5db9d10dfd27a76475287126fe8a1b741489df4e Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Sun, 1 Sep 2019 12:15:54 +0300 Subject: gnu: emacs-gif-screencast: Fix gifsicle substitution. * gnu/packages/emacs-xyz.scm (emacs-gif-screencast)[arguments]: In the 'configure' phase, fix the gifsicle substitution. --- gnu/packages/emacs-xyz.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 6af5d43c27..4bfc09d0aa 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -13965,7 +13965,7 @@ try completing. See @code{fish-completion-fallback-on-bash-p}.") ("gif-screencast-cropping-program" (string-append imagemagick "/bin/mogrify")) ("gif-screencast-optimize-program" - (string-append imagemagick "/bin/gifsicle"))))))))) + (string-append gifsicle "/bin/gifsicle"))))))))) (home-page "https://gitlab.com/Ambrevar/emacs-gif-screencast") (synopsis "One-frame-per-action GIF recording") -- cgit v1.2.3 From 8cb2f0ff2bce0cef922871d21b25779626c2eabf Mon Sep 17 00:00:00 2001 From: Rutger Helling Date: Sun, 1 Sep 2019 15:04:03 +0200 Subject: gnu: retroarch: Update hash. * gnu/packages/emulators.scm (retroarch): Update hash (due to bugfix release). --- gnu/packages/emulators.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index 930878dc58..3b2b5430fd 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm @@ -1059,7 +1059,7 @@ emulation community. It provides highly accurate emulation.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0xxd9nhqiclpkdd9crymvba37fl0xs5mikwhya68nfzcgar7w480")))) + (base32 "0jwy5winrm87s6xa645fwa47x242r25m6i3rwf10x59448bd19r6")))) (build-system gnu-build-system) (arguments `(#:tests? #f ; no tests -- cgit v1.2.3 From 08e46d8d05d2d54c18f3879b1be75c5a122b98b8 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 1 Sep 2019 02:58:24 +0200 Subject: gnu: hplip: Update to 3.19.8. * gnu/packages/cups.scm (hplip): Update to 3.19.8. [arguments]: Remove type mismatch fix. --- gnu/packages/cups.scm | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm index 4ce13ae8f8..4be1eee156 100644 --- a/gnu/packages/cups.scm +++ b/gnu/packages/cups.scm @@ -5,7 +5,7 @@ ;;; Copyright © 2016 Danny Milosavljevic ;;; Copyright © 2017 Leo Famulari ;;; Copyright © 2017 Mark H Weaver -;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice +;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. ;;; @@ -419,14 +419,14 @@ should only be used as part of the Guix cups-pk-helper service.") (define-public hplip (package (name "hplip") - (version "3.18.9") + (version "3.19.8") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/hplip/hplip/" version "/hplip-" version ".tar.gz")) (sha256 (base32 - "0g3q5mm2crjyc1z4z6gv4lam6sc5d3diz704djrnpqadk4q3h290")) + "0cmshi5dkmc1n5yiahhp0cv5p94zg61018piiqa2sna10ahgx1d3")) (modules '((guix build utils))) (patches (search-patches "hplip-remove-imageprocessor.patch")) (snippet @@ -439,10 +439,6 @@ should only be used as part of the Guix cups-pk-helper service.") (elf-file? file)))) (delete-file "prnt/hpcups/ImageProcessor.h") - ;; Fix type mismatch. - (substitute* "prnt/hpcups/genPCLm.cpp" - (("boolean") "bool")) - ;; Install binaries under libexec/hplip instead of ;; share/hplip; that'll at least ensure they get stripped. ;; It's not even clear that they're of any use though... -- cgit v1.2.3 From 5706fd79338d63d26333b2bd195a16eb2714cd70 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 1 Sep 2019 15:37:28 +0200 Subject: gnu: i3-wm: Update to 4.17.1. * gnu/packages/wm.scm (i3-wm): Update to 4.17.1. --- gnu/packages/wm.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index c7d633455e..c62ccf4990 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -173,14 +173,14 @@ commands would.") (define-public i3-wm (package (name "i3-wm") - (version "4.17") + (version "4.17.1") (source (origin (method url-fetch) (uri (string-append "https://i3wm.org/downloads/i3-" version ".tar.bz2")) (sha256 (base32 - "1z8qmkkq9dhqmqy8sjw3rnpnmnb8v7lr456bs0qzp23bgpj17gjf")))) + "0iazv2i2rgmakzh95pgj6iapyzn7bdpcbcd35a79mhlml4ry33qy")))) (build-system gnu-build-system) (arguments `(#:configure-flags -- cgit v1.2.3 From 853232e60aedc62c6b62fd140781a361ce122a53 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 1 Sep 2019 17:10:53 +0200 Subject: gnu: vhba-module: Update to 20190831. * gnu/packages/linux.scm (vhba-module): Update to 20190831. --- gnu/packages/linux.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index e445b743f2..7794debaab 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -892,7 +892,7 @@ and should be used with caution, especially on untested models.") (define-public vhba-module (package (name "vhba-module") - (version "20190410") + (version "20190831") (source (origin (method url-fetch) (uri (string-append @@ -900,7 +900,7 @@ and should be used with caution, especially on untested models.") version ".tar.bz2")) (sha256 (base32 - "1513hq130raxp9z5grj54cwfjfxj05apipxg425j0zicii59a60c")))) + "1ybbk6l06n0y11n5wnfmvdz0baizmq55l458ywimghdyz0n7g0ws")))) (build-system linux-module-build-system) (arguments ;; TODO: No tests? -- cgit v1.2.3 From 0000b6dc742560b2fc192315bdf38132d7252644 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 1 Sep 2019 18:23:23 +0200 Subject: gnu: libmirage: Update to 3.2.3. * gnu/packages/cdrom.scm (libmirage): Update to 3.2.3. --- gnu/packages/cdrom.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm index 8d9778176f..5b2260f281 100644 --- a/gnu/packages/cdrom.scm +++ b/gnu/packages/cdrom.scm @@ -884,7 +884,7 @@ CD data, and more. It's mostly compatible with @code{cdrtools}.") (define-public libmirage (package (name "libmirage") - (version "3.2.2") + (version "3.2.3") (source (origin (method url-fetch) (uri (string-append @@ -892,7 +892,7 @@ CD data, and more. It's mostly compatible with @code{cdrtools}.") version ".tar.bz2")) (sha256 (base32 - "0gwrfia0fyhi0b3p2pfyyvrcfcb0qysfzgpdqsqjqbx4xaqx5wpi")))) + "08mfvqyk3833ksfd47i4j3ppmrw5ry219km6h7lywdh9hm9x14yf")))) (build-system cmake-build-system) (native-inputs `(("pkg-config" ,pkg-config) -- cgit v1.2.3 From 8232f053573180ef82aa4f0ce8a585a959864481 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 1 Sep 2019 18:23:31 +0200 Subject: gnu: cdemu-daemon: Update to 3.2.3. * gnu/packages/cdrom.scm (cdemu-daemon): Update to 3.2.3. --- gnu/packages/cdrom.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm index 5b2260f281..cbebf25ea3 100644 --- a/gnu/packages/cdrom.scm +++ b/gnu/packages/cdrom.scm @@ -913,7 +913,7 @@ the data stored in various image formats.") (define-public cdemu-daemon (package (name "cdemu-daemon") - (version "3.2.2") + (version "3.2.3") (source (origin (method url-fetch) (uri (string-append @@ -921,7 +921,7 @@ the data stored in various image formats.") version ".tar.bz2")) (sha256 (base32 - "0himyrhhfjsr4ff5aci7240bpm9x34h20pid412ci8fm16nk929b")))) + "022xzgwmncswb9md71w3ly3mjkdfc93lbij2llp2jamq8grxjjxr")))) (build-system cmake-build-system) (native-inputs `(("pkg-config" ,pkg-config) -- cgit v1.2.3 From 5042f33e3bf226fd06159953f8fdfb27b95c5ee0 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 1 Sep 2019 18:23:36 +0200 Subject: gnu: cdemu-client: Update to 3.2.3. * gnu/packages/cdrom.scm (cdemu-client): Update to 3.2.3. --- gnu/packages/cdrom.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm index cbebf25ea3..1f2c694246 100644 --- a/gnu/packages/cdrom.scm +++ b/gnu/packages/cdrom.scm @@ -942,7 +942,7 @@ drive and disc (including CD-ROMs and DVD-ROMs).") (define-public cdemu-client (package (name "cdemu-client") - (version "3.2.1") + (version "3.2.3") (source (origin (method url-fetch) (uri (string-append @@ -950,7 +950,7 @@ drive and disc (including CD-ROMs and DVD-ROMs).") version ".tar.bz2")) (sha256 (base32 - "1d8m24qvv62xcwafw5zs4yf39vs64kxl4idqcngd8yyjhrb2ykg5")))) + "1bvc2m63fx03rbp3ihgl2n7k24lwg5ydwkmr84gsjfcxp46q10zq")))) (build-system cmake-build-system) (native-inputs `(("pkg-config" ,pkg-config) -- cgit v1.2.3 From 5f39050b1eb74d371bd1ddabeb40d4339cc35158 Mon Sep 17 00:00:00 2001 From: L p R n d n Date: Mon, 2 Sep 2019 15:15:31 +0200 Subject: gnu: libxklavier: Update to 5.4. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/gnome.scm (libxklavier): Update to 5.4. [source] Switch to git source. [arguments] Add no-configure phase. Disable xmodmap in #:configure-flags. [inputs] Add which, intltool, gtk-doc, which, automake, autoconf and libtool. Signed-off-by: Ludovic Courtès --- gnu/packages/gnome.scm | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index a30fc8460c..efe5206e53 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -2537,24 +2537,40 @@ and objects.") (define-public libxklavier (package (name "libxklavier") - (version "5.3") + (version "5.4") (source (origin - (method url-fetch) - (uri (string-append "mirror://gnome/sources/" name "/" - version "/" name "-" version ".tar.xz")) + ;; Note: There's no tarball at ftp.gnome.org for this version. + (method git-fetch) + (uri (git-reference + (url "https://anongit.freedesktop.org/git/libxklavier") + (commit (string-append "libxklavier-" version)))) (sha256 (base32 - "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b")))) + "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a")) + (file-name (git-file-name name version)))) (build-system gnu-build-system) (arguments - '(#:configure-flags + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'no-configure + (lambda* _ + (setenv "NOCONFIGURE" "1") + #t))) + #:configure-flags (list (string-append "--with-xkb-base=" (assoc-ref %build-inputs "xkeyboard-config") - "/share/X11/xkb")))) + "/share/X11/xkb") + "--disable-xmodmap-support"))) (native-inputs `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc. ("gobject-introspection" ,gobject-introspection) - ("pkg-config" ,pkg-config))) + ("pkg-config" ,pkg-config) + ("gtk-doc" ,gtk-doc) + ("intltool" ,intltool) + ("which" ,which) + ("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool))) (propagated-inputs ;; Required by libxklavier.pc. `(("glib" ,glib) -- cgit v1.2.3 From 37c08f42f7551203e98384c13ecfd33b57df40e6 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Sun, 1 Sep 2019 10:48:19 +0200 Subject: gnu: txr: Update to 224. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/lisp.scm (txr): Update to 224. [source]: Use git-fetch instead of fetching a cgit snapshot. Signed-off-by: Ludovic Courtès --- gnu/packages/lisp.scm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 34edea41de..ab1c84262e 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -5337,17 +5337,18 @@ port within a range.") (define-public txr (package (name "txr") - (version "223") + (version "224") (source (origin - (method url-fetch) - (uri (string-append "http://www.kylheku.com/cgit/txr/snapshot/txr-" - version - ".tar.bz2")) + (method git-fetch) + (uri (git-reference + (url "http://www.kylheku.com/git/txr/") + (commit (string-append "txr-" version)))) + (file-name (git-file-name name version)) (patches (search-patches "txr-shell.patch")) (sha256 (base32 - "0109q8idqggba3kx58dpm5ccfpdrki68npkcxm18p5ga24611fcv")))) + "1036k71f6mffy9rjwzmhr5nnp1n0wzb0rqvilpzvb8jc5yxv0810")))) (build-system gnu-build-system) (arguments '(#:configure-flags '("cc=gcc") -- cgit v1.2.3 From 97ce5964fb5d52cf2151fea685e28fa23a98b264 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Sun, 1 Sep 2019 11:22:52 +0200 Subject: gnu: ironclad: Update to 0.46. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/lisp.scm (sbcl-ironclad): Update to 0.46. [source]: Fix file-name. [inputs]: Add bordeaux-threads dependency. Signed-off-by: Ludovic Courtès --- gnu/packages/lisp.scm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index ab1c84262e..72587f2925 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -2175,7 +2175,7 @@ also be supported.") (define-public sbcl-ironclad (package (name "sbcl-ironclad") - (version "0.42") + (version "0.46") (source (origin (method git-fetch) @@ -2184,14 +2184,15 @@ also be supported.") (commit (string-append "v" version)))) (sha256 (base32 - "1wjcb9vpybxjrmch7f7s78a5abxmnknbd4fl49dl5lz8a3fc8vf0")) - (file-name (string-append "ironblad" version "-checkout")))) + "1s391awi2lsl7m1dbjirgpkm4p9p8wd076pakgvsvpn1rrznisnd")) + (file-name (git-file-name name version)))) (build-system asdf-build-system/sbcl) (native-inputs ;; Tests only. `(("rt" ,sbcl-rt))) (inputs - `(("flexi-streams" ,sbcl-flexi-streams) + `(("bordeaux-threads" ,sbcl-bordeaux-threads) + ("flexi-streams" ,sbcl-flexi-streams) ("nibbles" ,sbcl-nibbles))) (synopsis "Cryptographic toolkit written in Common Lisp") (description -- cgit v1.2.3 From 8549e0ca6fd68a57253471436de49b88b2d47e64 Mon Sep 17 00:00:00 2001 From: L p R n d n Date: Sun, 18 Aug 2019 21:24:37 +0200 Subject: gnu: Update Xfce base to 4.14.0. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/xfce.scm (libxfce4util): Update to 4.14.0. * gnu/packages/xfce.scm (xfconf): Update to 4.14.1. [native-inputs] Add glib:bin. [propagated-inputs] Remove dbus and dbus-glib. * gnu/packages/xfce.scm (libxfce4ui): Update to 4.14.1. * gnu/packages/xfce.scm (exo): Update to 0.12.8. [propagated-inputs] Add gtk+-3. Remove gtk+-2. [inputs] Add gtk+-2. * gnu/packages/xfce.scm (garcon): Update to 0.6.4. [inputs] Rename gtk+ to gtk+-2. [propagated-inputs] Add gtk+-3. * gnu/packages/xfce.scm (tumbler): Update to 0.2.7. * gnu/packages/xfce.scm (xfce4-appfinder): Update to 4.14.0. [inputs] Updte gtk+ from gtk+-2 to gtk+. * gnu/packages/xfce.scm (xcfe4-panel): Update to 4.14.0 [arguments] Remove #:configure-flags [native-inputs] Add glib:bin. [inputs] Add gtk+-2, libwnck and xfconf. Remove libwnck-2. [propagated-inputs] Add gtk+-3. * gnu/packages/xfce.scm (xfce4-session): Update to 4.14.0. [inputs] Add libwnck. Remove libwnck-2. [source] Remove patch. * gnu/packages/patches/xfce4-session-fix-xfclock4.patch: Delete file. * gnu/packages/xfce.scm (xfce4-settings): Update to 4.14.0. [arguments] Add #:configure flags. * gnu/packages/xfce.scm (xfwm4): Update to 4.14.0. [inputs] Add libwnck. Remove libwnck-2. * gnu/packages/xfce.scm (xfdesktop): Update to 4.14.1. [inputs] Add libwnck. Remove libwnck-2. * gnu/packages/xfce.scm (xfce4-power-manager): Update to 4.6.5. [inputs] Add gtk+. Remove gtk+-2. Signed-off-by: Ludovic Courtès --- gnu/local.mk | 1 - .../patches/xfce4-session-fix-xflock4.patch | 31 ------ gnu/packages/xfce.scm | 107 +++++++++++---------- 3 files changed, 56 insertions(+), 83 deletions(-) delete mode 100644 gnu/packages/patches/xfce4-session-fix-xflock4.patch diff --git a/gnu/local.mk b/gnu/local.mk index 2c02b8510a..dbae857c38 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1420,7 +1420,6 @@ dist_patch_DATA = \ %D%/packages/patches/xf86-video-tga-remove-mibstore.patch \ %D%/packages/patches/xf86-video-voodoo-pcitag.patch \ %D%/packages/patches/xfce4-panel-plugins.patch \ - %D%/packages/patches/xfce4-session-fix-xflock4.patch \ %D%/packages/patches/xfce4-settings-defaults.patch \ %D%/packages/patches/xinetd-fix-fd-leak.patch \ %D%/packages/patches/xinetd-CVE-2013-4342.patch \ diff --git a/gnu/packages/patches/xfce4-session-fix-xflock4.patch b/gnu/packages/patches/xfce4-session-fix-xflock4.patch deleted file mode 100644 index 74769e4257..0000000000 --- a/gnu/packages/patches/xfce4-session-fix-xflock4.patch +++ /dev/null @@ -1,31 +0,0 @@ -From cbb9c769316b4d32956a2c78aa01a38b473f0cfc Mon Sep 17 00:00:00 2001 -From: David Thompson -Date: Fri, 30 Oct 2015 08:30:43 -0400 -Subject: [PATCH] xflock4: Do not override PATH with hardcoded value. - -The PATH "/bin:/usr/bin" may not be a valid search path on the user's -machine. The screen locking program may be in /usr/local/bin or -elsewhere. Distros that do not conform to the FHS, such as GuixSD and -NixOS, will not have their executables in either location. Thus, we -simply leave PATH alone. ---- - scripts/xflock4 | 3 --- - 1 file changed, 3 deletions(-) - -diff --git a/scripts/xflock4 b/scripts/xflock4 -index ec4d05d..e7981ac 100644 ---- a/scripts/xflock4 -+++ b/scripts/xflock4 -@@ -21,9 +21,6 @@ - # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - # - --PATH=/bin:/usr/bin --export PATH -- - # Lock by xscreensaver or gnome-screensaver, if a respective daemon is running - for lock_cmd in \ - "xscreensaver-command -lock" \ --- -2.5.0 - diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm index 93c36dac1e..60f1586f06 100644 --- a/gnu/packages/xfce.scm +++ b/gnu/packages/xfce.scm @@ -54,6 +54,7 @@ #:use-module (gnu packages pdf) #:use-module (gnu packages polkit) #:use-module (gnu packages gstreamer) + #:use-module (gnu packages libcanberra) #:use-module (gnu packages linux) #:use-module (gnu packages photo) #:use-module (gnu packages pcre) @@ -86,7 +87,7 @@ (define-public libxfce4util (package (name "libxfce4util") - (version "4.12.1") + (version "4.14.0") (source (origin (method url-fetch) (uri (string-append "http://archive.xfce.org/xfce/" @@ -94,7 +95,7 @@ "/src/" name "-" version ".tar.bz2")) (sha256 (base32 - "07c8r3xwx5is298zk77m3r784gmr5y4mh8bbca5zdjqk5vxdwsw7")))) + "093338faqqsrlc8dkmzr7qv411ysxczg1wlg7s3gvhrfk6vpkb9j")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config) @@ -110,7 +111,7 @@ Xfce Desktop Environment.") (define-public xfconf (package (name "xfconf") - (version "4.12.1") + (version "4.14.1") (source (origin (method url-fetch) (uri (string-append "https://archive.xfce.org/src/xfce/" @@ -118,7 +119,7 @@ Xfce Desktop Environment.") name "-" version ".tar.bz2")) (sha256 (base32 - "0dns190bwb615wy9ma2654sw4vz1d0rcv061zmaalkv9wmj8bx1m")))) + "0n8d55c98ff7wgwv3qa4g369sv4iasgm1w62zq10kq5f56iy14xq")))) (build-system gnu-build-system) (arguments '(#:phases @@ -136,12 +137,12 @@ Xfce Desktop Environment.") (delete 'check)))) (native-inputs `(("pkg-config" ,pkg-config) - ("intltool" ,intltool))) + ("intltool" ,intltool) + ("glib:bin" ,glib "bin") ;; for gdbus-codegen + )) (propagated-inputs ;; libxfconf-0.pc refers to all these. - `(("glib" ,glib) - ("dbus" ,dbus) - ("dbus-glib" ,dbus-glib))) + `(("glib" ,glib))) (inputs `(("libxfce4util" ,libxfce4util))) (home-page "https://www.xfce.org/") @@ -154,7 +155,7 @@ storage system.") (define-public libxfce4ui (package (name "libxfce4ui") - (version "4.12.1") + (version "4.14.1") (source (origin (method url-fetch) (uri (string-append "https://archive.xfce.org/src/xfce/" @@ -162,7 +163,7 @@ storage system.") name "-" version ".tar.bz2")) (sha256 (base32 - "0hzzhiiwmqsrbv17nninhs2x1b8ck0ym85jck2xphx5ypw8rhq9x")))) + "1npjhznmnckhnylsv3l7p1zvhckhmp9d7vifs8w12kdfmrg0fjf4")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config) @@ -188,7 +189,7 @@ to share commonly used Xfce widgets among the Xfce applications.") (define-public exo (package (name "exo") - (version "0.12.6") + (version "0.12.8") (source (origin (method url-fetch) (uri (string-append "https://archive.xfce.org/src/xfce/" @@ -196,17 +197,19 @@ to share commonly used Xfce widgets among the Xfce applications.") "exo-" version ".tar.bz2")) (sha256 (base32 - "00qh8ihrf09jvd26kilybihkgvv6rvi0l1bvlldxc99jb7ygy5ql")))) + "1ppwi6n40aphh0dqsnfrk234zsp7pl4lkjnspqjxw7m49bka401l")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config) ("intltool" ,intltool))) (propagated-inputs - ;; exo-1.pc refers to all these. - `(("gtk+" ,gtk+-2) + ;; exo-2.pc refers to all these. + `(("gtk+-3" ,gtk+) ("libxfce4util" ,libxfce4util))) (inputs - `(("libxfce4ui" ,libxfce4ui) + `(;; FIXME Refered to in exo-1.pc but conflict with gtk+-3 + ("gtk+-2" ,gtk+-2) + ("libxfce4ui" ,libxfce4ui) ("perl-uri" ,perl-uri))) (home-page "https://www.xfce.org/") (synopsis "Extension library for Xfce") @@ -220,7 +223,7 @@ development.") (define-public garcon (package (name "garcon") - (version "0.6.3") + (version "0.6.4") (source (origin (method url-fetch) (uri (string-append "https://archive.xfce.org/src/xfce/" @@ -228,16 +231,17 @@ development.") "garcon-" version ".tar.bz2")) (sha256 (base32 - "00c4g4gmbr8710k0yv1zybnm9s2gkc1rj63zfrg9qgin66jzxcbn")))) + "0bbngb4bn1m325j7y40gky36kn2nlsvqs6xp0wy76x3s0d9lfpnp")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config) ("intltool" ,intltool) ("glib:bin" ,glib "bin"))) (inputs - `(("gtk+" ,gtk+-2))) + `(("gtk+-2" ,gtk+-2))); required by garcon-gtk2-1.pc (propagated-inputs - `(("libxfce4ui" ,libxfce4ui))) ; required by garcon-gtk2-1.pc + `(("gtk+-3" ,gtk+) ; required by garcon-gtk3-1.pc + ("libxfce4ui" ,libxfce4ui))) ; required by garcon-gtk3-1.pc (home-page "https://www.xfce.org/") (synopsis "Implementation of the freedesktop.org menu specification") (description @@ -250,7 +254,7 @@ merging features essential for loading menus modified with menu editors.") (define-public tumbler (package (name "tumbler") - (version "0.2.5") + (version "0.2.7") (source (origin (method url-fetch) (uri (string-append "https://archive.xfce.org/src/xfce/" @@ -258,7 +262,7 @@ merging features essential for loading menus modified with menu editors.") "tumbler-" version ".tar.bz2")) (sha256 (base32 - "0nfld1lvrdpsjfvm08y5487km45pm1mdr928hgqm8j0shrx6jiv4")))) + "1r0l0ghcrj71ax7yil1m4p7yjrfqm3icx0s8r7ivwv3i2rgw617p")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config) @@ -286,7 +290,7 @@ management D-Bus specification.") (define-public xfce4-panel (package (name "xfce4-panel") - (version "4.12.2") + (version "4.14.0") (source (origin (method url-fetch) (uri (string-append "https://archive.xfce.org/src/xfce/" @@ -294,20 +298,22 @@ management D-Bus specification.") name "-" version ".tar.bz2")) (sha256 (base32 - "1s8cvsrgmkmmm84g6mghpj2k4777gm22g5lrsf8pdy5qh6xql1a2")) + "1x3flv86jh9vqah7mr5mmfx2991mc6icsqjygsc3j88lgsyz7y6m")) (patches (search-patches "xfce4-panel-plugins.patch")))) (build-system gnu-build-system) - (arguments - '(#:configure-flags '("--enable-gtk3"))) (native-inputs `(("pkg-config" ,pkg-config) - ("intltool" ,intltool))) + ("intltool" ,intltool) + ("glib:bin" ,glib "bin"))) (propagated-inputs - `(("libxfce4util" ,libxfce4util))) ; required by libxfce4panel-1.0.pc + `(("gtk+-3" ,gtk+) ; required by libxfce4panel-2.0.pc + ("libxfce4util" ,libxfce4util))) ; required by libxfce4panel-2.0.pc (inputs `(("exo" ,exo) + ("gtk+-2" ,gtk+-2) + ("xfconf" ,xfconf) ("garcon" ,garcon) - ("libwnck" ,libwnck-2) + ("libwnck" ,libwnck) ("libxfce4ui" ,libxfce4ui))) (native-search-paths (list (search-path-specification @@ -486,7 +492,7 @@ per window.") (define-public xfce4-appfinder (package (name "xfce4-appfinder") - (version "4.12.0") + (version "4.14.0") (source (origin (method url-fetch) (uri (string-append "http://archive.xfce.org/xfce/" @@ -494,14 +500,14 @@ per window.") "/src/" name "-" version ".tar.bz2")) (sha256 (base32 - "0ry5hin8xhgnkmm9vs7jq8blk1cnbyr0s18nm1j6nsm7360abm1a")))) + "162dibl6ipp72x0s35yhk7kkzxd4qimagg5zdkkv5kjgjpa7bhby")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config) ("intltool" ,intltool))) (inputs `(("garcon" ,garcon) - ("gtk+" ,gtk+-2) + ("gtk+" ,gtk+) ("libxfce4ui" ,libxfce4ui))) (home-page "https://www.xfce.org/") (synopsis "Xfce application finder") @@ -513,7 +519,7 @@ your system in categories, so you can quickly find and launch them.") (define-public xfce4-session (package (name "xfce4-session") - (version "4.12.1") + (version "4.14.0") (source (origin (method url-fetch) (uri (string-append "https://archive.xfce.org/src/xfce/" @@ -521,10 +527,7 @@ your system in categories, so you can quickly find and launch them.") name "-" version ".tar.bz2")) (sha256 (base32 - "1z88klls3j161n5snpamz4l3p4823q4h87wdnqikczxgs2ig5mwp")) - (patches - ;; See: https://bugzilla.xfce.org/show_bug.cgi?id=12282 - (search-patches "xfce4-session-fix-xflock4.patch")) + "0gq4a8yiw58hb4d5dhvprxvzamqfg8qblmiqcw0b97mn9svnvyql")) (modules '((guix build utils))) (snippet '(begin @@ -549,7 +552,7 @@ your system in categories, so you can quickly find and launch them.") ("upower" ,upower) ("polkit" ,polkit) ("libsm" ,libsm) - ("libwnck" ,libwnck-2) + ("libwnck" ,libwnck) ("libxfce4ui" ,libxfce4ui))) (home-page "https://www.xfce.org/") (synopsis "Xfce session manager") @@ -561,7 +564,7 @@ allows you to shutdown the computer from Xfce.") (define-public xfce4-settings (package (name "xfce4-settings") - (version "4.12.4") + (version "4.14.0") (source (origin (method url-fetch) (uri (string-append "http://archive.xfce.org/src/xfce/" @@ -569,9 +572,13 @@ allows you to shutdown the computer from Xfce.") name "-" version ".tar.bz2")) (sha256 (base32 - "16vgidhhc19dz0p0i6fp5iiwxd53ky143j6h14a9b7mz92nlr872")) + "0g0ipkg2fyg8r1z95ynx0xjr78bp49c2dwh4mli05nmb4gb40c70")) (patches (search-patches "xfce4-settings-defaults.patch")))) (build-system gnu-build-system) + (arguments + `(#:configure-flags '("--enable-pluggable-dialogs" + "--enable-sound-settings" + "--enable-xrandr"))) (native-inputs `(("pkg-config" ,pkg-config) ("intltool" ,intltool))) @@ -659,7 +666,7 @@ and import the new pictures from your camera.") (define-public xfwm4 (package (name "xfwm4") - (version "4.12.5") + (version "4.14.0") (source (origin (method url-fetch) (uri (string-append "https://archive.xfce.org/src/xfce/" @@ -667,14 +674,14 @@ and import the new pictures from your camera.") name "-" version ".tar.bz2")) (sha256 (base32 - "1jnav0wcqlswl2v7nh61big9czg5hmnyvrvm6812sv362qic0xbp")))) + "05dn4a1i0nm6wm3nyj7qli5bvfalxghcl7x543qr5l33vkw2n65l")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config) ("intltool" ,intltool))) (inputs `(("libdrm" ,libdrm) - ("libwnck" ,libwnck-2) + ("libwnck" ,libwnck) ("libxcomposite" ,libxcomposite) ("libxdamage" ,libxdamage) ("libxfce4ui" ,libxfce4ui) @@ -689,7 +696,7 @@ on the screen.") (define-public xfdesktop (package (name "xfdesktop") - (version "4.12.4") + (version "4.14.1") (source (origin (method url-fetch) (uri (string-append "https://archive.xfce.org/src/xfce/" @@ -697,7 +704,7 @@ on the screen.") name "-" version ".tar.bz2")) (sha256 (base32 - "1jzi851arljq5lza9inyq4ss513l62lbzbfm64a7x4320m8kb2h9")) + "10pqxgpj7b57wpcsh2k98sj4aavcgxbs1lc8qsq4mibf4hba01gp")) (modules '((guix build utils))) (snippet #~(begin @@ -735,7 +742,7 @@ on the screen.") `(("exo" ,exo) ("garcon" ,garcon) ("libnotify" ,libnotify) - ("libwnck" ,libwnck-2) + ("libwnck" ,libwnck) ("libxfce4ui" ,libxfce4ui) ("thunar" ,thunar))) (home-page "https://www.xfce.org/") @@ -831,7 +838,7 @@ system resources, while still being visually appealing and user friendly.") (define-public xfce4-power-manager (package (name "xfce4-power-manager") - (version "1.6.1") + (version "1.6.5") (source (origin (method url-fetch) (uri (string-append "https://archive.xfce.org/src/xfce/" @@ -839,16 +846,14 @@ system resources, while still being visually appealing and user friendly.") name "-" version ".tar.bz2")) (sha256 (base32 - "0sv5927q8jxvdfx7b06f8s7qyq3qa1nqn0b8c1b9bf234d2jba0y")))) + "0x3s2bdwfhp65dz5yn3k43j99ywqlsvrpz3pqmgwm0dik5wbdb8h")))) (build-system gnu-build-system) - (arguments - '(#:configure-flags '("--enable-gtk3"))) (native-inputs `(("pkg-config" ,pkg-config) ("intltool" ,intltool))) (inputs - `(("lbxrandr" ,libxrandr) - ("gtk+" ,gtk+-2) + `(("libxrandr" ,libxrandr) + ("gtk+" ,gtk+) ("upower" ,upower) ("libnotify" ,libnotify) ("libxfce4ui" ,libxfce4ui))) -- cgit v1.2.3 From 998754ef49c483f82edf64b09b268d008fef044e Mon Sep 17 00:00:00 2001 From: L p R n d n Date: Mon, 19 Aug 2019 14:41:22 +0200 Subject: gnu: xfce4-terminal: Update to 0.8.8. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/xfce.scm (xfce4-terminal): Update to 0.8.8. Signed-off-by: Ludovic Courtès --- gnu/packages/xfce.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm index 60f1586f06..fcbdbe26c9 100644 --- a/gnu/packages/xfce.scm +++ b/gnu/packages/xfce.scm @@ -756,7 +756,7 @@ devices and folders.") (define-public xfce4-terminal (package (name "xfce4-terminal") - (version "0.8.7.4") + (version "0.8.8") (source (origin (method url-fetch) (uri (string-append "https://archive.xfce.org/src/apps/" name "/" @@ -764,7 +764,7 @@ devices and folders.") name "-" version ".tar.bz2")) (sha256 (base32 - "1as2dh5ccmv3hdvsbxm4b0xhmv2ky2q18zxxrzr988x79npri3x8")))) + "1zc7hkq77ajia099wxgh4wdvwifcg2zkcz5d2xsf1zm0sdh6mflg")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config) -- cgit v1.2.3 From 279608653b3c383b57e45ce39ccf2ddb6736b9d0 Mon Sep 17 00:00:00 2001 From: L p R n d n Date: Mon, 19 Aug 2019 14:45:47 +0200 Subject: gnu: xfce4-whiskermenu-plugin: Update to 2.3.3. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/xfce.scm (xfce4-whiskermenu-plugin): Update to 2.3.3. [inputs] Add gtk+. Remove gtk+-2. Signed-off-by: Ludovic Courtès --- gnu/packages/xfce.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm index fcbdbe26c9..91fec5f2f1 100644 --- a/gnu/packages/xfce.scm +++ b/gnu/packages/xfce.scm @@ -421,7 +421,7 @@ keys for controlling the audio volume.") (define-public xfce4-whiskermenu-plugin (package (name "xfce4-whiskermenu-plugin") - (version "2.3.1") + (version "2.3.3") (source (origin (method url-fetch) (uri (string-append "http://archive.xfce.org/src/panel-plugins/" @@ -429,7 +429,7 @@ keys for controlling the audio volume.") name "-" version ".tar.bz2")) (sha256 (base32 - "1cnas2x7xi53v6ylq44040narhzd828dc0ysz8yk3qn2mmvp5yr2")))) + "0j0qmk372130avq8n07lfqrcm2al7n07l8gc06bbr1g6q57wrip0")))) (build-system cmake-build-system) (native-inputs `(("pkg-config" ,pkg-config) @@ -438,7 +438,8 @@ keys for controlling the audio volume.") `(("xfce4-panel" ,xfce4-panel) ("garcon" ,garcon) ("exo" ,exo) - ("gtk+" ,gtk+-2))) + ("gtk+" ,gtk+) + ("libxfce4ui" ,libxfce4ui))) (arguments `(#:tests? #f)) ; no tests (home-page "https://goodies.xfce.org/projects/panel-plugins/xfce4-whiskermenu-plugin") -- cgit v1.2.3 From d4902f9a84e9495d1c603a5556787f0ec381b87f Mon Sep 17 00:00:00 2001 From: L p R n d n Date: Mon, 19 Aug 2019 14:50:46 +0200 Subject: gnu: xfce4-battery-plugin: Update to 1.1.3. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/xfce.scm (xfce4-battery-plugin): Update to 1.1.3. Switch from gtk+-2 to gtk+-3. [inputs] Add gtk+. Remove gtk+2. Signed-off-by: Ludovic Courtès --- gnu/packages/xfce.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm index 91fec5f2f1..cad3f7583b 100644 --- a/gnu/packages/xfce.scm +++ b/gnu/packages/xfce.scm @@ -330,7 +330,7 @@ applications menu, workspace switcher and more.") (define-public xfce4-battery-plugin (package (name "xfce4-battery-plugin") - (version "1.1.2") + (version "1.1.3") (source (origin (method url-fetch) (uri (string-append "https://archive.xfce.org/src/panel-plugins/" @@ -338,12 +338,12 @@ applications menu, workspace switcher and more.") name "-" version ".tar.bz2")) (sha256 (base32 - "1nypi0zazrcrbbm5vb221yw64zxrk56v4fffkblxlyd9m6gk80fn")))) + "18s0s004nidii8cc3ldp5n3jajc18vwn9vhkhmhy3lbbs520mghj")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config) ("intltool" ,intltool))) (inputs `(("glib" ,glib) - ("gtk+" ,gtk+-2) + ("gtk+" ,gtk+) ("libxfce4util" ,libxfce4util) ("libxfce4ui" ,libxfce4ui) ("xfce4-panel" ,xfce4-panel))) -- cgit v1.2.3 From 8c6cfdd766beb2b4cdbb2bb2ff209e33b5d76c19 Mon Sep 17 00:00:00 2001 From: L p R n d n Date: Mon, 19 Aug 2019 15:51:42 +0200 Subject: gnu: xfce4-pulseaudio-plugin: Update to 0.4.2. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/xfce.scm (xfce4-pulseaudio-plugin): Update to 0.4.2. [arguments] Add augment-cflags phase. [native-inputs] Add dbus and dbus-glib. Signed-off-by: Ludovic Courtès --- gnu/packages/xfce.scm | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm index cad3f7583b..1256578b1b 100644 --- a/gnu/packages/xfce.scm +++ b/gnu/packages/xfce.scm @@ -390,7 +390,7 @@ matching them against regular expressions.") (define-public xfce4-pulseaudio-plugin (package (name "xfce4-pulseaudio-plugin") - (version "0.4.1") + (version "0.4.2") (source (origin (method url-fetch) (uri (string-append "https://archive.xfce.org/src/panel-plugins/" @@ -398,11 +398,26 @@ matching them against regular expressions.") name "-" version ".tar.bz2")) (sha256 (base32 - "1w29y0a066y8as12xrkbfqcn7dpdsvx97idzw7028gmcvca87a3c")))) + "0851b0vs5xmy3cq899khcghmkqwvh9rnzwavi17msrsq4jyaxs2a")))) (build-system gnu-build-system) + (arguments + `(#:phases + ;; For dbus/dbus-glib.h in pulseaudio-config.h + (modify-phases %standard-phases + (add-after 'set-paths 'augment-cflags + (lambda* (#:key inputs #:allow-other-keys) + (setenv "C_INCLUDE_PATH" + (string-append (assoc-ref inputs "dbus-glib") + "/include/dbus-1.0" ":" + (assoc-ref inputs "dbus") + "/include/dbus-1.0" ":" + (getenv "C_INCLUDE_PATH"))) + #t))))) (native-inputs `(("intltool" ,intltool) - ("pkg-config" ,pkg-config))) + ("pkg-config" ,pkg-config) + ("dbus-glib" ,dbus-glib) + ("dbus" ,dbus))) (inputs `(("exo" ,exo) ("libnotify" ,libnotify) -- cgit v1.2.3 From 3802d759dac5afd00bb378a128051f55a8363c53 Mon Sep 17 00:00:00 2001 From: L p R n d n Date: Mon, 19 Aug 2019 16:37:58 +0200 Subject: gnu: xfce4-xkb-plugin: Update to 0.8.1. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/xfce.scm (xfce4-xkb-plugin): Update to 0.8.1. [inputs] Add libwnck. Remove libwnck-2. Signed-off-by: Ludovic Courtès --- gnu/packages/xfce.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm index 1256578b1b..dcdcc3089f 100644 --- a/gnu/packages/xfce.scm +++ b/gnu/packages/xfce.scm @@ -470,7 +470,7 @@ applications, and includes a search bar to search for applications.") (define-public xfce4-xkb-plugin (package (name "xfce4-xkb-plugin") - (version "0.7.1") + (version "0.8.1") (source (origin (method url-fetch) (uri (string-append "http://archive.xfce.org/src/panel-plugins/" @@ -478,7 +478,7 @@ applications, and includes a search bar to search for applications.") name "-" version ".tar.bz2")) (sha256 (base32 - "10g65j5ia389ahhn3b9hr52ghpp0817fk0m60rfrv4wrzqrjxzk1")))) + "18b7cnaf3zxm598p2i47vim3kbbi8w923ia1hwabdph1c89cz7n1")))) (build-system gnu-build-system) (native-inputs `(("intltool" ,intltool) @@ -486,7 +486,7 @@ applications, and includes a search bar to search for applications.") (inputs `(("garcon" ,garcon) ("librsvg" ,librsvg) - ("libwnck" ,libwnck-2) + ("libwnck" ,libwnck) ("libx11" ,libx11) ("libxfce4ui" ,libxfce4ui) ("libxklavier" ,libxklavier) -- cgit v1.2.3 From f47f9720cc4de9a4178a19949d321f45265cd862 Mon Sep 17 00:00:00 2001 From: L p R n d n Date: Mon, 19 Aug 2019 16:59:57 +0200 Subject: gnu: xfce4-notifyd: Update to 0.4.4. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/xfce.scm (xfce4-notifyd): Update to 0.4.4. Signed-off-by: Ludovic Courtès --- gnu/packages/xfce.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm index dcdcc3089f..3243ef2377 100644 --- a/gnu/packages/xfce.scm +++ b/gnu/packages/xfce.scm @@ -982,7 +982,7 @@ several different time zones.") (define-public xfce4-notifyd (package (name "xfce4-notifyd") - (version "0.4.3") + (version "0.4.4") (source (origin (method url-fetch) (uri (string-append "https://archive.xfce.org/src/apps/" @@ -990,7 +990,7 @@ several different time zones.") name "-" version ".tar.bz2")) (sha256 (base32 - "1h7avj149cafj9dabiza22y14i66vxgp5qj0wxx8i97w9h4dlg99")))) + "0m8vlbwdxiw9nmimaj5np9l5qm784gxpkdvc881k0hjcz6n72189")))) (build-system glib-or-gtk-build-system) (native-inputs `(("intltool" ,intltool) -- cgit v1.2.3 From 867df63f90a21a7585b35f44b95d49c0a6f07e7d Mon Sep 17 00:00:00 2001 From: L p R n d n Date: Mon, 19 Aug 2019 16:42:12 +0200 Subject: gnu: xfce4-taskmanager: Switch from libwnck-2 to libwnck. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/xfce.scm (xfce4-taskmanager)[inputs]: Switch from libwnck-2 to libwnck. Signed-off-by: Ludovic Courtès --- gnu/packages/xfce.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm index 3243ef2377..6d2155fc53 100644 --- a/gnu/packages/xfce.scm +++ b/gnu/packages/xfce.scm @@ -934,7 +934,7 @@ the desktop wallpaper.") `(("intltool" ,intltool) ("pkg-config" ,pkg-config))) (inputs - `(("libwnck" ,libwnck-2) + `(("libwnck" ,libwnck) ("libxmu" ,libxmu) ("gtk+" ,gtk+) ;; FIXME: Remove libxext and libxt when libxmu propagates them. -- cgit v1.2.3 From 83f9448eb1207e66d31ff42b4995115995a94eff Mon Sep 17 00:00:00 2001 From: John Soo Date: Fri, 16 Aug 2019 07:20:28 -0700 Subject: gnu: Add stylish-haskell. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/haskell-apps (stylish-haskell): new variable. Signed-off-by: Ludovic Courtès --- gnu/packages/haskell-apps.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm index 28502eb87f..77199af2cb 100644 --- a/gnu/packages/haskell-apps.scm +++ b/gnu/packages/haskell-apps.scm @@ -513,3 +513,38 @@ that cause a shell to behave strangely and counter-intuitively. advanced user's otherwise working script to fail under future circumstances. @end enumerate") (license license:gpl3+))) + +(define-public stylish-haskell + (package + (name "stylish-haskell") + (version "0.9.2.2") + (source + (origin + (method url-fetch) + (uri + (string-append + "mirror://hackage/package/stylish-haskell/" + "stylish-haskell-" version ".tar.gz")) + (sha256 + (base32 + "1zs624xqp6j8vrl6pfv18dm8vz8hvz25grri65ximxhcizgwhnax")))) + (build-system haskell-build-system) + (inputs + `(("ghc-aeson" ,ghc-aeson) + ("ghc-file-embed" ,ghc-file-embed) + ("ghc-haskell-src-exts" ,ghc-haskell-src-exts) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-syb" ,ghc-syb) + ("ghc-yaml" ,ghc-yaml) + ("ghc-strict" ,ghc-strict) + ("ghc-optparse-applicative" ,ghc-optparse-applicative) + ("ghc-hunit" ,ghc-hunit) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) + (home-page "https://github.com/jaspervdj/stylish-haskell") + (synopsis "Haskell code prettifier") + (description + "A simple Haskell code prettifier. The goal is not to format all of the +code in a file, just clean up import statements and a few other tedious +items. This tool tries to help where necessary without getting in the way.") + (license license:bsd-3))) -- cgit v1.2.3 From 8a71a01c216c936108dd9f5694ffda991d48c9ea Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 1 Sep 2019 22:05:49 +0200 Subject: gnu: yoshimi: Update to 1.6.0. * gnu/packages/music.scm (yoshimi): Update to 1.6.0. --- gnu/packages/music.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index d4aaecc1e2..07ec7c9d80 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -2099,7 +2099,7 @@ capabilities, custom envelopes, effects, etc.") (define-public yoshimi (package (name "yoshimi") - (version "1.5.10.2") + (version "1.6.0") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/yoshimi/" @@ -2107,7 +2107,7 @@ capabilities, custom envelopes, effects, etc.") "/yoshimi-" version ".tar.bz2")) (sha256 (base32 - "1rr99qkq80s8l2iv3x4ccxan07m15dvmd5s9b10386bfjbwbya01")))) + "0bcc5spnq73yp1fmm367d1mxcswqkmzs3cnpb4cxr513ir98sa50")))) (build-system cmake-build-system) (arguments `(#:tests? #f ; there are no tests -- cgit v1.2.3 From 6fd7e0cc6f4601f3add30e78cae007b909bd6b0c Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 1 Sep 2019 22:10:46 +0200 Subject: gnu: drumstick: Update to 1.1.3. * gnu/packages/music.scm (drumstick): Update to 1.1.3. --- gnu/packages/music.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 07ec7c9d80..53c37bea87 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -2007,14 +2007,14 @@ browser.") (define-public drumstick (package (name "drumstick") - (version "1.1.2") + (version "1.1.3") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/drumstick/" version "/drumstick-" version ".tar.bz2")) (sha256 (base32 - "0kljqyqj7s1i2z52i24x7ail1bywn6dcxxfbad5c59drm8wv94bp")))) + "1n9wvg79yvkygrkc8xd8pgrd3d7hqmr7gh24dccf0px23lla9b3m")))) (build-system cmake-build-system) (arguments `(#:tests? #f ; no test target -- cgit v1.2.3 From 14b9203d01f7ca35e13908e8cc45175205391795 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 1 Sep 2019 22:30:07 +0200 Subject: gnu: Add vmpk. * gnu/packages/music.scm (vmpk): New variable. --- gnu/packages/music.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 53c37bea87..a43bccf4f8 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -2050,6 +2050,52 @@ multiplatform realtime MIDI I/O library is also provided with various output backends, including ALSA, OSS, Network and FluidSynth.") (license license:gpl2+))) +(define-public vmpk + (package + (name "vmpk") + (version "0.7.2") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/vmpk/vmpk/" + version "/vmpk-" version ".tar.bz2")) + (sha256 + (base32 + "1i3hnvdgz46n4k5v0q4jhgh7nkh0s390ix4nqr69z0q3026yp0p6")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ; no test target + #:phases + (modify-phases %standard-phases + (add-before 'configure 'fix-docbook + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "cmake_admin/CreateManpages.cmake" + (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl") + (string-append (assoc-ref inputs "docbook-xsl") + "/xml/xsl/docbook-xsl-" + ,(package-version docbook-xsl) + "/manpages/docbook.xsl"))) + #t))))) + (inputs + `(("drumstick" ,drumstick) + ("qtbase" ,qtbase) + ("qtsvg" ,qtsvg) + ("qttools" ,qttools) + ("qtx11extras" ,qtx11extras))) + (native-inputs + `(("libxslt" ,libxslt) ;for xsltproc + ("docbook-xsl" ,docbook-xsl) + ("pkg-config" ,pkg-config))) + (home-page "http://vmpk.sourceforge.net") + (synopsis "Virtual MIDI piano keyboard") + (description + "Virtual MIDI Piano Keyboard is a MIDI events generator and receiver. It +doesn't produce any sound by itself, but can be used to drive a MIDI +synthesizer (either hardware or software, internal or external). You can use +the computer's keyboard to play MIDI notes, and also the mouse. You can use +the Virtual MIDI Piano Keyboard to display the played MIDI notes from another +instrument or MIDI file player.") + (license license:gpl3+))) + (define-public zynaddsubfx (package (name "zynaddsubfx") -- cgit v1.2.3 From 5f97cc2316a4fbd4ec89314f8f640c26a20199ee Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 1 Sep 2019 20:26:38 +0200 Subject: gnu: libostree: Update to 2019.3. * gnu/packages/package-management.scm (libostree): Update to 2019.3. --- gnu/packages/package-management.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index ff3e0d3209..100c148fda 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -966,7 +966,7 @@ for packaging and deployment of cross-compiled Windows applications.") (define-public libostree (package (name "libostree") - (version "2018.9.1") + (version "2019.3") (source (origin (method url-fetch) (uri (string-append @@ -974,7 +974,7 @@ for packaging and deployment of cross-compiled Windows applications.") (version-major+minor version) "/libostree-" version ".tar.xz")) (sha256 (base32 - "01mygpkbl9sk2vr3hjbpih6qlg8lwx0q5lklm09f7jfwfpnwyqzj")))) + "1r07yqbc9iiq0lzv1pryppd35fv695ym8r040msbfc93pmiy77y0")))) (build-system gnu-build-system) (arguments '(#:phases @@ -986,13 +986,14 @@ for packaging and deployment of cross-compiled Windows applications.") (setenv "TEST_TMPDIR" (getenv "TMPDIR")) #t))) ;; XXX: fails with: + ;; tap-driver.sh: missing test plan ;; tap-driver.sh: internal error getting exit status ;; tap-driver.sh: fatal: I/O or internal error #:tests? #f)) (native-inputs `(("attr" ,attr) ; for tests ("bison" ,bison) - ("glib:bin" ,glib "bin") ; for 'glib-mkenums' + ("glib:bin" ,glib "bin") ; for 'glib-mkenums' ("gobject-introspection" ,gobject-introspection) ("pkg-config" ,pkg-config) ("xsltproc" ,libxslt))) -- cgit v1.2.3 From b439d9b290d38d4ce89be9931e1c17d5fce93815 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 2 Sep 2019 02:55:32 +0200 Subject: gnu: acpica: Update to 20190816. * gnu/packages/admin.scm (acpica): Update to 20190816. --- gnu/packages/admin.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index eb298dca3b..3e75b73dcb 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -1500,7 +1500,7 @@ module slots, and the list of I/O ports (e.g. serial, parallel, USB).") (define-public acpica (package (name "acpica") - (version "20190703") + (version "20190816") (source (origin (method url-fetch) (uri (string-append @@ -1508,7 +1508,7 @@ module slots, and the list of I/O ports (e.g. serial, parallel, USB).") version ".tar.gz")) (sha256 (base32 - "0kp3ian3lffx9709ajrr3bp6b9cb6c6v1crjziyr8j8pp639jlwz")))) + "0lipy3jwl498lvgwzj6xcvmg61myl7hhilpallh1cf3ppgrq13l8")))) (build-system gnu-build-system) (native-inputs `(("flex" ,flex) ("bison" ,bison))) -- cgit v1.2.3 From 48d11a5f8b4b256a676490479b8cbbd76248c198 Mon Sep 17 00:00:00 2001 From: Rutger Helling Date: Mon, 2 Sep 2019 08:16:53 +0200 Subject: gnu: faudio: Update to 19.09. * gnu/packages/audio.scm (faudio): Update to 19.09. --- gnu/packages/audio.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index af2951fcd5..d3fd8c8245 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -3701,7 +3701,7 @@ library.") (define-public faudio (package (name "faudio") - (version "19.08") + (version "19.09") (source (origin (method git-fetch) @@ -3710,7 +3710,7 @@ library.") (commit version))) (file-name (string-append name "-" version "-checkout")) (sha256 - (base32 "1v13kfhyr46241vb6a4dcb4gw5f149525sprwa9cj4rv6wlcqgm5")))) + (base32 "0fagik55jmy3qmb27nhg0zxash1ahfkxphx8m8gs0pimqqrdrd9d")))) (arguments '(#:tests? #f ; No tests. #:configure-flags '("-DFFMPEG=ON"))) -- cgit v1.2.3 From 9460884422466fc63e98d8dea6eccd8176187999 Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Mon, 2 Sep 2019 00:11:44 +0200 Subject: gnu: emacs-lsp-mode: Update to 6.1. * gnu/packages/emacs-xyz.scm (emacs-lsp-mode): Update to 6.1. [inputs]: Add emacs-markdown-mode. Signed-off-by: Efraim Flashner --- gnu/packages/emacs-xyz.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 4bfc09d0aa..0c6077770b 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -16102,7 +16102,7 @@ the standard @code{Dockerfile} file format.") (define-public emacs-lsp-mode (package (name "emacs-lsp-mode") - (version "6.0") + (version "6.1") (source (origin (method git-fetch) (uri (git-reference @@ -16111,12 +16111,13 @@ the standard @code{Dockerfile} file format.") (file-name (git-file-name name version)) (sha256 (base32 - "1v1mq6ixzlgiazj8fmg4xaqhsqn3l89iqy74yndhvzh2rdf0pbkl")))) + "0jn5slhv9zfs446a5966bfg9dq144g22v79wnkx9hxq7if78p652")))) (build-system emacs-build-system) (propagated-inputs `(("emacs-dash" ,emacs-dash) ("emacs-f" ,emacs-f) ("emacs-ht" ,emacs-ht) + ("emacs-markdown-mode" ,emacs-markdown-mode) ("emacs-spinner" ,emacs-spinner))) (home-page "https://github.com/emacs-lsp/lsp-mode") (synopsis "Emacs client and library for the Language Server Protocol") -- cgit v1.2.3 From f7a8571b378c1fbb509681afd5dc5dc8315e11b4 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 2 Sep 2019 09:56:11 +0300 Subject: gnu: vim-fugitive: Update to 3.0. * gnu/packages/vim.scm (vim-fugitive): Update to 3.0. [arguments]: Install syntax directory. --- gnu/packages/vim.scm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index 1eede0b22a..8ebdbb9a35 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -483,7 +483,7 @@ trouble using them, because you do not have to remember each snippet name.") (define-public vim-fugitive (package (name "vim-fugitive") - (version "2.5") + (version "3.0") (source (origin (method git-fetch) @@ -493,7 +493,7 @@ trouble using them, because you do not have to remember each snippet name.") (file-name (git-file-name name version)) (sha256 (base32 - "17yz7gxn7a49jzndr4z5vnk1y4a6c22qss3mwxzmq4m46fni0k8q")))) + "0ghh8a9xysc3njqql1khhl2dkhymz93snpwqp2apm7pka6l893bc")))) (build-system gnu-build-system) (arguments '(#:tests? #f @@ -506,13 +506,15 @@ trouble using them, because you do not have to remember each snippet name.") (let* ((out (assoc-ref outputs "out")) (vimfiles (string-append out "/share/vim/vimfiles")) (autoload (string-append vimfiles "/autoload")) - (doc (string-append vimfiles "/doc")) + (doc (string-append vimfiles "/doc")) (ftdetect (string-append vimfiles "/ftdetect")) - (plugin (string-append vimfiles "/plugin"))) + (plugin (string-append vimfiles "/plugin")) + (syntax (string-append vimfiles "/syntax"))) (copy-recursively "autoload" autoload) (copy-recursively "doc" doc) (copy-recursively "ftdetect" ftdetect) (copy-recursively "plugin" plugin) + (copy-recursively "syntax" syntax) #t)))))) (home-page "https://github.com/tpope/vim-fugitive") (synopsis "Vim plugin to work with Git") -- cgit v1.2.3 From 2f43e5db1c36ec93a80ed1e3cbe763a8d64adcb5 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 2 Sep 2019 11:07:53 +0300 Subject: build/cargo-build-system: Use invoke. * guix/build/cargo-build-system.scm (crate-src?, build, check, install): Use 'invoke'. --- guix/build/cargo-build-system.scm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/guix/build/cargo-build-system.scm b/guix/build/cargo-build-system.scm index 06ed14b89f..f173b64c83 100644 --- a/guix/build/cargo-build-system.scm +++ b/guix/build/cargo-build-system.scm @@ -81,10 +81,10 @@ Cargo.toml file present at its root." ;; archive, but not nested anywhere else). We do this by cutting up ;; each output line and only looking at the second component. We then ;; check if it matches Cargo.toml exactly and short circuit if it does. - (zero? (apply system* (list "sh" "-c" - (string-append "tar -tf " path - " | cut -d/ -f2" - " | grep -q '^Cargo.toml$'")))))) + (apply invoke (list "sh" "-c" + (string-append "tar -tf " path + " | cut -d/ -f2" + " | grep -q '^Cargo.toml$'"))))) (define* (configure #:key inputs (vendor-dir "guix-vendor") @@ -157,7 +157,7 @@ directory = '" port) #:allow-other-keys) "Build a given Cargo package." (or skip-build? - (zero? (apply system* `("cargo" "build" ,@cargo-build-flags))))) + (apply invoke `("cargo" "build" ,@cargo-build-flags)))) (define* (check #:key tests? @@ -165,7 +165,7 @@ directory = '" port) #:allow-other-keys) "Run tests for a given Cargo package." (if tests? - (zero? (apply system* `("cargo" "test" ,@cargo-test-flags))) + (apply invoke `("cargo" "test" ,@cargo-test-flags)) #t)) (define (touch file-name) @@ -184,7 +184,7 @@ directory = '" port) ;; otherwise cargo will raise an error. (or skip-build? (not (has-executable-target?)) - (zero? (system* "cargo" "install" "--path" "." "--root" out))))) + (invoke "cargo" "install" "--path" "." "--root" out)))) (define %standard-phases (modify-phases gnu:%standard-phases -- cgit v1.2.3 From 8324e64cd585ab9a0841c944e1f865859ae33f72 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:31:41 +0200 Subject: gnu: Add r-ensdb-hsapiens-v75. * gnu/packages/bioconductor.scm (r-ensdb-hsapiens-v75): New variable. --- gnu/packages/bioconductor.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm index 89aea8d9c0..a416dbc764 100644 --- a/gnu/packages/bioconductor.scm +++ b/gnu/packages/bioconductor.scm @@ -532,6 +532,28 @@ annotations for the genome of the model mouse Mus musculus.") by UCSC (hg19, February 2009) and stored in Biostrings objects.") (license license:artistic2.0))) +(define-public r-ensdb-hsapiens-v75 + (package + (name "r-ensdb-hsapiens-v75") + (version "2.99.0") + (source + (origin + (method url-fetch) + (uri (bioconductor-uri "EnsDb.Hsapiens.v75" version 'annotation)) + (sha256 + (base32 + "0jx6rf6v0j8yr07q3c1h7s121901dc400nm6xaiv4i7kb5czjn9c")))) + (properties + `((upstream-name . "EnsDb.Hsapiens.v75"))) + (build-system r-build-system) + (propagated-inputs + `(("r-ensembldb" ,r-ensembldb))) + (home-page "https://bioconductor.org/packages/EnsDb.Hsapiens.v75") + (synopsis "Ensembl based annotation package") + (description + "This package exposes an annotation database generated from Ensembl.") + (license license:artistic2.0))) + (define-public r-genelendatabase (package (name "r-genelendatabase") -- cgit v1.2.3 From d9a382ece3b0c9f9dc9b6f9714b2cf89a60b54b9 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:31:50 +0200 Subject: gnu: r-sys: Update to 3.3. * gnu/packages/cran.scm (r-sys): Update to 3.3. --- gnu/packages/cran.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 6ba7c295cf..6df3adc2f2 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -166,14 +166,14 @@ objects.") (define-public r-sys (package (name "r-sys") - (version "3.2") + (version "3.3") (source (origin (method url-fetch) (uri (cran-uri "sys" version)) (sha256 (base32 - "1k5vk5q9wa5sin0n226i05nymg469s24f6lx64yyhb7yc624j698")))) + "14wvy46i2iz9jn7lj3cvifmps932s3395wq681hniva0f8m7q8d6")))) (build-system r-build-system) (home-page "https://github.com/jeroen/sys") (synopsis "Powerful and reliable tools for running system commands in R") -- cgit v1.2.3 From 0ce4b23d68ad7f0d7da8fcf87b40a2614682e493 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:31:55 +0200 Subject: gnu: r-vegan: Update to 2.5-6. * gnu/packages/cran.scm (r-vegan): Update to 2.5-6. --- gnu/packages/cran.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 6df3adc2f2..df6c6790dc 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -212,14 +212,14 @@ read a protected key.") (define-public r-vegan (package (name "r-vegan") - (version "2.5-5") + (version "2.5-6") (source (origin (method url-fetch) (uri (cran-uri "vegan" version)) (sha256 (base32 - "0wb90ng02gi13854bjq0b8a2vrknyhb0s0l1v3z38c4zy9k54sw7")))) + "0g60rgn1i7wqf9pf5m1yki1m45gcp7i5hmjic0ci0f6vng70mh5k")))) (build-system r-build-system) (native-inputs `(("gfortran" ,gfortran))) -- cgit v1.2.3 From 52aacfbda2374dc232063263cb58615365317fd5 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:32:00 +0200 Subject: gnu: r-d3r: Update to 0.8.7. * gnu/packages/cran.scm (r-d3r): Update to 0.8.7. --- gnu/packages/cran.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index df6c6790dc..febac04858 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -872,14 +872,14 @@ well as file saving is available.") (define-public r-d3r (package (name "r-d3r") - (version "0.8.6") + (version "0.8.7") (source (origin (method url-fetch) (uri (cran-uri "d3r" version)) (sha256 (base32 - "0vcmiyhd000xyl28k6rm7ba50x5sz5b2cpllxnq36q13qhdnqw6k")))) + "0xl3im76lp7pd5lhp8jfyqdm4j4zvjrx5a5fl81xv2cf7x3n4f2a")))) (build-system r-build-system) (arguments `(#:modules ((guix build utils) -- cgit v1.2.3 From 6d879bb62bb271fb90012c4498ceec7c61ee4c6a Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:32:04 +0200 Subject: gnu: r-rgooglemaps: Update to 1.4.4. * gnu/packages/cran.scm (r-rgooglemaps): Update to 1.4.4. --- gnu/packages/cran.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index febac04858..b488fcba0f 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -1122,14 +1122,14 @@ coordinates.") (define-public r-rgooglemaps (package (name "r-rgooglemaps") - (version "1.4.3") + (version "1.4.4") (source (origin (method url-fetch) (uri (cran-uri "RgoogleMaps" version)) (sha256 (base32 - "06ab3lg1rwm93hkshf1vxfm8mlxq5qsjan0wx43lhnrysay65js4")))) + "0sbklacc4jl5524ixhc11mh6smrzdz4l9pji6cn402i6zdn9z05x")))) (properties `((upstream-name . "RgoogleMaps"))) (build-system r-build-system) (propagated-inputs `(("r-png" ,r-png))) -- cgit v1.2.3 From ef93de84ea185f873fe74a62e3547334f7cc98ac Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:32:09 +0200 Subject: gnu: r-pkgbuild: Update to 1.0.5. * gnu/packages/cran.scm (r-pkgbuild): Update to 1.0.5. --- gnu/packages/cran.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index b488fcba0f..e3f737e356 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -1441,14 +1441,14 @@ processes. Most of its code is based on the @code{psutil} Python package.") (define-public r-pkgbuild (package (name "r-pkgbuild") - (version "1.0.4") + (version "1.0.5") (source (origin (method url-fetch) (uri (cran-uri "pkgbuild" version)) (sha256 (base32 - "0prvx91dha5pvd0k4jca2arkngvi6vnfs2indmiy3kwwzyjyyd19")))) + "0y4i85axwajrk67h3w6fiqfm6wxmhn3dr240w5l2nvqg3ahpxc8q")))) (build-system r-build-system) (propagated-inputs `(("r-callr" ,r-callr) -- cgit v1.2.3 From 403e01e21e486e7a0bad5ae4966275685ad07118 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:32:13 +0200 Subject: gnu: r-circlize: Update to 0.4.7. * gnu/packages/cran.scm (r-circlize): Update to 0.4.7. --- gnu/packages/cran.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index e3f737e356..a9e104704b 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -1649,14 +1649,14 @@ validation and filtering on the values, making options invisible or private.") (define-public r-circlize (package (name "r-circlize") - (version "0.4.6") + (version "0.4.7") (source (origin (method url-fetch) (uri (cran-uri "circlize" version)) (sha256 (base32 - "1yjnb88pnzk5c1p0vjxykc7cr3394ln5axviqcf12ajibvy8rj6f")))) + "07y1bchkslpz2wl43yg5j5h1nl9z0i425a07jdmfd5avrynd8p3m")))) (build-system r-build-system) (propagated-inputs `(("r-colorspace" ,r-colorspace) -- cgit v1.2.3 From b4cf01ecc846e9e183eb58839875108b230de585 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:32:17 +0200 Subject: gnu: r-geometry: Update to 0.4.3. * gnu/packages/cran.scm (r-geometry): Update to 0.4.3. --- gnu/packages/cran.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index a9e104704b..58578ec45f 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -2663,14 +2663,14 @@ Optimization problems by using the simplex algorithm.") (define-public r-geometry (package (name "r-geometry") - (version "0.4.2") + (version "0.4.3") (source (origin (method url-fetch) (uri (cran-uri "geometry" version)) (sha256 (base32 - "0vq334115qi039vy198ggv1dsp6n1s6jwcm9ivipf5r8lbm287zz")))) + "0z4491mhfmrlbb8lazjvq55alrprx7k0abg2d39fj0lsj84cls1r")))) (build-system r-build-system) (propagated-inputs `(("r-magic" ,r-magic) -- cgit v1.2.3 From fa859675cc1a0ac64d4b07a657fc5462564edd66 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:32:22 +0200 Subject: gnu: r-dtw: Update to 1.21-3. * gnu/packages/cran.scm (r-dtw): Update to 1.21-3. --- gnu/packages/cran.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 58578ec45f..751ecd40c5 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -3476,14 +3476,14 @@ of Eigenmatrices} (JADE).") (define-public r-dtw (package (name "r-dtw") - (version "1.20-1") + (version "1.21-3") (source (origin (method url-fetch) (uri (cran-uri "dtw" version)) (sha256 (base32 - "1w301xwizncy5r8v9rwwdxfshydgp3l1pnjla1fjn6n8lx3imjj3")))) + "02hyhx1sy5h3vzh9zixy18a7d47df4k5d0wyflcvlcbsbcl6p90s")))) (build-system r-build-system) (propagated-inputs `(("r-proxy" ,r-proxy))) (home-page "http://dtw.r-forge.r-project.org/") -- cgit v1.2.3 From bd8710b4131f45dead162a91f43c35744586fb23 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:32:27 +0200 Subject: gnu: r-seriation: Update to 1.2-8. * gnu/packages/cran.scm (r-seriation): Update to 1.2-8. --- gnu/packages/cran.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 751ecd40c5..227da25cb0 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -3765,14 +3765,14 @@ Markdown documents.") (define-public r-seriation (package (name "r-seriation") - (version "1.2-7") + (version "1.2-8") (source (origin (method url-fetch) (uri (cran-uri "seriation" version)) (sha256 (base32 - "0dbz5b5msy4fr2whhphyriqk1xc6305zpjq59rrwxyz3d7rzwpa6")))) + "1zbdxq0s5rc5v307b69fw9k52m0654ls7pf22lh35ggirig6lwsk")))) (build-system r-build-system) (propagated-inputs `(("r-cluster" ,r-cluster) -- cgit v1.2.3 From 9ba8494c26fe9fee1334f28e4829c841d01917ce Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:32:32 +0200 Subject: gnu: r-xfun: Update to 0.9. * gnu/packages/cran.scm (r-xfun): Update to 0.9. --- gnu/packages/cran.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 227da25cb0..249596cadf 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -3799,14 +3799,14 @@ iVAT).") (define-public r-xfun (package (name "r-xfun") - (version "0.8") + (version "0.9") (source (origin (method url-fetch) (uri (cran-uri "xfun" version)) (sha256 (base32 - "05jlbi5byqpw0fkhmmxqglnaxh9gwbcigx77kcpw1pkxnpwfry62")))) + "1c3wmy6s4ck821mwl7i2g8cxd31g30llbpivbgq21g1rxs4zwlyl")))) (build-system r-build-system) (home-page "https://github.com/yihui/xfun") (synopsis "Miscellaneous functions") -- cgit v1.2.3 From a71460135c0ea91ff46f8e2f70d80b4942207141 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:32:36 +0200 Subject: gnu: r-radiant-data: Update to 1.0.6. * gnu/packages/cran.scm (r-radiant-data): Update to 1.0.6. --- gnu/packages/cran.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 249596cadf..d75bb1cf34 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -4699,14 +4699,14 @@ systems.") (define-public r-radiant-data (package (name "r-radiant-data") - (version "1.0.0") + (version "1.0.6") (source (origin (method url-fetch) (uri (cran-uri "radiant.data" version)) (sha256 (base32 - "0b35jn4mcj10hqra18l8pi6s4pvj6fxipslbn6hkr4zza1z27gzw")) + "08x7zasxf429m021482p86lx3zc6dqz2mih0id8s34isg4gafapg")) (modules '((guix build utils))) (snippet '(begin -- cgit v1.2.3 From 2586cfd3d709747c8ccd700d1dc67e6c6069410e Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:32:40 +0200 Subject: gnu: r-arules: Update to 1.6-4. * gnu/packages/cran.scm (r-arules): Update to 1.6-4. --- gnu/packages/cran.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index d75bb1cf34..35444111bc 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -5064,14 +5064,14 @@ evaluated by the @dfn{Akaike Information Criterion} (AIC).") (define-public r-arules (package (name "r-arules") - (version "1.6-3") + (version "1.6-4") (source (origin (method url-fetch) (uri (cran-uri "arules" version)) (sha256 (base32 - "0dimrq1pz449z0mz9m87nhm5bpc0v789bcc3lghhh97wwi5zah9y")))) + "003c5cd3xzq39h7c19px077ygm0n1v7k83icy5zzrnkagyds2p8n")))) (build-system r-build-system) (propagated-inputs `(("r-matrix" ,r-matrix))) -- cgit v1.2.3 From 59fd6915c8cfba660a88167fb627754b0a0f1728 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:32:44 +0200 Subject: gnu: r-zip: Update to 2.0.4. * gnu/packages/cran.scm (r-zip): Update to 2.0.4. --- gnu/packages/cran.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 35444111bc..d837716e39 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -5161,14 +5161,14 @@ misclassification probabilities of different models.") (define-public r-zip (package (name "r-zip") - (version "2.0.3") + (version "2.0.4") (source (origin (method url-fetch) (uri (cran-uri "zip" version)) (sha256 (base32 - "0zii05jg9v9ljd0wd67g9x4bhlmpmsy5dzd093sbnc5n3vjbi32a")))) + "1c02amk3pl6xir5jnbfiwiv2wvpkpbkkb1w71y6lf2yk7g3d0pdb")))) (build-system r-build-system) (home-page "https://github.com/gaborcsardi/zip") (synopsis "Cross-platform Zip compression") -- cgit v1.2.3 From 761f4764f9934434e1da67eb62743aca4f8bb6b2 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:32:48 +0200 Subject: gnu: r-raster: Update to 3.0-2. * gnu/packages/cran.scm (r-raster): Update to 3.0-2. --- gnu/packages/cran.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index d837716e39..01232c9bbc 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -6921,14 +6921,14 @@ used to teach mathematics, statistics, computation and modeling.") (define-public r-raster (package (name "r-raster") - (version "2.9-23") + (version "3.0-2") (source (origin (method url-fetch) (uri (cran-uri "raster" version)) (sha256 (base32 - "1brqigic8ygr223bp2hgk5qjz3q03r4sfglrv4an0ghy7fgfralh")))) + "0z4qh3ag1iyly4zjvzi3x2namkndkqn3cjb3ac22xd11sq5gdgiz")))) (build-system r-build-system) (propagated-inputs `(("r-rcpp" ,r-rcpp) -- cgit v1.2.3 From 9c2d9780411325e74ad2ea82996780b5e3da13af Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:32:54 +0200 Subject: gnu: r-magick: Update to 2.2. * gnu/packages/cran.scm (r-magick): Update to 2.2. --- gnu/packages/cran.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 01232c9bbc..b528599f5e 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -7489,14 +7489,14 @@ multiple-imputation datasets.") (define-public r-magick (package (name "r-magick") - (version "2.1") + (version "2.2") (source (origin (method url-fetch) (uri (cran-uri "magick" version)) (sha256 (base32 - "1pz71maz05gx4ds1wfw0alggc8nn2w75lj12dg1zr72s3kybhkzg")))) + "1xh5mhaks3wk1iwqs9d3lnbfv121lc1yz5fqdzk5il9ppr831l85")))) (build-system r-build-system) (inputs `(("imagemagick" ,imagemagick) -- cgit v1.2.3 From a13f81dde7a33666ecb4d1d27e7be7e5ada3e0ff Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:32:58 +0200 Subject: gnu: r-libcoin: Update to 1.0-5. * gnu/packages/cran.scm (r-libcoin): Update to 1.0-5. --- gnu/packages/cran.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index b528599f5e..a87454def1 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -7927,14 +7927,14 @@ Cohen (1988).") (define-public r-libcoin (package (name "r-libcoin") - (version "1.0-4") + (version "1.0-5") (source (origin (method url-fetch) (uri (cran-uri "libcoin" version)) (sha256 (base32 - "1i893ij9vkmc4y721npw1s3prmmcs2da5vf3ajm0j8ccmfhbmp4i")))) + "1cm9x1dlg9f7fh7n5nw3x4a7rl88c7ylrlc8x3rx4mq5w1j42x0a")))) (build-system r-build-system) (propagated-inputs `(("r-mvtnorm" ,r-mvtnorm))) (home-page "https://cran.r-project.org/web/packages/libcoin") -- cgit v1.2.3 From 1656a4259be423fb55df4646dd90ab617aec9f95 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:33:02 +0200 Subject: gnu: r-coin: Update to 1.3-1. * gnu/packages/cran.scm (r-coin): Update to 1.3-1. --- gnu/packages/cran.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index a87454def1..37775fb6d2 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -7947,14 +7947,14 @@ and permutation inference in the framework of Strasser and Weber (1999).") (define-public r-coin (package (name "r-coin") - (version "1.3-0") + (version "1.3-1") (source (origin (method url-fetch) (uri (cran-uri "coin" version)) (sha256 (base32 - "1y0yl4mjaxca0jqz53sv1gcpdg89m099rq61iszxvpx7w0vvpkmd")))) + "0qi03fyqw42a2vnqcia5l2m1mzyarj2q1iblknx9n19bdsd53qjx")))) (build-system r-build-system) (propagated-inputs `(("r-libcoin" ,r-libcoin) -- cgit v1.2.3 From 084ea3481b5a4522d20a88587759e918ac9eea40 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:33:07 +0200 Subject: gnu: r-summarytools: Update to 0.9.4. * gnu/packages/cran.scm (r-summarytools): Update to 0.9.4. --- gnu/packages/cran.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 37775fb6d2..547607abee 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -8518,14 +8518,14 @@ ways.") (define-public r-summarytools (package (name "r-summarytools") - (version "0.9.3") + (version "0.9.4") (source (origin (method url-fetch) (uri (cran-uri "summarytools" version)) (sha256 (base32 - "1wfbkgvicaic37zgpr6zcm4a58yx43p59h0sqggdj44ncqs7147f")))) + "1n695baz56mg4f13xjjadfq0xalw5xsn6xicil0yap5hgi8fsr3a")))) (build-system r-build-system) (propagated-inputs `(("r-checkmate" ,r-checkmate) -- cgit v1.2.3 From 0eb284350e23581e0bea10fc60a6b0f5fed1426a Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:33:11 +0200 Subject: gnu: r-afex: Update to 0.25-1. * gnu/packages/cran.scm (r-afex): Update to 0.25-1. --- gnu/packages/cran.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 547607abee..05106fbb47 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -8696,14 +8696,14 @@ analysing multivariate abundance data in community ecology.") (define-public r-afex (package (name "r-afex") - (version "0.24-1") + (version "0.25-1") (source (origin (method url-fetch) (uri (cran-uri "afex" version)) (sha256 (base32 - "14w7kcwr5hxmjcjmdm5ia9ka3bw1nl18pxlm1vpw62nmvicn3455")))) + "12n020y7rjm7402940gkqxa5j901p093f381i23p66fa3fyrshkf")))) (build-system r-build-system) (propagated-inputs `(("r-car" ,r-car) -- cgit v1.2.3 From 4f1c668d318db448381834c726a8795f24b8b04b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:33:15 +0200 Subject: gnu: r-rgl: Update to 0.100.30. * gnu/packages/cran.scm (r-rgl): Update to 0.100.30. --- gnu/packages/cran.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 05106fbb47..2ef87bc61c 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -8930,14 +8930,14 @@ Bioconductor packages.") (define-public r-rgl (package (name "r-rgl") - (version "0.100.26") + (version "0.100.30") (source (origin (method url-fetch) (uri (cran-uri "rgl" version)) (sha256 (base32 - "0h77akviwjd86j2qyx326xynbmwhypd6ydprzlwqnidd4ckrr271")))) + "0rzqzskcwf2ah4yr62x5rjwf7yh90d43h39gk7jmfc5lc08zaxc5")))) (build-system r-build-system) (native-inputs `(("pkg-config" ,pkg-config))) -- cgit v1.2.3 From 6c81cc885df2fdcf51a6814c1a2cf4a4d4a16605 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:33:19 +0200 Subject: gnu: r-fields: Update to 9.8-6. * gnu/packages/cran.scm (r-fields): Update to 9.8-6. --- gnu/packages/cran.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 2ef87bc61c..ef8a796824 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -10749,14 +10749,14 @@ Differences with other sparse matrix packages are: (define-public r-fields (package (name "r-fields") - (version "9.8-3") + (version "9.8-6") (source (origin (method url-fetch) (uri (cran-uri "fields" version)) (sha256 (base32 - "1q9x68dczjym56v7x90x4x5br59vj3dww6w8v42zd3yl17h7c1h1")))) + "07x95vk1idjfzi5ikn0ijal754mssdmgr1p4nswmx9w3i5ndcqaz")))) (build-system r-build-system) (propagated-inputs `(("r-maps" ,r-maps) -- cgit v1.2.3 From e31eb738f707daf07ab424ca29cfc6ca770a6e44 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:33:27 +0200 Subject: gnu: r-ggextra: Update to 0.9. * gnu/packages/cran.scm (r-ggextra): Update to 0.9. [propagated-inputs]: Add r-r6. --- gnu/packages/cran.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index ef8a796824..ee86c9a9cc 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -11786,14 +11786,14 @@ select colors to use in your R code.") (define-public r-ggextra (package (name "r-ggextra") - (version "0.8") + (version "0.9") (source (origin (method url-fetch) (uri (cran-uri "ggExtra" version)) (sha256 (base32 - "1m5zpn3l3p1y3d2692gyz50m63d58m2a3b7zb595kvcffdx2qr5b")))) + "18mbi6gblqmrsciad1d2c9ngllk6mayaqj43k40hjq9ydqnvjbgj")))) (properties `((upstream-name . "ggExtra"))) (build-system r-build-system) (propagated-inputs @@ -11801,6 +11801,7 @@ select colors to use in your R code.") ("r-ggplot2" ,r-ggplot2) ("r-gtable" ,r-gtable) ("r-miniui" ,r-miniui) + ("r-r6" ,r-r6) ("r-scales" ,r-scales) ("r-shiny" ,r-shiny) ("r-shinyjs" ,r-shinyjs))) -- cgit v1.2.3 From 553742fa9812e1c683153f7b98077e8d24a2d83b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:33:44 +0200 Subject: gnu: r-lavaan: Update to 0.6-5. * gnu/packages/cran.scm (r-lavaan): Update to 0.6-5. --- gnu/packages/cran.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index ee86c9a9cc..fb188a4005 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -11901,14 +11901,14 @@ probabilities from a standard bivariate normal CDF.") (define-public r-lavaan (package (name "r-lavaan") - (version "0.6-4") + (version "0.6-5") (source (origin (method url-fetch) (uri (cran-uri "lavaan" version)) (sha256 (base32 - "1zf0sxpms35rhq2syb7r3sshhc8kjvc3pv97dk9x0gf4xl7pck4g")))) + "04kvsh2m6mnzlhv83phr3hjzy4sx1ck6f7dgsm7xb8cs84dnxszy")))) (build-system r-build-system) (propagated-inputs `(("r-mass" ,r-mass) -- cgit v1.2.3 From 530404083a2d98103cc7278df96a1eeecbe21779 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:33:50 +0200 Subject: gnu: r-apcluster: Update to 1.4.8. * gnu/packages/cran.scm (r-apcluster): Update to 1.4.8. --- gnu/packages/cran.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index fb188a4005..a615df06dd 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -12190,14 +12190,14 @@ network.") (define-public r-apcluster (package (name "r-apcluster") - (version "1.4.7") + (version "1.4.8") (source (origin (method url-fetch) (uri (cran-uri "apcluster" version)) (sha256 (base32 - "188hdfmwjjx3aic599nwmkzjqm9j9jighi5bly6qd43c1vj6ih2s")))) + "0lzf2jqm56i74wif6x5sw3j0w2qc4sni49zq2fgbl89b7lwkvchj")))) (build-system r-build-system) (propagated-inputs `(("r-matrix" ,r-matrix) -- cgit v1.2.3 From 5feaa77591fa9099276518e87d6f34a3e057b533 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:33:57 +0200 Subject: gnu: r-wgaim: Update to 2.0-0. * gnu/packages/cran.scm (r-wgaim): Update to 2.0-0. [propagated-inputs]: Remove r-lattice; add r-ggplot2. --- gnu/packages/cran.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index a615df06dd..d01a9414f9 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -12348,17 +12348,17 @@ extensions.") (define-public r-wgaim (package (name "r-wgaim") - (version "1.4-11") + (version "2.0-0") (source (origin (method url-fetch) (uri (cran-uri "wgaim" version)) (sha256 (base32 - "1jjyp100dcjjczp61xlvhmy48ynniqcys535vzbgswhr7fvijymg")))) + "0wnb10vibgq8h1ly6lq8kzymf30vx0j0g8fc2zidblbvwag9ka1g")))) (build-system r-build-system) (propagated-inputs - `(("r-lattice" ,r-lattice) + `(("r-ggplot2" ,r-ggplot2) ("r-qtl" ,r-qtl))) (home-page "https://cran.r-project.org/web/packages/wgaim") (synopsis "Whole genome average interval mapping for QTL detection") -- cgit v1.2.3 From dfe4c8c405fef80f371c0cfabfc0cb634c141245 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:34:13 +0200 Subject: gnu: r-units: Update to 0.6-4. * gnu/packages/cran.scm (r-units): Update to 0.6-4. --- gnu/packages/cran.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index d01a9414f9..a567c45964 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -12567,14 +12567,14 @@ utilities for sequence data management under the ACNUC system.") (define-public r-units (package (name "r-units") - (version "0.6-3") + (version "0.6-4") (source (origin (method url-fetch) (uri (cran-uri "units" version)) (sha256 (base32 - "0kx640h60s3zzkdr302asap7diap6vri6d41scnx507yvkcqiph3")))) + "1jz0mzd78sdfxkhqw041ji50hmhjk2ha55i31yjvz35nsw30lwi5")))) (build-system r-build-system) (inputs `(("udunits" ,udunits))) -- cgit v1.2.3 From 87b4381584f6dbfe1382b6ee71da16b3c1e70d7d Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:34:17 +0200 Subject: gnu: r-tdthap: Update to 1.1-11. * gnu/packages/cran.scm (r-tdthap): Update to 1.1-11. --- gnu/packages/cran.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index a567c45964..111979e8a6 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -13122,14 +13122,14 @@ exact test for Hardy-Weinberg equilibrium.") (define-public r-tdthap (package (name "r-tdthap") - (version "1.1-9") + (version "1.1-11") (source (origin (method url-fetch) (uri (cran-uri "tdthap" version)) (sha256 (base32 - "0y01x0hcf0rw06cpn4pk17b0shf4v2c9was7vfs0zhsbq8qcwx7r")))) + "15qlj2bivvz3pizd8dq34wczbkbxhzqh3cqp1ixkdkprlyvcxj5k")))) (build-system r-build-system) (home-page "https://cran.r-project.org/web/packages/tdthap/") (synopsis "TDT tests for extended haplotypes") -- cgit v1.2.3 From e768b33936afb651321bb15b8faa335b81e83acc Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:34:21 +0200 Subject: gnu: r-bookdown: Update to 0.13. * gnu/packages/cran.scm (r-bookdown): Update to 0.13. --- gnu/packages/cran.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 111979e8a6..021133b64f 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -13165,13 +13165,13 @@ SELECT or UPDATE queries to an end-point.") (define-public r-bookdown (package (name "r-bookdown") - (version "0.12") + (version "0.13") (source (origin (method url-fetch) (uri (cran-uri "bookdown" version)) (sha256 (base32 - "1c2v0rpa1rrpbx8yb66sfvrf4gf57f6a8x7ydjqqbkbwhxdlrsrq")))) + "15r9scgnq68hmfcfxvjk286hpbr825bib1d2kgh0lv3dgz2i2bg1")))) (build-system r-build-system) (propagated-inputs `(("r-htmltools" ,r-htmltools) -- cgit v1.2.3 From 466e68b4b2c306d4ae1941eef4a7313343dd1e7b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:34:24 +0200 Subject: gnu: r-ggforce: Update to 0.3.1. * gnu/packages/cran.scm (r-ggforce): Update to 0.3.1. --- gnu/packages/cran.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 021133b64f..68abdf8ab5 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -13765,14 +13765,14 @@ sets of URLs.") (define-public r-ggforce (package (name "r-ggforce") - (version "0.3.0") + (version "0.3.1") (source (origin (method url-fetch) (uri (cran-uri "ggforce" version)) (sha256 (base32 - "118qyzy8h9kkkdpjd09667gxgw7xy1kbc8r87pswh54ixn8hymwk")))) + "04926cqrda6psvy2nzkkw4czwyxdp7fnxg76byp14v12kgd72lm0")))) (build-system r-build-system) (propagated-inputs `(("r-ggplot2" ,r-ggplot2) -- cgit v1.2.3 From d64ac92f6c6871351e130eeb23cf3663922d4bd3 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:34:28 +0200 Subject: gnu: r-dalex: Update to 0.4.7. * gnu/packages/cran.scm (r-dalex): Update to 0.4.7. --- gnu/packages/cran.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 68abdf8ab5..21030c5088 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -14617,14 +14617,14 @@ engine (Salmon et al., 2011) as provided by the package @code{sitmo}.") (define-public r-dalex (package (name "r-dalex") - (version "0.4.4") + (version "0.4.7") (source (origin (method url-fetch) (uri (cran-uri "DALEX" version)) (sha256 (base32 - "04i17ni8g595jj8dxdfwr9vsxmdn2kkam90ab68vlwws3ywqjl6r")))) + "0iiwkf0pfdb90lf1xhv43qd32z3cjmkmf0ly9841n5lldkjazy3h")))) (properties `((upstream-name . "DALEX"))) (build-system r-build-system) (propagated-inputs `(("r-ggplot2" ,r-ggplot2))) -- cgit v1.2.3 From 7a90573fd0db555fcdf0d687cee60cddc46c6fba Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:34:32 +0200 Subject: gnu: r-enrichr: Update to 2.1. * gnu/packages/cran.scm (r-enrichr): Update to 2.1. --- gnu/packages/cran.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 21030c5088..77eb0c3230 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -14643,14 +14643,14 @@ and model output.") (define-public r-enrichr (package (name "r-enrichr") - (version "2.0") + (version "2.1") (source (origin (method url-fetch) (uri (cran-uri "enrichR" version)) (sha256 (base32 - "056m6hksfss29fj7zvlk7pbh8g3gq84kjh3240isrsnhp9m1h9iz")))) + "0ymhzs9d2wl0s9rvbqc1hqb78mlzwhlc7mmijpfqkm5r720pf6m1")))) (properties `((upstream-name . "enrichR"))) (build-system r-build-system) (propagated-inputs -- cgit v1.2.3 From 8bcd6c953a7b3a1cb59189810a314794f7cc3bdf Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:34:38 +0200 Subject: gnu: r-umap: Update to 0.2.3.1. * gnu/packages/cran.scm (r-umap): Update to 0.2.3.1. [propagated-inputs]: Add r-openssl. --- gnu/packages/cran.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 77eb0c3230..3470ad5c7d 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -14813,17 +14813,18 @@ easily.") (define-public r-umap (package (name "r-umap") - (version "0.2.2.0") + (version "0.2.3.1") (source (origin (method url-fetch) (uri (cran-uri "umap" version)) (sha256 (base32 - "1s82w9gy1387h7cprjfbhp49l89zbmn3gc9s0wzqb1s73nza9n31")))) + "0rzz1s029cn1w1bf5va2pav2lg9j1mq97ibwcln39drvm67kj76d")))) (build-system r-build-system) (propagated-inputs - `(("r-rcpp" ,r-rcpp) + `(("r-openssl" ,r-openssl) + ("r-rcpp" ,r-rcpp) ("r-reticulate" ,r-reticulate) ("r-rspectra" ,r-rspectra))) (home-page "https://github.com/tkonopka/umap") -- cgit v1.2.3 From 8e28535d0b0f92c04d50309c5d4a1189dc017a22 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:38:01 +0200 Subject: gnu: Add r-leiden. * gnu/packages/cran.scm (r-leiden): New variable. --- gnu/packages/cran.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 3470ad5c7d..f3566f28d2 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -14995,6 +14995,32 @@ radius searches and @code{bd} as well as @code{kd} trees. The distance is computed using the L1 (Manhattan, taxicab) metric.") (license license:gpl3+))) +(define-public r-leiden + (package + (name "r-leiden") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (cran-uri "leiden" version)) + (sha256 + (base32 + "19gq27zin4gf4sh7h24gyq3f8jjir20n2l36a7pk1pbzcr4ixyhp")))) + (properties `((upstream-name . "leiden"))) + (build-system r-build-system) + (propagated-inputs + `(("r-igraph" ,r-igraph) + ("r-matrix" ,r-matrix) + ("r-reticulate" ,r-reticulate))) + (home-page "https://github.com/TomKellyGenetics/leiden") + (synopsis "R implementation of Leiden clustering algorithm") + (description + "This package implements the Python @code{leidenalg} module to be called +in R. It enables clustering using the Leiden algorithm for partitioning a +graph into communities. See also Traag et al (2018) \"From Louvain to Leiden: +guaranteeing well-connected communities.\" .") + (license license:gpl3))) + (define-public r-patchwork ;; There has been no public release yet. (let ((commit "fd7958bae3e7a1e30237c751952e412a0a1d1242") -- cgit v1.2.3 From 560f7c949a850dfb2bdac4f2f3187e8c5f59d9fe Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:38:06 +0200 Subject: gnu: r-chron: Update to 2.3-54. * gnu/packages/statistics.scm (r-chron): Update to 2.3-54. --- gnu/packages/statistics.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 4e2f6b7937..db103792bc 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -1828,13 +1828,13 @@ and density estimation.") (define-public r-chron (package (name "r-chron") - (version "2.3-53") + (version "2.3-54") (source (origin (method url-fetch) (uri (cran-uri "chron" version)) (sha256 (base32 - "02bkywwsxwrxc035hv51dxgdm1fjxdm7dn19ivifln59dfs1862j")))) + "0vc7dxqwx0jqzwszax6di3091npsxnhnbvr7sy7rlip0jqzarwqd")))) (build-system r-build-system) (home-page "https://cran.r-project.org/web/packages/chron") (synopsis "Chronological R objects which can handle dates and times") -- cgit v1.2.3 From b21620bb47bae46a325fe9261ea37964beecf3f7 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:38:12 +0200 Subject: gnu: r-whisker: Update to 0.4. * gnu/packages/statistics.scm (r-whisker): Update to 0.4. --- gnu/packages/statistics.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index db103792bc..8ea4fc0e9b 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2097,13 +2097,13 @@ previous R versions and their release dates.") (define-public r-whisker (package (name "r-whisker") - (version "0.3-2") + (version "0.4") (source (origin (method url-fetch) (uri (cran-uri "whisker" version)) (sha256 (base32 - "0z4cn115gxcl086d6bnqr8afi67b6a7xqg6ivmk3l4ng1x8kcj28")))) + "1a7vz0dk95xfjvi38wbpw8vmf5qn3g8p490msz2rw0piwidmk1ks")))) (build-system r-build-system) (home-page "https://github.com/edwindj/whisker") (synopsis "Logicless mustache templating for R") -- cgit v1.2.3 From a1a7afc06ce62257f15ca6515ac3663094253fcd Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:38:21 +0200 Subject: gnu: r-hms: Update to 0.5.1. * gnu/packages/statistics.scm (r-hms): Update to 0.5.1. --- gnu/packages/statistics.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 8ea4fc0e9b..8f6534ffcd 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2490,14 +2490,14 @@ were originally a part of the r-devtools package.") (define-public r-hms (package (name "r-hms") - (version "0.5.0") + (version "0.5.1") (source (origin (method url-fetch) (uri (cran-uri "hms" version)) (sha256 (base32 - "06snfqdczr0x0nbp7qnvwhlp2pw0wx9c2y3xb4gr1wrvbik74y58")))) + "1v4cxfpvp85la4gqla6b4q2bwx4jv1fxqwndcnjsibbnybz6wcvd")))) (build-system r-build-system) (propagated-inputs `(("r-rlang" ,r-rlang) -- cgit v1.2.3 From 21890aad50acc65bc29c3310036d1b1d273c0250 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:38:31 +0200 Subject: gnu: r-rmarkdown: Update to 1.15. * gnu/packages/statistics.scm (r-rmarkdown): Update to 1.15. --- gnu/packages/statistics.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 8f6534ffcd..bc770e8afd 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2696,14 +2696,14 @@ certain criterion, e.g., it contains a certain regular file.") (define-public r-rmarkdown (package (name "r-rmarkdown") - (version "1.14") + (version "1.15") (source (origin (method url-fetch) (uri (cran-uri "rmarkdown" version)) (sha256 (base32 - "0qfw5rkvwqpgix32g6qy9xrr50awmm146aqbm836xravih2b2dpn")))) + "0fkfzxkvakc6bb1s2lx7sxmnfff8q1m9isihynhiyqh4x8yikcmw")))) (properties `((upstream-name . "rmarkdown"))) (build-system r-build-system) (propagated-inputs -- cgit v1.2.3 From df0f876ee418dc6544e27b66d232353e476841a7 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:38:36 +0200 Subject: gnu: r-pbapply: Update to 1.4-2. * gnu/packages/statistics.scm (r-pbapply): Update to 1.4-2. --- gnu/packages/statistics.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index bc770e8afd..143df3e63e 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -5028,14 +5028,14 @@ VGLMs can be loosely thought of as multivariate generalised linear models.") (define-public r-pbapply (package (name "r-pbapply") - (version "1.4-1") + (version "1.4-2") (source (origin (method url-fetch) (uri (cran-uri "pbapply" version)) (sha256 (base32 - "1bbws9n90cqnnp5k58hp852jwmm6513jnhn4vzhl9f8x314k6qxk")))) + "1xmk4p006v8gij26rs6kp5prjyf2n32nqjxiyp8a6kvgyc4z46dc")))) (build-system r-build-system) (home-page "https://github.com/psolymos/pbapply") (synopsis "Adding progress bar to apply functions") -- cgit v1.2.3 From aea33b475b043a24ba1c2d9adbd64119cc142745 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:38:44 +0200 Subject: gnu: r-iranges: Update to 2.18.2. * gnu/packages/bioinformatics.scm (r-iranges): Update to 2.18.2. --- gnu/packages/bioinformatics.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 779a972520..02b2cd17e5 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -7378,13 +7378,13 @@ S4Vectors package itself.") (define-public r-iranges (package (name "r-iranges") - (version "2.18.1") + (version "2.18.2") (source (origin (method url-fetch) (uri (bioconductor-uri "IRanges" version)) (sha256 (base32 - "1d64sh43pfc9vj2l7y7x6sb44l67wlnn3dzygp7ws0smn06mardq")))) + "0dc35844c1mfj07hvy6yn4wag6qdggbgl9gjcg3wpkh9hkm60a5n")))) (properties `((upstream-name . "IRanges"))) (build-system r-build-system) -- cgit v1.2.3 From e5bc6fce19f848ff8a983a008c35f6d6dc1cd01e Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:38:48 +0200 Subject: gnu: r-annotationdbi: Update to 1.46.1. * gnu/packages/bioinformatics.scm (r-annotationdbi): Update to 1.46.1. --- gnu/packages/bioinformatics.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 02b2cd17e5..e6a6d082a1 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -7631,13 +7631,13 @@ on Bioconductor or which replace R functions.") (define-public r-annotationdbi (package (name "r-annotationdbi") - (version "1.46.0") + (version "1.46.1") (source (origin (method url-fetch) (uri (bioconductor-uri "AnnotationDbi" version)) (sha256 (base32 - "0lfq5668a6sq4kqhxx78hl3jcaqdsaaliiybl9xyya2scdk8c29c")))) + "13nanz4nzy0mcda8ljz2g8d81hpqfz6jky7ydz5hpk0g2264b9ga")))) (properties `((upstream-name . "AnnotationDbi"))) (build-system r-build-system) -- cgit v1.2.3 From 2c7a32c2acfee352784ba56f8c70f6f38665330d Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:38:54 +0200 Subject: gnu: r-biomart: Update to 2.40.4. * gnu/packages/bioinformatics.scm (r-biomart): Update to 2.40.4. --- gnu/packages/bioinformatics.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index e6a6d082a1..02234519d6 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -7658,13 +7658,13 @@ annotation data packages using SQLite data storage.") (define-public r-biomart (package (name "r-biomart") - (version "2.40.3") + (version "2.40.4") (source (origin (method url-fetch) (uri (bioconductor-uri "biomaRt" version)) (sha256 (base32 - "022m1r44s00c5k9bmv0lr22lcn662nhc91aazvv0yyysxjamyf60")))) + "0dj51qkxm7bh24b3bs1di7lic6zgi7g5gf9iqkqhrwkbm7sqvn0v")))) (properties `((upstream-name . "biomaRt"))) (build-system r-build-system) -- cgit v1.2.3 From 91addfe05c14b6ee10890dfba43847a8a607819a Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:38:57 +0200 Subject: gnu: r-rtracklayer: Update to 1.44.3. * gnu/packages/bioinformatics.scm (r-rtracklayer): Update to 1.44.3. --- gnu/packages/bioinformatics.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 02234519d6..7d6d5e8c48 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -7883,13 +7883,13 @@ alignments.") (define-public r-rtracklayer (package (name "r-rtracklayer") - (version "1.44.2") + (version "1.44.3") (source (origin (method url-fetch) (uri (bioconductor-uri "rtracklayer" version)) (sha256 (base32 - "03b4rfsbzjjf5kxcsjv7kq8hrsgcvz9rfzcn2v7fx3nr818pbb8s")))) + "091zydz1zpz519ha0jkbvzrhxjvw5r2963qz9grmvl2jd8girvcg")))) (build-system r-build-system) (arguments `(#:phases -- cgit v1.2.3 From 32fcd898f0e73b34dd8f11af952b87707e461f7a Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:39:11 +0200 Subject: gnu: r-seurat: Update to 3.1.0. * gnu/packages/bioinformatics.scm (r-seurat): Update to 3.1.0. [propagated-inputs]: Add r-leiden, r-rcppannoy, and r-uwot. --- gnu/packages/bioinformatics.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 7d6d5e8c48..2c6648b294 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -9457,13 +9457,13 @@ and irregular enzymatic cleavages, mass measurement accuracy, etc.") (define-public r-seurat (package (name "r-seurat") - (version "3.0.2") + (version "3.1.0") (source (origin (method url-fetch) (uri (cran-uri "Seurat" version)) (sha256 (base32 - "016fgcmjz3sjfxdvam5hd7mdxpmpnc7f6p5zqlh97m21dgn5vpqn")))) + "0icxndnnkkmmr9hhd01dv3w8pih7x9r0rlp3fq9pk3qajp9gmlyq")))) (properties `((upstream-name . "Seurat"))) (build-system r-build-system) (propagated-inputs @@ -9480,6 +9480,7 @@ and irregular enzymatic cleavages, mass measurement accuracy, etc.") ("r-igraph" ,r-igraph) ("r-irlba" ,r-irlba) ("r-kernsmooth" ,r-kernsmooth) + ("r-leiden" ,r-leiden) ("r-lmtest" ,r-lmtest) ("r-mass" ,r-mass) ("r-matrix" ,r-matrix) @@ -9490,6 +9491,7 @@ and irregular enzymatic cleavages, mass measurement accuracy, etc.") ("r-rann" ,r-rann) ("r-rcolorbrewer" ,r-rcolorbrewer) ("r-rcpp" ,r-rcpp) + ("r-rcppannoy" ,r-rcppannoy) ("r-rcppeigen" ,r-rcppeigen) ("r-rcppprogress" ,r-rcppprogress) ("r-reticulate" ,r-reticulate) @@ -9500,7 +9502,8 @@ and irregular enzymatic cleavages, mass measurement accuracy, etc.") ("r-scales" ,r-scales) ("r-sctransform" ,r-sctransform) ("r-sdmtools" ,r-sdmtools) - ("r-tsne" ,r-tsne))) + ("r-tsne" ,r-tsne) + ("r-uwot" ,r-uwot))) (home-page "http://www.satijalab.org/seurat") (synopsis "Seurat is an R toolkit for single cell genomics") (description -- cgit v1.2.3 From 9b275285e9d391abcbc6757172eb7d3704e75cd3 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:39:45 +0200 Subject: gnu: r-fgsea: Update to 1.10.1. * gnu/packages/bioconductor.scm (r-fgsea): Update to 1.10.1. --- gnu/packages/bioconductor.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm index a416dbc764..03c2d8e7c7 100644 --- a/gnu/packages/bioconductor.scm +++ b/gnu/packages/bioconductor.scm @@ -2999,14 +2999,14 @@ phenotype of interest.") (define-public r-fgsea (package (name "r-fgsea") - (version "1.10.0") + (version "1.10.1") (source (origin (method url-fetch) (uri (bioconductor-uri "fgsea" version)) (sha256 (base32 - "07mvv1i690q80fm8sxgdqxchamn76409vn91ppgcck2xpi6b8q6c")))) + "1k2f9hkp1mvc9fpqzhbf08jd0yg4xaa312v9vy37fxd9pyrwp5a6")))) (build-system r-build-system) (propagated-inputs `(("r-bh" ,r-bh) -- cgit v1.2.3 From b58b4410e2f3a4d70c9a942203399c74ac9fd4c5 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:39:49 +0200 Subject: gnu: r-mixomics: Update to 6.8.2. * gnu/packages/bioconductor.scm (r-mixomics): Update to 6.8.2. --- gnu/packages/bioconductor.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm index 03c2d8e7c7..3faf79fa0e 100644 --- a/gnu/packages/bioconductor.scm +++ b/gnu/packages/bioconductor.scm @@ -5022,14 +5022,14 @@ self-organizing map clustering and minimal spanning trees.") (define-public r-mixomics (package (name "r-mixomics") - (version "6.8.0") + (version "6.8.2") (source (origin (method url-fetch) (uri (bioconductor-uri "mixOmics" version)) (sha256 (base32 - "1f08jx35amn3sfcmqb96mjxxsm6dnpzhff625z758x1992wj4zsk")))) + "0issfrhsgc102sr33q9v6w6jrrd32plig7szd1nm0n4r3yn4y2fc")))) (properties `((upstream-name . "mixOmics"))) (build-system r-build-system) (propagated-inputs -- cgit v1.2.3 From e107ccea8421cd9b74589b73c15127fc812c3a33 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:39:56 +0200 Subject: gnu: r-ldblock: Update to 1.14.2. * gnu/packages/bioinformatics.scm (r-ldblock): Update to 1.14.2. [propagated-inputs]: Remove r-erma; add r-ensdb-hsapiens-v75, r-ensembldb, and r-httr. --- gnu/packages/bioinformatics.scm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 2c6648b294..f5901703ce 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -10190,22 +10190,24 @@ by Ernst and Kellis.") (define-public r-ldblock (package (name "r-ldblock") - (version "1.14.0") + (version "1.14.2") (source (origin (method url-fetch) (uri (bioconductor-uri "ldblock" version)) (sha256 (base32 - "0lraxhq9ny3468534klrl64nx0dpaf9cbd5bir6m5qma8j7kfnyd")))) + "0xx04cghx6ads1ackwnw3z0gf72qv461nznzmcnkgmp7w5n9m2af")))) (build-system r-build-system) (propagated-inputs `(("r-biocgenerics" ,r-biocgenerics) - ("r-erma" ,r-erma) + ("r-ensdb-hsapiens-v75" ,r-ensdb-hsapiens-v75) + ("r-ensembldb" ,r-ensembldb) ("r-genomeinfodb" ,r-genomeinfodb) ("r-genomicfiles" ,r-genomicfiles) ("r-go-db" ,r-go-db) ("r-homo-sapiens" ,r-homo-sapiens) + ("r-httr" ,r-httr) ("r-matrix" ,r-matrix) ("r-rsamtools" ,r-rsamtools) ("r-snpstats" ,r-snpstats) -- cgit v1.2.3 From c7358ac4fc6369cdf87f95ec8600a21e809a22eb Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:45:17 +0200 Subject: import: cran: Retry failed git imports on Bioconductor. * guix/import/cran.scm (cran->guix-package): Retry failed git imports on Bioconductor. --- guix/import/cran.scm | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/guix/import/cran.scm b/guix/import/cran.scm index 51c7ea7b2f..b5321b44ef 100644 --- a/guix/import/cran.scm +++ b/guix/import/cran.scm @@ -494,12 +494,16 @@ from the alist META, which was derived from the R package's DESCRIPTION file." "Fetch the metadata for PACKAGE-NAME from REPO and return the `package' s-expression corresponding to that package, or #f on failure." (let ((description (fetch-description repo package-name))) - (if (and (not description) - (eq? repo 'bioconductor)) - ;; Retry import from CRAN - (cran->guix-package package-name 'cran) - (and description - (description->package repo description))))))) + (if description + (description->package repo description) + (case repo + ((git) + ;; Retry import from Bioconductor + (cran->guix-package package-name 'bioconductor)) + ((bioconductor) + ;; Retry import from CRAN + (cran->guix-package package-name 'cran)) + (else #f))))))) (define* (cran-recursive-import package-name #:optional (repo 'cran)) (recursive-import package-name repo -- cgit v1.2.3 From 8786fec4859f36aeb2e6b5d136b4507088d2b5a1 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 2 Sep 2019 14:46:04 +0200 Subject: import: cran: Only use the git import with what looks like a URL. * guix/import/cran.scm (fetch-description): Abort if the argument does not look like a URL. --- guix/import/cran.scm | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/guix/import/cran.scm b/guix/import/cran.scm index b5321b44ef..35caa3e463 100644 --- a/guix/import/cran.scm +++ b/guix/import/cran.scm @@ -230,16 +230,17 @@ from ~s: ~a (~s)~%" (if (boolean? type) meta (cons `(bioconductor-type . ,type) meta)))))))))) ((git) - ;; Download the git repository at "NAME" - (call-with-values - (lambda () (download name #t)) - (lambda (dir commit) - (and=> (description->alist (with-input-from-file - (string-append dir "/DESCRIPTION") read-string)) - (lambda (meta) - (cons* `(git . ,name) - `(git-commit . ,commit) - meta)))))))) + (and (string-prefix? "http" name) + ;; Download the git repository at "NAME" + (call-with-values + (lambda () (download name #t)) + (lambda (dir commit) + (and=> (description->alist (with-input-from-file + (string-append dir "/DESCRIPTION") read-string)) + (lambda (meta) + (cons* `(git . ,name) + `(git-commit . ,commit) + meta))))))))) (define (listify meta field) "Look up FIELD in the alist META. If FIELD contains a comma-separated -- cgit v1.2.3 From 76ee4446fdb214a35972848544b09ea555931a30 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 2 Sep 2019 15:12:13 +0300 Subject: gnu: Add rust-redox-syscall, rust-thread-id. * gnu/packages/crates-io.scm (rust-redox-syscall, rust-thread-id): New variables. --- gnu/packages/crates-io.scm | 48 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c3d2419f88..a4d2e17524 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1413,6 +1413,28 @@ and @code{ptrdistance}.") (license (list license:asl2.0 license:expat)))) +;; This package requires features which are unavailable +;; on the stable releases of Rust. +(define-public rust-redox-syscall ; guix upstreamable + (package + (name "rust-redox-syscall") + (version "0.1.56") + (source + (origin + (method url-fetch) + (uri (crate-uri "redox_syscall" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "110y7dyfm2vci4x5vk7gr0q551dvp31npl99fnsx2fb17wzwcf94")))) + (build-system cargo-build-system) + (home-page "https://gitlab.redox-os.org/redox-os/syscall") + (synopsis "Rust library to access raw Redox system calls") + (description "This package provides a Rust library to access raw Redox +system calls.") + (properties '((hidden? . #t))) + (license license:expat))) + (define-public rust-regex-syntax (package (name "rust-regex-syntax") @@ -1933,6 +1955,32 @@ bindings are a small wrapper around the raw C functions, which converts integer return values to @code{std::io::Result} to indicate success or failure.") (license license:expat))) +(define-public rust-thread-id + (package + (name "rust-thread-id") + (version "3.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "thread-id" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1h90v19fjz3x9b25ywh68z5yf2zsmm6h5zb4rl302ckbsp4z9yy7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc) + ("rust-redox-syscall" ,rust-redox-syscall) + ("rust-winapi" ,rust-winapi)))) + (home-page "https://github.com/ruuda/thread-id") + (synopsis "Get a unique ID for the current thread in Rust") + (description + "For diagnostics and debugging it can often be useful to get an ID that is +different for every thread.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-thread-local (package (name "rust-thread-local") -- cgit v1.2.3 From 44b6397a58c6c5bc2cc45646667f0fc389c54f37 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 2 Sep 2019 15:15:11 +0300 Subject: gnu: Add rust-scoped-threadpool. * gnu/packages/crates-io.scm (rust-scoped-threadpool): New variable. --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a4d2e17524..410279255b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1603,6 +1603,34 @@ paths point to the same file.") server functionality.") (license license:expat))) +(define-public rust-scoped-threadpool + (package + (name "rust-scoped-threadpool") + (version "0.1.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "scoped_threadpool" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1a26d3lk40s9mrf4imhbik7caahmw2jryhhb6vqv6fplbbgzal8x")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-lazy-static" ,rust-lazy-static)))) + (home-page "https://github.com/Kimundi/scoped-threadpool-rs") + (synopsis "library for scoped and cached threadpools") + (description + "This crate provides a stable, safe and scoped threadpool. It can be used +to execute a number of short-lived jobs in parallel without the need to respawn +the underlying threads. Jobs are runnable by borrowing the pool for a given +scope, during which an arbitrary number of them can be executed. These jobs can +access data of any lifetime outside of the pools scope, which allows working on +non-'static references in parallel.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-scoped-tls (package (name "rust-scoped-tls") -- cgit v1.2.3 From bb41995dc76a3f305178d7c92161f8d72d13f061 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 2 Sep 2019 15:30:00 +0300 Subject: gnu: Add rust-owning-ref. * gnu/packages/crates-io.scm (rust-owning-ref): New variable. --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 410279255b..b9fd0b2ae5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1133,6 +1133,30 @@ implementation (which is unstable / requires nightly).") (license (list license:asl2.0 license:expat)))) +(define-public rust-owning-ref + (package + (name "rust-owning-ref") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "owning_ref" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "04zgwy77lin8qz398s6g44467pd6kjhbrlqifkia5rkr47mbi929")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-stable-deref-trait" ,rust-stable-deref-trait)))) + (home-page "https://github.com/Kimundi/owning-ref-rs") + (synopsis "Create references that carry their owner with them") + (description + "This package provides a library for creating references that carry their +owner with them. This can sometimes be useful because Rust borrowing rules +normally prevent moving a type that has been borrowed from.") + (license license:expat))) + (define-public rust-peeking-take-while (package (name "rust-peeking-take-while") -- cgit v1.2.3 From 74394983665a13573285f79060bcbb699fc2cecd Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 2 Sep 2019 15:42:08 +0300 Subject: gnu: Add rust-heapsize-0.3. * gnu/packages/crates-io.scm (rust-heapsize-0.3): New variable. --- gnu/packages/crates-io.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b9fd0b2ae5..9aa995ef94 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -664,6 +664,23 @@ heap.") (license (list license:asl2.0 license:expat)))) +(define-public rust-heapsize-0.3 + (package + (inherit rust-heapsize) + (name "rust-heapsize") + (version "0.3.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "heapsize" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0dmwc37vgsdjzk10443dj4f23439i9gch28jcwzmry3chrwx8v2m")))) + (arguments + `(#:cargo-inputs (("rust-kernel32-sys" ,rust-kernel32-sys)) + #:tests? #f)))) ;; No flexible-tests feature flags on this release. + (define-public rust-hex (package (name "rust-hex") -- cgit v1.2.3 From eb98d5a83ce98ece279fec51085521aafd976ec4 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 2 Sep 2019 15:51:26 +0300 Subject: gnu: Add rust-heapsize-plugin, rust-language-tags. * gnu/packages/crates-io.scm (rust-heapsize-plugin, rust-language-tags): New variables. --- gnu/packages/crates-io.scm | 59 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9aa995ef94..6f2a002a2f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -681,6 +681,37 @@ heap.") `(#:cargo-inputs (("rust-kernel32-sys" ,rust-kernel32-sys)) #:tests? #f)))) ;; No flexible-tests feature flags on this release. +;; This package makes use of removed features +(define-public rust-heapsize-plugin + (package + (name "rust-heapsize-plugin") + (version "0.1.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "heapsize_plugin" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1i72isf699q9jl167g2kg4xd6h3cd05rc79zaph58aqjy0g0m9y9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-heapsize" ,rust-heapsize-0.3)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-Cargo-toml + (lambda _ + (substitute* "Cargo.toml" + (("path = \"..\", ") "")) + #t))))) + (home-page "https://github.com/servo/heapsize") + (synopsis "Measure runtime size of an object on the heap") + (description + "This package automatically generates infrastructure for measuring the +total runtime size of an object on the heap") + (properties `((hidden? . #t))) + (license license:mpl2.0))) + (define-public rust-hex (package (name "rust-hex") @@ -818,6 +849,34 @@ friction with idiomatic Rust structs to ease interopability.") kernel32.") (license license:expat))) +(define-public rust-language-tags + (package + (name "rust-language-tags") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "language-tags" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "16hrjdpa827carq5x4b8zhas24d8kg4s16m6nmmn1kb7cr5qh7d9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-heapsize" ,rust-heapsize-0.3)) + #:cargo-development-inputs + (("rust-heapsize-plugin" ,rust-heapsize-plugin)))) + (home-page "https://github.com/pyfisch/rust-language-tags") + (synopsis "Language tags for Rust") + (description + "Language tags can be used identify human languages, scripts e.g. Latin +script, countries and other regions. They are commonly used in HTML and HTTP +@code{Content-Language} and @code{Accept-Language} header fields. This package +currently supports parsing (fully conformant parser), formatting and comparing +language tags.") + (license license:expat))) + (define-public rust-lazy-static (package (name "rust-lazy-static") -- cgit v1.2.3 From d34e9114e679666dfbf7caf577117010eca20520 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 2 Sep 2019 11:28:18 +0200 Subject: doc: Explain that "guix import" and "guix refresh" may need GnuPG. Fixes . Reported by Jesse Gibbons . * doc/guix.texi (Invoking guix import, Invoking guix refresh): Mention that GnuPG must be installed. --- doc/guix.texi | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 031ee53295..0510f57c23 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -8509,8 +8509,13 @@ guix import @var{importer} @var{options}@dots{} @var{importer} specifies the source from which to import package metadata, and @var{options} specifies a package identifier and other -options specific to @var{importer}. Currently, the available -``importers'' are: +options specific to @var{importer}. + +Some of the importers rely on the ability to run the @command{gpgv} command. +For these, GnuPG must be installed and in @code{$PATH}; run @code{guix install +gnupg} if needed. + +Currently, the available ``importers'' are: @table @code @item gnu @@ -8959,7 +8964,10 @@ update the version numbers and source tarball hashes of those package recipes (@pxref{Defining Packages}). This is achieved by downloading each package's latest source tarball and its associated OpenPGP signature, authenticating the downloaded tarball against its signature -using @command{gpg}, and finally computing its hash. When the public +using @command{gpgv}, and finally computing its hash---note that GnuPG must be +installed and in @code{$PATH}; run @code{guix install gnupg} if needed. + +When the public key used to sign the tarball is missing from the user's keyring, an attempt is made to automatically retrieve it from a public key server; when this is successful, the key is added to the user's keyring; otherwise, -- cgit v1.2.3 From 9323ab550f3bcb75fcaefbb20847595974702d5b Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 29 Aug 2019 16:01:32 +0200 Subject: tests: 'with-http-server' accepts multiple responses. * guix/tests/http.scm (call-with-http-server): Replace 'code' and 'data' parameters with 'responses+data'. Compute RESPONSES as a function of that. Remove #:headers parameter. [http-write]: Quit only when RESPONSES is empty. [server-body]: Get the response and data from RESPONSES, and set it to point to the rest. (with-http-server): Adjust accordingly. * tests/derivations.scm ("'download' built-in builder") ("'download' built-in builder, invalid hash") ("'download' built-in builder, not found") ("'download' built-in builder, check mode"): Adjust to new 'with-http-server' interface. * tests/lint.scm ("home-page: 200") ("home-page: 200 but short length") ("home-page: 404", "home-page: 301, invalid"): ("home-page: 301 -> 200", "home-page: 301 -> 404") ("source: 200", "source: 200 but short length") ("source: 404", "source: 404 and 200") ("source: 301 -> 200", "source: 301 -> 404"): ("github-url", github-url): Likewise. * tests/swh.scm (with-json-result) ("lookup-origin, not found"): Likewise. --- guix/tests/http.scm | 39 ++++++++++++-------- tests/derivations.scm | 12 +++---- tests/lint.scm | 98 ++++++++++++++++++++++++++++++--------------------- tests/swh.scm | 5 +-- 4 files changed, 91 insertions(+), 63 deletions(-) diff --git a/guix/tests/http.scm b/guix/tests/http.scm index a56d6f213d..05ce39bca2 100644 --- a/guix/tests/http.scm +++ b/guix/tests/http.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2014, 2015, 2016, 2017 Ludovic Courtès +;;; Copyright © 2014, 2015, 2016, 2017, 2019 Ludovic Courtès ;;; ;;; This file is part of GNU Guix. ;;; @@ -22,6 +22,7 @@ #:use-module (web server http) #:use-module (web response) #:use-module (srfi srfi-39) + #:use-module (ice-9 match) #:export (with-http-server call-with-http-server %http-server-port @@ -69,10 +70,20 @@ needed." (string-append "http://localhost:" (number->string (%http-server-port)) "/foo/bar")) -(define* (call-with-http-server code data thunk - #:key (headers '())) - "Call THUNK with an HTTP server running and returning CODE and DATA (a -string) on HTTP requests." +(define* (call-with-http-server responses+data thunk) + "Call THUNK with an HTTP server running and returning RESPONSES+DATA on HTTP +requests. Each elements of RESPONSES+DATA must be a tuple containing a +response and a string, or an HTTP response code and a string." + (define responses + (map (match-lambda + (((? response? response) data) + (list response data)) + (((? integer? code) data) + (list (build-response #:code code + #:reason-phrase "Such is life") + data))) + responses+data)) + (define (http-write server client response body) "Write RESPONSE." (let* ((response (write-response response client)) @@ -82,7 +93,8 @@ string) on HTTP requests." (else (write-response-body response body))) (close-port port) - (quit #t) ;exit the server thread + (when (null? responses) + (quit #t)) ;exit the server thread (values))) ;; Mutex and condition variable to synchronize with the HTTP server. @@ -105,10 +117,10 @@ string) on HTTP requests." (define (server-body) (define (handle request body) - (values (build-response #:code code - #:reason-phrase "Such is life" - #:headers headers) - data)) + (match responses + (((response data) rest ...) + (set! responses rest) + (values response data)))) (let ((socket (open-http-server-socket))) (catch 'quit @@ -126,10 +138,7 @@ string) on HTTP requests." (define-syntax with-http-server (syntax-rules () - ((_ (code headers) data body ...) - (call-with-http-server code data (lambda () body ...) - #:headers headers)) - ((_ code data body ...) - (call-with-http-server code data (lambda () body ...))))) + ((_ responses+data body ...) + (call-with-http-server responses+data (lambda () body ...))))) ;;; http.scm ends here diff --git a/tests/derivations.scm b/tests/derivations.scm index db73d19b3a..00cedef32c 100644 --- a/tests/derivations.scm +++ b/tests/derivations.scm @@ -210,7 +210,7 @@ (test-skip 1)) (test-assert "'download' built-in builder" (let ((text (random-text))) - (with-http-server 200 text + (with-http-server `((200 ,text)) (let* ((drv (derivation %store "world" "builtin:download" '() #:env-vars `(("url" @@ -225,7 +225,7 @@ (unless (http-server-can-listen?) (test-skip 1)) (test-assert "'download' built-in builder, invalid hash" - (with-http-server 200 "hello, world!" + (with-http-server `((200 "hello, world!")) (let* ((drv (derivation %store "world" "builtin:download" '() #:env-vars `(("url" @@ -240,7 +240,7 @@ (unless (http-server-can-listen?) (test-skip 1)) (test-assert "'download' built-in builder, not found" - (with-http-server 404 "not found" + (with-http-server '((404 "not found")) (let* ((drv (derivation %store "will-never-be-found" "builtin:download" '() #:env-vars `(("url" @@ -275,9 +275,9 @@ . ,(object->string (%local-url)))) #:hash-algo 'sha256 #:hash (sha256 (string->utf8 text))))) - (and (with-http-server 200 text + (and (with-http-server `((200 ,text)) (build-derivations %store (list drv))) - (with-http-server 200 text + (with-http-server `((200 ,text)) (build-derivations %store (list drv) (build-mode check))) (string=? (call-with-input-file (derivation->output-path drv) @@ -1264,5 +1264,5 @@ (test-end) ;; Local Variables: -;; eval: (put 'with-http-server 'scheme-indent-function 2) +;; eval: (put 'with-http-server 'scheme-indent-function 1) ;; End: diff --git a/tests/lint.scm b/tests/lint.scm index db6dd6dbe1..c8b88136f4 100644 --- a/tests/lint.scm +++ b/tests/lint.scm @@ -390,7 +390,7 @@ (test-skip (if (http-server-can-listen?) 0 1)) (test-equal "home-page: 200" '() - (with-http-server 200 %long-string + (with-http-server `((200 ,%long-string)) (let ((pkg (package (inherit (dummy-package "x")) (home-page (%local-url))))) @@ -399,7 +399,7 @@ (test-skip (if (http-server-can-listen?) 0 1)) (test-equal "home-page: 200 but short length" "URI http://localhost:9999/foo/bar returned suspiciously small file (18 bytes)" - (with-http-server 200 "This is too small." + (with-http-server `((200 "This is too small.")) (let ((pkg (package (inherit (dummy-package "x")) (home-page (%local-url))))) @@ -410,7 +410,7 @@ (test-skip (if (http-server-can-listen?) 0 1)) (test-equal "home-page: 404" "URI http://localhost:9999/foo/bar not reachable: 404 (\"Such is life\")" - (with-http-server 404 %long-string + (with-http-server `((404 ,%long-string)) (let ((pkg (package (inherit (dummy-package "x")) (home-page (%local-url))))) @@ -420,7 +420,7 @@ (test-skip (if (http-server-can-listen?) 0 1)) (test-equal "home-page: 301, invalid" "invalid permanent redirect from http://localhost:9999/foo/bar" - (with-http-server 301 %long-string + (with-http-server `((301 ,%long-string)) (let ((pkg (package (inherit (dummy-package "x")) (home-page (%local-url))))) @@ -430,12 +430,14 @@ (test-skip (if (http-server-can-listen?) 0 1)) (test-equal "home-page: 301 -> 200" "permanent redirect from http://localhost:10000/foo/bar to http://localhost:9999/foo/bar" - (with-http-server 200 %long-string - (let ((initial-url (%local-url))) + (with-http-server `((200 ,%long-string)) + (let* ((initial-url (%local-url)) + (redirect (build-response #:code 301 + #:headers + `((location + . ,(string->uri initial-url)))))) (parameterize ((%http-server-port (+ 1 (%http-server-port)))) - (with-http-server (301 `((location - . ,(string->uri initial-url)))) - "" + (with-http-server `((,redirect "")) (let ((pkg (package (inherit (dummy-package "x")) (home-page (%local-url))))) @@ -445,12 +447,14 @@ (test-skip (if (http-server-can-listen?) 0 1)) (test-equal "home-page: 301 -> 404" "URI http://localhost:10000/foo/bar not reachable: 404 (\"Such is life\")" - (with-http-server 404 "booh!" - (let ((initial-url (%local-url))) + (with-http-server '((404 "booh!")) + (let* ((initial-url (%local-url)) + (redirect (build-response #:code 301 + #:headers + `((location + . ,(string->uri initial-url)))))) (parameterize ((%http-server-port (+ 1 (%http-server-port)))) - (with-http-server (301 `((location - . ,(string->uri initial-url)))) - "" + (with-http-server `((,redirect "")) (let ((pkg (package (inherit (dummy-package "x")) (home-page (%local-url))))) @@ -583,7 +587,7 @@ (test-skip (if (http-server-can-listen?) 0 1)) (test-equal "source: 200" '() - (with-http-server 200 %long-string + (with-http-server `((200 ,%long-string)) (let ((pkg (package (inherit (dummy-package "x")) (source (origin @@ -595,7 +599,7 @@ (test-skip (if (http-server-can-listen?) 0 1)) (test-equal "source: 200 but short length" "URI http://localhost:9999/foo/bar returned suspiciously small file (18 bytes)" - (with-http-server 200 "This is too small." + (with-http-server '((200 "This is too small.")) (let ((pkg (package (inherit (dummy-package "x")) (source (origin @@ -610,7 +614,7 @@ (test-skip (if (http-server-can-listen?) 0 1)) (test-equal "source: 404" "URI http://localhost:9999/foo/bar not reachable: 404 (\"Such is life\")" - (with-http-server 404 %long-string + (with-http-server `((404 ,%long-string)) (let ((pkg (package (inherit (dummy-package "x")) (source (origin @@ -625,10 +629,10 @@ (test-skip (if (http-server-can-listen?) 0 1)) (test-equal "source: 404 and 200" '() - (with-http-server 404 %long-string + (with-http-server `((404 ,%long-string)) (let ((bad-url (%local-url))) (parameterize ((%http-server-port (+ 1 (%http-server-port)))) - (with-http-server 200 %long-string + (with-http-server `((200 ,%long-string)) (let ((pkg (package (inherit (dummy-package "x")) (source (origin @@ -642,11 +646,14 @@ (test-skip (if (http-server-can-listen?) 0 1)) (test-equal "source: 301 -> 200" "permanent redirect from http://localhost:10000/foo/bar to http://localhost:9999/foo/bar" - (with-http-server 200 %long-string - (let ((initial-url (%local-url))) + (with-http-server `((200 ,%long-string)) + (let* ((initial-url (%local-url)) + (redirect (build-response #:code 301 + #:headers + `((location + . ,(string->uri initial-url)))))) (parameterize ((%http-server-port (+ 1 (%http-server-port)))) - (with-http-server (301 `((location . ,(string->uri initial-url)))) - "" + (with-http-server `((,redirect "")) (let ((pkg (package (inherit (dummy-package "x")) (source (origin @@ -661,11 +668,14 @@ (test-skip (if (http-server-can-listen?) 0 1)) (test-equal "source: 301 -> 404" "URI http://localhost:10000/foo/bar not reachable: 404 (\"Such is life\")" - (with-http-server 404 "booh!" - (let ((initial-url (%local-url))) + (with-http-server '((404 "booh!")) + (let* ((initial-url (%local-url)) + (redirect (build-response #:code 301 + #:headers + `((location + . ,(string->uri initial-url)))))) (parameterize ((%http-server-port (+ 1 (%http-server-port)))) - (with-http-server (301 `((location . ,(string->uri initial-url)))) - "" + (with-http-server `((,redirect "")) (let ((pkg (package (inherit (dummy-package "x")) (source (origin @@ -697,7 +707,7 @@ (test-equal "github-url" '() - (with-http-server 200 %long-string + (with-http-server `((200 ,%long-string)) (check-github-url (dummy-package "x" (source (origin @@ -709,17 +719,25 @@ (test-equal "github-url: one suggestion" (string-append "URL should be '" github-url "'") - (with-http-server (301 `((location . ,(string->uri github-url)))) "" - (let ((initial-uri (%local-url))) - (parameterize ((%http-server-port (+ 1 (%http-server-port)))) - (with-http-server (302 `((location . ,(string->uri initial-uri)))) "" - (single-lint-warning-message - (check-github-url - (dummy-package "x" (source - (origin - (method url-fetch) - (uri (%local-url)) - (sha256 %null-sha256))))))))))) + (let ((redirect (build-response #:code 301 + #:headers + `((location + . ,(string->uri github-url)))))) + (with-http-server `((,redirect "")) + (let* ((initial-url (%local-url)) + (redirect (build-response #:code 302 + #:headers + `((location + . ,(string->uri initial-url)))))) + (parameterize ((%http-server-port (+ 1 (%http-server-port)))) + (with-http-server `((,redirect "")) + (single-lint-warning-message + (check-github-url + (dummy-package "x" (source + (origin + (method url-fetch) + (uri (%local-url)) + (sha256 %null-sha256)))))))))))) (test-equal "github-url: already the correct github url" '() (check-github-url @@ -844,6 +862,6 @@ (test-end "lint") ;; Local Variables: -;; eval: (put 'with-http-server 'scheme-indent-function 2) +;; eval: (put 'with-http-server 'scheme-indent-function 1) ;; eval: (put 'with-warnings 'scheme-indent-function 0) ;; End: diff --git a/tests/swh.scm b/tests/swh.scm index 07f0fda37b..9a0da07ae1 100644 --- a/tests/swh.scm +++ b/tests/swh.scm @@ -40,7 +40,7 @@ \"dir_id\": 2 } ]") (define-syntax-rule (with-json-result str exp ...) - (with-http-server 200 str + (with-http-server `((200 ,str)) (parameterize ((%swh-base-url (%local-url))) exp ...))) @@ -56,7 +56,7 @@ (test-equal "lookup-origin, not found" #f - (with-http-server 404 "Nope." + (with-http-server `((404 "Nope.")) (parameterize ((%swh-base-url (%local-url))) (lookup-origin "http://example.org/whatever")))) @@ -72,5 +72,6 @@ ;; Local Variables: ;; eval: (put 'with-json-result 'scheme-indent-function 1) +;; eval: (put 'with-http-server 'scheme-indent-function 1) ;; End: -- cgit v1.2.3 From ba1c1853a79a5930ca7db7a6b368859f805df98d Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 29 Aug 2019 15:59:16 +0200 Subject: swh: Add hooks for rate limiting handling. * guix/swh.scm (%allow-request?, %save-rate-limit-reset-time) (%general-rate-limit-reset-time): New variables. (request-rate-limit-reached?, update-rate-limit-reset-time!): New procedures. (call): Call '%allow-request?'. Change 'swh-error' protocol to pass METHOD in addition to URL. * tests/swh.scm ("rate limit reached") ("%allow-request? and request-rate-limit-reached?"): New tests. --- guix/swh.scm | 84 +++++++++++++++++++++++++++++++++++++++++++++-------------- tests/swh.scm | 36 +++++++++++++++++++++++++ 2 files changed, 100 insertions(+), 20 deletions(-) diff --git a/guix/swh.scm b/guix/swh.scm index c253e217da..42f38ee048 100644 --- a/guix/swh.scm +++ b/guix/swh.scm @@ -20,6 +20,7 @@ #:use-module (guix base16) #:use-module (guix build utils) #:use-module ((guix build syscalls) #:select (mkdtemp!)) + #:use-module (web uri) #:use-module (web client) #:use-module (web response) #:use-module (json) @@ -32,6 +33,9 @@ #:use-module (ice-9 popen) #:use-module ((ice-9 ftw) #:select (scandir)) #:export (%swh-base-url + %allow-request? + + request-rate-limit-reached? origin? origin-id @@ -196,31 +200,71 @@ Software Heritage." ((? string? str) str) ((? null?) #f))) +(define %allow-request? + ;; Takes a URL and method (e.g., the 'http-get' procedure) and returns true + ;; to keep going. This can be used to disallow a requests when + ;; 'request-rate-limit-reached?' returns true, for instance. + (make-parameter (const #t))) + +;; The time when the rate limit for "/origin/save" POST requests and that of +;; other requests will be reset. +;; See . +(define %save-rate-limit-reset-time 0) +(define %general-rate-limit-reset-time 0) + +(define (request-rate-limit-reached? url method) + "Return true if the rate limit has been reached for URI." + (define uri + (string->uri url)) + + (define reset-time + (if (and (eq? method http-post) + (string-prefix? "/api/1/origin/save/" (uri-path uri))) + %save-rate-limit-reset-time + %general-rate-limit-reset-time)) + + (< (car (gettimeofday)) reset-time)) + +(define (update-rate-limit-reset-time! url method response) + "Update the rate limit reset time for URL and METHOD based on the headers in +RESPONSE." + (let ((uri (string->uri url))) + (match (assq-ref (response-headers response) 'x-ratelimit-reset) + ((= string->number (? number? reset)) + (if (and (eq? method http-post) + (string-prefix? "/api/1/origin/save/" (uri-path uri))) + (set! %save-rate-limit-reset-time reset) + (set! %general-rate-limit-reset-time reset))) + (_ + #f)))) + (define* (call url decode #:optional (method http-get) #:key (false-if-404? #t)) "Invoke the endpoint at URL using METHOD. Decode the resulting JSON body using DECODE, a one-argument procedure that takes an input port. When FALSE-IF-404? is true, return #f upon 404 responses." - (let*-values (((response port) - (method url #:streaming? #t))) - ;; See . - (match (assq-ref (response-headers response) 'x-ratelimit-remaining) - (#f #t) - ((? (compose zero? string->number)) - (throw 'swh-error url response)) - (_ #t)) - - (cond ((= 200 (response-code response)) - (let ((result (decode port))) - (close-port port) - result)) - ((and false-if-404? - (= 404 (response-code response))) - (close-port port) - #f) - (else - (close-port port) - (throw 'swh-error url response))))) + (and ((%allow-request?) url method) + (let*-values (((response port) + (method url #:streaming? #t))) + ;; See . + (match (assq-ref (response-headers response) 'x-ratelimit-remaining) + (#f #t) + ((? (compose zero? string->number)) + (update-rate-limit-reset-time! url method response) + (throw 'swh-error url method response)) + (_ #t)) + + (cond ((= 200 (response-code response)) + (let ((result (decode port))) + (close-port port) + result)) + ((and false-if-404? + (= 404 (response-code response))) + (close-port port) + #f) + (else + (close-port port) + (throw 'swh-error url method response)))))) (define-syntax define-query (syntax-rules (path) diff --git a/tests/swh.scm b/tests/swh.scm index 9a0da07ae1..e36c54e5fb 100644 --- a/tests/swh.scm +++ b/tests/swh.scm @@ -19,6 +19,7 @@ (define-module (test-swh) #:use-module (guix swh) #:use-module (guix tests http) + #:use-module (web response) #:use-module (srfi srfi-64)) ;; Test the JSON mapping machinery used in (guix swh). @@ -68,6 +69,41 @@ (directory-entry-length entry))) (lookup-directory "123")))) +(test-equal "rate limit reached" + 3000000000 + (let ((too-many (build-response + #:code 429 + #:reason-phrase "Too many requests" + + ;; Pretend we've reached the limit and it'll be reset in + ;; June 2065. + #:headers '((x-ratelimit-remaining . "0") + (x-ratelimit-reset . "3000000000"))))) + (with-http-server `((,too-many "Too bad.")) + (parameterize ((%swh-base-url (%local-url))) + (catch 'swh-error + (lambda () + (lookup-origin "http://example.org/guix.git")) + (lambda (key url method response) + ;; Ensure the reset time was recorded. + (@@ (guix swh) %general-rate-limit-reset-time))))))) + +(test-assert "%allow-request? and request-rate-limit-reached?" + ;; Here we test two things: that the rate limit set above is in effect and + ;; that %ALLOW-REQUEST? is called, and that 'request-rate-limit-reached?' + ;; returns true. + (let* ((key (gensym "skip-request")) + (skip-if-limit-reached + (lambda (url method) + (or (not (request-rate-limit-reached? url method)) + (throw key #t))))) + (parameterize ((%allow-request? skip-if-limit-reached)) + (catch key + (lambda () + (lookup-origin "http://example.org/guix.git") + #f) + (const #t))))) + (test-end "swh") ;; Local Variables: -- cgit v1.2.3 From d370cc73193f42fb86f08237b4ebb612ef822ae7 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 29 Aug 2019 16:02:29 +0200 Subject: swh: Make 'commit-id?' public. * guix/swh.scm (commit-id?): Make public. --- guix/swh.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/guix/swh.scm b/guix/swh.scm index 42f38ee048..01648a1ebe 100644 --- a/guix/swh.scm +++ b/guix/swh.scm @@ -105,6 +105,8 @@ request-cooking vault-fetch + commit-id? + swh-download)) ;;; Commentary: @@ -568,7 +570,7 @@ requested bundle cooking, waiting for completion...~%")) (define (commit-id? reference) "Return true if REFERENCE is likely a commit ID, false otherwise---e.g., if -it is a tag name." +it is a tag name. This is based on a simple heuristic so use with care!" (and (= (string-length reference) 40) (string-every char-set:hex-digit reference))) -- cgit v1.2.3 From 55549c7b9b778a79d3e1f3d085861ef36aabdca6 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 30 Aug 2019 00:54:15 +0200 Subject: lint: Add 'archival' checker. * guix/lint.scm (check-archival): New procedure. (%network-dependent-checkers): Add 'archival' checker. * tests/lint.scm ("archival: missing content") ("archival: content available") ("archival: missing revision") ("archival: revision available") ("archival: rate limit reached"): New tests. * doc/guix.texi (Invoking guix lint): Document it. --- doc/guix.texi | 25 +++++++++++++++ guix/lint.scm | 96 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++- tests/lint.scm | 81 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 201 insertions(+), 1 deletion(-) diff --git a/doc/guix.texi b/doc/guix.texi index 0510f57c23..de02ad8687 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -9249,6 +9249,31 @@ Parse the @code{source} URL to determine if a tarball from GitHub is autogenerated or if it is a release tarball. Unfortunately GitHub's autogenerated tarballs are sometimes regenerated. +@item archival +@cindex Software Heritage, source code archive +@cindex archival of source code, Software Heritage +Checks whether the package's source code is archived at +@uref{https://www.softwareheritage.org, Software Heritage}. + +When the source code that is not archived comes from a version-control system +(VCS)---e.g., it's obtained with @code{git-fetch}, send Software Heritage a +``save'' request so that it eventually archives it. This ensures that the +source will remain available in the long term, and that Guix can fall back to +Software Heritage should the source code disappear from its original host. +The status of recent ``save'' requests can be +@uref{https://archive.softwareheritage.org/save/#requests, viewed on-line}. + +When source code is a tarball obtained with @code{url-fetch}, simply print a +message when it is not archived. As of this writing, Software Heritage does +not allow requests to save arbitrary tarballs; we are working on ways to +ensure that non-VCS source code is also archived. + +Software Heritage +@uref{https://archive.softwareheritage.org/api/#rate-limiting, limits the +request rate per IP address}. When the limit is reached, @command{guix lint} +prints a message and the @code{archival} checker stops doing anything until +that limit has been reset. + @item cve @cindex security vulnerabilities @cindex CVE, Common Vulnerabilities and Exposures diff --git a/guix/lint.scm b/guix/lint.scm index 254f4e2830..ba38bef806 100644 --- a/guix/lint.scm +++ b/guix/lint.scm @@ -44,6 +44,8 @@ #:use-module ((guix ui) #:select (texi->plain-text fill-paragraph)) #:use-module (guix gnu-maintenance) #:use-module (guix cve) + #:use-module ((guix swh) #:hide (origin?)) + #:autoload (guix git-download) (git-reference?) #:use-module (ice-9 match) #:use-module (ice-9 regex) #:use-module (ice-9 format) @@ -80,6 +82,7 @@ check-vulnerabilities check-for-updates check-formatting + check-archival lint-warning lint-warning? @@ -1033,6 +1036,93 @@ the NIST server non-fatal." '())) (#f '()))) ; cannot find newer upstream release + +(define (check-archival package) + "Check whether PACKAGE's source code is archived on Software Heritage. If +it's not, and if its source code is a VCS snapshot, then send a \"save\" +request to Software Heritage. + +Software Heritage imposes limits on the request rate per client IP address. +This checker prints a notice and stops doing anything once that limit has been +reached." + (define (response->warning url method response) + (if (request-rate-limit-reached? url method) + (list (make-warning package + (G_ "Software Heritage rate limit reached; \ +try again later") + #:field 'source)) + (list (make-warning package + (G_ "'~a' returned ~a") + (list url (response-code response)) + #:field 'source)))) + + (define skip-key (gensym "skip-archival-check")) + + (define (skip-when-limit-reached url method) + (or (not (request-rate-limit-reached? url method)) + (throw skip-key #t))) + + (parameterize ((%allow-request? skip-when-limit-reached)) + (catch #t + (lambda () + (match (and (origin? (package-source package)) + (package-source package)) + (#f ;no source + '()) + ((= origin-uri (? git-reference? reference)) + (define url + (git-reference-url reference)) + (define commit + (git-reference-commit reference)) + + (match (if (commit-id? commit) + (or (lookup-revision commit) + (lookup-origin-revision url commit)) + (lookup-origin-revision url commit)) + ((? revision? revision) + '()) + (#f + ;; Revision is missing from the archive, attempt to save it. + (catch 'swh-error + (lambda () + (save-origin (git-reference-url reference) "git") + (list (make-warning + package + ;; TRANSLATORS: "Software Heritage" is a proper noun + ;; that must remain untranslated. See + ;; . + (G_ "scheduled Software Heritage archival") + #:field 'source))) + (lambda (key url method response . _) + (cond ((= 429 (response-code response)) + (list (make-warning + package + (G_ "archival rate limit exceeded; \ +try again later") + #:field 'source))) + (else + (response->warning url method response)))))))) + ((? origin? origin) + ;; Since "save" origins are not supported for non-VCS source, all + ;; we can do is tell whether a given tarball is available or not. + (if (origin-sha256 origin) ;XXX: for ungoogled-chromium + (match (lookup-content (origin-sha256 origin) "sha256") + (#f + (list (make-warning package + (G_ "source not archived on Software \ +Heritage") + #:field 'source))) + ((? content?) + '())) + '())))) + (match-lambda* + ((key url method response) + (response->warning url method response)) + ((key . args) + (if (eq? key skip-key) + '() + (apply throw key args))))))) + ;;; ;;; Source code formatting. @@ -1237,7 +1327,11 @@ or a list thereof") (lint-checker (name 'refresh) (description "Check the package for new upstream releases") - (check check-for-updates)))) + (check check-for-updates)) + (lint-checker + (name 'archival) + (description "Ensure source code archival on Software Heritage") + (check check-archival)))) (define %all-checkers (append %local-checkers diff --git a/tests/lint.scm b/tests/lint.scm index c8b88136f4..1b92f02b85 100644 --- a/tests/lint.scm +++ b/tests/lint.scm @@ -35,6 +35,7 @@ #:use-module (guix packages) #:use-module (guix lint) #:use-module (guix ui) + #:use-module (guix swh) #:use-module (gnu packages) #:use-module (gnu packages glib) #:use-module (gnu packages pkg-config) @@ -47,6 +48,7 @@ #:use-module (ice-9 regex) #:use-module (ice-9 getopt-long) #:use-module (ice-9 pretty-print) + #:use-module (rnrs bytevectors) #:use-module (srfi srfi-1) #:use-module (srfi srfi-9 gnu) #:use-module (srfi srfi-26) @@ -859,6 +861,85 @@ '() (check-formatting (dummy-package "x"))) +(test-assert "archival: missing content" + (let* ((origin (origin + (method url-fetch) + (uri "http://example.org/foo.tgz") + (sha256 (make-bytevector 32)))) + (warnings (with-http-server '((404 "Not archived.")) + (parameterize ((%swh-base-url (%local-url))) + (check-archival (dummy-package "x" + (source origin))))))) + (warning-contains? "not archived" warnings))) + +(test-equal "archival: content available" + '() + (let* ((origin (origin + (method url-fetch) + (uri "http://example.org/foo.tgz") + (sha256 (make-bytevector 32)))) + ;; https://archive.softwareheritage.org/api/1/content/ + (content "{ \"checksums\": {}, \"data_url\": \"xyz\", + \"length\": 42 }")) + (with-http-server `((200 ,content)) + (parameterize ((%swh-base-url (%local-url))) + (check-archival (dummy-package "x" (source origin))))))) + +(test-assert "archival: missing revision" + (let* ((origin (origin + (method git-fetch) + (uri (git-reference + (url "http://example.org/foo.git") + (commit "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))) + (sha256 (make-bytevector 32)))) + ;; https://archive.softwareheritage.org/api/1/origin/save/ + (save "{ \"origin_url\": \"http://example.org/foo.git\", + \"save_request_date\": \"2014-11-17T22:09:38+01:00\", + \"save_request_status\": \"accepted\", + \"save_task_status\": \"scheduled\" }") + (warnings (with-http-server `((404 "No revision.") ;lookup-revision + (404 "No origin.") ;lookup-origin + (200 ,save)) ;save-origin + (parameterize ((%swh-base-url (%local-url))) + (check-archival (dummy-package "x" (source origin))))))) + (warning-contains? "scheduled" warnings))) + +(test-equal "archival: revision available" + '() + (let* ((origin (origin + (method git-fetch) + (uri (git-reference + (url "http://example.org/foo.git") + (commit "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))) + (sha256 (make-bytevector 32)))) + ;; https://archive.softwareheritage.org/api/1/revision/ + (revision "{ \"author\": {}, \"parents\": [], + \"date\": \"2014-11-17T22:09:38+01:00\" }")) + (with-http-server `((200 ,revision)) + (parameterize ((%swh-base-url (%local-url))) + (check-archival (dummy-package "x" (source origin))))))) + +(test-assert "archival: rate limit reached" + ;; We should get a single warning stating that the rate limit was reached, + ;; and nothing more, in particular no other HTTP requests. + (let* ((origin (origin + (method url-fetch) + (uri "http://example.org/foo.tgz") + (sha256 (make-bytevector 32)))) + (too-many (build-response + #:code 429 + #:reason-phrase "Too many requests" + #:headers '((x-ratelimit-remaining . "0") + (x-ratelimit-reset . "3000000000")))) + (warnings (with-http-server `((,too-many "Rate limit reached.")) + (parameterize ((%swh-base-url (%local-url))) + (append-map (lambda (name) + (check-archival + (dummy-package name (source origin)))) + '("x" "y" "z")))))) + (string-contains (single-lint-warning-message warnings) + "rate limit reached"))) + (test-end "lint") ;; Local Variables: -- cgit v1.2.3 From 0403d01f01c22ddd552dd5a0cfb97b0e8e58da9e Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Mon, 2 Sep 2019 17:04:42 +0200 Subject: gnu: Add net.didierverna.asdf-flv. * gnu/packages/lisp.scm (cl-net.didierverna.asdf-flv, ecl-net.didierverna.asdf-flv, sbcl-net.didierverna.asdf-flv): New variables. --- gnu/packages/lisp.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 72587f2925..c6deb95eb3 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -710,6 +710,40 @@ portable between implementations.") (define-public ecl-alexandria (sbcl-package->ecl-package sbcl-alexandria)) +(define-public sbcl-net.didierverna.asdf-flv + (package + (name "sbcl-net.didierverna.asdf-flv") + (version "2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/didierverna/asdf-flv") + (commit (string-append "version-" version)))) + (file-name (git-file-name "asdf-flv" version)) + (sha256 + (base32 "1fi2y4baxan103jbg4idjddzihy03kwnj2mzbwrknw4d4x7xlgwj")))) + (build-system asdf-build-system/sbcl) + (synopsis "Common Lisp ASDF extension to provide support for file-local variables") + (description "ASDF-FLV provides support for file-local variables through +ASDF. A file-local variable behaves like @code{*PACKAGE*} and +@code{*READTABLE*} with respect to @code{LOAD} and @code{COMPILE-FILE}: a new +dynamic binding is created before processing the file, so that any +modification to the variable becomes essentially file-local. + +In order to make one or several variables file-local, use the macros +@code{SET-FILE-LOCAL-VARIABLE(S)}.") + (home-page "https://www.lrde.epita.fr/~didier/software/lisp/misc.php#asdf-flv") + (license (license:non-copyleft + "https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html" + "GNU All-Permissive License")))) + +(define-public cl-net.didierverna.asdf-flv + (sbcl-package->cl-source-package sbcl-net.didierverna.asdf-flv)) + +(define-public ecl-alexandria + (sbcl-package->ecl-package sbcl-net.didierverna.asdf-flv)) + (define-public sbcl-fiveam (package (name "sbcl-fiveam") -- cgit v1.2.3 From 0b2396b6c6d1ca4642c809fc8627d7d57a84d524 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Mon, 2 Sep 2019 17:06:24 +0200 Subject: gnu: sbcl-fiveam: Update to 1.4.1. * gnu/packages/lisp.scm (sbcl-fiveam): Update to 1.4.1. --- gnu/packages/lisp.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index c6deb95eb3..fffbbbe392 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -747,7 +747,7 @@ In order to make one or several variables file-local, use the macros (define-public sbcl-fiveam (package (name "sbcl-fiveam") - (version "1.2") + (version "1.4.1") (source (origin (method git-fetch) @@ -756,8 +756,11 @@ In order to make one or several variables file-local, use the macros (commit (string-append "v" version)))) (file-name (git-file-name "fiveam" version)) (sha256 - (base32 "1yx9716mk8pq9076q6cjx4c9lyax3amiccy37sh0913k2x8gsm4l")))) - (inputs `(("alexandria" ,sbcl-alexandria))) + (base32 "1q3d38pwafnwnw42clq0f8g5xw7pbzr287jl9jsqmb1vb0n1vrli")))) + (inputs + `(("alexandria" ,sbcl-alexandria) + ("net.didierverna.asdf-flv" ,sbcl-net.didierverna.asdf-flv) + ("trivial-backtrace" ,sbcl-trivial-backtrace))) (build-system asdf-build-system/sbcl) (synopsis "Common Lisp testing framework") (description "FiveAM is a simple (as far as writing and running tests -- cgit v1.2.3 From cc16f90a074260fa32325217ea1779084d2a615b Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Mon, 2 Sep 2019 17:09:05 +0200 Subject: gnu: Add cl-hooks. * gnu/packages/lisp.scm (cl-hooks, ecl-cl-hooks, sbcl-cl-hooks): New variables. --- gnu/packages/lisp.scm | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index fffbbbe392..a042674df2 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -6779,3 +6779,66 @@ power of CXML is available when necessary.") (description "This is a Common Lisp library that allows to publish D-Bus objects as well as send and notify other objects connected to a bus.") (license license:bsd-2)))) + +(define-public sbcl-cl-hooks + (let ((commit "5b638083f3b4f1221a52631d9c8a0a265565cac7") + (revision "1")) + (package + (name "sbcl-cl-hooks") + (build-system asdf-build-system/sbcl) + (version (git-version "0.2.1" revision commit)) + (home-page "https://github.com/scymtym/architecture.hooks") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0bg3l0a28lw5gqqjp6p6b5nhwqk46sgkb7184w5qbfngw1hk8x9y")))) + (inputs + `(("alexandria" ,sbcl-alexandria) + ("let-plus" ,sbcl-let-plus) + ("trivial-garbage" ,sbcl-trivial-garbage) + ("closer-mop" ,sbcl-closer-mop))) + (native-inputs + `(("fiveam" ,sbcl-fiveam))) + (synopsis "Hooks extension point mechanism (as in Emacs) for Common Lisp") + (description "A hook, in the present context, is a certain kind of +extension point in a program that allows interleaving the execution of +arbitrary code with the execution of a the program without introducing any +coupling between the two. Hooks are used extensively in the extensible editor +Emacs. + +In the Common LISP Object System (CLOS), a similar kind of extensibility is +possible using the flexible multi-method dispatch mechanism. It may even seem +that the concept of hooks does not provide any benefits over the possibilites +of CLOS. However, there are some differences: + +@itemize + +@item There can be only one method for each combination of specializers and +qualifiers. As a result this kind of extension point cannot be used by +multiple extensions independently. +@item Removing code previously attached via a @code{:before}, @code{:after} or +@code{:around} method can be cumbersome. +@item There could be other or even multiple extension points besides @code{:before} +and @code{:after} in a single method. +@item Attaching codes to individual objects using eql specializers can be +cumbersome. +@item Introspection of code attached a particular extension point is +cumbersome since this requires enumerating and inspecting the methods of a +generic function. +@end itemize + +This library tries to complement some of these weaknesses of method-based +extension-points via the concept of hooks.") + (license license:llgpl)))) + +(define-public cl-hooks + (sbcl-package->cl-source-package sbcl-cl-hooks)) + +(define-public ecl-cl-hooks + (sbcl-package->ecl-package sbcl-cl-hooks)) -- cgit v1.2.3 From b888396d702165ad72cc7331233cce883337a96f Mon Sep 17 00:00:00 2001 From: Kei Kebreau Date: Sun, 25 Aug 2019 11:15:58 -0400 Subject: gnu: gcl: Enable tests. * gnu/packages/lisp.scm (gcl)[arguments]: Remove #:tests? flag and set the #:test-target to "ansi-tests/test_results". --- gnu/packages/lisp.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index a042674df2..203b6719d0 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -113,7 +113,7 @@ (build-system gnu-build-system) (arguments `(#:parallel-build? #f ; The build system seems not to be thread safe. - #:tests? #f ; There does not seem to be make check or anything similar. + #:test-target "ansi-tests/test_results" #:configure-flags '("--enable-ansi") ; required for use by the maxima package #:make-flags (list (string-append "GCL_CC=" (assoc-ref %build-inputs "gcc") -- cgit v1.2.3 From d3a8dd2dc0e14c398e5e0ca8ac5d62d2b034c5b7 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 2 Sep 2019 22:44:07 +0200 Subject: gnu: rclone: Update to 1.49.1. * gnu/packages/sync.scm (rclone): Update to 1.49.1. [source]: Update uri. [arguments]: Update #:import-path. --- gnu/packages/sync.scm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm index ccebe40e9d..e281f43554 100644 --- a/gnu/packages/sync.scm +++ b/gnu/packages/sync.scm @@ -264,19 +264,19 @@ over the Internet in an HTTP and CDN friendly way; (define-public rclone (package (name "rclone") - (version "1.48.0") + (version "1.49.1") (source (origin (method url-fetch) - (uri (string-append "https://github.com/ncw/rclone/releases/download/v" - version "/rclone-v" version ".tar.gz")) + (uri (string-append "https://github.com/rclone/rclone/releases/download/" + "v" version "/rclone-v" version ".tar.gz")) (sha256 - (base32 "1r03rlsk0qpya1fl8xfhj5inccjywf2cqgkd8r6wfhf3w2qd1zlc")))) + (base32 "1d0qvj7fn5bx3zqlf6hzn1922nrmy4x341n760m1b6h9az32mc5x")))) ;; FIXME: Rclone bundles some libraries Guix already provides. Need to ;; un-bundle them. (build-system go-build-system) (arguments - '(#:import-path "github.com/ncw/rclone" + '(#:import-path "github.com/rclone/rclone" #:install-source? #f)) (synopsis "@code{rsync} for cloud storage") (description "@code{Rclone} is a command line program to sync files and -- cgit v1.2.3 From cc650175a5b9b817b93c0ec3000ab5957316f31f Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 2 Sep 2019 22:50:09 +0200 Subject: gnu: snap: Update to 5.1.0. * gnu/packages/education.scm (snap): Update to 5.1.0. --- gnu/packages/education.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm index 440746a28c..240fc4acd8 100644 --- a/gnu/packages/education.scm +++ b/gnu/packages/education.scm @@ -250,7 +250,7 @@ easy.") (define-public snap (package (name "snap") - (version "5.0.8") + (version "5.1.0") (source (origin (method git-fetch) @@ -260,7 +260,7 @@ easy.") (file-name (git-file-name name version)) (sha256 (base32 - "0fwfssdgv3mfzyv8hw1a1z5ky1yn0p59kyl6l9fxsm4w2ckgyizd")))) + "11fqbbvrv4zqbdz176ahczb2d797inq5n7zg74335d96m377si3f")))) (build-system trivial-build-system) (arguments `(#:modules ((guix build utils)) -- cgit v1.2.3 From 4a8253d6223749b937611bc425e19b7b5553a655 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 2 Sep 2019 22:56:13 +0200 Subject: gnu: grammalecte: Update to 1.3.0. * gnu/packages/dictionaries.scm (grammalecte): Update to 1.3.0. --- gnu/packages/dictionaries.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index 228a8b6472..ba22fecf20 100644 --- a/gnu/packages/dictionaries.scm +++ b/gnu/packages/dictionaries.scm @@ -218,7 +218,7 @@ It comes with a German-English dictionary with approximately 270,000 entries.") (define-public grammalecte (package (name "grammalecte") - (version "1.2.1") + (version "1.3.0") (source (origin (method url-fetch/zipbomb) @@ -226,7 +226,7 @@ It comes with a German-English dictionary with approximately 270,000 entries.") "Grammalecte-fr-v" version ".zip")) (sha256 (base32 - "1j2avdk8hcgcv0lahp029qzpdb2rnys38hc64jy30awzx64fa6i4")))) + "1knysfdd1rx4vc5cmmnry4jsza0cdjy26fv505m854yfmq6zrckd")))) (build-system python-build-system) (home-page "https://grammalecte.net") (synopsis "French spelling and grammar checker") -- cgit v1.2.3 From 68668e97dca8a0b987952d474beeed08ecfb8fda Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Mon, 2 Sep 2019 15:32:06 -0400 Subject: gnu: icecat: Update to 60.9.0-guix1. * gnu/packages/gnuzilla.scm (%icecat-version): Update to 60.9.0-guix1. (icecat-source)[upstream-firefox-source]: Update hash. --- gnu/packages/gnuzilla.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm index ff382b2388..0ffeb44d7a 100644 --- a/gnu/packages/gnuzilla.scm +++ b/gnu/packages/gnuzilla.scm @@ -426,7 +426,7 @@ from forcing GEXP-PROMISE." #:system system #:guile-for-build guile))) -(define %icecat-version "60.8.0-guix1") +(define %icecat-version "60.9.0-guix1") ;; 'icecat-source' is a "computed" origin that generates an IceCat tarball ;; from the corresponding upstream Firefox ESR tarball, using the 'makeicecat' @@ -448,7 +448,7 @@ from forcing GEXP-PROMISE." "firefox-" upstream-firefox-version ".source.tar.xz")) (sha256 (base32 - "1gkz90clarbhgfxhq91s0is6lw6bfymyjb0xbyyswdg68kcqfcy1")))) + "0gy5x2rnnbkqmjd9sq93s3q5na9nkba68xwpizild7k6qn63qicz")))) (upstream-icecat-base-version "60.7.0") ; maybe older than base-version (upstream-icecat-gnu-version "1") -- cgit v1.2.3 From a52f4c5740ea7ad7776cb399eef0eccabe85127c Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 7 Jul 2019 17:27:42 -0700 Subject: gnu: Add ghc-unsafe. * gnu/packages/haskell-xyz.scm (ghc-unsafe): New variable. Signed-off-by: Timothy Sample --- gnu/packages/haskell-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 91d009dc22..8d7614240e 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -19,6 +19,7 @@ ;;; Copyright © 2018, 2019 Gabriel Hondet ;;; Copyright © 2019 Robert Vollmert ;;; Copyright © 2019 Jacob MacDonald +;;; Copyright © 2019 John Soo ;;; ;;; This file is part of GNU Guix. ;;; @@ -10547,6 +10548,33 @@ and high speed.") `(("ghc-hashable" ,ghc-hashable-bootstrap))) (properties '(hidden? #t)))) +(define-public ghc-unsafe + (package + (name "ghc-unsafe") + (version "0.0") + (source + (origin + (method url-fetch) + (uri + (string-append + "https://hackage.haskell.org/package/unsafe/unsafe-" + version ".tar.gz")) + (sha256 + (base32 + "0hc6xr1i3hkz25gdgfx1jqgpsc9mwa05bkfynp0mcfdlyz6782nz")))) + (build-system haskell-build-system) + (home-page "https://hackage.haskell.org/package/unsafe") + (synopsis "Unified interface to unsafe functions") + (description "Safe Haskell introduced the notion of safe and unsafe +modules. In order to make as many as possible modules ``safe'', the +well-known unsafe functions were moved to distinguished modules. This +makes it hard to write packages that work with both old and new versions +of GHC. This package provides a single module System.Unsafe that +exports the unsafe functions from the base package. It provides them in +a style ready for qualification, that is, you should import them by +@code{import qualified System.Unsafe as Unsafe}.") + (license license:bsd-3))) + (define-public ghc-uri-bytestring (package (name "ghc-uri-bytestring") -- cgit v1.2.3 From 6b652f5af3ddf9d8d894d1270441ab29354cca97 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 7 Jul 2019 17:30:41 -0700 Subject: gnu: Add ghc-non-negative. * gnu/packages/haskell-xyz.scm (ghc-non-negative): New variable. Signed-off-by: Timothy Sample --- gnu/packages/haskell-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 8d7614240e..2dbafe6770 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -6736,6 +6736,33 @@ making this package a full replacement for the original newtype package, and an alternative to newtype-th.") (license license:bsd-3))) +(define-public ghc-non-negative + (package + (name "ghc-non-negative") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri + (string-append + "https://hackage.haskell.org/package/non-negative/non-negative-" + version ".tar.gz")) + (sha256 + (base32 + "0f01q916dzkl1i0v15qrw9cviycki5g3fgi6x8gs45iwbzssq52n")))) + (build-system haskell-build-system) + (inputs + `(("ghc-semigroups" ,ghc-semigroups) + ("ghc-utility-ht" ,ghc-utility-ht) + ("ghc-quickcheck" ,ghc-quickcheck))) + (home-page "https://hackage.haskell.org/package/non-negative") + (synopsis "Non-negative numbers class") + (description "This library provides a class for non-negative numbers, +a wrapper which can turn any ordered numeric type into a member of that +class, and a lazy number type for non-negative numbers (a generalization +of Peano numbers).") + (license license:gpl3+))) + (define-public ghc-objectname (package (name "ghc-objectname") -- cgit v1.2.3 From 7bbfa3926e48e366126f6500e3d7ef1097c4ffcb Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 7 Jul 2019 17:32:28 -0700 Subject: gnu: Add ghc-timeit. * gnu/packages/haskell-xyz.scm (ghc-timeit): New variable. Signed-off-by: Timothy Sample --- gnu/packages/haskell-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 2dbafe6770..b2cee24471 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -10108,6 +10108,27 @@ function which generates instances.") @code{TimeLocale}.") (license license:bsd-3))) +(define-public ghc-timeit + (package + (name "ghc-timeit") + (version "2.0") + (source + (origin + (method url-fetch) + (uri + (string-append + "https://hackage.haskell.org/package/timeit/timeit-" + version ".tar.gz")) + (sha256 + (base32 + "1sliqpvl501rlcj6s0lhmsf5ym24j4h881wzc1f1wdyvg3jz8kd1")))) + (build-system haskell-build-system) + (home-page "https://github.com/merijn/timeit") + (synopsis "Time monadic computations with an IO base") + (description "This package provides a simple wrapper to show the +used CPU time of monadic computation with an IO base.") + (license license:bsd-3))) + (define-public ghc-tldr (package (name "ghc-tldr") -- cgit v1.2.3 From bc06ca458865cdf7a3b971ac34ae2f92f75c6964 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 7 Jul 2019 17:35:45 -0700 Subject: gnu: Add ghc-storablevector. * gnu/packages/haskell-xyz.scm (ghc-storablevector): New variable. Signed-off-by: Timothy Sample --- gnu/packages/haskell-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index b2cee24471..b67754b1b9 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -9361,6 +9361,44 @@ Storable instance for Complex which is binary compatible with C99, C++ and Fortran complex data types.") (license license:bsd-3))) +(define-public ghc-storablevector + (package + (name "ghc-storablevector") + (version "0.2.13") + (source + (origin + (method url-fetch) + (uri + (string-append + "https://hackage.haskell.org/package/storablevector/storablevector-" + version ".tar.gz")) + (sha256 + (base32 + "1zmr738vwnhnyxbikayqnaz31ilv2qlmscp6iqgl7adcfbal4dzq")))) + (build-system haskell-build-system) + (inputs + `(("ghc-non-negative" ,ghc-non-negative) + ("ghc-utility-ht" ,ghc-utility-ht) + ("ghc-semigroups" ,ghc-semigroups) + ("ghc-unsafe" ,ghc-unsafe) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-syb" ,ghc-syb))) + (home-page "https://www.haskell.org/haskellwiki/Storable_Vector") + (synopsis "Fast, packed, strict storable arrays with a list interface") + (description "This library provides fast, packed, strict storable +arrays with a list interface, a chunky lazy list interface with variable +chunk size and an interface for write access via the ST monad. This is +much like bytestring and binary but can be used for every +@code{Foreign.Storable.Storable} type. See also +@url{http://hackage.haskell.org/package/vector}, a library with a +similar intention. + +This library does not do advanced fusion optimization, since especially +for lazy vectors this would either be incorrect or not applicable. See +@url{http://hackage.haskell.org/package/storablevector-streamfusion} for +a library that provides fusion with lazy lists.") + (license license:bsd-3))) + (define-public ghc-streaming-commons (package (name "ghc-streaming-commons") -- cgit v1.2.3 From f169f713e467fa1d8bb878f8a377c205b40ed8cb Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 7 Jul 2019 17:36:43 -0700 Subject: gnu: Add ghc-fmlist. * gnu/packages/haskell-xyz.scm (ghc-fmlist): New variable. Signed-off-by: Timothy Sample --- gnu/packages/haskell-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index b67754b1b9..1130e160c2 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -3555,6 +3555,30 @@ simple general-purpose data structure\".") arithmetic.") (license license:bsd-3))) +(define-public ghc-fmlist + (package + (name "ghc-fmlist") + (version "0.9.2") + (source + (origin + (method url-fetch) + (uri + (string-append + "https://hackage.haskell.org/package/fmlist/fmlist-" + version ".tar.gz")) + (sha256 + (base32 + "02868865hqm189h5wjd916abvqwkhbrx5b0119s1dwp70ifvbi4g")))) + (build-system haskell-build-system) + (home-page "https://github.com/sjoerdvisscher/fmlist") + (synopsis "FoldMap lists") + (description "FoldMap lists are lists represented by their +@code{foldMap} function. FoldMap lists have @math{O(1)} cons, snoc and +append, just like DLists, but other operations might have favorable +performance characteristics as well. These wild claims are still +completely unverified though.") + (license license:bsd-3))) + (define-public ghc-foldl (package (name "ghc-foldl") -- cgit v1.2.3 From ad80074ab0e04c4f955b195ee017f25eec0efc1c Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 7 Jul 2019 17:40:12 -0700 Subject: gnu: Add ghc-storable-record. * gnu/packages/haskell-xyz.scm (ghc-storable-record): New variable. Signed-off-by: Timothy Sample --- gnu/packages/haskell-xyz.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 1130e160c2..72b9c2518c 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -9385,6 +9385,38 @@ Storable instance for Complex which is binary compatible with C99, C++ and Fortran complex data types.") (license license:bsd-3))) +(define-public ghc-storable-record + (package + (name "ghc-storable-record") + (version "0.0.4") + (source + (origin + (method url-fetch) + (uri + (string-append + "https://hackage.haskell.org/package/storable-record/" + "storable-record-" version ".tar.gz")) + (sha256 + (base32 + "0hjs1km0fc9ch0i1rbycxia5w3939hk4p4md73ikgg4aipqb5zyf")))) + (build-system haskell-build-system) + (inputs + `(("ghc-semigroups" ,ghc-semigroups) + ("ghc-utility-ht" ,ghc-utility-ht) + ("ghc-storablevector" ,ghc-storablevector) + ("ghc-timeit" ,ghc-timeit))) + (home-page "https://hackage.haskell.org/package/storable-record") + (synopsis "Elegant definition of Storable instances for records") + (description "With this package you can build a Storable instance of +a record type from Storable instances of its elements in an elegant way. +It does not do any magic, just a bit arithmetic to compute the right +offsets, that would be otherwise done manually or by a preprocessor like +C2HS. There is no guarantee that the generated memory layout is +compatible with that of a corresponding C struct. However, the module +generates the smallest layout that is possible with respect to the +alignment of the record elements.") + (license license:bsd-3))) + (define-public ghc-storablevector (package (name "ghc-storablevector") -- cgit v1.2.3 From 1307e4c73d25cd89996b0841c2f84a84acbdb573 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 7 Jul 2019 17:52:53 -0700 Subject: gnu: Add ghc-listlike. * gnu/packages/haskell-xyz.scm (ghc-listlike): New variable. Signed-off-by: Timothy Sample --- gnu/packages/haskell-xyz.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 72b9c2518c..fd4d464cfc 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -5810,6 +5810,41 @@ Kaseorg.") vector spaces.") (license license:bsd-3))) +(define-public ghc-listlike + (package + (name "ghc-listlike") + (version "4.6.2") + (source + (origin + (method url-fetch) + (uri + (string-append + "https://hackage.haskell.org/package/ListLike/ListLike-" + version ".tar.gz")) + (sha256 + (base32 + "0m65x8yaq7q50gznln8mga2wrc8cvjx6gw9rim8s7xqcrx6y5zjh")))) + (build-system haskell-build-system) + (inputs + `(("ghc-vector" ,ghc-vector) + ("ghc-dlist" ,ghc-dlist) + ("ghc-fmlist" ,ghc-fmlist) + ("ghc-hunit" ,ghc-hunit) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-random" ,ghc-random) + ("ghc-utf8-string" ,ghc-utf8-string))) + (home-page "https://github.com/JohnLato/listlike") + (synopsis "Generic support for list-like structures") + (description "The ListLike module provides a common interface to the +various Haskell types that are list-like. Predefined interfaces include +standard Haskell lists, Arrays, ByteStrings, and lazy ByteStrings. +Custom types can easily be made ListLike instances as well. + +ListLike also provides for String-like types, such as String and +ByteString, for types that support input and output, and for types that +can handle infinite lists.") + (license license:bsd-3))) + (define-public ghc-logging-facade (package (name "ghc-logging-facade") -- cgit v1.2.3 From 55f4c6533656873a21dcea5a7e4e4b1faef22d42 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 7 Jul 2019 17:56:20 -0700 Subject: gnu: Add ghc-storable-tuple. * gnu/packages/haskell-xyz.scm (ghc-storable-tuple): New variable. Signed-off-by: Timothy Sample --- gnu/packages/haskell-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index fd4d464cfc..c98e65dcef 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -9452,6 +9452,34 @@ generates the smallest layout that is possible with respect to the alignment of the record elements.") (license license:bsd-3))) +(define-public ghc-storable-tuple + (package + (name "ghc-storable-tuple") + (version "0.0.3.3") + (source + (origin + (method url-fetch) + (uri + (string-append + "https://hackage.haskell.org/package/storable-tuple/" + "storable-tuple-" version ".tar.gz")) + (sha256 + (base32 + "0dfzhxgkn1l6ls7zh6iifhyvhm8l47n40z0ar23c6ibsa94w1ynw")))) + (build-system haskell-build-system) + (inputs + `(("ghc-storable-record" ,ghc-storable-record) + ("ghc-utility-ht" ,ghc-utility-ht) + ("ghc-base-orphans" ,ghc-base-orphans))) + (home-page "https://hackage.haskell.org/package/storable-tuple") + (synopsis "Storable instance for pairs and triples") + (description "This package provides a Storable instance for pairs +and triples which should be binary compatible with C99 and C++. The +only purpose of this package is to provide a standard location for this +instance so that other packages needing this instance can play nicely +together.") + (license license:bsd-3))) + (define-public ghc-storablevector (package (name "ghc-storablevector") -- cgit v1.2.3 From 21f5b9a9b9a8d30aeeb686febbf59a88a97f4c1b Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 7 Jul 2019 17:59:28 -0700 Subject: gnu: Add ghc-process-extras. * gnu/packages/haskell-xyz.scm (ghc-process-extras): New variable. Signed-off-by: Timothy Sample --- gnu/packages/haskell-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index c98e65dcef..940fbe8a6c 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -7756,6 +7756,36 @@ examination.") "This package provides various primitive memory-related operations.") (license license:bsd-3))) +(define-public ghc-process-extras + (package + (name "ghc-process-extras") + (version "0.7.4") + (source + (origin + (method url-fetch) + (uri + (string-append + "https://hackage.haskell.org/package/process-extras/" + "process-extras-" version ".tar.gz")) + (sha256 + (base32 + "0klqgr37f1z2z6i0a9b0giapmq0p35l5k9kz1p7f0k1597w7agi9")))) + (build-system haskell-build-system) + (inputs + `(("ghc-data-default" ,ghc-data-default) + ("ghc-generic-deriving" ,ghc-generic-deriving) + ("ghc-hunit" ,ghc-hunit) + ("ghc-listlike" ,ghc-listlike))) + (home-page "https://github.com/seereason/process-extras") + (synopsis "Extra tools for managing processes") + (description "This packages extends +@url{http://hackage.haskell.org/package/process}. It allows you to read +process input and output as ByteStrings or Text, or write your own +ProcessOutput instance. It also provides lazy process input and output, +and a ProcessMaker class for more flexibility in the process creation +API.") + (license license:expat))) + (define-public ghc-profunctors (package (name "ghc-profunctors") -- cgit v1.2.3 From 621c077384c9dba6955bf712c7c93e7c0f3304f1 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 7 Jul 2019 18:00:52 -0700 Subject: gnu: Add ghc-js-jquery. * gnu/packages/haskell-web.scm (ghc-js-jquery): New variable. Signed-off-by: Timothy Sample --- gnu/packages/haskell-web.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 7cbf8932e6..169d858a0b 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2017 rsiddharth ;;; Copyright © 2017 Tobias Geerinckx-Rice ;;; Copyright © 2019 Robert Vollmert +;;; Copyright © 2019 John Soo ;;; ;;; This file is part of GNU Guix. ;;; @@ -1463,3 +1464,29 @@ Together with the snap-core library upon which it depends, it provides a clean and efficient Haskell programming interface to the HTTP protocol.") (license license:bsd-3))) + +(define-public ghc-js-jquery + (package + (name "ghc-js-jquery") + (version "3.3.1") + (source + (origin + (method url-fetch) + (uri + (string-append + "https://hackage.haskell.org/package/js-jquery/js-jquery-" + version ".tar.gz")) + (sha256 + (base32 + "16q68jzbs7kp07dnq8cprdcc8fd41rim38039vg0w4x11lgniq70")))) + (build-system haskell-build-system) + (arguments `(#:tests? #f)) ; tests do network IO + (home-page "https://github.com/ndmitchell/js-jquery") + (synopsis "Obtain minified jQuery code") + (description "This package bundles the minified +@url{http://jquery.com/, jQuery} code into a Haskell package, so it can +be depended upon by Cabal packages. The first three components of the +version number match the upstream jQuery version. The package is +designed to meet the redistribution requirements of downstream +users (e.g. Debian).") + (license license:expat))) -- cgit v1.2.3 From 5b0fdbba8ad5b539f017187e065e22245a442cf9 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 7 Jul 2019 18:01:54 -0700 Subject: gnu: Add ghc-js-flot. * gnu/packages/haskell-web.scm (ghc-js-flot): New variable. Signed-off-by: Timothy Sample --- gnu/packages/haskell-web.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 169d858a0b..6f1c460eaa 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -1490,3 +1490,30 @@ version number match the upstream jQuery version. The package is designed to meet the redistribution requirements of downstream users (e.g. Debian).") (license license:expat))) + +(define-public ghc-js-flot + (package + (name "ghc-js-flot") + (version "0.8.3") + (source + (origin + (method url-fetch) + (uri + (string-append + "https://hackage.haskell.org/package/js-flot/js-flot-" + version ".tar.gz")) + (sha256 + (base32 + "0yjyzqh3qzhy5h3nql1fckw0gcfb0f4wj9pm85nafpfqp2kg58hv")))) + (build-system haskell-build-system) + (inputs + `(("ghc-http" ,ghc-http))) + (home-page "https://github.com/ndmitchell/js-flot") + (synopsis "Obtain minified flot code") + (description "This package bundles the minified +@url{http://www.flotcharts.org/, Flot} code (a jQuery plotting library) +into a Haskell package, so it can be depended upon by Cabal packages. +The first three components of the version number match the upstream flot +version. The package is designed to meet the redistribution +requirements of downstream users (e.g. Debian).") + (license license:expat))) -- cgit v1.2.3 From 6ec2450f1e1311d13d7f5d84346998b44014d4b3 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 7 Jul 2019 18:03:26 -0700 Subject: gnu: Add hoogle. * gnu/packages/haskell-apps.scm (hoogle): New variable. Signed-off-by: Timothy Sample --- gnu/packages/haskell-apps.scm | 52 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm index 77199af2cb..5cd6549c27 100644 --- a/gnu/packages/haskell-apps.scm +++ b/gnu/packages/haskell-apps.scm @@ -10,6 +10,7 @@ ;;; Copyright © 2016, 2017 Leo Famulari ;;; Copyright © 2015 Paul van der Walt ;;; Copyright © 2019 Kyle Meyer +;;; Copyright © 2015 John Soo ;;; ;;; This file is part of GNU Guix. ;;; @@ -413,6 +414,57 @@ hopefully make them easier to read. HLint also makes it easy to disable unwanted suggestions, and to add your own custom suggestions.") (license license:bsd-3))) +(define-public hoogle + (package + (name "hoogle") + (version "5.0.17.3") + (source + (origin + (method url-fetch) + (uri + (string-append + "https://hackage.haskell.org/package/hoogle/hoogle-" + version ".tar.gz")) + (sha256 + (base32 + "174gp41v0krzj37m75pnr3aawyhkbk2wq4q6zk2z3zh0avvvmgk6")))) + (build-system haskell-build-system) + (inputs + `(("ghc-network-uri" ,ghc-network-uri) + ("ghc-network" ,ghc-network) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-aeson" ,ghc-aeson) + ("ghc-cmdargs" ,ghc-cmdargs) + ("ghc-conduit" ,ghc-conduit) + ("ghc-conduit-extra" ,ghc-conduit-extra) + ("ghc-connection" ,ghc-connection) + ("ghc-extra" ,ghc-extra) + ("ghc-old-locale" ,ghc-old-locale) + ("ghc-haskell-src-exts" ,ghc-haskell-src-exts) + ("ghc-http-conduit" ,ghc-http-conduit) + ("ghc-http-types" ,ghc-http-types) + ("ghc-js-flot" ,ghc-js-flot) + ("ghc-js-jquery" ,ghc-js-jquery) + ("ghc-mmap" ,ghc-mmap) + ("ghc-process-extras" ,ghc-process-extras) + ("ghc-resourcet" ,ghc-resourcet) + ("ghc-storable-tuple" ,ghc-storable-tuple) + ("ghc-tar" ,ghc-tar) + ("ghc-uniplate" ,ghc-uniplate) + ("ghc-utf8-string" ,ghc-utf8-string) + ("ghc-vector" ,ghc-vector) + ("ghc-wai" ,ghc-wai) + ("ghc-wai-logger" ,ghc-wai-logger) + ("ghc-warp" ,ghc-warp) + ("ghc-warp-tls" ,ghc-warp-tls) + ("ghc-zlib" ,ghc-zlib))) + (home-page "https://hoogle.haskell.org/") + (synopsis "Haskell API Search") + (description "Hoogle is a Haskell API search engine, which allows +you to search many standard Haskell libraries by either function name, +or by approximate type signature.") + (license license:bsd-3))) + (define-public hscolour (package (name "hscolour") -- cgit v1.2.3 From 663bc5ded8eaf397040684440ba51e8b61535a1f Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Sun, 1 Sep 2019 19:46:27 +0200 Subject: gnu: Add emacs-ts. * gnu/packages/emacs-xyz.scm (emacs-ts): New variable. Signed-off-by: Oleg Pykhalov --- gnu/packages/emacs-xyz.scm | 63 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 0c6077770b..f810d2ad8e 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -11113,6 +11113,69 @@ into sections while preserving the structure imposed by any timestamps.") tables of contents.") (license license:gpl3+))) +(define-public emacs-ts + (let ((commit "93c074f2895a204e003e8c7f3033c37d6486fac8") + (revision "1")) + (package + (name "emacs-ts") + (version (git-version "0.1" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/alphapapa/ts.el") + (commit commit))) + (sha256 + (base32 + "0lpyv78k04vbp9glnv14dawcfgi3m49847wlgwfmkdq5cr3fn735")) + (file-name (git-file-name name version)))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-s" ,emacs-s) + ("emacs-dash" ,emacs-dash))) + (arguments + ;; XXX: Three tests are failing because of a timezone-related issue + ;; with how they're written. On my machine, all the failing test + ;; results are 18000 seconds (5 hours) off. + + ;; The ts-parse-org function accepts a string without any timezone + ;; info, not assumed to be in Unix time, and converts it to a so-called + ;; ts struct. The ts-unix function (accessor) accepts a ts struct, + ;; then seems to assume the struct's corresponding time is in terms of + ;; the user's current time zone, before returning a Unix time in + ;; seconds. + + ;; The failing tests all have similar problems, but nothing else about + ;; the library seems particularly off. + + `(#:tests? #t + #:test-command '("emacs" "--batch" + "-l" "test/test.el" + "-f" "ert-run-tests-batch-and-exit") + #:phases + (modify-phases %standard-phases + (add-before 'check 'make-tests-writable + (lambda _ + (make-file-writable "test/test.el") + #t)) + (add-before 'check 'delete-failing-tests + (lambda _ + (emacs-batch-edit-file "test/test.el" + `(progn (progn + (goto-char (point-min)) + (dolist (test-regexp '("ert-deftest ts-format" + "ert-deftest ts-parse-org\\_>" + "ert-deftest ts-parse-org-element")) + (re-search-forward test-regexp) + (beginning-of-line) + (kill-sexp))) + (basic-save-buffer))) + #t))))) + (home-page "https://github.com/alphapapa/ts.el") + (synopsis "Timestamp and date/time library") + (description "This package facilitates manipulating dates, times, and +timestamps by providing a @code{ts} struct.") + (license license:gpl3+)))) + (define-public emacs-org-ql (package (name "emacs-org-ql") -- cgit v1.2.3 From 0b95986aaf85c6b81da5b5ddb697fab4d13d308f Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Sun, 1 Sep 2019 19:50:18 +0200 Subject: gnu: emacs-org-sidebar: Update to 0.1-1.ed951d1. * gnu/packages/emacs-xyz.scm (emacs-org-sidebar): Update to 0.1-1.ed951d1. Signed-off-by: Oleg Pykhalov --- gnu/packages/emacs-xyz.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index f810d2ad8e..1f419809e8 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -4257,7 +4257,7 @@ started with 20 minutes. All values are customizable.") (license license:gpl3+))) (define-public emacs-org-sidebar - (let ((commit "74ca98b9920f3de3f13d49866581435e1ec63ec5") + (let ((commit "ed951d1e0d8b7e65ed35797403fd3e8c88f507f5") (revision "1")) (package (name "emacs-org-sidebar") @@ -4270,7 +4270,7 @@ started with 20 minutes. All values are customizable.") (commit commit))) (file-name (git-file-name name version)) (sha256 - (base32 "03p1ndyw2qp2skib5hszc4xyh84w7p2mhkd4a9dy6qv8q47xpsqn")))) + (base32 "01sf8v53pjsy80fzwmj2n8rp2z5gsnpyld0fm6j3bdv213clp69y")))) (build-system emacs-build-system) (propagated-inputs `(("emacs-dash" ,emacs-dash) -- cgit v1.2.3 From 7b90155443fd2bf6368d0cc8a4f8055696e4a294 Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Sun, 1 Sep 2019 19:51:05 +0200 Subject: gnu: emacs-org-ql: Update to 0.2. * gnu/packages/emacs-xyz.scm (emacs-org-ql): Update to 0.2. [inputs]: Add emacs-ts and emacs-org. Signed-off-by: Oleg Pykhalov --- gnu/packages/emacs-xyz.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 1f419809e8..3f335737a2 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -11179,7 +11179,7 @@ timestamps by providing a @code{ts} struct.") (define-public emacs-org-ql (package (name "emacs-org-ql") - (version "0.1") + (version "0.2") (source (origin (method git-fetch) (uri (git-reference @@ -11187,11 +11187,13 @@ timestamps by providing a @code{ts} struct.") (commit version))) (sha256 (base32 - "1nvzirn1lmgmgl7irbsc1n391a2cw8gmvwm3pa228l2c1gcx8kd8")) + "0mq0aj0a3a5gi9nz0ncpzsh731d92n86b0iinvx1m45dcal06h9y")) (file-name (git-file-name name version)))) (build-system emacs-build-system) (propagated-inputs `(("emacs-s" ,emacs-s) + ("emacs-ts" ,emacs-ts) + ("emacs-org" ,emacs-org) ("emacs-dash" ,emacs-dash))) (home-page "https://github.com/alphapapa/org-ql/") (synopsis "Query language for Org buffers") -- cgit v1.2.3 From 655ac50d3cf7e3276b28f989e25e40323663faf6 Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Tue, 3 Sep 2019 01:06:40 +0200 Subject: gnu: Add rust-constant-time-eq. * gnu/packages/crates-io.scm (rust-constant-time-eq): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6f2a002a2f..27596cee02 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2019 Ivan Petkov ;;; Copyright © 2019 Efraim Flashner ;;; Copyright © 2019 Nicolas Goaziou +;;; Copyright © 2019 Giacomo Leidi ;;; ;;; This file is part of GNU Guix. ;;; @@ -251,6 +252,27 @@ colorization.") "Low level interface to CloudABI. Contains all syscalls and related types.") (license license:bsd-2))) +(define-public rust-constant-time-eq + (package + (name "rust-constant-time-eq") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "constant_time_eq" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "083icpr9xb72rrdxw3p4068dcspn6ai22jy7rhl2a8grfz448nlr")))) + (build-system cargo-build-system) + (home-page "https://crates.io/crates/constant_time_eq") + (synopsis + "Compares two equal-sized byte strings in constant time") + (description + "This package compares two equal-sized byte strings in constant time. +It is inspired by the Linux kernel's @code{crypto_memneq}.") + (license license:cc0))) + (define-public rust-core-foundation-sys (package (name "rust-core-foundation-sys") -- cgit v1.2.3 From be2309ec7b901b4f639d05a8f2b53c438a64fd75 Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Tue, 3 Sep 2019 01:16:29 +0200 Subject: gnu: rust-unicode-xid: Update to 0.2.0. * gnu/packages/crates-io.scm (rust-unicode-xid): Update to 0.2.0. (rust-unicode-xid-0.1): New variable. (rust-proc-macro2)[arguments]: Specify rust-unicode-xid-0.1 in cargo-inputs. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 27596cee02..ebd3d4ded1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1462,7 +1462,7 @@ for x86.") "0nd71fl24sys066jrha6j7i34nfkjv44yzw8yww9742wmc8j0gfg")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-unicode-xid" ,rust-unicode-xid)) + `(#:cargo-inputs (("rust-unicode-xid" ,rust-unicode-xid-0.1)) #:cargo-development-inputs (("rust-quote" ,rust-quote)))) (home-page "https://github.com/alexcrichton/proc-macro2") (synopsis "Stable implementation of the upcoming new `proc_macro` API") @@ -2430,7 +2430,7 @@ with the Unicode character database.") (define-public rust-unicode-xid (package (name "rust-unicode-xid") - (version "0.1.0") + (version "0.2.0") (source (origin (method url-fetch) @@ -2438,8 +2438,8 @@ with the Unicode character database.") (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1z57lqh4s18rr4x0j4fw4fmp9hf9346h0kmdgqsqx0fhjr3k0wpw")))) + (base32 + "0z09fn515xm7zyr0mmdyxa9mx2f7azcpv74pqmg611iralwpcvl2")))) (build-system cargo-build-system) (home-page "https://github.com/unicode-rs/unicode-xid") @@ -2449,6 +2449,20 @@ or XID_Continue properties according to Unicode Standard Annex #31.") ;; Dual licensed. (license (list license:asl2.0 license:expat)))) +(define-public rust-unicode-xid-0.1 + (package + (inherit rust-unicode-xid) + (name "rust-unicode-xid") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "unicode-xid" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1z57lqh4s18rr4x0j4fw4fmp9hf9346h0kmdgqsqx0fhjr3k0wpw")))))) + (define-public rust-unindent (package (name "rust-unindent") -- cgit v1.2.3 From 53bd3ab3890e45de6e03ffd48053f0b99e3a2b42 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 3 Sep 2019 12:45:06 +0200 Subject: gnu: Add r-nlp. * gnu/packages/cran.scm (r-nlp): New variable. --- gnu/packages/cran.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index f3566f28d2..8366b48bff 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -9325,6 +9325,26 @@ in-memory raw vectors.") ;; Either of these two license versions. (license (list license:gpl2 license:gpl3)))) +(define-public r-nlp + (package + (name "r-nlp") + (version "0.2-0") + (source + (origin + (method url-fetch) + (uri (cran-uri "NLP" version)) + (sha256 + (base32 + "0xbhkrnxcbf322jfw31xcn4y2gnk5y7ccq1bz4h3prf44h0whr7w")))) + (properties `((upstream-name . "NLP"))) + (build-system r-build-system) + (home-page "https://cran.r-project.org/web/packages/NLP/") + (synopsis "Natural language processing infrastructure") + (description + "This package provides basic classes and methods for Natural Language +Processing.") + (license license:gpl3))) + (define-public r-waveslim (package (name "r-waveslim") -- cgit v1.2.3 From f785d546819734d224f4c7a9421eca8e902b27bf Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 3 Sep 2019 12:45:18 +0200 Subject: gnu: Add r-tm. * gnu/packages/cran.scm (r-tm): New variable. --- gnu/packages/cran.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 8366b48bff..dd378d2b9c 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -9345,6 +9345,31 @@ in-memory raw vectors.") Processing.") (license license:gpl3))) +(define-public r-tm + (package + (name "r-tm") + (version "0.7-6") + (source + (origin + (method url-fetch) + (uri (cran-uri "tm" version)) + (sha256 + (base32 + "0spv43kjbpxq3rdxx8ysgrncjyc35ydiwk7gp8n4sig45iqyz59r")))) + (properties `((upstream-name . "tm"))) + (build-system r-build-system) + (propagated-inputs + `(("r-bh" ,r-bh) + ("r-nlp" ,r-nlp) + ("r-rcpp" ,r-rcpp) + ("r-slam" ,r-slam) + ("r-xml2" ,r-xml2))) + (home-page "http://tm.r-forge.r-project.org/") + (synopsis "Text mining package") + (description + "This package provides a framework for text mining applications within R.") + (license license:gpl3))) + (define-public r-waveslim (package (name "r-waveslim") -- cgit v1.2.3 From f847b6594371cf1ad56e603ddf57e1f8691c325d Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 3 Sep 2019 12:45:21 +0200 Subject: gnu: r-wordcloud: Add r-tm to inputs. * gnu/packages/cran.scm (r-wordcloud)[propagated-inputs]: Add r-tm. --- gnu/packages/cran.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index dd378d2b9c..5bf37e3900 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -9409,7 +9409,10 @@ pairs (Selesnick 2001, 2002).") (build-system r-build-system) (propagated-inputs `(("r-rcolorbrewer" ,r-rcolorbrewer) - ("r-rcpp" ,r-rcpp))) + ("r-rcpp" ,r-rcpp) + ;; The "tm" package is only "suggested" according to CRAN, but the + ;; wordcloud package cannot be loaded without it. + ("r-tm" ,r-tm))) (home-page "https://cran.r-project.org/web/packages/wordcloud") (synopsis "Word clouds") (description -- cgit v1.2.3 From 6153fa0a996ca41ca858b4c21ef1e648a99d1f1f Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 3 Sep 2019 13:06:46 +0200 Subject: gnu: guile-gi: Update to 0.2.0. * gnu/packages/guile-xyz.scm (guile-gi): Update to 0.2.0. [arguments]: Remove make flags. [native-inputs]: Add glib:bin. --- gnu/packages/guile-xyz.scm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 7dff0c6269..b765ef36e1 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -2266,21 +2266,20 @@ list of components. This module takes care of that for you.") (define-public guile-gi (package (name "guile-gi") - (version "0.0.2") + (version "0.2.0") (source (origin (method url-fetch) (uri (string-append "http://lonelycactus.com/tarball/guile_gi-" version ".tar.gz")) (sha256 (base32 - "0hs0viqzff7nzgcmyw721ima1jyymrlzrcycpgwrs6iprscxvqwn")))) + "1n4pbrmbrjkrx826a4m31ag5c35rgkj1sirqh4qalk7gg67cfb41")))) (build-system gnu-build-system) (arguments - `(#:configure-flags '("--with-gnu-filesystem-hierarchy") - ;; The atomic_int_set test does not actually fail. - #:make-flags '("XFAIL_TESTS=strjoinv.scm"))) + `(#:configure-flags '("--with-gnu-filesystem-hierarchy"))) (native-inputs `(("gettext" ,gnu-gettext) + ("glib:bin" ,glib "bin") ; for glib-compile-resources ("libtool" ,libtool) ("pkg-config" ,pkg-config))) (propagated-inputs -- cgit v1.2.3 From 1be4989d7c3489e3636f44b4dea7ae1bd38d7484 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Tue, 3 Sep 2019 15:51:29 +0200 Subject: gnu: next: Update to 1.3.1. * gnu/packages/web-browsers.scm (next-gtk-webkit): Update to 1.3.1. [source]: Use GitHub. (sbcl-next-download-manager)[arguments]: Fix asd-system-name. (next)[inputs]: Remove unneeded dependencies. --- gnu/packages/web-browsers.scm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm index 14b6aef6cb..3368772ec6 100644 --- a/gnu/packages/web-browsers.scm +++ b/gnu/packages/web-browsers.scm @@ -368,16 +368,18 @@ driven and does not detract you from your daily work.") (define next-gtk-webkit (package (name "next-gtk-webkit") - (version "1.3.0") + (version "1.3.1") (source (origin (method git-fetch) (uri (git-reference - (url "https://source.atlas.engineer/public/next") + ;; TODO: Mirror seems to hang, let's fallback to GitHub for now. + ;; (url "https://source.atlas.engineer/public/next") + (url "https://github.com/atlas-engineer/next") (commit version))) (sha256 (base32 - "0ibq30xrf871pkpasi8p9krn0pmd86rsdzb3jqvz3wnp4wa3hl9d")) + "01fn1f080ydk0wj1bwkyakqz93bdq9xb5x8qz820jpl9id17bqgj")) (file-name (git-file-name "next" version)))) (build-system glib-or-gtk-build-system) (arguments @@ -417,7 +419,7 @@ features for productive professionals.") (arguments `(#:tests? #f ; Need online access. #:asd-file "next.asd" - #:asd-system-name "download-manager")) + #:asd-system-name "next/download-manager")) (inputs `(;; ASD libraries: ("trivial-features" ,sbcl-trivial-features) @@ -505,8 +507,6 @@ features for productive professionals.") ("cl-markup" ,sbcl-cl-markup) ("cl-ppcre" ,sbcl-cl-ppcre) ("cl-ppcre-unicode" ,sbcl-cl-ppcre-unicode) - ("cl-string-match" ,sbcl-cl-string-match) - ("cl-strings" ,sbcl-cl-strings) ("closer-mop" ,sbcl-closer-mop) ("dbus" ,cl-dbus) ("dexador" ,sbcl-dexador) -- cgit v1.2.3 From 7c6ebf28db77f1a78bddf3758472b4e99afcc99e Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 3 Sep 2019 18:02:18 +0200 Subject: doc: guix deploy: Add missing record field to example. Reported by GNUtoo on #guix. * doc/guix.texi (Invoking guix deploy): Add missing "system" field to example. --- doc/guix.texi | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/guix.texi b/doc/guix.texi index de02ad8687..a078822871 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -25603,6 +25603,7 @@ evaluates to. As an example, @var{file} might contain a definition like this: (environment managed-host-environment-type) (configuration (machine-ssh-configuration (host-name "localhost") + (system "x86_64-linux") (user "alice") (identity "./id_rsa") (port 2222))))) -- cgit v1.2.3 From 8ac56556fe813e41f642bc4efc9b9696c2f3dc9e Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Tue, 3 Sep 2019 00:10:04 +0200 Subject: gnu: emacs-org-pomodoro: Update to 2.1.0-1.aa07c11. * gnu/packages/emacs-xyz.scm (emacs-org-pomodoro): Update to 2.1.0-1.aa07c11. [arguments]: Include "resources" directory and run tests. [source]: Update url. Signed-off-by: Oleg Pykhalov --- gnu/packages/emacs-xyz.scm | 64 ++++++++++++++++++++++++++++++++-------------- 1 file changed, 45 insertions(+), 19 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 3f335737a2..29d9fe419f 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -4229,24 +4229,50 @@ number.") (license license:gpl3+))) (define-public emacs-org-pomodoro - (package - (name "emacs-org-pomodoro") - (version "2.1.0") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/lolownia/org-pomodoro.git") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 "0r5shgikm34d66i2hblyknbblpg92lb2zc9x4bcb28xkh7m9d0xv")))) - (build-system emacs-build-system) - (propagated-inputs - `(("emacs-alert" ,emacs-alert))) - (home-page "https://github.com/lolownia/org-pomodoro") - (synopsis "Pomodoro technique for org-mode") - (description "@code{emacs-org-pomodoro} adds very basic support for + ;; Last release version was from 2016. + (let ((commit "aa07c11318f91219336197e62c47bc7a3d090479") + (revision "1")) + (package + (name "emacs-org-pomodoro") + (version (git-version "2.1.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/marcinkoziej/org-pomodoro.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0nbprh2nhnmb7ngp9ndr6zr37ashcsvpi5slv7a37x1dl7j6w1k4")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-alert" ,emacs-alert))) + (arguments + `(#:include (cons "^resources\\/" %default-include) + #:tests? #t + #:test-command '("emacs" "--batch" + "-l" "org-pomodoro-tests.el" + "-f" "ert-run-tests-batch-and-exit") + #:phases + (modify-phases %standard-phases + (add-before 'check 'make-tests-writable + (lambda _ + (make-file-writable "org-pomodoro-tests.el") + #t)) + (add-before 'check 'add-require + (lambda _ + (emacs-batch-edit-file "org-pomodoro-tests.el" + `(progn (progn (goto-char (point-min)) + (re-search-forward + "ert-deftest") + (beginning-of-line) + (forward-line -1) + (insert "(require 'org-pomodoro)")) + (basic-save-buffer))) + #t))))) + (home-page "https://github.com/marcinkoziej/org-pomodoro") + (synopsis "Pomodoro technique for org-mode") + (description "@code{emacs-org-pomodoro} adds very basic support for Pomodoro technique in Emacs org-mode. Run @code{M-x org-pomodoro} for the task at point or select one of the @@ -4254,7 +4280,7 @@ last tasks that you clocked time for. Each clocked-in pomodoro starts a timer of 25 minutes and after each pomodoro a break timer of 5 minutes is started automatically. Every 4 breaks a long break is started with 20 minutes. All values are customizable.") - (license license:gpl3+))) + (license license:gpl3+)))) (define-public emacs-org-sidebar (let ((commit "ed951d1e0d8b7e65ed35797403fd3e8c88f507f5") -- cgit v1.2.3 From c9f8d6a953f07e593157bda2b04cbc3c7409bfe4 Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Tue, 3 Sep 2019 02:45:49 +0200 Subject: gnu: Add emacs-org-tanglesync. * gnu/packages/emacs-xyz.scm (emacs-org-tanglesync): New variable. Signed-off-by: Oleg Pykhalov --- gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 29d9fe419f..997d519e35 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -4342,6 +4342,30 @@ overview of tasks in a subtree.") organizer.") (license license:gpl3+))) +(define-public emacs-org-tanglesync + (let ((commit "ab76a3eaaed263677d2e029d43f6c4de8fc21418") + (revision "1")) + (package + (name "emacs-org-tanglesync") + (version (git-version "0.6" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mtekman/org-tanglesync.el.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "14ify3yirq2qmi9isk8kcbwx8pbclv1fyg49kraz4srhgf2fssgf")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-org" ,emacs-org))) + (home-page "https://github.com/mtekman/org-tanglesync.el") + (synopsis "Sync Org source blocks with tangled external files") + (description "This package automatically pulls changes from source code +to their corresponding tangled blocks.") + (license license:gpl3+)))) + (define-public emacs-company-flow (let ((commit "76ef585c70d2a3206c2eadf24ba61e59124c3a16") (revision "1")) -- cgit v1.2.3 From d070a0884cd49068dc1acf6e225aa3ce487f015c Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Mon, 26 Aug 2019 19:16:45 +0200 Subject: gnu: Add emacs-unidecode. * gnu/packages/emacs-xyz.scm (emacs-unidecode): New variable. Signed-off-by: Oleg Pykhalov --- gnu/packages/emacs-xyz.scm | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 997d519e35..ab13e8d306 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -9658,6 +9658,49 @@ subsequent invocations can be readily customized. Several recipes are included by default, and more can be readily added.") (license license:gpl3+)))) +(define-public emacs-unidecode + (let ((commit "5502ada9287b4012eabb879f12f5b0a9df52c5b7") + (revision "1")) + (package + (name "emacs-unidecode") + (version (git-version "0.2" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sindikat/unidecode") + (commit commit))) + (sha256 + (base32 + "03x3nakbhmakwm977mwrf8jifvjnfwzpjv6wrwpizbqjnkgfchmn")))) + (build-system emacs-build-system) + (arguments + `(#:include (cons* "^tools/" "^data/" %default-include) + #:tests? #t + #:test-command '("emacs" "--batch" + "-l" "unidecode-test.el" + "-f" "ert-run-tests-batch-and-exit") + #:phases + (modify-phases %standard-phases + (add-before 'check 'make-tests-writable + (lambda _ + (make-file-writable "unidecode-test.el") + #t)) + (add-before 'check 'add-require + (lambda _ + (emacs-batch-edit-file "unidecode-test.el" + `(progn (progn (goto-char (point-min)) + (re-search-forward + "ert-deftest") + (forward-line -1) + (insert "(require 'unidecode)")) + (basic-save-buffer))) + #t))))) + (home-page "https://github.com/sindikat/unidecode") + (synopsis "Transliterate Unicode text to ASCII") + (description "This package provides functions for converting Unicode to ASCII.") + (license license:gpl2+)))) + (define-public emacs-websocket (package (name "emacs-websocket") -- cgit v1.2.3 From 948c700b90814918080b041690ebbf5cd687ae07 Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Tue, 3 Sep 2019 05:13:36 +0200 Subject: gnu: Add emacs-pubmed. * gnu/packages/emacs-xyz.scm (emacs-pubmed): New variable. Signed-off-by: Oleg Pykhalov --- gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index ab13e8d306..be88802071 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -9701,6 +9701,32 @@ included by default, and more can be readily added.") (description "This package provides functions for converting Unicode to ASCII.") (license license:gpl2+)))) +(define-public emacs-pubmed + (package + (name "emacs-pubmed") + (version "0.2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/fvdbeek/emacs-pubmed.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "15bwjxc7g43m5pi8z17anaqqkvi209r7kk1chmf175477gvrv7c0")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-deferred" ,emacs-deferred) + ("emacs-esxml" ,emacs-esxml) + ("emacs-s" ,emacs-s) + ("emacs-unidecode" ,emacs-unidecode))) + (home-page "https://gitlab.com/fvdbeek/emacs-pubmed") + (synopsis "Interface to PubMed") + (description "This package provides an Emacs interface to the PubMed +database of references on life sciences.") + (license license:gpl3+))) + (define-public emacs-websocket (package (name "emacs-websocket") -- cgit v1.2.3 From 242e9f0d2cb6c11a2e4f2001ba71beb7e6a68810 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Tue, 3 Sep 2019 19:35:06 +0200 Subject: gnu: ocaml-batteries: Update to 2.10.0. * gnu/packages/ocaml.scm (ocaml-batteries): Update to 2.10.0. --- gnu/packages/ocaml.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index bd66ab04aa..3bc28164fc 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -2276,7 +2276,7 @@ many additional enhancements, including: (define-public ocaml-batteries (package (name "ocaml-batteries") - (version "2.9.0") + (version "2.10.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/ocaml-batteries-team/" @@ -2284,7 +2284,7 @@ many additional enhancements, including: version "/batteries-" version ".tar.gz")) (sha256 (base32 - "0lkdmv2my5hirkswmci2cch341n6wkkj2q8apjhs83sg6528caxi")))) + "08ghw87d56h1a6y1nnh3x2wy9xj25jqfk5sp6ma9nsyd37babb0h")))) (build-system ocaml-build-system) (native-inputs `(("ocamlbuild" ,ocamlbuild) -- cgit v1.2.3 From f082c78c98d8fee4acd89dd40081c7fd7a081b74 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Tue, 3 Sep 2019 19:42:21 +0200 Subject: gnu: ocaml-cppo: Update to 1.6.6. * gnu/packages/ocaml.scm (ocaml-cppo): Update to 1.6.6. [source]: Use git-fetch. --- gnu/packages/ocaml.scm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 3bc28164fc..af10411f88 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -2466,15 +2466,16 @@ from the oasis build log (define-public ocaml-cppo (package (name "ocaml-cppo") - (version "1.6.5") + (version "1.6.6") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/mjambon/cppo/archive/v" version - ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/mjambon/cppo") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1dkm3d5h6h56y937gcdk2wixlpzl59vv5pmiafglr89p20kf7gqf")) - (file-name (string-append name "-" version ".tar.gz")))) + "1smcc0l6fh2n0y6bp96c69j5nw755jja99w0b206wx3yb2m4w2hs")))) (build-system dune-build-system) (arguments `(#:tests? #f -- cgit v1.2.3 From 8cc6a876bd8c0b18bc7849d9398c87e34e9e10c3 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Tue, 3 Sep 2019 19:51:43 +0200 Subject: gnu: ocaml-migrate-parsetree: Update to 1.4.0. * gnu/packages/ocaml.scm (ocaml-migrate-parsetree): Update to 1.4.0. (ocaml-ppx-tools-versioned): Update to 5.2.3. [source]: Use git-fetch. (ocaml-bisect-ppx): Fix compilation error. --- gnu/packages/ocaml.scm | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index af10411f88..5921d4ea9c 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -1347,7 +1347,7 @@ following a very simple s-expression syntax.") (define-public ocaml-migrate-parsetree (package (name "ocaml-migrate-parsetree") - (version "1.2.0") + (version "1.4.0") (home-page "https://github.com/ocaml-ppx/ocaml-migrate-parsetree") (source (origin @@ -1358,7 +1358,7 @@ following a very simple s-expression syntax.") (file-name (git-file-name name version)) (sha256 (base32 - "16kas19iwm4afijv3yxd250s08absabmdcb4yj57wc8r4fmzv5dm")))) + "0sv1p4615l8gpbah4ya2c40yr6fbvahvv3ks7zhrsgcwcq2ljyr2")))) (build-system dune-build-system) (arguments `(#:tests? #f)) @@ -1376,16 +1376,16 @@ functions to the next and/or previous version.") (define-public ocaml-ppx-tools-versioned (package (name "ocaml-ppx-tools-versioned") - (version "5.2.1") + (version "5.2.3") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/ocaml-ppx/" - "ppx_tools_versioned/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/ocaml-ppx/ppx_tools_versioned") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "1x2xfjpkzbcz4rza1d7gh3ipliw6jqfcklbsln82v3561qgkqgmh")))) + "1hcmpnw26zf70a71r3d2c2c0mn8q084gdn1r36ynng6fv9hq6j0y")))) (build-system dune-build-system) (arguments `(#:test-target ".")) @@ -5077,6 +5077,18 @@ combinators.") `(("ocaml-migrate-parsetree" ,ocaml-migrate-parsetree) ("ocaml-ppx-tools-versioned" ,ocaml-ppx-tools-versioned) ("ocaml-ounit" ,ocaml-ounit))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'build 'fix-deprecated + (lambda _ + ;; Fixed upstream in 22dd1ad9a0c9629f60599c22d82c6488394d6d32, but + ;; not in a release yet. + (substitute* "src/ppx/instrument.ml" + (("module Ast = Ast_405") + "module Ast = Migrate_parsetree.Ast_405 +module Ast_405 = Ast")) + #t))))) (home-page "https://github.com/aantron/bisect_ppx") (synopsis "Code coverage for OCaml") (description "Bisect_ppx helps you test thoroughly. It is a small -- cgit v1.2.3 From ab68604e5fdbf6e8731cba3049109bd53ba2c440 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Tue, 3 Sep 2019 21:12:28 +0200 Subject: gnu: ocaml-qcheck: Update to 0.10. * gnu/packages/ocaml.scm (ocaml-qcheck): Update to 0.10. --- gnu/packages/ocaml.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 5921d4ea9c..6176a3bfed 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -1186,7 +1186,7 @@ GNU CC attributes. It provides also a C pretty printer as an example of use.") (define-public ocaml-qcheck (package (name "ocaml-qcheck") - (version "0.9") + (version "0.10") (source (origin (method git-fetch) @@ -1195,7 +1195,7 @@ GNU CC attributes. It provides also a C pretty printer as an example of use.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "0w83v9ylycsssyn47q8wnkfbvhn5vn10z6i35n5965i2m1r0mmcf")))) + (base32 "1i7axg7vmivrkzsahyg79my584myvzxv0922k4000bdwnhzd0kzh")))) (build-system dune-build-system) (arguments `(#:test-target ".")) -- cgit v1.2.3 From 283ed30e1a060df65c386a2ae928a1fe5dffd66f Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Tue, 3 Sep 2019 21:24:05 +0200 Subject: gnu: dune: Update to 1.11.3. * gnu/packages/ocaml.scm (dune): Update to 1.11.3. [source]: Use git-fetch. --- gnu/packages/ocaml.scm | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 6176a3bfed..f6391ada1b 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -1317,14 +1317,16 @@ coverage information.") (define-public dune (package (name "dune") - (version "1.9.3") + (version "1.11.3") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/ocaml/dune/releases/" - "download/" version "/dune-" version ".tbz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/ocaml/dune") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "1jlhnx580v6i1d451z5cl8ibfd0m9qln963y2pp5v6s2winyqyri")))) + "0l4x0x2fz135pljv88zj8y6w1ninsqw0gn1mdxzprd6wbxbyn8wr")))) (build-system ocaml-build-system) (arguments `(#:tests? #f; require odoc -- cgit v1.2.3 From 5ab63bd5833bd0a6fe8397f9523cd0998b4bec71 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Tue, 3 Sep 2019 21:28:04 +0200 Subject: gnu: ocaml-odoc: Update to 1.4.1. * gnu/packages/ocaml.scm (ocaml-odoc): Update to 1.4.1. --- gnu/packages/ocaml.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index f6391ada1b..e360a30961 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -5105,7 +5105,7 @@ then run the Bisect_ppx report tool on the generated visitation files.") (define-public ocaml-odoc (package (name "ocaml-odoc") - (version "1.4.0") + (version "1.4.1") (source (origin (method git-fetch) @@ -5115,7 +5115,7 @@ then run the Bisect_ppx report tool on the generated visitation files.") (file-name (git-file-name name version)) (sha256 (base32 - "0br11cw6wa0mwafja4xdb45d2f8908l6nzdq5mw5lbfq2jnp68km")))) + "1i2j0krbzvb1n3dcic9h1pyyqxmf051ky82nrcyzx1nwqjb8zfh6")))) (build-system dune-build-system) (inputs `(("ocaml-alcotest" ,ocaml-alcotest) -- cgit v1.2.3 From d47c8fffd0ad987c6337e6ce37d3b78d1d962bd8 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Tue, 3 Sep 2019 21:30:59 +0200 Subject: gnu: ocaml-result: Update to 1.4. * gnu/packages/ocaml.scm (ocaml-result): Update to 1.4. --- gnu/packages/ocaml.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index e360a30961..4fce0a7439 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -1437,7 +1437,7 @@ powerful.") (define-public ocaml-result (package (name "ocaml-result") - (version "1.3") + (version "1.4") (source (origin (method git-fetch) (uri (git-reference @@ -1446,7 +1446,7 @@ powerful.") (file-name (git-file-name name version)) (sha256 (base32 - "081ayblszn9pj2rqcif40x6cz2zda48vi45gy49rc2qfc4gszry3")))) + "0hir97k9i72nfkm6kncxnqpyk400wlsxysbldgcvk0fd9pjnsc3p")))) (build-system dune-build-system) (arguments `(#:test-target ".")) -- cgit v1.2.3 From 3882f607e8b1b69c03aa0e8f4859b52ec6d154f3 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Tue, 3 Sep 2019 21:43:41 +0200 Subject: gnu: ocaml-zarith: Update to 1.9.1. * gnu/packages/ocaml.scm (ocaml-zarith): Update to 1.9.1. --- gnu/packages/ocaml.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 4fce0a7439..0124373afa 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -1109,7 +1109,7 @@ files in these formats.") (define-public ocaml-zarith (package (name "ocaml-zarith") - (version "1.7") + (version "1.9.1") (source (origin (method git-fetch) (uri (git-reference @@ -1117,7 +1117,7 @@ files in these formats.") (commit (string-append "release-" version)))) (sha256 (base32 - "08x5xnamibhvxl50f1bb3jl9ym0hm6004hmc54xnrnrv7jxz9rvz")))) + "0hv5ywz1q2cgn8apfz490clwk5hcynr937g2v8i13x2ax4bnv0lz")))) (build-system ocaml-build-system) (native-inputs `(("perl" ,perl))) -- cgit v1.2.3 From a468fc5e8ce42b8e2d99b843c9646c084f7a734f Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Tue, 3 Sep 2019 22:19:20 +0200 Subject: gnu: ocaml-camomile: Update to 1.0.2. * gnu/packages/ocaml.scm (ocaml-camomile): Update to 1.0.2. [arguments]: Fix profile and disable failing tests. --- gnu/packages/ocaml.scm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 0124373afa..1c938beac2 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -2953,7 +2953,7 @@ the plugins facilitate extensibility, and the frontends serve as entry points.") (define-public ocaml-camomile (package (name "ocaml-camomile") - (version "1.0.1") + (version "1.0.2") (home-page "https://github.com/yoriyuki/Camomile") (source (origin (method url-fetch) @@ -2961,18 +2961,19 @@ the plugins facilitate extensibility, and the frontends serve as entry points.") "/camomile-" version ".tbz")) (sha256 (base32 - "01ssjrqz41jvrqh27jxnh9cx7ywi9b5sgsykd00i7z9nrcwhlfy2")))) + "0chn7ldqb3wyf95yhmsxxq65cif56smgz1mhhc7m0dpwmyq1k97h")))) (build-system dune-build-system) (native-inputs `(("camlp4" ,camlp4))) (arguments - `(#:build-flags (list "--profile" "realease") + `(#:build-flags (list "--profile" "release") #:test-target "camomile-test" + #:tests? #f; Tests fail, see https://github.com/yoriyuki/Camomile/issues/82 #:phases (modify-phases %standard-phases (add-before 'build 'fix-usr-share (lambda* (#:key outputs #:allow-other-keys) - (substitute* '("Camomile/jbuild" "configure.ml") + (substitute* '("Camomile/dune" "configure.ml") (("/usr/share") (string-append (assoc-ref outputs "out") "/share"))) #t))))) (synopsis "Comprehensive Unicode library") -- cgit v1.2.3 From e60330510a0c0b6c080a0878be6aa40644456314 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Tue, 3 Sep 2019 22:43:07 +0200 Subject: gnu: Add ocaml-charinfo-width. * gnu/packages/ocaml.scm (ocaml-charinfo-width): New variable. --- gnu/packages/ocaml.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 1c938beac2..3f661b74e1 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -2984,6 +2984,30 @@ library is currently designed for Unicode Standard 3.2.") ;; with an exception for linked libraries to use a different license (license license:lgpl2.0+))) +(define-public ocaml-charinfo-width + (package + (name "ocaml-charinfo-width") + (version "1.1.0") + (source (origin + (method url-fetch) + (uri "https://bitbucket.org/zandoye/charinfo_width/get/1.1.0.tar.gz") + (sha256 + (base32 + "00bv4p1yqs8y0z4z07wd9w9yyv669dikp9b04dcjbwpiy2wy0086")))) + (build-system dune-build-system) + (propagated-inputs + `(("ocaml-result" ,ocaml-result) + ("ocaml-camomile" ,ocaml-camomile))) + (native-inputs + `(("ocaml-ppx-expect" ,ocaml-ppx-expect))) + (properties + `((upstream-name . "charInfo_width"))) + (home-page "https://bitbucket.org/zandoye/charinfo_width/") + (synopsis "Determine column width for a character") + (description "This module is implements purely in OCaml a character width +function that follows the prototype of POSIX's wcwidth.") + (license license:expat))) + (define-public ocaml-zed (package (name "ocaml-zed") -- cgit v1.2.3 From a21ea76fbf8cc82653f038ded323fe88d1d785e7 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Tue, 3 Sep 2019 23:12:43 +0200 Subject: gnu: Add ocaml-stdlib-shims. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/ocaml.scm (ocaml-stdlib-shims): New variable. --- gnu/packages/ocaml.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 3f661b74e1..d66910cb4a 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -2383,6 +2383,28 @@ language.") can match the question using a regular expression or a timeout.") (license license:lgpl2.1+))) ; with the OCaml static compilation exception +(define-public ocaml-stdlib-shims + (package + (name "ocaml-stdlib-shims") + (version "0.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ocaml/stdlib-shims") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "007dwywsr5285z0np6a9nr0h8iqmyzfrlx6s5xaqcwj69zabsrjm")))) + (build-system dune-build-system) + (home-page "https://github.com/ocaml/stdlib-shims") + (synopsis "OCaml stdlib features backport to older OCaml compilers") + (description "This package backports some of the new stdlib features to +older compilers, such as the Stdlib module. This allows projects that require +compatibility with older compiler to use these new features in their code.") + ;; with ocaml-linking exception + (license license:lgpl2.1+))) + (define-public ocaml-fileutils (package (name "ocaml-fileutils") -- cgit v1.2.3 From 1a0d41b34dd18828d5f38f3d8e31517df6aa0f57 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Tue, 3 Sep 2019 23:14:45 +0200 Subject: gnu: ocaml-utop: Update to 2.4.1. * gnu/packages/ocaml.scm (ocaml-utop): Update to 2.4.1. (ocaml-lamdba-term): Update to 2.0.2. (ocaml-zed): Update to 2.0.3. --- gnu/packages/ocaml.scm | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index d66910cb4a..32e2a6e69a 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3033,7 +3033,7 @@ function that follows the prototype of POSIX's wcwidth.") (define-public ocaml-zed (package (name "ocaml-zed") - (version "1.6") + (version "2.0.3") (source (origin (method git-fetch) @@ -3042,14 +3042,15 @@ function that follows the prototype of POSIX's wcwidth.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "00hhxcjf3bj3w2qm8nzs9x6vrqkadf4i0277s5whzy2rmiknj63v")))) + (base32 "0pa9awinqr0plp4b2az78dwpvh01pwaljnn5ydg8mc6hi7rmir55")))) (build-system dune-build-system) (arguments `(#:jbuild? #t #:test-target ".")) (propagated-inputs - `(("camomile" ,ocaml-camomile) - ("react" ,ocaml-react))) + `(("ocaml-camomile" ,ocaml-camomile) + ("ocaml-charinfo-width" ,ocaml-charinfo-width) + ("ocaml-react" ,ocaml-react))) (home-page "https://github.com/diml/zed") (synopsis "Abstract engine for text editing in OCaml") (description "Zed is an abstract engine for text edition. It can be used @@ -3060,7 +3061,7 @@ connect an engine to your inputs and rendering functions to get an editor.") (define-public ocaml-lambda-term (package (name "ocaml-lambda-term") - (version "1.13") + (version "2.0.2") (source (origin (method git-fetch) @@ -3069,7 +3070,7 @@ connect an engine to your inputs and rendering functions to get an editor.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "0wwib20b2ir3h2g9zwhzn04cv160psb805skp8v23wqgyn5cnbh8")))) + (base32 "0zcjy6fvf0d3i2ssz96asl889n3r6bplyzk7xvb2s3dkxbgcisyy")))) (build-system dune-build-system) (arguments `(#:build-flags (list "--profile" "release") @@ -3091,7 +3092,7 @@ instead of bindings to a C library.") (define-public ocaml-utop (package (name "ocaml-utop") - (version "2.3.0") + (version "2.4.1") (source (origin (method git-fetch) @@ -3100,7 +3101,7 @@ instead of bindings to a C library.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "0xvibb97vzzh7yabr5ajhilriwz8cg4c506lxq0bd7ss3aci9han")))) + (base32 "1jm3sagissbw8012mnppknsxl9dqd9514b891b64disqhdb5awg3")))) (build-system dune-build-system) (arguments `(#:jbuild? #t -- cgit v1.2.3 From 1fe01b70112986374ae184610127719154cc67ec Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Tue, 3 Sep 2019 23:10:30 +0200 Subject: gnu: ocaml-fileutils: Update to 0.6.0. * gnu/packages/ocaml.scm (ocaml-fileutils): Update to 0.6.0. --- gnu/packages/ocaml.scm | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 32e2a6e69a..52f7a42e93 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -2408,17 +2408,38 @@ compatibility with older compiler to use these new features in their code.") (define-public ocaml-fileutils (package (name "ocaml-fileutils") - (version "0.5.3") + (version "0.6.0") (source (origin - (method url-fetch) - (uri (ocaml-forge-uri name version 1728)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/gildor478/ocaml-fileutils") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1rc4cqlvdhbs55i85zfbfhz938fsy4fj6kwlkfm3ra7bpwn8bmpd")))) + "06gxbqfssl16xc8y4d34wpm0mwfr0jgph4lmlwfmgazyggnmvc7m")))) (build-system ocaml-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-before 'configure 'set-topfind + (lambda* (#:key inputs #:allow-other-keys) + ;; add the line #directory ".." at the top of each file + ;; using #use "topfind";; to be able to find topfind + (let* ((findlib-path (assoc-ref inputs "findlib")) + (findlib-libdir + (string-append findlib-path "/lib/ocaml/site-lib"))) + (substitute* "setup.ml" + (("#use \"topfind\";;" all) + (string-append "#directory \"" findlib-libdir "\"\n" + all)))) + #t))))) + (propagated-inputs + `(("ocaml-stdlib-shims" ,ocaml-stdlib-shims))) (native-inputs `(("ocamlbuild" ,ocamlbuild) - ("ounit" ,ocaml-ounit))) + ("ocaml-oasis" ,ocaml-oasis) + ("ocaml-ounit" ,ocaml-ounit))) (home-page "http://ocaml-fileutils.forge.ocamlcore.org") (synopsis "Pure OCaml functions to manipulate real file and filename") (description "Library to provide pure OCaml functions to manipulate real -- cgit v1.2.3 From 3c82f1254116be2a9216b7c7e5e8c001ff486270 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 4 Sep 2019 12:24:59 +0200 Subject: tests: Adjust '--with-commit' test. This is a followup to 4d04bc50d2df32be326e0f48f378dc581f873989. * tests/guix-build-branch.sh: Expect "v0.1.0" to lead to "guile-gcrypt-0.1.0". --- tests/guix-build-branch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/guix-build-branch.sh b/tests/guix-build-branch.sh index 3d2a7dddf5..2556a0cdb9 100644 --- a/tests/guix-build-branch.sh +++ b/tests/guix-build-branch.sh @@ -53,7 +53,7 @@ test "$v0_1_0_drv" != "$latest_drv" test "$v0_1_0_drv" != "$orig_drv" v0_1_0_drv="`guix build guix --with-commit=guile-gcrypt=v0.1.0 -d`" -guix gc -R "$v0_1_0_drv" | grep guile-gcrypt-git.v0.1.0 +guix gc -R "$v0_1_0_drv" | grep guile-gcrypt-0.1.0 guix gc -R "$v0_1_0_drv" | grep guile-gcrypt-9e3eacd test "$v0_1_0_drv" != "$latest_drv" test "$v0_1_0_drv" != "$orig_drv" -- cgit v1.2.3 From 91300526b7d9d775bd98a700ed3758420ef9eac6 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 4 Sep 2019 12:36:34 +0200 Subject: deploy: Add missing store options. * guix/scripts/deploy.scm (%default-options): Add missing options such as 'print-build-trace?', etc. --- guix/scripts/deploy.scm | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/guix/scripts/deploy.scm b/guix/scripts/deploy.scm index 329de41143..cf571756fd 100644 --- a/guix/scripts/deploy.scm +++ b/guix/scripts/deploy.scm @@ -66,11 +66,15 @@ Perform the deployment specified by FILE.\n")) %standard-build-options)) (define %default-options - `((substitutes? . #t) - (build-hook? . #t) - (graft? . #t) + ;; Alist of default option values. + `((verbosity . 1) (debug . 0) - (verbosity . 1))) + (graft? . #t) + (substitutes? . #t) + (build-hook? . #t) + (print-build-trace? . #t) + (print-extended-build-trace? . #t) + (multiplexed-build-output? . #t))) (define (load-source-file file) "Load FILE as a user module." -- cgit v1.2.3 From 76073d29e11c71d3678efd44db646852b5502e55 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 1 Sep 2019 13:24:03 +0200 Subject: Add (guix json). * guix/swh.scm (define-json-reader, define-json-mapping): Move to... * guix/json.scm: ... here. New file. * Makefile.am (MODULES): Add it. --- Makefile.am | 1 + guix/json.scm | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ guix/swh.scm | 35 +-------------------------------- 3 files changed, 64 insertions(+), 34 deletions(-) create mode 100644 guix/json.scm diff --git a/Makefile.am b/Makefile.am index fa6bf8fe80..7b96c9473c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -68,6 +68,7 @@ MODULES = \ guix/cpio.scm \ guix/deprecation.scm \ guix/docker.scm \ + guix/json.scm \ guix/records.scm \ guix/pki.scm \ guix/progress.scm \ diff --git a/guix/json.scm b/guix/json.scm new file mode 100644 index 0000000000..20f0bd8f13 --- /dev/null +++ b/guix/json.scm @@ -0,0 +1,62 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2018, 2019 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 (guix json) + #:use-module (json) + #:use-module (srfi srfi-9) + #:export (define-json-mapping)) + +;;; Commentary: +;;; +;;; Helpers to map JSON objects to SRFI-9 records. Taken from (guix swh). +;;; +;;; Code: + +(define-syntax-rule (define-json-reader json->record ctor spec ...) + "Define JSON->RECORD as a procedure that converts a JSON representation, +read from a port, string, or hash table, into a record created by CTOR and +following SPEC, a series of field specifications." + (define (json->record input) + (let ((table (cond ((port? input) + (json->scm input)) + ((string? input) + (json-string->scm input)) + ((or (null? input) (pair? input)) + input)))) + (let-syntax ((extract-field (syntax-rules () + ((_ table (field key json->value)) + (json->value (assoc-ref table key))) + ((_ table (field key)) + (assoc-ref table key)) + ((_ table (field)) + (assoc-ref table + (symbol->string 'field)))))) + (ctor (extract-field table spec) ...))))) + +(define-syntax-rule (define-json-mapping rtd ctor pred json->record + (field getter spec ...) ...) + "Define RTD as a record type with the given FIELDs and GETTERs, à la SRFI-9, +and define JSON->RECORD as a conversion from JSON to a record of this type." + (begin + (define-record-type rtd + (ctor field ...) + pred + (field getter) ...) + + (define-json-reader json->record ctor + (field spec ...) ...))) diff --git a/guix/swh.scm b/guix/swh.scm index 01648a1ebe..7acad05928 100644 --- a/guix/swh.scm +++ b/guix/swh.scm @@ -21,6 +21,7 @@ #:use-module (guix build utils) #:use-module ((guix build syscalls) #:select (mkdtemp!)) #:use-module (web uri) + #:use-module (guix json) #:use-module (web client) #:use-module (web response) #:use-module (json) @@ -135,40 +136,6 @@ url (string-append url "/"))) -(define-syntax-rule (define-json-reader json->record ctor spec ...) - "Define JSON->RECORD as a procedure that converts a JSON representation, -read from a port, string, or hash table, into a record created by CTOR and -following SPEC, a series of field specifications." - (define (json->record input) - (let ((table (cond ((port? input) - (json->scm input)) - ((string? input) - (json-string->scm input)) - ((or (null? input) (pair? input)) - input)))) - (let-syntax ((extract-field (syntax-rules () - ((_ table (field key json->value)) - (json->value (assoc-ref table key))) - ((_ table (field key)) - (assoc-ref table key)) - ((_ table (field)) - (assoc-ref table - (symbol->string 'field)))))) - (ctor (extract-field table spec) ...))))) - -(define-syntax-rule (define-json-mapping rtd ctor pred json->record - (field getter spec ...) ...) - "Define RTD as a record type with the given FIELDs and GETTERs, à la SRFI-9, -and define JSON->RECORD as a conversion from JSON to a record of this type." - (begin - (define-record-type rtd - (ctor field ...) - pred - (field getter) ...) - - (define-json-reader json->record ctor - (field spec ...) ...))) - (define %date-regexp ;; Match strings like "2014-11-17T22:09:38+01:00" or ;; "2018-09-30T23:20:07.815449+00:00"". -- cgit v1.2.3 From a85a74ce6c9ff36ccd6ef50216ba8515723f3a62 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 1 Sep 2019 14:58:40 +0200 Subject: ci: Use (guix json) and adjust for Guile-JSON 3.x. This is in part a followup to 81c3dc32244a17241d74eea9fa265edfcb326f6d. * guix/ci.scm (, , ): Define using 'define-json-mapping'. (json->build, json->checkout, json->evaluation): Remove. (queued-builds, latest-builds, latest-evaluations): Pass JSON arrays through 'vector->list' to adjust for Guile-JSON 3.x. (evaluations-for-commit): Fix typo to really export. --- guix/ci.scm | 68 ++++++++++++++++++++++++------------------------------------- 1 file changed, 27 insertions(+), 41 deletions(-) diff --git a/guix/ci.scm b/guix/ci.scm index 1727297dd7..9e21996023 100644 --- a/guix/ci.scm +++ b/guix/ci.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2018 Ludovic Courtès +;;; Copyright © 2018, 2019 Ludovic Courtès ;;; ;;; This file is part of GNU Guix. ;;; @@ -18,9 +18,10 @@ (define-module (guix ci) #:use-module (guix http-client) - #:autoload (json parser) (json->scm) + #:use-module (guix json) + #:use-module (json) #:use-module (srfi srfi-1) - #:use-module (srfi srfi-9) + #:use-module (ice-9 match) #:export (build? build-id build-derivation @@ -42,7 +43,7 @@ queued-builds latest-builds latest-evaluations - evaluation-for-commit)) + evaluations-for-commit)) ;;; Commentary: ;;; @@ -51,28 +52,31 @@ ;;; ;;; Code: -(define-record-type - (make-build id derivation system status timestamp) - build? - (id build-id) ;integer +(define-json-mapping make-build build? + json->build + (id build-id "id") ;integer (derivation build-derivation) ;string | #f (system build-system) ;string - (status build-status) ;integer + (status build-status "buildstatus" ) ;integer (timestamp build-timestamp)) ;integer -(define-record-type - (make-checkout commit input) - checkout? +(define-json-mapping make-checkout checkout? + json->checkout (commit checkout-commit) ;string (SHA1) (input checkout-input)) ;string (name) -(define-record-type - (make-evaluation id spec complete? checkouts) - evaluation? +(define-json-mapping make-evaluation evaluation? + json->evaluation (id evaluation-id) ;integer (spec evaluation-spec) ;string - (complete? evaluation-complete?) ;Boolean - (checkouts evaluation-checkouts)) ;* + (complete? evaluation-complete? "in-progress" + (match-lambda + (0 #t) + (_ #f))) ;Boolean + (checkouts evaluation-checkouts "checkouts" ;* + (lambda (checkouts) + (map json->checkout + (vector->list checkouts))))) (define %query-limit ;; Max number of builds requested in queries. @@ -84,18 +88,11 @@ (close-port port) json)) -(define (json->build json) - (make-build (hash-ref json "id") - (hash-ref json "derivation") - (hash-ref json "system") - (hash-ref json "buildstatus") - (hash-ref json "timestamp"))) - (define* (queued-builds url #:optional (limit %query-limit)) "Return the list of queued derivations on URL." (let ((queue (json-fetch (string-append url "/api/queue?nr=" (number->string limit))))) - (map json->build queue))) + (map json->build (vector->list queue)))) (define* (latest-builds url #:optional (limit %query-limit) #:key evaluation system) @@ -114,26 +111,15 @@ string such as \"x86_64-linux\"), restrict to builds for SYSTEM." (option "system" system))))) ;; Note: Hydra does not provide a "derivation" field for entries in ;; 'latestbuilds', but Cuirass does. - (map json->build latest))) - -(define (json->checkout json) - (make-checkout (hash-ref json "commit") - (hash-ref json "input"))) - -(define (json->evaluation json) - (make-evaluation (hash-ref json "id") - (hash-ref json "specification") - (case (hash-ref json "in-progress") - ((0) #t) - (else #f)) - (map json->checkout (hash-ref json "checkouts")))) + (map json->build (vector->list latest)))) (define* (latest-evaluations url #:optional (limit %query-limit)) "Return the latest evaluations performed by the CI server at URL." (map json->evaluation - (json->scm - (http-fetch (string-append url "/api/evaluations?nr=" - (number->string limit)))))) + (vector->list + (json->scm + (http-fetch (string-append url "/api/evaluations?nr=" + (number->string limit))))))) (define* (evaluations-for-commit url commit #:optional (limit %query-limit)) -- cgit v1.2.3 From 2791870d09afd247a011bc8cb6cf88661729bd98 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 1 Sep 2019 16:20:36 +0200 Subject: import: crate: Separate crates.io API from actual conversion. This provides a clean separation between bindings to the https://crates.io/api/v1 API and actual conversion to Guix package sexps. As a side-effect, it fixes things like "guix import blake2-rfc", "guix refresh -t crates", etc. * guix/import/crate.scm (, , ): New record types. (lookup-crate, crate-version-dependencies): New procedures. (crate-fetch): Remove. (crate->guix-package): Rewrite to use the new API. (latest-release): Likewise. * guix/build-system/cargo.scm (%crate-base-url): New variable. * tests/crate.scm (test-crate): Update accordingly. fixlet --- guix/build-system/cargo.scm | 11 +++- guix/import/crate.scm | 153 ++++++++++++++++++++++++++++++++------------ tests/crate.scm | 13 +++- 3 files changed, 131 insertions(+), 46 deletions(-) diff --git a/guix/build-system/cargo.scm b/guix/build-system/cargo.scm index 10a1bac844..1e8b3a578e 100644 --- a/guix/build-system/cargo.scm +++ b/guix/build-system/cargo.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès +;;; Copyright © 2013, 2014, 2015, 2016, 2019 Ludovic Courtès ;;; Copyright © 2013 Andreas Enge ;;; Copyright © 2013 Nikita Karetnikov ;;; Copyright © 2016 David Craven @@ -35,12 +35,17 @@ #:export (%cargo-build-system-modules %cargo-utils-modules cargo-build-system + %crate-base-url crate-url crate-url? crate-uri)) -(define crate-url "https://crates.io/api/v1/crates/") -(define crate-url? (cut string-prefix? crate-url <>)) +(define %crate-base-url + (make-parameter "https://crates.io")) +(define crate-url + (string-append (%crate-base-url) "/api/v1/crates/")) +(define crate-url? + (cut string-prefix? crate-url <>)) (define (crate-uri name version) "Return a URI string for the crate package hosted at crates.io corresponding diff --git a/guix/import/crate.scm b/guix/import/crate.scm index 52c5cb1c30..b674323177 100644 --- a/guix/import/crate.scm +++ b/guix/import/crate.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2016 David Craven +;;; Copyright © 2019 Ludovic Courtès ;;; ;;; This file is part of GNU Guix. ;;; @@ -22,6 +23,7 @@ #:use-module ((guix download) #:prefix download:) #:use-module (gcrypt hash) #:use-module (guix http-client) + #:use-module (guix json) #:use-module (guix import json) #:use-module (guix import utils) #:use-module ((guix licenses) #:prefix license:) @@ -30,7 +32,6 @@ #:use-module (guix upstream) #:use-module (guix utils) #:use-module (ice-9 match) - #:use-module (ice-9 pretty-print) ; recursive #:use-module (json) #:use-module (srfi srfi-1) #:use-module (srfi srfi-2) @@ -39,46 +40,82 @@ guix-package->crate-name %crate-updater)) -(define (crate-fetch crate-name callback) - "Fetch the metadata for CRATE-NAME from crates.io and call the callback." + +;;; +;;; Interface to https://crates.io/api/v1. +;;; - (define (crates->inputs crates) - (sort (map (cut assoc-ref <> "crate_id") crates) string-ci below. +(define-json-mapping make-crate crate? + json->crate + (name crate-name) ;string + (latest-version crate-latest-version "max_version") ;string + (home-page crate-home-page "homepage") ;string | #nil + (repository crate-repository) ;string + (description crate-description) ;string + (keywords crate-keywords ;list of strings + "keywords" vector->list) + (categories crate-categories ;list of strings + "categories" vector->list) + (versions crate-versions "actual_versions" ;list of + (lambda (vector) + (map json->crate-version + (vector->list vector)))) + (links crate-links)) ;alist - (define (string->license string) - (map spdx-string->license (string-split string #\/))) +;; Crate version. +(define-json-mapping make-crate-version crate-version? + json->crate-version + (id crate-version-id) ;integer + (number crate-version-number "num") ;string + (download-path crate-version-download-path "dl_path") ;string + (readme-path crate-version-readme-path "readme_path") ;string + (license crate-version-license "license") ;string + (links crate-version-links)) ;alist + +;; Crate dependency. Each dependency (each edge in the graph) is annotated as +;; being a "normal" dependency or a development dependency. There also +;; information about the minimum required version, such as "^0.0.41". +(define-json-mapping make-crate-dependency + crate-dependency? + json->crate-dependency + (id crate-dependency-id "crate_id") ;string + (kind crate-dependency-kind "kind" ;'normal | 'dev + string->symbol) + (requirement crate-dependency-requirement "req")) ;string + +(define (lookup-crate name) + "Look up NAME on https://crates.io and return the corresopnding +record or #f if it was not found." + (let ((json (json-fetch (string-append (%crate-base-url) "/api/v1/crates/" + name)))) + (and=> (and json (assoc-ref json "crate")) + (lambda (alist) + ;; The "versions" field of ALIST is simply a list of version IDs + ;; (integers). Here, we squeeze in the actual version + ;; dictionaries that are not part of ALIST but are just more + ;; convenient handled this way. + (let ((versions (or (assoc-ref json "versions") '#()))) + (json->crate `(,@alist + ("actual_versions" . ,versions)))))))) + +(define (crate-version-dependencies version) + "Return the list of records of VERSION, a +." + (let* ((path (assoc-ref (crate-version-links version) "dependencies")) + (url (string-append (%crate-base-url) path))) + (match (assoc-ref (or (json-fetch url) '()) "dependencies") + ((? vector? vector) + (map json->crate-dependency (vector->list vector))) + (_ + '())))) - (define (crate-kind-predicate kind) - (lambda (dep) (string=? (assoc-ref dep "kind") kind))) - - (and-let* ((crate-json (json-fetch (string-append crate-url crate-name))) - (crate (assoc-ref crate-json "crate")) - (name (assoc-ref crate "name")) - (version (assoc-ref crate "max_version")) - (homepage (assoc-ref crate "homepage")) - (repository (assoc-ref crate "repository")) - (synopsis (assoc-ref crate "description")) - (description (assoc-ref crate "description")) - (license (or (and=> (assoc-ref crate "license") - string->license) - '())) ;missing license info - (path (string-append "/" version "/dependencies")) - (deps-json (json-fetch (string-append crate-url name path))) - (deps (vector->list (assoc-ref deps-json "dependencies"))) - (dep-crates (filter (crate-kind-predicate "normal") deps)) - (dev-dep-crates - (filter (lambda (dep) - (not ((crate-kind-predicate "normal") dep))) deps)) - (cargo-inputs (crates->inputs dep-crates)) - (cargo-development-inputs (crates->inputs dev-dep-crates)) - (home-page (match homepage - (() repository) - (_ homepage)))) - (callback #:name name #:version version - #:cargo-inputs cargo-inputs - #:cargo-development-inputs cargo-development-inputs - #:home-page home-page #:synopsis synopsis - #:description description #:license license))) + +;;; +;;; Converting crates to Guix packages. +;;; (define (maybe-cargo-inputs package-names) (match (package-names->package-inputs package-names) @@ -141,7 +178,38 @@ and LICENSE." (define (crate->guix-package crate-name) "Fetch the metadata for CRATE-NAME from crates.io, and return the `package' s-expression corresponding to that package, or #f on failure." - (crate-fetch crate-name make-crate-sexp)) + (define (string->license string) + (map spdx-string->license (string-split string #\/))) + + (define (normal-dependency? dependency) + (eq? (crate-dependency-kind dependency) 'normal)) + + (define crate + (lookup-crate crate-name)) + + (and crate + (let* ((version (find (lambda (version) + (string=? (crate-version-number version) + (crate-latest-version crate))) + (crate-versions crate))) + (dependencies (crate-version-dependencies version)) + (dep-crates (filter normal-dependency? dependencies)) + (dev-dep-crates (remove normal-dependency? dependencies)) + (cargo-inputs (sort (map crate-dependency-id dep-crates) + string-ci (crate-version-license version) + string->license))))) (define (guix-package->crate-name package) "Return the crate name of PACKAGE." @@ -157,6 +225,7 @@ and LICENSE." (define (crate-name->package-name name) (string-append "rust-" (string-join (string-split name #\_) "-"))) + ;;; ;;; Updater ;;; @@ -175,9 +244,9 @@ and LICENSE." (define (latest-release package) "Return an for the latest release of PACKAGE." (let* ((crate-name (guix-package->crate-name package)) - (callback (lambda* (#:key version #:allow-other-keys) version)) - (version (crate-fetch crate-name callback)) - (url (crate-uri crate-name version))) + (crate (lookup-crate crate-name)) + (version (crate-latest-version crate)) + (url (crate-uri crate-name version))) (upstream-source (package (package-name package)) (version version) diff --git a/tests/crate.scm b/tests/crate.scm index 72c3a13350..8a232ba06c 100644 --- a/tests/crate.scm +++ b/tests/crate.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2014 David Thompson ;;; Copyright © 2016 David Craven +;;; Copyright © 2019 Ludovic Courtès ;;; ;;; This file is part of GNU Guix. ;;; @@ -32,10 +33,20 @@ \"crate\": { \"max_version\": \"1.0.0\", \"name\": \"foo\", - \"license\": \"MIT/Apache-2.0\", \"description\": \"summary\", \"homepage\": \"http://example.com\", \"repository\": \"http://example.com\", + \"keywords\": [\"dummy\" \"test\"], + \"categories\": [\"test\"] + \"actual_versions\": [ + { \"id\": \"foo\", + \"num\": \"1.0.0\", + \"license\": \"MIT/Apache-2.0\", + \"links\": { + \"dependencies\": \"/api/v1/crates/foo/1.0.0/dependencies\" + } + } + ] } }") -- cgit v1.2.3 From 191668bc9759dc87a27b5f4d55d214cc655f197f Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 1 Sep 2019 16:32:11 +0200 Subject: import: crate: Correct interpretation of dual-licensing strings. * guix/import/crate.scm (%dual-license-rx): New variable. (crate->guix-package)[string->license]: Rewrite to match it. * tests/crate.scm (test-crate): Adjust "license" field to current practice. --- guix/import/crate.scm | 11 ++++++++++- tests/crate.scm | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/guix/import/crate.scm b/guix/import/crate.scm index b674323177..f6057dbf8b 100644 --- a/guix/import/crate.scm +++ b/guix/import/crate.scm @@ -32,6 +32,7 @@ #:use-module (guix upstream) #:use-module (guix utils) #:use-module (ice-9 match) + #:use-module (ice-9 regex) #:use-module (json) #:use-module (srfi srfi-1) #:use-module (srfi srfi-2) @@ -175,11 +176,19 @@ and LICENSE." (close-port port) pkg)) +(define %dual-license-rx + ;; Dual licensing is represented by a string such as "MIT OR Apache-2.0". + ;; This regexp matches that. + (make-regexp "^(.*) OR (.*)$")) + (define (crate->guix-package crate-name) "Fetch the metadata for CRATE-NAME from crates.io, and return the `package' s-expression corresponding to that package, or #f on failure." (define (string->license string) - (map spdx-string->license (string-split string #\/))) + (match (regexp-exec %dual-license-rx string) + (#f (list (spdx-string->license string))) + (m (list (spdx-string->license (match:substring m 1)) + (spdx-string->license (match:substring m 2)))))) (define (normal-dependency? dependency) (eq? (crate-dependency-kind dependency) 'normal)) diff --git a/tests/crate.scm b/tests/crate.scm index 8a232ba06c..c14862ad9f 100644 --- a/tests/crate.scm +++ b/tests/crate.scm @@ -41,7 +41,7 @@ \"actual_versions\": [ { \"id\": \"foo\", \"num\": \"1.0.0\", - \"license\": \"MIT/Apache-2.0\", + \"license\": \"MIT OR Apache-2.0\", \"links\": { \"dependencies\": \"/api/v1/crates/foo/1.0.0/dependencies\" } -- cgit v1.2.3 From f1371daa97a521d0e995599cf94fa2516c6784c9 Mon Sep 17 00:00:00 2001 From: "Jovany Leandro G.C" Date: Sun, 1 Sep 2019 05:52:09 -0500 Subject: gnu: twinkle: update to 1.10.2. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/telephony.scm (twinkle): update to 1.10.2 * gnu/packages/patches/twinkle-include-qregexpvalidator.patch: Delete it. * gnu/local.mk (dist_patch_DATA): Remove patch. Co-authored-by: Ludovic Courtès --- gnu/local.mk | 1 - .../patches/twinkle-include-qregexpvalidator.patch | 123 --------------------- gnu/packages/telephony.scm | 80 +++++++------- 3 files changed, 38 insertions(+), 166 deletions(-) delete mode 100755 gnu/packages/patches/twinkle-include-qregexpvalidator.patch diff --git a/gnu/local.mk b/gnu/local.mk index dbae857c38..b7a5ef825b 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1362,7 +1362,6 @@ dist_patch_DATA = \ %D%/packages/patches/totem-meson-compat.patch \ %D%/packages/patches/totem-meson-easy-codec.patch \ %D%/packages/patches/tuxpaint-stamps-path.patch \ - %D%/packages/patches/twinkle-include-qregexpvalidator.patch \ %D%/packages/patches/txr-shell.patch \ %D%/packages/patches/u-boot-fix-mkimage-header-verification.patch \ %D%/packages/patches/unzip-CVE-2014-8139.patch \ diff --git a/gnu/packages/patches/twinkle-include-qregexpvalidator.patch b/gnu/packages/patches/twinkle-include-qregexpvalidator.patch deleted file mode 100755 index 4096cc8712..0000000000 --- a/gnu/packages/patches/twinkle-include-qregexpvalidator.patch +++ /dev/null @@ -1,123 +0,0 @@ -Copied from upstream: - -https://github.com/LubosD/twinkle/commit/4b42755619011c117a76bdf98e417ebedc47e319 - -From 4b42755619011c117a76bdf98e417ebedc47e319 Mon Sep 17 00:00:00 2001 -From: Michal Kubecek -Date: Wed, 6 Jun 2018 10:07:21 +0200 -Subject: [PATCH] Include explicitly - -Since Qt 5.11, generated ui_getprofilename.h no longer includes QHeaderView -which breaks the chain that included qvalidator.h in getprofilename.cpp. -As it feels rather fragile to rely on such indirect includes, let's include - explicitly in each file using QRegExpValidator class. ---- - src/gui/diamondcardprofileform.cpp | 1 + - src/gui/getprofilenameform.cpp | 2 +- - src/gui/inviteform.cpp | 1 + - src/gui/mphoneform.cpp | 1 + - src/gui/numberconversionform.cpp | 1 + - src/gui/syssettingsform.cpp | 1 + - src/gui/userprofileform.cpp | 1 + - src/gui/wizardform.cpp | 1 + - 8 files changed, 8 insertions(+), 1 deletion(-) - -diff --git a/src/gui/diamondcardprofileform.cpp b/src/gui/diamondcardprofileform.cpp -index 6656909..517180b 100644 ---- a/src/gui/diamondcardprofileform.cpp -+++ b/src/gui/diamondcardprofileform.cpp -@@ -21,6 +21,7 @@ - - #include - #include -+#include - #include "gui.h" - #include "diamondcard.h" - #include "getprofilenameform.h" -diff --git a/src/gui/getprofilenameform.cpp b/src/gui/getprofilenameform.cpp -index 1319e1d..89c715e 100644 ---- a/src/gui/getprofilenameform.cpp -+++ b/src/gui/getprofilenameform.cpp -@@ -1,7 +1,7 @@ - #include "getprofilenameform.h" -- - #include - #include -+#include - #include "user.h" - #include "protocol.h" - -diff --git a/src/gui/inviteform.cpp b/src/gui/inviteform.cpp -index 433fb22..2a5b68d 100644 ---- a/src/gui/inviteform.cpp -+++ b/src/gui/inviteform.cpp -@@ -7,6 +7,7 @@ - #include "sys_settings.h" - #include - #include -+#include - - /* - Copyright (C) 2005-2009 Michel de Boer -diff --git a/src/gui/mphoneform.cpp b/src/gui/mphoneform.cpp -index 260fda7..c4e3c1d 100644 ---- a/src/gui/mphoneform.cpp -+++ b/src/gui/mphoneform.cpp -@@ -54,6 +54,7 @@ - #include - #include - #include -+#include - #include "buddyform.h" - #include "diamondcardprofileform.h" - #include "osd.h" -diff --git a/src/gui/numberconversionform.cpp b/src/gui/numberconversionform.cpp -index f8ae64c..8481a9b 100644 ---- a/src/gui/numberconversionform.cpp -+++ b/src/gui/numberconversionform.cpp -@@ -1,5 +1,6 @@ - #include "numberconversionform.h" - -+#include - #include "gui.h" - - /* -diff --git a/src/gui/syssettingsform.cpp b/src/gui/syssettingsform.cpp -index 216af54..355df59 100644 ---- a/src/gui/syssettingsform.cpp -+++ b/src/gui/syssettingsform.cpp -@@ -28,6 +28,7 @@ - #include "twinkle_config.h" - #include - #include -+#include - #include "syssettingsform.h" - /* - * Constructs a SysSettingsForm as a child of 'parent', with the -diff --git a/src/gui/userprofileform.cpp b/src/gui/userprofileform.cpp -index 28700a6..9ed9209 100644 ---- a/src/gui/userprofileform.cpp -+++ b/src/gui/userprofileform.cpp -@@ -31,6 +31,7 @@ - #include - #include "twinkle_config.h" - #include -+#include - #include "numberconversionform.h" - #include "util.h" - #include "userprofileform.h" -diff --git a/src/gui/wizardform.cpp b/src/gui/wizardform.cpp -index 777aa12..f925875 100644 ---- a/src/gui/wizardform.cpp -+++ b/src/gui/wizardform.cpp -@@ -23,6 +23,7 @@ - #include - #include "gui.h" - #include -+#include - #include "wizardform.h" - - #define PROV_NONE QT_TRANSLATE_NOOP("WizardForm", "None (direct IP to IP calls)") --- -2.17.0 - diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm index cf37756503..41896f2eb6 100644 --- a/gnu/packages/telephony.scm +++ b/gnu/packages/telephony.scm @@ -491,28 +491,24 @@ Mumble consists of two applications for separate usage: license:bsd-2)))) (define-public twinkle - (let ((commit "02e1d1538af3337134bd7381dcd95f8d7775b30f") - (revision "1")) (package - (name "twinkle") - (version (git-version "1.10.1" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/LubosD/twinkle") - (commit commit))) - (patches - (search-patches "twinkle-include-qregexpvalidator.patch")) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0ds4rp4vr1wagn4m4m7ldqbsx5vgmgbfcqqgyhn1wf6s1dm0020z")))) - (build-system cmake-build-system) - (arguments - `(#:tests? #f ; no test target - #:configure-flags '("-DWITH_SPEEX=On") - #:phases - (modify-phases %standard-phases + (name "twinkle") + (version "1.10.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/LubosD/twinkle") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0s0gi03xwvzp02ah4q6j33r9jx9nbayr6dxlg2ck9pwbay1nq1hx")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ; no test target + #:configure-flags '("-DWITH_SPEEX=On") + #:phases + (modify-phases %standard-phases (add-after 'install 'wrap-executable (lambda* (#:key inputs outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) @@ -528,30 +524,30 @@ Mumble consists of two applications for separate usage: "/lib/qt5/qml")) '("qtdeclarative" "qtquickcontrols")))) #t)))))) - (native-inputs - `(("bison" ,bison) - ("flex" ,flex) - ("readline" ,readline) - ("file" ,file) - ("ucommon" ,ucommon) - ("ccrtp" ,ccrtp) - ("libxml2" ,libxml2) - ("speex" ,speex) - ("speexdsp" ,speexdsp) - ("libsndfile" ,libsndfile) - ("alsa-lib" ,alsa-lib) - ("qttools" ,qttools))) - (inputs - `(("qtbase" ,qtbase) - ("qtdeclarative" ,qtdeclarative) - ("qtquickcontrols" ,qtquickcontrols))) - (home-page "http://twinkle.dolezel.info/") - (synopsis "Softphone for voice over IP and instant messaging") - (description "Twinkle is a softphone for your voice over IP and instant + (native-inputs + `(("bison" ,bison) + ("flex" ,flex) + ("readline" ,readline) + ("file" ,file) + ("ucommon" ,ucommon) + ("ccrtp" ,ccrtp) + ("libxml2" ,libxml2) + ("speex" ,speex) + ("speexdsp" ,speexdsp) + ("libsndfile" ,libsndfile) + ("alsa-lib" ,alsa-lib) + ("qttools" ,qttools))) + (inputs + `(("qtbase" ,qtbase) + ("qtdeclarative" ,qtdeclarative) + ("qtquickcontrols" ,qtquickcontrols))) + (home-page "http://twinkle.dolezel.info/") + (synopsis "Softphone for voice over IP and instant messaging") + (description "Twinkle is a softphone for your voice over IP and instant messaging communcations using the SIP protocol. You can use it for direct IP phone to IP phone communication or in a network using a SIP proxy to route your calls and messages") - (license license:gpl2+)))) + (license license:gpl2+))) (define-public pjproject (package -- cgit v1.2.3 From beb0b947c1eb7a4ccef0f229e3b613d5e3b67c00 Mon Sep 17 00:00:00 2001 From: Rutger Helling Date: Wed, 4 Sep 2019 13:15:34 +0200 Subject: gnu: kitty: Update to 0.14.4. * gnu/packages/terminals.scm (kitty): Update to 0.14.4. --- gnu/packages/terminals.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index bca8b14dad..f0117eead3 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -955,7 +955,7 @@ tmux.") (define-public kitty (package (name "kitty") - (version "0.14.3") + (version "0.14.4") (home-page "https://sw.kovidgoyal.net/kitty/") (source (origin @@ -966,7 +966,7 @@ tmux.") (file-name (git-file-name name version)) (sha256 (base32 - "0wi6b6b1nyp16rcpcghk6by62wy6qsamv1xdymyn0zbqgd8h9n6b")) + "0z0y80wcbra3zfyaiim98afbqlfpkjkql430zfb8shx61rzzmn9i")) (modules '((guix build utils))) (snippet '(begin -- cgit v1.2.3 From c959d99fd09d588e8311926d39bce6cbb284cd8f Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Tue, 3 Sep 2019 13:25:08 +0200 Subject: gnu: hdf4: Update to 4.2.14. * gnu/packages/maths.scm (hdf4): Update to 4.2.14. --- gnu/packages/maths.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index c9db51b561..c81e999daa 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -675,14 +675,14 @@ computations.") (define-public hdf4 (package (name "hdf4") - (version "4.2.13") + (version "4.2.14") (source (origin (method url-fetch) (uri (string-append "https://support.hdfgroup.org/ftp/HDF/releases/HDF" version "/src/hdf-" version ".tar.bz2")) (sha256 - (base32 "1wz0586zh91pqb95wvr0pbh71a8rz358fdj6n2ksp85x2cis9lsm")) + (base32 "0n29klrrbwan9307np0d9hr128dlpc4nnlf57a140080ll3jmp8l")) (patches (search-patches "hdf4-architectures.patch" "hdf4-reproducibility.patch" "hdf4-shared-fortran.patch")))) -- cgit v1.2.3 From 5ee1c0459eebdd3b7771abaeab0f0b52ff86fdd5 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Tue, 3 Sep 2019 17:12:54 +0200 Subject: gnu: ungoogled-chromium: Allow microphone access. Fixes . * gnu/packages/aux-files/chromium/master-preferences.json: Remove "audio_capture_enabled" flag. --- gnu/packages/aux-files/chromium/master-preferences.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/gnu/packages/aux-files/chromium/master-preferences.json b/gnu/packages/aux-files/chromium/master-preferences.json index 5a2049fa72..df68804d5a 100644 --- a/gnu/packages/aux-files/chromium/master-preferences.json +++ b/gnu/packages/aux-files/chromium/master-preferences.json @@ -17,9 +17,6 @@ "alternate_error_pages": { "enabled": false }, - "hardware": { - "audio_capture_enabled": false - }, "default_apps": "noinstall", "hide_web_store_icon": true, "homepage": "https://www.gnu.org/software/guix/" -- cgit v1.2.3 From 328a4c5bf1bc6f99515b18900811f724631bf91c Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Sun, 18 Aug 2019 14:14:18 +0200 Subject: linux-initrd: Use native gzip. * gnu/system/linux-initrd.scm (expression->initrd): Pass native gzip to build-initrd procedure. --- gnu/system/linux-initrd.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/system/linux-initrd.scm b/gnu/system/linux-initrd.scm index 7e9563b923..0efb8fb222 100644 --- a/gnu/system/linux-initrd.scm +++ b/gnu/system/linux-initrd.scm @@ -99,7 +99,7 @@ the derivations referenced by EXP are automatically copied to the initrd." #:init #$init ;; Copy everything INIT refers to into the initrd. #:references-graphs '("closure") - #:gzip (string-append #$gzip "/bin/gzip"))))) + #:gzip (string-append #+gzip "/bin/gzip"))))) (file-append (computed-file name builder #:options -- cgit v1.2.3 From e94b95473ea5dadea76be9763b7f8b34d400e863 Mon Sep 17 00:00:00 2001 From: Pierre-Moana Levesque Date: Thu, 8 Aug 2019 17:20:55 +0200 Subject: gnu: guile-wm: Fix cross-compilation. * gnu/packages/guile-wm.scm (guile-wm): Add guile and guile-xcb to native-inputs. --- gnu/packages/guile-wm.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/guile-wm.scm b/gnu/packages/guile-wm.scm index 2955c06a0d..622fc560d9 100644 --- a/gnu/packages/guile-wm.scm +++ b/gnu/packages/guile-wm.scm @@ -172,7 +172,9 @@ dependencies.") Type=Application~%" ,name ,synopsis %output)))) #t))))) - (native-inputs `(("pkg-config" ,pkg-config) + (native-inputs `(("guile" ,guile-2.2) + ("guile-xcb" ,guile-xcb) + ("pkg-config" ,pkg-config) ("texinfo" ,texinfo))) (inputs `(("guile" ,guile-2.2) ("guile-xcb" ,guile-xcb))) -- cgit v1.2.3 From 58a75996ecdd09431f943c4d55b199b8aceea72d Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Thu, 4 Jul 2019 17:39:54 +0200 Subject: gnu: glibc-utf8-locales: Fix cross-compilation. * gnu/packages/base.scm (glibc-utf8-locales)[inputs]: Move to ... [native-inputs]: ... here, in order to fix cross-compilation. * gnu/packages/commencement.scm (glibc-utf8-locales-final)[inputs]: Move to ... [native-inputs]: ... here, in order to fix cross-compilation. --- gnu/packages/base.scm | 4 ++-- gnu/packages/commencement.scm | 11 ++++++----- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index d984ebe1eb..035551e454 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -1143,8 +1143,8 @@ to the @code{share/locale} sub-directory of this package.") ;; tests---e.g., in Guile's i18n tests. '("de_DE" "el_GR" "en_US" "fr_FR" "tr_TR")) #t)))) - (inputs `(("glibc" ,glibc) - ("gzip" ,gzip))) + (native-inputs `(("glibc" ,glibc) + ("gzip" ,gzip))) (synopsis "Small sample of UTF-8 locales") (description "This package provides a small sample of UTF-8 locales mostly useful in diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 4a41e2abf3..f00cfa7bd8 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -882,11 +882,12 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%" ;; function.) (package (inherit glibc-utf8-locales) - (inputs `(("glibc" ,glibc-final) - ("gzip" - ,(package-with-explicit-inputs gzip %boot4-inputs - (current-source-location) - #:guile %bootstrap-guile)))))) + (native-inputs + `(("glibc" ,glibc-final) + ("gzip" + ,(package-with-explicit-inputs gzip %boot4-inputs + (current-source-location) + #:guile %bootstrap-guile)))))) (define-public ld-wrapper ;; The final 'ld' wrapper, which uses the final Guile and Binutils. -- cgit v1.2.3 From 7c35342472338ae00141f2bcb64ec7073eb2be21 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Sun, 18 Aug 2019 13:02:21 +0200 Subject: gnu: grub: Fix cross-compilation. * gnu/packages/bootloaders.scm (grub)[arguments]: Search for unifont in both native-inputs and inputs. --- gnu/packages/bootloaders.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index 41a2de9706..b235e1bc78 100644 --- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -99,7 +99,7 @@ (list "PYTHON=true") #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-stuff - (lambda* (#:key inputs #:allow-other-keys) + (lambda* (#:key native-inputs inputs #:allow-other-keys) (substitute* "grub-core/Makefile.in" (("/bin/sh") (which "sh"))) @@ -114,7 +114,9 @@ "/sbin/mdadm\""))) ;; Make the font visible. - (copy-file (assoc-ref inputs "unifont") "unifont.bdf.gz") + (copy-file (assoc-ref (or native-inputs inputs) + "unifont") + "unifont.bdf.gz") (system* "gunzip" "unifont.bdf.gz") ;; Give the absolute file name of 'ckbcomp'. -- cgit v1.2.3 From 6202bb33eb9751778c7342f7673c64bfea7a1103 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Tue, 20 Aug 2019 16:55:34 +0200 Subject: gnu: linux-libre: Enable built-in ext4 support. When running qemu-img from (gnu system vm) with an aarch64 kernel, mounting ext4 partitions fails because no modprobe of ext4 module is made. Like for other kernel configs, provide built-in support for ext4 partitions. * gnu/packages/aux-files/linux-libre/5.2-arm64.conf: Enable built-in ext4, like in intel and armhf configs. --- gnu/packages/aux-files/linux-libre/5.2-arm64.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/aux-files/linux-libre/5.2-arm64.conf b/gnu/packages/aux-files/linux-libre/5.2-arm64.conf index bfd8c18ddb..4ad652a78f 100644 --- a/gnu/packages/aux-files/linux-libre/5.2-arm64.conf +++ b/gnu/packages/aux-files/linux-libre/5.2-arm64.conf @@ -8023,7 +8023,7 @@ CONFIG_VALIDATE_FS_PARSER=y CONFIG_FS_IOMAP=y # CONFIG_EXT2_FS is not set # CONFIG_EXT3_FS is not set -CONFIG_EXT4_FS=m +CONFIG_EXT4_FS=y CONFIG_EXT4_USE_FOR_EXT2=y CONFIG_EXT4_FS_POSIX_ACL=y CONFIG_EXT4_FS_SECURITY=y -- cgit v1.2.3 From 6ef379f879a1d098ec55a9ca294e808e24291daf Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Wed, 4 Sep 2019 18:21:19 +0200 Subject: gnu: make-linux-libre: Fix cross-compilation. * gnu/packages/linux.scm (make-linux-libre)[arguments]: Unset CROSS_CPATH to make sure that cross-libc is not found. Otherwise, some of its header would conflict with the one from linux (stdint.h and linux/types.h). --- gnu/packages/linux.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 7794debaab..890548e51b 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -669,6 +669,12 @@ for ARCH and optionally VARIANT, or #f if there is no such configuration." #t)) (replace 'configure (lambda* (#:key inputs native-inputs target #:allow-other-keys) + ;; Unset CROSS_CPATH to make sure that cross-libc is not + ;; found. Otherwise, some of its header would conflict with the + ;; one from linux (stdint.h and linux/types.h) + ,@(if (%current-target-system) + '((unsetenv "CROSS_CPATH")) + '()) ;; Avoid introducing timestamps (setenv "KCONFIG_NOTIMESTAMP" "1") (setenv "KBUILD_BUILD_TIMESTAMP" (getenv "SOURCE_DATE_EPOCH")) -- cgit v1.2.3 From 210b6412eeb915bba0848c1a947a24bfc51b9efc Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Wed, 4 Sep 2019 18:25:17 +0200 Subject: gnu: texinfo: Fix cross-compilation. * gnu/packages/texinfo.scm (texinfo)[arguments]: Do not reset environment before running configure with the native compiler, in a cross-compilation context, [inputs]: move perl from here ... [native-inputs]: ... to here. Also add ncurses that is needed in a cross-compilation context to build texinfo native tools. --- gnu/packages/texinfo.scm | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/gnu/packages/texinfo.scm b/gnu/packages/texinfo.scm index fa98bd56b8..c661dc23ae 100644 --- a/gnu/packages/texinfo.scm +++ b/gnu/packages/texinfo.scm @@ -42,8 +42,28 @@ (base32 "0qjzvbvnv9003xdrcpi3jp7y68j4hq2ciw9frh2hghh698zlnxvp")))) (build-system gnu-build-system) - (inputs `(("ncurses" ,ncurses) - ("perl" ,perl))) + (arguments + ;; When cross-compiling, the package is configured twice: once with the + ;; native compiler and once with the cross-compiler. During the configure + ;; with the native compiler, the environment is reset. This leads to + ;; multiple environment variables missing. Do not reset the environment + ;; to prevent that. + (if (%current-target-system) + '(#:phases + (modify-phases %standard-phases + (add-before 'configure 'fix-cross-configure + (lambda _ + (substitute* "configure" + (("env -i") + "env ")) + #t)))) + '())) + (inputs `(("ncurses" ,ncurses))) + ;; When cross-compiling, texinfo will build some of its own binaries with + ;; the native compiler. This means ncurses is needed both in both inputs + ;; and native-inputs. + (native-inputs `(("perl" ,perl) + ("ncurses" ,ncurses))) (native-search-paths ;; This is the variable used by the standalone Info reader. -- cgit v1.2.3 From 7c93edb93eb5700e1fd3a949195b4edebf6fdf2c Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 4 Sep 2019 21:52:26 +0530 Subject: gnu: librepcb: Update to 0.1.2. * gnu/packages/engineering.scm (librepcb): Update to 0.1.2. --- gnu/packages/engineering.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 54bf5a7b69..7f5409c835 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1941,7 +1941,7 @@ simulator backends @code{Qucsator}, @code{ngspice} and @code{Xyce}.") (define-public librepcb (package (name "librepcb") - (version "0.1.1") + (version "0.1.2") (source (origin (method url-fetch) @@ -1949,7 +1949,7 @@ simulator backends @code{Qucsator}, @code{ngspice} and @code{Xyce}.") version "/librepcb-" version "-source.zip")) (sha256 (base32 - "08lm95kr5gqyqyy4hcii0micqa6ryhbv0harvdndmpvi4ix1ggi8")))) + "1xgk0r3nxdd2cy7d1k165d005gsngnz1v2wbwivacw7gis0i8ip7")))) (build-system gnu-build-system) (inputs `(("qtbase" ,qtbase) -- cgit v1.2.3 From 4ab97ef18fa9923f00865c2d3f79bead247aa5e3 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 4 Sep 2019 19:18:10 +0200 Subject: Revert "gnu: texinfo: Fix cross-compilation." This causes too many rebuilds for the master branch. This reverts commit 210b6412eeb915bba0848c1a947a24bfc51b9efc. --- gnu/packages/texinfo.scm | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/gnu/packages/texinfo.scm b/gnu/packages/texinfo.scm index c661dc23ae..fa98bd56b8 100644 --- a/gnu/packages/texinfo.scm +++ b/gnu/packages/texinfo.scm @@ -42,28 +42,8 @@ (base32 "0qjzvbvnv9003xdrcpi3jp7y68j4hq2ciw9frh2hghh698zlnxvp")))) (build-system gnu-build-system) - (arguments - ;; When cross-compiling, the package is configured twice: once with the - ;; native compiler and once with the cross-compiler. During the configure - ;; with the native compiler, the environment is reset. This leads to - ;; multiple environment variables missing. Do not reset the environment - ;; to prevent that. - (if (%current-target-system) - '(#:phases - (modify-phases %standard-phases - (add-before 'configure 'fix-cross-configure - (lambda _ - (substitute* "configure" - (("env -i") - "env ")) - #t)))) - '())) - (inputs `(("ncurses" ,ncurses))) - ;; When cross-compiling, texinfo will build some of its own binaries with - ;; the native compiler. This means ncurses is needed both in both inputs - ;; and native-inputs. - (native-inputs `(("perl" ,perl) - ("ncurses" ,ncurses))) + (inputs `(("ncurses" ,ncurses) + ("perl" ,perl))) (native-search-paths ;; This is the variable used by the standalone Info reader. -- cgit v1.2.3 From a44a535ebecd40c52514623a44d31d927ecca9da Mon Sep 17 00:00:00 2001 From: nixo Date: Mon, 29 Jul 2019 18:45:26 +0200 Subject: build: Add julia-build-system. * guix/build/julia-build-system.scm: New file. * guix/build-system/julia.scm: New file. * Makefile.am (MODULES): Add them. * doc/guix.texi (Build Systems): Document julia-build-system. Signed-off-by: Julien Lepiller --- Makefile.am | 2 + doc/guix.texi | 23 +++++++ guix/build-system/julia.scm | 132 +++++++++++++++++++++++++++++++++++++ guix/build/julia-build-system.scm | 135 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 292 insertions(+) create mode 100644 guix/build-system/julia.scm create mode 100644 guix/build/julia-build-system.scm diff --git a/Makefile.am b/Makefile.am index 7b96c9473c..796e96f099 100644 --- a/Makefile.am +++ b/Makefile.am @@ -126,6 +126,7 @@ MODULES = \ guix/build-system/gnu.scm \ guix/build-system/guile.scm \ guix/build-system/haskell.scm \ + guix/build-system/julia.scm \ guix/build-system/linux-module.scm \ guix/build-system/node.scm \ guix/build-system/perl.scm \ @@ -184,6 +185,7 @@ MODULES = \ guix/build/texlive-build-system.scm \ guix/build/waf-build-system.scm \ guix/build/haskell-build-system.scm \ + guix/build/julia-build-system.scm \ guix/build/linux-module-build-system.scm \ guix/build/store-copy.scm \ guix/build/json.scm \ diff --git a/doc/guix.texi b/doc/guix.texi index a078822871..6d6a09b36b 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -6034,6 +6034,29 @@ Packages built with @code{guile-build-system} must provide a Guile package in their @code{native-inputs} field. @end defvr +@defvr {Scheme Variable} julia-build-system +This variable is exported by @code{(guix build-system julia)}. It implements +the build procedure used by @uref{https://julialang.org/, julia} packages, +which essentially is similar to running @command{julia -e 'using Pkg; +Pkg.add(package)'} in an environment where @code{JULIA_LOAD_PATH} contains the +paths to all Julia package inputs. Tests are run not run. + +Julia packages require the source @code{file-name} to be the real name of the +package, correctly capitalized. + +For packages requiring shared library dependencies, you may need to write the +@file{/deps/deps.jl} file manually. It's usually a line of @code{const +variable = /gnu/store/libary.so} for each dependency, plus a void function +@code{check_deps() = nothing}. + +Some older packages that aren't using @file{Package.toml} yet, will require +this file to be created, too. The function @code{julia-create-package-toml} +helps creating the file. You need to pass the outputs and the source of the +package, it's name (the same as the @code{file-name} parameter), the package +uuid, the package version, and a list of dependencies specified by their name +and their uuid. +@end defvr + @defvr {Scheme Variable} minify-build-system This variable is exported by @code{(guix build-system minify)}. It implements a minification procedure for simple JavaScript packages. diff --git a/guix/build-system/julia.scm b/guix/build-system/julia.scm new file mode 100644 index 0000000000..50237905ec --- /dev/null +++ b/guix/build-system/julia.scm @@ -0,0 +1,132 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2019 Nicolò Balzarotti +;;; +;;; 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 (guix build-system julia) + #:use-module ((guix build julia-build-system)) + #:use-module (gnu packages julia) + #:use-module (guix store) + #:use-module (guix utils) + #:use-module (guix packages) + #:use-module (guix derivations) + #:use-module (guix search-paths) + #:use-module (guix build-system) + #:use-module (guix build-system gnu) + #:use-module (ice-9 match) + #:use-module (srfi srfi-26) + #:export (%julia-build-system-modules + julia-build + julia-build-system)) + +;; Commentary: +;; +;; Standard build procedure for Julia packages. +;; +;; Code: + +(define %julia-build-system-modules + ;; Build-side modules imported by default. + `((guix build julia-build-system) + ,@%gnu-build-system-modules)) + +(define (default-julia) + "Return the default Julia package." + ;; Lazily resolve the binding to avoid a circular dependency. + (let ((julia-mod (resolve-interface '(gnu packages julia)))) + (module-ref julia-mod 'julia))) + +(define* (lower name + #:key source inputs native-inputs outputs system target + (julia julia) + #:allow-other-keys + #:rest arguments) + "Return a bag for NAME." + (define private-keywords + '(#:target #:julia #:inputs #:native-inputs)) + + (and (not target) ;XXX: no cross-compilation + (bag + (name name) + (system system) + (host-inputs `(,@(if source + `(("source" ,source)) + '()) + ,@inputs + + ;; Keep the standard inputs of 'gnu-build-system'. + ,@(standard-packages))) + (build-inputs `(("julia" ,julia) + ,@native-inputs)) + (outputs outputs) + (build julia-build) + (arguments (strip-keyword-arguments private-keywords arguments))))) + +(define* (julia-build store name inputs + #:key source + (tests? #f) + (phases '(@ (guix build julia-build-system) + %standard-phases)) + (outputs '("out")) + (search-paths '()) + (system (%current-system)) + (guile #f) + (imported-modules %julia-build-system-modules) + (modules '((guix build julia-build-system) + (guix build utils)))) + "Build SOURCE using Julia, and with INPUTS." + (define builder + `(begin + (use-modules ,@modules) + (julia-build #:name ,name + #:source ,(match (assoc-ref inputs "source") + (((? derivation? source)) + (derivation->output-path source)) + ((source) + source) + (source + source)) + #:system ,system + #:tests? ,tests? + #:phases ,phases + #:outputs %outputs + #:search-paths ',(map search-path-specification->sexp + search-paths) + #:inputs %build-inputs))) + + (define guile-for-build + (match guile + ((? package?) + (package-derivation store guile system #:graft? #f)) + (#f ; the default + (let* ((distro (resolve-interface '(gnu packages commencement))) + (guile (module-ref distro 'guile-final))) + (package-derivation store guile system #:graft? #f))))) + + (build-expression->derivation store name builder + #:inputs inputs + #:system system + #:modules imported-modules + #:outputs outputs + #:guile-for-build guile-for-build)) + +(define julia-build-system + (build-system + (name 'julia) + (description "The build system for Julia packages") + (lower lower))) + +;;; julia.scm ends here diff --git a/guix/build/julia-build-system.scm b/guix/build/julia-build-system.scm new file mode 100644 index 0000000000..ff6fcf5fe3 --- /dev/null +++ b/guix/build/julia-build-system.scm @@ -0,0 +1,135 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2019 Nicolò Balzarotti +;;; +;;; 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 (guix build julia-build-system) + #:use-module ((guix build gnu-build-system) #:prefix gnu:) + #:use-module (guix build utils) + #:use-module (ice-9 match) + #:export (%standard-phases + julia-create-package-toml + julia-build)) + +;; Commentary: +;; +;; Builder-side code of the standard build procedure for Julia packages. +;; +;; Code: + +(define (invoke-julia code) + (invoke "julia" "-e" code)) + +;; subpath where we store the package content +(define %package-path "/share/julia/packages/") + +(define (generate-load-path inputs outputs) + (string-append + (string-join (map (match-lambda + ((_ . path) + (string-append path %package-path))) + ;; Restrict to inputs beginning with "julia-". + (filter (match-lambda + ((name . _) + (string-prefix? "julia-" name))) + inputs)) + ":") + (string-append ":" (assoc-ref outputs "out") %package-path) + ;; stdlib is always required to find Julia's standard libraries. + ;; usually there are other two paths in this variable: + ;; "@" and "@v#.#" + ":@stdlib")) + +(define* (install #:key source inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (package-dir (string-append out %package-path + (string-append + (strip-store-file-name source))))) + (setenv "JULIA_LOAD_PATH" (generate-load-path inputs outputs)) + (mkdir-p package-dir) + (copy-recursively source package-dir)) + #t) + +;; TODO: Precompilation is working, but I don't know how to tell +;; julia to use use it. If (on rantime) we set HOME to +;; store path, julia tries to write files there (failing) +(define* (precompile #:key source inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (builddir (string-append out "/share/julia/")) + (package (strip-store-file-name source))) + (mkdir-p builddir) + (setenv "JULIA_DEPOT_PATH" builddir) + (setenv "JULIA_LOAD_PATH" (generate-load-path inputs outputs)) + ;; Actual precompilation + (invoke-julia (string-append "using " package))) + #t) + +(define* (check #:key source inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (package (strip-store-file-name source)) + (builddir (string-append out "/share/julia/"))) + (setenv "JULIA_DEPOT_PATH" builddir) + (setenv "JULIA_LOAD_PATH" (generate-load-path inputs outputs)) + (invoke-julia (string-append "using Pkg;Pkg.test(\"" package "\")"))) + #t) + +(define (julia-create-package-toml outputs source + name uuid version + deps) + "Some packages are not using the new Package.toml dependency specifications. +Write this file manually, so that Julia can find its dependencies." + (let ((f (open-file + (string-append + (assoc-ref outputs "out") + %package-path + (string-append + name "/Project.toml")) + "w"))) + (display (string-append + " +name = \"" name "\" +uuid = \"" uuid "\" +version = \"" version "\" +") f) + (when (not (null? deps)) + (display "[deps]\n" f) + (for-each (lambda dep + (display (string-append (car (car dep)) " = \"" (cdr (car dep)) "\"\n") + f)) + deps)) + (close-port f)) + #t) + +(define %standard-phases + (modify-phases gnu:%standard-phases + (delete 'check) ; tests must be run after installation + (replace 'install install) + (add-after 'install 'precompile precompile) + ;; (add-after 'install 'check check) + ;; TODO: In the future we could add a "system-image-generation" phase + ;; where we use PackageCompiler.jl to speed up package loading times + (delete 'configure) + (delete 'bootstrap) + (delete 'patch-usr-bin-file) + (delete 'build))) + +(define* (julia-build #:key inputs (phases %standard-phases) + #:allow-other-keys #:rest args) + "Build the given Julia package, applying all of PHASES in order." + (apply gnu:gnu-build + #:inputs inputs #:phases phases + args)) -- cgit v1.2.3 From 11d73fb412d8728cf916eff9d9750be0bb593076 Mon Sep 17 00:00:00 2001 From: nixo Date: Sat, 3 Aug 2019 11:19:11 +0200 Subject: gnu: julia: Set search path. * gnu/packages/julia.scm (julia)[native-search-paths]: Add specification for JULIA_LOAD_PATH. Signed-off-by: Julien Lepiller --- gnu/packages/julia.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/julia.scm b/gnu/packages/julia.scm index 43254f25fd..65a5e42beb 100644 --- a/gnu/packages/julia.scm +++ b/gnu/packages/julia.scm @@ -482,6 +482,10 @@ ("patchelf" ,patchelf) ("pkg-config" ,pkg-config) ("python" ,python-2))) + (native-search-paths + (list (search-path-specification + (variable "JULIA_LOAD_PATH") + (files (list "share/julia/packages/"))))) ;; Julia is not officially released for ARM and MIPS. ;; See https://github.com/JuliaLang/julia/issues/10639 (supported-systems '("i686-linux" "x86_64-linux" "aarch64-linux")) -- cgit v1.2.3 From d3366a8ee8cec53cfb982855aaeb30244d3f1aa2 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Wed, 4 Sep 2019 21:01:04 +0200 Subject: import: opam: Remove initial "v" in some version numbers. * guix/import/opam.scm (opam-fetch): Remove initial "v" in some version numbers. --- guix/import/opam.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/guix/import/opam.scm b/guix/import/opam.scm index 5dcc0e97a3..7c533a4b4e 100644 --- a/guix/import/opam.scm +++ b/guix/import/opam.scm @@ -238,7 +238,9 @@ path to the repository." (version (find-latest-version name repository)) (file (string-append repository "/packages/" name "/" name "." version "/opam"))) `(("metadata" ,@(get-metadata file)) - ("version" . ,version)))) + ("version" . ,(if (string-prefix? "v" version) + (substring version 1) + version))))) (define (opam->guix-package name) (and-let* ((opam-file (opam-fetch name)) -- cgit v1.2.3 From b2f810fe939ca98ee578a55d42f8d939539ae845 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Wed, 4 Sep 2019 22:36:33 +0200 Subject: import: opam: Use propagated-inputs instead of inputs. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * guix/import/opam.scm (opam->guix-package): Use propagated-inputs instead of inputs. --- guix/import/opam.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/import/opam.scm b/guix/import/opam.scm index 7c533a4b4e..7f089a5cf3 100644 --- a/guix/import/opam.scm +++ b/guix/import/opam.scm @@ -285,7 +285,7 @@ path to the repository." 'ocaml-build-system)) ,@(if (null? inputs) '() - `((inputs ,(list 'quasiquote inputs)))) + `((propagated-inputs ,(list 'quasiquote inputs)))) ,@(if (null? native-inputs) '() `((native-inputs ,(list 'quasiquote native-inputs)))) -- cgit v1.2.3 From 8dfe8fee5408c6a4b31866d5e7c073100e3ea285 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Wed, 4 Sep 2019 22:28:22 +0200 Subject: gnu: ocaml-biniou: Update to 1.2.1. * gnu/packages/ocaml.scm (ocaml-biniou): Update to 1.2.1. --- gnu/packages/ocaml.scm | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 52f7a42e93..0fef79574c 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3540,19 +3540,29 @@ than the first one.") (define-public ocaml-biniou (package (name "ocaml-biniou") - (version "1.2.0") + (version "1.2.1") (home-page "https://github.com/mjambon/biniou") (source (origin (method git-fetch) (uri (git-reference (url (string-append home-page ".git")) - (commit (string-append "v" version)))) + (commit version))) (file-name (git-file-name name version)) (sha256 (base32 - "0mjpgwyfq2b2izjw0flmlpvdjgqpq8shs89hxj1np2r50csr8dcb")))) + "0x2kiy809n1j0yf32l7hj102y628jp5jdrkbi3z7ld8jq04h1790")))) (build-system dune-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'build 'make-writable + (lambda _ + (for-each + (lambda (file) + (chmod file #o644)) + (find-files "." ".")) + #t))))) (inputs `(("ocaml-easy-format" ,ocaml-easy-format))) (native-inputs -- cgit v1.2.3 From 72b2e2ea7a546b09a66d36260fcc60cae70a0151 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Wed, 4 Sep 2019 22:31:29 +0200 Subject: gnu: ocaml-lwt-log: Update to 1.1.1. * gnu/packages/ocaml.scm (ocaml-lwt-log): Update to 1.1.1. [source]: Use git-fetch. --- gnu/packages/ocaml.scm | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 0fef79574c..493542d48a 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -1870,15 +1870,16 @@ locks or other synchronization primitives.") (define-public ocaml-lwt-log (package (name "ocaml-lwt-log") - (version "1.1.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://github.com/aantron/lwt_log/archive/" version - ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 (base32 - "1lr62j2266pbsi54xmzsfvl2z7fi7smhak7fp1ybl8hssxwi6in2")))) + (version "1.1.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/aantron/lwt_log") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1n12i1rmn9cjn6p8yr6qn5dwbrwvym7ckr7bla04a1xnq8qlcyj7")))) (build-system dune-build-system) (arguments `(#:tests? #f; require lwt_ppx -- cgit v1.2.3 From b3419c40276cfd87c3b11460be27878872813c0c Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Wed, 4 Sep 2019 22:35:22 +0200 Subject: gnu: ocaml-markup: Update to 0.8.1. * gnu/packages/ocaml.scm (ocaml-markup): Update to 0.8.1. (ocaml-bisect-ppx): Use propagated-inputs instead of inputs. --- gnu/packages/ocaml.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 493542d48a..36e69b38f9 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -5066,7 +5066,7 @@ the full Core is not available, such as in Javascript.") (define-public ocaml-markup (package (name "ocaml-markup") - (version "0.8.0") + (version "0.8.1") (home-page "https://github.com/aantron/markup.ml") (source (origin @@ -5077,10 +5077,11 @@ the full Core is not available, such as in Javascript.") (file-name (git-file-name name version)) (sha256 (base32 - "0aif4abvfmi9xc1pvw5n5rbm6rzkkpsxyvdn0lanr33rjpvkwdlm")))) + "0gzdjfnkv56vhmpvi9xpv1p05z50y55izhn156bkmb35s6izxds3")))) (build-system dune-build-system) - (inputs - `(("ocaml-uchar" ,ocaml-uchar) + (propagated-inputs + `(("ocaml-bisect-ppx" ,ocaml-bisect-ppx) + ("ocaml-uchar" ,ocaml-uchar) ("ocaml-uutf" ,ocaml-uutf) ("ocaml-lwt" ,ocaml-lwt))) (native-inputs `(("ocaml-ounit" ,ocaml-ounit))) @@ -5155,7 +5156,7 @@ combinators.") (base32 "1vp3qvrkz7q25nbmvd40vhsnz2k9aqh17bnd21i3q8q0xlr5hdag")))) (build-system dune-build-system) - (inputs + (propagated-inputs `(("ocaml-migrate-parsetree" ,ocaml-migrate-parsetree) ("ocaml-ppx-tools-versioned" ,ocaml-ppx-tools-versioned) ("ocaml-ounit" ,ocaml-ounit))) -- cgit v1.2.3 From 69c83817f8fffddf177f6fb25908d2b496409476 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Wed, 4 Sep 2019 22:48:19 +0200 Subject: gnu: ocaml-stringext: Update to 1.6.0. * gnu/packages/ocaml.scm (ocaml-stringext): Update to 1.6.0. --- gnu/packages/ocaml.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 36e69b38f9..643c245266 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -1242,7 +1242,7 @@ to use -- to sophisticated random generation of test cases.") (define-public ocaml-stringext (package (name "ocaml-stringext") - (version "1.5.0") + (version "1.6.0") (source (origin (method git-fetch) (uri (git-reference @@ -1251,7 +1251,7 @@ to use -- to sophisticated random generation of test cases.") (file-name (git-file-name name version)) (sha256 (base32 - "0035pyakk0r7pfhkrayvqncpv9mk6lssr455j3prmdcirh6s50d7")))) + "1m09cmn3vrk3gdm60fb730qsygcfyxsyv7gl9xfzck08q1x2x9qx")))) (build-system dune-build-system) (arguments `(#:test-target ".")) -- cgit v1.2.3 From 5a3082eca81d8e7d99ed1dbafd5f7c0293d0739e Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Wed, 4 Sep 2019 22:50:07 +0200 Subject: gnu: opam: Update to 2.0.5. * gnu/packages/ocaml.scm (opam): Update to 2.0.5. --- gnu/packages/ocaml.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 643c245266..5da5027bc8 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -428,7 +428,7 @@ the opam file fomat.") (define-public opam (package (name "opam") - (version "2.0.4") + (version "2.0.5") (source (origin (method git-fetch) (uri (git-reference @@ -437,7 +437,7 @@ the opam file fomat.") (file-name (git-file-name name version)) (sha256 (base32 - "1yx5k8v5vnnc20fmz5zx8kqd242j48qcknlk6vmkr7rkq886ipq2")))) + "0pf2smq2sdcxryq5i87hz3dv05pb3zasb1is3kxq1pi1s4cn55mx")))) (build-system ocaml-build-system) (arguments `(#:configure-flags -- cgit v1.2.3 From 4a8a0d8520db0b604cc9cadb52c707e9d3a1bb01 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Wed, 4 Sep 2019 22:57:59 +0200 Subject: gnu: ocaml-ssl: Update to 0.5.9. * gnu/packages/ocaml.scm (ocaml-ssl): Update to 0.5.9. --- gnu/packages/ocaml.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 5da5027bc8..3961a97ab1 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -1800,7 +1800,7 @@ lets the client choose the concrete timeline.") (define-public ocaml-ssl (package (name "ocaml-ssl") - (version "0.5.7") + (version "0.5.9") (source (origin (method git-fetch) @@ -1809,7 +1809,7 @@ lets the client choose the concrete timeline.") (commit version))) (file-name (git-file-name name version)) (sha256 (base32 - "06zxqnwqkvf7pmj5s44jflkknv01czgbi4nbaac0ys1p7rv99y3x")))) + "04h02rvzrwp886n5hsx84rnc9b150iggy38g5v1x1rwz3pkdnmf0")))) (build-system dune-build-system) (arguments `(#:test-target ".")) -- cgit v1.2.3 From e57dd20118d3210de0ce9e407f41bf3a0be1dee3 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Wed, 4 Sep 2019 23:03:45 +0200 Subject: gnu: ocaml-frontc: Update to 3.4.2. * gnu/packages/ocaml.scm (ocaml-frontc): Update to 3.4.2. --- gnu/packages/ocaml.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 3961a97ab1..67a5f01c7a 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -1140,7 +1140,7 @@ for speed and space economy.") (define-public ocaml-frontc (package (name "ocaml-frontc") - (version "3.4.1") + (version "3.4.2") (source (origin (method git-fetch) (uri (git-reference @@ -1150,7 +1150,7 @@ for speed and space economy.") (file-name (git-file-name name version)) (sha256 (base32 - "1dq5nks0c9gsbr1m8k39m1bniawr5hqcy1r8x5px7naa95ch06ak")))) + "0k7jk9hkglnkk27s62xl493jyqc017gyvwqb1lyc0ywbb001s102")))) (build-system ocaml-build-system) (arguments `(#:phases -- cgit v1.2.3 From ce502774b4eba7aaa4c1d5eb07c913d6f06ff0dc Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Wed, 4 Sep 2019 23:06:51 +0200 Subject: gnu: ocaml-easy-format: Update to 1.3.2. * gnu/packages/ocaml.scm (ocaml-easy-format): Update to 1.3.2. --- gnu/packages/ocaml.scm | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 67a5f01c7a..146fb63d5e 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -2753,19 +2753,28 @@ JSON.") (define-public ocaml-easy-format (package (name "ocaml-easy-format") - (version "1.3.1") + (version "1.3.2") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/mjambon/easy-format") - (commit (string-append "v" version)))) + (commit version))) (file-name (git-file-name name version)) (sha256 (base32 - "0jfncci15b8sf1y72yrxfjlsmhs9aavcd14vwz4d7kj8k9w9c4qk")))) + "1fc95q2ypck6m6rv3kiawwilh5ac93v2hcp823mj608d5kj79xkb")))) (build-system dune-build-system) (arguments - `(#:jbuild? #t)) + `(#:jbuild? #t + #:phases + (modify-phases %standard-phases + (add-before 'build 'make-writable + (lambda _ + (for-each + (lambda (file) + (chmod file #o644)) + (find-files "." ".")) + #t))))) (home-page "https://github.com/mjambon/easy-format") (synopsis "Interface to the Format module") (description "Easy-format is a high-level and functional interface to the -- cgit v1.2.3 From 8161c2d6ce71f200b2d467fda46495fd2ff58c36 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 4 Sep 2019 14:58:30 +0200 Subject: gnu: ghostscript: Keep the replacement private. This avoids having two matches for the "ghostscript" spec. * gnu/packages/ghostscript.scm (ghostscript/fixed): Keep private. --- gnu/packages/ghostscript.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm index 139682b5d0..f9c3ee94bf 100644 --- a/gnu/packages/ghostscript.scm +++ b/gnu/packages/ghostscript.scm @@ -275,7 +275,7 @@ output file formats and printers.") (home-page "https://www.ghostscript.com/") (license license:agpl3+))) -(define-public ghostscript/fixed +(define ghostscript/fixed ;; This adds the Freetype dependency (among other things), which fixes the ;; rendering issues described in . (package/inherit -- cgit v1.2.3 From c26f562e5e22b07e61475cab7324e84f6fe70e57 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Sun, 30 Jun 2019 22:56:25 +0200 Subject: services: nginx: Pass run-directory on config test. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes . This fixes error logging errors in the activation script. * gnu/services/web.scm (nginx-activation): Add "-p" flag. Signed-off-by: Ludovic Courtès --- gnu/services/web.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/services/web.scm b/gnu/services/web.scm index 35efddb0ae..56971238ab 100644 --- a/gnu/services/web.scm +++ b/gnu/services/web.scm @@ -682,7 +682,8 @@ of index files." (system* (string-append #$nginx "/sbin/nginx") "-c" #$(or file (default-nginx-config config)) - "-t")))) + "-p" #$run-directory + "-t")))) (define (nginx-shepherd-service config) (match-record config -- cgit v1.2.3 From f475c6e53e5b6912cc45663d50f1d03dadfb60b8 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 4 Sep 2019 21:18:11 +0200 Subject: doc: Update 'README'. * README: Update intro a bit. (Installing Guix as non-root): Remove as it's largely outdated. (Contact): Update. --- README | 36 ++++++++---------------------------- 1 file changed, 8 insertions(+), 28 deletions(-) diff --git a/README b/README index 296df41516..02d6f7190a 100644 --- a/README +++ b/README @@ -10,8 +10,8 @@ It provides [[https://www.gnu.org/software/guile/][Guile]] Scheme APIs, includin domain-specific languages (EDSLs) to describe how packages are to be built and composed. -A user-land free software distribution for GNU/Linux comes as part of -Guix. +GNU Guix can be used on top of an already-installed GNU/Linux distribution, or +it can be used standalone (we call that “Guix System”). Guix is based on the [[https://nixos.org/nix/][Nix]] package manager. @@ -75,37 +75,17 @@ the promise of a build; it is stored as a text file under `derivation' primitive, as well as higher-level wrappers such as `build-expression->derivation'. -Guix does remote procedure calls (RPCs) to the Guix or Nix daemon (the -=guix-daemon= or =nix-daemon= command), which in turn performs builds -and accesses to the Nix store on its behalf. The RPCs are implemented -in the (guix store) module. - -* Installing Guix as non-root - -The Guix daemon allows software builds to be performed under alternate -user accounts, which are normally created specifically for this -purpose. For instance, you may have a pool of accounts in the -=guixbuild= group, and then you can instruct =guix-daemon= to use them -like this: - - $ guix-daemon --build-users-group=guixbuild - -However, unless it is run as root, =guix-daemon= cannot switch users. -In that case, it falls back to using a setuid-root helper program call -=nix-setuid-helper=. That program is not setuid-root by default when -you install it; instead you should run a command along these lines -(assuming Guix is installed under /usr/local): - - # chown root.root /usr/local/libexec/nix-setuid-helper - # chmod 4755 /usr/local/libexec/nix-setuid-helper +Guix does remote procedure calls (RPCs) to the build daemon (the =guix-daemon= +command), which in turn performs builds and accesses to the store on its +behalf. The RPCs are implemented in the (guix store) module. * Contact GNU Guix is hosted at https://savannah.gnu.org/projects/guix/. -Please email for bug reports or questions regarding -Guix and its distribution; email for -general issues regarding the GNU system. +Please email for questions and for bug +reports; email for general issues regarding the +GNU system. Join #guix on irc.freenode.net. -- cgit v1.2.3 From d28b6dda86c2901e6ed852b8aee785a9ca0d10ac Mon Sep 17 00:00:00 2001 From: L p R n d n Date: Tue, 3 Sep 2019 15:47:07 +0200 Subject: gnu: Add xfce4-screenshooter. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/xfce.scm (xfce4-screenshooter): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/xfce.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm index 6d2155fc53..e7848bfc28 100644 --- a/gnu/packages/xfce.scm +++ b/gnu/packages/xfce.scm @@ -1087,3 +1087,36 @@ of data to either CD/DVD/BD.") (description "Mousepad is a graphical text editor for Xfce based on Leafpad.") (license gpl2+))) + +(define-public xfce4-screenshooter + (package + (name "xfce4-screenshooter") + (version "1.9.5") + (source (origin + (method url-fetch) + (uri (string-append "http://archive.xfce.org/src/apps/" + "xfce4-screenshooter/" + (version-major+minor version) + "/xfce4-screenshooter-" + version ".tar.bz2")) + (sha256 + (base32 + "135kad07922jxjs05amn48sdgm2x1rh97wbzdmy9h85r5i1vaddz")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("intltool" ,intltool) + ("glib:bin" ,glib "bin"))) ; glib-genmarshal + (inputs + `(("exo" ,exo) + ("libsoup" ,libsoup) + ("libxfce4ui" ,libxfce4ui) + ("xfce4-panel" ,xfce4-panel))) + (home-page "https://goodies.xfce.org/projects/applications/xfce4-screenshooter") + (synopsis "Xfce's application to take screenshots") + (description + "This application allows you to capture the entire screen, the active +window or a selected region. You can set the delay that elapses before the screenshot +is taken and the action that will be done with the screenshot. +A plugin for the Xfce panel is also available.") + (license gpl2+))) -- cgit v1.2.3 From b45e11dad845523678fdd7efffa67718beb718e2 Mon Sep 17 00:00:00 2001 From: L p R n d n Date: Mon, 2 Sep 2019 15:52:54 +0200 Subject: gnu: Add xfce4-screensaver. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/xfce.scm (xfce4-screensaver): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/xfce.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm index e7848bfc28..3123e4fdf6 100644 --- a/gnu/packages/xfce.scm +++ b/gnu/packages/xfce.scm @@ -1120,3 +1120,50 @@ window or a selected region. You can set the delay that elapses before the scre is taken and the action that will be done with the screenshot. A plugin for the Xfce panel is also available.") (license gpl2+))) + +(define-public xfce4-screensaver + (package + (name "xfce4-screensaver") + (version "0.1.8") + (source (origin + (method url-fetch) + (uri (string-append "http://archive.xfce.org/src/apps/" + "xfce4-screensaver/" + (version-major+minor version) + "/xfce4-screensaver-" + version ".tar.bz2")) + (sha256 + (base32 + "1mv0r150yb29kji2rr2462g9p574bqjax1lb6bzcqgpxlmg08mj0")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-dbus-1-path + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (dbus-dir (string-append out "/share/dbus-1/services"))) + (substitute* "configure" + (("DBUS_SESSION_SERVICE_DIR=.*") + (string-append "DBUS_SESSION_SERVICE_DIR=" + dbus-dir))))))))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("intltool" ,intltool) + ("glib" ,glib) ; glib-compile-schemas + ("glib:bin" ,glib "bin"))) ; glib-compile-schemas + (inputs + `(("dbus-glib" ,dbus-glib) + ("libux-pam" ,linux-pam) + ("elogind" ,elogind) + ("garcon" ,garcon) + ("libxklavier" ,libxklavier) + ("libwnxk" ,libwnck) + ("libxscrnsaver" ,libxscrnsaver) + ("xfconf" ,xfconf))) + (home-page "https://docs.xfce.org/apps/screensaver/start") + (synopsis "Screensaver for the Xfce desktop") + (description + "Xfce Screensaver is a screen saver and locker that aims to have simple, + sane, secure defaults and be well integrated with the Xfce desktop. ") + (license gpl2+))) -- cgit v1.2.3 From cb8a5e075adac85a8f71fe95ed589355a7f5c173 Mon Sep 17 00:00:00 2001 From: L p R n d n Date: Sun, 18 Aug 2019 21:34:09 +0200 Subject: gnu: libxfce4util: Add gobject-introspection support. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/xfce.scm (libxfce4util): Add gobject-introspection to native-inputs. Signed-off-by: Ludovic Courtès --- gnu/packages/xfce.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm index 3123e4fdf6..293ff98edd 100644 --- a/gnu/packages/xfce.scm +++ b/gnu/packages/xfce.scm @@ -99,6 +99,7 @@ (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config) + ("gobject-introspection" ,gobject-introspection) ("intltool" ,intltool))) (propagated-inputs `(("glib" ,glib))) ; required by libxfce4util-1.0.pc (home-page "https://www.xfce.org/") -- cgit v1.2.3 From 35d48622608d415104096455c840d44773014043 Mon Sep 17 00:00:00 2001 From: L p R n d n Date: Tue, 20 Aug 2019 12:17:00 +0200 Subject: gnu: libxfce4util: Build Vala bindings. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/xfce.scm (libxfce4util)[native-inputs]: Add vala. Signed-off-by: Ludovic Courtès --- gnu/packages/xfce.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm index 293ff98edd..6bd47233cb 100644 --- a/gnu/packages/xfce.scm +++ b/gnu/packages/xfce.scm @@ -100,7 +100,8 @@ (native-inputs `(("pkg-config" ,pkg-config) ("gobject-introspection" ,gobject-introspection) - ("intltool" ,intltool))) + ("intltool" ,intltool) + ("vala" ,vala))) (propagated-inputs `(("glib" ,glib))) ; required by libxfce4util-1.0.pc (home-page "https://www.xfce.org/") (synopsis "Basic utility library for Xfce") -- cgit v1.2.3 From 458b07ebe0243d13e8485ca1d7eb185cec35b7bb Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 4 Sep 2019 23:56:24 +0200 Subject: build-system/julia: Fix syntax error. * guix/build-system/julia.scm: Fix invalid module reference. --- guix/build-system/julia.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/build-system/julia.scm b/guix/build-system/julia.scm index 50237905ec..9c8b8ad398 100644 --- a/guix/build-system/julia.scm +++ b/guix/build-system/julia.scm @@ -17,7 +17,7 @@ ;;; along with GNU Guix. If not, see . (define-module (guix build-system julia) - #:use-module ((guix build julia-build-system)) + #:use-module (guix build julia-build-system) #:use-module (gnu packages julia) #:use-module (guix store) #:use-module (guix utils) -- cgit v1.2.3 From 56b1977a5d1080fc9d331b3589ca80e0676d0e67 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Thu, 5 Sep 2019 00:20:41 +0200 Subject: build-system/julia: Avoid module cycles. * guix/build-system/julia.scm: Remove unused imports. (lower)[julia]: Default to (DEFAULT-JULIA). --- guix/build-system/julia.scm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/guix/build-system/julia.scm b/guix/build-system/julia.scm index 9c8b8ad398..488fe9bb1d 100644 --- a/guix/build-system/julia.scm +++ b/guix/build-system/julia.scm @@ -17,8 +17,6 @@ ;;; along with GNU Guix. If not, see . (define-module (guix build-system julia) - #:use-module (guix build julia-build-system) - #:use-module (gnu packages julia) #:use-module (guix store) #:use-module (guix utils) #:use-module (guix packages) @@ -51,7 +49,7 @@ (define* (lower name #:key source inputs native-inputs outputs system target - (julia julia) + (julia (default-julia)) #:allow-other-keys #:rest arguments) "Return a bag for NAME." -- cgit v1.2.3 From 5ceac3f42b41067c8de994b0bd16560129279a18 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 4 Sep 2019 20:21:53 +0200 Subject: gnu: oniguruma: Update to 6.9.3 [fixes CVE-2019-13224, CVE-2019-13225]. * gnu/packages/textutils.scm (oniguruma): Update to 6.9.3. --- gnu/packages/textutils.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 330e10610d..60215523b6 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -475,7 +475,7 @@ as existing hashing techniques, with provably negligible risk of collisions.") (define-public oniguruma (package (name "oniguruma") - (version "6.9.2") + (version "6.9.3") (source (origin (method url-fetch) (uri (string-append "https://github.com/kkos/" @@ -483,7 +483,7 @@ as existing hashing techniques, with provably negligible risk of collisions.") "/onig-" version ".tar.gz")) (sha256 (base32 - "0slp4hpw9qxk4xhn7abyw7065sd355xwkyfq72glxczcjsqxsynv")))) + "0pvj37r1rd5h5vw99mdk8z4k44gq1ldwrapkamdiicksdfkr4ndb")))) (build-system gnu-build-system) (home-page "https://github.com/kkos/oniguruma") (synopsis "Regular expression library") -- cgit v1.2.3 From 5ec7c4a153f2d620d1d58923afefe80ca48d8ede Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 4 Sep 2019 20:23:02 +0200 Subject: gnu: php: Build against Oniguruma 6. * gnu/packages/php.scm (php)[inputs]: Change ONIGURUMA-5 to ONIGURUMA. * gnu/packages/textutils.scm (oniguruma-5): Remove variable. --- gnu/packages/php.scm | 2 +- gnu/packages/textutils.scm | 14 -------------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/gnu/packages/php.scm b/gnu/packages/php.scm index 497989b781..ca7f0ee892 100644 --- a/gnu/packages/php.scm +++ b/gnu/packages/php.scm @@ -364,7 +364,7 @@ ("libxpm" ,libxpm) ("libxslt" ,libxslt) ("libx11" ,libx11) - ("oniguruma" ,oniguruma-5) + ("oniguruma" ,oniguruma) ("openldap" ,openldap) ("openssl" ,openssl) ("pcre" ,pcre2) diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 60215523b6..388f164428 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -492,20 +492,6 @@ characteristic of this library is that different character encoding for every regular expression object can be specified.") (license license:bsd-2))) -;; PHP < 7.3.0 requires this old version. Remove once no longer needed. -(define-public oniguruma-5 - (package - (inherit oniguruma) - (version "5.9.6") - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/kkos/" - "oniguruma/releases/download/v" version - "/onig-" version ".tar.gz")) - (sha256 - (base32 - "19s79vsclqn170mw0ajwv7j37qsbn4f1yjz3yavnhvva6c820r6m")))))) - (define-public antiword (package (name "antiword") -- cgit v1.2.3 From 1a22a234df9c35163c9a845e12074b30834b2854 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 4 Sep 2019 20:25:38 +0200 Subject: gnu: LibRaw: Update to 1.19.5. * gnu/packages/photo.scm (libraw): Update to 0.19.5. --- gnu/packages/photo.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/photo.scm b/gnu/packages/photo.scm index b445374718..f6d86f0857 100644 --- a/gnu/packages/photo.scm +++ b/gnu/packages/photo.scm @@ -70,14 +70,14 @@ (define-public libraw (package (name "libraw") - (version "0.19.4") + (version "0.19.5") (source (origin (method url-fetch) (uri (string-append "https://www.libraw.org/data/LibRaw-" version ".tar.gz")) (sha256 (base32 - "07wnzw9k3mwdq9dmpmg94al3ksc065kskfbxkknnmhvrsv2iri8k")))) + "1x827sh6vl8j3ll2ihkcr234y07f31hi1v7sl08jfw3irkbn58j0")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config))) -- cgit v1.2.3 From 558f4a30e252765e88a3e71f2618eb28f9d5b86f Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 4 Sep 2019 20:28:21 +0200 Subject: gnu: libabw: Update to 0.1.3. * gnu/packages/libreoffice.scm (libabw): Update to 0.1.3. [arguments]: Remove. --- gnu/packages/libreoffice.scm | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm index 239cabdd2e..e66eeabf5b 100644 --- a/gnu/packages/libreoffice.scm +++ b/gnu/packages/libreoffice.scm @@ -331,14 +331,14 @@ as Alfresco or Nuxeo.") (define-public libabw (package (name "libabw") - (version "0.1.2") + (version "0.1.3") (source (origin (method url-fetch) (uri (string-append "https://dev-www.libreoffice.org/src/libabw/" "libabw-" version ".tar.xz")) (sha256 (base32 - "11949iscdb99f2jplxjd39282jxcrf2fw0sqbh5dl7gqb96r8whb")))) + "1vbfrmnvib3cym0yyyabnd8xpx4f7wp20vnn09s6dln347fajqz7")))) (build-system gnu-build-system) (native-inputs `(("doxygen" ,doxygen) @@ -350,9 +350,6 @@ as Alfresco or Nuxeo.") ("libxml2" ,libxml2))) (inputs `(("boost" ,boost))) - (arguments - ;; avoid triggering configure errors by simple inclusion of boost headers - `(#:configure-flags '("--disable-werror"))) (home-page "https://wiki.documentfoundation.org/DLP/Libraries/libabw") (synopsis "Library for parsing the AbiWord format") (description "Libabw is a library that parses the file format of -- cgit v1.2.3 From e25973e18fe1cf1f1d5ba82f31c03b7c900f42db Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 4 Sep 2019 20:28:42 +0200 Subject: gnu: libvisio: Update to 0.1.7. * gnu/packages/libreoffice.scm (libvisio): Update to 0.1.7. --- gnu/packages/libreoffice.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm index e66eeabf5b..ce9ae40524 100644 --- a/gnu/packages/libreoffice.scm +++ b/gnu/packages/libreoffice.scm @@ -576,14 +576,14 @@ created by PageMaker version 6.x and 7.") (define-public libvisio (package (name "libvisio") - (version "0.1.6") + (version "0.1.7") (source (origin (method url-fetch) (uri (string-append "http://dev-www.libreoffice.org/src/libvisio/" "libvisio-" version ".tar.xz")) (sha256 (base32 - "1yahpfl13qk6178irv8jn5ppxdn7isafqisyqsdw0lqxcz9h447y")))) + "0k7adcbbf27l7n453cca1m6s9yj6qvb5j6bsg2db09ybf3w8vbwg")))) (build-system gnu-build-system) (native-inputs `(("cppunit" ,cppunit) -- cgit v1.2.3 From c0de48c9a58370809bcced244f0ac220a9c8e176 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 4 Sep 2019 20:45:25 +0200 Subject: gnu: tdb: Update to 1.4.2. * gnu/packages/databases.scm (tdb): Update to 1.4.2. --- gnu/packages/databases.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 066bcb6962..f7f5c6ffdc 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -1264,14 +1264,14 @@ changes.") (define-public tdb (package (name "tdb") - (version "1.4.0") + (version "1.4.2") (source (origin (method url-fetch) (uri (string-append "https://www.samba.org/ftp/tdb/tdb-" version ".tar.gz")) (sha256 (base32 - "0d9d2f1c83gmmq30bkfs50yb8399mr9xjjzscma4kyq0ajf75861")))) + "0jh0iqbb6pkvqrqn033w5g6gwa4bdgkvp49z0qpkk3h2wk6b4h4h")))) (build-system gnu-build-system) (arguments '(#:phases -- cgit v1.2.3 From 1068bdcfe8186b37e618c2b25d74deae41718168 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 4 Sep 2019 20:45:46 +0200 Subject: gnu: talloc: Update to 2.3.0. * gnu/packages/samba.scm (talloc): Update to 2.3.0. --- gnu/packages/samba.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm index da4f251ab6..9c7b52a468 100644 --- a/gnu/packages/samba.scm +++ b/gnu/packages/samba.scm @@ -243,14 +243,14 @@ Desktops into Active Directory environments using the winbind daemon.") (define-public talloc (package (name "talloc") - (version "2.2.0") + (version "2.3.0") (source (origin (method url-fetch) (uri (string-append "https://www.samba.org/ftp/talloc/talloc-" version ".tar.gz")) (sha256 (base32 - "1g1fqa37xkjp9lp6lrwxrbfgashcink769ll505zvcwnxx2nlvsw")))) + "1iigk4a7n9k9qqq0h3a5vah67ycpqzvahvdhzy15lm428jrvrmbm")))) (build-system gnu-build-system) (arguments '(#:phases -- cgit v1.2.3 From 173cced75153ff9395f6509fbe1efd06ad92ac81 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 4 Sep 2019 20:46:06 +0200 Subject: gnu: tevent: Update to 0.10.1. * gnu/packages/samba.scm (tevent): Update to 0.10.1. --- gnu/packages/samba.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm index 9c7b52a468..ae79275dd7 100644 --- a/gnu/packages/samba.scm +++ b/gnu/packages/samba.scm @@ -310,14 +310,14 @@ destructors. It is the core memory allocator used in Samba.") (define-public tevent (package (name "tevent") - (version "0.10.0") + (version "0.10.1") (source (origin (method url-fetch) (uri (string-append "https://www.samba.org/ftp/tevent/tevent-" version ".tar.gz")) (sha256 (base32 - "1rm4d9245ya15wyrh9vqn1dnz14l2ic88mr46ykyc6kdrl99dwrk")))) + "1dhhd7fz6wyvlwrk1a6gj5m2mcjsc3ilx0mcv1qsr1lbndldm93r")))) (build-system gnu-build-system) (arguments '(#:phases -- cgit v1.2.3 From 309721b324448b84d4e3bf44a4d40d5bbb5d5a9c Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 4 Sep 2019 20:46:22 +0200 Subject: gnu: samba: Update to 4.10.8 [fixes CVE-2019-10197]. * gnu/packages/samba.scm (samba): Update to 4.10.8. --- gnu/packages/samba.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm index ae79275dd7..aa344c96da 100644 --- a/gnu/packages/samba.scm +++ b/gnu/packages/samba.scm @@ -153,14 +153,14 @@ anywhere.") (define-public samba (package (name "samba") - (version "4.10.6") + (version "4.10.8") (source (origin (method url-fetch) (uri (string-append "https://download.samba.org/pub/samba/stable/" "samba-" version ".tar.gz")) (sha256 (base32 - "0hpgdqlyczj98pkh2ldglvvnkrb1q541r3qikdvxq0qjvd9fpywy")))) + "1x0hlhb674fndfkmimjicnzs543n3i8465a5ifcmjwvzavxha7y4")))) (build-system gnu-build-system) (arguments `(#:phases -- cgit v1.2.3 From 276e7739b90fcf4f13309529254c6dcaa60285b1 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 4 Sep 2019 20:49:43 +0200 Subject: gnu: libnl: Update to 3.5.0. * gnu/packages/linux.scm (libnl): Update to 3.5.0. --- gnu/packages/linux.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 890548e51b..6c4ab22135 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1926,7 +1926,7 @@ transparently through a bridge.") (define-public libnl (package (name "libnl") - (version "3.4.0") + (version "3.5.0") (source (origin (method url-fetch) (uri (string-append @@ -1935,7 +1935,7 @@ transparently through a bridge.") "/libnl-" version ".tar.gz")) (sha256 (base32 - "1gzm444rnsib64dddv0cwlpzy1q4bycjqhp1i5pxpikimqvpca5p")))) + "1yh5bqmkivd78x378x34gzb28lvykn6b9k3hgvvpdnj5jpn3689m")))) (build-system gnu-build-system) (native-inputs `(("bison" ,bison) @@ -1950,7 +1950,7 @@ transparently through a bridge.") (string-join (string-split version #\.) "_") "/libnl-doc-" version ".tar.gz")) (sha256 - (base32 "1m5cnzviv31gjnz6fz5rgyl6ah4dbp2akm49j9973sgwl36gs8jx")))))) + (base32 "19p5y8q3cm5wqvamqc4s5syxnnkvzxy3gw8ivxk6fv9ybn8jm35h")))))) (inputs `(("python-2" ,python-2) ("python-3" ,python-3))) -- cgit v1.2.3 From 56ac8ca3c83d3b86cc27de395b07a7a2e726c6ea Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 4 Sep 2019 20:53:36 +0200 Subject: gnu: varnish: Update to 6.2.1. * gnu/packages/web.scm (varnish): Update to 6.2.1. --- gnu/packages/web.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 52ff9a804e..41e0035ce5 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -4928,13 +4928,13 @@ deployments.") (package (name "varnish") (home-page "https://varnish-cache.org/") - (version "6.2.0") + (version "6.2.1") (source (origin (method url-fetch) (uri (string-append home-page "_downloads/varnish-" version ".tgz")) (sha256 (base32 - "0lwfk2gq99c653h5f51fs3j37r0gh2pf0p4w5z986nm2mi9z6yn3")))) + "15qfvw3fp05bgyspcm6gbsnxhs430p4z3fwz5kkd1z68jb90b3pj")))) (build-system gnu-build-system) (arguments `(#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib") -- cgit v1.2.3 From fbcbafdcaa212695cd8548662260fd8b882cf0b3 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 4 Sep 2019 20:58:25 +0200 Subject: gnu: miniupnpc: Update to 2.1.20190824. * gnu/packages/upnp.scm (miniupnpc): Update to 2.1.20190824. --- gnu/packages/upnp.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/upnp.scm b/gnu/packages/upnp.scm index 36e14634f7..1c2479064a 100644 --- a/gnu/packages/upnp.scm +++ b/gnu/packages/upnp.scm @@ -42,14 +42,14 @@ (define-public miniupnpc (package (name "miniupnpc") - (version "2.1.20190625") + (version "2.1.20190824") (source (origin (method url-fetch) (uri (string-append "https://miniupnp.tuxfamily.org/files/" name "-" version ".tar.gz")) (sha256 - (base32 "1yqp0d8x5ldjfma5x2vhpg1aaafdg0470ismccixww3rzpbza8w7")))) + (base32 "0rg1i51lnyq8zgflhcg981kq4348vgq03ndmbgiv7knd1vmfzb8z")))) (build-system gnu-build-system) (native-inputs `(("python" ,python-2))) -- cgit v1.2.3 From 9bf589867b57954e1245b2d1c937f1ae386a78ce Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 4 Sep 2019 21:00:10 +0200 Subject: gnu: nginx: Update to 1.17.3 [security fixes]. This release fixes CVE-2019-9511, CVE-2019-9513, and CVE-2019-9516. * gnu/packages/web.scm (nginx): Update to 1.17.3. --- gnu/packages/web.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 41e0035ce5..bea9f3dcc7 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -208,14 +208,14 @@ Interface} specification.") ;; ’stable’ and recommends that “in general you deploy the NGINX mainline ;; branch at all times” (https://www.nginx.com/blog/nginx-1-6-1-7-released/) ;; Consider updating the nginx-documentation package together with this one. - (version "1.17.2") + (version "1.17.3") (source (origin (method url-fetch) (uri (string-append "https://nginx.org/download/nginx-" version ".tar.gz")) (sha256 (base32 - "1v39gslwbvpfhqqv74q0lkfrhrwsp59xc8pwhvxns7af8s3kccsy")))) + "0g0g9prwjy0rnv6n5smny5yl5dhnmflqdr3hwgyj5jpr5hfgx11v")))) (build-system gnu-build-system) (inputs `(("openssl" ,openssl) ("pcre" ,pcre) -- cgit v1.2.3 From 92086eeda39cf14ff1241b2e610154fad98965cd Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Thu, 29 Aug 2019 10:01:11 +0900 Subject: gnu: Add tini. * gnu/packages/docker.scm (tini): New variable. --- gnu/packages/docker.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm index 94cfa2bdb7..8f80cd54d8 100644 --- a/gnu/packages/docker.scm +++ b/gnu/packages/docker.scm @@ -25,6 +25,7 @@ #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system go) #:use-module (guix build-system python) @@ -655,3 +656,36 @@ provisioning etc.") way to run commands in the current directory, but within a Docker container defined in a per-project configuration file.") (license license:gpl3+))) + +(define-public tini + (package + (name "tini") + (version "0.18.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/krallin/tini.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1h20i3wwlbd8x4jr2gz68hgklh0lb0jj7y5xk1wvr8y58fip1rdn")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ;tests require a Docker daemon + #:phases (modify-phases %standard-phases + (add-after 'unpack 'disable-static-build + ;; Disable the static build as it fails to install, with + ;; the error: "No valid ELF RPATH or RUNPATH entry exists + ;; in the file". + (lambda _ + (substitute* "CMakeLists.txt" + ((".*tini-static.*") "")) + #t))))) + (home-page "https://github.com/krallin/tini") + (synopsis "Tiny but valid init for containers") + (description "Tini is an init program specifically designed for use with +containers. It manages a single child process and ensures that any zombie +processes produced from it are reaped and that signals are properly forwarded. +Tini is integrated with Docker.") + (license license:expat))) -- cgit v1.2.3 From b8e7e20841285c862c684a864a23545489cb9227 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Thu, 29 Aug 2019 10:01:43 +0900 Subject: gnu: docker: Add support for tini. * gnu/packages/docker.scm (docker)[inputs]: Add tini. [phases]{patch-paths}: Patch the path of the default init binary. --- gnu/packages/docker.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm index 8f80cd54d8..28eff0a56c 100644 --- a/gnu/packages/docker.scm +++ b/gnu/packages/docker.scm @@ -369,7 +369,16 @@ built-in registry server of Docker.") (("StockRuntimeName = .*") (string-append "StockRuntimeName = \"" (assoc-ref inputs "runc") - "/sbin/runc\"\n"))) + "/sbin/runc\"\n")) + (("DefaultInitBinary = .*") + (string-append "DefaultInitBinary = \"" + (assoc-ref inputs "tini") + "/bin/tini\"\n"))) + (substitute* "daemon/config/config_common_unix_test.go" + (("expectedInitPath: \"docker-init\"") + (string-append "expectedInitPath: \"" + (assoc-ref inputs "tini") + "/bin/tini\""))) (substitute* "vendor/github.com/moby/buildkit/executor/runcexecutor/executor.go" (("var defaultCommandCandidates = .*") (string-append "var defaultCommandCandidates = []string{\"" @@ -542,6 +551,7 @@ built-in registry server of Docker.") ("runc" ,runc) ("util-linux" ,util-linux) ("lvm2" ,lvm2) + ("tini" ,tini) ("xfsprogs" ,xfsprogs) ("xz" ,xz))) (native-inputs -- cgit v1.2.3 From 2b332c51dbee8a63eb3eb3dde993321800340fd0 Mon Sep 17 00:00:00 2001 From: Rutger Helling Date: Wed, 4 Sep 2019 20:23:18 +0200 Subject: gnu: dolphin-emu: Update to commit a974540. * gnu/packages/emulators.scm (dolphin-emu): Update to commit a974540. [source]: Delete unneeded MoltenVK map. [arguments]: Properly hardcode libvulkan path. --- gnu/packages/emulators.scm | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index 3b2b5430fd..9ff1cd4897 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm @@ -119,8 +119,8 @@ ;; Building from recent Git because the official 5.0 release no longer builds. (define-public dolphin-emu - (let ((commit "24718c1a389e4f51db974575cd15c372485b92e2") - (revision "6")) + (let ((commit "a9745400ec5cea7e55d94955afbdc44d1a4982d1") + (revision "7")) (package (name "dolphin-emu") (version (git-version "5.0" revision commit)) @@ -140,13 +140,13 @@ (string-append "Externals/" dir))) '("LZO" "OpenAL" "Qt" "SFML" "curl" "ffmpeg" "gettext" "hidapi" "libpng" "libusb" "mbedtls" - "miniupnpc" "zlib")) + "miniupnpc" "MoltenVK" "zlib")) ;; Clean up source. (for-each delete-file (find-files "." ".*\\.(bin|dsy|exe|jar|rar)$")) #t)) (sha256 (base32 - "1d92rhnw307j3m6swk6bycb8fyc7vw2hfgakd5hpsc4qw65vxfq8")))) + "0ic08ii4vlqlmk2wkfc99jiy6nji2wfq56r7slj23wgvhznnaabk")))) (build-system cmake-build-system) (arguments '(#:tests? #f @@ -174,7 +174,11 @@ (copy-file "font_western.bin" "../Data/Sys/GC/font_western.bin") (chdir "..") (substitute* "Source/Core/VideoBackends/Vulkan/VulkanLoader.cpp" - (("libvulkan.so") libvulkan)) + (("\"vulkan\", 1") (string-append "\"vulkan\""))) + (substitute* "Source/Core/VideoBackends/Vulkan/VulkanLoader.cpp" + (("\"vulkan\"") (string-append "\"" libvulkan "\""))) + (substitute* "Source/Core/VideoBackends/Vulkan/VulkanLoader.cpp" + (("Common::DynamicLibrary::GetVersionedFilename") "")) #t)))) ;; The FindGTK2 cmake script only checks hardcoded directories for -- cgit v1.2.3 From 01e38cc4264d9d0076ce9d894796ceff1f08b35a Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Mon, 2 Sep 2019 15:47:42 +0200 Subject: build-system/asdf: Add option to compress programs. * guix/build/lisp-utils.scm (build-program): Add `compress?' key argument. (generate-executable-for-system): Same. (generate-executable): Same. --- guix/build/lisp-utils.scm | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/guix/build/lisp-utils.scm b/guix/build/lisp-utils.scm index 97bc6197a3..c7a589c902 100644 --- a/guix/build/lisp-utils.scm +++ b/guix/build/lisp-utils.scm @@ -220,12 +220,19 @@ Also load TEST-ASD-FILE if necessary." "Return a lisp keyword for the concatenation of STRINGS." (string->symbol (apply string-append ":" strings))) -(define (generate-executable-for-system type system) +(define* (generate-executable-for-system type system #:key compress?) "Use LISP to generate an executable, whose TYPE can be 'asdf:image-op or 'asdf:program-op. The latter will always be standalone. Depends on having created a \"SYSTEM-exec\" system which contains the entry program." (lisp-eval-program `((require :asdf) + ;; Only SBCL supports compression as of 2019-09-02. + ,(if (and compress? (string=? (%lisp-type) "sbcl")) + '(defmethod asdf:perform ((o asdf:image-op) (c asdf:system)) + (uiop:dump-image (asdf:output-file o c) + :executable t + :compression t)) + '()) (asdf:operate ',type ,(string-append system "-exec"))))) (define (generate-executable-wrapper-system system dependencies) @@ -339,6 +346,7 @@ which are not nested." (dependency-prefixes (list (library-output outputs))) (dependencies (list (basename program))) entry-program + compress? #:allow-other-keys) "Generate an executable program containing all DEPENDENCIES, and which will execute ENTRY-PROGRAM. The result is placed in PROGRAM. When executed, it @@ -350,6 +358,7 @@ retained." #:dependencies dependencies #:dependency-prefixes dependency-prefixes #:entry-program entry-program + #:compress? compress? #:type 'asdf:program-op) (let* ((name (basename program)) (bin-directory (dirname program))) @@ -382,6 +391,7 @@ DEPENDENCY-PREFIXES to ensure references to those libraries are retained." dependency-prefixes entry-program type + compress? #:allow-other-keys) "Generate an executable by using asdf operation TYPE, containing whithin the image all DEPENDENCIES, and running ENTRY-PROGRAM in the case of an @@ -405,7 +415,7 @@ references to those libraries are retained." `(((,bin-directory :**/ :*.*.*) (,bin-directory :**/ :*.*.*))))))) - (generate-executable-for-system type name) + (generate-executable-for-system type name #:compress? compress?) (let* ((after-store-prefix-index (string-index out-file #\/ -- cgit v1.2.3 From 9e737b31cb58fdfea108c1686731d92b3387fa0f Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Thu, 5 Sep 2019 10:25:02 +0200 Subject: gnu: sbcl: Update to 1.5.6. * gnu/packages/lisp.scm (sbcl): Update to 1.5.6. --- gnu/packages/lisp.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 203b6719d0..4a5b009eee 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -327,14 +327,14 @@ an interpreter, a compiler, a debugger, and much more.") (define-public sbcl (package (name "sbcl") - (version "1.5.5") + (version "1.5.6") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/sbcl/sbcl/" version "/sbcl-" version "-source.tar.bz2")) (sha256 - (base32 "1qmapk2hyxxqd3ajiqacz4isij0ibx7gn10n8dbmq33gm3kgliyb")) + (base32 "10z43dc29p7s8dl3jixklhmzqfp7gcm3fccjdfd36qqhyfxqxx3a")) (modules '((guix build utils))) (snippet ;; Add sbcl-bundle-systems to 'default-system-source-registry'. -- cgit v1.2.3 From a3439b0c70d5db75d400853ebd747e1d46f1ad3d Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Thu, 5 Sep 2019 11:41:35 +0200 Subject: gnu: sbcl: Use CLISP instead of unboostrappable CCL to build. * gnu/packages/lisp.scm (sbcl)[arguments]: Build with CLISP. --- gnu/packages/lisp.scm | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 4a5b009eee..caf52018d1 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -353,11 +353,21 @@ an interpreter, a compiler, a debugger, and much more.") ;; ABCL (recent versions only) ;; CLISP (only some versions: 2.44.1 is OK, 2.47 is not) ;; XCL - ;; CCL seems ideal then, but it unfortunately only builds reliably - ;; on some architectures. + ;; + ;; From NEWS: + ;; * build enhancement: new host quirks mechanism, support for building under + ;; ABCL and ECL (as well as CCL, CMUCL, CLISP and SBCL itself) + ;; + ;; CCL is not bootstrappable so it won't do. CLISP 2.49 seems to work. + ;; ECL too. ECL builds SBCL about 20% slower than CLISP. As of + ;; 2019-09-05, ECL was last updated in 2016 while CLISP was last update + ;; in 2010. + ;; + ;; For now we stick to CLISP for all systems. We keep the `match' in to + ;; make it easier to change the host compiler for various architectures. `(,@(match (%current-system) ((or "x86_64-linux" "i686-linux") - `(("ccl" ,ccl))) + `(("clisp" ,clisp))) (_ `(("clisp" ,clisp)))) ("which" ,which) @@ -428,7 +438,7 @@ an interpreter, a compiler, a debugger, and much more.") (setenv "CC" "gcc") (invoke "sh" "make.sh" ,@(match (%current-system) ((or "x86_64-linux" "i686-linux") - `("ccl")) + `("clisp")) (_ `("clisp"))) (string-append "--prefix=" @@ -488,6 +498,15 @@ statistical profiler, a code coverage tool, and many other extensions.") (license:x11-style "file://src/code/loop.lisp"))))) (define-public ccl + ;; Warning: according to upstream, CCL is not bootstrappable. + ;; See https://github.com/Clozure/ccl/issues/222 from 2019-09-02: + ;; + ;; "As far as I know, there is no way to build CCL without an existing + ;; running CCL image. It was bootstrapped back in 1986 or so as + ;; Macintosh Common Lisp, by Gary Byers, I believe, who is no longer on + ;; the planet to tell us the story. It SHOULD be possible to port the + ;; CCL compiler to portable Common Lisp, so that ANY lisp could build + ;; it, as is the case for SBCL, but I know of no attempt to do so." (package (name "ccl") (version "1.11.5") -- cgit v1.2.3 From 7d57bc4d0d8b34409d795fbbff079eff3486a50d Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 12:37:25 +0300 Subject: gnu: efl: Update to 1.22.4. * gnu/packages/enlightenment.scm (efl): Update to 1.22.4. --- gnu/packages/enlightenment.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/enlightenment.scm b/gnu/packages/enlightenment.scm index 5e62f5e3da..cc9f43e935 100644 --- a/gnu/packages/enlightenment.scm +++ b/gnu/packages/enlightenment.scm @@ -65,7 +65,7 @@ (define-public efl (package (name "efl") - (version "1.22.3") + (version "1.22.4") (source (origin (method url-fetch) (uri (string-append @@ -73,7 +73,7 @@ version ".tar.xz")) (sha256 (base32 - "1j1i8cwq4ym9z34ikv35mdmv5q7q69hdp494mc6l03g9n6cl2yky")))) + "084ihxy6g86yczhln5vn1amxi4qzqhvk4lpz9005kx92i6wh4h25")))) (outputs '("out" ; 53 MB "include")) ; 21 MB (build-system gnu-build-system) -- cgit v1.2.3 From db316d7376386acc9ba7657c827cd1ad0c31c8fb Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 5 Sep 2019 11:45:33 +0200 Subject: gnu: Add r-roc. * gnu/packages/bioconductor.scm (r-roc): New variable. --- gnu/packages/bioconductor.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm index 3faf79fa0e..e7773f0e76 100644 --- a/gnu/packages/bioconductor.scm +++ b/gnu/packages/bioconductor.scm @@ -5273,3 +5273,23 @@ cisTopics and explore the nature and regulatory proteins driving them.") "This package implements the GENIE3 algorithm for inferring gene regulatory networks from expression data.") (license license:gpl2+))) + +(define-public r-roc + (package + (name "r-roc") + (version "1.60.0") + (source + (origin + (method url-fetch) + (uri (bioconductor-uri "ROC" version)) + (sha256 + (base32 + "1sapnl8kyaldgvdc657wqcmyjb24nvrnaw7v94bbs8yf5pmfm71c")))) + (properties `((upstream-name . "ROC"))) + (build-system r-build-system) + (home-page "https://www.bioconductor.org/packages/ROC/") + (synopsis "Utilities for ROC curves") + (description + "This package provides utilities for @dfn{Receiver Operating +Characteristic} (ROC) curves, with a focus on micro arrays.") + (license license:artistic2.0))) -- cgit v1.2.3 From 46721deaf80ec8150ad22e853766e69fff31c670 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 5 Sep 2019 11:45:43 +0200 Subject: gnu: Add r-illuminahumanmethylation450kanno-ilmn12-hg19. * gnu/packages/bioconductor.scm (r-illuminahumanmethylation450kanno-ilmn12-hg19): New variable. --- gnu/packages/bioconductor.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm index e7773f0e76..f80f975be7 100644 --- a/gnu/packages/bioconductor.scm +++ b/gnu/packages/bioconductor.scm @@ -5293,3 +5293,29 @@ regulatory networks from expression data.") "This package provides utilities for @dfn{Receiver Operating Characteristic} (ROC) curves, with a focus on micro arrays.") (license license:artistic2.0))) + +(define-public r-illuminahumanmethylation450kanno-ilmn12-hg19 + (package + (name "r-illuminahumanmethylation450kanno-ilmn12-hg19") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (bioconductor-uri + "IlluminaHumanMethylation450kanno.ilmn12.hg19" + version 'annotation)) + (sha256 + (base32 + "059vlxsx3p3fcnywwirahsc6mlk813zpqnbv0jsrag6x5bb8z6r4")))) + (properties + `((upstream-name + . "IlluminaHumanMethylation450kanno.ilmn12.hg19"))) + (build-system r-build-system) + (propagated-inputs `(("r-minfi" ,r-minfi))) + (home-page + "https://bioconductor.org/packages/IlluminaHumanMethylation450kanno.ilmn12.hg19/") + (synopsis "Annotation for Illumina's 450k methylation arrays") + (description + "This package provides manifests and annotation for Illumina's 450k array +data.") + (license license:artistic2.0))) -- cgit v1.2.3 From 38babeaaa46c2293f0d59f6fc6e2de52d9f7b6aa Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 5 Sep 2019 11:45:57 +0200 Subject: gnu: Add r-watermelon. * gnu/packages/bioconductor.scm (r-watermelon): New variable. --- gnu/packages/bioconductor.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm index f80f975be7..8f1a4ef39f 100644 --- a/gnu/packages/bioconductor.scm +++ b/gnu/packages/bioconductor.scm @@ -5319,3 +5319,40 @@ Characteristic} (ROC) curves, with a focus on micro arrays.") "This package provides manifests and annotation for Illumina's 450k array data.") (license license:artistic2.0))) + +(define-public r-watermelon + (package + (name "r-watermelon") + (version "1.28.0") + (source + (origin + (method url-fetch) + (uri (bioconductor-uri "wateRmelon" version)) + (sha256 + (base32 + "0354ahmfvhqw3yfp17rmz35vlgjp262n4q3hr8qyccyrnk2dz17z")))) + (properties `((upstream-name . "wateRmelon"))) + (build-system r-build-system) + (propagated-inputs + `(("r-biobase" ,r-biobase) + ("r-illuminahumanmethylation450kanno-ilmn12-hg19" + ,r-illuminahumanmethylation450kanno-ilmn12-hg19) + ("r-illuminaio" ,r-illuminaio) + ("r-limma" ,r-limma) + ("r-lumi" ,r-lumi) + ("r-matrixstats" ,r-matrixstats) + ("r-methylumi" ,r-methylumi) + ("r-roc" ,r-roc))) + (home-page "https://bioconductor.org/packages/wateRmelon/") + (synopsis "Illumina 450 methylation array normalization and metrics") + (description + "The standard index of DNA methylation (beta) is computed from methylated +and unmethylated signal intensities. Betas calculated from raw signal +intensities perform well, but using 11 methylomic datasets we demonstrate that +quantile normalization methods produce marked improvement. The commonly used +procedure of normalizing betas is inferior to the separate normalization of M +and U, and it is also advantageous to normalize Type I and Type II assays +separately. This package provides 15 flavours of betas and three performance +metrics, with methods for objects produced by the @code{methylumi} and +@code{minfi} packages.") + (license license:gpl3))) -- cgit v1.2.3 From 7d2cb646f7d0619ab924dd168d92fc176df629f0 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 5 Sep 2019 11:46:06 +0200 Subject: gnu: Add r-gdsfmt. * gnu/packages/bioconductor.scm (r-gdsfmt): New variable. --- gnu/packages/bioconductor.scm | 57 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm index 8f1a4ef39f..8c57bd5788 100644 --- a/gnu/packages/bioconductor.scm +++ b/gnu/packages/bioconductor.scm @@ -5356,3 +5356,60 @@ separately. This package provides 15 flavours of betas and three performance metrics, with methods for objects produced by the @code{methylumi} and @code{minfi} packages.") (license license:gpl3))) + +(define-public r-gdsfmt + (package + (name "r-gdsfmt") + (version "1.20.0") + (source + (origin + (method url-fetch) + (uri (bioconductor-uri "gdsfmt" version)) + (sha256 + (base32 + "0h3hgwxq26dg09fyxqg545v9dg1dizsj58cf05rncr3jj4f8g0xy")) + (modules '((guix build utils))) + ;; Remove bundled sources of zlib, lz4, and xz. Don't attempt to build + ;; them and link with system libraries instead. + (snippet + '(begin + (for-each delete-file-recursively + '("src/LZ4" + "src/XZ" + "src/ZLIB")) + (substitute* "src/Makevars" + (("all: \\$\\(SHLIB\\)") "all:") + (("\\$\\(SHLIB\\): liblzma.a") "") + (("(ZLIB|LZ4)/.*") "") + (("CoreArray/dVLIntGDS.cpp.*") + "CoreArray/dVLIntGDS.cpp") + (("CoreArray/dVLIntGDS.o.*") + "CoreArray/dVLIntGDS.o") + (("PKG_LIBS = ./liblzma.a") + "PKG_LIBS = -llz4")) + (substitute* "src/CoreArray/dStream.h" + (("include \"../(ZLIB|LZ4|XZ/api)/(.*)\"" _ _ header) + (string-append "include <" header ">"))) + #t)))) + (properties `((upstream-name . "gdsfmt"))) + (build-system r-build-system) + (inputs + `(("lz4" ,lz4) + ("xz" ,xz) + ("zlib" ,zlib))) + (home-page "http://corearray.sourceforge.net/") + (synopsis + "R Interface to CoreArray Genomic Data Structure (GDS) Files") + (description + "This package provides a high-level R interface to CoreArray @dfn{Genomic +Data Structure} (GDS) data files, which are portable across platforms with +hierarchical structure to store multiple scalable array-oriented data sets +with metadata information. It is suited for large-scale datasets, especially +for data which are much larger than the available random-access memory. The +@code{gdsfmt} package offers efficient operations specifically designed for +integers of less than 8 bits, since a diploid genotype, like +@dfn{single-nucleotide polymorphism} (SNP), usually occupies fewer bits than a +byte. Data compression and decompression are available with relatively +efficient random access. It is also allowed to read a GDS file in parallel +with multiple R processes supported by the package @code{parallel}.") + (license license:lgpl3))) -- cgit v1.2.3 From 6b5f59c7a6a6dfc8298b83a5bd9ac65fec7a09d6 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 5 Sep 2019 11:46:13 +0200 Subject: gnu: Add r-bigmelon. * gnu/packages/bioconductor.scm (r-bigmelon): New variable. --- gnu/packages/bioconductor.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm index 8c57bd5788..3ba5415597 100644 --- a/gnu/packages/bioconductor.scm +++ b/gnu/packages/bioconductor.scm @@ -5413,3 +5413,31 @@ byte. Data compression and decompression are available with relatively efficient random access. It is also allowed to read a GDS file in parallel with multiple R processes supported by the package @code{parallel}.") (license license:lgpl3))) + +(define-public r-bigmelon + (package + (name "r-bigmelon") + (version "1.10.0") + (source + (origin + (method url-fetch) + (uri (bioconductor-uri "bigmelon" version)) + (sha256 + (base32 + "0269kf3d34dbng3swk7pclpk02vy4k3askygmzi5my3fqyfzdkj9")))) + (properties `((upstream-name . "bigmelon"))) + (build-system r-build-system) + (propagated-inputs + `(("r-biobase" ,r-biobase) + ("r-biocgenerics" ,r-biocgenerics) + ("r-gdsfmt" ,r-gdsfmt) + ("r-geoquery" ,r-geoquery) + ("r-methylumi" ,r-methylumi) + ("r-minfi" ,r-minfi) + ("r-watermelon" ,r-watermelon))) + (home-page "https://bioconductor.org/packages/bigmelon/") + (synopsis "Illumina methylation array analysis for large experiments") + (description + "This package provides methods for working with Illumina arrays using the +@code{gdsfmt} package.") + (license license:gpl3))) -- cgit v1.2.3 From 33a42f67ced3f8ff6e6a31a23ec6a8ebd4c59ec6 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Thu, 5 Sep 2019 11:49:09 +0200 Subject: gnu: emacs-evil-collection: Update to 0.0.2. * gnu/packages/emacs-xyz.scm (emacs-evil-collection): Update to 0.0.2. --- gnu/packages/emacs-xyz.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index be88802071..1cf66942e5 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -6656,11 +6656,11 @@ extensions.") (license license:gpl3+))) (define-public emacs-evil-collection - (let ((commit "0748c695dfa89b79eb316da5060360de8c0f04da") - (revision "9")) + (let ((commit "986ca7eb0b75eccd843bdad2f7fdb48f4ca6ac22") + (revision "10")) (package (name "emacs-evil-collection") - (version (git-version "0.0.1" revision commit)) + (version (git-version "0.0.2" revision commit)) (source (origin (method git-fetch) (uri (git-reference @@ -6669,7 +6669,7 @@ extensions.") (file-name (git-file-name name version)) (sha256 (base32 - "17w8nh3q7ffc7776f3qzixk0c0g6vys3xybgw16ky1f416585kvb")))) + "172sx5w50x5wrs5w0sb6rkbj3q22s7mmsnk4c6pwknhbz3vwlvwz")))) (build-system emacs-build-system) (propagated-inputs `(("emacs-evil" ,emacs-evil))) -- cgit v1.2.3 From 0e8b91dbc45306984d682307d8b40b0e323bb4be Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Thu, 5 Sep 2019 11:53:52 +0200 Subject: gnu: next: Compress the executable. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/web-browsers.scm (next)[arguments]: Compressing the executable brings it from about 95 MiB to 22 MiB. --- gnu/packages/web-browsers.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm index 3368772ec6..dec286bba7 100644 --- a/gnu/packages/web-browsers.scm +++ b/gnu/packages/web-browsers.scm @@ -480,6 +480,7 @@ features for productive professionals.") (build-program (string-append (assoc-ref outputs "out") "/bin/next") outputs + #:compress? #t #:entry-program '((next:entry-point) 0)))) (add-before 'build 'install-assets ;; Since the ASDF build system generates a new .asd with a -- cgit v1.2.3 From 79c6d8781b1e3d09e1e1555675c144d821487535 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 5 Sep 2019 12:03:38 +0200 Subject: gnu: bwa-meth: Capture one more reference to "bwa". Reported by: Alexander.Blume * gnu/packages/bioinformatics.scm (bwa-meth)[arguments]: Capture invocation of "bwa index" to retain reference to "bwa" package. --- gnu/packages/bioinformatics.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index f5901703ce..f976cad22f 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -1767,8 +1767,8 @@ well as many of the command line options.") (add-after 'unpack 'keep-references-to-bwa (lambda* (#:key inputs #:allow-other-keys) (substitute* "bwameth.py" - (("bwa mem") - (string-append (which "bwa") " mem")) + (("bwa (mem|index)" _ command) + (string-append (which "bwa") " " command)) ;; There's an ill-advised check for "samtools" on PATH. (("^checkX.*") "")) #t))))) -- cgit v1.2.3 From 6b4ed9ad970ff097c66dff34fe80d75232c86d46 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 14:42:34 +0300 Subject: gnu: gama: Update to 2.07. * gnu/packages/gps.scm (gama): Update to 2.07. --- gnu/packages/gps.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/gps.scm b/gnu/packages/gps.scm index 852d095300..9ede82d09e 100644 --- a/gnu/packages/gps.scm +++ b/gnu/packages/gps.scm @@ -147,7 +147,7 @@ between two other data points.") (define-public gama (package (name "gama") - (version "2.06") + (version "2.07") (source (origin (method url-fetch) @@ -155,7 +155,7 @@ between two other data points.") version ".tar.gz")) (sha256 (base32 - "06xp3kj099b6m2fsmgcbzgj7xk4j0drsps52m4fr8vc6fglsh44p")))) + "0nmc6mkd55nryfffq5k9c09dhkbq6bfs06af8ammhbh5jzdn3s36")))) (build-system gnu-build-system) (arguments '(#:parallel-tests? #f)) ; race condition (native-inputs -- cgit v1.2.3 From 0575fe681cdc2308dbe36c14bd3e905e79fe7213 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Thu, 5 Sep 2019 14:52:36 +0200 Subject: Revert "gnu: next: Compress the executable." Some essential references (e.g. libfixposix) are lost in the process. This reverts commit 0e8b91dbc45306984d682307d8b40b0e323bb4be. --- gnu/packages/web-browsers.scm | 1 - 1 file changed, 1 deletion(-) diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm index dec286bba7..3368772ec6 100644 --- a/gnu/packages/web-browsers.scm +++ b/gnu/packages/web-browsers.scm @@ -480,7 +480,6 @@ features for productive professionals.") (build-program (string-append (assoc-ref outputs "out") "/bin/next") outputs - #:compress? #t #:entry-program '((next:entry-point) 0)))) (add-before 'build 'install-assets ;; Since the ASDF build system generates a new .asd with a -- cgit v1.2.3 From 51072ed8ac5f42143e7e5fa289fb6bf951d97a48 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 5 Sep 2019 15:55:50 +0200 Subject: gnu: emacs-org-caldav: Update to 0.0.0-1. * gnu/packages/emacs-xyz.scm (emacs-org-caldav): Update to latest commit, since there is no release yet. [description]: Remove alpha status, no longer specified in README. --- gnu/packages/emacs-xyz.scm | 47 ++++++++++++++++++++++++---------------------- 1 file changed, 25 insertions(+), 22 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 1cf66942e5..204cb1caf9 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -13818,28 +13818,31 @@ be changed by customizing the appropriate variables.") (license license:gpl3+))) (define-public emacs-org-caldav - (package - (name "emacs-org-caldav") - (version "20180403") - (source - (origin - (method url-fetch) - (uri (string-append - "https://github.com/dengste/org-caldav/raw/" - "8d3492c27a09f437d2d94f2736c56d7652e87aa0" - "/org-caldav.el")) - (sha256 - (base32 - "1fh4gh68ddj0is99z2ccyh97v6psnyda61n2dsadzqhcxn51amlc")))) - (build-system emacs-build-system) - (propagated-inputs `(("emacs-org" ,emacs-org))) - (home-page "https://github.com/dengste/org-caldav") - (synopsis - "Sync Org files with external calendars via the CalDAV protocol") - (description - "Synchronize between events in Org-mode files and a CalDAV calendar. -This code is still alpha.") - (license license:gpl3+))) + (let ((commit "a563500c9884f38ce08793e2964f8274adde163d")) + (package + (name "emacs-org-caldav") + (version (git-version "0.0.0" "1" commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dengste/org-caldav.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "18qi1iv5dc0gsvkv9ifal3cjpm568nlb907v8a53cnm4439x1l0l")))) + (build-system emacs-build-system) + (arguments + ;; Tests require to have two specific calendars on a test server. + `(#:exclude '("^org-caldav-testsuite\\.el"))) + (propagated-inputs + `(("emacs-org" ,emacs-org))) + (home-page "https://github.com/dengste/org-caldav") + (synopsis "Sync Org files with external calendars via the CalDAV protocol") + (description "Synchronize between events in Org files and a CalDAV +calendar.") + (license license:gpl3+)))) (define-public emacs-zotxt (package -- cgit v1.2.3 From be285c3dc0555990f9b6754651ec1833f98efdef Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 5 Sep 2019 15:57:02 +0200 Subject: gnu: emacs-org: Update to 9.2.6. * gnu/packages/emacs-xyz.scm (emacs-org): Update to 9.2.6. --- gnu/packages/emacs-xyz.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 204cb1caf9..ca17f04e91 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -7079,14 +7079,14 @@ passive voice.") (name "emacs-org") ;; emacs-org-contrib inherits from this package. Please update its sha256 ;; checksum as well. - (version "9.2.5") + (version "9.2.6") (source (origin (method url-fetch) (uri (string-append "https://elpa.gnu.org/packages/org-" version ".tar")) (sha256 (base32 - "1pid1sykgz83i4ry5n8f270finag6sm7ckqxn5lkikyya43wlzx1")))) + "0ikd78k4yw4sm5x7l3dsbvfcmvnv5qna2mxirr560gvcnzhr0zg4")))) (build-system emacs-build-system) (home-page "https://orgmode.org/") (synopsis "Outline-based notes management and organizer") -- cgit v1.2.3 From 31885f444f2326f2de304bc5761bdf6cee53b95f Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 5 Sep 2019 16:02:27 +0200 Subject: gnu: emacs-org-contrib: Update to 20190904. * gnu/packages/emacs-xyz.scm (emacs-org-contrib): Update to 20190904. --- gnu/packages/emacs-xyz.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index ca17f04e91..8f866fbc28 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -7100,14 +7100,14 @@ programming and reproducible research.") (package (inherit emacs-org) (name "emacs-org-contrib") - (version "20190805") + (version "20190904") (source (origin (method url-fetch) - (uri (string-append "https://orgmode.org/elpa/org-plus-contrib-" - version ".tar")) + (uri (string-append "https://orgmode.org/elpa/" + "org-plus-contrib-" version ".tar")) (sha256 (base32 - "1mw91hwbqyjq5pyz9hzdhvjlc2bphqpi23yqd3sdk1crpc87s40c")))) + "08s3fk3jim0y2v00l6ah8y08ba8wbcf29z6fxqzyaxj58a5sq81a")))) (arguments `(#:modules ((guix build emacs-build-system) (guix build utils) -- cgit v1.2.3 From a8ad05d40c35e871a23a13a02eea5c0a8c5b70b9 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Mon, 2 Sep 2019 20:57:19 -0400 Subject: gnu: go-github-com-urfave-cli: Update to 1.21.0. * gnu/packages/golang.scm (go-github-com-urfave-cli): Update to 1.21.0. --- gnu/packages/golang.scm | 42 ++++++++++++++++++++---------------------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 950ba9fb37..6637c9c7f8 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -3123,30 +3123,28 @@ as conversion to and from @command{net.Addr}.") (license license:expat)))) (define-public go-github-com-urfave-cli - (let ((commit "693af58b4d51b8fcc7f9d89576da170765980581") - (revision "0")) - (package - (name "go-github-com-urfave-cli") - (version (git-version "1.20.0" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/urfave/cli.git") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1krq752xgy658an1696vf4dc2zmp541clwjinhn11394sx2qksh6")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/urfave/cli")) - (home-page "https://github.com/urfave/cli") - (synopsis "Simple, fast, and fun package for building command line apps in Go") - (description "@command{cli} is a simple, fast, and fun package for + (package + (name "go-github-com-urfave-cli") + (version "1.21.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/urfave/cli.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "104jldhxn6d97l5vsbsl0q8hgy1bxrahbr6dbfqrlppva51jmydd")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/urfave/cli")) + (home-page "https://github.com/urfave/cli") + (synopsis "Simple, fast, and fun package for building command line apps in Go") + (description "@command{cli} is a simple, fast, and fun package for building command line apps in Go. The goal is to enable developers to write fast and distributable command line applications in an expressive way.") - (license license:expat)))) + (license license:expat))) (define-public go-github-com-whyrusleeping-json-filter (let ((commit "ff25329a9528f01c5175414f16cc0a6a162a5b8b") -- cgit v1.2.3 From 9a2f23341d8f916217b759c58f5a487e656723fd Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Mon, 2 Sep 2019 21:03:26 -0400 Subject: gnu: Add go-github-com-shirou-gopsutil. * gnu/packages/syncthing.scm (go-github-com-shirou-gopsutil): New variable. --- gnu/packages/golang.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 6637c9c7f8..819cc6229e 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -3662,3 +3662,27 @@ and aid debugging.") (description "This package provides a cron library for Go. It implements a cron spec parser and job runner.") (license license:expat))) + +(define-public go-github-com-shirou-gopsutil + (let ((commit "47ef3260b6bf6ead847e7c8fc4101b33c365e399") + (revision "0")) + (package + (name "go-github-com-shirou-gopsutil") + (version (git-version "v2.19.7" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/shirou/gopsutil") + (commit commit))) ; XXX + (sha256 + (base32 + "0x1g4r32q4201nr2b754xnrrndmwsrhfr7zg37spya86qrmijnws")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/shirou/gopsutil")) + (synopsis "Process and system monitoring in Go") + (description "This package provides a library for retrieving information +on running processes and system utilization (CPU, memory, disks, network, +sensors).") + (home-page "https://github.com/shirou/gopsutil") + (license license:bsd-3)))) -- cgit v1.2.3 From d5508458406fcd8c95289afb3097ab951173827f Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Mon, 2 Sep 2019 21:03:52 -0400 Subject: gnu: Syncthing: Update to 1.2.2. * gnu/packages/syncthing.scm (syncthing): Update to 1.2.2. [inputs]: Remove go-github-com-calmh-du and add go-github-com-shirou-gopsutil. --- gnu/packages/syncthing.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm index 0f81b8804a..74457f6ec4 100644 --- a/gnu/packages/syncthing.scm +++ b/gnu/packages/syncthing.scm @@ -30,7 +30,7 @@ (define-public syncthing (package (name "syncthing") - (version "1.2.1") + (version "1.2.2") (source (origin (method url-fetch) (uri (string-append "https://github.com/syncthing/syncthing" @@ -38,7 +38,7 @@ "/syncthing-source-v" version ".tar.gz")) (sha256 (base32 - "1b6fidpkwfa2bm6hlv4p0bzxa1ha6s88vajczhryhqi5vjfxafri")) + "1wdjh8xw09s1nfkpc95v04619gqa4dpbygp2y5l35ww4g916lv3s")) (modules '((guix build utils))) ;; Delete bundled ("vendored") free software source code. (snippet '(begin @@ -55,7 +55,6 @@ `(("go-github-com-audriusbutkevicius-go-nat-pmp" ,go-github-com-audriusbutkevicius-go-nat-pmp) ("go-github-com-bkaradzic-go-lz4" ,go-github-com-bkaradzic-go-lz4) - ("go-github-com-calmh-du" ,go-github-com-calmh-du) ("go-github-com-calmh-xdr" ,go-github-com-calmh-xdr) ("go-github-com-chmduquesne-rollinghash" ,go-github-com-chmduquesne-rollinghash) @@ -84,6 +83,7 @@ ,go-github-com-gogo-protobuf-protoc-gen-gogo) ("go-github-com-prometheus-client-golang-prometheus" ,go-github-com-prometheus-client-golang-prometheus) + ("go-github-com-shirou-gopsutil" ,go-github-com-shirou-gopsutil) ("go-golang-org-x-net-bpf" ,go-golang-org-x-net-bpf) ("go-golang-org-x-net-internal-iana" ,go-golang-org-x-net-internal-iana) ("go-golang-org-x-net-internal-socket" -- cgit v1.2.3 From 67c2db17bc29e483dbaffbee246c910a617744c6 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 5 Sep 2019 17:05:08 +0200 Subject: download: Pass 'http_proxy' et al. to git, hg, etc. This allows 'git-fetch' etc. origins to honor the proxy and locale of the daemon. * guix/bzr-download.scm (bzr-fetch): Pass #:leaked-env-vars to 'gexp->derivation'. * guix/cvs-download.scm (cvs-fetch): Likewise. * guix/git-download.scm (git-fetch): Likewise. * guix/hg-download.scm (hg-fetch): Likewise. * guix/svn-download.scm (svn-multi-fetch): Likewise. --- guix/bzr-download.scm | 3 +++ guix/cvs-download.scm | 5 ++++- guix/git-download.scm | 3 +++ guix/hg-download.scm | 5 ++++- guix/svn-download.scm | 5 ++++- 5 files changed, 18 insertions(+), 3 deletions(-) diff --git a/guix/bzr-download.scm b/guix/bzr-download.scm index d30833c5d7..010e0decff 100644 --- a/guix/bzr-download.scm +++ b/guix/bzr-download.scm @@ -75,6 +75,9 @@ HASH-ALGO (a symbol). Use NAME as the file name, or a generic name if #f." #:env-vars `(("bzr url" . ,(bzr-reference-url ref)) ("bzr reference" . ,(bzr-reference-revision ref))) + #:leaked-env-vars '("http_proxy" "https_proxy" + "LC_ALL" "LC_MESSAGES" "LANG" + "COLUMNS") #:system system #:local-build? #t ;don't offload repo branching #:hash-algo hash-algo diff --git a/guix/cvs-download.scm b/guix/cvs-download.scm index 8b46f8ef8c..cb42103aae 100644 --- a/guix/cvs-download.scm +++ b/guix/cvs-download.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2014, 2015, 2016, 2017 Ludovic Courtès +;;; Copyright © 2014, 2015, 2016, 2017, 2019 Ludovic Courtès ;;; Copyright © 2014 Sree Harsha Totakura ;;; Copyright © 2015 Mark H Weaver ;;; @@ -92,6 +92,9 @@ HASH-ALGO (a symbol). Use NAME as the file name, or a generic name if #f." (mlet %store-monad ((guile (package->derivation guile system))) (gexp->derivation (or name "cvs-checkout") build + #:leaked-env-vars '("http_proxy" "https_proxy" + "LC_ALL" "LC_MESSAGES" "LANG" + "COLUMNS") #:system system #:hash-algo hash-algo #:hash hash diff --git a/guix/git-download.scm b/guix/git-download.scm index c62bb8ad0f..1eae035fc4 100644 --- a/guix/git-download.scm +++ b/guix/git-download.scm @@ -157,6 +157,9 @@ HASH-ALGO (a symbol). Use NAME as the file name, or a generic name if #f." ("git commit" . ,(git-reference-commit ref)) ("git recursive?" . ,(object->string (git-reference-recursive? ref)))) + #:leaked-env-vars '("http_proxy" "https_proxy" + "LC_ALL" "LC_MESSAGES" "LANG" + "COLUMNS") #:system system #:local-build? #t ;don't offload repo cloning diff --git a/guix/hg-download.scm b/guix/hg-download.scm index 6b25b87b6b..4cdc1a780a 100644 --- a/guix/hg-download.scm +++ b/guix/hg-download.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2014, 2015, 2016, 2017 Ludovic Courtès +;;; Copyright © 2014, 2015, 2016, 2017, 2019 Ludovic Courtès ;;; Copyright © 2016 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. @@ -92,6 +92,9 @@ HASH-ALGO (a symbol). Use NAME as the file name, or a generic name if #f." (mlet %store-monad ((guile (package->derivation guile system))) (gexp->derivation (or name "hg-checkout") build + #:leaked-env-vars '("http_proxy" "https_proxy" + "LC_ALL" "LC_MESSAGES" "LANG" + "COLUMNS") #:system system #:local-build? #t ;don't offload repo cloning #:hash-algo hash-algo diff --git a/guix/svn-download.scm b/guix/svn-download.scm index 5c25437059..4139cbc2e2 100644 --- a/guix/svn-download.scm +++ b/guix/svn-download.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2014, 2015, 2016 Ludovic Courtès +;;; Copyright © 2014, 2015, 2016, 2019 Ludovic Courtès ;;; Copyright © 2014 Sree Harsha Totakura ;;; Copyright © 2017, 2019 Ricardo Wurmus ;;; @@ -131,6 +131,9 @@ HASH-ALGO (a symbol). Use NAME as the file name, or a generic name if #f." (mlet %store-monad ((guile (package->derivation guile system))) (gexp->derivation (or name "svn-checkout") build + #:leaked-env-vars '("http_proxy" "https_proxy" + "LC_ALL" "LC_MESSAGES" "LANG" + "COLUMNS") #:system system #:hash-algo hash-algo #:hash hash -- cgit v1.2.3 From e1e3fe08480868f960eea3ec1584c0c12b022e25 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 5 Sep 2019 18:31:03 +0200 Subject: guix-install.sh: Work around locale issues in 'guix-daemon.service'. * etc/guix-install.sh (sys_enable_guix_daemon): Modify 'guix-daemon.service' to work around locale issues not fixed in 1.0.1. --- etc/guix-install.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/etc/guix-install.sh b/etc/guix-install.sh index 960313d462..bd3ab901ad 100755 --- a/etc/guix-install.sh +++ b/etc/guix-install.sh @@ -345,6 +345,17 @@ sys_enable_guix_daemon() { cp "${ROOT_HOME}/.config/guix/current/lib/systemd/system/guix-daemon.service" \ /etc/systemd/system/; chmod 664 /etc/systemd/system/guix-daemon.service; + + # Work around , present in 1.0.1. + sed -i /etc/systemd/system/guix-daemon.service \ + -e "s/GUIX_LOCPATH='/'GUIX_LOCPATH=/"; + + # Work around , present in 1.0.1. + if ! grep en_US /etc/systemd/system/guix-daemon.service >/dev/null; + then sed -i /etc/systemd/system/guix-daemon.service \ + -e 's/^Environment=\(.*\)$/Environment=\1 LC_ALL=en_US.UTF-8'; + fi; + systemctl daemon-reload && systemctl start guix-daemon && systemctl enable guix-daemon; } && -- cgit v1.2.3 From 5f9fe21d49fb976e63c93e981abe9304a7bbfcdc Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 5 Sep 2019 18:26:30 +0200 Subject: gnu: umi-tools: Remove python-setuptools as an input. As this is provided by the build system. * gnu/packages/bioinformatics.scm (umi-tools)[inputs,native-inputs]: Remove python-setuptools. --- gnu/packages/bioinformatics.scm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index f976cad22f..2ff5f2c948 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -14673,16 +14673,14 @@ proximity within a reference genome.") "08y3vz1vcx09whmbsn722lcs6jl9wyrh9i4p3k8j4cb1i32bij4a")))) (build-system python-build-system) (inputs - `(("python-setuptools" ,python-setuptools) - ("python-pandas" ,python-pandas) + `(("python-pandas" ,python-pandas) ("python-future" ,python-future) ("python-scipy" ,python-scipy) ("python-matplotlib" ,python-matplotlib) ("python-regex" ,python-regex) ("python-pysam" ,python-pysam))) (native-inputs - `(("python-setuptools" ,python-setuptools) - ("python-cython" ,python-cython))) + `(("python-cython" ,python-cython))) (home-page "https://github.com/CGATOxford/UMI-tools") (synopsis "Tools for analyzing unique modular identifiers") (description "This package provides tools for dealing with @dfn{Unique -- cgit v1.2.3 From 067ea2989fce98f3f3f115534e2e685cfc681039 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 5 Sep 2019 18:31:25 +0200 Subject: gnu: python-pyfaidx: Remove python-setuptools as an input. As this is provided by the build system, and I'm assuming that it's not necessary to have it as a propagated input. * gnu/packages/bioinformatics.scm (python-pyfaidx)[propagated-inputs]: Remove python-setuptools. --- gnu/packages/bioinformatics.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 2ff5f2c948..9e8d036623 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -13433,8 +13433,7 @@ bgzipped text file that contains a pair of genomic coordinates per line.") "0y5zyjksj1rdglj601xd2bbni5abhdh622y3ck76chyzxz9z4rx8")))) (build-system python-build-system) (propagated-inputs - `(("python-setuptools" ,python-setuptools) - ("python-six" ,python-six))) + `(("python-six" ,python-six))) (home-page "http://mattshirley.com") (synopsis "Random access to fasta subsequences") (description -- cgit v1.2.3 From f480133c4eff49c8f25c951db7d3871aee99d80f Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 5 Sep 2019 13:16:06 +0200 Subject: gnu: libbigwig: Update to 0.4.4. * gnu/packages/bioinformatics.scm (libbigwig): Update to 0.4.4. --- gnu/packages/bioinformatics.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 9e8d036623..f98f10a2c3 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -2353,16 +2353,16 @@ other types of unwanted sequence from high-throughput sequencing reads.") (define-public libbigwig (package (name "libbigwig") - (version "0.4.2") + (version "0.4.4") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/dpryan79/libBigWig.git") (commit version))) - (file-name (string-append name "-" version "-checkout")) + (file-name (git-file-name name version)) (sha256 (base32 - "0h2smg24v5srdcqzrmz2g23cmlp4va465mgx8r2z571sfz8pv454")))) + "09693dmf1scdac5pyq6qyn8b4mcipvnmc370k9a5z41z81m3dcsj")))) (build-system gnu-build-system) (arguments `(#:test-target "test" -- cgit v1.2.3 From 4526bd07f72d6687fe53c7e9692d7618242d9337 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 5 Sep 2019 21:12:40 +0200 Subject: gnu: vigra-c: Update to 0.0.0-1.66ff4fa. * gnu/packages/image.scm (vigra-c): Update to 0.0.0-1.66ff4fa. [inputs]: Add hdf5. --- gnu/packages/image.scm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index 670aeff85a..4e3fee53e2 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -1075,12 +1075,11 @@ multi-dimensional image processing.") (home-page "https://ukoethe.github.io/vigra/"))) (define-public vigra-c - (let* ((commit "a2ff675f42079e2623318d8ff8b4288dbe7a7f06") - (revision "0") - (version (git-version "0.0.0" revision commit))) + (let* ((commit "66ff4fa5a7d4a77415caa676a45c2c6ea16562e7") + (revision "1")) (package (name "vigra-c") - (version version) + (version (git-version "0.0.0" revision commit)) (home-page "https://github.com/BSeppke/vigra_c") (source (origin (method git-fetch) @@ -1089,7 +1088,7 @@ multi-dimensional image processing.") (commit commit))) (sha256 (base32 - "1f1phmfbbz3dsq9330rd6bjmdg29hxskxi9l17cyx1f4mdqpgdgl")) + "1pnd92s284dvsg8zp6md7p8ck55bmcsryz58gzic7jh6m72hg689")) (file-name (git-file-name name version)))) (build-system cmake-build-system) (arguments @@ -1099,6 +1098,7 @@ multi-dimensional image processing.") (inputs `(("fftw" ,fftw) ("fftwf" ,fftwf) + ("hdf5" ,hdf5) ("vigra" ,vigra))) (synopsis "C interface to the VIGRA computer vision library") (description -- cgit v1.2.3 From f1a46c9025f920ee19a5c60cb537b593f09a7428 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 5 Sep 2019 15:38:13 +0200 Subject: gnu: texlive-fonts-iwona: Use double spacing in description. * gnu/packages/tex.scm (texlive-fonts-iwona)[description]: Use double spacing. --- gnu/packages/tex.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 5be86e7d9e..c8cb008aaf 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -5444,7 +5444,7 @@ TeX metrics (VF and TFM files) and macros for use with LaTeX.") as an alternative version of the Kurier typeface, which was designed in 1975 for a diploma in typeface design at the Warsaw Academy of Fine Arts under the supervision of Roman Tomaszewski. Kurier was designed for linotype -typesetting of newspapers and similar periodicals. The Iwona fonts are an +typesetting of newspapers and similar periodicals. The Iwona fonts are an alternative version of the Kurier fonts. The difference lies in the absence of ink traps which typify the Kurier font.") (license license:gfl1.0))) -- cgit v1.2.3 From 266e07421e6290f43c8269f9380327c2584db578 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 5 Sep 2019 15:36:02 +0200 Subject: gnu: Add texlive-xcolor. * gnu/packages/tex.scm (texlive-latex-xcolor): Bind to deprecated package pointing... (texlive-color): ...to this variable; implement in terms of simple-texlive-package. [arguments]: Add phase "move-files" to install xcolor.pro to the expected location. --- gnu/packages/tex.scm | 51 +++++++++++++++++++++++++++++++++------------------ 1 file changed, 33 insertions(+), 18 deletions(-) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index c8cb008aaf..7838b16b1d 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -2875,30 +2875,45 @@ documents. It comprises the packages color, graphics, graphicx, trig, epsfig, keyval, and lscape.") (license license:lppl1.3c+))) -(define-public texlive-latex-xcolor - (package - (name "texlive-latex-xcolor") - (version (number->string %texlive-revision)) - (source (origin - (method svn-fetch) - (uri (texlive-ref "latex" "xcolor")) - (file-name (string-append name "-" version "-checkout")) - (sha256 - (base32 - "01n613s7bcrd2n4jfawm0k4nn2ny3aaifp2jjfif3lz4sbv31494")))) - (build-system texlive-build-system) - (arguments '(#:tex-directory "latex/xcolor")) - (home-page "https://www.ctan.org/pkg/xcolor") - (synopsis "Driver-independent color extensions for LaTeX and pdfLaTeX") - (description - "The package starts from the basic facilities of the colorcolor package, +(define-public texlive-xcolor + (let ((template (simple-texlive-package + "texlive-xcolor" + (list "/doc/latex/xcolor/" + "/source/latex/xcolor/") + (base32 + "12q6spmpxg30alhvarjmxzigmz7lazapbrb0mc4vhbn6n1sdz7pp")))) + (package + (inherit template) + (arguments + (substitute-keyword-arguments (package-arguments template) + ((#:tex-directory _ #t) + "latex/xcolor") + ((#:phases phases) + `(modify-phases ,phases + (add-after 'unpack 'chdir + (lambda _ (chdir "source/latex/xcolor") #t)) + (add-after 'install 'move-files + (lambda* (#:key outputs #:allow-other-keys) + (let ((share (string-append (assoc-ref outputs "out") + "/share/texmf-dist"))) + (mkdir-p (string-append share "/dvips/xcolor")) + (rename-file (string-append share "/tex/latex/xcolor/xcolor.pro") + (string-append share "/dvips/xcolor/xcolor.pro")) + #t))))))) + (home-page "https://www.ctan.org/pkg/xcolor") + (synopsis "Driver-independent color extensions for LaTeX and pdfLaTeX") + (description + "The package starts from the basic facilities of the colorcolor package, and provides easy driver-independent access to several kinds of color tints, shades, tones, and mixes of arbitrary colors. It allows a user to select a document-wide target color model and offers complete tools for conversion between eight color models. Additionally, there is a command for alternating row colors plus repeated non-aligned material (like horizontal lines) in tables.") - (license license:lppl1.2+))) + (license license:lppl1.2+)))) + +(define-public texlive-latex-xcolor + (deprecated-package "texlive-latex-xcolor" texlive-xcolor)) (define-public texlive-latex-hyperref (package -- cgit v1.2.3 From 73ce44218b8beb8e7f94777efb7bf500462cabf2 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 5 Sep 2019 22:12:40 +0200 Subject: gnu: Add texlive-ydoc. * gnu/packages/tex.scm (texlive-ydoc): New variable. --- gnu/packages/tex.scm | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 7838b16b1d..7b040ab7c7 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -7068,3 +7068,51 @@ the file to which it applies.") "This package helps LaTeX users to create PDF/X, PFD/A and other standards-compliant PDF documents with pdfTeX, LuaTeX and XeTeX.") (license license:lppl1.2+))) + +(define-public texlive-ydoc + (let ((template (simple-texlive-package + "texlive-ydoc" + (list "/doc/latex/ydoc/" + "/source/latex/ydoc/") + (base32 + "0ckcpy1b8v1fk3qc8qkxgiag2wc0qzxm6bgksv000m4m1hsi2g8b") + #:trivial? #f))) + (package + (inherit template) + (outputs '("out" "doc")) + (arguments + (substitute-keyword-arguments (package-arguments template) + ((#:tex-directory _ #t) + "latex/ydoc") + ((#:build-targets _ #t) + ''("ydoc.dtx")) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'unpack 'chdir + (lambda _ (chdir "source/latex/ydoc") #t)) + (add-after 'copy-files 'move-files + (lambda* (#:key outputs #:allow-other-keys) + (let* ((share (string-append (assoc-ref outputs "out") + "/share/texmf-dist")) + (target (string-append share "/tex/generic/ydoc")) + (doc (string-append (assoc-ref outputs "doc") + "/share/texmf-dist/doc") )) + (mkdir-p target) + (for-each + (lambda (file) + (rename-file (string-append share "/tex/latex/ydoc/" file) + (string-append target "/" file))) + '("ydocincl.tex" "ydocstrip.tex")) + (mkdir-p doc) + (rename-file (string-append share "/doc") doc) + #t))))))) + (home-page "http://www.ctan.org/pkg/ydoc") + (synopsis "Macros for documentation of LaTeX classes and packages") + (description "The package provides macros and environments to document +LaTeX packages and classes. It is an (as yet unfinished) alternative to the +@code{ltxdoc} class and the @code{doc} or @code{xdoc} packages. The aim is to +provide a different layout and more modern styles (using the @code{xcolor}, +@code{hyperref} packages, etc.) This is an alpha release, and should probably +not (yet) be used with other packages, since the implementation might +change.") + (license license:lppl1.3+)))) -- cgit v1.2.3 From e5c081291eeb16afea28891e5b2199daa93a0ba3 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 5 Sep 2019 22:15:19 +0200 Subject: gnu: Add texlive-pstricks. * gnu/packages/tex.scm (texlive-pstricks): New variable. --- gnu/packages/tex.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 7b040ab7c7..915f514944 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -7116,3 +7116,31 @@ provide a different layout and more modern styles (using the @code{xcolor}, not (yet) be used with other packages, since the implementation might change.") (license license:lppl1.3+)))) + +(define-public texlive-pstricks + (let ((template (simple-texlive-package + "texlive-pstricks" + (list "/doc/generic/pstricks/" + "/dvips/pstricks/" + "/tex/generic/pstricks/" + "/tex/latex/pstricks/") + (base32 + "04566354c77claxl1sznc490cda0m5gaa5ck6ms4q7mm44rj3rzk") + #:trivial? #t))) + (package + (inherit template) + (arguments + (substitute-keyword-arguments (package-arguments template) + ((#:phases phases) + `(modify-phases ,phases + (delete 'reset-gzip-timestamps))))) + (home-page "http://www.ctan.org/pkg/pstricks") + (synopsis "PostScript macros for TeX") + (description "PSTricks offers an extensive collection of macros for +generating PostScript that is usable with most TeX macro formats, including +Plain TeX, LaTeX, AMS-TeX, and AMS-LaTeX. Included are macros for colour, +graphics, pie charts, rotation, trees and overlays. It has many special +features, including a wide variety of graphics (picture drawing) macros, with +a flexible interface and with colour support. There are macros for colouring +or shading the cells of tables.") + (license license:lppl1.3+)))) -- cgit v1.2.3 From a72d343aea5827f4c8491751ea2767f067005395 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 5 Sep 2019 22:16:17 +0200 Subject: gnu: Add texlive-pst-text. * gnu/packages/tex.scm (texlive-pst-text): New variable. --- gnu/packages/tex.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 915f514944..0fdd970dde 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -7144,3 +7144,25 @@ features, including a wide variety of graphics (picture drawing) macros, with a flexible interface and with colour support. There are macros for colouring or shading the cells of tables.") (license license:lppl1.3+)))) + +(define-public texlive-pst-text + (let ((template (simple-texlive-package + "texlive-pst-text" + (list "/doc/generic/pst-text/" + "/source/generic/pst-text/Makefile" + "/dvips/pst-text/pst-text.pro" + "/tex/generic/pst-text/" + "/tex/latex/pst-text/") + (base32 + "0s2bbkdfy0shqrrkjflrn0x0pnvxzbdc38pjbdfw46wnmnxrnasm") + #:trivial? #t))) + (package + (inherit template) + (propagated-inputs + `(("texlive-pstricks" ,texlive-pstricks))) + (home-page "http://www.ctan.org/pkg/pst-text") + (synopsis "Text and character manipulation in PSTricks") + (description "Pst-text is a PSTricks based package for plotting text along +a different path and manipulating characters. It includes the functionality +of the old package @code{pst-char}.") + (license license:lppl)))) -- cgit v1.2.3 From 51bf1c518853badaebc48ac1144e5afd9b5862c2 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 5 Sep 2019 22:16:25 +0200 Subject: gnu: Add texlive-iftex. * gnu/packages/tex.scm (texlive-iftex): New variable. --- gnu/packages/tex.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 0fdd970dde..b792e72693 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -7166,3 +7166,23 @@ or shading the cells of tables.") a different path and manipulating characters. It includes the functionality of the old package @code{pst-char}.") (license license:lppl)))) + +(define-public texlive-iftex + (let ((template (simple-texlive-package + "texlive-iftex" + (list "/doc/generic/iftex/" + "/tex/generic/iftex/iftex.sty") + (base32 + "089zvw31gby150n1k0zdk2c0q97pgbqs46phxydaqil64b55nnl7") + #:trivial? #t))) + (package + (inherit template) + (home-page "http://www.ctan.org/pkg/iftex") + (synopsis "Determine the currently used TeX engine") + (description "This package, which works both for Plain TeX and for +LaTeX, defines the @code{\\ifPDFTeX}, @code{\\ifXeTeX}, and @code{\\ifLuaTeX} +conditionals for testing which engine is being used for typesetting. The +package also provides the @code{\\RequirePDFTeX}, @code{\\RequireXeTeX}, and +@code{\\RequireLuaTeX} commands which throw an error if pdfTeX, XeTeX or +LuaTeX (respectively) is not the engine in use.") + (license license:lppl1.3+)))) -- cgit v1.2.3 From 99b143655bfdb037d6954447dfee866d473d9594 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 5 Sep 2019 22:22:26 +0200 Subject: gnu: Add texlive-tools. * gnu/packages/tex.scm (texlive-tools): New variable. --- gnu/packages/tex.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index b792e72693..bc3d52104f 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -7186,3 +7186,34 @@ package also provides the @code{\\RequirePDFTeX}, @code{\\RequireXeTeX}, and @code{\\RequireLuaTeX} commands which throw an error if pdfTeX, XeTeX or LuaTeX (respectively) is not the engine in use.") (license license:lppl1.3+)))) + +(define-public texlive-tools + (let ((template (simple-texlive-package + "texlive-tools" + (list "/doc/latex/tools/" + "/source/latex/tools/") + (base32 + "0v3zqcpy0w5bzy1xdcv1wnxbmxrn1j6x03h3y2af7qmjggph2a09")))) + (package + (inherit template) + (arguments + (substitute-keyword-arguments (package-arguments template) + ((#:tex-directory _ '()) + "latex/tools") + ((#:build-targets _ '()) + ''("tools.ins")) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'unpack 'chdir + (lambda _ (chdir "source/latex/tools") #t)))))) + (home-page "https://www.ctan.org/tex-archive/macros/latex/required/tools/") + (synopsis "LaTeX standard tools bundle") + (description "This package provides a collection of simple tools that +are part of the LaTeX required tools distribution, comprising the packages: +@code{afterpage}, @code{array}, @code{bm}, @code{calc}, @code{dcolumn}, +@code{delarray}, @code{enumerate}, @code{fileerr}, @code{fontsmpl}, +@code{ftnright}, @code{hhline}, @code{indentfirst}, @code{layout}, +@code{longtable}, @code{multicol}, @code{rawfonts}, @code{showkeys}, +@code{somedefs}, @code{tabularx}, @code{theorem}, @code{trace}, +@code{varioref}, @code{verbatim}, @code{xr}, and @code{xspace}.") + (license license:lppl1.3+)))) -- cgit v1.2.3 From f16e09487b94a14717f271a0067525bedba9dddc Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 5 Sep 2019 22:22:55 +0200 Subject: gnu: texlive-latex-xkeyval: Fix build. * gnu/packages/tex.scm (texlive-latex-xkeyval)[arguments]: Add various custom build phases to fix the build. [native-inputs]: Add texlive-latex-base, texlive-cm, texlive-lm, texlive-url, texlive-graphics-def, texlive-xcolor, texlive-latex-footmisc, texlive-latex-listings, texlive-iftex, texlive-pstricks, texlive-pst-text, texlive-tools, and texlive-latex-pgf. --- gnu/packages/tex.scm | 103 ++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 78 insertions(+), 25 deletions(-) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index bc3d52104f..a6d6539e71 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -3974,31 +3974,6 @@ with a user specified LaTeX construction, properly aligned, scaled, and/or rotated.") (license (license:fsf-free "file://psfrag.dtx")))) -(define-public texlive-latex-xkeyval - (package - (name "texlive-latex-xkeyval") - (version (number->string %texlive-revision)) - (source (origin - (method svn-fetch) - (uri (texlive-ref "latex" "xkeyval")) - (file-name (string-append name "-" version "-checkout")) - (sha256 - (base32 - "0wancavix39j240pd8m9cgmwsijwx6jd6n54v8wg0x2rk5m44myp")))) - (build-system texlive-build-system) - (arguments '(#:tex-directory "latex/xkeyval")) - (home-page "https://www.ctan.org/pkg/xkeyval") - (synopsis "Macros for defining and setting keys") - (description - "This package is an extension of the @code{keyval} package and offers -more flexible macros for defining and setting keys. The package provides a -pointer and a preset system. Furthermore, it supplies macros to allow class -and package options to contain options of the @code{key=value} form. A LaTeX -kernel patch is provided to avoid premature expansions of macros in class or -package options. A specialized system for setting @code{PSTricks} keys is -provided by the @code{pst-xkey} package.") - (license license:lppl1.3+))) - (define-public texlive-pstool (package (inherit (simple-texlive-package @@ -7217,3 +7192,81 @@ are part of the LaTeX required tools distribution, comprising the packages: @code{somedefs}, @code{tabularx}, @code{theorem}, @code{trace}, @code{varioref}, @code{verbatim}, @code{xr}, and @code{xspace}.") (license license:lppl1.3+)))) + +(define-public texlive-latex-xkeyval + (package + (name "texlive-latex-xkeyval") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (texlive-ref "latex" "xkeyval")) + (sha256 + (base32 + "0wancavix39j240pd8m9cgmwsijwx6jd6n54v8wg0x2rk5m44myp")))) + (build-system texlive-build-system) + (arguments + '(#:tex-directory "latex/xkeyval" + #:build-targets '("xkeyval.dtx") + #:tex-format "latex" ; won't build with luatex + #:phases + (modify-phases %standard-phases + ;; This package cannot be built out of tree as it expects to find + ;; built files in the working directory. + (add-before 'build 'fix-build + (lambda _ + (setenv "TEXINPUTS" + (string-append (getcwd) "/build:")) + (substitute* "xkeyval.dtx" + (("usepackage\\{xcolor\\}") + "usepackage[dvips]{xcolor}")) + #t)) + ;; FIXME: We don't have a package for this font yet. + (add-after 'unpack 'remove-dependency-on-fourier + (lambda _ + (substitute* "xkeyval.dtx" + (("\\\\usepackage\\{fourier\\}") "")) + #t)) + (add-after 'install 'move-files + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (share (string-append out "/share/texmf-dist")) + (source (string-append share "/tex/latex/xkeyval/")) + (target (string-append share "/tex/generic/xkeyval/"))) + (mkdir-p target) + (for-each (lambda (file) + (rename-file (string-append source file) + (string-append target file))) + '("keyval.tex" + "pst-xkey.tex" + "xkeyval.tex" + "xkvex1.tex" + "xkvex2.tex" + "xkvex3.tex" + "xkvex4.tex" + "xkvtxhdr.tex" + "xkvutils.tex")) + #t)))))) + (native-inputs + `(("texlive-latex-base" ,texlive-latex-base) + ("texlive-cm" ,texlive-cm) + ("texlive-lm" ,texlive-lm) + ("texlive-url" ,texlive-url) + ("texlive-graphics-def" ,texlive-graphics-def) + ("texlive-xcolor" ,texlive-xcolor) + ("texlive-latex-footmisc" ,texlive-latex-footmisc) + ("texlive-latex-listings" ,texlive-latex-listings) + ("texlive-iftex" ,texlive-iftex) + ("texlive-pstricks" ,texlive-pstricks) + ("texlive-pst-text" ,texlive-pst-text) + ("texlive-tools" ,texlive-tools) + ("texlive-latex-pgf" ,texlive-latex-pgf))) + (home-page "http://www.ctan.org/pkg/xkeyval") + (synopsis "Extension of the keyval package") + (description + "This package is an extension of the keyval package and offers additional +macros for setting keys and declaring and setting class or package options. +The package allows the programmer to specify a prefix to the name of the +macros it defines for keys, and to define families of key definitions; these +all help use in documents where several packages define their own sets of +keys.") + (license license:lppl1.3+))) -- cgit v1.2.3 From 11ecf9f48f53b3263240e714cf1de859a9db6149 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 5 Sep 2019 22:24:33 +0200 Subject: gnu: Add texlive-standalone. * gnu/packages/tex.scm (texlive-standalone): New variable. --- gnu/packages/tex.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index a6d6539e71..c5e36af064 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -7270,3 +7270,32 @@ macros it defines for keys, and to define families of key definitions; these all help use in documents where several packages define their own sets of keys.") (license license:lppl1.3+))) + +(define-public texlive-standalone + (package + (name "texlive-standalone") + (version (number->string %texlive-revision)) + (source + (origin + (method svn-fetch) + (uri (texlive-ref "latex" "standalone")) + (sha256 + (base32 + "192ydxcn8ir96q8qwvnppksmqf5i0p50i0wz6iqazbwmh3dqxpx4")))) + (build-system texlive-build-system) + (arguments '(#:tex-directory "latex/standalone")) + (propagated-inputs + `(("texlive-latex-xkeyval" ,texlive-latex-xkeyval))) + (native-inputs + `(("texlive-ydoc" ,texlive-ydoc))) + (home-page "http://www.ctan.org/pkg/standalone") + (synopsis "Compile TeX pictures stand-alone or as part of a document") + (description "A class and package is provided which allows TeX pictures or +other TeX code to be compiled standalone or as part of a main document. +Special support for pictures with beamer overlays is also provided. The +package is used in the main document and skips extra preambles in sub-files. +The class may be used to simplify the preamble in sub-files. By default the +@code{preview} package is used to display the typeset code without margins. +The behaviour in standalone mode may adjusted using a configuration file +@code{standalone.cfg} to redefine the standalone environment.") + (license license:lppl1.3+))) -- cgit v1.2.3 From 69f0c8cf5566848f0065f84d73c7d76e01475842 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 5 Sep 2019 22:24:45 +0200 Subject: gnu: Add texlive-siunitx. * gnu/packages/tex.scm (texlive-siunitx): New variable. --- gnu/packages/tex.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index c5e36af064..2b15ffb0cd 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -7299,3 +7299,41 @@ The class may be used to simplify the preamble in sub-files. By default the The behaviour in standalone mode may adjusted using a configuration file @code{standalone.cfg} to redefine the standalone environment.") (license license:lppl1.3+))) + +(define-public texlive-siunitx + (package + (name "texlive-siunitx") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "/source/latex/siunitx/siunitx.dtx" + "/doc/latex/siunitx/README.md") + (base32 + "0dmljnxgv2bwl3mi74iil41q03swvrm1b0ziwxlhc4m9lx31b1q1"))) + (build-system texlive-build-system) + (arguments + '(#:tex-directory "latex/siunitx" + #:build-targets '("siunitx.dtx") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ (chdir "source/latex/siunitx") #t))))) + (propagated-inputs + `(("texlive-latex-l3kernel" ,texlive-latex-l3kernel) + ("texlive-latex-l3packages" ,texlive-latex-l3packages))) + (home-page "http://www.ctan.org/pkg/siunitx") + (synopsis "Comprehensive SI units package") + (description + "Typesetting values with units requires care to ensure that the combined +mathematical meaning of the value plus unit combination is clear. In +particular, the SI units system lays down a consistent set of units with rules +on how they are to be used. However, different countries and publishers have +differing conventions on the exact appearance of numbers (and units). A +number of LaTeX packages have been developed to provide consistent application +of the various rules. The @code{siunitx} package takes the best from the +existing packages, and adds new features and a consistent interface. A number +of new ideas have been incorporated, to fill gaps in the existing provision. +The package also provides backward-compatibility with @code{SIunits}, +@code{sistyle}, @code{unitsdef} and @code{units}. The aim is to have one +package to handle all of the possible unit-related needs of LaTeX users.") + (license license:lppl1.3c))) -- cgit v1.2.3 From 66d213350019f94c95e8a3f7efb7dfb2de8894ef Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 5 Sep 2019 22:24:57 +0200 Subject: gnu: Add texlive-booktabs. * gnu/packages/tex.scm (texlive-booktabs): New variable. --- gnu/packages/tex.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 2b15ffb0cd..43e1c44c72 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -7337,3 +7337,25 @@ The package also provides backward-compatibility with @code{SIunits}, @code{sistyle}, @code{unitsdef} and @code{units}. The aim is to have one package to handle all of the possible unit-related needs of LaTeX users.") (license license:lppl1.3c))) + +(define-public texlive-booktabs + (package + (name "texlive-booktabs") + (version (number->string %texlive-revision)) + (source + (origin + (method svn-fetch) + (uri (texlive-ref "latex" "booktabs")) + (sha256 + (base32 + "1dqid48vgh25wmw8xzmx6x3pfgz1y9f0r8aza1yxq2mjny5yf68x")))) + (build-system texlive-build-system) + (arguments '(#:tex-directory "latex/booktabs")) + (home-page "http://www.ctan.org/pkg/booktabs") + (synopsis "Publication quality tables in LaTeX") + (description + "This package enhances the quality of tables in LaTeX, providing extra +commands as well as behind-the-scenes optimisation. Guidelines are given as +to what constitutes a good table in this context. The package offers +@code{longtable} compatibility.") + (license license:lppl1.3+))) -- cgit v1.2.3 From 473d63607291ab71ee7fa917bb0bbc2b6f4d530a Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Tue, 3 Sep 2019 03:50:11 +0200 Subject: gnu: emacs-evil-multiedit: Enable tests. * gnu/packages/emacs-xyz.scm (emacs-evil-multiedit): Enable tests. [inputs]: Add emacs-ert-runner. Signed-off-by: Oleg Pykhalov --- gnu/packages/emacs-xyz.scm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 8f866fbc28..3cb4366925 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -13923,6 +13923,18 @@ describing the key binding changes.") (propagated-inputs `(("emacs-evil" ,emacs-evil) ("emacs-iedit" ,emacs-iedit))) + (native-inputs + `(("emacs-ert-runner" ,emacs-ert-runner))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'fix-makefile + (lambda _ + (substitute* "Makefile" + (("@cask exec ") "")) + #t))) + #:tests? #t + #:test-command '("make" "test"))) (home-page "https://github.com/hlissner/evil-multiedit") (synopsis "Multiple cursors for Evil mode") -- cgit v1.2.3 From 9b4ea95bbeb44db7a823f54f56da99aa3ca3422f Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Tue, 3 Sep 2019 04:44:28 +0200 Subject: gnu: emacs-evil-owl: Update to 0.0.1-3.24e5f43. * gnu/packages/emacs-xyz.scm (emacs-evil-owl): Update to 0.0.1-3.24e5f43. [source]: Enable tests. Signed-off-by: Oleg Pykhalov --- gnu/packages/emacs-xyz.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 3cb4366925..8d65955a7b 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -6736,8 +6736,8 @@ end of a line and increment or decrement it.") (license license:gpl3+)))) (define-public emacs-evil-owl - (let ((commit "e8fe5b2f745e36db04cb71eb689bf91c5409614f") - (revision "2")) + (let ((commit "24c5f43df375194386344e69bc720ea3986c9510") + (revision "3")) (package (name "emacs-evil-owl") (version (git-version "0.0.1" revision commit)) @@ -6750,10 +6750,13 @@ end of a line and increment or decrement it.") (file-name (git-file-name name version)) (sha256 (base32 - "1g7kplna62f271135mnjdbvxk2ayx7m4gvd6l86d2394alx16nhq")))) + "0bqzch14whlmrcasakah3psrzswvkzd7mmi8hx5s64kfp29wbdhi")))) (build-system emacs-build-system) (propagated-inputs `(("emacs-evil" ,emacs-evil))) + (arguments + `(#:tests? #t + #:test-command '("make" "test"))) (home-page "https://github.com/mamapanda/evil-owl") (synopsis "Preview candidates when using Evil registers and marks") (description -- cgit v1.2.3 From 8deabdba58e0236ef03d2cefe69e342e6c4d4d29 Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Tue, 3 Sep 2019 08:31:01 +0200 Subject: gnu: emacs-elisp-demos: Enable tests. * gnu/packages/emacs-xyz.scm (emacs-elisp-demos): Enable tests. Signed-off-by: Oleg Pykhalov --- gnu/packages/emacs-xyz.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 8d65955a7b..4673967bd1 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -3091,7 +3091,10 @@ for Flow files.") (base32 "0lybadq66bl4snkwph9i1y0qxln29wyfjn222ii3nfwany28cj66")))) (build-system emacs-build-system) - (arguments '(#:include '("\\.el$" "\\.org$"))) + (arguments + `(#:include '("\\.el$" "\\.org$") + #:tests? #t + #:test-command '("make" "test"))) (home-page "https://github.com/xuchunyang/elisp-demos/") (synopsis "Enhance @code{*Help*} buffers with additional examples") (description -- cgit v1.2.3 From a8afeb058e79214a9360862dab8861768b838e28 Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Tue, 3 Sep 2019 08:47:14 +0200 Subject: gnu: emacs-evil-expat: Enable tests. * gnu/packages/emacs-xyz.scm (emacs-evil-expat): Enable tests. Signed-off-by: Oleg Pykhalov --- gnu/packages/emacs-xyz.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 4673967bd1..8bbaf48c21 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -6915,6 +6915,9 @@ aligning text objects based on separators.") "0872ix682hkdz0k8pn6sb54rqkx00rz5fxpd5j2snx406yagpaxz")))) (build-system emacs-build-system) (propagated-inputs `(("emacs-evil" ,emacs-evil))) + (arguments + `(#:tests? #t + #:test-command '("make" "test"))) (home-page "https://github.com/edkolev/evil-expat") (synopsis "Extra @code{ex} commands for @code{evil-mode}") (description -- cgit v1.2.3 From 1acf8e7ea8b742f468cff641ec33ce1ced2cafe0 Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Tue, 3 Sep 2019 08:43:42 +0200 Subject: gnu: emacs-evil-exchange: Enable tests. * gnu/packages/emacs-xyz.scm (emacs-evil-exchange): Enable tests. [native-inputs]: Add emacs-ert-runner. Signed-off-by: Oleg Pykhalov --- gnu/packages/emacs-xyz.scm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 8bbaf48c21..b547f89459 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -6786,6 +6786,17 @@ a popup window for previewing candidates.") "0bjpn4yqig17ddym6wqq5fm1b294q74hzcbj9a6gs97fqiwf88xa")))) (build-system emacs-build-system) (propagated-inputs `(("emacs-evil" ,emacs-evil))) + (native-inputs `(("emacs-ert-runner" ,emacs-ert-runner))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'fix-makefile + (lambda _ + (substitute* "Makefile" + (("cask exec ") "")) + #t))) + #:tests? #t + #:test-command '("make" "test"))) (home-page "https://github.com/Dewdrops/evil-exchange") (synopsis "Exchange text easily within Evil") (description -- cgit v1.2.3 From d6ac801591c595f209ee0a893f60406177fd1355 Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Tue, 3 Sep 2019 08:55:32 +0200 Subject: gnu: emacs-sudo-edit: Enable tests. * gnu/packages/emacs-xyz.scm (emacs-sudo-edit): Enable tests. [native-inputs]: Add emacs-undercover. Signed-off-by: Oleg Pykhalov --- gnu/packages/emacs-xyz.scm | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index b547f89459..bf6818425c 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -3129,11 +3129,10 @@ completion of relevant keywords.") (define-public emacs-sudo-edit (let ((commit "cc3d478937b1accd38742bfceba92af02ee9357d") - (version "0.1.0") (revision "6")) (package (name "emacs-sudo-edit") - (version (git-version version revision commit)) + (version (git-version "0.1.0" revision commit)) (source (origin (method git-fetch) @@ -3145,6 +3144,18 @@ completion of relevant keywords.") (base32 "1qv58x5j5a3v1s2ylhck1ykbfclq0mbi0gsvaql3nyv8cxazqlwl")))) (build-system emacs-build-system) + (native-inputs + `(("emacs-undercover" ,emacs-undercover))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'fix-makefile + (lambda _ + (substitute* "Makefile" + (("\\$\\(CASK\\) exec ") "")) + #t))) + #:tests? #t + #:test-command '("make" "test"))) (home-page "https://github.com/nflath/sudo-edit/") (synopsis "Open files as another user") (description -- cgit v1.2.3 From 4278537e85b11807765136f19b43534413fca173 Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Tue, 3 Sep 2019 17:55:09 +0200 Subject: gnu: emacs-org-ql: Enable tests. * gnu/packages/emacs-xyz.scm (emacs-org-ql): Enable tests. Signed-off-by: Oleg Pykhalov --- gnu/packages/emacs-xyz.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index bf6818425c..04e92b7cbf 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -11345,6 +11345,11 @@ timestamps by providing a @code{ts} struct.") ("emacs-ts" ,emacs-ts) ("emacs-org" ,emacs-org) ("emacs-dash" ,emacs-dash))) + (native-inputs + `(("emacs-buttercup" ,emacs-buttercup))) + (arguments + `(#:tests? #t + #:test-command '("buttercup" "-L" "."))) (home-page "https://github.com/alphapapa/org-ql/") (synopsis "Query language for Org buffers") (description "This package provides a Lispy query language for Org -- cgit v1.2.3 From a9ca0325b55419d625ee461962528aa0522d473b Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Tue, 3 Sep 2019 22:55:54 +0200 Subject: gnu: emacs-evil-traces: Enable tests. * gnu/packages/emacs-xyz.scm (emacs-evil-traces): Enable tests. Signed-off-by: Oleg Pykhalov --- gnu/packages/emacs-xyz.scm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 04e92b7cbf..5b4b2be904 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -17597,6 +17597,17 @@ corresponding Evil keys.") (build-system emacs-build-system) (propagated-inputs `(("emacs-evil" ,emacs-evil))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'set-shell + ;; Setting the SHELL environment variable is required for the tests + ;; to find sh. + (lambda _ + (setenv "SHELL" (which "sh")) + #t))) + #:tests? #t + #:test-command '("make" "test"))) (home-page "https://github.com/mamapanda/evil-traces") (synopsis "Visual hints for @code{evil-ex}") (description "This package adds visual hints to certain @code{ex} -- cgit v1.2.3 From 141d8a896fd4806be9a127f3b314407c535dd27e Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Thu, 5 Sep 2019 23:43:24 +0200 Subject: gnu: emacs-flycheck-haskell: Include .hs file. * gnu/packages/emacs-xyz.scm (emacs-flycheck-haskell): Include package file. Signed-off-by: Oleg Pykhalov --- gnu/packages/emacs-xyz.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 5b4b2be904..abc9a5ba36 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -16594,11 +16594,10 @@ unescaping of quotes.") (define-public emacs-flycheck-haskell (let ((commit "32ddff87165a7d3a35e7318bee997b5b4bd41278") - (version "0.8") - (revision "79")) + (revision "2")) (package (name "emacs-flycheck-haskell") - (version (git-version version revision commit)) + (version (git-version "0.8" revision commit)) (source (origin (method git-fetch) @@ -16616,6 +16615,8 @@ unescaping of quotes.") ("emacs-flycheck" ,emacs-flycheck) ("emacs-haskell-mode" ,emacs-haskell-mode) ("emacs-let-alist" ,emacs-let-alist))) + (arguments + `(#:include '("\\.el$" "\\.hs$"))) (home-page "https://github.com/flycheck/flycheck-haskell") (synopsis "Flycheck for Haskell") (description "This package configures syntax-checking for Haskell -- cgit v1.2.3 From 14c9c456c740f125a843b11303e311e4ab311f07 Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Tue, 13 Aug 2019 21:16:14 +0200 Subject: gnu: emacs-robe: Update to 0.8.2. * gnu/packages/emacs-xyz.scm (emacs-robe): Update to 0.8.2. Signed-off-by: Oleg Pykhalov --- gnu/packages/emacs-xyz.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index abc9a5ba36..ab3365591f 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -2855,7 +2855,7 @@ mode-line.") (define-public emacs-robe (package (name "emacs-robe") - (version "0.8.1") + (version "0.8.2") (source (origin (method git-fetch) @@ -2864,7 +2864,7 @@ mode-line.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "0ll7ivxqnglfb0i70ly6qq2yfw9cyi3vq3lmj4s6h6c1c7rm3gcq")))) + (base32 "0qw18wi54yg971n4wnjqkd8lqj5lbs9ra8bvmngif2bzhqlfdsbn")))) (build-system emacs-build-system) (arguments '(#:include (cons "^lib\\/" %default-include))) -- cgit v1.2.3 From 43931643a68363e1494a00227d3292806a9a7b4a Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Wed, 4 Sep 2019 12:01:37 +0200 Subject: gnu: Add emacs-leetcode. * gnu/packages/emacs-xyz.scm (emacs-leetcode): New variable. Signed-off-by: Oleg Pykhalov --- gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index ab3365591f..0ca1af9d05 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -15853,6 +15853,31 @@ buffers, etc. It also has plug-ins to help your Emacs life.") programs can use this table component for the application UI.") (license license:gpl3+)))) +(define-public emacs-leetcode + (let ((commit "8624496af9e105c3e07d88844b37ede87540d604") + (revision "1")) + (package + (name "emacs-leetcode") + (version (git-version "0" "1" commit)) + (home-page "https://github.com/ginqi7/leetcode-emacs.git") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ginqi7/leetcode-emacs") + (commit commit))) + (sha256 + (base32 + "11pp7ydlmwrv7djf9mwk4xzn295xbmdnj5x13bfj5yjpjr89p531")) + (file-name (git-file-name name version)))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-names" ,emacs-names) + ("emacs-ctable" ,emacs-ctable))) + (synopsis "Solve and submit LeetCode problems from within Emacs") + (description "This package provides an Emacs interface to LeetCode +allowing users to log in and solve problems of their choice using Emacs.") + (license license:unlicense)))) + (define-public emacs-epc (let ((commit "e1bfa5ca163273859336e3cc89b4b6460f7f8cda")) (package -- cgit v1.2.3 From 3b38bf141a464e1bb370af7d2b2651d1efb29781 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 6 Sep 2019 12:23:57 +0200 Subject: services: Add ‘/usr/bin/env’ special file. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/services/base.scm (%base-services): Add ‘/usr/bin/env‘ to special-files-service-type. --- gnu/services/base.scm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/gnu/services/base.scm b/gnu/services/base.scm index dcb7278f0f..a6439568f7 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -8,6 +8,7 @@ ;;; Copyright © 2016 Ricardo Wurmus ;;; Copyright © 2018 Mathieu Othacehe ;;; Copyright © 2019 Efraim Flashner +;;; Copyright © 2019 Tobias Geerinckx-Rice ;;; Copyright © 2019 John Soo ;;; ;;; This file is part of GNU Guix. @@ -41,9 +42,9 @@ #:use-module (gnu packages admin) #:use-module ((gnu packages linux) #:select (alsa-utils crda eudev e2fsprogs fuse gpm kbd lvm2 rng-tools)) - #:use-module ((gnu packages base) - #:select (canonical-package glibc glibc-utf8-locales)) #:use-module (gnu packages bash) + #:use-module ((gnu packages base) + #:select (canonical-package coreutils glibc glibc-utf8-locales)) #:use-module (gnu packages package-management) #:use-module ((gnu packages gnupg) #:select (guile-gcrypt)) #:use-module (gnu packages linux) @@ -2425,6 +2426,9 @@ to handle." (service special-files-service-type `(("/bin/sh" ,(file-append (canonical-package bash) - "/bin/sh")))))) + "/bin/sh")) + "/bin/sh")) + ("/usr/bin/env" ,(file-append (canonical-package coreutils) + "/usr/bin/env")))))) ;;; base.scm ends here -- cgit v1.2.3 From e15f55208f8d0f93e075f681e36e86c65baa4405 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Fri, 6 Sep 2019 13:52:33 +0300 Subject: services: Fix typo. This is a follow-up to 3b38bf141a464e1bb370af7d2b2651d1efb29781. * gnu/services/base.scm (%base-services): Remove duplicated line. --- gnu/services/base.scm | 1 - 1 file changed, 1 deletion(-) diff --git a/gnu/services/base.scm b/gnu/services/base.scm index a6439568f7..97c53eeaf3 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -2427,7 +2427,6 @@ to handle." (service special-files-service-type `(("/bin/sh" ,(file-append (canonical-package bash) "/bin/sh")) - "/bin/sh")) ("/usr/bin/env" ,(file-append (canonical-package coreutils) "/usr/bin/env")))))) -- cgit v1.2.3 From 5ef82ec8baff1e4f172b0cfbe46298547c47cef3 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 16:02:33 +0300 Subject: gnu: Add rust-rand. * gnu/packages/crates-io.scm (rust-rand): New variable. --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ebd3d4ded1..0ad3de9921 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1514,6 +1514,32 @@ to write.") ;; Dual licensed. (license (list license:asl2.0 license:expat)))) +(define-public rust-rand + (package + (name "rust-rand") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1gfgnqfj2pyh27dcb720jpawskllwnbvxh816ddyykv269xz8ml3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-fuchsia-zircon" ,rust-fuchsia-zircon) + ("rust-libc" ,rust-libc) + ("rust-winapi" ,rust-winapi)))) + (home-page "https://crates.io/crates/rand") + (synopsis "Random number generators and other randomness functionality") + (description + "Rand provides utilities to generate random numbers, to convert them to +useful types and distributions, and some randomness-related algorithms.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-rawpointer (package (name "rust-rawpointer") -- cgit v1.2.3 From 2f8e436a29d9a64828d23c79e80d2c563fc3ca19 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 16:32:38 +0300 Subject: gnu: Add rust-rand-0.3. * gnu/packages/crates-io.scm (rust-rand-0.3): New variable. --- gnu/packages/crates-io.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0ad3de9921..8fb2f87da8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1540,6 +1540,24 @@ useful types and distributions, and some randomness-related algorithms.") (license (list license:asl2.0 license:expat)))) +(define-public rust-rand-0.3 + (package + (inherit rust-rand) + (name "rust-rand") + (version "0.3.23") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0v679h38pjjqj5h4md7v2slsvj6686qgcn7p9fbw3h43iwnk1b34")))) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc) + ("rust-rand" ,rust-rand)))))) + (define-public rust-rawpointer (package (name "rust-rawpointer") -- cgit v1.2.3 From f81d58b8b3735282114e2a5c29b123e08afa7520 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 16:35:58 +0300 Subject: gnu: Add rust-tempdir. * gnu/packages/crates-io.scm (rust-tempdir): New variable. --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8fb2f87da8..262c1e4116 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2102,6 +2102,32 @@ and Jaro-Winkler.") "This package provides helper test traits for synstructure doctests.") (license license:expat))) +(define-public rust-tempdir + (package + (name "rust-tempdir") + (version "0.3.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "tempdir" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1n5n86zxpgd85y0mswrp5cfdisizq2rv3la906g6ipyc03xvbwhm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-rand" ,rust-rand) + ("rust-remove-dir-all" ,rust-remove-dir-all)))) + (home-page + "https://github.com/rust-lang/tempdir") + (synopsis "Temporary directory management for Rust") + (description + "This package provides a library for managing a temporary directory and +deleting all contents when it's dropped.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-termcolor (package (name "rust-termcolor") -- cgit v1.2.3 From 90c48ddd76a8c2926d271d68199bb96537a483de Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 16:39:10 +0300 Subject: gnu: Add rust-adler32. * gnu/packages/crates-io.scm (rust-adler32): New variable. --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 262c1e4116..753b144c46 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -30,6 +30,30 @@ ;;; Please: Try to add new module packages in alphabetic order. ;;; +(define-public rust-adler32 + (package + (name "rust-adler32") + (version "1.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "adler32" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0p7fxlnks9l7p7rwfqi7aqgnk2bps5zc0rjiw00mdw19nnbjjlky")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-rand" ,rust-rand)))) + (home-page "https://github.com/remram44/adler32-rs") + (synopsis "Implementation of the Adler32 rolling hash algorithm") + (description + "This library is an implementation of the Adler32 rolling hash algorithm in +the Rust programming language.") + (license (list license:bsd-3 + license:zlib)))) + (define-public rust-antidote (package (name "rust-antidote") -- cgit v1.2.3 From c988c9bb8588fecba465f4d689b44082e493e662 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 16:41:58 +0300 Subject: gnu: Add rust-base-x. * gnu/packages/crates-io.scm (rust-base-x): New variable. --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 753b144c46..1c607161c9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -121,6 +121,29 @@ support.") (license (list license:asl2.0 license:expat)))) +(define-public rust-base-x + (package + (name "rust-base-x") + (version "0.2.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "base-x" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0hv4y5cdhv6bk0ghk2434clw8v4mmk5cc9lsh6qrpri92zlfmx3n")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-bencher" ,rust-bencher) + ("rust-json" ,rust-json) + ("rust-rand" ,rust-rand-0.3)))) + (home-page "https://github.com/OrKoN/base-x-rs") + (synopsis "Encode/decode any base") + (description "This library provides for encoding and decoding any base.") + (license license:expat))) + (define-public rust-bencher (package (name "rust-bencher") -- cgit v1.2.3 From c2c0ac145183742ed04d58c0dc893886a5b07575 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 16:45:15 +0300 Subject: gnu: Add rust-rustc-serialize. * gnu/packages/crates-io.scm (rust-rustc-serialize): New variable. --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1c607161c9..29d8da51d4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1728,6 +1728,32 @@ system calls.") (license (list license:asl2.0 license:expat)))) +(define-public rust-rustc-serialize + (package + (name "rust-rustc-serialize") + (version "0.3.24") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-serialize" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1nkg3vasg7nk80ffkazizgiyv3hb1l9g3d8h17cajbkx538jiwfw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-rand" ,rust-rand-0.3)))) + (home-page "https://github.com/rust-lang-deprecated/rustc-serialize") + (synopsis "Generic serialization/deserialization support") + (description + "This package provides generic serialization/deserialization support +corresponding to the @code{derive(RustcEncodable, RustcDecodable)} mode in the +compiler. Also includes support for hex, base64, and json encoding and +decoding.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-rustc-std-workspace-core (package (name "rust-rustc-std-workspace-core") -- cgit v1.2.3 From 313778655e4a3bd69febb1af486513dc8d25e2f6 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 16:49:00 +0300 Subject: gnu: Add rust-log. * gnu/packages/crates-io.scm (rust-log): New variable. --- gnu/packages/crates-io.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 29d8da51d4..ab022abc29 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1004,6 +1004,26 @@ the platform that libc is compiled for.") (license (list license:expat license:asl2.0)))) +(define-public rust-log + (package + (name "rust-log") + (version "0.3.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "log" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0nsn28syc49vvjhxcfc8261rd1frhjc0r4bn9v3mqvps3ra7f3w8")))) + (build-system cargo-build-system) + (home-page "https://github.com/rust-lang-nursery/log") + (synopsis "Lightweight logging") + (description + "This package provides a lightweight logging facade for Rust") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-maplit (package (name "rust-maplit") -- cgit v1.2.3 From 5bd7965e115b473ad74ab22cb07364394a990ffc Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 16:52:02 +0300 Subject: gnu: Add rust-cc. * gnu/packages/crates-io.scm (rust-cc): New variable. --- gnu/packages/crates-io.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ab022abc29..9b715c7cf9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -230,6 +230,45 @@ behave like a set of bitflags.") (license (list license:asl2.0 license:expat)))) +(define-public rust-cc + (package + (name "rust-cc") + (version "1.0.41") + (source + (origin + (method url-fetch) + (uri (crate-uri "cc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1zxzd559dbbf1iwdzmkj7czapzccs17kqqmsj9ayijpdix5rrbld")))) + (build-system cargo-build-system) + (arguments + `(;#:cargo-inputs + ;(("rust-rayon" ,rust-rayon)) + #:cargo-development-inputs + (("rust-tempdir" ,rust-tempdir)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'remove-optional-deps + (lambda _ + (substitute* "Cargo.toml.orig" + ((".*optional.*") "\n") + ((".*features.*") "") + ((".*parallel.*") "")) + (delete-file "Cargo.toml") + (copy-file "Cargo.toml.orig" "Cargo.toml") + #t))) + #:tests? #f)) ; Tests require cc-test from git repo. + (home-page "https://github.com/alexcrichton/cc-rs") + (synopsis "Invoke the native C compiler") + (description + "This package provides a build-time dependency for Cargo build scripts to +assist in invoking the native C compiler to compile native C code into a static +archive to be linked into Rustcode.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-cfg-if (package (name "rust-cfg-if") -- cgit v1.2.3 From 2446b451e2d92bc2ad5da0f1d877d306f32b84e7 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 16:55:17 +0300 Subject: gnu: Add rust-cmake. * gnu/packages/crates-io.scm (rust-cmake): New variable. --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9b715c7cf9..b4a5c8f171 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -338,6 +338,30 @@ colorization.") "Low level interface to CloudABI. Contains all syscalls and related types.") (license license:bsd-2))) +(define-public rust-cmake + (package + (name "rust-cmake") + (version "0.1.42") + (source + (origin + (method url-fetch) + (uri (crate-uri "cmake" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0qkwibkvx5xjazvv9v8gvdlpky2jhjxvcz014nrixgzqfyv2byw1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc)))) + (home-page "https://github.com/alexcrichton/cmake-rs") + (synopsis "Rust build dependency for running cmake") + (description + "This package provides a build dependency for running @code{cmake} to build +a native library. The CMake executable is assumed to be @code{cmake} unless the +CMAKE environmental variable is set.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-constant-time-eq (package (name "rust-constant-time-eq") -- cgit v1.2.3 From e78973f45b0ebb259703b827a9b16abfee5e8112 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 17:08:00 +0300 Subject: gnu: Add rust-stacker. * gnu/packages/crates-io.scm (rust-stacker): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b4a5c8f171..b945091fdc 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2152,6 +2152,33 @@ to the same address.") (license (list license:asl2.0 license:expat)))) +(define-public rust-stacker + (package + (name "rust-stacker") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "stacker" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0js0axz5nla1mkr2dm2vrv9rj964ng1lrv4l43sqlnfgawplhygv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if) + ("rust-libc" ,rust-libc) + ("rust-winapi" ,rust-winapi) + ("rust-cc" ,rust-cc)))) + (home-page "https://github.com/rust-lang/stacker") + (synopsis "Manual segmented stacks for Rust") + (description + "This package provides a stack growth library useful when implementing +deeply recursive algorithms that may accidentally blow the stack.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-stdweb-internal-runtime (package (name "rust-stdweb-internal-runtime") -- cgit v1.2.3 From 412c43b42350da4b91dacc11721d1b876e9cb62e Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 17:16:05 +0300 Subject: gnu: Add rust-compiler-builtins. * gnu/packages/crates-io.scm (rust-compiler-builtins): New hidden variable. --- gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b945091fdc..204257e8fc 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -362,6 +362,36 @@ CMAKE environmental variable is set.") (license (list license:asl2.0 license:expat)))) +;; This package requires features which are unavailable +;; on the stable releases of Rust. +(define-public rust-compiler-builtins + (package + (name "rust-compiler-builtins") + (version "0.1.19") + (source + (origin + (method url-fetch) + (uri (crate-uri "compiler_builtins" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1fpabpmg8paj4r5a37vmidh1jx1b7a6ilxm4s3xsxczx27ybjcjf")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cc" ,rust-cc) + ("rust-rustc-std-workspace-core" + ,rust-rustc-std-workspace-core)))) + (home-page "https://github.com/rust-lang-nursery/compiler-builtins") + (synopsis "Compiler intrinsics used by the Rust compiler") + (description + "This package provides compiler intrinsics used by the Rust compiler. This +package is primarily useful when building the @code{core} crate yourself and you +need compiler-rt intrinsics.") + (properties `((hidden? . #t))) + (license (list license:asl2.0 + license:expat)))) + (define-public rust-constant-time-eq (package (name "rust-constant-time-eq") -- cgit v1.2.3 From 6f5cd37a60b0082c703c3a675abd0d1ef46118e7 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 17:18:33 +0300 Subject: gnu: Add rust-libloading. * gnu/packages/crates-io.scm (rust-libloading): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 204257e8fc..e4da943c80 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1097,6 +1097,33 @@ the platform that libc is compiled for.") (license (list license:expat license:asl2.0)))) +(define-public rust-libloading + (package + (name "rust-libloading") + (version "0.5.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "libloading" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0lyply8rcqc8agajzxs7bq6ivba9dnn1i68kgb9z2flnfjh13cgj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cc" ,rust-cc) + ("rust-winapi" ,rust-winapi)))) + (home-page "https://github.com/nagisa/rust_libloading/") + (synopsis "Rust library for loading dynamic libraries") + (description + "A memory-safer wrapper around system dynamic library loading primitives. +The most important safety guarantee by this library is prevention of +dangling-Symbols that may occur after a Library is unloaded. Using this library +allows loading dynamic libraries (also known as shared libraries) as well as use +functions and static variables these libraries contain.") + (license license:isc))) + (define-public rust-log (package (name "rust-log") -- cgit v1.2.3 From aeaa6012609741f4957a033df0b7d3dbfd14980b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 17:23:56 +0300 Subject: gnu: Add rust-vcpkg. * gnu/packages/crates-io.scm (rust-vcpkg): New variable. --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e4da943c80..ae89552b2c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2835,6 +2835,32 @@ whitespace from a string.") untrusted inputs in Rust.") (license license:isc))) +(define-public rust-vcpkg + (package + (name "rust-vcpkg") + (version "0.2.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "vcpkg" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "15dzk1b96q946v9aisbd1bbhi33n93wvgziwh1shmscn1xflbp9k")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-lazy-static" ,rust-lazy-static) + ("rust-tempdir" ,rust-tempdir)) + #:tests? #f)) ; tests try to link libmysql, graphite2, harfbuzz + (home-page "https://github.com/mcgoo/vcpkg-rs") + (synopsis "Find native dependencies in a vcpkg tree at build time") + (description + "This package provides a library to find native dependencies in a +@code{vcpkg} tree at build time in order to be used in Cargo build scripts.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-version-check (package (name "rust-version-check") -- cgit v1.2.3 From 701eaebc6666ae40f0d284b2b8e377fee2553d9b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 17:34:33 +0300 Subject: gnu: Add rust-memmap. * gnu/packages/crates-io.scm (rust-memmap): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ae89552b2c..5683c177df 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1202,6 +1202,33 @@ whether an expression matches a pattern.") (license (list license:asl2.0 license:expat)))) +(define-public rust-memmap + (package + (name "rust-memmap") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "memmap" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ns7kkd1h4pijdkwfvw4qlbbmqmlmzwlq3g2676dcl5vwyazv1b5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc) + ("rust-winapi" ,rust-winapi)) + #:cargo-development-inputs + (("rust-tempdir" ,rust-tempdir)))) + (home-page "https://github.com/danburkert/memmap-rs") + (synopsis "Rust library for cross-platform memory mapped IO") + (description + "This package provides a cross-platform Rust API for memory-mapped +file IO.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-mime (package (name "rust-mime") -- cgit v1.2.3 From 94c715e613c7c9a7ede9f960c63002664f2a0db9 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 17:36:09 +0300 Subject: gnu: Add rust-memmap-0.6. * gnu/packages/crates-io.scm (rust-memmap@0.6): New variable. --- gnu/packages/crates-io.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5683c177df..d01f6a03df 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1229,6 +1229,26 @@ file IO.") (license (list license:asl2.0 license:expat)))) +(define-public rust-memmap-0.6 + (package + (inherit rust-memmap) + (name "rust-memmap") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "memmap" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1zy6s0ni0lx9rjzq3gq2zz9r8zgjmbp02332g3gsj4fyhv4s5zz2")))) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc) + ("rust-winapi" ,rust-winapi)) + #:cargo-development-inputs + (("rust-tempdir" ,rust-tempdir)))))) + (define-public rust-mime (package (name "rust-mime") -- cgit v1.2.3 From 3a3c72e6b1a5a9a8b5251be6d0edb14bf060b453 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 17:46:36 +0300 Subject: gnu: Add rust-miniz-oxide. * gnu/packages/crates-io.scm (rust-miniz-oxide): New variable. --- gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d01f6a03df..4a2f545018 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1272,6 +1272,37 @@ file IO.") (license (list license:asl2.0 license:expat)))) +(define-public rust-miniz-oxide + (package + (name "rust-miniz-oxide") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "miniz_oxide" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "041s41l5w7z8pkp93pdzn8rngxr93q4wxp034pr0cvc7bgway23i")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-adler32" ,rust-adler32)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-tests + (lambda _ + (substitute* "tests/test.rs" + (("../miniz/miniz.c") "Cargo.toml")) + #t))))) + (home-page "https://github.com/Frommi/miniz_oxide/tree/master/miniz_oxide") + (synopsis "Pure rust replacement for the miniz DEFLATE/zlib encoder/decoder") + (description + "A pure rust replacement for the miniz DEFLATE/zlib encoder/decoder. Using +@code{flate2} with the @code{rust_backend} feature provides an easy to use +streaming API for miniz_oxide.") + (license license:expat))) + (define-public rust-modifier (package (name "rust-modifier") -- cgit v1.2.3 From e81e48ef29df257c8b3347a36165bbe284c13568 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 17:48:06 +0300 Subject: gnu: Add rust-miniz-sys. * gnu/packages/crates-io.scm (rust-miniz-sys): New variable. --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4a2f545018..ea6fd1dbc7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1303,6 +1303,30 @@ file IO.") streaming API for miniz_oxide.") (license license:expat))) +(define-public rust-miniz-sys + (package + (name "rust-miniz-sys") + (version "0.1.12") + (source + (origin + (method url-fetch) + (uri (crate-uri "miniz-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "00l2r4anm8g35x0js2zfdnwfbrih9m43vphdpb77c5ga3kjkm7hy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cc" ,rust-cc) + ("rust-libc" ,rust-libc)))) + (home-page "https://github.com/alexcrichton/flate2-rs") + (synopsis "Bindings to the miniz.c library") + (description + "This package provides bindings to the @code{miniz.c} library.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-modifier (package (name "rust-modifier") -- cgit v1.2.3 From 5b15d635eddda7708d68a224f4df50e1c866f92d Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 17:52:14 +0300 Subject: gnu: Add rust-netlib-src. * gnu/packages/crates-io.scm (rust-netlib-src): New variable. --- gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ea6fd1dbc7..d6a26fc119 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -24,6 +24,8 @@ #:use-module (guix download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) + #:use-module (gnu packages gcc) + #:use-module (gnu packages maths) #:use-module (gnu packages pkg-config)) ;;; @@ -1373,6 +1375,42 @@ types as proposed in RFC 1158.") (license (list license:asl2.0 license:expat)))) +(define-public rust-netlib-src + (package + (name "rust-netlib-src") + (version "0.7.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "netlib-src" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "112hwfw1zzdj10h3j213xxqjrq38iygb3nb3ijay65ycmrg819s4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-cmake" ,rust-cmake) + ("rust-libc" ,rust-libc)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'use-system-lapack + (lambda _ + (delete-file-recursively "source") + (substitute* "Cargo.toml" + (("default .*") + "default = [\"system\"]\n")) + #t))))) + (inputs + `(("gfortran:lib" ,gfortran "lib") + ("lapack" ,lapack))) + (home-page "https://github.com/blas-lapack-rs/netlib-src") + (synopsis "Source of BLAS and LAPACK via Netlib") + (description + "The package provides a source of BLAS and LAPACK via Netlib.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-nodrop (package (name "rust-nodrop") -- cgit v1.2.3 From f51c47b528a7acf79dd189e18cebf841afaf4c30 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 17:54:47 +0300 Subject: gnu: Add rust-openssl-probe. * gnu/packages/crates-io.scm (rust-openssl-probe): New variable. --- gnu/packages/crates-io.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d6a26fc119..f0a29486ad 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1558,6 +1558,27 @@ implementation (which is unstable / requires nightly).") (license (list license:asl2.0 license:expat)))) +(define-public rust-openssl-probe + (package + (name "rust-openssl-probe") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "openssl-probe" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1pijrdifgsdwd45b08c2g0dsmnhz7c3kmagb70839ngrd7d29bvp")))) + (build-system cargo-build-system) + (home-page "https://github.com/alexcrichton/openssl-probe") + (synopsis "Find SSL certificate locations") + (description + "This package provides a tool to find SSL certificate locations on the +system for OpenSSL.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-owning-ref (package (name "rust-owning-ref") -- cgit v1.2.3 From 02f66e9022d92d2041869231ee5adcf6009f07a9 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 17:59:43 +0300 Subject: gnu: Add rust-gcc. * gnu/packages/crates-io.scm (rust-gcc): New variable. --- gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f0a29486ad..ea43d8e5e1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -802,6 +802,46 @@ the computation on the threads themselves.") (license (list license:asl2.0 license:expat)))) +(define-public rust-gcc + (package + (inherit rust-cc) + (name "rust-gcc") + (version "0.3.55") + (source + (origin + (method url-fetch) + (uri (crate-uri "gcc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1hng1sajn4r67hndvhjysswz8niayjwvcj42zphpxzhbz89kjpwg")))) + (build-system cargo-build-system) + (arguments + `(;#:cargo-inputs + ;(("rust-rayon" ,rust-rayon)) + #:cargo-development-inputs + (("rust-tempdir" ,rust-tempdir)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'remove-optional-deps + (lambda _ + (substitute* "Cargo.toml.orig" + ((".*optional.*") "\n") + ((".*features.*") "") + ((".*parallel.*") "")) + (delete-file "Cargo.toml") + (copy-file "Cargo.toml.orig" "Cargo.toml") + #t))) + #:tests? #f)) + (home-page "https://github.com/alexcrichton/cc-rs") + (synopsis "Library to compile C/C++ code into a Rust library/application") + (description + "This package provides a build-time dependency for Cargo build scripts to +assist in invoking the native C compiler to compile native C code into a static +archive to be linked into Rustcode.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-heapsize (package (name "rust-heapsize") -- cgit v1.2.3 From eda57f4834b29ef17758f7f1f62d3af899e2d669 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 18:00:03 +0300 Subject: gnu: Add rust-pico-sys. * gnu/packages/crates-io.scm (rust-pico-sys): New variable. --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ea43d8e5e1..909dd5d2f8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1707,6 +1707,29 @@ algorithm.") (license (list license:asl2.0 license:expat)))) +(define-public rust-pico-sys + (package + (name "rust-pico-sys") + (version "0.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pico-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1q5pg0ms6szz6b5h26h4k40zb76zbwwjgyigac4wly9qngdj4yl5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-gcc" ,rust-gcc) + ("rust-libc" ,rust-libc)))) + (home-page "https://github.com/reem/rust-pico-sys.git") + (synopsis "Bindings to the PicoHTTPParser") + (description + "This package provides bindings to the PicoHTTPParser.") + (license license:expat))) + (define-public rust-pin-utils (package (name "rust-pin-utils") -- cgit v1.2.3 From f0074113086c32ebb31f49cf01a2fd4740d01999 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 18:04:20 +0300 Subject: gnu: Add rust-rustc-demangle. * gnu/packages/crates-io.scm (rust-rustc-demangle): New variable. --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 909dd5d2f8..183291e737 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2092,6 +2092,32 @@ system calls.") (license (list license:asl2.0 license:expat)))) +(define-public rust-rustc-demangle + (package + (name "rust-rustc-demangle") + (version "0.1.16") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-demangle" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "10qp42sl1wrdbgbbh8rnay2grm976z7hqgz32c4y09l1c071qsac")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-compiler-builtins" + ,rust-compiler-builtins) + ("rust-rustc-std-workspace-core" + ,rust-rustc-std-workspace-core)))) + (home-page "https://github.com/alexcrichton/rustc-demangle") + (synopsis "Rust compiler symbol demangling") + (description + "This package demanges the symbols from the Rust compiler.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-rustc-serialize (package (name "rust-rustc-serialize") -- cgit v1.2.3 From c891c7f174eb1942e75324f494aade8da1c04f36 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 18:08:30 +0300 Subject: gnu: Add rust-cargon. * gnu/packages/crates-io.scm (rust-cargon): New variable. --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 183291e737..35453124ef 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -210,6 +210,29 @@ behave like a set of bitflags.") (license (list license:asl2.0 license:expat)))) +(define-public rust-cargon + (package + (name "rust-cargon") + (version "0.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "cargon" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1cszlab7jk736p0lb50ag4l9nv72m7j41bwrmygl0lr4iz0350w2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-gcc" ,rust-gcc)))) + (home-page "https://github.com/bryant/argon2rs") + (synopsis "Thin wrapper around the Argon2 C library") + (description + "This package provides a thin wrapper around the Argon2 C library. It is +used in argon2rs' bench suite.") + (license license:wtfpl2))) + (define-public rust-cblas-sys (package (name "rust-cblas-sys") -- cgit v1.2.3 From f32a4ba74660b6f1adfc7e61343a1684ffedeb8a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 18:14:38 +0300 Subject: gnu: Add rust-jemalloc-sys. * gnu/packages/crates-io.scm (rust-jemalloc-sys): New variable. --- gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 35453124ef..7a7b2be4f4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -25,6 +25,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (gnu packages gcc) + #:use-module (gnu packages jemalloc) #:use-module (gnu packages maths) #:use-module (gnu packages pkg-config)) @@ -1026,6 +1027,41 @@ primitives to an @code{io::Write}.") (license (list license:asl2.0 license:expat)))) +(define-public rust-jemalloc-sys + (package + (name "rust-jemalloc-sys") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "jemalloc-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ify9vlql01qhfxlj7d4p9jvcp90mj2h69nkbq7slccvbhzryfqd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc) + ("rust-cc" ,rust-cc) + ("rust-fs-extra" ,rust-fs-extra)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'override-jemalloc + (lambda* (#:key inputs #:allow-other-keys) + (let ((jemalloc (assoc-ref inputs "jemalloc"))) + (delete-file-recursively "jemalloc") + (setenv "JEMALLOC_OVERRIDE" + (string-append jemalloc "/lib/libjemalloc_pic.a"))) + #t))))) + (inputs + `(("jemalloc" ,jemalloc))) + (home-page "https://github.com/gnzlbg/jemallocator") + (synopsis "Rust FFI bindings to jemalloc") + (description "This package provides Rust FFI bindings to jemalloc.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-json (package (name "rust-json") -- cgit v1.2.3 From 1515ecae214891dbf96045e0a1ff9be7b0527830 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 18:20:49 +0300 Subject: gnu: Add rust-lzma-sys. * gnu/packages/crates-io.scm (rust-lzma-sys): New variable. --- gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7a7b2be4f4..705cccbce9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -24,6 +24,7 @@ #:use-module (guix download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) + #:use-module (gnu packages compression) #:use-module (gnu packages gcc) #:use-module (gnu packages jemalloc) #:use-module (gnu packages maths) @@ -1245,6 +1246,42 @@ functions and static variables these libraries contain.") (license (list license:asl2.0 license:expat)))) +(define-public rust-lzma-sys + (package + (name "rust-lzma-sys") + (version "0.1.15") + (source + (origin + (method url-fetch) + (uri (crate-uri "lzma-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "14gyj256yh0wm77jbvmlc39v7lfn0navpfrja4alczarzlc8ir2k")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cc" ,rust-cc) + ("rust-libc" ,rust-libc) + ("rust-pkg-config" ,rust-pkg-config)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'unbundle-xz + (lambda* (#:key inputs #:allow-other-keys) + (let ((xz (assoc-ref inputs "xz"))) + (delete-file-recursively "xz-5.2")) + #t))))) + (inputs + `(("pkg-config" ,pkg-config) + ("xz" ,xz))) + (home-page "https://github.com/alexcrichton/xz2-rs") + (synopsis "Bindings to liblzma for lzma and xz stream encoding/decoding") + (description + "This package contains the raw bindings to liblzma which contains an +implementation of LZMA and xz stream encoding/decoding.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-maplit (package (name "rust-maplit") -- cgit v1.2.3 From 5ef6549e12985fb4ed97672e5068d994c541b3a3 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 18:26:05 +0300 Subject: gnu: Add rust-tempfile. * gnu/packages/crates-io.scm (rust-tempfile): New variable. --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 705cccbce9..ec65076a36 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2714,6 +2714,34 @@ deleting all contents when it's dropped.") (license (list license:asl2.0 license:expat)))) +(define-public rust-tempfile + (package + (name "rust-tempfile") + (version "3.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "tempfile" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ny1cdbcsrmwjpy4k9366xm6p0jqkrmrvr0cln2djxspp1inyxs7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc) + ("rust-rand" ,rust-rand) + ("rust-redox-syscall" ,rust-redox-syscall) + ("rust-remove-dir-all" ,rust-remove-dir-all) + ("rust-winapi" ,rust-winapi)))) + (home-page "http://stebalien.com/projects/tempfile-rs") + (synopsis "Library for managing temporary files and directories") + (description + "This package provides a library for managing temporary files and +directories.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-termcolor (package (name "rust-termcolor") -- cgit v1.2.3 From 1a9ce2a252cc75d9b7686ed4fcee9964d2b61eef Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 18:30:13 +0300 Subject: gnu: Add rust-xattr. * gnu/packages/crates-io.scm (rust-xattr): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ec65076a36..a56faa011b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3620,6 +3620,33 @@ color in a Windows console.") "Contains function definitions for the Windows API library ws2_32.") (license license:expat))) +(define-public rust-xattr + (package + (name "rust-xattr") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "xattr" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0k556fb6f5jc907975j9c8iynl2fqz3rf0w6fiig83i4yi0kfk14")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc)) + #:cargo-development-inputs + (("rust-tempfile" ,rust-tempfile)) + #:tests? #f)) ; Tests assume read access to /var. + (home-page "https://github.com/Stebalien/xattr") + (synopsis "Unix extended filesystem attributes") + (description + "This package provide a small library for setting, getting, and listing +extended attributes.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-xdg (package (name "rust-xdg") -- cgit v1.2.3 From 27438eb81725fe031d8d3bea7de45ef412e5b184 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 18:32:38 +0300 Subject: gnu: Add rust-filetime. * gnu/packages/crates-io.scm (rust-filetime): New variable. --- gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a56faa011b..971aec2e5d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -594,6 +594,38 @@ provides implementations for @code{HashMap} and @code{HashSet}.") (license (list license:asl2.0 license:expat)))) +(define-public rust-filetime + (package + (name "rust-filetime") + (version "0.2.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "filetime" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0sflihq2l77xjrza7yjalnxsc7dxzg25rhzcfbd9vmyfah5kimvb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if) + ("rust-libc" ,rust-libc) + ("rust-redox-syscall" ,rust-redox-syscall) + ("rust-winapi" ,rust-winapi)) + #:cargo-development-inputs + (("rust-tempdir" ,rust-tempdir)))) + (home-page "https://github.com/alexcrichton/filetime") + (synopsis "Platform-agnostic accessors of timestamps in File metadata") + (description + "This library contains a helper library for inspecting and setting the +various timestamps of files in Rust. This library takes into account +cross-platform differences in terms of where the timestamps are located, what +they are called, and how to convert them into a platform-independent +representation.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-findshlibs (package (name "rust-findshlibs") -- cgit v1.2.3 From 3494be351567e1f32a02bbb3d2f7cedec7d6446c Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 18:37:18 +0300 Subject: gnu: Add rust-tar. * gnu/packages/crates-io.scm (rust-tar): New variable. --- gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 971aec2e5d..4de42d9de4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2720,6 +2720,39 @@ and Jaro-Winkler.") "This package provides helper test traits for synstructure doctests.") (license license:expat))) +(define-public rust-tar + (package + (name "rust-tar") + (version "0.4.26") + (source + (origin + (method url-fetch) + (uri (crate-uri "tar" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1lr6v3cpkfxd2lk5ll2jd8wr1xdskwj35smnh5sfb8xvzzxnn6dk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-filetime" ,rust-filetime) + ("rust-libc" ,rust-libc) + ("rust-redox-syscall" ,rust-redox-syscall) + ("rust-xattr" ,rust-xattr)) + #:cargo-development-inputs + (("rust-tempdir" ,rust-tempdir)) + #:tests? #f)) ; Test archives are not distributed in the crate tarball. + (home-page "https://github.com/alexcrichton/tar-rs") + (synopsis "Tar file reading/writing for Rust") + (description + "This package provides a Rust implementation of a TAR file reader and +writer. This library does not currently handle compression, but it is abstract +over all I/O readers and writers. Additionally, great lengths are taken to +ensure that the entire contents are never required to be entirely resident in +memory all at once.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-tempdir (package (name "rust-tempdir") -- cgit v1.2.3 From fbf37a7bff9a946fa93acf9131b423c2a3a8fbb1 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 18:41:02 +0300 Subject: gnu: Add rust-socket2. * gnu/packages/crates-io.scm (rust-socket2): New variable. --- gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4de42d9de4..2b31ec3c66 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2543,6 +2543,36 @@ words, like Python's shlex.") data type.") (license license:expat))) +(define-public rust-socket2 + (package + (name "rust-socket2") + (version "0.3.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "socket2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "11bdcz04i106g4q7swkll0qxrb4287srqd2k3aq2q6i22zjlvdz8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if) + ("rust-libc" ,rust-libc) + ("rust-redox-syscall" ,rust-redox-syscall) + ("rust-winapi" ,rust-winapi)) + #:cargo-development-inputs + (("rust-tempdir" ,rust-tempdir)) + #:tests? #f)) ; Tests expect network connectivity. + (home-page "https://github.com/alexcrichton/socket2-rs") + (synopsis "Networking sockets in Rust") + (description + "This package provides utilities for handling networking sockets with a +maximal amount of configuration possible intended.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-spin (package (name "rust-spin") -- cgit v1.2.3 From 1241007f16648be578f96db5bc30e623f88cb2f5 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 18:54:40 +0300 Subject: gnu: Add rust-ansi-term. * gnu/packages/crates-io.scm (rust-ansi-term): New variable. --- gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2b31ec3c66..3246b0f83d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -58,6 +58,38 @@ the Rust programming language.") (license (list license:bsd-3 license:zlib)))) +(define-public rust-ansi-term + (package + (name "rust-ansi-term") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ansi_term" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "16wpvrghvd0353584i1idnsgm0r3vchg8fyrm0x8ayv1rgvbljgf")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-winapi" ,rust-winapi)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-tests + ;; https://github.com/ogham/rust-ansi-term/commit/5ff6af6f38790abcb3aafee1239286c10ef69576.patch + (lambda _ + (substitute* "src/debug.rs" + (("^ *Blue") " Blue,") + (("underline: false") "underline: false,")) + #t))))) + (home-page "https://github.com/ogham/rust-ansi-term") + (synopsis "Library for ANSI terminal colours and styles") + (description + "This is a library for controlling colours and formatting, such as red bold +text or blue underlined text, on ANSI terminals.") + (license license:expat))) + (define-public rust-antidote (package (name "rust-antidote") -- cgit v1.2.3 From 5ae8c1fba34d3e770751663ebdab087da91732d9 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 19:00:51 +0300 Subject: gnu: Add rust-miow. * gnu/packages/crates-io.scm (rust-miow): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3246b0f83d..7b0cfd49a8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1529,6 +1529,33 @@ streaming API for miniz_oxide.") (license (list license:asl2.0 license:expat)))) +(define-public rust-miow + (package + (name "rust-miow") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "miow" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "09ljvx6wg30f2xlv7b7hhpkw7k312n3hjgmrbhwzhz9x03ra0sir")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-socket2" ,rust-socket2) + ("rust-winapi" ,rust-winapi)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand)))) + (home-page "https://github.com/alexcrichton/miow") + (synopsis "Rust I/O library for Windows") + (description + "This package provides a zero overhead I/O library for Windows, focusing on +IOCP and Async I/O abstractions.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-modifier (package (name "rust-modifier") -- cgit v1.2.3 From 61322df0191878a49ae2f048793e5e3a57d504cb Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 19:02:28 +0300 Subject: gnu: Add rust-miow-0.2. * gnu/packages/crates-io.scm (rust-miow-0.2): New variable. --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7b0cfd49a8..710b0d6cef 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1556,6 +1556,28 @@ IOCP and Async I/O abstractions.") (license (list license:asl2.0 license:expat)))) +(define-public rust-miow-0.2 + (package + (inherit rust-miow) + (name "rust-miow") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "miow" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "06g9b8sqlh5gxakwqq4rrib07afwanfnxgxajrldwcgk3hxjy7wc")))) + (arguments + `(#:cargo-inputs + (("rust-kernel32-sys" ,rust-kernel32-sys) + ("rust-net2" ,rust-net2) + ("rust-winapi" ,rust-winapi-0.2) + ("rust-ws2-32-sys" ,rust-ws2-32-sys)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.3)))))) + (define-public rust-modifier (package (name "rust-modifier") -- cgit v1.2.3 From 01519b3d9f87790ecf743426d2a8bfed2ae87cb8 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 19:11:22 +0300 Subject: gnu: Add rust-sourcefile. * gnu/packages/crates-io.scm (rust-sourcefile): New variable. --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 710b0d6cef..f2aafa43c9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2654,6 +2654,30 @@ maximal amount of configuration possible intended.") (license (list license:asl2.0 license:expat)))) +(define-public rust-sourcefile + (package + (name "rust-sourcefile") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "sourcefile" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1lwa6973zs4bgj29my7agfjgk4nw9hp6j7dfnr13nid85fw7rxsb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-tempfile" ,rust-tempfile)))) + (home-page "https://github.com/derekdreery/sourcefile-rs") + (synopsis "Concatenate source from multiple files") + (description + "A library for concatenating source from multiple files, whilst keeping +track of where each new file and line starts.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-spin (package (name "rust-spin") -- cgit v1.2.3 From b79eab74a14992ff382e7f40a9fd13de11728bb9 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 19:26:01 +0300 Subject: gnu: Add rust-glob. * gnu/packages/crates-io.scm (rust-glob): New variable. --- gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f2aafa43c9..e6a081d9c3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -931,6 +931,38 @@ archive to be linked into Rustcode.") (license (list license:asl2.0 license:expat)))) +(define-public rust-glob + (package + (name "rust-glob") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "glob" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0x25wfr7vg3mzxc9x05dcphvd3nwlcmbnxrvwcvrrdwplcrrk4cv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-tempdir" ,rust-tempdir)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-tests + ;; This test assumes /root exists but is unreadable by the user. + (lambda _ + (substitute* "src/lib.rs" + (("cfg\\(all\\(unix,.*") "cfg(windows)]\n")) + #t))))) + (home-page "https://github.com/rust-lang-nursery/glob") + (synopsis "Match file paths against Unix shell style patterns") + (description + "This package provides support for matching file paths against Unix +shell style patterns.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-heapsize (package (name "rust-heapsize") -- cgit v1.2.3 From cef7de6fa61761f905876414debca94cadb01e07 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 20:18:31 +0300 Subject: gnu: Add rust-glob-0.2. * gnu/packages/crates-io.scm (rust-glob-0.2): New variable. --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e6a081d9c3..c6aee38fd4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -963,6 +963,31 @@ shell style patterns.") (license (list license:asl2.0 license:expat)))) +(define-public rust-glob-0.2 + (package + (inherit rust-glob) + (name "rust-glob") + (version "0.2.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "glob" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1ysvi72slkw784fcsymgj4308c3y03gwjjzqxp80xdjnkbh8vqcb")))) + (arguments + `(#:cargo-development-inputs + (("rust-tempdir" ,rust-tempdir)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-tests + ;; This test assumes /root exists but is unreadable by the user. + (lambda _ + (substitute* "src/lib.rs" + (("cfg\\(unix") "cfg(windows")) + #t))))))) + (define-public rust-heapsize (package (name "rust-heapsize") -- cgit v1.2.3 From 9a5ee9928a9de0183ed1702160035319fe1d2407 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 20:25:38 +0300 Subject: gnu: Add rust-clang-sys. * gnu/packages/crates-io.scm (rust-clang-sys): New variable. --- gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c6aee38fd4..4722773d50 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -27,6 +27,7 @@ #:use-module (gnu packages compression) #:use-module (gnu packages gcc) #:use-module (gnu packages jemalloc) + #:use-module (gnu packages llvm) #:use-module (gnu packages maths) #:use-module (gnu packages pkg-config)) @@ -349,6 +350,42 @@ depending on a large number of #[cfg] parameters. Structured like an (license (list license:asl2.0 license:expat)))) +(define-public rust-clang-sys + (package + (name "rust-clang-sys") + (version "0.28.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "clang-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ls8zcqi5bmmrvrk3b6r1ym4wlivinbv590d2dvg2xn9f44mbpl1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-glob" ,rust-glob) + ("rust-libc" ,rust-libc) + ("rust-libloading" ,rust-libloading)) + #:cargo-development-inputs + (("rust-glob" ,rust-glob)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'set-environmental-variable + (lambda* (#:key inputs #:allow-other-keys) + (let ((clang (assoc-ref inputs "libclang"))) + (setenv "LIBCLANG_PATH" + (string-append clang "/lib"))) + #t))))) + (inputs + `(("libclang" ,clang))) + (home-page "https://github.com/KyleMayes/clang-sys") + (synopsis "Rust bindings for libclang") + (description + "This package provides Rust bindings for @code{libclang}.") + (license license:asl2.0))) + (define-public rust-clicolors-control (package (name "rust-clicolors-control") -- cgit v1.2.3 From 516b2f1a3b87147daee345a7708b394e87fd29bd Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 20:31:32 +0300 Subject: gnu: Add rust-getopts. * gnu/packages/crates-io.scm (rust-getopts): New variable. --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4722773d50..235767a207 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -968,6 +968,28 @@ archive to be linked into Rustcode.") (license (list license:asl2.0 license:expat)))) +(define-public rust-getopts + (package + (name "rust-getopts") + (version "0.2.17") + (source + (origin + (method url-fetch) + (uri (crate-uri "getopts" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "018yhq97zgcrcxwhj3pxh31h83704sgaiijdnpl0r1ir366c005r")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-log" ,rust-log)))) + (home-page "https://github.com/rust-lang-nursery/getopts") + (synopsis "Rust library for option parsing for CLI utilities") + (description "This library provides getopts-like option parsing.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-glob (package (name "rust-glob") -- cgit v1.2.3 From 4282cbe9b0a0c142477c71369d1aa3cc7a5ea8ff Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 20:37:38 +0300 Subject: gnu: Add rust-semver-parser-0.7. * gnu/packages/crates-io.scm (rust-semver-parser-0.7): New variable. --- gnu/packages/crates-io.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 235767a207..2756a193fa 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2701,6 +2701,20 @@ with one of the implemented strategies.") (license (list license:asl2.0 license:expat)))) +(define-public rust-semver-parser-0.7 + (package + (inherit rust-semver-parser) + (name "rust-semver-parser") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "semver-parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "18vhypw6zgccnrlm5ps1pwa0khz7ry927iznpr88b87cagr1v2iq")))))) + (define-public rust-shlex (package (name "rust-shlex") -- cgit v1.2.3 From 540d830edc910dd85c0d84f922a4d26848c1b35e Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 20:53:02 +0300 Subject: gnu: Add rust-time. * gnu/packages/crates-io.scm (rust-time): New variable. --- gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2756a193fa..ab3513af67 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3191,6 +3191,37 @@ fixed set of worker threads.") (license (list license:asl2.0 license:expat)))) +(define-public rust-time + (package + (name "rust-time") + (version "0.1.39") + (source + (origin + (method url-fetch) + (uri (crate-uri "time" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "161hqx0gw722ikydanpahky447vaxqncwmkj66rny282vzqpalx1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc) + ("rust-redox-syscall" ,rust-redox-syscall) + ("rust-rustc-serialize" ,rust-rustc-serialize) + ("rust-winapi" ,rust-winapi)) + #:cargo-development-inputs + (("rust-log" ,rust-log) + ("rust-winapi" ,rust-winapi)) + #:tests? #f)) ; Tests have difficulty with the timezones. + (home-page "https://github.com/rust-lang-deprecated/time") + (synopsis "Simple time handling in Rust") + (description + "This package provides utilities for working with time-related functions +in Rust.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-tokio-mock-task (package (name "rust-tokio-mock-task") -- cgit v1.2.3 From 41ba4cf1503cc7448aa99813438cc5bdf2c00c1c Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Sep 2019 21:07:24 +0300 Subject: gnu: Add rust-parity-wasm. * gnu/packages/crates-io.scm (rust-parity-wasm): New variable. --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ab3513af67..980ddc5d9e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1968,6 +1968,31 @@ owner with them. This can sometimes be useful because Rust borrowing rules normally prevent moving a type that has been borrowed from.") (license license:expat))) +(define-public rust-parity-wasm + (package + (name "rust-parity-wasm") + (version "0.40.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "parity-wasm" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1p84f0k36q05j18jy66n122lyali794cj78hbxgy9wj6si84plqd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-time" ,rust-time)) + #:tests? #f)) ; Test files are not included in release. + (home-page "https://github.com/paritytech/parity-wasm") + (synopsis "Low-level WebAssembly format library") + (description + "This package provides a WebAssembly binary format serialization, +deserialization, and interpreter in Rust.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-peeking-take-while (package (name "rust-peeking-take-while") -- cgit v1.2.3 From 7cd446fd3f1d3b5dce4800d1daba2fa31a07f1b2 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 5 Sep 2019 23:33:52 +0200 Subject: gnu: Add r-txdb-celegans-ucsc-ce6-ensgene. * gnu/packages/bioconductor.scm (r-txdb-celegans-ucsc-ce6-ensgene): New variable. --- gnu/packages/bioconductor.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm index 3ba5415597..37cd51d16c 100644 --- a/gnu/packages/bioconductor.scm +++ b/gnu/packages/bioconductor.scm @@ -708,6 +708,31 @@ the TxDb object of Mouse data as provided by UCSC (mm10, December 2011) based on the knownGene track.") (license license:artistic2.0))) +(define-public r-txdb-celegans-ucsc-ce6-ensgene + (package + (name "r-txdb-celegans-ucsc-ce6-ensgene") + (version "3.2.2") + (source + (origin + (method url-fetch) + (uri (bioconductor-uri "TxDb.Celegans.UCSC.ce6.ensGene" + version 'annotation)) + (sha256 + (base32 + "1sgppva33cdy4isj2is8mfalj5gmmkpbkq9w1d83a4agcq31mi90")))) + (properties + `((upstream-name . "TxDb.Celegans.UCSC.ce6.ensGene"))) + (build-system r-build-system) + (propagated-inputs + `(("r-annotationdbi" ,r-annotationdbi) + ("r-genomicfeatures" ,r-genomicfeatures))) + (home-page "https://bioconductor.org/packages/TxDb.Celegans.UCSC.ce6.ensGene/") + (synopsis "Annotation package for C elegans TxDb objects") + (description + "This package exposes a C elegans annotation database generated from UCSC +by exposing these as TxDb objects.") + (license license:artistic2.0))) + (define-public r-fdb-infiniummethylation-hg19 (package (name "r-fdb-infiniummethylation-hg19") -- cgit v1.2.3 From 8205534569cb2a09d53b7c925a349cd7f4e3599d Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 6 Sep 2019 15:00:16 +0200 Subject: gnu: Add samblaster. * gnu/packages/bioinformatics.scm (samblaster): New variable. --- gnu/packages/bioinformatics.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index f98f10a2c3..cf2dc57fa7 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -15232,3 +15232,37 @@ indels (insertions and deletions), MNPs (multi-nucleotide polymorphisms), and complex events (composite insertion and substitution events) smaller than the length of a short-read sequencing alignment.") (license license:expat)))) + +(define-public samblaster + (package + (name "samblaster") + (version "0.1.24") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/GregoryFaust/samblaster.git") + (commit (string-append "v." version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0iv2ddfw8363vb2x8gr3p8g88whb6mb9m0pf71i2cqsbv6jghap7")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; there are none + #:phases + (modify-phases %standard-phases + (delete 'configure) ; There is no configure phase. + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (install-file "samblaster" + (string-append (assoc-ref outputs "out") "/bin")) + #t))))) + (home-page "https://github.com/GregoryFaust/samblaster") + (synopsis "Mark duplicates in paired-end SAM files") + (description "Samblaster is a fast and flexible program for marking +duplicates in read-id grouped paired-end SAM files. It can also optionally +output discordant read pairs and/or split read mappings to separate SAM files, +and/or unmapped/clipped reads to a separate FASTQ file. When marking +duplicates, samblaster will require approximately 20MB of memory per 1M read +pairs.") + (license license:expat))) -- cgit v1.2.3 From cae531275819178d7103562ec86dedfd053136a7 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Fri, 6 Sep 2019 17:25:03 +0300 Subject: gnu: crates-io.scm: Fix several home-pages. * gnu/packages/crates-io.scm (rust-constant-time-eq, rust-fixedbitset, rust-futures, rust-pico-sys, rust-pkg-config, rust-quick-error, rust-remove-dir-all, rust-spin, rust-tempdir, rust-traitobject, rust-void)[home-page]: Update to correct home-page. --- gnu/packages/crates-io.scm | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 980ddc5d9e..e138b93e9b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -501,7 +501,7 @@ need compiler-rt intrinsics.") (base32 "083icpr9xb72rrdxw3p4068dcspn6ai22jy7rhl2a8grfz448nlr")))) (build-system cargo-build-system) - (home-page "https://crates.io/crates/constant_time_eq") + (home-page "https://github.com/cesarb/constant_time_eq") (synopsis "Compares two equal-sized byte strings in constant time") (description @@ -733,7 +733,7 @@ cross platform API.") (base32 "0czam11mi80dbyhf4rd4lz0ihcf7vkfchrdcrn45wbs0h40dxm46")))) (build-system cargo-build-system) - (home-page "https://github.com/bluss/fixedbitset") + (home-page "https://github.com/petgraph/fixedbitset") (synopsis "FixedBitSet is a simple bitset collection") (description "FixedBitSet is a simple bitset collection.") (license (list license:asl2.0 @@ -900,7 +900,7 @@ featuring zero allocations, composability, and iterator-like interfaces.") `(#:cargo-inputs (("rust-futures" ,rust-futures) ("rust-num-cpus" ,rust-num-cpus)))) - (home-page "https://github.com/alexcrichton/futures-rs") + (home-page "https://github.com/rust-lang-nursery/futures-rs") (synopsis "Implementation of thread pools which hand out futures") (description "An implementation of thread pools which hand out futures to the results of @@ -2074,7 +2074,7 @@ algorithm.") `(#:cargo-inputs (("rust-gcc" ,rust-gcc) ("rust-libc" ,rust-libc)))) - (home-page "https://github.com/reem/rust-pico-sys.git") + (home-page "https://github.com/reem/rust-pico-sys") (synopsis "Bindings to the PicoHTTPParser") (description "This package provides bindings to the PicoHTTPParser.") @@ -2117,7 +2117,7 @@ algorithm.") (("rust-lazy-static" ,rust-lazy-static)))) (inputs `(("pkg-config" ,pkg-config))) - (home-page "https://github.com/alexcrichton/pkg-config-rs") + (home-page "https://github.com/rust-lang/pkg-config-rs") (synopsis "Library to run the pkg-config system tool") (description "A library to run the pkg-config system tool at build time in order to be @@ -2246,7 +2246,7 @@ in terms of the upstream unstable API.") (base32 "1w6kgwwv7p7zr0yyg5rb315lkk24bimywklwx7fsvsbwi10bjx4j")))) (build-system cargo-build-system) - (home-page "http://github.com/tailhook/quick-error") + (home-page "https://github.com/tailhook/quick-error") (synopsis "Macro which makes error types pleasant to write") (description "This crate provides a macro which makes error types pleasant to write.") @@ -2409,7 +2409,7 @@ system calls.") ;; The test phase expects there to be a README.md in the root directory. (lambda _ (invoke "touch" "README.md")))))) - (home-page "https://github.com/XAMPPRocky/remove_dir_all.git") + (home-page "https://github.com/XAMPPRocky/remove_dir_all") (synopsis "Implementation of remove_dir_all for Windows") (description "This package provides a safe, reliable implementation of @@ -2846,7 +2846,7 @@ track of where each new file and line starts.") (base32 "0m9clchsj0rf13bggsgvbv9haiy0f6rhvnvkpvkk8720a5pkydj4")))) (build-system cargo-build-system) - (home-page "https://github.com/mvdnes/spin-rs.git") + (home-page "https://github.com/mvdnes/spin-rs") (synopsis "Synchronization primitives based on spinning") (description "This crate provides synchronization primitives based on spinning. They may contain data, are usable without @code{std},and static @@ -3060,8 +3060,7 @@ memory all at once.") `(#:cargo-inputs (("rust-rand" ,rust-rand) ("rust-remove-dir-all" ,rust-remove-dir-all)))) - (home-page - "https://github.com/rust-lang/tempdir") + (home-page "https://github.com/rust-lang-deprecated/tempdir") (synopsis "Temporary directory management for Rust") (description "This package provides a library for managing a temporary directory and @@ -3303,7 +3302,7 @@ in Rust.") (base32 "0yb0n8822mr59j200fyr2fxgzzgqljyxflx9y8bdy3rlaqngilgg")))) (build-system cargo-build-system) - (home-page "https://github.com/reem/rust-traitobject.git") + (home-page "https://github.com/reem/rust-traitobject") (synopsis "Unsafe helpers for dealing with raw trait objects") (description "Unsafe helpers for dealing with raw trait objects.") (license (list license:asl2.0 @@ -3672,7 +3671,7 @@ If that fails, no determination is made, and calls return None.") (base32 "0zc8f0ksxvmhvgx4fdg0zyn6vdnbxd2xv9hfx4nhzg6kbs4f80ka")))) (build-system cargo-build-system) - (home-page "https://github.com/reem/rust-void.git") + (home-page "https://github.com/reem/rust-void") (synopsis "Void type for use in statically impossible cases") (description "The uninhabited void type for use in statically impossible cases.") -- cgit v1.2.3 From ccbd1648f461c15e79f73384ebeaccd6cdbd877b Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 6 Sep 2019 17:33:34 +0200 Subject: gnu: exim: Update to 4.92.2 [fixes CVE-2019-15846]. * gnu/packages/mail.scm (exim): Update to 4.92.2. --- gnu/packages/mail.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 30ce5cd70c..fdbb082fdc 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1197,7 +1197,7 @@ delivery.") (define-public exim (package (name "exim") - (version "4.92.1") + (version "4.92.2") (source (origin (method url-fetch) @@ -1206,7 +1206,7 @@ delivery.") (string-append "https://ftp.exim.org/pub/exim/exim4/old/exim-" version ".tar.bz2"))) (sha256 - (base32 "132zmxgzz35xwi89g3crw6hd3y74rxj5zcpamakvrnlcn256amdp")))) + (base32 "1xnc5rdcg5mcrvjqp506a9frmcr89jwsh4c5vbks46awyz1rfzsm")))) (build-system gnu-build-system) (inputs `(("bdb" ,bdb-5.3) ; ‘#error Version 6 and later BDB API is not supported’ -- cgit v1.2.3 From 7fc41e6e6607bcf78db707d0c698d371985a6efe Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 6 Sep 2019 23:29:07 +0200 Subject: gnu: Add emacs-poet-theme. * gnu/packages/emacs-xyz.scm (emacs-poet-theme): New variable. --- gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 0ca1af9d05..afb55cb902 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -4493,6 +4493,32 @@ variants.") package provides a light and a dark variant.") (license license:gpl3+))) +(define-public emacs-poet-theme + (let ((commit "d84f7b259cc9b6ff8d442cf4c38bd6c7065ff8f4") + (revision "0")) + (package + (name "emacs-poet-theme") + (version (git-version "0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/kunalb/poet.git") + (commit commit))) + (sha256 + (base32 + "0a84jdaj619mb59a46dmkk2sfs42rylqk9ryl1drgs8d3lia79mz")))) + (build-system emacs-build-system) + (home-page "https://github.com/kunalb/poet/") + (synopsis "Emacs theme for prose") + (description + "Emacs has very good support for multiple fonts in a single file. Poet +uses this support to make it much more convenient to write prose within Emacs, +with particular attention paid to @code{org-mode} and @code{markdown-mode}. +Code blocks, tables, etc are formatted in monospace text with the appropriate +backgrounds.") + (license license:expat)))) + (define-public emacs-ahungry-theme (package (name "emacs-ahungry-theme") -- cgit v1.2.3 From 61acb764eddb303ef5836c3b5a4bb9b6c718d4ff Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 5 Sep 2019 23:04:37 +0200 Subject: gnu: ecl-net.didierverna.asdf-flv: Fix variable name. Fixes a typo in 0403d01f01c22ddd552dd5a0cfb97b0e8e58da9e. * gnu/packages/lisp.scm (ecl-net.didierverna.asdf-flv): New name of the second occurrence of 'ecl-alexandria'. --- gnu/packages/lisp.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index caf52018d1..65fc1a58cd 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -760,7 +760,7 @@ In order to make one or several variables file-local, use the macros (define-public cl-net.didierverna.asdf-flv (sbcl-package->cl-source-package sbcl-net.didierverna.asdf-flv)) -(define-public ecl-alexandria +(define-public ecl-net.didierverna.asdf-flv (sbcl-package->ecl-package sbcl-net.didierverna.asdf-flv)) (define-public sbcl-fiveam -- cgit v1.2.3 From 4961364f1681ea5c3fc7a988b4f48db448338cb8 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 6 Sep 2019 22:58:26 +0200 Subject: gnu: qtwebkit: Disable non-x86 builds. * gnu/packages/qt.scm (qtwebkit)[supported-systems]: New field. --- gnu/packages/qt.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 52eb46cce0..165b8fd7b4 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -2212,6 +2212,12 @@ time Web content can be enhanced with native controls.") ;; Building QtWebKit takes around 13 hours on an AArch64 machine. Give some ;; room for slower or busy hardware. (properties '((timeout . 64800))) ;18 hours + + ;; XXX: This consumes too much RAM to successfully build on AArch64 (e.g., + ;; SoftIron OverDrive with 8 GiB of RAM), so instead of wasting resources, + ;; disable it on non-Intel platforms. + (supported-systems '("x86_64-linux" "i686-linux")) + (license license:lgpl2.1+))) (define-public dotherside -- cgit v1.2.3 From f8c143a7131d6f40f387f4cd2ad1fa78b5e2f429 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 6 Sep 2019 22:59:32 +0200 Subject: doc: Highlight Scheme syntax in the HTML output. * doc/build.scm (syntax-highlighted-html): New procedure. (html-manual): Use it. --- doc/build.scm | 115 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 114 insertions(+), 1 deletion(-) diff --git a/doc/build.scm b/doc/build.scm index 7ba9f57bc9..c99bd505fd 100644 --- a/doc/build.scm +++ b/doc/build.scm @@ -34,6 +34,7 @@ (gnu packages gawk) (gnu packages gettext) (gnu packages guile) + (gnu packages guile-xyz) (gnu packages iso-codes) (gnu packages texinfo) (gnu packages tex) @@ -164,6 +165,115 @@ as well as images, OS examples, and translations." ;; Options passed to 'makeinfo --html'. '("--css-ref=https://www.gnu.org/software/gnulib/manual.css")) +(define* (syntax-highlighted-html input + #:key + (name "highlighted-syntax") + (syntax-css-url + "/static/base/css/code.css")) + "Return a derivation called NAME that processes all the HTML files in INPUT +to (1) add them a link to SYNTAX-CSS-URL, and (2) highlight the syntax of all +its
 blocks (as produced by 'makeinfo --html')."
+  (define build
+    (with-extensions (list guile-lib guile-syntax-highlight)
+      (with-imported-modules '((guix build utils))
+        #~(begin
+            (use-modules (htmlprag)
+                         (syntax-highlight)
+                         (syntax-highlight scheme)
+                         (syntax-highlight lexers)
+                         (guix build utils)
+                         (ice-9 match)
+                         (ice-9 threads))
+
+            (define entity->string
+              (match-lambda
+                ("rArr"   "⇒")
+                ("hellip" "…")
+                ("rsquo"  "’")
+                (e (pk 'unknown-entity e) (primitive-exit 2))))
+
+            (define (concatenate-snippets pieces)
+              ;; Concatenate PIECES, which contains strings and entities,
+              ;; replacing entities with their corresponding string.
+              (let loop ((pieces pieces)
+                         (strings '()))
+                (match pieces
+                  (()
+                   (string-concatenate-reverse strings))
+                  (((? string? str) . rest)
+                   (loop rest (cons str strings)))
+                  ((('*ENTITY* "additional" entity) . rest)
+                   (loop rest (cons (entity->string entity) strings)))
+                  ((('span _ lst ...) . rest)     ;for 
+                   (loop (append lst rest) strings))
+                  (something
+                   (pk 'unsupported-code-snippet something)
+                   (primitive-exit 1)))))
+
+            (define (syntax-highlight sxml)
+              ;; Recurse over SXML and syntax-highlight code snippets.
+              (match sxml
+                (('*TOP* decl body ...)
+                 `(*TOP* ,decl ,@(map syntax-highlight body)))
+                (('head things ...)
+                 `(head ,@things
+                        (link (@ (rel "stylesheet")
+                                 (type "text/css")
+                                 (href #$syntax-css-url)))))
+                (('pre ('@ ('class "lisp")) code-snippet ...)
+                 `(pre (@ (class "lisp"))
+                       ,(highlights->sxml
+                         (highlight lex-scheme
+                                    (concatenate-snippets code-snippet)))))
+                ((tag ('@ attributes ...) body ...)
+                 `(,tag (@ ,@attributes) ,@(map syntax-highlight body)))
+                ((tag body ...)
+                 `(,tag ,@(map syntax-highlight body)))
+                ((? string? str)
+                 str)))
+
+            (define (process-html file)
+              ;; Parse FILE and perform syntax highlighting for its Scheme
+              ;; snippets.  Install the result to #$output.
+              (format (current-error-port) "processing ~a...~%" file)
+              (let* ((shtml        (call-with-input-file file html->shtml))
+                     (highlighted  (syntax-highlight shtml))
+                     (base         (string-drop file (string-length #$input)))
+                     (target       (string-append #$output base)))
+                (mkdir-p (dirname target))
+                (call-with-output-file target
+                  (lambda (port)
+                    (write-shtml-as-html highlighted port)))))
+
+            (define (copy-as-is file)
+              ;; Copy FILE as is to #$output.
+              (let* ((base   (string-drop file (string-length #$input)))
+                     (target (string-append #$output base)))
+                (mkdir-p (dirname target))
+                (catch 'system-error
+                  (lambda ()
+                    (if (eq? 'symlink (stat:type (lstat file)))
+                        (symlink (readlink file) target)
+                        (link file target)))
+                  (lambda args
+                    (let ((errno (system-error-errno args)))
+                      (pk 'error-link file target (strerror errno))
+                      (primitive-exit 3))))))
+
+            ;; Install a UTF-8 locale so we can process UTF-8 files.
+            (setenv "GUIX_LOCPATH"
+                    #+(file-append glibc-utf8-locales "/lib/locale"))
+            (setlocale LC_ALL "en_US.utf8")
+
+            (n-par-for-each (parallel-job-count)
+                            (lambda (file)
+                              (if (string-suffix? ".html" file)
+                                  (process-html file)
+                                  (copy-as-is file)))
+                            (find-files #$input))))))
+
+  (computed-file name build))
+
 (define* (html-manual source #:key (languages %languages)
                       (version "0.0")
                       (manual "guix")
@@ -242,7 +352,10 @@ makeinfo OPTIONS."
                                                 "/html_node/images"))))
                     '#$languages))))
 
-  (computed-file (string-append manual "-html-manual") build))
+  (let* ((name   (string-append manual "-html-manual"))
+         (manual (computed-file name build)))
+    (syntax-highlighted-html manual
+                             #:name (string-append name "-highlighted"))))
 
 (define* (pdf-manual source #:key (languages %languages)
                      (version "0.0")
-- 
cgit v1.2.3


From 2c10c4182c6acabd4ba49ad113e48f2c050aa341 Mon Sep 17 00:00:00 2001
From: L p R n d n 
Date: Sun, 18 Aug 2019 22:00:20 +0200
Subject: gnu: xfconf: Add support for gobject-introspection.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* gnu/packages/xfce.scm (xfconf): Add gobject-introspection to native-inputs.

Signed-off-by: Ludovic Courtès 
---
 gnu/packages/xfce.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 6bd47233cb..19bf642b6a 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -140,8 +140,8 @@ Xfce Desktop Environment.")
     (native-inputs
      `(("pkg-config" ,pkg-config)
        ("intltool" ,intltool)
-       ("glib:bin" ,glib "bin")         ;; for gdbus-codegen
-       ))
+       ("glib:bin" ,glib "bin") ;; for gdbus-codegen
+       ("gobject-introspection" ,gobject-introspection)))
     (propagated-inputs
      ;; libxfconf-0.pc refers to all these.
      `(("glib" ,glib)))
-- 
cgit v1.2.3


From dbfd5a1380cb8b2e2596a6669d2ae36703ea75fe Mon Sep 17 00:00:00 2001
From: L p R n d n 
Date: Sun, 18 Aug 2019 22:10:46 +0200
Subject: gnu: xfconf: Add vala support.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* gnu/packages/xfce.scm (xfconf): Add vala to native-inputs.

Signed-off-by: Ludovic Courtès 
---
 gnu/packages/xfce.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 19bf642b6a..d4b32b335c 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -141,7 +141,8 @@ Xfce Desktop Environment.")
      `(("pkg-config" ,pkg-config)
        ("intltool" ,intltool)
        ("glib:bin" ,glib "bin") ;; for gdbus-codegen
-       ("gobject-introspection" ,gobject-introspection)))
+       ("gobject-introspection" ,gobject-introspection)
+       ("vala" ,vala)))
     (propagated-inputs
      ;; libxfconf-0.pc refers to all these.
      `(("glib" ,glib)))
-- 
cgit v1.2.3


From 279b5730d41720868e4e9b93e1bf2338936bfaa7 Mon Sep 17 00:00:00 2001
From: L p R n d n 
Date: Mon, 2 Sep 2019 16:04:52 +0200
Subject: gnu: xfconf: Fix tests.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* gnu/packages/xfce.scm (xfconf)[arguments]: Rename check phase to
  custom-check.
  [native-inputs]: Add dbus.

Signed-off-by: Ludovic Courtès 
---
 gnu/packages/xfce.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index d4b32b335c..045f14f768 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -127,7 +127,7 @@ Xfce Desktop Environment.")
      '(#:phases
        ;; Run check after install phase to test dbus activation.
        (modify-phases %standard-phases
-         (add-after 'install 'check
+         (add-after 'install 'custom-check
            (lambda _
              (setenv "HOME" (getenv "TMPDIR")) ; xfconfd requires a writable HOME
              ;; Run test-suite under a dbus session.
@@ -142,7 +142,8 @@ Xfce Desktop Environment.")
        ("intltool" ,intltool)
        ("glib:bin" ,glib "bin") ;; for gdbus-codegen
        ("gobject-introspection" ,gobject-introspection)
-       ("vala" ,vala)))
+       ("vala" ,vala)
+       ("dbus" ,dbus)))
     (propagated-inputs
      ;; libxfconf-0.pc refers to all these.
      `(("glib" ,glib)))
-- 
cgit v1.2.3


From 48af9356722007707f001889cc217042a1933b55 Mon Sep 17 00:00:00 2001
From: L p R n d n 
Date: Sun, 18 Aug 2019 22:35:07 +0200
Subject: gnu: libxfce4ui: Add gobject-introspection support.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* gnu/packages/xfce.scm (libxfce4ui): Add gobject-introspection to native-inputs.

Signed-off-by: Ludovic Courtès 
---
 gnu/packages/xfce.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 045f14f768..05606f5ba9 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -171,7 +171,8 @@ storage system.")
     (build-system gnu-build-system)
     (native-inputs
      `(("pkg-config" ,pkg-config)
-       ("intltool" ,intltool)))
+       ("intltool" ,intltool)
+       ("gobject-introspection" ,gobject-introspection)))
     (propagated-inputs
      `(("gtk+-3" ,gtk+)    ; required by libxfce4ui-2.pc
        ;; libxfce4kbd-private-2.pc refers to all these.
-- 
cgit v1.2.3


From 64200f01973e3eb0b9b5a49c7ac24bf5f75aa1b1 Mon Sep 17 00:00:00 2001
From: L p R n d n 
Date: Sun, 18 Aug 2019 22:36:55 +0200
Subject: gnu: libxfce4ui: Add vendor.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* gnu/packages/xfce.scm (libxfce4ui)[arguments]: Add #:configure-flags.

Signed-off-by: Ludovic Courtès 
---
 gnu/packages/xfce.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 05606f5ba9..512ca35fe9 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -169,6 +169,9 @@ storage system.")
                (base32
                 "1npjhznmnckhnylsv3l7p1zvhckhmp9d7vifs8w12kdfmrg0fjf4"))))
     (build-system gnu-build-system)
+    (arguments
+     `(#:configure-flags
+       (list "--with-vendor-info=GNU Guix")))
     (native-inputs
      `(("pkg-config" ,pkg-config)
        ("intltool" ,intltool)
-- 
cgit v1.2.3


From 8cc5d3dc4d3c66d19d14b65f75afbfe4a695b6af Mon Sep 17 00:00:00 2001
From: L p R n d n 
Date: Mon, 2 Sep 2019 16:06:59 +0200
Subject: gnu: xfce4-panel: Fix tzdata path.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* gnu/packages/xfce.scm (xfce4-panel)[inputs]: Add tzdata.
[arguments] Add Fix-tzdata-path phase.

Signed-off-by: Ludovic Courtès 
---
 gnu/packages/xfce.scm | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 512ca35fe9..0487c24b68 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -37,6 +37,7 @@
   #:use-module (guix build-system trivial)
   #:use-module (gnu artwork)
   #:use-module (gnu packages)
+  #:use-module (gnu packages base)
   #:use-module (gnu packages calendar)
   #:use-module (gnu packages cdrom)
   #:use-module (gnu packages pkg-config)
@@ -309,6 +310,15 @@ management D-Bus specification.")
                 "1x3flv86jh9vqah7mr5mmfx2991mc6icsqjygsc3j88lgsyz7y6m"))
               (patches (search-patches "xfce4-panel-plugins.patch"))))
     (build-system gnu-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-tzdata-path
+           (lambda* (#:key inputs #:allow-other-keys)
+             (substitute* (string-append "plugins/clock/clock.c")
+               (("/usr/share/zoneinfo")
+                (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo")))
+             #t)))))
     (native-inputs
      `(("pkg-config" ,pkg-config)
        ("intltool" ,intltool)
@@ -317,7 +327,8 @@ management D-Bus specification.")
      `(("gtk+-3" ,gtk+)                 ; required by libxfce4panel-2.0.pc
        ("libxfce4util" ,libxfce4util))) ; required by libxfce4panel-2.0.pc
     (inputs
-     `(("exo" ,exo)
+     `(("tzdata" ,tzdata) ;; For fix-tzdata-path phase only.
+       ("exo" ,exo)
        ("gtk+-2" ,gtk+-2)
        ("xfconf" ,xfconf)
        ("garcon" ,garcon)
-- 
cgit v1.2.3


From a35f153d54a2e571c88386424c7846b2d4b59689 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus 
Date: Sat, 7 Sep 2019 00:42:16 +0200
Subject: gnu: python-scipy: Update to 1.3.1.

* gnu/packages/python-xyz.scm (python-scipy): Update to 1.3.1.
(python2-scipy): Keep at version 1.2.2.
---
 gnu/packages/python-xyz.scm | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d5fcc5668c..2827ddf770 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4033,14 +4033,14 @@ operators such as union, intersection, and difference.")
 (define-public python-scipy
   (package
     (name "python-scipy")
-    (version "1.2.2")
+    (version "1.3.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "scipy" version))
        (sha256
         (base32
-         "1cgvgin8fvckv96hjh3ikmwkra5rif51bdb75ifzf7xbil5iwcx4"))))
+         "1df113c9i6vazsn6y3n9wc22jh737z1g7dmx3mypkdwpdnscyhr6"))))
     (build-system python-build-system)
     (propagated-inputs
      `(("python-numpy" ,python-numpy)
@@ -4136,9 +4136,19 @@ routines such as routines for numerical integration and optimization.")
     (properties `((python2-variant . ,(delay python2-scipy))))
     (license license:bsd-3)))
 
+;; Version 1.2.2 is the last version to support Python 2
 (define-public python2-scipy
-  (package-with-python2
-   (strip-python2-variant python-scipy)))
+  (package
+    (inherit (package-with-python2
+              (strip-python2-variant python-scipy)))
+    (version "1.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "scipy" version))
+       (sha256
+        (base32
+         "1cgvgin8fvckv96hjh3ikmwkra5rif51bdb75ifzf7xbil5iwcx4"))))))
 
 (define-public python-socksipy-branch
   (package
-- 
cgit v1.2.3


From 3fe53f49a718468bc086fa7d41740505d407e3ba Mon Sep 17 00:00:00 2001
From: Mark H Weaver 
Date: Fri, 6 Sep 2019 19:35:08 -0400
Subject: Revert "services: Add ‘/usr/bin/env’ special file."
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This reverts commit 3b38bf141a464e1bb370af7d2b2651d1efb29781.

The Guix project discussed this years ago and decided against including
/usr/bin/env.  That decision should not be reversed without a wider
discussion.
---
 gnu/services/base.scm | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 97c53eeaf3..dcb7278f0f 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -8,7 +8,6 @@
 ;;; Copyright © 2016 Ricardo Wurmus 
 ;;; Copyright © 2018 Mathieu Othacehe 
 ;;; Copyright © 2019 Efraim Flashner 
-;;; Copyright © 2019 Tobias Geerinckx-Rice 
 ;;; Copyright © 2019 John Soo 
 ;;;
 ;;; This file is part of GNU Guix.
@@ -42,9 +41,9 @@
   #:use-module (gnu packages admin)
   #:use-module ((gnu packages linux)
                 #:select (alsa-utils crda eudev e2fsprogs fuse gpm kbd lvm2 rng-tools))
-  #:use-module (gnu packages bash)
   #:use-module ((gnu packages base)
-                #:select (canonical-package coreutils glibc glibc-utf8-locales))
+                #:select (canonical-package glibc glibc-utf8-locales))
+  #:use-module (gnu packages bash)
   #:use-module (gnu packages package-management)
   #:use-module ((gnu packages gnupg) #:select (guile-gcrypt))
   #:use-module (gnu packages linux)
@@ -2426,8 +2425,6 @@ to handle."
 
         (service special-files-service-type
                  `(("/bin/sh" ,(file-append (canonical-package bash)
-                                            "/bin/sh"))
-                   ("/usr/bin/env" ,(file-append (canonical-package coreutils)
-                                                 "/usr/bin/env"))))))
+                                            "/bin/sh"))))))
 
 ;;; base.scm ends here
-- 
cgit v1.2.3


From be0fb599e7f09af5dfe39aba2718cddb3b98b05d Mon Sep 17 00:00:00 2001
From: Mark H Weaver 
Date: Fri, 6 Sep 2019 20:38:06 -0400
Subject: gnu: linux-libre@4.4: Update to 4.4.191.

* gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.191.
(linux-libre-4.4-pristine-source): Update hash.
---
 gnu/packages/linux.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 6c4ab22135..08089a9d5c 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -382,10 +382,10 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS."
                              (%upstream-linux-source version hash)
                              deblob-scripts-4.9)))
 
-(define-public linux-libre-4.4-version "4.4.190")
+(define-public linux-libre-4.4-version "4.4.191")
 (define-public linux-libre-4.4-pristine-source
   (let ((version linux-libre-4.4-version)
-        (hash (base32 "1rf28cjrrmj7mm8xqlfld6k20ddk15j4mmyarqibjx9pk9acij7y")))
+        (hash (base32 "0x3lnq4xyj5v6r1cz4jizm4vdspws1nb806f5qczwi3yil5nm6bh")))
     (make-linux-libre-source version
                              (%upstream-linux-source version hash)
                              deblob-scripts-4.4)))
-- 
cgit v1.2.3


From 67ad69b7682d63e892344d9a6d23e7eed0d96358 Mon Sep 17 00:00:00 2001
From: Mark H Weaver 
Date: Fri, 6 Sep 2019 20:39:13 -0400
Subject: gnu: linux-libre@4.9: Update to 4.9.191.

* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.191.
(linux-libre-4.9-pristine-source): Update hash.
---
 gnu/packages/linux.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 08089a9d5c..b44502b5e6 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -374,10 +374,10 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS."
                              (%upstream-linux-source version hash)
                              deblob-scripts-4.14)))
 
-(define-public linux-libre-4.9-version "4.9.190")
+(define-public linux-libre-4.9-version "4.9.191")
 (define-public linux-libre-4.9-pristine-source
   (let ((version linux-libre-4.9-version)
-        (hash (base32 "05ha3snfk0vdqk9i27icwpq2if0h2jvshavn69ldwqm4h2h1r2py")))
+        (hash (base32 "1g5p736p8zx5rmxaj56yw93jp768npl868jsn8973dny0rsbim6y")))
     (make-linux-libre-source version
                              (%upstream-linux-source version hash)
                              deblob-scripts-4.9)))
-- 
cgit v1.2.3


From d45f5c40a2434da93280b4a0a6c530bd200149be Mon Sep 17 00:00:00 2001
From: Mark H Weaver 
Date: Fri, 6 Sep 2019 20:40:18 -0400
Subject: gnu: linux-libre@4.14: Update to 4.14.142.

* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.142.
(linux-libre-4.14-pristine-source): Update hash.
---
 gnu/packages/linux.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index b44502b5e6..053c778871 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -366,10 +366,10 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS."
                              (%upstream-linux-source version hash)
                              deblob-scripts-4.19)))
 
-(define-public linux-libre-4.14-version "4.14.141")
+(define-public linux-libre-4.14-version "4.14.142")
 (define-public linux-libre-4.14-pristine-source
   (let ((version linux-libre-4.14-version)
-        (hash (base32 "05rs411rw10hhnfzvaxmcik3pq20i1i05shvvra4bv164f0z1f8b")))
+        (hash (base32 "1wwhnm1n1b6yzsd2zzzf9i3n4hlvgnph70p67cwahw0ik4ssayz6")))
     (make-linux-libre-source version
                              (%upstream-linux-source version hash)
                              deblob-scripts-4.14)))
-- 
cgit v1.2.3


From a6ec7eba26dc75204b5f6f52b92df46520bf8c30 Mon Sep 17 00:00:00 2001
From: Mark H Weaver 
Date: Fri, 6 Sep 2019 20:41:23 -0400
Subject: gnu: linux-libre@4.14: Update to 4.19.71.

* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.71.
(linux-libre-4.19-pristine-source): Update hash.
---
 gnu/packages/linux.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 053c778871..42d1bc7c20 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -358,10 +358,10 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS."
                             (%upstream-linux-source version hash)
                             deblob-scripts-5.2)))
 
-(define-public linux-libre-4.19-version "4.19.69")
+(define-public linux-libre-4.19-version "4.19.71")
 (define-public linux-libre-4.19-pristine-source
   (let ((version linux-libre-4.19-version)
-        (hash (base32 "11yrw8ixd5ni9rlpndqsz2ihx6k8qaf35a1lf164lkhaa85pd4f0")))
+        (hash (base32 "1bjwkb7k82l646ryyy0jbwsnygm2qsxgcwli8bdrj844skzynlqz")))
     (make-linux-libre-source version
                              (%upstream-linux-source version hash)
                              deblob-scripts-4.19)))
-- 
cgit v1.2.3


From f66aee3d0d2f573187ed5d44ae7c13d73cd4097a Mon Sep 17 00:00:00 2001
From: Mark H Weaver 
Date: Fri, 6 Sep 2019 20:42:05 -0400
Subject: gnu: linux-libre: Update to 5.2.13.

* gnu/packages/linux.scm (linux-libre-5.2-version): Update to 5.2.13.
(linux-libre-5.2-pristine-source): Update hash.
---
 gnu/packages/linux.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 42d1bc7c20..270e2e5dcc 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -350,10 +350,10 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS."
                         "linux-" version ".tar.xz"))
     (sha256 hash)))
 
-(define-public linux-libre-5.2-version "5.2.11")
+(define-public linux-libre-5.2-version "5.2.13")
 (define-public linux-libre-5.2-pristine-source
   (let ((version linux-libre-5.2-version)
-        (hash (base32 "1y9kn1zny3xpmbi5an3g7hbzywnycys8chfaw6laij1xk4gq6ahc")))
+        (hash (base32 "12hpph3iynr22mfwz7745lp01waf2kg579hr56d4pvhx4iahzdhp")))
    (make-linux-libre-source version
                             (%upstream-linux-source version hash)
                             deblob-scripts-5.2)))
-- 
cgit v1.2.3