diff --git a/doc/guix.texi b/doc/guix.texi index bdff4004d0..2f7ab61aec 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -950,9 +950,11 @@ version 3.0.3 or later; @item @url{https://notabug.org/cwebber/guile-gcrypt, Guile-Gcrypt}, version 0.1.0 or later; @item -@uref{https://gnutls.org/, GnuTLS}, specifically its Guile bindings -(@pxref{Guile Preparations, how to install the GnuTLS bindings for -Guile,, gnutls-guile, GnuTLS-Guile}); +@uref{https://gitlab.com/gnutls/guile/, Guile-GnuTLS} (@pxref{Guile +Preparations, how to install the GnuTLS bindings for Guile,, +gnutls-guile, GnuTLS-Guile})@footnote{The Guile bindings to +@uref{https://gnutls.org/, GnuTLS} were distributed as part of GnuTLS +until version 3.7.8 included.}; @item @uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, version 0.1.0 or later; @@ -4645,7 +4647,7 @@ but it supports the following options: @itemx --branch=@var{branch} Download code for the @code{guix} channel from the specified @var{url}, at the given @var{commit} (a valid Git commit ID represented as a hexadecimal -string), or @var{branch}. +string or the name of a tag), or @var{branch}. @cindex @file{channels.scm}, configuration file @cindex configuration file for channels @@ -4797,6 +4799,25 @@ of Guix to be used is defined by a commit or by a channel description file created by @command{guix describe} (@pxref{Invoking guix describe}). +Let's assume that you want to travel to those days of November 2020 when +version 1.2.0 of Guix was released and, once you're there, run the +@command{guile} of that time: + +@example +guix time-machine --commit=v1.2.0 -- \ + environment -C --ad-hoc guile -- guile +@end example + +The command above fetches Guix@tie{}1.2.0 and runs its @command{guix +environment} command to spawn an environment in a container running +@command{guile} (@command{guix environment} has since been subsumed by +@command{guix shell}; @pxref{Invoking guix shell}). It's like driving a +DeLorean@footnote{If you don't know what a DeLorean is, consider +traveling back to the 1980's.}! The first @command{guix time-machine} +invocation can be expensive: it may have to download or even build a +large number of packages; the result is cached though and subsequent +commands targeting the same commit are almost instantaneous. + The general syntax is: @example @@ -4813,7 +4834,7 @@ this revision are the same as for @command{guix pull} (@pxref{Invoking guix pull @itemx --branch=@var{branch} Use the @code{guix} channel from the specified @var{url}, at the given @var{commit} (a valid Git commit ID represented as a hexadecimal -string), or @var{branch}. +string or the name of a tag), or @var{branch}. @item --channels=@var{file} @itemx -C @var{file} @@ -16525,6 +16546,7 @@ This is a list of symbols denoting mount flags. Recognized flags include @code{read-only}, @code{bind-mount}, @code{no-dev} (disallow access to special files), @code{no-suid} (ignore setuid and setgid bits), @code{no-atime} (do not update file access times), +@code{no-diratime} (likewise for directories only), @code{strict-atime} (update file access time), @code{lazy-time} (only update time on the in-memory version of the file inode), @code{no-exec} (disallow program execution), and @code{shared} (make the @@ -21627,7 +21649,7 @@ The name of the icon theme to use. The name of the cursor theme to use. @item @code{cursor-theme-size} (default: @code{16}) (type: number) -The size to use for the the cursor theme. +The size to use for the cursor theme. @item @code{allow-debugging?} (type: maybe-boolean) Set to #t to enable debug log level. @@ -22962,7 +22984,7 @@ Enable polling the kernel for battery level changes. Ignore the lid state, this can be useful if it's incorrect on a device. @item @code{use-percentage-for-policy?} (default: @code{#t}) -Whether a to use a policy based on battery percentage rather than on +Whether to use a policy based on battery percentage rather than on estimated time left. A policy based on battery percentage is usually more reliable. @@ -26752,7 +26774,7 @@ When left unspecified, the value from the account archive prevails. Whether peer discovery should be enabled. Peer discovery is used to discover other OpenDHT nodes on the local network, which can be useful to maintain communication between devices on such network even when the -connection to the the Internet has been lost. When left unspecified, +connection to the Internet has been lost. When left unspecified, the value from the account archive prevails. @item @code{bootstrap-hostnames} (type: maybe-string-list) @@ -30989,7 +31011,7 @@ can run on headless servers. The Xvnc implementations provided by the The @code{xvnc-server-type} service can be configured via the @code{xvnc-configuration} record, documented below. A second virtual -display could be made available on a remote machine for via the +display could be made available on a remote machine via the following configuration: @end defvar @@ -30998,7 +31020,7 @@ following configuration: @end lisp As a demonstration, the @command{xclock} command could then be started -on the remote machine on display number 10, and it could be display +on the remote machine on display number 10, and it could be displayed locally via the @command{vncviewer} command: @example # Start xclock on the remote machine. @@ -31421,6 +31443,24 @@ the file does not exist. The authorized peers on this interface. This is a list of @var{wireguard-peer} records. +@item @code{pre-up} (default: @code{'()}) +The script commands to be run before setting up the interface. + +@item @code{post-up} (default: @code{'()}) +The script commands to be run after setting up the interface. + +@item @code{pre-down} (default: @code{'()}) +The script commands to be run before tearing down the interface. + +@item @code{post-down} (default: @code{'()}) +The script commands to be run after tearing down the interface. + +@item @code{table} (default: @code{"auto"}) +The routing table to which routes are added, as a string. There are two +special values: @code{"off"} that disables the creation of routes +altogether, and @code{"auto"} (the default) that adds routes to the +default table and enables special handling of default routes. + @end table @end deftp @@ -35578,7 +35618,21 @@ Data type representing the configuration for @code{gitolite-service-type}. @table @asis @item @code{package} (default: @var{gitolite}) -Gitolite package to use. +Gitolite package to use. There are optional Gitolite dependencies that +are not included in the default package, such as Redis and git-annex. +These features can be made available by using the @code{make-gitolite} +procedure in the @code{(gnu packages version-control}) module to produce +a variant of Gitolite with the desired additional dependencies. + +The following code returns a package in which the Redis and git-annex +programs can be invoked by Gitolite's scripts: + +@example +(use-modules (gnu packages databases) + (gnu packages haskell-apps) + (gnu packages version-control)) +(make-gitolite (list redis git-annex)) +@end example @item @code{user} (default: @var{git}) User to use for Gitolite. This will be user that you use when accessing diff --git a/etc/guix-install.sh b/etc/guix-install.sh index 3604c71ed6..c8ef59d4a4 100755 --- a/etc/guix-install.sh +++ b/etc/guix-install.sh @@ -3,7 +3,7 @@ # Copyright © 2017 sharlatan # Copyright © 2018 Ricardo Wurmus # Copyright © 2018 Efraim Flashner -# Copyright © 2019, 2020 Tobias Geerinckx-Rice +# Copyright © 2019–2020, 2022 Tobias Geerinckx-Rice # Copyright © 2020 Morgan Smith # Copyright © 2020 Simon Tournier # Copyright © 2020 Daniel Brooks @@ -33,7 +33,7 @@ then exec bash "$0" "$@" fi -set -e +set -eo pipefail [ "$UID" -eq 0 ] || { echo "This script must be run as root."; exit 1; } @@ -137,21 +137,27 @@ chk_gpg_keyring() gpg_key_id=${GPG_SIGNING_KEYS[$user_id]} # Without --dry-run this command will create a ~/.gnupg owned by root on # systems where gpg has never been used, causing errors and confusion. - if ! gpg --dry-run --list-keys "$gpg_key_id" >/dev/null 2>&1; then - if prompt_yes_no "${INF}The following OpenPGP public key is \ + if gpg --dry-run --list-keys "$gpg_key_id" >/dev/null 2>&1; then + continue + fi + if prompt_yes_no "${INF}The following OpenPGP public key is \ required to verify the Guix binary signature: $gpg_key_id. Would you like me to fetch it for you?"; then - wget "https://sv.gnu.org/people/viewgpg.php?user_id=$user_id" \ - --no-verbose -O- | gpg --import - - else - _err "${ERR}Missing OpenPGP public key ($gpg_key_id). + # Use a reasonable time-out here so users don't report silent + # ‘freezes’ when Savannah goes out to lunch, as has happened. + if wget "https://sv.gnu.org/people/viewgpg.php?user_id=$user_id" \ + --timeout=30 --no-verbose -O- | gpg --import -; then + continue + fi + fi + # If we reach this point, the key is (still) missing. Report further + # missing keys, if any, but then abort the installation. + _err "${ERR}Missing OpenPGP public key ($gpg_key_id). Fetch it with this command: wget \"https://sv.gnu.org/people/viewgpg.php?user_id=$user_id\" -O - | \ sudo -i gpg --import -" - exit_flag=yes - fi - fi + exit_flag=yes done if [ "$exit_flag" = yes ]; then exit 1 @@ -575,6 +581,7 @@ fi welcome() { + local char cat<<"EOF" ░░░ ░░░ ░░▒▒░░░░░░░░░ ░░░░░░░░░▒▒░░ @@ -600,8 +607,15 @@ This script installs GNU Guix on your system https://www.gnu.org/software/guix/ EOF - echo -n "Press return to continue..." - read -r + # Don't use ‘read -p’ here! It won't display when run non-interactively. + echo -n "Press return to continue..."$'\r' + read -r char + if [ "$char" ]; then + echo + echo "...that ($char) was not a return!" + _msg "${WAR}Use newlines to automate installation, e.g.: yes '' | ${0##*/}" + _msg "${WAR}Any other method is unsupported and likely to break in future." + fi } main() diff --git a/etc/news.scm b/etc/news.scm index 7973f96f26..d9ffa036a2 100644 --- a/etc/news.scm +++ b/etc/news.scm @@ -30,7 +30,8 @@ (title (en "New @option{--emulate-fhs} option for @command{guix shell}") (de "Neue Option @option{--emulate-fhs} für @command{guix shell}") - (fr "Nouvelle option @option{--emulate-fhs} pour @command{guix shell}")) + (fr "Nouvelle option @option{--emulate-fhs} pour @command{guix shell}") + (pt "Nova opção @option{--emulate-fhs} para o @command{guix shell}")) (body (en "The @command{guix shell} command has a new @option{--emulate-fhs} (or @option{-F}) option. Combined with @@ -76,7 +77,22 @@ guix shell -CF coreutils -- /bin/ls @end example Lancer @command{info \"(guix.fr) Invoquer guix shell\"} pour plus -d'informations."))) +d'informations.") + (pt "O comando @command{guix shell} tem uma nova opção +@option{--emulate-fhs} (ou @option{-F}). Combinada com +@option{--container} (ou @option{-C}), ela emula o layout de arquivos e +diretórios especificado pelo Padrão de Hierarquia do Sistema de +Arquivos (Filesystem Hierarchy Standard — FHS), provendo @file{/bin}, +@file{/lib}, etc. dentro do contêiner. + +Por exemplo, o comando seguinte executa @file{/bin/ls} dentro de um contêiner +desse tipo: + +@example +guix shell -CF coreutils -- /bin/ls +@end example + +Execute @command{info \"(guix) Invoking guix shell\"} para mais informações."))) (entry (commit "28ade1bab207974cce6a014e7187968511fc5526") (title diff --git a/etc/release-manifest.scm b/etc/release-manifest.scm index e2be7f0eee..8ce8b7fce6 100644 --- a/etc/release-manifest.scm +++ b/etc/release-manifest.scm @@ -51,12 +51,11 @@ TARGET." "openssh" "emacs" "vim" "python" "guile" "guix"))) (define %base-packages/armhf - ;; XXX: Relax requirements for armhf-linux for lack of enough build power. - (map (lambda (package) - (if (string=? (package-name package) "emacs") - (specification->package "emacs-no-x") - package)) - %base-packages)) + ;; The guix package doesn't build natively on armhf due to Guile memory + ;; issues compiling the package modules + (remove (lambda (package) + (string=? (package-name package) "guix")) + %base-packages)) (define %base-packages/hurd ;; XXX: For now we are less demanding of "i586-gnu". @@ -112,8 +111,6 @@ TARGET." (cond ((string=? system "i586-gnu") %base-packages/hurd) ((string=? system "armhf-linux") - ;; FIXME: Drop special case when ci.guix.gnu.org - ;; has more ARMv7 build power. %base-packages/armhf) ((string=? system "powerpc64le-linux") ;; FIXME: Drop 'bootstrap-tarballs' until diff --git a/etc/snippets/tempel/text-mode b/etc/snippets/tempel/text-mode index 364c21266d..fd0e95eaa6 100644 --- a/etc/snippets/tempel/text-mode +++ b/etc/snippets/tempel/text-mode @@ -12,7 +12,8 @@ text-mode :when (and (fboundp 'git-commit-mode) (git-commit-mode)) (match-string-no-properties 1))) var) "." n n - "* " (car (magit-staged-files)) " (" (s var ) "): New variable.") + "* " (p (or (car (magit-staged-files)) "")) + " (" (s var ) "): New variable.") (remove\ "gnu: Remove " (p (with-temp-buffer @@ -24,7 +25,8 @@ text-mode :when (and (fboundp 'git-commit-mode) (git-commit-mode)) (match-string-no-properties 1))) var) "." n n - "* " (car (magit-staged-files)) " (" (s var) "): Delete variable.") + "* " (p (or (car (magit-staged-files)) "")) + " (" (s var) "): Delete variable.") (rename\ "gnu: " (p (with-temp-buffer @@ -43,7 +45,7 @@ text-mode :when (and (fboundp 'git-commit-mode) (git-commit-mode)) (thing-at-point 'sexp 'no-properties))) new-var) "." n n - "* " (car (magit-staged-files)) " (" (s prev-var) "): " + "* " (p (or (car (magit-staged-files)) "")) " (" (s prev-var) "): " "Define in terms of" n "'deprecated-package'." n "(" (s new-var) "): New variable, formerly known as \"" @@ -74,7 +76,7 @@ text-mode :when (and (fboundp 'git-commit-mode) (git-commit-mode)) (buffer-substring-no-properties (point) (- end 2)))))) version) "." n n - "* " (car (magit-staged-files)) " (" (s var) "): " + "* " (p (or (car (magit-staged-files)) "")) " (" (s var) "): " "Update to " (s version) "." n (mapconcat (lambda (file) (concat "* " file)) (cdr (magit-staged-files)) @@ -92,7 +94,7 @@ text-mode :when (and (fboundp 'git-commit-mode) (git-commit-mode)) (thing-at-point 'sexp 'no-properties))))) var) "." n n - "* " (car (magit-staged-files)) + "* " (p (or (car (magit-staged-files)) "")) " (cl-" (s var) ", ecl-" (s var) ", sbcl-" (s var) "): New variables.") @@ -107,7 +109,8 @@ text-mode :when (and (fboundp 'git-commit-mode) (git-commit-mode)) (match-string-no-properties 1))) var) ": Use HTTPS home page." n n - "* " (car (magit-staged-files)) " (" (s var) ")[home-page]: Use HTTPS." + "* " (p (or (car (magit-staged-files)) "")) + " (" (s var) ")[home-page]: Use HTTPS." n (mapconcat (lambda (file) (concat "* " file)) (cdr (magit-staged-files)) diff --git a/gnu/build/file-systems.scm b/gnu/build/file-systems.scm index 0ed5dc5671..0d7ff99f17 100644 --- a/gnu/build/file-systems.scm +++ b/gnu/build/file-systems.scm @@ -1132,6 +1132,8 @@ corresponds to the symbols listed in FLAGS." (logior MS_NOEXEC (loop rest))) (('no-atime rest ...) (logior MS_NOATIME (loop rest))) + (('no-diratime rest ...) + (logior MS_NODIRATIME (loop rest))) (('strict-atime rest ...) (logior MS_STRICTATIME (loop rest))) (('lazy-time rest ...) diff --git a/gnu/ci.scm b/gnu/ci.scm index e1ba0f6100..5159205325 100644 --- a/gnu/ci.scm +++ b/gnu/ci.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2012-2021 Ludovic Courtès +;;; Copyright © 2012-2022 Ludovic Courtès ;;; Copyright © 2017, 2020 Jan (janneke) Nieuwenhuizen ;;; Copyright © 2018, 2019 Clément Lassieur ;;; Copyright © 2020 Julien Lepiller @@ -25,7 +25,6 @@ #:use-module (guix config) #:autoload (guix describe) (package-channels) #:use-module (guix store) - #:use-module (guix grafts) #:use-module (guix profiles) #:use-module (guix packages) #:autoload (guix transformations) (tunable-package? tuned-package) diff --git a/gnu/home/services/desktop.scm b/gnu/home/services/desktop.scm index e94e666d93..1ebfb14f3c 100644 --- a/gnu/home/services/desktop.scm +++ b/gnu/home/services/desktop.scm @@ -201,7 +201,8 @@ according to time of day."))) (format #f "/run/user/~a" (getuid))))) #:environment-variables - '(list "DBUS_VERBOSE=1") + (cons "DBUS_VERBOSE=1" + (default-environment-variables)) #:log-file (format #f "~a/dbus.log" (or (getenv "XDG_LOG_HOME") diff --git a/gnu/installer/final.scm b/gnu/installer/final.scm index 3f6dacc490..044f79372b 100644 --- a/gnu/installer/final.scm +++ b/gnu/installer/final.scm @@ -211,7 +211,7 @@ or #f. Return #t on success and #f on failure." (setenv "PATH" "/run/current-system/profile/bin/") - (set! ret (run-command install-command))) + (set! ret (run-command install-command #:tty? #t))) (lambda () ;; Restart guix-daemon so that it does no keep the MNT namespace ;; alive. diff --git a/gnu/installer/newt.scm b/gnu/installer/newt.scm index 1db78e6f0d..0bd0856219 100644 --- a/gnu/installer/newt.scm +++ b/gnu/installer/newt.scm @@ -62,6 +62,9 @@ (clear-screen)) (define (exit-error error) + ;; Newt may be suspended in the context of the "install-system" + ;; procedure. Resume it unconditionnally. + (newt-resume) (newt-set-color COLORSET-ROOT "white" "red") (define action (run-textbox-page diff --git a/gnu/installer/newt/final.scm b/gnu/installer/newt/final.scm index 7c3f73ee82..6e55be5067 100644 --- a/gnu/installer/newt/final.scm +++ b/gnu/installer/newt/final.scm @@ -80,16 +80,21 @@ press the button to reboot."))) (define (run-install-failed-page) (match (current-clients) (() - (match (choice-window + (match (ternary-window (G_ "Installation failed") (G_ "Resume") (G_ "Restart the installer") + (G_ "Report the failure") (G_ "The final system installation step failed. You can resume from \ a specific step, or restart the installer.")) (1 (abort-to-prompt 'installer-step 'abort)) (2 ;; Keep going, the installer will be restarted later on. - #t))) + #t) + (3 (raise + (condition + (&message + (message "User abort."))))))) (_ (send-to-clients '(installation-failure)) #t))) diff --git a/gnu/installer/newt/network.scm b/gnu/installer/newt/network.scm index 0477a489be..ba26fc7c76 100644 --- a/gnu/installer/newt/network.scm +++ b/gnu/installer/newt/network.scm @@ -115,6 +115,11 @@ network devices were found. Do you want to continue anyway?")) (define (wait-service-online) "Display a newt scale until connman detects an Internet access. Do FULL-VALUE tentatives, spaced by 1 second." + (define (url-alive? url) + (false-if-exception + (= (response-code (http-request url)) + 200))) + (define (ci-available?) (dynamic-wind (lambda () @@ -122,10 +127,8 @@ FULL-VALUE tentatives, spaced by 1 second." (lambda _ #f)) (alarm 3)) (lambda () - (false-if-exception - (= (response-code - (http-request "https://ci.guix.gnu.org")) - 200))) + (or (url-alive? "https://ci.guix.gnu.org") + (url-alive? "https://bordeaux.guix.gnu.org"))) (lambda () (alarm 0)))) diff --git a/gnu/installer/newt/partition.scm b/gnu/installer/newt/partition.scm index 86607a8380..37656696c1 100644 --- a/gnu/installer/newt/partition.scm +++ b/gnu/installer/newt/partition.scm @@ -108,7 +108,7 @@ all data on disk will be lost, are you sure you want to proceed?") item) "Run a page asking the user to select a partition table label." ;; Force the GPT label if UEFI is supported. (if (efi-installation?) - "gpt" + ((run-label-confirmation-page button-callback) "gpt") (run-listbox-selection-page #:info-text (G_ "Select a new partition table type. \ Be careful, all data on the disk will be lost.") diff --git a/gnu/installer/newt/substitutes.scm b/gnu/installer/newt/substitutes.scm index 938cb1a53b..7599d450b6 100644 --- a/gnu/installer/newt/substitutes.scm +++ b/gnu/installer/newt/substitutes.scm @@ -28,7 +28,7 @@ (match (current-clients) (() (case (choice-window - (G_ "Substitute server discovery.") + (G_ "Substitute server discovery") (G_ "Enable") (G_ "Disable") (G_ " By turning this option on, you allow Guix to fetch \ substitutes (pre-built binaries) during installation from servers \ diff --git a/gnu/installer/newt/welcome.scm b/gnu/installer/newt/welcome.scm index 7a7ddfb7bd..0bca44d1b2 100644 --- a/gnu/installer/newt/welcome.scm +++ b/gnu/installer/newt/welcome.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2018 Mathieu Othacehe ;;; Copyright © 2020 Ludovic Courtès +;;; Copyright © 2022 Florian Pelz ;;; ;;; This file is part of GNU Guix. ;;; @@ -17,6 +18,8 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu installer newt welcome) + #:use-module ((gnu build linux-modules) + #:select (modules-loaded)) #:use-module (gnu installer steps) #:use-module (gnu installer utils) #:use-module (gnu installer newt page) @@ -121,30 +124,38 @@ we want this page to occupy all the screen space available." "Run a welcome page with the given textual LOGO displayed at the center of the page. Ask the user to choose between manual installation, graphical installation and reboot." - (run-menu-page - (G_ "GNU Guix install") - (G_ "Welcome to GNU Guix system installer! + (begin + (when (member "uvesafb" (modules-loaded)) + (run-error-page (G_ "\ +This may be a false alarm, but possibly your graphics hardware does not +work well with only free software. Expect trouble. If after installation, +the system does not boot, perhaps you will need to add nomodeset to the +kernel arguments and need to configure the uvesafb kernel module.") + (G_ "Pre-install warning"))) + (run-menu-page + (G_ "GNU Guix install") + (G_ "Welcome to GNU Guix system installer! You will be guided through a graphical installation program. If you are familiar with GNU/Linux and you want tight control over \ the installation process, you can instead choose manual installation. \ Documentation is accessible at any time by pressing Ctrl-Alt-F2.") - logo - #:listbox-items - `((,(G_ "Graphical install using a terminal based interface") - . - ,(const #t)) - (,(G_ "Install using the shell based process") - . - ,(lambda () - ;; Switch to TTY3, where a root shell is available for shell based - ;; install. The other root TTY's would have been ok too. - (system* "chvt" "3") - (run-welcome-page logo))) - (,(G_ "Reboot") - . - ,(lambda () - (newt-finish) - (reboot)))) - #:listbox-item->text car)) + logo + #:listbox-items + `((,(G_ "Graphical install using a terminal based interface") + . + ,(const #t)) + (,(G_ "Install using the shell based process") + . + ,(lambda () + ;; Switch to TTY3, where a root shell is available for shell based + ;; install. The other root TTY's would have been ok too. + (system* "chvt" "3") + (run-welcome-page logo))) + (,(G_ "Reboot") + . + ,(lambda () + (newt-finish) + (reboot)))) + #:listbox-item->text car))) diff --git a/gnu/installer/utils.scm b/gnu/installer/utils.scm index 5fd2e2d425..061493e6a7 100644 --- a/gnu/installer/utils.scm +++ b/gnu/installer/utils.scm @@ -20,6 +20,7 @@ (define-module (gnu installer utils) #:use-module (gnu services herd) #:use-module (guix utils) + #:use-module ((guix build syscalls) #:select (openpty login-tty)) #:use-module (guix build utils) #:use-module (guix i18n) #:use-module (srfi srfi-1) @@ -45,6 +46,7 @@ nearest-exact-integer read-percentage run-external-command-with-handler + run-external-command-with-handler/tty run-external-command-with-line-hooks run-command run-command-in-installer @@ -124,10 +126,37 @@ the child process as returned by waitpid." (close-port input) (close-pipe dummy-pipe))) -(define (run-external-command-with-line-hooks line-hooks command) +(define (run-external-command-with-handler/tty handler command) + "Run command specified by the list COMMAND in a child operating in a +pseudoterminal with output handler HANDLER. HANDLER is a procedure taking an +input port, to which the command will write its standard output and error. +Returns the integer status value of the child process as returned by waitpid." + (define-values (controller inferior) + (openpty)) + + (match (primitive-fork) + (0 + (catch #t + (lambda () + (close-fdes controller) + (login-tty inferior) + (apply execlp (car command) command)) + (lambda _ + (primitive-exit 127)))) + (pid + (close-fdes inferior) + (let* ((port (fdopen controller "r0")) + (result (false-if-exception + (handler port)))) + (close-port port) + (cdr (waitpid pid)))))) + +(define* (run-external-command-with-line-hooks line-hooks command + #:key (tty? #false)) "Run command specified by the list COMMAND in a child, processing each -output line with the procedures in LINE-HOOKS. Returns the integer status -value of the child process as returned by waitpid." +output line with the procedures in LINE-HOOKS. If TTY is set to #true, the +COMMAND will be run in a pseudoterminal. Returns the integer status value of +the child process as returned by waitpid." (define (handler input) (and (and=> (get-line input) @@ -136,14 +165,17 @@ value of the child process as returned by waitpid." #f (begin (for-each (lambda (f) (f line)) (append line-hooks - %default-installer-line-hooks)) + %default-installer-line-hooks)) #t)))) (handler input))) - (run-external-command-with-handler handler command)) + (if tty? + (run-external-command-with-handler/tty handler command) + (run-external-command-with-handler handler command))) -(define* (run-command command) +(define* (run-command command #:key (tty? #f)) "Run COMMAND, a list of strings. Return true if COMMAND exited -successfully, #f otherwise." +successfully, #f otherwise. If TTY is set to #true, the COMMAND will be run +in a pseudoterminal." (define (pause) (format #t (G_ "Press Enter to continue.~%")) (send-to-clients '(pause)) @@ -154,8 +186,8 @@ successfully, #f otherwise." (installer-log-line "running command ~s" command) (define result (run-external-command-with-line-hooks - (list %display-line-hook) - command)) + (list %display-line-hook) command + #:tty? tty?)) (define exit-val (status:exit-val result)) (define term-sig (status:term-sig result)) (define stop-sig (status:stop-sig result)) diff --git a/gnu/local.mk b/gnu/local.mk index c721718301..df15508c5c 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1194,7 +1194,6 @@ dist_patch_DATA = \ %D%/packages/patches/ghostscript-no-header-id.patch \ %D%/packages/patches/ghostscript-no-header-uuid.patch \ %D%/packages/patches/ghostscript-no-header-creationdate.patch \ - %D%/packages/patches/giac-pari-gp-anyarg.patch \ %D%/packages/patches/giara-fix-login.patch \ %D%/packages/patches/glib-appinfo-watch.patch \ %D%/packages/patches/glib-networking-gnutls-binding.patch \ @@ -1814,7 +1813,6 @@ dist_patch_DATA = \ %D%/packages/patches/rust-nettle-disable-vendor.patch \ %D%/packages/patches/rust-nettle-sys-disable-vendor.patch \ %D%/packages/patches/rust-openssl-sys-no-vendor.patch \ - %D%/packages/patches/rust-shell2batch-lint-fix.patch \ %D%/packages/patches/rust-wl-clipboard-rs-newer-wl.patch \ %D%/packages/patches/sbc-fix-build-non-x86.patch \ %D%/packages/patches/sbcl-aserve-add-HTML-5-elements.patch \ diff --git a/gnu/machine/ssh.scm b/gnu/machine/ssh.scm index 60d127340a..1230b1ec0d 100644 --- a/gnu/machine/ssh.scm +++ b/gnu/machine/ssh.scm @@ -466,7 +466,7 @@ environment type of 'managed-host." (machine-configuration machine)) (unless (file-exists? %public-key-file) (raise (formatted-message (G_ "no signing key '~a'. \ -have you run 'guix archive --generate-key?'") +Have you run 'guix archive --generate-key'?") %public-key-file))) (remote-authorize-signing-key (call-with-input-file %public-key-file (lambda (port) diff --git a/gnu/packages/accessibility.scm b/gnu/packages/accessibility.scm index 499d79b8c8..f9750256b6 100644 --- a/gnu/packages/accessibility.scm +++ b/gnu/packages/accessibility.scm @@ -339,7 +339,7 @@ assistant for graphic designers, who need to select individual pixels.") (synopsis "Bridge for espeak and speakup") (description "Espeakup is a bridge between the speakup driver implemented in -the Linux kernel and the espeak-ng text to speach synthesizer. +the Linux kernel and the espeak-ng text to speech synthesizer. In order for this package to work, you need to have the following kernel modules built: @itemize @bullet diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 13d582403b..4539e92a8c 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -54,6 +54,7 @@ ;;; Copyright © 2022 Petr Hodina ;;; Copyright © 2022 Andreas Rammhold ;;; Copyright © 2022 ( +;;; Copyright © 2022 Matthew James Kraai ;;; ;;; This file is part of GNU Guix. ;;; @@ -3211,13 +3212,13 @@ platform-specific methods.") (package (name "audit") (home-page "https://people.redhat.com/sgrubb/audit/") - (version "3.0.8") + (version "3.0.9") (source (origin (method url-fetch) (uri (string-append home-page "audit-" version ".tar.gz")) (sha256 (base32 - "04w9m9ffvi58z11i344wa1hji9ba68cdklrkizhiwf39mnwxkx5m")))) + "0y5w8pl91xapi49ih1pw7h48lac201cj7fm89hkklmzi9m2715gx")))) (build-system gnu-build-system) (arguments `(#:configure-flags (list "--with-python=no" @@ -5596,3 +5597,52 @@ mechanisms if you really want to protect services.") several hosts in succession or in parallel. It can also be used to copy a file or files to several hosts.") (license license:gpl3+))) + +(define-public doctl + (package + (name "doctl") + (version "1.84.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/digitalocean/doctl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1jmqvz1rdqrsr4l0bv3ik1jla0xnbdvcmnw9892acvfs3wsmliyc")))) + (build-system go-build-system) + (arguments + (list #:import-path "github.com/digitalocean/doctl/cmd/doctl" + #:unpack-path "github.com/digitalocean/doctl" + #:go go-1.19 + #:build-flags + #~(list (string-append "-ldflags=-X github.com/digitalocean/doctl.Label=release" + " -X github.com/digitalocean/doctl.Major=" + (car (string-split #$version #\.)) + " -X github.com/digitalocean/doctl.Minor=" + (cadr (string-split #$version #\.)) + " -X github.com/digitalocean/doctl.Patch=" + (caddr (string-split #$version #\.)))) + #:install-source? #f + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'install-completions + (lambda _ + (define (install-completion shell file) + (let ((file (string-append #$output file))) + (mkdir-p (dirname file)) + (with-output-to-file file + (lambda _ + (invoke (string-append #$output "/bin/doctl") + "completion" shell))))) + (install-completion "bash" "/etc/bash_completion.d/doctl") + (install-completion "fish" + "/etc/fish/completions/doctl.fish") + (install-completion "zsh" + "/etc/zsh/site-functions/_doctl")))))) + (home-page "https://github.com/digitalocean/doctl") + (synopsis "Command line client for DigitalOcean") + (description + "@code{doctl} provides a unified command line interface to the DigitalOcean API.") + (license license:asl2.0))) diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index d4b7810308..a11586d775 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -327,7 +327,7 @@ precision.") (define-public giac (package (name "giac") - (version "1.9.0-21") + (version "1.9.0-25") (source (origin (method url-fetch) @@ -339,12 +339,7 @@ precision.") "~parisse/debian/dists/stable/main/source/" "giac_" version ".tar.gz")) (sha256 - (base32 "1zh7bf0ag4vbyyj5n8lbvy2ivp0kshms40ra5lq1ff035rpx230j")) - (patches - ;; Patch borrowed from Sage math team. Giac 1.9.0-21 does not build - ;; since Pari-GP 2.15 upgrade. Reported upstream here: - ;; . - (search-patches "giac-pari-gp-anyarg.patch")))) + (base32 "0wcb3yy0lgk8mkzay4jmk7w6hgpz454diz32q52zxl1n27gc2jd4")))) (build-system gnu-build-system) (arguments (list diff --git a/gnu/packages/animation.scm b/gnu/packages/animation.scm index a1932b5f06..c029671b7e 100644 --- a/gnu/packages/animation.scm +++ b/gnu/packages/animation.scm @@ -559,7 +559,7 @@ stacking and changing parameters in SWFs. @item @command{swfstrings} Scans SWFs for text data. @item -@command{swfdump} Prints out various informations about SWFs. +@command{swfdump} Prints out various information about SWFs. @item @command{jpeg2swf} Takes one or more JPEG pictures and generates a SWF diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index aaa9207e0e..dd27f4e530 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -518,7 +518,7 @@ astronomical image-processing packages like Drizzle, Swarp or SExtractor.") (define-public gnuastro (package (name "gnuastro") - (version "0.18") + (version "0.19") (source (origin (method url-fetch) @@ -526,7 +526,7 @@ astronomical image-processing packages like Drizzle, Swarp or SExtractor.") version ".tar.lz")) (sha256 (base32 - "1y9ig2kkwiwl0rmp9ip9n83fyjjpg2cc2pxzvdzr8rysq5az357y")))) + "192q3i4zlfmwfcchlf9lnpfgys9dssh7npr5qx0gzn3d2fri0xbz")))) (build-system gnu-build-system) (arguments '(#:configure-flags '("--disable-static"))) @@ -879,13 +879,13 @@ accurately in real time at any rate desired.") (define-public python-astropy (package (name "python-astropy") - (version "5.0.1") + (version "5.1") (source (origin (method url-fetch) (uri (pypi-uri "astropy" version)) (sha256 - (base32 "09wh589ywjsgjvi76v2d2zqd9sri0461rrnml0b0pah5lbkcv0k3")) + (base32 "0zkv3ddzlxx21i796azfbqxrqnsxn83vsczscv577iyzxp3v5c8x")) (modules '((guix build utils))) (snippet '(begin @@ -948,7 +948,7 @@ accurately in real time at any rate desired.") python-ipython python-jplephem python-objgraph - python-pytest + python-pytest-7.1 python-pytest-astropy python-pytest-xdist python-setuptools-scm @@ -974,13 +974,13 @@ astronomy and astrophysics.") (define-public python-astropy-healpix (package (name "python-astropy-healpix") - (version "0.6") + (version "0.7") (source (origin (method url-fetch) - (uri (pypi-uri "astropy-healpix" version)) + (uri (pypi-uri "astropy_healpix" version)) (sha256 - (base32 "1436ml03xkmvx4afzbhfj67ab91418sz1w3lq1b18r43qchnd6j0")))) + (base32 "1n1svmd41iv944zf4anbnsigd47zr4dfjf49vrc7m6928gmq9hw8")))) (build-system python-build-system) (arguments `(#:phases @@ -1125,13 +1125,13 @@ of dates.") (define-public python-photutils (package (name "python-photutils") - (version "1.3.0") + (version "1.5.0") (source (origin (method url-fetch) (uri (pypi-uri "photutils" version)) (sha256 - (base32 "1a8djakaya6w5iv9237gkcz39brqzgrfs2wqrl0izi1s85cfdymn")))) + (base32 "129n268wnziprrv09f7y6f98cj1vh1bzp7ygsna10h3ilnjplkq1")))) (build-system python-build-system) (arguments `(#:test-target "pytest" @@ -1192,13 +1192,13 @@ Virtual observatory (VO) using Python.") (define-public python-regions (package (name "python-regions") - (version "0.5") + (version "0.6") (source (origin (method url-fetch) (uri (pypi-uri "regions" version)) (sha256 - (base32 "1bjrcjchbw3xw1a26d5g198lh7vxpp9m5sal58r7f8mmr1d8g2dc")))) + (base32 "0p95bxxw4dgd16rh1yj7zvfbijk52dqvqj20nj6q8kr5ms08acl0")))) (build-system python-build-system) (arguments `(#:test-target "pytest" diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index f57c22240a..94325ccb72 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -236,7 +236,7 @@ promoting the market for advanced audio.") ("openal" ,openal))) (synopsis "Software Synthesizer") (description "WildMIDI is a simple software midi player which has a core -softsynth library that can be use with other applications.") +softsynth library that can be used with other applications.") (home-page "https://www.mindwerks.net/projects/wildmidi/") (license (list @@ -475,31 +475,6 @@ by MusicIP.") (home-page "https://code.google.com/archive/p/musicip-libofa/") (license license:gpl2+))) -(define-public faac - (package - (name "faac") - (version "1.30") - (source - (origin - (method url-fetch) - (uri - (string-append "mirror://sourceforge/faac/faac-src" - "/faac-" version "/faac-1_30.tar.gz")) - (sha256 - (base32 "1lmj0dib3mjp84jhxc5ddvydkzzhb0gfrdh3ikcidjlcb378ghxd")))) - (build-system gnu-build-system) - (native-inputs - (list autoconf automake libtool pkg-config)) - (synopsis "Freeware Advanced Audio Coder") - (description "FAAC is an MPEG-4 and MPEG-2 AAC encoder.") - (home-page "https://www.audiocoding.com/faac.html") - (license - (list - ;; ISO MPEG-4 reference code. - license:gpl2+ - ;; Others. - license:lgpl2.0+)))) - (define-public libtimidity (package (name "libtimidity") @@ -1126,6 +1101,39 @@ guitar amplification and a small range of classic effects, signal processors and generators of mostly elementary and occasionally exotic nature.") (license license:gpl3+))) +(define-public iir + (package + (name "iir") + (version "1.9.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/berndporr/iir1") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0wbh804as740kjvmyaqx4rwvwwrbwh0fnj979dvv1ljlx1p50bk0")))) + (build-system cmake-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'delete-static-library + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (delete-file (string-append out "/lib/libiir_static.a")))))))) + (home-page "https://berndporr.github.io/iir1/") + (synopsis + "Real-time C++ @acronym{IIR, infinite impulse response} filter library") + (description + "This C++ library implements the Butterworth, RBJ, and Chebychev +@acronym{IIR, infinite impulse response} filters. Samples are processed one by +one, in real time. It can easily import coefficients generated with Python +(@code{scipy}). It also avoids memory leaks by allocating memory at compile +time, using templates, instead of calling @code{malloc()} or @code{new}.") + (license license:expat))) + (define-public infamous-plugins (package (name "infamous-plugins") @@ -3093,19 +3101,23 @@ different audio devices such as ALSA or PulseAudio.") (define-public qjackctl (package (name "qjackctl") - (version "0.9.7") + (version "0.9.8") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/qjackctl/qjackctl/" version "/qjackctl-" version ".tar.gz")) (sha256 (base32 - "104hfvr15v8cbkzil8slrqj48y3fl7lx060alj80q1sjh5hl6j2j")))) + "1rvxgxd7bbv7yazcpw3ily0jlra8ms5c0kkf7cybgivahw59zk87")))) (build-system cmake-build-system) (arguments '(#:tests? #f)) ; no check target (inputs - (list jack-1 alsa-lib portaudio qtbase-5 qtx11extras)) + (list alsa-lib + jack-1 + portaudio + qtbase-5 + qtsvg-5)) (native-inputs (list pkg-config qttools-5)) (home-page "https://qjackctl.sourceforge.io/") diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm index 3725e3ff01..fd17992ab3 100644 --- a/gnu/packages/backup.scm +++ b/gnu/packages/backup.scm @@ -15,7 +15,7 @@ ;;; Copyright © 2019 Alex Vong ;;; Copyright © 2019 Marius Bakke ;;; Copyright © 2019 Mathieu Othacehe -;;; Copyright © 2020 Nicolas Goaziou +;;; Copyright © 2020, 2022 Nicolas Goaziou ;;; Copyright © 2020 Marcin Karpezo ;;; Copyright © 2020 Michael Rohleder ;;; Copyright © 2021 Timothy Sample @@ -633,117 +633,114 @@ detection, and lossless compression.") (define-public borg (package (name "borg") - (version "1.2.1") + (version "1.2.2") (source (origin (method url-fetch) (uri (pypi-uri "borgbackup" version)) (sha256 - (base32 "0cy6chpa053rlvy4448vf9klb5v0v1vq3l76gqa3mcrwjb8y574z")) + (base32 "0q3jwmwwa3jlb02cbkcgh5a9cvwg64vawaypn41bdgpi8ds6hc6p")) (modules '((guix build utils))) (snippet - '(begin - ;; Delete files generated by Cython. We used to have a regex - ;; that created the list of generated files but Borg has - ;; added new non-generated C files that cause the regex to - ;; generate the wrong list. - (for-each delete-file - '("src/borg/algorithms/checksums.c" - "src/borg/chunker.c" - "src/borg/compress.c" - "src/borg/crypto/low_level.c" - "src/borg/hashindex.c" - "src/borg/item.c" - "src/borg/platform/darwin.c" - "src/borg/platform/freebsd.c" - "src/borg/platform/linux.c" - "src/borg/platform/posix.c" - "src/borg/platform/syncfilerange.c" - "src/borg/platform/windows.c")) - ;; Remove bundled shared libraries. - (with-directory-excursion "src/borg/algorithms" - (for-each delete-file-recursively - (list "lz4" "xxh64" "zstd"))) - #t)))) + #~(begin + ;; Delete files generated by Cython. We used to have a regex that + ;; created the list of generated files but Borg has added new + ;; non-generated C files that cause the regex to generate the + ;; wrong list. + (for-each delete-file + '("src/borg/algorithms/checksums.c" + "src/borg/chunker.c" + "src/borg/compress.c" + "src/borg/crypto/low_level.c" + "src/borg/hashindex.c" + "src/borg/item.c" + "src/borg/platform/darwin.c" + "src/borg/platform/freebsd.c" + "src/borg/platform/linux.c" + "src/borg/platform/posix.c" + "src/borg/platform/syncfilerange.c" + "src/borg/platform/windows.c")) + ;; Remove bundled shared libraries. + (with-directory-excursion "src/borg/algorithms" + (for-each delete-file-recursively + (list "lz4" "xxh64" "zstd"))))))) (build-system python-build-system) (arguments - `(#:modules ((srfi srfi-26) ; for cut + (list + #:modules '((srfi srfi-26) ; for cut (guix build utils) (guix build python-build-system)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'set-env - (lambda* (#:key inputs #:allow-other-keys) - (let ((openssl (assoc-ref inputs "openssl")) - (lz4 (assoc-ref inputs "lz4")) - (xxhash (assoc-ref inputs "xxhash")) - (zstd (assoc-ref inputs "zstd"))) - (setenv "BORG_OPENSSL_PREFIX" openssl) - (setenv "BORG_LIBLZ4_PREFIX" lz4) - (setenv "BORG_LIBXXHASH_PREFIX" xxhash) - (setenv "BORG_LIBZSTD_PREFIX" zstd) - (setenv "PYTHON_EGG_CACHE" "/tmp") - ;; The test 'test_return_codes[python]' fails when - ;; HOME=/homeless-shelter. - (setenv "HOME" "/tmp") - #t))) - ;; The tests need to be run after Borg is installed. - (delete 'check) - (add-after 'install 'check - (lambda* (#:key inputs outputs tests? #:allow-other-keys) - (when tests? - ;; Make the installed package available for the test suite. - (add-installed-pythonpath inputs outputs) - ;; The tests should be run in an empty directory. - (mkdir-p "tests") - (with-directory-excursion "tests" - (invoke "py.test" "-v" "--pyargs" "borg.testsuite" "-k" - (string-append - ;; These tests need to write to '/var'. - "not test_get_cache_dir " - "and not test_get_config_dir " - "and not test_get_keys_dir " - "and not test_get_security_dir " - ;; These tests assume there is a root user in '/etc/passwd'. - "and not test_access_acl " - "and not test_default_acl " - "and not test_get_item_uid_gid " - "and not test_non_ascii_acl " - "and not test_create_content_from_command " - "and not test_create_content_from_command_with_failed_command " - "and not test_create_stdin " - ;; We don't need to run benchmarks - "and not benchmark " - ;; These tests assume the kernel supports FUSE. - "and not test_fuse " - "and not test_fuse_allow_damaged_files " - "and not test_mount_hardlinks " - "and not test_readonly_mount " - "and not test_fuse_versions_view " - "and not test_migrate_lock_alive")))))) - (add-after 'install 'install-doc - (lambda* (#:key inputs outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (man (string-append out "/share/man/man1")) - (misc (string-append out "/share/borg/misc"))) - (for-each (cut install-file <> misc) - '("docs/misc/create_chunker-params.txt" - "docs/misc/borg-data-flow.png" - "docs/misc/internals-picture.txt" - "docs/misc/prune-example.txt")) - (copy-recursively "docs/man" man)))) - (add-after 'install-docs 'install-shell-completions - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (etc (string-append out "/etc")) - (share (string-append out "/share"))) - (with-directory-excursion "scripts/shell_completions" - (install-file "bash/borg" - (string-append etc "/bash_completion.d")) - (install-file "zsh/_borg" - (string-append share "/zsh/site-functions")) - (install-file "fish/borg.fish" - (string-append share "/fish/vendor_completions.d"))))))))) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'set-env + (lambda* (#:key inputs #:allow-other-keys) + (let ((openssl #$(this-package-input "openssl")) + (lz4 #$(this-package-input "lz4")) + (xxhash #$(this-package-input "xxhash")) + (zstd #$(this-package-input "zstd"))) + (setenv "BORG_OPENSSL_PREFIX" openssl) + (setenv "BORG_LIBLZ4_PREFIX" lz4) + (setenv "BORG_LIBXXHASH_PREFIX" xxhash) + (setenv "BORG_LIBZSTD_PREFIX" zstd) + (setenv "PYTHON_EGG_CACHE" "/tmp") + ;; The test 'test_return_codes[python]' fails when + ;; HOME=/homeless-shelter. + (setenv "HOME" "/tmp")))) + ;; The tests need to be run after Borg is installed. + (delete 'check) + (add-after 'install 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + ;; Make the installed package available for the test suite. + (add-installed-pythonpath inputs outputs) + ;; The tests should be run in an empty directory. + (mkdir-p "tests") + (with-directory-excursion "tests" + (invoke "py.test" "-v" "--pyargs" "borg.testsuite" "-k" + (string-append + ;; These tests need to write to '/var'. + "not test_get_cache_dir " + "and not test_get_config_dir " + "and not test_get_keys_dir " + "and not test_get_security_dir " + ;; These tests assume there is a root user in '/etc/passwd'. + "and not test_access_acl " + "and not test_default_acl " + "and not test_get_item_uid_gid " + "and not test_non_ascii_acl " + "and not test_create_content_from_command " + "and not test_create_content_from_command_with_failed_command " + "and not test_create_stdin " + ;; We don't need to run benchmarks + "and not benchmark " + ;; These tests assume the kernel supports FUSE. + "and not test_fuse " + "and not test_fuse_allow_damaged_files " + "and not test_mount_hardlinks " + "and not test_readonly_mount " + "and not test_fuse_versions_view " + "and not test_migrate_lock_alive")))))) + (add-after 'install 'install-doc + (lambda _ + (let ((man (string-append #$output "/share/man/man1")) + (misc (string-append #$output "/share/borg/misc"))) + (for-each (cut install-file <> misc) + '("docs/misc/create_chunker-params.txt" + "docs/misc/borg-data-flow.png" + "docs/misc/internals-picture.txt" + "docs/misc/prune-example.txt")) + (copy-recursively "docs/man" man)))) + (add-after 'install-docs 'install-shell-completions + (lambda _ + (let ((etc (string-append #$output "/etc")) + (share (string-append #$output "/share"))) + (with-directory-excursion "scripts/shell_completions" + (install-file "bash/borg" + (string-append etc "/bash_completion.d")) + (install-file "zsh/_borg" + (string-append share "/zsh/site-functions")) + (install-file "fish/borg.fish" + (string-append share "/fish/vendor_completions.d"))))))))) (native-inputs (list python-cython python-dateutil python-setuptools-scm python-pytest)) (inputs @@ -755,8 +752,8 @@ detection, and lossless compression.") ;; FUSE 3 isn't working well, so we stick with FUSE 2 for now: ;; python-llfuse - `(,zstd "lib") - xxhash)) + xxhash + `(,zstd "lib"))) (synopsis "Deduplicated, encrypted, authenticated and compressed backups") (description "Borg is a deduplicating backup program. Optionally, it supports compression and authenticated encryption. The main goal of Borg is to diff --git a/gnu/packages/benchmark.scm b/gnu/packages/benchmark.scm index 953bc45d06..e188b27789 100644 --- a/gnu/packages/benchmark.scm +++ b/gnu/packages/benchmark.scm @@ -72,14 +72,14 @@ (define-public fio (package (name "fio") - (version "3.31") + (version "3.32") (source (origin (method url-fetch) (uri (string-append "https://brick.kernel.dk/snaps/" "fio-" version ".tar.bz2")) (sha256 (base32 - "03x0n18f2wsyjh6qv57kvgqcwga54rzngwzr6fzlrjsalqw7mxlp")))) + "0wlfzx6zwkp81fwqw0pqm9i7v0b89rpfbliwxdd8q4kp4mf3q2dv")))) (build-system gnu-build-system) (arguments (list #:modules diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index f2de09aa32..65feff9528 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -7509,7 +7509,7 @@ GenomicRanges operations.") r-stringr r-variantannotation)) (home-page "https://github.com/mskilab/skitools/") - (synopsis "Various mskilab R utilties") + (synopsis "Various mskilab R utilities") (description "This package provides R miscellaneous utilities for basic data manipulation, debugging, visualization, lsf management, and common mskilab @@ -7859,7 +7859,7 @@ single-cell data.") to dissect cell communication in a global manner. It integrates an original expert-curated database of ligand-receptor interactions taking into account multiple subunits expression. Based on transcriptomic profiles (gene -expression), this package allows to compute communication scores between cells +expression), this package computes communication scores between cells and provides several visualization modes that can be helpful to dig into cell-cell interaction mechanism and extend biological knowledge.") (license license:gpl3)))) diff --git a/gnu/packages/ccache.scm b/gnu/packages/ccache.scm index 3ce44766fa..0dd1f14f58 100644 --- a/gnu/packages/ccache.scm +++ b/gnu/packages/ccache.scm @@ -32,14 +32,14 @@ (define-public ccache (package (name "ccache") - (version "4.6.1") + (version "4.6.3") (source (origin (method url-fetch) (uri (string-append "https://github.com/ccache/ccache/releases/download/v" version "/ccache-" version ".tar.xz")) (sha256 - (base32 "1lgk6fbfsnh2fscjmhpak8gwp3njq3kr0ihjcjlas15mrg9ppm75")))) + (base32 "08lbzlcb4clc298nsjcqcnhw69p53xk7hni5p19jaqqjn4djafhy")))) (build-system cmake-build-system) (native-inputs (list perl ; for test/run (@ (gnu packages base) which))) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 9768e5f8a4..e53fa97c9b 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -39,6 +39,7 @@ ;;; Copyright © 2021 Hugo Lecomte ;;; Copyright © 2022 Maxime Devos ;;; Copyright © 2022 David Elsing +;;; Copyright © 2022 Sharlatan Hellseher ;;; ;;; This file is part of GNU Guix. ;;; @@ -1093,6 +1094,28 @@ and many external plugins.") (define-public python-pytest-6 python-pytest) +;; Astropy started using hard dependencies for Pytest 7+, which might +;; happen for some other projects. It could be set as default in staging. +(define-public python-pytest-7.1 + (package + (inherit python-pytest) + (version "7.1.3") + (name "python-pytest") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest" version)) + (sha256 + (base32 + "0f8c31v5r2kgjixvy267n0nhc4xsy65g3n9lz1i1377z5pn5ydjg")))) + (arguments + (substitute-keyword-arguments (package-arguments python-pytest) + ((#:phases phases #~%standard-phases) + #~(modify-phases #$phases + (add-before 'build 'pretend-version + (lambda _ + (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))))) + (define-public python-pytest-bootstrap (package (inherit python-pytest) @@ -2251,7 +2274,7 @@ failures.") (home-page "https://github.com/ktosiek/pytest-freezegun") (synopsis "Pytest plugin to freeze time in test fixtures") (description "The @code{pytest-freezegun} plugin wraps tests and fixtures -with @code{freeze_time}, which allows to control (i.e., freeze) the time seen +with @code{freeze_time}, which controls (i.e., freeze) the time seen by the test.") (license license:expat))) diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm index cc0abedd35..1bbbb1e2fe 100644 --- a/gnu/packages/code.scm +++ b/gnu/packages/code.scm @@ -284,7 +284,7 @@ COCOMO model or user-provided parameters.") (define-public cloc (package (name "cloc") - (version "1.92") + (version "1.94") (source (origin (method git-fetch) @@ -293,7 +293,7 @@ COCOMO model or user-provided parameters.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1hy1hskiw02b7xaxn2qz0v7znj14l49w1anx20z6rkcps7212l5l")))) + (base32 "082kkzr168lkv35hvijq95b817lyj2azcwld47xpws9h35556jlv")))) (build-system gnu-build-system) (inputs (list coreutils diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 684979018c..f2bf5c443c 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -632,6 +632,12 @@ some compression ratio).") (base32 "0j59hx72258334rmkwn57ahr6s69nlrx0a5ip1jw2fbiwr12sd63")))) (build-system gnu-build-system) + (arguments + ;; The configure script doesn't recognise the --build or --host + ;; arguments, so set CXX here + `(,@(if (%current-target-system) + `(#:make-flags (list ,(string-append "CXX=" (cxx-for-target)))) + '()))) (home-page "https://www.nongnu.org/lzip/lzip.html") (synopsis "Lossless data compressor based on the LZMA algorithm") (description @@ -653,6 +659,12 @@ archiving. Lzip is a clean implementation of the LZMA algorithm.") (base32 "0wmmyi03fv2lflsir5ldrsv04q57k3hmlqajzb1m3p86gwbh967j")))) (build-system gnu-build-system) + (arguments + ;; The configure script doesn't recognise the --build or --host + ;; arguments, so set CXX here + `(,@(if (%current-target-system) + `(#:make-flags (list ,(string-append "CXX=" (cxx-for-target)))) + '()))) (home-page "https://www.nongnu.org/lzip/lziprecover.html") (synopsis "Recover and decompress data from damaged lzip files") (description diff --git a/gnu/packages/coq.scm b/gnu/packages/coq.scm index 60937af750..e4ee1aa882 100644 --- a/gnu/packages/coq.scm +++ b/gnu/packages/coq.scm @@ -727,7 +727,7 @@ for goals involving set operations. "This library is an extension of coq-mathcomp which supports finite sets and finite maps on choicetypes (rather than finite types). This includes support for functions with finite support and multisets. The library also -contains a generic order and set libary, which will eventually be used to +contains a generic order and set library, which will eventually be used to subsume notations for finite sets.") (home-page "https://math-comp.github.io/") (license license:cecill-b))) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index c8df516834..0994ca88bf 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1025,7 +1025,8 @@ Google's C++ code base.") (define-public abseil-cpp (let ((base abseil-cpp-20200923.3)) - (package/inherit base + (package + (inherit base) (name "abseil-cpp") (version "20220623.1") (source (origin diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index c48ef78f4c..34edbd3378 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -17142,7 +17142,7 @@ effects from the jQuery UI library.") (home-page "https://github.com/datastorm-open/shinymanager") (synopsis "Authentication management for Shiny applications") (description - "This package provides simple and secure authentification mechanism for + "This package provides simple and secure authentication mechanism for single Shiny applications. Credentials are stored in an encrypted SQLite database.") (license license:gpl3))) diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index 19fc841b63..4ea7033790 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -573,27 +573,6 @@ types.") and iOS.") (license license:expat))) -(define-public rust-dav1d-0.6 - (package - (name "rust-dav1d") - (version "0.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "dav1d" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0pn6r1a9qfrpg2xwc7ci2iddvnzxb17ddca0bwymgi839cxc2chl")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-dav1d-sys" ,rust-dav1d-sys-0.3)))) - (home-page "https://github.com/rust-av/dav1d-rs") - (synopsis "libdav1d bindings in Rust") - (description "This package provides libdav1d bindings in Rust.") - (license license:expat))) - (define-public rust-dav1d-sys-0.3 (package (name "rust-dav1d-sys") @@ -620,28 +599,6 @@ and iOS.") (description "This package provides FFI bindings to dav1d.") (license license:expat))) -(define-public rust-dcv-color-primitives-0.1 - (package - (name "rust-dcv-color-primitives") - (version "0.1.16") - (source - (origin - (method url-fetch) - (uri (crate-uri "dcv-color-primitives" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0yrm1qipdmadynhjgz1bvdh42ph9azvwg8v43c8ywr8vlx9qvaq2")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)))) - (home-page "https://github.com/aws/dcv-color-primitives") - (synopsis "Rust library to perform image color model conversion") - (description "This package is a Rust library to perform image color model -conversion.") - (license license:expat))) - (define-public rust-euclid-0.22 (package (name "rust-euclid") @@ -769,31 +726,6 @@ EUI-64, also known as MAC-48 media access control addresses.") (description "This package is a core library of Gfx-rs.") (license license:asl2.0))) -(define-public rust-gfx-device-gl-0.16 - (package - (name "rust-gfx-device-gl") - (version "0.16.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "gfx_device_gl" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1g5yg19jvxdmviljyakhd6253bnb2qg7v8iscf48ihc0ldgki70h")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-log" ,rust-log-0.4) - ("rust-gfx-gl" ,rust-gfx-gl-0.6) - ("rust-gfx-core" ,rust-gfx-core-0.9)))) - (home-page "https://github.com/gfx-rs/gfx") - (synopsis "OpenGL backend for gfx-rs") - (description "This package provides the openGL backend for gfx-rs.") - (license license:asl2.0))) - (define-public rust-gfx-gl-0.6 (package (name "rust-gfx-gl") @@ -1265,33 +1197,6 @@ EUI-64, also known as MAC-48 media access control addresses.") similar formats like VCard.") (license license:asl2.0))) -(define-public rust-ichwh-0.3 - (package - (name "rust-ichwh") - (version "0.3.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "ichwh" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0m6628yw3l812hjknmh5b5gcvhn6as9gzjz60h54zjxyy4w5ss7a")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-async-std" ,rust-async-std-1) - ("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-futures" ,rust-futures-0.3) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://gitlab.com/avandesa/ichwh-rs") - (synopsis "Asynchronous implementation of @command{which}") - (description - "@code{ichwh} aims to be a fully-asynchronous clone of GNU which. The -main job of @command{which} is to search for executables on the current -PATH.") - (license license:expat))) - (define-public rust-image-0.23 (package (name "rust-image") @@ -1498,29 +1403,6 @@ pixel buffers with width, height and stride.") graphics and video games.") (license license:expat))) -(define-public rust-lyon-extra-0.17 - (package - (name "rust-lyon-extra") - (version "0.17.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "lyon_extra" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "10n8h48a363qa66byqfkg164542p97v5rrnb33gqhggah739nwm0")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? - #t - #:cargo-inputs - (("rust-lyon-path" ,rust-lyon-path-0.17) - ("rust-lyon-svg" ,rust-lyon-svg-0.17)))) - (home-page "https://github.com/nical/lyon") - (synopsis "Optional utilities for the lyon crate") - (description "This package provides optional utilities for the lyon crate.") - (license (list license:expat license:asl2.0)))) - (define-public rust-lyon-geom-0.17 (package (name "rust-lyon-geom") @@ -1596,31 +1478,6 @@ graphics and video games.") (description "This package provides SVG helpers for the lyon crates.") (license (list license:expat license:asl2.0)))) -(define-public rust-lyon-tessellation-0.17 - (package - (name "rust-lyon-tessellation") - (version "0.17.10") - (source - (origin - (method url-fetch) - (uri (crate-uri "lyon-tessellation" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0q2pccjszda26asylnvhwsil8wvsprfjazrqdzj4i033s26y0c3j")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-float-next-after" ,rust-float-next-after-0.1) - ("rust-lyon-path" ,rust-lyon-path-0.17) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-lyon-extra" ,rust-lyon-extra-0.17)))) - (home-page "https://github.com/nical/lyon") - (synopsis "Low level path tessellation library") - (description - "This package provides a low level path tessellation library.") - (license (list license:expat license:asl2.0)))) - (define-public rust-osmesa-sys-0.1 (package (name "rust-osmesa-sys") @@ -1643,32 +1500,6 @@ graphics and video games.") (description "This package provides OSMesa library bindings for Rust.") (license license:cc0))) -(define-public rust-piston-0.49 - (package - (name "rust-piston") - (version "0.49.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "piston" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1y0rbw92mzagqmwk79wv9axq0m7aid0s0d5cppyzh33wrxhdl3xj")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-pistoncore-input" ,rust-pistoncore-input-0.28) - ("rust-pistoncore-window" ,rust-pistoncore-window-0.44) - ("rust-pistoncore-event-loop" ,rust-pistoncore-event-loop-0.49)))) - (home-page "https://github.com/PistonDevelopers/piston") - (synopsis "Piston game engine core libraries") - (description - "The Piston game engine core libraries.") - (license license:expat))) - (define-public rust-piston-float-1 (package (name "rust-piston-float") @@ -1810,95 +1641,6 @@ nicely with Piston libraries.") "This package provides a library for storing viewport information.") (license license:expat))) -(define-public rust-piston-window-0.105 - (package - (name "rust-piston-window") - (version "0.105.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "piston_window" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "05n2905gkp5ck25kbq95ia6pj1xz63dpp247jz3xcw1d41xpvi95")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-gfx-device-gl" ,rust-gfx-device-gl-0.16) - ("rust-gfx" ,rust-gfx-0.18) - ("rust-piston2d-graphics" ,rust-piston2d-graphics-0.35) - ("rust-piston" ,rust-piston-0.49) - ("rust-shader-version" ,rust-shader-version-0.6) - ("rust-pistoncore-glutin-window" ,rust-pistoncore-glutin-window-0.63) - ("rust-piston2d-gfx-graphics" ,rust-piston2d-gfx-graphics-0.66) - ("rust-piston-texture" ,rust-piston-texture-0.8)))) - (home-page "https://github.com/pistondevelopers/piston_window") - (synopsis "Official Piston window wrapper for the Piston game engine") - (description - "The official Piston window wrapper for the Piston game engine.") - (license license:expat))) - -(define-public rust-piston2d-gfx-graphics-0.66 - (package - (name "rust-piston2d-gfx-graphics") - (version "0.66.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "piston2d-gfx_graphics" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1pmlkf5rl6pr0c1lqm0059xwj9pwlws7gaq9w6r9d916di6fzki1")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-gfx" ,rust-gfx-0.18) - ("rust-piston-shaders-graphics2d" ,rust-piston-shaders-graphics2d-0.3) - ("rust-piston-gfx-texture" ,rust-piston-gfx-texture-0.40) - ("rust-shader-version" ,rust-shader-version-0.6) - ("rust-draw-state" ,rust-draw-state-0.8)))) - (home-page "https://github.com/PistonDevelopers/gfx_graphics") - (synopsis "Gfx 2D back-end for the Piston game engine") - (description - "This package provides a Gfx 2D back-end for the Piston game engine.") - (license license:expat))) - -(define-public rust-piston2d-graphics-0.35 - (package - (name "rust-piston2d-graphics") - (version "0.35.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "piston2d-graphics" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1dx2fanxc2pj76hc5l72x0fh4qg9gchjlr8rmbhdk6jpggcmq56g")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-interpolation" ,rust-interpolation-0.2) - ("rust-rusttype" ,rust-rusttype-0.7) - ("rust-piston-texture" ,rust-piston-texture-0.8) - ("rust-piston-viewport" ,rust-piston-viewport-1) - ("rust-read-color" ,rust-read-color-1) - ("rust-vecmath" ,rust-vecmath-1) - ("rust-fnv" ,rust-fnv-1)))) - (home-page "https://github.com/pistondevelopers/graphics") - (synopsis "Library for 2D graphics that works with multiple back-ends") - (description "This package provides a library for 2D graphics that works -with multiple back-ends.") - (license license:expat))) - (define-public rust-pistoncore-event-loop-0.49 (package (name "rust-pistoncore-event-loop") @@ -1924,34 +1666,6 @@ with multiple back-ends.") interactive applications.") (license license:expat))) -(define-public rust-pistoncore-glutin-window-0.63 - (package - (name "rust-pistoncore-glutin-window") - (version "0.63.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "pistoncore-glutin_window" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0dhbyxarv5i742d400bmqdqq3f8c25kcgcg0xavrc18dc913rixc")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-gl" ,rust-gl-0.11) - ("rust-glutin" ,rust-glutin-0.21) - ("rust-pistoncore-input" ,rust-pistoncore-input-0.28) - ("rust-pistoncore-window" ,rust-pistoncore-window-0.44) - ("rust-shader-version" ,rust-shader-version-0.6)))) - (home-page "https://github.com/pistondevelopers/glutin_window") - (synopsis "Piston window back-end using the Glutin library") - (description - "This package provides a Piston window back-end using the Glutin library.") - (license license:expat))) - (define-public rust-pistoncore-input-0.28 (package (name "rust-pistoncore-input") @@ -2213,29 +1927,6 @@ images in AVIF format.") (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))))) -(define-public rust-resize-0.3 - (package - (name "rust-resize") - (version "0.3.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "resize" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1ai83laz5yvg4r7z9q8d1m0vq0fqj2ycyprw5fxzxyzaj3im7rmr")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-development-inputs - (("rust-png" ,rust-png-0.15)))) - (home-page "https://github.com/PistonDevelopers/resize") - (synopsis "Simple image resampling library in pure Rust") - (description - "This package provides a simple image resampling library in pure Rust.") - (license license:expat))) - (define-public rust-rgb-0.8 (package (name "rust-rgb") @@ -2408,29 +2099,6 @@ first-class Rust objects.") applications.") (license license:expat))) -(define-public rust-smithay-clipboard-0.3 - (package - (inherit rust-smithay-clipboard-0.6) - (name "rust-smithay-clipboard") - (version "0.3.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "smithay-clipboard" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1h7qhcx44cgwncgpn5llky0c56vgsg9mqrkybb2z37vsxxia4rwn")))) - (arguments - `(#:cargo-inputs - (("rust-nix" ,rust-nix-0.14) - ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.6)) - #:cargo-development-inputs - (("rust-andrew" ,rust-andrew-0.2)))) - (inputs - (list wayland)))) - (define-public rust-tiff-0.6 (package (name "rust-tiff") @@ -3508,26 +3176,6 @@ the platform-specific getters provided by winit, or another library.") (description "This package provides x11 clipboard support for Rust.") (license license:expat))) -(define-public rust-x11-clipboard-0.4 - (package - (inherit rust-x11-clipboard-0.5) - (name "rust-x11-clipboard") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "x11-clipboard" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0nqdnswiyj28b1izjp5rzbc67cxpb5c8p4vh1xyndkirzs84vqqk")))) - (arguments - `(#:tests? #f ; Tests require display server. - #:cargo-inputs (("rust-xcb" ,rust-xcb-0.9)))) - (native-inputs - (list python)))) - (define-public rust-x11-dl-2 (package (name "rust-x11-dl") @@ -3571,24 +3219,6 @@ the platform-specific getters provided by winit, or another library.") "This package provides a YUV4MPEG2 (@file{.y4m}) encoder and decoder.") (license license:expat))) -(define-public rust-y4m-0.5 - (package - (inherit rust-y4m-0.7) - (name "rust-y4m") - (version "0.5.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "y4m" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1933677by64y06zfgip2yq8b2dza8xnljhaksx93czq90b54kscz")))) - (arguments - `(#:cargo-development-inputs - (("rust-resize" ,rust-resize-0.3)))))) - ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index cfa5de9f2a..14ac194fc6 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -277,32 +277,6 @@ (("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) -(define-public rust-cairo-rs-0.7 - (package - (inherit rust-cairo-rs-0.8) - (name "rust-cairo-rs") - (version "0.7.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "cairo-rs" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "171m98g41avp5mmshqir4ka21napp7ma5fx45wi9mw5hwdyv8pg0")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9) - ("rust-glib" ,rust-glib-0.8) - ("rust-glib-sys" ,rust-glib-sys-0.9) - ("rust-gobject-sys" ,rust-gobject-sys-0.9) - ("rust-libc" ,rust-libc-0.2) - ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1)) - #:cargo-development-inputs - (("rust-tempfile" ,rust-tempfile-3)))))) - (define-public rust-cairo-sys-rs-0.15 (package (name "rust-cairo-sys-rs") @@ -596,35 +570,6 @@ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) -(define-public rust-gdk-pixbuf-0.7 - (package - (inherit rust-gdk-pixbuf-0.8) - (name "rust-gdk-pixbuf") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gdk-pixbuf" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1k2g3w2p57m68bi5sldvkmgjgslgqswrjsijjhqaibdvw67409lp")))) - (arguments - `(#:cargo-inputs - (("rust-fragile" ,rust-fragile-0.3) - ("rust-futures-preview" ,rust-futures-preview-0.3) - ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9) - ("rust-gio" ,rust-gio-0.7) - ("rust-gio-sys" ,rust-gio-sys-0.9) - ("rust-glib" ,rust-glib-0.8) - ("rust-glib-sys" ,rust-glib-sys-0.9) - ("rust-gobject-sys" ,rust-gobject-sys-0.9) - ("rust-libc" ,rust-libc-0.2) - ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1)) - #:cargo-development-inputs - (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) - (define-public rust-gdk-pixbuf-sys-0.15 (package (name "rust-gdk-pixbuf-sys") @@ -957,35 +902,6 @@ ("rust-serial-test" ,rust-serial-test-0.1) ("rust-serial-test-derive" ,rust-serial-test-derive-0.1)))))) -(define-public rust-gio-0.7 - (package - (inherit rust-gio-0.8) - (name "rust-gio") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gio" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1qv0wc1hqyb81c03h81s3xrl9jslrw23fr4yhygxbhih9k9vaqb2")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-fragile" ,rust-fragile-0.3) - ("rust-futures-preview" ,rust-futures-preview-0.3) - ("rust-gio-sys" ,rust-gio-sys-0.9) - ("rust-glib" ,rust-glib-0.8) - ("rust-glib-sys" ,rust-glib-sys-0.9) - ("rust-gobject-sys" ,rust-gobject-sys-0.9) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1)) - #:cargo-development-inputs - (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) - (define-public rust-gio-sys-0.15 (package (name "rust-gio-sys") @@ -1881,33 +1797,6 @@ library.") #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) -(define-public rust-pango-0.7 - (package - (inherit rust-pango-0.8) - (name "rust-pango") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "pango" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "11np7nxb69g3kid2l78b7k519x1wk1c3f9yy7swgzy24n5qs0grr")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-glib" ,rust-glib-0.8) - ("rust-glib-sys" ,rust-glib-sys-0.9) - ("rust-gobject-sys" ,rust-gobject-sys-0.9) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-pango-sys" ,rust-pango-sys-0.9) - ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1)) - #:cargo-development-inputs - (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) - (define-public rust-pango-sys-0.15 (package (name "rust-pango-sys") @@ -2068,36 +1957,6 @@ library.") #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) -(define-public rust-pangocairo-0.8 - (package - (inherit rust-pangocairo-0.9) - (name "rust-pangocairo") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "pangocairo" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0qjiwsp73x3w0493dzycyjzxnzwq7ixwmf1ccr5r41pjhxbnk1kl")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-cairo-rs" ,rust-cairo-rs-0.7) - ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9) - ("rust-glib" ,rust-glib-0.8) - ("rust-glib-sys" ,rust-glib-sys-0.9) - ("rust-gobject-sys" ,rust-gobject-sys-0.9) - ("rust-libc" ,rust-libc-0.2) - ("rust-pango" ,rust-pango-0.7) - ("rust-pango-sys" ,rust-pango-sys-0.9) - ("rust-pangocairo-sys" ,rust-pangocairo-sys-0.10) - ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1)) - #:cargo-development-inputs - (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) - (define-public rust-pangocairo-sys-0.15 (package (name "rust-pangocairo-sys") diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 502972ffc5..420e254fb3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -145,79 +145,6 @@ cubic beziers.") library in Rust.") (license license:expat))) -(define-public rust-abscissa-core-0.5 - (package - (name "rust-abscissa-core") - (version "0.5.2") - (source (origin - (method url-fetch) - (uri (crate-uri "abscissa_core" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0fmvaqzdz6qg7z42dlhvs3lf338xz0gdvdhp6xc042hjjdq6f1va")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-abscissa-derive" ,rust-abscissa-derive-0.5) - ("rust-backtrace" ,rust-backtrace-0.3) - ("rust-canonical-path" ,rust-canonical-path-2) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-color-backtrace" ,rust-color-backtrace-0.3) - ("rust-generational-arena" ,rust-generational-arena-0.2) - ("rust-gumdrop" ,rust-gumdrop-0.7) - ("rust-libc" ,rust-libc-0.2) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-regex" ,rust-regex-1) - ("rust-secrecy" ,rust-secrecy-0.6) - ("rust-semver" ,rust-semver-0.9) - ("rust-serde" ,rust-serde-1) - ("rust-signal-hook" ,rust-signal-hook-0.1) - ("rust-termcolor" ,rust-termcolor-1) - ("rust-toml" ,rust-toml-0.5) - ("rust-tracing" ,rust-tracing-0.1) - ("rust-tracing-log" ,rust-tracing-log-0.1) - ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.1) - ("rust-wait-timeout" ,rust-wait-timeout-0.2)))) - (home-page "https://github.com/iqlusioninc/abscissa/") - (synopsis "Application microframework") - (description - "This package provides application microframework with support -for command-line option parsing, configuration, error handling, logging, -and terminal interactions. This crate contains the framework's core -functionality.") - (license license:asl2.0))) - -(define-public rust-abscissa-derive-0.5 - (package - (name "rust-abscissa-derive") - (version "0.5.0") - (source (origin - (method url-fetch) - (uri (crate-uri "abscissa_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1k7cxjxgkvi91968xkrjcqpq98kabfh7qhnqh6fwnqw7qhmp5xbl")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-darling" ,rust-darling-0.10) - ("rust-ident-case" ,rust-ident-case-1) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1) - ("rust-synstructure" ,rust-synstructure-0.12)))) - (home-page "https://github.com/iqlusioninc/abscissa") - (synopsis - "Custom derive support for the abscissa application microframework") - (description - "This package provides custom derive support for the abscissa application -microframework.") - (license license:asl2.0))) - (define-public rust-actix-0.10 (package (name "rust-actix") @@ -1735,37 +1662,6 @@ syntax (e.g. EasyList, EasyPrivacy) filter parsing and matching.") Rust, using gimli.") (license (list license:asl2.0 license:expat)))) -(define-public rust-addr2line-0.14 - (package - (name "rust-addr2line") - (version "0.14.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "addr2line" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1xs5bsi40zpyxbbylyaysya5h36ykcbg91i82415sxw5wk7q4px5")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) - ("rust-cpp-demangle" ,rust-cpp-demangle-0.3) - ("rust-fallible-iterator" ,rust-fallible-iterator-0.2) - ("rust-gimli" ,rust-gimli-0.23) - ("rust-object" ,rust-object-0.22) - ("rust-rustc-demangle" ,rust-rustc-demangle-0.1) - ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) - ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) - ("rust-smallvec" ,rust-smallvec-1)))) - (home-page "https://github.com/gimli-rs/addr2line") - (synopsis "Symbolication library written in Rust, using gimli") - (description - "This package provides a cross-platform symbolication library written in -Rust, using gimli.") - (license (list license:asl2.0 license:expat)))) - (define-public rust-addr-0.14 (package (name "rust-addr") @@ -1792,69 +1688,6 @@ Rust, using gimli.") (description "This package provides a library for parsing domain names.") (license (list license:expat license:asl2.0)))) -(define-public rust-addr2line-0.11 - (package - (inherit rust-addr2line-0.14) - (name "rust-addr2line") - (version "0.11.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "addr2line" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0sk5g8cb2yynlcm0wcqff9l9c9ml69rqgfrrbii0ybgdc236jkhw")))) - (arguments - `(#:tests? #f ; Not all test files included. - #:cargo-inputs - (("rust-rustc-demangle" ,rust-rustc-demangle-0.1) - ("rust-object" ,rust-object-0.17) - ("rust-fallible-iterator" ,rust-fallible-iterator-0.2) - ("rust-cpp-demangle" ,rust-cpp-demangle-0.2) - ("rust-gimli" ,rust-gimli-0.20) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-lazycell" ,rust-lazycell-1)) - #:cargo-development-inputs - (("rust-backtrace" ,rust-backtrace-0.3) - ("rust-clap" ,rust-clap-2) - ("rust-findshlibs" ,rust-findshlibs-0.5) - ("rust-memmap" ,rust-memmap-0.7) - ("rust-rustc-test" ,rust-rustc-test-0.3)))))) - -(define-public rust-addr2line-0.9 - (package - (inherit rust-addr2line-0.11) - (name "rust-addr2line") - (version "0.9.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "addr2line" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "17rlf04nx3g3rcy661v24ksnmpk6vqn680g5b5sp8lk20iih2xnx")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cpp-demangle" ,rust-cpp-demangle-0.2) - ("rust-fallible-iterator" ,rust-fallible-iterator-0.2) - ("rust-gimli" ,rust-gimli-0.18) - ("rust-intervaltree" ,rust-intervaltree-0.2) - ("rust-lazycell" ,rust-lazycell-1) - ("rust-object" ,rust-object-0.12) - ("rust-rustc-demangle" ,rust-rustc-demangle-0.1) - ("rust-smallvec" ,rust-smallvec-0.6)) - #:cargo-development-inputs - (("rust-backtrace" ,rust-backtrace-0.3) - ("rust-clap" ,rust-clap-2) - ;("rust-findshlibs" ,rust-findshlibs-0.4) - ("rust-memmap" ,rust-memmap-0.7) - ("rust-rustc-test" ,rust-rustc-test-0.3)))))) - (define-public rust-adler-1 (package (name "rust-adler") @@ -2333,46 +2166,6 @@ This package is deprecated and was replaced by the @code{aes} crate.") "Fuzz Rust code with american-fuzzy-lop.") (license license:asl2.0))) -(define-public rust-afl-0.5 - (package - (inherit rust-afl-0.8) - (name "rust-afl") - (version "0.5.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "afl" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0azpi917l8nhvx25n2v670nvkxkrhcwmddfi85qnr6kchmi6y946")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-rustc-version" ,rust-rustc-version-0.2) - ("rust-cc" ,rust-cc-1) - ("rust-xdg" ,rust-xdg-2) - ("rust-clap" ,rust-clap-2)) - #:cargo-development-inputs - (("rust-rustc-version" ,rust-rustc-version-0.2) - ("rust-xdg" ,rust-xdg-2)))))) - -(define-public rust-afl-0.4 - (package - (inherit rust-afl-0.5) - (name "rust-afl") - (version "0.4.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "afl" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0g2chc18ji7qxi0d03n2ai140qdcww958v5si6rcjnnhmri1vyfb")))))) - (define-public rust-ahash-0.7 (package (name "rust-ahash") @@ -3139,21 +2932,6 @@ coverage-guided, mutation-based fuzzers.") #:cargo-inputs (("rust-derive-arbitrary" ,rust-derive-arbitrary-0.4)))))) -(define-public rust-arbitrary-0.2 - (package - (inherit rust-arbitrary-0.4) - (name "rust-arbitrary") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "arbitrary" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1i3fhcdyjq4isn22xx2svmpfr5hwyzi0wavbm07fs8i2dv5pdkv4")))))) - (define-public rust-arboard-1 (package (name "rust-arboard") @@ -3333,39 +3111,6 @@ coverage-guided, mutation-based fuzzers.") (description "Derive-based argument parser optimized for code size") (license license:bsd-3))) -(define-public rust-argon2rs-0.2 - (package - (name "rust-argon2rs") - (version "0.2.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "argon2rs" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "14mkgkrjd4b4zy92pflz6yb4j1wn2chbd8jczxknxbkdm2vb0rrz")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-blake2-rfc" ,rust-blake2-rfc-0.2) - ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)) - #:cargo-development-inputs - (("rust-cargon" ,rust-cargon-0.0)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-cargo-toml - (lambda _ - (substitute* "Cargo.toml" - (("\\{ path =.*,") "{")) - #t))))) - (home-page "https://github.com/bryant/argon2rs") - (synopsis "Rust password hashing library that runs on Argon2") - (description "This package provides a pure Rust password hashing library -that runs on Argon2.") - (license license:expat))) - (define-public rust-arr-macro-impl-0.1 (package (name "rust-arr-macro-impl") @@ -4207,73 +3952,31 @@ assertions on the result of your program's run.") (define-public rust-assert-fs-1 (package (name "rust-assert-fs") - (version "1.0.5") + (version "1.0.7") (source (origin (method url-fetch) (uri (crate-uri "assert-fs" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "01qhcr9faq13p10kmi6j6k520dk20c8vxly8cqwkisdxx6fk8yvx")))) + (base32 "1gm1xsxmv1s8810kbjiw4rnikqi76a3yhrb8b717g90dw1rbn2fg")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-doc-comment" ,rust-doc-comment-0.3) + (("rust-concolor" ,rust-concolor-0.0.8) + ("rust-doc-comment" ,rust-doc-comment-0.3) ("rust-globwalk" ,rust-globwalk-0.8) ("rust-predicates" ,rust-predicates-2) ("rust-predicates-core" ,rust-predicates-core-1) ("rust-predicates-tree" ,rust-predicates-tree-1) - ("rust-tempfile" ,rust-tempfile-3)))) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-yansi" ,rust-yansi-0.5)))) (home-page "https://github.com/assert-rs/assert_fs") (synopsis "Filesystem fixtures and assertions for testing") (description "This crate provides file system fixtures and assertions for testing.") (license (list license:expat license:asl2.0)))) -(define-public rust-assert-fs-0.11 - (package - (inherit rust-assert-fs-1) - (name "rust-assert-fs") - (version "0.11.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "assert-fs" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1h1q90qskbylv4g3jyizdanj73835q7vvq7q10y555x4gnavmrjc")))) - (arguments - `(#:cargo-inputs - (("rust-globwalk" ,rust-globwalk-0.5) - ("rust-predicates" ,rust-predicates-1) - ("rust-predicates-core" ,rust-predicates-core-1) - ("rust-predicates-tree" ,rust-predicates-tree-1) - ("rust-tempfile" ,rust-tempfile-3)) - #:cargo-development-inputs - (("rust-docmatic" ,rust-docmatic-0.1)))))) - -(define-public rust-assert-impl-0.1 - (package - (name "rust-assert-impl") - (version "0.1.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "assert-impl" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "17jvig9rwdc1sf1j5q8q9k69njg3k8g7x7g6wcb711hcvq9l6in3")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://github.com/upsuper/assert-impl") - (synopsis "Macro for static assert that types implement a trait or not") - (description - "This carte provides a macro for static assert that types implement -a trait or not.") - (license license:expat))) - (define-public rust-assert-json-diff-1 (package (name "rust-assert-json-diff") @@ -4586,30 +4289,6 @@ AsyncSeek if the inner type does.") @code{async-executor} and @code{async-io}.") (license (list license:asl2.0 license:expat)))) -(define-public rust-async-global-executor-1 - (package - (inherit rust-async-global-executor-2) - (name "rust-async-global-executor") - (version "1.4.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "async-global-executor" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "017s1lik153s587l6q9x5bf9i1n7gxqcg3zn2mdgvf16rm4rn1vk")))) - (arguments - `(#:cargo-inputs - (("rust-async-executor" ,rust-async-executor-1) - ("rust-async-io" ,rust-async-io-1) - ("rust-futures-lite" ,rust-futures-lite-1) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-tokio" ,rust-tokio-0.3)) - #:cargo-development-inputs - (("rust-doc-comment" ,rust-doc-comment-0.3)))))) - (define-public rust-async-h1-2 (package (name "rust-async-h1") @@ -4925,31 +4604,6 @@ implementing async state machines that can later be wrapped in dedicated futures.") (license (list license:expat license:asl2.0)))) -(define-public rust-async-recursion-0.3 - (package - (name "rust-async-recursion") - (version "0.3.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "async-recursion" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "18npixkwglnpvjgp89fpcyzf820ngx3a1hxp4hqbkw81p9b8dmyp")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/dcchut/async-recursion") - (synopsis "Recursion for async functions") - (description - "This package provides a procedural macro for recursive async -functions.") - (license (list license:expat license:asl2.0)))) - (define-public rust-async-std-1 (package (name "rust-async-std") @@ -5765,32 +5419,6 @@ trace (backtrace) at runtime in a Rust program.") (base32 "0mfwbb6832rh1za304w8x37bvs9fjbybpmmz0iksqfzsaf108w8k")))))) -(define-public rust-backtrace-sys-0.1 - (package - (name "rust-backtrace-sys") - (version "0.1.37") - (source - (origin - (method url-fetch) - (uri (crate-uri "backtrace-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "16a3igz22q9lnnjjr77f4k8ci48v8zdwrs67khx3h7wx3jzfpyqq")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-compiler-builtins" ,rust-compiler-builtins-0.1) - ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) - ("rust-cc" ,rust-cc-1)))) - (home-page "https://github.com/rust-lang/backtrace-rs") - (synopsis "Bindings to the libbacktrace gcc library") - (description - "This package provides bindings to the libbacktrace gcc library.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-bare-metal-1 (package (name "rust-bare-metal") @@ -6143,42 +5771,6 @@ highlighting for a large number of languages, git integration, and automatic paging.") (license (list license:expat license:asl2.0)))) -(define-public rust-battery-0.7 - (package - (name "rust-battery") - (version "0.7.8") - (source - (origin - (method url-fetch) - (uri (crate-uri "battery" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1r1641dyks76p39i1iihswhc6iz5z51pihmpxniy1h1pi4k29dml")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ;; Tests fail with "No such file or directory". - #:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-core-foundation" - ,rust-core-foundation-0.7) - ("rust-lazycell" ,rust-lazycell-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-mach" ,rust-mach-0.3) - ("rust-nix" ,rust-nix-0.19) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-uom" ,rust-uom-0.30) - ("rust-winapi" ,rust-winapi-0.3)) - #:cargo-development-inputs - (("rust-approx" ,rust-approx-0.3) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/svartalf/rust-battery") - (synopsis "Information about the notebook batteries") - (description - "@code{battery} provides a unified API to a notebook batteries state.") - ;; Dual licensed, either license applies. - (license (list license:asl2.0 license:expat)))) - (define-public rust-beef-0.5 (package (name "rust-beef") @@ -6223,32 +5815,6 @@ and no more (caveat: black_box is still missing!).") (license (list license:asl2.0 license:expat)))) -(define-public rust-better-panic-0.2 - (package - (name "rust-better-panic") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "better-panic" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0xl48v6pd9ys7wp0ni62i6q73xpd1nhf92z09sjc9n3lrj0ac4ix")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-backtrace" ,rust-backtrace-0.3) - ("rust-console" ,rust-console-0.9) - ("rust-syntect" ,rust-syntect-3)))) - (home-page "https://github.com/mitsuhiko/better-panic") - (synopsis "Pretty backtraces inspired by Python's tracebacks") - (description - "This package provides pretty panic backtraces inspired by Python's -tracebacks.") - (license (list license:expat license:asl2.0)))) - (define-public rust-bigdecimal-0.3 (package (name "rust-bigdecimal") @@ -6318,31 +5884,6 @@ tracebacks.") #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1)))))) -(define-public rust-bigdecimal-rs-0.2 - (package - (name "rust-bigdecimal-rs") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "bigdecimal-rs" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "035i2r07zrv9r71z11ipn2lw9rdns39ig8mqnl5afgv3in85ldw5")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-num-bigint" ,rust-num-bigint-0.3) - ("rust-num-integer" ,rust-num-integer-0.1) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-serde" ,rust-serde-1)))) - (home-page "https://github.com/akubera/bigdecimal-rs") - (synopsis "Arbitrary precision decimal numbers") - (description "This package provides arbitrary precision decimal numbers.") - (license (list license:expat license:asl2.0)))) - (define-public rust-bincode-1 (package (name "rust-bincode") @@ -6730,6 +6271,41 @@ bindings to C and C++ libraries.") ("rust-diff" ,rust-diff-0.1) ("rust-shlex" ,rust-shlex-0.1)))))) +(define-public rust-bindgen-0.49 + (package + (inherit rust-bindgen-0.50) + (name "rust-bindgen") + (version "0.49.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "bindgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vjacbvashvds5rbrlqvq5fy55wmp50iia3mnczvycap7mzhh1sc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-cexpr" ,rust-cexpr-0.3) + ("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-clang-sys" ,rust-clang-sys-0.28) + ("rust-clap" ,rust-clap-2) + ("rust-env-logger" ,rust-env-logger-0.6) + ("rust-fxhash" ,rust-fxhash-0.2) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-peeking-take-while" ,rust-peeking-take-while-0.1) + ("rust-proc-macro2" ,rust-proc-macro2-0.4) + ("rust-quote" ,rust-quote-0.6) + ("rust-regex" ,rust-regex-1) + ("rust-shlex" ,rust-shlex-0.1) + ("rust-which" ,rust-which-2)) + #:cargo-development-inputs + (("rust-clap" ,rust-clap-2) + ("rust-diff" ,rust-diff-0.1) + ("rust-shlex" ,rust-shlex-0.1)))))) + (define-public rust-bindgen-0.48 (package (inherit rust-bindgen-0.50) @@ -6866,74 +6442,6 @@ bindings to C and C++ libraries.") ("rust-diff" ,rust-diff-0.1) ("rust-shlex" ,rust-shlex-0.1)))))) -(define-public rust-bindgen-0.49 - (package - (inherit rust-bindgen-0.50) - (name "rust-bindgen") - (version "0.49.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "bindgen" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0vjacbvashvds5rbrlqvq5fy55wmp50iia3mnczvycap7mzhh1sc")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-cexpr" ,rust-cexpr-0.3) - ("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-clang-sys" ,rust-clang-sys-0.28) - ("rust-clap" ,rust-clap-2) - ("rust-env-logger" ,rust-env-logger-0.6) - ("rust-fxhash" ,rust-fxhash-0.2) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-peeking-take-while" ,rust-peeking-take-while-0.1) - ("rust-proc-macro2" ,rust-proc-macro2-0.4) - ("rust-quote" ,rust-quote-0.6) - ("rust-regex" ,rust-regex-1) - ("rust-shlex" ,rust-shlex-0.1) - ("rust-which" ,rust-which-2)) - #:cargo-development-inputs - (("rust-clap" ,rust-clap-2) - ("rust-diff" ,rust-diff-0.1) - ("rust-shlex" ,rust-shlex-0.1)))))) - -(define-public rust-bindgen-0.33 - (package - (inherit rust-bindgen-0.50) - (name "rust-bindgen") - (version "0.33.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "bindgen" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0vnw5fb74gl9pgnimgbrkac1xgwrjz86pqilx20rbkia77cdhgk0")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cexpr" ,rust-cexpr-0.2) - ("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-clang-sys" ,rust-clang-sys-0.22) - ("rust-clap" ,rust-clap-2) - ("rust-env-logger" ,rust-env-logger-0.5) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-peeking-take-while" ,rust-peeking-take-while-0.1) - ("rust-quote" ,rust-quote-0.3) - ("rust-regex" ,rust-regex-0.2) - ("rust-which" ,rust-which-1)) - #:cargo-development-inputs - (("rust-clap" ,rust-clap-2) - ("rust-diff" ,rust-diff-0.1) - ("rust-shlex" ,rust-shlex-0.1)))))) - (define-public rust-bio-types-0.12 (package (name "rust-bio-types") @@ -7290,19 +6798,6 @@ types.") @code{rust-bitcoin}.") (license license:cc0))) -(define-public rust-bitcoin-hashes-0.9 - (package - (inherit rust-bitcoin-hashes-0.10) - (name "rust-bitcoin-hashes") - (version "0.9.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "bitcoin-hashes" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1cblp0clvds0i33ms1b0lvq42kzdpr7q3ma5ac3ss913xijq5qbw")))))) - (define-public rust-bitfield-0.13 (package (name "rust-bitfield") @@ -7414,19 +6909,6 @@ behave like a set of bitflags.") (base32 "0v8hh6wdkpk9my8z8442g4hqrqf05h0qj53dsay6mv18lqvqklda")))))) -(define-public rust-bitflags-0.5 - (package - (inherit rust-bitflags-1) - (name "rust-bitflags") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "bitflags" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "08qdq5w1nd3hzwsrxk0dxzqv4g8wbwj6v2193njskwzdd09r6rsg")))))) - (define-public rust-bitflags-0.2 (package (inherit rust-bitflags-1) @@ -7695,35 +7177,6 @@ streams in big-endian and little-endian formats.") (description "This package provides BLAKE2 hash functions in Rust.") (license (list license:expat license:asl2.0)))) -(define-public rust-blake2-rfc-0.2 - (package - (name "rust-blake2-rfc") - (version "0.2.18") - (source - (origin - (method url-fetch) - (uri (crate-uri "blake2-rfc" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0034g47hyq2bzmk40895ill1mbnpmmjakdq3dmm9clidvl5m6vax")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-arrayvec" ,rust-arrayvec-0.4) - ("rust-clippy" ,rust-clippy-0.0) - ("rust-constant-time-eq" ,rust-constant-time-eq-0.1)) - #:cargo-development-inputs - (("rust-data-encoding" ,rust-data-encoding-2)))) - (home-page "https://github.com/cesarb/blake2-rfc") - (synopsis "Rust implementation of BLAKE2 based on RFC 7693") - (description - "This package provides a pure Rust implementation of BLAKE2 based on RFC -7693.") - (license (list license:asl2.0 license:expat)))) - (define-public rust-blake2b-simd-0.5 (package (name "rust-blake2b-simd") @@ -7774,29 +7227,6 @@ BLAKE2bp hash functions.") based on Blake2s.") (license (list license:expat license:asl2.0)))) -(define-public rust-blas-sys-0.7 - (package - (name "rust-blas-sys") - (version "0.7.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "blas-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0h14zjycwc76v15h8qll9z1xiryvmpvsb5gam97pqpdjrrwv5c8k")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) - (home-page "https://github.com/blas-lapack-rs/blas-sys") - (synopsis "Bindings to BLAS (Fortran)") - (description - "This package provides bindings to BLAS (Fortran).") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-blobby-0.3 (package (name "rust-blobby") @@ -7909,27 +7339,6 @@ extension of blocks.") (("rust-block-padding" ,rust-block-padding-0.2) ("rust-generic-array" ,rust-generic-array-0.14)))))) -(define-public rust-block-buffer-0.8 - (package - (inherit rust-block-buffer-0.9) - (name "rust-block-buffer") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "block-buffer" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0c9x5b8pk25i13bajqjkzf03bm5hx2y8pi9llfvjpy3nhr295kyv")))) - (arguments - `(#:cargo-inputs - (("rust-block-padding" ,rust-block-padding-0.1) - ("rust-byte-tools" ,rust-byte-tools-0.3) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-generic-array" ,rust-generic-array-0.14)))))) - (define-public rust-block-buffer-0.7 (package (inherit rust-block-buffer-0.9) @@ -8201,37 +7610,6 @@ programs.") ("rust-parking" ,rust-parking-1) ("rust-waker-fn" ,rust-waker-fn-1)))))) -(define-public rust-boomphf-0.5 - (package - (name "rust-boomphf") - (version "0.5.9") - (source - (origin - (method url-fetch) - (uri (crate-uri "boomphf" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0braniw72g9yq5006sfgc1g8d4317bb524c694jw6nggizrvg3sf")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) - ("rust-log" ,rust-log-0.4) - ("rust-rayon" ,rust-rayon-1) - ("rust-serde" ,rust-serde-1) - ("rust-wyhash" ,rust-wyhash-0.5)) - #:cargo-development-inputs - (("rust-bencher" ,rust-bencher-0.1) - ("rust-quickcheck" ,rust-quickcheck-1)))) - (home-page "https://github.com/10XGenomics/rust-boomphf") - (synopsis "Scalable and Efficient Minimal Perfect Hash Functions") - (description "This package provides a Rust implementation of -@url{https://arxiv.org/abs/1702.03154, fast and scalable minimal perfect hashing -for massive key sets}. It generates an @acronym{MPHF, minimal perfect hash -functions} for a collection of hashable objects.") - (license license:expat))) - (define-public rust-boxfnonce-0.1 (package (name "rust-boxfnonce") @@ -8513,33 +7891,6 @@ alphabet.") "This crate provides encoding and decoding support for BSON.") (license license:expat))) -(define-public rust-bson-0.14 - (package - (inherit rust-bson-2) - (name "rust-bson") - (version "0.14.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "bson" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "000wqyb4icy32h74wl5wb6iw2flzwwlrpgq51xgcw91g2b87w5rw")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-decimal" ,rust-decimal-2) - ("rust-hex" ,rust-hex-0.3) - ("rust-libc" ,rust-libc-0.2) - ("rust-linked-hash-map" ,rust-linked-hash-map-0.5) - ("rust-md5" ,rust-md5-0.6) - ("rust-rand" ,rust-rand-0.7) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-time" ,rust-time-0.1)))))) - (define-public rust-bstr-0.2 (package (name "rust-bstr") @@ -8573,21 +7924,6 @@ alphabet.") UTF-8.") (license (list license:expat license:asl2.0)))) -(define-public rust-bstr-0.1 - (package - (inherit rust-bstr-0.2) - (name "rust-bstr") - (version "0.1.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "bstr" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0nzi9vqhl56ws8gq39f3aj4qjrr4l3g5lbkkcj8xq1x4cb74wq2r")))))) - (define-public rust-buf-redux-0.8 (package (name "rust-buf-redux") @@ -8793,24 +8129,6 @@ automatically collect information about the system and the environment that users can send along with a bug report.") (license (list license:expat license:asl2.0)))) -(define-public rust-bugreport-0.3 - (package - (inherit rust-bugreport-0.4) - (name "rust-bugreport") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "bugreport" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1n5f1nkqbc5yf9bckjap49pwnqnvdczm6x9y23caaghpgw0n4rqi")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-snailquote" ,rust-snailquote-0.3) - ("rust-sys-info" ,rust-sys-info-0.7)))))) - (define-public rust-build-const-0.2 (package (name "rust-build-const") @@ -8855,26 +8173,6 @@ constants from build.rs or a script.") "This package provides a fast bump allocation arena for Rust.") (license (list license:asl2.0 license:expat)))) -(define-public rust-bumpalo-2 - (package - (inherit rust-bumpalo-3) - (name "rust-bumpalo") - (version "2.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "bumpalo" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "020psxs5dlm0gdbs83rx2rcavibdshdr0fpzk3mmw65zq8ppz05d")))) - (arguments - `(#:tests? #f ; cargo_readme_up_to_date test fails - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.2) - ("rust-quickcheck" ,rust-quickcheck-0.8)))))) - (define-public rust-bv-0.11 (package (name "rust-bv") @@ -9552,32 +8850,6 @@ CachePadded to ensure updating one piece of data doesn't invalidate other cached data.") (license (list license:asl2.0 license:expat)))) -(define-public rust-cachedir-0.1 - (package - (name "rust-cachedir") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "cachedir" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1j18j73fxrr82marcdrn86123vr9v5n0fgyjkf9mi9pzyk8hjrf0")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-tempfile" ,rust-tempfile-3)) - ;; Tests require a mutable home directory and access to /var/tmp. - #:tests? #f)) - (home-page "https://github.com/lilianmoraru/cachedir") - (synopsis "Interact with cache directories and @file{CACHEDIR.TAG} files") - (description - "This package provides a library to help interacting with cache -directories and @code{CACHEDIR.TAG} files.") - (license (list license:expat license:asl2.0)))) - (define-public rust-calamine-0.18 (package (name "rust-calamine") @@ -9611,54 +8883,6 @@ directories and @code{CACHEDIR.TAG} files.") spreadsheet file.") (license license:expat))) -(define-public rust-calamine-0.17 - (package - (inherit rust-calamine-0.18) - (name "rust-calamine") - (version "0.17.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "calamine" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "095sx7dma2p1pn464l51ac6drih3c1bhwfw8g0y00vdwqwmrrvn8")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-codepage" ,rust-codepage-0.1) - ("rust-encoding-rs" ,rust-encoding-rs-0.8) - ("rust-log" ,rust-log-0.4) - ("rust-quick-xml" ,rust-quick-xml-0.19) - ("rust-serde" ,rust-serde-1) - ("rust-zip" ,rust-zip-0.5)))))) - -(define-public rust-calamine-0.16 - (package - (inherit rust-calamine-0.17) - (name "rust-calamine") - (version "0.16.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "calamine" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "03nl0n79rbq5x0crgg59brxr86hc9k5kjbf3h7d5c8g5mzlkxf9n")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-codepage" ,rust-codepage-0.1) - ("rust-encoding-rs" ,rust-encoding-rs-0.8) - ("rust-log" ,rust-log-0.4) - ("rust-quick-xml" ,rust-quick-xml-0.19) - ("rust-serde" ,rust-serde-1) - ("rust-zip" ,rust-zip-0.5)))))) - (define-public rust-calloop-0.9 (package (name "rust-calloop") @@ -9735,7 +8959,7 @@ spreadsheet file.") (define-public rust-camino-1 (package (name "rust-camino") - (version "1.0.4") + (version "1.1.1") (source (origin (method url-fetch) @@ -9744,23 +8968,12 @@ spreadsheet file.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1a91b5i4n6ikg7p5pgvj3hjac1gnwjmdqsi3k83al2d701nqqr6l")))) + "07jc2jsyyhd2d0clpr0ama61b2hv09qzbfba2mx27pc87qg0xbc8")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-anyhow" ,rust-anyhow-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-structopt" ,rust-structopt-0.3)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-version-requirements - (lambda _ - (substitute* "Cargo.toml" - (("1.0.38") ,(package-version rust-anyhow-1))) - #t))))) + `(#:cargo-inputs + (("rust-proptest" ,rust-proptest-1) + ("rust-serde" ,rust-serde-1)))) (home-page "https://github.com/withoutboats/camino") (synopsis "UTF-8 paths") @@ -9811,27 +9024,6 @@ canonical filesystem paths.") encoding.") (license license:expat))) -(define-public rust-capnp-0.10 - (package - (inherit rust-capnp-0.13) - (name "rust-capnp") - (version "0.10.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "capnp" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "17hsnmlcrzksjjpwpz51y8g36xzq8042i2cwns0lsg7rixfw2rxq")))) - (arguments - `(#:cargo-inputs - (("rust-futures" ,rust-futures-0.1) - ("rust-quickcheck" ,rust-quickcheck-0.2)) - #:cargo-development-inputs - (("rust-quickcheck" ,rust-quickcheck-0.2)))))) - (define-public rust-capnp-futures-0.13 (package (name "rust-capnp-futures") @@ -9857,28 +9049,6 @@ encoding.") messages.") (license license:expat))) -(define-public rust-capnp-futures-0.10 - (package - (inherit rust-capnp-futures-0.13) - (name "rust-capnp-futures") - (version "0.10.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "capnp-futures" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0qdiqkp9mh4acpa0dqhpzv2gwf949rj3m85mgwl1rih6gvgbh1zs")))) - (arguments - `(#:cargo-inputs - (("rust-capnp" ,rust-capnp-0.10) - ("rust-futures" ,rust-futures-0.1)) - #:cargo-development-inputs - (("rust-capnp" ,rust-capnp-0.10) - ("rust-quickcheck" ,rust-quickcheck-0.2)))))) - (define-public rust-capnp-rpc-0.13 (package (name "rust-capnp-rpc") @@ -9906,27 +9076,6 @@ messages.") remote procedure call protocol") (license license:expat))) -(define-public rust-capnp-rpc-0.10 - (package - (inherit rust-capnp-rpc-0.13) - (name "rust-capnp-rpc") - (version "0.10.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "capnp-rpc" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1j6xg7yays1hlm1045wviyn1642yvvi2p4kba26yk07a0kafr3jn")))) - (arguments - `(#:cargo-inputs - (("rust-capnp" ,rust-capnp-0.10) - ("rust-capnp-futures" ,rust-capnp-futures-0.10) - ("rust-capnpc" ,rust-capnpc-0.10) - ("rust-futures" ,rust-futures-0.1)))))) - (define-public rust-capnpc-0.13 (package (name "rust-capnpc") @@ -9947,24 +9096,6 @@ remote procedure call protocol") (description "Cap'n Proto code generation") (license license:expat))) -(define-public rust-capnpc-0.10 - (package - (inherit rust-capnpc-0.13) - (name "rust-capnpc") - (version "0.10.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "capnpc" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1zxbmdkr0xfzkfq9p8zn7pp9jjq275qhr8fh9a0cc0ab37yfvbyj")))) - (arguments - `(#:cargo-inputs - (("rust-capnp" ,rust-capnp-0.10)))))) - (define-public rust-caps-0.5 (package (name "rust-caps") @@ -10097,167 +9228,46 @@ capabilities.") the library crate of Cargo.") (license (list license:expat license:asl2.0)))) -(define-public rust-cargo-0.51 +(define-public rust-cargo-metadata-0.15 (package - (inherit rust-cargo-0.53) - (name "rust-cargo") - (version "0.51.0") - (source (origin - (method url-fetch) - (uri (crate-uri "cargo" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1dpf04hwcv3i2hc3ppycnq72p1b5wa9gdaaayqradbdyvk5qjzdv")))) + (name "rust-cargo-metadata") + (version "0.15.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cargo-metadata" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0dpcddizs4zhbvbsv3kxx9p0qppidxh05jz7dlf45f5rsm9pbfrs")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Allow older versions of the serde crates. + (substitute* "Cargo.toml" + (("1.0.136") "1.0.133") + (("1.0.79") "1.0.74")))))) + (build-system cargo-build-system) (arguments - `(;; The test suite is disabled as the internal 'cargo-test-macro' and - ;; 'cargo-test-support' crates are not included in the release. - #:tests? #false + `(#:tests? #f ; Not all tests included. #:cargo-inputs - (("rust-anyhow" ,rust-anyhow-1) - ("rust-atty" ,rust-atty-0.2) - ("rust-bytesize" ,rust-bytesize-1) + (("rust-camino" ,rust-camino-1) ("rust-cargo-platform" ,rust-cargo-platform-0.1) - ("rust-clap" ,rust-clap-2) - ("rust-core-foundation" ,rust-core-foundation-0.9) - ("rust-crates-io" ,rust-crates-io-0.31) - ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) - ("rust-crypto-hash" ,rust-crypto-hash-0.3) - ("rust-curl" ,rust-curl-0.4) - ("rust-curl-sys" ,rust-curl-sys-0.4) - ("rust-env-logger" ,rust-env-logger-0.8) - ("rust-filetime" ,rust-filetime-0.2) - ("rust-flate2" ,rust-flate2-1) - ("rust-fwdansi" ,rust-fwdansi-1) - ("rust-git2" ,rust-git2-0.13) - ("rust-git2-curl" ,rust-git2-curl-0.14) - ("rust-glob" ,rust-glob-0.3) - ("rust-hex" ,rust-hex-0.4) - ("rust-home" ,rust-home-0.5) - ("rust-humantime" ,rust-humantime-2) - ("rust-ignore" ,rust-ignore-0.4) - ("rust-im-rc" ,rust-im-rc-15) - ("rust-jobserver" ,rust-jobserver-0.1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-lazycell" ,rust-lazycell-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-libgit2-sys" ,rust-libgit2-sys-0.12) - ("rust-log" ,rust-log-0.4) - ("rust-memchr" ,rust-memchr-2) - ("rust-miow" ,rust-miow-0.3) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-opener" ,rust-opener-0.4) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.4) - ("rust-rustc-workspace-hack" ,rust-rustc-workspace-hack-1) - ("rust-rustfix" ,rust-rustfix-0.5) - ("rust-same-file" ,rust-same-file-1) - ("rust-semver" ,rust-semver-0.10) - ("rust-serde" ,rust-serde-1) - ("rust-serde-ignored" ,rust-serde-ignored-0.1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-shell-escape" ,rust-shell-escape-0.1) - ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.1) - ("rust-tar" ,rust-tar-0.4) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-termcolor" ,rust-termcolor-1) - ("rust-toml" ,rust-toml-0.5) - ("rust-unicode-width" ,rust-unicode-width-0.1) - ("rust-unicode-xid" ,rust-unicode-xid-0.2) - ("rust-url" ,rust-url-2) - ("rust-walkdir" ,rust-walkdir-2) - ("rust-winapi" ,rust-winapi-0.3)))))) - -(define-public rust-cargo-audit-0.16 - (package - (name "rust-cargo-audit") - (version "0.16.0") - (source (origin - (method url-fetch) - (uri (crate-uri "cargo-audit" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1ixlfc8h7qgyr1ng37kx1f222g3pc97sm72pgj1mkl6q3daf5a7m")))) - (build-system cargo-build-system) - (arguments - ;; disable due to network connection - ;; https://github.com/rustsec/rustsec/issues/507 - `(#:tests? #f - #:cargo-inputs - (("rust-abscissa-core" ,rust-abscissa-core-0.5) - ("rust-gumdrop" ,rust-gumdrop-0.7) - ("rust-home" ,rust-home-0.5) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-rustsec" ,rust-rustsec-0.25) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-thiserror" ,rust-thiserror-1)) - #:cargo-development-inputs - (("rust-abscissa-core" ,rust-abscissa-core-0.5) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-toml" ,rust-toml-0.5)))) - (native-inputs (list pkg-config)) - (inputs (list libssh2 openssl zlib)) - (home-page "https://rustsec.org") - (synopsis "Audit @file{Cargo.lock} for crates with security vulnerabilities") - (description "This package audits @file{Cargo.lock} for crates with -security vulnerabilities.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-cargo-edit-0.8 - (package - (name "rust-cargo-edit") - (version "0.8.0") - (source (origin - (method url-fetch) - (uri (crate-uri "cargo-edit" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0yk5f4qjzflfqzgfws9zifij2fqchc9q551m7ljznmjrhlif2yh4")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-atty" ,rust-atty-0.2) - ("rust-error-chain" ,rust-error-chain-0.12) - ("rust-git2" ,rust-git2-0.13) - ("rust-hex" ,rust-hex-0.4) - ("rust-regex" ,rust-regex-1) + ("rust-derive-builder" ,rust-derive-builder-0.11) ("rust-semver" ,rust-semver-1) ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-termcolor" ,rust-termcolor-1) - ("rust-toml-edit" ,rust-toml-edit-0.3) - ("rust-url" ,rust-url-2) - ("rust-crates-index" ,rust-crates-index-0.17) - ("rust-cargo-metadata" ,rust-cargo-metadata-0.14) - ("rust-dirs-next" ,rust-dirs-next-2) - ("rust-dunce" ,rust-dunce-1) - ("rust-env-proxy" ,rust-env-proxy-0.4) - ("rust-pathdiff" ,rust-pathdiff-0.2) - ("rust-structopt" ,rust-structopt-0.3) - ("rust-subprocess" ,rust-subprocess-0.2) - ("rust-toml-edit" ,rust-toml-edit-0.3) - ("rust-ureq" ,rust-ureq-1)) - #:cargo-development-inputs - (("rust-assert-cmd" ,rust-assert-cmd-2) - ("rust-assert-fs" ,rust-assert-fs-1) - ("rust-predicates" ,rust-predicates-2) - ("rust-pretty-assertions" ,rust-pretty-assertions-0.6)))) - (home-page "https://github.com/killercup/cargo-edit") - (synopsis "Add and remove dependencies from the command line") + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/oli-obk/cargo_metadata") + (synopsis "Structured access to the output of `cargo metadata`") (description - "This package extends Cargo to allow you to add and remove dependencies -by modifying your @file{Cargo.toml} file from the command line.") - (license (list license:asl2.0 license:expat)))) + "This package provides structured access to the output of @code{cargo +metadata}.") + (license license:expat))) (define-public rust-cargo-metadata-0.14 (package + (inherit rust-cargo-metadata-0.15) (name "rust-cargo-metadata") (version "0.14.1") (source @@ -10269,7 +9279,6 @@ by modifying your @file{Cargo.toml} file from the command line.") (sha256 (base32 "04kfzvmh80pq0bw1cwzlz71wfrign2k7792mc4gi8hs1jkgfcams")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -10278,13 +9287,7 @@ by modifying your @file{Cargo.toml} file from the command line.") ("rust-derive-builder" ,rust-derive-builder-0.9) ("rust-semver" ,rust-semver-1) ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/oli-obk/cargo_metadata") - (synopsis "Structured access to the output of `cargo metadata`") - (description - "This package provides structured access to the output of @code{cargo -metadata}.") - (license license:expat))) + ("rust-serde-json" ,rust-serde-json-1)))))) (define-public rust-cargo-metadata-0.13 (package @@ -10434,29 +9437,6 @@ optional dependency graph analysis.") supported by Cargo.") (license (list license:expat license:asl2.0)))) -(define-public rust-cargon-0.0 - (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-0.3)))) - (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-cassowary-0.3 (package (name "rust-cassowary") @@ -10744,25 +9724,6 @@ expressions.") #:cargo-development-inputs (("rust-difference" ,rust-difference-2)))))) -(define-public rust-cfg-expr-0.7 - (package - (inherit rust-cfg-expr-0.8) - (name "rust-cfg-expr") - (version "0.7.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "cfg-expr" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0sn2mw7s2i9qr5mrbyarz0mn5vb3iv6z656va6sccf5qzcprxaih")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-smallvec" ,rust-smallvec-1) - ("rust-target-lexicon" ,rust-target-lexicon-0.11)))))) - (define-public rust-cfg-if-1 (package (name "rust-cfg-if") @@ -11011,30 +9972,6 @@ clauses.") "Recursive solver for the Chalk project") (license (list license:asl2.0 license:expat)))) -(define-public rust-chalk-recursive-0.68 - (package - (inherit rust-chalk-recursive-0.75) - (name "rust-chalk-recursive") - (version "0.68.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "chalk-recursive" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "11ak4zl5lgyh88scjm91fc9wjcyxb4s1kkcanhhi0ci755nl1pz0")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-chalk-derive" ,rust-chalk-derive-0.68) - ("rust-chalk-ir" ,rust-chalk-ir-0.68) - ("rust-chalk-solve" ,rust-chalk-solve-0.68) - ("rust-rustc-hash" ,rust-rustc-hash-1) - ("rust-tracing" ,rust-tracing-0.1)))))) - (define-public rust-chalk-solve-0.75 (package (name "rust-chalk-solve") @@ -11069,35 +10006,6 @@ clauses.") "This package provides a combines the chalk-engine with chalk-ir.") (license (list license:asl2.0 license:expat)))) -(define-public rust-chalk-solve-0.68 - (package - (inherit rust-chalk-solve-0.75) - (name "rust-chalk-solve") - (version "0.68.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "chalk-solve" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0dvf1rm1z7miwlsmynxfys0189r6mjq863p1wp4v3f2sm9fwvgqc")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-chalk-derive" ,rust-chalk-derive-0.68) - ("rust-chalk-ir" ,rust-chalk-ir-0.68) - ("rust-ena" ,rust-ena-0.14) - ("rust-itertools" ,rust-itertools-0.10) - ("rust-petgraph" ,rust-petgraph-0.5) - ("rust-rustc-hash" ,rust-rustc-hash-1) - ("rust-tracing" ,rust-tracing-0.1) - ("rust-tracing-subscriber" - ,rust-tracing-subscriber-0.2) - ("rust-tracing-tree" ,rust-tracing-tree-0.1)))))) - (define-public rust-charset-0.1 (package (name "rust-charset") @@ -11743,24 +10651,6 @@ colorization.") (("rust-lazy-bytes-cast" ,rust-lazy-bytes-cast-5) ("rust-winapi" ,rust-winapi-0.3)))))) -(define-public rust-clipboard-win-2 - (package - (inherit rust-clipboard-win-3) - (name "rust-clipboard-win") - (version "2.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "clipboard-win" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0431sg4jhabrqf2dliiwhbx9hinb9z4qfcm6914lm5mb17ya5798")))) - (arguments - `(#:tests? #f ; Tests are for Windows. - #:cargo-inputs (("rust-winapi" ,rust-winapi-0.3)))))) - (define-public rust-clippy-0.0 (package (name "rust-clippy") @@ -11967,51 +10857,6 @@ contains all syscalls and related types.") license:asl2.0 license:zlib)))) -(define-public rust-cloudflare-zlib-sys-0.2 - (package - (inherit rust-cloudflare-zlib-sys-0.3) - (name "rust-cloudflare-zlib-sys") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "cloudflare-zlib-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "01lwfd15ijw4d8jsqp87yv4wpmzcp84qm0qqwy3yxmm0fjr5q6by")))) - ;; This crate bundles cloudflare's fork of zlib, so we don't unbundle it. - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cc" ,rust-cc-1)))))) - -(define-public rust-cmac-0.5 - (package - (name "rust-cmac") - (version "0.5.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "cmac" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0wj2kd4lb5hb7dvxfad4hi8gklmbq8vvvcnzmmqgxr94fx7xxm3k")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-crypto-mac" ,rust-crypto-mac-0.10) - ("rust-dbl" ,rust-dbl-0.3)))) - (home-page "https://docs.rs/cmac/") - (synopsis "Generic implementation of Cipher-based Message Authentication -Code") - (description "This package provides a pure Rust implementation of the -Cipher-based Message Authentication Code (CMAC).") - (license (list license:expat license:asl2.0)))) ; at your choice - (define-public rust-cmake-0.1 (package (name "rust-cmake") @@ -12308,24 +11153,6 @@ sets of intervals.") (description "This package provides colorful panic backtraces.") (license (list license:expat license:asl2.0)))) -(define-public rust-color-backtrace-0.3 - (package - (inherit rust-color-backtrace-0.5) - (name "rust-color-backtrace") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "color-backtrace" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0mx9ycb70mqbs6z107ri5g09wz5k7pa0vfnys28wfqycg083zlb5")))) - (arguments - `(#:cargo-inputs - (("rust-atty" ,rust-atty-0.2) - ("rust-backtrace" ,rust-backtrace-0.3) - ("rust-termcolor" ,rust-termcolor-1)))))) - (define-public rust-color-quant-1 (package (name "rust-color-quant") @@ -12398,19 +11225,6 @@ colors.") (base32 "0nbc1czs512h1k696y7glv1kjrb2b914zpxraic6q5fgv80wizzl")))))) -(define-public rust-colored-1.9.1 - (package - (inherit rust-colored-1) - (name "rust-colored") - (version "1.9.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "colored" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0fildacm47g86acmx44yvxx6cka8fdym5qkgfm8x8gh2hsrghc7r")))))) - (define-public rust-combine-4 (package (name "rust-combine") @@ -13452,43 +12266,6 @@ It supports signed and private (encrypted + signed) jars.") similar to the nom parser combinators library.") (license license:expat))) -(define-public rust-cookie-store-0.7 - (package - (name "rust-cookie-store") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "cookie-store" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "174i9k9g62pfx7y1nqynywdpjplkl3j4hi3ck6bz2r996qzhnxa6")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cookie" ,rust-cookie-0.12) - ("rust-idna" ,rust-idna-0.1) - ("rust-log" ,rust-log-0.4) - ("rust-publicsuffix" ,rust-publicsuffix-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-time" ,rust-time-0.1) - ("rust-try-from" ,rust-try-from-0.3) - ("rust-url" ,rust-url-1)) - #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger-0.6) - ("rust-pretty-assertions" ,rust-pretty-assertions-0.6)))) - (home-page "https://github.com/pfernie/cookie_store") - (synopsis "Implementation of Cookie storage and retrieval per RFC6265") - (description - "This crate provides an implementation for storing and retrieving Cookies per -the path and domain matching rules specified in RFC6265. - -Split from the user_agent crate.") - (license (list license:asl2.0 license:expat)))) - (define-public rust-copyless-0.1 (package (name "rust-copyless") @@ -13914,28 +12691,6 @@ intrinsics.") (description "This package provides bindings to the Core Text framework.") (license (list license:expat license:asl2.0)))) -(define-public rust-core-text-13 - (package - (inherit rust-core-text-19) - (name "rust-core-text") - (version "13.3.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "core-text" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0v9lxn277p39cf81pb45r7k0lzf17pwgd5cpry1c04ajv556b16v")))) - (arguments - `(#:skip-build? #t ; only for macOS - #:cargo-inputs - (("rust-core-foundation" ,rust-core-foundation-0.6) - ("rust-core-graphics" ,rust-core-graphics-0.17) - ("rust-foreign-types" ,rust-foreign-types-0.3) - ("rust-libc" ,rust-libc-0.2)))))) - (define-public rust-cov-mark-2 (package (name "rust-cov-mark") @@ -13956,22 +12711,6 @@ intrinsics.") (description "This package provides a Manual coverage marks.") (license (list license:expat license:asl2.0)))) -(define-public rust-cov-mark-1 - (package - (inherit rust-cov-mark-2) - (name "rust-cov-mark") - (version "1.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "cov-mark" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1wv75ylrai556m388a40d50fxiyacmvm6qqz6va6qf1q04z3vylz")))) - (arguments `(#:skip-build? #t)))) - (define-public rust-countme-3 (package (name "rust-countme") @@ -13998,27 +12737,6 @@ intrinsics.") "This package provides a counts the number of live instances of types.") (license (list license:expat license:asl2.0)))) -(define-public rust-countme-2 - (package - (inherit rust-countme-3) - (name "rust-countme") - (version "2.0.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "countme" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0n6bzg2g6gsmgabyzbcfkyb9y9mzxsvavng85d04wkdsvhmq52rj")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-dashmap" ,rust-dashmap-4) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-rustc-hash" ,rust-rustc-hash-1)))))) - (define-public rust-cpp-demangle-0.3 (package (name "rust-cpp-demangle") @@ -14043,30 +12761,6 @@ intrinsics.") "This package provides a crate for demangling C++ symbols.") (license (list license:asl2.0 license:expat)))) -(define-public rust-cpp-demangle-0.2 - (package - (inherit rust-cpp-demangle-0.3) - (name "rust-cpp-demangle") - (version "0.2.16") - (source - (origin - (method url-fetch) - (uri (crate-uri "cpp_demangle" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0bamx2c78xzjhhvpg6p9bjarl6qm6j8npm6756kiqdh784w29j8k")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-afl" ,rust-afl-0.8) - ("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-glob" ,rust-glob-0.3)) - #:cargo-development-inputs - (("rust-clap" ,rust-clap-2) - ("rust-diff" ,rust-diff-0.1)))))) - (define-public rust-cpufeatures-0.2 (package (name "rust-cpufeatures") @@ -14100,27 +12794,6 @@ to the @code{is_x86_feature_detected!} macro.") (sha256 (base32 "1j0i97325c2grndsfgnm3lqk0xbyvdl2dbgn8i5dd9yhnmycc07d")))))) -(define-public rust-cpuid-bool-0.1 - (package - (name "rust-cpuid-bool") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "cpuid-bool" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1r3v22cxly1shvw8qi0153708kggdqvh8jp0g82wbxi06d1mqdvd")))) - (build-system cargo-build-system) - (home-page "https://github.com/RustCrypto/utils") - (synopsis "Lightweight alternative to is_x86_feature_detected") - (description - "This package provides a lightweight @code{no-std} compatible alternative -to @code{is_x86_feature_detected}.") - (license (list license:expat license:asl2.0)))) - (define-public rust-cpuprofiler-0.0 (package (name "rust-cpuprofiler") @@ -14147,8 +12820,42 @@ to @code{is_x86_feature_detected}.") (description "This package provides bindings to Google's cpu profiler.") (license license:bsd-2))) +(define-public rust-crates-index-0.18 + (package + (name "rust-crates-index") + (version "0.18.10") + (source (origin + (method url-fetch) + (uri (crate-uri "crates-index" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1x7f7xfvqzlacji88iaz9n4k7wip72sk4gfvxvccli0cbf2yqirl")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-git2" ,rust-git2-0.15) + ("rust-hex" ,rust-hex-0.4) + ("rust-home" ,rust-home-0.5) + ("rust-memchr" ,rust-memchr-2) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-rayon" ,rust-rayon-1) + ("rust-rustc-hash" ,rust-rustc-hash-1) + ("rust-semver" ,rust-semver-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-smartstring" ,rust-smartstring-1)))) + (home-page "https://github.com/frewsxcv/rust-crates-index") + (synopsis "Retrieving and interacting with the crates.io index") + (description + "Library for retrieving and interacting with the crates.io index.") + (license license:asl2.0))) + (define-public rust-crates-index-0.17 (package + (inherit rust-crates-index-0.18) (name "rust-crates-index") (version "0.17.0") (source (origin @@ -14158,7 +12865,6 @@ to @code{is_x86_feature_detected}.") (sha256 (base32 "0izrm8m4wic5kp5y4p3f3d50lrlbamp3wizlgr4hm56rimfazm4a")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -14171,12 +12877,7 @@ to @code{is_x86_feature_detected}.") ("rust-serde" ,rust-serde-1) ("rust-serde-derive" ,rust-serde-derive-1) ("rust-serde-json" ,rust-serde-json-1) - ("rust-smartstring" ,rust-smartstring-0.2)))) - (home-page "https://github.com/frewsxcv/rust-crates-index") - (synopsis "Retrieving and interacting with the crates.io index") - (description - "Library for retrieving and interacting with the crates.io index.") - (license license:asl2.0))) + ("rust-smartstring" ,rust-smartstring-0.2)))))) (define-public rust-crates-index-0.13 (package @@ -14256,28 +12957,6 @@ to @code{is_x86_feature_detected}.") @url{crates.io}.") (license (list license:expat license:asl2.0)))) -(define-public rust-crates-io-0.31 - (package - (inherit rust-crates-io-0.33) - (name "rust-crates-io") - (version "0.31.1") - (source (origin - (method url-fetch) - (uri (crate-uri "crates-io" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0jhx0pgprlzypq037rkdsc2k3knlimx2vp5k7vwyvsa6iaa7gy89")))) - (arguments - `(#:cargo-inputs - (("rust-anyhow" ,rust-anyhow-1) - ("rust-curl" ,rust-curl-0.4) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-url" ,rust-url-2)))))) - (define-public rust-crc-1 (package (name "rust-crc") @@ -14743,27 +13422,6 @@ message passing.") #:cargo-development-inputs (("rust-rand" ,rust-rand-0.6)))))) -(define-public rust-crossbeam-deque-0.6 - (package - (inherit rust-crossbeam-deque-0.7) - (name "rust-crossbeam-deque") - (version "0.6.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "crossbeam-deque" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "04rcpgjs6ns57vag8a3dzx26190dhbvy2l0p9n22b9p1yf64pr05")))) - (arguments - `(#:cargo-inputs - (("rust-crossbeam-epoch" ,rust-crossbeam-epoch-0.7) - ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6)) - #:cargo-development-inputs - (("rust-rand" ,rust-rand-0.6)))))) - (define-public rust-crossbeam-epoch-0.9 (package (name "rust-crossbeam-epoch") @@ -14817,31 +13475,6 @@ message passing.") #:cargo-development-inputs (("rust-rand" ,rust-rand-0.6)))))) -(define-public rust-crossbeam-epoch-0.7 - (package - (inherit rust-crossbeam-epoch-0.8) - (name "rust-crossbeam-epoch") - (version "0.7.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "crossbeam-epoch" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1a9prma2nalqvys7f8wrazkdzh26w3mi5gzrk8mdmwrp5rvxdp7y")))) - (arguments - `(#:cargo-inputs - (("rust-arrayvec" ,rust-arrayvec-0.4) - ("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-memoffset" ,rust-memoffset-0.5) - ("rust-scopeguard" ,rust-scopeguard-1)) - #:cargo-development-inputs - (("rust-rand" ,rust-rand-0.6)))))) - (define-public rust-crossbeam-queue-0.3 (package (name "rust-crossbeam-queue") @@ -15008,35 +13641,6 @@ message passing.") rasterizing glyphs, using native font engines whenever possible.") (license license:asl2.0))) -(define-public rust-crossfont-0.2 - (package - (inherit rust-crossfont-0.3) - (name "rust-crossfont") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "crossfont" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "04p8k0yn19n2pdbiqzwkknakz9c7kdii0i2nf3s3p298ab7ld28h")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cocoa" ,rust-cocoa-0.24) - ("rust-core-foundation" ,rust-core-foundation-0.9) - ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8) - ("rust-core-graphics" ,rust-core-graphics-0.22) - ("rust-core-text" ,rust-core-text-19) - ("rust-dwrote" ,rust-dwrote-0.11) - ("rust-foreign-types" ,rust-foreign-types-0.5) - ("rust-freetype-rs" ,rust-freetype-rs-0.26) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-servo-fontconfig" ,rust-servo-fontconfig-0.5) - ("rust-winapi" ,rust-winapi-0.3)))))) - (define-public rust-crossterm-0.20 (package (name "rust-crossterm") @@ -15095,53 +13699,6 @@ terminals.") ("rust-signal-hook" ,rust-signal-hook-0.1) ("rust-winapi" ,rust-winapi-0.3)))))) -(define-public rust-crossterm-0.18 - (package - (inherit rust-crossterm-0.19) - (name "rust-crossterm") - (version "0.18.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "crossterm" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1yxpskm03lknj6h0rhggm54xzlpm1ir8q2nid1bpnh0b58zxg1jf")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-crossterm-winapi" ,rust-crossterm-winapi-0.6) - ("rust-futures-core" ,rust-futures-core-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-mio" ,rust-mio-0.7) - ("rust-parking-lot" ,rust-parking-lot-0.11) - ("rust-serde" ,rust-serde-1) - ("rust-signal-hook" ,rust-signal-hook-0.1) - ("rust-winapi" ,rust-winapi-0.3)))))) - -(define-public rust-crossterm-0.13 - (package - (inherit rust-crossterm-0.19) - (name "rust-crossterm") - (version "0.13.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "crossterm" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1jw9s85mnhpkk38lihr4ildip4jhfhc3h86npncd92i4mdb257vm")))) - (arguments - `(#:cargo-inputs - (("rust-crossterm-winapi" ,rust-crossterm-winapi-0.4) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-mio" ,rust-mio-0.6) - ("rust-serde" ,rust-serde-1) - ("rust-winapi" ,rust-winapi-0.3)))))) - (define-public rust-crossterm-winapi-0.8 (package (name "rust-crossterm-winapi") @@ -15569,34 +14126,6 @@ algorithms.") hash functions.") (license license:expat))) -(define-public rust-cryptovec-0.4 - (package - (name "rust-cryptovec") - (version "0.4.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "cryptovec" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1n88dmhfb2dxs48zllq1g1dya76zx4fajw482qy8jj4hgg1da4p4")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; CryptoVec::from_slice failed - #:cargo-inputs - (("rust-kernel32-sys" ,rust-kernel32-sys-0.2) - ("rust-libc" ,rust-libc-0.2) - ("rust-winapi" ,rust-winapi-0.2)))) - (home-page "https://crates.io/crates/cryptovec") - (synopsis - "Vector which zeroes its memory on clears and reallocations") - (description - "This package provides a vector which zeroes its memory on clears and -reallocations.") - (license license:asl2.0))) - (define-public rust-cssparser-0.28 (package (name "rust-cssparser") @@ -16483,10 +15012,10 @@ crate (implementation detail).") (description "Daemonize is a Rust library for writing system deaemons.") (license (list license:expat license:asl2.0)))) -(define-public rust-darling-0.13 +(define-public rust-darling-0.14 (package (name "rust-darling") - (version "0.13.1") + (version "0.14.1") (source (origin (method url-fetch) @@ -16494,13 +15023,13 @@ crate (implementation detail).") (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1x7pgzjswg28798zd5gk5g6nifhcaqq0apqmclydi39zd2w21myh")))) + (base32 "00mc7svmwphywkwndzkjxsqaxhygrm8f4jv1p1lngzd7vn5naaa5")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-darling-core" ,rust-darling-core-0.13) - ("rust-darling-macro" ,rust-darling-macro-0.13)) + (("rust-darling-core" ,rust-darling-core-0.14) + ("rust-darling-macro" ,rust-darling-macro-0.14)) #:cargo-development-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) @@ -16512,6 +15041,29 @@ crate (implementation detail).") into structs when implementing custom derives.") (license license:expat))) +(define-public rust-darling-0.13 + (package + (inherit rust-darling-0.14) + (name "rust-darling") + (version "0.13.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "darling" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1x7pgzjswg28798zd5gk5g6nifhcaqq0apqmclydi39zd2w21myh")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-darling-core" ,rust-darling-core-0.13) + ("rust-darling-macro" ,rust-darling-macro-0.13)) + #:cargo-development-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) + (define-public rust-darling-0.12 (package (inherit rust-darling-0.13) @@ -16583,17 +15135,17 @@ into structs when implementing custom derives.") ("rust-quote" ,rust-quote-0.6) ("rust-syn" ,rust-syn-0.15)))))) -(define-public rust-darling-core-0.13 +(define-public rust-darling-core-0.14 (package (name "rust-darling-core") - (version "0.13.1") + (version "0.14.1") (source (origin (method url-fetch) (uri (crate-uri "darling_core" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0933k2avb6xk9j4ryr0bvp3pww5j8i0nrqvsnkgd3vic3lj0yd3s")))) + (base32 "0vyvkx7qkz6ap5dwgsz8dg588xjigny8s7mrkz0fmcg806y93734")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t @@ -16611,6 +15163,28 @@ into structs when implementing custom derives.") reading attributes into structs when implementing custom derives.") (license license:expat))) +(define-public rust-darling-core-0.13 + (package + (inherit rust-darling-core-0.14) + (name "rust-darling-core") + (version "0.13.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "darling_core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0933k2avb6xk9j4ryr0bvp3pww5j8i0nrqvsnkgd3vic3lj0yd3s")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-fnv" ,rust-fnv-1) + ("rust-ident-case" ,rust-ident-case-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-strsim" ,rust-strsim-0.10) + ("rust-syn" ,rust-syn-1)))))) + (define-public rust-darling-core-0.12 (package (inherit rust-darling-core-0.13) @@ -16671,22 +15245,22 @@ reading attributes into structs when implementing custom derives.") ("rust-strsim" ,rust-strsim-0.7) ("rust-syn" ,rust-syn-0.15)))))) -(define-public rust-darling-macro-0.13 +(define-public rust-darling-macro-0.14 (package (name "rust-darling-macro") - (version "0.13.1") + (version "0.14.1") (source (origin (method url-fetch) (uri (crate-uri "darling_macro" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0jzljnd0y7idi5lb7lhvymh3nkhaf32ksx0d38hv7zjjfcxipi3j")))) + (base32 "1dag2f4bq38vdn886slqczip5qzhvb95317kl04zrlnbpz2nkz6x")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-darling-core" ,rust-darling-core-0.13) + (("rust-darling-core" ,rust-darling-core-0.14) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))) (home-page "https://github.com/TedDriggs/darling") @@ -16697,6 +15271,25 @@ a proc-macro library for reading attributes into structs when implementing custom derives.") (license license:expat))) +(define-public rust-darling-macro-0.13 + (package + (inherit rust-darling-macro-0.14) + (name "rust-darling-macro") + (version "0.13.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "darling_macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jzljnd0y7idi5lb7lhvymh3nkhaf32ksx0d38hv7zjjfcxipi3j")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-darling-core" ,rust-darling-core-0.13) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) + (define-public rust-darling-macro-0.12 (package (inherit rust-darling-macro-0.13) @@ -16897,34 +15490,6 @@ hexadecimal, base32, and base64.") and arithmetic.") (license license:expat))) -(define-public rust-datetime-0.4 - (package - (inherit rust-datetime-0.5) - (name "rust-datetime") - (version "0.4.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "datetime" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1fd74bq48xg8ki5yw1mr1pa5hd3j5lbk4iqc5r0kh3l62b0vci2w")))) - (arguments - `(#:cargo-inputs - (("rust-iso8601" ,rust-iso8601-0.1) - ("rust-kernel32-sys" ,rust-kernel32-sys-0.2) - ("rust-libc" ,rust-libc-0.2) - ("rust-locale" ,rust-locale-0.2) - ("rust-num-traits" ,rust-num-traits-0.1) - ("rust-pad" ,rust-pad-0.1) - ("rust-redox-syscall" ,rust-redox-syscall-0.1) - ("rust-winapi" ,rust-winapi-0.2)) - #:cargo-development-inputs - (("rust-regex" ,rust-regex-0.1) - ("rust-rustc-serialize" ,rust-rustc-serialize-0.3)))))) - (define-public rust-dbl-0.3 (package (name "rust-dbl") @@ -16981,27 +15546,6 @@ sizes. Big-endian order is used. WARNING: Block must be aligned!") (description "This package provides Rust bindings to D-Bus.") (license (list license:asl2.0 license:expat)))) -(define-public rust-dbus-0.6 - (package - (inherit rust-dbus-0.9) - (name "rust-dbus") - (version "0.6.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "dbus" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "068qyxvaam34sjmhjgxz6iikklvylxly7gp6n00yksqydzrz1da8")))) - (arguments - `(#:tests? #f ;it needs display and sockets and launches daemons - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-libdbus-sys" ,rust-libdbus-sys-0.2)) - #:cargo-development-inputs - (("rust-tempdir" ,rust-tempdir-0.3)))))) - (define-public rust-dbus-tree-0.9 (package (name "rust-dbus-tree") @@ -17373,29 +15917,6 @@ resource-constrained devices, like micro-controllers.") strings.") (license (list license:expat license:asl2.0)))) -(define-public rust-delta-e-0.2 - (package - (name "rust-delta-e") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "delta_e" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "18rxibmi27ark8vj367qm2iqmv5x293l8fm9ang4y2sv3l251sf5")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-lab" ,rust-lab-0.7)))) - (home-page "https://github.com/elliotekj/DeltaE") - (synopsis "Pure Rust implementation of the CIEDE2000 algorithm") - (description "DeltaE is a pure-Rust implementation of the -@url{http://en.wikipedia.org/wiki/Color_difference#CIEDE2000, CIEDE2000} -algorithm which serves to quantify the difference between two colors.") - (license license:expat))) - (define-public rust-demo-hack-0.0 (package (name "rust-demo-hack") @@ -17622,8 +16143,31 @@ Instead, enable the @code{derive} feature of the @code{arbitrary} crate.") (sha256 (base32 "1rp0z4k0j5ip0bx6dssg97l4q6bakhf6lm5h1lpr3p3kwjsi585i")))))) +(define-public rust-derive-builder-0.11 + (package + (name "rust-derive-builder") + (version "0.11.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "derive_builder" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18q4jx8zvg2pkx2d1nmlklx8m48bwrghyg8rdg1irdwkw5xxyynh")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-derive-builder-macro" ,rust-derive-builder-macro-0.11)))) + (home-page "https://github.com/colin-kiegel/rust-derive-builder") + (synopsis "Builder pattern for arbitrary structs") + (description "Rust macro to automatically implement the builder pattern +for arbitrary structs.") + (license (list license:expat license:asl2.0)))) + (define-public rust-derive-builder-0.10 (package + (inherit rust-derive-builder-0.11) (name "rust-derive-builder") (version "0.10.2") (source @@ -17633,16 +16177,10 @@ Instead, enable the @code{derive} feature of the @code{arbitrary} crate.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0c2v6vi0lih3fwwgwx92pspcmkrjz8wxfqwhmr01060ipvg04cni")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-derive-builder-macro" ,rust-derive-builder-macro-0.10)))) - (home-page "https://github.com/colin-kiegel/rust-derive-builder") - (synopsis "Builder pattern for arbitrary structs") - (description "Rust macro to automatically implement the builder pattern -for arbitrary structs.") - (license (list license:expat license:asl2.0)))) + (("rust-derive-builder-macro" ,rust-derive-builder-macro-0.10)))))) (define-public rust-derive-builder-0.9 (package @@ -17697,35 +16235,34 @@ for arbitrary structs.") ("rust-skeptic" ,rust-skeptic-0.13) ("rust-syn" ,rust-syn-0.15)))))) -(define-public rust-derive-builder-0.5 +(define-public rust-derive-builder-core-0.11 (package - (inherit rust-derive-builder-0.9) - (name "rust-derive-builder") - (version "0.5.1") + (name "rust-derive-builder-core") + (version "0.11.2") (source (origin (method url-fetch) - (uri (crate-uri "derive_builder" version)) + (uri (crate-uri "derive_builder_core" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0fgl8dsigr7h70clxjq8xmsfc021w5ag262wfgcqv0ian1m8x6cc")))) + (base32 "1i5gmf5lglbg7agj1khc6k9swf1clfs5fg6w0icw1w91m77x948z")))) + (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-compiletest-rs" ,rust-compiletest-rs-0.3) - ("rust-derive-builder-core" ,rust-derive-builder-core-0.2) - ("rust-env-logger" ,rust-env-logger-0.4) - ("rust-log" ,rust-log-0.3) - ("rust-quote" ,rust-quote-0.3) - ("rust-skeptic" ,rust-skeptic-0.9) - ("rust-syn" ,rust-syn-0.11)) - #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger-0.4) - ("rust-log" ,rust-log-0.3) - ("rust-pretty-assertions" ,rust-pretty-assertions-0.2) - ("rust-skeptic" ,rust-skeptic-0.9)))))) + `(#:skip-build? #t + #:cargo-inputs + (("rust-darling" ,rust-darling-0.14) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/colin-kiegel/rust-derive-builder") + (synopsis "Internal helper library for @code{rust-derive-builder}") + (description + "Internal helper library for @code{rust-derive-builder}.") + (license (list license:expat license:asl2.0)))) (define-public rust-derive-builder-core-0.10 (package + (inherit rust-derive-builder-core-0.11) (name "rust-derive-builder-core") (version "0.10.2") (source @@ -17735,19 +16272,13 @@ for arbitrary structs.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1r9ngcrfcvqv5l5p86bzg9v863bjf5nlmippin1fv1v1iy2idrk6")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-darling" ,rust-darling-0.12) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/colin-kiegel/rust-derive-builder") - (synopsis "Internal helper library for @code{rust-derive-builder}") - (description - "Internal helper library for @code{rust-derive-builder}.") - (license (list license:expat license:asl2.0)))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-derive-builder-core-0.9 (package @@ -17794,28 +16325,34 @@ for arbitrary structs.") ("rust-quote" ,rust-quote-0.6) ("rust-syn" ,rust-syn-0.15)))))) -(define-public rust-derive-builder-core-0.2 +(define-public rust-derive-builder-macro-0.11 (package - (inherit rust-derive-builder-core-0.9) - (name "rust-derive-builder-core") - (version "0.2.0") + (name "rust-derive-builder-macro") + (version "0.11.2") (source (origin (method url-fetch) - (uri (crate-uri "derive-builder-core" version)) - (file-name (string-append name "-" version ".tar.gz")) + (uri (crate-uri "derive_builder_macro" version)) + (file-name + (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0mxpl1ja3l60w1v5vr3733hr5mcpds2hfl6shrmy3a2zkvp28pkk")))) + (base32 "0s6xfgsybd9wbk39hbgqjcn7d1l36a33q6v7d0x5y17d5fvi80wg")))) + (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-log" ,rust-log-0.3) - ("rust-quote" ,rust-quote-0.3) - ("rust-syn" ,rust-syn-0.11)) - #:cargo-development-inputs - (("rust-pretty-assertions" ,rust-pretty-assertions-0.2)))))) + (("rust-derive-builder-core" ,rust-derive-builder-core-0.11) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/colin-kiegel/rust-derive-builder") + (synopsis + "Rust macro to automatically implement the builder pattern for arbitrary structs") + (description + "This crate provides a Rust macro to automatically implement the builder +pattern for arbitrary structs.") + (license (list license:expat license:asl2.0)))) (define-public rust-derive-builder-macro-0.10 (package + (inherit rust-derive-builder-macro-0.11) (name "rust-derive-builder-macro") (version "0.10.2") (source @@ -17826,19 +16363,11 @@ for arbitrary structs.") (string-append name "-" version ".tar.gz")) (sha256 (base32 "0wwdm4cgd4vlvabj5xsjjr4vvkqhnd3fi9wp3v5mlb09jp74maaq")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-derive-builder-core" ,rust-derive-builder-core-0.10) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/colin-kiegel/rust-derive-builder") - (synopsis - "Rust macro to automatically implement the builder pattern for arbitrary structs") - (description - "This crate provides a Rust macro to automatically implement the builder -pattern for arbitrary structs.") - (license (list license:expat license:asl2.0)))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-derive-error-chain-0.10 (package @@ -17863,31 +16392,6 @@ pattern for arbitrary structs.") error-chain.") (license (list license:expat license:asl2.0)))) -(define-public rust-derive-is-enum-variant-0.1 - (package - (name "rust-derive-is-enum-variant") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "derive_is_enum_variant" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "15w18649m4h47pdpr04id0wv8br8bg606zvrafcrfijihicqib6h")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-heck" ,rust-heck-0.3) - ("rust-quote" ,rust-quote-0.3) - ("rust-syn" ,rust-syn-0.11)))) - (home-page "https://github.com/fitzgen/derive_is_enum_variant") - (synopsis "Automatically derives predicates for enums") - (description - "This package automatically derives @samp{is_dog} and @samp{is_cat} -methods for @samp{enum Pet @{ Dog, Cat @}}.") - (license (list license:asl2.0 license:expat)))) - (define-public rust-derive-more-0.99 (package (name "rust-derive-more") @@ -18158,53 +16662,6 @@ procedural macros.") example.") (license license:bsd-3))) -(define-public rust-dialoguer-0.6 - (package - (name "rust-dialoguer") - (version "0.6.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "dialoguer" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0f31ahy6myg2vz9xrdmp0vx0m7x427a1wxpgrgwhxd0rgfpqdapl")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-console" ,rust-console-0.11) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/mitsuhiko/dialoguer") - (synopsis "Library for command line prompts") - (description - "This package provides a library for command line prompts and the like.") - (license license:expat))) - -(define-public rust-dialoguer-0.3 - (package - (inherit rust-dialoguer-0.6) - (name "rust-dialoguer") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "dialoguer" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1a9gqvqp83gg4jbm286q5ab3l44zyyzlsdaiqmw8x4k80fdc5l8s")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags '("--lib") - #:cargo-inputs - (("rust-console" ,rust-console-0.11) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-tempfile" ,rust-tempfile-2)))))) - (define-public rust-diesel-1 (package (name "rust-diesel") @@ -18447,58 +16904,6 @@ common subsequence. The diff algorithms include Myer's diff and Patience diff.") (license (list license:asl2.0 license:expat)))) -(define-public rust-diffus-0.10 - (package - (name "rust-diffus") - (version "0.10.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "diffus" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0lsn5h1mfa8x7bfg9yqgr52p7drigpwgm5q8qh4r07dmfd5g43rw")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-diffus-derive" ,rust-diffus-derive-0.10) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-itertools" ,rust-itertools-0.10) - ("rust-serde" ,rust-serde-1) - ("rust-snake-case" ,rust-snake-case-0.3) - ("rust-uuid" ,rust-uuid-0.8)))) - (home-page "https://github.com/distil/diffus") - (synopsis "Diff two instances of any data structure") - (description "This package finds the difference between two instances of -any data structure. It supports: collections, Strings, Maps etc. Uses LC -where applicable. Also supports derive via `diffus-derive`.") - (license license:asl2.0))) - -(define-public rust-diffus-derive-0.10 - (package - (name "rust-diffus-derive") - (version "0.10.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "diffus-derive" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1a7sgbzhqa7gk3xhvkci91myc86gkwxs04vfxbl8f64y7l1jsfmr")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/distil/diffus") - (synopsis "Diff two instances of any data structure") - (description "This package finds the difference between two instances of -any data structure. Supports derive on structs and enums.") - (license license:asl2.0))) - (define-public rust-digest-0.10 (package (name "rust-digest") @@ -18651,24 +17056,6 @@ Directory guidelines on macOS.") #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1)))))) -(define-public rust-directories-2 - (package - (inherit rust-directories-3) - (name "rust-directories") - (version "2.0.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "directories" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "071pjx760m0dccdxlhwsz9m0zl180hxwlag62bydfl54fa0pf6jm")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-dirs-sys" ,rust-dirs-sys-0.3)))))) - (define-public rust-directories-next-2 (package (name "rust-directories-next") @@ -18694,27 +17081,6 @@ platform-specific standard locations of directories for config, cache and other data.") (license (list license:expat license:asl2.0)))) -(define-public rust-directories-next-1 - (package - (inherit rust-directories-next-2) - (name "rust-directories-next") - (version "1.0.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "directories-next" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0mmym1h9vlyapwlzygfas3q9mx03mki8cnf5y1bmr713q7mwqa4a")))) - (arguments - `(#:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-dirs-sys" ,rust-dirs-sys-next-0.1)) - #:cargo-development-inputs - (("rust-bencher" ,rust-bencher-0.1)))))) - (define-public rust-dirs-4 (package (name "rust-dirs") @@ -19204,27 +17570,6 @@ from macros.") @code{Cargo.toml}.") (license (list license:expat license:asl2.0)))) -(define-public rust-downcast-0.10 - (package - (name "rust-downcast") - (version "0.10.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "downcast" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "07bh0l95gwrzak6rj29v8kkm577d8vivxsxhqgscf64b4bq59d2b")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://github.com/fkoep/downcast-rs") - (synopsis - "Trait for downcasting trait objects back to their original types") - (description - "This crate provides a trait for downcasting trait objects back to their -original types.") - (license license:expat))) - (define-public rust-downcast-rs-1 (package (name "rust-downcast-rs") @@ -19427,20 +17772,6 @@ floating-point primitives to an @code{io::Write}.") (license (list license:asl2.0 license:expat)))) -(define-public rust-dtoa-0.2 - (package - (inherit rust-dtoa-0.4) - (name "rust-dtoa") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "dtoa" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0g96cap6si1g6wi62hsdk2fnj3sf5vd4i97zj6163j8hhnsl3n0d")))))) - (define-public rust-dtoa-short-0.3 (package (name "rust-dtoa-short") @@ -19617,30 +17948,6 @@ programs.") "This package provides lightweight binding to DirectWrite.") (license license:mpl2.0))) -(define-public rust-dwrote-0.9 - (package - (inherit rust-dwrote-0.11) - (name "rust-dwrote") - (version "0.9.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "dwrote" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "03gzl5pd90nlkmwqmbmjmyz47h7wlblbqrwv5a29npnv0ag3dl8b")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ;("rust-wio" ,rust-wio-0.2) - ("rust-winapi" ,rust-winapi-0.3)))))) - (define-public rust-easy-cast-0.4 (package (name "rust-easy-cast") @@ -19705,37 +18012,6 @@ from the main thread.") easy.") (license (list license:unlicense license:zlib)))) -(define-public rust-eax-0.3 - (package - (name "rust-eax") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "eax" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0vmpbqncpbj2ldm3fhfz87ija1sk4zk9vad91yd2jjsrbrx6xxz1")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-aead" ,rust-aead-0.3) - ("rust-cipher" ,rust-cipher-0.2) - ("rust-cmac" ,rust-cmac-0.5) - ("rust-ctr" ,rust-ctr-0.6) - ("rust-subtle" ,rust-subtle-2)))) - (home-page "https://docs.rs/eax/") - (synopsis "Pure Rust implementation of the EAX Authenticated Encryption -with Associated Data (AEAD)") - (description "This package provides a pure Rust implementation of the EAX -Authenticated Encryption with Associated Data (AEAD) Cipher with optional -architecture-specific hardware acceleration. This scheme is only based on a -block cipher. It uses counter mode (CTR) for encryption and CBC mode for -generating a OMAC/CMAC/CBCMAC (all names for the same thing).") - (license (list license:asl2.0 license:expat)))) ; at your choice - (define-public rust-ecies-ed25519-0.5 (package (name "rust-ecies-ed25519") @@ -20693,51 +18969,6 @@ implement enum_primitive.") convert enum to u8 slice ref.") (license license:bsd-3))) -(define-public rust-enumflags2-0.6 - (package - (name "rust-enumflags2") - (version "0.6.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "enumflags2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "182xd6cxxmadx1axnz6x73d12pzgwkc712zq2lxd4z1k48lxij43")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-enumflags2-derive" ,rust-enumflags2-derive-0.6) - ("rust-serde" ,rust-serde-1)))) - (home-page "https://github.com/NieDzejkob/enumflags2") - (synopsis "Enum-based bit flags") - (description "Enumflags2 is an Enum-based bit flags library.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-enumflags2-derive-0.6 - (package - (name "rust-enumflags2-derive") - (version "0.6.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "enumflags2_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1kkcwi4n76bi1c16ms00dyk4d393gdf29kpr4k9zsn5z7m7fjvll")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/NieDzejkob/enumflags2") - (synopsis "Rust library for typesystem-assisted bitflags") - (description "Enumflags2 implements the classic bitflags datastructure.") - (license (list license:expat license:asl2.0)))) - (define-public rust-enumset-1 (package (name "rust-enumset") @@ -20987,30 +19218,6 @@ from the environment.") variables.") (license (list license:expat license:asl2.0)))) -(define-public rust-envmnt-0.6 - (package - (name "rust-envmnt") - (version "0.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "envmnt" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "12zkq3p999bypyxmjnpiqw9r3hmifb3bcikd7j3as1fdcbq01fyl")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-indexmap" ,rust-indexmap-1)))) - (home-page "https://github.com/sagiegurari/envmnt") - (synopsis "Environment variables utility functions") - (description - "Environment variables utility functions.") - (license license:asl2.0))) - (define-public rust-envy-0.4 (package (name "rust-envy") @@ -21063,37 +19270,6 @@ deserialized from environment variables.") "Type-erased Serialize and Serializer traits.") (license (list license:asl2.0 license:expat)))) -(define-public rust-err-derive-0.2 - (package - (name "rust-err-derive") - (version "0.2.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "err-derive" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0v6wxrshfpg7mwaxzq8jwxbfiyn7zk5rlm4m8kkrwh7dpf8nrx42")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-synstructure" ,rust-synstructure-0.12) - ("rust-skeptic" ,rust-skeptic-0.13) - ("rust-proc-macro-error" ,rust-proc-macro-error-0.4) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-syn" ,rust-syn-1) - ("rust-rustversion" ,rust-rustversion-1) - ("rust-quote" ,rust-quote-1)) - #:cargo-development-inputs - (("rust-skeptic" ,rust-skeptic-0.13)))) - (home-page "https://gitlab.com/torkleyy/err-derive") - (synopsis "Derive macro for `std::error::Error`") - (description - "Derive macro for @code{std::error::Error}.") - (license (list license:expat license:asl2.0)))) - (define-public rust-errno-0.2 (package (name "rust-errno") @@ -21412,29 +19588,6 @@ ecosystem.") (base32 "1c1l2sg6li301izl4nzkkfrpc8snafxwnr81vfwygn3bd3zyqfj7")))))) -(define-public rust-ethereum-types-0.4 - (package - (inherit rust-ethereum-types-0.9) - (name "rust-ethereum-types") - (version "0.4.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "ethereum-types" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "15icipk0ap7r6yi0i6cl6zsl0z52zbw6jwv3l271r833vj222x3f")))) - (arguments - `(#:cargo-inputs - (("rust-crunchy" ,rust-crunchy-0.1) - ("rust-ethbloom" ,rust-ethbloom-0.5) - ("rust-ethereum-types-serialize" ,rust-ethereum-types-serialize-0.2) - ("rust-fixed-hash" ,rust-fixed-hash-0.2) - ("rust-serde" ,rust-serde-1) - ("rust-uint" ,rust-uint-0.4)) - #:cargo-development-inputs - (("rust-serde-json" ,rust-serde-json-1)))))) - (define-public rust-ethereum-types-serialize-0.2 (package (name "rust-ethereum-types-serialize") @@ -21637,22 +19790,6 @@ by @file{sysexits.h}.") testing.") (license (list license:expat license:asl2.0)))) -(define-public rust-expectest-0.9 - (package - (inherit rust-expectest-0.12) - (name "rust-expectest") - (version "0.9.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "expectest" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0f24q2a53x7sfmmrqjbwbk7pahzwkpd829fcr023kb7q5xnd6z4g")))) - (arguments - `(#:cargo-inputs - (("rust-num-traits" ,rust-num-traits-0.1)))))) - (define-public rust-extend-0.1 (package (name "rust-extend") @@ -21754,28 +19891,6 @@ a result when an allocation error occurs, ala fallible format macro.") (license (list license:expat license:asl2.0)))) -(define-public rust-fallible-collections-0.3 - (package - (name "rust-fallible-collections") - (version "0.3.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "fallible_collections" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1shgcljh6pliv1b1qk6knk2hzig5ah76hx01f1icpgkiqp6fi6cm")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-hashbrown" ,rust-hashbrown-0.9)))) - (home-page "https://github.com/vcombey/fallible_collections.git") - (synopsis "Fallible allocation API for standard collections") - (description "This crate adds fallible allocation API to standard -collections.") - (license (list license:expat license:asl2.0)))) - (define-public rust-failure-0.1 (package (name "rust-failure") @@ -21909,39 +20024,6 @@ implement features such as look-around and backtracking, which are not supported in purely NFA-based implementations.") (license license:expat))) -(define-public rust-fancy-regex-0.3 - (package - (inherit rust-fancy-regex-0.7) - (name "rust-fancy-regex") - (version "0.3.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "fancy-regex" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "051bnj890xrvhslppdzw6n956xfjg0wr2ixvhy336d2japvap4df")))) - (arguments - `(#:cargo-inputs - (("rust-bit-set" ,rust-bit-set-0.5) - ("rust-regex" ,rust-regex-1)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) - ("rust-matches" ,rust-matches-0.1) - ("rust-quickcheck" ,rust-quickcheck-0.7)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-version-requirements - (lambda _ - (substitute* "Cargo.toml" - (("0.3.0") ,(package-version rust-criterion-0.3))))) - ;; XXX: Remove Oniguruma-related tests since Guix does not provide - ;; the library yet. - (add-after 'unpack 'remove-oniguruma-tests - (lambda _ - (delete-file-recursively "tests/oniguruma") - (delete-file "tests/oniguruma.rs")))))))) - (define-public rust-fast-chemail-0.9 (package (name "rust-fast-chemail") @@ -22334,33 +20416,6 @@ Atom, RSS 2.0, RSS 1.0, RSS 0.x and JSON Feed") "This package provides a simple, efficient logging system for Rust.") (license license:expat))) -(define-public rust-fern-0.5 - (package - (inherit rust-fern-0.6) - (name "rust-fern") - (version "0.5.9") - (source - (origin - (method url-fetch) - (uri (crate-uri "fern" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1anslk0hx9an4ypcaxqff080hgbcxm7ji7d4qf4f6qx1mkav16p6")))) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-reopen" ,rust-reopen-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-colored" ,rust-colored-1) - ("rust-syslog" ,rust-syslog-3) - ("rust-syslog" ,rust-syslog-4)) - #:cargo-development-inputs - (("rust-clap" ,rust-clap-2) - ("rust-tempdir" ,rust-tempdir-0.3)))))) - (define-public rust-fever-api-0.2 (package (name "rust-fever-api") @@ -22523,32 +20578,6 @@ cross platform API.") (license (list license:asl2.0 license:expat)))) -(define-public rust-findshlibs-0.5 - (package - (name "rust-findshlibs") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "findshlibs" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1n2vagn0q5yim32hxkwi1cjgp3yn1dm45p7z8nw6lapywihhs9mi")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2)))) - (home-page "https://github.com/gimli-rs/findshlibs") - (synopsis "Find the set of shared libraries loaded in the current process") - (description - "Find the set of shared libraries loaded in the current process with a -cross platform API.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-fixed-1 (package (name "rust-fixed") @@ -22921,28 +20950,6 @@ traits.") (arguments `(#:cargo-inputs (("rust-num" ,rust-num-0.1)))))) -(define-public rust-float-next-after-0.1 - (package - (name "rust-float-next-after") - (version "0.1.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "float_next_after" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0cnn60pslh0gilpy2jr7qpqk22a6lmsdz847988bg1krhg2i5ijg")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-num-traits" ,rust-num-traits-0.2)))) - (home-page "https://gitlab.com/bronsonbdevost/next_afterf") - (synopsis "Trait for native Rust f64/f32 nextafter") - (description - "This package provides a trait for native Rust f64/f32 nextafter.") - (license license:expat))) - (define-public rust-float-ord-0.3 (package (name "rust-float-ord") @@ -23318,21 +21325,6 @@ syntax, as used by HTML forms.") values to other threads.") (license license:asl2.0))) -(define-public rust-fragile-0.3 - (package - (inherit rust-fragile-1) - (name "rust-fragile") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "fragile" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1yf2hmkw52x2dva3c9km1x8c2z5kwby7qqn8kz5ms3gs480i9y05")))))) - (define-public rust-freetype-0.7 (package (name "rust-freetype") @@ -23355,25 +21347,6 @@ values to other threads.") (description "This package provides bindings for Freetype used by Servo.") (license (list license:asl2.0 license:expat)))) -(define-public rust-freetype-0.4 - (package - (inherit rust-freetype-0.7) - (name "rust-freetype") - (version "0.4.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "freetype" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0a70x03n68997f08bi3n47q9wyi3pv5s9v4rjc79sihb84mnp4hi")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-servo-freetype-sys" ,rust-servo-freetype-sys-4)))))) - (define-public rust-freetype-rs-0.26 (package (name "rust-freetype-rs") @@ -23397,30 +21370,6 @@ values to other threads.") (description "This package provides bindings for FreeType font library.") (license license:expat))) -(define-public rust-freetype-rs-0.23 - (package - (inherit rust-freetype-rs-0.26) - (name "rust-freetype-rs") - (version "0.23.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "freetype-rs" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "06yn6l44wad0h0i4nzs5jfq64zgf89xr01fy1w22i90j22ilnkmd")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-freetype-sys" ,rust-freetype-sys-0.9) - ("rust-libc" ,rust-libc-0.2)) - #:cargo-development-inputs - (("rust-unicode-normalization" ,rust-unicode-normalization-0.1)))) - (inputs - (list freetype zlib)))) - (define-public rust-freetype-sys-0.13 (package (name "rust-freetype-sys") @@ -23445,28 +21394,6 @@ values to other threads.") "This package provides low level binding for FreeType font library.") (license license:expat))) -(define-public rust-freetype-sys-0.9 - (package - (inherit rust-freetype-sys-0.13) - (name "rust-freetype-sys") - (version "0.9.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "freetype-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1i309xc6gcsgdfiim3j5f0sk08imr4frlzfa185iaxqciysqgikx")))) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-libz-sys" ,rust-libz-sys-1) - ("rust-pkg-config" ,rust-pkg-config-0.3)))) - (inputs - (list freetype zlib)))) - (define-public rust-fs2-0.4 (package (name "rust-fs2") @@ -23492,27 +21419,6 @@ values to other threads.") duplication.") (license (list license:expat license:asl2.0)))) -(define-public rust-fs-err-2 - (package - (name "rust-fs-err") - (version "2.6.0") - (source (origin - (method url-fetch) - (uri (crate-uri "fs-err" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1q5z8d6q8310fgzg78bpmhyfigz7fkgp1bbmhcxq85k1ml23bgay")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t)) - (home-page "https://github.com/andrewhickman/fs-err") - (synopsis "Better error messages for @code{std::fs} crate") - (description - "This package provides a drop-in replacement for @code{std::fs} with more -helpful error messages.") - (license (list license:expat license:asl2.0)))) - (define-public rust-fs-extra-1 (package (name "rust-fs-extra") @@ -23551,9 +21457,9 @@ process and much more.") #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) (home-page "https://github.com/Byron/fs-utils-rs") - (synopsis "Utilities to help working with the filesytem") + (synopsis "Utilities to help working with the filesystem") (description "This package provides a bunch of utilities to help working -with the filesytem.") +with the filesystem.") (license (list license:expat license:asl2.0)))) (define-public rust-fs2-0.2 @@ -23982,36 +21888,6 @@ featuring zero allocations, composability, and iterator-like interfaces.") "Channels for asynchronous communication using futures-rs.") (license (list license:expat license:asl2.0)))) -(define-public rust-futures-codec-0.4 - (package - (name "rust-futures-codec") - (version "0.4.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "futures_codec" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0nzadpxhdxdlnlk2f0gfn0qbifqc3pbnzm10v4z04x8ciczxcm6f")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bytes" ,rust-bytes-0.5) - ("rust-futures" ,rust-futures-0.3) - ("rust-memchr" ,rust-memchr-2) - ("rust-pin-project" ,rust-pin-project-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-serde-cbor" ,rust-serde-cbor-0.11) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/matthunz/futures-codec") - (synopsis - "Utilities for encoding and decoding frames using @code{async/await}") - (description - "This package provides utilities for encoding and decoding frames using -@code{async/await}.") - (license license:expat))) - (define-public rust-futures-core-0.3 (package (name "rust-futures-core") @@ -25132,31 +23008,6 @@ Rust.") interfaces on the system.") (license (list license:expat license:bsd-3)))) -(define-public rust-getch-0.2 - (package - (name "rust-getch") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "getch" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "00in8q95qi8a5q3zn2zcaqp5avj79f5myd2a4zfdy2m24ycvbc5v")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-termios" ,rust-termios-0.2)))) - (home-page "https://nest.pijul.com/pijul_org/getch") - (synopsis "Portable implementation of getch") - (description - "This package provides a portable implementation of getch, using -@code{_getch} on Windows, and @code{termios} on Unix.") - (license license:asl2.0))) - (define-public rust-gethostname-0.2 (package (name "rust-gethostname") @@ -25341,65 +23192,6 @@ getters and setters on fields.") (description "This package provides GNU Gettext FFI bindings for Rust.") (license license:expat))) -(define-public rust-gettext-rs-0.6 - (package - (inherit rust-gettext-rs-0.7) - (name "rust-gettext-rs") - (version "0.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gettext-rs" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "040nizg9l5ap2vqgq4d2va2hi6cpykj46g8q1z9xv393vjlygx1x")))) - (arguments - `(#:cargo-inputs - (("rust-gettext-sys" ,rust-gettext-sys-0.21) - ("rust-locale-config" ,rust-locale-config-0.3)) - #:cargo-development-inputs - (("rust-lazy-static" ,rust-lazy-static-1)))))) - -(define-public rust-gettext-rs-0.5 - (package - (inherit rust-gettext-rs-0.7) - (name "rust-gettext-rs") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gettext-rs" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1qc9a63i54b9ad3jx951hn7xb6xf76c9f3hmi2cdy2m7rhczm58v")))) - (arguments - `(#:cargo-inputs - (("rust-gettext-sys" ,rust-gettext-sys-0.19) - ("rust-locale-config" ,rust-locale-config-0.3)))))) - -(define-public rust-gettext-rs-0.4 - (package - (inherit rust-gettext-rs-0.5) - (name "rust-gettext-rs") - (version "0.4.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "gettext-rs" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0z6fcsn1g3w9mlgfj6ln6qvqf8610w3zwvk6g062h657v114lifz")))) - (arguments - `(#:cargo-inputs - (("rust-gettext-sys" ,rust-gettext-sys-0.19) - ("rust-locale-config" ,rust-locale-config-0.2)))))) - (define-public rust-gettext-sys-0.21 (package (name "rust-gettext-sys") @@ -25484,31 +23276,6 @@ getters and setters on fields.") @acronym{GFA, Graphical Fragment Assembly} format.") (license license:expat))) -(define-public rust-gfa-0.6 - (package - (inherit rust-gfa-0.10) - (name "rust-gfa") - (version "0.6.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "gfa" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0ghmy4r0324s6vvmj9nmh326346nkwm7nybnpcpswnjvf02b85gw")))) - (arguments - `(#:cargo-inputs - (("rust-bstr" ,rust-bstr-0.2) - ("rust-bytemuck" ,rust-bytemuck-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-nom" ,rust-nom-5) - ("rust-regex" ,rust-regex-1) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3)))))) - (define-public rust-ghash-0.3 (package (name "rust-ghash") @@ -25659,70 +23426,6 @@ debugging format.") ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) ("rust-stable-deref-trait" ,rust-stable-deref-trait-1)))))) -(define-public rust-gimli-0.20 - (package - (inherit rust-gimli-0.23) - (name "rust-gimli") - (version "0.20.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gimli" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0cz6wg1niwfqf0mk28igsdnsm92cs57cai9jpzdmvw6hma863pc1")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-fallible-iterator" - ,rust-fallible-iterator-0.2) - ("rust-arrayvec" ,rust-arrayvec-0.5) - ("rust-stable-deref-trait" - ,rust-stable-deref-trait-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-byteorder" ,rust-byteorder-1)))))) - -(define-public rust-gimli-0.18 - (package - (name "rust-gimli") - (version "0.18.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gimli" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0ma1zg2klqr47rasm7jn3zzd1j1pj2a8wkfbv5zsx10qh43phy4k")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-arrayvec" ,rust-arrayvec-0.4) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-fallible-iterator" ,rust-fallible-iterator-0.2) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-stable-deref-trait" ,rust-stable-deref-trait-1)) - #:cargo-development-inputs - (("rust-crossbeam" ,rust-crossbeam-0.7) - ("rust-getopts" ,rust-getopts-0.2) - ("rust-memmap" ,rust-memmap-0.7) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-object" ,rust-object-0.12) - ("rust-rayon" ,rust-rayon-1) - ("rust-regex" ,rust-regex-1) - ("rust-test-assembler" ,rust-test-assembler-0.1) - ("rust-typed-arena" ,rust-typed-arena-1)))) - (home-page "https://github.com/gimli-rs/gimli") - (synopsis "Reading and writing the DWARF debugging format") - (description - "This package provides a library for reading and writing the -DWARF debugging format.") - (license (list license:asl2.0 license:expat)))) - (define-public rust-git-version-0.3 (package (name "rust-git-version") @@ -25772,10 +23475,10 @@ dirty state into your program.") "This is an internal macro crate for git-version.") (license license:bsd-2))) -(define-public rust-git2-0.13 +(define-public rust-git2-0.15 (package (name "rust-git2") - (version "0.13.24") + (version "0.15.0") (source (origin (method url-fetch) @@ -25784,13 +23487,13 @@ dirty state into your program.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "07rlxwvl5iyyqwh0mci5v27lbicf9qiqm60maw1srz7i51x00pl4")))) + "1lf7yxgrbglx5qqvk033n44ymmrg72z271911jwix9d6lgjbx519")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-libc" ,rust-libc-0.2) - ("rust-libgit2-sys" ,rust-libgit2-sys-0.12) + ("rust-libgit2-sys" ,rust-libgit2-sys-0.14) ("rust-log" ,rust-log-0.4) ("rust-openssl-probe" ,rust-openssl-probe-0.1) ("rust-openssl-sys" ,rust-openssl-sys-0.9) @@ -25798,6 +23501,7 @@ dirty state into your program.") #:cargo-development-inputs (("rust-paste" ,rust-paste-1) ("rust-structopt" ,rust-structopt-0.3) + ("rust-tempfile" ,rust-tempfile-3) ("rust-time" ,rust-time-0.1)))) (native-inputs `(("pkg-config" ,pkg-config) @@ -25812,6 +23516,63 @@ repositories. This library is both threadsafe and memory safe and allows both reading and writing git repositories.") (license (list license:expat license:asl2.0)))) +(define-public rust-git2-0.14 + (package + (inherit rust-git2-0.15) + (name "rust-git2") + (version "0.14.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "git2" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "074kqlmh7q39pqcj9rmrnmx4v5njh2j09dfxc1hsh45pm835a5fh")))) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-libgit2-sys" ,rust-libgit2-sys-0.13) + ("rust-log" ,rust-log-0.4) + ("rust-openssl-probe" ,rust-openssl-probe-0.1) + ("rust-openssl-sys" ,rust-openssl-sys-0.9) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs + (("rust-paste" ,rust-paste-1) + ("rust-structopt" ,rust-structopt-0.3) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-time" ,rust-time-0.1)))))) + +(define-public rust-git2-0.13 + (package + (inherit rust-git2-0.15) + (name "rust-git2") + (version "0.13.24") + (source + (origin + (method url-fetch) + (uri (crate-uri "git2" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "07rlxwvl5iyyqwh0mci5v27lbicf9qiqm60maw1srz7i51x00pl4")))) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-libgit2-sys" ,rust-libgit2-sys-0.12) + ("rust-log" ,rust-log-0.4) + ("rust-openssl-probe" ,rust-openssl-probe-0.1) + ("rust-openssl-sys" ,rust-openssl-sys-0.9) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs + (("rust-paste" ,rust-paste-1) + ("rust-structopt" ,rust-structopt-0.3) + ("rust-time" ,rust-time-0.1)))))) + (define-public rust-git2-0.11 (package (inherit rust-git2-0.13) @@ -25950,20 +23711,6 @@ libcurl, which is intended to be used with the @code{git2} crate.") (description "Gjson is a JSON parser for Rust.") (license license:expat))) -(define-public rust-gjson-0.7 - (package - (inherit rust-gjson-0.8) - (name "rust-gjson") - (version "0.7.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "gjson" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0vhary4ha77scriaw6r4nv16ha9pfzirm84sjc240csqwb542p10")))) - (arguments `(#:skip-build? #t)))) - (define-public rust-glam-0.17 (package (name "rust-glam") @@ -26278,28 +24025,6 @@ inherits many goodies from both, such as limiting search depth and amount of open file descriptors.") (license license:expat))) -(define-public rust-globwalk-0.5 - (package - (inherit rust-globwalk-0.8) - (name "rust-globwalk") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "globwalk" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "09axyql26s09z60sgi3y3lkin9swy2b5km3b0v6mm84xhlljxyl9")))) - (arguments - `(#:cargo-inputs - (("rust-ignore" ,rust-ignore-0.4) - ("rust-walkdir" ,rust-walkdir-2)) - #:cargo-development-inputs - (("rust-docmatic" ,rust-docmatic-0.1) - ("rust-tempdir" ,rust-tempdir-0.3)))))) - (define-public rust-gloo-timers-0.2 (package (name "rust-gloo-timers") @@ -26385,27 +24110,6 @@ libraries GMP, MPFR, and MPC.") and loading crate.") (license license:expat))) -(define-public rust-goblin-0.1 - (package - (inherit rust-goblin-0.2) - (name "rust-goblin") - (version "0.1.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "goblin" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1nn0aa2jf207gbyccxnrzm7n217di025z5y1ybblp7nkk11j309h")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-scroll" ,rust-scroll-0.10) - ("rust-plain" ,rust-plain-0.2) - ("rust-log" ,rust-log-0.4)))))) - (define-public rust-goblin-0.0 (package (name "rust-goblin") @@ -26712,26 +24416,6 @@ provides standard printing of search results, similar to grep itself.") support.") (license (list license:expat license:asl2.0)))) -(define-public rust-gumdrop-0.7 - (package - (inherit rust-gumdrop-0.8) - (name "rust-gumdrop") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gumdrop" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1pmw21ggwqqizh66zp7bylbffi6qs064w2rfj3rc3smyq65r0l7f")))) - (arguments - `(#:skip-build? - #t - #:cargo-inputs - (("rust-gumdrop-derive" ,rust-gumdrop-derive-0.7)) - #:cargo-development-inputs - (("rust-assert-matches" ,rust-assert-matches-1)))))) - (define-public rust-gumdrop-derive-0.8 (package (name "rust-gumdrop-derive") @@ -26755,25 +24439,6 @@ support.") (description "This package provides custom derive support for gumdrop.") (license (list license:expat license:asl2.0)))) -(define-public rust-gumdrop-derive-0.7 - (package - (inherit rust-gumdrop-derive-0.8) - (name "rust-gumdrop-derive") - (version "0.7.0") - (source (origin - (method url-fetch) - (uri (crate-uri "gumdrop_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1mrm1h4n13b3n79d1215jq9q9d6sgcvfzdb8i5mcmds0vvj4qich")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))))) - (define-public rust-gzip-header-1 (package (name "rust-gzip-header") @@ -27001,68 +24666,6 @@ correct value of @samp{CARGO_HOME} and @samp{RUSTUP_HOME}.") "This package provides a port of the Hamcrest testing library.") (license (list license:expat license:asl2.0)))) -(define-public rust-handlebars-2 - (package - (name "rust-handlebars") - (version "2.0.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "handlebars" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1m99gwjd7q7q79bk4f716wsdvcyhsrcsq4vbzcavbkmc48d194mg")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-hashbrown" ,rust-hashbrown-0.5) - ("rust-log" ,rust-log-0.4) - ("rust-pest" ,rust-pest-2) - ("rust-pest-derive" ,rust-pest-derive-2) - ("rust-quick-error" ,rust-quick-error-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-walkdir" ,rust-walkdir-2)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.2) - ("rust-env-logger" ,rust-env-logger-0.6) - ("rust-maplit" ,rust-maplit-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/sunng87/handlebars-rust") - (synopsis "Handlebars templating implemented in Rust") - (description - "This package provides handlebars templating implemented in Rust. It is -the template engine that renders the official Rust website") - (license license:expat))) - -(define-public rust-handlegraph-0.3 - (package - (name "rust-handlegraph") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "handlegraph" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1sj100w4lpj7798pws85qrfrzsily5hhzh6j118rwf56sgic1yml")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-bstr" ,rust-bstr-0.2) - ("rust-gfa" ,rust-gfa-0.6)))) - (home-page "https://github.com/chfi/rs-handlegraph") - (synopsis "Library for use in variation graphs") - (description - "This package provides a Rust implementation of VG handle graph.") - (license license:expat))) - (define-public rust-hash-hasher-2 (package (name "rust-hash-hasher") @@ -28140,26 +25743,6 @@ Hash-based Message Authentication Code}.") (("rust-crypto-mac" ,rust-crypto-mac-0.5) ("rust-digest" ,rust-digest-0.7)))))) -(define-public rust-hmac-0.4 - (package - (inherit rust-hmac-0.8) - (name "rust-hmac") - (version "0.4.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "hmac" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0amfn9wggxapyva1i0j7wldy9chj487cxal4wldwmid078bg84vs")))) - (arguments - `(#:skip-build? - #t - #:cargo-inputs - (("rust-crypto-mac" ,rust-crypto-mac-0.4) - ("rust-digest" ,rust-digest-0.6) - ("rust-generic-array" ,rust-generic-array-0.8)))))) - (define-public rust-hmac-sha1-0.1 (package (name "rust-hmac-sha1") @@ -28328,30 +25911,6 @@ Hash-based Message Authentication Code algorithm} for SHA1.") "This package provides a library for HTML entity encoding and decoding.") (license (list license:asl2.0 license:expat license:mpl2.0)))) -(define-public rust-html-escape-0.2 - (package - (name "rust-html-escape") - (version "0.2.9") - (source (origin - (method url-fetch) - (uri (crate-uri "html-escape" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1dxw9lpckrqzzqgbkw64ckbajr4b7xxnjdn8adgzqf2mm40shvl1")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-utf8-width" ,rust-utf8-width-0.1)) - #:cargo-development-inputs - (("rust-bencher" ,rust-bencher-0.1)))) - (home-page "https://magiclen.org/html-escape") - (synopsis "Library for encoding and escaping special characters in HTML") - (description - "This package provides a library for encoding and escaping special -characters in HTML, decoding and unescaping HTML entities as well.") - (license license:expat))) - (define-public rust-hts-sys-2 (package (name "rust-hts-sys") @@ -28552,33 +26111,6 @@ HTTP request or response body.") (description "This package provides types and traits for HTTP clients.") (license (list license:expat license:asl2.0)))) -(define-public rust-http-req-0.5 - (package - (name "rust-http-req") - (version "0.5.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "http_req" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0qaw43nwvvxbnqddxhb9fh9316dn64nmkzj08pq8n49qdy51xrys")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - ;; Haven't packaged rustls and webpki because of license - (("rust-native-tls" ,rust-native-tls-0.2) - ("rust-unicase" ,rust-unicase-2)))) - (home-page "https://github.com/jayjamesjay/http_req") - (synopsis - "HTTP client with built-in HTTPS support") - (description - "Simple and lightweight HTTP client with built-in HTTPS support.") - (license license:expat))) - (define-public rust-http-types-2 (package (name "rust-http-types") @@ -28656,20 +26188,6 @@ HTTP request or response body.") "This crates parses and formats HTTP datetime strings.") (license (list license:expat license:asl2.0)))) -(define-public rust-httpdate-0.3 - (package - (inherit rust-httpdate-1) - (name "rust-httpdate") - (version "0.3.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "httpdate" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0izbd3sf0625wm4rrfv85xa4xa8j4n1ldxhwlkgff4cm6rh4sjs9")))) - (arguments `(#:skip-build? #t)))) - (define-public rust-humantime-serde-1 (package (name "rust-humantime-serde") @@ -28894,42 +26412,6 @@ SystemTime}}.") ("rust-tokio-mockstream" ,rust-tokio-mockstream-1) ("rust-url" ,rust-url-1)))))) -(define-public rust-hyper-0.11 - (package - (inherit rust-hyper-0.13) - (name "rust-hyper") - (version "0.11.27") - (source - (origin - (method url-fetch) - (uri (crate-uri "hyper" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1msrx9fgiiv7vl4kryn2zgahbqndph5szrgqvm6fjhfk1759199l")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-base64" ,rust-base64-0.9) - ("rust-bytes" ,rust-bytes-0.4) - ("rust-futures" ,rust-futures-0.1) - ("rust-futures-cpupool" ,rust-futures-cpupool-0.1) - ("rust-http" ,rust-http-0.1) - ("rust-httparse" ,rust-httparse-1) - ("rust-iovec" ,rust-iovec-0.1) - ("rust-language-tags" ,rust-language-tags-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-mime" ,rust-mime-0.3) - ("rust-net2" ,rust-net2-0.2) - ("rust-percent-encoding" ,rust-percent-encoding-1) - ("rust-relay" ,rust-relay-0.1) - ("rust-time" ,rust-time-0.1) - ("rust-tokio-core" ,rust-tokio-core-0.1) - ("rust-tokio-io" ,rust-tokio-io-0.1) - ("rust-tokio-proto" ,rust-tokio-proto-0.1) - ("rust-tokio-service" ,rust-tokio-service-0.1) - ("rust-unicase" ,rust-unicase-2) - ("rust-want" ,rust-want-0.0)))))) - (define-public rust-hyper-0.10 (package (inherit rust-hyper-0.13) @@ -28980,40 +26462,6 @@ SystemTime}}.") (description "This package provides native-tls support for Hyper 0.10.") (license (list license:expat license:asl2.0)))) -(define-public rust-hyper-old-types-0.11 - (package - (name "rust-hyper-old-types") - (version "0.11.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "hyper-old-types" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1i69sks0bwamzqdbx8ffgkssxffv6crdmwjgl47nr5pkxi8vx5k8")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Tests do not compile - #:cargo-inputs - (("rust-base64" ,rust-base64-0.9) - ("rust-bytes" ,rust-bytes-0.4) - ("rust-http" ,rust-http-0.1) - ("rust-httparse" ,rust-httparse-1) - ("rust-language-tags" ,rust-language-tags-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-mime" ,rust-mime-0.3) - ("rust-percent-encoding" ,rust-percent-encoding-1) - ("rust-time" ,rust-time-0.1) - ("rust-unicase" ,rust-unicase-2)))) - (home-page "https://hyper.rs") - (synopsis "HTTP types from hyper 0.11.x") - (description - "This package contains HTTP types from the newer hyper crate in versions -0.11.x.") - (license license:expat))) - (define-public rust-hyper-rustls-0.22 (package (name "rust-hyper-rustls") @@ -29205,28 +26653,6 @@ with hyper.") #:cargo-development-inputs (("rust-tokio" ,rust-tokio-0.2)))))) -(define-public rust-hyper-tls-0.3 - (package - (inherit rust-hyper-tls-0.4) - (name "rust-hyper-tls") - (version "0.3.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "hyper-tls" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0kqp4sz8613j6nv375wfj3gh95ff4nb6a3rb1f2vbx0almm0v01s")))) - (arguments - `(#:cargo-inputs - (("rust-bytes" ,rust-bytes-0.4) - ("rust-futures" ,rust-futures-0.1) - ("rust-hyper" ,rust-hyper-0.12) - ("rust-native-tls" ,rust-native-tls-0.2) - ("rust-tokio-io" ,rust-tokio-io-0.1)) - #:cargo-development-inputs - (("rust-tokio" ,rust-tokio-0.1)))))) - (define-public rust-hyphenation-commons-0.8 (package (name "rust-hyphenation-commons") @@ -29829,32 +27255,6 @@ written in Rust.") #:cargo-development-inputs (("rust-tempdir" ,rust-tempdir-0.3)))))) -(define-public rust-inotify-0.6 - (package - (inherit rust-inotify-0.7) - (name "rust-inotify") - (version "0.6.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "inotify" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0627k5aq44knjlrc09hl017nxap3svpl79przf26y3ciycwlbda0")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-futures" ,rust-futures-0.1) - ("rust-inotify-sys" ,rust-inotify-sys-0.1) - ("rust-libc" ,rust-libc-0.2) - ("rust-mio" ,rust-mio-0.6) - ("rust-tokio-io" ,rust-tokio-io-0.1) - ("rust-tokio-reactor" ,rust-tokio-reactor-0.1)) - #:cargo-development-inputs - (("rust-tempdir" ,rust-tempdir-0.3)))))) - (define-public rust-inotify-sys-0.1 (package (name "rust-inotify-sys") @@ -30101,28 +27501,6 @@ bytestring representations.") ("rust-futures-util" ,rust-futures-util-0.3) ("rust-tokio" ,rust-tokio-0.2)))))) -(define-public rust-integer-sqrt-0.1 - (package - (name "rust-integer-sqrt") - (version "0.1.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "integer-sqrt" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0w6pzmgvs1mldkhafbwg9x7wzr0af3ngkimyb1gy97jarcdw6vi7")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-num-traits" ,rust-num-traits-0.2)))) - (home-page "https://github.com/derekdreery/integer-sqrt-rs") - (synopsis "Integer square root algorithm for primitive rust types") - (description - "This is a Rust implementation of integer square root algorithm for -primitive Rust types.") - (license (list license:asl2.0 license:expat)))) - (define-public rust-interpolate-name-0.2 (package (name "rust-interpolate-name") @@ -30149,52 +27527,6 @@ primitive Rust types.") "Simple procedural macro attribute for repetitive tests.") (license license:expat))) -(define-public rust-interpolation-0.2 - (package - (name "rust-interpolation") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "interpolation" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "00icvvgc72zdgyrwwg2p0wad4hry4d2vd6l9iqpyjpmw5dykbdyk")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://github.com/pistondevelopers/interpolation") - (synopsis "Library for interpolation") - (description - "This package provides a library for interpolation.") - (license license:expat))) - -(define-public rust-intervaltree-0.2 - (package - (name "rust-intervaltree") - (version "0.2.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "intervaltree" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "10k40gsv79kwnsqrzwmnmm6psa5fqws8yggavmbggvymv16hffdg")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-smallvec" ,rust-smallvec-0.6)))) - (home-page "https://github.com/main--/rust-intervaltree") - (synopsis "Immutable interval trees") - (description - "This package provides a simple and generic implementation of an -immutable interval tree.") - (license license:expat))) - (define-public rust-inventory-0.2 (package (name "rust-inventory") @@ -30401,39 +27733,6 @@ uses libcurl as an HTTP engine inside, and provides an easy-to-use API on top that integrates with Rust idioms.") (license license:expat))) -(define-public rust-isahc-0.7 - (package - (inherit rust-isahc-0.9) - (name "rust-isahc") - (version "0.7.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "isahc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1yy3v4r2i4hf0a436676cw4b2bnkb510gxvrldcswlrfy4kp1dqp")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bytes" ,rust-bytes-0.4) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.3) - ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6) - ("rust-curl" ,rust-curl-0.4) - ("rust-curl-sys" ,rust-curl-sys-0.4) - ("rust-futures-io-preview" ,rust-futures-io-preview-0.3) - ("rust-futures-util-preview" ,rust-futures-util-preview-0.3) - ("rust-http" ,rust-http-0.1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-parking-lot" ,rust-parking-lot-0.9) - ("rust-publicsuffix" ,rust-publicsuffix-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-slab" ,rust-slab-0.4) - ("rust-sluice" ,rust-sluice-0.4)))))) - (define-public rust-ipnet-2 (package (name "rust-ipnet") @@ -30587,26 +27886,6 @@ whether or not a given path points to an executable file.") (description "Parsing ISO8601 dates using nom.") (license license:expat))) -(define-public rust-iso8601-0.1 - (package - (inherit rust-iso8601-0.3) - (name "rust-iso8601") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "iso8601" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0xy48qyfmirslaj4dy6n4g8b564jap3cjiql35fmj5vgii7ldp0i")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-clippy" ,rust-clippy-0.0) - ("rust-nom" ,rust-nom-1)))))) - (define-public rust-itertools-0.10 (package (name "rust-itertools") @@ -30832,20 +28111,6 @@ primitives to an @code{io::Write}.") (base32 "136vwi6l2k1vrlvfx49lhficj813pk88xrcx1q3axqh1mwms6943")))))) -(define-public rust-itoa-0.1 - (package - (inherit rust-itoa-0.4) - (name "rust-itoa") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "itoa" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "18g7p2hrb3dk84z3frfgmszfc9hjb4ps9vp99qlb1kmf9gm8hc5f")))))) - (define-public rust-ivf-0.1 (package (name "rust-ivf") @@ -31522,32 +28787,6 @@ kernel32.") (description "Key String provides a Rust package optimized for map keys.") (license (list license:expat license:asl2.0)))) -(define-public rust-kstring-1 - (package - (name "rust-kstring") - (version "1.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "kstring" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1r4n9fa5scikqvl736nxghcfa6s3b07xz61w43hyzs2qb3wmd3nk")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t ; Uses unstable features. - #:cargo-inputs - (("rust-document-features" ,rust-document-features-0.2) - ("rust-serde" ,rust-serde-1) - ("rust-static-assertions" ,rust-static-assertions-1)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) - ("rust-proptest" ,rust-proptest-1)))) - (home-page "https://github.com/cobalt-org/kstring") - (synopsis "String optimized for map keys") - (description "Key String provides a Rust package optimized for map keys.") - (license (list license:expat license:asl2.0)))) - (define-public rust-kv-log-macro-1 (package (name "rust-kv-log-macro") @@ -31647,46 +28886,6 @@ language tags.") space, and comparing differences in color.") (license license:expat))) -(define-public rust-lab-0.7 - (package - (inherit rust-lab-0.11) - (name "rust-lab") - (version "0.7.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "lab" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0g692d489lq01pv3mzfhxd98j0r22lw28l6bk112m74djlfzxdmw")))) - (arguments - `(#:tests? #f ; test suite assumes avx2 support - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-pretty-assertions" ,rust-pretty-assertions-0.6) - ("rust-rand" ,rust-rand-0.5)))))) - -(define-public rust-lab-0.4 - (package - (inherit rust-lab-0.7) - (name "rust-lab") - (version "0.4.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "lab" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0h4ig5bvzmwlzd74zj7b4sh7kzi3c6mjjnw7yjz8ijxvr4mrcr1s")))) - (arguments - `(#:cargo-development-inputs - (("rust-rand" ,rust-rand-0.3)))))) - (define-public rust-lalrpop-0.19 (package (name "rust-lalrpop") @@ -32007,34 +29206,6 @@ sending emails from Rust applications.") ("rust-proptest" ,rust-proptest-0.10) ("rust-quickcheck" ,rust-quickcheck-1)))))) -(define-public rust-lexical-core-0.4 - (package - (inherit rust-lexical-core-0.7) - (name "rust-lexical-core") - (version "0.4.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "lexical-core" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1gr5y3ykghd3wjc00l3iizkj1dxylyhwi6fj6yn2qg06nzx771iz")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-dtoa" ,rust-dtoa-0.4) - ("rust-ryu" ,rust-ryu-1) - ("rust-stackvector" ,rust-stackvector-1) - ("rust-static-assertions" ,rust-static-assertions-0.3)) - #:cargo-development-inputs - (("rust-approx" ,rust-approx-0.3) - ("rust-proptest" ,rust-proptest-0.9) - ("rust-quickcheck" ,rust-quickcheck-0.8) - ("rust-rustc-version" ,rust-rustc-version-0.2)))))) - (define-public rust-lexical-parse-float-0.8 (package (name "rust-lexical-parse-float") @@ -32405,10 +29576,10 @@ algorithm and related formats (ZLIB, GZIP).") (license (list license:expat license:asl2.0 license:ncsa)))) -(define-public rust-libgit2-sys-0.12 +(define-public rust-libgit2-sys-0.14 (package (name "rust-libgit2-sys") - (version "0.12.25+1.3.0") + (version "0.14.0+1.5.0") (source (origin (method url-fetch) @@ -32417,7 +29588,7 @@ algorithm and related formats (ZLIB, GZIP).") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1axsdyb2i67pn85vh8sb2z037n88fiiwqghkzsr1jrcdy2g1cs4g")) + "16wm7m65xvfqn11bhiclg7v5ajswhwrcrlg631r4z2hcqxchi827")) (modules '((guix build utils))) (snippet '(begin (delete-file-recursively "libgit2"))))) @@ -32441,6 +29612,58 @@ algorithm and related formats (ZLIB, GZIP).") library.") (license (list license:expat license:asl2.0)))) +(define-public rust-libgit2-sys-0.13 + (package + (inherit rust-libgit2-sys-0.14) + (name "rust-libgit2-sys") + (version "0.13.4+1.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "libgit2-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1lgm4ssz4aw85k8jaj9xmp9wbhgvd8y80vbzrksjbphy8dinbynh")) + (modules '((guix build utils))) + (snippet + '(begin (delete-file-recursively "libgit2"))))) + (arguments + `(#:cargo-inputs + (("rust-cc" ,rust-cc-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-libssh2-sys" ,rust-libssh2-sys-0.2) + ("rust-libz-sys" ,rust-libz-sys-1) + ("rust-openssl-sys" ,rust-openssl-sys-0.9) + ("rust-pkg-config" ,rust-pkg-config-0.3)))))) + +(define-public rust-libgit2-sys-0.12 + (package + (inherit rust-libgit2-sys-0.14) + (name "rust-libgit2-sys") + (version "0.12.25+1.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "libgit2-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1axsdyb2i67pn85vh8sb2z037n88fiiwqghkzsr1jrcdy2g1cs4g")) + (modules '((guix build utils))) + (snippet + '(begin (delete-file-recursively "libgit2"))))) + (arguments + `(#:cargo-inputs + (("rust-cc" ,rust-cc-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-libssh2-sys" ,rust-libssh2-sys-0.2) + ("rust-libz-sys" ,rust-libz-sys-1) + ("rust-openssl-sys" ,rust-openssl-sys-0.9) + ("rust-pkg-config" ,rust-pkg-config-0.3)))))) + (define-public rust-libgit2-sys-0.10 (package (inherit rust-libgit2-sys-0.12) @@ -32714,6 +29937,7 @@ allocator.") (license (list license:asl2.0 license:expat)))) +;; Keep this package for future packaging of pijul. (define-public rust-libpijul-0.12 (package (name "rust-libpijul") @@ -32974,65 +30198,6 @@ single-cell and single-nucleus sequencing data.") ("rust-pkg-config" ,rust-pkg-config-0.3) ("rust-vcpkg" ,rust-vcpkg-0.2)))))) -(define-public rust-libsqlite3-sys-0.18 - (package - (inherit rust-libsqlite3-sys-0.20) - (name "rust-libsqlite3-sys") - (version "0.18.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "libsqlite3-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1ggpbnis0rci97ln628y2v6pkgfhb6zgc8rsp444mkdfph14lw0y")) - (modules '((guix build utils))) - (snippet - '(begin - (delete-file-recursively "sqlite3") - ;; Enable unstable features - (substitute* "src/lib.rs" - (("#!\\[allow\\(non_snake_case, non_camel_case_types\\)\\]" all) - (string-append "#![feature(non_exhaustive)]\n" all))))))) - (arguments - `(#:cargo-inputs - ;; build-dependencies - (("rust-bindgen" ,rust-bindgen-0.53) - ("rust-cc" ,rust-cc-1) - ("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-vcpkg" ,rust-vcpkg-0.2)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'enable-unstable-features - (lambda _ - (setenv "RUSTC_BOOTSTRAP" "1") - #t))))))) - -(define-public rust-libsqlite3-sys-0.15 - (package - (inherit rust-libsqlite3-sys-0.20) - (name "rust-libsqlite3-sys") - (version "0.15.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "libsqlite3-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "104n0s4f46zprppjq6y82y0wjh1r2cgwzw26w914yj30rizy1cbj")))) - (build-system cargo-build-system) - (inputs - (list sqlite)) - (arguments - `(#:cargo-inputs - ;; build dependencies - (("rust-bindgen" ,rust-bindgen-0.49) - ("rust-cc" ,rust-cc-1) - ("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-vcpkg" ,rust-vcpkg-0.2)))))) - (define-public rust-libxml-0.3 (package (name "rust-libxml") @@ -33114,30 +30279,6 @@ known as zlib).") (license (list license:asl2.0 license:expat)))) -(define-public rust-libz-ng-sys-1 - (package - (name "rust-libz-ng-sys") - (version "1.1.8") - (source (origin - (method url-fetch) - (uri (crate-uri "libz-ng-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1wp0aya5hh76h1acspvrrsvq2fl0kyb8dpi6wy0zaswnm6bax6a3")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cmake" ,rust-cmake-0.1) - ("rust-libc" ,rust-libc-0.2)))) - (home-page "https://github.com/rust-lang/libz-sys") - (synopsis "Low-level bindings to zlib-ng (libz-ng)") - (description - "This package provides low-level bindings to zlib-ng (libz-ng), a -high-performance zlib library.") - (license (list license:expat license:asl2.0)))) - (define-public rust-lifeguard-0.6 (package (name "rust-lifeguard") @@ -33157,38 +30298,6 @@ high-performance zlib library.") (description "This package provides an object pool manager in Rust.") (license license:expat))) -(define-public rust-line-0.1 - (package - (name "rust-line") - (version "0.1.15") - (source - (origin - (method url-fetch) - (uri (crate-uri "line" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0pissvrl5398701zlfd22w51ca32vhw83vbsl58a330hr4w5ra04")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-utf8parse" ,rust-utf8parse-0.1)))) - (home-page "https://crates.io/crates/line") - (synopsis "Rust implementation of line editing in a terminal") - (description - "The main goals of this library are: - -@itemize -@item Portability: should work on any system (Unix or Windows). -@item Support: was written for a real-world project (Pijul), so support is -unlikely to stop soon. -@item Output quality: avoid usual blinking terminal lines that older C -libraries have. -@end itemize") - (license (list license:asl2.0 license:expat)))) - (define-public rust-line-wrap-0.1 (package (name "rust-line-wrap") @@ -33373,33 +30482,6 @@ in plain text. It is smart about where a link ends, such as with trailing punctuation.") (license (list license:expat license:asl2.0)))) -(define-public rust-lipsum-0.8 - (package - (name "rust-lipsum") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "lipsum" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0sn5k0hgx099x2qdx0xlx8a5b74sfc55qnbyrhnh72baqxqp5vj2")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-rand" ,rust-rand-0.8) - ("rust-rand-chacha" ,rust-rand-chacha-0.3)) - #:cargo-development-inputs - (("rust-version-sync" ,rust-version-sync-0.9)))) - (home-page "https://github.com/mgeisler/lipsum/") - (synopsis "Lorem ipsum text generation library in Rust") - (description - "Lipsum is a lorem ipsum text generation library. Use this if you need -some filler text for your application. The text is generated using a simple -Markov chain, which you can also instantiate to generate your own pieces of -pseudo-random text.") - (license license:expat))) - (define-public rust-libssh2-sys-0.2 (package (name "rust-libssh2-sys") @@ -33436,8 +30518,36 @@ pseudo-random text.") (license (list license:asl2.0 license:expat)))) +(define-public rust-libtest-mimic-0.5 + (package + (name "rust-libtest-mimic") + (version "0.5.2") + (source (origin + (method url-fetch) + (uri (crate-uri "libtest-mimic" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1v103c90ibs35ffr9mww9h5la3b7xxvil32v6x0szxcqq9wr8lkr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-clap" ,rust-clap-3) + ("rust-termcolor" ,rust-termcolor-1) + ("rust-threadpool" ,rust-threadpool-1)) + #:cargo-development-inputs + (("rust-fastrand" ,rust-fastrand-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-1)))) + (home-page "https://github.com/LukasKalbertodt/libtest-mimic") + (synopsis "Tools for writing a test harness") + (description + "Write your own test harness that looks and behaves like the built-in test +harness used by @code{rustc --test}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-libtest-mimic-0.3 (package + (inherit rust-libtest-mimic-0.5) (name "rust-libtest-mimic") (version "0.3.0") (source (origin @@ -33447,87 +30557,12 @@ pseudo-random text.") (sha256 (base32 "1bp2jllwpciljr14g6s9bk4835g46kszgrjwi66vxxsk3ynbi9q8")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.4) ("rust-rayon" ,rust-rayon-1) ("rust-structopt" ,rust-structopt-0.3) - ("rust-termcolor" ,rust-termcolor-1)))) - (home-page "https://github.com/LukasKalbertodt/libtest-mimic") - (synopsis "Tools for writing a test harness") - (description - "Write your own test harness that looks and behaves like the built-in test -harness used by @code{rustc --test}.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-lmdb-rkv-0.14 - (package - (name "rust-lmdb-rkv") - (version "0.14.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "lmdb-rkv" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0aylp9j3s34cgxfj3dszcnplj5a594ylykhgnpxrqafag9pjjyj4")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-lmdb-rkv-sys" ,rust-lmdb-rkv-sys-0.11)) - #:cargo-development-inputs - (("rust-rand" ,rust-rand-0.4) - ("rust-tempdir" ,rust-tempdir-0.3)))) - (native-inputs - (list pkg-config)) - (inputs - (list lmdb)) - (home-page "https://github.com/mozilla/lmdb-rs") - (synopsis "Safe Rust bindings for LMDB") - (description "This package provides idiomatic and safe APIs for interacting -with lmdb.") - (license license:asl2.0))) - -(define-public rust-lmdb-rkv-sys-0.11 - (package - (name "rust-lmdb-rkv-sys") - (version "0.11.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "lmdb-rkv-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1994mvbdxkvq6c3z9npv1zjpvrhvpk9zry3azgyklyqn4nn70x5j")) - (modules '((guix build utils))) - (snippet - '(begin - (delete-file-recursively "lmdb") - #t)))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Tests fail after removing bundled source. - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-bindgen" ,rust-bindgen-0.53) - ("rust-cc" ,rust-cc-1) - ("rust-pkg-config" ,rust-pkg-config-0.3)))) - (native-inputs - (list pkg-config)) - (inputs - (list lmdb)) - (home-page "https://github.com/mozilla/lmdb-rs") - (synopsis "Rust bindings for liblmdb") - (description "This package provides rust bindings for liblmdb.") - (license license:asl2.0))) + ("rust-termcolor" ,rust-termcolor-1)))))) (define-public rust-locale-0.2 (package @@ -33579,49 +30614,6 @@ with lmdb.") by inspecting the system for user preference.") (license license:expat))) -(define-public rust-locale-config-0.2 - (package - (inherit rust-locale-config-0.3) - (name "rust-locale-config") - (version "0.2.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "locale-config" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0p2kdgc1c9cq5bi2rpszbhkh7pdk1fwxhij37gayb2alwkmikb3k")))) - (arguments - `(#:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static-1) - ("rust-regex" ,rust-regex-1) - ("rust-winapi" ,rust-winapi-0.3)))))) - -(define-public rust-located-yaml-0.2 - (package - (name "rust-located-yaml") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "located_yaml" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0xnx5al5v7d9syspj0irm22alwc3a9adikqxpbyyf6vsz3k8xilv")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-linked-hash-map" ,rust-linked-hash-map-0.5) - ("rust-serde" ,rust-serde-1) - ("rust-yaml-rust" ,rust-yaml-rust-0.4)))) - (home-page "https://github.com/johnlepikhin/located_yaml") - (synopsis "YAML parser with saved positions") - (description - "YAML parser which provides AST with saved tokens positions.") - (license (list license:expat)))) - (define-public rust-lock-api-0.4 (package (name "rust-lock-api") @@ -33744,98 +30736,6 @@ by inspecting the system for user preference.") `(#:cargo-inputs (("rust-log" ,rust-log-0.4)))))) -(define-public rust-log-mdc-0.1 - (package - (name "rust-log-mdc") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "log-mdc" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1iw1x3qhjvrac35spikn5h06a1rxd9vw216jk8h52jhz9i0j2kd9")))) - (build-system cargo-build-system) - (home-page "https://github.com/sfackler/rust-log-mdc") - (synopsis "Mapped diagnostic context (MDC) for use with the `log` crate") - (description "This package provides a mapped diagnostic context (MDC) for -use with the `log` crate.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-log4rs-1 - (package - (name "rust-log4rs") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "log4rs" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "04d21kkb6if7hly0syp64m15a9695fpfgvlnff3gy58i1n42lmyi")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; 37 passed, 1 failed - #:cargo-inputs - (("rust-anyhow" ,rust-anyhow-1) - ("rust-arc-swap" ,rust-arc-swap-0.4) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-derivative" ,rust-derivative-2) - ("rust-flate2" ,rust-flate2-1) - ("rust-fnv" ,rust-fnv-1) - ("rust-humantime" ,rust-humantime-2) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-log-mdc" ,rust-log-mdc-0.1) - ("rust-parking-lot" ,rust-parking-lot-0.11) - ("rust-regex" ,rust-regex-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-value" ,rust-serde-value-0.7) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-yaml" ,rust-serde-yaml-0.8) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-thread-id" ,rust-thread-id-3) - ("rust-toml" ,rust-toml-0.5) - ("rust-typemap" ,rust-typemap-0.3) - ("rust-winapi" ,rust-winapi-0.3)) - #:cargo-development-inputs - (("rust-humantime" ,rust-humantime-2) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-streaming-stats" - ,rust-streaming-stats-0.2) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/estk/log4rs") - (synopsis "Highly configurable logging implementation") - (description "This package provides a highly configurable multi-output -logging implementation for the `log` facade.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-logtest-2 - (package - (name "rust-logtest") - (version "2.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "logtest" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "09ihwkq6z7xm6wdwxmc9mz74lsl20g5bi7fcdm8n87bwcnl46gpb")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #false - #:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4)) - #:cargo-development-inputs - (("rust-kv-log-macro" ,rust-kv-log-macro-1)))) - (home-page "https://github.com/yoshuawuyts/logtest") - (synopsis "Test and assert log statements") - (description "This package tests and asserts log statements.") - (license (list license:expat license:asl2.0)))) - (define-public rust-loom-0.5 (package (name "rust-loom") @@ -34097,21 +30997,6 @@ key-value pairs.") "Colorize paths using the LS_COLORS environment variable.") (license (list license:expat license:asl2.0)))) -(define-public rust-lscolors-0.6 - (package - (inherit rust-lscolors-0.7) - (name "rust-lscolors") - (version "0.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "lscolors" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0jxsgkn378kxkiqdshdjdclw5wwp2xaz45cqd3yw85fhn8a38fza")))))) - (define-public rust-lsp-types-0.91 (package (name "rust-lsp-types") @@ -34549,26 +31434,6 @@ algorithms. It supports CBC block cipher mode, PKCS5 padding and 64, 128, "This package provides a simple parser for MIME e-mail messages.") (license license:bsd-0))) -(define-public rust-make-cmd-0.1 - (package - (name "rust-make-cmd") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "make-cmd" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1ly0lc5p1a0qdiqnh19ly3snb9q83sjbbb1njvh8a5xgx3xqmjm8")))) - (build-system cargo-build-system) - (home-page "https://github.com/mneumann/make-cmd-rs") - (synopsis "Enable build.rs scripts to invoke gnu_make") - (description "This package enables build.rs scripts to invoke gnu_make -platform-independently.") - (license license:expat))) - (define-public rust-malloc-buf-0.0 (package (name "rust-malloc-buf") @@ -35103,32 +31968,6 @@ compression function.") (supported-systems '("x86_64-linux" "i686-linux")) (license license:expat))) -(define-public rust-mdns-0.3 - (package - (name "rust-mdns") - (version "0.3.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "mdns" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0a96id6nzpbqhdiv90fdmaji0nlmfsdcbk1nvrmapv5xw6fiaclw")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-dns-parser" ,rust-dns-parser-0.8) - ("rust-error-chain" ,rust-error-chain-0.12) - ("rust-get-if-addrs" ,rust-get-if-addrs-0.5) - ("rust-mio" ,rust-mio-0.6) - ("rust-net2" ,rust-net2-0.2)))) - (home-page "https://github.com/dylanmckay/mdns") - (synopsis "Multicast DNS client library") - (description "This package provides a multicast DNS client library. It -supports discovery of any mDNS device on a LAN.") - (license license:expat))) - (define-public rust-measureme-0.7 (package (name "rust-measureme") @@ -35398,22 +32237,6 @@ for Rust structs.") (("rust-doc-comment" ,rust-doc-comment-0.3)))) (inputs '()))) -(define-public rust-memoffset-0.2 - (package - (inherit rust-memoffset-0.5) - (name "rust-memoffset") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "memoffset" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1cvm2z7dy138s302ii7wlzcxbka5a8yfl5pl5di7lbdnw9hw578g")))) - (arguments `(#:skip-build? #t)))) - (define-public rust-memsec-0.6 (package (name "rust-memsec") @@ -35617,37 +32440,6 @@ based on Rustls and Ring.") (description "This package provides Rust bindings for Metal.") (license (list license:expat license:asl2.0)))) -(define-public rust-metal-0.14 - (package - (inherit rust-metal-0.18) - (name "rust-metal") - (version "0.14.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "metal" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0my1xwlv562i80y3jbk0nygayi383j5skdwk48clb286b7922gyd")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-block" ,rust-block-0.1) - ("rust-cocoa" ,rust-cocoa-0.18) - ("rust-core-graphics" ,rust-core-graphics-0.17) - ("rust-foreign-types" ,rust-foreign-types-0.3) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-objc" ,rust-objc-0.2) - ("rust-objc-foundation" ,rust-objc-foundation-0.1) - ("rust-objc-id" ,rust-objc-id-0.1)) - #:cargo-development-inputs - (("rust-sema" ,rust-sema-0.1) - ("rust-winit" ,rust-winit-0.19)))))) ; 0.17? - (define-public rust-tls-parser-0.10 (package (name "rust-tls-parser") @@ -36030,19 +32822,6 @@ efficient round-trip float parsing. Minimal-lexical implements a correct, fast float parser.") (license (list license:expat license:asl2.0)))) -(define-public rust-minimal-lexical-0.1 - (package - (inherit rust-minimal-lexical-0.2) - (name "rust-minimal-lexical") - (version "0.1.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "minimal-lexical" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0xynhr97vyv5n5lls41dl7bfa3ba122lix9mqij1l7yprl6n6r4w")))))) - (define-public rust-miniz-oxide-0.5 (package (name "rust-miniz-oxide") @@ -36106,51 +32885,6 @@ streaming API for miniz_oxide.") (arguments `(#:cargo-inputs (("rust-adler32" ,rust-adler32-1)))))) -(define-public rust-miniz-oxide-0.2 - (package - (inherit rust-miniz-oxide-0.3) - (name "rust-miniz-oxide") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "miniz_oxide" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "17f92krv9hhsyc38prpfyn99m2hqhr4fgszpsla66a6gcrnpbhxn")))) - (arguments `(#:skip-build? #t)))) - -(define-public rust-miniz-oxide-c-api-0.2 - (package - (name "rust-miniz-oxide-c-api") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "miniz_oxide_c_api" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1514mvlj8vl723xqxnww5cfqr2mhnqqqf18fn3df17yx8racly2v")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-crc32fast" ,rust-crc32fast-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-miniz-oxide" ,rust-miniz-oxide-0.2)) - #:cargo-development-inputs - (("rust-cc" ,rust-cc-1)))) - (home-page "https://github.com/Frommi/miniz_oxide/") - (synopsis "DEFLATE compression and decompression API") - (description - "DEFLATE compression and decompression API designed to be Rust -drop-in replacement for miniz.") - (license license:expat))) - (define-public rust-miniz-sys-0.1 (package (name "rust-miniz-sys") @@ -36199,34 +32933,6 @@ drop-in replacement for miniz.") "This package provides math interoperability standard types.") (license license:expat))) -(define-public rust-minus-3 - (package - (name "rust-minus") - (version "3.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "minus" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0k0h6zpfv87kkadkjjyhzgalciqvjrlhc48lxcp46rg6rk17s5d4")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-async-std" ,rust-async-std-1) - ("rust-crossterm" ,rust-crossterm-0.19) - ("rust-regex" ,rust-regex-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-tokio" ,rust-tokio-1)))) - (home-page "https://github.com/arijit79/minus") - (synopsis "Asynchronous paging library for Rust") - (description - "Minus is a fast, asynchronous terminal paging library for Rust. It -provides high level functionalities to easily write a pager for any terminal -application.") - (license (list license:expat license:asl2.0)))) - (define-public rust-mio-0.8 (package (name "rust-mio") @@ -36338,28 +33044,6 @@ possible over the OS abstractions.") "This package provides asynchronous wrapper for Windows synchronous pipes.") (license license:expat))) -(define-public rust-mio-anonymous-pipes-0.1 - (package - (inherit rust-mio-anonymous-pipes-0.2) - (name "rust-mio-anonymous-pipes") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "mio-anonymous-pipes" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1bqs8wncd73q4pnbiwskhgds57hyr8g89vfpqmw1vk9dqp1p9hpq")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-mio" ,rust-mio-0.6) - ("rust-miow" ,rust-miow-0.3) - ("rust-spsc-buffer" ,rust-spsc-buffer-0.1) - ("rust-winapi" ,rust-winapi-0.3)))))) - (define-public rust-mio-extras-2 (package (name "rust-mio-extras") @@ -36511,125 +33195,6 @@ IOCP and Async I/O abstractions.") #:cargo-development-inputs (("rust-rand" ,rust-rand-0.3)))))) -(define-public rust-mockall-0.10 - (package - (name "rust-mockall") - (version "0.10.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "mockall" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1h4s2bpkkm0zyd6mnc3718p0ysmcxyiwrjlk4hrawy7si8r73dba")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-downcast" ,rust-downcast-0.10) - ("rust-fragile" ,rust-fragile-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-mockall-derive" ,rust-mockall-derive-0.10) - ("rust-predicates" ,rust-predicates-1) - ("rust-predicates-tree" ,rust-predicates-tree-1)) - #:cargo-development-inputs - (("rust-async-trait" ,rust-async-trait-0.1) - ("rust-futures" ,rust-futures-0.3) - ("rust-mockall-double" ,rust-mockall-double-0.2) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-tracing" ,rust-tracing-0.1)))) - (home-page "https://github.com/asomers/mockall") - (synopsis "Mock object library for Rust") - (description "This package provides a powerful mock object library for -Rust.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-mockall-derive-0.10 - (package - (name "rust-mockall-derive") - (version "0.10.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "mockall_derive" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0cwhcfsc16b8p4yrsrxnhfxfdn0n89cmjja13wb6kxik8hhmpqp7")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/asomers/mockall") - (synopsis "Procedural macros for Mockall") - (description "This crate provides procedural macros for Mockall.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-mockall-double-0.2 - (package - (name "rust-mockall-double") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "mockall_double" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1ib7ahq98ah13i69ypx6wrkc3ksmjw3jkmh0s2qi7dxj6j6vf99y")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/asomers/mockall") - (synopsis "Test double adapter for Mockall") - (description "This crate tests double adapter for Mockall.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-mockito-0.23 - (package - (name "rust-mockito") - (version "0.23.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "mockito" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0kh2wg24441miqcnrp2miaapphn8wgm18x23yjq45pajsjxfd0mf")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags - '("--release" - "--" - "--skip=test_assert_with_last_unmatched_request" - "--skip=test_assert_with_last_unmatched_request_and_headers") - #:cargo-inputs - (("rust-assert-json-diff" ,rust-assert-json-diff-1) - ("rust-colored" ,rust-colored-1) - ("rust-difference" ,rust-difference-2) - ("rust-httparse" ,rust-httparse-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-rand" ,rust-rand-0.7) - ("rust-regex" ,rust-regex-1) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/lipanski/mockito") - (synopsis "HTTP mocking for Rust") - (description "This crate provides HTTP mocking for Rust.") - (license license:expat))) - (define-public rust-model-0.1 (package (name "rust-model") @@ -36703,110 +33268,6 @@ checking.") (description "mp4 is a Rust library to read and write ISO-MP4 files.") (license license:expat))) -(define-public rust-mp4-0.8 - (package - (inherit rust-mp4-0.9) - (name "rust-mp4") - (version "0.8.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "mp4" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "14zh9dh6hwzmbchl7yh8wv84r0fniq1jcbz9x2hqq699h6l1issi")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-bytes" ,rust-bytes-0.5) - ("rust-num-rational" ,rust-num-rational-0.3) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-thiserror" ,rust-thiserror-1)))))) - -(define-public rust-mp4parse-0.11 - (package - (name "rust-mp4parse") - (version "0.11.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "mp4parse" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0rd35ml4mm4xmz3n95wn5b4sgrj80q9i300759hzx1wiy2rrgsk0")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitreader" ,rust-bitreader-0.3) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-env-logger" ,rust-env-logger-0.8) - ("rust-fallible-collections" ,rust-fallible-collections-0.4) - ("rust-log" ,rust-log-0.4) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-static-assertions" ,rust-static-assertions-1)))) - (home-page "https://github.com/mozilla/mp4parse-rust") - (synopsis "Parser for ISO base media file format (mp4)") - (description "Parser for ISO base media file format (mp4)") - (license license:mpl2.0))) - -(define-public rust-mpris-player-0.6 - (package - (name "rust-mpris-player") - (version "0.6.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "mpris-player" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "01xvdzac9vwzc0fxpa7qwnn3n62bngrmr5z2n9pf86z3xgbasssg")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-dbus" ,rust-dbus-0.6) - ("rust-glib" ,rust-glib-0.10)))) - (native-inputs - (list pkg-config)) - (inputs - (list dbus glib)) - (home-page "https://gitlab.gnome.org/World/Rust/mpris-player") - (synopsis "Library for creating MPRIS2 media players over D-Bus") - (description "This package provides a library for creating MPRIS2 media -players over D-Bus.") - (license license:gpl3+))) - -(define-public rust-multi-default-trait-impl-0.1 - (package - (name "rust-multi-default-trait-impl") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "multi-default-trait-impl" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1r6y5zb6kg655zi02yk4amkwsgds5ay9ag1dk30cls7rn3dlvvqs")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static-1) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/hainish/multi-default-trait-impl") - (synopsis "Define multiple implementations of trait") - (description - "This library contains two attribute macros: @code{default_trait_impl} -which defines a default trait implementation, and @code{trait_impl} which uses -a default trait implementation you've defined.") - (license license:lgpl2.1+))) - (define-public rust-multimap-0.8 (package (name "rust-multimap") @@ -37076,26 +33537,6 @@ quick compile time, and minimal dependencies.") (description "Run NASM during your Cargo build.") (license (list license:expat license:asl2.0)))) -(define-public rust-nasm-rs-0.1 - (package - (inherit rust-nasm-rs-0.2) - (name "rust-nasm-rs") - (version "0.1.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "nasm-rs" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0r34hiy1pc0aksrfc02zsl0zyw33i9yi7kyx8l214l7nm0mzm97y")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-rayon" ,rust-rayon-1)))))) - (define-public rust-nalgebra-0.29 (package (name "rust-nalgebra") @@ -37334,42 +33775,6 @@ statically-sized or dynamically-sized matrices.") (("rust-rand-xorshift" ,rust-rand-xorshift-0.2) ("rust-serde-json" ,rust-serde-json-1)))))) -(define-public rust-nalgebra-0.18 - (package - (inherit rust-nalgebra-0.19) - (name "rust-nalgebra") - (version "0.18.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "nalgebra" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "18i1npny8s45ff67p5qpdwwsn36fp23mal8847fkb32cqgdzvada")))) - (arguments - `(#:cargo-inputs - (("rust-abomonation" ,rust-abomonation-0.7) - ("rust-alga" ,rust-alga-0.9) - ("rust-approx" ,rust-approx-0.3) - ("rust-generic-array" ,rust-generic-array-0.12) - ("rust-matrixmultiply" ,rust-matrixmultiply-0.2) - ("rust-mint" ,rust-mint-0.5) - ("rust-num-complex" ,rust-num-complex-0.2) - ("rust-num-rational" ,rust-num-rational-0.2) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-pest" ,rust-pest-2) - ("rust-pest-derive" ,rust-pest-derive-2) - ("rust-quickcheck" ,rust-quickcheck-0.8) - ("rust-rand" ,rust-rand-0.6) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-typenum" ,rust-typenum-1)) - #:cargo-development-inputs - (("rust-rand-xorshift" ,rust-rand-xorshift-0.1) - ("rust-serde-json" ,rust-serde-json-1)))))) - (define-public rust-nalgebra-macros-0.1 (package (name "rust-nalgebra-macros") @@ -37402,29 +33807,6 @@ statically-sized or dynamically-sized matrices.") linear algebra library.") (license license:asl2.0))) -(define-public rust-named-pipe-0.4 - (package - (name "rust-named-pipe") - (version "0.4.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "named-pipe" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0azby10wzmsrf66m1bysbil0sjfybnvhsa8py093xz4irqy4975d")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t ; Only builds on Windows. - #:cargo-inputs (("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://github.com/blackbeam/named_pipe") - (synopsis "Wrapper for overlapped (asynchronous) IO of Windows's named pipes") - (description "This package provides a wrapper for overlapped (asynchronous) -IO of Windows's named pipes.") - (license (list license:expat license:asl2.0)))) - (define-public rust-napi-0.5 (package (name "rust-napi") @@ -38230,6 +34612,7 @@ cryptographic library.") release (fork of debug_unreachable)") (license license:expat))) +;; Keep this package for future packaging of NewsFlash. (define-public rust-news-flash-1 (package (name "rust-news-flash") @@ -38417,34 +34800,6 @@ applications written in Rust. Its API is inspired by the popular @code{express} framework for JavaScript.") (license license:expat))) -(define-public rust-nipper-0.1 - (package - (name "rust-nipper") - (version "0.1.9") - (source - (origin - (method url-fetch) - (uri (crate-uri "nipper" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "05h1zsqmg405f589lfm8ch2b0853h7hqv7mz38bvpx4k8s3844vn")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cssparser" ,rust-cssparser-0.27) - ("rust-html5ever" ,rust-html5ever-0.25) - ("rust-markup5ever" ,rust-markup5ever-0.10) - ("rust-selectors" ,rust-selectors-0.22) - ("rust-tendril" ,rust-tendril-0.4)))) - (home-page "https://github.com/importcjj/nipper") - (synopsis "HTML manipulation with CSS selectors") - (description - "Nipper is based on HTML crate html5ever and the CSS selector crate -selectors. You can use the jQuery-like syntax to query and manipulate an HTML -document quickly.") - (license (list license:expat license:asl2.0)))) - (define-public rust-nitrokey-0.9 (package (name "rust-nitrokey") @@ -39075,27 +35430,6 @@ combinators library.") ("rust-memchr" ,rust-memchr-1) ("rust-regex" ,rust-regex-0.2)))))) -(define-public rust-nom-2 - (package - (inherit rust-nom-4) - (name "rust-nom") - (version "2.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "nom" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1zv6ig7nw532rl4p35jsahglfhyyznjkblwa6si6c0plxhlsflfg")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static-0.2) - ("rust-regex" ,rust-regex-0.2)) - #:tests? #f)))) - (define-public rust-nom-1 (package (inherit rust-nom-4) @@ -39142,30 +35476,6 @@ combinators library.") (description "This package derives custom nom parsers from structs.") (license (list license:expat license:asl2.0)))) -(define-public rust-nom-locate-4 - (package - (name "rust-nom-locate") - (version "4.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nom_locate" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0186n5qbpiyhpas3nk8y4ynnbdghl4nx958bkq4a6a9hr8v48y9p")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-bytecount" ,rust-bytecount-0.6) - ("rust-memchr" ,rust-memchr-2) - ("rust-nom" ,rust-nom-7) - ("rust-stable-deref-trait" ,rust-stable-deref-trait-1)))) - (home-page "https://github.com/fflorent/nom_locate") - (synopsis "Special input type for nom to locate tokens") - (description "This crate provides the @code{LocatedSpan} struct that -encapsulates the data.") - (license (list license:expat)))) - (define-public rust-noop-proc-macro-0.3 (package (name "rust-noop-proc-macro") @@ -39186,22 +35496,6 @@ encapsulates the data.") nothing.") (license license:expat))) -(define-public rust-noop-proc-macro-0.2 - (package - (inherit rust-noop-proc-macro-0.3) - (name "rust-noop-proc-macro") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "noop_proc_macro" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0in1l0rjxzs4fylb6zad484z1c58jxyzchhc12k0cjrvm0y6zwsz")))) - (arguments `(#:skip-build? #t)))) - (define-public rust-normalize-line-endings-0.3 (package (name "rust-normalize-line-endings") @@ -39280,32 +35574,6 @@ with all line endings.") "Cross-platform filesystem notification library") (license (list license:cc0 license:artistic2.0)))) -(define-public rust-noise-0.7 - (package - (name "rust-noise") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "noise" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0hsbw9gpsz8w9msvyvddygagd9wj93hqpg5pxz388laxfkb1s1c2")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-image" ,rust-image-0.23) - ("rust-rand" ,rust-rand-0.7) - ("rust-rand-xorshift" ,rust-rand-xorshift-0.2)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3)))) - (home-page "https://github.com/razaekel/noise-rs") - (synopsis "Procedural noise generation library") - (description "This package provides a Rust library to generate smoothly -varying noise for textural use and graphical display.") - (license (list license:asl2.0 license:expat)))) - (define-public rust-notify-4 (package (inherit rust-notify-5) @@ -39708,33 +35976,6 @@ more.") Rust.") (license (list license:expat license:asl2.0)))) -(define-public rust-num-bigint-dig-0.6 -(package - (inherit rust-num-bigint-dig-0.7) - (name "rust-num-bigint-dig") - (version "0.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "num-bigint-dig" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1aljx3bxfnzq35i9pkbqkj0d0hc1wjc2dd60wccjqylz1wrkrl5k")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-autocfg" ,rust-autocfg-0.1) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libm" ,rust-libm-0.2) - ("rust-num-integer" ,rust-num-integer-0.1) - ("rust-num-iter" ,rust-num-iter-0.1) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-rand" ,rust-rand-0.7) - ("rust-serde" ,rust-serde-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-zeroize" ,rust-zeroize-1)))))) - (define-public rust-num-complex-0.4 (package (name "rust-num-complex") @@ -40627,86 +36868,6 @@ file formats.") ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) ("rust-wasmparser" ,rust-wasmparser-0.57)))))) -(define-public rust-object-0.22 - (package - (inherit rust-object-0.23) - (name "rust-object") - (version "0.22.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "object" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "15r383qxxwq08q3a5rfqhp971wd0nixd9ny22xw37jy31qv66fwd")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) - ("rust-crc32fast" ,rust-crc32fast-1) - ("rust-flate2" ,rust-flate2-1) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) - ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) - ("rust-wasmparser" ,rust-wasmparser-0.57)))))) - -(define-public rust-object-0.17 - (package - (inherit rust-object-0.23) - (name "rust-object") - (version "0.17.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "object" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1bmgbg4k0725lchfy9j1wnpfmywh5qhs0k4k6j2g7c0acvys8i7a")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-goblin" ,rust-goblin-0.1) - ("rust-target-lexicon" ,rust-target-lexicon-0.10) - ("rust-scroll" ,rust-scroll-0.10) - ("rust-parity-wasm" ,rust-parity-wasm-0.41) - ("rust-uuid" ,rust-uuid-0.8) - ("rust-flate2" ,rust-flate2-1) - ("rust-crc32fast" ,rust-crc32fast-1) - ("rust-indexmap" ,rust-indexmap-1)))))) - -(define-public rust-object-0.12 - (package - (name "rust-object") - (version "0.12.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "object" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1dch1ajjp05d16lig1dnvisfis0hrlrvw9lcwy1hwgdcym3z6jnz")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-flate2" ,rust-flate2-1) - ("rust-goblin" ,rust-goblin-0.0) - ("rust-parity-wasm" ,rust-parity-wasm-0.40) - ("rust-scroll" ,rust-scroll-0.9) - ("rust-uuid" ,rust-uuid-0.7)) - #:cargo-development-inputs - (("rust-memmap" ,rust-memmap-0.7)))) - (home-page "https://github.com/gimli-rs/object") - (synopsis "Parse object file formats") - (description - "This package provides a unified interface for parsing object file -formats.") - (license (list license:expat license:asl2.0)))) - (define-public rust-odds-0.3 (package (name "rust-odds") @@ -40816,26 +36977,6 @@ grammars and BER/DER encodings, for example.") library.") (license license:expat))) -(define-public rust-onig-5 - (package - (inherit rust-onig-6) - (name "rust-onig") - (version "5.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "onig" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0ivr0wq1zlyjhhkxpsnmpncg92sjx3rha8pnp3m1mzvgk7y27rz4")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-onig-sys" ,rust-onig-sys-69.2)))))) - (define-public rust-onig-sys-69.6 (package (name "rust-onig-sys") @@ -40863,25 +37004,6 @@ This crate exposes a set of unsafe functions which can then be used by other crates to create safe wrappers around Oniguruma.") (license license:expat))) -(define-public rust-onig-sys-69.2 - (package - (inherit rust-onig-sys-69.6) - (name "rust-onig-sys") - (version "69.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "onig_sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0kjijq29yx05xxg9snvqnfn53dl52hchb4sk3zhfr77mypxlx38a")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bindgen" ,rust-bindgen-0.50) - ("rust-cc" ,rust-cc-1) - ("rust-pkg-config" ,rust-pkg-config-0.3)))))) - (define-public rust-once-cell-1 (package (name "rust-once-cell") @@ -40912,26 +37034,6 @@ be assigned to at most once and provide direct access to the stored contents.") (license (list license:expat license:asl2.0)))) -(define-public rust-once-cell-0.1 - (package - (inherit rust-once-cell-1) - (name "rust-once-cell") - (version "0.1.8") - (source - (origin - (method url-fetch) - (uri (crate-uri "once-cell" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0drcjs7si0hygc0v64y55hkxv9fpvlvrb3wl5374b2hnc6i2jb2k")))) - (arguments - `(#:cargo-inputs - (("rust-parking-lot" ,rust-parking-lot-0.7)) - #:cargo-development-inputs - (("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6)))))) - (define-public rust-oorandom-11.1 (package (name "rust-oorandom") @@ -41427,33 +37529,6 @@ iteration. NOTE: This crate was renamed to @code{indexmap}. Please use it under its new name.") (license (list license:asl2.0 license:expat)))) -(define-public rust-os-info-3 - (package - (name "rust-os-info") - (version "3.0.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "os_info" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1pbcf2in8i9w6zjzk6jmrd89gm5h7qpyqi3hvkl0axpzp1m57lmk")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-development-inputs - (("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-pretty-assertions" ,rust-pretty-assertions-0.7)) - #:cargo-inputs - (("rust-log" ,rust-log-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://github.com/stanislav-tkach/os_info") - (synopsis "Detect the operating system type and version") - (description - "This library detects the operating system type and version.") - (license license:expat))) - (define-public rust-os-pipe-1 (package (name "rust-os-pipe") @@ -41912,61 +37987,6 @@ memory page size.") "This package pipes your Rust output through an external pager.") (license (list license:asl2.0 license:expat)))) -(define-public rust-palette-0.5 - (package - (name "rust-palette") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "palette" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0nfc4ycdsx2qgf2wkcpxqxc0vmx7188jjjx3ppgs8qlf8qs06p50")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-num-traits" ,rust-num-traits-0.2) - ("rust-approx" ,rust-approx-0.3) - ("rust-palette-derive" ,rust-palette-derive-0.5) - ("rust-phf" ,rust-phf-0.8) - ("rust-phf-codegen" ,rust-phf-codegen-0.8) - ("rust-serde" ,rust-serde-1)))) - (home-page "https://github.com/Ogeon/palette") - (synopsis "Linear color calculations and conversion") - (description - "This package makes linear color calculations and conversion accessible.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-palette-derive-0.5 - (package - (name "rust-palette-derive") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "palette_derive" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1x5icddb877923rpl27bg4cjsf1x0d3layxmgwa3mpb01rh5yjqb")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-syn" ,rust-syn-1) - ("rust-quote" ,rust-quote-1)))) - (home-page "https://github.com/Ogeon/palette") - (synopsis "Automatically implement traits from the palette crate") - (description - "Automatically implement traits from the palette crate.") - (license (list license:expat license:asl2.0)))) - (define-public rust-pancurses-0.16 (package (name "rust-pancurses") @@ -42078,76 +38098,6 @@ sequence alignment tools.") want in the terminal.") (license license:mpl2.0))) -(define-public rust-parity-bytes-0.1 - (package - (name "rust-parity-bytes") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "parity-bytes" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0rww406dih6yxr4iadz7l07sibklqywxz10gjzdqn4r04hx6xd8n")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://github.com/paritytech/parity-common") - (synopsis "General bytes-related utilities") - (description "This package provides general bytes-related utilities, -including a pretty-printer.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-parity-crypto-0.9 - (package - (name "rust-parity-crypto") - (version "0.9.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "parity-crypto" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0dafz7pfi21plp6r6k2bh7ysjd3x75yix6a9gkdy3mn0vafym4jb")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-aes" ,rust-aes-0.6) - ("rust-block-modes" ,rust-block-modes-0.7) - ("rust-digest" ,rust-digest-0.9) - ("rust-ethereum-types" ,rust-ethereum-types-0.12) - ("rust-hex" ,rust-hex-0.2) - ("rust-hmac" ,rust-hmac-0.10) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-pbkdf2" ,rust-pbkdf2-0.7) - ("rust-ripemd" ,rust-ripemd-0.1) - ("rust-rustc-hex" ,rust-rustc-hex-2) - ("rust-scrypt" ,rust-scrypt-0.5) - ("rust-secp256k1" ,rust-secp256k1-0.20) - ("rust-sha2" ,rust-sha2-0.9) - ("rust-subtle" ,rust-subtle-2) - ("rust-tiny-keccak" ,rust-tiny-keccak-2) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) - ("rust-hex-literal" ,rust-hex-literal-0.3)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-version-requirements - (lambda _ - ;; SUBSTITUTE* can't do multiline regex, so let's just do this: - (delete-file "Cargo.toml") - (rename-file "Cargo.toml.orig" "Cargo.toml") - (substitute* "Cargo.toml" - (("aes-ctr = \"0.6.0\"") "") - (("ethereum-types = \\{ version = \"0.12.0\".*") - "ethereum-types = { version = \"0.12.0\", optional = true }\n") - (("ripemd160 = \"0.9.1\"") "ripemd = \"0.1.0\""))))))) - (home-page "https://github.com/paritytech/parity-common") - (synopsis "General cryptographic utilities for Ethereum") - (description "This Rust library provides general cryptographic utilities -for Ethereum.") - (license (list license:expat license:asl2.0)))) - (define-public rust-parity-scale-codec-2 (package (name "rust-parity-scale-codec") @@ -42209,36 +38159,6 @@ Concatenating Aggregated Little Endians.") derive macro for Parity SCALE Codec.") (license license:asl2.0))) -(define-public rust-parity-tokio-ipc-0.4 - (package - (name "rust-parity-tokio-ipc") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "parity-tokio-ipc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1gzifrrpiw78p6dq9ax64vhffc4h6mwg6jazpfgkz8zy0jjzwmqy")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-bytes" ,rust-bytes-0.4) - ("rust-futures" ,rust-futures-0.1) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-mio-named-pipes" ,rust-mio-named-pipes-0.1) - ("rust-miow" ,rust-miow-0.3) - ("rust-rand" ,rust-rand-0.7) - ("rust-tokio" ,rust-tokio-0.1) - ("rust-tokio-named-pipes" ,rust-tokio-named-pipes-0.1) - ("rust-tokio-uds" ,rust-tokio-uds-0.2) - ("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://github.com/nikvolf/parity-tokio-ipc") - (synopsis "Interprocess communication library for tokio") - (description "Interprocess communication library for tokio.") - (license (list license:expat license:asl2.0)))) - (define-public rust-parity-wasm-0.41 (package (name "rust-parity-wasm") @@ -42903,24 +38823,6 @@ the PHC string format (a well-defined subset of the Modular Crypt Format (MCF).") (license (list license:expat license:asl2.0)))) -(define-public rust-password-hash-0.1 - (package - (inherit rust-password-hash-0.3) - (name "rust-password-hash") - (version "0.1.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "password-hash" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1ymh3np2bamjy8rszimksxcp264dclil4620bxm8rff9pyj6m62l")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-base64ct" ,rust-base64ct-1) - ("rust-rand-core" ,rust-rand-core-0.6)))))) - (define-public rust-paste-1 (package (name "rust-paste") @@ -43057,21 +38959,6 @@ path.Clean.") directory path to the provided path.") (license (list license:asl2.0 license:expat)))) -(define-public rust-pathdiff-0.1 - (package - (inherit rust-pathdiff-0.2) - (name "rust-pathdiff") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "pathdiff" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0cfg3isnx6mf3wbi7rsg4nmvywby40sbcs589n20fgi09l4p1gx3")))))) - (define-public rust-pbkdf2-0.10 (package (name "rust-pbkdf2") @@ -43135,34 +39022,6 @@ in pure Rust.") ("rust-sha2" ,rust-sha2-0.9) ("rust-streebog" ,rust-streebog-0.9)))))) -(define-public rust-pbkdf2-0.7 - (package - (inherit rust-pbkdf2-0.9) - (name "rust-pbkdf2") - (version "0.7.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "pbkdf2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "022m5yb6fagzrks5m5kkj2yzccqffk19vnchg289fqnj5p9nv4dz")))) - (arguments - `(#:cargo-inputs - (("rust-base64ct" ,rust-base64ct-1) - ("rust-crypto-mac" ,rust-crypto-mac-0.10) - ("rust-hmac" ,rust-hmac-0.10) - ("rust-password-hash" ,rust-password-hash-0.1) - ("rust-rayon" ,rust-rayon-1) - ("rust-sha-1" ,rust-sha-1-0.9) - ("rust-sha2" ,rust-sha2-0.9)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-hmac" ,rust-hmac-0.8) - ("rust-rand-core" ,rust-rand-core-0.6) - ("rust-sha-1" ,rust-sha-1-0.9) - ("rust-sha2" ,rust-sha2-0.9)))))) - (define-public rust-pbkdf2-0.6 (package (inherit rust-pbkdf2-0.10) @@ -43219,35 +39078,6 @@ in pure Rust.") ("rust-sha-1" ,rust-sha-1-0.9) ("rust-sha2" ,rust-sha2-0.9)))))) -(define-public rust-pbkdf2-0.3 - (package - (inherit rust-pbkdf2-0.4) - (name "rust-pbkdf2") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "pbkdf2" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1na2fmmfcmksz4xk7m0ihl778501c1krx88dcylrand48f506v00")))) - (arguments - `(#:cargo-inputs - (("rust-base64" ,rust-base64-0.9) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-crypto-mac" ,rust-crypto-mac-0.7) - ("rust-hmac" ,rust-hmac-0.7) - ("rust-rand" ,rust-rand-0.5) - ("rust-rayon" ,rust-rayon-1) - ("rust-sha2" ,rust-sha2-0.8) - ("rust-subtle" ,rust-subtle-1)) - #:cargo-development-inputs - (("rust-hmac" ,rust-hmac-0.7) - ("rust-sha-1" ,rust-sha-1-0.8) - ("rust-sha2" ,rust-sha2-0.8)))))) - (define-public rust-pcap-sys-0.1 (package (name "rust-pcap-sys") @@ -44626,29 +40456,6 @@ network packet formats.") (license (list license:asl2.0 license:expat)))) -(define-public rust-platforms-2 - (package - (name "rust-platforms") - (version "2.0.0") - (source (origin - (method url-fetch) - (uri (crate-uri "platforms" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "152cnf65zzr6vj5xyap1aqp6ajmfqdhlij2x1lx02hhjazryxl78")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-serde" ,rust-serde-1)))) - (home-page "https://rustsec.org") - (synopsis "Query information about valid Rust platforms") - (description - "This package provides information about valid Rust platforms (target -triple, target_arch, target_os) sourced from Rust Forge.") - (license (list license:asl2.0 license:expat)))) - (define-public rust-plist-1 (package (name "rust-plist") @@ -44676,28 +40483,6 @@ triple, target_arch, target_os) sourced from Rust Forge.") serialization.") (license license:expat))) -(define-public rust-plist-0.4 - (package - (inherit rust-plist-1) - (name "rust-plist") - (version "0.4.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "plist" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0zqnxc5i4y6mj119vr0lzpb5j67vffpx2phhgh711533bw3ryajz")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-line-wrap" ,rust-line-wrap-0.1) - ("rust-base64" ,rust-base64-0.10) - ("rust-xml-rs" ,rust-xml-rs-0.8) - ("rust-serde" ,rust-serde-1) - ("rust-humantime" ,rust-humantime-1) - ("rust-byteorder" ,rust-byteorder-1)))))) - (define-public rust-plotters-0.3 (package (name "rust-plotters") @@ -44841,31 +40626,6 @@ both WASM and native applications") (description "This package provides utils for proc-macro.") (license (list license:asl2.0 license:expat)))) -(define-public rust-pnacl-build-helper-1 - (package - (name "rust-pnacl-build-helper") - (version "1.4.11") - (source - (origin - (method url-fetch) - (uri (crate-uri "pnacl-build-helper" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "145hxz3m3sg8mm9sfqqqaarnna43v65l6whwswrvcvy0fzp17gnz")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-tempdir" ,rust-tempdir-0.3) - ("rust-walkdir" ,rust-walkdir-1)))) - (home-page "https://github.com/DiamondLovesYou/cargo-pnacl-helper") - (synopsis - "Build script helper for building PNaCl/NaCl C/CXX libraries from source") - (description - "Build script helper for building PNaCl/NaCl C/CXX libraries from source") - (license license:mpl2.0))) - (define-public rust-pocket-resources-0.3 (package (name "rust-pocket-resources") @@ -44885,26 +40645,6 @@ both WASM and native applications") applications.") (license license:expat))) -(define-public rust-podio-0.1 - (package - (name "rust-podio") - (version "0.1.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "podio" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "06bzjxrl0h8rp5860n51dlr1g143grg2jmx4g6y1mdn2ignyz2xi")))) - (build-system cargo-build-system) - (home-page "https://github.com/mvdnes/podio.git") - (synopsis "Additional trait to read and write Plain Old Data") - (description - "Additional trait for Read and Write to read and write Plain Old Data.") - (license (list license:expat license:asl2.0)))) - (define-public rust-polars-0.17 (package (name "rust-polars") @@ -44929,84 +40669,6 @@ applications.") "Polars is a dataframe Library based on Apache Arrow.") (license license:expat))) -(define-public rust-polars-0.16 - (package - (inherit rust-polars-0.17) - (name "rust-polars") - (version "0.16.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "polars" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1s4fqc3vlpz73dbagfsj3hx7y7xmpqnp7nj0cn9srijxgxq5nm73")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-polars-core" ,rust-polars-core-0.16) - ("rust-polars-io" ,rust-polars-io-0.16) - ("rust-polars-lazy" ,rust-polars-lazy-0.16)))))) - -(define-public rust-polars-0.15 - (package - (inherit rust-polars-0.16) - (name "rust-polars") - (version "0.15.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "polars" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1sl7vs6ck05f8w8jp7v75431b4v5j2rvvvw53jqgxc5226i7a2h8")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-polars-core" ,rust-polars-core-0.15) - ("rust-polars-io" ,rust-polars-io-0.15) - ("rust-polars-lazy" ,rust-polars-lazy-0.15)))))) - -(define-public rust-polars-0.14 - (package - (inherit rust-polars-0.15) - (name "rust-polars") - (version "0.14.8") - (source - (origin - (method url-fetch) - (uri (crate-uri "polars" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0mjp68cjya17gfvc0kqy7wkcggrnjn1pd2pgxpn8ba5b7mgn9lcy")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-polars-core" ,rust-polars-core-0.14) - ("rust-polars-io" ,rust-polars-io-0.14) - ("rust-polars-lazy" ,rust-polars-lazy-0.14)))))) - -(define-public rust-polars-0.13 - (package - (inherit rust-polars-0.14) - (name "rust-polars") - (version "0.13.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "polars" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "104s1r0ndwz3blklbfshkm0km0602w9rqg9lbaq36zbbf93cw1n4")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-polars-core" ,rust-polars-core-0.13) - ("rust-polars-io" ,rust-polars-io-0.13) - ("rust-polars-lazy" ,rust-polars-lazy-0.13)))))) - (define-public rust-polars-arrow-0.17 (package (name "rust-polars-arrow") @@ -45088,26 +40750,6 @@ applications.") ("rust-num" ,rust-num-0.4) ("rust-thiserror" ,rust-thiserror-1)))))) -(define-public rust-polars-arrow-0.13 - (package - (inherit rust-polars-arrow-0.14) - (name "rust-polars-arrow") - (version "0.13.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "polars-arrow" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0r6k2zm9f3nngjszdjnjz7r7c91qpq88lwjfgsbwfi8383xxbcjk")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-arrow" ,rust-arrow-4) - ("rust-num" ,rust-num-0.4) - ("rust-thiserror" ,rust-thiserror-1)))))) - (define-public rust-polars-core-0.17 (package (name "rust-polars-core") @@ -45267,43 +40909,6 @@ applications.") ("rust-thiserror" ,rust-thiserror-1) ("rust-unsafe-unwrap" ,rust-unsafe-unwrap-0.1)))))) -(define-public rust-polars-core-0.13 - (package - (inherit rust-polars-core-0.14) - (name "rust-polars-core") - (version "0.13.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "polars-core" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0pb48s1vz2kxiw54xcgcrsbhaxsyg5gb6dbqzkq0gia80y2iwml8")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-ahash" ,rust-ahash-0.7) - ("rust-anyhow" ,rust-anyhow-1) - ("rust-arrow" ,rust-arrow-4) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-comfy-table" ,rust-comfy-table-1) - ("rust-hashbrown" ,rust-hashbrown-0.11) - ("rust-itertools" ,rust-itertools-0.10) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-ndarray" ,rust-ndarray-0.13) - ("rust-num" ,rust-num-0.4) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-parquet" ,rust-parquet-4) - ("rust-polars-arrow" ,rust-polars-arrow-0.13) - ("rust-prettytable-rs" ,rust-prettytable-rs-0.8) - ("rust-rand" ,rust-rand-0.7) - ("rust-rand-distr" ,rust-rand-distr-0.3) - ("rust-rayon" ,rust-rayon-1) - ("rust-regex" ,rust-regex-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-unsafe-unwrap" ,rust-unsafe-unwrap-0.1)))))) - (define-public rust-polars-io-0.17 (package (name "rust-polars-io") @@ -45408,73 +41013,6 @@ applications.") ("rust-regex" ,rust-regex-1) ("rust-simdutf8" ,rust-simdutf8-0.1)))))) -(define-public rust-polars-io-0.14 - (package - (inherit rust-polars-io-0.15) - (name "rust-polars-io") - (version "0.14.8") - (source - (origin - (method url-fetch) - (uri (crate-uri "polars-io" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0fha62dln5xv2sa38jrfmd7amj9557y66dy8v44gn9j896mqm6fd")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-ahash" ,rust-ahash-0.7) - ("rust-anyhow" ,rust-anyhow-1) - ("rust-arrow" ,rust-arrow-4) - ("rust-csv" ,rust-csv-1) - ("rust-csv-core" ,rust-csv-core-0.1) - ("rust-dirs" ,rust-dirs-3) - ("rust-fast-float" ,rust-fast-float-0.2) - ("rust-flate2" ,rust-flate2-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-lexical" ,rust-lexical-5) - ("rust-memmap2" ,rust-memmap2-0.2) - ("rust-num" ,rust-num-0.4) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-parquet" ,rust-parquet-4) - ("rust-polars-arrow" ,rust-polars-arrow-0.14) - ("rust-polars-core" ,rust-polars-core-0.14) - ("rust-rayon" ,rust-rayon-1) - ("rust-regex" ,rust-regex-1) - ("rust-simdutf8" ,rust-simdutf8-0.1)))))) - -(define-public rust-polars-io-0.13 - (package - (inherit rust-polars-io-0.14) - (name "rust-polars-io") - (version "0.13.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "polars-io" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1iwbr5i1qy5f54ifhvxr8h9jr023jfj0mai5hy1lccszxh88hf17")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-ahash" ,rust-ahash-0.7) - ("rust-anyhow" ,rust-anyhow-1) - ("rust-arrow" ,rust-arrow-4) - ("rust-csv" ,rust-csv-1) - ("rust-csv-core" ,rust-csv-core-0.1) - ("rust-fast-float" ,rust-fast-float-0.2) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-lexical" ,rust-lexical-5) - ("rust-memmap2" ,rust-memmap2-0.2) - ("rust-num" ,rust-num-0.4) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-parquet" ,rust-parquet-4) - ("rust-polars-arrow" ,rust-polars-arrow-0.13) - ("rust-polars-core" ,rust-polars-core-0.13) - ("rust-rayon" ,rust-rayon-1) - ("rust-regex" ,rust-regex-1)))))) - (define-public rust-polars-lazy-0.17 (package (name "rust-polars-lazy") @@ -45527,73 +41065,6 @@ library.") ("rust-rayon" ,rust-rayon-1) ("rust-regex" ,rust-regex-1)))))) -(define-public rust-polars-lazy-0.15 - (package - (inherit rust-polars-lazy-0.16) - (name "rust-polars-lazy") - (version "0.15.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "polars-lazy" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0xh3a0gjsisx62zwjmawxg9giin7bwmh7z7y4cc2d3ygy8nk19jh")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-ahash" ,rust-ahash-0.7) - ("rust-itertools" ,rust-itertools-0.10) - ("rust-polars-arrow" ,rust-polars-arrow-0.15) - ("rust-polars-core" ,rust-polars-core-0.15) - ("rust-polars-io" ,rust-polars-io-0.15) - ("rust-rayon" ,rust-rayon-1) - ("rust-regex" ,rust-regex-1)))))) - -(define-public rust-polars-lazy-0.14 - (package - (inherit rust-polars-lazy-0.15) - (name "rust-polars-lazy") - (version "0.14.8") - (source - (origin - (method url-fetch) - (uri (crate-uri "polars-lazy" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "07gir4r7ifc9przvd8acd09g225si2z2lpczmmv8jdqyrz8vd5k5")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-ahash" ,rust-ahash-0.7) - ("rust-itertools" ,rust-itertools-0.10) - ("rust-polars-arrow" ,rust-polars-arrow-0.14) - ("rust-polars-core" ,rust-polars-core-0.14) - ("rust-polars-io" ,rust-polars-io-0.14) - ("rust-rayon" ,rust-rayon-1)))))) - -(define-public rust-polars-lazy-0.13 - (package - (inherit rust-polars-lazy-0.14) - (name "rust-polars-lazy") - (version "0.13.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "polars-lazy" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0z5dqz9fk23i10flq4lw8a3qb6638kwxcmka1dyxpabh94l86zqf")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-ahash" ,rust-ahash-0.7) - ("rust-itertools" ,rust-itertools-0.10) - ("rust-polars-arrow" ,rust-polars-arrow-0.13) - ("rust-polars-core" ,rust-polars-core-0.13) - ("rust-polars-io" ,rust-polars-io-0.13) - ("rust-rayon" ,rust-rayon-1)))))) - (define-public rust-polling-2 (package (name "rust-polling") @@ -45716,27 +41187,6 @@ for constructing a Message Authentication Code (MAC).") overloading without macros in Rust.") (license license:expat))) -(define-public rust-portpicker-0.1 - (package - (name "rust-portpicker") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "portpicker" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1fgb5pdayxy5nlx1lh60r7gx7wx45zza802w8hwhkq3gq42psjav")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-rand" ,rust-rand-0.6)))) - (home-page "https://github.com/Dentosal/portpicker-rs") - (synopsis "Pick a free unused port") - (description - "This crate provides picks a free port, that is unused on both TCP and -UDP.") - (license license:unlicense))) - (define-public rust-postgres-0.19 (package (name "rust-postgres") @@ -46387,24 +41837,6 @@ replacements, adding colorful diffs.") ("rust-chrono" ,rust-chrono-0.4) ("rust-env-logger" ,rust-env-logger-0.6)))))) -(define-public rust-pretty-hex-0.2 - (package - (name "rust-pretty-hex") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "pretty-hex" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0c91f9sdwmn3mz2d414dp1xk4iw0k1nsif7lyqvhklzh57arjp5w")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://github.com/wolandr/pretty-hex") - (synopsis "Pretty hex dump of bytes slice in the common style") - (description "This is a Rust library providing pretty hex dump.") - (license license:expat))) - (define-public rust-prettytable-rs-0.8 (package (name "rust-prettytable-rs") @@ -46556,27 +41988,6 @@ stabilized, this crate will be simply delegating to it, requiring no changes in your code.") (license (list license:expat license:asl2.0)))) -(define-public rust-proc-macro-error-0.4 - (package - (inherit rust-proc-macro-error-1) - (name "rust-proc-macro-error") - (version "0.4.12") - (source - (origin - (method url-fetch) - (uri (crate-uri "proc-macro-error" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1rvpaadwv7vmsp142qqh2axqrr9v78f1nvdsi9nhmfhy10kk1wqq")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-proc-macro-error-attr" ,rust-proc-macro-error-attr-0.4) - ("rust-version-check" ,rust-version-check-0.9) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-syn" ,rust-syn-1) - ("rust-quote" ,rust-quote-1)))))) - (define-public rust-proc-macro-error-attr-1 (package (name "rust-proc-macro-error-attr") @@ -46599,29 +42010,6 @@ in your code.") (description "Attribute macro for proc-macro-error crate") (license (list license:expat license:asl2.0)))) -(define-public rust-proc-macro-error-attr-0.4 - (package - (inherit rust-proc-macro-error-attr-1) - (name "rust-proc-macro-error-attr") - (version "0.4.12") - (source - (origin - (method url-fetch) - (uri (crate-uri "proc-macro-error-attr" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1pk9mwcfnpf8favgc2cl4sqlmi818p96hg8pfb51wg5nzmvlnnwa")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-syn-mid" ,rust-syn-mid-0.5) - ("rust-version-check" ,rust-version-check-0.9) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-syn" ,rust-syn-1) - ("rust-quote" ,rust-quote-1)))))) - (define-public rust-proc-macro-hack-0.5 (package (name "rust-proc-macro-hack") @@ -46810,31 +42198,6 @@ macro use case.") @code{proc_macro_derive} pretend to be @code{proc_macro}.") (license (list license:expat license:asl2.0)))) -(define-public rust-process-control-3 - (package - (name "rust-process-control") - (version "3.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "process_control" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1v5j6ajr3fprpay8754874rmi622a1vk5rld88p1jk04wha413pm")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) - ("rust-libc" ,rust-libc-0.2) - ("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://github.com/dylni/process_control") - (synopsis "Methods for ergonomically running processes with timeouts") - (description - "This crate allows running a process with a timeout, with the option to -terminate it automatically afterward.") - (license (list license:expat license:asl2.0)))) - (define-public rust-progress-0.2 (package (name "rust-progress") @@ -46881,38 +42244,6 @@ status.") progress-bars for Rust.") (license license:asl2.0))) -(define-public rust-progrs-0.1 - (package - (name "rust-progrs") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "progrs" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "108jx8jrv2r1brhvbqfw6fwx298k5fnw3m46kn7lv0jx2wmf0ifz")))) - (build-system cargo-build-system) - (arguments '(#:tests? #f)) - (home-page "https://nest.pijul.com/laumann/progrs") - (synopsis "Small library for displaying compact progress bars") - (description - "There are a number of libraries out there that can be used for progress -display, but in the author's opinion these libraries do it almost right - -either they eat up too much screen real estate (by not sticking to one line -per thing that should use progress) or they try to align stuff left and right. - -In the author's humble opinion, the best example of just the right amount of -information vs screen real-estate is in the Git progress output (when cloning, -pulling, etc). It uses one line per thing, and may display both percentage -complete (in cases where it's known) and even throughput (for network -transfer). - -This library mimics the Git way of showing progress.") - (license license:gpl2+))) - (define-public rust-proptest-1 (package (name "rust-proptest") @@ -47424,24 +42755,6 @@ compliant email address validation.") (("rust-bitflags" ,rust-bitflags-0.9) ("rust-getopts" ,rust-getopts-0.2)))))) -(define-public rust-pulldown-cmark-0.0.8 - (package - (inherit rust-pulldown-cmark-0.4) - (name "rust-pulldown-cmark") - (version "0.0.8") - (source - (origin - (method url-fetch) - (uri (crate-uri "pulldown-cmark" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0hbg68h1w48cp72n95hjmbm70jrb5khc9vipcmjng83wjaxxfn0h")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-0.5) - ("rust-getopts" ,rust-getopts-0.2)))))) - (define-public rust-pulldown-cmark-to-cmark-7 (package (name "rust-pulldown-cmark-to-cmark") @@ -47473,30 +42786,6 @@ compliant email address validation.") they were parsed from") (license license:asl2.0))) -(define-public rust-pulldown-cmark-to-cmark-6 - (package - (inherit rust-pulldown-cmark-to-cmark-7) - (name "rust-pulldown-cmark-to-cmark") - (version "6.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "pulldown-cmark-to-cmark" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "08yyjr60jk8f4v4sqcgmna5n9y31l6lx3z9lak38wd82h63vkwp8")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-pulldown-cmark" ,rust-pulldown-cmark-0.8)) - #:cargo-development-inputs - (("rust-indoc" ,rust-indoc-1) - ("rust-pretty-assertions" - ,rust-pretty-assertions-0.6)))))) - (define-public rust-pulse-0.5 (package (name "rust-pulse") @@ -48027,50 +43316,6 @@ for MinGW-w64 and MSVC (cross-)compile targets.") (description "This package provides a quasi-quoting macro system.") (license (list license:expat license:asl2.0)))) -(define-public rust-query-interface-0.3 - (package - (name "rust-query-interface") - (version "0.3.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "query_interface" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "14rn7i6jr8zf3h103jhmivw39429gmkzk4wgns3bpvl4c82g1h3q")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static-1)))) - (home-page "https://github.com/Diggsey/query_interface") - (synopsis "Dynamically query a type-erased object for any trait implementation") - (description - "This package dynamically queries a type-erased object for any trait -implementation.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-quick-csv-0.1 - (package - (name "rust-quick-csv") - (version "0.1.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "quick-csv" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "131k8zzlplk2h62wz813jbvm0sk7v3mixwhhq34y9lmp3mqbgx7d")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-rustc-serialize" ,rust-rustc-serialize-0.3)))) - (home-page "https://github.com/tafia/quick-csv") - (synopsis "Quick csv reader and decoder") - (description "This package provides a quick csv reader and decoder in Rust.") - (license license:expat))) - (define-public rust-quick-error-2 (package (name "rust-quick-error") @@ -48184,26 +43429,6 @@ to write.") ("rust-memchr" ,rust-memchr-2) ("rust-serde" ,rust-serde-1)))))) -(define-public rust-quick-xml-0.12 - (package - (inherit rust-quick-xml-0.20) - (name "rust-quick-xml") - (version "0.12.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "quick-xml" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0zvpwph44c5vgqapmdh50ylcdl9rpxffikcmq4fc208pn35nb00x")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-encoding-rs" ,rust-encoding-rs-0.8) - ("rust-failure" ,rust-failure-0.1) - ("rust-log" ,rust-log-0.4) - ("rust-memchr" ,rust-memchr-2)))))) - (define-public rust-quickcheck-1 (package (name "rust-quickcheck") @@ -48623,56 +43848,6 @@ data.") (description "This package provides a generic connection pool.") (license (list license:expat license:asl2.0)))) -(define-public rust-racer-cargo-metadata-0.1 - (package - (name "rust-racer-cargo-metadata") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "racer-cargo-metadata" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0vvwbfi991gjbk2k9a7yl7fqc8amvwlf7sa9lsx1sr0s55rcsq1b")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f - #:cargo-inputs - (("rust-racer-interner" ,rust-racer-interner-0.1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/racer-rust/racer") - (synopsis "Lightweight cargo metadata parser for racer") - (description - "This crate provides parsing for cargo metadata. It is used mostly in -Racer.") - (license license:expat))) - -(define-public rust-racer-interner-0.1 - (package - (name "rust-racer-interner") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "racer-interner" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0k7ssjjcr4kr9r1jbz93rglisfsx1m6fkx3wz6yng5rizm528si0")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-serde" ,rust-serde-1)))) - (home-page "https://github.com/racer-rust/racer") - (synopsis "Thread-local string interner for Racer") - (description - "This package allows one to intern strings in Rust in a thread-local -fashion. It is mostly used in Racer.") - (license license:expat))) - (define-public rust-radium-0.6 (package (name "rust-radium") @@ -49562,28 +44737,6 @@ random number generators.") random number generators.") (license (list license:expat license:asl2.0)))) -(define-public rust-rand-xoshiro-0.3 - (package - (inherit rust-rand-xoshiro-0.4) - (name "rust-rand-xoshiro") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rand_xoshiro" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "07w3qgrac8r356lz5vqff42rly6yd9vs3g5lx5pbn13rcmb05rqb")))) - (arguments - `(#:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-rand-core" ,rust-rand-core-0.5) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-bincode" ,rust-bincode-1)))))) - (define-public rust-rand-xoshiro-0.1 (package (inherit rust-rand-xoshiro-0.4) @@ -49692,29 +44845,6 @@ random generic types.") (license (list license:zlib license:asl2.0 license:expat)))) -(define-public rust-randomize-3 - (package - (inherit rust-randomize-4) - (name "rust-randomize") - (version "3.0.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "randomize" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "02ll7r3rrpmhjx34w91m1yvqw1685bq2n9amqvycjcqznncqrhw8")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-rand-core" ,rust-rand-core-0.5) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-bincode" ,rust-bincode-1)))) - (license license:bsd-0))) - (define-public rust-raw-cpuid-8 (package (name "rust-raw-cpuid") @@ -49977,29 +45107,6 @@ reference counting.") @code{rdrand} and @code{rdseed} instructions") (license license:isc))) -(define-public rust-read-color-1 - (package - (name "rust-read-color") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "read_color" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1np0pk31ak7hni4hri3m75mbf8py1wdfjshmrj5krbd4p9c8hk4z")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page - "https://github.com/pistondevelopers/read_color") - (synopsis - "Simple library for reading hex colors") - (description - "This package provides a simple library for reading hex colors") - (license (list license:expat license:asl2.0)))) - (define-public rust-readkey-0.1 (package (name "rust-readkey") @@ -50788,58 +45895,6 @@ uses finite automata and guarantees linear time matching on all inputs.") (inputs (list openssl)))) -(define-public rust-reqwest-0.9 - (package - (inherit rust-reqwest-0.10) - (name "rust-reqwest") - (version "0.9.24") - (source - (origin - (method url-fetch) - (uri (crate-uri "reqwest" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1aql4wpmf1cfl09xddlxnmd7y1nj7fcbzmsh9603qd61lfp471pq")))) - (arguments - `(#:cargo-test-flags '("--release" "--" "--skip=badssl") - #:cargo-inputs - (("rust-base64" ,rust-base64-0.10) - ("rust-bytes" ,rust-bytes-0.4) - ("rust-cookie" ,rust-cookie-0.12) - ("rust-cookie-store" ,rust-cookie-store-0.7) - ("rust-encoding-rs" ,rust-encoding-rs-0.8) - ("rust-flate2" ,rust-flate2-1) - ("rust-futures" ,rust-futures-0.1) - ("rust-http" ,rust-http-0.1) - ("rust-hyper" ,rust-hyper-0.12) - ("rust-hyper-old-types" ,rust-hyper-old-types-0.11) - ("rust-hyper-rustls" ,rust-hyper-rustls-0.17) - ("rust-hyper-tls" ,rust-hyper-tls-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-mime" ,rust-mime-0.3) - ("rust-mime-guess" ,rust-mime-guess-2) - ("rust-native-tls" ,rust-native-tls-0.2) - ("rust-rustls" ,rust-rustls-0.16) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.5) - ("rust-socks" ,rust-socks-0.3) - ("rust-time" ,rust-time-0.1) - ("rust-tokio" ,rust-tokio-0.1) - ("rust-tokio-executor" ,rust-tokio-executor-0.1) - ("rust-tokio-io" ,rust-tokio-io-0.1) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.10) - ("rust-tokio-threadpool" ,rust-tokio-threadpool-0.1) - ("rust-tokio-timer" ,rust-tokio-timer-0.2) - ("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.11) - ("rust-url" ,rust-url-1) - ("rust-uuid" ,rust-uuid-0.7) - ("rust-webpki-roots" ,rust-webpki-roots-0.17) - ("rust-winreg" ,rust-winreg-0.6)) - #:cargo-development-inputs - (("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-libflate" ,rust-libflate-0.1)))))) - (define-public rust-resolv-conf-0.7 (package (name "rust-resolv-conf") @@ -51020,30 +46075,6 @@ functionality as retain but gives mutable borrow to the predicate.") (description "This crate provides low level access to RISC-V processors.") (license license:isc))) -(define-public rust-ripemd-0.1 - (package - (name "rust-ripemd") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "ripemd" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "16ap7vvnqf4l6vy7kjpb5p8brqfppanssm61jn1w8444395bcm7a")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-digest" ,rust-digest-0.10)) - #:cargo-development-inputs - (("rust-digest" ,rust-digest-0.10) - ("rust-hex-literal" ,rust-hex-literal-0.2)))) - (home-page "https://github.com/RustCrypto/hashes") - (synopsis "Pure Rust implementation of the RIPEMD hash functions") - (description "This library provides a pure Rust implementation of the -RIPEMD hash functions.") - (license (list license:expat license:asl2.0)))) - (define-public rust-riscv-target-0.1 (package (name "rust-riscv-target") @@ -51116,94 +46147,6 @@ your own implementation.") decoding, and compression.") (license (list license:expat license:asl2.0)))) -(define-public rust-rlp-0.3 - (package - (inherit rust-rlp-0.5) - (name "rust-rlp") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rlp" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "082pfkdzsnzvqr5yx5qb2hildjg597p2115ywy84zma5k3zfzl8n")))) - (arguments - `(#:tests? #f ; The tests fail. - #:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-ethereum-types" ,rust-ethereum-types-0.4) - ("rust-rustc-hex" ,rust-rustc-hex-2)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.1)))))) - -(define-public rust-rls-span-0.5 - (package - (name "rust-rls-span") - (version "0.5.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "rls-span" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0d6rwya5zsyw6vmrj8d8g3fgvic0xyp1lvfhv62vswk2dzavxsgj")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-rustc-serialize" ,rust-rustc-serialize-0.3) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1)))) - (home-page "https://github.com/rust-lang/rls") - (synopsis "Types for identifying code spans/ranges") - (description - "Identify Rust code spans and ranges using these types - for use with the -Rust Language Server.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-rkv-0.10 - (package - (name "rust-rkv") - (version "0.10.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "rkv" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "14v7izkpwvk4ag8p9machzjq2v10xwimy5ylbra744wpyk0xp8rh")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Some test files missing. - #:cargo-inputs - (("rust-arrayref" ,rust-arrayref-0.3) - ("rust-bincode" ,rust-bincode-1) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-failure" ,rust-failure-0.1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-lmdb-rkv" ,rust-lmdb-rkv-0.14) - ("rust-ordered-float" ,rust-ordered-float-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-url" ,rust-url-2) - ("rust-uuid" ,rust-uuid-0.8)) - #:cargo-development-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-tempfile" ,rust-tempfile-3)))) - (native-inputs - (list pkg-config)) - (inputs - (list lmdb)) - (home-page "https://github.com/mozilla/rkv") - (synopsis "Typed key-value storage") - (description "This package provides a typed key-value storage solution.") - (license license:asl2.0))) - (define-public rust-rmp-0.8 (package (name "rust-rmp") @@ -51505,25 +46448,6 @@ text-buffer for applications such as text editors. Ropey is fast, robust, and can handle huge texts and memory-incoherent edits with ease.") (license license:expat))) -(define-public rust-route-recognizer-0.2 - (package - (name "rust-route-recognizer") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "route-recognizer" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "17mmnyzg7yr5x84n28y6bll1qn21g11k61p6sgg2fjf0xdshcxsn")))) - (build-system cargo-build-system) - (home-page "https://github.com/http-rs/route-recognizer") - (synopsis "Recognizes URL patterns") - (description - "This package helps recognizing URL patterns with support for dynamic and -wildcard segments") - (license license:expat))) - (define-public rust-rowan-0.15 (package (name "rust-rowan") @@ -51555,33 +46479,6 @@ wildcard segments") "This package provides a library for generic lossless syntax trees.") (license (list license:expat license:asl2.0)))) -(define-public rust-rowan-0.13 - (package - (inherit rust-rowan-0.15) - (name "rust-rowan") - (version "0.13.0-pre.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "rowan" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "03gh3wa52135mh1an1x4hw6jba64fwfsh4lw3fsmm6jy2i7c1k42")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-countme" ,rust-countme-2) - ("rust-hashbrown" ,rust-hashbrown-0.9) - ("rust-memoffset" ,rust-memoffset-0.6) - ("rust-rustc-hash" ,rust-rustc-hash-1) - ("rust-serde" ,rust-serde-1) - ("rust-text-size" ,rust-text-size-1)) - #:cargo-development-inputs - (("rust-m-lexer" ,rust-m-lexer-0.0.4)))))) - (define-public rust-rsa-0.5 (package (name "rust-rsa") @@ -51832,41 +46729,6 @@ console applications.") (sha256 (base32 "17z99xazhhbaczw0ib1vnnq450j0zacdn8b2zcbdir68sdbicdwr")))))) -(define-public rust-rpassword-3 - (package - (inherit rust-rpassword-4) - (name "rust-rpassword") - (version "3.0.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "rpassword" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0vkifbbs160d7i7wy3kb0vw9mbf3pf470hg8f623rjkzmsyafky3")))) - (arguments - `(#:cargo-inputs - (("rust-kernel32-sys" ,rust-kernel32-sys-0.2) - ("rust-libc" ,rust-libc-0.2) - ("rust-winapi" ,rust-winapi-0.2)))))) - -(define-public rust-rpassword-2 - (package - (inherit rust-rpassword-3) - (name "rust-rpassword") - (version "2.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rpassword" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1v255xqkig5lwnczvm3achydhxx6kf9jcdxdlgzndgpd18bp6x6k")))))) - (define-public rust-runtime-0.3 (package (name "rust-runtime") @@ -51972,33 +46834,6 @@ please consider using @code{async-std} or @code{tokio}.") (description "This package provides traits to implement custom Runtimes.") (license (list license:expat license:asl2.0)))) -(define-public rust-runtime-tokio-0.3 - (package - (name "rust-runtime-tokio") - (version "0.3.0-alpha.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "runtime-tokio" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1mf5fyh164i4m5rj1j45hs7dwv1k4m1xckq0apa6y4c99gwzhq3a")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-futures" ,rust-futures-0.1) - ("rust-futures-preview" ,rust-futures-preview-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-mio" ,rust-mio-0.6) - ("rust-runtime-raw" ,rust-runtime-raw-0.3) - ("rust-tokio" ,rust-tokio-0.1)))) - (home-page "https://github.com/rustasync/runtime") - (synopsis "Tokio-based asynchronous runtime") - (description - "This package provides a Tokio-based asynchronous runtime.") - (license (list license:expat license:asl2.0)))) - (define-public rust-rusqlite-0.26 (package (name "rust-rusqlite") @@ -52035,163 +46870,6 @@ please consider using @code{async-std} or @code{tokio}.") (description "This crate provides a wrapper for SQLite.") (license license:expat))) -(define-public rust-rusqlite-0.25 - (package - (inherit rust-rusqlite-0.26) - (name "rust-rusqlite") - (version "0.25.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "rusqlite" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1csfxb0jff78gzakva3bwgmm5g0dk90pnalc4krrdbzsr1kwzbap")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-csv" ,rust-csv-1) - ("rust-fallible-iterator" ,rust-fallible-iterator-0.2) - ("rust-fallible-streaming-iterator" ,rust-fallible-streaming-iterator-0.1) - ("rust-hashlink" ,rust-hashlink-0.7) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.22) - ("rust-memchr" ,rust-memchr-2) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-time" ,rust-time-0.2) - ("rust-url" ,rust-url-2) - ("rust-uuid" ,rust-uuid-0.8)))))) - -(define-public rust-rusqlite-0.24 - (package - (inherit rust-rusqlite-0.25) - (name "rust-rusqlite") - (version "0.24.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "rusqlite" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "04jiqa9y7pk7byk0kicjxqy75jifz1v4xhhaxhkwicms3kkqxwym")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-csv" ,rust-csv-1) - ("rust-fallible-iterator" ,rust-fallible-iterator-0.2) - ("rust-fallible-streaming-iterator" ,rust-fallible-streaming-iterator-0.1) - ("rust-hashlink" ,rust-hashlink-0.6) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.20) - ("rust-memchr" ,rust-memchr-2) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-time" ,rust-time-0.2) - ("rust-url" ,rust-url-2) - ("rust-uuid" ,rust-uuid-0.8)))))) - -(define-public rust-rusqlite-0.23 - (package - (inherit rust-rusqlite-0.24) - (name "rust-rusqlite") - (version "0.23.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "rusqlite" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "12z5584sylfqg7v2fyiycahyg0hf186v8v2ff5ad4qyzw5igvl25")) - (modules '((guix build utils))) - (snippet - '(begin - ;; Enable unstable features - (substitute* "src/lib.rs" - (("#!\\[allow\\(unknown_lints\\)\\]" all) - (string-append - "#![feature(cfg_doctest)]\n" - "#![feature(non_exhaustive)]\n" - all))))))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-csv" ,rust-csv-1) - ("rust-fallible-iterator" ,rust-fallible-iterator-0.2) - ("rust-fallible-streaming-iterator" - ,rust-fallible-streaming-iterator-0.1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.18) - ("rust-lru-cache" ,rust-lru-cache-0.1) - ("rust-memchr" ,rust-memchr-2) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-time" ,rust-time-0.1) - ("rust-url" ,rust-url-2) - ("rust-uuid" ,rust-uuid-0.8)) - #:cargo-development-inputs - (("rust-bencher" ,rust-bencher-0.1) - ("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-regex" ,rust-regex-1) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-unicase" ,rust-unicase-2) - ("rust-uuid" ,rust-uuid-0.8)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'enable-unstable-features - (lambda _ - (setenv "RUSTC_BOOTSTRAP" "1") - #t))))) - (native-inputs - (list pkg-config)))) - -(define-public rust-rusqlite-0.19 - (package - (inherit rust-rusqlite-0.23) - (name "rust-rusqlite") - (version "0.19.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rusqlite" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "19xq7s0kzhlljm3hqx0vidr91ia8hl49r4m5gwdj9dyywgks5g3f")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-csv" ,rust-csv-1) - ("rust-fallible-iterator" ,rust-fallible-iterator-0.2) - ("rust-fallible-streaming-iterator" - ,rust-fallible-streaming-iterator-0.1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.15) - ("rust-lru-cache" ,rust-lru-cache-0.1) - ("rust-memchr" ,rust-memchr-2) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-time" ,rust-time-0.1) - ("rust-url" ,rust-url-1) - ("rust-uuid" ,rust-uuid-0.7)) - #:cargo-development-inputs - (("rust-lazy-static" ,rust-lazy-static-1) - ("rust-regex" ,rust-regex-1) - ("rust-tempdir" ,rust-tempdir-0.3) - ("rust-unicase" ,rust-unicase-2) - ("rust-uuid" ,rust-uuid-0.7)))) - (inputs - (list sqlite)))) - (define-public rust-rust-htslib-0.38 (package (name "rust-rust-htslib") @@ -52235,43 +46913,6 @@ please consider using @code{async-std} or @code{tokio}.") reading and writing BAM files.") (license license:expat))) -(define-public rust-rustsec-0.25 - (package - (name "rust-rustsec") - (version "0.25.1") - (source (origin - (method url-fetch) - (uri (crate-uri "rustsec" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "11q89r3a8snqmfywml8n96lxgs086k68xbhjgaikrkdbzdv6j4yn")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cargo-edit" ,rust-cargo-edit-0.8) - ("rust-cargo-lock" ,rust-cargo-lock-7) - ("rust-crates-index" ,rust-crates-index-0.17) - ("rust-cvss" ,rust-cvss-1) - ("rust-fs-err" ,rust-fs-err-2) - ("rust-git2" ,rust-git2-0.13) - ("rust-home" ,rust-home-0.5) - ("rust-humantime" ,rust-humantime-2) - ("rust-humantime-serde" ,rust-humantime-serde-1) - ("rust-platforms" ,rust-platforms-2) - ("rust-semver" ,rust-semver-1) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-toml" ,rust-toml-0.5) - ("rust-url" ,rust-url-2)))) - (home-page "https://rustsec.org") - (synopsis "Client library for the RustSec security advisory database") - (description - "This package provides client library for the RustSec security -advisory database.") - (license (list license:asl2.0 license:expat)))) - (define-public rust-rust-argon2-0.8 (package (name "rust-rust-argon2") @@ -52320,34 +46961,6 @@ hashing function.") ("rust-blake2b-simd" ,rust-blake2b-simd-0.5) ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7)))))) -(define-public rust-rust-argon2-0.5 - (package - (name "rust-rust-argon2") - (version "0.5.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "rust-argon2" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1krjkmyfn37hy7sfs6lqia0fsvw130nn1z2850glsjcva7pym92c")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-base64" ,rust-base64-0.10) - ("rust-blake2b-simd" ,rust-blake2b-simd-0.5) - ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6)) - #:cargo-development-inputs - (("rust-hex" ,rust-hex-0.3)))) - (home-page "https://github.com/sru-systems/rust-argon2") - (synopsis "Rust implementation of the Argon2 password hashing function") - (description "This package contains a rust implementation of the Argon2 -password hashing function.") - (license (list license:expat license:asl2.0)))) - (define-public rust-rust-base58-0.0 (package (name "rust-rust-base58") @@ -52720,35 +47333,6 @@ the file-system during development.") library.") (license license:expat))) -(define-public rust-rustc-ap-arena-654 - (package - (name "rust-rustc-ap-arena") - (version "654.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rustc-ap-arena" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "18yc4i5m2vf6w8na29i5jv8l4l0yknsf6xn0z2mk7mfz1nxwzpw1")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-rustc-ap-rustc-data-structures" - ,rust-rustc-ap-rustc-data-structures-654) - ("rust-smallvec" ,rust-smallvec-1)))) - (home-page "https://github.com/alexcrichton/rustc-auto-publish") - (synopsis - "Automatically published version of the arena package used in rustc") - (description - "Use the arena library used in the Rust compiler with this crate. -It is automatically published using the compiler repository at -@url{https://www.github.com/rust-lang/rust}") - (license (list license:expat license:asl2.0)))) - (define-public rust-rustc-ap-graphviz-654 (package (name "rust-rustc-ap-graphviz") @@ -52772,88 +47356,6 @@ It is automatically published using the compiler repository at @url{https://www.github.com/rust-lang/rust}") (license (list license:expat license:asl2.0)))) -(define-public rust-rustc-ap-rustc-ast-654 - (package - (name "rust-rustc-ap-rustc-ast") - (version "654.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rustc-ap-rustc_ast" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0n4yhkd7x0c3nqyqz99lwjiix7mf1j5xbkn9fj90h4fxp3did7qq")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-log" ,rust-log-0.4) - ("rust-rustc-ap-rustc-data-structures" - ,rust-rustc-ap-rustc-data-structures-654) - ("rust-rustc-ap-rustc-index" ,rust-rustc-ap-rustc-index-654) - ("rust-rustc-ap-rustc-lexer" ,rust-rustc-ap-rustc-lexer-654) - ("rust-rustc-ap-rustc-macros" ,rust-rustc-ap-rustc-macros-654) - ("rust-rustc-ap-serialize" ,rust-rustc-ap-serialize-654) - ("rust-rustc-ap-rustc-span" ,rust-rustc-ap-rustc-span-654) - ("rust-scoped-tls" ,rust-scoped-tls-1) - ("rust-smallvec" ,rust-smallvec-1)))) - (home-page "https://github.com/alexcrichton/rustc-auto-publish") - (synopsis - "Automatically published version of the Rust ast used in rustc") - (description - "Use the Rust ast used in the Rust compiler with this crate. -It is automatically published using the compiler repository at -@url{https://www.github.com/rust-lang/rust}") - (license (list license:expat license:asl2.0)))) - -(define-public rust-rustc-ap-rustc-data-structures-654 - (package - (name "rust-rustc-ap-rustc-data-structures") - (version "654.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rustc-ap-rustc_data_structures" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0fhppy18n1i2iykdihfs05d6s1ivwz882ipc9cpnjcvqcsbhj4yj")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7) - ("rust-ena" ,rust-ena-0.13) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-jobserver" ,rust-jobserver-0.1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-measureme" ,rust-measureme-0.7) - ("rust-parking-lot" ,rust-parking-lot-0.10) - ("rust-rustc-ap-graphviz" ,rust-rustc-ap-graphviz-654) - ("rust-rustc-ap-rustc-index" ,rust-rustc-ap-rustc-index-654) - ("rust-rustc-ap-serialize" ,rust-rustc-ap-serialize-654) - ("rust-rustc-hash" ,rust-rustc-hash-1) - ("rust-rustc-rayon" ,rust-rustc-rayon-0.3) - ("rust-rustc-rayon-core" ,rust-rustc-rayon-core-0.3) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-stable-deref-trait" ,rust-stable-deref-trait-1) - ("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://github.com/alexcrichton/rustc-auto-publish") - (synopsis "Automatically published versions of rustc data structures") - (description - "Use data structures used in the Rust compiler with this crate. -It is automatically published using the compiler repository at -@url{https://www.github.com/rust-lang/rust}.") - (license (list license:expat license:asl2.0)))) - (define-public rust-rustc-ap-rustc-index-654 (package (name "rust-rustc-ap-rustc-index") @@ -52910,146 +47412,6 @@ It is automatically published using the compiler repository at @url{https://www.github.com/rust-lang/rust}.") (license (list license:expat license:asl2.0)))) -(define-public rust-rustc-ap-rustc-lexer-721 - (package - (inherit rust-rustc-ap-rustc-lexer-725) - (name "rust-rustc-ap-rustc-lexer") - (version "721.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rustc-ap-rustc_lexer" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1ldk41a4vxgh39p9650vhw1j7fng06pfmvb4xb2pvp22547gd89b")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-unicode-xid" ,rust-unicode-xid-0.2)) - #:cargo-development-inputs - (("rust-expect-test" ,rust-expect-test-1)))))) - -(define-public rust-rustc-ap-rustc-lexer-654 - (package - (inherit rust-rustc-ap-rustc-lexer-721) - (name "rust-rustc-ap-rustc-lexer") - (version "654.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rustc-ap-rustc_lexer" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "19bx2z4gxxzqfjh9m11jp52lgdzz0k5fb0p1ad739bdc5cm4sciv")))) - (arguments - `(#:cargo-inputs - (("rust-unicode-xid" ,rust-unicode-xid-0.2)))))) - -(define-public rust-rustc-ap-rustc-macros-654 - (package - (name "rust-rustc-ap-rustc-macros") - (version "654.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rustc-ap-rustc_macros" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "03zfp8a10jz43z8lsx1drx7g5jimxmbw4w7hs13yvczismb6qs2r")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1) - ("rust-synstructure" ,rust-synstructure-0.12)))) - (home-page "https://github.com/alexcrichton/rustc-auto-publish") - (synopsis "Automatically published versions of rustc macros") - (description - "Use macros used in the Rust compiler with this crate. -It is automatically published using the compiler repository at -@url{https://www.github.com/rust-lang/rust}.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-rustc-ap-rustc-span-654 - (package - (name "rust-rustc-ap-rustc-span") - (version "654.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rustc-ap-rustc_span" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0hj23syxxqqmk1y4kdvb0cb0xxi8wy429hhyd27bbmpya1h18j56")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-log" ,rust-log-0.4) - ("rust-md-5" ,rust-md-5-0.8) - ("rust-rustc-ap-arena" ,rust-rustc-ap-arena-654) - ("rust-rustc-ap-rustc-data-structures" - ,rust-rustc-ap-rustc-data-structures-654) - ("rust-rustc-ap-rustc-index" ,rust-rustc-ap-rustc-index-654) - ("rust-rustc-ap-rustc-macros" ,rust-rustc-ap-rustc-macros-654) - ("rust-rustc-ap-serialize" ,rust-rustc-ap-serialize-654) - ("rust-scoped-tls" ,rust-scoped-tls-1) - ("rust-sha-1" ,rust-sha-1-0.8) - ("rust-unicode-width" ,rust-unicode-width-0.1)))) - (home-page "https://github.com/alexcrichton/rustc-auto-publish") - (synopsis - "Automatically published version of the source code spans used in rustc") - (description - "Use the spans used in the Rust compiler to represent source code with -this crate. It is automatically published using the compiler repository at -@url{https://www.github.com/rust-lang/rust}") - (license (list license:expat license:asl2.0)))) - -(define-public rust-rustc-ap-rustc-target-654 - (package - (name "rust-rustc-ap-rustc-target") - (version "654.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rustc-ap-rustc_target" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0i579l4jx4ky5wm0ah8zdy6dd6201rii6rv1wc4bi209ixwjikr8")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-log" ,rust-log-0.4) - ("rust-rustc-ap-rustc-data-structures" - ,rust-rustc-ap-rustc-data-structures-654) - ("rust-rustc-ap-rustc-index" ,rust-rustc-ap-rustc-index-654) - ("rust-rustc-ap-rustc-macros" ,rust-rustc-ap-rustc-macros-654) - ("rust-rustc-ap-serialize" ,rust-rustc-ap-serialize-654) - ("rust-rustc-ap-rustc-span" ,rust-rustc-ap-rustc-span-654)))) - (home-page "https://github.com/alexcrichton/rustc-auto-publish") - (synopsis - "Automatically published version of the compile targets used in rustc") - (description - "Use the compile targets as expressed in the Rust compiler with this -crate. It is automatically published using the compiler repository at -@url{https://www.github.com/rust-lang/rust}") - (license (list license:expat license:asl2.0)))) - (define-public rust-rustc-ap-serialize-654 (package (name "rust-rustc-ap-serialize") @@ -53349,29 +47711,6 @@ rust-lang/rust integration.") require unstable language features.") (license (list license:asl2.0 license:expat)))) -(define-public rust-rustc-tools-util-0.2 - (package - (name "rust-rustc-tools-util") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rustc_tools_util" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1vj4ymv29igs7n52m12k138zbsn5k5d7ya4sys6lig7sx7ddl9dp")))) - (build-system cargo-build-system) - (arguments '(#:skip-build? #t)) - (home-page - "https://github.com/rust-lang/rust-clippy") - (synopsis - "small helper to generate version information for git packages") - (description - "small helper to generate version information for git packages") - (license (list license:expat license:asl2.0)))) - (define-public rust-rustc-version-0.4 (package (name "rust-rustc-version") @@ -53744,37 +48083,6 @@ rustc compiler.") ("rust-serde-derive" ,rust-serde-derive-1) ("rust-webpki-roots" ,rust-webpki-roots-0.14)))))) -(define-public rust-rustls-ffi-0.8 - (package - (name "rust-rustls-ffi") - (version "0.8.2") - (source (origin - (method url-fetch) - (uri (crate-uri "rustls-ffi" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "06kqrvm1d5ps9pml26zdd2hm8hh20j6svwvqibpnx7m5rh3jg9cx")))) - (build-system cargo-build-system) - ;; Build needs cbindgen-0.19 - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-num-enum" ,rust-num-enum-0.5) - ("rust-rustls" ,rust-rustls-0.20) - ("rust-rustls-pemfile" ,rust-rustls-pemfile-0.2) - ("rust-sct" ,rust-sct-0.7) - ("rust-webpki" ,rust-webpki-0.22)))) - (home-page "https://github.com/rustls/rustls-ffi") - (synopsis "C to rustls bindings") - (description "This package contains FFI bindings for the rustls TLS -library, so you can use the library in C programs or any other language that -supports FFI.") - ;; Use under the terms of any of these licenses - (license (list license:asl2.0 license:isc license:expat)))) - (define-public rust-rustls-native-certs-0.6 (package (name "rust-rustls-native-certs") @@ -54386,87 +48694,6 @@ quickly convert floating point numbers to decimal strings.") "This package is a s3 handler for S3 Rich Support client (S3RS).") (license license:expat))) -(define-public rust-s3handler-0.6 - (package - (inherit rust-s3handler-0.7) - (name "rust-s3handler") - (version "0.6.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "s3handler" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0zridmnz9l3mr0crma95a3jqi961g034agx43a5yh4pgvv2q6mzq")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-async-trait" ,rust-async-trait-0.1) - ("rust-base64" ,rust-base64-0.6) - ("rust-bytes" ,rust-bytes-0.5) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-colored" ,rust-colored-1) - ("rust-dyn-clone" ,rust-dyn-clone-1) - ("rust-failure" ,rust-failure-0.1) - ("rust-failure-derive" ,rust-failure-derive-0.1) - ("rust-futures" ,rust-futures-0.3) - ("rust-hmac" ,rust-hmac-0.4) - ("rust-hmac-sha1" ,rust-hmac-sha1-0.1) - ("rust-http" ,rust-http-0.2) - ("rust-hyper" ,rust-hyper-0.11) - ("rust-log" ,rust-log-0.4) - ("rust-md5" ,rust-md5-0.3) - ("rust-mime-guess" ,rust-mime-guess-2) - ("rust-quick-xml" ,rust-quick-xml-0.12) - ("rust-regex" ,rust-regex-0.2) - ("rust-reqwest" ,rust-reqwest-0.10) - ("rust-rust-crypto" ,rust-rust-crypto-0.2) - ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-sha2" ,rust-sha2-0.6) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-url" ,rust-url-2)))))) - -(define-public rust-s3handler-0.5 - (package - (inherit rust-s3handler-0.6) - (name "rust-s3handler") - (version "0.5.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "s3handler" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "18nc7ya6rn9g0gz8j24rpal08x6a9b07bv80767sqg4hmw42zl4d")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-base64" ,rust-base64-0.6) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-colored" ,rust-colored-1) - ("rust-failure" ,rust-failure-0.1) - ("rust-failure-derive" ,rust-failure-derive-0.1) - ("rust-hmac" ,rust-hmac-0.4) - ("rust-hmac-sha1" ,rust-hmac-sha1-0.1) - ("rust-http" ,rust-http-0.1) - ("rust-hyper" ,rust-hyper-0.11) - ("rust-log" ,rust-log-0.4) - ("rust-md5" ,rust-md5-0.3) - ("rust-mime-guess" ,rust-mime-guess-2) - ("rust-quick-xml" ,rust-quick-xml-0.12) - ("rust-regex" ,rust-regex-0.2) - ("rust-reqwest" ,rust-reqwest-0.10) - ("rust-rust-crypto" ,rust-rust-crypto-0.2) - ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-sha2" ,rust-sha2-0.6) - ("rust-url" ,rust-url-2)))))) - (define-public rust-salsa-macros-0.17 (package (name "rust-salsa-macros") @@ -55191,31 +49418,6 @@ function.") ("rust-sha2" ,rust-sha2-0.9) ("rust-subtle" ,rust-subtle-2)))))) -(define-public rust-scrypt-0.2 - (package - (inherit rust-scrypt-0.3) - (name "rust-scrypt") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "scrypt" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1pfgqgzdjxjf7c8r1wfka0ackfpv1g8w7wvbr25b42hdx787jv35")))) - (arguments - `(#:cargo-inputs - (("rust-base64" ,rust-base64-0.9) - ("rust-byte-tools" ,rust-byte-tools-0.3) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-hmac" ,rust-hmac-0.7) - ("rust-pbkdf2" ,rust-pbkdf2-0.3) - ("rust-rand" ,rust-rand-0.5) - ("rust-sha2" ,rust-sha2-0.8) - ("rust-subtle" ,rust-subtle-1)))))) - (define-public rust-scroll-0.10 (package (name "rust-scroll") @@ -55490,33 +49692,6 @@ statistical guarantees.") (description "This package provides low-level bindings to libseccomp.") (license license:lgpl2.1))) -(define-public rust-secrecy-0.6 - (package - (name "rust-secrecy") - (version "0.6.0") - (source (origin - (method url-fetch) - (uri (crate-uri "secrecy" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "03q7h4yswpbrgxgn6wk9dyhilqhwcbhgwyy2m5vk9ps5ss72g0li")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bytes" ,rust-bytes-0.5) - ("rust-serde" ,rust-serde-1) - ("rust-zeroize" ,rust-zeroize-1)))) - (home-page "https://github.com/iqlusioninc/crates/") - (synopsis "Wrapper types and traits for secret management") - (description - "This package provides wrapper types and traits for secret management -which help ensure they aren't -accidentally copied, logged, or otherwise exposed, and also ensure secrets -are securely wiped from memory when dropped.") - (license (list license:asl2.0 license:expat)))) - (define-public rust-section-testing-0.0 (package (name "rust-section-testing") @@ -55570,31 +49745,6 @@ are securely wiped from memory when dropped.") SECG elliptic curve group secp256k1 and related utilities.") (license license:cc0))) -(define-public rust-secp256k1-0.20 - (package - (inherit rust-secp256k1-0.21) - (name "rust-secp256k1") - (version "0.20.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "secp256k1" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "02kxhfgy85zg7w2yyvnzrr7myk1mckvg99z6pbazxl1nwvm3rl4p")))) - (arguments - `(#:cargo-inputs - (("rust-bitcoin-hashes" ,rust-bitcoin-hashes-0.9) - ("rust-rand" ,rust-rand-0.6) - ("rust-secp256k1-sys" ,rust-secp256k1-sys-0.4) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-bitcoin-hashes" ,rust-bitcoin-hashes-0.10) - ("rust-rand" ,rust-rand-0.6) - ("rust-rand-core" ,rust-rand-core-0.4) - ("rust-serde-test" ,rust-serde-test-1) - ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))))) - (define-public rust-secp256k1-sys-0.4 (package (name "rust-secp256k1-sys") @@ -55919,38 +50069,6 @@ macOS and iOS.") (base32 "11icfj8ix8fqjsnw3dqw83bmhd5qdhxzq2klb486akyypq0b31hv")))))) -(define-public rust-sema-0.1 - (package - (name "rust-sema") - (version "0.1.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "sema" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0ckq33sg84785p195m54h03jcn7fai8w08hjnb94nzaakgzibbz3")) - (modules '((guix build utils))) - (snippet - '(begin (substitute* "Cargo.toml" - (("libc.*") "libc = \"0.2\"\n")) - #t)))) - (build-system cargo-build-system) - (arguments - `( #:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-rand" ,rust-rand-0.3) - ("rust-time" ,rust-time-0.1)) - #:cargo-development-inputs - (("rust-lazy-static" ,rust-lazy-static-1) - ("rust-nix" ,rust-nix-0.15)))) - (home-page "https://github.com/cpjreynolds/sema") - (synopsis "Rust semaphore library") - (description "Rust semaphore library.") - (license license:expat))) - (define-public rust-semver-1 (package (name "rust-semver") @@ -56309,24 +50427,6 @@ fragment of code.") (("rust-clippy" ,rust-clippy-0.0)) #:tests? #f)))) -(define-public rust-serde-0.4 - (package - (inherit rust-serde-0.9) - (name "rust-serde") - (version "0.4.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "serde" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "06s2ayx1p5zzj4q7bfld60c9iprsk1256pnh8qj6h794mjinw11b")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-num" ,rust-num-0.2)))))) - (define-public rust-serde-big-array-0.3 (package (name "rust-serde-big-array") @@ -56455,29 +50555,6 @@ fragment of code.") (description "CBOR support for serde.") (license (list license:expat license:asl2.0)))) -(define-public rust-serde-cbor-0.10 - (package - (inherit rust-serde-cbor-0.11) - (name "rust-serde-cbor") - (version "0.10.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "serde_cbor" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0kyizacjabsa78p9f7qvj31zirpnsgsr4zpfv1p6lwpcb3biw27p")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-half" ,rust-half-1) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-serde-derive" ,rust-serde-derive-1)))))) - (define-public rust-serde-codegen-0.4 (package (name "rust-serde-codegen") @@ -56798,42 +50875,6 @@ data. This crate provides a wrapper that works with any existing Serde #:cargo-development-inputs (("rust-serde-derive" ,rust-serde-derive-0.9)))))) -(define-public rust-serde-macros-0.4 - (package - (name "rust-serde-macros") - (version "0.4.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "serde_macros" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1717rpncvvyvyrpb7hdjgxpiki9vdgygwv2r3d9aal5n8cm8xi8i")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-cargo-toml - (lambda _ - (substitute* "Cargo.toml" - ((", path =.*}") "}")) - #t))) - #:cargo-inputs - (("rust-serde-codegen" ,rust-serde-codegen-0.4)) - #:cargo-development-inputs - (("rust-num" ,rust-num-0.2) - ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) - ("rust-serde" ,rust-serde-0.4)))) - (home-page "https://serde.rs") - (synopsis - "Macros to auto-generate implementations for the serde framework") - (description - "Macros to auto-generate implementations for the serde framework.") - (license (list license:expat license:asl2.0)))) - (define-public rust-serde-path-to-error-0.1 (package (name "rust-serde-path-to-error") @@ -56898,30 +50939,6 @@ using nested parameters, similar to those used by @code{qs} for Node, and commonly used by Ruby on Rails via Rack.") (license (list license:expat license:asl2.0)))) -(define-public rust-serde-regex-1 - (package - (name "rust-serde-regex") - (version "1.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "serde_regex" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1pxsnxb8c198szghk1hvzvhva36w2q5zs70hqkmdf5d89qd6y4x8")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-regex" ,rust-regex-1)) - #:cargo-development-inputs - (("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/tailhook/serde-regex") - (synopsis "Serde wrapper to serialize regular expressions as strings") - (description "This package provides a serde wrapper, that can be used to -serialize regular expressions as strings.") - (license (list license:expat license:asl2.0)))) - (define-public rust-serde-repr-0.1 (package (name "rust-serde-repr") @@ -57097,27 +51114,6 @@ the application/x-www-form-urlencoded format.") #:cargo-development-inputs (("rust-serde-derive" ,rust-serde-derive-1)))))) -(define-public rust-serde-urlencoded-0.5 - (package - (inherit rust-serde-urlencoded-0.6) - (name "rust-serde-urlencoded") - (version "0.5.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "serde_urlencoded" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0nhnzllx5xrij4x17g351n14md691r95mxr7sbpz4sl80n8xcbb4")))) - (arguments - `(#:cargo-inputs - (("rust-dtoa" ,rust-dtoa-0.4) - ("rust-itoa" ,rust-itoa-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-url" ,rust-url-1)) - #:cargo-development-inputs - (("rust-serde-derive" ,rust-serde-derive-1)))))) - (define-public rust-serde-value-0.7 (package (name "rust-serde-value") @@ -57142,49 +51138,6 @@ the application/x-www-form-urlencoded format.") for later processing.") (license license:expat))) -(define-public rust-serde-value-0.6 - (package - (inherit rust-serde-value-0.7) - (name "rust-serde-value") - (version "0.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "serde-value" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1swh6870pr1cxr6ha769rv4wdnyfxdvsc42cmvf8lmla38lsfras")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-ordered-float" ,rust-ordered-float-1) - ("rust-serde" ,rust-serde-1)))))) - -(define-public rust-serde-xml-rs-0.4 - (package - (name "rust-serde-xml-rs") - (version "0.4.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "serde-xml-rs" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1ykx1xkfd59gf0ijnp93xhpd457xy4zi8xv2hrr0ikvcd6h1pgzh")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-log" ,rust-log-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-xml-rs" ,rust-xml-rs-0.8)))) - (home-page "https://github.com/RReverser/serde-xml-rs") - (synopsis "XML based deserializer for Serde") - (description - "This crate provides an XML based deserializer for Serde.") - (license license:expat))) - (define-public rust-serde-yaml-0.8 (package (name "rust-serde-yaml") @@ -57440,29 +51393,6 @@ functionality and without weak references.") (description "This package provides Rust bindings for fontconfig.") (license (list license:expat license:asl2.0)))) -(define-public rust-servo-fontconfig-0.4 - (package - (inherit rust-servo-fontconfig-0.5) - (name "rust-servo-fontconfig") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "servo-fontconfig" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1nach6s4hdf86jz5hlm4p5r7vin91cs7gg89mr533id5fpbzi250")))) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-servo-fontconfig-sys" ,rust-servo-fontconfig-sys-4)))) - (native-inputs - (list pkg-config)) - (inputs - `(("fontconfig" ,fontconfig))))) - (define-public rust-servo-fontconfig-sys-5 (package (name "rust-servo-fontconfig-sys") @@ -57487,67 +51417,6 @@ functionality and without weak references.") "This package provides a Rust wrapper around Fontxonfig.") (license license:expat))) -(define-public rust-servo-fontconfig-sys-4 - (package - (inherit rust-servo-fontconfig-sys-5) - (name "rust-servo-fontconfig-sys") - (version "4.0.9") - (source - (origin - (method url-fetch) - (uri (crate-uri "servo-fontconfig-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0v0mbicy74wd6cjd5jyqnm4nvrrr5lmg053cn16kylhg8mkf3cv2")) - (modules '((guix build utils))) - (snippet - '(begin - (for-each delete-file-recursively - (find-files "." "[^Cargo.toml,^build\\.rs]")) - #t)))) - (arguments - `(#:cargo-inputs - (("rust-expat-sys" ,rust-expat-sys-2) - ("rust-servo-freetype-sys" ,rust-servo-freetype-sys-4) - ("rust-pkg-config" ,rust-pkg-config-0.3)))) - (native-inputs - (list pkg-config)) - (inputs - `(("fontconfig" ,fontconfig))))) - -(define-public rust-servo-freetype-sys-4 - (package - (name "rust-servo-freetype-sys") - (version "4.0.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "servo-freetype-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1z0dvnakans4vn4vlpx4nxg984427lh8dskxxz9pglij1mnwnk1c")) - (modules '((guix build utils))) - (snippet - '(begin (delete-file-recursively "freetype2") #t)))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cmake" ,rust-cmake-0.1) - ("rust-pkg-config" ,rust-pkg-config-0.3)))) - (native-inputs - (list pkg-config)) - (inputs - (list freetype)) - (home-page "https://www.freetype.org/") - (synopsis "Rust wrapper around freetype") - (description - "This package provides a Rust wrapper around the FreeType library.") - (license license:mpl2.0))) ; build.rs is mpl2.0 - (define-public rust-sha-1-0.10 (package (name "rust-sha-1") @@ -57848,29 +51717,6 @@ function family including SHA-224, SHA-256, SHA-384, and SHA-512.") ("rust-fake-simd" ,rust-fake-simd-0.1) ("rust-sha2-asm" ,rust-sha2-asm-0.5)))))) -(define-public rust-sha2-0.6 - (package - (inherit rust-sha2-0.9) - (name "rust-sha2") - (version "0.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "sha2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0shircyawzg1q5lyi175l7l446v5bijwrf58grnz4z9nrrw3r5kx")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-block-buffer" ,rust-block-buffer-0.2) - ("rust-byte-tools" ,rust-byte-tools-0.2) - ("rust-digest" ,rust-digest-0.6) - ("rust-fake-simd" ,rust-fake-simd-0.1) - ("rust-generic-array" ,rust-generic-array-0.8) - ("rust-sha2-asm" ,rust-sha2-asm-0.3)))))) - (define-public rust-sha2-asm-0.6 (package (name "rust-sha2-asm") @@ -57905,26 +51751,6 @@ functions core functionality.") (sha256 (base32 "0y4n8r4362y2fa6p2j0dgny4zfi194gdf01l6j850n9vf8ha3kwj")))))) -(define-public rust-sha2-asm-0.3 - (package - (inherit rust-sha2-asm-0.5) - (name "rust-sha2-asm") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "sha2-asm" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "09id310ngbcv98bww7ns1zmilcagnzhqx2s2skpmf23lzl890c9y")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-gcc" ,rust-gcc-0.3) - ("rust-generic-array" ,rust-generic-array-0.8)))))) - (define-public rust-sha3-0.9 (package (name "rust-sha3") @@ -57952,32 +51778,6 @@ functions core functionality.") (Keccak) hash function.") (license (list license:expat license:asl2.0)))) -(define-public rust-shader-version-0.6 - (package - (name "rust-shader-version") - (version "0.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "shader_version" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1yk651xc9irl3pl0rlplypzyzy44d0j03ji0j7hjjdjknwzpi3j7")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-piston-graphics-api-version" - ,rust-piston-graphics-api-version-0.2)))) - (home-page "https://github.com/pistondevelopers/shader_version") - (synopsis - "Helper library for detecting and picking compatible shaders") - (description "This package provides a helper library for detecting and -picking compatible shaders.") - (license license:expat))) - (define-public rust-shadow-rs-0.8 (package (name "rust-shadow-rs") @@ -58004,43 +51804,6 @@ and environment at run time. You can use this tool to check in production exactly where a binary came from and how it was built.") (license (list license:expat license:asl2.0)))) -(define-public rust-shadow-rs-0.6 - (package - (inherit rust-shadow-rs-0.8) - (name "rust-shadow-rs") - (version "0.6.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "shadow-rs" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0sps996yhchz43zfk9zysjpirz638s1hbhspp998bk6v9l6k7j10")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-chrono" ,rust-chrono-0.4) - ("rust-git2" ,rust-git2-0.13)))))) - -(define-public rust-shadow-rs-0.5 - (package - (inherit rust-shadow-rs-0.6) - (name "rust-shadow-rs") - (version "0.5.24") - (source - (origin - (method url-fetch) - (uri (crate-uri "shadow-rs" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1qldaq7z09s6v0qp2yfhkrhvwprnjr4my6ngmidl2xj1v0ql9ln2")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-chrono" ,rust-chrono-0.4) - ("rust-git2" ,rust-git2-0.13)))))) - (define-public rust-sharded-slab-0.1 (package (name "rust-sharded-slab") @@ -58575,28 +52338,6 @@ CPUs, as well as raw interfaces to platform-specific instructions. ") (license (list license:expat license:asl2.0)))) -(define-public rust-simd-0.1 - (package - (inherit rust-simd-0.2) - (name "rust-simd") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "simd" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "08vhhz1w5m7amfp1d9lvfyyzl0jqjm82hrr7fb7afv3n5my89db3")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-serde" ,rust-serde-0.4) - ("rust-serde-macros" ,rust-serde-macros-0.4)) - #:cargo-development-inputs - (("rust-cfg-if" ,rust-cfg-if-0.1)))))) - (define-public rust-simd-adler32-0.3 (package (name "rust-simd-adler32") @@ -58866,29 +52607,6 @@ variants in pure Rust.") "SipHash functions from rust-core < 1.13.") (license (list license:asl2.0 license:expat)))) -(define-public rust-size-format-1 - (package - (name "rust-size-format") - (version "1.0.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "size-format" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0fxjl0rc0x7yc14x885dh7jjf2jrlhpwf66akp3dxii246mzdmbf")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-generic-array" ,rust-generic-array-0.12) - ("rust-num" ,rust-num-0.2)))) - (home-page "https://github.com/aticu/size_format") - (synopsis "Allow easier formatting of sizes") - (description "This package allows for easier formatting of sizes.") - (license (list license:expat license:asl2.0)))) - (define-public rust-sized-chunks-0.6 (package (name "rust-sized-chunks") @@ -58916,27 +52634,6 @@ variants in pure Rust.") designed for @code{immutable.rs}.") (license license:mpl2.0))) -(define-public rust-skeptic-0.9 - (package - (name "rust-skeptic") - (version "0.9.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "skeptic" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0savk91xy74izw9z6vn6ialkaqrp81w7dayha801b52h670qszfx")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-pulldown-cmark" ,rust-pulldown-cmark-0.0.8) - ("rust-tempdir" ,rust-tempdir-0.3)))) - (home-page "https://github.com/budziq/rust-skeptic") - (synopsis "Test your Rust markdown documentation via Cargo") - (description "Test your Rust markdown documentation via Cargo") - (license (list license:expat license:asl2.0)))) - (define-public rust-skeptic-0.13 (package (name "rust-skeptic") @@ -59045,27 +52742,6 @@ algebra.") (description "This package provides a simple SIMD Rust library.") (license (list license:expat license:asl2.0)))) -(define-public rust-path-slash-0.1 - (package - (name "rust-path-slash") - (version "0.1.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "path-slash" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "06dnnmd3fvmr9ngwgj0xrfj9s8h09m9dgf3zlqsbalzk9wybpb1w")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://github.com/rhysd/path-slash") - (synopsis "Conversion to/from a file path from/to slash path") - (description - "Path-slash is a tiny library to convert a file path (e.g., @samp{foo/bar}, -@samp{foo\bar} or @samp{C:\foo\bar}) from or to slash path (e.g., -@samp{foo/bar}, @samp{C:/foo/bar}).") - (license license:expat))) - (define-public rust-paw-1 (package (name "rust-paw") @@ -59462,47 +53138,6 @@ Unicode strings.") I/O programming.") (license license:expat))) -(define-public rust-sluice-0.4 - (package - (inherit rust-sluice-0.5) - (name "rust-sluice") - (version "0.4.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "sluice" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0c9mbbf9c1180yrld2fnfy0d0wbl4w1a7s3dkv0knx78ngghcz8a")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-futures-channel-preview" ,rust-futures-channel-preview-0.3) - ("rust-futures-core-preview" ,rust-futures-core-preview-0.3) - ("rust-futures-io-preview" ,rust-futures-io-preview-0.3)))))) - -(define-public rust-smallbitvec-2 - (package - (name "rust-smallbitvec") - (version "2.5.1") - (source (origin - (method url-fetch) - (uri (crate-uri "smallbitvec" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0plrbldsjpwip3afbzd8fgrnvdhizcg5z4ncfqs4q6x4qjflzkkm")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-development-inputs - (("rust-bit-vec" ,rust-bit-vec-0.4) - ("rust-rand" ,rust-rand-0.4)))) - (home-page "https://github.com/servo/smallbitvec") - (synopsis "Bit vector optimized for size and inline storage") - (description "This package provides a bit vector optimized for size and -inline storage.") - (license (list license:expat license:asl2.0)))) - (define-public rust-smallvec-1 (package (name "rust-smallvec") @@ -59551,21 +53186,6 @@ stack.") #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1)))))) -(define-public rust-smallvec-0.2 - (package - (inherit rust-smallvec-1) - (name "rust-smallvec") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "smallvec" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "04z0bv5pcnwnvij8kfzw56lnib9mjq8bafp120i7q48yvzbbr32c")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)))) - (define-public rust-smart-default-0.6 (package (name "rust-smart-default") @@ -59591,8 +53211,35 @@ stack.") control on the fields.") (license license:expat))) +(define-public rust-smartstring-1 + (package + (name "rust-smartstring") + (version "1.0.1") + (source (origin + (method url-fetch) + (uri (crate-uri "smartstring" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0agf4x0jz79r30aqibyfjm1h9hrjdh0harcqcvb2vapv7rijrdrz")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-autocfg" ,rust-autocfg-1) + ("rust-proptest" ,rust-proptest-1) + ("rust-serde" ,rust-serde-1) + ("rust-static-assertions" ,rust-static-assertions-1) + ("rust-version-check" ,rust-version-check-0.9)))) + (home-page "https://github.com/bodil/smartstring") + (synopsis "Compact inlined strings") + (description "This package provides compact inlined strings.") + (license license:mpl2.0))) + (define-public rust-smartstring-0.2 (package + (inherit rust-smartstring-1) (name "rust-smartstring") (version "0.2.9") (source (origin @@ -59602,18 +53249,13 @@ control on the fields.") (sha256 (base32 "16rc6n0p4r4aw6k6jxf2s37wyaijaa4pwpw7rqki7cn2q0qnmaii")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-0.4) ("rust-proptest" ,rust-proptest-0.10) ("rust-serde" ,rust-serde-1) - ("rust-static-assertions" ,rust-static-assertions-1)))) - (home-page "https://github.com/bodil/smartstring") - (synopsis "Compact inlined strings") - (description "This package provides compact inlined strings.") - (license license:mpl2.0))) + ("rust-static-assertions" ,rust-static-assertions-1)))))) (define-public rust-smawk-0.3 (package @@ -59787,61 +53429,6 @@ package provides derive macros.") (description "Snafu aims to be an ergonomic error handling library.") (license (list license:expat license:asl2.0)))) -(define-public rust-snailquote-0.3 - (package - (name "rust-snailquote") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "snailquote" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "04687yzvgk3ja0ch7k96w3v36fzvqd9ci2l5k12ijligh2fp4jzk")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-thiserror" ,rust-thiserror-1) - ("rust-unicode-categories" ,rust-unicode-categories-0.1)))) - (home-page "https://github.com/euank/snailquote") - (synopsis "Escape and unescape strings with shell-inspired quoting") - (description - "This library provides functions to escape and unescape strings. - -It escapes them in a roughly ``sh'' compatible way (e.g. double quotes -supporting backslash escapes, single quotes supporting no escapes). - -In addition, it provides support for common C-like ASCII escapes (like -@samp{\\n} for newline, @samp{\\v} for vertical tab, etc.) and Rust -string-like Unicode (via @samp{\\u@{12ff@}} style escapes). - -More importantly, this library also provides the ability to un-escape a given -escaped text to recover the original string.") - (license license:gpl3))) - -(define-public rust-snake-case-0.3 - (package - (name "rust-snake-case") - (version "0.3.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "snake-case" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1v4f132rk9wxiw8hb3kgnixirzr8kbfhg2lgsf4b85vbg02a0jfn")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-serde" ,rust-serde-1)))) - (home-page "https://github.com/emilk/snake_case") - (synopsis "String-like type that only contains non-empty snake_case") - (description - "This package provides a String-like type that can only contain valid -non-empty snake_case.") - (license license:expat))) - (define-public rust-snap-1 (package (name "rust-snap") @@ -59887,17 +53474,17 @@ algorithm. Includes streaming compression and decompression.") ("rust-lazy-static" ,rust-lazy-static-1) ("rust-snappy-cpp" ,rust-snappy-cpp-0.1)))))) -(define-public rust-snapbox-macros-0.2 +(define-public rust-snapbox-macros-0.3 (package (name "rust-snapbox-macros") - (version "0.2.1") + (version "0.3.1") (source (origin (method url-fetch) (uri (crate-uri "snapbox-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0c79lnjcs9yp62y665swv5y5y6088qc256bfr3s7xcnb0izfl7f0")))) + "0dkk7b5l9g8q7fswqj0686jqafkdl8apv1ay8r275cry430napj8")))) (build-system cargo-build-system) (home-page "https://github.com/assert-rs/trycmd/tree/main/crates/snapbox") (synopsis "Snapshot testing toolbox") @@ -59914,17 +53501,30 @@ output from It is also flexible enough to build your own test harness like @code{trycmd}.") (license (list license:expat license:asl2.0)))) -(define-public rust-snapbox-0.2 +(define-public rust-snapbox-macros-0.2 + (package + (inherit rust-snapbox-macros-0.3) + (name "rust-snapbox-macros") + (version "0.2.1") + (source (origin + (method url-fetch) + (uri (crate-uri "snapbox-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0c79lnjcs9yp62y665swv5y5y6088qc256bfr3s7xcnb0izfl7f0")))))) + +(define-public rust-snapbox-0.4 (package (name "rust-snapbox") - (version "0.2.10") + (version "0.4.0") (source (origin (method url-fetch) (uri (crate-uri "snapbox" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "14zxmsi4k9a9vgp9vs1q62ff1k57p26rwp5xs6f9bdijl9fisykn")))) + "1pad85id96wa6ngipdmfdbwaj0v9xd41p0rhb0f65lgcdrjrd2pr")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -59935,11 +53535,12 @@ It is also flexible enough to build your own test harness like @code{trycmd}.") ("rust-dunce" ,rust-dunce-1) ("rust-filetime" ,rust-filetime-0.2) ("rust-ignore" ,rust-ignore-0.4) - ("rust-libtest-mimic" ,rust-libtest-mimic-0.3) + ("rust-libtest-mimic" ,rust-libtest-mimic-0.5) ("rust-normalize-line-endings" ,rust-normalize-line-endings-0.3) ("rust-os-pipe" ,rust-os-pipe-1) + ("rust-serde-json" ,rust-serde-json-1) ("rust-similar" ,rust-similar-2) - ("rust-snapbox-macros" ,rust-snapbox-macros-0.2) + ("rust-snapbox-macros" ,rust-snapbox-macros-0.3) ("rust-tempfile" ,rust-tempfile-3) ("rust-wait-timeout" ,rust-wait-timeout-0.2) ("rust-walkdir" ,rust-walkdir-2) @@ -59959,6 +53560,37 @@ output from It is also flexible enough to build your own test harness like @code{trycmd}.") (license (list license:expat license:asl2.0)))) +(define-public rust-snapbox-0.2 + (package + (inherit rust-snapbox-0.4) + (name "rust-snapbox") + (version "0.2.10") + (source (origin + (method url-fetch) + (uri (crate-uri "snapbox" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "14zxmsi4k9a9vgp9vs1q62ff1k57p26rwp5xs6f9bdijl9fisykn")))) + (arguments + `(#:cargo-inputs + (("rust-backtrace" ,rust-backtrace-0.3) + ("rust-concolor" ,rust-concolor-0.0.8) + ("rust-content-inspector" ,rust-content-inspector-0.2) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-dunce" ,rust-dunce-1) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-ignore" ,rust-ignore-0.4) + ("rust-libtest-mimic" ,rust-libtest-mimic-0.3) + ("rust-normalize-line-endings" ,rust-normalize-line-endings-0.3) + ("rust-os-pipe" ,rust-os-pipe-1) + ("rust-similar" ,rust-similar-2) + ("rust-snapbox-macros" ,rust-snapbox-macros-0.2) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-wait-timeout" ,rust-wait-timeout-0.2) + ("rust-walkdir" ,rust-walkdir-2) + ("rust-yansi" ,rust-yansi-0.5)))))) + (define-public rust-snappy-cpp-0.1 (package (name "rust-snappy-cpp") @@ -60057,30 +53689,6 @@ maximal amount of configuration possible intended.") "You can write SOCKS proxy clients with this crate.") (license (list license:asl2.0 license:expat)))) -(define-public rust-sourcefile-0.1 - (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-3)))) - (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-sourcemap-6 (package (name "rust-sourcemap") @@ -60197,19 +53805,6 @@ spinning. They may contain data, are usable without @code{std},and static initializers are available.") (license license:expat))) -(define-public rust-spin-0.7 - (package - (inherit rust-spin-0.9) - (name "rust-spin") - (version "0.7.1") - (source (origin - (method url-fetch) - (uri (crate-uri "spin" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0qjips9f6fsvkyd7wj3a4gzaqknn2q4kkb19957pl86im56pna0k")))))) - (define-public rust-spin-0.5 (package (inherit rust-spin-0.9) @@ -60665,31 +54260,6 @@ deeply recursive algorithms that may accidentally blow the stack.") (license (list license:asl2.0 license:expat)))) -(define-public rust-stackvector-1 - (package - (name "rust-stackvector") - (version "1.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "stackvector" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0xnz2z9hvn8h1hb3fq9mpf0ibw4g9pk54wpqis0knj329cfhz3zl")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-unreachable" ,rust-unreachable-1)) - #:cargo-development-inputs - (("rust-rustc-version" ,rust-rustc-version-0.2)))) - (home-page "https://github.com/Alexhuszagh/rust-stackvector") - (synopsis "Vector-like facade for stack-allocated arrays") - (description - "StackVec: vector-like facade for stack-allocated arrays.") - (license (list license:asl2.0 license:expat)))) - (define-public rust-standback-0.2 (package (name "rust-standback") @@ -60711,31 +54281,6 @@ deeply recursive algorithms that may accidentally blow the stack.") (description "New standard library, old compiler.") (license (list license:expat license:asl2.0)))) -(define-public rust-starship-module-config-derive-0.2 - (package - (name "rust-starship-module-config-derive") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "starship_module_config_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "09327jvaf2b4xwg0s8l3afrrg140illa0ff6wkwfi4i8pl7dpacp")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://starship.rs") - (synopsis "Minimal, fast and customizable prompt for any shell") - (description - "This crate provides a minimal, fast, and customizable prompt for any -shell.") - (license license:isc))) - (define-public rust-state-0.4 (package (name "rust-state") @@ -60779,20 +54324,6 @@ management.") are met.") (license (list license:expat license:asl2.0)))) -(define-public rust-static-assertions-0.3 - (package - (inherit rust-static-assertions-1) - (name "rust-static-assertions") - (version "0.3.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "static-assertions" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1lw33i89888yb3x29c6dv4mrkg3534n0rlg3r7qzh4p58xmv6gkz")))))) - (define-public rust-static-map-macro-0.2 (package (name "rust-static-map-macro") @@ -62091,30 +55622,6 @@ cryptographic implementations.") (base32 "1vm80mxbwfj334izwm8x8l65v1xl9hr0kwrg36r1rq565fkaarrd")))))) -(define-public rust-succinct-0.5 - (package - (name "rust-succinct") - (version "0.5.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "succinct" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0654c9gq50x7djyf25zbzz3d2pc4x3z21wmjj3qbr6d9h4hbd63p")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-num-traits" ,rust-num-traits-0.2)) - #:cargo-development-inputs - (("rust-quickcheck" ,rust-quickcheck-0.9)))) - (home-page "https://github.com/tov/succinct-rs") - (synopsis "Succinct data structures for Rust") - (description "This package provides succinct data structures for Rust.") - (license (list license:expat license:asl2.0)))) - (define-public rust-surf-2 (package (name "rust-surf") @@ -62170,42 +55677,6 @@ alike. It's completely modular, and built directly for @code{async/await}.") values without proliferating generics.") (license (list license:expat license:asl2.0)))) -(define-public rust-surf-1 - (package - (inherit rust-surf-2) - (name "rust-surf") - (version "1.0.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "surf" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1kksp41r5w7pwv1bj8pq5cngny24flq4mybxyhbfycx8z04806kl")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-futures-preview" ,rust-futures-preview-0.3) - ("rust-http" ,rust-http-0.1) - ("rust-hyper" ,rust-hyper-0.12) - ("rust-hyper-tls" ,rust-hyper-tls-0.3) - ("rust-isahc" ,rust-isahc-0.7) - ("rust-js-sys" ,rust-js-sys-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-mime" ,rust-mime-0.3) - ("rust-mime-guess" ,rust-mime-guess-2) - ("rust-native-tls" ,rust-native-tls-0.2) - ("rust-runtime" ,rust-runtime-0.3) - ("rust-runtime-raw" ,rust-runtime-raw-0.3) - ("rust-runtime-tokio" ,rust-runtime-tokio-0.3) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6) - ("rust-url" ,rust-url-2) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.3) - ("rust-web-sys" ,rust-web-sys-0.3)))))) - (define-public rust-sval-1 (package (name "rust-sval") @@ -62230,47 +55701,6 @@ values without proliferating generics.") "This package provides a no-std, object-safe serialization framework.") (license (list license:asl2.0 license:expat)))) -(define-public rust-sval-0.5 - (package - (inherit rust-sval-1) - (name "rust-sval") - (version "0.5.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "sval" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "052j9ipwpb1zh02gw2ys8c4wpjqdf35991k0zkwljnalx37i79qj")))) - (arguments - `(#:cargo-inputs - (("rust-serde" ,rust-serde-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-sval-derive" ,rust-sval-derive-0.5)) - #:cargo-development-inputs - (("rust-quickcheck" ,rust-quickcheck-0.9)))))) - -(define-public rust-sval-0.4 - (package - (inherit rust-sval-0.5) - (name "rust-sval") - (version "0.4.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "sval" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1aljggx64481q4wp3wx9hxsfh2bs7d64nqsrwbb2zxcpmdnbn6yk")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-sval-derive" ,rust-sval-derive-0.4) - ("rust-smallvec" ,rust-smallvec-0.6) - ("rust-serde" ,rust-serde-1)))))) - (define-public rust-sval-derive-1 (package (name "rust-sval-derive") @@ -62294,45 +55724,6 @@ values without proliferating generics.") (description "This package provides custom derive for @code{sval}.") (license (list license:asl2.0 license:expat)))) -(define-public rust-sval-derive-0.5 - (package - (inherit rust-sval-derive-1) - (name "rust-sval-derive") - (version "0.5.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "sval_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1spip2cjhmjazq2dns69909p9hyx4cmbx6ma4g2skwvcwv4h3gnq")))) - (arguments - `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))))) - -(define-public rust-sval-derive-0.4 - (package - (inherit rust-sval-derive-0.5) - (name "rust-sval-derive") - (version "0.4.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "sval_derive" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "07s7jqsdczsg0wnydfnxyrsj8zyrjmiwl4is1dfgn8dfvyi8n2bj")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-syn" ,rust-syn-1) - ("rust-quote" ,rust-quote-1)))))) - (define-public rust-swayipc-2 (package (name "rust-swayipc") @@ -62378,119 +55769,6 @@ interface.") executed by swayipc.") (license license:expat))) -(define-public rust-swc-1 - (package - (name "rust-swc") - (version "1.2.24") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/swc-project/swc") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1w9al035x0gmard80vqvah8sy8szs6bnd1ynnyssiiylzg7vhyyv")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-ansi-term" ,rust-ansi-term-0.12) - ("rust-base64" ,rust-base64-0.12) - ("rust-console-error-panic-hook" ,rust-console-error-panic-hook-0.1) - ("rust-crc" ,rust-crc-1) - ("rust-darling" ,rust-darling-0.10) - ("rust-dashmap" ,rust-dashmap-3) - ("rust-either" ,rust-either-1) - ("rust-fxhash" ,rust-fxhash-0.2) - ("rust-is-macro" ,rust-is-macro-0.1) - ("rust-jemallocator" ,rust-jemallocator-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-mimalloc" ,rust-mimalloc-0.1) - ("rust-napi" ,rust-napi-0.5) - ("rust-napi-build" ,rust-napi-build-0.2) - ("rust-napi-derive" ,rust-napi-derive-0.5) - ("rust-nom" ,rust-nom-5) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-parking-lot" ,rust-parking-lot-0.7) - ("rust-path-clean" ,rust-path-clean-0.1) - ("rust-petgraph" ,rust-petgraph-0.5) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-radix-fmt" ,rust-radix-fmt-1) - ("rust-regex" ,rust-regex-1) - ("rust-relative-path" ,rust-relative-path-1) - ("rust-retain-mut" ,rust-retain-mut-0.1) - ("rust-scoped-tls" ,rust-scoped-tls-1) - ("rust-st-map" ,rust-st-map-0.1) - ("rust-string-cache" ,rust-string-cache-0.8) - ("rust-walkdir" ,rust-walkdir-2) - ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4)) - #:cargo-development-inputs - (("rust-anyhow" ,rust-anyhow-1) - ("rust-env-logger" ,rust-env-logger-0.7) - ("rust-num-bigint" ,rust-num-bigint-0.2) - ("rust-pretty-assertions" ,rust-pretty-assertions-0.6) - ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.3) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-sourcemap" ,rust-sourcemap-6) - ("rust-string-cache-codegen" ,rust-string-cache-codegen-0.5) - ("rust-tempfile" ,rust-tempfile-3)) - #:tests? #f ;; tests env_query_chrome_71 and project_env fail - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'enable-unstable-features - (lambda _ - (setenv "RUSTC_BOOTSTRAP" "1") - (substitute* "ecmascript/jsdoc/src/lib.rs" - (("pub use self" all) - (string-append "#![feature(non_exhaustive)]\n" all))) - (substitute* "ecmascript/parser/src/lib.rs" - (("//! es2019" all) - (string-append "#![feature(non_exhaustive)] -#![feature(mem_take)] -#![feature(proc_macro_hygiene)] -" all))) - (substitute* "ecmascript/transforms/src/lib.rs" - (("#!\\[cfg_attr" all) - (string-append "#![feature(mem_take)]\n" all))) - #t)) - (add-after 'enable-unstable-features 'patch-build-failures - (lambda _ - (chmod ".cargo/config" 420) - (substitute* "ecmascript/transforms/macros/src/lib.rs" - (("use proc_macro::") - "extern crate proc_macro;\nuse proc_macro::")) - (substitute* "common/src/errors/emitter.rs" - ((" #\\[cfg\\(feature = \"tty-emitter\"\\)\\]\n") "")) - #t))))) - (home-page "https://swc.rs/") - (synopsis "Typescript/javascript compiler") - (description "@code{rust-swc} is a typescript/javascript compiler. It -consumes a javascript or typescript file which uses recently added features -like async-await and emits javascript code which can be executed on old -browsers.") - (license (list license:expat - license:asl2.0)))) - -(define-public rust-syn-test-suite-0 - (package - (name "rust-syn-test-suite") - (version "0.0.0+test") - (source - (origin - (method url-fetch) - (uri (crate-uri "syn-test-suite" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1d9ffrbgci1qjdcpvgrsg3sh24qdsdh66zcsvn5prrk05ycn3mm0")))) - (build-system cargo-build-system) - (home-page "https://github.com/dtolnay/syn") - (synopsis "Test suite of the syn crate") - (description "This package provides the test suite of the syn crate.") - (license (list license:expat license:asl2.0)))) - (define-public rust-syn-1 (package (name "rust-syn") @@ -62743,34 +56021,6 @@ standard library.") "This package provides helper methods and macros for custom derives.") (license license:expat))) -(define-public rust-synstructure-0.10 - (package - (name "rust-synstructure") - (version "0.10.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "synstructure" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0grirdkgh2wl4hf9a3nbiazpgccxgq54kn52ms0xrr6njvgkwd82")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-0.4) - ("rust-quote" ,rust-quote-0.6) - ("rust-syn" ,rust-syn-0.15) - ("rust-unicode-xid" ,rust-unicode-xid-0.1)) - #:cargo-development-inputs - (("rust-synstructure-test-traits" ,rust-synstructure-test-traits-0.1)))) - (home-page "https://github.com/mystor/synstructure") - (synopsis "Helper methods and macros for custom derives") - (description - "Helper methods and macros for custom derives.") - (license license:expat))) - (define-public rust-synstructure-test-traits-0.1 (package (name "rust-synstructure-test-traits") @@ -62834,36 +56084,6 @@ standard library.") intelligence using Sublime Text's grammars.") (license license:expat))) -(define-public rust-syntect-3 - (package - (inherit rust-syntect-4) - (name "rust-syntect") - (version "3.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "syntect" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1f6qn1yy15b0hq9h6q1rikqnm3lh56ic6bq3ywsmdsjy8ni9splm")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-plist" ,rust-plist-0.4) - ("rust-yaml-rust" ,rust-yaml-rust-0.4) - ("rust-regex-syntax" ,rust-regex-syntax-0.6) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-flate2" ,rust-flate2-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-fnv" ,rust-fnv-1) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-lazycell" ,rust-lazycell-1) - ("rust-bincode" ,rust-bincode-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-walkdir" ,rust-walkdir-2) - ("rust-onig" ,rust-onig-5)))))) - (define-public rust-syntex-0.58 (package (name "rust-syntex") @@ -62990,19 +56210,6 @@ syntax extension expansion.") "This Rust crate gathers system information.") (license license:expat))) -(define-public rust-sys-info-0.7 - (package - (inherit rust-sys-info-0.9) - (name "rust-sys-info") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "sys-info" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0facyh6hswp1i7airri8ly5kl6sv5bvkkd21vs51k2b3z22bvkz5")))))) - (define-public rust-sys-locale-0.1 (package (name "rust-sys-locale") @@ -63136,102 +56343,6 @@ no_std compatible by default, only relying on alloc.") processors, disks, components and networks.") (license license:expat))) -(define-public rust-sysinfo-0.21 - (package - (inherit rust-sysinfo-0.23) - (name "rust-sysinfo") - (version "0.21.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "sysinfo" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "16j4wfiihlq261dh2k939br6q9zzaiwh719m7lb8idj16dpxd24g")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8) - ("rust-libc" ,rust-libc-0.2) - ("rust-ntapi" ,rust-ntapi-0.3) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-rayon" ,rust-rayon-1) - ("rust-winapi" ,rust-winapi-0.3)))))) - -(define-public rust-sysinfo-0.20 - (package - (inherit rust-sysinfo-0.21) - (name "rust-sysinfo") - (version "0.20.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "sysinfo" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0ljf8cdn50g9vrg4h9qxv070n4zd83cv63g62007qs8d8n1pimwj")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8) - ("rust-libc" ,rust-libc-0.2) - ("rust-ntapi" ,rust-ntapi-0.3) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-rayon" ,rust-rayon-1) - ("rust-winapi" ,rust-winapi-0.3)))))) - -(define-public rust-sysinfo-0.18 - (package - (inherit rust-sysinfo-0.20) - (name "rust-sysinfo") - (version "0.18.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "sysinfo" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0zd974yydc4yszxgx9hiqm5ah2rqnsgyq3qrl7raf90scpxaw16l")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8) - ("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-libc" ,rust-libc-0.2) - ("rust-ntapi" ,rust-ntapi-0.3) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-rayon" ,rust-rayon-1) - ("rust-winapi" ,rust-winapi-0.3)))))) - -(define-public rust-sysinfo-0.16 - (package - (inherit rust-sysinfo-0.18) - (name "rust-sysinfo") - (version "0.16.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "sysinfo" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "06x5kvd4glq35jjy23xj8p7nd64dk8g4kc0v9qdfhyr0y0792zjn")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8) - ("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-libc" ,rust-libc-0.2) - ("rust-ntapi" ,rust-ntapi-0.3) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-rayon" ,rust-rayon-1) - ("rust-winapi" ,rust-winapi-0.3)))))) - (define-public rust-syslog-4 (package (name "rust-syslog") @@ -63578,21 +56689,6 @@ memory all at once.") tools.") (license license:asl2.0))) -(define-public rust-target-lexicon-0.11 - (package - (inherit rust-target-lexicon-0.12) - (name "rust-target-lexicon") - (version "0.11.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "target-lexicon" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0khq669rji1l0liv9mdxvddklqhxxpk6r06wbdhc18hiilw9xck2")))) - (arguments `(#:skip-build? #t)))) - (define-public rust-target-lexicon-0.10 (package (inherit rust-target-lexicon-0.12) @@ -64338,50 +57434,6 @@ directories.") (license (list license:asl2.0 license:expat)))) -(define-public rust-tempfile-2 - (package - (inherit rust-tempfile-3) - (name "rust-tempfile") - (version "2.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "tempfile" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1q61byf232rra0vqxp4qp10wwwqsqqd45qjj80ql5f34vgljzkhi")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-kernel32-sys" ,rust-kernel32-sys-0.2) - ("rust-libc" ,rust-libc-0.2) - ("rust-rand" ,rust-rand-0.3) - ("rust-redox-syscall" ,rust-redox-syscall-0.1) - ("rust-winapi" ,rust-winapi-0.2)))))) - -(define-public rust-temporary-0.6 - (package - (name "rust-temporary") - (version "0.6.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "temporary" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1z0vg6yb54xlb5aapdwga57s5xbcvgzw2n21m2zv7flx8b4dsd5n")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-random" ,rust-random-0.12)))) - (home-page "https://github.com/stainless-steel/temporary") - (synopsis "Temporary files and directories") - (description - "The package provides means of managing temporary files and directories.") - (license (list license:asl2.0 license:expat)))) - (define-public rust-tendril-0.4 (package (name "rust-tendril") @@ -64723,27 +57775,6 @@ writing colored text to a terminal.") (description "Terminal capabilities with type-safe getters.") (license license:wtfpl2))) -(define-public rust-terminfo-0.6 - (package - (inherit rust-terminfo-0.7) - (name "rust-terminfo") - (version "0.6.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "terminfo" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "17k8vqvicd6yg0iqmkjnxjhz8h8pknv86r03nq3f3ayjmxdhclcf")))) - (arguments - `(#:cargo-inputs - (("rust-fnv" ,rust-fnv-1) - ("rust-nom" ,rust-nom-4) - ("rust-phf" ,rust-phf-0.7) - ("rust-phf-codegen" ,rust-phf-codegen-0.7)))))) - (define-public rust-termion-1 (package (name "rust-termion") @@ -64795,20 +57826,6 @@ 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-termios-0.2 - (package - (inherit rust-termios-0.3) - (name "rust-termios") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "termios" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0fk8nl0rmk43jrh6hjz6c6d83ri7l6fikag6lh0ffz3di9cwznfm")))))) - (define-public rust-test-assembler-0.1 (package (name "rust-test-assembler") @@ -64886,33 +57903,6 @@ into mod, giving clear and readable test results.") for TLS).") (license (list license:expat license:asl2.0)))) -(define-public rust-test-generator-0.3 - (package - (name "rust-test-generator") - (version "0.3.0") - (source (origin - (method url-fetch) - (uri (crate-uri "test-generator" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1h03y4503jhhrks4m7xqfjya9lsx3ip5dlbldr7mgcws6j8bx5za")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-glob" ,rust-glob-0.3) - ("rust-proc-macro2" ,rust-proc-macro2-0.4) - ("rust-quote" ,rust-quote-0.6) - ("rust-syn" ,rust-syn-0.15)))) - (home-page "https://github.com/frehberg/test-generator") - (synopsis "Generate parameterized tests from different input parameters") - (description - "This crate provides @code{#[test_resources]} and @code{#[bench_resources]} -procedural macro attributes that generates multiple parameterized tests using -one body with different resource input parameters. A test is generated for -each resource matching the specific resource location pattern.") - (license license:asl2.0))) - (define-public rust-tester-0.9 (package (name "rust-tester") @@ -65361,34 +58351,6 @@ fixed set of worker threads.") "This crate provides Rust bindings for the Apache Thrift RPC system.") (license license:asl2.0))) -(define-public rust-thrussh-libsodium-0.1 - (package - (name "rust-thrussh-libsodium") - (version "0.1.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "thrussh-libsodium" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0fjssjiwnmbxjvajk37l7k0fcw1ys97j7n8bpn3q3bbnz2qfrphv")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-pkg-config" ,rust-pkg-config-0.3)))) - (native-inputs - (list pkg-config)) - (inputs - (list libsodium)) - (home-page "https://nest.pijul.com/pijul_org/thrussh") - (synopsis "Straightforward bindings to libsodium") - (description - "You can bind to libsodium from Rust with this crate.") - (license (list license:asl2.0 license:expat)))) - (define-public rust-tiger-0.1 (package (name "rust-tiger") @@ -66617,31 +59579,6 @@ buffers") applications backed by buffers.") (license (list license:expat license:asl2.0)))) -(define-public rust-tokio-named-pipes-0.1 - (package - (name "rust-tokio-named-pipes") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "tokio-named-pipes" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1bjy59wdl2anl22w6qyzkff1afv7ynayfpms10iqna2j6142sa4x")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-bytes" ,rust-bytes-0.4) - ("rust-futures" ,rust-futures-0.1) - ("rust-mio" ,rust-mio-0.6) - ("rust-mio-named-pipes" ,rust-mio-named-pipes-0.1) - ("rust-tokio" ,rust-tokio-0.1)))) - (home-page "https://github.com/nikvolf/tokio-named-pipes") - (synopsis "Windows named pipe bindings for tokio") - (description "This package provides bindings for Windows named pipe for -Tokio.") - (license (list license:expat license:asl2.0)))) - (define-public rust-tokio-native-tls-0.3 (package (name "rust-tokio-native-tls") @@ -66685,50 +59622,6 @@ streams.") (("rust-native-tls" ,rust-native-tls-0.2) ("rust-tokio" ,rust-tokio-0.2)))))) -(define-public rust-tokio-net-0.2 - (package - (name "rust-tokio-net") - (version "0.2.0-alpha.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "tokio-net" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "15vm0bndn6zcpkp1yb6v736rbhqgim5skc76rz299xd3y0pr249a")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-bytes" ,rust-bytes-0.4) - ("rust-crossbeam-queue" ,rust-crossbeam-queue-0.1) - ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6) - ("rust-futures-core-preview" ,rust-futures-core-preview-0.3) - ("rust-futures-sink-preview" ,rust-futures-sink-preview-0.3) - ("rust-futures-util-preview" ,rust-futures-util-preview-0.3) - ("rust-iovec" ,rust-iovec-0.1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-mio" ,rust-mio-0.6) - ("rust-mio-named-pipes" ,rust-mio-named-pipes-0.1) - ("rust-mio-uds" ,rust-mio-uds-0.6) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-parking-lot" ,rust-parking-lot-0.8) - ("rust-signal-hook-registry" ,rust-signal-hook-registry-1) - ("rust-slab" ,rust-slab-0.4) - ("rust-tokio-codec" ,rust-tokio-codec-0.1) - ("rust-tokio-executor" ,rust-tokio-executor-0.1) - ("rust-tokio-io" ,rust-tokio-io-0.1) - ("rust-tokio-sync" ,rust-tokio-sync-0.1) - ("rust-tracing" ,rust-tracing-0.1) - ("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://tokio.rs") - (synopsis "Event loop that drives Tokio I/O resources") - (description - "This package provides the event loop that drives Tokio I/O resources.") - (license license:expat))) - (define-public rust-tokio-openssl-0.6 (package (name "rust-tokio-openssl") @@ -66894,40 +59787,6 @@ in Rust.") futures.") (license license:expat))) -(define-public rust-tokio-proto-0.1 - (package - (name "rust-tokio-proto") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "tokio-proto" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "12833cckniq3y83zjhk2ayv6qpr99d4mj1h3hz266g1mh6p4gfwg")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-futures" ,rust-futures-0.1) - ("rust-log" ,rust-log-0.3) - ("rust-net2" ,rust-net2-0.2) - ("rust-rand" ,rust-rand-0.3) - ("rust-slab" ,rust-slab-0.3) - ("rust-smallvec" ,rust-smallvec-0.2) - ("rust-take" ,rust-take-0.1) - ("rust-tokio-core" ,rust-tokio-core-0.1) - ("rust-tokio-io" ,rust-tokio-io-0.1) - ("rust-tokio-service" ,rust-tokio-service-0.1)))) - (home-page "https://tokio.rs") - (synopsis - "Network application framework for deployment of clients and servers") - (description - "This package provides a network application framework for rapid -development and highly scalable production deployments of clients and -servers.") - (license (list license:expat license:asl2.0)))) - (define-public rust-tokio-reactor-0.1 (package (name "rust-tokio-reactor") @@ -67129,28 +59988,6 @@ Rustls.") (("rust-lazy-static" ,rust-lazy-static-1) ("rust-tokio" ,rust-tokio-0.1)))))) -(define-public rust-tokio-service-0.1 - (package - (name "rust-tokio-service") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "tokio-service" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0qjinhax0y164kxp887mj8c5ih9829kdrnrb2ramzwg0fz825ni4")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-futures" ,rust-futures-0.1)))) - (home-page "https://github.com/tokio-rs/tokio-service") - (synopsis "Core @code{Service} trait for Tokio") - (description - "This package provides the core @code{Service} trait for Tokio.") - (license (list license:expat license:asl2.0)))) - (define-public rust-tokio-signal-0.2 (package (name "rust-tokio-signal") @@ -67238,31 +60075,6 @@ Rust.") ("rust-once-cell" ,rust-once-cell-1) ("rust-tokio" ,rust-tokio-0.2)))))) -(define-public rust-tokio-socks-0.2 - (package - (inherit rust-tokio-socks-0.3) - (name "rust-tokio-socks") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "tokio-socks" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1bwdjafbbs0907w42dl899inykflz4gbm026wh097q151s57i5qr")))) - (arguments - `(#:cargo-inputs - (("rust-bytes" ,rust-bytes-0.4) - ("rust-either" ,rust-either-1) - ("rust-futures" ,rust-futures-0.3) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-tokio" ,rust-tokio-0.2)) - #:cargo-development-inputs - (("rust-hyper" ,rust-hyper-0.13) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-tokio" ,rust-tokio-0.2)))))) - (define-public rust-tokio-stream-0.1 (package (name "rust-tokio-stream") @@ -67882,14 +60694,14 @@ serializing Rust structures.") (define-public rust-toml-edit-0.14 (package (name "rust-toml-edit") - (version "0.14.3") + (version "0.14.4") (source (origin (method url-fetch) (uri (crate-uri "toml_edit" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "01g772nkn5lmzaayssjd83rs3ri9ivny8r3wz2b3df1isrgkg65s")))) + (base32 "07xmklks4ldf8r9ban47zvq2s0csq43ja0dcjs43yi7j8ip2axjk")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t @@ -67909,32 +60721,6 @@ serializing Rust structures.") parser.") (license (list license:expat license:asl2.0)))) -(define-public rust-toml-edit-0.3 - (package - (name "rust-toml-edit") - (version "0.3.1") - (source (origin - (method url-fetch) - (uri (crate-uri "toml_edit" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0fbpkhla57k9qbpbxh72wxc7hhj7yscq4r0hnmyyygp92r3q6c0x")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-combine" ,rust-combine-4) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-itertools" ,rust-itertools-0.10) - ("rust-serde" ,rust-serde-1) - ("rust-vec1" ,rust-vec1-1)))) - (home-page "https://github.com/ordian/toml_edit") - (synopsis "Yet another format-preserving TOML parser") - (description "This package provides yet another format-preserving TOML -parser.") - (license (list license:expat license:asl2.0)))) - (define-public rust-tonic-0.6 (package (name "rust-tonic") @@ -68262,32 +61048,6 @@ automatically instrumenting functions.") @code{futures} with @code{tracing}.") (license license:expat))) -(define-public rust-tracing-fmt-0.1 - (package - (name "rust-tracing-fmt") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "tracing-fmt" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0wagcrd6w8d3k7zdvg6sy2bwfh8w87i6ndia69p54fc7p3z4f1c8")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-tracing-subscriber" ,rust-tracing-subscriber-0.1)) - #:cargo-development-inputs - (("rust-tracing" ,rust-tracing-0.1)))) - (home-page "https://tokio.rs") - (synopsis "Tracing subscriber that formats and logs trace data") - (description - "This package provides a tracing subscriber that formats and logs trace -data. Moved to the tracing-subscriber crate.") - (license license:expat))) - (define-public rust-tracing-log-0.1 (package (name "rust-tracing-log") @@ -68443,39 +61203,6 @@ application authors using tracing to instrument their applications.") ("rust-tracing-futures" ,rust-tracing-futures-0.2) ("rust-tracing-log" ,rust-tracing-log-0.1)))))) -(define-public rust-tracing-subscriber-0.1 - (package - (inherit rust-tracing-subscriber-0.2) - (name "rust-tracing-subscriber") - (version "0.1.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "tracing-subscriber" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0i9fhlyz8mn2znpgmi5bv9y24pwpkkgfxs0rwcf6dl6djmjs2b0r")))) - (arguments - `(#:tests? #f ; Some test files missing. - #:cargo-inputs - (("rust-ansi-term" ,rust-ansi-term-0.11) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-matchers" ,rust-matchers-0.0) - ("rust-owning-ref" ,rust-owning-ref-0.4) - ("rust-parking-lot" ,rust-parking-lot-0.9) - ("rust-regex" ,rust-regex-1) - ("rust-smallvec" ,rust-smallvec-0.6) - ("rust-tracing-core" ,rust-tracing-core-0.1) - ("rust-tracing-log" ,rust-tracing-log-0.1)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-tracing" ,rust-tracing-0.1) - ("rust-tracing-log" ,rust-tracing-log-0.1)))))) - (define-public rust-tracing-tree-0.2 (package (name "rust-tracing-tree") @@ -68510,36 +61237,6 @@ application authors using tracing to instrument their applications.") events.") (license (list license:expat license:asl2.0)))) -(define-public rust-tracing-tree-0.1 - (package - (inherit rust-tracing-tree-0.2) - (name "rust-tracing-tree") - (version "0.1.9") - (source - (origin - (method url-fetch) - (uri (crate-uri "tracing-tree" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0rs9zjajlkhdxfgyajbi7l9bf569vrhsnqv7qqmvrngq0w4v84hp")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-ansi-term" ,rust-ansi-term-0.12) - ("rust-atty" ,rust-atty-0.2) - ("rust-termcolor" ,rust-termcolor-1) - ("rust-tracing" ,rust-tracing-0.1) - ("rust-tracing-log" ,rust-tracing-log-0.1) - ("rust-tracing-subscriber" - ,rust-tracing-subscriber-0.2)) - #:cargo-development-inputs - (("rust-assert-cmd" ,rust-assert-cmd-1) - ("rust-glob" ,rust-glob-0.3) - ("rust-log" ,rust-log-0.4)))))) - (define-public rust-trackable-1 (package (name "rust-trackable") @@ -68638,23 +61335,6 @@ be used directly. See @code{rust-trackable} for more information.") recycle bin.") (license license:expat))) -(define-public rust-trash-1 - (package - (inherit rust-trash-2) - (name "rust-trash") - (version "1.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "trash" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "04nmmh6pnlsdpgz24bwnjpyqcs66414w1sip9whlx0aln6prdpwh")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-winapi" ,rust-winapi-0.3)))))) - (define-public rust-tree-magic-0.2 (package (name "rust-tree-magic") @@ -69526,28 +62206,6 @@ the Trust-DNS client to use rustls for TLS.") (("rust-openssl" ,rust-openssl-0.10) ("rust-tokio" ,rust-tokio-0.1)))))) -(define-public rust-try-from-0.3 - (package - (name "rust-try-from") - (version "0.3.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "try_from" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "12wdd4ja7047sd3rx70hv2056hyc8gcdllcx3a41g1rnw64kng98")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-0.1)))) - (home-page "https://github.com/derekjw/try_from") - (synopsis "TryFrom and TryInto traits for failable conversions") - (description - "TryFrom and TryInto traits for failable conversions that return a Result.") - (license license:expat))) - (define-public rust-try-lock-0.2 (package (name "rust-try-lock") @@ -69612,14 +62270,14 @@ the Trust-DNS client to use rustls for TLS.") (define-public rust-trycmd-0.13 (package (name "rust-trycmd") - (version "0.13.4") + (version "0.13.7") (source (origin (method url-fetch) (uri (crate-uri "trycmd" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "04wzh907rkxac5kxlai0s630qh9z122w2m1s2x14d46c4r8iid7z")))) + "1slz0b87k0n2hgbv76yc8wm68nh6cqi2lgm6gpcnkfz8rcrpndx5")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -69632,13 +62290,13 @@ the Trust-DNS client to use rustls for TLS.") ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-shlex" ,rust-shlex-1) - ("rust-snapbox" ,rust-snapbox-0.2) + ("rust-snapbox" ,rust-snapbox-0.4) ("rust-toml-edit" ,rust-toml-edit-0.14)))) (home-page "https://github.com/assert-rs/trycmd") (synopsis "Snapshot testing for a herd of CLI tests") - (description - "trycmd is a test harness that will enumerate test case files and run them to -verify the results, taking inspiration from @code{trybuild} and @code{cram}.") + (description "trycmd is a test harness that will enumerate test case files +and run them to verify the results, taking inspiration from @code{trybuild} and +@code{cram}.") (license (list license:expat license:asl2.0)))) (define-public rust-ttf-parser-0.12 @@ -69736,32 +62394,6 @@ or dashboards.") ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) ("rust-unicode-width" ,rust-unicode-width-0.1)))))) -(define-public rust-tui-0.14 - (package - (inherit rust-tui-0.15) - (name "rust-tui") - (version "0.14.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "tui" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1jfxic8kik3lc9qv541wm327mh958l3m9hmdd2qsb5cjiqm1bvcw")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-cassowary" ,rust-cassowary-0.3) - ("rust-crossterm" ,rust-crossterm-0.18) - ("rust-easycurses" ,rust-easycurses-0.12) - ("rust-pancurses" ,rust-pancurses-0.16) - ("rust-rustbox" ,rust-rustbox-0.11) - ("rust-serde" ,rust-serde-1) - ("rust-termion" ,rust-termion-1) - ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) - ("rust-unicode-width" ,rust-unicode-width-0.1)))))) - (define-public rust-tuikit-0.4 (package (name "rust-tuikit") @@ -70579,27 +63211,6 @@ Unicode and Internationalization Crates (UNIC) project.") "Implementation of the Unicode Bidirectional Algorithm.") (license (list license:asl2.0 license:expat)))) -(define-public rust-unicode-categories-0.1 - (package - (name "rust-unicode-categories") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "unicode_categories" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0kp1d7fryxxm7hqywbk88yb9d1avsam9sg76xh36k5qx2arj9v1r")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://github.com/swgillespie/unicode-categories") - (synopsis "Query Unicode category membership for chars") - (description - "unicode-categories is a simple crate that adds many extensions to the -char type that allow for the querying if whether or not a character is -a member of a certain category of Unicode characters.") - (license (list license:expat license:asl2.0)))) - (define-public rust-unicode-ident-1 (package (name "rust-unicode-ident") @@ -70995,52 +63606,6 @@ The former can be used to unwrap values of type @code{Result} or @code{Option} comparable to calling @code{unwrap_err()}.") (license (list license:expat license:bsd-3)))) -(define-public rust-uom-0.31 - (package - (name "rust-uom") - (version "0.31.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "uom" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0dwih0bclq18gfdf7if6kqip82w8yrf076l0ad1n3gr71bynpvmi")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-num-bigint" ,rust-num-bigint-0.3) - ("rust-num-rational" ,rust-num-rational-0.3) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-serde" ,rust-serde-1) - ("rust-typenum" ,rust-typenum-1)) - #:cargo-development-inputs - (("rust-approx" ,rust-approx-0.3) - ("rust-quickcheck" ,rust-quickcheck-0.9) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-static-assertions" - ,rust-static-assertions-1)))) - (home-page "https://github.com/iliekturtles/uom") - (synopsis "Units of measurement") - (description "Units of measurement is a crate that does automatic -type-safe zero-cost dimensional analysis.") - ;; Dual-licensed, either license applies. - (license (list license:asl2.0 license:expat)))) - -(define-public rust-uom-0.30 - (package - (inherit rust-uom-0.31) - (name "rust-uom") - (version "0.30.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "uom" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1vg59hnb7hh0p8kjjhgmrsnn3597722lkfdkp481wksq6vk06rg7")))))) - (define-public rust-ureq-2 (package (name "rust-ureq") @@ -71084,39 +63649,6 @@ type-safe zero-cost dimensional analysis.") (description "This package provides minimal request library in Rust.") (license (list license:expat license:asl2.0)))) -(define-public rust-ureq-1 - (package - (inherit rust-ureq-2) - (name "rust-ureq") - (version "1.5.5") - (source (origin - (method url-fetch) - (uri (crate-uri "ureq" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0wdakplwjjya6m95z42pci8m63ddx913rd92kzh8l8ar5ly0d2rb")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-base64" ,rust-base64-0.13) - ("rust-chunked-transfer" ,rust-chunked-transfer-1) - ("rust-cookie" ,rust-cookie-0.14) - ("rust-cookie-store" ,rust-cookie-store-0.12) - ("rust-encoding" ,rust-encoding-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-native-tls" ,rust-native-tls-0.2) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-qstring" ,rust-qstring-0.7) - ("rust-rustls" ,rust-rustls-0.19) - ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.5) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-socks" ,rust-socks-0.3) - ("rust-url" ,rust-url-2) - ("rust-webpki" ,rust-webpki-0.21) - ("rust-webpki-roots" ,rust-webpki-roots-0.21)))))) - (define-public rust-url-2 (package (name "rust-url") @@ -71294,23 +63826,6 @@ Unix users and groups.") #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.7)))))) -(define-public rust-users-0.9 - (package - (inherit rust-users-0.10) - (name "rust-users") - (version "0.9.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "users" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1kxl3y2hcrqqip7jpqn5mz7xlpbwmmpfmaza0xnyrhx0mrkl4by7")))) - (arguments - `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))))) - (define-public rust-utf-8-0.7 (package (name "rust-utf-8") @@ -71727,31 +64242,6 @@ write operations.") has at least 1 element.") (license (list license:expat license:asl2.0)))) -(define-public rust-vecmath-1 - (package - (name "rust-vecmath") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "vecmath" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0shmj76rj7rqv377vy365xwr5rx23kxqgkqxxrymdjjvv3hf2slm")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-piston-float" ,rust-piston-float-1)))) - (home-page "https://github.com/pistondevelopers/vecmath") - (synopsis "Library for vector math designed for reexporting") - (description - "This package provides a simple and type agnostic library for vector math -designed for reexporting.") - (license license:expat))) - (define-public rust-vergen-3 (package (name "rust-vergen") @@ -71936,31 +64426,6 @@ updated when the crate version changes.") ("rust-toml" ,rust-toml-0.4) ("rust-url" ,rust-url-1)))))) -(define-public rust-versions-3 - (package - (name "rust-versions") - (version "3.0.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "versions" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1ffjw6mbsm3nrgg03b76jfc41lg44yz1pyqmv6zj37q88i6y4wri")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-itertools" ,rust-itertools-0.10) - ("rust-nom" ,rust-nom-6) - ("rust-serde" ,rust-serde-1)))) - (home-page "https://github.com/fosskers/rs-versions") - (synopsis "Library for parsing and comparing software version numbers") - (description - "This package provides a library for parsing and comparing software -version numbers.") - (license license:expat))) - (define-public rust-void-1 (package (name "rust-void") @@ -72272,26 +64737,6 @@ result.") (description "Detect when another Future wants a result.") (license license:expat))) -(define-public rust-want-0.0 - (package - (inherit rust-want-0.3) - (name "rust-want") - (version "0.0.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "want" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1l9mbh4a0r2m3s8nckhy1vz9qm6lxsswlgxpimf4pyjkcyb9spd0")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-futures" ,rust-futures-0.1) - ("rust-log" ,rust-log-0.4) - ("rust-try-lock" ,rust-try-lock-0.1)))))) - (define-public rust-warp-0.2 (package (name "rust-warp") @@ -72361,26 +64806,6 @@ result.") (license (list license:asl2.0 license:expat)))) -(define-public rust-wasi-0.5 - (package - (name "rust-wasi") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "wasi" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1ir3pd4phdfml0cbziw9bqp7mnk0vfp9biy8bh25lln6raml4m7x")))) - (build-system cargo-build-system) - (home-page "https://github.com/CraneStation/rust-wasi") - (synopsis "Experimental WASI API bindings for Rust") - (description "This package contains experimental WASI API bindings -in Rust.") - (license license:asl2.0))) - (define-public rust-wasm-bindgen-0.2 (package (name "rust-wasm-bindgen") @@ -72443,32 +64868,6 @@ in Rust.") "Backend code generation of the wasm-bindgen tool.") (license (list license:expat license:asl2.0)))) -(define-public rust-wasm-bindgen-console-logger-0.1 - (package - (name "rust-wasm-bindgen-console-logger") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "wasm-bindgen-console-logger" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1vc506dhrk2yl0snkcn45s5adndq9wj7ipxb7awbbxzswxss4c3m")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-log" ,rust-log-0.4) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)))) - (home-page "https://github.com/blm768/wasm-bindgen-console-logger") - (synopsis "Rust log and JavaScript console logging integration") - (description - "This package provides a logging facility that integrates the -log crate with JavaScript console logging functions with the help of -wasm-bindgen.") - (license license:cc0))) - (define-public rust-wasm-bindgen-futures-0.4 (package (name "rust-wasm-bindgen-futures") @@ -72743,37 +65142,6 @@ attribute that is not in the shared backend crate.") (("rust-proc-macro2" ,rust-proc-macro2-0.4) ("rust-quote" ,rust-quote-0.6)))))) -(define-public rust-wasm-bindgen-webidl-0.2 - (package - (name "rust-wasm-bindgen-webidl") - (version "0.2.58") - (source - (origin - (method url-fetch) - (uri (crate-uri "wasm-bindgen-webidl" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0pcpaw8w3xgfrg9y24ljrsl2bkidgdaaz3ka2bgk417wjc6jl0gg")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-anyhow" ,rust-anyhow-1) - ("rust-heck" ,rust-heck-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1) - ("rust-wasm-bindgen-backend" ,rust-wasm-bindgen-backend-0.2) - ("rust-weedle" ,rust-weedle-0.10)))) - (home-page "https://rustwasm.github.io/wasm-bindgen/") - (synopsis "Support for parsing WebIDL specific to wasm-bindgen") - (description - "Support for parsing WebIDL specific to wasm-bindgen.") - (license (list license:expat license:asl2.0)))) - (define-public rust-wasmparser-0.57 (package (name "rust-wasmparser") @@ -73234,28 +65602,6 @@ implementation of webview, a tiny cross-platform library to render web-based GUIs as desktop applications.") (license license:expat))) -(define-public rust-weedle-0.10 - (package - (name "rust-weedle") - (version "0.10.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "weedle" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0r0i2kllvkn9jil6cjzxdi1zsc6p1gjyk751w8lyclaii1q3zd1v")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-nom" ,rust-nom-4)))) - (home-page "https://github.com/rustwasm/weedle") - (synopsis "WebIDL Parser") - (description - "This package provides a WebIDL Parser.") - (license license:expat))) - (define-public rust-weezl-0.1 (package (name "rust-weezl") @@ -73759,66 +66105,6 @@ color in a Windows console.") #:cargo-inputs (("rust-winapi" ,rust-winapi-0.3)))))) -(define-public rust-win-crypto-ng-0.4 - (package - (name "rust-win-crypto-ng") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "win-crypto-ng" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0v26ssjip8fdilj1j6csnvcny98gb90ra1qlnm2xwjlgivlr5kr4")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cipher" ,rust-cipher-0.2) - ("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-rand-core" ,rust-rand-core-0.5) - ("rust-winapi" ,rust-winapi-0.3) - ("rust-zeroize" ,rust-zeroize-1)))) - (home-page "https://crates.io/crates/win-crypto-ng") - (synopsis "Safe bindings to MS Windows Cryptography API Next -Generation") - (description - "Cryptography API Next Generation (CNG) are cryptographic -primitives and utilities provided by the operating system and/or -hardware. It is available since Windows Vista and replaces the now -deprecated CryptoAPI. - -The primitives do not depend on OpenSSL or other libraries of the -sort, they are provided by Microsoft and/or by the hardware -manufacturer. They are the primitives used in kernel space programs. -Therefore, if you are using Microsoft Windows, you already accepted to -trust these primitives.") - (license license:bsd-3))) - -(define-public rust-winpty-sys-0.4 - (package - (name "rust-winpty-sys") - (version "0.4.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "winpty-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0s5m2vvlw7wphc466s47zfmp08zk00wzj999l1w3ajqlxbnfgb9x")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bindgen" ,rust-bindgen-0.33) - ("rust-cc" ,rust-cc-1)))) - (home-page "https://github.com/rprichard/winpty") - (synopsis "Rust winpty bindings") - (description "Rust winpty bindings.") - (license license:expat))) - (define-public rust-winreg-0.8 (package (name "rust-winreg") @@ -74644,23 +66930,6 @@ library.") for locating fonts.") (license license:expat))) -(define-public rust-yeslogic-fontconfig-sys-2 - (package - (inherit rust-yeslogic-fontconfig-sys-3) - (name "rust-yeslogic-fontconfig-sys") - (version "2.11.2") - (source (origin - (method url-fetch) - (uri (crate-uri "yeslogic-fontconfig-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "13bzwn12dmxnc8iqd6za6q3j2ililnqjcplnlrfblbca4ia73r1q")))) - (arguments - `(#:cargo-inputs - (("rust-const-cstr" ,rust-const-cstr-0.3) - ("rust-pkg-config" ,rust-pkg-config-0.3)))))) - (define-public rust-zbase32-0.1 (package (name "rust-zbase32") @@ -74836,25 +67105,6 @@ implementation that works everywhere, even WASM!") "This package provides a library for parsing compiled zoneinfo files.") (license license:expat))) -(define-public rust-zoneinfo-compiled-0.4 - (package - (inherit rust-zoneinfo-compiled-0.5) - (name "rust-zoneinfo-compiled") - (version "0.4.8") - (source - (origin - (method url-fetch) - (uri (crate-uri "zoneinfo_compiled" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0bnm19w791q6kp79s0zl1cj9w51bw5xrifrxfy3g1p05i676y4vf")))) - (arguments - `(#:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-datetime" ,rust-datetime-0.4)))))) - (define-public rust-zstd-0.9 (package (name "rust-zstd") @@ -74917,31 +67167,6 @@ implementation that works everywhere, even WASM!") ("rust-tokio-io" ,rust-tokio-io-0.1) ("rust-zstd-safe" ,rust-zstd-safe-3)))))) -(define-public rust-zstd-0.5 - (package - (inherit rust-zstd-0.6) - (name "rust-zstd") - (version "0.5.3+zstd.1.4.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "zstd" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1n0cgj9i3dk90kn7jcahq5fligqrjfzmnq08hfg71yhyfypjxcq1")))) - (arguments - `(#:cargo-inputs - (("rust-futures" ,rust-futures-0.1) - ("rust-tokio-io" ,rust-tokio-io-0.1) - ("rust-zstd-safe" ,rust-zstd-safe-2)) - #:cargo-development-inputs - (("rust-clap" ,rust-clap-2) - ("rust-humansize" ,rust-humansize-1) - ("rust-partial-io" ,rust-partial-io-0.3) - ("rust-quickcheck" ,rust-quickcheck-0.6) - ("rust-walkdir" ,rust-walkdir-2)))))) - (define-public rust-zstd-safe-4 (package (name "rust-zstd-safe") @@ -74985,24 +67210,6 @@ library.") (("rust-libc" ,rust-libc-0.2) ("rust-zstd-sys" ,rust-zstd-sys-1)))))) -(define-public rust-zstd-safe-2 - (package - (inherit rust-zstd-safe-3) - (name "rust-zstd-safe") - (version "2.0.5+zstd.1.4.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "zstd-safe" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0m8h1x030cj5bj7zxxf6gdp91bp0ays2vi9rlqllgxi71lp69yqw")))) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-zstd-sys" ,rust-zstd-sys-1)))))) - ;; TODO: Unbundle zstd. (define-public rust-zstd-sys-1 (package @@ -75201,30 +67408,6 @@ pointers: configuration file and/or environment variables.") (license (list license:expat license:asl2.0)))) -(define-public rust-ptree-0.3 - (package - (inherit rust-ptree-0.4) - (name "rust-ptree") - (version "0.3.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "ptree" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1bp6r88hcw0ygmdfdf1gwsj6krcah2qhwp3kw284wvni080l1zcm")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-ansi-term" ,rust-ansi-term-0.12) - ("rust-atty" ,rust-atty-0.2) - ("rust-config" ,rust-config-0.10) - ("rust-directories" ,rust-directories-2) - ("rust-petgraph" ,rust-petgraph-0.5) - ("rust-serde" ,rust-serde-1) - ("rust-serde-value" ,rust-serde-value-0.6) - ("rust-tint" ,rust-tint-1)))))) - (define-public rust-windows-0.9 (package (name "rust-windows") @@ -75930,29 +68113,6 @@ for uint and fixed hash.") and fixed hash.") (license (list license:expat license:asl2.0)))) -(define-public rust-impl-num-traits-0.1 - (package - (name "rust-impl-num-traits") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "impl-num-traits" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0rjlic3z684l37qm7zywmxhhllnf982y3ilyslyxb6jiddyhbdiq")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-integer-sqrt" ,rust-integer-sqrt-0.1) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-uint" ,rust-uint-0.9)))) - (home-page "https://github.com/paritytech/parity-common") - (synopsis "num-traits implementation for uint") - (description "This package provides @code{num-traits} implementation -for @code{uint}.") - (license (list license:expat license:asl2.0)))) - (define-public rust-impl-serde-0.3 (package (name "rust-impl-serde") @@ -76225,28 +68385,6 @@ Rust.") "This package provides a library to unify commandline arguments with config files and environment variables. And make it easier for users to tell your program how to behave across the three main input sources") (license license:expat))) -(define-public rust-cvss-1 - (package - (name "rust-cvss") - (version "1.0.2") - (source (origin - (method url-fetch) - (uri (crate-uri "cvss" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0gxxzimyxwf6ka011n6cd296ax6qiwnx8n6mxzh2l55bpvd65642")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-serde" ,rust-serde-1)))) - (home-page "https://github.com/RustSec/rustsec/tree/main/cvss") - (synopsis "Common Vulnerability Scoring System parser/serializer") - (description "This package provides Common Vulnerability -Scoring System parser/serializer.") - (license (list license:asl2.0 license:expat)))) - (define-public svd2rust (package (name "svd2rust") @@ -76303,30 +68441,6 @@ Scoring System parser/serializer.") including a line breaking iterator.") (license license:asl2.0))) -(define-public rust-shell2batch-0.4 - (package - (name "rust-shell2batch") - (version "0.4.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "shell2batch" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0r9zfhxmqnrnyk7g590333szfpsjijs2wfwy7ish240w6pp54nhq")) - ;; https://github.com/sagiegurari/shell2batch/issues/17 - (patches (search-patches "rust-shell2batch-lint-fix.patch")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-regex" ,rust-regex-1)))) - (home-page "https://github.com/sagiegurari/shell2batch") - (synopsis "Basic shell scripts to windows batch scripts conversion") - (description "While it is not really possible to take every shell script -and automatically convert it to a windows batch file, this library provides a -way to convert simple shell commands to windows batch commands.") - (license license:asl2.0))) - (define-public rust-enquote-1 (package (name "rust-enquote") diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index 074fa5bf31..e63ed011aa 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -1471,7 +1471,7 @@ non-encrypted files.") (define-public cryfs (package (name "cryfs") - (version "0.11.2") + (version "0.11.3") (source (origin (method url-fetch) @@ -1479,7 +1479,7 @@ non-encrypted files.") "https://github.com/cryfs/cryfs/releases/download/" version "/cryfs-" version ".tar.xz")) (sha256 - (base32 "1ggizlacm4fccsw9syy2763ihxnby6cdh3mhhraxy8bmsdjza7lm")))) + (base32 "1h41dhdfk2nll0vx5i66mgrdalv6kccwq5yx99gridywxw6qxxhq")))) (build-system cmake-build-system) (arguments '(#:modules ((guix build cmake-build-system) @@ -1519,19 +1519,17 @@ non-encrypted files.") (when tests? (let ((tests (find-files "." "-test$"))) ;; XXX: Disable failing tests. Unfortunately there are a - ;; few. Some only fail in the build environment due to - ;; FUSE not being available. - (for-each invoke - (lset-difference string-contains - tests - '("cpp-utils-test" - "cryfs-cli-test" - "blobstore-test" - "fspp-test"))))) - #t))))) + ;; few. Some only fail in the build environment due to + ;; FUSE not being available. + (for-each invoke + (lset-difference string-contains + tests + '("cpp-utils-test" + "cryfs-cli-test" + "blobstore-test" + "fspp-test")))))))))) (native-inputs - `(("python" ,python-wrapper) - ("pkg-config" ,pkg-config))) + (list pkg-config python-wrapper)) (inputs (list boost curl fuse range-v3 spdlog)) (home-page "https://www.cryfs.org/") diff --git a/gnu/packages/dezyne.scm b/gnu/packages/dezyne.scm index 3d89210956..bf10766297 100644 --- a/gnu/packages/dezyne.scm +++ b/gnu/packages/dezyne.scm @@ -31,14 +31,14 @@ (define-public dezyne (package (name "dezyne") - (version "2.16.1") + (version "2.16.2") (source (origin (method url-fetch) (uri (string-append "https://dezyne.org/download/dezyne/" name "-" version ".tar.gz")) (sha256 - (base32 "093kcgvmr1zyrfi02y0vzbfl4llrvlvjxjp9iczpdv34lasqp621")))) + (base32 "0dnh8wji9npaxg3qjivc45dwxwrzz9fbs77000g8s2192sf4ms7k")))) (inputs (list bash-minimal guile-3.0-latest guile-json-4 diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index fa9a78fe80..7024937672 100644 --- a/gnu/packages/dictionaries.scm +++ b/gnu/packages/dictionaries.scm @@ -8,6 +8,7 @@ ;;; Copyright © 2018 Arun Isaac ;;; Copyright © 2019 Pierre Langlois ;;; Copyright © 2020 Lu hux +;;; Copyright © 2022 ROCKTAKEY ;;; ;;; This file is part of GNU Guix. ;;; @@ -429,3 +430,41 @@ intelligible and easily correctable.") (description "sdcv is simple text-based utility for work with dictionaries in StarDict's format.") (license license:gpl2+))) + +(define-public skk-jisyo + (let ((commit "38c81dbc74cdbdead843364023dea837f239a48c") + (revision "0")) + (package + (name "skk-jisyo") + (version (git-version "0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/skk-dev/dict") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "121j73bgd7fvj7zvaidqvgzfdvimig3f0vsyfv4vndwfgskh2r7z")))) + (build-system copy-build-system) + (arguments + '(#:install-plan '(("./" "share/skk" + #:include-regexp ("SKK-JISYO\\.*") + #:exclude-regexp ("\\.gz$" "\\.md5$") + #:exclude ("SKK-JISYO.pubdic+" + "SKK-JISYO.wrong.annotated" + "SKK-JISYO.wrong"))) + #:phases (modify-phases %standard-phases + (add-before 'install 'decompress + (lambda* (#:key outputs #:allow-other-keys) + (map (lambda (arg) + (invoke "gzip" "-v" "-d" arg)) + (find-files "." "SKK-JISYO\\..*\\.gz$")) + (invoke "tar" "xvf" "zipcode.tar.gz")))))) + (home-page "https://skk-dev.github.io/dict/") + (synopsis "Jisyo (dictionary) files for the SKK Japanese-input software") + (description + "This package provides @file{SKK-JISYO.L}, the standard dictionary file +for SKK Japanese input systems, and various dictionary files. +@file{SKK-JISYO.L} can be used with @code{emacs-ddskk} or @code{uim} package.") + (license license:gpl2+)))) diff --git a/gnu/packages/diffoscope.scm b/gnu/packages/diffoscope.scm index 27a8aa7b46..f05f60f016 100644 --- a/gnu/packages/diffoscope.scm +++ b/gnu/packages/diffoscope.scm @@ -75,7 +75,7 @@ (define-public diffoscope (package (name "diffoscope") - (version "221") + (version "224") (source (origin (method git-fetch) @@ -84,7 +84,7 @@ (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "0b89hygd4m18p3wcx7haz0kwx7gn7irjswxz29lv8sb2r1vqq4za")) + (base32 "1qdivsf4yygg2az5018pw0q4169zas3hfqjydd0q3bhdrfpl0q4q")) (patches (search-patches "diffoscope-fix-llvm-test.patch")))) (build-system python-build-system) diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm index e4dd8365f8..785d1397ef 100644 --- a/gnu/packages/dns.scm +++ b/gnu/packages/dns.scm @@ -290,7 +290,7 @@ prompt the user with the option to go with insecure DNS only.") (define-public dnsmasq (package (name "dnsmasq") - (version "2.86") + (version "2.87") (source (origin (method url-fetch) (uri (string-append @@ -298,7 +298,7 @@ prompt the user with the option to go with insecure DNS only.") version ".tar.xz")) (sha256 (base32 - "027b0ycw8h8yvvkq46vnr7dv8iqn5srm4kr7hm7sq110kvy2rm98")))) + "0ynyi4mixhxhbfxb2bivinkrjc5zgj9lj5bzgvymc8vz98vc0a02")))) (build-system gnu-build-system) (native-inputs (list pkg-config)) @@ -333,14 +333,14 @@ and BOOTP/TFTP for network booting of diskless machines.") ;; When updating, check whether isc-dhcp's bundled copy should be as well. ;; The BIND release notes are available here: ;; https://www.isc.org/bind/ - (version "9.16.32") + (version "9.16.34") (source (origin (method url-fetch) (uri (string-append "https://ftp.isc.org/isc/bind9/" version "/bind-" version ".tar.xz")) (sha256 - (base32 "0w2rcjxqnbhwzgsdsas36dadjq0qn6s1xjx4g4qk0ph2nvf4gj9j")) + (base32 "05ig8y20qksam7s466h15v6j2zgidn5nkbrk1d5c29nmypy2wgai")) (patches (search-patches "bind-re-add-attr-constructor-priority.patch")))) (build-system gnu-build-system) @@ -666,14 +666,14 @@ BIND and djbdns---whilst using relatively little memory.") (define-public unbound (package (name "unbound") - (version "1.13.2") + (version "1.17.0") (source (origin (method url-fetch) (uri (string-append "https://www.unbound.net/downloads/unbound-" version ".tar.gz")) (sha256 - (base32 "10qs1q26lzw18ljggnbz0cc5f7lr9ksj615xbrmh4amryd3va4qa")))) + (base32 "0h8k5yh49vasyzwkm3n1xsidxr7xybqwkvg4cq6937qxi7brbg6w")))) (build-system gnu-build-system) (outputs '("out" "python")) (native-inputs @@ -1294,7 +1294,7 @@ known public suffixes.") (define-public maradns (package (name "maradns") - (version "3.5.0020") + (version "3.5.0022") (source (origin (method url-fetch) @@ -1302,7 +1302,7 @@ known public suffixes.") (version-major+minor version) "/" version "/maradns-" version ".tar.xz")) (sha256 - (base32 "1qgabw6y2bwy6y88dikis62k789i0xh7iwxan8jmqpzvksqwjfgw")))) + (base32 "1sw267jxxxngjcar8cj3jpxnpiz0szgkhlz5l46c67qs690w9kdi")))) (build-system gnu-build-system) (arguments `(#:tests? #f ; need to be root to run tests diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index d6c5831205..2d18d60cd2 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -256,7 +256,7 @@ (define-public emacs-geiser (package (name "emacs-geiser") - (version "0.26.1") + (version "0.27") (source (origin (method git-fetch) @@ -265,7 +265,7 @@ (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "1k5ligm1aba9b6dqg0yi86a2y2fhnxi7jsjgxj9jw7icgfa11djn")))) + (base32 "1mk9m6vya544in3b41mj8g7453dchiaj7hp6m6ymmcbfmlbfdwk2")))) (build-system emacs-build-system) (arguments '(#:phases @@ -772,8 +772,8 @@ when typing parentheses directly or commenting out code line by line.") (define-public emacs-puni ;; No tagged release upstream - (let ((commit "ed4a863460329a3019c286ff382e2ddc0ffdc9d7") - (revision "0")) + (let ((commit "28836e98d5566172b1a94d7b38290d07b49201b2") + (revision "1")) (package (name "emacs-puni") (version (git-version "0" revision commit)) @@ -785,7 +785,7 @@ when typing parentheses directly or commenting out code line by line.") (file-name (git-file-name name version)) (sha256 (base32 - "14lcqf0qdkq2rklx12v12qpgfahz2bpqmnl3bzcz5myawgjjcphd")))) + "1z35nzsqcp8q9nnka0d5gpiidl07qfqmd2giwnd3b3v7h3v1kwpz")))) (build-system emacs-build-system) (propagated-inputs (list emacs-with-editor)) (home-page "https://github.com/AmaiKinono/puni") @@ -3109,14 +3109,14 @@ as a library for other Emacs packages.") (define-public emacs-auctex (package (name "emacs-auctex") - (version "13.1.4") + (version "13.1.5") (source (origin (method url-fetch) (uri (string-append "https://elpa.gnu.org/packages/" "auctex-" version ".tar")) (sha256 - (base32 "1r9qysnfdbiblq3c95rgsh7vgy3k4qabnj0vicqhdkca0cl2b2bj")))) + (base32 "00g6js6089637w8alch4dvk140chjkyirsa8inh9ai6a6kkfvc3p")))) (build-system emacs-build-system) ;; We use 'emacs' because AUCTeX requires dbus at compile time ;; ('emacs-minimal' does not provide dbus). @@ -3400,7 +3400,7 @@ of bibliographic references.") (define-public emacs-corfu (package (name "emacs-corfu") - (version "0.27") + (version "0.28") (source (origin (method git-fetch) @@ -3409,7 +3409,7 @@ of bibliographic references.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "17cdbqkil4454kd3w77w18fv15djwg07qclgcnlp6mimp6sbam9w")))) + (base32 "0lmjmaijanhhimkd006y5g1pvpllqgm30wj2y3wf3h4sl7h23rcz")))) (build-system emacs-build-system) (arguments `(#:phases @@ -4888,8 +4888,8 @@ display and behaviour is easily customisable.") (license license:gpl3+))) (define-public emacs-git-gutter-fringe - (let ((commit "16226caab44174301f1659f7bf8cc67a76153445") - (revision "1")) + (let ((commit "648cb5b57faec55711803cdc9434e55a733c3eba") + (revision "2")) (package (name "emacs-git-gutter-fringe") (version (git-version "0.23" revision commit)) @@ -4901,7 +4901,7 @@ display and behaviour is easily customisable.") (commit commit))) (file-name (git-file-name name version)) (sha256 - (base32 "1y77gjl0yznamdj0f55d418zb75k22izisjg7ikvrfsl2yfqf3pm")))) + (base32 "13bqq5r8ys2mmw1ffsm6hn6fji0vq3nx3slw98c9dgbvlprkaiip")))) (build-system emacs-build-system) (propagated-inputs (list emacs-git-gutter emacs-fringe-helper)) @@ -6981,14 +6981,14 @@ user.") (define-public emacs-subed (package (name "emacs-subed") - (version "1.0.10") + (version "1.0.12") (source (origin (method url-fetch) (uri (string-append "https://elpa.nongnu.org/nongnu/subed-" version ".tar")) (sha256 (base32 - "08vw9sv2g76yj8sfnx53dd28zkj4s0842i7qi92jam993v9s8h0z")))) + "175bvnya6sbf4ikvcv4knb7mkn42wzp0jhnz9dns7y0s2f6d8fhd")))) (arguments (list #:tests? #t @@ -7160,7 +7160,7 @@ Tracker as well as bug identifiers prepared for @code{bug-reference-mode}.") emacs-transient)) (home-page "https://docs.kyleam.com/piem") (synopsis "Glue for working with public-inbox archives") - (description "This packages provides a collection of Emacs libraries for + (description "This package provides a collection of Emacs libraries for working with public-inbox archives. As much of the hard work here is already done by other Emacs libraries—things like mail clients, news readers, Git interfaces, and even web browsers—piem is mostly about bridging some of these @@ -8277,7 +8277,7 @@ and popup menus.") (propagated-inputs (list emacs-pos-tip emacs-popup)) (home-page "https://github.com/waymondo/popup-kill-ring") (synopsis "Interactively insert item from kill-ring") - (description "This Emacs packages manages your Emacs kill-ring in an + (description "This Emacs package manages your Emacs kill-ring in an autocomplete style popup menu.") (license license:gpl3+)))) @@ -9720,7 +9720,7 @@ style, or as multiple word prefixes.") (define-public emacs-consult (package (name "emacs-consult") - (version "0.19") + (version "0.20") (source (origin (method git-fetch) @@ -9728,7 +9728,7 @@ style, or as multiple word prefixes.") (url "https://github.com/minad/consult") (commit version))) (sha256 - (base32 "1lb7ci1kkgv07c4hcfxisr5zjx68hq15bqf4x3bhmnn13x38j7jw")) + (base32 "1rm53sqfl8hnb1l1fr0s8kxgp03prc2ggywqs5ssiqx87vhyn70w")) (file-name (git-file-name name version)))) (build-system emacs-build-system) (propagated-inputs (list emacs-compat)) @@ -9883,7 +9883,7 @@ expansion and overwriting the marked region with a new snippet completion.") (define-public emacs-marginalia (package (name "emacs-marginalia") - (version "0.14") + (version "0.15") (source (origin (method git-fetch) @@ -9892,7 +9892,7 @@ expansion and overwriting the marked region with a new snippet completion.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "1gbcjw447vxd3ivfjgnya2ix3w791kvbika1v9bzj8s7i996fb6f")))) + (base32 "0ncdyczalvl677nim0iha003xway7rwxw8y35vcvkgsdk4vzv848")))) (build-system emacs-build-system) (home-page "https://github.com/minad/marginalia") (synopsis "Marginalia in the minibuffer completions") @@ -11426,7 +11426,7 @@ strings, and code folding.") (base32 "1qin0hclm3ly62nl5ddiim64bcd2k74b1yqsqqc61cf9k2q8k287")))) (build-system emacs-build-system) (home-page "https://github.com/redguardtoo/js-comint") - (synopsis "Interacting with a JavaScript interpeter") + (synopsis "Interacting with a JavaScript interpreter") (description "This program is a comint mode for Emacs which allows you to run a compatible JavaScript REPL, such as node, SpiderMonkey or Rhino. @@ -13627,7 +13627,7 @@ pasting into and from @code{tmux} paste buffers.") (define-public emacs-evil-nerd-commenter (package (name "emacs-evil-nerd-commenter") - (version "3.5.7") + (version "3.5.8") (source (origin (method git-fetch) @@ -13637,7 +13637,7 @@ pasting into and from @code{tmux} paste buffers.") (file-name (git-file-name name version)) (sha256 (base32 - "0xnm8i23c2p3mdf4xxjk00766ygvysk7c8iib2jkah5pfg6jc9vb")))) + "0xrbmz9mx4aclqgjyjaq7vj9xf4291rw4nxaz2nvqblv8yylqbr0")))) (build-system emacs-build-system) (propagated-inputs (list emacs-evil)) (home-page "https://github.com/redguardtoo/evil-nerd-commenter") @@ -13967,26 +13967,28 @@ characters.") (license license:gpl3+)))) (define-public emacs-ob-sclang - (package - (inherit emacs-org-contrib) - (name "emacs-ob-sclang") - (source - (origin - (inherit (package-source emacs-org-contrib)) - (modules '((guix build utils))) - (snippet - '(begin - (with-directory-excursion "lisp" - (for-each (lambda (file) - (unless (equal? file "./ob-sclang.el") - (delete-file file))) - (find-files "." "\\.el$"))))))) - (propagated-inputs - (list emacs-org emacs-scel)) - (synopsis "Org Babel support for SuperCollider") - (description "This package adds support for evaluating @code{sclang} -Org mode source blocks. It is extracted from the @code{emacs-org-contrib} -package."))) + (let ((commit "cd3f3c847d8149cd4ce4a775942dac88ba92c772") + (revision "1")) + (package + (name "emacs-ob-sclang") + (version (git-version "0.1" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://repo.or.cz/ob-sclang") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0dr8va2v0262plqxd63yxymqiffkql9klci7wsp5i7xgpka8925q")))) + (build-system emacs-build-system) + (propagated-inputs + (list emacs-org emacs-scel)) + (home-page "https://repo.or.cz/ob-sclang") + (synopsis "Org Babel support for SuperCollider") + (description "This package adds support for evaluating @code{sclang} Org +mode source blocks.") + (license license:gpl3+)))) (define-public emacs-org-edna (package @@ -14765,7 +14767,7 @@ been adapted to also work with mu4e.") (define-public emacs-tempel (package (name "emacs-tempel") - (version "0.4") + (version "0.5") (source (origin (method git-fetch) (uri (git-reference @@ -14774,7 +14776,7 @@ been adapted to also work with mu4e.") (file-name (git-file-name name version)) (sha256 (base32 - "0iyh6wxchqg83gpwvg6lz4qy4c2qh25iqjpjm56kif52346a99d2")))) + "1za73zszj373r8pxf89cwwfrwsf8dy6nxciw11adcccrm92xwdsz")))) (build-system emacs-build-system) (home-page "https://github.com/minad/tempel") (synopsis "Simple templates for Emacs") @@ -15796,13 +15798,13 @@ containing words from the Rime project.") (define-public emacs-pyim (package (name "emacs-pyim") - (version "5.2.5") + (version "5.2.6") (source (origin (method url-fetch) (uri (string-append "https://elpa.gnu.org/packages/pyim-" version ".tar")) (sha256 - (base32 "00f23pl53rdy9iwp4gj2656wik7c6vnmhsglg7z4pz3ippz3f4hq")))) + (base32 "17jx7hbndm7b7b22z59g4h3nkwhydc0kq9447nhafr8hz2xrdlp6")))) (build-system emacs-build-system) (propagated-inputs (list emacs-async emacs-popup emacs-posframe emacs-xr)) @@ -16453,7 +16455,7 @@ Emacs.") (file-name (git-file-name name version)) (sha256 (base32 - "1mx2b7ljwvmfl5d0w9m7i1i900198lsdx1cpi8n7wq58h5df88p9")))) + "030837yak24ymjawsfr1hgyfdjy3k30ld1ca0cgnrxhgxc7p8hwv")))) (build-system emacs-build-system) (arguments (list @@ -17150,7 +17152,7 @@ which avoids some of the issues with using Emacs’s built-in Url library.") (define-public emacs-ement (package (name "emacs-ement") - (version "0.3.1") + (version "0.4") (source (origin (method git-fetch) @@ -17159,7 +17161,7 @@ which avoids some of the issues with using Emacs’s built-in Url library.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1ap4zxn2ba8bvmzm77aa4bnxgb1hnz5cymcim9jzy7b67bgapmy7")))) + (base32 "0pcszmcbq2lwjzpz3jd378sdqb7jh0v0c0ak49nmc5gciljjlzcg")))) (build-system emacs-build-system) (arguments `(#:emacs ,emacs)) ;need libxml support @@ -17637,7 +17639,7 @@ groups.") (define-public emacs-taxy-magit-section (package (name "emacs-taxy-magit-section") - (version "0.12") + (version "0.12.1") (source (origin (method url-fetch) (uri (string-append @@ -17645,7 +17647,7 @@ groups.") ".tar")) (sha256 (base32 - "1x4sfa8kl3f85n8lm381yr7f72zfb73bj6a6r8caw3n8bkv38i3r")))) + "0bs00y8pl51dji23zx5w64h6la0y109q0jv2q1nggizk6q5bsxmg")))) (build-system emacs-build-system) (propagated-inputs (list emacs-magit emacs-taxy)) (home-page "https://github.com/alphapapa/taxy.el") @@ -17761,7 +17763,7 @@ included by default, and more can be readily added.") (define-public emacs-pubmed (package (name "emacs-pubmed") - (version "0.6.1") + (version "0.6.2") (source (origin (method git-fetch) @@ -17771,7 +17773,7 @@ included by default, and more can be readily added.") (file-name (git-file-name name version)) (sha256 (base32 - "1f884r3fs9nybf5y9dwp8f9m8azssxjy55z7bd0nl9pjll9rhsz2")))) + "05j4nhn2bgacc54pvmkhwgdsmzxzkcfn49a12k43wckrrf3izbqf")))) (build-system emacs-build-system) (propagated-inputs (list emacs-deferred emacs-esxml emacs-s emacs-unidecode)) @@ -20037,7 +20039,7 @@ citations.") (build-system emacs-build-system) (propagated-inputs (list emacs-org-roam emacs-citar)) (home-page "https://github.com/emacs-citar/citar-org-roam") - (synopsis "Emacs pacakge to provide tighter Citar and Org-Roam integration") + (synopsis "Emacs package to provide tighter Citar and Org-Roam integration") (description "\ Out-of-box, Citar provides default support for file-per-note bibliographic notes that are compatible with Org-Roam v2. This package integrates directly @@ -20295,31 +20297,6 @@ successive level is highlighted in a different color. This makes it easy to orient yourself in the code, and tell which statements are at a given level.") (license license:gpl3+)))) -(define-public emacs-hierarchy - (package - (name "emacs-hierarchy") - (version "0.7.0") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/DamienCassou/hierarchy") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1kykbb1sil5cycfa5aj8dhsxc5yrx1641i2np5kwdjid6ahdlz5r")))) - (build-system emacs-build-system) - (native-inputs - (list emacs-buttercup)) - (arguments - `(#:tests? #t - #:test-command '("buttercup" "-L" "."))) - (home-page "https://github.com/DamienCassou/hierarchy") - (synopsis "Library to create and display hierarchy structures") - (description "This package provides an Emacs library to create, query, -navigate and display hierarchy structures.") - (license license:gpl3+))) - (define-public emacs-tree-mode (let ((commit "b06078826d5875d74b0e7b7ac47b0d0917610534") (revision "1")) @@ -20358,8 +20335,7 @@ navigate and display hierarchy structures.") (base32 "1n6g6k4adzkkn1g7z4j27s35xy12c1fg2r08gv345ddr3wplq4ri")))) (propagated-inputs - (list emacs-hierarchy emacs-request emacs-dash emacs-s - emacs-tree-mode)) + (list emacs-dash emacs-request emacs-s emacs-tree-mode)) (build-system emacs-build-system) (home-page "https://github.com/ahungry/md4rd") (synopsis "Emacs Mode for Reddit") @@ -23803,28 +23779,25 @@ searches with @code{ripgrep}.") (license license:gpl3+)))) (define-public emacs-focus - (let ((commit "5f3f20e7f22fb9fd7c48abce8bd38061d97e4bc0") - (version "1.0.0") - (revision "1")) - (package - (name "emacs-focus") - (version (git-version version revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/larstvei/Focus") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0a55i4bychfnnzjg67a9h4j130hchcg44446dwwx1l1h48i692dw")))) - (build-system emacs-build-system) - (home-page "https://github.com/larstvei/Focus") - (synopsis "Minor mode for focusing in on relevant text") - (description "This package provides a minor mode that dims the color of + (package + (name "emacs-focus") + (version "1.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/larstvei/Focus") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0qbzbs18isxyf5yiz64vyxvzjpfjdaafxnas2lhx3sjkgglb08i2")))) + (build-system emacs-build-system) + (home-page "https://github.com/larstvei/Focus") + (synopsis "Minor mode for focusing in on relevant text") + (description "This package provides a minor mode that dims the color of text in neighboring sections.") - (license license:gpl3+)))) + (license license:gpl3+))) (define-public emacs-pandoc-mode (package @@ -24422,6 +24395,43 @@ stories. The default feed is top stories, which corresponds to the Hacker News homepage.") (license license:gpl3))) +(define-public emacs-tokei + (package + (name "emacs-tokei") + (version "0.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nagy/tokei.el") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0gcjlcfxd4bg123gjf7d0vfvfd6zpd0da8svynglca1qhp77jkx1")))) + (build-system emacs-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'configure + (lambda* (#:key inputs #:allow-other-keys) + ;; .el is read-only in git. + (make-file-writable "tokei.el") + ;; Specify the absolute file name of tokei so that everything + ;; works out-of-the-box. + (emacs-substitute-variables "tokei.el" + ("tokei-program" + (search-input-file inputs "/bin/tokei")))))))) + (inputs (list tokei)) + (propagated-inputs (list emacs-magit)) + (home-page "https://github.com/nagy/tokei.el") + (synopsis "Display codebase statistics in Emacs") + (description + "@code{emacs-tokei} is a major-mode for Emacs, that displays codebase +statistics with the help of @code{tokei}.") + (license license:gpl3+))) + (define-public emacs-youtube-dl (let ((commit "af877b5bc4f01c04fccfa7d47a2c328926f20ef4") (revision "2")) @@ -24669,7 +24679,7 @@ backends, including the @command{wordnet} offline backend.") (define-public emacs-editorconfig (package (name "emacs-editorconfig") - (version "0.8.2") + (version "0.9.0") (source (origin (method git-fetch) @@ -24679,7 +24689,7 @@ backends, including the @command{wordnet} offline backend.") (file-name (git-file-name name version)) (sha256 (base32 - "1lqxgc24gr67yhi64i9v4w2dcjhpx99jg1kr25gr2byqkkdldkz0")))) + "0k1dnws3xz0xynplaar0f5dwpvdmsnqi0bnavjmvcm98jrczmk8y")))) (build-system emacs-build-system) (home-page "https://github.com/editorconfig/editorconfig-emacs") (synopsis "Define and maintain consistent coding styles between different @@ -25119,7 +25129,7 @@ targets the Emacs based IDEs (CIDER, ESS, Geiser, Robe, SLIME etc.)") (define-public emacs-buttercup (package (name "emacs-buttercup") - (version "1.26") + (version "1.27") (source (origin (method git-fetch) @@ -25129,7 +25139,7 @@ targets the Emacs based IDEs (CIDER, ESS, Geiser, Robe, SLIME etc.)") (file-name (git-file-name name version)) (sha256 (base32 - "1zr9lczdr9dfh99n079d5advxm9p32a8f984dx14f3jn5mx750b1")))) + "1266pqsl67q5svwaxnvwnqhk23wmhds1sds98bas9w4yi4amff0b")))) (build-system emacs-build-system) (arguments (list @@ -31963,38 +31973,40 @@ arbitrary Emacs Lisp objects.") (license license:gpl3+))) (define-public emacs-csound-mode - (package - (name "emacs-csound-mode") - (version "0.2.1") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/hlolli/csound-mode") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1c88ak0jaj51fwiqniqxd7xyk23wjl9m57znzm8j267ld8g12znp")))) - (build-system emacs-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'disable-breaking-compilation - (lambda _ - (for-each (lambda (file) - (chmod file #o600) ; needed to write changes. - (emacs-batch-disable-compilation file)) - '("csound-font-lock.el")) - #t))))) - (inputs - (list emacs-highlight emacs-multi emacs-shut-up)) - (home-page "https://github.com/hlolli/csound-mode") - (synopsis "Emacs major mode for coding in CSound") - (description "Provides both a basic major mode for editing -CSound files, as well as a REPL for fast feedback when composing -and sound-designing.") - (license license:gpl3+))) + ;; XXX: Upstream did not tag last release. Using the commit matching + ;; version bump. + (let ((commit "44c49e5a9262ede4b4477bafb13b42b1ba047b9c")) + (package + (name "emacs-csound-mode") + (version "0.2.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hlolli/csound-mode") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0kfhca1n0iv1400jf4ggjbarg7ry8ccd5bs7cf2brjdiqp74cvwb")))) + (build-system emacs-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'disable-breaking-compilation + (lambda _ + (let ((file "csound-font-lock.el")) + (make-file-writable file) + (emacs-batch-disable-compilation file))))))) + (propagated-inputs + (list emacs-dash emacs-highlight emacs-multi emacs-shut-up)) + (home-page "https://github.com/hlolli/csound-mode") + (synopsis "Emacs major mode for coding in CSound") + (description "This package provides both a basic major mode for editing +CSound files, as well as a REPL for fast feedback when composing and +sound-designing using CSound.") + (license license:gpl3+)))) (define-public emacs-multi (package @@ -32021,11 +32033,11 @@ the expectations of each branch to define which one to invoke.") (license license:expat))) (define-public emacs-highlight - (let ((commit "9258a2b8362d737115cbd87618f947eadb140411") - (revision "1")) + (let ((commit "24366dfd5062a6902a13a03d724fc099db3121b8") + (revision "2")) (package (name "emacs-highlight") - (version "0.0.0") + (version (git-version "0" revision commit)) (source (origin (method git-fetch) @@ -32035,7 +32047,7 @@ the expectations of each branch to define which one to invoke.") (file-name (git-file-name name commit)) (sha256 (base32 - "0pbqzgbfkm8smi23j94hirxh2r1yc0ipyjbbv1y906br6bx5c1a8")))) + "17r7f4y6b05nq2pzaq8pwww0s6j64vd6fikyv7pliv1n74sljj0d")))) (build-system emacs-build-system) (home-page "https://github.com/emacsmirror/highlight") (synopsis "Highlighting commands for GNU Emacs") @@ -32466,7 +32478,7 @@ s-expression.") (define-public emacs-map (package (name "emacs-map") - (version "3.2.1") + (version "3.3.1") (source (origin (method url-fetch) @@ -32474,7 +32486,7 @@ s-expression.") version ".tar")) (sha256 (base32 - "1vy231m2fm5cgz5nib14ib7ifprajhnbmzf6x4id48h2491m1n24")))) + "1gvywhdfg27nx6pyq7yfwq9x6j96jama59i5s9rp41pvg2dlmvm0")))) (build-system emacs-build-system) (home-page "http://elpa.gnu.org/packages/map.html") (synopsis "Map manipulation functions") @@ -32673,7 +32685,7 @@ and preferred services can easily be configured.") (define-public emacs-vertico (package (name "emacs-vertico") - (version "0.27") + (version "0.28") (source (origin (method git-fetch) @@ -32682,7 +32694,7 @@ and preferred services can easily be configured.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "17ip4v0hkv9q2fsnpja24jnf5d5zn4g91553n2s0l5c6gwwpilkp")))) + (base32 "0yybwj32k74c5c4rzlpmkq540b8ax0ihn5v7krnri83wn50hr272")))) (build-system emacs-build-system) (arguments `(#:phases @@ -33179,7 +33191,7 @@ Fennel code within Emacs.") (define-public emacs-org-modern (package (name "emacs-org-modern") - (version "0.4") + (version "0.5") (source (origin (method git-fetch) @@ -33187,7 +33199,7 @@ Fennel code within Emacs.") (url "https://github.com/minad/org-modern") (commit version))) (sha256 - (base32 "0af9dzp9n3882kvsp3q4008hffq1mp9hjl964mlp5j8vay3x7qbz")) + (base32 "1gny2p3w6ck5sarv6vap2y1lj6h9qaxbh7r7bzszb9qj8rhapk6q")) (file-name (git-file-name name version)))) (build-system emacs-build-system) (home-page "https://github.com/minad/org-modern") @@ -33437,6 +33449,31 @@ workspace diagnostics, symbols, and file symbols from @{emacs-lsp-mode} by leveraging @code{emacs-consult} APIs.") (license license:expat))) +(define-public emacs-purs-mode + ;; XXX: Upstream set no tag nor any Version keyword. Using 0 as the base + ;; version. + (let ((commit "d29f1021787a90d0fd3eb0af625958abb7f7506b") + (revision "0")) + (package + (name "emacs-purs-mode") + (version (git-version "0" revision commit)) + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/PureFunctor/purs-mode") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0r7219ysf3hsjnan30hidf8jamcqsz36pkcmnhknff0c6dpwbnpx")))) + (build-system emacs-build-system) + (home-page "https://github.com/PureFunctor/purs-mode/") + (synopsis "PureScript major mode for Emacs") + (description + "Purs mode provides a PureScript major mode for Emacs.") + (license license:gpl3+)))) + (define-public emacs-pdb-capf (let ((commit "31602ccab53aa7dcf26a1af222c7da2bcc1390ed") (revision "0")) @@ -33504,6 +33541,47 @@ tree to go back to previous buffer states. To use vundo, type @kbd{M-x vundo RE the buffer you want to undo. An undo tree buffer should pop up.") (license license:gpl3+))) +(define-public emacs-org-cliplink + (let ((commit "13e0940b65d22bec34e2de4bc8cba1412a7abfbc") + (revision "0")) + (package + (name "emacs-org-cliplink") + (version (git-version "0.2" revision commit)) + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/rexim/org-cliplink") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1avyiw8vlv4n1r7zqvc6wjlsz7jl2pqaprzpm782gzp0c999pssl")))) + (build-system emacs-build-system) + (arguments + (list + #:tests? #t + #:test-command #~(list "ert-runner") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-curl-executable + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "org-cliplink-transport.el" + (("\\(executable-find \"curl\"\\)") + (let ((curl (search-input-file inputs "/bin/curl"))) + (string-append "\"" curl "\""))))))))) + (native-inputs + (list emacs-el-mock emacs-ert-runner emacs-undercover)) + (inputs + (list curl)) + (home-page "https://github.com/rexim/org-cliplink/") + (synopsis "Insert Org mode links from the clipboard") + (description + "Org Cliplink provides a simple command that takes a URL from the +clipboard and inserts an Org mode link with a title of a page found by the URL +into the current buffer.") + (license license:expat)))) + (define-public emacs-project-x ;; There is no proper release. ;; The base version is extracted from the README.org. diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 6c9a991cf7..4cf20f240d 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -93,14 +93,14 @@ (define-public emacs (package (name "emacs") - (version "28.1") + (version "28.2") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/emacs/emacs-" version ".tar.xz")) (sha256 (base32 - "1qbmmmhnjhn4lvzsnyk7l5ganbi6wzbm38jc1a7hhyh3k78b7c98")) + "12144dcaihv2ymfm7g2vnvdl4h71hqnsz1mljzf34cpg6ci1h8gf")) (patches (search-patches "emacs-exec-path.patch" "emacs-fix-scheme-indent-function.patch" "emacs-source-date-epoch.patch")) diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index 3528a24a0e..08719c336e 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm @@ -397,7 +397,7 @@ older games.") ;; This is not a patch staging area for DOSBox, but an unaffiliated fork. (package (name "dosbox-staging") - (version "0.78.1") + (version "0.79.1") (source (origin (method git-fetch) @@ -406,7 +406,7 @@ older games.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "16byip1j9ckq0ik7ilrj0fc9dal3495s48xd21drpbb8q9jwb342")))) + (base32 "0wdnkz3djjc514hn945fr9g9mnpnvk16fan84ny9g5wxak6dvsqp")))) (build-system meson-build-system) (arguments (list #:configure-flags @@ -420,19 +420,23 @@ older games.") #~(modify-phases %standard-phases (add-after 'unpack 'fix-includes (lambda _ + ;; This unnecessary file has an encoding error. + (delete-file "./src/libs/sdlcd/macosx/SDLOSXCAGuard.h") (substitute* (find-files "." "\\.(cpp|h)") (("^(#include <)(SDL[_.])" _ include file) (string-append include "SDL2/" file)))))))) (native-inputs (list pkg-config)) (inputs - `(("alsa-lib" ,alsa-lib) - ("fluidsynth" ,fluidsynth) - ("libpng" ,libpng) - ("mesa" ,mesa) - ("opusfile" ,opusfile) - ("sdl2" ,(sdl-union (list sdl2 sdl2-net))) - ("zlib" ,zlib))) + (list alsa-lib + fluidsynth + iir + libpng + mesa + opusfile + (sdl-union (list sdl2 sdl2-net)) + speexdsp + zlib)) (home-page "https://dosbox-staging.github.io") (synopsis "DOS/x86 PC emulator focusing on ease of use") (description @@ -1505,31 +1509,31 @@ multi-system game/emulator system.") (define-public scummvm (package (name "scummvm") - (version "2.6.0") + (version "2.6.1") (source (origin (method url-fetch) (uri (string-append "https://downloads.scummvm.org/frs/scummvm/" version "/scummvm-" version ".tar.xz")) (sha256 - (base32 "05zw9xqdix88f8p3py2rfnyiaxr2sbifkqi9s5gy3nf9s3l3h50w")))) + (base32 "1s8psdn3a3hqvvfgmlfxrqqdw8hbr0zyrvirzsnzh6yxmgpvkbwg")))) (build-system gnu-build-system) (arguments - `(#:tests? #f ;require "git" - #:configure-flags (list "--enable-release") ;for optimizations - #:phases - (modify-phases %standard-phases - (replace 'configure - ;; configure does not work followed by both "SHELL=..." and - ;; "CONFIG_SHELL=..."; set environment variables instead - (lambda* (#:key inputs outputs configure-flags #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (bash (search-input-file inputs "/bin/bash")) - (flags `(,(string-append "--prefix=" out) + (list + #:tests? #f ;require "git" + #:configure-flags #~(list "--enable-release") ;for optimizations + #:phases + #~(modify-phases %standard-phases + (replace 'configure + ;; configure does not work followed by both "SHELL=..." and + ;; "CONFIG_SHELL=..."; set environment variables instead + (lambda* (#:key inputs configure-flags #:allow-other-keys) + (let ((bash (search-input-file inputs "/bin/bash")) + (flags `(,(string-append "--prefix=" #$output) ,@configure-flags))) - (setenv "SHELL" bash) - (setenv "CONFIG_SHELL" bash) - (apply invoke "./configure" flags))))))) + (setenv "SHELL" bash) + (setenv "CONFIG_SHELL" bash) + (apply invoke "./configure" flags))))))) (native-inputs (list nasm pkg-config)) (inputs diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm index 7a372ce982..4b1c1cebe8 100644 --- a/gnu/packages/file-systems.scm +++ b/gnu/packages/file-systems.scm @@ -448,8 +448,8 @@ from a mounted file system.") (license license:gpl2+))) (define-public bcachefs-tools - (let ((commit "fd1b84975b960d5e42963bed2c18b8c63d8abce7") - (revision "14")) + (let ((commit "494421ee6e85514f90bb316d77e1dd4f7dad3420") + (revision "15")) (package (name "bcachefs-tools") (version (git-version "0.1" revision commit)) @@ -461,7 +461,7 @@ from a mounted file system.") (commit commit))) (file-name (git-file-name name version)) (sha256 - (base32 "08vh0pg2sj833062y4vvnvzqchhflcvysp3xdh0zjk121r3iqm0s")))) + (base32 "1sdh9rl8ydnb28646773lsxpdy5jysvjbxs2nwr3hsv4qyv93vc4")))) (build-system gnu-build-system) (arguments (list #:make-flags @@ -472,7 +472,16 @@ from a mounted file system.") (string-append "PKG_CONFIG=" #$(pkg-config-for-target)) (string-append "PYTEST_CMD=" #$(this-package-native-input "python-pytest") - "/bin/pytest")) + "/bin/pytest") + (string-append "PYTEST_ARGS=-k '" + ;; These fail (‘invalid argument’) on + ;; kernels with a previous bcachefs version. + "not test_format and " + "not test_fsck and " + "not test_list and " + "not test_list_inodes and " + "not test_list_dirent" + "'")) #:phases #~(modify-phases %standard-phases (delete 'configure) ; no configure script diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 63f274e59d..902178286a 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -11,7 +11,7 @@ ;;; Copyright © 2016 Jookia <166291@gmail.com> ;;; Copyright © 2016 Eric Bavier ;;; Copyright © 2016 Dmitry Nikolaev -;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner +;;; Copyright © 2016-2022 Efraim Flashner ;;; Copyright © 2016, 2020 Marius Bakke ;;; Copyright © 2016 Toni Reina ;;; Copyright © 2017–2022 Tobias Geerinckx-Rice @@ -85,6 +85,7 @@ #:use-module (gnu packages bash) #:use-module (gnu packages compression) #:use-module (gnu packages fontutils) + #:use-module (gnu packages gd) #:use-module (gnu packages gettext) #:use-module (gnu packages glib) #:use-module (gnu packages gtk) @@ -847,7 +848,7 @@ for use at smaller text sizes"))) (define-public font-gnu-unifont (package (name "font-gnu-unifont") - (version "14.0.04") + (version "15.0.01") (source (origin (method url-fetch) @@ -857,31 +858,45 @@ for use at smaller text sizes"))) (string-append "mirror://gnu/unifont/unifont-" version "/unifont-" version ".tar.gz"))) (sha256 - (base32 "1fzycjxmgnq77r2s5914w1phg3qdwwnwa6p3zyfa1cscrxy52phz")))) + (base32 "1m9lfss6sbmcr0b6h7pxxmdl71j9dmnvk8idvxzylqrwpwjaj4bx")) + (snippet + '(begin + (use-modules (guix build utils)) + (delete-file-recursively "font/precompiled"))))) (build-system gnu-build-system) - (outputs '("out" ; TrueType version + (outputs '("out" ; TrueType/OpenType version "pcf" ; PCF (bitmap) version "psf" ; PSF (console) version "bin")) ; Utilities to manipulate '.hex' format (arguments `(#:tests? #f ; no check target #:make-flags - (list (string-append "CC=" ,(cc-for-target))) + (list (string-append "CC=" ,(cc-for-target)) + "BUILDFONT=TRUE") #:phases (modify-phases %standard-phases (delete 'configure) + (add-after 'unpack 'patch-source + (lambda _ + (substitute* (find-files "." "Makefile") + (("/bin/sh -s") (string-append (which "sh") " -s"))))) (replace 'install (lambda* (#:key make-flags outputs #:allow-other-keys) (let* ((ttf (string-append (assoc-ref outputs "out") "/share/fonts/truetype")) + (otf (string-append (assoc-ref outputs "out") + "/share/fonts/opentype")) (pcf (string-append (assoc-ref outputs "pcf") "/share/fonts/misc")) (psf (string-append (assoc-ref outputs "psf") "/share/consolefonts")) (bin (assoc-ref outputs "bin"))) + ;; This directory isn't created in fonts/Makefile. + (mkdir-p otf) (apply invoke "make" "install" (string-append "PREFIX=" bin) (string-append "TTFDEST=" ttf) + (string-append "OTFDEST=" otf) (string-append "PCFDEST=" pcf) (string-append "CONSOLEDEST=" psf) make-flags) @@ -890,8 +905,10 @@ for use at smaller text sizes"))) (invoke "gzip" "-9n" "doc/unifont.info") (install-file "doc/unifont.info.gz" (string-append bin "/share/info")))))))) + (native-inputs + (list bdftopcf console-setup fontforge)) (inputs - (list perl)) ; for utilities + (list perl perl-gd)) ; for utilities (synopsis "Large bitmap font covering Unicode's Basic Multilingual Plane") (description @@ -1880,7 +1897,7 @@ ExtraLight, Light, Book, Medium, Semibold, Bold & ExtraBold") #t)))))) (native-inputs (list fontforge)) - (home-page "http://culmus.sourceforge.net/") + (home-page "https://culmus.sourceforge.io/") (synopsis "TrueType Hebrew Fonts for X11") (description "14 Hebrew trivial families. Contain ASCII glyphs from various sources. Those families provide a basic set of a serif (Frank Ruehl), sans diff --git a/gnu/packages/freeipmi.scm b/gnu/packages/freeipmi.scm index 87b7ac139f..18b886ba4e 100644 --- a/gnu/packages/freeipmi.scm +++ b/gnu/packages/freeipmi.scm @@ -28,14 +28,14 @@ (define-public freeipmi (package (name "freeipmi") - (version "1.6.9") + (version "1.6.10") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/freeipmi/freeipmi-" version ".tar.gz")) (sha256 (base32 - "01l2kkf2f0c7p8pq8qsil53fv0yaaciwq7n3kjlvbwfhycsiqppj")))) + "0zbszq9nn60vqm2gmwy6hmcz9yqb3lk064ib7l89q65n07ja3r7w")))) (build-system gnu-build-system) (arguments `(#:configure-flags '("--disable-static" diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index 513ed31bc0..861de63fad 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -17,7 +17,7 @@ ;;; Copyright © 2019 Pierre Neidhardt ;;; Copyright © 2019, 2020, 2021 Liliana Marie Prikler ;;; Copyright © 2019 Jethro Cao -;;; Copyright © 2020, 2021 Nicolas Goaziou +;;; Copyright © 2020-2022 Nicolas Goaziou ;;; Copyright © 2020 Timotej Lazar ;;; Copyright © 2020 Giacomo Leidi ;;; Copyright © 2021 Alexandru-Sergiu Marton @@ -74,6 +74,7 @@ #:use-module (gnu packages freedesktop) #:use-module (gnu packages fribidi) #:use-module (gnu packages dbm) + #:use-module (gnu packages gawk) #:use-module (gnu packages gettext) #:use-module (gnu packages gl) #:use-module (gnu packages glib) @@ -85,6 +86,7 @@ #:use-module (gnu packages guile) #:use-module (gnu packages image) #:use-module (gnu packages linux) + #:use-module (gnu packages llvm) #:use-module (gnu packages lua) #:use-module (gnu packages m4) #:use-module (gnu packages mp3) @@ -181,6 +183,71 @@ is used in some video games and movies.") (license license:zlib))) +(define-public dds + (package + (name "dds") + (version "2.9.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dds-bridge/dds") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1iv09qic43nvla02lm8zgnkqpjgnc95p8zh3wyifmnmlh1rz02yj")))) + (build-system gnu-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ + (chdir "src"))) + (replace 'configure + ;; Configuration is done by copying the appropriate + ;; make file in the working directory. There is no + ;; configure script. + (lambda _ + (copy-file "Makefiles/Makefile_linux_shared" + "Makefile"))) + (replace 'check + ;; There is no "check" traget. We must compile + ;; a "dtest" program and apply it on a data set. + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (install-file "libdds.so" "../test") + (with-directory-excursion "../test" + (copy-file "Makefiles/Makefile_linux" + "Makefile") + (substitute* "Makefile" + (("-Werror") "")) + (invoke "make") + (invoke "./dtest" "-f" "../hands/list100.txt"))))) + (replace 'install + ;; "install" target merely moves ".so" file around + ;; the source directory. We install it in the store, + ;; along with all shipped documentation (which cannot + ;; be built from source unfortunately). + (lambda _ + (install-file "libdds.so" + (string-append #$output "/lib")) + (let ((doc (string-append #$output + "/share/doc/" + #$name "-" #$version))) + (install-file "../LICENSE" doc) + (copy-recursively "../doc" doc))))))) + (native-inputs + (list gawk procps)) + (inputs + (list boost)) + (home-page "http://privat.bahnhof.se/wb758135/") + (synopsis "Double dummy solver for the bridge card game") + (description "DDS is a double-dummy solver of bridge hands. It supports +single-threading and multi-threading for improved performance. DDS +offers a wide range of functions, including par-score calculations.") + (license license:asl2.0))) + (define-public deutex (package (name "deutex") @@ -550,7 +617,7 @@ clone.") (define-public tsukundere (package (name "tsukundere") - (version "0.4.1") + (version "0.4.3") (source (origin (method git-fetch) (uri (git-reference @@ -559,7 +626,7 @@ clone.") (file-name (git-file-name name version)) (sha256 (base32 - "11glghnff27rqh2s34g51afg93g3f5ryfz9mkyb7qj35ngl8vw5f")))) + "1lq2rs33s6l6y0hwwkv8pppgq2ki0q5kzj11s90yivi8g8g201af")))) (build-system gnu-build-system) (arguments `(#:modules ((ice-9 match) @@ -1021,7 +1088,8 @@ the creation of animations, tiled graphics, texture atlases, and more.") (build-system cmake-build-system) (arguments '(#:configure-flags - (list "-DWITH_WEBP_SUPPORT=1") + (list "-DWITH_WEBP_SUPPORT=1" + "-DWITH_DESKTOP_INTEGRATION=1") ;; Tests are unmaintained #:tests? #f)) (native-inputs @@ -2001,14 +2069,14 @@ a 2D editor view.") (define-public guile-chickadee (package (name "guile-chickadee") - (version "0.8.0") + (version "0.9.0") (source (origin (method url-fetch) (uri (string-append "https://files.dthompson.us/chickadee/" "chickadee-" version ".tar.gz")) (sha256 (base32 - "1k2dml2z57lnc36wrmwhh7avnpczxgxnshlfhpbk174vg6v609n0")))) + "0b92lld7kj629mvq44vgd8vmf9h7s5gkdawb35vkzlx5q03wjfvk")))) (build-system gnu-build-system) (arguments '(#:make-flags '("GUILE_AUTO_COMPILE=0"))) @@ -2018,6 +2086,8 @@ a 2D editor view.") (inputs (list freetype guile-3.0-latest + libjpeg-turbo + libpng libvorbis mpg123 openal diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 75af645dac..4f82bf710a 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -65,7 +65,7 @@ ;;; Copyright © 2021 Solene Rapenne ;;; Copyright © 2021 Noisytoot ;;; Copyright © 2021 Petr Hodina -;;; Copyright © 2021 Brendan Tildesley +;;; Copyright © 2021, 2022 Brendan Tildesley ;;; Copyright © 2021 Christopher Baines ;;; Copyright © 2021 Foo Chuan Wei ;;; Copyright © 2022 Yovan Naumovski @@ -6753,7 +6753,7 @@ fight against their plot and save his fellow rabbits from slavery.") (define-public 0ad-data (package (name "0ad-data") - (version "0.0.25b-alpha") + (version "0.0.26-alpha") (source (origin (method url-fetch) @@ -6761,7 +6761,7 @@ fight against their plot and save his fellow rabbits from slavery.") version "-unix-data.tar.xz")) (file-name (string-append name "-" version ".tar.xz")) (sha256 - (base32 "1c9zrddmjxvvacismld6fbwbw9vrdbq6g6d3424p8w5p6xg5wlwy")))) + (base32 "0z9dfw2hn2fyrx70866lv5464fbagdb8dip321wq10pqb22y805j")))) (build-system trivial-build-system) (native-inputs (list tar unzip xz)) (arguments @@ -6800,7 +6800,7 @@ fight against their plot and save his fellow rabbits from slavery.") (define-public 0ad (package (name "0ad") - (version "0.0.25b-alpha") + (version "0.0.26-alpha") (source (origin (method url-fetch) @@ -6808,7 +6808,7 @@ fight against their plot and save his fellow rabbits from slavery.") version "-unix-build.tar.xz")) (file-name (string-append name "-" version ".tar.xz")) (sha256 - (base32 "1p9fa8f7sjb9c5wl3mawzyfqvgr614kdkhrj2k4db9vkyisws3fp")))) + (base32 "0jzfq09ispi7740c01h6yqxqv9y3zx66d217z32pfbiiwgvns71f")))) ;; A snippet here would cause a build failure because of timestamps ;; reset. See https://bugs.gnu.org/26734. (inputs @@ -6816,6 +6816,7 @@ fight against their plot and save his fellow rabbits from slavery.") curl enet fmt + freetype gloox icu4c-68 libidn @@ -10813,7 +10814,8 @@ inside the Zenith Colony.") (description "Provides a large set of Go-related services for X11: @itemize @item Local games with precise implementation of the Chinese and Japanese rulesets -@item Edition and visualization of SGF files-Connection to the NNGS or IGS Go servers +@item Edition and visualization of SGF files +@item Connection to the NNGS or IGS Go servers @item Bridge to Go modem protocol, allowing to play against Go modem-capable AIs such as GnuGo. @end itemize") @@ -11152,7 +11154,7 @@ original, they have been invented by Thomas Colcombet.") RollerCoaster Tycoon 1 and 2, graphics- and gameplay-wise. In this game, you play as a manager of a theme park, allowing you to make a -park of your dreams. The list of responsiblities includes managing staff, +park of your dreams. The list of responsibilities includes managing staff, finances, landscaping, and most importantly: rides. Good managers follow the principle of prioritizing the guests' happiness with a well-maintained park. Should they go unwise, a theme park plunge into chaos with vandalizing guests diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index 30b2be1f5a..bb154cac62 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -745,7 +745,10 @@ It also includes runtime support libraries for these languages.") (delete-file-recursively "texinfo") (substitute* "configure" (("host_tools=(.*)texinfo" _ before) - (string-append "host_tools=" before))))))) + (string-append "host_tools=" before))) + ;; Fix building on arm* with gcc-4+ + (substitute* "gcc/config/arm/arm.c" + (("arm_prog_mode") "arm_prgmode")))))) (supported-systems (fold delete %supported-systems '("powerpc64le-linux" "riscv64-linux"))) (native-inputs (list texinfo dejagnu)) @@ -778,6 +781,10 @@ It also includes runtime support libraries for these languages.") (("/lib/ld\\.so\\.1") (search-input-file inputs #$(glibc-dynamic-linker matching-system)))) + (substitute* "gcc/config/i386/gnu.h" + (("/lib/ld\\.so") + (search-input-file + inputs #$(glibc-dynamic-linker matching-system)))) (substitute* '("gcc/config/alpha/linux-elf.h" "gcc/config/arm/linux-elf.h" "gcc/config/i386/linux.h" diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm index 68166978a1..b7e10100fb 100644 --- a/gnu/packages/gnome-xyz.scm +++ b/gnu/packages/gnome-xyz.scm @@ -996,7 +996,7 @@ animation of closing windowed applications.") (define-public gnome-shell-extension-blur-my-shell (package (name "gnome-shell-extension-blur-my-shell") - (version "29") + (version "44") (source (origin (method git-fetch) @@ -1006,22 +1006,21 @@ animation of closing windowed applications.") (file-name (git-file-name name version)) (sha256 (base32 - "13x7zgaj3dz7lypdv1bgmpmh0f2w53q567zxmhmqimi1gy5mjrvk")) - (snippet - '(begin (delete-file "src/schemas/gschemas.compiled"))))) + "0h7yfvrrg5r821mzrp42c09jws06mw6v9avvkfykqj8n8qnslmyx")))) (build-system copy-build-system) (arguments - `(#:install-plan - '(("." ,(string-append - "share/gnome-shell/extensions/" - "blur-my-shell@aunetx") - #:include-regexp ("\\.js(on)?$" "\\.css$" "\\.ui$" "\\.png$" - "\\.xml$" "\\.compiled$"))) + '(#:install-plan + (let ((extension "share/gnome-shell/extensions/blur-my-shell@aunetx")) + `(("src/" ,extension) + ("resources/" ,extension + #:include-regexp ("\\.svg$" "\\.ui")) + ("." ,extension + #:exclude-regexp ("src/" "resources/") + #:include-regexp ("\\.js(on)?$" "\\.css$" "\\.ui$" "\\.png$" + "\\.xml$" "\\.compiled$")))) #:phases (modify-phases %standard-phases - (add-after 'unpack 'cd-src - (lambda _ (chdir "src"))) - (add-before 'install 'compile-schemas + (add-after 'unpack 'compile-schemas (lambda _ (with-directory-excursion "schemas" (invoke "glib-compile-schemas" "."))))))) diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm index f9f39d6116..ce9ef48796 100644 --- a/gnu/packages/gnupg.scm +++ b/gnu/packages/gnupg.scm @@ -224,6 +224,7 @@ provided.") (package (name "libksba") (version "1.6.0") + (replacement libksba/fixed) (source (origin (method url-fetch) @@ -253,6 +254,18 @@ specifications are building blocks of S/MIME and TLS.") (properties '((ftp-server . "ftp.gnupg.org") (ftp-directory . "/gcrypt/libksba"))))) +(define libksba/fixed + (package + (inherit libksba) + (version "1.6.2") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://gnupg/libksba/libksba-" version ".tar.bz2")) + (sha256 + (base32 "0wf9j9hlzvgn0vz6zg3fvcmpdr62v8bz1kzsvzdbs4lqqp51rq7w")))))) + (define-public npth (package (name "npth") diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm index d8a729c395..6b70f4b544 100644 --- a/gnu/packages/gnuzilla.scm +++ b/gnu/packages/gnuzilla.scm @@ -621,8 +621,8 @@ in C/C++.") ;; XXXX: Workaround 'snippet' limitations. (define computed-origin-method (@@ (guix packages) computed-origin-method)) -(define %icecat-version "102.3.0-guix0-preview1") -(define %icecat-build-id "20220920000000") ;must be of the form YYYYMMDDhhmmss +(define %icecat-version "102.4.0-guix0-preview1") +(define %icecat-build-id "20221019000000") ;must be of the form YYYYMMDDhhmmss ;; 'icecat-source' is a "computed" origin that generates an IceCat tarball ;; from the corresponding upstream Firefox ESR tarball, using the 'makeicecat' @@ -644,11 +644,11 @@ in C/C++.") "firefox-" upstream-firefox-version ".source.tar.xz")) (sha256 (base32 - "0nmm861p4zakdvi9lj0ac8dkf9v17250rzcmrx1f6r7rvjv273ih")))) + "0klh3lbm0zdmv90kmmpkzgn15pfjibr7zsjy3kvbzpql97fhv7z7")))) - (upstream-icecat-base-version "102.3.0") ; maybe older than base-version + (upstream-icecat-base-version "102.4.0") ; maybe older than base-version ;;(gnuzilla-commit (string-append "v" upstream-icecat-base-version)) - (gnuzilla-commit "f82b5b40943fe7723486fadccb48d454ee3e9dad") + (gnuzilla-commit "8f1aa117ddca6e8cd0114265fb4ca9b5a927565a") (gnuzilla-source (origin (method git-fetch) @@ -660,7 +660,7 @@ in C/C++.") (string-take gnuzilla-commit 8))) (sha256 (base32 - "1d7lfvwi9mvaxcfiqcgch3idhyxpdf56r9b71r54yiifv6xlr7x9")))) + "0ryrn8ivm763swd0qbqhlgdwc2dj4xjd81d9i2r6hb7bsb4ky3y5")))) ;; 'search-patch' returns either a valid file name or #f, so wrap it ;; in 'assume-valid-file-name' to avoid 'local-file' warnings. @@ -1242,12 +1242,26 @@ standards of the IceCat project.") (cpe-name . "firefox_esr") (cpe-version . ,(first (string-split version #\-))))))) -;; Update this together with icecat! -(define %icedove-build-id "20220928000000") ;must be of the form YYYYMMDDhhmmss +(define %icedove-build-id "20221019000000") ;must be of the form YYYYMMDDhhmmss +(define %icedove-version "102.4.0") + +;; Provides the "comm" folder which is inserted into the icecat source. +;; Avoids the duplication of Icecat's source tarball. +(define thunderbird-source + (origin + (method hg-fetch) + (uri (hg-reference + (url "https://hg.mozilla.org/releases/comm-esr102") + (changeset "c064680366a130c4c02ba9b85ef324f0f075c47b"))) + (file-name (string-append "thunderbird-" %icedove-version "-checkout")) + (sha256 + (base32 + "0ccpp4890nqill1yn2lb5b855r4hpmhrcsdbxdk2sdn52dc0qda6")))) + (define-public icedove (package (name "icedove") - (version "102.3.1") + (version %icedove-version) (source icecat-source) (properties `((cpe-name . "thunderbird_esr"))) @@ -1263,10 +1277,9 @@ standards of the IceCat project.") #:phases #~(modify-phases %standard-phases (add-after 'unpack 'prepare-thunderbird-sources - (lambda* (#:key inputs #:allow-other-keys) + (lambda _ (mkdir "comm") - (copy-recursively (assoc-ref inputs "thunderbird-sources") - "comm") + (copy-recursively #$thunderbird-source "comm") (delete-file "sourcestamp.txt"))) (add-after 'patch-source-shebangs 'patch-cargo-checksums (lambda _ @@ -1528,34 +1541,19 @@ ca495991b7852b855")) zip zlib)) (native-inputs - `(("thunderbird-sources" - ;; The changeset identifier is taken from the file "sourcestamp.txt" - ;; in the Thunderbird release tarball. We don't use the release - ;; tarball because it duplicates the Icecat sources and only adds the - ;; "comm" directory, which is provided by this repository. - ,(let ((changeset "07a17b101f904a686bbdf798ba2e820079a8323f")) - (origin - (method hg-fetch) - (uri (hg-reference - (url "https://hg.mozilla.org/releases/comm-esr102") - (changeset changeset))) - (file-name (string-append "thunderbird-" version "-checkout")) - (sha256 - (base32 - "078jrxpzqj45l84i39a9fq023j71ngca5gs2ngpjsbily51bzx09"))))) - ("cargo" ,rust "cargo") - ("clang" ,clang) - ("llvm" ,llvm) - ("m4" ,m4) - ("nasm" ,nasm) - ("node" ,node) - ("perl" ,perl) - ("pkg-config" ,pkg-config) - ("python" ,python-wrapper) - ("rust" ,rust) - ("rust-cbindgen" ,(force rust-cbindgen-0.23-promise)) - ("which" ,which) - ("yasm" ,yasm))) + (list `(,rust "cargo") + clang + llvm + m4 + nasm + node + perl + pkg-config + python-wrapper + rust + (force rust-cbindgen-0.23-promise) + which + yasm)) (home-page "https://www.thunderbird.net") (synopsis "Rebranded Mozilla Thunderbird email client") (description diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 1e37732d10..ee463edb6f 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -36,6 +36,7 @@ ;;; Copyright © 2022 Pier-Hugues Pellerin ;;; Copyright © 2022 muradm ;;; Copyright © 2022 Dhruvin Gandhi +;;; Copyright © 2022 Nicolas Graves ;;; ;;; This file is part of GNU Guix. ;;; @@ -1333,9 +1334,9 @@ configuration file.") "github.com/savsgio/gotils/time" "github.com/savsgio/gotils/uuid"))))))) (home-page "https://github.com/savsgio/gotils") - (synopsis "Golang utlities") + (synopsis "Golang utilities") (description - "Golang utlities to make your life easier with zero allocations.") + "Golang utilities to make your life easier with zero allocations.") (license license:asl2.0)))) (define-public go-github-com-riobard-go-bloom @@ -3268,7 +3269,7 @@ optimized for performance yet simple to use.") (define-public go-github-com-tomnomnom-gron (package (name "gron") - (version "0.6.1") + (version "0.7.1") (home-page "https://github.com/tomnomnom/gron") (source (origin @@ -3278,7 +3279,7 @@ optimized for performance yet simple to use.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0qmzawkhg0qn9kxxrssbdjni2khvamhrcklv3yxc0ljmh77mh61m")))) + (base32 "1sj34b6yv0qigy3aq7qmwf8bqxp1a8qh9p10lzkpw58s1c0iyh36")))) (build-system go-build-system) (arguments (let ((import-path "github.com/tomnomnom/gron")) @@ -5449,8 +5450,8 @@ as conversion to and from @command{net.Addr}.") (license license:expat)))) (define-public go-github-com-sabhiram-go-gitignore - (let ((commit "d3107576ba9425fc1c85f4b3569c4631b805a02e") - (revision "0")) + (let ((commit "525f6e181f062064d83887ed2530e3b1ba0bc95a") + (revision "1")) (package (name "go-github-com-sabhiram-go-gitignore") (version (git-version "1.0.2" revision commit)) @@ -5463,7 +5464,7 @@ as conversion to and from @command{net.Addr}.") (file-name (git-file-name name version)) (sha256 (base32 - "1rdwyxgcsiwgmlqnc3k6h300mzlvjc3j21np4yh1h476wc8dvl0l")))) + "197giv3snczvbihzvkja5pq53yw5fc516rnjm71hni8gawb8jmh3")))) (build-system go-build-system) (arguments '(#:import-path @@ -8365,6 +8366,76 @@ configuration languages, but other uses may be possible too.") (description "This package implements a low-level key/value store in Go.") (license license:expat))) +(define-public go-filippo-io-age + (package + (name "go-filippo-io-age") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/FiloSottile/age") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "19fz68n262kvg2ssw4r6nik30zk6g6cy7rdi0fm05czwigqrdz1i")))) + (build-system go-build-system) + (arguments `(#:import-path "filippo.io/age")) + (inputs + (list go-golang-org-x-sys + go-golang-org-x-term + go-golang-org-x-crypto + go-filippo-io-edwards25519)) + (home-page "https://filippo.io/age") + (synopsis "Secure file encryption tool, format, and Go library") + (description + "This package implements file encryption according to the +@{age-encryption.org/v1, https://age-encryption.org/v1} specification. +It features small explicit keys, no configuration options, and Unix-style +composability.") + (license license:bsd-3))) + +(define-public age + (package + (inherit go-filippo-io-age) + (name "age") + (arguments + `(#:import-path "filippo.io/age/cmd/age" + #:unpack-path "filippo.io/age" + #:install-source? #f)))) + +(define-public age-keygen + (package + (inherit go-filippo-io-age) + (name "age-keygen") + (arguments + `(#:import-path "filippo.io/age/cmd/age-keygen" + #:unpack-path "filippo.io/age" + #:install-source? #f)))) + +(define-public go-filippo-io-edwards25519 + (package + (name "go-filippo-io-edwards25519") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/FiloSottile/edwards25519") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "01m8hpaj0cwp250f7b0din09cf8j6j5y631grx67qfhvfrmwr1zr")))) + (build-system go-build-system) + (arguments + '(#:import-path "filippo.io/edwards25519")) + (home-page "https://filippo.io/edwards25519") + (synopsis "Group logic for the twisted Edwards curve") + (description + "This package implements the edwards25519 elliptic curve in Go, exposing +the necessary APIs to build a wide array of higher-level primitives.") + (license license:bsd-3))) + (define-public go-github-com-rogpeppe-go-internal (package (name "go-github-com-rogpeppe-go-internal") diff --git a/gnu/packages/gps.scm b/gnu/packages/gps.scm index 91e0ee12ac..1811e9013c 100644 --- a/gnu/packages/gps.scm +++ b/gnu/packages/gps.scm @@ -139,7 +139,7 @@ between two other data points.") (define-public gama (package (name "gama") - (version "2.21") + (version "2.23") (source (origin (method url-fetch) @@ -147,7 +147,7 @@ between two other data points.") version ".tar.gz")) (sha256 (base32 - "0xncq4cgzn5mgwxw515xa0rhazf28y4cnpwg67kbibya7zx2iqw7")) + "03cwx83q788xlnpj0m4dgpf8scwn7m8p5c20vq90m1fxc614199q")) (modules '((guix build utils))) (snippet '(begin diff --git a/gnu/packages/groff.scm b/gnu/packages/groff.scm index 1d2af7ff07..33a059053c 100644 --- a/gnu/packages/groff.scm +++ b/gnu/packages/groff.scm @@ -35,6 +35,7 @@ #:use-module (gnu packages) #:use-module (gnu packages ruby) #:use-module (gnu packages bison) + #:use-module (gnu packages flex) #:use-module (gnu packages ghostscript) #:use-module (gnu packages netpbm) #:use-module (gnu packages perl) @@ -258,3 +259,28 @@ It is typically used to display man pages on a web site.") man page format from Markdown.") (home-page "https://github.com/apjanke/ronn-ng") (license expat))) + +(define-public grap + (package + (name "grap") + (version "1.46") + (source (origin + (method url-fetch) + (uri (string-append + "https://www.lunabase.org/~faber/Vault/software/grap/grap-" + version ".tar.gz")) + (sha256 + (base32 + "1d4bhhgi64x4cjww7fj0lqgr20w7lqnl2aizj6cndsgyxkywx3ks")))) + (build-system gnu-build-system) + (native-inputs (list flex bison)) + (synopsis "Tool for creating graphs with troff") + (description + "Grap is a language for typesetting graphs specified and +first implemented by Brian Kernighan and Jon Bentley at Bell Labs. It is an +expressive language for describing graphs and incorporating them in typeset +documents. It is implemented as a preprocessor to Kernigan's pic language for +describing languages, so any system that can use pic can use grap. For sure, +TeX and groff can use it.") + (home-page "https://github.com/snorerot13/grap") + (license bsd-3))) diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm index c382f04446..a92588a9e2 100644 --- a/gnu/packages/gstreamer.scm +++ b/gnu/packages/gstreamer.scm @@ -836,7 +836,6 @@ model to base your own plug-in on, here it is.") curl directfb ;; dssim - faac faad2 flite fluidsynth diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 2877b7d199..209ba694d7 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -4441,6 +4441,50 @@ Discovery (DNS-SD).") (home-page "https://www.nongnu.org/guile-avahi/") (license license:lgpl3+)))) +(define-public guile-dns + (package + (name "guile-dns") + (version "0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.lysator.liu.se/hugo/guile-dns") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "18skivracv6jh1zab9dknkcpbizc416n0pb2mcwb20dpzc2md9yf")))) + (build-system gnu-build-system) + (arguments + (list #:make-flags #~(list (string-append "PREFIX=" #$output) + ;; Prevent guild warnings. + "GUILE_AUTO_COMPILE=0" + ;; Make tests verbose and disable coverage + ;; report. The coverage report fails on + ;; i686-linux. + "TEST_FLAGS=--verbose") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-makefile + (lambda _ + (substitute* "Makefile" + ;; CURDIR is a standard GNU Make variable. Prefer it to + ;; PWD. PWD is set by the shell and is absent in the + ;; build process. + (("PWD") "CURDIR") + ;; Install info file at share/info, not at share. + (("share doc") "share/info doc")))) + (delete 'configure)))) + (inputs + (list guile-3.0)) + (native-inputs + (list texinfo)) + (home-page "https://git.lysator.liu.se/hugo/guile-dns") + (synopsis "Guile DNS library") + (description "@code{guile-dns} is a DNS library written in pure Guile +Scheme.") + (license license:gpl3+))) + (define-public guile-jwt (package (name "guile-jwt") diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index 41519440fd..a605559797 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -477,14 +477,14 @@ RGB animations.") (define-public ddcutil (package (name "ddcutil") - (version "1.2.2") + (version "1.3.2") (source (origin (method url-fetch) (uri (string-append "https://www.ddcutil.com/tarballs/" "ddcutil-" version ".tar.gz")) (sha256 - (base32 "18fbd45h2r3r702dvmlmyrwgs3ymr4mhm4f12lgv9jqb5csalbw2")))) + (base32 "0hm0cm4m4hk1jjy7kddg613mynvwlii3kp8al0j9v3c6mcx3p4mx")))) (build-system gnu-build-system) (native-inputs (list pkg-config)) @@ -521,7 +521,7 @@ calibrated, and restored when the calibration is applied.") (define-public ddcui (package (name "ddcui") - (version "0.2.1") + (version "0.3.0") (source (origin (method git-fetch) @@ -530,10 +530,10 @@ calibrated, and restored when the calibration is applied.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0a9xfv80dpimx9wi9igjbbfydyfsgnbk6dv1plhjzyp2a9shdibb")))) + (base32 "0gypfmwxhjmgyfwk29k8hfbgr0698kbcq2yj4izxv1i59zm63irz")))) (build-system cmake-build-system) (arguments - '(#:tests? #f)) ; No test suite + (list #:tests? #f)) ; No test suite (native-inputs (list pkg-config qttools-5)) (inputs @@ -649,7 +649,7 @@ hardware works with a fully free operating system or not.") (define-public headsetcontrol (package (name "headsetcontrol") - (version "2.6") + (version "2.6.1") (source (origin (method git-fetch) @@ -658,7 +658,7 @@ hardware works with a fully free operating system or not.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "0a7zimzi71416pmn6z0l1dn1c2x8p702hkd0k6da9rsznff85a88")))) + (base32 "1pkgi87wjyris53frw3qmjdqvkzyyl55ikjgn8cidnbr6i3rqls9")))) (build-system cmake-build-system) (inputs (list hidapi)) @@ -1121,7 +1121,7 @@ as the Pinebook Pro.") (define-public usbguard (package (name "usbguard") - (version "1.1.1") + (version "1.1.2") (source (origin (method git-fetch) (uri (git-reference @@ -1129,7 +1129,7 @@ as the Pinebook Pro.") (commit (string-append "usbguard-" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0lpyhkz5nr0c9mq57mgcvam5c8qfqqwjc4xd46n2ldqc9vhfsask")))) + (base32 "10qqjk7hsycc6hk51abwcld7i48038zqi1jzli59cfvc76ikrxj5")))) (build-system gnu-build-system) (arguments (list diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm index 58a70dfa3a..f3963361c1 100644 --- a/gnu/packages/haskell-apps.scm +++ b/gnu/packages/haskell-apps.scm @@ -304,14 +304,14 @@ to @code{cabal repl}).") (define-public git-annex (package (name "git-annex") - (version "10.20220927") + (version "10.20221003") (source (origin (method url-fetch) (uri (string-append "https://hackage.haskell.org/package/" "git-annex/git-annex-" version ".tar.gz")) (sha256 - (base32 "1bqcaddw47g6i3z9g0iym5x7zy1q8fsirzqnjsa63n2bwm6zzplc")))) + (base32 "0nyhmwkzd8gyd9mvlnjyalfix32x5y4g89d5g36jp3jp1bkwg9i4")))) (build-system haskell-build-system) (arguments `(#:configure-flags @@ -471,8 +471,9 @@ to @code{cabal repl}).") ghc-yesod-core ghc-yesod-form ghc-yesod-static - git rsync)) + (propagated-inputs + (list git)) (native-inputs (list ghc-tasty ghc-tasty-hunit ghc-tasty-quickcheck ghc-tasty-rerun perl)) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 343c8d3d77..2916f0b460 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -360,7 +360,7 @@ SplitObjs=NO ;; TODO: Perl used to allow setting $* to enable multi-line ;; matching. If we want to use a more recent Perl we need to patch ;; all expressions that require multi-line matching. Hard to tell. - perl-5.14)) + perl-5.6)) (home-page "https://www.haskell.org/ghc") (synopsis "The Glasgow Haskell Compiler") (description diff --git a/gnu/packages/haxe.scm b/gnu/packages/haxe.scm index 6876dbdc6f..dbe8b2c19e 100644 --- a/gnu/packages/haxe.scm +++ b/gnu/packages/haxe.scm @@ -102,7 +102,7 @@ easily embedded into any application and your libraries can be accessed using the C foreign function interface. You can use the compiler as standalone command line executable separate from -the VM, or as a Neko library to perform compile-and-run funtions for +the VM, or as a Neko library to perform compile-and-run functions for interactive languages.") (license license:expat))) diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm index 1d4321237a..420d2a657e 100644 --- a/gnu/packages/kde.scm +++ b/gnu/packages/kde.scm @@ -158,7 +158,7 @@ This package contains GUI widgets for baloo.") (uri (string-append "mirror://kde/stable/release-service/" version "/src/akregator-" version ".tar.xz")) (sha256 - (base32 "9yy5c29zxpli4cddknmdvjkgii3j7pvw6lhwqfrqjc8jh83gm8f8")))) + (base32 "08n713271i7ifnbrgwrqmxvcpvj45wfqjiidw8zf9rpwxg2m2m9g")))) (build-system qt-build-system) (arguments `(#:phases @@ -167,9 +167,9 @@ This package contains GUI widgets for baloo.") (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (bin (string-append out "/bin/akregator")) - (qt-process-path (string-append - (assoc-ref inputs "qtwebengine-5") - "/lib/qt5/libexec/QtWebEngineProcess"))) + (qt-process-path + (search-input-file + inputs "/lib/qt5/libexec/QtWebEngineProcess"))) (wrap-program bin `("QTWEBENGINEPROCESS_PATH" = (,qt-process-path))))))))) (native-inputs diff --git a/gnu/packages/libevent.scm b/gnu/packages/libevent.scm index d807315906..176e66cf42 100644 --- a/gnu/packages/libevent.scm +++ b/gnu/packages/libevent.scm @@ -26,7 +26,7 @@ (define-module (gnu packages libevent) #:use-module (gnu packages) - #:use-module (guix licenses) + #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) @@ -74,7 +74,16 @@ libevent is meant to replace the event loop found in event driven network servers. An application just needs to call event_dispatch() and then add or remove events dynamically without having to change the event loop.") - (license bsd-3))) + (license license:bsd-3))) + +(define-public libevent-with-openssl + (package/inherit libevent + (name "libevent-with-openssl") + (inputs (modify-inputs (package-inputs libevent) + (prepend openssl))) + (arguments + ;; This skips some of the tests which fail on armhf and aarch64. + '(#:configure-flags '("--disable-libevent-regress"))))) (define-public libev (package @@ -99,8 +108,7 @@ loosely modelled after libevent. It includes relative timers, absolute timers with customized rescheduling, synchronous signals, process status change events, event watchers dealing with the event loop itself, file watchers, and limited support for fork events.") - (license - (list bsd-2 gpl2+)))) + (license (list license:bsd-2 license:gpl2+)))) (define-public libuv (package @@ -131,7 +139,7 @@ resolution, asynchronous file system operations, and threading primitives.") ;; A few files fall under other non-copyleft licenses; see 'LICENSE' for ;; details. Documentation is CC-BY 4.0 as of 1.12.0; see 'LICENSE-docs'. - (license (list expat cc-by4.0)))) + (license (list license:expat license:cc-by4.0)))) (define-public libuv-for-node ;; When upgrading Node, also upgrade this. Get the version from @@ -218,7 +226,7 @@ Currently supported event loops are EV, Event, Glib/Gtk2, Tk, Qt, @code{Event::Lib}, Irssi, @code{IO::Async} and POE (and thus also WxWidgets and Prima). It also comes with a very fast Pure Perl event loop that does not rely on XS.") - (license perl-license))) + (license license:perl-license))) (define-public perl-ev (package @@ -259,7 +267,7 @@ not rely on XS.") "This module provides an interface to @code{libev}, a high performance full-featured event loop. It can be used through the @code{AnyEvent} module and still be faster than other event loops currently supported in Perl.") - (license perl-license))) + (license license:perl-license))) (define-public perl-rpc-epc-service (package @@ -286,4 +294,4 @@ and still be faster than other event loops currently supported in Perl.") (synopsis "Asynchronous remote procedure stack") (description "RPC::EPC::Service enables to connect the other process with the S-expression protocol, like the Swank protocol of the SLIME.") - (license perl-license))) + (license license:perl-license))) diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm index b4b51a9d50..8343f8ffc6 100644 --- a/gnu/packages/libreoffice.scm +++ b/gnu/packages/libreoffice.scm @@ -73,6 +73,7 @@ #:use-module (gnu packages java) #:use-module (gnu packages linux) #:use-module (gnu packages logging) + #:use-module (gnu packages m4) #:use-module (gnu packages maths) #:use-module (gnu packages nss) #:use-module (gnu packages openldap) @@ -83,6 +84,7 @@ #:use-module (gnu packages python) #:use-module (gnu packages rdf) #:use-module (gnu packages scanner) + #:use-module (gnu packages textutils) #:use-module (gnu packages tls) #:use-module (gnu packages version-control) #:use-module (gnu packages xml) @@ -996,6 +998,53 @@ patterns, which are pre-processed by a perl script.") (license (list license:mpl1.1 license:mpl2.0 license:gpl2+ license:lgpl2.1+)))) +(define-public hunspell-dict-hu + (let ((revision "2") + (major+minor "1.7")) + (package + (name "hunspell-dict-hu") + (version (string-append major+minor "-" revision)) + (source + (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/magyarispell/Magyar Ispell/" + major+minor + "/magyarispell-" version ".tar.gz")) + (sha256 + (base32 "0r22rvqrp5bzgr9sqyap82kibi5z9n6xy5b06si28idqijw7c772")))) + (build-system gnu-build-system) + (arguments + (list #:make-flags + #~(list "myspell" + "--jobs=1" ;the Makefile is not ready for parallelism + (string-append "SH=" + (search-input-file %build-inputs + "/bin/bash")) + (string-append "AWK=" + (search-input-file %build-inputs + "/bin/awk"))) + #:phases + #~(modify-phases %standard-phases + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "config" + (("/usr/bin/awk") + (which "awk"))))) + (replace 'install ;no install target + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (share (string-append out "/share/hunspell/"))) + (install-file "hu_HU.aff" share) + (install-file "hu_HU.dic" share))))) + #:tests? #f)) ; no tests + (native-inputs + (list hunspell m4 recode)) + (synopsis "Hunspell dictionary for Hungarian (hu_HU)") + (description "This package provides a dictionary for the Hunspell +spell-checking library.") + (home-page "http://magyarispell.sourceforge.net/") + (license (list license:gpl2 license:gpl3))))) + (define-public mythes (package (name "mythes") diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 26dfcae2c5..2dfb5534c3 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -355,7 +355,7 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS." ;; The current "stable" kernels. That is, the most recently released major ;; versions that are still supported upstream. -(define-public linux-libre-5.19-version "5.19.15") +(define-public linux-libre-5.19-version "5.19.16") (define-public linux-libre-5.19-gnu-revision "gnu") (define deblob-scripts-5.19 (linux-libre-deblob-scripts @@ -365,7 +365,7 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS." (base32 "092myqjixvy1k3ylcj0hfc4whfxapjvxsxm4gk30a3jv5dnh7mly"))) (define-public linux-libre-5.19-pristine-source (let ((version linux-libre-5.19-version) - (hash (base32 "06zband5q6m9imyvn4y4naafdakjcj00rg23227cagnv8wwf71j6"))) + (hash (base32 "13g0c6ljxk3sd0ja39ndih5vrzp2ssj78qxaf8nswn8hgrkazsx1"))) (make-linux-libre-source version (%upstream-linux-source version hash) deblob-scripts-5.19))) @@ -374,7 +374,7 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS." ;; The "longterm" kernels — the older releases with long-term upstream support. ;; Here are the support timelines: ;; -(define-public linux-libre-5.15-version "5.15.73") +(define-public linux-libre-5.15-version "5.15.74") (define-public linux-libre-5.15-gnu-revision "gnu") (define deblob-scripts-5.15 (linux-libre-deblob-scripts @@ -384,12 +384,12 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS." (base32 "048r4synfax2ajyzlmp672b68yshxwlfccdah2vz1kh88rqfmgsc"))) (define-public linux-libre-5.15-pristine-source (let ((version linux-libre-5.15-version) - (hash (base32 "0pbi640llcdbx57vwwzc5axa75w0y5rixa9r752h725f4naz08m8"))) + (hash (base32 "0ra2ijpw7w07gm3kjwyszlwfq2rbnmq84z50qhv5r0svz2i3j59c"))) (make-linux-libre-source version (%upstream-linux-source version hash) deblob-scripts-5.15))) -(define-public linux-libre-5.10-version "5.10.147") +(define-public linux-libre-5.10-version "5.10.149") (define-public linux-libre-5.10-gnu-revision "gnu1") (define deblob-scripts-5.10 (linux-libre-deblob-scripts @@ -399,12 +399,12 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS." (base32 "1981axxswghza3iadp94q54y8w30h9w9vyq4cbjiiv9alvbv0pb8"))) (define-public linux-libre-5.10-pristine-source (let ((version linux-libre-5.10-version) - (hash (base32 "16pdpjmvrdml7am7s2kydrif1l7f4aq0wh4ak0xh3dby16zkl9c5"))) + (hash (base32 "1lv5q0m24ccbiqywy03s9s3wyxzm0v7f691rag89qfsn6z2k8q8g"))) (make-linux-libre-source version (%upstream-linux-source version hash) deblob-scripts-5.10))) -(define-public linux-libre-5.4-version "5.4.217") +(define-public linux-libre-5.4-version "5.4.219") (define-public linux-libre-5.4-gnu-revision "gnu1") (define deblob-scripts-5.4 (linux-libre-deblob-scripts @@ -414,7 +414,7 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS." (base32 "1vnjbdyssa7dwyjl9kg35alwvf7yh597cl74yr1wy2gk5bc9paw6"))) (define-public linux-libre-5.4-pristine-source (let ((version linux-libre-5.4-version) - (hash (base32 "0qrfrk0g1dky5apg8gdxczj2ir0g0z41zmdmbwwcxkxjz76jdf1b"))) + (hash (base32 "0qd2a0cx6bq11qq2513xmm5jxzfrq6axvsc0pjbvdpv9fa9av4sj"))) (make-linux-libre-source version (%upstream-linux-source version hash) deblob-scripts-5.4))) @@ -2672,7 +2672,7 @@ Both commands are targeted at system administrators.") (define-public jitterentropy-rngd (package (name "jitterentropy-rngd") - (version "1.2.7") + (version "1.2.8") (source (origin (method git-fetch) @@ -2681,17 +2681,18 @@ Both commands are targeted at system administrators.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "098hx09bsizin9405gh1c4rzbs2fr7qknqlr3glgyjpm3nm7bx28")))) + (base32 "13br8s6gqnfc844ps38ya5nny3pndsmskszv3dsp1cxcgvmscg1c")))) (build-system gnu-build-system) (arguments - `(#:tests? #f ; no test suite - #:make-flags - (list (string-append "CC=" ,(cc-for-target)) - (string-append "PREFIX=" (assoc-ref %outputs "out")) - "UNITDIR=$(PREFIX)/lib/systemd/system") - #:phases - (modify-phases %standard-phases - (delete 'configure)))) ; no ./configure script + (list + #:tests? #f ; no test suite + #:make-flags + #~(list (string-append "CC=" #$(cc-for-target)) + (string-append "PREFIX=" #$output) + "UNITDIR=$(PREFIX)/lib/systemd/system") + #:phases + #~(modify-phases %standard-phases + (delete 'configure)))) ; no ./configure script (home-page "https://www.chronox.de/jent.html") (synopsis "CPU jitter random number generator daemon") (description @@ -3523,7 +3524,7 @@ compressed, transparent to other programs, without decompressing them.") (define-public numactl (package (name "numactl") - (version "2.0.14") + (version "2.0.16") (source (origin (method url-fetch) (uri (string-append @@ -3531,7 +3532,7 @@ compressed, transparent to other programs, without decompressing them.") version "/numactl-" version ".tar.gz")) (sha256 (base32 - "1xngddsph43bxljywahi9d44fxr022slsap4hh91w8xnq54d2sw2")))) + "1j67wx3383fwqbvhg4nwqf72vpdgimmrvkpn3b9s2xzr7a4jy90v")))) (build-system gnu-build-system) (arguments `(,@(if (target-riscv64?) @@ -4753,14 +4754,14 @@ isolation or root privileges.") (define-public hdparm (package (name "hdparm") - (version "9.64") + (version "9.65") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/hdparm/hdparm/" "hdparm-" version ".tar.gz")) (sha256 (base32 - "16l5mc6dpqkzhwsljyzks05pq89l2lw09qkx50ks1zn3a5lranri")))) + "0jssagggg52ssl9kg99m88afghj7bm1854vyf4p96q6h23wjjjfi")))) (build-system gnu-build-system) (arguments (list #:make-flags @@ -4873,14 +4874,14 @@ about ACPI devices.") (define-public acpid (package (name "acpid") - (version "2.0.33") + (version "2.0.34") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/acpid2/acpid-" version ".tar.xz")) (sha256 (base32 - "1s6vf8lqwrcqi14k0ww47pk1kifbvxin73ha7mk1njmk7qdzfmh8")))) + "0cxkdbd087kj9ikprvvjpk0ixzqbipf2rmj6qyp7r15wzj65q29d")))) (build-system gnu-build-system) (home-page "https://sourceforge.net/projects/acpid2/") (synopsis "Daemon for delivering ACPI events to user-space programs") @@ -5894,6 +5895,42 @@ drive that supports the ATA/ATAPI-7 IDLE IMMEDIATE command with unload feature, and a laptop with an accelerometer. It has no effect on SSDs.") (license license:gpl2))) + +(define-public nbfc-linux + (let ((version "0.1.7") + (commit "4c2b75e4a875459e86a9892319889ff945e9cadf") + (revision "0")) + (package + (name "nbfc-linux") + (version (git-version version revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nbfc-linux/nbfc-linux") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0mmyfaigrh3fd5v11a8p38km4m02qzsfx8yh72g0z405bzhqn5jk")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags (list (string-append "CC=" + ,(cc-for-target)) + (string-append "PREFIX=" + (assoc-ref %outputs "out"))) + #:tests? #f + #:phases (modify-phases %standard-phases + (delete 'configure)))) + (native-inputs (list pkg-config)) + (propagated-inputs (list python dmidecode)) + (synopsis "NoteBook FanControl ported to Linux") + (description + "This package provides a C port of NoteBook FanControl (NBFC), a fan +control service for notebooks. It provides the same utilities with the same +interfaces as the original NBFC, although the implementation differs.") + (home-page "https://github.com/nbfc-linux/nbfc-linux") + (license license:gpl3+)))) + (define-public thinkfan (package (name "thinkfan") @@ -6670,7 +6707,7 @@ the @code{mce-inject} module loaded if it exists.") (define-public mcelog (package (name "mcelog") - (version "188") + (version "189") (source (origin (method git-fetch) @@ -6679,7 +6716,7 @@ the @code{mce-inject} module loaded if it exists.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1pdh0fj12wrm7whi96ak7m1f5b8ivgklabwkhfcfxd8dg134qczf")) + (base32 "0ml12xmmmljp22a89fw23c6gmba4dngavgnisv665w67kbnv5085")) (modules '((guix build utils))) (snippet `(begin @@ -7888,14 +7925,14 @@ available in the kernel Linux.") (define-public cpuid (package (name "cpuid") - (version "20220812") + (version "20221003") (source (origin (method url-fetch) (uri (string-append "http://www.etallen.com/cpuid/cpuid-" version ".src.tar.gz")) (sha256 (base32 - "1gss85szv4b48d93d6hzkkzggicdvw8dijiwfs84ywclgnwqzxiv")))) + "01w318kxcksfbjwjnnc9ly12g0yp4vm6xjgfl8mmi0jndg0cbi33")))) (build-system gnu-build-system) (arguments (list #:make-flags @@ -9438,7 +9475,7 @@ with the value and the symbolic name.") (synopsis "Linux Kernel module exposing features of ThinkPad hardware") (description - "This package provides a Linux Kernel module that allows to control + "This package provides a Linux Kernel module that controls battery charging of specific ThinkPad laptops. It also includes an improved version of the HDAPS driver. The underlying hardware interfaces are @acronym{SMAPI, System Management Application Program Interface} and direct diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index f23b4a70bb..9a7821a129 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -186,6 +186,73 @@ portable between implementations.") (define-public ecl-alexandria (sbcl-package->ecl-package sbcl-alexandria)) +(define-public sbcl-stdutils + (let ((commit "4a4e5a4036b815318282da5dee2a22825369137b") + (revision "0")) + (package + (name "sbcl-stdutils") + (version (git-version "1.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/eslick/cl-stdutils") + (commit commit))) + (file-name (git-file-name "cl-stdutils" version)) + (sha256 + (base32 "16vxxphqdq8264x0aanm36x9r6d3ci1gjf4vf46mwl59gcff4wcj")))) + (build-system asdf-build-system/sbcl) + (arguments '(#:tests? #f)) ; There are no tests. + (inputs + (list sbcl-cl-fad + sbcl-cl-ppcre)) + (home-page "https://github.com/eslick/cl-stdutils/") + (synopsis "Grab bag of Common Lisp utility functions") + (description + "This package provides a grab bag of miscellaneous Common Lisp +utilities.") + (license license:bsd-3)))) + +(define-public cl-stdutils + (sbcl-package->cl-source-package sbcl-stdutils)) + +(define-public ecl-stdutils + (sbcl-package->ecl-package sbcl-stdutils)) + +(define-public sbcl-langutils + (let ((commit "38beec7a82eeb35b0bfb0824a41d13ed94fc648b") + (revision "0")) + (package + (name "sbcl-langutils") + (version (git-version "1.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/eslick/cl-langutils") + (commit commit))) + (file-name (git-file-name "cl-langutils" version)) + (sha256 + (base32 "15y9x5wkg3fqndc04w2sc650fnwimxp4gjgpv9xvvdm9x4v433x6")))) + (build-system asdf-build-system/sbcl) + (arguments '(#:tests? #f)) ; There are no tests. + (inputs + (list sbcl-stdutils + sbcl-s-xml-rpc)) + (home-page "https://langutils.common-lisp.dev/") + (synopsis "Common Lisp natural language processing toolkit") + (description + "This package provides a hierarchy of major functions and auxiliary +functions related to the structured analysis and processing of open +text.") + (license license:bsd-3)))) + +(define-public cl-langutils + (sbcl-package->cl-source-package sbcl-langutils)) + +(define-public ecl-langutils + (sbcl-package->ecl-package sbcl-langutils)) + (define-public sbcl-alea (package (name "sbcl-alea") @@ -841,6 +908,41 @@ grammar.") (define-public ecl-cl-abnf (sbcl-package->ecl-package sbcl-cl-abnf)) +(define-public sbcl-select + (let ((commit "df7920fc451b6d15345040ce4a3ee1ea2818ab1a") + (revision "0")) + (package + (name "sbcl-select") + (version (git-version "1.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Lisp-Stat/select") + (commit commit))) + (file-name (git-file-name "cl-select" version)) + (sha256 + (base32 "0bhpvfqp7n33pia4y62qi31bx86gjl2nxjy529rfawac57c9rxv3")))) + (build-system asdf-build-system/sbcl) + (inputs + (list sbcl-alexandria + sbcl-anaphora + sbcl-let-plus)) + (native-inputs + (list sbcl-fiveam)) + (home-page "https://lisp-stat.github.io/select/") + (synopsis "Library for taking slices from array-like objects") + (description + "This is a library for selecting portions of sequences, arrays or +data-frames.") + (license license:ms-pl)))) + +(define-public cl-select + (sbcl-package->cl-source-package sbcl-select)) + +(define-public ecl-select + (sbcl-package->ecl-package sbcl-select)) + (define-public sbcl-cl-ppcre (package (name "sbcl-cl-ppcre") @@ -2426,7 +2528,7 @@ also be supported.") (define-public sbcl-ironclad (package (name "sbcl-ironclad") - (version "0.57") + (version "0.58") (source (origin (method git-fetch) @@ -2434,7 +2536,7 @@ also be supported.") (url "https://github.com/sharplispers/ironclad/") (commit (string-append "v" version)))) (sha256 - (base32 "123qnf4rmi06vyfmnpdzbjskz8vk35kppjpmms21bxhb7rhxzlh2")) + (base32 "17plga14y1425g7midysj49x12kssqa77l43cr3sm9976zpya8i8")) (file-name (git-file-name "cl-ironclad" version)))) (build-system asdf-build-system/sbcl) (native-inputs @@ -3707,7 +3809,7 @@ is a library for creating graphical user interfaces.") (define-public sbcl-cl-webkit (package (name "sbcl-cl-webkit") - (version "3.5.4") + (version "3.5.5") (source (origin (method git-fetch) @@ -3717,7 +3819,7 @@ is a library for creating graphical user interfaces.") (file-name (git-file-name "cl-webkit" version)) (sha256 (base32 - "072c6m63w9q4nr3lsvavi2i71qyfgygdpyqy659l0n81n7mjy2cr")))) + "1wbz8h9f76crwkpxn4wvkd05lz66zd7lhjag5g5n9fwvlrf2bh3d")))) (build-system asdf-build-system/sbcl) (inputs `(("cffi" ,sbcl-cffi) @@ -4057,6 +4159,30 @@ the abstraction and portability layer as thin as possible.") (define-public ecl-usocket (sbcl-package->ecl-package sbcl-usocket)) +(define-public sbcl-trivial-sockets + (package + (name "sbcl-trivial-sockets") + (version "0.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/usocket/trivial-sockets/") + (commit (string-append "v" version)))) + (file-name (git-file-name "cl-trivial-sockets" version)) + (sha256 + (base32 "0xj9x5z3psxqap9c29qz1xswx5fiqxyzd35kmbw2g6z08cgb7nd0")))) + (build-system asdf-build-system/sbcl) + (home-page "https://github.com/usocket/trivial-sockets") + (synopsis "Simple socket library for Common Lisp") + (description + "This library is a portable socket interface that allows CL programs to +open connected (client) stream sockets to network services.") + (license license:expat))) + +(define-public cl-trivial-sockets + (sbcl-package->cl-source-package sbcl-trivial-sockets)) + (define-public sbcl-s-xml (package (name "sbcl-s-xml") @@ -4312,8 +4438,8 @@ RFC 1321 by R. Rivest, published April 1992.") (list ecl-flexi-streams)))) (define-public sbcl-cl+ssl - (let ((commit "046d698cf65539faf9aba0a5ccd086a9d6f53eef") - (revision "3")) + (let ((commit "8c13317509136e6722a25be51b74b813bbb32f9e") + (revision "4")) (package (name "sbcl-cl+ssl") (version (git-version "0.0.0" revision commit)) @@ -4325,7 +4451,7 @@ RFC 1321 by R. Rivest, published April 1992.") (commit commit))) (file-name (git-file-name "cl+ssl" version)) (sha256 - (base32 "110yhb0f1c8yilqsgza2xhv3675i41iizylibgy5qc5fa2lnaxbv")))) + (base32 "1cdq9dzk804y8bm874q8755yk4iz2z735ksm8waxl52kpfw8ai99")))) (build-system asdf-build-system/sbcl) (arguments '(#:phases @@ -4349,7 +4475,8 @@ RFC 1321 by R. Rivest, published April 1992.") ""))))))) (native-inputs (list ;sbcl-cl-coveralls - sbcl-fiveam)) + sbcl-fiveam + sbcl-trivial-sockets)) (inputs (list openssl sbcl-cffi @@ -4372,7 +4499,17 @@ Development into CL+SSL was done by David Lichteblau.") (sbcl-package->cl-source-package sbcl-cl+ssl)) (define-public ecl-cl+ssl - (sbcl-package->ecl-package sbcl-cl+ssl)) + ;; The trivial-sockets system used for the tests doesn't support ECL, so we + ;; remove it from native-inputs and disable the tests. + (let ((pkg (sbcl-package->ecl-package sbcl-cl+ssl))) + (package + (inherit pkg) + (native-inputs + (modify-inputs (package-native-inputs pkg) + (delete "sbcl-trivial-sockets"))) + (arguments + (substitute-keyword-arguments (package-arguments pkg) + ((#:tests? _ #f) #f)))))) (define-public sbcl-kmrcl (let ((version "1.111") @@ -15622,11 +15759,11 @@ dynamically.") (sbcl-package->cl-source-package sbcl-sxql-composer)) (define-public sbcl-cl-i18n - (let ((commit "4216fe9fc7b54033c0d881dbb835b7af786365ed") + (let ((commit "5b569f3fe4c76d600fafecac507ac4f50e4cc1d1") (revision "1")) (package (name "sbcl-cl-i18n") - (version (git-version "0.5.1" revision commit)) + (version (git-version "0.5.2" revision commit)) (source (origin (method git-fetch) @@ -15635,7 +15772,7 @@ dynamically.") (commit commit))) (file-name (git-file-name "cl-i18n" version)) (sha256 - (base32 "1mdhfkk61djj39vgnns5y1cssd12h0m1cfwd21m8xpa2l3rqvmgf")))) + (base32 "0kj1wfvlbi7qwq61b0rcdxa0bmb4sfsnh1bj3n5jxp24sdib73w2")))) (build-system asdf-build-system/sbcl) (inputs (list sbcl-alexandria sbcl-babel sbcl-cl-ppcre-unicode)) @@ -21826,6 +21963,40 @@ on top of Hunchentoot.") (define-public ecl-simple-routes (sbcl-package->ecl-package sbcl-simple-routes)) +(define-public sbcl-eris + (package + (name "sbcl-eris") + (version "0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.ykonai.net/eris-cl") + (commit version))) + (file-name (git-file-name "cl-eris" version)) + (sha256 + (base32 "0qm74ld70aic39giamvix88500flv86047a82rx9gkjwaisf58rc")))) + (build-system asdf-build-system/sbcl) + (native-inputs (list sbcl-fiveam)) + (inputs + (list sbcl-alexandria + sbcl-bordeaux-threads + sbcl-function-cache + sbcl-ironclad + sbcl-mmap + sbcl-osicat + sbcl-serapeum + sbcl-trivial-gray-streams)) + (home-page "https://git.ykonai.net/eris-cl/") + (synopsis "ERIS implementation for Common Lisp") + (description + "This is a Common Lisp implementation of the Encoding for Robust Immutable +Storage specification (ERIS).") + (license license:lgpl3+))) + +(define-public cl-eris + (sbcl-package->cl-source-package sbcl-eris)) + (define-public sbcl-cl-ipfs-api2 (let ((commit "3ee52c80023bcc662f7d01276ea0a5814bd0011b") (revision "0")) @@ -21863,11 +22034,11 @@ for Common Lisp, using the HTTP API for (almost) everything, except for pubsub (sbcl-package->ecl-package sbcl-cl-ipfs-api2)) (define-public sbcl-purgatory - (let ((commit "ade0d60a14a1067b9cc8cf06d1f1a1ca8cecdb03") + (let ((commit "3afd8f6bb4093ffb2f39ffdedf11278b3617fff9") (revision "1")) (package (name "sbcl-purgatory") - (version (git-version "0.1.0" revision commit)) + (version (git-version "0.1.2" revision commit)) (source (origin (method git-fetch) @@ -21876,7 +22047,7 @@ for Common Lisp, using the HTTP API for (almost) everything, except for pubsub (commit commit))) (file-name (git-file-name "cl-purgatory" version)) (sha256 - (base32 "1mwlalymmfbx1jx5wzqcnpg5h8d0ylllm1p3f4lwaawfv05lk82s")))) + (base32 "0iy2jdgrwqrq9cph7bwf79d8l4zdsgcd9sfcn0lclzai2v0yizp9")))) (build-system asdf-build-system/sbcl) (inputs (list sbcl-alexandria @@ -22284,7 +22455,7 @@ JSON handling. Load the parser backend you prefer! (synopsis "Kenny's utilities for Common Lisp") (description "This library contains generic hacks meant to be used in any project. -It was originally developped for the Cells library.") +It was originally developed for the Cells library.") (license license:expat)))) (define-public cl-utils-kt @@ -22792,7 +22963,7 @@ to dispatch on the basis of types rather than classes.") (description "This library lets you build a metaclass which in turn lets you specify extra slot options in its classes. Options may be easily inspected and custom -inheritence may be set up. The Meta-Object Protocol (MOP) is used for the +inheritance may be set up. The Meta-Object Protocol (MOP) is used for the implementation - through @code{closer-mop}. Some convenience function for processing slot options are also available. diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index e702e499fc..c0d6ccfd19 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -45,6 +45,7 @@ #:use-module (guix build-system ocaml) #:use-module (guix build-system python) #:use-module (guix build-system r) + #:use-module (guix build-system trivial) #:use-module (guix git-download) #:use-module (gnu packages) #:use-module (gnu packages adns) @@ -103,6 +104,7 @@ #:use-module (gnu packages video) #:use-module (gnu packages web) #:use-module (gnu packages xml) + #:use-module (gnu packages xdisorg) #:use-module (gnu packages xorg) #:use-module (ice-9 match)) @@ -583,6 +585,22 @@ optimizing, and searching weighted finite-state transducers (FSTs).") (arguments '(#:configure-flags '("--enable-ngram-fsts" "CXXFLAGS=-std=c++14") #:make-flags '("CXXFLAGS=-std=c++14"))))) +(define openfst-for-vosk + (package + (inherit openfst) + (version "1.8.0") + (source + (origin + (method url-fetch) + (uri (string-append "http://www.openfst.org/twiki/pub/FST/" + "FstDownload/openfst-" version ".tar.gz")) + (sha256 + (base32 "0h2lfhhihg63b804hrcljnkggijbjmp84i5g8q735wb09y9z2c4p")))) + (arguments + '(#:configure-flags + '("--enable-shared" "--enable-far" "--enable-ngram-fsts" + "--enable-lookahead-fsts" "--with-pic" "--disable-bin"))))) + (define-public shogun (package (name "shogun") @@ -1580,6 +1598,104 @@ discrete, and conditional dimensions.") written in C++.") (license license:asl2.0)))) +(define kaldi-for-vosk + (let* ((commit "6417ac1dece94783e80dfbac0148604685d27579") + (revision "0") + (openfst openfst-for-vosk)) + (package + (inherit kaldi) + (name "kaldi") + (version (git-version "0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/alphacep/kaldi") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "04xw2dpfvpla8skpk08azmgr9k97cd8hn83lj4l85q165gbzql4s")))) + (inputs + (list alsa-lib + lapack ;; compared to base kaldi, replacing `(,gfortran "lib") + glib + gstreamer + jack-1 + openblas + openfst + portaudio + python)) + (arguments + (list + #:test-target "test" + #:make-flags ''("online2" "lm" "rnnlm") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ (chdir "src"))) + (replace 'configure + (lambda _ + (let* ((portaudio #$(this-package-input "portaudio")) + (lapack #$(this-package-input "lapack")) + (openfst #$(this-package-input "openfst")) + (openblas #$(this-package-input "openblas"))) + #$@(if (target-x86?) + '() + #~((substitute* "makefiles/linux_openblas.mk" + (("-msse -msse2") "")))) + (substitute* "makefiles/default_rules.mk" + (("/bin/bash") (which "bash"))) + (substitute* "Makefile" + (("ext_depend: check_portaudio") + "ext_depend:")) + (substitute* '("online/Makefile" + "onlinebin/Makefile" + "gst-plugin/Makefile") + (("../../tools/portaudio/install") + portaudio)) + (substitute* "matrix/Makefile" ;temporary test bypass + (("matrix-lib-test sparse-matrix-test") "")) + + ;; This `configure' script doesn't support variables passed as + ;; arguments, nor does it support "prefix". + (substitute* "configure" + (("check_for_slow_expf;") "") + ;; This affects the RPATH and also serves as the installation + ;; directory. + (("KALDILIBDIR=`pwd`/lib") + (string-append "KALDILIBDIR=" #$output "/lib")) + (("OPENBLASROOT=\\\"\\$\\(rel2abs ..\\/tools\\/OpenBLAS\\/install\\)\\\"") + (string-append "OPENBLASROOT=\"" openblas "\"")) + (("-L\\$OPENBLASLIBDIR -l:libopenblas.a -l:libblas.a -l:liblapack.a -l:libf2c.a") + (string-append "-L$OPENBLASLIBDIR -lopenblas " + "-L" lapack "/lib -lblas -llapack"))) + (mkdir-p #$output) ; must exist + (setenv "CONFIG_SHELL" (which "bash")) + (setenv "OPENFST_VER" #$(package-version openfst)) + (invoke "./configure" + "--use-cuda=no" + "--mathlib=OPENBLAS_CLAPACK" + "--shared" + (string-append "--fst-root=" openfst))))) + (add-after 'configure 'optimize-build + (lambda _ (substitute* "kaldi.mk" ((" -O1") " -O3")))) + (replace 'install + (lambda _ + (let* ((inc (string-append #$output "/include")) + (lib (string-append #$output "/lib"))) + ;; The build phase installed symlinks to the actual + ;; libraries. Install the actual targets. + (for-each (lambda (file) + (let ((target (readlink file))) + (delete-file file) + (install-file target lib))) + (find-files lib "\\.so")) + ;; Install headers + (for-each (lambda (file) + (let ((target-dir (string-append inc "/" (dirname file)))) + (install-file file target-dir))) + (find-files "." "\\.h"))))))))))) + (define-public gst-kaldi-nnet2-online (let ((commit "cb227ef43b66a9835c14eb0ad39e08ee03c210ad") (revision "2")) @@ -3371,3 +3487,187 @@ and Numpy.") "This package provides a Python library for probabilistic modeling and inference.") (license license:asl2.0))) + +(define-public vosk-api + (let* ((openfst openfst-for-vosk) + (kaldi kaldi-for-vosk)) + (package + (name "vosk-api") + (version "0.3.43") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/alphacep/vosk-api") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0xmp8i140c2hd3rj9dap8a2rnsvzb1k9hnqm12xzbaxrw73rkc29")))) + (build-system gnu-build-system) + (arguments + (list + #:tests? #f + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ (chdir "src"))) + (replace 'configure + (lambda _ + (let* ((lapack #$(this-package-input "lapack")) + (openfst #$(this-package-input "openfst")) + (openblas #$(this-package-input "openblas")) + (kaldi #$(this-package-input "kaldi"))) + (substitute* "./Makefile" + (("USE_SHARED\\?=0") + "USE_SHARED?=1") + (("-DFST_NO_DYNAMIC_LINKING") + "") + (("-lopenblas -llapack -lblas -lf2c") + (string-append + "-L" openblas "/lib " "-lopenblas " + "-L" lapack "/lib " "-llapack -lblas ")) + (("-lfst -lfstngram") + (string-append + "-L" openfst "/lib " "-lfst -lfstngram ")) + (("\\$\\(HOME\\)\\/travis\\/kaldi") + (string-append kaldi "/include")) + (("\\$\\(KALDI_ROOT\\)\\/tools\\/openfst") + openfst) + (("\\$\\(KALDI_ROOT\\)\\/tools\\/OpenBLAS\\/install") + openblas) + (("\\$\\(KALDI_ROOT\\)\\/libs") + (string-append kaldi "/lib")))))) + (replace 'install + (lambda _ + (let* ((lib (string-append #$output "/lib")) + (src (string-append #$output "/src"))) + (mkdir-p lib) + (mkdir-p src) + (install-file "libvosk.so" lib) + (for-each + (lambda (x) (install-file x src)) + (find-files "." "\\.h$")))))))) + (inputs (list kaldi openfst lapack openblas)) + (home-page "https://alphacephei.com/vosk") + (synopsis "Speech recognition toolkit based on @code{kaldi}") + (description "\ +This package provides a speech recognition toolkit based on @code{kaldi}. It +supports more than 20 languages and dialects - English, Indian English, +German, French, Spanish, Portuguese, Chinese, Russian, Turkish, Vietnamese, +Italian, Dutch, Catalan, Arabic, Greek, Farsi, Filipino, Ukrainian, Kazakh, +Swedish, Japanese, Esperanto, Hindi, Czech, Polish. The program works offline, +even on lightweight devices. Portable per-language models are about 50Mb each, +and there are much bigger and precise models available. + +Vosk API provides a streaming API allowing to use it `on-the-fly' and bindings +for different programming languages. It allows quick reconfiguration of +vocabulary for better accuracy, and supports speaker identification beside +simple speech recognition.") + (license license:asl2.0)))) + +(define-public python-vosk + (package + (inherit vosk-api) + (name "python-vosk") + (build-system python-build-system) + (propagated-inputs + (list python-cffi python-requests python-tqdm python-srt python-websockets)) + (inputs (list vosk-api)) + (arguments + (list + #:tests? #f ;; TODO There are tests but not run through Makefile. + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'config + (lambda _ + (chdir "python") + (setenv "VOSK_SOURCE" #$vosk-api))) + (add-before 'build 'from-abi-to-api + (lambda _ + (substitute* "vosk_builder.py" + (("ffibuilder\\.set_source\\(\"vosk.vosk_cffi\", None\\)") + (string-append + "ffibuilder.set_source(\"vosk.vosk_cffi\", " + "r\"\"\"\n#include\n#include\"\"\",\n\t" + "library_dirs=[" + "'" #$vosk-api "/lib'" + "],\n\t" + "libraries=['vosk', 'python3.9'],\n\t" + "include_dirs=[" + "'" #$vosk-api "/src'" "])"))) + (substitute* "vosk/__init__.py" + (("_c = open_dll\\(\\)") + "") + (("_ffi") + "ffi") + (("from \\.vosk_cffi import ffi as ffi") + "from .vosk_cffi import ffi, lib") + (("_c\\.") + "lib."))))))))) + +(define-public nerd-dictation + (let* ((commit "53ab129a5ee0f8b5df284e8cf2229219b732c59e") + (revision "0")) + (package + (name "nerd-dictation") + (version (git-version "0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ideasman42/nerd-dictation") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "184qijiva1h1x00dzicik0yzgh78pq2lqr5fkgicgp26mkarlyhc")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ (chdir "package/python")))))) + (propagated-inputs (list python-vosk)) + (inputs (list pulseaudio xdotool)) + (home-page "https://github.com/ideasman42/nerd-dictation") + (synopsis "Offline speech-to-text for desktop Linux") + (description "\ +This package provides simple access speech to text for using in +Linux without being tied to a desktop environment, using the @code{vosk-api}. +The user configuration lets you manipulate text using Python string +operations. It has zero overhead, as this relies on manual activation and +there are no background processes. Dictation is accessed manually with +@code{nerd-dictation begin} and @code{nerd-dictation end} commands.") + (license license:gpl3+)))) + +(define-public nerd-dictation/wayland + (package + (inherit nerd-dictation) + (name "nerd-dictation-wayland") + (inputs (list bash-minimal nerd-dictation)) + (propagated-inputs (list ydotool sox)) + (build-system trivial-build-system) + (arguments + (list + #:modules '((guix build utils)) + #:builder + #~(begin + (use-modules (guix build utils)) + (let* ((exe (string-append #$output "/bin/nerd-dictation")) + (original-exe #$(file-append nerd-dictation + "/bin/nerd-dictation")) + (bash #$(this-package-input "bash-minimal")) + (bash-exe (string-append bash "/bin/bash"))) + (mkdir-p (dirname exe)) + (call-with-output-file exe + (lambda (port) + (format port "#!~a +if [ \"$1\" = begin ] + then + exec ~a $@ --input=SOX --simulate-input-tool=YDOTOOL + else + exec ~a $@ +fi" + bash-exe + original-exe + original-exe))) + (chmod exe #o555))))))) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 68af3bb353..c959d9ee0a 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1323,14 +1323,14 @@ invoking @command{notifymuch} from the post-new hook.") (define-public notmuch (package (name "notmuch") - (version "0.36") + (version "0.37") (source (origin (method url-fetch) (uri (string-append "https://notmuchmail.org/releases/notmuch-" version ".tar.xz")) (sha256 - (base32 "0h6f6mh9m9vrijm638x5sbsl321b74a25cdasbxhx67x62w320hk")))) + (base32 "1xl64xh0ijfkx265lcj9cqv1wkzha8gsn9jn4fw4xgvqigr6sxhf")))) (build-system gnu-build-system) (arguments (list @@ -1692,7 +1692,7 @@ compresses it.") (define-public claws-mail (package (name "claws-mail") - (version "4.1.0") + (version "4.1.1") (source (origin (method url-fetch) @@ -1700,7 +1700,7 @@ compresses it.") (string-append "https://www.claws-mail.org/releases/claws-mail-" version ".tar.xz")) (sha256 - (base32 "13ksh4iwr23zi86fwmiwxha94xqrr5zxq373i82rwaldvfh9q6hf")))) + (base32 "0i037bskrnmsmylhmqayjg0pmsr0m2zx8xhbxc6mwvw9q40fg2di")))) (build-system glib-or-gtk-build-system) (arguments `(#:configure-flags @@ -2556,7 +2556,7 @@ for a variety of mailbox formats such as mbox, mh and maildir. Incoming mail can be sorted into separate files/directories and arbitrary commands can be executed on mail arrival. Procmail is considered stable, but is no longer maintained.") - (license license:gpl2+))) ;; procmail allows to choose the + (license license:gpl2+))) ;; procmail allows choosing the ;; nonfree Artistic License 1.0 ;; as alternative to the GPL2+. ;; This option is not listed here. @@ -2891,14 +2891,14 @@ easily (one at a time).") (define-public mpop (package (name "mpop") - (version "1.4.16") + (version "1.4.17") (source (origin (method url-fetch) (uri (string-append "https://marlam.de/mpop/releases/" "mpop-" version ".tar.xz")) (sha256 - (base32 "1yc7lsdy9gvlslvljqg34kvcaf4wvrwlvj6h5awkzlp6x9qva3l7")))) + (base32 "1mcbvzdbdr86zsq8zr1zryjrmfiqikckx3648zvdjh99mm5lkbj2")))) (build-system gnu-build-system) (inputs (list gnutls)) @@ -3935,7 +3935,7 @@ PGP handling, multiple servers, and secure connections.") (define-public imapfilter (package (name "imapfilter") - (version "2.7.5") + (version "2.7.6") (source (origin (method git-fetch) @@ -3944,16 +3944,17 @@ PGP handling, multiple servers, and secure connections.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0a7f85r3axwclzw1s79zl2l8222nj2gklvvq33w9qv0dz5n71dcx")))) + (base32 "0di9gwavgyr1xkd8sfh52ldkn2lq1kdad76ww2x4y0lhimnxw7gc")))) (build-system gnu-build-system) (arguments - `(#:tests? #f - #:make-flags - (list (string-append "PREFIX=" (assoc-ref %outputs "out")) - (string-append "CC=" ,(cc-for-target))) - #:phases - (modify-phases %standard-phases - (delete 'configure)))) ; no configure script + (list + #:tests? #f + #:make-flags + #~(list (string-append "PREFIX=" #$output) + (string-append "CC=" #$(cc-for-target))) + #:phases + #~(modify-phases %standard-phases + (delete 'configure)))) ; no configure script (inputs (list lua pcre2 openssl)) (home-page "https://github.com/lefcha/imapfilter") diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm index 50796df89e..813ef46e62 100644 --- a/gnu/packages/man.scm +++ b/gnu/packages/man.scm @@ -269,7 +269,7 @@ PostScript, and PDF. Additional tools include the @command{man} viewer, and (define-public man-pages (package (name "man-pages") - (version "5.13") + (version "6.00") (source (origin (method url-fetch) @@ -279,18 +279,30 @@ PostScript, and PDF. Additional tools include the @command{man} viewer, and (string-append "mirror://kernel.org/linux/docs/man-pages/Archive/" "man-pages-" version ".tar.xz"))) (sha256 - (base32 "12vb15gs56g8wl5nqlm4llr508brh4m2lfknhq4lizbxzqzawkb1")))) + (base32 "1252c1356z5spya3yl0lcmmymglx3bmfwmamiz1y5l13xqpwbnwy")))) (build-system gnu-build-system) (arguments - `(#:phases (modify-phases %standard-phases (delete 'configure)) + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'skip-html + ;; As of 6.00, this package tries to convert man pages to HTML with + ;; man2html. The only Guix package currently providing that script + ;; is man-for-txr, but that version seems unable to handle relative + ;; ‘.so’ statements properly. Disable HTML generation. + (lambda _ + (substitute* "lib/build-html.mk" + (("(html:) .*" _ target) (string-append target "\n"))))) + (delete 'configure)) - ;; The 'all' target depends on three targets that directly populate - ;; $(MANDIR) based on its current contents. Doing that in parallel - ;; leads to undefined behavior (see .) - #:parallel-build? #f + ;; The 'all' target depends on three targets that directly populate + ;; $(MANDIR) based on its current contents. Doing that in parallel + ;; leads to undefined behavior (see .) + #:parallel-build? #f - #:tests? #f - #:make-flags ,#~(list (string-append "mandir=" #$output "/share/man")))) + #:tests? #f + #:make-flags + #~(list (string-append "mandir=" #$output "/share/man")))) (home-page "https://www.kernel.org/doc/man-pages/") (synopsis "Development manual pages from the Linux project") (description diff --git a/gnu/packages/markup.scm b/gnu/packages/markup.scm index 791035deb3..35dd6d257b 100644 --- a/gnu/packages/markup.scm +++ b/gnu/packages/markup.scm @@ -46,6 +46,7 @@ #:use-module (gnu packages compression) #:use-module (gnu packages libffi) #:use-module (gnu packages perl) + #:use-module (gnu packages perl-check) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages python-xyz) @@ -360,6 +361,33 @@ for parsing and rendering CommonMark.") ;; licensed. See 'COPYING' in the source distribution for more information. (license (list license:bsd-2 license:expat license:cc-by-sa4.0)))) +(define-public perl-commonmark + (package + (name "perl-commonmark") + (version "0.290000") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/N/NW/NWELLNHOF/CommonMark-" + version ".tar.gz")) + (sha256 + (base32 + "1pgaqa4f00i9r5z7l9xiya0q51ysq0nhpvgr0f3rza3cxz1v80d5")))) + (build-system perl-build-system) + (arguments + `(#:make-maker-flags + ;; MakeMaker ignores LIBRARY_PATH. + (list (format #f "LIBS=-L~a/lib -lcmark" + (assoc-ref %build-inputs "cmark"))))) + (inputs (list cmark perl-test-leaktrace perl-devel-checklib + perl-module-build)) + (home-page "https://metacpan.org/release/CommonMark") + (synopsis "Interface to the CommonMark C library") + (description + "This module is an XS wrapper around the official +CommonMark C library libcmark. It closely follows the original API.") + (license license:perl-license))) + (define-public cmark-gfm (package (inherit cmark) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index a3089efabb..a21125361a 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -4442,7 +4442,7 @@ to BMP, JPEG or PNG image formats.") (wrap-program (string-append out "/bin/maxima") `("PATH" prefix (,binutils)))) #t)) - ;; The Maxima command ‘describe’ allows to pick the relevant portions + ;; The Maxima command ‘describe’ allows picking the relevant portions ;; from Maxima’s Texinfo docs. However it does not support reading ;; gzipped info files. (delete 'compress-documentation)))) diff --git a/gnu/packages/mes.scm b/gnu/packages/mes.scm index 72cdb503d7..d4e0e1203f 100644 --- a/gnu/packages/mes.scm +++ b/gnu/packages/mes.scm @@ -167,14 +167,14 @@ parsers to allow execution with Guile as extension languages."))) (define-public mes (package (name "mes") - (version "0.24") + (version "0.24.1") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/mes/" "mes-" version ".tar.gz")) (sha256 (base32 - "00lrpm4x5qg0l840zhbf9mr67mqhp8gljcl24j5dy0y109gf32w2")))) + "0d855agwawjjzwbjmvb5xlbwg77zdpwbjm9kjxc2wqvn0vmhq4im")))) (supported-systems '("armhf-linux" "i686-linux" "x86_64-linux")) (propagated-inputs (list mescc-tools nyacc-1.00.2)) (native-inputs diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 11abde0959..fa889d24a7 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -2403,7 +2403,6 @@ for the Matrix protocol. It is built on to of @code{Boost.Asio}.") #:tests? #f ;no test target #:configure-flags #~(list "-DCMAKE_BUILD_TYPE=Release" - "-DBUILD_DOCS=ON" ;; Fix required because we are using a static SingleApplication "-DCMAKE_CXX_FLAGS= \"-DQAPPLICATION_CLASS=QApplication\" " ;; Compile Qml will make Nheko faster, but you will need to recompile @@ -2469,7 +2468,7 @@ for the Matrix protocol. It is built on to of @code{Boost.Asio}.") xcb-util-wm zlib)) (native-inputs - (list asciidoc doxygen graphviz pkg-config qttools-5)) + (list asciidoc pkg-config qttools-5)) (home-page "https://github.com/Nheko-Reborn/nheko") (synopsis "Desktop client for Matrix using Qt and C++14") (description "@code{Nheko} want to provide a native desktop app for the diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm index 329574e7f7..4e9cb0cb37 100644 --- a/gnu/packages/mpd.scm +++ b/gnu/packages/mpd.scm @@ -110,7 +110,7 @@ interfacing MPD in the C, C++ & Objective C languages.") (define-public mpd (package (name "mpd") - (version "0.23.8") + (version "0.23.10") (source (origin (method url-fetch) (uri @@ -119,7 +119,7 @@ interfacing MPD in the C, C++ & Objective C languages.") "/mpd-" version ".tar.xz")) (sha256 (base32 - "1kvq9shd6b7y02r386s1chjmvs44wij5bfzn6qgq46dmyfdmdfw6")))) + "1a764k504nh9vqmsd92qh8sg03fwns19d7mypm618j6c8bmqqp30")))) (build-system meson-build-system) (arguments (list @@ -158,6 +158,7 @@ interfacing MPD in the C, C++ & Objective C languages.") libsndfile libvorbis opus + pipewire-0.3 pulseaudio sqlite zlib)) diff --git a/gnu/packages/mtools.scm b/gnu/packages/mtools.scm index c0977f0e17..3174e3852a 100644 --- a/gnu/packages/mtools.scm +++ b/gnu/packages/mtools.scm @@ -29,14 +29,14 @@ (define-public mtools (package (name "mtools") - (version "4.0.40") + (version "4.0.42") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/mtools/mtools-" version ".tar.bz2")) (sha256 (base32 - "1x2xknvyrbqjb6bv0h3p5s0bvss6ici1zxd7jcids4a06m1clbx2")) + "05fg5i8da5jdym3cq2939j7n3fqw4cz2riy1yci6pbw29pgdzgv4")) (patches (search-patches "mtools-mformat-uninitialized.patch")))) (build-system gnu-build-system) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 6b37c79389..72299f13f1 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -195,14 +195,14 @@ (define-public audacious (package (name "audacious") - (version "4.1") + (version "4.2") (source (origin (method url-fetch) (uri (string-append "https://distfiles.audacious-media-player.org/" "audacious-" version ".tar.bz2")) (sha256 - (base32 "0p734psjjvjcmla2hg5h6a9v1prvy63jj9xm2g2ngs49jy7qan0z")))) + (base32 "1cq4brifp992dhg0sbf180jjdv137g5wk8ac7hmzx0d4f3j09czy")))) (build-system gnu-build-system) (arguments `(#:configure-flags @@ -214,8 +214,7 @@ (add-after 'install 'unpack-plugins (lambda* (#:key inputs #:allow-other-keys) (let ((plugins (assoc-ref inputs "audacious-plugins"))) - (invoke "tar" "xvf" plugins) - #t))) + (invoke "tar" "xvf" plugins)))) (add-after 'unpack-plugins 'configure-plugins (lambda* (#:key configure-flags outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) @@ -247,7 +246,7 @@ (uri (string-append "https://distfiles.audacious-media-player.org/" "audacious-plugins-" version ".tar.bz2")) (sha256 - (base32 "0k0xnqmxi5lna034i2cnzvfzrykxmv4fbs1nkrc9sd2ma1igrmns")))) + (base32 "0zs1k91z272ql49qr7kxlxb0lajamc9ra41pgj3ynh8h7afgd83g")))) ("gettext" ,gettext-minimal) ("glib:bin" ,glib "bin") ; for gdbus-codegen ("pkg-config" ,pkg-config))) @@ -2284,7 +2283,7 @@ perform creative live mixes with digital music files.") (define-public synthv1 (package (name "synthv1") - (version "0.9.26") + (version "0.9.27") (source (origin (method url-fetch) (uri @@ -2292,7 +2291,7 @@ perform creative live mixes with digital music files.") "/synthv1-" version ".tar.gz")) (sha256 (base32 - "1asikh341f3vblrl8l07yakza80ybs8sid3n2qpsrvigaz3iymcd")))) + "13qcig5j69qzcxqs9w5x9shrbb6vyj00g2fz1jw1kxramppyvcvg")))) (build-system cmake-build-system) (arguments `(#:tests? #f)) ; there are no tests @@ -2316,7 +2315,7 @@ oscillators and stereo effects.") (define-public drumkv1 (package (name "drumkv1") - (version "0.9.26") + (version "0.9.27") (source (origin (method url-fetch) (uri @@ -2324,7 +2323,7 @@ oscillators and stereo effects.") "/drumkv1-" version ".tar.gz")) (sha256 (base32 - "0j05xqgcb7kwnnsgl6i7vbdsfq26chzs4zyq6pl0ipcmw4d82j8i")))) + "0j96z5bqh1mnldsda6dyp0jqp01mf7p55yr956rzkzg6jivj8fs3")))) (build-system cmake-build-system) (arguments `(#:tests? #f)) ; there are no tests @@ -2349,7 +2348,7 @@ effects.") (define-public samplv1 (package (name "samplv1") - (version "0.9.26") + (version "0.9.27") (source (origin (method url-fetch) (uri @@ -2357,7 +2356,7 @@ effects.") "/samplv1-" version ".tar.gz")) (sha256 (base32 - "1rqz3hf39hk2m15ihrkn8f5cqgbkvz3rq6r2k35rvn7sgvcq1dli")))) + "0wxdcw5qs58kjfnnl4lnmafj8qim8qmdfdzrgnxggyhjg5mrpyby")))) (build-system cmake-build-system) (arguments `(#:tests? #f)) ; there are no tests @@ -2382,7 +2381,7 @@ effects.") (define-public padthv1 (package (name "padthv1") - (version "0.9.26") + (version "0.9.27") (source (origin (method url-fetch) (uri @@ -2390,7 +2389,7 @@ effects.") "/padthv1-" version ".tar.gz")) (sha256 (base32 - "02pg0g4i65j46hirkc3xn7m2clm8krrafrkwjc1v8rkcdj6q2gw1")))) + "0ydm09g0ibvp1nf4fzzj6bkwlxx46pjxqgg8h76hwi6l8k0rz5m4")))) (build-system cmake-build-system) (arguments `(#:tests? #f)) ; there are no tests @@ -2694,7 +2693,7 @@ export.") (define-public pd (package (name "pd") - (version "0.51-4") + (version "0.52-2") (source (origin (method url-fetch) (uri @@ -2702,31 +2701,28 @@ export.") version ".src.tar.gz")) (sha256 (base32 - "1hgw1ciwr59f4f9s0h7c2l36wcsn3jsddhr1r9qj97vf64c1ynaj")))) + "04fcsfgnv2r7g7p8vk9s9n3wba1bx4xgqw5mhwv09xbw9s3gapg9")))) (build-system gnu-build-system) (arguments (let ((wish (string-append "wish" (version-major+minor (package-version tk))))) - `(#:tests? #f ; no "check" target - #:configure-flags - (list - "--enable-jack" - (string-append "--with-wish=" (string-append - (assoc-ref %build-inputs "tk") - "/bin/" ,wish))) - #:phases - (modify-phases %standard-phases - (add-before 'configure 'fix-with-path - (lambda _ - (substitute* "tcl/pd-gui.tcl" - (("exec wish ") (string-append "exec " (which ,wish) " "))) - #t)))))) + (list + #:tests? #f ; no "check" target + #:configure-flags + #~(list + "--enable-jack" + (string-append "--with-wish=" + (search-input-file %build-inputs + (string-append "/bin/" #$wish)))) + #:phases + #~(modify-phases %standard-phases + (add-before 'configure 'fix-wish-path + (lambda _ + (substitute* "tcl/pd-gui.tcl" + (("exec wish ") + (string-append "exec " (which #$wish) " "))))))))) (native-inputs - `(("autoconf" ,autoconf) - ("automake" ,automake) - ("libtool" ,libtool) - ("gettext" ,gettext-minimal) - ("pkg-config" ,pkg-config))) + (list autoconf automake libtool gettext-minimal pkg-config)) (inputs (list tk alsa-lib jack-1)) (home-page "https://puredata.info") @@ -3289,14 +3285,14 @@ from the command line.") (define-public qtractor (package (name "qtractor") - (version "0.9.27") + (version "0.9.29") (source (origin (method url-fetch) (uri (string-append "https://downloads.sourceforge.net/qtractor/" "qtractor-" version ".tar.gz")) (sha256 (base32 - "11131hb6n13n51rr319jhaa9jjxl9q8n9vkxq3si7gcxlli6pdbs")))) + "05g0zj5iy8knqccwglgql1flabgvpy4yqms4z1zqrkl9ws9bwc1x")))) (build-system cmake-build-system) (arguments `(#:tests? #f)) ; no "check" target diff --git a/gnu/packages/ncdu.scm b/gnu/packages/ncdu.scm index 9f238c06e7..c84c1c1270 100644 --- a/gnu/packages/ncdu.scm +++ b/gnu/packages/ncdu.scm @@ -59,14 +59,14 @@ ncurses installed.") (package (inherit ncdu) (name "ncdu2") ; To destinguish it from the C based version. - (version "2.1.2") + (version "2.2") (source (origin (method url-fetch) (uri (string-append "https://dev.yorhel.nl/download/ncdu-" version ".tar.gz")) (sha256 (base32 - "1p66691xgpljx1y92b4bfpn5rr7gnwbr5x3bf8bc78qq6vq6w3cy")))) + "1ph408p3by8hm33aqampcmk7anqpanajd6456cxl90gi38prya3r")))) (arguments (list #:make-flags diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index def28b6172..e5ab7a4571 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -872,14 +872,14 @@ systems with no further dependencies.") (define-public blueman (package (name "blueman") - (version "2.3.2") + (version "2.3.4") (source (origin (method url-fetch) (uri (string-append "https://github.com/blueman-project/blueman/releases" "/download/" version "/blueman-" version ".tar.xz")) (sha256 - (base32 "1bjh0cx9j2akygiqyxm7g0q74jyx9hpgf186gv3m31vks5zpvkw4")))) + (base32 "0lh1aqpdq6vi4agrgmm7fifjbxz2s5qcs3hr7nfjrwrp2j1361n2")))) (build-system glib-or-gtk-build-system) (arguments `(#:configure-flags (list "--enable-polkit" @@ -2666,7 +2666,7 @@ that block port 22.") (define-public iperf (package (name "iperf") - (version "3.11") + (version "3.12") (source (origin (method git-fetch) @@ -2675,7 +2675,7 @@ that block port 22.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "064sb8f9jxi5ii43swd73c0mm50lvk51v7awhgbj6p129c1a4nn5")))) + (base32 "0bkmlah8lsm9vciaa9k84x3g1fd0k6nwnsrzp8y04piyiplrvpsi")))) (build-system gnu-build-system) (arguments `(#:configure-flags @@ -4214,14 +4214,14 @@ realistic with today's hardware.") (define-public lldpd (package (name "lldpd") - (version "1.0.14") + (version "1.0.15") (source (origin (method url-fetch) (uri (string-append "https://media.luffy.cx/files/lldpd/lldpd-" version ".tar.gz")) (sha256 - (base32 "1s0j5p0mjh1pda1aq5wm4hd41fh1m864jgbs82y5sshi9whijj57")) + (base32 "09iidaan6gq384n7ykdwwsll3vmq6q7zd7j7j721k2p91c9kmzpp")) (modules '((guix build utils))) (snippet '(begin diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 121b13c115..5cda73e004 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -7283,7 +7283,7 @@ thousands of times faster than fork. (define-public ocaml-core (package (name "ocaml-core") - (version "0.15.0") + (version "0.15.1") (source (origin (method git-fetch) @@ -7292,7 +7292,7 @@ thousands of times faster than fork. (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1m2ybvlz9zlb2d0jc0j7wdgd18mx9sh3ds2ylkv0cfjx1pzi0l25")))) + (base32 "17vc2i5qb53dr0civ8pkrnnsn2nkydlq44ash7fhh93yb4sffy28")))) (build-system dune-build-system) (arguments `(#:package "core" @@ -8002,7 +8002,7 @@ support for Mparser."))) (define-public lablgtk3 (package (name "lablgtk") - (version "3.1.2") + (version "3.1.3") (source (origin (method git-fetch) (uri (git-reference @@ -8011,25 +8011,13 @@ support for Mparser."))) (file-name (git-file-name name version)) (sha256 (base32 - "0b17w9qb1f02h3313cm62mrqlhwxficppzm72n7sf8mmwrylxbm7")))) + "0rhdr89w7yj8pkga5xc7iqmqvrs28034wb7sm7vx7faaxczwjifn")))) (build-system dune-build-system) (arguments `(#:package "lablgtk3" - #:test-target "." - #:phases - (modify-phases %standard-phases - (add-before 'build 'make-writable - (lambda _ - (for-each (lambda (file) - (chmod file #o644)) - (find-files "." ".")))) - (add-before 'build 'set-version - (lambda _ - (substitute* "dune-project" - (("\\(name lablgtk3\\)") - (string-append "(name lablgtk3)\n(version " ,version ")")))))))) + #:test-target ".")) (propagated-inputs - (list ocaml-cairo2)) + (list ocaml-cairo2 ocaml-camlp-streams)) (inputs (list camlp5 gtk+)) (native-inputs diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 0d7f8a23ca..ed42e16e74 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -165,8 +165,8 @@ ;; Note: the 'update-guix-package.scm' script expects this definition to ;; start precisely like this. (let ((version "1.3.0") - (commit "31708431c53524f05e6a0c9fed920cb773e7dd21") - (revision 31)) + (commit "682639c107908426fe6bf0a1b8404b98b7820290") + (revision 32)) (package (name "guix") @@ -182,7 +182,7 @@ (commit commit))) (sha256 (base32 - "1j8qq6zgr20d1gi4n5dmvd9afd3d0k2h86ypajfyaa6bxpfj5i1r")) + "1ap8hfq46ncp7azhdvc9s64a9q9y74xfqpgfwlcgz6sw82a09yh0")) (file-name (string-append "guix-" version "-checkout")))) (build-system gnu-build-system) (arguments @@ -350,7 +350,7 @@ $(prefix)/etc/openrc\n"))) (bs (assoc-ref inputs "guile-bytestructures")) (ssh (assoc-ref inputs "guile-ssh")) - (gnutls (assoc-ref inputs "gnutls")) + (gnutls (assoc-ref inputs "guile-gnutls")) (disarchive (assoc-ref inputs "disarchive")) (lzma (assoc-ref inputs "guile-lzma")) (locales (assoc-ref inputs "glibc-utf8-locales")) @@ -406,7 +406,7 @@ $(prefix)/etc/openrc\n"))) ;; Guile libraries are needed here for ;; cross-compilation. ("guile" ,guile-3.0-latest) ;for faster builds - ("gnutls" ,gnutls) + ("guile-gnutls" ,guile-gnutls) ,@(if (%current-target-system) '() `(("guile-avahi" ,guile-avahi))) @@ -435,6 +435,7 @@ $(prefix)/etc/openrc\n"))) ("gzip" ,gzip) ("sqlite" ,sqlite) ("libgcrypt" ,libgcrypt) + ("zlib" ,zlib) ("guile" ,guile-3.0-latest) @@ -463,7 +464,7 @@ $(prefix)/etc/openrc\n"))) ("glibc-utf8-locales" ,glibc-utf8-locales))) (propagated-inputs - `(("gnutls" ,gnutls) + `(("guile-gnutls" ,guile-gnutls) ;; Avahi requires "glib" which doesn't cross-compile yet. ,@(if (%current-target-system) '() @@ -550,7 +551,7 @@ the Nix package manager.") (inputs (modify-inputs (package-inputs guix) (delete "boot-guile" "boot-guile/i686" "util-linux") - (prepend gnutls guile-git guile-json-3 guile-gcrypt))) + (prepend guile-gnutls guile-git guile-json-3 guile-gcrypt))) (propagated-inputs '()) @@ -1366,8 +1367,8 @@ environments.") "0k9zkdyyzir3fvlbcfcqy17k28b51i20rpbjwlx2i1mwd2pw9cxc"))))))) (define-public guix-build-coordinator - (let ((commit "b15be71ded7a178857ccabea37f000248385f514") - (revision "63")) + (let ((commit "6cd8bd854332301edef6eee68080881b8349d768") + (revision "67")) (package (name "guix-build-coordinator") (version (git-version "0" revision commit)) @@ -1378,7 +1379,7 @@ environments.") (commit commit))) (sha256 (base32 - "08d794mq9p4n26b6d0qn9790qavxl4s9l8yp6rwbfc8l10j2gksb")) + "125dq7xr5crwq5l33dnxcyba90axkki0kw4m290qvz6xv21ydmj0")) (file-name (string-append name "-" version "-checkout")))) (build-system gnu-build-system) (arguments @@ -1414,7 +1415,7 @@ environments.") "guile-lzlib" "guile-zlib" "guile-sqlite3" - "gnutls" + "guile-gnutls" ,@(if (hurd-target?) '() '("guile-fibers"))))) @@ -1458,7 +1459,7 @@ environments.") (list pkg-config autoconf automake - gnutls + guile-gnutls ;; Guile libraries are needed here for cross-compilation. guile-json-4 @@ -1486,7 +1487,7 @@ environments.") guile-zlib guile-sqlite3 guix - gnutls) + guile-gnutls) (if (hurd-target?) '() (list guile-fibers-1.1)))) @@ -1535,7 +1536,7 @@ outputs of those builds.") "guile-lzlib" "guile-zlib" "guile-sqlite3" - "gnutls"))) + "guile-gnutls"))) (wrap-program file `("PATH" ":" prefix (,bin)) `("GUILE_LOAD_PATH" ":" prefix @@ -1563,7 +1564,7 @@ outputs of those builds.") (list pkg-config autoconf automake - gnutls + guile-gnutls ;; Guile libraries are needed here for cross-compilation. guile-json-4 @@ -1584,7 +1585,7 @@ outputs of those builds.") guile-lzlib guile-zlib guix - gnutls))) + guile-gnutls))) (description "The Guix Build Coordinator helps with performing lots of builds across potentially many machines, and with doing something with the results and @@ -1721,7 +1722,7 @@ in an isolated environment, in separate namespaces.") "guile-lzlib" "guile-prometheus" "guile-sqlite3" - "gnutls" + "guile-gnutls" "guile-fibers"))) (wrap-program file `("GUILE_LOAD_PATH" ":" prefix @@ -1748,7 +1749,7 @@ in an isolated environment, in separate namespaces.") (list pkg-config autoconf automake - gnutls + guile-gnutls ;; Guile libraries are needed here for cross-compilation. (car (assoc-ref (package-native-inputs guix) "guile")) @@ -1772,7 +1773,7 @@ in an isolated environment, in separate namespaces.") guile-lib guile-lzlib guile-sqlite3 - gnutls)) + guile-gnutls)) (home-page "https://git.cbaines.net/guix/nar-herder") (synopsis "Utility for managing and serving nars") (description @@ -1848,7 +1849,7 @@ for packaging and deployment of cross-compiled Windows applications.") (define-public libostree (package (name "libostree") - (version "2022.5") + (version "2022.6") (source (origin (method url-fetch) @@ -1856,7 +1857,7 @@ for packaging and deployment of cross-compiled Windows applications.") "https://github.com/ostreedev/ostree/releases/download/v" (version-major+minor version) "/libostree-" version ".tar.xz")) (sha256 - (base32 "0gq53g601x09gc4ips6n3zmmdaz8zyv235xf63fxf4f17fclsk4i")))) + (base32 "135dzxqzy19a8hkxm25mriy7zf72sbxz1mzzfw6a2d8bk9yz8pl3")))) (build-system gnu-build-system) (arguments '(#:phases diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm index 5a5d0f7399..b269234338 100644 --- a/gnu/packages/parallel.scm +++ b/gnu/packages/parallel.scm @@ -63,14 +63,14 @@ (define-public parallel (package (name "parallel") - (version "20220922") + (version "20221022") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/parallel/parallel-" version ".tar.bz2")) (sha256 - (base32 "1hfar4hvzcic5gv7nl7jr6hafhgiax005zydwxcwxvy1vm4s3cqm")) + (base32 "1glrgk79nvw8p7aq70x14mgw2py9zphzlsnwl41l9rzx781yfc3m")) (snippet '(begin (use-modules (guix build utils)) diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index 8e29bef484..53cf8c51b5 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -37,6 +37,7 @@ ;;; Copyright © 2022 Maxim Cournoyer ;;; Copyright © 2022 Maxime Devos ;;; Copyright © 2022 ( +;;; Copyright © 2022 Nicolas Graves ;;; ;;; This file is part of GNU Guix. ;;; @@ -57,6 +58,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix utils) #:use-module (guix build-system cmake) + #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix build-system go) #:use-module (guix build-system python) @@ -137,7 +139,7 @@ human.") (define-public keepassxc (package (name "keepassxc") - (version "2.7.1") + (version "2.7.3") (source (origin (method url-fetch) @@ -145,7 +147,7 @@ human.") "/releases/download/" version "/keepassxc-" version "-src.tar.xz")) (sha256 - (base32 "1ryk2ndv93jb155cp7qkjm7jd8hjy0v5gqvdvbdidhrmdiibl0b0")))) + (base32 "1pm7n960zyz6gr3qsia7y7kg1938zf460q4nlzs4i70vmridcp9x")))) (build-system cmake-build-system) (arguments (list @@ -371,7 +373,7 @@ and vice versa.") (define-public cracklib (package (name "cracklib") - (version "2.9.7") + (version "2.9.8") (source (origin (method url-fetch) @@ -379,7 +381,7 @@ and vice versa.") "releases/download/v" version "/" "cracklib-" version ".tar.bz2")) (sha256 - (base32 "1rimpjsdnmw8f5b7k558cic41p2qy2n2yrlqp5vh7mp4162hk0py")))) + (base32 "11p3f0yqg9d32g3n1qik7jfyl2l14pf8i8vzq3bpram3bqw3978z")))) (build-system gnu-build-system) (arguments `(#:phases @@ -589,6 +591,67 @@ changes to your password database to a git repository that can be managed through the pass command.") (license license:gpl2+))) +(define-public pass-age + (package + (inherit password-store) + (name "pass-age") + (version "1.7.4a0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/FiloSottile/passage") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "17899whffnpqqx9x1nx2b8bfxbxlh1pwlglqa0kznl0cn6sb37ql")))) + (build-system copy-build-system) + (arguments + '(#:modules + ((guix build copy-build-system) + (guix build utils) + (srfi srfi-26)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'rename-script + (lambda _ + (rename-file "src/password-store.sh" + "src/passage"))) + (add-after 'install 'wrap-script + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (script (string-append out "/bin/passage"))) + (substitute* script + ;; Avoid ugly ‘.passage-real’ in --help output and elsewhere. + (("^(PROGRAM=).*" _ program=) + (string-append program= (basename script) "\n"))) + (wrap-program script + `("PATH" ":" prefix + ,(map dirname + (map (cut search-input-file inputs <>) + (list "bin/age" + "bin/age-keygen" + "bin/getopt" + "bin/git" + "bin/pkill" + "bin/qrencode" + "bin/sed" + "bin/tree"))))))))) + #:install-plan + '(("src/passage" "/bin/") + ("src/completion/pass.bash-completion" + "/share/bash-completion/completions/") + ("src/completion/pass.zsh-completion" + "/share/zsh/site-functions/")))) + (inputs + (list age age-keygen git procps qrencode sed tree util-linux)) + (home-page "https://github.com/FiloSottile/passage") + (synopsis "Encrypted password manager") + (description "This package provides an encrypted password manager, forked +from the @code{password-store} package. Files are encrypted with the +@command{age} encryption package with small explicit keys.") + (license license:gpl2+))) + (define-public pass-otp (package (name "pass-otp") @@ -1315,7 +1378,7 @@ encryption algorithm if so desired.") (define-public pass-tomb (package (name "pass-tomb") - (version "1.2") + (version "1.3") (source (origin (method git-fetch) @@ -1324,7 +1387,7 @@ encryption algorithm if so desired.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1qj7vx7svk1ljwihj3kv310k17mafnf919n30n4qn1yxmmsvj924")))) + (base32 "1sjkbdm2i3v77nbnap8sypbfdqwxckc8h66g3ixjnyr6cqgcrdli")))) (build-system gnu-build-system) (arguments `(#:make-flags diff --git a/gnu/packages/patches/diffoscope-fix-llvm-test.patch b/gnu/packages/patches/diffoscope-fix-llvm-test.patch index 45e496a128..1c1c344720 100644 --- a/gnu/packages/patches/diffoscope-fix-llvm-test.patch +++ b/gnu/packages/patches/diffoscope-fix-llvm-test.patch @@ -3,7 +3,7 @@ From: Tobias Geerinckx-Rice Date: Mon, 4 Oct 2021 21:03:43 +0200 Subject: [PATCH] gnu: diffoscope: Fix test_item3_deflate_llvm_bitcode. -Taken verbatim from Nixpkgs[0]. +Taken verbatim from Nixpkgs[0]. Later extended for diffoscope >= 224. [0]: https://github.com/NixOS/nixpkgs/blob/589e03f109092a3ba97781fd0533110bf78a3f97/pkgs/tools/misc/diffoscope/fix-tests.patch --- @@ -11,18 +11,19 @@ Taken verbatim from Nixpkgs[0]. 1 file changed, 3 deletions(-) diff --git a/tests/comparators/test_rlib.py b/tests/comparators/test_rlib.py -index 8d201ab..05960aa 100644 +index 8a20114d..64cea17f 100644 --- a/tests/comparators/test_rlib.py +++ b/tests/comparators/test_rlib.py -@@ -81,9 +81,6 @@ def rlib_dis_expected_diff(): +@@ -80,12 +80,6 @@ def rlib_dis_expected_diff(): if actual_ver >= "7.0": diff_file = "rlib_llvm_dis_expected_diff_7" - if actual_ver >= "10.0": - diff_file = "rlib_llvm_dis_expected_diff_10" +- +- if actual_ver >= "15.0": +- diff_file = "rlib_llvm_dis_expected_diff_15" - return get_data(diff_file) --- -2.33.0 diff --git a/gnu/packages/patches/giac-pari-gp-anyarg.patch b/gnu/packages/patches/giac-pari-gp-anyarg.patch deleted file mode 100644 index 0441f6bcf9..0000000000 --- a/gnu/packages/patches/giac-pari-gp-anyarg.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 041d16b521d8231e5b441015f08bb386f9d2a51c Mon Sep 17 00:00:00 2001 -From: Vincent Delecroix <20100.delecroix@gmail.com*> -Date: Thu, 15 Sep 2022 12:11:01 +0200 -Subject: ANYARG giac patch - ---- -diff --git a/src/pari.cc b/src/pari.cc -index 76ce8e1..50d08ab 100644 ---- a/src/pari.cc -+++ b/src/pari.cc -@@ -40,6 +40,13 @@ using namespace std; - - #ifdef HAVE_LIBPARI - -+// Anyarg disappeared from PARI 2.15.0 -+#ifdef __cplusplus -+# define ANYARG ... -+#else -+# define ANYARG -+#endif -+ - #ifdef HAVE_PTHREAD_H - #include - #endif - --- -cgit v1.0-1-gd88e - diff --git a/gnu/packages/patches/rust-shell2batch-lint-fix.patch b/gnu/packages/patches/rust-shell2batch-lint-fix.patch deleted file mode 100644 index 7c160b6cca..0000000000 --- a/gnu/packages/patches/rust-shell2batch-lint-fix.patch +++ /dev/null @@ -1,25 +0,0 @@ -Resolves the following error that was most likely introduced in new version of -rust as this package is from 2019: - -error: unnecessary parentheses around type - --> src/converter.rs:108:61 - | -108 | fn add_arguments(arguments: &str, additional_arguments: Vec<(String)>, pre: bool) -> String { - | ^^^^^^^^ help: remove these parentheses - -Reported upstream at https://github.com/sagiegurari/shell2batch/issues/17. - -diff --git a/src/converter.rs b/src/converter.rs -index fc87d68..af309d2 100644 ---- a/src/converter.rs -+++ b/src/converter.rs -@@ -105,7 +105,7 @@ fn replace_vars(arguments: &str) -> String { - updated_arguments - } - --fn add_arguments(arguments: &str, additional_arguments: Vec<(String)>, pre: bool) -> String { -+fn add_arguments(arguments: &str, additional_arguments: Vec, pre: bool) -> String { - let mut windows_arguments = if pre { - "".to_string() - } else { - diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index 430857bf30..c6f1e952f9 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -315,7 +315,8 @@ When present, Poppler is able to correctly render CJK and Cyrillic text.") ;; XXX: Remove it on core-updates. It is only needed for evince 42.3 that ;; requires a recent poppler. (define-public poppler-next - (package/inherit poppler + (package + (inherit poppler) (name "poppler-next") (version "22.09.0") (source (origin @@ -963,7 +964,7 @@ using a stylus.") (define-public xournalpp (package (name "xournalpp") - (version "1.1.1") + (version "1.1.2") (source (origin (method git-fetch) @@ -972,7 +973,7 @@ using a stylus.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "16pf50x1ps8dcynnvw5lz7ggl0jg7qvzv6gkd30xg3hkcxff8ch3")))) + (base32 "13q3fsrszq828gki3z42lda9gghm9wsnsg7iylp1ypcbj7hd5zhk")))) (build-system cmake-build-system) (arguments (list @@ -1498,7 +1499,7 @@ manipulating PDF documents from the command line. It supports (define-public weasyprint (package (name "weasyprint") - (version "54.3") + (version "56.1") (source (origin (method git-fetch) @@ -1508,7 +1509,7 @@ manipulating PDF documents from the command line. It supports (file-name (git-file-name name version)) (sha256 (base32 - "0cn8gpgyic6pmrnhp0540nbgplpsd5aybi7k89anz6m1sshgjzgs")))) + "08l0yaqg0rxnb2r3x4baf4wng5pxpjbyalnrl4glwh9l69740q7p")))) (build-system python-build-system) (arguments (list diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index b5944eb0dc..b6c33b2a36 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Courtès ;;; Copyright © 2013, 2019, 2020, 2021 Andreas Enge -;;; Copyright © 2015, 2016, 2017, 2019, 2021 Ricardo Wurmus +;;; Copyright © 2015, 2016, 2017, 2019, 2021, 2022 Ricardo Wurmus ;;; Copyright © 2015, 2016, 2017, 2019, 2020 Eric Bavier ;;; Copyright © 2015 Eric Dvorsak ;;; Copyright © 2016, 2018 Mark H Weaver @@ -71,6 +71,7 @@ #:use-module (gnu packages gtk) #:use-module (gnu packages hurd) #:use-module (gnu packages image) + #:use-module (gnu packages language) #:use-module (gnu packages less) #:use-module (gnu packages ncurses) #:use-module (gnu packages perl-check) @@ -331,6 +332,74 @@ administration, web development, network programming, GUI development, and more.") (license license:gpl1+))) +(define-public perl-5.6 + (package + (inherit perl-5.14) + (name "perl") + (version "5.6.2") + (source (origin + (method url-fetch) + (uri (string-append "https://www.cpan.org/src/5.0/perl-" + version ".tar.gz")) + (sha256 + (base32 + "0khk94gvc8qkwxdb98khmxbwxxdbhap7rxb9ymkha6vhpxp6zrm5")))) + (properties `((release-date . "2003-11-15") + (hidden? . #t))) ;only for GHC 4. + (build-system gnu-build-system) + (arguments + '(#:tests? #f + #:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (libc (assoc-ref inputs "libc"))) + ;; Use the right path for `pwd'. + (substitute* "lib/Cwd.pm" + (("/bin/pwd") + (which "pwd"))) + + (invoke "./Configure" + (string-append "-Dprefix=" out) + (string-append "-Dman1dir=" out "/share/man/man1") + (string-append "-Dman3dir=" out "/share/man/man3") + "-de" "-Dcc=gcc" + "-Uinstallusrbinperl" + "-Dinstallstyle=lib/perl5" + "-Duseshrplib" + (string-append "-Dlocincpth=" libc "/include") + (string-append "-Dloclibpth=" libc "/lib") + + ;; Force the library search path to contain only libc + ;; because it is recorded in Config.pm and + ;; Config_heavy.pl; we don't want to keep a reference + ;; to everything that's in $LIBRARY_PATH at build + ;; time (Binutils, bzip2, file, etc.) + (string-append "-Dlibpth=" libc "/lib") + (string-append "-Dplibpth=" libc "/lib"))))) + (add-after 'configure 'bleh + (lambda _ + (substitute* '("makefile" + "x2p/makefile") + ((".*\\.*") "")) + ;; Don't look for /usr/include/errno.h. + (substitute* "ext/Errno/Errno_pm.PL" + (("O eq 'linux'") "O eq 'loonix'")) + (substitute* "ext/IPC/SysV/SysV.xs" + ((".*asm/page.h.*") "")))) + (add-before 'strip 'make-shared-objects-writable + (lambda* (#:key outputs #:allow-other-keys) + ;; The 'lib/perl5' directory contains ~50 MiB of .so. Make them + ;; writable so that 'strip' actually strips them. + (let* ((out (assoc-ref outputs "out")) + (lib (string-append out "/lib"))) + (for-each (lambda (dso) + (chmod dso #o755)) + (find-files lib "\\.so$")))))))) + (native-inputs + (list gcc-5)))) + (define-public perl-algorithm-c3 (package (name "perl-algorithm-c3") @@ -2008,6 +2077,33 @@ of the style used by the Git version control system.") and writing of @code{.ini}-style configuration files.") (license (package-license perl)))) +(define-public perl-config-tiny + (package + (name "perl-config-tiny") + (version "2.28") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/R/RS/RSAVAGE/Config-Tiny-" + version ".tgz")) + (sha256 + (base32 + "000mw17nb7aj341s0afqimxd53w5y0c4yk61pihqzm191lx89pqj")))) + (build-system perl-build-system) + (native-inputs (list perl-test-pod)) + (home-page "https://metacpan.org/release/Config-Tiny") + (synopsis "Read/Write .ini style files with as little code as possible") + (description + "@code{Config::Tiny} is a Perl class to read and write .ini +style configuration files with as little code as possible, reducing load time +and memory overhead. + +This module is primarily for reading human written files, and anything we write +shouldn't need to have documentation/comments. If you need something with more +power move up to @code{Config::Simple}, @code{Config::General} or one of the +many other @code{Config::*} modules.") + (license license:perl-license))) + (define-public perl-const-fast (package (name "perl-const-fast") @@ -2166,6 +2262,51 @@ CPAN::Meta object are present.") versa.") (license (package-license perl)))) +(define-public perl-critic + (package + (name "perl-critic") + (version "1.140") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/P/PE/PETDANCE/Perl-Critic-" + version ".tar.gz")) + (sha256 + (base32 + "1nzxpn71mrpp85yxrxlraj52q2skvf9ja887ls11d57h6smg1vmz")))) + (build-system perl-build-system) + (native-inputs (list perl-module-build perl-test-deep)) + (propagated-inputs (list perltidy + perl-exception-class + perl-io-string + perl-ppi + perl-ppix-regexp + perl-b-keywords + perl-config-tiny + perl-padwalker + perl-test-memory-cycle + perl-file-which + perl-list-moreutils + perl-module-pluggable + perl-pod-parser + perl-pod-spell + perl-ppix-quotelike + perl-ppix-utilities + perl-readonly + perl-string-format + perl-task-weaken)) + (home-page "https://metacpan.org/release/Perl-Critic") + (synopsis "Critique Perl source code for best-practices") + (description + "@code{perlcritic} is a Perl source code analyzer. It is the +executable front-end to the @code{Perl::Critic} engine, which attempts to +identify awkward, hard to read, error-prone, or unconventional constructs in +your code. Most of the rules are based on Damian Conway's book \"Perl Best +Practices\". However, @code{perlcritic} is not limited to enforcing PBP, and it +will even support rules that contradict Conway. All rules can easily be +configured or disabled to your liking.") + (license license:perl-license))) + (define-public perl-crypt-cbc (package (name "perl-crypt-cbc") @@ -8614,6 +8755,34 @@ the @dfn{Pod} (plain old documentation) markup language that is typically used for writing documentation for Perl and for Perl modules.") (license (package-license perl)))) +(define-public perl-pod-spell + (package + (name "perl-pod-spell") + (version "1.25") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/H/HA/HAARG/Pod-Spell-" version + ".tar.gz")) + (sha256 + (base32 + "18wzpfn39hpw6n8g9pwh964nid8skks79i5jdcm33gf9kf5qx3r0")))) + (build-system perl-build-system) + (native-inputs (list perl-file-sharedir-install)) + (propagated-inputs (list perl-class-tiny perl-file-sharedir + perl-lingua-en-inflect)) + (home-page "https://metacpan.org/release/Pod-Spell") + (synopsis "Formatter for spellchecking Pod") + (description + "@code{Pod::Spell} is a Pod formatter whose output is good +for spellchecking. + +@code{Pod::Spell} is rather like @code{Pod::Text}, except that it doesn't put +much effort into actual formatting, and it suppresses things that look like Perl +symbols or Perl jargon (so that your spellchecking program won't complain about +mystery words like \"@code{$thing}\" or \"@code{Foo::Bar}\" or \"@code{hashref}\").") + (license license:artistic2.0))) + (define-public perl-posix-strftime-compiler (package (name "perl-posix-strftime-compiler") @@ -8662,6 +8831,80 @@ applications.") code.") (license license:perl-license))) +(define-public perl-ppix-regexp + (package + (name "perl-ppix-regexp") + (version "0.085") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/W/WY/WYANT/PPIx-Regexp-" version + ".tar.gz")) + (sha256 + (base32 + "07fg63ql3f7hv1ys10l8j0p562ndraq9lk66iw9y0f444j4vpw1f")))) + (build-system perl-build-system) + (native-inputs (list perl-module-build)) + (propagated-inputs (list perl-ppi)) + (home-page "https://metacpan.org/release/PPIx-Regexp") + (synopsis "Parse Perl string literals and string-literal-like things") + (description + "The purpose of the @code{PPIx-Regexp} package is to parse +regular expressions in a manner similar to the way the @code{PPI} package parses +Perl. This class forms the root of the parse tree, playing a role similar to +@code{PPI::Document}.") + (license license:perl-license))) + +(define-public perl-ppix-quotelike + (package + (name "perl-ppix-quotelike") + (version "0.023") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/W/WY/WYANT/PPIx-QuoteLike-" + version ".tar.gz")) + (sha256 + (base32 + "08ad4d20afvi1c4xzwbfk94lmf6gwlmqkdrpjxzf0lrcklaa6xim")))) + (build-system perl-build-system) + (native-inputs (list perl-module-build)) + (propagated-inputs (list perl-ppi perl-ppix-regexp perl-readonly)) + (home-page "https://metacpan.org/release/PPIx-QuoteLike") + (synopsis "Parse Perl string literals and string-literal-like things") + (description + "@code{PPIX::QuoteLike} parses Perl string literals and things that +are reasonably like string literals. Its real reason for being is to find +interpolated variables for @code{Perl::Critic} policies and similar code.") + (license license:perl-license))) + +(define-public perl-ppix-utilities + (package + (name "perl-ppix-utilities") + (version "1.001000") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/E/EL/ELLIOTJS/PPIx-Utilities-" + version ".tar.gz")) + (sha256 + (base32 + "16yb7dnz8lgq2azs8jxj1wac60kbn16x8y4py04ci8nndww87903")))) + (build-system perl-build-system) + (native-inputs (list perl-module-build perl-test-deep)) + (propagated-inputs (list perl-exception-class perl-ppi perl-readonly-xs + perl-task-weaken)) + (home-page "https://metacpan.org/release/PPIx-Utilities") + (synopsis "Extensions to PPI") + (description + "@code{PPIx::Utilities} is a collection of functions for dealing +with @code{PPI} objects, many of which originated in @code{Perl::Critic}. They +are organized into modules by the kind of @code{PPI} class they relate to, by +replacing the \"@code{PPI}\" at the front of the module name with +\"@code{PPIx::Utilities}\", e.g. functionality related to @code{PPI::Nodes} is +in @code{PPIx::Utilities::Node}.") + (license license:perl-license))) + (define-public perl-probe-perl (package (name "perl-probe-perl") @@ -8730,6 +8973,38 @@ can also be useful as a development and debugging tool for catching updates to variables that should not be changed.") (license (package-license perl)))) +(define-public perl-readonly-xs + (package + (name "perl-readonly-xs") + (version "1.05") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/R/RO/ROODE/Readonly-XS-" version + ".tar.gz")) + (sha256 + (base32 + "03gz7yp194fwah2bc36ww04hgw1qx8p6y68vvnywircrablc9rca")))) + (build-system perl-build-system) + (propagated-inputs (list perl-readonly)) + (home-page "https://metacpan.org/release/Readonly-XS") + (synopsis "Companion module for @code{Readonly.pm}, to speed up read-only +scalar variables") + (description + "The @code{Readonly} module is an effective way to create non-modifiable +variables. However, it's relatively slow. + +The reason it's slow is that is implements the read-only-ness of variables via +tied objects. This mechanism is inherently slow. Perl simply has to do a lot +of work under the hood to make tied variables work. + +This module corrects the speed problem, at least with respect to scalar +variables. When @code{Readonly::XS} is installed, @code{Readonly} uses it to +access the internals of scalar variables. Instead of creating a scalar variable +object and tying it, @code{Readonly} simply flips the @code{SvREADONLY} bit in +the scalar's @code{FLAGS} structure.") + (license license:perl-license))) + (define-public perl-ref-util-xs (package (name "perl-ref-util-xs") @@ -8775,6 +9050,30 @@ codes.") ;; Quad-licensed: Perl Artistic, Perl Artistic 2.0, X11, and BSD. (license (list (package-license perl) license:x11 license:bsd-3)))) +(define-public perl-regexp-grammars + (package + (name "perl-regexp-grammars") + (version "1.058") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/D/DC/DCONWAY/Regexp-Grammars-" + version ".tar.gz")) + (sha256 + (base32 + "14hwskrmy6ma0k9nr1amrf7wpb1f6jsx7x29kgizlx0n4n7db27a")))) + (build-system perl-build-system) + (native-inputs (list perl-module-build perl-test-pod perl-moose)) + (home-page "https://metacpan.org/release/Regexp-Grammars") + (synopsis "Complete recursive descent parser on Perl's regex engine") + (description + "The @code{Regexp::Grammars} module adds a small number of new +regex constructs that can be used within Perl 5.10 patterns to implement +complete recursive-descent parsing. It allows you to go beyond matching +complex, nested and recursive structures, and allows you to parse and extract +hierarchical data from it.") + (license license:perl-license))) + (define-public perl-regexp-util (package (name "perl-regexp-util") @@ -9308,6 +9607,30 @@ expanding standard C/Unix-style backslash escapes like \n and \t, wrapping and removing double-quotes, and truncating to fit within a desired length.") (license (package-license perl)))) +(define-public perl-string-format + (package + (name "perl-string-format") + (version "1.18") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/S/SR/SREZIC/String-Format-" + version ".tar.gz")) + (sha256 + (base32 + "0y77frxzjifd4sw0j19cc346ysas1mya84rdxaz279lyin7plhcy")))) + (build-system perl-build-system) + (home-page "https://metacpan.org/release/String-Format") + (synopsis "Format sprintf-like strings with arbitrary format definitions") + (description + "@code{String::Format} lets you define arbitrary printf-like format +sequences to be expanded. This module would be most useful in configuration +files and reporting tools, where the results of a query need to be formatted in +a particular way. It was inspired by +@url{http://www.mutt.org/doc/manual/manual.html#index-format,mutt's +@code{index_format} and related directives}.") + (license license:gpl2))) + (define-public perl-string-formatter (package (name "perl-string-formatter") diff --git a/gnu/packages/photo.scm b/gnu/packages/photo.scm index 378f60793f..e819b5312d 100644 --- a/gnu/packages/photo.scm +++ b/gnu/packages/photo.scm @@ -460,7 +460,7 @@ photographic equipment.") (define-public darktable (package (name "darktable") - (version "4.0.0") + (version "4.0.1") (source (origin (method url-fetch) @@ -468,7 +468,7 @@ photographic equipment.") "https://github.com/darktable-org/darktable/releases/" "download/release-" version "/darktable-" version ".tar.xz")) (sha256 - (base32 "0bfcag6bj5vcmg4z4xjirs43iafcx89al6jl41i5mrhpjzszh5hl")))) + (base32 "0s0xwp5n4jhzdhbmsg02dlsc503jfznpwqn3rnipg687q3h83vsz")))) (build-system cmake-build-system) (arguments `(#:configure-flags '("-DBINARY_PACKAGE_BUILD=On" @@ -482,6 +482,13 @@ photographic equipment.") (("\"libOpenCL\"") (string-append "\"" (assoc-ref inputs "opencl-icd-loader") "/lib/libOpenCL.so\""))))) + (add-after 'unpack 'fix-missing-include + (lambda _ + ;; Fix missing include needed to build tests. See upstream + ;; issue: https://github.com/darktable-org/darktable/issues/12604 + (substitute* "./src/common/variables.h" + (("once") + "once\n#include \"common/image.h\"")))) (add-before 'configure 'prepare-build-environment (lambda* (#:key inputs #:allow-other-keys) ;; Rawspeed fails to build with GCC due to OpenMP error: diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 2358e7448d..e7828990c1 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -9,7 +9,7 @@ ;;; Copyright © 2020 Edouard Klein ;;; Copyright © 2020, 2021 Vinicius Monego ;;; Copyright © 2020 Tanguy Le Carrour -;;; Copyright © 2021 Sharlatan Hellseher +;;; Copyright © 2021-2022 Sharlatan Hellseher ;;; Copyright © 2021 Brendan Tildesley ;;; Copyright © 2021, 2022 Guillaume Le Vaillant ;;; Copyright © 2021 Bonface Munyoki Kilyungi @@ -432,13 +432,13 @@ of tests run in a specific order.") (define-public python-pytest-astropy-header (package (name "python-pytest-astropy-header") - (version "0.1.2") + (version "0.2.2") (source (origin (method url-fetch) (uri (pypi-uri "pytest-astropy-header" version)) (sha256 - (base32 "1y87agr324p6x5gvhziymxjlw54pyn4gqnd49papbl941djpkp5g")))) + (base32 "046v4arinv8b5jz05pvhnc0n1aqqndwvhlsl635ahxabr40i32bp")))) (build-system python-build-system) (native-inputs (list python-pytest python-setuptools-scm)) @@ -455,13 +455,13 @@ Astropy project, but is optimized for use with astropy-related projects.") (define-public python-pytest-astropy (package (name "python-pytest-astropy") - (version "0.8.0") + (version "0.10.0") (source (origin (method url-fetch) (uri (pypi-uri "pytest-astropy" version)) (sha256 - (base32 "18j6z6y2fvykmcs5z0mldhhaxxn6wzpnhlm2ps7m8r5z5kmh1631")))) + (base32 "04g2rh261s3s6ym8mwi4iv2a6anbgwvwzcvkyilfck6yxrncdqw5")))) (build-system python-build-system) (arguments `(#:tests? #f ; there are no tests diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 8e38e69d97..94a4c922a5 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -20,6 +20,7 @@ ;;; Copyright © 2022 Paul A. Patience ;;; Copyright © 2022 Wiktor Żelazny ;;; Copyright © 2022 Eric Bavier +;;; Copyright © 2022 jgart ;;; ;;; This file is part of GNU Guix. ;;; @@ -1482,6 +1483,30 @@ of use as pickling or @code{numpy.save}, but with the language interoperability offered by HDF5.") (license license:bsd-3))) +(define-public python-simple-pid + (package + (name "python-simple-pid") + (version "1.0.1") + (source (origin + (method url-fetch) + (uri (pypi-uri "simple-pid" version)) + (sha256 + (base32 + "094mz6rmfq1h0gpns5vlxb7xf9297hlkhndw7g9k95ziqfkv7mk0")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "-m" "unittest" "discover" "tests/"))))))) + (home-page "https://github.com/m-lundberg/simple-pid") + (synopsis "Easy to use PID controller") + (description "This package provides a simple and easy-to-use @acronym{PID, +proportional-integral-derivative} controller.") + (license license:expat))) + (define-public python-opt-einsum (package (name "python-opt-einsum") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 60ca7d1506..08a33061a9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -75,7 +75,7 @@ ;;; Copyright © 2020 Josh Marshall ;;; Copyright © 2020 Lars-Dominik Braun ;;; Copyright © 2020 Alex ter Weele -;;; Copyright © 2020 Matthew James Kraai +;;; Copyright © 2020, 2022 Matthew James Kraai ;;; Copyright © 2020 Ryan Prior ;;; Copyright © 2020 Josh Holland ;;; Copyright © 2020 Yuval Kogman @@ -496,6 +496,25 @@ and variables you'll need already imported and created. (home-page "https://github.com/google/python-fire") (license license:asl2.0))) +(define-public python-dotmap + (package + (name "python-dotmap") + (version "1.3.30") + (source (origin + (method url-fetch) + (uri (pypi-uri "dotmap" version)) + (sha256 + (base32 + "0s5kb2v7jd0narz6m6jcicak3h5pw290wz21cdsv8pq77y9sf8aq")))) + (build-system python-build-system) + (home-page "https://github.com/drgrib/dotmap") + (synopsis "Ordered, dynamically-expandable dot-access dictionary") + (description + "DotMap is a dot-access dictionary subclass that has dynamic +hierarchy creation, can be initialized with keys, can be initialized from a +dictionary, can be convert to a dictionary, and is ordered by insertion.") + (license license:expat))) + (define-public python-twodict (package (name "python-twodict") @@ -4753,7 +4772,7 @@ ecosystem, but can naturally be used also by other projects.") (define-public python-robotframework (package (name "python-robotframework") - (version "5.0") + (version "5.0.1") ;; There are no tests in the PyPI archive. (source (origin @@ -4763,7 +4782,7 @@ ecosystem, but can naturally be used also by other projects.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0qcm36c8hachbv3bc05ky7cf63i3sj0y8dw3bwjvcln28i543f81")) + (base32 "0jjr71npzrm5mv16pya3m2dqaqgf6sc45yca5kfmc5lfislig5b8")) (patches (search-patches "python-robotframework-atest.patch" "python-robotframework-source-date-epoch.patch")))) @@ -4784,13 +4803,7 @@ ecosystem, but can naturally be used also by other projects.") ;; directory not being '/', as is the case in the Guix build ;; container. (delete-file "atest/robot/standard_libraries/\ -operating_system/path_expansion.robot") - ;; FIXME: The test 'Process.Sending Signal.By default signal - ;; is not sent to process running in shell' fails for unknown - ;; reason (see: - ;; https://github.com/robotframework/robotframework/issues/4292). - (delete-file "atest/robot/standard_libraries/\ -process/sending_signal.robot"))) +operating_system/path_expansion.robot"))) (add-before 'build 'build-and-install-doc (lambda* (#:key outputs #:allow-other-keys) (let ((doc (string-append (assoc-ref outputs "doc") @@ -4826,7 +4839,7 @@ process/sending_signal.robot"))) (invoke "xvfb-run" "atest/run.py"))))))) (native-inputs (list python-docutils - python-jsonschema + python-jsonschema-next python-invoke python-lxml python-pygments @@ -4848,13 +4861,13 @@ process automation (RPA).") (define-public python-robotframework-datadriver (package (name "python-robotframework-datadriver") - (version "1.6.0") + (version "1.6.1") (source (origin (method url-fetch) (uri (pypi-uri "robotframework-datadriver" version)) (sha256 - (base32 "0qa2vry8jr49k5rbrvmkgggzsmis1wv06dp5dvwmp7afm7vjc51k")))) + (base32 "0mcyr3v98nvfnvffy096qp3jqslas7l8hh0j00lpi0mp12cd0qk9")))) (build-system python-build-system) (arguments `(#:phases @@ -4924,7 +4937,7 @@ utility, a static analysis tool (linter) for Robot Framework source files.") (define-public python-robotframework-pabot (package (name "python-robotframework-pabot") - (version "2.5.2") + (version "2.7.0") (source (origin ;; There are no tests in the PyPI archive. @@ -4935,7 +4948,7 @@ utility, a static analysis tool (linter) for Robot Framework source files.") (file-name (git-file-name name version)) (sha256 (base32 - "14a8isq1f4lgfwjb84hhzg6jm7ns18dxa9bg6dy8k2ml8zl0qknk")))) + "0246vvyaxax0nzlrffvp9vg6mh5jmvbbm87azignf0gakjidr7nn")))) (build-system python-build-system) (arguments (list @@ -12022,6 +12035,23 @@ independent alignment of columns (left or right justified or centred) and printing of sub-tables by specifying a row range.") (license license:bsd-3))) +(define-public python-rtf-tokenize + (package + (name "python-rtf-tokenize") + (version "1.0.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "rtf_tokenize" version)) + (sha256 + (base32 + "026njb9iwznycda83bln3gfivcnzdz6vy8y86xvbsy84s28g6gaw")))) + (build-system python-build-system) + (native-inputs (list python-pytest)) + (home-page "https://github.com/benoit-pierre/rtf_tokenize") + (synopsis "Simple RTF tokenizer") + (description "This package is a simple RTF tokenizer.") + (license license:gpl2+))) + (define-public python-curio (package (name "python-curio") @@ -16195,6 +16225,33 @@ modules, which are different and were developed separately, both serve the same purpose: to provide Python bindings for libmagic.") (license license:expat))) +(define-public s3cmd + (package + (name "s3cmd") + (version "2.3.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/s3tools/s3cmd") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0rdgwwmmp8mdxc84bxq6k9a7v7z2qgc3df47djzs2b84gw81dglx")))) + (build-system python-build-system) + (inputs + (list python-dateutil + python-magic)) + (home-page "https://s3tools.org/s3cmd") + (synopsis "Command line tool for S3-compatible storage services") + (description + "S3cmd is a command line tool for uploading, retrieving and managing data +in storage services that are compatible with the Amazon Simple Storage +Service (S3) protocol, including S3 itself. It supports rsync-like backup, +GnuPG encryption, and more. It also supports management of Amazon's +CloudFront content delivery network.") + (license license:gpl2+))) + (define-public python-pkgconfig (package (name "python-pkgconfig") @@ -17684,13 +17741,13 @@ as well.") (define-public ptpython (package (name "ptpython") - (version "3.0.17") + (version "3.0.20") (source (origin (method url-fetch) (uri (pypi-uri "ptpython" version)) (sha256 (base32 - "1phk1grcvn456igjg8gwjjg8bf4kszddq5nd5sdlz3hslg62a7ci")))) + "1mjfyr5gwrs1qbizh6nki0nv6hahmg8mhhqxi1qc6pfa4znlrzga")))) (build-system python-build-system) (arguments `(#:tests? #f)) ;there are no tests @@ -17701,9 +17758,9 @@ as well.") (synopsis "Python Read-Eval-Print-Loop with nice IDE-like features") (description "ptpython is a Python read-eval-print loop with IDE-like features. - It supports syntax highlighting, multiline editing, autocompletion, mouse, - color schemes, bracketed paste, Vi and Emacs keybindings, Chinese characters - etc.") +It supports syntax highlighting, multiline editing, autocompletion, mouse, +color schemes, bracketed paste, Vi and Emacs keybindings, Chinese characters +etc.") (license license:bsd-3))) (define-public python-easyprocess @@ -18186,7 +18243,7 @@ without requiring an event loop, useful for creative responsive GUIs.") (define-public binwalk (package (name "binwalk") - (version "2.3.2") + (version "2.3.3") (source (origin (method git-fetch) @@ -18195,7 +18252,13 @@ without requiring an event loop, useful for creative responsive GUIs.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "01dalxw07c42ka4fqpixcacvy42h04ya909lzpmsblr9s2xdgwcm")))) + (base32 "0phqyqv34vhh80dgipiggs4n3iq2vfjk9ywx2c5d8g61vzgbd2g8")) + (modules '((guix build utils))) + (snippet + #~(begin + (for-each delete-file + (list "testing/tests/input-vectors/firmware.zip" + "testing/tests/test_firmware_zip.py")))))) (build-system python-build-system) (arguments `(#:phases @@ -21540,14 +21603,14 @@ style guide, even if the original code didn't violate the style guide.") (define-public python-yq (package (name "python-yq") - (version "2.11.1") + (version "3.1.0") (source (origin (method url-fetch) (uri (pypi-uri "yq" version)) (sha256 (base32 - "1q4rky0a6n4izmq7slb91a54g8swry1xrbfqxwc8lkd3hhvlxxkl")))) + "1wklgs3d9si475nffw9agq5kgk8bdicbsmlj4sx4kiw64ji4ma1h")))) (build-system python-build-system) (arguments '(#:phases @@ -21562,9 +21625,9 @@ style guide, even if the original code didn't violate the style guide.") "/bin/jq"))) #t))))) (inputs - (list python-argcomplete python-pyyaml python-xmltodict jq)) + (list python-argcomplete python-pyyaml python-xmltodict python-toml jq)) (native-inputs - (list python-coverage python-flake8 python-wheel)) + (list python-coverage python-flake8 python-setuptools-scm python-wheel)) (home-page "https://github.com/kislyuk/yq") (synopsis "Command-line YAML/XML processor") (description @@ -22006,13 +22069,13 @@ Included are implementations of: (define-public bpython (package (name "bpython") - (version "0.21") + (version "0.23") (source (origin (method url-fetch) (uri (pypi-uri "bpython" version)) (sha256 - (base32 "11wlf12nm6ggn9512y4yqs26s8gdgpx0h9ls94k7fsjgjy4rpal8")))) + (base32 "0ah5giynavyh70yc0jqgmjaajv3xg5j2y7k9i3q8mi47r2mph04z")))) (build-system python-build-system) (arguments `(#:phases @@ -31073,7 +31136,7 @@ platform using the ActivityPub protocol.") (define-public python-lief (package (name "python-lief") - (version "0.12.1") + (version "0.12.2") (source (origin (method git-fetch) (uri (git-reference @@ -31082,7 +31145,7 @@ platform using the ActivityPub protocol.") (file-name (git-file-name name version)) (sha256 (base32 - "1xzbh3bxy4rw1yamnx68da1v5s56ay4g081cyamv67256g0qy2i1")))) + "1xb21jsws8lw93by8r25ibzgiml8n1cp7rpzybc648lk6idw0zg6")))) (build-system python-build-system) (native-inputs (list cmake)) (arguments @@ -31102,6 +31165,54 @@ platform using the ActivityPub protocol.") and abstract ELF, PE and MachO formats.") (license license:asl2.0))) +(define-public shrinkwrap + (package + (name "shrinkwrap") + (version "0.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/fzakaria/shrinkwrap") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (modules '((guix build utils))) + (snippet '(substitute* "pyproject.toml" + (("lief = \"0\\.12\\.0\"") "lief = \"*\""))) + (sha256 + (base32 + "1f3qrygj16y767q2c7pn9j6m95ggcmj9s5cx9v92ygygly4mr3jp")))) + (build-system python-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-v" "tests")))) + ;; XXX: PEP 517 manual build copied from python-isort. + (replace 'build + (lambda _ + (invoke "python" "-m" "build" "--wheel" "--no-isolation" "."))) + (replace 'install + (lambda _ + (let ((whl (car (find-files "dist" "\\.whl$")))) + (invoke "pip" "--no-cache-dir" "--no-input" + "install" "--no-deps" "--prefix" #$output whl))))))) + (native-inputs + (list python-click + python-poetry-core + python-pypa-build + python-pytest)) + (inputs (list python-lief python-sh)) + (home-page "https://github.com/fzakaria/shrinkwrap") + (synopsis "Emboss needed dependencies on the top level executable") + (description + "@code{shrinkwrap} is a tool which will discover all transitive dynamic +shared objects, and lift them up to the executable referenced by absolute +path.") + (license license:expat))) + (define-public python-pymonad (package (name "python-pymonad") diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 0fda93fd59..102b206f31 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -7668,7 +7668,10 @@ variable length integers (varint) in Ruby Protocol Buffers.") "1r3xalp91l07m0cwllcxjzg6nkviiqnxkcbgg5qnzsdji6rgy65m")))) (build-system ruby-build-system) (arguments - `(#:phases + ;; It is unclear why the tests fail on i686-linux + `(#:tests? ,(not (or (%current-target-system) + (target-x86-32?))) + #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-rakefile ;; This fixes the following error: "NameError: uninitialized diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index 74581bc1e5..693489264d 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -7,12 +7,13 @@ ;;; Copyright © 2020 Mark H Weaver ;;; Copyright © 2020 Gabriel Arazas ;;; Copyright © 2020-2022 Nicolas Goaziou +;;; Copyright © 2020 Arun Isaac ;;; Copyright © 2021 Tobias Geerinckx-Rice ;;; Copyright © 2021 Sharlatan Hellseher ;;; Copyright © 2021, 2022 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2021 Alexandru-Sergiu Marton ;;; Copyright © 2021 Maxim Cournoyer -;;; Copyright © 2021 Petr Hodina +;;; Copyright © 2021, 2022 Petr Hodina ;;; Copyright © 2021 jgart ;;; Copyright © 2021 Nicolas Graves ;;; Copyright © 2022 Aleksandr Vityazev @@ -40,6 +41,7 @@ #:use-module (guix build-system cargo) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix deprecation) #:use-module (guix packages) #:use-module (guix utils) #:use-module (gnu packages) @@ -788,7 +790,167 @@ gitignore rules.") associated input devices using the built-in accelerometer; handy for convertible touchscreen devices.") (license license:expat))) - + +(define-public rust-swc + (package + (name "rust-swc") + (version "1.2.24") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/swc-project/swc") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1w9al035x0gmard80vqvah8sy8szs6bnd1ynnyssiiylzg7vhyyv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ansi-term" ,rust-ansi-term-0.12) + ("rust-base64" ,rust-base64-0.12) + ("rust-console-error-panic-hook" ,rust-console-error-panic-hook-0.1) + ("rust-crc" ,rust-crc-1) + ("rust-darling" ,rust-darling-0.10) + ("rust-dashmap" ,rust-dashmap-3) + ("rust-either" ,rust-either-1) + ("rust-fxhash" ,rust-fxhash-0.2) + ("rust-is-macro" ,rust-is-macro-0.1) + ("rust-jemallocator" ,rust-jemallocator-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-mimalloc" ,rust-mimalloc-0.1) + ("rust-napi" ,rust-napi-0.5) + ("rust-napi-build" ,rust-napi-build-0.2) + ("rust-napi-derive" ,rust-napi-derive-0.5) + ("rust-nom" ,rust-nom-5) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-ordered-float" ,rust-ordered-float-1) + ("rust-parking-lot" ,rust-parking-lot-0.7) + ("rust-path-clean" ,rust-path-clean-0.1) + ("rust-petgraph" ,rust-petgraph-0.5) + ("rust-phf" ,rust-phf-0.8) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-radix-fmt" ,rust-radix-fmt-1) + ("rust-regex" ,rust-regex-1) + ("rust-relative-path" ,rust-relative-path-1) + ("rust-retain-mut" ,rust-retain-mut-0.1) + ("rust-scoped-tls" ,rust-scoped-tls-1) + ("rust-st-map" ,rust-st-map-0.1) + ("rust-string-cache" ,rust-string-cache-0.8) + ("rust-walkdir" ,rust-walkdir-2) + ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4)) + #:cargo-development-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-env-logger" ,rust-env-logger-0.7) + ("rust-num-bigint" ,rust-num-bigint-0.2) + ("rust-pretty-assertions" ,rust-pretty-assertions-0.6) + ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.3) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-sourcemap" ,rust-sourcemap-6) + ("rust-string-cache-codegen" ,rust-string-cache-codegen-0.5) + ("rust-tempfile" ,rust-tempfile-3)) + #:tests? #f ;; tests env_query_chrome_71 and project_env fail + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'enable-unstable-features + (lambda _ + (setenv "RUSTC_BOOTSTRAP" "1") + (substitute* "ecmascript/jsdoc/src/lib.rs" + (("pub use self" all) + (string-append "#![feature(non_exhaustive)]\n" all))) + (substitute* "ecmascript/parser/src/lib.rs" + (("//! es2019" all) + (string-append "#![feature(non_exhaustive)] +#![feature(mem_take)] +#![feature(proc_macro_hygiene)] +" all))) + (substitute* "ecmascript/transforms/src/lib.rs" + (("#!\\[cfg_attr" all) + (string-append "#![feature(mem_take)]\n" all))) + #t)) + (add-after 'enable-unstable-features 'patch-build-failures + (lambda _ + (chmod ".cargo/config" 420) + (substitute* "ecmascript/transforms/macros/src/lib.rs" + (("use proc_macro::") + "extern crate proc_macro;\nuse proc_macro::")) + (substitute* "common/src/errors/emitter.rs" + ((" #\\[cfg\\(feature = \"tty-emitter\"\\)\\]\n") "")) + #t))))) + (home-page "https://swc.rs/") + (synopsis "Typescript/javascript compiler") + (description "@code{rust-swc} is a typescript/javascript compiler. It +consumes a javascript or typescript file which uses recently added features +like async-await and emits javascript code which can be executed on old +browsers.") + (license (list license:expat + license:asl2.0)))) + +(define-deprecated rust-swc-1 rust-swc) + +(define-public rust-cargo-edit + (package + (name "rust-cargo-edit") + (version "0.10.4") + (source (origin + (method url-fetch) + (uri (crate-uri "cargo-edit" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "19wfjz7z4kqjfjmnq1bl6dhsvskjy6r656fqmbha9dfdspbsnmd0")))) + (build-system cargo-build-system) + (arguments + `(#:install-source? #f + #:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-cargo-metadata" ,rust-cargo-metadata-0.15) + ("rust-clap" ,rust-clap-3) + ("rust-concolor-control" ,rust-concolor-control-0.0.7) + ("rust-crates-index" ,rust-crates-index-0.18) + ("rust-dirs-next" ,rust-dirs-next-2) + ("rust-dunce" ,rust-dunce-1) + ("rust-env-proxy" ,rust-env-proxy-0.4) + ("rust-git2" ,rust-git2-0.14) + ("rust-hex" ,rust-hex-0.4) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-pathdiff" ,rust-pathdiff-0.2) + ("rust-regex" ,rust-regex-1) + ("rust-semver" ,rust-semver-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-subprocess" ,rust-subprocess-0.2) + ("rust-termcolor" ,rust-termcolor-1) + ("rust-toml-edit" ,rust-toml-edit-0.14) + ("rust-ureq" ,rust-ureq-2) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs + (("rust-assert-cmd" ,rust-assert-cmd-2) + ("rust-assert-fs" ,rust-assert-fs-1) + ("rust-predicates" ,rust-predicates-2) + ("rust-snapbox" ,rust-snapbox-0.2) + ("rust-trycmd" ,rust-trycmd-0.13) + ("rust-url" ,rust-url-2)))) + (native-inputs + (list pkg-config)) + (inputs + (list libgit2 + libssh2 + openssl + zlib)) + (home-page "https://github.com/killercup/cargo-edit") + (synopsis "Add and remove dependencies from the command line") + (description + "This package extends Cargo to allow you to add and remove dependencies +by modifying your @file{Cargo.toml} file from the command line.") + (license (list license:asl2.0 license:expat)))) + +(define-deprecated rust-cargo-edit-0.8 rust-cargo-edit) + (define-public git-interactive-rebase-tool (package (name "git-interactive-rebase-tool") @@ -825,8 +987,10 @@ touchscreen devices.") ("rust-rstest" ,rust-rstest-0.6) ("rust-serial-test" ,rust-serial-test-0.5) ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs + (list pkg-config)) (inputs - (list zlib)) + (list libgit2-1.3 zlib)) (home-page "https://gitrebasetool.mitmaro.ca/") (synopsis "Terminal based sequence editor for git interactive rebase") (description @@ -1843,17 +2007,16 @@ Full featured offline client with caching support.") (add-after 'unpack 'relax-version-requirements (lambda _ (substitute* "Cargo.toml" - (("2.5") "2") - (("~2.3\"") "2\"") - (("~2.33\"") "2\"") ; clap - (("3.1") "3")))) + (("\"~") "\"")))) (add-after 'install 'install-manual-page (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (man (string-append out "/share/man/man1"))) (install-file "Documentation/git-absorb.1" man))))))) + (native-inputs + (list pkg-config)) (inputs - (list zlib)) + (list libgit2-1.3 zlib)) (home-page "https://github.com/tummychow/git-absorb") (synopsis "Git tool for making automatic fixup commits") (description diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm index 7993b33f8c..fd932db80d 100644 --- a/gnu/packages/samba.scm +++ b/gnu/packages/samba.scm @@ -546,6 +546,6 @@ and IPV6 and the protocols layered above them, such as TCP and UDP.") (synopsis "A Web Service Discovery host daemon") (description "This daemon allows (Samba) hosts to be found by Web Service Dicovery Clients. It also implements the client side of the -discovery protocol which allows to search for devices implementing +discovery protocol which searches for devices implementing WSD.") (license license:expat))) diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm index 674eee8f6c..0c419dfaca 100644 --- a/gnu/packages/sdl.scm +++ b/gnu/packages/sdl.scm @@ -638,14 +638,14 @@ sound and device input (keyboards, joysticks, mice, etc.).") (define-public guile-sdl2 (package (name "guile-sdl2") - (version "0.7.0") + (version "0.8.0") (source (origin (method url-fetch) (uri (string-append "https://files.dthompson.us/guile-sdl2/" "guile-sdl2-" version ".tar.gz")) (sha256 (base32 - "197dzkxw8nv92da56iv2r8ih5r3pr4pd5c5j2q83aqb78h4jqjl7")))) + "1v57ghgqp9m32b2x47dya9zb0xvvfs5v8q8ak2wi8fzabajfpxap")))) (build-system gnu-build-system) (arguments '(#:make-flags '("GUILE_AUTO_COMPILE=0"))) diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm index 82be343dab..27dc9cd02e 100644 --- a/gnu/packages/search.scm +++ b/gnu/packages/search.scm @@ -675,14 +675,14 @@ bibliographic data and simple document and bibtex retrieval.") (define-public ugrep (package (name "ugrep") - (version "3.8.3") + (version "3.9.2") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/Genivia/ugrep") (commit (string-append "v" version)))) (sha256 - (base32 "03b3lahc3zzsznaqnrk47f1cnd5jwakvwrkz0r4m2crk09cpfv57")) + (base32 "0dhzrrdyi1aj16mdndkic7cqqvg6w28c8j13r7x42zab6ah0zkpm")) (file-name (git-file-name name version)) (modules '((guix build utils))) (snippet diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index 39b5620822..9e6ef4ada3 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2017, 2018, 2019, 2020, 2021 Paul Garlick ;;; Copyright © 2021, 2022 Maxim Cournoyer ;;; Copyright © 2022 Eric Bavier +;;; Copyright © 2022 Liliana Marie Prikler ;;; ;;; This file is part of GNU Guix. ;;; @@ -29,12 +30,16 @@ #:use-module (gnu packages check) #:use-module (gnu packages cmake) #:use-module (gnu packages compression) + #:use-module (gnu packages cpp) #:use-module (gnu packages flex) + #:use-module (gnu packages fontutils) #:use-module (gnu packages gettext) #:use-module (gnu packages gcc) + #:use-module (gnu packages geo) #:use-module (gnu packages gl) #:use-module (gnu packages graphics) #:use-module (gnu packages gtk) + #:use-module (gnu packages image) #:use-module (gnu packages linux) #:use-module (gnu packages m4) #:use-module (gnu packages maths) @@ -49,6 +54,7 @@ #:use-module (gnu packages readline) #:use-module (gnu packages tls) #:use-module (gnu packages version-control) + #:use-module (gnu packages video) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (guix download) @@ -60,6 +66,7 @@ #:use-module (guix build-system python) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) + #:use-module (guix gexp) #:use-module (guix utils) #:use-module (ice-9 ftw) #:use-module (ice-9 regex) @@ -940,3 +947,65 @@ provides the necessary tools and data structures for cases where the forward model is implemented in @code{fenics} or @url{https://firedrakeproject.org,firedrake}.") (license license:lgpl3))) + +(define-public sumo + (package + (name "sumo") + (version "1.14.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/eclipse/sumo") + (commit (string-append "v" + (string-replace-substring version + "." "_"))))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1965vrsff0k14z3y3b1c460zdwp9nx6q6plrdyxn496vg6846k1y")))) + (build-system cmake-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'disable-problematic-tests + (lambda _ + (substitute* "CMakeLists.txt" + ;; docs/example appears to be missing + (("add_test\\(exampletest .*") "")) + (substitute* "src/traci_testclient/CMakeLists.txt" + ;; requires network connection (at least to localhost) + (("add_test\\(NAME libtracitest .*") ""))))))) + (inputs (list eigen + freetype + fontconfig + ffmpeg + fox + gdal + glu + gperftools ; tcmalloc + libjpeg-turbo + libtiff + libx11 + libxcursor + libxft + libxi + libxrandr + libxrender + openscenegraph + proj + python + xerces-c + zlib)) + (native-inputs (list googletest python)) + (home-page "https://eclipse.org/sumo") + (synopsis "Traffic simulator") + (description "@acronym{SUMO, Simulation of Urban MObility} is a traffic +simulation package designed to handle large road networks and different modes +of transportation -- including road vehicles, public transport and pedestrians. +Included with SUMO is a wealth of supporting tools which automate core tasks +for the creation, the execution and evaluation of traffic simulations, +such as network import, route calculations, visualization and emission +calculation. SUMO can be enhanced with custom models and provides various +APIs to remotely control the simulation.") + (license (list license:epl2.0 license:gpl2+)))) diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm index aa540c1012..6a3779ee55 100644 --- a/gnu/packages/ssh.scm +++ b/gnu/packages/ssh.scm @@ -186,7 +186,7 @@ a server that supports the SSH-2 protocol.") (define-public openssh (package (name "openssh") - (version "8.9p1") + (version "9.1p1") (source (origin (method url-fetch) (uri (string-append "mirror://openbsd/OpenSSH/portable/" @@ -195,7 +195,7 @@ a server that supports the SSH-2 protocol.") "openssh-trust-guix-store-directory.patch")) (sha256 (base32 - "1ry5prcax0134v6srkgznpl9ch5snkgq7yvjqvd8c5mbnxa7cjgx")))) + "126jzn5pxkf1dgzcb3lzpzab8airg0avnvr3y23kgqp3qw4m1y0r")))) (build-system gnu-build-system) (native-inputs (list groff pkg-config)) (inputs `(("libedit" ,libedit) @@ -306,7 +306,7 @@ Additionally, various channel-specific options can be negotiated.") '((release-monitoring-url . "https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/"))) (home-page "https://www.openssh.com/"))) -;; OpenSSH without X support. This allows to use OpenSSH without dragging X +;; OpenSSH without X support. This allows using OpenSSH without dragging X ;; libraries to the closure. (define-public openssh-sans-x (package diff --git a/gnu/packages/sssd.scm b/gnu/packages/sssd.scm index dbeb0ee143..e3f94fd0b0 100644 --- a/gnu/packages/sssd.scm +++ b/gnu/packages/sssd.scm @@ -66,7 +66,7 @@ (define-public adcli (package (name "adcli") - (version "0.9.1") + (version "0.9.2") (source (origin (method git-fetch) @@ -75,7 +75,7 @@ (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "1mwzd5vakdsssdvs6vljqpp8pw8i97n5lhxvmn9dn9720am7hfv7")))) + (base32 "1lg181hpv07zcdybpykjq6h4v6f5sjc60gxqbklm0wqxa8m4sakn")))) (build-system gnu-build-system) (arguments `(#:configure-flags diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 7a9c4414b1..f8597b491f 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -1975,6 +1975,7 @@ times.") (sha256 (base32 "0arx5wna0sh0vf5q8rjhh8nqdmnvg2pdpbhljl9l0x4kwm8vjhgp")))) + (properties `((upstream-name . "data.table"))) (build-system r-build-system) (inputs (list zlib)) @@ -7115,34 +7116,37 @@ models, using simulation. It was designed to work with models fit using the (license license:gpl2+))) (define-public r-mixedpower - (package - (name "r-mixedpower") - (version "2.0") - (source - (origin - ;; Not available on CRAN. - (method git-fetch) - (uri (git-reference - (url "https://github.com/DejanDraschkow/mixedpower") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1dy1i8lijbq59xl7482j17a0r4rsdy61smzddk8jsr8nygp2gqy8")))) - (properties `((upstream-name . "mixedpower"))) - (build-system r-build-system) - (propagated-inputs - (list r-doparallel r-foreach r-ggplot2 r-lme4 r-reshape2)) - (home-page "https://github.com/DejanDraschkow/mixedpower") - (synopsis - "Pilotdata based simulations for estimating power in linear mixed models") - (description - "Implementation of a simulation based aproach to power analysis. Mixedpower uses -lotdata and a linear mixed model fitted with lme4 to simulate new data sets. -wer is computed seperate for every effect in the model output as the relation -significant simulations to all simulations. More conservative simulations as -protection against a bias in the pilotdata are available aswell as methods for -otting the results.") - (license license:gpl3))) + ;; This commit contains fixes for R>=4.2. A newer release does not exist. + (let ((commit "6520195481bca3ce01862ef80a28c53b0a35d0f5") + (revision "1")) + (package + (name "r-mixedpower") + (version (git-version "2.0" revision commit)) + (source + (origin + ;; Not available on CRAN. + (method git-fetch) + (uri (git-reference + (url "https://github.com/DejanDraschkow/mixedpower") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "114z9pvya2jg10y804ga41gq00r7zcw4a7c7234ybhmv3jqw78q1")))) + (properties `((upstream-name . "mixedpower"))) + (build-system r-build-system) + (propagated-inputs + (list r-doparallel r-foreach r-ggplot2 r-lme4 r-reshape2)) + (home-page "https://github.com/DejanDraschkow/mixedpower") + (synopsis + "Pilotdata based simulations for estimating power in linear mixed models") + (description + "Implementation of a simulation based aproach to power analysis. +Mixedpower uses lotdata and a linear mixed model fitted with lme4 to +simulate new data sets. wer is computed separate for every effect in the +model output as the relation significant simulations to all simulations. +More conservative simulations as protection against a bias in the +pilotdata are available aswell as methods for otting the results.") + (license license:gpl3)))) (define-public r-colorway (let ((commit "8ba8f0026aba37752c6770de45bf53b1b0f48afc") diff --git a/gnu/packages/stenography.scm b/gnu/packages/stenography.scm index 3b86ab6bcf..504dfc990f 100644 --- a/gnu/packages/stenography.scm +++ b/gnu/packages/stenography.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2020 Nicolas Goaziou +;;; Copyright © 2020, 2022 Nicolas Goaziou ;;; Copyright © 2021 Christopher Baines ;;; Copyright © 2022 Arun Isaac ;;; @@ -20,6 +20,8 @@ (define-module (gnu packages stenography) #:use-module (guix build-system python) + #:use-module (guix download) + #:use-module (guix gexp) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) @@ -28,13 +30,31 @@ #:use-module (gnu packages check) #:use-module (gnu packages libusb) #:use-module (gnu packages python) + #:use-module (gnu packages python-check) #:use-module (gnu packages python-xyz) #:use-module (gnu packages wxwidgets)) +(define-public python-plover-stroke + (package + (name "python-plover-stroke") + (version "1.1.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "plover_stroke" version)) + (sha256 + (base32 + "0lyifam9xqpx2jzqcbah84sv909n4g2frm7pd5gvcrpf98zv40yy")))) + (build-system python-build-system) + (native-inputs (list python-pytest)) + (home-page "https://github.com/benoit-pierre/plover_stroke") + (synopsis "Stroke handling helper library for Plover") + (description "This package provides a helper class for working with steno strokes.") + (license license:gpl2+))) + (define-public plover (package (name "plover") - (version "4.0.0.dev10") + (version "4.0.0.dev12") (source (origin (method git-fetch) @@ -43,18 +63,38 @@ (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1nyllqv4jq4idgn4cp5mypransw3rh3x8c1h9p6ld1anfr3zx7m0")))) + (base32 "0vk6nh2gpn7f7rv2spi2a7n3m0d9kaan6r22mx3vwxprpbvrkbm8")))) (build-system python-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "-m" "pytest" + "-p" "pytest-qt" + "-p" "xvfb" + "test" + ;; FIXME: Ignore failing test. + "--ignore" + "test/gui_qt/test_dictionaries_widget.py"))))))) (native-inputs - (list python-pytest)) + (list python-babel + python-mock + python-pytest + python-pytest-qt + python-pytest-xvfb)) (inputs (list python-appdirs - python-pyqt - python-babel python-dbus python-hidapi + python-plover-stroke + python-pyqt python-pyserial - python-xlib)) + python-rtf-tokenize + python-xlib + qtsvg-5)) (home-page "https://www.openstenoproject.org/plover/") (synopsis "Stenography engine") (description diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm index 6f31b28b0c..99901c595f 100644 --- a/gnu/packages/suckless.scm +++ b/gnu/packages/suckless.scm @@ -279,14 +279,14 @@ optimising the environment for the application in use and the task performed.") (define-public dmenu (package (name "dmenu") - (version "5.1") + (version "5.2") (source (origin (method url-fetch) (uri (string-append "https://dl.suckless.org/tools/dmenu-" version ".tar.gz")) (sha256 (base32 - "1mcg6i5g2c4wsyq9ap739si4zghk1xg6c3msdqrbfzm3pfg70k8z")))) + "14ipsirsfqbyqlnna0k8yla5j6mrbgh3gd9d4xrg4h4inmvwmm6l")))) (build-system gnu-build-system) (arguments `(#:tests? #f ; no tests diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm index 5a7c3821ad..13feedbb2e 100644 --- a/gnu/packages/telephony.scm +++ b/gnu/packages/telephony.scm @@ -22,6 +22,7 @@ ;;; Copyright © 2021 LibreMiami ;;; Copyright © 2021 Sarah Morgensen ;;; Copyright © 2021 Demis Balbach +;;; Copyright © 2022 Thomas Albers Raviola ;;; ;;; This file is part of GNU Guix. ;;; @@ -53,6 +54,7 @@ #:use-module (gnu packages cpp) #:use-module (gnu packages crypto) #:use-module (gnu packages databases) + #:use-module (gnu packages sqlite) #:use-module (gnu packages docbook) #:use-module (gnu packages documentation) #:use-module (gnu packages file) @@ -89,6 +91,7 @@ #:use-module (gnu packages readline) #:use-module (gnu packages bison) #:use-module (gnu packages flex) + #:use-module (gnu packages libevent) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix utils) #:use-module (guix packages) @@ -894,3 +897,32 @@ Initiation Protocol (SIP) and a multimedia framework.") telephony functionality into custom Telegram clients.") (home-page "https://github.com/zevlg/libtgvoip") (license license:unlicense))) + +(define-public coturn + (package + (name "coturn") + (version "4.6.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/coturn/coturn") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "152v2lnjj9b3w61d8aak7hmi9riw9cjs5g54g1gfpzlyk4c2jw21")))) + (inputs + (list openssl + sqlite + libevent-with-openssl + hiredis)) + (native-inputs + (list pkg-config)) + (build-system gnu-build-system) + (synopsis "Implementation of a TURN and STUN server for VoIP") + (description + "This package provides a VoIP media traffic NAT traversal server and +gateway. It implements the STUN (Session Traversal Utilities for NAT) and +TURN (Traversal Using Relays around NAT) server protocols.") + (home-page "https://github.com/coturn/coturn") + (license license:bsd-3))) diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 8f2ac9974c..04b2dcbc8b 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1097,14 +1097,13 @@ than a terminal.") (define-public python-curtsies (package (name "python-curtsies") - (version "0.3.5") + (version "0.4.0") (source (origin (method url-fetch) (uri (pypi-uri "curtsies" version)) (sha256 - (base32 - "1g8dwafx4vx06isjkn28r3cwb0hw1bv67lgygaz34yk66lrzz1x5")))) + (base32 "1zj284kacv0d10ab3amkkx37hcciylkqympsksi9bwzy6g7fyafb")))) (build-system python-build-system) (arguments `(#:phases @@ -1113,9 +1112,9 @@ than a terminal.") (lambda _ (invoke "nosetests" "-v")))))) (propagated-inputs - (list python-blessings python-cwcwidth)) + (list python-blessed python-cwcwidth)) (native-inputs - (list python-mock python-pyte python-nose)) + (list python-pyte python-nose)) (home-page "https://github.com/bpython/curtsies") (synopsis "Library for curses-like terminal interaction with colored strings") diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 382cbb47fb..ee3209feeb 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -1636,7 +1636,7 @@ discussed in the book).") lines by words rather than, as done by TeX, by characters. The primary use for these facilities is to aid the generation of messages sent to the log file or console output to display messages to the user. Package authors may also find -this useful when writing out arbitary text to an external file.") +this useful when writing out arbitrary text to an external file.") (license license:lppl1.3+))) (define-public texlive-helvetic diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index 40d6d28b55..26abe60808 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -65,6 +65,7 @@ #:use-module (gnu packages gettext) #:use-module (gnu packages glib) #:use-module (gnu packages graphics) + #:use-module (gnu packages gnome) #:use-module (gnu packages gtk) #:use-module (gnu packages guile) #:use-module (gnu packages haskell-xyz) @@ -899,6 +900,64 @@ Octave. TeXmacs is completely extensible via Guile.") (license license:gpl3+) (home-page "https://www.texmacs.org/tmweb/home/welcome.en.html"))) +(define-public textpieces + (package + (name "textpieces") + (version "3.2.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/liferooter/textpieces") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "14zq2c7js80m4cq8wpdb3kyz5sw96l8znbz027w8s94gqhm632ff")))) + (arguments + '(;; The test suite fails to validate appstream file due to lack of + ;; network access + #:tests? #f + #:glib-or-gtk? #t)) + (build-system meson-build-system) + (native-inputs + (list appstream-glib + blueprint-compiler + desktop-file-utils + gettext-minimal + `(,glib "bin") + `(,gtk "bin") + pkg-config + vala)) + (inputs + (list gtk + gtksourceview + json-glib + libadwaita + libgee + python + python-pygobject + python-pyyaml)) + (home-page "https://github.com/liferooter/textpieces") + (synopsis "Quick text processor") + (description + "Text Pieces is a tool for quick text transformations such as checksums, +encoding, decoding, etc. + +The basic features of Text Pieces are: +@itemize +@item Base64 encoding and decoding +@item SHA-1, SHA-2 and MD5 checksums +@item Prettify and minify JSON +@item Covert JSON to YAML and vice versa +@item Count lines, symbols and words +@item Escape and unescape string, URL and HTML +@item Remove leading and trailing whitespaces +@item Sort and reverse sort lines +@item Reverse lines and whole text +@item You can write your own scripts and create custom tools +@end itemize") + (license license:gpl3))) + (define-public scintilla (package (name "scintilla") @@ -1077,7 +1136,8 @@ card. It offers: (arguments `(#:tests? #f #:make-flags - (list "CC=gcc" + (list "STRIP=true" ; don't + (string-append "CC=" ,(cc-for-target)) (string-append "PREFIX=" (assoc-ref %outputs "out")) (string-append "LDFLAGS=-L" (assoc-ref %build-inputs "ncurses") "/lib")) diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index e488b572a3..0dbf01135a 100644 --- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm @@ -66,6 +66,7 @@ #:use-module (gnu packages libbsd) #:use-module (gnu packages libffi) #:use-module (gnu packages libidn) + #:use-module (gnu packages libunistring) #:use-module (gnu packages linux) #:use-module (gnu packages ncurses) #:use-module (gnu packages nettle) @@ -330,8 +331,6 @@ required structures.") (ftp-directory . "/gcrypt/gnutls"))))) (define-public gnutls-latest - ;; Version 3.7.7 introduces 'set-session-record-port-close!', which allows - ;; us to get rid of the wrapper port in 'tls-wrap'. (package (inherit gnutls) (version "3.7.7") @@ -344,7 +343,14 @@ required structures.") "gnutls-cross.patch")) (sha256 (base32 - "01i1gl15k6qwvxmxx0by1mn9nlmcmym18wdpm7dn9awfsp8474dy")))))) + "01i1gl15k6qwvxmxx0by1mn9nlmcmym18wdpm7dn9awfsp8474dy")))) + + ;; Disable Guile bindings: they are now provided by Guile-GnuTLS. + (inputs (modify-inputs (package-inputs gnutls) + (delete "guile") + (append libunistring))) ;GnuTLS depends on it + (native-inputs (modify-inputs (package-native-inputs gnutls) + (delete "guile"))))) (define-public gnutls/guile-2.0 ;; GnuTLS for Guile 2.0. @@ -370,6 +376,53 @@ required structures.") ,@(alist-delete "guile" (package-inputs gnutls)))))) +(define-public guile-gnutls + (package + ;; This package supersedes the Guile bindings that came with GnuTLS until + ;; version 3.7.8 included. + (name "guile-gnutls") + (version "3.7.9") + (home-page "https://gitlab.com/gnutls/guile/") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (sha256 + (base32 + "00sfpqjmd263ka51fq4xf7nvaaxyfqsr3r8fj94jgx45q6q6n6wq")) + (file-name (git-file-name name version)) + (patches (search-patches "gnutls-cross.patch")))) + (build-system gnu-build-system) + (arguments + '(#:configure-flags + ;; Tell the build system that we want Guile bindings installed to + ;; the output instead of Guiles own module directory. + (list "--disable-static" + (string-append "--with-guile-site-dir=" + "$(datarootdir)/guile/site/$(GUILE_EFFECTIVE_VERSION)") + (string-append "--with-guile-site-ccache-dir=" + "$(libdir)/guile/$(GUILE_EFFECTIVE_VERSION)/site-ccache") + (string-append "--with-guile-extension-dir=" + "$(libdir)/guile/$(GUILE_EFFECTIVE_VERSION)/extensions")))) + (native-inputs + (list autoconf + automake + libtool + pkg-config + texinfo + gnutls ;XXX: 'guile-snarf' invokes the native 'cpp' + guile-3.0)) + (inputs + (list gnutls-latest + guile-3.0)) + (synopsis "Guile bindings to GnuTLS") + (description + "This package provides Guile bindings to GnuTLS, a library implementation +the @acronym{TLS, Transport-Layer Security} protocol. It supersedes the Guile +bindings that were formerly provided as part of GnuTLS.") + (license license:lgpl2.1+))) + (define (target->openssl-target target) "Return the value to set CONFIGURE_TARGET_ARCH to when cross-compiling OpenSSL for TARGET." @@ -1206,7 +1259,7 @@ compatibility is also supported.") (define-public wolfssl (package (name "wolfssl") - (version "4.8.1") + (version "5.5.1") (source (origin (method git-fetch) (uri (git-reference @@ -1215,11 +1268,14 @@ compatibility is also supported.") (file-name (git-file-name name version)) (sha256 (base32 - "0w5pd40j6h4j2f0b7c2n1n979y9qk8aln3ss2gb0jfsid1hrmx5k")))) + "0pz25acm842cl6l51vqr8pgxci6rda8sznms757p7rnm9fw3jdl0")))) (build-system gnu-build-system) (arguments '(#:configure-flags - '("--enable-reproducible-build"))) + '("--enable-distro" + "--enable-pkcs11" + "--disable-examples" + "--enable-jobserver=no"))) (native-inputs (list autoconf automake libtool)) (synopsis "SSL/TLS implementation") diff --git a/gnu/packages/tmux.scm b/gnu/packages/tmux.scm index 76f80a4da6..10b78cccf7 100644 --- a/gnu/packages/tmux.scm +++ b/gnu/packages/tmux.scm @@ -44,7 +44,7 @@ (define-public tmux (package (name "tmux") - (version "3.2a") + (version "3.3a") (source (origin (method url-fetch) (uri (string-append @@ -52,7 +52,7 @@ version "/tmux-" version ".tar.gz")) (sha256 (base32 - "0pyhmipg6vxvxjk7mr410007qk98rh5q0mljvkdaisibz2j565am")))) + "0gzrrm6imhcp3sr5vw8g71x9n40bbdidwvcdyk2741xx8dw39zg4")))) (build-system gnu-build-system) (inputs (list libevent ncurses)) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index d8d4a77341..2238554706 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -46,6 +46,7 @@ ;;; Copyright © 2022 Jai Vetrivelan ;;; Copyright © 2022 Maxime Devos ;;; Copyright © 2022 Dhruvin Gandhi +;;; Copyright © 2015, 2022 David Thompson ;;; ;;; This file is part of GNU Guix. ;;; @@ -139,7 +140,8 @@ #:use-module (gnu packages tls) #:use-module (gnu packages) #:use-module (ice-9 match) - #:use-module (srfi srfi-1)) + #:use-module (srfi srfi-1) + #:export (make-gitolite)) (define-public breezy (package @@ -1484,7 +1486,9 @@ linear. It will test every change between two points in the DAG. It will also walk each side of a merge and test those changes individually.") (license (license:x11-style "file://LICENSE"))))) -(define-public gitolite +(define* (make-gitolite #:optional (extra-inputs '())) + "Make a gitolite package object with EXTRA-INPUTS added to the binary +wrappers, to be used for optional gitolite extensions." (package (name "gitolite") (version "3.6.12") @@ -1576,10 +1580,12 @@ also walk each side of a merge and test those changes individually.") (list #$output #$coreutils #$findutils - #$git))))) + #$git + #$@extra-inputs))))) '("/bin/gitolite" "/bin/gitolite-shell"))))))) (inputs - (list bash-minimal coreutils findutils git inetutils openssh perl)) + (append (list bash-minimal coreutils findutils git inetutils openssh perl) + extra-inputs)) (home-page "https://gitolite.com") (synopsis "Git access control layer") (description @@ -1587,6 +1593,8 @@ also walk each side of a merge and test those changes individually.") control to Git repositories.") (license license:gpl2))) +(define-public gitolite (make-gitolite)) + (define-public gitile (package (name "gitile") diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 01627bf583..9fb17cf5ba 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -250,7 +250,6 @@ "--enable-libquicktime" "--enable-lzo" "--enable-a52" - "--enable-faac" "--enable-libxml2" ;;; XXX: Not available. ;"--enable-ibp" @@ -274,7 +273,6 @@ python-wrapper)) (inputs (list alsa-lib - faac ffmpeg freetype imagemagick @@ -1644,7 +1642,6 @@ operate properly.") ;; --enable-libcelt enable CELT decoding via libcelt [no] ;; --enable-libdc1394 enable IIDC-1394 grabbing using libdc1394 ;; and libraw1394 [no] - ;; --enable-libfaac enable AAC encoding via libfaac [no] ;; --enable-libfdk-aac enable AAC de/encoding via libfdk-aac [no] ;; --enable-libflite enable flite (voice synthesis) support via ;; libflite [no] diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index e14549dcd1..a2a25025f6 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -1559,7 +1559,7 @@ domains, their live performance and resource utilization statistics.") (define-public criu (package (name "criu") - (version "3.17") + (version "3.17.1") (source (origin (method git-fetch) @@ -1568,7 +1568,7 @@ domains, their live performance and resource utilization statistics.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1qql1xp2zkkd7z50vp0nylx3rqrp8xa3c6x25c886d5i1j9pak5x")))) + (base32 "0ff3xfcf0wfz02fc0qbj56mci1a0xdl8jzaihaw6qyjvgrsiq7fh")))) (build-system gnu-build-system) (arguments `(#:test-target "test" diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 967d4328b5..abdd8cacdb 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013, 2015 Andreas Enge ;;; Copyright © 2013 Aljosha Papsch -;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès +;;; Copyright © 2014-2022 Ludovic Courtès ;;; Copyright © 2014, 2015, 2016 Mark H Weaver ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Ricardo Wurmus ;;; Copyright © 2018 Raoul Jean Pierre Bonnal @@ -408,6 +408,7 @@ the same, being completely separated from the Internet.") "--with-pcre-jit" "--with-debug" "--with-stream" + "--with-stream_ssl_module" ;; Even when not cross-building, we pass the ;; --crossbuild option to avoid customizing for the ;; kernel version on the build machine. @@ -7629,18 +7630,15 @@ compressed JSON header blocks. `("GUILE_LOAD_PATH" ":" prefix (,path)) `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,gopath))))))))) (native-inputs - `(("autoconf" ,autoconf) - ("automake" ,automake) - ("uglify-js" ,uglify-js) - ("pkg-config" ,pkg-config) - ("guile" ,@(assoc-ref (package-native-inputs guix) "guile")))) + (list autoconf automake uglify-js pkg-config + (lookup-package-native-input guix "guile"))) (inputs - `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile")) - ("guix" ,guix) - ("guile-zlib" ,guile-zlib) - ("guile-commonmark" ,guile-commonmark) - ("guile-json" ,guile-json-4) - ("bash-minimal" ,bash-minimal))) + (list (lookup-package-native-input guix "guile") + guix + guile-zlib + guile-commonmark + guile-json-4 + bash-minimal)) (home-page "https://github.com/UMCUGenetics/hpcguix-web") (synopsis "Web interface for cluster deployments of Guix") (description "Hpcguix-web provides a web interface to the list of packages diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 7307360d6a..1a868146a0 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -313,7 +313,7 @@ used to further tweak the behaviour of the different profiles.") (define-public bemenu (package (name "bemenu") - (version "0.6.10") + (version "0.6.13") (source (origin (method git-fetch) @@ -322,7 +322,7 @@ used to further tweak the behaviour of the different profiles.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "0i2pv3qnb0l2ryvj9ycf9d5rng6yfk0kpjkq8hy6g956672wdzx6")))) + (base32 "0pjlm3gl85k7yhj594pmvfg6xfr1r3rmb68bb7212r4mxhj80rk0")))) (build-system gnu-build-system) (arguments (list diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 53c3f496d5..f1d1342d5d 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -176,14 +176,14 @@ things the parser might find in the XML document (like start tags).") (define-public libebml (package (name "libebml") - (version "1.4.2") + (version "1.4.4") (source (origin (method url-fetch) (uri (string-append "https://dl.matroska.org/downloads/libebml/" "libebml-" version ".tar.xz")) (sha256 - (base32 "1wmri5c94b02q2z32bqlpfs4vbw0n0c602321wigna2qw1y27is1")))) + (base32 "19w74q2makq4qz1cjsrlbzglwfhb4497bvbnxq539jbc6n1mzp42")))) (build-system cmake-build-system) (arguments `(#:configure-flags @@ -1204,7 +1204,7 @@ Libxml2).") (define-public minixml (package (name "minixml") - (version "3.3") + (version "3.3.1") (source (origin (method url-fetch) (uri (string-append "https://github.com/michaelrsweet/mxml/" @@ -1212,13 +1212,13 @@ Libxml2).") "/mxml-" version ".tar.gz")) (sha256 (base32 - "1n1xzvhnsjsgsqaq1rg9zilwf0b2rydsadbxzy64z3lydwv7dybw")))) + "0cncvb0xhbq2i7rszj6pmcs3b97f0a17j081z0cmcfrrzv8kwrhc")))) (build-system gnu-build-system) (arguments - `(#:configure-flags - (list (string-append "LDFLAGS=-Wl,-rpath=" - (assoc-ref %outputs "out") "/lib")) - #:tests? #f)) ; tests are run during build + (list + #:configure-flags + #~(list (string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib")) + #:tests? #f)) ; tests are run during build (home-page "https://www.msweet.org/mxml/") (synopsis "Small XML parsing library") (description @@ -1517,7 +1517,7 @@ SAX2 APIs.") (define-public xlsxio (package (name "xlsxio") - (version "0.2.29") + (version "0.2.33") (source (origin (method git-fetch) @@ -1526,20 +1526,18 @@ SAX2 APIs.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "0jr6ggzhd8aakdvppcl8scy9j9jafg82zbzr4ih996sz8lrj90fn")))) + (base32 "16i3yd168kb63za7jpycpb2by4831gz7wi90vzifdf85csc8c70s")))) (native-inputs (list expat gnu-make minizip which)) (build-system gnu-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (delete 'configure) - (delete 'check) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (invoke "make" "install" - (string-append - "PREFIX=" (assoc-ref outputs "out")))))))) + (list + #:make-flags + #~(list (string-append "PREFIX=" #$output)) + #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (delete 'check)))) (synopsis "C library for reading and writing .xlsx files") (description "XLSX I/O aims to provide a C library for reading and writing .xlsx files. The .xlsx file format is the native format used by Microsoft(R) diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index e1df103666..a6b7b71d1d 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -1081,16 +1081,14 @@ synchronization between the X server and direct-rendering clients.") (define-public libfs (package (name "libfs") - (version "1.0.8") + (version "1.0.9") (source (origin (method url-fetch) (uri (string-append - "mirror://xorg/individual/lib/libFS-" - version - ".tar.bz2")) + "mirror://xorg/individual/lib/libFS-" version ".tar.xz")) (sha256 - (base32 "03xxyvpfa3rhqcld4p2chkil482jn9cp80hj17jdybcv2hkkgqf8")))) + (base32 "12i0zh1v5zlba617nam8sjhfqi68qqnl7z5hsz3wqhijid1pjwsr")))) (build-system gnu-build-system) (inputs (list xtrans xorgproto)) @@ -1796,17 +1794,14 @@ listed on the command line.") (define-public smproxy (package (name "smproxy") - (version "1.0.6") + (version "1.0.7") (source - (origin - (method url-fetch) - (uri (string-append - "mirror://xorg/individual/app/smproxy-" - version - ".tar.bz2")) - (sha256 - (base32 - "0rkjyzmsdqmlrkx8gy2j4q6iksk58hcc92xzdprkf8kml9ar3wbc")))) + (origin + (method url-fetch) + (uri (string-append "mirror://xorg/individual/app/smproxy-" + version ".tar.xz")) + (sha256 + (base32 "01gkz4n2pfxiklzzx3ghnm9shx3626jcriwvrs3pvawxrhvr5aaa")))) (build-system gnu-build-system) (inputs (list libxt libxmu)) @@ -2303,17 +2298,14 @@ DRI (Direct Rendering Infrastructure) drivers.") (define-public xev (package (name "xev") - (version "1.2.4") + (version "1.2.5") (source - (origin - (method url-fetch) - (uri (string-append - "mirror://xorg/individual/app/xev-" - version - ".tar.bz2")) - (sha256 - (base32 - "1ql592pdhddhkipkrsxn929y9l2nn02a5fh2z3dx47kmzs5y006p")))) + (origin + (method url-fetch) + (uri (string-append "mirror://xorg/individual/app/xev-" + version ".tar.xz")) + (sha256 + (base32 "1hbfwcnbyz4w13fbhnghl0vdhf6w9f9pb7jgjwrhykkii51ilin9")))) (build-system gnu-build-system) (arguments `(#:configure-flags ',(malloc0-flags))) (inputs @@ -3848,17 +3840,14 @@ one from a running X server.") (define-public xkbutils (package (name "xkbutils") - (version "1.0.4") + (version "1.0.5") (source - (origin - (method url-fetch) - (uri (string-append - "mirror://xorg/individual/app/xkbutils-" - version - ".tar.bz2")) - (sha256 - (base32 - "0c412isxl65wplhl7nsk12vxlri29lk48g3p52hbrs3m0awqm8fj")))) + (origin + (method url-fetch) + (uri (string-append "mirror://xorg/individual/app/xkbutils-" + version ".tar.xz")) + (sha256 + (base32 "197f4pgw3jdnlp7sj37f3xf15ayad20sl7vvg2rvx0j5qplsi97n")))) (build-system gnu-build-system) (inputs (list libxt libxaw xorgproto)) @@ -4241,17 +4230,14 @@ file.") (define-public xrefresh (package (name "xrefresh") - (version "1.0.6") + (version "1.0.7") (source - (origin - (method url-fetch) - (uri (string-append - "mirror://xorg/individual/app/xrefresh-" - version - ".tar.bz2")) - (sha256 - (base32 - "0lv3rlshh7s0z3aqx5ahnnf8cl082m934bk7gv881mz8nydznz98")))) + (origin + (method url-fetch) + (uri (string-append "mirror://xorg/individual/app/xrefresh-" + version ".tar.xz")) + (sha256 + (base32 "07hvfw3rdv8mzqmm9ax5z8kw544insdd152f2z8868ply8sxdwd9")))) (build-system gnu-build-system) (inputs (list libx11)) @@ -4593,17 +4579,14 @@ cannot be adequately worked around on the client side of the wire.") (define-public libxp (package (name "libxp") - (version "1.0.3") + (version "1.0.4") (source - (origin - (method url-fetch) - (uri (string-append - "mirror://xorg/individual/lib/libXp-" - version - ".tar.bz2")) - (sha256 - (base32 - "0mwc2jwmq03b1m9ihax5c6gw2ln8rc70zz4fsj3kb7440nchqdkz")))) + (origin + (method url-fetch) + (uri (string-append + "mirror://xorg/individual/lib/libXp-" version ".tar.xz")) + (sha256 + (base32 "197iklxwyd4naryc6mzv0g5qi1dy1apxk9w9k3yshd1ax2wf668z")))) (build-system gnu-build-system) (propagated-inputs (list printproto)) @@ -5619,14 +5602,14 @@ The XCB util module provides the following libraries: (define-public xcb-util-cursor (package (name "xcb-util-cursor") - (version "0.1.3") - (source (origin - (method url-fetch) - (uri (string-append "https://xcb.freedesktop.org/dist/" - "xcb-util-cursor-" version ".tar.bz2")) - (sha256 - (base32 - "0krr4rcw6r42cncinzvzzdqnmxk3nrgpnadyg2h8k9x10q3hm885")))) + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (string-append "https://xcb.freedesktop.org/dist/" + "xcb-util-cursor-" version ".tar.xz")) + (sha256 + (base32 "1yria9h0vqpblkgzqhpygk3rraijd3mmipg0mdhkayxbpj8gxp18")))) (build-system gnu-build-system) (arguments '(#:configure-flags '("--disable-static"))) @@ -5945,22 +5928,20 @@ form.") (define-public xmag (package (name "xmag") - (version "1.0.6") + (version "1.0.7") (source (origin (method url-fetch) - (uri (string-append - "mirror://xorg/individual/app/" name "-" - version - ".tar.gz")) + (uri (string-append "mirror://xorg/individual/app/xmag-" + version ".tar.xz")) (sha256 - (base32 - "19bsg5ykal458d52v0rvdx49v54vwxwqg8q36fdcsv9p2j8yri87")))) + (base32 "0qblrqrhxml2asgbck53a1v7c4y7ap7jcyqjg500h1i7bb63d680")))) (build-system gnu-build-system) (arguments - `(#:configure-flags - (list (string-append "--with-appdefaultdir=" - %output ,%app-defaults-dir)))) + (list + #:configure-flags + #~(list (string-append "--with-appdefaultdir=" + #$output #$%app-defaults-dir)))) (inputs (list libxaw)) (native-inputs @@ -5974,17 +5955,14 @@ of an X11 screen.") (define-public xmessage (package (name "xmessage") - (version "1.0.5") + (version "1.0.6") (source (origin (method url-fetch) - (uri (string-append - "mirror://xorg/individual/app/" name "-" - version - ".tar.gz")) + (uri (string-append "mirror://xorg/individual/app/xmessage-" + version ".tar.xz")) (sha256 - (base32 - "0sw0b0cbrjl44brw7qi1jkm61xd7a1lpj04418c6iqk6mf83llwr")))) + (base32 "04kahkk3kd6p1xlzf0jwfgnrb5z2r3y55q3p12b6n59py52wbsnj")))) (build-system gnu-build-system) (arguments `(#:configure-flags @@ -6005,7 +5983,7 @@ to answer a question. Xmessage can also exit after a specified time.") (define-public xterm (package (name "xterm") - (version "370") + (version "374") (source (origin (method url-fetch) @@ -6015,7 +5993,7 @@ to answer a question. Xmessage can also exit after a specified time.") (string-append "ftp://ftp.invisible-island.net/xterm/" "xterm-" version ".tgz"))) (sha256 - (base32 "10lc72spa69n9d7zg9nwhgwz70qzidp5i17jgw3lq3qg1a25sg4n")) + (base32 "1xdxq65di3vncy8jyl12mpjif613xklnfx7vd5xnsk8dcwkddm0i")) (patches (search-patches "xterm-370-explicit-xcursor.patch")))) (build-system gnu-build-system) @@ -6569,7 +6547,7 @@ output.") (define-public console-setup (package (name "console-setup") - (version "1.209") + (version "1.210") (source (origin (method git-fetch) @@ -6577,7 +6555,7 @@ output.") (url "https://salsa.debian.org/installer-team/console-setup.git") (commit version))) (sha256 - (base32 "0f1xac4wxkqdrqspmk803vr3z8flmjw5qiw3q31fmacp7nsjfc3x")) + (base32 "0c8wps1q6a3ylywnvgv198x1k2dxjngsgscr3ajhaiq8hvr6x79n")) (file-name (git-file-name name version)))) (build-system gnu-build-system) (arguments @@ -6604,7 +6582,13 @@ output.") (replace 'install (lambda* (#:key make-flags #:allow-other-keys) (apply invoke "make" "install-linux" - make-flags)))))) + make-flags))) + (add-after 'install 'install-bdf2psf + (lambda* (#:key outputs #:allow-other-keys) + (install-file "Fonts/bdf2psf" + (string-append #$output "/bin")) + (install-file "man/bdf2psf.1" + (string-append #$output "/share/man/man1"))))))) (native-inputs (list pkg-config bdftopcf diff --git a/gnu/services/lightdm.scm b/gnu/services/lightdm.scm index 07f2e808dd..dfb14d7723 100644 --- a/gnu/services/lightdm.scm +++ b/gnu/services/lightdm.scm @@ -374,7 +374,7 @@ security: \" -SecurityTypes None\" )) @end lisp -Or to set a PasswordFile for the classic (unsecure) VncAuth mecanism: +Or to set a PasswordFile for the classic (unsecure) VncAuth mechanism: @lisp (vnc-server-command (file-append tigervnc-server \"/bin/Xvnc\" diff --git a/gnu/services/version-control.scm b/gnu/services/version-control.scm index 17a5f9c867..cd8763f5ea 100644 --- a/gnu/services/version-control.scm +++ b/gnu/services/version-control.scm @@ -405,7 +405,7 @@ access to exported repositories under @file{/srv/git}." (list (gitolite-configuration-package config)))))) (description - "Setup @command{gitolite}, a Git hosting tool providing access over SSH.. + "Set up @command{gitolite}, a Git hosting tool providing access over SSH. By default, the @code{git} user is used, but this is configurable. Additionally, Gitolite can integrate with with tools like gitweb or cgit to provide a web interface to view selected repositories."))) diff --git a/gnu/services/vpn.scm b/gnu/services/vpn.scm index 82ff05b351..6f2821eccf 100644 --- a/gnu/services/vpn.scm +++ b/gnu/services/vpn.scm @@ -72,6 +72,11 @@ wireguard-configuration-dns wireguard-configuration-private-key wireguard-configuration-peers + wireguard-configuration-pre-up + wireguard-configuration-post-up + wireguard-configuration-pre-down + wireguard-configuration-post-down + wireguard-configuration-table wireguard-service-type)) @@ -724,7 +729,17 @@ strongSwan."))) (peers wireguard-configuration-peers ;list of (default '())) (dns wireguard-configuration-dns ;list of strings - (default #f))) + (default #f)) + (pre-up wireguard-configuration-pre-up ;list of strings + (default '())) + (post-up wireguard-configuration-post-up ;list of strings + (default '())) + (pre-down wireguard-configuration-pre-down ;list of strings + (default '())) + (post-down wireguard-configuration-post-down ;list of strings + (default '())) + (table wireguard-configuration-table ;string + (default "auto"))) (define (wireguard-configuration-file config) (define (peer->config peer) @@ -748,7 +763,8 @@ AllowedIPs = ~a "\n")))) (match-record config - (wireguard interface addresses port private-key peers dns) + (wireguard interface addresses port private-key peers dns + pre-up post-up pre-down post-down table) (let* ((config-file (string-append interface ".conf")) (peers (map peer->config peers)) (config @@ -762,13 +778,49 @@ AllowedIPs = ~a (let ((format (@ (ice-9 format) format))) (format port "[Interface] Address = ~a +~a +~a PostUp = ~a set %i private-key ~a ~a ~a +~a +~a +~a ~{~a~^~%~}" #$(string-join addresses ",") + #$(if table + (format #f "Table = ~a" table) + "") + #$(if (null? pre-up) + "" + (string-join + (map (lambda (command) + (format #f "PreUp = ~a" command)) + pre-up) + "\n")) #$(file-append wireguard "/bin/wg") #$private-key + #$(if (null? post-up) + "" + (string-join + (map (lambda (command) + (format #f "PostUp = ~a" command)) + post-up) + "\n")) + #$(if (null? pre-down) + "" + (string-join + (map (lambda (command) + (format #f "PreDown = ~a" command)) + pre-down) + "\n")) + #$(if (null? post-down) + "" + (string-join + (map (lambda (command) + (format #f "PostDown = ~a" command)) + post-down) + "\n")) #$(if port (format #f "ListenPort = ~a" port) "") diff --git a/gnu/services/web.scm b/gnu/services/web.scm index 227a577de3..2023119037 100644 --- a/gnu/services/web.scm +++ b/gnu/services/web.scm @@ -819,14 +819,12 @@ of index files." (list (shepherd-action (name 'reload) - (documentation "Reload NGINX configuration file and restart worker processes.") - (procedure - #~(lambda (pid) - (if pid - (begin - (kill pid SIGHUP) - (format #t "Service NGINX (PID ~a) has been reloaded." pid)) - (format #t "Service NGINX is not running.")))))))))))) + (documentation "Reload nginx configuration file and restart worker processes. +This has the effect of killing old worker processes and starting new ones, using +the same configuration file. It is useful for situations where the same nginx +configuration file can point to different things after a reload, such as +renewed TLS certificates, or @code{include}d files.") + (procedure (nginx-action "-s" "reload")))))))))) (define nginx-service-type (service-type (name 'nginx) diff --git a/gnu/system.scm b/gnu/system.scm index b7f19d741a..3478afcec4 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -578,7 +578,7 @@ marked as 'needed-for-boot'." (define (boot-file-system-service os) "Return a service which adds, to the system profile, packages providing the -utilites for the file systems marked as 'needed-for-boot' in OS." +utilities for the file systems marked as 'needed-for-boot' in OS." (let ((file-systems (filter file-system-needed-for-boot? (operating-system-file-systems os)))) (simple-service 'boot-file-system-utilities profile-service-type @@ -1492,8 +1492,14 @@ a list of , to populate the \"old entries\" menu." (cross-libc target)) glibc)) (exec-server-command - (list (file-append libc "/lib/ld.so.1") "exec" - (file-append hurd "/hurd/exec") "'$(exec-task=task-create)'"))) + ;; XXX: Run the statically-linked 'exec' to work around + ;; , which manifests on some + ;; machines. + + ;; (list (file-append libc "/lib/ld.so.1") "exec" + ;; (file-append hurd "/hurd/exec") "'$(exec-task=task-create)'") + (list (file-append hurd "/hurd/exec.static") "exec" + "'$(exec-task=task-create)'"))) (list root-file-system-command exec-server-command))) (define* (operating-system-boot-parameters os root-device diff --git a/guix/build-system/python.scm b/guix/build-system/python.scm index efade6f74b..c8f04b2298 100644 --- a/guix/build-system/python.scm +++ b/guix/build-system/python.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2021 Ludovic Courtès +;;; Copyright © 2013-2017, 2021-2022 Ludovic Courtès ;;; Copyright © 2013 Andreas Enge ;;; Copyright © 2013 Nikita Karetnikov ;;; Copyright © 2021 Lars-Dominik Braun @@ -212,6 +212,7 @@ provides a 'setup.py' file as its build system." system #:graft? #f))) (gexp->derivation name build #:system system + #:graft? #f ;consistent with 'gnu-build' #:target #f #:guile-for-build guile))) diff --git a/guix/build-system/qt.scm b/guix/build-system/qt.scm index a9bf728f25..7e3a54f1f8 100644 --- a/guix/build-system/qt.scm +++ b/guix/build-system/qt.scm @@ -181,6 +181,7 @@ provides a 'CMakeLists.txt' file as its build system." (mlet %store-monad ((guile (package->derivation (or guile (default-guile)) system #:graft? #f))) (gexp->derivation name builder + #:graft? #f ;consistent with 'gnu-build' #:system system #:guile-for-build guile))) @@ -269,6 +270,7 @@ build system." (mlet %store-monad ((guile (package->derivation (or guile (default-guile)) system #:graft? #f))) (gexp->derivation name builder + #:graft? #f ;consistent with 'gnu-build' #:system system #:guile-for-build guile))) diff --git a/guix/build/syscalls.scm b/guix/build/syscalls.scm index 7842b0a9fc..61926beb80 100644 --- a/guix/build/syscalls.scm +++ b/guix/build/syscalls.scm @@ -46,6 +46,7 @@ MS_NOEXEC MS_REMOUNT MS_NOATIME + MS_NODIRATIME MS_STRICTATIME MS_RELATIME MS_BIND @@ -537,6 +538,7 @@ the last argument of `mknod'." (define MS_NOEXEC 8) (define MS_REMOUNT 32) (define MS_NOATIME 1024) +(define MS_NODIRATIME 2048) (define MS_BIND 4096) (define MS_MOVE 8192) (define MS_SHARED 1048576) @@ -640,7 +642,8 @@ the remaining unprocessed options." ("nodev" => MS_NODEV) ("noexec" => MS_NOEXEC) ("relatime" => MS_RELATIME) - ("noatime" => MS_NOATIME))))))) + ("noatime" => MS_NOATIME) + ("nodiratime" => MS_NODIRATIME))))))) (define (mount-flags mount) "Return the mount flags of MOUNT, a record, as an inclusive or of @@ -873,7 +876,7 @@ fdatasync(2) on the underlying file descriptor." (ST_NODEV => MS_NODEV) (ST_NOEXEC => MS_NOEXEC) (ST_NOATIME => MS_NOATIME) - (ST_NODIRATIME => 0) ;FIXME + (ST_NODIRATIME => MS_NODIRATIME) (ST_RELATIME => MS_RELATIME)))) (define-c-struct %statfs ; diff --git a/guix/channels.scm b/guix/channels.scm index f1c23c17fb..d84228c47e 100644 --- a/guix/channels.scm +++ b/guix/channels.scm @@ -248,7 +248,7 @@ could be found at DIRECTORY or one of its ancestors." 'latest-repository-commit'." (match (channel-commit channel) (#f `(branch . ,(channel-branch channel))) - (commit `(commit . ,(channel-commit channel))))) + (commit `(tag-or-commit . ,(channel-commit channel))))) (define sexp->channel-introduction (match-lambda diff --git a/guix/ci.scm b/guix/ci.scm index 88b80f781d..ecdffde2d1 100644 --- a/guix/ci.scm +++ b/guix/ci.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2018, 2019, 2020, 2021 Ludovic Courtès +;;; Copyright © 2018-2022 Ludovic Courtès ;;; Copyright © 2020 Mathieu Othacehe ;;; ;;; This file is part of GNU Guix. @@ -24,6 +24,7 @@ #:select (resolve-uri-reference)) #:use-module (json) #:use-module (srfi srfi-1) + #:use-module (srfi srfi-19) #:use-module (ice-9 match) #:use-module (web uri) #:use-module (guix i18n) @@ -42,6 +43,9 @@ build-system build-status build-timestamp + build-start-time + build-stop-time + build-duration build-products checkout? @@ -84,6 +88,11 @@ ;;; ;;; Code: +(define (seconds->date seconds) + "Given SECONDS, a number of seconds since 1970-01-01, return the +corresponding date object." + (time-utc->date (make-time time-utc 0 seconds))) + (define-json-mapping make-build-product build-product? json->build-product @@ -118,6 +127,10 @@ (status build-status "buildstatus" ;symbol integer->build-status) (timestamp build-timestamp) ;integer + (start-time build-start-time "starttime" ;date + seconds->date) + (stop-time build-stop-time "stoptime" ;date + seconds->date) (products build-products "buildproducts" ;* (lambda (products) (map json->build-product @@ -201,6 +214,14 @@ api-agnostic." (define* (json-api-fetch base-url path #:rest query) (json-fetch (apply api-url base-url path query))) +(define (build-duration build) + "Return the duration in seconds of BUILD." + (define duration + (time-difference (date->time-utc (build-stop-time build)) + (date->time-utc (build-start-time build)))) + + (time-second duration)) + (define* (queued-builds url #:optional (limit %query-limit)) "Return the list of queued derivations on URL." (let ((queue diff --git a/guix/gexp.scm b/guix/gexp.scm index 73595a216b..5f92174a2c 100644 --- a/guix/gexp.scm +++ b/guix/gexp.scm @@ -25,7 +25,6 @@ #:use-module (guix store) #:use-module (guix monads) #:use-module (guix derivations) - #:use-module (guix grafts) #:use-module (guix utils) #:use-module (guix diagnostics) #:use-module (guix i18n) diff --git a/guix/git.scm b/guix/git.scm index 10e6dcaf23..95630a5e69 100644 --- a/guix/git.scm +++ b/guix/git.scm @@ -272,12 +272,15 @@ corresponding Git object." ;; There's no such tag, so it must be a commit ID. (resolve `(commit . ,str))))))) (('tag . tag) - (let ((oid (reference-name->oid repository - (string-append "refs/tags/" tag)))) - ;; OID may point to a "tag" object, but it can also point directly - ;; to a "commit" object, as surprising as it may seem. Return that - ;; object, whatever that is. - (object-lookup repository oid)))))) + (let* ((oid (reference-name->oid repository + (string-append "refs/tags/" tag))) + (obj (object-lookup repository oid))) + ;; OID may designate an "annotated tag" object or a "commit" object. + ;; Return the commit object in both cases. + (if (= OBJ-TAG (object-type obj)) + (object-lookup repository + (tag-target-id (tag-lookup repository oid))) + obj)))))) (define (switch-to-ref repository ref) "Switch to REPOSITORY's branch, commit or tag specified by REF. Return the diff --git a/guix/grafts.scm b/guix/grafts.scm index 0ffda8f9aa..1686aa1413 100644 --- a/guix/grafts.scm +++ b/guix/grafts.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès +;;; Copyright © 2014-2022 Ludovic Courtès ;;; ;;; This file is part of GNU Guix. ;;; @@ -24,6 +24,7 @@ #:use-module (guix derivations) #:use-module ((guix utils) #:select (%current-system)) #:use-module (guix sets) + #:use-module (guix gexp) #:use-module (srfi srfi-1) #:use-module (srfi srfi-9 gnu) #:use-module (srfi srfi-26) @@ -39,12 +40,11 @@ graft-replacement-output graft-derivation - graft-derivation/shallow - - %graft? - without-grafting - set-grafting - grafting?)) + graft-derivation/shallow) + #:re-export (%graft? ;for backward compatibility + without-grafting + set-grafting + grafting?)) (define-record-type* graft make-graft graft? @@ -79,7 +79,7 @@ (($ (? string? item)) item))) -(define* (graft-derivation/shallow store drv grafts +(define* (graft-derivation/shallow drv grafts #:key (name (derivation-name drv)) (outputs (derivation-output-names drv)) @@ -88,72 +88,60 @@ "Return a derivation called NAME, which applies GRAFTS to the specified OUTPUTS of DRV. This procedure performs \"shallow\" grafting in that GRAFTS are not recursively applied to dependencies of DRV." - ;; XXX: Someday rewrite using gexps. (define mapping ;; List of store item pairs. - (map (match-lambda - (($ source source-output target target-output) - (cons (if (derivation? source) - (derivation->output-path source source-output) - source) - (if (derivation? target) - (derivation->output-path target target-output) - target)))) + (map (lambda (graft) + (gexp + ((ungexp (graft-origin graft) + (graft-origin-output graft)) + . (ungexp (graft-replacement graft) + (graft-replacement-output graft))))) grafts)) - (define output-pairs - (map (lambda (output) - (cons output - (derivation-output-path - (assoc-ref (derivation-outputs drv) output)))) - outputs)) - (define build - `(begin - (use-modules (guix build graft) - (guix build utils) - (ice-9 match)) + (with-imported-modules '((guix build graft) + (guix build utils) + (guix build debug-link) + (guix elf)) + #~(begin + (use-modules (guix build graft) + (guix build utils) + (ice-9 match)) - (let* ((old-outputs ',output-pairs) - (mapping (append ',mapping - (map (match-lambda - ((name . file) - (cons (assoc-ref old-outputs name) - file))) - %outputs)))) - (graft old-outputs %outputs mapping)))) + (define %outputs + (ungexp (outputs->gexp outputs))) + + (let* ((old-outputs '(ungexp + (map (lambda (output) + (gexp ((ungexp output) + . (ungexp drv output)))) + outputs))) + (mapping (append '(ungexp mapping) + (map (match-lambda + ((name . file) + (cons (assoc-ref old-outputs name) + file))) + %outputs)))) + (graft old-outputs %outputs mapping))))) - (define add-label - (cut cons "x" <>)) (define properties `((type . graft) (graft (count . ,(length grafts))))) - (match grafts - ((($ sources source-outputs targets target-outputs) ...) - (let ((sources (zip sources source-outputs)) - (targets (zip targets target-outputs))) - (build-expression->derivation store name build - #:system system - #:guile-for-build guile - #:modules '((guix build graft) - (guix build utils) - (guix build debug-link) - (guix elf)) - #:inputs `(,@(map (lambda (out) - `("x" ,drv ,out)) - outputs) - ,@(append (map add-label sources) - (map add-label targets))) - #:outputs outputs + (gexp->derivation name build + #:system system + #:guile-for-build guile - ;; Grafts are computationally cheap so no - ;; need to offload or substitute. - #:local-build? #t - #:substitutable? #f + ;; Grafts are computationally cheap so no + ;; need to offload or substitute. + #:local-build? #t + #:substitutable? #f - #:properties properties))))) + #:properties properties)) + +(define graft-derivation/shallow* + (store-lower graft-derivation/shallow)) (define (non-self-references store drv outputs) "Return the list of references of the OUTPUTS of DRV, excluding self @@ -292,10 +280,10 @@ derivations to the corresponding set of grafts." ;; Use APPLICABLE, the subset of GRAFTS that is really ;; applicable to DRV, to avoid creating several identical ;; grafted variants of DRV. - (let* ((new (graft-derivation/shallow store drv applicable - #:outputs outputs - #:guile guile - #:system system)) + (let* ((new (graft-derivation/shallow* store drv applicable + #:outputs outputs + #:guile guile + #:system system)) (grafts (append (map (lambda (output) (graft (origin drv) @@ -334,36 +322,6 @@ DRV, and graft DRV itself to refer to those grafted dependencies." (graft-replacement first) drv))))) - -;; The following might feel more at home in (guix packages) but since (guix -;; gexp), which is a lower level, needs them, we put them here. - -(define %graft? - ;; Whether to honor package grafts by default. - (make-parameter #t)) - -(define (call-without-grafting thunk) - (lambda (store) - (values (parameterize ((%graft? #f)) - (run-with-store store (thunk))) - store))) - -(define-syntax-rule (without-grafting mexp ...) - "Bind monadic expressions MEXP in a dynamic extent where '%graft?' is -false." - (call-without-grafting (lambda () (mbegin %store-monad mexp ...)))) - -(define-inlinable (set-grafting enable?) - ;; This monadic procedure enables grafting when ENABLE? is true, and - ;; disables it otherwise. It returns the previous setting. - (lambda (store) - (values (%graft? enable?) store))) - -(define-inlinable (grafting?) - ;; Return a Boolean indicating whether grafting is enabled. - (lambda (store) - (values (%graft?) store))) - ;; Local Variables: ;; eval: (put 'with-cache 'scheme-indent-function 1) ;; End: diff --git a/guix/inferior.scm b/guix/inferior.scm index cbb3c0a36e..2fe34ca0dc 100644 --- a/guix/inferior.scm +++ b/guix/inferior.scm @@ -835,7 +835,7 @@ prefix, resolve it; and if 'commit' is unset, fetch CHANNEL's branch tip." (branch (channel-branch channel))) (if (and commit (commit-id? commit)) commit - (let* ((ref (if commit `(commit . ,commit) `(branch . ,branch))) + (let* ((ref (if commit `(tag-or-commit . ,commit) `(branch . ,branch))) (cache commit relation (update-cached-checkout (channel-url channel) #:ref ref diff --git a/guix/lint.scm b/guix/lint.scm index 7ee3a3122f..8e3976171f 100644 --- a/guix/lint.scm +++ b/guix/lint.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2014 Cyril Roelandt ;;; Copyright © 2014, 2015 Eric Bavier -;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès +;;; Copyright © 2013-2022 Ludovic Courtès ;;; Copyright © 2015, 2016 Mathieu Lirzin ;;; Copyright © 2016 Danny Milosavljevic ;;; Copyright © 2016 Hartmut Goebel @@ -34,6 +34,7 @@ #:use-module (guix store) #:autoload (guix base16) (bytevector->base16-string) #:use-module (guix base32) + #:autoload (guix base64) (base64-encode) #:use-module (guix build-system) #:use-module (guix diagnostics) #:use-module (guix download) @@ -46,7 +47,6 @@ gexp->approximate-sexp)) #:use-module (guix licenses) #:use-module (guix records) - #:use-module (guix grafts) #:use-module (guix upstream) #:use-module (guix utils) #:use-module (guix memoization) @@ -59,10 +59,20 @@ #:use-module ((guix swh) #:hide (origin?)) #:autoload (guix git-download) (git-reference? git-reference-url git-reference-commit) + #:autoload (guix svn-download) (svn-reference? + svn-reference-url + svn-reference-user-name + svn-reference-password + + svn-multi-reference? + svn-multi-reference-url + svn-multi-reference-user-name + svn-multi-reference-password) #:use-module (guix import stackage) #:use-module (ice-9 match) #:use-module (ice-9 regex) #:use-module (ice-9 format) + #:autoload (rnrs bytevectors) (string->utf8) #:use-module (web client) #:use-module (web uri) #:use-module ((guix build download) @@ -721,8 +731,14 @@ response from URI, and additional details, such as the actual HTTP response. TIMEOUT is the maximum number of seconds (possibly an inexact number) to wait for connections to complete; when TIMEOUT is #f, wait as long as needed." (define headers - '((User-Agent . "GNU Guile") - (Accept . "*/*"))) + `((User-Agent . "GNU Guile") + (Accept . "*/*") + ,@(match (uri-userinfo uri) + ((? string? str) ;"basic authentication" + `((Authorization . ,(string-append "Basic " + (base64-encode + (string->utf8 str)))))) + (_ '())))) (let loop ((uri uri) (visited '())) @@ -1130,6 +1146,40 @@ descriptions maintained upstream." ((uris ...) uris))) +(define (svn-reference-uri-with-userinfo ref) + "Return the URI of REF, an or object, +but with an additional 'userinfo' part corresponding to REF's user name and +password, provided REF's URI is HTTP or HTTPS." + ;; XXX: For lack of record type inheritance. + (define ->url + (if (svn-reference? ref) + svn-reference-url + svn-multi-reference-url)) + (define ->user-name + (if (svn-reference? ref) + svn-reference-user-name + svn-multi-reference-user-name)) + (define ->password + (if (svn-reference? ref) + svn-reference-password + svn-multi-reference-password)) + + (let ((uri (string->uri (->url ref)))) + (if (and (->user-name ref) + (memq (uri-scheme uri) '(http https))) + (build-uri (uri-scheme uri) + #:userinfo + (string-append (->user-name ref) + (if (->password ref) + (string-append + ":" (->password ref)) + "")) + #:host (uri-host uri) + #:port (uri-port uri) + #:query (uri-query uri) + #:fragment (uri-fragment uri)) + uri))) + (define (check-source package) "Emit a warning if PACKAGE has an invalid 'source' field, or if that 'source' is not reachable." @@ -1175,6 +1225,12 @@ descriptions maintained upstream." ((git-reference? (origin-uri origin)) (warnings-for-uris (list (string->uri (git-reference-url (origin-uri origin)))))) + ((or (svn-reference? (origin-uri origin)) + (svn-multi-reference? (origin-uri origin))) + (let ((uri (svn-reference-uri-with-userinfo (origin-uri origin)))) + (if (memq (uri-scheme uri) '(http https)) + (warnings-for-uris (list uri)) + '()))) ;TODO: handle svn:// URLs (else '())) '()))) diff --git a/guix/read-print.scm b/guix/read-print.scm index a9aa57a476..a6aaa149e4 100644 --- a/guix/read-print.scm +++ b/guix/read-print.scm @@ -286,6 +286,8 @@ expressions and blanks that were read." ('define-syntax-rule 2) ('define-module 2) ('define-gexp-compiler 2) + ('define-record-type 2) + ('define-record-type* 4) ('let 2) ('let* 2) ('letrec 2) diff --git a/guix/scripts.scm b/guix/scripts.scm index 3aabaf5c9c..4de8bc23b3 100644 --- a/guix/scripts.scm +++ b/guix/scripts.scm @@ -22,7 +22,6 @@ ;;; along with GNU Guix. If not, see . (define-module (guix scripts) - #:use-module (guix grafts) #:use-module (guix utils) #:use-module (guix ui) #:use-module (guix store) diff --git a/guix/scripts/archive.scm b/guix/scripts/archive.scm index 1e961c84e6..3b2bdee835 100644 --- a/guix/scripts/archive.scm +++ b/guix/scripts/archive.scm @@ -26,7 +26,6 @@ #:select (fold-archive restore-file)) #:use-module (guix store) #:use-module ((guix status) #:select (with-status-verbosity)) - #:use-module (guix grafts) #:use-module (guix packages) #:use-module (guix derivations) #:use-module (guix monads) diff --git a/guix/scripts/build.scm b/guix/scripts/build.scm index 0787dfcc9a..b4437172d7 100644 --- a/guix/scripts/build.scm +++ b/guix/scripts/build.scm @@ -28,10 +28,7 @@ #:use-module (guix derivations) #:use-module (guix packages) #:use-module (guix memoization) - #:use-module (guix grafts) - #:use-module (guix utils) - #:use-module (guix monads) #:use-module (guix gexp) #:use-module (guix profiles) diff --git a/guix/scripts/challenge.scm b/guix/scripts/challenge.scm index f1e5f67dab..620a1762a1 100644 --- a/guix/scripts/challenge.scm +++ b/guix/scripts/challenge.scm @@ -22,7 +22,6 @@ #:use-module (guix scripts) #:use-module (guix store) #:use-module (guix utils) - #:use-module (guix grafts) #:use-module (guix monads) #:use-module (guix base32) #:use-module (guix packages) diff --git a/guix/scripts/deploy.scm b/guix/scripts/deploy.scm index 40a9374171..ef6f9acc86 100644 --- a/guix/scripts/deploy.scm +++ b/guix/scripts/deploy.scm @@ -27,7 +27,6 @@ #:use-module (guix gexp) #:use-module (guix ui) #:use-module (guix utils) - #:use-module (guix grafts) #:use-module ((guix status) #:select (with-status-verbosity)) #:use-module (guix diagnostics) #:use-module (guix i18n) diff --git a/guix/scripts/environment.scm b/guix/scripts/environment.scm index afe255fa4a..de9bc8f98d 100644 --- a/guix/scripts/environment.scm +++ b/guix/scripts/environment.scm @@ -24,7 +24,6 @@ #:use-module (guix store) #:use-module (guix utils) #:use-module ((guix status) #:select (with-status-verbosity)) - #:use-module (guix grafts) #:use-module (guix derivations) #:use-module (guix packages) #:use-module (guix profiles) @@ -448,11 +447,11 @@ and suitable for 'exit'." (define* (launch-environment command profile manifest #:key pure? (white-list '()) emulate-fhs?) - "Run COMMAND in a new environment containing INPUTS, using the native search -paths defined by the list PATHS. When PURE?, pre-existing environment -variables are cleared before setting the new ones, except those matching the -regexps in WHITE-LIST. When EMULATE-FHS?, first set up an FHS environment -with $PATH and generate the LD cache." + "Load the environment of PROFILE, which corresponds to MANIFEST, and execute +COMMAND. When PURE?, pre-existing environment variables are cleared before +setting the new ones, except those matching the regexps in WHITE-LIST. When +EMULATE-FHS?, first set up an FHS environment with $PATH and generate the LD +cache." ;; Properly handle SIGINT, so pressing C-c in an interactive terminal ;; application works. (sigaction SIGINT SIG_DFL) @@ -1016,9 +1015,9 @@ command-line option processing with 'parse-command-line'." (when (and (not container?) user) (leave (G_ "'--user' cannot be used without '--container'~%"))) (when (and (not container?) no-cwd?) - (leave (G_ "--no-cwd cannot be used without --container~%"))) + (leave (G_ "--no-cwd cannot be used without '--container'~%"))) (when (and (not container?) emulate-fhs?) - (leave (G_ "'--emulate-fhs' cannot be used without '--container~'%"))) + (leave (G_ "'--emulate-fhs' cannot be used without '--container~%'"))) (with-store/maybe store diff --git a/guix/scripts/home.scm b/guix/scripts/home.scm index 4add7e7c69..754001a5b8 100644 --- a/guix/scripts/home.scm +++ b/guix/scripts/home.scm @@ -47,7 +47,6 @@ #:use-module (guix derivations) #:use-module (guix ui) #:autoload (guix colors) (supports-hyperlinks? file-hyperlink) - #:use-module (guix grafts) #:use-module (guix packages) #:use-module (guix profiles) #:use-module (guix store) @@ -476,7 +475,7 @@ resulting from command-line parsing." (define (ensure-home-environment file-or-exp obj) (ensure-profile-directory) (unless (home-environment? obj) - (leave (G_ "'~a' does not return a home environment ~%") + (leave (G_ "'~a' does not return a home environment~%") file-or-exp)) obj) diff --git a/guix/scripts/pack.scm b/guix/scripts/pack.scm index 78b6978c92..06849e4761 100644 --- a/guix/scripts/pack.scm +++ b/guix/scripts/pack.scm @@ -33,7 +33,6 @@ #:use-module (guix store) #:use-module ((guix status) #:select (with-status-verbosity)) #:use-module ((guix self) #:select (make-config.scm)) - #:use-module (guix grafts) #:autoload (guix inferior) (inferior-package? inferior-package-name inferior-package-version) diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm index 7ba2661bbb..b9090307ac 100644 --- a/guix/scripts/package.scm +++ b/guix/scripts/package.scm @@ -33,7 +33,6 @@ #:use-module ((guix status) #:select (with-status-verbosity)) #:use-module ((guix build syscalls) #:select (terminal-rows)) #:use-module (guix store) - #:use-module (guix grafts) #:use-module (guix derivations) #:use-module (guix packages) #:use-module (guix profiles) diff --git a/guix/scripts/pull.scm b/guix/scripts/pull.scm index 19224cf70b..7b6c58dbc3 100644 --- a/guix/scripts/pull.scm +++ b/guix/scripts/pull.scm @@ -31,7 +31,6 @@ #:use-module (guix derivations) #:use-module (guix profiles) #:use-module (guix gexp) - #:use-module (guix grafts) #:use-module (guix memoization) #:use-module (guix monads) #:use-module (guix channels) diff --git a/guix/scripts/size.scm b/guix/scripts/size.scm index 5bb970443c..48b8ecc881 100644 --- a/guix/scripts/size.scm +++ b/guix/scripts/size.scm @@ -24,7 +24,6 @@ #:use-module (guix store) #:use-module (guix monads) #:use-module (guix combinators) - #:use-module (guix grafts) #:use-module (guix packages) #:use-module (guix derivations) #:use-module (gnu packages) diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm index 560f56408c..6482318168 100644 --- a/guix/scripts/system.scm +++ b/guix/scripts/system.scm @@ -38,7 +38,6 @@ (sqlite-register store-database-file call-with-database) #:autoload (guix build store-copy) (copy-store-item) #:use-module (guix describe) - #:use-module (guix grafts) #:use-module (guix gexp) #:use-module (guix derivations) #:use-module (guix diagnostics) @@ -1046,7 +1045,7 @@ Some ACTIONS support additional ARGS.\n")) (newline) (display (G_ " --graph-backend=BACKEND - use BACKEND for 'extension-graphs' and 'shepherd-graph'")) + use BACKEND for 'extension-graph' and 'shepherd-graph'")) (newline) (display (G_ " -I, --list-installed[=REGEXP] diff --git a/guix/scripts/weather.scm b/guix/scripts/weather.scm index f46c11b1a5..dc27f81984 100644 --- a/guix/scripts/weather.scm +++ b/guix/scripts/weather.scm @@ -29,7 +29,6 @@ #:use-module (guix progress) #:use-module (guix monads) #:use-module (guix store) - #:use-module (guix grafts) #:use-module (guix gexp) #:use-module (guix colors) #:use-module ((guix build syscalls) #:select (terminal-columns)) diff --git a/guix/self.scm b/guix/self.scm index fc80e78804..f46a09be52 100644 --- a/guix/self.scm +++ b/guix/self.scm @@ -62,7 +62,7 @@ ("guile-lzlib" (ref '(gnu packages guile) 'guile-lzlib)) ("guile-zstd" (ref '(gnu packages guile) 'guile-zstd)) ("guile-gcrypt" (ref '(gnu packages gnupg) 'guile-gcrypt)) - ("gnutls" (ref '(gnu packages tls) 'gnutls)) + ("guile-gnutls" (ref '(gnu packages tls) 'guile-gnutls)) ("disarchive" (ref '(gnu packages backup) 'disarchive)) ("guile-lzma" (ref '(gnu packages guile) 'guile-lzma)) ("gzip" (ref '(gnu packages compression) 'gzip)) @@ -787,8 +787,8 @@ itself." (define guile-semver (specification->package "guile-semver")) - (define gnutls - (specification->package "gnutls")) + (define guile-gnutls + (specification->package "guile-gnutls")) (define disarchive (specification->package "disarchive")) @@ -798,7 +798,7 @@ itself." (define dependencies (append-map transitive-package-dependencies - (list guile-gcrypt gnutls guile-git guile-avahi + (list guile-gcrypt guile-gnutls guile-git guile-avahi guile-json guile-semver guile-ssh guile-sqlite3 guile-lib guile-zlib guile-lzlib guile-zstd))) diff --git a/guix/store.scm b/guix/store.scm index 4d21c5ff1a..a36dce416e 100644 --- a/guix/store.scm +++ b/guix/store.scm @@ -182,6 +182,11 @@ interned-file interned-file-tree + %graft? + without-grafting + set-grafting + grafting? + %store-prefix store-path output-path @@ -2171,6 +2176,37 @@ connection, and return the result." (set-store-connection-caches! store caches))) result)))) + +;;; +;;; Whether to enable grafts. +;;; + +(define %graft? + ;; Whether to honor package grafts by default. + (make-parameter #t)) + +(define (call-without-grafting thunk) + (lambda (store) + (values (parameterize ((%graft? #f)) + (run-with-store store (thunk))) + store))) + +(define-syntax-rule (without-grafting mexp ...) + "Bind monadic expressions MEXP in a dynamic extent where '%graft?' is +false." + (call-without-grafting (lambda () (mbegin %store-monad mexp ...)))) + +(define-inlinable (set-grafting enable?) + ;; This monadic procedure enables grafting when ENABLE? is true, and + ;; disables it otherwise. It returns the previous setting. + (lambda (store) + (values (%graft? enable?) store))) + +(define-inlinable (grafting?) + ;; Return a Boolean indicating whether grafting is enabled. + (lambda (store) + (values (%graft?) store))) + ;;; ;;; Store paths. diff --git a/guix/svn-download.scm b/guix/svn-download.scm index 55ce0d7351..e0a26b73ee 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, 2019, 2021 Ludovic Courtès +;;; Copyright © 2014-2016, 2019, 2021-2022 Ludovic Courtès ;;; Copyright © 2014 Sree Harsha Totakura ;;; Copyright © 2017, 2019, 2021 Ricardo Wurmus ;;; @@ -34,6 +34,8 @@ svn-reference-url svn-reference-revision svn-reference-recursive? + svn-reference-user-name + svn-reference-password svn-fetch download-svn-to-store @@ -43,6 +45,8 @@ svn-multi-reference-revision svn-multi-reference-locations svn-multi-reference-recursive? + svn-multi-reference-user-name + svn-multi-reference-password svn-multi-fetch download-multi-svn-to-store)) @@ -79,17 +83,42 @@ HASH-ALGO (a symbol). Use NAME as the file name, or a generic name if #f." (with-imported-modules '((guix build svn) (guix build utils)) #~(begin - (use-modules (guix build svn)) - (svn-fetch '#$(svn-reference-url ref) - '#$(svn-reference-revision ref) + (use-modules (guix build svn) + (ice-9 match)) + + (svn-fetch (getenv "svn url") + (string->number (getenv "svn revision")) #$output - #:svn-command (string-append #+svn "/bin/svn") - #:recursive? #$(svn-reference-recursive? ref) - #:user-name #$(svn-reference-user-name ref) - #:password #$(svn-reference-password ref))))) + #:svn-command #+(file-append svn "/bin/svn") + #:recursive? (match (getenv "svn recursive?") + ("yes" #t) + (_ #f)) + #:user-name (getenv "svn user name") + #:password (getenv "svn password"))))) (mlet %store-monad ((guile (package->derivation guile system))) (gexp->derivation (or name "svn-checkout") build + + ;; Use environment variables and a fixed script name so + ;; there's only one script in store for all the + ;; downloads. + #:script-name "svn-download" + #:env-vars + `(("svn url" . ,(svn-reference-url ref)) + ("svn revision" + . ,(number->string (svn-reference-revision ref))) + ,@(if (svn-reference-recursive? ref) + `(("svn recursive?" . "yes")) + '()) + ,@(if (svn-reference-user-name ref) + `(("svn user name" + . ,(svn-reference-user-name ref))) + '()) + ,@(if (svn-reference-password ref) + `(("svn password" + . ,(svn-reference-password ref))) + '())) + #:system system #:hash-algo hash-algo #:hash hash @@ -120,27 +149,53 @@ HASH-ALGO (a symbol). Use NAME as the file name, or a generic name if #f." #~(begin (use-modules (guix build svn) (guix build utils) - (srfi srfi-1)) - (every (lambda (location) - ;; The directory must exist if we are to fetch only a - ;; single file. - (unless (string-suffix? "/" location) - (mkdir-p (string-append #$output "/" (dirname location)))) - (svn-fetch (string-append '#$(svn-multi-reference-url ref) - "/" location) - '#$(svn-multi-reference-revision ref) - (if (string-suffix? "/" location) - (string-append #$output "/" location) - (string-append #$output "/" (dirname location))) - #:svn-command (string-append #+svn "/bin/svn") - #:recursive? - #$(svn-multi-reference-recursive? ref) - #:user-name #$(svn-multi-reference-user-name ref) - #:password #$(svn-multi-reference-password ref))) - '#$(sexp->gexp (svn-multi-reference-locations ref)))))) + (srfi srfi-1) + (ice-9 match)) + + (for-each (lambda (location) + ;; The directory must exist if we are to fetch only a + ;; single file. + (unless (string-suffix? "/" location) + (mkdir-p (string-append #$output "/" (dirname location)))) + (svn-fetch (string-append (getenv "svn url") "/" location) + (string->number (getenv "svn revision")) + (if (string-suffix? "/" location) + (string-append #$output "/" location) + (string-append #$output "/" (dirname location))) + #:svn-command #+(file-append svn "/bin/svn") + #:recursive? (match (getenv "svn recursive?") + ("yes" #t) + (_ #f)) + #:user-name (getenv "svn user name") + #:password (getenv "svn password"))) + (call-with-input-string (getenv "svn locations") + read))))) (mlet %store-monad ((guile (package->derivation guile system))) (gexp->derivation (or name "svn-checkout") build + + ;; Use environment variables and a fixed script name so + ;; there's only one script in store for all the + ;; downloads. + #:script-name "svn-multi-download" + #:env-vars + `(("svn url" . ,(svn-multi-reference-url ref)) + ("svn locations" + . ,(object->string (svn-multi-reference-locations ref))) + ("svn revision" + . ,(number->string (svn-multi-reference-revision ref))) + ,@(if (svn-multi-reference-recursive? ref) + `(("svn recursive?" . "yes")) + '()) + ,@(if (svn-multi-reference-user-name ref) + `(("svn user name" + . ,(svn-multi-reference-user-name ref))) + '()) + ,@(if (svn-multi-reference-password ref) + `(("svn password" + . ,(svn-multi-reference-password ref))) + '())) + #:leaked-env-vars '("http_proxy" "https_proxy" "LC_ALL" "LC_MESSAGES" "LANG" "COLUMNS") diff --git a/nix/libstore/gc.cc b/nix/libstore/gc.cc index f101de92d6..16519116e4 100644 --- a/nix/libstore/gc.cc +++ b/nix/libstore/gc.cc @@ -2,7 +2,6 @@ #include "misc.hh" #include "local-store.hh" -#include #include #include #include @@ -227,10 +226,10 @@ static void readTempRoots(PathSet & tempRoots, FDs & fds) //FDPtr fd(new AutoCloseFD(openLockFile(path, false))); //if (*fd == -1) continue; - /* Try to acquire a write lock without blocking. This can only - succeed if the owning process has died, in which case we don't care - about its temporary roots, or if we are the owning process. */ - if (i.name != std::to_string(getpid()) && lockFile(*fd, ltWrite, false)) { + /* Try to acquire a write lock without blocking. This can + only succeed if the owning process has died. In that case + we don't care about its temporary roots. */ + if (lockFile(*fd, ltWrite, false)) { printMsg(lvlError, format("removing stale temporary roots file `%1%'") % path); unlink(path.c_str()); writeFull(*fd, "d"); diff --git a/tests/builders.scm b/tests/builders.scm index 2853227465..0b5577c7a3 100644 --- a/tests/builders.scm +++ b/tests/builders.scm @@ -25,7 +25,6 @@ #:use-module (guix build gnu-build-system) #:use-module (guix build utils) #:use-module (guix build-system python) - #:use-module (guix grafts) #:use-module (guix store) #:use-module (guix monads) #:use-module (guix utils) diff --git a/tests/channels.scm b/tests/channels.scm index 0fe870dbaf..62312e240c 100644 --- a/tests/channels.scm +++ b/tests/channels.scm @@ -23,7 +23,6 @@ #:use-module ((guix build syscalls) #:select (mkdtemp!)) #:use-module (guix tests) #:use-module (guix store) - #:use-module ((guix grafts) #:select (%graft?)) #:use-module (guix derivations) #:use-module (guix sets) #:use-module (guix gexp) diff --git a/tests/cpan.scm b/tests/cpan.scm index b4db9e60e4..bbcd108e12 100644 --- a/tests/cpan.scm +++ b/tests/cpan.scm @@ -23,7 +23,7 @@ #:use-module (guix base32) #:use-module (gcrypt hash) #:use-module (guix tests http) - #:use-module (guix grafts) + #:use-module ((guix store) #:select (%graft?)) #:use-module (srfi srfi-64) #:use-module (web client) #:use-module (ice-9 match)) diff --git a/tests/derivations.scm b/tests/derivations.scm index 57d80412dc..3912fd31d8 100644 --- a/tests/derivations.scm +++ b/tests/derivations.scm @@ -20,7 +20,6 @@ (define-module (test-derivations) #:use-module (guix derivations) - #:use-module (guix grafts) #:use-module (guix store) #:use-module (guix utils) #:use-module ((gcrypt hash) #:prefix gcrypt:) diff --git a/tests/gexp.scm b/tests/gexp.scm index 07e940ffdc..6d57ac5d7a 100644 --- a/tests/gexp.scm +++ b/tests/gexp.scm @@ -21,7 +21,6 @@ #:use-module (guix store) #:use-module (guix monads) #:use-module (guix gexp) - #:use-module (guix grafts) #:use-module (guix derivations) #:use-module (guix packages) #:use-module (guix build-system trivial) diff --git a/tests/git.scm b/tests/git.scm index ca59d2a33e..9c944d65b1 100644 --- a/tests/git.scm +++ b/tests/git.scm @@ -22,8 +22,12 @@ #:use-module (guix git) #:use-module (guix tests git) #:use-module (guix build utils) + #:use-module ((guix utils) #:select (call-with-temporary-directory)) #:use-module (srfi srfi-1) - #:use-module (srfi srfi-64)) + #:use-module (srfi srfi-64) + #:use-module (srfi srfi-71) + #:use-module (ice-9 popen) + #:use-module (ice-9 textual-ports)) ;; Test the (guix git) tools. @@ -239,4 +243,30 @@ (tag "v1.1" "Release 1.1")) (remote-refs directory #:tags? #t))) +(unless (which (git-command)) (test-skip 1)) +(test-assert "update-cached-checkout, tag" + (call-with-temporary-directory + (lambda (cache) + (with-temporary-git-repository directory + '((add "a.txt" "A") + (commit "First commit") + (tag "v1.0" "release-1.0") + (branch "develop") + (checkout "develop") + (add "b.txt" "B") + (commit "Second commit") + (tag "v1.1" "release-1.1")) + (let ((directory commit relation + (update-cached-checkout directory + #:ref '(tag . "v1.1") + #:cache-directory cache)) + (head (let* ((pipe (open-pipe* OPEN_READ (git-command) + "-C" directory + "rev-parse" "HEAD")) + (str (get-string-all pipe))) + (close-pipe pipe) + (string-trim-right str)))) + ;; COMMIT should be the ID of the commit object, not that of the tag. + (string=? commit head)))))) + (test-end "git") diff --git a/tests/graph.scm b/tests/graph.scm index 6aa2d0e0ff..6674b5cc8f 100644 --- a/tests/graph.scm +++ b/tests/graph.scm @@ -24,7 +24,6 @@ #:use-module (guix derivations) #:use-module (guix store) #:use-module (guix monads) - #:use-module (guix grafts) #:use-module (guix build-system gnu) #:use-module (guix build-system trivial) #:use-module (guix gexp) diff --git a/tests/guix-build-branch.sh b/tests/guix-build-branch.sh index 79aa06a58f..7bf6a318ca 100644 --- a/tests/guix-build-branch.sh +++ b/tests/guix-build-branch.sh @@ -1,5 +1,5 @@ # GNU Guix --- Functional package management for GNU -# Copyright © 2018, 2019, 2020 Ludovic Courtès +# Copyright © 2018, 2019, 2020, 2022 Ludovic Courtès # # This file is part of GNU Guix. # @@ -54,7 +54,7 @@ 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-0.1.0 -guix gc -R "$v0_1_0_drv" | grep guile-gcrypt-8fe64e8 # this is the tag ID +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" diff --git a/tests/guix-daemon.sh b/tests/guix-daemon.sh index 330ad68835..4b09c8c162 100644 --- a/tests/guix-daemon.sh +++ b/tests/guix-daemon.sh @@ -27,7 +27,7 @@ guix build --version drv="`guix build emacs -d`" out="`guile -c ' \ - (use-modules (guix) (guix grafts) (gnu packages emacs)) \ + (use-modules (guix) (gnu packages emacs)) \ (define store (open-connection)) \ (%graft? #f) (display (derivation->output-path (package-derivation store emacs)))'`" @@ -122,7 +122,7 @@ guix-daemon --no-substitutes --listen="$socket" --disable-chroot \ daemon_pid=$! guile -c " - (use-modules (guix) (guix grafts) (guix tests) (srfi srfi-34)) + (use-modules (guix) (guix tests) (srfi srfi-34)) (define store (open-connection-for-tests \"$socket\")) ;; Disable grafts to avoid building more than needed. diff --git a/tests/lint.scm b/tests/lint.scm index 8be74d2604..b848e32aee 100644 --- a/tests/lint.scm +++ b/tests/lint.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2012, 2013 Cyril Roelandt ;;; Copyright © 2014, 2015, 2016 Eric Bavier -;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès +;;; Copyright © 2014-2022 Ludovic Courtès ;;; Copyright © 2015, 2016 Mathieu Lirzin ;;; Copyright © 2016 Hartmut Goebel ;;; Copyright © 2017 Alex Kost @@ -35,6 +35,7 @@ #:use-module (guix tests http) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix svn-download) #:use-module (guix build-system texlive) #:use-module (guix build-system emacs) #:use-module (guix build-system gnu) @@ -1085,6 +1086,35 @@ (and (? lint-warning?) second-warning)) (lint-warning-message second-warning))))))))) +(test-equal "source: svn-reference, HTTP 200" + '() + (with-http-server `((200 ,%long-string)) + (let ((pkg (package + (inherit (dummy-package "x")) + (source (origin + (method svn-fetch) + (uri (svn-reference + (url (%local-url)) + (revision 1234))) + (sha256 %null-sha256)))))) + (check-source pkg)))) + +(with-http-server `((404 ,%long-string)) + (test-equal "source: svn-reference, HTTP 404" + (format #f "URI ~a not reachable: 404 (\"Such is life\")" + (%local-url)) + (let ((pkg (package + (inherit (dummy-package "x")) + (source (origin + (method svn-fetch) + (uri (svn-reference + (url (%local-url)) + (revision 1234))) + (sha256 %null-sha256)))))) + (match (check-source pkg) + ((warning) + (lint-warning-message warning)))))) + (test-equal "mirror-url" '() (let ((source (origin diff --git a/tests/monads.scm b/tests/monads.scm index 19b74f4fb9..7f255f02bf 100644 --- a/tests/monads.scm +++ b/tests/monads.scm @@ -20,7 +20,6 @@ #:use-module (guix tests) #:use-module (guix store) #:use-module (guix monads) - #:use-module (guix grafts) #:use-module (guix derivations) #:use-module (guix packages) #:use-module (gnu packages) diff --git a/tests/pack.scm b/tests/pack.scm index 98bfedf21c..a4c388d93e 100644 --- a/tests/pack.scm +++ b/tests/pack.scm @@ -25,7 +25,6 @@ #:use-module (guix profiles) #:use-module (guix packages) #:use-module (guix monads) - #:use-module (guix grafts) #:use-module (guix tests) #:use-module (guix gexp) #:use-module (guix modules) diff --git a/tests/packages.scm b/tests/packages.scm index dc03b13417..a71eb1125d 100644 --- a/tests/packages.scm +++ b/tests/packages.scm @@ -23,7 +23,6 @@ #:use-module (guix tests) #:use-module (guix store) #:use-module (guix monads) - #:use-module (guix grafts) #:use-module (guix gexp) #:use-module (guix utils) #:use-module ((guix build utils) #:select (tarball?)) diff --git a/tests/profiles.scm b/tests/profiles.scm index 7bed946bf3..9ad03f2b24 100644 --- a/tests/profiles.scm +++ b/tests/profiles.scm @@ -23,7 +23,6 @@ #:use-module (guix gexp) #:use-module (guix store) #:use-module (guix monads) - #:use-module (guix grafts) #:use-module (guix packages) #:use-module (guix derivations) #:use-module (guix build-system trivial) diff --git a/tests/system.scm b/tests/system.scm index 873fed4aee..876e15a25e 100644 --- a/tests/system.scm +++ b/tests/system.scm @@ -24,7 +24,6 @@ #:use-module (guix monads) #:use-module ((guix gexp) #:select (lower-object)) #:use-module ((guix utils) #:select (%current-system)) - #:use-module (guix grafts) #:use-module (srfi srfi-1) #:use-module (srfi srfi-64))