summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-01-25 23:36:11 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-01-25 23:48:37 -0500
commit0d41fe4855588fb659b8adafe215d5573517a79b (patch)
tree38b274bd03375f4fa5b7d3a9fb3f64a19786bef2 /gnu/packages
parent7c57821c68d199ad56a8ed750b36eccc7ef238dd (diff)
parent1a5302435ff0d2822b823f5a6fe01faa7a85c629 (diff)
Merge branch 'staging' into core-updates.
With "conflicts" resolved in (mostly in favor of master/staging): gnu/packages/admin.scm gnu/packages/gnuzilla.scm gnu/packages/gtk.scm gnu/packages/kerberos.scm gnu/packages/linux.scm guix/lint.scm
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/accessibility.scm104
-rw-r--r--gnu/packages/admin.scm371
-rw-r--r--gnu/packages/algebra.scm135
-rw-r--r--gnu/packages/android.scm235
-rw-r--r--gnu/packages/aspell.scm7
-rw-r--r--gnu/packages/assembly.scm4
-rw-r--r--gnu/packages/astronomy.scm252
-rw-r--r--gnu/packages/audio.scm367
-rw-r--r--gnu/packages/authentication.scm80
-rw-r--r--gnu/packages/autotools.scm69
-rw-r--r--gnu/packages/aux-files/linux-libre/5.15-i686.conf6
-rw-r--r--gnu/packages/aux-files/linux-libre/5.15-x86_64.conf6
-rw-r--r--gnu/packages/aux-files/python/sitecustomize.py22
-rw-r--r--gnu/packages/aux-files/renpy/renpy.in48
-rw-r--r--gnu/packages/avahi.scm31
-rw-r--r--gnu/packages/axoloti.scm13
-rw-r--r--gnu/packages/backup.scm164
-rw-r--r--gnu/packages/base.scm50
-rw-r--r--gnu/packages/bash.scm17
-rw-r--r--gnu/packages/benchmark.scm65
-rw-r--r--gnu/packages/bioconductor.scm235
-rw-r--r--gnu/packages/bioinformatics.scm482
-rw-r--r--gnu/packages/bittorrent.scm135
-rw-r--r--gnu/packages/bootloaders.scm16
-rw-r--r--gnu/packages/bootstrap.scm112
-rw-r--r--gnu/packages/browser-extensions.scm7
-rw-r--r--gnu/packages/build-tools.scm52
-rw-r--r--gnu/packages/busybox.scm60
-rw-r--r--gnu/packages/c.scm44
-rw-r--r--gnu/packages/cdrom.scm8
-rw-r--r--gnu/packages/check.scm188
-rw-r--r--gnu/packages/chez.scm25
-rw-r--r--gnu/packages/chromium.scm830
-rw-r--r--gnu/packages/ci.scm43
-rw-r--r--gnu/packages/clojure.scm254
-rw-r--r--gnu/packages/cmake.scm4
-rw-r--r--gnu/packages/cobol.scm2
-rw-r--r--gnu/packages/code.scm145
-rw-r--r--gnu/packages/commencement.scm58
-rw-r--r--gnu/packages/compression.scm58
-rw-r--r--gnu/packages/containers.scm346
-rw-r--r--gnu/packages/coq.scm4
-rw-r--r--gnu/packages/cpp.scm150
-rw-r--r--gnu/packages/cran.scm1275
-rw-r--r--gnu/packages/crates-graphics.scm213
-rw-r--r--gnu/packages/crates-gtk.scm869
-rw-r--r--gnu/packages/crates-io.scm9751
-rw-r--r--gnu/packages/crypto.scm37
-rw-r--r--gnu/packages/cryptsetup.scm4
-rw-r--r--gnu/packages/cups.scm9
-rw-r--r--gnu/packages/curl.scm28
-rw-r--r--gnu/packages/cybersecurity.scm67
-rw-r--r--gnu/packages/databases.scm454
-rw-r--r--gnu/packages/datamash.scm104
-rw-r--r--gnu/packages/datastructures.scm4
-rw-r--r--gnu/packages/debian.scm6
-rw-r--r--gnu/packages/debug.scm15
-rw-r--r--gnu/packages/diffoscope.scm5
-rw-r--r--gnu/packages/digest.scm36
-rw-r--r--gnu/packages/direct-connect.scm18
-rw-r--r--gnu/packages/disk.scm62
-rw-r--r--gnu/packages/display-managers.scm63
-rw-r--r--gnu/packages/django.scm79
-rw-r--r--gnu/packages/dns.scm250
-rw-r--r--gnu/packages/docker.scm8
-rw-r--r--gnu/packages/easyrpg.scm13
-rw-r--r--gnu/packages/ebook.scm7
-rw-r--r--gnu/packages/education.scm34
-rw-r--r--gnu/packages/electronics.scm164
-rw-r--r--gnu/packages/emacs-xyz.scm1308
-rw-r--r--gnu/packages/emacs.scm11
-rw-r--r--gnu/packages/embedded.scm70
-rw-r--r--gnu/packages/emulators.scm542
-rw-r--r--gnu/packages/engineering.scm141
-rw-r--r--gnu/packages/enlightenment.scm96
-rw-r--r--gnu/packages/file-systems.scm223
-rw-r--r--gnu/packages/finance.scm69
-rw-r--r--gnu/packages/firmware.scm130
-rw-r--r--gnu/packages/fonts.scm248
-rw-r--r--gnu/packages/fpga.scm11
-rw-r--r--gnu/packages/freedesktop.scm117
-rw-r--r--gnu/packages/game-development.scm252
-rw-r--r--gnu/packages/games.scm512
-rw-r--r--gnu/packages/gawk.scm28
-rw-r--r--gnu/packages/gcc.scm31
-rw-r--r--gnu/packages/geo.scm85
-rw-r--r--gnu/packages/gettext.scm121
-rw-r--r--gnu/packages/gimp.scm36
-rw-r--r--gnu/packages/gl.scm14
-rw-r--r--gnu/packages/glib.scm55
-rw-r--r--gnu/packages/gnome-xyz.scm346
-rw-r--r--gnu/packages/gnome.scm1222
-rw-r--r--gnu/packages/gnupg.scm146
-rw-r--r--gnu/packages/gnuzilla.scm45
-rw-r--r--gnu/packages/golang.scm779
-rw-r--r--gnu/packages/gps.scm9
-rw-r--r--gnu/packages/graph.scm145
-rw-r--r--gnu/packages/graphics.scm238
-rw-r--r--gnu/packages/graphviz.scm14
-rw-r--r--gnu/packages/gstreamer.scm1
-rw-r--r--gnu/packages/gtk.scm33
-rw-r--r--gnu/packages/guile-xyz.scm158
-rw-r--r--gnu/packages/guile.scm42
-rw-r--r--gnu/packages/hardware.scm194
-rw-r--r--gnu/packages/haskell-apps.scm4
-rw-r--r--gnu/packages/haskell-check.scm46
-rw-r--r--gnu/packages/haskell-web.scm2
-rw-r--r--gnu/packages/haskell-xyz.scm83
-rw-r--r--gnu/packages/icu4c.scm29
-rw-r--r--gnu/packages/image-processing.scm164
-rw-r--r--gnu/packages/image-viewers.scm6
-rw-r--r--gnu/packages/image.scm57
-rw-r--r--gnu/packages/installers.scm2
-rw-r--r--gnu/packages/instrumentation.scm148
-rw-r--r--gnu/packages/ipfs.scm15
-rw-r--r--gnu/packages/irc.scm191
-rw-r--r--gnu/packages/jami.scm425
-rw-r--r--gnu/packages/java.scm1191
-rw-r--r--gnu/packages/javascript.scm2
-rw-r--r--gnu/packages/julia-xyz.scm700
-rw-r--r--gnu/packages/jupyter.scm17
-rw-r--r--gnu/packages/kde-multimedia.scm64
-rw-r--r--gnu/packages/kde-pim.scm2
-rw-r--r--gnu/packages/kde.scm83
-rw-r--r--gnu/packages/kerberos.scm46
-rw-r--r--gnu/packages/libffi.scm14
-rw-r--r--gnu/packages/libusb.scm16
-rw-r--r--gnu/packages/license.scm5
-rw-r--r--gnu/packages/linux.scm1102
-rw-r--r--gnu/packages/lisp-xyz.scm335
-rw-r--r--gnu/packages/lisp.scm71
-rw-r--r--gnu/packages/llvm.scm394
-rw-r--r--gnu/packages/logging.scm159
-rw-r--r--gnu/packages/lua.scm15
-rw-r--r--gnu/packages/lxde.scm4
-rw-r--r--gnu/packages/machine-learning.scm245
-rw-r--r--gnu/packages/mail.scm371
-rw-r--r--gnu/packages/man.scm139
-rw-r--r--gnu/packages/markup.scm181
-rw-r--r--gnu/packages/mastodon.scm45
-rw-r--r--gnu/packages/maths.scm542
-rw-r--r--gnu/packages/matrix.scm20
-rw-r--r--gnu/packages/maven.scm101
-rw-r--r--gnu/packages/messaging.scm276
-rw-r--r--gnu/packages/minetest.scm40
-rw-r--r--gnu/packages/monitoring.scm2
-rw-r--r--gnu/packages/moreutils.scm39
-rw-r--r--gnu/packages/mp3.scm5
-rw-r--r--gnu/packages/mpi.scm39
-rw-r--r--gnu/packages/mtools.scm4
-rw-r--r--gnu/packages/music.scm349
-rw-r--r--gnu/packages/myrddin.scm65
-rw-r--r--gnu/packages/networking.scm256
-rw-r--r--gnu/packages/nim.scm5
-rw-r--r--gnu/packages/node-xyz.scm935
-rw-r--r--gnu/packages/node.scm280
-rw-r--r--gnu/packages/notcurses.scm77
-rw-r--r--gnu/packages/nss.scm4
-rw-r--r--gnu/packages/ocaml.scm199
-rw-r--r--gnu/packages/openldap.scm65
-rw-r--r--gnu/packages/openstack.scm95
-rw-r--r--gnu/packages/orange.scm35
-rw-r--r--gnu/packages/package-management.scm483
-rw-r--r--gnu/packages/pantheon.scm27
-rw-r--r--gnu/packages/parallel.scm6
-rw-r--r--gnu/packages/password-utils.scm51
-rw-r--r--gnu/packages/patches/audacity-add-include.patch15
-rw-r--r--gnu/packages/patches/audacity-build-with-system-portaudio.patch62
-rw-r--r--gnu/packages/patches/behave-skip-a-couple-of-tests.patch462
-rw-r--r--gnu/packages/patches/bind-re-add-attr-constructor-priority.patch2
-rw-r--r--gnu/packages/patches/binutils-CVE-2021-45078.patch257
-rw-r--r--gnu/packages/patches/blender-2.79-gcc8.patch36
-rw-r--r--gnu/packages/patches/blender-2.79-gcc9.patch53
-rw-r--r--gnu/packages/patches/blender-2.79-newer-ffmpeg.patch80
-rw-r--r--gnu/packages/patches/blender-2.79-oiio2.patch284
-rw-r--r--gnu/packages/patches/blender-2.79-python-3.7-fix.patch43
-rw-r--r--gnu/packages/patches/blender-2.79-python-3.8-fix.patch204
-rw-r--r--gnu/packages/patches/bubblewrap-fix-locale-in-tests.patch34
-rw-r--r--gnu/packages/patches/calibre-fix-zeroconf.patch38
-rw-r--r--gnu/packages/patches/chez-scheme-build-util-paths-backport.patch780
-rw-r--r--gnu/packages/patches/clang-13.0-libc-search-path.patch96
-rw-r--r--gnu/packages/patches/cool-retro-term-wctype.patch13
-rw-r--r--gnu/packages/patches/dealii-fix-compiliation-with-boost-1.78.patch40
-rw-r--r--gnu/packages/patches/dealii-fix-sundials.patch60
-rw-r--r--gnu/packages/patches/dune-istl-2.7-fix-non-mpi-tests.patch82
-rw-r--r--gnu/packages/patches/enlightenment-fix-setuid-path.patch33
-rw-r--r--gnu/packages/patches/eog-update-libportal-usage.patch40
-rw-r--r--gnu/packages/patches/epiphany-update-libportal-usage.patch53
-rw-r--r--gnu/packages/patches/fifengine-boost-compat.patch17
-rw-r--r--gnu/packages/patches/gnome-builder-update-libportal.patch93
-rw-r--r--gnu/packages/patches/gnome-control-center-libexecdir.patch58
-rw-r--r--gnu/packages/patches/gnome-todo-libportal.patch54
-rw-r--r--gnu/packages/patches/gpaste-fix-paths.patch24
-rw-r--r--gnu/packages/patches/gtk-introspection-test.patch22
-rw-r--r--gnu/packages/patches/htslib-for-stringtie.patch26
-rw-r--r--gnu/packages/patches/hueplusplus-mbedtls.patch20
-rw-r--r--gnu/packages/patches/icedtea-6-extend-hotspot-aarch64-support.patch1831
-rw-r--r--gnu/packages/patches/jacal-fix-texinfo.patch92
-rw-r--r--gnu/packages/patches/jami-fix-crash-on-quit.patch34
-rw-r--r--gnu/packages/patches/libsequoia-fix-ffi-Makefile.patch32
-rw-r--r--gnu/packages/patches/libsequoia-remove-store.patch432
-rw-r--r--gnu/packages/patches/libsigrokdecode-python3.9-fix.patch19
-rw-r--r--gnu/packages/patches/libtool-skip-tests2.patch8
-rw-r--r--gnu/packages/patches/linuxdcpp-openssl-1.1.patch26
-rw-r--r--gnu/packages/patches/lua-5.4-liblua-so.patch33
-rw-r--r--gnu/packages/patches/lua-5.4-pkgconfig.patch110
-rw-r--r--gnu/packages/patches/nautilus-add-libportal-gtk3.patch61
-rw-r--r--gnu/packages/patches/nix-dont-build-html-doc.diff26
-rw-r--r--gnu/packages/patches/opencv-fix-build-of-grfmt_jpeg2000.cpp.patch39
-rw-r--r--gnu/packages/patches/opencv-rgbd-aarch64-test-fix.patch40
-rw-r--r--gnu/packages/patches/openrgb-unbundle-hueplusplus.patch58
-rw-r--r--gnu/packages/patches/password-store-tree-compat.patch29
-rw-r--r--gnu/packages/patches/passwordsafe-meson-remove-extra-argument.patch20
-rw-r--r--gnu/packages/patches/pjproject-correct-the-cflags-field.patch121
-rw-r--r--gnu/packages/patches/pjproject-fix-pkg-config-ldflags.patch79
-rw-r--r--gnu/packages/patches/pjproject-install-libpjsua2.patch19
-rw-r--r--gnu/packages/patches/ppsspp-disable-upgrade-and-gold.patch234
-rw-r--r--gnu/packages/patches/pulseview-glib-2.68.patch54
-rw-r--r--gnu/packages/patches/python-pdoc3-tests.patch42
-rw-r--r--gnu/packages/patches/python-piexif-fix-tests-with-pillow-7.2.patch44
-rw-r--r--gnu/packages/patches/python-pydot-regression-test.patch79
-rw-r--r--gnu/packages/patches/qemu-CVE-2021-20203.patch172
-rw-r--r--gnu/packages/patches/quassel-qt-514-compat.patch130
-rw-r--r--gnu/packages/patches/r-httpuv-1.5.5-unvendor-libuv.patch34
-rw-r--r--gnu/packages/patches/ragel-char-signedness.patch42
-rw-r--r--gnu/packages/patches/shadow-hurd-pctrl.patch16
-rw-r--r--gnu/packages/patches/sssd-fix-samba-4.15.3.patch523
-rw-r--r--gnu/packages/patches/supertux-unbundle-squirrel.patch17
-rw-r--r--gnu/packages/patches/tensorflow-c-api-fix.patch312
-rw-r--r--gnu/packages/patches/tootle-glib-object-naming.patch66
-rw-r--r--gnu/packages/patches/tootle-reason-phrase.patch48
-rw-r--r--gnu/packages/patches/tremc-fix-decodestring.patch25
-rw-r--r--gnu/packages/patches/ungoogled-chromium-system-ffmpeg.patch18
-rw-r--r--gnu/packages/patches/widelands-add-missing-map-include.patch28
-rw-r--r--gnu/packages/patches/wpa-supplicant-CVE-2021-27803.patch50
-rw-r--r--gnu/packages/patches/wpa-supplicant-CVE-2021-30004.patch115
-rw-r--r--gnu/packages/patches/xdg-desktop-portal-wlr-harcoded-length.patch28
-rw-r--r--gnu/packages/patches/xgboost-use-system-dmlc-core.patch53
-rw-r--r--gnu/packages/patches/xmonad-next-dynamic-linking.patch16
-rw-r--r--gnu/packages/patches/xpra-4.2-install_libs.patch29
-rw-r--r--gnu/packages/patches/zig-disable-libc-note-test.patch30
-rw-r--r--gnu/packages/patches/zig-use-system-paths.patch257
-rw-r--r--gnu/packages/patchutils.scm6
-rw-r--r--gnu/packages/pciutils.scm7
-rw-r--r--gnu/packages/pdf.scm12
-rw-r--r--gnu/packages/perl.scm55
-rw-r--r--gnu/packages/perl6.scm2
-rw-r--r--gnu/packages/phabricator.scm8
-rw-r--r--gnu/packages/photo.scm93
-rw-r--r--gnu/packages/plotutils.scm120
-rw-r--r--gnu/packages/profiling.scm122
-rw-r--r--gnu/packages/protobuf.scm4
-rw-r--r--gnu/packages/pulseaudio.scm8
-rw-r--r--gnu/packages/python-build.scm90
-rw-r--r--gnu/packages/python-check.scm201
-rw-r--r--gnu/packages/python-compression.scm33
-rw-r--r--gnu/packages/python-crypto.scm149
-rw-r--r--gnu/packages/python-science.scm116
-rw-r--r--gnu/packages/python-web.scm716
-rw-r--r--gnu/packages/python-xyz.scm2628
-rw-r--r--gnu/packages/python.scm5
-rw-r--r--gnu/packages/qt.scm16
-rw-r--r--gnu/packages/radio.scm4
-rw-r--r--gnu/packages/ragel.scm29
-rw-r--r--gnu/packages/rdf.scm92
-rw-r--r--gnu/packages/rrdtool.scm5
-rw-r--r--gnu/packages/rsync.scm43
-rw-r--r--gnu/packages/ruby.scm4
-rw-r--r--gnu/packages/rush.scm5
-rw-r--r--gnu/packages/rust-apps.scm384
-rw-r--r--gnu/packages/rust.scm59
-rw-r--r--gnu/packages/samba.scm141
-rw-r--r--gnu/packages/scanner.scm104
-rw-r--r--gnu/packages/scheme.scm11
-rw-r--r--gnu/packages/scribus.scm60
-rw-r--r--gnu/packages/search.scm37
-rw-r--r--gnu/packages/security-token.scm104
-rw-r--r--gnu/packages/sequoia.scm632
-rw-r--r--gnu/packages/shells.scm943
-rw-r--r--gnu/packages/shellutils.scm116
-rw-r--r--gnu/packages/speech.scm22
-rw-r--r--gnu/packages/sphinx.scm158
-rw-r--r--gnu/packages/ssh.scm4
-rw-r--r--gnu/packages/sssd.scm22
-rw-r--r--gnu/packages/statistics.scm219
-rw-r--r--gnu/packages/storage.scm34
-rw-r--r--gnu/packages/suckless.scm66
-rw-r--r--gnu/packages/sync.scm4
-rw-r--r--gnu/packages/syncthing.scm59
-rw-r--r--gnu/packages/syndication.scm13
-rw-r--r--gnu/packages/task-management.scm1
-rw-r--r--gnu/packages/tbb.scm10
-rw-r--r--gnu/packages/tcl.scm51
-rw-r--r--gnu/packages/telegram.scm99
-rw-r--r--gnu/packages/telephony.scm18
-rw-r--r--gnu/packages/terminals.scm36
-rw-r--r--gnu/packages/tex.scm532
-rw-r--r--gnu/packages/texinfo.scm16
-rw-r--r--gnu/packages/text-editors.scm13
-rw-r--r--gnu/packages/textutils.scm117
-rw-r--r--gnu/packages/time.scm64
-rw-r--r--gnu/packages/tls.scm51
-rw-r--r--gnu/packages/toys.scm14
-rw-r--r--gnu/packages/tryton.scm92
-rw-r--r--gnu/packages/unicode.scm69
-rw-r--r--gnu/packages/version-control.scm106
-rw-r--r--gnu/packages/video.scm198
-rw-r--r--gnu/packages/vim.scm85
-rw-r--r--gnu/packages/virtualization.scm361
-rw-r--r--gnu/packages/vlang.scm36
-rw-r--r--gnu/packages/vnc.scm115
-rw-r--r--gnu/packages/web-browsers.scm76
-rw-r--r--gnu/packages/web.scm234
-rw-r--r--gnu/packages/webkit.scm19
-rw-r--r--gnu/packages/wget.scm1
-rw-r--r--gnu/packages/wine.scm84
-rw-r--r--gnu/packages/wireservice.scm18
-rw-r--r--gnu/packages/wm.scm139
-rw-r--r--gnu/packages/wxwidgets.scm29
-rw-r--r--gnu/packages/xdisorg.scm96
-rw-r--r--gnu/packages/xfce.scm12
-rw-r--r--gnu/packages/xiph.scm35
-rw-r--r--gnu/packages/xml.scm25
-rw-r--r--gnu/packages/xorg.scm115
-rw-r--r--gnu/packages/zig.scm9
-rw-r--r--gnu/packages/zwave.scm64
326 files changed, 37246 insertions, 18935 deletions
diff --git a/gnu/packages/accessibility.scm b/gnu/packages/accessibility.scm
index 000f007015..b692ec575f 100644
--- a/gnu/packages/accessibility.scm
+++ b/gnu/packages/accessibility.scm
@@ -78,14 +78,9 @@
"--disable-static"
"--enable-fake")))
(native-inputs
- `(("latex2html" ,latex2html)
- ("pkg-config" ,pkg-config)
- ("python" ,python-wrapper)
- ("swig" ,swig)))
+ (list latex2html pkg-config python-wrapper swig))
(inputs
- `(("glib" ,glib)
- ("gtk+" ,gtk+-2)
- ("libusb" ,libusb-compat)))
+ (list glib gtk+-2 libusb-compat))
(synopsis "Portable Braille Library")
(description "Libbraille is a library to easily access Braille displays and
terminals.")
@@ -95,22 +90,24 @@ terminals.")
(define-public brltty
(package
(name "brltty")
- (version "6.2")
+ (version "6.4")
(source
(origin
(method url-fetch)
(uri
(string-append "https://brltty.app/archive/brltty-" version ".tar.gz"))
(sha256
- (base32 "0m0cq3p1cwp52n81si621gij82w3mdqwgr39m6bs652pmk5na72l"))))
+ (base32 "0zybi9i9izv25g0wphl0snddrhb6xl5879y4pkpjpnxq61wm9gry"))))
(build-system glib-or-gtk-build-system)
(arguments
`(#:tests? #f ; No target
+
+ ;; High parallelism may cause errors such as:
+ ;; ranlib: ./libbrlapi_stubs.a: error reading brlapi_stubs.o: file truncated
+ #:parallel-build? #f
+
#:configure-flags
(list
- (string-append "--with-tcl-config="
- (assoc-ref %build-inputs "tcl")
- "/lib/tclConfig.sh")
(string-append "--with-libbraille="
(assoc-ref %build-inputs "libbraille"))
(string-append "--with-espeak_ng="
@@ -152,49 +149,48 @@ terminals.")
(string-append "extra_link_args = ['-Wl,-rpath="
(assoc-ref outputs "out")
"/lib'], "
- "extra_compile_args = ")))
- #t)))))
+ "extra_compile_args = "))))))))
(native-inputs
- `(("clisp" ,clisp)
- ("cython" ,python-cython)
- ("doxygen" ,doxygen)
- ("gettext" ,gettext-minimal)
- ("java" ,icedtea "jdk")
- ;; ("linuxdoc" ,linuxdoc-tools)
- ("ocaml" ,ocaml)
- ("ocamlfind" ,ocaml-findlib)
- ("pkg-config" ,pkg-config)
- ("python" ,python-wrapper)
- ("tcl" ,tcl)))
+ (list clisp
+ python-cython
+ doxygen
+ gettext-minimal
+ `(,icedtea "jdk")
+ ;; ("linuxdoc" ,linuxdoc-tools)
+ ocaml
+ ocaml-findlib
+ pkg-config
+ python-wrapper
+ tcl))
(inputs
- `(("alsa" ,alsa-lib)
- ("atspi2" ,at-spi2-core)
- ("bluez" ,bluez)
- ("dbus" ,dbus)
- ("espeak" ,espeak)
- ("espeak-ng" ,espeak-ng)
- ("expat" ,expat)
- ("festival" ,festival)
- ("flite" ,flite)
- ("glib" ,glib)
- ("gpm" ,gpm)
- ("iconv" ,libiconv)
- ("icu" ,icu4c)
- ("libbraille" ,libbraille)
- ("libpcre2" ,pcre2)
- ("louis" ,liblouis)
- ("ncurses" ,ncurses)
- ("polkit" ,polkit)
- ("speech-dispatcher" ,speech-dispatcher)
- ("util-linux" ,util-linux)
- ("util-linux:lib" ,util-linux "lib")
- ("x11" ,libx11)
- ("xaw" ,libxaw)
- ("xaw3d" ,libxaw3d)
- ("xext" ,libxext)
- ("xfixes" ,libxfixes)
- ("xt" ,libxt)
- ("xtst" ,libxtst)))
+ (list alsa-lib
+ at-spi2-core
+ bluez
+ dbus
+ espeak
+ espeak-ng
+ expat
+ festival
+ flite
+ glib
+ gpm
+ libiconv
+ icu4c
+ libbraille
+ pcre2
+ liblouis
+ ncurses
+ polkit
+ speech-dispatcher
+ util-linux
+ `(,util-linux "lib")
+ libx11
+ libxaw
+ libxaw3d
+ libxext
+ libxfixes
+ libxt
+ libxtst))
(synopsis "Braille TTY")
(description "BRLTTY is a background process (daemon) which provides access
to the Linux/Unix console (when in text mode) for a blind person using a
@@ -312,7 +308,7 @@ devices have vendorId:productId = 0c45:7403 or 0c45:7404.")
(modify-phases %standard-phases
(delete 'configure))))
(inputs
- `(("libX11" ,libx11)))
+ (list libx11))
(home-page "https://gitlab.com/amiloradovsky/magnify")
(synopsis "Tiny screen magnifier for X11")
(description
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 72b0b4ee72..f247cdf41a 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -9,7 +9,7 @@
;;; Copyright © 2016, 2017, 2020 Leo Famulari <leo@famulari.name>
;;; Copyright © 2016 Pjotr Prins <pjotr.guix@thebird.nl>
;;; Copyright © 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
-;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Peter Feigl <peter.feigl@nexoid.at>
;;; Copyright © 2016 John J. Foerch <jjfoerch@earthlink.net>
;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
@@ -46,6 +46,7 @@
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
+;;; Copyright © 2021 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -75,6 +76,7 @@
#:use-module (guix build-system trivial)
#:use-module (guix download)
#:use-module (guix git-download)
+ #:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
@@ -118,6 +120,7 @@
#:use-module (gnu packages libusb)
#:use-module (gnu packages linux)
#:use-module (gnu packages lua)
+ #:use-module (gnu packages m4)
#:use-module (gnu packages mail)
#:use-module (gnu packages man)
#:use-module (gnu packages mcrypt)
@@ -680,19 +683,21 @@ memory, disks, network and processes.")
(define-public bpytop
(package
(name "bpytop")
- (version "1.0.67")
+ (version "1.0.68")
(source
(origin
(method url-fetch)
(uri (pypi-uri "bpytop" version))
(sha256
- (base32 "1fwmiwvs8ax9az3hbp1p79x6m3wq73pn3vkbhcg9jvps4wv8wcwb"))))
+ (base32 "1clvajbv7pzlya9s1xs6dvjic8rv3kx7aqiwnjxapiypx246gdjk"))))
(build-system python-build-system)
(inputs
(list python-psutil))
(arguments
`(#:phases
(modify-phases %standard-phases
+ ;; sanity-check phase fail, but the application seems to be working
+ (delete 'sanity-check)
(add-after 'install 'install-themes
(lambda* (#:key outputs #:allow-other-keys)
(let ((themes (string-append (assoc-ref outputs "out")
@@ -713,7 +718,7 @@ memory, disks, network and processes. It's a Python port and continuation of
(define-public pies
(package
(name "pies")
- (version "1.6")
+ (version "1.7")
(source
(origin
(method url-fetch)
@@ -721,7 +726,7 @@ memory, disks, network and processes. It's a Python port and continuation of
version ".tar.bz2"))
(sha256
(base32
- "0ad5bg1czwmr4qw33aszxzc6ll99a9lfs32lyfb1wl5x9s1cc7az"))))
+ "0ajcah2y6n55qc0ckspcx0hfpm1yb2xa1apcyij7mclic4q2y330"))))
(build-system gnu-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
@@ -732,8 +737,7 @@ memory, disks, network and processes. It's a Python port and continuation of
(let ((bash (assoc-ref inputs "bash")))
(substitute* '("src/progman.c" "src/comp.c")
(("\"/bin/sh\"")
- (string-append "\"" bash "/bin/sh\"")))
- #t))))))
+ (string-append "\"" bash "/bin/sh\"")))))))))
(home-page "https://www.gnu.org.ua/software/pies/")
(synopsis "Program invocation and execution supervisor")
(description
@@ -801,16 +805,15 @@ hostname.")
(define-public shadow
(package
(name "shadow")
- (version "4.8.1")
+ (version "4.9")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/shadow-maint/shadow/releases/"
- "download/" version "/shadow-" version ".tar.xz"))
- (patches (search-patches "shadow-hurd-pctrl.patch"))
+ "download/v" version "/shadow-" version ".tar.xz"))
(sha256
(base32
- "0qmfq50sdhz6xilgxvinblll8j2iqfl7hwk45bq744y4plq4dbd3"))))
+ "0i4iijbshnwnsrskxzrh18xgmzff0hdpsnnkmyc2gdn1x4n1zv7y"))))
(build-system gnu-build-system)
(arguments
`(;; Assume System V `setpgrp (void)', which is the default on GNU
@@ -821,9 +824,16 @@ hostname.")
'("--with-libpam"))
"shadow_cv_logdir=/var/log"
"ac_cv_func_setpgrp_void=yes")
-
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'fix-linking-to-pam
+ (lambda _
+ ;; There's a build system problem in 4.9 that causes link
+ ;; failures with the pam libraries (see:
+ ;; https://github.com/shadow-maint/shadow/issues/407).
+ (substitute* "libsubid/Makefile.in"
+ (("\\$\\(LIBTCB\\)" all)
+ (string-append all " $(LIBPAM)")))))
,@(if (%current-target-system)
'((add-before 'configure 'set-runtime-shell
(lambda* (#:key inputs #:allow-other-keys)
@@ -844,8 +854,7 @@ hostname.")
"libc"))))
(substitute* "lib/nscd.c"
(("/usr/sbin/nscd")
- (string-append libc "/sbin/nscd")))
- #t)))
+ (string-append libc "/sbin/nscd"))))))
(add-after 'install 'remove-groups
(lambda* (#:key outputs #:allow-other-keys)
;; Remove `groups', which is already provided by Coreutils.
@@ -853,9 +862,7 @@ hostname.")
(bin (string-append out "/bin"))
(man (string-append out "/share/man")))
(delete-file (string-append bin "/groups"))
- (for-each delete-file (find-files man "^groups\\."))
- #t))))))
-
+ (for-each delete-file (find-files man "^groups\\."))))))))
(inputs
`(,@(if (hurd-target?)
'()
@@ -1134,17 +1141,21 @@ recursive runs on the generated subnets. (also IPv6)
(define-public alive
(package
(name "alive")
- (version "2.0.3")
+ (version "2.0.5")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/alive/alive-"
- version ".tar.xz"))
+ version ".tar.lz"))
(sha256
(base32
- "053hfp7s66lnilm1ii4jrjmy44wpa2cwwh6f0sl8cyz0mm813x4b"))))
+ "12ahlxbbrynm6md8qc872qr795lqpfkr8kwlsig40i4nznzkvkwl"))))
(build-system gnu-build-system)
(arguments '(#:configure-flags '("alive_cv_nice_ping=yes")))
- (inputs (list guile-2.0 inetutils))
+ (inputs
+ (list guile-3.0
+ inetutils))
+ (native-inputs
+ (list lzip))
(home-page "https://www.gnu.org/software/alive/")
(synopsis "Autologin and keep-alive daemon")
(description
@@ -1207,8 +1218,7 @@ connection alive.")
"--host=$host_alias"))
;; BIND needs a native compiler because the DHCP
;; build system uses the built 'gen' executable.
- (setenv "BUILD_CC" "gcc")
- #t)))
+ (setenv "BUILD_CC" "gcc"))))
'())
(add-after 'configure 'post-configure
(lambda* (#:key outputs #:allow-other-keys)
@@ -1831,7 +1841,7 @@ features of sudo with a fraction of the codebase.")
(define-public wpa-supplicant-minimal
(package
(name "wpa-supplicant-minimal")
- (version "2.9")
+ (version "2.10")
(source (origin
(method url-fetch)
(uri (string-append
@@ -1839,7 +1849,7 @@ features of sudo with a fraction of the codebase.")
version ".tar.gz"))
(sha256
(base32
- "05qzak1mssnxcgdrafifxh9w86a4ha69qabkg4bsigk499xyxggw"))
+ "0bvvw7bx149a57llzrwzlpggyym84f8jdd4abwsk0f2b2pjpmpr0"))
(modules '((guix build utils)))
(snippet
'(begin
@@ -1847,10 +1857,7 @@ features of sudo with a fraction of the codebase.")
;; Disable D-Bus to save ~14MiB on the closure size.
(("^CONFIG_CTRL_IFACE_DBUS" line _)
(string-append "#" line)))
- #t))
- (patches
- (search-patches "wpa-supplicant-CVE-2021-27803.patch"
- "wpa-supplicant-CVE-2021-30004.patch"))))
+ #t))))
(build-system gnu-build-system)
(arguments
`(#:phases
@@ -2003,64 +2010,51 @@ command.")
(define-public hostapd
(package
(name "hostapd")
- (version "2.9")
+ (version "2.10")
(source (origin
(method url-fetch)
(uri (string-append "https://w1.fi/releases/hostapd-" version
".tar.gz"))
(sha256
(base32
- "1mrbvg4v7vm7mknf0n29mf88k3s4a4qj6r4d51wq8hmjj1m7s7c8"))
- (patches
- (search-patches "wpa-supplicant-CVE-2021-27803.patch"
- "wpa-supplicant-CVE-2021-30004.patch"))))
+ "0pcik0a6yin9nib02frjhaglmg44hwik086iwg1751b7kdwpqvi0"))))
(build-system gnu-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'configure
- (lambda _
- ;; This is mostly copied from 'wpa-supplicant' above.
- (chdir "hostapd")
- (copy-file "defconfig" ".config")
- (let ((port (open-file ".config" "al")))
- (display "
- CONFIG_LIBNL32=y
- CONFIG_IEEE80211R=y
- CONFIG_IEEE80211N=y
- CONFIG_IEEE80211AC=y\n" port)
- (close-port port))
- #t))
- (add-after 'unpack 'patch-pkg-config
- (lambda _
- (substitute* "src/drivers/drivers.mak"
- (("pkg-config")
- (or (which "pkg-config")
- (string-append ,(%current-target-system)
- "-pkg-config"))))
- #t))
- (add-after 'install 'install-man-pages
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (man (string-append out "/share/man"))
- (man1 (string-append man "/man1"))
- (man8 (string-append man "/man8")))
- (define (copy-man-page target)
- (lambda (file)
- (install-file file target)))
-
- (for-each (copy-man-page man1)
- (find-files "." "\\.1"))
- (for-each (copy-man-page man8)
- (find-files "." "\\.8"))
- #t))))
-
- #:make-flags (list (string-append "CC=" ,(cc-for-target))
- (string-append "BINDIR=" (assoc-ref %outputs "out")
- "/sbin")
- (string-append "LIBDIR=" (assoc-ref %outputs "out")
- "/lib"))
- #:tests? #f))
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (replace 'configure
+ (lambda _
+ ;; This is mostly copied from 'wpa-supplicant' above.
+ (chdir "hostapd")
+ (copy-file "defconfig" ".config")
+ (let ((port (open-file ".config" "al")))
+ (display "CONFIG_LIBNL32=y
+ CONFIG_IEEE80211R=y
+ CONFIG_IEEE80211N=y
+ CONFIG_IEEE80211AC=y\n" port)
+ (close-port port))))
+ (add-after 'unpack 'patch-pkg-config
+ (lambda _
+ (substitute* "src/drivers/drivers.mak"
+ (("pkg-config")
+ #$(pkg-config-for-target)))))
+ (add-after 'install 'install-man-pages
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((man (string-append #$output "/share/man"))
+ (man1 (string-append man "/man1"))
+ (man8 (string-append man "/man8")))
+ (define (copy-man-page target)
+ (lambda (file)
+ (install-file file target)))
+ (for-each (copy-man-page man1)
+ (find-files "." "\\.1"))
+ (for-each (copy-man-page man8)
+ (find-files "." "\\.8"))))))
+ #:make-flags
+ #~(list (string-append "CC=" #$(cc-for-target))
+ (string-append "BINDIR=" #$output "/sbin")
+ (string-append "LIBDIR=" #$output "/lib"))
+ #:tests? #f))
(native-inputs (list pkg-config))
;; There's an optional dependency on SQLite.
@@ -2149,7 +2143,7 @@ module slots, and the list of I/O ports (e.g. serial, parallel, USB).")
(define-public acpica
(package
(name "acpica")
- (version "20210930")
+ (version "20211217")
(source (origin
(method url-fetch)
(uri (string-append
@@ -2157,7 +2151,7 @@ module slots, and the list of I/O ports (e.g. serial, parallel, USB).")
version ".tar.gz"))
(sha256
(base32
- "06wsrl1118sl9z76p9sh53zvzv5hpm82qks896d8slx5dgnzrrll"))))
+ "0521hmaw2zhi0mpgnaf2i83dykfgql4bx98cg7xqy8wmj649z194"))))
(build-system gnu-build-system)
(native-inputs (list flex bison))
(arguments
@@ -2229,6 +2223,74 @@ the classes of bugs which only or more frequently manifest themselves when the
system is under heavy load.")
(license license:gpl2+)))
+(define-public stress-ng
+ (package
+ (name "stress-ng")
+ (version "0.13.10")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ColinIanKing/stress-ng")
+ (commit (string-append "V" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1z9vjn2131iv3pwrh04z6r5ygi1qgad5bi3jhghcvc3v1b4k5ran"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list #:make-flags
+ #~(list (string-append "CC=" #$(cc-for-target))
+ (string-append "BINDIR=" #$output "/bin")
+ ;; XXX Really: MAN1DIR, or man pages won't be found.
+ (string-append "MANDIR=" #$output "/share/man/man1")
+ (string-append "JOBDIR=" #$output
+ "/share/stress-ng/example-jobs")
+ (string-append "BASHDIR=" #$output
+ "/share/bash-completion/completions"))
+ #:test-target "lite-test"
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure) ; no configure script
+ (add-after 'check 'check-a-little-harder
+ ;; XXX Guix supports only one #:test-target. Run more tests.
+ (lambda* (#:key tests? #:allow-other-keys #:rest args)
+ (when tests?
+ (substitute* "debian/tests/fast-test-all"
+ (("EXCLUDE=\"" exclude=)
+ (string-append exclude=
+ ;; Fails if host kernel denies ptracing.
+ "ptrace ")))
+ (apply (assoc-ref %standard-phases 'check)
+ `(,@args #:test-target "fast-test-all"))))))))
+ (inputs
+ (list keyutils
+ kmod
+ libaio
+ libbsd
+ libcap
+ libgcrypt
+ zlib))
+ (home-page "https://github.com/ColinIanKing/stress-ng")
+ (synopsis "Load and stress-test a computer system in various ways")
+ (description
+ "stress-ng stress-tests a computer system by exercising both physical
+subsystems as operating system kernel interfaces. It can stress the CPU, cache,
+disk, memory, socket and pipe I/O, scheduling, and much more, in various
+selectable ways. This can trip hardware issues such as thermal overruns as well
+as operating system bugs that occur only when a system is being thrashed hard.
+
+You can also measure test throughput rates, which can be useful to observe
+performance changes across different operating system releases or types of
+hardware. However, stress-ng is not a benchmark. Use it with caution: some of
+the tests can make poorly designed hardware run dangerously hot or make the
+whole system lock up.
+
+Compared to its inspiration, @command{stress}, @command{stress-ng} offers many
+additional options such as the number of bogo operations to run, execution
+metrics, verification of memory and computational operations, and considerably
+more stress mechanisms.")
+ (license license:gpl2+)))
+
(define-public detox
(package
(name "detox")
@@ -2296,20 +2358,24 @@ recover lost partitions and/or make non-booting disks bootable again.")
(define-public tree
(package
(name "tree")
- (version "1.8.0")
+ (version "2.0.1")
(source (origin
(method url-fetch)
(uri (string-append
"http://mama.indstate.edu/users/ice/tree/src/tree-"
version ".tgz"))
(sha256
- (base32 "1hmpz6k0mr6salv0nprvm1g0rdjva1kx03bdf1scw8a38d5mspbi"))))
+ (base32 "0f92vx6gpz7v29wi9clklzah57v7lgx5kv0m1w4b9xjc35d9qcz3"))))
(build-system gnu-build-system)
(arguments
- '(#:phases (modify-phases %standard-phases (delete 'configure))
- #:tests? #f ; no check target
- #:make-flags (let ((out (assoc-ref %outputs "out")))
- (list (string-append "prefix=" out)))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure)) ; No configure script.
+ #:tests? #f ; No check target.
+ #:make-flags
+ #~(list (string-append "PREFIX=" #$output)
+ (string-append "CC=" #$(cc-for-target)))))
(synopsis "Recursively list the contents of a directory")
(description
"Tree is a recursive directory listing command that produces a depth
@@ -2348,39 +2414,33 @@ features of ls(1), find(1), stat(1) and du(1).")
(define-public direvent
(package
(name "direvent")
- (version "5.2")
+ (version "5.3")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/direvent/direvent-"
version ".tar.gz"))
(sha256
(base32
- "0m9vi01b1km0cpknflyzsjnknbava0s1n6393b2bpjwyvb6j5613"))
- (modules '((guix build utils)))
- (snippet '(begin
- (substitute* "tests/testsuite"
- (("#![[:blank:]]?/bin/sh")
- "#!$SHELL"))
- #t))))
+ "15y4jk5vlcd003bvf42c6z9zd4gz4pwqpwaapqmyk7x4gnksh1cl"))))
(build-system gnu-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (add-before 'build 'patch-/bin/sh
- (lambda* (#:key inputs #:allow-other-keys)
- ;; Use the right shell when executing the watcher and
- ;; user-provided shell commands.
- (let ((bash (assoc-ref inputs "bash")))
- (substitute* '("src/direvent.c" "src/progman.c")
- (("\"/bin/sh\"")
- (string-append "\"" bash "/bin/sh\"")))
-
- ;; Adjust the 'shell.at' test accordingly.
- (substitute* "tests/testsuite"
- (("SHELL=/bin/sh")
- (string-append "SHELL=" bash "/bin/sh")))
-
- #t))))))
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'substitute-file-names
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; Use the right shell when executing the watcher and
+ ;; user-provided shell commands.
+ (let ((bash (assoc-ref inputs "bash")))
+ (substitute* '("src/direvent.c" "src/progman.c")
+ (("\"/bin/sh\"")
+ (string-append "\"" bash "/bin/sh\""))))
+
+ ;; Adjust the test suite similarly.
+ (substitute* "tests/testsuite"
+ (("(SHELL=|#![[:space:]]*)/bin/sh" _ prefix)
+ (string-append prefix (which "sh")))
+ (("/bin/kill")
+ (which "kill"))))))))
(home-page "https://www.gnu.org.ua/software/direvent/")
(synopsis "Daemon to monitor directories for events such as file removal")
(description
@@ -3444,6 +3504,43 @@ in order to be able to find it.
@end enumerate")
(license license:gpl2+)))
+(define-public xfel
+ (package
+ (name "xfel")
+ (version "1.2.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/xboot/xfel.git")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32 "0r4j63vh6279fj1yh71h08d1av3nc0majlad5yh6admsxiig101m"))
+ (file-name (git-file-name name version))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list libusb))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ; No tests exist
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-installation-target
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (substitute* "Makefile"
+ (("/usr/local") out)
+ (("/usr") out)
+ (("/etc/udev/rules.d")
+ (string-append out "/lib/udev/rules.d"))))))
+ (delete 'configure))))
+ (home-page "https://github.com/xboot/xfel")
+ (synopsis "Remote debugging tool for Allwinner D1 computers")
+ (description "This package contains a debugging tool for Allwinner D1
+devices (connects via USB OTG).")
+ (license license:expat)))
+
(define-public sedsed
(package
(name "sedsed")
@@ -3768,7 +3865,7 @@ hard-coded.")
(define-public thermald
(package
(name "thermald")
- (version "2.4.6")
+ (version "2.4.7")
(source
(origin
(method git-fetch)
@@ -3777,7 +3874,7 @@ hard-coded.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1lgaky8cmxbi17zpymy2v9wgknx1g92bq50j6kfpsm8qgb7djjb6"))))
+ (base32 "1n0ih86bkm09bzhjl7hllxkl4gzcxvzsznbwi8dx87ragsjlix6n"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags
@@ -3868,7 +3965,7 @@ application, collecting the information received.")
("python-nose" ,python-nose)))
(arguments
`(#:test-target "test"))
- (synopsis "A single tool that combines @command{cat} & @command{rm}")
+ (synopsis "Single tool that combines @command{cat} & @command{rm}")
(description
"hungrycat prints the contents of a file to standard output, while
simultaneously freeing the disk space it occupied. It is useful if you need
@@ -4483,7 +4580,7 @@ entries, providing commands to add, remove, comment, and search.")
(define-public nmrpflash
(package
(name "nmrpflash")
- (version "0.9.15")
+ (version "0.9.16")
(source
(origin
(method git-fetch)
@@ -4492,7 +4589,7 @@ entries, providing commands to add, remove, comment, and search.")
(url "https://github.com/jclehner/nmrpflash")
(commit (string-append "v" version))))
(sha256
- (base32 "0ssfls1sfh8w748qsnkfgndlpw395100x2yynzbk5jd56scxvp20"))
+ (base32 "0gp66l3a2wznjnlc2ljs8g38mfrf1b9a0qcfxqg2bczmfxnrsynj"))
(file-name (git-file-name name version))))
(build-system gnu-build-system)
(native-inputs
@@ -4509,8 +4606,7 @@ entries, providing commands to add, remove, comment, and search.")
(delete 'configure)
(add-before 'install 'prepare-install
(lambda* (#:key outputs #:allow-other-keys)
- (mkdir-p (string-append (assoc-ref outputs "out") "/bin"))
- #t)))))
+ (mkdir-p (string-append (assoc-ref outputs "out") "/bin")))))))
(home-page "https://github.com/jclehner/nmrpflash")
(synopsis "Netgear unbrick utility")
(description "This package provides a utility to flash a new firmware
@@ -4785,7 +4881,6 @@ FIFO and UNIX interprocess communication.")
(build-system go-build-system)
(arguments
`(#:unpack-path "bdd.fi/x/runitor"
- #:go ,go-1.17
#:build-flags '(,(string-append "-ldflags=-X main.Version=" version))
#:import-path "bdd.fi/x/runitor/cmd/runitor"
#:install-source? #f))
@@ -4796,3 +4891,39 @@ FIFO and UNIX interprocess communication.")
exit code reports successful or failed execution to
@url{https://healthchecks.io,https://healthchecks.io} or your private instance.")
(license license:bsd-0)))
+
+(define-public udpcast
+ (package
+ (name "udpcast")
+ (version "20200328")
+ (source
+ (origin
+ (method url-fetch)
+ ;; XXX: Original server is at https://www.udpcast.linux.lu is not
+ ;; reliable.
+ (uri (list (string-append
+ "http://sources.buildroot.net/udpcast/udpcast-"
+ version ".tar.gz")
+ (string-append
+ "https://fossies.org/linux/privat/udpcast-"
+ version ".tar.gz")
+ (string-append
+ "https://www.udpcast.linux.lu/download/udpcast-"
+ version ".tar.gz")))
+ (sha256
+ (base32 "06pj86nbi9hx7abbb0z2c5ynhfq0rv89b7nmy0kq3xz2lsxfw6cw"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ (list autoconf automake m4 perl))
+ (arguments `(#:tests? #f)) ;no test suite
+ (synopsis "Multicast file transfer tool")
+ (description
+ "UDPcast is a file transfer tool that can send data simultaneously to
+many destinations on a LAN. This can for instance be used to install entire
+classrooms of PC's at once. The advantage of UDPcast over using other
+methods (nfs, ftp, whatever) is that UDPcast uses UDP's multicast abilities:
+it won't take longer to install 15 machines than it would to install just 2.")
+ (home-page "https://www.udpcast.linux.lu")
+ (license license:gpl2+)))
+
+
diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index 79785bd463..ff6e5189fd 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2013, 2015, 2017, 2018, 2021 Ludovic Courtès <ludo@gnu.org>
-;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
+;;; Copyright © 2016–2022 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2014, 2018 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2016, 2018, 2019, 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
@@ -328,7 +328,7 @@ precision.")
(define-public giac
(package
(name "giac")
- (version "1.7.0-43")
+ (version "1.7.0-45")
(source
(origin
(method url-fetch)
@@ -340,7 +340,7 @@ precision.")
"~parisse/debian/dists/stable/main/source/"
"giac_" version ".tar.gz"))
(sha256
- (base32 "0zsa506isvmixwwg0xgvxhlns6i75jsc3qjzcrny4fl11hkj9xw5"))))
+ (base32 "19hxbx27n5zby96d4pzhxxqn7mzk29g8sxn08fi638l17lr9x2q2"))))
(build-system gnu-build-system)
(arguments
`(#:modules ((ice-9 ftw)
@@ -378,33 +378,33 @@ precision.")
(delete-file (string-append out "/bin/xcasnew"))))))))
(inputs
;; TODO: Add libnauty, unbundle "libmicropython.a".
- `(("fltk" ,fltk)
- ("glpk" ,glpk-4)
- ("gmp" ,gmp)
- ("gsl" ,gsl)
- ("lapack" ,lapack)
- ("libao" ,ao)
- ("libjpeg" ,libjpeg-turbo)
- ("libpng" ,libpng)
- ("libsamplerate" ,libsamplerate)
- ("libx11" ,libx11)
- ("libxinerama" ,libxinerama)
- ("libxft" ,libxft)
- ("libxt" ,libxt)
- ("mesa" ,mesa)
- ("mpfi" ,mpfi)
- ("mpfr" ,mpfr)
- ("ntl" ,ntl)
- ("perl" ,perl)
- ("pari-gp" ,pari-gp)
- ("tcsh" ,tcsh)))
+ (list ao
+ fltk
+ glpk-4
+ gmp
+ gsl
+ lapack
+ libjpeg-turbo
+ libpng
+ libsamplerate
+ libx11
+ libxft
+ libxinerama
+ libxt
+ mesa
+ mpfi
+ mpfr
+ ntl
+ pari-gp
+ perl
+ tcsh))
(native-inputs
- `(("bison" ,bison)
- ("flex" ,flex)
- ("hevea" ,hevea)
- ("python" ,python-wrapper)
- ("readline" ,readline)
- ("texlive" ,texlive-tiny)))
+ (list bison
+ flex
+ hevea
+ python-wrapper
+ readline
+ texlive-tiny))
(home-page "https://www-fourier.ujf-grenoble.fr/~parisse/giac.html")
(synopsis "Computer algebra system")
(description
@@ -1044,6 +1044,44 @@ features, and more.")
;; See 'COPYING.README' for details.
(license license:mpl2.0)))
+(define-public eigen-benchmarks
+ (package
+ (inherit eigen)
+ (name "eigen-benchmarks")
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (delete 'configure)
+ (replace 'build
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin")))
+ (define (compile file)
+ (format #t "compiling '~a'...~%" file)
+ (let ((target
+ (string-append bin "/"
+ (basename file ".cpp"))))
+ (invoke "c++" "-o" target file
+ "-I" ".." "-O2" "-g"
+ "-lopenblas" "-Wl,--as-needed")))
+
+ (mkdir-p bin)
+ (with-directory-excursion "bench"
+ ;; There are more benchmarks, of varying quality.
+ ;; Here we pick some that appear to be useful.
+ (for-each compile
+ '("benchBlasGemm.cpp"
+ "benchCholesky.cpp"
+ ;;"benchEigenSolver.cpp"
+ "benchFFT.cpp"
+ "benchmark-blocking-sizes.cpp"))))))
+ (delete 'install))))
+ (inputs (list boost openblas))
+
+ ;; Mark as tunable to take advantage of SIMD code in Eigen.
+ (properties '((tunable? . #t)))
+
+ (synopsis "Micro-benchmarks of the Eigen linear algebra library")))
+
(define-public eigen-for-tensorflow
(let ((changeset "fd6845384b86")
(revision "1"))
@@ -1131,6 +1169,45 @@ xtensor provides:
@end itemize")
(license license:bsd-3)))
+(define-public xtensor-benchmark
+ (package
+ (inherit xtensor)
+ (name "xtensor-benchmark")
+ (arguments
+ `(#:configure-flags (list "-DBUILD_BENCHMARK=ON"
+ "-DDOWNLOAD_GBENCHMARK=OFF")
+ #:tests? #f
+ #:phases (modify-phases %standard-phases
+ (add-after 'unpack 'remove-march=native
+ (lambda _
+ (substitute* "benchmark/CMakeLists.txt"
+ (("-march=native") ""))))
+ (add-after 'unpack 'link-with-googlebenchmark
+ (lambda _
+ (substitute* "benchmark/CMakeLists.txt"
+ (("find_package\\(benchmark.*" all)
+ (string-append
+ all "\n"
+ "set(GBENCHMARK_LIBRARIES benchmark)\n")))))
+ (replace 'build
+ (lambda _
+ (invoke "make" "benchmark_xtensor" "-j"
+ (number->string (parallel-job-count)))))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ ;; Install nothing but the executable.
+ (let ((out (assoc-ref outputs "out")))
+ (install-file "benchmark/benchmark_xtensor"
+ (string-append out "/bin"))))))))
+ (synopsis "Benchmarks of the xtensor library")
+ (native-inputs '())
+ (inputs
+ (modify-inputs (package-native-inputs xtensor)
+ (prepend googlebenchmark xsimd)))
+
+ ;; Mark as tunable to take advantage of SIMD code in xsimd/xtensor.
+ (properties '((tunable? . #t)))))
+
(define-public gap
(package
(name "gap")
diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm
index 5fa4e6c8e9..9f00303811 100644
--- a/gnu/packages/android.scm
+++ b/gnu/packages/android.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2020 Sergey Trofimov <sarg@sarg.org.ru>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
+;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -45,6 +46,7 @@
#:use-module (gnu packages gcc)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
+ #:use-module (gnu packages image)
#:use-module (gnu packages java)
#:use-module (gnu packages linux)
#:use-module (gnu packages pcre)
@@ -54,7 +56,9 @@
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages selinux)
#:use-module (gnu packages serialization)
+ #:use-module (gnu packages sphinx)
#:use-module (gnu packages ssh)
+ #:use-module (gnu packages time)
#:use-module (gnu packages tls)
#:use-module (gnu packages version-control)
#:use-module (gnu packages virtualization)
@@ -190,6 +194,28 @@ use their packages mostly unmodified in our Android NDK build system.")
(base32
checksum))))
+(define (android-platform-development version)
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://android.googlesource.com/platform/development")
+ (commit (string-append "android-" version))))
+ (file-name (string-append "android-platform-development-"
+ version "-checkout"))
+ (sha256
+ (base32 "0s92961yycg8wsga40i7fvbfmf1a5i6j2gk64j2jiy7s0hfd4rc3"))))
+
+(define (android-platform-frameworks-native version)
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://android.googlesource.com/platform/frameworks/native")
+ (commit (string-append "android-" version))))
+ (file-name (string-append "android-platform-frameworks-native-"
+ version "-checkout"))
+ (sha256
+ (base32 "00dgx27wma7wzivniy8zyw2443fi2xx8gyxii081m0fwamqd3jrm"))))
+
(define-public android-liblog
(package
(name "android-liblog")
@@ -217,7 +243,7 @@ use their packages mostly unmodified in our Android NDK build system.")
"../include/android" (string-append out "/include/android")))
#t)))))
(home-page "https://developer.android.com/")
- (synopsis "Logging library from the Android platform.")
+ (synopsis "Logging library from the Android platform")
(description "@code{liblog} represents an interface to the volatile Android
Logging system for NDK (Native) applications and libraries and contain
interfaces for either writing or reading logs. The log buffers are divided up
@@ -728,6 +754,132 @@ it.
to be passed to the @code{udev} service.")
(license license:gpl3+)))
+(define-public android-platform-frameworks-native-headers
+ (package
+ (name "android-platform-frameworks-native-headers")
+ (version (android-platform-version))
+ (source (android-platform-frameworks-native version))
+ (build-system trivial-build-system)
+ (arguments
+ `(#:modules ((guix build utils))
+ #:builder
+ (begin
+ (use-modules (guix build utils))
+ (let ((source (assoc-ref %build-inputs "source"))
+ (include (string-append %output "/include/android")))
+ (mkdir-p include)
+ (copy-recursively (string-append source "/include/android")
+ (string-append include)) ; "/android"))
+ ))))
+ (home-page "https://android.googlesource.com/platform/frameworks/native/")
+ (synopsis "Headers for Android development from
+android-platform-frameworks-native")
+ (description "This package contains headers used for developing software
+for Android. More precicely the headers from include/android in
+platform/frameworks/native.")
+ (license license:asl2.0)))
+
+(define-public libetc1
+ (package
+ (name "libetc1")
+ (version (android-platform-version))
+ (source (android-platform-frameworks-native version))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ; no tests
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'create-Makefile
+ (lambda _
+ ;; No useful makefile is shipped, so we create one.
+ (with-output-to-file "Makefile"
+ (lambda _
+ (display
+ (string-append
+ "NAME = libETC1\n"
+ "SOURCES = opengl/libs/ETC1/etc1.cpp\n"
+ "CXXFLAGS += -fPIC\n"
+ "CPPFLAGS += -Iopengl/include\n"
+ "LDFLAGS += -shared -Wl,-soname,$(NAME).so.0\n"
+ "$(NAME).so.0: $(SOURCES)\n"
+ " $(CXX) $^ -o $@ $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS)\n"
+ "build: $(NAME).so.0"))
+ #t))))
+ (add-after 'unpack 'remove-unused-stuff-to-reduce-warnings
+ (lambda _
+ (delete-file-recursively "opengl/libs/tools")))
+ (delete 'configure)
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (lib (string-append out "/lib"))
+ (include (string-append out "/include")))
+ (install-file "libETC1.so.0" lib)
+ (with-directory-excursion lib
+ (symlink "libETC1.so.0" "libETC1.so"))
+ (copy-recursively "opengl/include/ETC1"
+ (string-append include "/ETC1"))))))))
+ (home-page "https://android.googlesource.com/platform/frameworks/native/")
+ (synopsis "ETC1 compression library")
+ (description "Ericsson Texture Compression (ETC) is a lossy texture
+compression technique developed in collaboration with Ericsson Research in
+early 2005. libETC1 provides the encoding and decoding of ETC1 compression
+algorithm.")
+ (license license:asl2.0)))
+
+(define-public etc1tool
+ (package
+ (name "etc1tool")
+ (version (android-platform-version))
+ (source (android-platform-development version))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'create-Makefile
+ (lambda _
+ ;; No useful makefile is shipped, so we create one.
+ (with-output-to-file "Makefile"
+ (lambda _
+ (display
+ (string-append
+ "NAME = etc1tool\n"
+ "SOURCES = tools/etc1tool/etc1tool.cpp\n"
+ "CPPFLAGS += -Iinclude\n"
+ "LDFLAGS += -lpng -lETC1\n"
+ "$(NAME): $(SOURCES)\n"
+ " $(CXX) $^ -o $@ $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS)\n"
+ "build: $(NAME)"))
+ #t))))
+ (add-before 'build 'fix-typos-in-help
+ (lambda _
+ (substitute* "tools/etc1tool/etc1tool.cpp"
+ ((" apropriate ") " appropriate "))
+ #t))
+ ;; TODO: Add man-page from Debian
+ (delete 'configure)
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin")))
+ (install-file "etc1tool" bin)))))))
+ (inputs
+ `(("libetc1" ,libetc1)
+ ("libpng" ,libpng)))
+ (home-page "https://developer.android.com/studio/command-line/etc1tool.html")
+ (synopsis "Encode and decode PNG images to resp. from the ETC1 compression
+standard.")
+ (description
+ "@command{etc1} is a command line utility that lets you encode PNG images
+to the ETC1 compression standard and decode ETC1 compressed images back to
+PNG. This tool is part of the Android SDK for working with media files for
+game apps.
+
+The standard for the ETC1 texture format can be found at
+@uref{http://www.khronos.org/registry/gles/extensions/OES/OES_compressed_ETC1_RGB8_texture.txt}.")
+ (license license:asl2.0)))
+
(define-public git-repo
(package
(name "git-repo")
@@ -819,7 +971,7 @@ to be passed to the @code{udev} service.")
(native-inputs
`(("pytest" ,python-pytest)))
(home-page "https://code.google.com/p/git-repo/")
- (synopsis "Helps to manage many Git repositories.")
+ (synopsis "Helps to manage many Git repositories")
(description "Repo is a tool built on top of Git. Repo helps manage many
Git repositories, does the uploads to revision control systems, and automates
parts of the development workflow. Repo is not meant to replace Git, only to
@@ -904,17 +1056,84 @@ safest way, on a file image.")
useful for reverse engineering, analysis of Android applications and more.")
(license license:asl2.0)))
+(define-public python-android-backup
+ (package
+ (name "python-android-backup")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "android_backup" version))
+ (sha256
+ (base32
+ "15wb2lyjj2fpf7bhvmgpqn0mglsjj11zfvbjycx7mnidisgnljw6"))))
+ (build-system python-build-system)
+ (propagated-inputs (list python-pycrypto))
+ (home-page "https://github.com/bluec0re/android-backup-tools")
+ (synopsis "Unpack and repack android backups")
+ (description "This package allows you to unpack and repack Android
+backups. It supports encrypted archives.")
+ (license license:asl2.0)))
+
+(define-public python-miio
+ (package
+ (name "python-miio")
+ (version "0.5.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "python-miio" version))
+ (sha256
+ (base32
+ "0a4f5ybjvibawwxcjm3r9nnrzf1yff6wwgy05yzyk0bb3rmc99fp"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "pytest" "miio")))))))
+ (native-inputs
+ (list python-pytest
+ python-pytest-mock
+ python-sphinx
+ python-sphinx-click
+ python-sphinx-rtd-theme
+ python-sphinxcontrib-apidoc))
+ (propagated-inputs
+ (list python-android-backup
+ python-appdirs
+ python-attrs
+ python-click
+ python-construct
+ python-croniter
+ python-cryptography
+ python-defusedxml
+ python-importlib-metadata
+ python-netifaces
+ python-pytz
+ python-pyyaml
+ python-tqdm
+ python-zeroconf))
+ (home-page "https://github.com/rytilahti/python-miio")
+ (synopsis "Control Xiaomi smart appliances")
+ (description "This package provides library and command line interface
+for communicating with Xiaomi smart appliances over miIO and MIoT protocols.")
+ (license license:gpl3+)))
+
(define-public fdroidserver
(package
(name "fdroidserver")
(version "1.1.9")
(source
- (origin
- (method url-fetch)
- (uri (pypi-uri "fdroidserver" version))
- (sha256
- (base32
- "0m07f791z45w7r2dzx4yb6s54b3c3wykm3w9hn25p2jcyax082a2"))))
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "fdroidserver" version))
+ (sha256
+ (base32
+ "0m07f791z45w7r2dzx4yb6s54b3c3wykm3w9hn25p2jcyax082a2"))))
(build-system python-build-system)
(arguments
`(#:phases
diff --git a/gnu/packages/aspell.scm b/gnu/packages/aspell.scm
index 753f65642d..714e0af084 100644
--- a/gnu/packages/aspell.scm
+++ b/gnu/packages/aspell.scm
@@ -2,7 +2,7 @@
;;; Copyright © 2013, 2014, 2015, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015, 2016 Alex Kost <alezost@gmail.com>
;;; Copyright © 2016 John Darrington <jmd@gnu.org>
-;;; Copyright © 2016, 2017, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016, 2017, 2019, 2020, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Christopher Andersson <christopher@8bits.nu>
;;; Copyright © 2016 Theodoros Foradis <theodoros@foradis.org>
;;; Copyright © 2016, 2017, 2019, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
@@ -136,6 +136,11 @@ dictionaries, including personal ones.")
(description
"This package provides a dictionary for the GNU Aspell spell checker.")
(license gpl2+)
+ (properties
+ ;; Unfortunately any versions with a trailing 'dash and digit' (eg.: '-0')
+ ;; will fail to register as a version.
+ `((upstream-name . ,(string-append prefix dict-name))
+ (ftp-directory . ,(string-append "/aspell/dict/" dict-name))))
(home-page "http://aspell.net/")))
diff --git a/gnu/packages/assembly.scm b/gnu/packages/assembly.scm
index 23351a2dd2..33ccc70e76 100644
--- a/gnu/packages/assembly.scm
+++ b/gnu/packages/assembly.scm
@@ -181,14 +181,14 @@ speed on x86, NEON on ARM, etc.).")
(define-public fasm
(package
(name "fasm")
- (version "1.73.28")
+ (version "1.73.29")
(source
(origin
(method url-fetch)
(uri (string-append "https://flatassembler.net/fasm-"
version ".tgz"))
(sha256
- (base32 "14ljh0ngdaqlwzsr0l70k09r2d520lqpgswl388p84gxhnsfplcy"))))
+ (base32 "0ar1k1504cmwi49y6g254rkzayll0kn90vjd4zj09xv86kcg8a33"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; no tests exist
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index d88a0ef739..e968fd2480 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -6,7 +6,7 @@
;;; Copyright © 2020 R Veera Kumar <vkor@vkten.in>
;;; Copyright © 2020, 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com>
-;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2021, 2022 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo@hotmail.com>
;;;
@@ -55,8 +55,10 @@
#:use-module (gnu packages python-check)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-science)
+ #:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages qt)
+ #:use-module (gnu packages time)
#:use-module (gnu packages version-control)
#:use-module (gnu packages video)
#:use-module (gnu packages wxwidgets)
@@ -188,7 +190,7 @@ for reading and writing.")
(define-public erfa
(package
(name "erfa")
- (version "1.7.3")
+ (version "2.0.0")
(source
(origin
(method git-fetch)
@@ -197,7 +199,7 @@ for reading and writing.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0nh12dr7gk4ki55lz95pkm4fpf7kazirra3zax9pab6v4qql4hlw"))))
+ (base32 "0s9dpj0jdkqcg552f00jhd722czji4pffabmpys5pgi6djckq4f4"))))
(build-system gnu-build-system)
(native-inputs
(list automake autoconf libtool pkg-config))
@@ -612,13 +614,13 @@ accurately in real time at any rate desired.")
(define-public python-astropy
(package
(name "python-astropy")
- (version "4.3.1")
+ (version "5.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "astropy" version))
(sha256
- (base32 "0lfd6n7v7kas4wvacddnwgccax3ks908735dzilg7dsf7ci52f9d"))
+ (base32 "09rr9z2kn5qw34fqpwxgcwsn9m5aw6f0dd0pm232aa8k3qakw83h"))
(modules '((guix build utils)))
(snippet
'(begin
@@ -690,7 +692,12 @@ accurately in real time at any rate desired.")
(inputs
(list cfitsio expat))
(propagated-inputs
- (list python-configobj python-numpy python-ply python-pyerfa))
+ (list python-configobj
+ python-numpy
+ python-packaging
+ python-ply
+ python-pyerfa
+ python-pyyaml))
(home-page "https://www.astropy.org/")
(synopsis "Core package for Astronomy in Python")
(description
@@ -699,6 +706,226 @@ much of the core functionality and some common tools needed for performing
astronomy and astrophysics.")
(license license:bsd-3)))
+(define-public python-astropy-healpix
+ (package
+ (name "python-astropy-healpix")
+ (version "0.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "astropy-healpix" version))
+ (sha256
+ (base32 "1436ml03xkmvx4afzbhfj67ab91418sz1w3lq1b18r43qchnd6j0"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ ;; This file is opened in both install and check phases.
+ (add-before 'install 'writable-compiler
+ (lambda _ (make-file-writable "astropy_healpix/_compiler.c")))
+ (add-before 'check 'writable-compiler
+ (lambda _ (make-file-writable "astropy_healpix/_compiler.c")))
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ ;; Extensions have to be rebuilt before running the tests.
+ (invoke "python" "setup.py" "build_ext" "--inplace")
+ (invoke "python" "-m" "pytest"
+ "--pyargs" "astropy_healpix")))))))
+ (native-inputs
+ (list python-extension-helpers
+ python-hypothesis
+ python-pytest-astropy
+ python-setuptools-scm))
+ (propagated-inputs
+ (list python-astropy python-numpy))
+ (home-page "https://github.com/astropy/astropy-healpix")
+ (synopsis "HEALPix for Astropy")
+ (description "This package provides HEALPix to the Astropy project.")
+ (license license:bsd-3)))
+
+(define-public python-astroquery
+ (package
+ (name "python-astroquery")
+ (version "0.4.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "astroquery" version))
+ (sha256
+ (base32 "06xy0qzqmps6z5vwfkh5fkhr151p7g94r2j0mvp1rc8zns22y010"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'writable-home
+ (lambda _ ; some tests need a writable home
+ (setenv "HOME" (getcwd))))
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "-m" "pytest" "--pyargs" "astroquery"
+ ;; Skip tests that require online data.
+ "-m" "not remote_data")))))))
+ (propagated-inputs
+ (list python-astropy
+ python-beautifulsoup4
+ python-html5lib
+ python-keyring
+ python-numpy
+ python-pyvo
+ python-requests))
+ (native-inputs
+ (list python-flask
+ python-jinja2
+ python-matplotlib
+ python-pytest-astropy
+ python-pytest-dependency))
+ (home-page "https://www.astropy.org/astroquery/")
+ (synopsis "Access online astronomical data resources")
+ (description "Astroquery is a package that contains a collection of tools
+to access online Astronomical data. Each web service has its own sub-package.")
+ (license license:bsd-3)))
+
+(define-public python-photutils
+ (package
+ (name "python-photutils")
+ (version "1.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "photutils" version))
+ (sha256
+ (base32 "1a8djakaya6w5iv9237gkcz39brqzgrfs2wqrl0izi1s85cfdymn"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:test-target "pytest"
+ #:phases
+ (modify-phases %standard-phases
+ ;; This file is opened in both install and check phases.
+ (add-before 'install 'writable-compiler
+ (lambda _ (make-file-writable "photutils/_compiler.c")))
+ (add-before 'check 'writable-compiler
+ (lambda _ (make-file-writable "photutils/_compiler.c"))))))
+ (propagated-inputs
+ (list python-astropy python-numpy))
+ (native-inputs
+ (list python-cython
+ python-extension-helpers
+ python-pytest-astropy
+ python-pytest-runner
+ python-setuptools-scm))
+ (home-page "https://github.com/astropy/photutils")
+ (synopsis "Source detection and photometry")
+ (description "Photutils is an Astropy package for detection and photometry
+of astronomical sources.")
+ (license license:bsd-3)))
+
+(define-public python-pyvo
+ (package
+ (name "python-pyvo")
+ (version "1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pyvo" version))
+ (sha256
+ (base32 "1lap703wxbyxqlbk85myirp4pkdnc6cg10xhfajfsvz5k0hm5ffw"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "-m" "pytest" "--pyargs" "pyvo" "-k"
+ (string-append ; these tests use the network
+ "not test_access_with_string"
+ " and not test_access_with_list"
+ " and not test_access_with_expansion"))))))))
+ (native-inputs
+ (list python-pytest-astropy python-requests-mock))
+ (propagated-inputs
+ (list python-astropy python-mimeparse python-pillow python-requests))
+ (home-page "https://github.com/astropy/pyvo")
+ (synopsis "Access Virtual Observatory data and services")
+ (description
+ "PyVO is a package providing access to remote data and services of the
+Virtual observatory (VO) using Python.")
+ (license license:bsd-3)))
+
+(define-public python-regions
+ (package
+ (name "python-regions")
+ (version "0.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "regions" version))
+ (sha256
+ (base32 "1bjrcjchbw3xw1a26d5g198lh7vxpp9m5sal58r7f8mmr1d8g2dc"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:test-target "pytest"
+ #:phases
+ (modify-phases %standard-phases
+ ;; This doctest requires online data.
+ (add-after 'unpack 'delete-doctest
+ (lambda _ (delete-file "docs/masks.rst")))
+ ;; This file is opened in both install and check phases.
+ (add-before 'install 'writable-compiler
+ (lambda _ (make-file-writable "regions/_compiler.c")))
+ (add-before 'check 'writable-compiler
+ (lambda _ (make-file-writable "regions/_compiler.c")))
+ (add-before 'check 'writable-home
+ (lambda _ (setenv "HOME" (getcwd)))))))
+ (propagated-inputs
+ (list python-astropy python-numpy))
+ (native-inputs
+ (list python-cython
+ python-extension-helpers
+ python-pytest-arraydiff
+ python-pytest-astropy
+ python-pytest-runner
+ python-setuptools-scm))
+ (home-page "https://github.com/astropy/regions")
+ (synopsis "Package for region handling")
+ (description "Regions is an Astropy package for region handling.")
+ (license license:bsd-3)))
+
+(define-public python-astral
+ (package
+ (name "python-astral")
+ (version "2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "astral" version))
+ (sha256
+ (base32 "1gkggdibccmdy9glymw3kbrkzm6svvsg0lk56hhy92y4smkrj7g4"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "-m" "pytest")))))))
+ (native-inputs
+ (list python-freezegun python-setuptools-scm))
+ (propagated-inputs
+ (list python-dataclasses python-pytest python-pytz))
+ (home-page "https://github.com/sffjunkie/astral")
+ (synopsis "Calculations for the position of the sun and moon")
+ (description "Astral is a Python module that calculates times for various
+positions of the sun: dawn, sunrise, solar noon, sunset, dusk, solar
+elevation, solar azimuth, rahukaalam, and the phases of the moon.")
+ (license license:asl2.0)))
+
(define-public libnova
(package
(name "libnova")
@@ -1170,13 +1397,13 @@ JPL ephemerides use to predict raw (x,y,z) planetary positions.")
(define-public python-pyerfa
(package
(name "python-pyerfa")
- (version "1.7.3")
+ (version "2.0.0.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pyerfa" version))
(sha256
- (base32 "1jqqrxvrgly4r0br5f6dsy8nab2xmhz915vp6md5f31ysr2sdwvc"))
+ (base32 "0c6y1rm51kj8ahbr1vwbswck3ix77dc3zhc2fkg6w7iczrzn7m1g"))
(modules '((guix build utils)))
(snippet
'(begin
@@ -1189,14 +1416,11 @@ JPL ephemerides use to predict raw (x,y,z) planetary positions.")
(modify-phases %standard-phases
(add-before 'build 'use-system-liberfa
(lambda _
- (setenv "PYERFA_USE_SYSTEM_LIBERFA" "1")
- #t)))))
+ (setenv "PYERFA_USE_SYSTEM_LIBERFA" "1"))))))
(native-inputs
- `(("pytest-doctestplus" ,python-pytest-doctestplus)
- ("python-pytest" ,python-pytest)
- ("python-setuptools-scm" ,python-setuptools-scm)))
+ (list python-pytest-doctestplus python-pytest python-setuptools-scm))
(inputs
- `(("liberfa" ,erfa)))
+ (list erfa))
(propagated-inputs
(list python-numpy))
(home-page "https://github.com/liberfa/pyerfa")
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 05c6354e45..b186c79451 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -8,7 +8,7 @@
;;; Copyright © 2016, 2017 Alex Griffin <a@ajgrf.com>
;;; Copyright © 2016 Nikita <nikita@n0.is>
;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
-;;; Copyright © 2016–2021 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2016–2022 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018, 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2018 okapi <okapi@firemail.cc>
;;; Copyright © 2018, 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
@@ -36,6 +36,7 @@
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2021 jgart <jgart@dismail.de>
;;; Copyright © 2021 Aleksandr Vityazev <avityazev@posteo.org>
+;;; Copyright © 2022 Arjan Adriaanse <arjan@adriaan.se>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -91,6 +92,7 @@
#:use-module (gnu packages libusb)
#:use-module (gnu packages linux)
#:use-module (gnu packages llvm)
+ #:use-module (gnu packages machine-learning)
#:use-module (gnu packages man)
#:use-module (gnu packages maths)
#:use-module (gnu packages mp3) ;taglib
@@ -103,6 +105,7 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages pulseaudio) ;libsndfile, libsamplerate
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-science)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages qt)
#:use-module (gnu packages rdf)
@@ -133,6 +136,7 @@
#:use-module (guix build-system waf)
#:use-module (guix download)
#:use-module (guix git-download)
+ #:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
@@ -279,17 +283,17 @@ Coding (AAC) encoder.")
(define-public tinyalsa
(package
(name "tinyalsa")
- (version "1.1.1")
+ (version "2.0.0")
(source
(origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/tinyalsa/tinyalsa")
- (commit version)))
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0ajyvml5bnzvhiyyrn42gqwgg23ssxkfh09rvsnywhzxhd0xai4h"))))
+ (base32 "1p9khz3bdpdcrnc9p6w522a0ankdchj4nxd3ki41z9401rxmnljq"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; No target
@@ -721,7 +725,7 @@ engineers, musicians, soundtrack editors and composers.")
(define-public audacity
(package
(name "audacity")
- (version "2.4.2")
+ (version "3.1.3")
(source
(origin
(method git-fetch)
@@ -731,9 +735,7 @@ engineers, musicians, soundtrack editors and composers.")
(file-name (git-file-name name version))
(sha256
(base32
- "0lklcvqkxrr2gkb9gh3422iadzl2rv9v0a8s76rwq43lj2im7546"))
- (patches (search-patches "audacity-build-with-system-portaudio.patch"
- "audacity-add-include.patch"))
+ "1689q9apbjf9nnda62shb8j7hm4hxd47mhk4l5h3c728mjjkilmi"))
(modules '((guix build utils)))
(snippet
;; Remove bundled libraries.
@@ -741,13 +743,10 @@ engineers, musicians, soundtrack editors and composers.")
(for-each
(lambda (dir)
(delete-file-recursively (string-append "lib-src/" dir)))
- '("expat" "ffmpeg" "lame" "libflac" "libid3tag" "libmad" "libogg"
- "libsndfile" "libsoxr" "libvamp" "libvorbis" "lv2"
- "portmidi" "soundtouch" "twolame"
+ '("libsoxr" "libvamp" "lv2" "soundtouch" "sqlite" "twolame"
;; FIXME: these libraries have not been packaged yet:
;; "libnyquist"
;; "libscorealign"
- ;; "libwidgetextra"
;; "portburn"
;; "portsmf"
;; "portmixer"
@@ -759,26 +758,30 @@ engineers, musicians, soundtrack editors and composers.")
#t))))
(build-system cmake-build-system)
(inputs
- (list wxwidgets
+ (list wxwidgets-3.1
gtk+
alsa-lib
jack-1
expat
ffmpeg
lame
+ linux-libre-headers
flac
libid3tag
+ libjpeg-turbo
libmad
;;("libsbsms" ,libsbsms) ;bundled version is modified
libsndfile
soundtouch
soxr ;replaces libsamplerate
+ sqlite
twolame
vamp
libvorbis
lv2
lilv ;for lv2
suil ;for lv2
+ portaudio
portmidi))
(native-inputs
`(("autoconf" ,autoconf)
@@ -791,10 +794,12 @@ engineers, musicians, soundtrack editors and composers.")
(arguments
`(#:configure-flags
(list
- ;; Loading FFmpeg dynamically is problematic.
- "-Daudacity_use_ffmpeg=linked"
- "-Daudacity_use_lame=system"
- "-Daudacity_use_portsmf=system")
+ "-Daudacity_conan_enabled=off"
+ "-Daudacity_lib_preference=system"
+ ;; TODO: enable this flag once we've packaged all dependencies
+ ;; "-Daudacity_obey_system_dependencies=on"
+ ;; disable crash reports, updates, ..., anything that phones home
+ "-Daudacity_has_networking=off")
#:imported-modules ((guix build glib-or-gtk-build-system)
,@%cmake-build-system-modules)
#:modules
@@ -803,27 +808,42 @@ engineers, musicians, soundtrack editors and composers.")
((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:))
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'fix-cmake-rpath
+ (lambda* (#:key outputs #:allow-other-keys)
+ (substitute* "CMakeLists.txt"
+ (("\\$ORIGIN/\\.\\./\\$\\{_PKGLIB\\}")
+ (string-append (assoc-ref outputs "out") "/lib/audacity"))
+ (("CMAKE_BUILD_WITH_INSTALL_RPATH [A-Z]*")
+ "CMAKE_BUILD_WITH_INSTALL_RPATH TRUE")
+ (("CMAKE_INSTALL_RPATH_USE_LINK_PATH [A-Z]*")
+ "CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE"))
+ (substitute* "src/CMakeLists.txt"
+ (("-Wl,--disable-new-dtags") "-Wl,--enable-new-dtags"))))
(add-after 'unpack 'comment-out-revision-ident
(lambda _
+ (substitute* "src/CMakeLists.txt"
+ (("file\\( TOUCH \".*RevisionIdent\\.h\" \\)" directive)
+ (string-append "# " directive)))
(substitute* "src/AboutDialog.cpp"
(("(.*RevisionIdent\\.h.*)" include-line)
(string-append "// " include-line)))))
(add-after 'unpack 'use-upstream-headers
(lambda* (#:key inputs #:allow-other-keys)
- (substitute* '("src/NoteTrack.cpp"
- "src/AudioIO.cpp"
- "src/AudioIO.h"
- "src/AudioIOBase.cpp")
- (("../lib-src/portmidi/pm_common/portmidi.h") "portmidi.h")
- (("../lib-src/portmidi/porttime/porttime.h") "porttime.h"))
- (substitute* "src/prefs/MidiIOPrefs.cpp"
- (("../../lib-src/portmidi/pm_common/portmidi.h") "portmidi.h"))))
+ (substitute* '("libraries/lib-files/FileNames.cpp")
+ (("\"/usr/include/linux/magic.h\"") "<linux/magic.h>"))))
(add-after 'wrap-program 'glib-or-gtk-wrap
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))
- ;; The test suite is not "well exercised" according to the developers,
- ;; and fails with various errors. See
- ;; <http://sourceforge.net/p/audacity/mailman/message/33524292/>.
- #:tests? #f))
+ ;; The test suite is not "well exercised" according to the developers,
+ ;; and fails with various errors. See
+ ;; <http://sourceforge.net/p/audacity/mailman/message/33524292/>.
+ #:tests? #f))
+ (native-search-paths
+ (list (search-path-specification
+ (variable "AUDACITY_MODULES_PATH")
+ (files '("lib/audacity/modules")))
+ (search-path-specification
+ (variable "AUDACITY_PATH")
+ (files '("share/audacity")))))
(home-page "https://www.audacityteam.org/")
(synopsis "Software for recording and editing sounds")
(description
@@ -1248,10 +1268,8 @@ formats used to store information about DJ record libraries.")
"tao-fix-parser-types.patch"))
(modules '((guix build utils)))
(snippet
- '(begin
- (substitute* "configure"
- (("SHELL=/bin/sh") ""))
- #t))))
+ '(substitute* "configure"
+ (("SHELL=/bin/sh") "")))))
(build-system gnu-build-system)
(arguments
'(#:configure-flags '("TAO_RELEASE=-beta")
@@ -1267,8 +1285,7 @@ formats used to store information about DJ record libraries.")
(string-append (which "sed") " -f $distdir/"))
(("distdir=.*")
(string-append "distdir="
- (assoc-ref outputs "out") "/share/tao")))
- #t))
+ (assoc-ref outputs "out") "/share/tao")))))
(add-after 'install 'install-extra-files
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
@@ -1279,18 +1296,17 @@ formats used to store information about DJ record libraries.")
(install-file "user-scripts/error.parse" share)
(copy-recursively "examples" (string-append share "examples"))
(for-each (lambda (file) (install-file file inc))
- (find-files "include" "\\.h"))
- #t))))))
+ (find-files "include" "\\.h"))))))))
(inputs
- `(("audiofile" ,audiofile)
- ("libxi" ,libxi)
- ("libxmu" ,libxmu)
- ("mesa" ,mesa)
- ("glut" ,freeglut)
- ("flex" ,flex)
- ("bison" ,bison)
- ("sed" ,sed)
- ("grep" ,grep)))
+ (list audiofile
+ libxi
+ libxmu
+ mesa
+ freeglut
+ flex
+ bison
+ sed
+ grep))
(home-page "http://taopm.sourceforge.net/")
(synopsis "Sound Synthesis with Physical Models")
(description "Tao is a software package for sound synthesis using physical
@@ -1301,6 +1317,37 @@ playing instruments and a C++ API for those who would like to use it as an
object library.")
(license license:gpl2+)))
+(define-public tao-synth
+ (let ((commit "f3aedd81efbc775574e591081b57ae1c08427064")
+ (revision "1"))
+ (package
+ (name "tao-synth")
+ (version (git-version "0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/lucasw/tao_synth")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1jds2l3cb96b02jxd7lmrjjl9s7mylnrvg6fpw0j8c141bk8vyg3"))))
+ (build-system cmake-build-system)
+ (arguments (list #:tests? #false)) ;there are no tests
+ (inputs
+ (list glfw freeglut))
+ (native-inputs
+ (list gcc-7))
+ (home-page "https://github.com/lucasw/tao_synth")
+ (synopsis "Sound synthesis with physical models")
+ (description "Tao is a software package for sound synthesis using physical
+models. It provides a virtual acoustic material constructed from masses and
+springs which can be used as the basis for building quite complex virtual
+musical instruments. Tao comes with a synthesis language for creating and
+playing instruments and a C++ API for those who would like to use it as an
+object library.")
+ (license license:lgpl2.0+))))
+
(define-public csound
(package
(name "csound")
@@ -1722,7 +1769,7 @@ follower.")
(define-public fluidsynth
(package
(name "fluidsynth")
- (version "2.1.8")
+ (version "2.2.4")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -1731,7 +1778,7 @@ follower.")
(file-name (git-file-name name version))
(sha256
(base32
- "0r944ndn138ak9s3ivgd1wgkwkh6zp7jjnxd30hryczc6kbhkpmr"))))
+ "1061rdj69503spkd8vmfl3fqvyg4l41k5xcc4gw7niy31hnpnjmn"))))
(build-system cmake-build-system)
(arguments
'(#:tests? #f ; no check target
@@ -1742,18 +1789,19 @@ follower.")
;; Install libraries to /lib, not /lib64.
(substitute* "CMakeLists.txt"
(("LIB_SUFFIX \\$\\{_init_lib_suffix\\}")
- "LIB_SUFFIX \"\""))
- #t)))))
+ "LIB_SUFFIX \"\"")))))))
(inputs
- (list libsndfile
- alsa-lib
- jack-1
- ladspa
- lash
- readline
- glib))
+ (list ladspa))
(native-inputs
(list pkg-config))
+ (propagated-inputs
+ ;; In Libs.private of fluidsynth.pc.
+ (list alsa-lib
+ glib
+ jack-1
+ lash
+ libsndfile
+ readline))
(home-page "https://www.fluidsynth.org/")
(synopsis "SoundFont synthesizer")
(description
@@ -1763,22 +1811,6 @@ device. It is the software analogue of a MIDI synthesizer. FluidSynth can
also play midifiles using a Soundfont.")
(license license:lgpl2.1+)))
-;; gzdoom@3.3.0 and lmms@1.1.3 requires this version. Remove once no longer
-;; needed.
-(define-public fluidsynth-1
- (package
- (inherit fluidsynth)
- (version "1.1.11")
- (source (origin
- (inherit (package-source fluidsynth))
- (uri (git-reference
- (url "https://github.com/FluidSynth/fluidsynth")
- (commit (string-append "v" version))))
- (file-name (git-file-name "fluidsynth" version))
- (sha256
- (base32
- "0n75jq3xgq46hfmjkaaxz3gic77shs4fzajq40c8gk043i84xbdh"))))))
-
(define-public faad2
(package
(name "faad2")
@@ -1909,7 +1941,7 @@ patches that can be used with softsynths such as Timidity and WildMidi.")
(define-public guitarix
(package
(name "guitarix")
- (version "0.41.0")
+ (version "0.43.1")
(source (origin
(method url-fetch)
(uri (string-append
@@ -1917,7 +1949,7 @@ patches that can be used with softsynths such as Timidity and WildMidi.")
version ".tar.xz"))
(sha256
(base32
- "0qsfbyrrpb3bbdyq68k28mjql7kglxh8nqcw9jvja28x6x9ik5a0"))))
+ "1bsjlfd7x09p3iiljilyfbns6hpqn9cgp6psl4ccd6i1lwascfrm"))))
(build-system waf-build-system)
(arguments
`(#:tests? #f ; no "check" target
@@ -2562,7 +2594,7 @@ files.")
(lambda _
(substitute* "requirements.txt" (("==") ">=")))))))
(home-page "https://github.com/NFJones/audio-to-midi")
- (synopsis "Convert audio to multichannel MIDI.")
+ (synopsis "Convert audio to multichannel MIDI")
(description "@command{audio-to-midi} converts audio files to multichannel
MIDI files. It accomplishes this by performing FFTs on all channels of the
audio data at user-specified time steps. It then separates the resulting
@@ -2854,14 +2886,14 @@ different audio devices such as ALSA or PulseAudio.")
(define-public qjackctl
(package
(name "qjackctl")
- (version "0.9.5")
+ (version "0.9.6")
(source (origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/qjackctl/qjackctl/"
version "/qjackctl-" version ".tar.gz"))
(sha256
(base32
- "1g61xwsxsndwlnh4547vl7jfcf4kqlbb4394jq2m8qbbzk51b6rv"))))
+ "0sqni9ppwadc01fnyqj6lkwy30ql1vccqglv9imd3zdchffjpjir"))))
(build-system cmake-build-system)
(arguments
'(#:tests? #f)) ; no check target
@@ -3199,22 +3231,22 @@ the Turtle syntax.")
(define-public suil
(package
(name "suil")
- (version "0.10.8")
+ (version "0.10.10")
(source (origin
(method url-fetch)
(uri (string-append "https://download.drobilla.net/suil-"
version ".tar.bz2"))
(sha256
(base32
- "0h0ghk1s0lrj4gh12r7390b0ybaw7awnj0vhchyy9ll0gvhqgkci"))))
+ "1ysbazqlbyxlzyr9zk7dj2mgb6pn0amllj2cd5g1m56wnzk0h3vm"))))
(build-system waf-build-system)
(arguments
`(#:tests? #f)) ;no check target
(inputs
- `(("lv2" ,lv2)
- ("gtk+" ,gtk+-2)
- ("gtk+" ,gtk+)
- ("qt" ,qtbase-5)))
+ (list lv2
+ gtk+-2
+ gtk+
+ qtbase-5))
(native-inputs
(list pkg-config))
(home-page "https://drobilla.net/software/suil/")
@@ -3399,7 +3431,7 @@ stretching and pitch scaling of audio. This package contains the library.")
(define-public libkeyfinder
(package
(name "libkeyfinder")
- (version "2.2.5")
+ (version "2.2.6")
(source
(origin
(method git-fetch)
@@ -3408,7 +3440,7 @@ stretching and pitch scaling of audio. This package contains the library.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1623kirmxhmvmhx7f8lbzk0f18w2hrhwlkzl8l4aa906lfqffdp2"))))
+ (base32 "0s7nqjmv44q5qjynfcs0j6h4a6qcz4mxzandkkdjjbnwv5rxc3zg"))))
(build-system cmake-build-system)
(native-inputs
(list catch-framework2))
@@ -5104,7 +5136,7 @@ edited, converted, compressed and saved.")
(define-public lsp-dsp-lib
(package
(name "lsp-dsp-lib")
- (version "0.5.11")
+ (version "0.5.14")
(source
(origin
(method url-fetch)
@@ -5112,23 +5144,23 @@ edited, converted, compressed and saved.")
"releases/download/" version
"/lsp-dsp-lib-" version "-src.tar.gz"))
(sha256
- (base32 "0lkar6r9jfrrqswi8nnndlm5a9kfwqjn92d81gp2yhc3p46xsswz"))))
+ (base32 "1gcznkyybywbgdi2fhx27i8sckhy6ahvxax72b213g1lr5aaw7bq"))))
(build-system gnu-build-system)
(arguments
- `(#:tests? #f ; no tests
- #:make-flags
- (list (string-append "CC=" ,(cc-for-target)))
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'omit-static-library
- (lambda _
- (substitute* "src/Makefile"
- ((".*@.*ARTIFACT_SLIB.*") "") ; don't install it
- ((" \\$\\(ARTIFACT_SLIB\\)") "")))) ; don't build it
- (replace 'configure
- (lambda* (#:key outputs #:allow-other-keys)
- (invoke "make" "config"
- (string-append "PREFIX=" (assoc-ref outputs "out"))))))))
+ (list #:tests? #f ; no tests
+ #:make-flags
+ #~(list (string-append "CC=" #$(cc-for-target)))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'omit-static-library
+ (lambda _
+ (substitute* "src/Makefile"
+ ((".*cp \\$\\(ARTIFACT_SLIB\\).*") "") ; don't install it
+ ((" \\$\\(ARTIFACT_SLIB\\)") "")))) ; don't build it
+ (replace 'configure
+ (lambda _
+ (invoke "make" "config"
+ (string-append "PREFIX=" #$output)))))))
(home-page "https://github.com/sadko4u/lsp-dsp-lib")
(synopsis "Digital signal processing library")
(description "The LSP DSP library provides a set of functions that perform
@@ -5443,6 +5475,78 @@ information such as sample rate, determining whether an audio file is silent,
and much more.")
(license license:bsd-3))))
+(define-public python-resampy
+ (package
+ (name "python-resampy")
+ (version "0.2.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ ;; PyPi does not include tests.
+ (url "https://github.com/bmcfee/resampy")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0qmkxl5sbgh0j73n667vyi7ywzh09iaync91yp1j5rrcmwsn0qfs"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "pytest" "tests")))))))
+ (propagated-inputs
+ (list python-numba python-numpy python-scipy python-six))
+ (native-inputs
+ (list python-pytest python-pytest-cov))
+ (home-page "https://github.com/bmcfee/resampy")
+ (synopsis "Efficient signal resampling")
+ (description
+ "@code{python-resampy} implements the band-limited sinc interpolation
+method for sampling rate conversion as described by Julius O. Smith at the
+@url{https://ccrma.stanford.edu/~jos/resample/, Digital Audio Resampling
+Home Page}.")
+ (license license:isc)))
+
+(define-public python-librosa
+ (package
+ (name "python-librosa")
+ (version "0.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "librosa" version))
+ (sha256
+ (base32 "1cx6rhcvak0hy6bx84jwzpxmwgi92m82w77279akwjmfd3khagf5"))))
+ (build-system python-build-system)
+ (arguments
+ ;; Tests require internet connection to download MATLAB scripts for
+ ;; generating the testing data.
+ `(#:tests? #f))
+ (propagated-inputs
+ (list python-audioread
+ python-decorator
+ python-joblib
+ python-numba
+ python-numpy
+ python-packaging
+ python-pooch
+ python-resampy
+ python-scikit-learn
+ python-scipy
+ python-soundfile))
+ (home-page "https://librosa.org")
+ (synopsis "Python module for audio and music processing")
+ (description
+ "@code{librosa} is a python package for music and audio analysis. It
+provides the building blocks necessary to create music information retrieval
+systems.")
+ (license license:isc)))
+
(define-public mda-lv2
(package
(name "mda-lv2")
@@ -5474,3 +5578,62 @@ and much more.")
"MDA-LV2 is an LV2 port of the MDA plugins. It includes effects and a few
instrument plugins.")
(license license:gpl3+)))
+
+(define-public libodiosacd
+ (package
+ (name "libodiosacd")
+ (version "21.8.30")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tari01/libodiosacd")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0iamf7wksbql0qfigdv5ahaax53ms2yligdav8dw6x0ay88x4lhi"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ; no check target
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-makefile
+ (lambda _
+ (substitute* "Makefile"
+ (("\\$\\(DESTDIR\\)/usr")
+ "\\$(DESTDIR)"))))
+ (delete 'configure)) ; no configure script
+ #:make-flags
+ (list (string-append "DESTDIR=" %output))))
+ (synopsis "Library for decoding Super Audio CDs (SACD)")
+ (description
+ "The Odio SACD shared library is a decoding engine which takes a Super
+Audio CD source and extracts a 24-bit high resolution WAV file. It handles
+both DST and DSD streams.")
+ (home-page "https://tari.in/www/software/libodiosacd/")
+ (license license:gpl3+)))
+
+(define-public odio-sacd
+ (package
+ (name "odio-sacd")
+ (version "21.1.9")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tari01/odio-sacd")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0314srqk0r4qv292qiaply619l2fw04nkdwvqhj3q1dqzv41g4qk"))))
+ (inputs (list libodiosacd))
+ ;; Build system and arguments for libodiosacd are identical.
+ (build-system (package-build-system libodiosacd))
+ (arguments (package-arguments libodiosacd))
+ (synopsis "Rip Super Audio CDs (SACD)")
+ (description
+ "Odio SACD is a command-line application which takes a Super Audio CD
+source and extracts a 24-bit high resolution WAV file. It handles both DST
+and DSD streams.")
+ (home-page "https://tari.in/www/software/odio-sacd/")
+ (license license:gpl3+)))
diff --git a/gnu/packages/authentication.scm b/gnu/packages/authentication.scm
index f5fba35031..c64a8be83f 100644
--- a/gnu/packages/authentication.scm
+++ b/gnu/packages/authentication.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018, 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
-;;; Copyright © 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2019, 2020, 2022 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2020 B. Wilson <elaexuotee@wilsonb.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -27,6 +28,7 @@
#:use-module (gnu packages tls)
#:use-module (gnu packages xml)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system go)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
@@ -88,34 +90,58 @@ data.")
(license (list license:lgpl2.1+ ; the libraries (liboath/ & libpskc/)
license:gpl3+)))) ; the tools (everything else)
+(define-public oauth2l
+ (package
+ (name "oauth2l")
+ (version "1.2.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/google/oauth2l")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0a9x0b31ybyjg0k7923xw6zr6crm0kigcn8g6hyr228nbvw35r8w"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/google/oauth2l"))
+ (home-page "https://github.com/google/oauth2l")
+ (synopsis "Simple CLI for interacting with Google API authentication")
+ (description
+ "@code{oauth2l} (pronounced ``oauth tool'') is a simple command-line tool
+for working with @url{https://developers.google.com/identity/protocols/OAuth2,
+Google OAuth 2.0} written in Go. Its primary use is to fetch and print OAuth
+2.0 access tokens, which can be used with other command-line tools and
+scripts.")
+ (license license:asl2.0)))
+
(define-public yubico-pam
- (let ((commit "b5bd00db81e0e0e0ecced65c684080bb56ddc35b")
- (revision "0"))
- (package
- (name "yubico-pam")
- (version (git-version "2.26" revision commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/Yubico/yubico-pam")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "10dq8dqi3jldllj6p8r9hldx9sank9n82c44w8akxrs1vli6nj3m"))))
- (build-system gnu-build-system)
- (arguments
- ;; The pam_test fails because ykclient fails to build a Curl handle.
- '(#:make-flags '("TESTS=util_test")))
- (inputs
- (list linux-pam libyubikey ykclient yubikey-personalization))
- (native-inputs
- (list autoconf automake libtool asciidoc pkg-config))
- (home-page "https://developers.yubico.com/yubico-pam")
- (synopsis "Yubico pluggable authentication module")
- (description "The Yubico PAM module provides an easy way to integrate the
+ (package
+ (name "yubico-pam")
+ (version "2.27")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Yubico/yubico-pam")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0hb773zlf11xz4bwmsqv2mq5d4aq2g0crdr5cp9xwc4ivi5gd4kg"))))
+ (build-system gnu-build-system)
+ (arguments
+ ;; The pam_test fails because ykclient fails to build a Curl handle.
+ '(#:make-flags '("TESTS=util_test")))
+ (inputs
+ (list linux-pam libyubikey ykclient yubikey-personalization))
+ (native-inputs
+ (list autoconf automake libtool asciidoc pkg-config))
+ (home-page "https://developers.yubico.com/yubico-pam")
+ (synopsis "Yubico pluggable authentication module")
+ (description "The Yubico PAM module provides an easy way to integrate the
YubiKey into your existing user authentication infrastructure.")
- (license license:bsd-2))))
+ (license license:bsd-2)))
(define-public pamtester
(package
diff --git a/gnu/packages/autotools.scm b/gnu/packages/autotools.scm
index fbde262499..0c3152d7f8 100644
--- a/gnu/packages/autotools.scm
+++ b/gnu/packages/autotools.scm
@@ -68,29 +68,38 @@
`(;; XXX: testsuite: 209 and 279 failed. The latter is an impurity. It
;; should use our own "cpp" instead of "/lib/cpp".
#:tests? #f
- ,@(if (%current-target-system)
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'install 'patch-non-shebang-references
- (lambda* (#:key build inputs outputs #:allow-other-keys)
- ;; `patch-shebangs' patches shebangs only, and the Perl
- ;; scripts use a re-exec feature that references the
- ;; build hosts' perl. Also, BASH and M4 store references
- ;; hide in the scripts.
- (let ((bash (assoc-ref inputs "bash"))
- (m4 (assoc-ref inputs "m4"))
- (perl (assoc-ref inputs "perl"))
- (out (assoc-ref outputs "out"))
- (store-directory (%store-directory)))
- (substitute* (find-files (string-append out "/bin"))
- (((string-append store-directory "/[^/]*-bash-[^/]*"))
- bash)
- (((string-append store-directory "/[^/]*-m4-[^/]*"))
- m4)
- (((string-append store-directory "/[^/]*-perl-[^/]*"))
- perl))
- #t)))))
- '())))
+ #:phases
+ (modify-phases %standard-phases
+ ,@(if (%current-target-system)
+ '((add-after 'install 'patch-non-shebang-references
+ (lambda* (#:key build inputs outputs #:allow-other-keys)
+ ;; `patch-shebangs' patches shebangs only, and the Perl
+ ;; scripts use a re-exec feature that references the
+ ;; build hosts' perl. Also, BASH and M4 store references
+ ;; hide in the scripts.
+ (let ((bash (assoc-ref inputs "bash"))
+ (m4 (assoc-ref inputs "m4"))
+ (perl (assoc-ref inputs "perl"))
+ (out (assoc-ref outputs "out"))
+ (store-directory (%store-directory)))
+ (substitute* (find-files (string-append out "/bin"))
+ (((string-append store-directory "/[^/]*-bash-[^/]*"))
+ bash)
+ (((string-append store-directory "/[^/]*-m4-[^/]*"))
+ m4)
+ (((string-append store-directory "/[^/]*-perl-[^/]*"))
+ perl))))))
+ '())
+ (add-after 'install 'unpatch-shebangs
+ (lambda* (#:key outputs #:allow-other-keys)
+ ;; Scripts that "autoconf -i" installs (config.guess,
+ ;; config.sub, and install-sh) must use a regular shebang
+ ;; rather than a reference to the store. Restore it.
+ (let* ((out (assoc-ref outputs "out"))
+ (build-aux (string-append
+ out "/share/autoconf/build-aux")))
+ (substitute* (find-files build-aux)
+ (("^#!.*/bin/sh") "#!/bin/sh"))))))))
(home-page "https://www.gnu.org/software/autoconf/")
(synopsis "Create source code configuration scripts")
(description
@@ -130,19 +139,7 @@ know anything about Autoconf or M4.")
(executable-file? file)))
(find-files "bin"
(lambda (file stat)
- (executable-file? file)))))
- #t))
- (add-after 'install 'unpatch-shebangs
- (lambda* (#:key outputs #:allow-other-keys)
- ;; Scripts that "autoconf -i" installs (config.guess,
- ;; config.sub, and install-sh) must use a regular shebang
- ;; rather than a reference to the store. Restore it.
- ;; TODO: Move this phase to 'autoconf-2.69'.
- (let* ((out (assoc-ref outputs "out"))
- (build-aux (string-append
- out "/share/autoconf/build-aux")))
- (substitute* (find-files build-aux)
- (("^#!.*/bin/sh") "#!/bin/sh")))))))))))
+ (executable-file? file)))))))))))))
(define-public autoconf autoconf-2.69)
diff --git a/gnu/packages/aux-files/linux-libre/5.15-i686.conf b/gnu/packages/aux-files/linux-libre/5.15-i686.conf
index 0f254cd2a5..85bd4d0ee1 100644
--- a/gnu/packages/aux-files/linux-libre/5.15-i686.conf
+++ b/gnu/packages/aux-files/linux-libre/5.15-i686.conf
@@ -4714,7 +4714,7 @@ CONFIG_PINCTRL_MCP23S08_SPI=m
CONFIG_PINCTRL_MCP23S08=m
CONFIG_PINCTRL_SX150X=y
CONFIG_PINCTRL_BAYTRAIL=y
-CONFIG_PINCTRL_CHERRYVIEW=m
+CONFIG_PINCTRL_CHERRYVIEW=y
CONFIG_PINCTRL_LYNXPOINT=m
CONFIG_PINCTRL_INTEL=y
CONFIG_PINCTRL_ALDERLAKE=m
@@ -6602,7 +6602,7 @@ CONFIG_DRM_ANALOGIX_DP=m
CONFIG_DRM_BOCHS=m
CONFIG_DRM_CIRRUS_QEMU=m
CONFIG_DRM_GM12U320=m
-CONFIG_DRM_SIMPLEDRM=m
+# CONFIG_DRM_SIMPLEDRM is not set
CONFIG_TINYDRM_HX8357D=m
CONFIG_TINYDRM_ILI9225=m
CONFIG_TINYDRM_ILI9341=m
@@ -6731,7 +6731,7 @@ CONFIG_FB_MB862XX=m
CONFIG_FB_MB862XX_PCI_GDC=y
CONFIG_FB_MB862XX_I2C=y
CONFIG_FB_HYPERV=m
-CONFIG_FB_SIMPLE=m
+CONFIG_FB_SIMPLE=y
CONFIG_FB_SSD1307=m
CONFIG_FB_SM712=m
# end of Frame buffer Devices
diff --git a/gnu/packages/aux-files/linux-libre/5.15-x86_64.conf b/gnu/packages/aux-files/linux-libre/5.15-x86_64.conf
index 13588ecb0e..ad42192937 100644
--- a/gnu/packages/aux-files/linux-libre/5.15-x86_64.conf
+++ b/gnu/packages/aux-files/linux-libre/5.15-x86_64.conf
@@ -4713,7 +4713,7 @@ CONFIG_PINCTRL_MCP23S08_SPI=m
CONFIG_PINCTRL_MCP23S08=m
CONFIG_PINCTRL_SX150X=y
CONFIG_PINCTRL_BAYTRAIL=y
-CONFIG_PINCTRL_CHERRYVIEW=m
+CONFIG_PINCTRL_CHERRYVIEW=y
CONFIG_PINCTRL_LYNXPOINT=m
CONFIG_PINCTRL_INTEL=y
CONFIG_PINCTRL_ALDERLAKE=m
@@ -6565,7 +6565,7 @@ CONFIG_DRM_ANALOGIX_DP=m
CONFIG_DRM_BOCHS=m
CONFIG_DRM_CIRRUS_QEMU=m
CONFIG_DRM_GM12U320=m
-CONFIG_DRM_SIMPLEDRM=m
+# CONFIG_DRM_SIMPLEDRM is not set
CONFIG_TINYDRM_HX8357D=m
CONFIG_TINYDRM_ILI9225=m
CONFIG_TINYDRM_ILI9341=m
@@ -6688,7 +6688,7 @@ CONFIG_FB_MB862XX=m
CONFIG_FB_MB862XX_PCI_GDC=y
CONFIG_FB_MB862XX_I2C=y
CONFIG_FB_HYPERV=m
-CONFIG_FB_SIMPLE=m
+CONFIG_FB_SIMPLE=y
CONFIG_FB_SSD1307=m
CONFIG_FB_SM712=m
# end of Frame buffer Devices
diff --git a/gnu/packages/aux-files/python/sitecustomize.py b/gnu/packages/aux-files/python/sitecustomize.py
index 71e328b9ac..e2348e0356 100644
--- a/gnu/packages/aux-files/python/sitecustomize.py
+++ b/gnu/packages/aux-files/python/sitecustomize.py
@@ -18,6 +18,7 @@
# along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
import os
+import site
import sys
# Commentary:
@@ -47,9 +48,18 @@ all_sites_norm = [os.path.normpath(p) for p in all_sites_raw]
matching_sites = [p for p in all_sites_norm
if p.endswith(site_packages_prefix)]
-# Insert sites matching the current version into sys.path, right before
-# Python's own site. This way, the user can override the libraries provided
-# by Python itself.
-sys_path_absolute = [os.path.realpath(p) for p in sys.path]
-index = sys_path_absolute.index(python_site)
-sys.path[index:index] = matching_sites
+if matching_sites:
+ # Deduplicate the entries, append them to sys.path, and handle any
+ # .pth files they contain.
+ for s in matching_sites:
+ site.addsitedir(s)
+
+ # Move the entries that were appended to sys.path in front of
+ # Python's own site-packages directory. This enables Guix
+ # packages to override Python's bundled packages, such as 'pip'.
+ python_site_index = sys.path.index(python_site)
+ new_site_start_index = sys.path.index(matching_sites[0])
+ if python_site_index < new_site_start_index:
+ sys.path = (sys.path[:python_site_index]
+ + sys.path[new_site_start_index:]
+ + sys.path[python_site_index:new_site_start_index])
diff --git a/gnu/packages/aux-files/renpy/renpy.in b/gnu/packages/aux-files/renpy/renpy.in
new file mode 100644
index 0000000000..914a735fa4
--- /dev/null
+++ b/gnu/packages/aux-files/renpy/renpy.in
@@ -0,0 +1,48 @@
+#! @PYTHON@
+# -*- mode: python -*-
+
+from __future__ import print_function
+
+import os
+import sys
+import warnings
+
+def path_to_common(renpy_base):
+ return renpy_base + "/common"
+
+def path_to_saves(gamedir, save_directory=None):
+ import renpy
+
+ if save_directory is None:
+ save_directory = renpy.config.save_directory
+ save_directory = renpy.exports.fsencode(save_directory)
+
+ if not save_directory:
+ return gamedir + "/saves"
+
+ return os.path.join(os.path.expanduser("~/.renpy"), save_directory)
+
+def main():
+ try:
+ import renpy.bootstrap
+ import renpy.arguments
+ except ImportError:
+ print("""Could not import renpy.bootstrap.
+Please ensure you decompressed Ren'py correctly, preserving the directory
+structure.""", file=sys.stderr)
+ raise
+
+ args = renpy.arguments.bootstrap()
+ if not args.basedir:
+ print("""This Ren'py requires a basedir to launch.
+The basedir is the directory, in which .rpy source files or compiled .rpyc files
+live -- usually the 'game' subdirectory of a game packaged by Ren'py.
+
+If you want the Ren'py launcher, use \"renpy-launcher\" instead.""",
+ file=sys.stderr)
+ sys.exit()
+
+ renpy.bootstrap.bootstrap("@RENPY_BASE@")
+
+if __name__ == "__main__":
+ main()
diff --git a/gnu/packages/avahi.scm b/gnu/packages/avahi.scm
index 797e35e7eb..65d3ede131 100644
--- a/gnu/packages/avahi.scm
+++ b/gnu/packages/avahi.scm
@@ -43,22 +43,21 @@
(version "0.8")
(home-page "https://avahi.org")
(source (origin
- (method url-fetch)
- (uri (string-append home-page "/download/avahi-"
- version ".tar.gz"))
- (sha256
- (base32
- "1npdixwxxn3s9q1f365x9n9rc5xgfz39hxf23faqvlrklgbhj0q6"))
- (patches (search-patches "avahi-localstatedir.patch"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- ;; Fix version constraint in the avahi-libevent pkg-config file.
- ;; This can be removed for Avahi versions > 0.8.
- (substitute* "avahi-libevent.pc.in"
- (("libevent-2\\.1\\.5")
- "libevent >= 2.1.5"))
- #t))))
+ (method url-fetch)
+ (uri (string-append home-page "/download/avahi-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1npdixwxxn3s9q1f365x9n9rc5xgfz39hxf23faqvlrklgbhj0q6"))
+ (patches (search-patches "avahi-localstatedir.patch"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Fix version constraint in the avahi-libevent pkg-config file.
+ ;; This can be removed for Avahi versions > 0.8.
+ (substitute* "avahi-libevent.pc.in"
+ (("libevent-2\\.1\\.5")
+ "libevent >= 2.1.5"))))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags '("--with-distro=none"
diff --git a/gnu/packages/axoloti.scm b/gnu/packages/axoloti.scm
index f680d6fb83..622c4f94cb 100644
--- a/gnu/packages/axoloti.scm
+++ b/gnu/packages/axoloti.scm
@@ -373,11 +373,9 @@ patcher application.")))
(sha256
(base32 "022p993wf9l9mp6vg94x592vfqd1k1sjrq5f6x45h5r16qy6bdzh"))
(modules '((guix build utils)))
+ ;; Remove pre-built Java binaries.
(snippet
- '(begin
- ;; Remove pre-built Java binaries.
- (delete-file-recursively "lib/")
- #t))))
+ '(delete-file-recursively "lib/"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; there's a Java test which is run as part of the Java build.
@@ -533,12 +531,12 @@ patcher application.")))
"share/axoloti/firmware")))
(mkdir-p target)
(install-file (string-append old-firmware
- "flasher/flasher_build/flasher.bin")
+ "/flasher/flasher_build/flasher.bin")
target)
;; TODO: the old file differs from the file that is included
;; in this repository as the old firmware.
(install-file (string-append old-firmware
- "build/axoloti.bin")
+ "/build/axoloti.bin")
target))
;; We do this to ensure that this package retains references to
@@ -573,8 +571,7 @@ patcher application.")))
" -Dsun.java2d.renderer=org.marlin.pisces.MarlinRenderingEngine"
" -Daxoloti_release=" share
" -jar " dir "/Axoloti.jar")))))
- (chmod target #o555))
- #t)))
+ (chmod target #o555)))))
(add-after 'install 'strip-jar-timestamps
(assoc-ref ant:%standard-phases 'strip-jar-timestamps)))))
(inputs
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index fdb84898bb..5c92d401bd 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -21,6 +21,7 @@
;;; Copyright © 2021 Timothy Sample <samplet@ngyro.com>
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
+;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -38,6 +39,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages backup)
+ #:use-module (guix gexp)
#:use-module (guix packages)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix git-download)
@@ -46,10 +48,12 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix build-system go)
+ #:use-module (guix build-system perl)
#:use-module (guix build-system python)
#:use-module (gnu packages)
#:use-module (gnu packages acl)
#:use-module (gnu packages autotools)
+ #:use-module (gnu packages bash)
#:use-module (gnu packages base)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
@@ -70,6 +74,7 @@
#:use-module (gnu packages mcrypt)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages nettle)
+ #:use-module (gnu packages networking)
#:use-module (gnu packages onc-rpc)
#:use-module (gnu packages pcre)
#:use-module (gnu packages perl)
@@ -80,6 +85,7 @@
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages rsync)
+ #:use-module (gnu packages ruby)
#:use-module (gnu packages serialization)
#:use-module (gnu packages ssh)
#:use-module (gnu packages tls)
@@ -385,7 +391,7 @@ list and implement the backup strategy.")
(define-public snapraid
(package
(name "snapraid")
- (version "11.6")
+ (version "12.0")
(source
(origin
(method git-fetch)
@@ -394,22 +400,22 @@ list and implement the backup strategy.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1jpg97my0akh2ayzy0nm4yqiv4gcx79rgyrkzd19yyv3iy719vcw"))))
+ (base32 "0k8pynafkx8bhnqnjhc3jsds5p40sflz4drm88i6dg6ifv35mhh9"))))
(build-system gnu-build-system)
(arguments
- `(#:configure-flags
- (list "--enable-valgrind"
- "--with-blkid")
- #:phases
- (modify-phases %standard-phases
- (add-before 'bootstrap 'set-version
- (lambda _
- (setenv "VERSION" ,version)
- (patch-shebang "autover.sh"))))))
+ (list #:configure-flags
+ ;; XXX --enable-valgrind fails with ‘A must-be-redirected function
+ ;; whose name matches the pattern: strlen in an object with soname
+ ;; matching: ld-linux-x86-64.so.2 was not found […]’; used to work.
+ #~(list "--with-blkid")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'bootstrap 'set-version
+ (lambda _
+ (setenv "VERSION" #$version)
+ (patch-shebang "autover.sh"))))))
(native-inputs
- (list automake autoconf
- ;; For the tests.
- valgrind))
+ (list automake autoconf))
(inputs
(list `(,util-linux "lib"))) ; libblkid
(home-page "https://www.snapraid.it/")
@@ -748,14 +754,14 @@ to not fully trusted targets. Borg is a fork of Attic.")
(define-public wimlib
(package
(name "wimlib")
- (version "1.13.4")
+ (version "1.13.5")
(source (origin
(method url-fetch)
(uri (string-append "https://wimlib.net/downloads/"
"wimlib-" version ".tar.gz"))
(sha256
(base32
- "04ny5s5z05gk6davbwkjkraan781k2xzw6kjwp75h6ncv45dv1sb"))))
+ "08z3xxm5hq1n4wmyhgz14p1cv0w2lx610vn8nhfwpds4n7lwkz1j"))))
(build-system gnu-build-system)
(native-inputs
(list pkg-config))
@@ -877,7 +883,7 @@ NTFS volumes using @code{ntfs-3g}, preserving NTFS-specific attributes.")
(description
"With dirvish you can maintain a set of complete images of your
file systems with unattended creation and expiration. A dirvish backup vault
-is like a time machine for your data. ")
+is like a time machine for your data.")
(license (license:fsf-free "file://COPYING"
"Open Software License 2.0"))))
@@ -1066,6 +1072,85 @@ directory subtrees may also be restored from full or partial backups in
interactive mode.")
(license license:bsd-3)))
+(define-public btrbk
+ (package
+ (name "btrbk")
+ (version "0.31.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://digint.ch/download/btrbk/releases/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "1lx7vnf386nsik8mxrrfyx1h7mkqk5zs26sy0s0lynfxcm4lkxb2"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:make-flags #~(list (string-append "PREFIX=" #$output))
+ #:phases #~(modify-phases %standard-phases
+ (replace 'configure
+ (lambda _
+ (substitute* "Makefile"
+ (("= /etc")
+ (string-append "= " #$output "/etc")))))
+ (delete 'check)
+ (add-after 'install 'wrap-scripts
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (define btrbk (search-input-file outputs "bin/btrbk"))
+ ;; From a comment in btrbk, "Calling btrbk via 'lsbtr'
+ ;; symlink acts as an alias for 'btrbk ls', while also
+ ;; changing the semantics of the command line options."
+ (substitute* btrbk
+ (("program_name = \\$0")
+ (string-append "program_name = "
+ "$ENV{'BTRBK_PROGRAM_NAME'}")))
+ ;; Wrap the script, so that it works with SSH URI and
+ ;; finds mbuffer out of the box.
+ (wrap-program btrbk
+ #:sh (search-input-file inputs "bin/bash")
+ '("BTRBK_PROGRAM_NAME" = ("$0"))
+ `("PATH" prefix
+ ,(list (string-append #$btrfs-progs "/bin")
+ (string-append #$coreutils "/bin")
+ (string-append #$mbuffer "/bin")
+ (string-append #$openssh "/bin")))))))))
+ (native-inputs (list ruby-asciidoctor))
+ (inputs (list bash-minimal
+ btrfs-progs
+ coreutils
+ mbuffer
+ openssh
+ perl))
+ (home-page "https://digint.ch/btrbk/")
+ (synopsis "Backup tool for Btrfs subvolumes")
+ (description "Btrbk is a backup tool for Btrfs subvolumes, taking
+advantage of Btrfs specific capabilities to create atomic snapshots and
+transfer them incrementally to your backup locations. The source and target
+locations are specified in a config file, which allows easily configuring
+simple scenarios like e.g. a @i{laptop with locally attached backup disks}, as
+well as more complex ones, e.g. a @i{server receiving backups from several
+hosts via SSH, with different retention policy}. It has features such as:
+@itemize
+@item atomic snapshots
+@item incremental backups
+@item flexible retention policy
+@item backups to multiple destinations
+@item transfer via SSH
+@item resume backups (for removable and mobile devices)
+@item archive to offline storage
+@item encrypted backups to non-btrfs storage
+@item wildcard subvolumes (useful for Docker and LXC containers)
+@item transaction log
+@item comprehensive list and statistics output
+@item resolve and trace Btrfs parent-child and received-from relationships
+@item list file changes between backups
+@item calculate accurate disk space usage based on block regions.
+@end itemize
+Btrbk is designed to run as a cron job for triggering periodic snapshots and
+backups, as well as from the command line (e.g. for instantly creating
+additional snapshots).")
+ (license license:gpl3+)))
+
(define-public burp
(package
(name "burp")
@@ -1109,14 +1194,14 @@ backup.")
(define-public disarchive
(package
(name "disarchive")
- (version "0.3.0")
+ (version "0.4.0")
(source (origin
(method url-fetch)
(uri (string-append "https://files.ngyro.com/disarchive/"
"disarchive-" version ".tar.gz"))
(sha256
(base32
- "0jgc53rrbas8i4z13l2ii99cpav1ma73spsjg70ygihf0635r3dh"))))
+ "1pql8cspsxyx8cpw3xyhirnisv6rb4vj5mxr1d7w9la72q740n8s"))))
(build-system gnu-build-system)
(native-inputs
(list autoconf
@@ -1124,11 +1209,12 @@ backup.")
pkg-config
guile-3.0 ;for cross-compilation
guile-gcrypt
+ guile-lzma
guile-quickcheck))
(inputs
(list guile-3.0 zlib))
(propagated-inputs
- (list guile-gcrypt))
+ (list guile-gcrypt guile-lzma))
(home-page "https://ngyro.com/software/disarchive.html")
(synopsis "Software archive disassembler")
(description "Disarchive can disassemble software archives into data
@@ -1142,32 +1228,32 @@ compression parameters used by Gzip.")
(define-public borgmatic
(package
(name "borgmatic")
- (version "1.5.21")
+ (version "1.5.22")
(source
(origin
(method url-fetch)
(uri (pypi-uri "borgmatic" version))
(sha256
- (base32 "1kw3mvyby8zd7ql3g930w7z55k8pi9iwj43kh8lvi58b4nzrvamq"))))
+ (base32 "0pvqlj17vp81i7saxqh5hsaxqz29ldrjd7bcssh4g1h0ikmnaf2r"))))
(build-system python-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'configure
- (lambda* (#:key inputs #:allow-other-keys)
- ;; Set absolute store path to borg.
- (substitute* "borgmatic/commands/borgmatic.py"
- (("location\\.get\\('local_path', 'borg'\\)")
- (string-append "location.get('local_path', '"
- (assoc-ref inputs "borg") "/bin/borg"
- "')")))))
- (replace 'check
- (lambda* (#:key tests? inputs outputs #:allow-other-keys)
- (when tests?
- ;; Tests require the installed executable.
- (setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
- ":" (getenv "PATH")))
- (invoke "pytest")))))))
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'configure
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; Set absolute store path to borg.
+ (substitute* "borgmatic/commands/borgmatic.py"
+ (("location\\.get\\('local_path', 'borg'\\)")
+ (string-append "location.get('local_path', '"
+ (search-input-file inputs "bin/borg")
+ "')")))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; Tests require the installed executable.
+ (setenv "PATH" (string-append #$output "/bin"
+ ":" (getenv "PATH")))
+ (invoke "pytest")))))))
(inputs
(list borg python-colorama python-jsonschema python-requests
python-ruamel.yaml))
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 6e47d361f3..580b198311 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -84,14 +84,14 @@
(define-public hello
(package
(name "hello")
- (version "2.10")
+ (version "2.11")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/hello/hello-" version
".tar.gz"))
(sha256
(base32
- "0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i"))))
+ "1g84a3hqs4pgx3yzs99cysv3iq440ncdw77bf03fsi1w5mby174c"))))
(build-system gnu-build-system)
(synopsis "Hello, GNU world: An example GNU package")
(description
@@ -521,10 +521,12 @@ change. GNU make offers many powerful extensions over the standard utility.")
(sha256
(base32 "1m3b2rdfv1dmdpd0bzg1hy7i8a2qng53szc6livyi3nh6101mz37"))
(patches (search-patches "binutils-loongson-workaround.patch"
- "binutils-2.37-file-descriptor-leak.patch"))))
+ "binutils-2.37-file-descriptor-leak.patch"
+ "binutils-CVE-2021-45078.patch"))))
(build-system gnu-build-system)
(arguments
- `(#:configure-flags '(;; Add `-static-libgcc' to not retain a dependency
+ `(#:out-of-source? #t ;recommended in the README
+ #:configure-flags '(;; Add `-static-libgcc' to not retain a dependency
;; on GCC when bootstrapping.
"LDFLAGS=-static-libgcc"
@@ -543,7 +545,13 @@ change. GNU make offers many powerful extensions over the standard utility.")
;; Make sure 'ar' and 'ranlib' produce archives in a
;; deterministic fashion.
- "--enable-deterministic-archives")))
+ "--enable-deterministic-archives"
+
+ "--enable-64-bit-bfd"
+ "--enable-compressed-debug-sections=all"
+ "--enable-lto"
+ "--enable-separate-code"
+ "--enable-threads")))
(synopsis "Binary utilities: bfd gas gprof ld")
(description
@@ -556,23 +564,6 @@ included.")
(license gpl3+)
(home-page "https://www.gnu.org/software/binutils/")))
-;;; TODO: Merge into binutils on the next world rebuild.
-(define-public binutils-next
- (package/inherit binutils
- (name "binutils-next")
- (version "2.37")
- (arguments
- (substitute-keyword-arguments (package-arguments binutils)
- ((#:out-of-source? _ #f) ;recommended in the README
- #t)
- ((#:configure-flags flags)
- `(cons* "--enable-64-bit-bfd"
- "--enable-compressed-debug-sections=all"
- "--enable-lto"
- "--enable-separate-code"
- "--enable-threads"
- ,flags))))))
-
;; FIXME: ath9k-firmware-htc-binutils.patch do not apply on 2.34 because of a
;; big refactoring of xtensa-modules.c (commit 567607c11fbf7105 upstream).
;; Keep this version around until the patch is updated.
@@ -594,7 +585,7 @@ included.")
(properties '())))
(define-public binutils-gold
- (package/inherit binutils-next
+ (package/inherit binutils
(name "binutils-gold")
(arguments
(substitute-keyword-arguments (package-arguments binutils)
@@ -606,7 +597,15 @@ included.")
(add-after 'patch-source-shebangs 'patch-more-shebangs
(lambda _
(substitute* "gold/Makefile.in"
- (("/bin/sh") (which "sh")))))))))
+ (("/bin/sh") (which "sh")))))
+ ;; Multiple failing tests on some architectures in the gold testsuite.
+ ,@(if (or (target-arm?)
+ (target-ppc32?))
+ '((add-after 'unpack 'skip-gold-testsuite
+ (lambda _
+ (substitute* "gold/Makefile.in"
+ ((" testsuite") " ")))))
+ '())))))
(native-inputs
`(("bc" ,bc)))))
@@ -1104,7 +1103,8 @@ to the @code{share/locale} sub-directory of this package.")
(assoc-ref %outputs "out")
"/lib/locale/"
,(version-major+minor
- (package-version glibc)))))))))))
+ (package-version glibc)))))))))
+ (properties `((upstream-name . "glibc")))))
(define %default-utf8-locales
;; These are the locales commonly used for tests---e.g., in Guile's i18n
diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm
index cf40ee94f6..72758560cd 100644
--- a/gnu/packages/bash.scm
+++ b/gnu/packages/bash.scm
@@ -269,6 +269,23 @@ without modification.")
(delete-file-recursively (string-append out "/share"))
#t))))))))))
+(define-public bash-with-syslog
+ (package
+ (inherit bash)
+ (name "bash-with-syslog")
+ (arguments
+ (substitute-keyword-arguments (package-arguments bash)
+ ((#:phases phases '%standard-phases)
+ `(modify-phases ,phases
+ (add-after 'unpack 'enable-syslogging
+ (lambda _
+ (substitute* "config-top.h"
+ (("/\\* #define SYSLOG_HISTORY \\*/")
+ "#define SYSLOG_HISTORY"))))))))
+ (description
+ "Bash is the shell, or command-line interpreter, of the GNU system. This
+variant logs the history to syslog.")))
+
(define-public bash-completion
(package
(name "bash-completion")
diff --git a/gnu/packages/benchmark.scm b/gnu/packages/benchmark.scm
index b3be9bfed4..537f6262c4 100644
--- a/gnu/packages/benchmark.scm
+++ b/gnu/packages/benchmark.scm
@@ -52,14 +52,14 @@
(define-public fio
(package
(name "fio")
- (version "3.28")
+ (version "3.29")
(source (origin
(method url-fetch)
(uri (string-append "https://brick.kernel.dk/snaps/"
"fio-" version ".tar.bz2"))
(sha256
(base32
- "0ba9cnjrnm3nwcfbhh5x2sycr54j3yn1rqn76kjdyz40f3pdg3qm"))))
+ "11k7ksksnb8lcbz0qdc9g7zlzaa0515j7kx4mlhk75sfs43v9zxc"))))
(build-system gnu-build-system)
(arguments
`(#:modules (,@%gnu-build-system-modules
@@ -254,60 +254,57 @@ file metadata operations that can be performed per second.")
(define-public python-locust
(package
(name "python-locust")
- (version "1.4.3")
+ (version "2.5.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "locust" version))
(sha256
(base32
- "0vmw151xcaznd2j85n96iyv9fniss0bkk91xn4maw2gwzym424xk"))))
+ "1516z6z5pikybg7pma2cgxgj3wxaaky7z6d30mxf81wd4krbq16s"))))
(build-system python-build-system)
(arguments
- `(#:phases
+ '(#:phases
(modify-phases %standard-phases
- (add-before 'check 'extend-PATH
- ;; Add the 'locust' script to PATH, which is used in the test
- ;; suite.
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (setenv "PATH" (string-append out "/bin:"
- (getenv "PATH"))))))
(replace 'check
- (lambda _
- (invoke "python" "-m" "pytest"
- "-k" (string-join
- (list
- ;; These tests return "non-zero exit status 1".
- "not test_default_headless_spawn_options"
- "not test_default_headless_spawn_options_with_shape"
- "not test_headless_spawn_options_wo_run_time"
- ;; These tests depend on networking.
- "not test_html_report_option"
- "not test_web_options"
- ;; This test fails because of the warning "System open
- ;; file limit '1024' is below minimum setting '10000'".
- "not test_skip_logging"
- ;; On some (slow?) machines, the following tests
- ;; fail, with the processes returning exit code
- ;; -15 instead of the expected 42 and 0,
- ;; respectively (see:
- ;; https://github.com/locustio/locust/issues/1708).
- "not test_custom_exit_code"
- "not test_webserver") " and ")))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "-m" "pytest" "locust"
+ "-k" (string-join
+ '(;; These tests return "non-zero exit status 1".
+ "not test_default_headless_spawn_options"
+ "not test_default_headless_spawn_options_with_shape"
+ "not test_headless_spawn_options_wo_run_time"
+ ;; These tests depend on networking.
+ "not test_html_report_option"
+ "not test_web_options"
+ ;; This test fails because of the warning "System open
+ ;; file limit '1024' is below minimum setting '10000'".
+ "not test_skip_logging"
+ ;; On some (slow?) machines, the following tests
+ ;; fail, with the processes returning exit code
+ ;; -15 instead of the expected 42 and 0,
+ ;; respectively (see:
+ ;; https://github.com/locustio/locust/issues/1708).
+ "not test_custom_exit_code"
+ "not test_webserver") " and "))))))))
(propagated-inputs
(list python-configargparse
python-flask
python-flask-basicauth
+ python-flask-cors
python-gevent
python-geventhttpclient
python-msgpack
python-psutil
python-pyzmq
python-requests
+ python-roundrobin
+ python-typing-extensions
python-werkzeug))
(native-inputs
- (list python-mock python-pyquery python-pytest)) ;for more easily skipping tests
+ (list python-mock python-pyquery python-pytest
+ python-retry python-setuptools-scm))
(home-page "https://locust.io/")
(synopsis "Distributed load testing framework")
(description "Locust is a performance testing tool that aims to be easy to
diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm
index 71037a86e2..534204a16a 100644
--- a/gnu/packages/bioconductor.scm
+++ b/gnu/packages/bioconductor.scm
@@ -1,11 +1,11 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016, 2017, 2018, 2020, 2021 Roel Janssen <roel@gnu.org>
;;; Copyright © 2016 Pjotr Prins <pjotr.guix@thebird.nl>
;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017, 2018, 2019, 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
-;;; Copyright © 2019, 2020, 2021 Simon Tournier <zimon.toutoune@gmail.com>
+;;; Copyright © 2019, 2020, 2021, 2022 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright © 2020 Peter Lo <peterloleungyau@gmail.com>
;;; Copyright © 2020, 2021 Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
@@ -626,13 +626,13 @@ based on mapping using Entrez Gene identifiers.")
(define-public r-org-hs-eg-db
(package
(name "r-org-hs-eg-db")
- (version "3.7.0")
+ (version "3.14.0")
(source (origin
(method url-fetch)
(uri (bioconductor-uri "org.Hs.eg.db" version 'annotation))
(sha256
(base32
- "1qxz9l80yg3qdqszs6dsscp7lrpfi1bgd0pxh9j7q34vprzwhdim"))))
+ "0mnddv42ll0sc0zxf7hkgilslykbvfn7xgxg1g8qi57q2dmpwb6j"))))
(properties
`((upstream-name . "org.Hs.eg.db")))
(build-system r-build-system)
@@ -956,6 +956,26 @@ annotations.")
Disease Ontology.")
(license license:artistic2.0)))
+(define-public r-hgu133plus2-db
+ (package
+ (name "r-hgu133plus2-db")
+ (version "3.13.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (bioconductor-uri "hgu133plus2.db" version 'annotation))
+ (sha256
+ (base32 "0i6cfk7ahql4fcgrq0dai9gkjbsahyzd9iv4lqv1ad58fzkmipnx"))))
+ (properties `((upstream-name . "hgu133plus2.db")))
+ (build-system r-build-system)
+ (propagated-inputs (list r-annotationdbi r-org-hs-eg-db))
+ (home-page "https://bioconductor.org/packages/hgu133plus2.db")
+ (synopsis "Affymetrix Affymetrix HG-U133_Plus_2 Array annotation data")
+ (description
+ "This package provides Affymetrix HG-U133_Plus_2 array annotation
+data (chip hgu133plus2) assembled using data from public repositories.")
+ (license license:artistic2.0)))
+
(define-public r-pfam-db
(package
(name "r-pfam-db")
@@ -1302,9 +1322,7 @@ downloaded from Encode.")
(version "1.14.0")
(source (origin
(method url-fetch)
- (uri (string-append
- "http://bioconductor.org/packages/release/data/experiment"
- "/src/contrib/pasilla_" version ".tar.gz"))
+ (uri (bioconductor-uri "pasilla" version 'experiment))
(sha256
(base32
"0h124i2fb2lbj2k48zzf1n7ldqa471bs26fbd9vw50299aqx28x0"))))
@@ -1966,6 +1984,33 @@ closely reconstructs the mutational profile.")
(license license:gpl2+)))
;; This is a CRAN package, but it depends on Bioconductor packages.
+(define-public r-jetset
+ (package
+ (name "r-jetset")
+ (version "3.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "jetset" version))
+ (sha256
+ (base32 "0c99h5npsv2gf5d59s4qhkaqmjhbwa3prcykk24wzhnpfq6y6xhp"))))
+ (properties `((upstream-name . "jetset")))
+ (build-system r-build-system)
+ (propagated-inputs (list r-annotationdbi r-org-hs-eg-db))
+ (home-page "http://www.cbs.dtu.dk/biotools/jetset/")
+ (synopsis "One-to-one gene-probeset mapping for Affymetrix human microarrays")
+ (description
+ "This package provides a one-to-one mapping from gene to \"best\" probe
+set for four Affymetrix human gene expression microarrays: hgu95av2, hgu133a,
+hgu133plus2, and u133x3p. On Affymetrix gene expression microarrays, a single
+gene may be measured by multiple probe sets. This can present a mild
+conundrum when attempting to evaluate a gene \"signature\" that is defined by
+gene names rather than by specific probe sets. This package also includes the
+pre-calculated probe set quality scores that were used to define the
+mapping.")
+ (license license:artistic2.0)))
+
+;; This is a CRAN package, but it depends on Bioconductor packages.
(define-public r-nmf
(package
(name "r-nmf")
@@ -2474,13 +2519,13 @@ powerful online queries from gene annotation to database mining.")
(define-public r-biocparallel
(package
(name "r-biocparallel")
- (version "1.28.1")
+ (version "1.28.3")
(source (origin
(method url-fetch)
(uri (bioconductor-uri "BiocParallel" version))
(sha256
(base32
- "04s6y7q9dvg26fazs6lzkm668zpl3136j9gd5hkyihyrf4a1w3g3"))))
+ "0lkp7m2l66zq8yl788mkvi9kpb1haywxpf6ip9xl5y6iwm1w2b8p"))))
(properties
`((upstream-name . "BiocParallel")))
(build-system r-build-system)
@@ -2659,13 +2704,13 @@ analysis.")
(define-public r-chipseeker
(package
(name "r-chipseeker")
- (version "1.30.2")
+ (version "1.30.3")
(source (origin
(method url-fetch)
(uri (bioconductor-uri "ChIPseeker" version))
(sha256
(base32
- "1nr5p1h9131rvbpnh2kizzx9q6f4ycq6rzxy1yqg2pczqcg7hy4x"))))
+ "1f9m1p1viiigkmv15r2mknjrfw047jw1fylpqz5ipigc3jrphj1g"))))
(build-system r-build-system)
(native-inputs
(list r-knitr))
@@ -3266,13 +3311,13 @@ alignments.")
(define-public r-genomicfeatures
(package
(name "r-genomicfeatures")
- (version "1.46.1")
+ (version "1.46.3")
(source (origin
(method url-fetch)
(uri (bioconductor-uri "GenomicFeatures" version))
(sha256
(base32
- "1dm049r7k41m8zzp5b332fw3ah3jpzzgpcb21icxwhlg483ipjyv"))))
+ "0a3shdzc1r0f12q9w679hgj8ywrwbg36z7k0yp47dgfjl14lachk"))))
(properties
`((upstream-name . "GenomicFeatures")))
(build-system r-build-system)
@@ -4472,6 +4517,56 @@ this package. It also provides functionalities for visualizing, summarizing
and comparing the clusterings.")
(license license:expat)))
+(define-public r-transcriptr
+ (package
+ (name "r-transcriptr")
+ (version "1.22.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (bioconductor-uri "transcriptR" version))
+ (sha256
+ (base32 "1p5l2z3szx3qh02x7r81ajl7yc5wqsri6q6pzw83livmalcli5yy"))))
+ (properties `((upstream-name . "transcriptR")))
+ (build-system r-build-system)
+ (propagated-inputs
+ (list r-biocgenerics
+ r-caret
+ r-chipseq
+ r-e1071
+ r-genomeinfodb
+ r-genomicalignments
+ r-genomicfeatures
+ r-genomicranges
+ r-ggplot2
+ r-iranges
+ r-proc
+ r-reshape2
+ r-rsamtools
+ r-rtracklayer
+ r-s4vectors))
+ (native-inputs (list r-knitr))
+ (home-page "https://bioconductor.org/packages/transcriptR")
+ (synopsis "Primary transcripts detection and quantification")
+ (description
+ "The differences in the RNA types being sequenced have an impact on the
+resulting sequencing profiles. mRNA-seq data is enriched with reads derived
+from exons, while GRO-, nucRNA- and chrRNA-seq demonstrate a substantial
+broader coverage of both exonic and intronic regions. The presence of
+intronic reads in GRO-seq type of data makes it possible to use it to
+computationally identify and quantify all de novo continuous regions of
+transcription distributed across the genome. This type of data, however, is
+more challenging to interpret and less common practice compared to mRNA-seq.
+One of the challenges for primary transcript detection concerns the
+simultaneous transcription of closely spaced genes, which needs to be properly
+divided into individually transcribed units. The R package transcriptR
+combines RNA-seq data with ChIP-seq data of histone modifications that mark
+active Transcription Start Sites (TSSs), such as, H3K4me3 or H3K9/14Ac to
+overcome this challenge. The advantage of this approach over the use of, for
+example, gene annotations is that this approach is data driven and therefore
+able to deal also with novel and case specific events.")
+ (license license:gpl3)))
+
(define-public r-trajectoryutils
(package
(name "r-trajectoryutils")
@@ -4567,13 +4662,13 @@ that integrates the various evidences.")
(define-public r-structuralvariantannotation
(package
(name "r-structuralvariantannotation")
- (version "1.10.0")
+ (version "1.10.1")
(source
(origin
(method url-fetch)
(uri (bioconductor-uri "StructuralVariantAnnotation" version))
(sha256
- (base32 "1pw7d39944dwk5gw6q7igcn866zpqwz01ljaha2ih5dfvmhxka8n"))))
+ (base32 "009l27kb9gvwwf57dwxfribhfhvn4z5pw8yc847l6pkbzqggx678"))))
(build-system r-build-system)
(propagated-inputs
(list r-assertthat
@@ -4669,14 +4764,14 @@ unmodeled, or latent sources of noise.")
(define-public r-systempiper
(package
(name "r-systempiper")
- (version "2.0.1")
+ (version "2.0.5")
(source
(origin
(method url-fetch)
(uri (bioconductor-uri "systemPipeR" version))
(sha256
(base32
- "1r0qc1pyff9nvjix21xjd6fmka06ywr4ipr8szm52hq41hwaiqgq"))))
+ "1j91pyfjsqngxxlxjqc477pznlfax4vayrks2q12rxw76ija80hf"))))
(properties `((upstream-name . "systemPipeR")))
(build-system r-build-system)
(propagated-inputs
@@ -4766,6 +4861,39 @@ provided as a matrix which can be used as an offset for different expression
of gene-level counts.")
(license license:gpl2+)))
+;; This is a CRAN package, but it depends on a Bioconductor package.
+(define-public r-valr
+ (package
+ (name "r-valr")
+ (version "0.6.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "valr" version))
+ (sha256
+ (base32
+ "0dd41irvibh6rwi52bw4zg4m7wpyihlp1kdkb8fdji3csw2fiz4k"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ (list r-broom
+ r-dplyr
+ r-ggplot2
+ r-rcpp
+ r-readr
+ r-rlang
+ r-rtracklayer ;bioconductor package
+ r-stringr
+ r-tibble))
+ (native-inputs
+ (list r-knitr))
+ (home-page "https://github.com/rnabioco/valr")
+ (synopsis "Genome interval arithmetic in R")
+ (description
+ "This package enables you to read and manipulate genome intervals and
+signals. It provides functionality similar to command-line tool suites within
+R, enabling interactive analysis and visualization of genome-scale data.")
+ (license license:expat)))
+
(define-public r-variantannotation
(package
(name "r-variantannotation")
@@ -5191,14 +5319,14 @@ signal in the input, that lead to spurious peaks during peak calling.")
(define-public r-diffbind
(package
(name "r-diffbind")
- (version "3.4.0")
+ (version "3.4.3")
(source
(origin
(method url-fetch)
(uri (bioconductor-uri "DiffBind" version))
(sha256
(base32
- "15p4jd9k520va6kzizkgsl4a18kh5r8i50qfdkv7xazsfhvxjm3i"))))
+ "1bz03ls7pkb09p6nkz7gfnhjlh06mgbp3j98ppnzibiar3cjrnfj"))))
(properties `((upstream-name . "DiffBind")))
(build-system r-build-system)
(propagated-inputs
@@ -6212,14 +6340,14 @@ possible, parallelization is achieved using the BiocParallel framework.")
(define-public r-destiny
(package
(name "r-destiny")
- (version "3.4.0")
+ (version "3.8.0")
(source
(origin
(method url-fetch)
(uri (bioconductor-uri "destiny" version))
(sha256
(base32
- "1i7f5q02zvpfaxhd76fbw0h1wfgjphyn5hrmrjpvlnv4ardzsir2"))))
+ "01662p5j9l12ylf5a5djg4cjppd2n3chrygzw8nnrcf1806xn58y"))))
(build-system r-build-system)
(propagated-inputs
(list r-biobase
@@ -6554,14 +6682,14 @@ independent of the p-value under the null hypothesis.")
(define-public r-icobra
(package
(name "r-icobra")
- (version "1.22.1")
+ (version "1.22.2")
(source
(origin
(method url-fetch)
(uri (bioconductor-uri "iCOBRA" version))
(sha256
(base32
- "05j3h314l2bw8n61h1nyiqhm3z7c1axycn4p3xkfccq5i4mcqvn2"))))
+ "1ln8l2cp6dqg6zv7s0qnmw5ii93v5sgp0b1nwswl52zdd8mivwxy"))))
(properties `((upstream-name . "iCOBRA")))
(build-system r-build-system)
(propagated-inputs
@@ -6798,6 +6926,7 @@ several functions from the R igraph package.")
(uri (git-reference
(url "https://github.com/pneuvial/sanssouci.git")
(commit commit)))
+ (file-name (git-file-name name version))
(sha256
(base32
"13ycdd790qw64qy2zdvcrpj3fc8as628rsly32438d3rifnlc5sk"))))
@@ -7743,14 +7872,14 @@ All the visualization methods are developed based on ggplot2 graphics.")
(define-public r-clusterprofiler
(package
(name "r-clusterprofiler")
- (version "4.2.0")
+ (version "4.2.1")
(source
(origin
(method url-fetch)
(uri (bioconductor-uri "clusterProfiler" version))
(sha256
(base32
- "18y7482sw0awlhazikq13r2r0zid9ksk942rma87m448y1cq2fi5"))))
+ "08jhcbanz24x7zdkxznxz787g0nk3jfzd7zsap13sra7qnwaswq4"))))
(properties
`((upstream-name . "clusterProfiler")))
(build-system r-build-system)
@@ -8719,14 +8848,14 @@ decomposition algorithms.")
(define-public r-yapsa
(package
(name "r-yapsa")
- (version "1.19.0")
+ (version "1.20.1")
(source
(origin
(method url-fetch)
(uri (bioconductor-uri "YAPSA" version))
(sha256
(base32
- "0fgcbskz96p5815nywsnqv2gzn7g93m438hpd5rpg85srg4wrpdj"))))
+ "08r05fzpraggbxv15lx0b68kjlkysp0rcdlm6n9avzmlsdqplb2h"))))
(properties `((upstream-name . "YAPSA")))
(build-system r-build-system)
(propagated-inputs
@@ -8748,7 +8877,7 @@ decomposition algorithms.")
r-keggrest
r-limsolve
r-magrittr
- r-pmcmr
+ r-pmcmrplus
r-pracma
r-reshape2
r-somaticsignatures
@@ -9375,6 +9504,7 @@ Gaussian distributions.")
"0ardmryx6ac7v6n900a1klrrldvbmh7bxvy8ldz8rwid19h29ikr"))))
(properties `((upstream-name . "Rbowtie")))
(build-system r-build-system)
+ (inputs (list zlib))
(native-inputs
(list r-knitr))
(home-page "https://bioconductor.org/packages/Rbowtie/")
@@ -9826,14 +9956,14 @@ cluster count and membership by stability evidence in unsupervised analysis.")
(define-public r-cytolib
(package
(name "r-cytolib")
- (version "2.6.0")
+ (version "2.6.1")
(source
(origin
(method url-fetch)
(uri (bioconductor-uri "cytolib" version))
(sha256
(base32
- "01r5dfjil1i526kb5gj9c8x9agi90x0bh7lzykbpn0g6s2hznbzi"))))
+ "16m5w6cp28p4fs2p8c8rjcg1d686xl8mpas816i7zxfh8m0bcqc9"))))
(properties `((upstream-name . "cytolib")))
(build-system r-build-system)
(native-inputs
@@ -10849,6 +10979,8 @@ with multiple R processes supported by the package @code{parallel}.")
r-methylumi
r-minfi
r-watermelon))
+ (native-inputs
+ (list r-knitr))
(home-page "https://bioconductor.org/packages/bigmelon/")
(synopsis "Illumina methylation array analysis for large experiments")
(description
@@ -11237,14 +11369,14 @@ data.")
(define-public r-universalmotif
(package
(name "r-universalmotif")
- (version "1.12.1")
+ (version "1.12.2")
(source
(origin
(method url-fetch)
(uri (bioconductor-uri "universalmotif" version))
(sha256
(base32
- "0d6zrwbc4i2npl29idm1icwa62wdx47z9s8yx7k662v3qagwpj16"))))
+ "1p9zdrsxqn4ayvbj05xgpzpbzkzrh7k0d62x10069687vfl6dlxg"))))
(properties
`((upstream-name . "universalmotif")))
(build-system r-build-system)
@@ -11287,14 +11419,14 @@ motifs, and others.")
(define-public r-activedriverwgs
(package
(name "r-activedriverwgs")
- (version "1.1.1")
+ (version "1.1.2")
(source
(origin
(method url-fetch)
(uri (cran-uri "ActiveDriverWGS" version))
(sha256
(base32
- "06mvakdc8d2pn91p0sr4ixc561s4ia5h1cvd1p7pqd6s50dy4say"))))
+ "13b5yazgv9kckcp6gck183mh1m0q8lc5ixagmcy9s8kv2wz7wq45"))))
(properties
`((upstream-name . "ActiveDriverWGS")))
(build-system r-build-system)
@@ -11302,6 +11434,9 @@ motifs, and others.")
(list r-biostrings
r-bsgenome
r-bsgenome-hsapiens-ucsc-hg19
+ r-bsgenome-hsapiens-ucsc-hg38
+ r-bsgenome-mmusculus-ucsc-mm9
+ r-bsgenome-mmusculus-ucsc-mm10
r-genomeinfodb
r-genomicranges
r-iranges
@@ -11322,14 +11457,14 @@ using whole genome sequencing data.")
(define-public r-activepathways
(package
(name "r-activepathways")
- (version "1.0.2")
+ (version "1.0.4")
(source
(origin
(method url-fetch)
(uri (cran-uri "ActivePathways" version))
(sha256
(base32
- "1hxy760x141ykrpqdbfldq4ggj1svj3lsrpwi4rb2x7r4lna937l"))))
+ "1prhwx0nnwy2q62l2r0z31mhk4mq6xdr6mjihdlwpwgwq4rfi60y"))))
(properties
`((upstream-name . "ActivePathways")))
(build-system r-build-system)
@@ -11720,14 +11855,14 @@ searching and clustering.")
(define-public r-bioassayr
(package
(name "r-bioassayr")
- (version "1.32.0")
+ (version "1.32.1")
(source
(origin
(method url-fetch)
(uri (bioconductor-uri "bioassayR" version))
(sha256
(base32
- "1nfp1alva6qim5rbhg9j9w97p2n4z21ghr4j489lqklkcs4d030f"))))
+ "0pa8d7p9asp36wddkg779i3b9m12rxik56c54bmclnammr0cz89i"))))
(properties `((upstream-name . "bioassayR")))
(build-system r-build-system)
(propagated-inputs
@@ -13858,19 +13993,21 @@ on the plot.")
(define-public r-abn
(package
(name "r-abn")
- (version "2.5-0")
+ (version "2.6-0")
(source
(origin
(method url-fetch)
(uri (cran-uri "abn" version))
(sha256
(base32
- "1fqmhw0mhdl6az1gpg0byvx5snhz1pl3fqikhyfjcjrc9xbsq8yw"))))
+ "0fr5pyc43hly5ry5bbygibbh9mnql7vl4r5qz42d0ry4hahyxa4w"))))
(build-system r-build-system)
(inputs
(list gsl))
(propagated-inputs
- (list r-lme4
+ (list r-doparallel
+ r-foreach
+ r-lme4
r-nnet
r-rcpp
r-rcpparmadillo
@@ -14045,13 +14182,13 @@ starting site, start codon, stop codon and transcription ending site.")
(define-public r-sushi
(package
(name "r-sushi")
- (version "1.31.0")
+ (version "1.32.0")
(source (origin
(method url-fetch)
(uri (bioconductor-uri "Sushi" version))
(sha256
(base32
- "1cj4palsq99vnwihp6z9mw0f8w9qj2vq8zwnabf3bgg0l1wpsc7c"))))
+ "073mh1d063ph5zk1d8kipgblr4l1ixqbxflhq4669761fi2frlw4"))))
(properties `((upstream-name . "Sushi")))
(build-system r-build-system)
(propagated-inputs
@@ -14445,14 +14582,14 @@ the Bioconductor project.")
(define-public r-biodb
(package
(name "r-biodb")
- (version "1.2.1")
+ (version "1.2.2")
(source
(origin
(method url-fetch)
(uri (bioconductor-uri "biodb" version))
(sha256
(base32
- "1z4adapsnpw6fwanihdz43r11ijypxs5wbndb1i98j8kb7wf308k"))))
+ "0b5zva16r4kz8736h3djjgmh35nxmlin4f374rb4i2s55zsrb638"))))
(properties `((upstream-name . "biodb")))
(build-system r-build-system)
(propagated-inputs
@@ -15006,13 +15143,13 @@ estimates, etc.")
(define-public r-tcgabiolinks
(package
(name "r-tcgabiolinks")
- (version "2.22.1")
+ (version "2.22.2")
(source
(origin
(method url-fetch)
(uri (bioconductor-uri "TCGAbiolinks" version))
(sha256
- (base32 "0114pwbxg6mdhv94g556krl08ig7nwaafrryxbjha4hvn0xwy36l"))))
+ (base32 "0l7hfwgd8aiqv2k98jchkr3sdp9hwdg7pzm3bnvr6k7p93ifr6wc"))))
(properties `((upstream-name . "TCGAbiolinks")))
(build-system r-build-system)
(propagated-inputs
@@ -15061,14 +15198,14 @@ starburst plots) in order to easily develop complete analysis pipelines.")
(define-public r-tximeta
(package
(name "r-tximeta")
- (version "1.12.3")
+ (version "1.12.4")
(source
(origin
(method url-fetch)
(uri (bioconductor-uri "tximeta" version))
(sha256
(base32
- "15l1jvfis7xzxwwnlqs8xpaf212v1lx513np2dc4l4h7rqhclm2v"))))
+ "1lm2r64d6sdfzvxcabgs0214cdc5dl9pfx562acjcxz5mb101g9g"))))
(properties `((upstream-name . "tximeta")))
(build-system r-build-system)
(propagated-inputs
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index f38364191f..c872c9c45a 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015, 2016, 2017, 2018 Ben Woodcroft <donttrustben@gmail.com>
;;; Copyright © 2015, 2016, 2018, 2019, 2020 Pjotr Prins <pjotr.guix@thebird.nl>
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
@@ -21,7 +21,7 @@
;;; Copyright © 2020 Bonface Munyoki Kilyungi <bonfacemunyoki@gmail.com>
;;; Copyright © 2021 Tim Howes <timhowes@lavabit.com>
;;; Copyright © 2021 Hong Li <hli@mdc-berlin.de>
-;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
+;;; Copyright © 2021, 2022 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
;;;
;;; This file is part of GNU Guix.
@@ -76,6 +76,7 @@
#:use-module (gnu packages code)
#:use-module (gnu packages cmake)
#:use-module (gnu packages compression)
+ #:use-module (gnu packages cpp)
#:use-module (gnu packages cpio)
#:use-module (gnu packages cran)
#:use-module (gnu packages crates-io)
@@ -372,7 +373,7 @@ single executable called @code{bam}.")
(define-public bcftools
(package
(name "bcftools")
- (version "1.12")
+ (version "1.14")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/samtools/bcftools/"
@@ -380,12 +381,11 @@ single executable called @code{bam}.")
version "/bcftools-" version ".tar.bz2"))
(sha256
(base32
- "1x94l1hy2pi3lbz0sxlbw0g6q5z5apcrhrlcwda94ns9n4r6a3ks"))
+ "1jqrma16fx8kpvb3c0462dg0asvmiv5yi8myqmc5ddgwi6p8ivxp"))
(modules '((guix build utils)))
(snippet '(begin
;; Delete bundled htslib.
- (delete-file-recursively "htslib-1.12")
- #t))))
+ (delete-file-recursively "htslib-1.14")))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags
@@ -396,8 +396,7 @@ single executable called @code{bam}.")
(add-before 'check 'patch-tests
(lambda _
(substitute* "test/test.pl"
- (("/bin/bash") (which "bash")))
- #t)))))
+ (("/bin/bash") (which "bash"))))))))
(native-inputs
(list htslib perl))
(inputs
@@ -411,9 +410,25 @@ transparently with both VCFs and BCFs, both uncompressed and BGZF-compressed.")
;; The sources are dual MIT/GPL, but becomes GPL-only when USE_GPL=1.
(license (list license:gpl3+ license:expat))))
+(define-public bcftools-1.12
+ (package/inherit bcftools
+ (version "1.12")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/samtools/bcftools/"
+ "releases/download/"
+ version "/bcftools-" version ".tar.bz2"))
+ (sha256
+ (base32
+ "1x94l1hy2pi3lbz0sxlbw0g6q5z5apcrhrlcwda94ns9n4r6a3ks"))
+ (modules '((guix build utils)))
+ (snippet '(begin
+ ;; Delete bundled htslib.
+ (delete-file-recursively "htslib-1.12")))))
+ (native-inputs (list htslib-1.12 perl))))
+
(define-public bcftools-1.10
- (package (inherit bcftools)
- (name "bcftools")
+ (package/inherit bcftools
(version "1.10")
(source (origin
(method url-fetch)
@@ -426,11 +441,8 @@ transparently with both VCFs and BCFs, both uncompressed and BGZF-compressed.")
(modules '((guix build utils)))
(snippet '(begin
;; Delete bundled htslib.
- (delete-file-recursively "htslib-1.10")
- #t))))
- (build-system gnu-build-system)
- (native-inputs
- (list htslib-1.10 perl))))
+ (delete-file-recursively "htslib-1.10")))))
+ (native-inputs (list htslib-1.10 perl))))
(define-public bedops
(package
@@ -1063,13 +1075,7 @@ Python.")
(("^(.+)def test_from_hdf5_issue_731" m indent)
(string-append indent
"@npt.dec.skipif(True, msg='Guix')\n"
- m)))))
-
- (add-before 'reset-gzip-timestamps 'make-files-writable
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (for-each (lambda (file) (chmod file #o644))
- (find-files out "\\.gz"))))))))
+ m))))))))
(propagated-inputs
(list python-anndata
python-numpy
@@ -2315,7 +2321,7 @@ has several key features:
(define-public python-pysam
(package
(name "python-pysam")
- (version "0.16.0.1")
+ (version "0.18.0")
(source (origin
(method git-fetch)
;; Test data is missing on PyPi.
@@ -2325,11 +2331,10 @@ has several key features:
(file-name (git-file-name name version))
(sha256
(base32
- "168bwwm8c2k22m7paip8q0yajyl7xdxgnik0bgjl7rhqg0majz0f"))
+ "042ca27r6634xg2ixgvq1079cp714wmm6ml7bwc1snn0wxxzywfg"))
(modules '((guix build utils)))
(snippet '(begin
- ;; Drop bundled htslib. TODO: Also remove samtools
- ;; and bcftools.
+ ;; FIXME: Unbundle samtools and bcftools.
(delete-file-recursively "htslib")))))
(build-system python-build-system)
(arguments
@@ -2346,35 +2351,24 @@ has several key features:
(setenv "CFLAGS" "-D_CURSES_LIB=1")))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
- ;; FIXME: These tests fail with "AttributeError: 'array.array'
- ;; object has no attribute 'tostring'".
- (delete-file "tests/AlignmentFile_test.py")
(when tests?
;; Step out of source dir so python does not import from CWD.
(with-directory-excursion "tests"
(setenv "HOME" "/tmp")
(invoke "make" "-C" "pysam_data")
(invoke "make" "-C" "cbcf_data")
- (invoke "pytest" "-k"
- (string-append
- ;; requires network access.
- "not FileHTTP"
- ;; bug in test suite with samtools update
- ;; https://github.com/pysam-developers/pysam/issues/961
- " and not TestHeaderBAM"
- " and not TestHeaderCRAM"
- " and not test_text_processing")))))))))
+ ;; The FileHTTP test requires network access.
+ (invoke "pytest" "-k" "not FileHTTP"))))))))
(propagated-inputs
- (list htslib-1.10)) ; Included from installed header files.
+ (list htslib)) ; Included from installed header files.
(inputs
(list ncurses curl zlib))
(native-inputs
(list python-cython
python-pytest
;; Dependencies below are are for tests only.
- samtools-1.10
- bcftools-1.10
- python-nose))
+ samtools
+ bcftools))
(home-page "https://github.com/pysam-developers/pysam")
(synopsis "Python bindings to the SAMtools C API")
(description
@@ -2583,13 +2577,6 @@ databases.")
`(#:tests? #false
#:phases
(modify-phases %standard-phases
- (add-before 'reset-gzip-timestamps 'make-files-writable
- (lambda* (#:key outputs #:allow-other-keys)
- ;; Make sure .gz files are writable so that the
- ;; 'reset-gzip-timestamps' phase can do its work.
- (let ((out (assoc-ref outputs "out")))
- (for-each make-file-writable
- (find-files out "\\.gz$")))))
(add-after 'unpack 'use-python3-for-cython
(lambda _
(substitute* "setup.py"
@@ -2968,7 +2955,7 @@ and record oriented data modeling and the Semantic Web.")
(define-public cwltool
(package
(name "cwltool")
- (version "3.1.20211107152837")
+ (version "3.1.20220119140128")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -2977,7 +2964,7 @@ and record oriented data modeling and the Semantic Web.")
(file-name (git-file-name name version))
(sha256
(base32
- "0i3x9wdgpzgyc1askxymlhn0ps2x9xhqaax496iwpx66ab6132c4"))))
+ "1jmrm0qrqgka79avc1kq63fgh20gx6g07fc8p3iih4k85vhdyl3f"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -3046,8 +3033,7 @@ and record oriented data modeling and the Semantic Web.")
python-pytest
python-pytest-cov
python-pytest-mock
- python-pytest-runner
- python-rdflib-jsonld))
+ python-pytest-runner))
(home-page
"https://github.com/common-workflow-language/common-workflow-language")
(synopsis "Common Workflow Language reference implementation")
@@ -4785,7 +4771,7 @@ performance.")
(define-public htslib
(package
(name "htslib")
- (version "1.12")
+ (version "1.14")
(source (origin
(method url-fetch)
(uri (string-append
@@ -4793,7 +4779,7 @@ performance.")
version "/htslib-" version ".tar.bz2"))
(sha256
(base32
- "1jplnvizgr0fyyvvmkfmnsywrrpqhid3760vw15bllz98qdi9012"))))
+ "0pwk8yhhvb85mi1d2qhwsb4samc3rmbcrq7b1s0jz0glaa7in8pd"))))
(build-system gnu-build-system)
;; Let htslib translate "gs://" and "s3://" to regular https links with
;; "--enable-gcs" and "--enable-s3". For these options to work, we also
@@ -4819,9 +4805,20 @@ data. It also provides the @command{bgzip}, @command{htsfile}, and
;; the rest is released under the Expat license
(license (list license:expat license:bsd-3))))
+(define-public htslib-1.12
+ (package/inherit htslib
+ (version "1.12")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/samtools/htslib/releases/download/"
+ version "/htslib-" version ".tar.bz2"))
+ (sha256
+ (base32
+ "1jplnvizgr0fyyvvmkfmnsywrrpqhid3760vw15bllz98qdi9012"))))))
+
(define-public htslib-1.10
- (package (inherit htslib)
- (name "htslib")
+ (package/inherit htslib
(version "1.10")
(source (origin
(method url-fetch)
@@ -4833,8 +4830,7 @@ data. It also provides the @command{bgzip}, @command{htsfile}, and
"0wm9ay7qgypj3mwx9zl1mrpnr36298b1aj5vx69l4k7bzbclvr3s"))))))
(define-public htslib-1.9
- (package (inherit htslib)
- (name "htslib")
+ (package/inherit htslib
(version "1.9")
(source (origin
(method url-fetch)
@@ -4847,8 +4843,7 @@ data. It also provides the @command{bgzip}, @command{htsfile}, and
;; This package should be removed once no packages rely upon it.
(define htslib-1.3
- (package
- (inherit htslib)
+ (package/inherit htslib
(version "1.3.1")
(source (origin
(method url-fetch)
@@ -4860,8 +4855,7 @@ data. It also provides the @command{bgzip}, @command{htsfile}, and
"1rja282fwdc25ql6izkhdyh8ppw8x2fs0w0js78zgkmqjlikmma9"))))))
(define htslib-for-samtools-1.2
- (package
- (inherit htslib)
+ (package/inherit htslib
(version "1.2.1")
(source (origin
(method url-fetch)
@@ -4883,6 +4877,18 @@ data. It also provides the @command{bgzip}, @command{htsfile}, and
(native-inputs
`(("perl" ,perl)))))
+(define htslib-for-stringtie
+ (package
+ (inherit htslib)
+ (source (origin
+ (inherit (package-source htslib))
+ (patches
+ (search-patches "htslib-for-stringtie.patch"))))
+ (arguments
+ `(#:configure-flags '("--with-libdeflate")))
+ (inputs
+ (list bzip2 libdeflate openssl))))
+
(define-public idr
(package
(name "idr")
@@ -6135,7 +6141,7 @@ to the user's query of interest.")
(define-public samtools
(package
(name "samtools")
- (version "1.12")
+ (version "1.14")
(source
(origin
(method url-fetch)
@@ -6144,40 +6150,21 @@ to the user's query of interest.")
version "/samtools-" version ".tar.bz2"))
(sha256
(base32
- "1jrdj2idpma5ja9cg0rr73b565vdbr9wyy6zig54bidicc2pg8vd"))
+ "0x3xdda78ac5vx66b3jdsv9sfhyz4npl4znl1zbaf3lbm6xdlhck"))
(modules '((guix build utils)))
(snippet '(begin
;; Delete bundled htslib.
- (delete-file-recursively "htslib-1.12")
- #t))))
+ (delete-file-recursively "htslib-1.14")))))
(build-system gnu-build-system)
(arguments
- `(#:modules ((ice-9 ftw)
- (ice-9 regex)
- (guix build gnu-build-system)
- (guix build utils))
- #:configure-flags (list "--with-ncurses")
+ `(#:configure-flags (list "--with-ncurses")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-tests
(lambda _
(substitute* "test/test.pl"
;; The test script calls out to /bin/bash
- (("/bin/bash") (which "bash")))
- #t))
- (add-after 'install 'install-library
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((lib (string-append (assoc-ref outputs "out") "/lib")))
- (install-file "libbam.a" lib)
- #t)))
- (add-after 'install 'install-headers
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((include (string-append (assoc-ref outputs "out")
- "/include/samtools/")))
- (for-each (lambda (file)
- (install-file file include))
- (scandir "." (lambda (name) (string-match "\\.h$" name))))
- #t))))))
+ (("/bin/bash") (which "bash"))))))))
(native-inputs (list pkg-config))
(inputs
(list htslib ncurses perl python zlib))
@@ -6190,6 +6177,47 @@ variant calling (in conjunction with bcftools), and a simple alignment
viewer.")
(license license:expat)))
+(define-public samtools-1.12
+ (package/inherit samtools
+ (version "1.12")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "mirror://sourceforge/samtools/samtools/"
+ version "/samtools-" version ".tar.bz2"))
+ (sha256
+ (base32
+ "1jrdj2idpma5ja9cg0rr73b565vdbr9wyy6zig54bidicc2pg8vd"))
+ (modules '((guix build utils)))
+ (snippet '(begin
+ ;; Delete bundled htslib.
+ (delete-file-recursively "htslib-1.12")))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments samtools)
+ ((#:modules _ #f)
+ '((ice-9 ftw)
+ (ice-9 regex)
+ (guix build gnu-build-system)
+ (guix build utils)))
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (add-after 'install 'install-library
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((lib (string-append (assoc-ref outputs "out") "/lib")))
+ (install-file "libbam.a" lib))))
+ (add-after 'install 'install-headers
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((include (string-append (assoc-ref outputs "out")
+ "/include/samtools/")))
+ (for-each (lambda (file)
+ (install-file file include))
+ (scandir "." (lambda (name)
+ (string-match "\\.h$" name)))))))))))
+ (native-inputs (list pkg-config))
+ (inputs
+ (list htslib-1.12 ncurses perl python zlib))))
+
(define-public samtools-1.10
(package (inherit samtools)
(name "samtools")
@@ -6287,6 +6315,11 @@ viewer.")
#:make-flags
(list "LIBCURSES=-lncurses")
,@(substitute-keyword-arguments (package-arguments samtools)
+ ((#:modules _ #f)
+ '((ice-9 ftw)
+ (ice-9 regex)
+ (guix build gnu-build-system)
+ (guix build utils)))
((#:phases phases)
`(modify-phases ,phases
(replace 'install
@@ -6296,6 +6329,18 @@ viewer.")
(mkdir-p bin)
(install-file "samtools" bin)
#t)))
+ (add-after 'install 'install-library
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((lib (string-append (assoc-ref outputs "out") "/lib")))
+ (install-file "libbam.a" lib))))
+ (add-after 'install 'install-headers
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((include (string-append (assoc-ref outputs "out")
+ "/include/samtools/")))
+ (for-each (lambda (file)
+ (install-file file include))
+ (scandir "." (lambda (name)
+ (string-match "\\.h$" name)))))))
(delete 'patch-tests)
(delete 'configure))))))))
@@ -7103,23 +7148,49 @@ of these reads to align data quickly through a hash-based indexing scheme.")
(define-public sortmerna
(package
(name "sortmerna")
- (version "2.1b")
+ (version "4.3.4")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/biocore/sortmerna")
- (commit version)))
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
- "0j3mbz4n25738yijmjbr5r4fyvkgm8v5vn3sshyfvmyqf5q9byqf"))))
- (build-system gnu-build-system)
+ "0f8jfc8vsq6llhbb92p9yv7nbp566yqwfcmq3g2hw0n7d8hyl3a8"))))
+ (build-system cmake-build-system)
(outputs '("out" ;for binaries
"db")) ;for sequence databases
(arguments
- `(#:phases
- (modify-phases %standard-phases
+ (list
+ #:tests? #false ;unclear how to run them
+ #:configure-flags
+ #~(list "-DWITH_TESTS=ON"
+ "-DCMAKE_CXX_FLAGS=-pthread"
+ "-DZLIB_STATIC=OFF"
+ "-DROCKSDB_STATIC=OFF"
+ "-DPORTABLE=OFF" ;do not use static linking
+ (string-append "-DROCKSDB_HOME="
+ #$(this-package-input "rocksdb"))
+ (string-append "-DRAPIDJSON_HOME="
+ #$(this-package-input "rapidjson"))
+ (string-append "-DRapidJson_DIR="
+ #$(this-package-input "rapidjson")
+ "/lib/cmake/RapidJSON")
+ (string-append "-DRapidJSON_INCLUDE_DIR="
+ #$(this-package-input "rapidjson")
+ "/include"))
+ #:phases
+ '(modify-phases %standard-phases
+ (add-after 'unpack 'find-concurrentqueue-headers
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; Ensure that headers can be found
+ (setenv "CPLUS_INCLUDE_PATH"
+ (string-append (search-input-directory
+ inputs "/include/concurrentqueue")
+ ":"
+ (or (getenv "CPLUS_INCLUDE_PATH") "")))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
@@ -7127,14 +7198,16 @@ of these reads to align data quickly through a hash-based indexing scheme.")
(db (assoc-ref outputs "db"))
(share
(string-append db "/share/sortmerna/rRNA_databases")))
- (install-file "sortmerna" bin)
- (install-file "indexdb_rna" bin)
+ (install-file "src/sortmerna" bin)
(for-each (lambda (file)
(install-file file share))
- (find-files "rRNA_databases" ".*fasta"))
- #t))))))
+ (find-files "../source/data/rRNA_databases" ".*fasta"))))))))
(inputs
- (list zlib))
+ (list concurrentqueue
+ gflags ; because of rocksdb
+ rapidjson rocksdb zlib))
+ (native-inputs
+ (list pkg-config))
(home-page "https://bioinfo.lifl.fr/RNA/sortmerna/")
(synopsis "Biological sequence analysis tool for NGS reads")
(description
@@ -7339,22 +7412,25 @@ against local background noises.")
(define-public stringtie
(package
(name "stringtie")
- (version "1.2.1")
+ (version "2.2.0")
(source (origin
(method url-fetch)
(uri (string-append "http://ccb.jhu.edu/software/stringtie/dl/"
"stringtie-" version ".tar.gz"))
(sha256
(base32
- "1cqllsc1maq4kh92isi8yadgzbmnf042hlnalpk3y59aph1z3bfz"))
+ "08w3ish4y9kf9acp7k38iwi8ixa6j51m6qyf0vvfj7yz78a3ai3x"))
+ ;; This package bundles an annoying amount of third party source
+ ;; code.
(modules '((guix build utils)))
(snippet
- '(begin
- (delete-file-recursively "samtools-0.1.18")
- #t))))
+ '(delete-file-recursively "htslib"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ;no test suite
+ #:make-flags '("LIBDEFLATE=-ldeflate"
+ "LIBBZ2=-lbz2"
+ "LIBLZMA=-llzma")
#:phases
(modify-phases %standard-phases
;; no configure script
@@ -7362,27 +7438,14 @@ against local background noises.")
(add-before 'build 'use-system-samtools
(lambda _
(substitute* "Makefile"
- (("stringtie: \\$\\{BAM\\}/libbam\\.a")
- "stringtie: "))
- (substitute* '("gclib/GBam.h"
- "gclib/GBam.cpp")
- (("#include \"(bam|sam|kstring).h\"" _ header)
- (string-append "#include <samtools/" header ".h>")))
- #t))
- (add-after 'unpack 'remove-duplicate-typedef
- (lambda _
- ;; This typedef conflicts with the typedef in
- ;; glibc-2.25/include/bits/types.h
- (substitute* "gclib/GThreads.h"
- (("typedef long long __intmax_t;") ""))
- #t))
+ ((" -lm") " -lm -lhts")
+ ((" \\$\\{HTSLIB\\}/libhts\\.a") " "))))
(replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((bin (string-append (assoc-ref outputs "out") "/bin/")))
- (install-file "stringtie" bin)
- #t))))))
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((bin (string-append (assoc-ref outputs "out") "/bin/")))
+ (install-file "stringtie" bin)))))))
(inputs
- (list samtools-0.1 zlib))
+ (list bzip2 htslib-for-stringtie libdeflate zlib))
(home-page "http://ccb.jhu.edu/software/stringtie/")
(synopsis "Transcript assembly and quantification for RNA-Seq data")
(description
@@ -7395,7 +7458,7 @@ other transcript assemblers, but also alignments of longer sequences that have
been assembled from those reads. To identify differentially expressed genes
between experiments, StringTie's output can be processed either by the
Cuffdiff or Ballgown programs.")
- (license license:artistic2.0)))
+ (license license:expat)))
(define-public taxtastic
(package
@@ -7677,11 +7740,11 @@ single-cell data.")
(license license:gpl3))))
(define-public r-archr
- (let ((commit "46b519ffb6f73edf132497ac31650d19ef055dc1")
+ (let ((commit "92ab814f86be0cea75c661f9827a9549c2cf47f5")
(revision "1"))
(package
(name "r-archr")
- (version (git-version "1.0.0" revision commit))
+ (version (git-version "1.0.1" revision commit))
(source
(origin
(method git-fetch)
@@ -7690,8 +7753,7 @@ single-cell data.")
(commit commit)))
(file-name (git-file-name name version))
(sha256
- (base32
- "1zj3sdfhgn2q2256fmz61a92vw1wylyck632d7842d6knd0v92v8"))))
+ (base32 "1m1vp3kkpvd0fcviv5vb3gcbm3w91ih6gm9ivg48swnbqny44kqb"))))
(properties `((upstream-name . "ArchR")))
(build-system r-build-system)
(propagated-inputs
@@ -7725,6 +7787,50 @@ single-cell data.")
"This package is designed to streamline scATAC analyses in R.")
(license license:gpl2+))))
+(define-public r-icellnet
+ ;; v1.0 tagged in 2020, last commit contains many fixes.
+ ;; DESCRIPTION says Version: 0.0.0.9000.
+ (let ((commit "b9c05488fb8b5ea69bd560018966eaf4e25f82a")
+ (revision "0"))
+ (package
+ (name "r-icellnet")
+ (version (git-version "1.0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/soumelis-lab/ICELLNET")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0cld7d6xqnvd0zpcpg3sx73an6vdc9divzywgnn6zxnqcd987cnw"))))
+ (build-system r-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'enter-dir
+ (lambda _ (chdir "icellnet"))))))
+ (propagated-inputs
+ (list r-annotationdbi
+ r-data-table
+ r-dplyr
+ r-ggplot2
+ r-hgu133plus2-db
+ r-jetset
+ r-psych
+ r-reshape2
+ r-rlist))
+ (home-page "https://github.com/soumelis-lab/ICELLNET")
+ (synopsis "Transcriptomic-based framework to dissect cell communication")
+ (description "This packages provides a a transcriptomic-based framework
+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
+and provides several visualization modes that can be helpful to dig into
+cell-cell interaction mechanism and extend biological knowledge.")
+ (license license:gpl3))))
+
(define-public r-scde
(package
(name "r-scde")
@@ -7803,6 +7909,56 @@ of transcriptional heterogeneity among single cells.")
analyze genomic data resulting from various experiments.")
(license license:gpl2)))
+(define-public r-scseqcomm
+ (let ((commit "01076e703999f1a5aa76419d821b50aebe2b777a")
+ (revision "0"))
+ (package
+ (name "r-scseqcomm")
+ (version (git-version "0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/sysbiobig/scseqcomm")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1fw5si47d6agnz5fibmp2b1sv08pbpwv1j71w57xbav9044i032q"))
+ ;; Delete bundled dependency.
+ (modules '((guix build utils)))
+ (snippet
+ '(delete-file-recursively "other_deps"))))
+ (build-system r-build-system)
+ (inputs
+ (list r-add2ggplot
+ r-chorddiag
+ r-doparallel
+ r-dplyr
+ r-foreach
+ ;;r-grid ;; listed in DESCRIPTION
+ r-gridextra
+ r-ggplot2
+ r-gtable
+ r-htmlwidgets
+ r-igraph
+ r-matrix
+ ;;r-methods ;; listed in DESCRIPTION
+ r-org-hs-eg-db
+ r-psych
+ r-rcolorbrewer
+ r-rlang
+ r-scico
+ r-tidygraph
+ r-topgo))
+ (native-inputs
+ (list r-knitr))
+ (home-page "https://gitlab.com/sysbiobig/scseqcomm")
+ (synopsis "Inter- and intra- cellular signaling from single cell RNA-seq")
+ (description "This package is tools for analysing intercellular and
+intracellular signaling from single cell RNA-seq (scRNA-seq) data.")
+ (license license:gpl3))))
+
(define-public r-shaman
(let ((commit "d6944e8ac7bd1dbd5c6cec646eafc1d19d0ca96f")
(release "2.0")
@@ -8949,7 +9105,7 @@ communication networks from scRNA-seq data.")
(define-public sambamba
(package
(name "sambamba")
- (version "0.8.0")
+ (version "0.8.2")
(source
(origin
(method git-fetch)
@@ -8959,7 +9115,7 @@ communication networks from scRNA-seq data.")
(file-name (git-file-name name version))
(sha256
(base32
- "07dznzl6m8k7sw84jxw2kx6i3ymrapbmcmyh0fxz8wrybhw8fmwc"))))
+ "1zdkd1md5wk4la71p82pbclqqcm55abk23fk087da6186i1bsihl"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; there is no test target
@@ -8967,11 +9123,12 @@ communication networks from scRNA-seq data.")
#:phases
(modify-phases %standard-phases
(delete 'configure)
- (add-after 'unpack 'fix-ldc-version
- (lambda _
+ (add-after 'unpack 'prepare-build-tools
+ (lambda* (#:key inputs #:allow-other-keys)
(substitute* "Makefile"
- ;; We use ldc2 instead of ldmd2 to compile sambamba.
- (("\\$\\(shell which ldmd2\\)") (which "ldc2")))))
+ (("\\$\\(shell which ldmd2\\)") (which "ldmd2")))
+ (setenv "CC" "gcc")
+ (setenv "D_LD" (which "ld.gold"))))
(add-after 'unpack 'unbundle-prerequisites
(lambda _
(substitute* "Makefile"
@@ -8984,7 +9141,13 @@ communication networks from scRNA-seq data.")
(copy-file (string-append "bin/sambamba-" ,version)
(string-append bin "/sambamba"))))))))
(native-inputs
- (list python))
+ `(("ld-gold-wrapper"
+ ;; Importing (gnu packages commencement) would introduce a cycle.
+ ,(module-ref (resolve-interface
+ '(gnu packages commencement))
+ 'ld-gold-wrapper))
+ ("binutils-gold" ,binutils-gold)
+ ("python" ,python)))
(inputs
(list ldc lz4 zlib))
(home-page "https://github.com/biod/sambamba")
@@ -10168,7 +10331,7 @@ API services.")
(propagated-inputs
(list python-biothings-client))
(home-page "https://github.com/biothings/mygene.py")
- (synopsis "Python Client for MyGene.Info services.")
+ (synopsis "Python Client for MyGene.Info services")
(description "MyGene.Info provides simple-to-use REST web services
to query/retrieve gene annotation data. It's designed with simplicity
and performance emphasized. Mygene is a Python wrapper to access
@@ -11560,6 +11723,39 @@ known and yet unknown splice junctions. Circular-to-linear ratios of circRNAs
can be calculated, and a number of descriptive plots easily generated.")
(license license:artistic2.0)))
+(define-public r-doubletfinder
+ (let ((commit "554097ba4e2c0ed7c28dc7f0b5b75277f3a50551")
+ (revision "1"))
+ (package
+ (name "r-doubletfinder")
+ (version (git-version "2.0.3" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/chris-mcginnis-ucsf/DoubletFinder")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1q1pnqw7ry4syp04wjmvz5bws6z4vg4c340ky07lk0vp577x2773"))))
+ (properties `((upstream-name . "DoubletFinder")))
+ (build-system r-build-system)
+ (propagated-inputs (list r-fields r-kernsmooth r-rocr))
+ (home-page "https://github.com/chris-mcginnis-ucsf/DoubletFinder")
+ (synopsis "Identify doublets in single-cell RNA sequencing data")
+ (description
+ "DoubletFinder identifies doublets by generating artificial doublets
+from existing scRNA-seq data and defining which real cells preferentially
+co-localize with artificial doublets in gene expression space. Other
+DoubletFinder package functions are used for fitting DoubletFinder to
+different scRNA-seq datasets. For example, ideal DoubletFinder performance in
+real-world contexts requires optimal pK selection and homotypic doublet
+proportion estimation. pK selection is achieved using pN-pK parameter sweeps
+and maxima identification in mean-variance-normalized bimodality coefficient
+distributions. Homotypic doublet proportion estimation is achieved by finding
+the sum of squared cell annotation frequencies.")
+ (license license:cc0))))
+
(define-public gffread
;; We cannot use the tagged release because it is not in sync with gclib.
;; See https://github.com/gpertea/gffread/issues/26
@@ -11842,7 +12038,7 @@ implementation differs in these ways:
("python-pytest" ,python-pytest)
("python-setuptools-scm" ,python-setuptools-scm)))
(home-page "https://github.com/theislab/scanpy")
- (synopsis "Single-Cell Analysis in Python.")
+ (synopsis "Single-Cell Analysis in Python")
(description "Scanpy is a scalable toolkit for analyzing single-cell gene
expression data. It includes preprocessing, visualization, clustering,
pseudotime and trajectory inference and differential expression testing. The
@@ -13282,7 +13478,7 @@ includes a command line tool and an analysis pipeline.")
star
zlib))
(home-page "https://github.com/suhrig/arriba")
- (synopsis "Gene fusion detection from RNA-Seq data ")
+ (synopsis "Gene fusion detection from RNA-Seq data")
(description
"Arriba is a command-line tool for the detection of gene fusions from
RNA-Seq data. It was developed for the use in a clinical research setting.
@@ -14645,7 +14841,7 @@ genomes known to contain a given k-mer.")
(native-inputs
(list autoconf automake which))
(home-page "https://csb5.github.io/lofreq/")
- (synopsis "Sensitive variant calling from sequencing data ")
+ (synopsis "Sensitive variant calling from sequencing data")
(description "LoFreq is a fast and sensitive variant-caller for inferring
SNVs and indels from next-generation sequencing data. It makes full use of
base-call qualities and other sources of errors inherent in
@@ -14675,7 +14871,7 @@ usually ignored by other methods or only used for filtering.")
(home-page "https://andersen-lab.github.io/ivar/html/")
(synopsis "Tools for amplicon-based sequencing")
(description "iVar is a computational package that contains functions
-broadly useful for viral amplicon-based sequencing. ")
+broadly useful for viral amplicon-based sequencing.")
(license license:gpl3+)))
(define-public python-pyliftover
@@ -15124,7 +15320,9 @@ for the analysis and visualization of raw nanopore signal.")
(delete-file-recursively (string-append
(site-packages inputs outputs)
"/vcf/test")))))))
- (native-inputs (list python-cython))
+ (native-inputs
+ ;; Older setuptools is needed for use_2to3.
+ (list python-cython python-setuptools))
(propagated-inputs
(list python-pysam python-rpy2))
(home-page "https://github.com/jamescasbon/PyVCF")
@@ -15147,7 +15345,7 @@ parser for Python.")
(inputs
(list python-configparser python-pysam python-pyvcf))
(home-page "https://github.com/mroosmalen/nanosv")
- (synopsis "Structural variation detection tool for Oxford Nanopore data.")
+ (synopsis "Structural variation detection tool for Oxford Nanopore data")
(description "NanoSV is a software package that can be used to identify
structural genomic variations in long-read sequencing data, such as data
produced by Oxford Nanopore Technologies’ MinION, GridION or PromethION
@@ -15326,7 +15524,7 @@ browser.")
(native-inputs
`(("cmake" ,cmake-minimal)))
(home-page "https://github.com/nanoporetech/pyspoa")
- (synopsis "Python bindings for the SIMD partial order alignment library ")
+ (synopsis "Python bindings for the SIMD partial order alignment library")
(description
"This package provides Python bindings for spoa, a C++ implementation of
the @dfn{partial order alignment} (POA) algorithm (as described in
diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm
index 0dcb1ee991..0dc0bbffd8 100644
--- a/gnu/packages/bittorrent.scm
+++ b/gnu/packages/bittorrent.scm
@@ -2,7 +2,7 @@
;;; Copyright © 2014 Taylan Ulrich Bayirli/Kammer <taylanbayirli@gmail.com>
;;; Copyright © 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016, 2017, 2018, 2019, 2020 Leo Famulari <leo@famulari.name>
-;;; Copyright © 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Tomáš Čech <sleep_walker@gnu.org>
;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2017 Jelle Licht <jlicht@fsfe.org>
@@ -13,6 +13,8 @@
;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2021 Justin Veilleux <terramorpha@cock.li>
;;; Copyright © 2021 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2021 Josselin Poiret <josselin.poiret@protonmail.ch>
+;;; Copyright © 2022 Brice Waegeneire <brice@waegenei.re>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -38,10 +40,12 @@
#:use-module (guix build-system python)
#:use-module (guix build-system glib-or-gtk)
#:use-module ((guix licenses) #:prefix l:)
+ #:use-module (guix gexp)
#:use-module (guix utils)
#:use-module (gnu packages)
#:use-module (gnu packages adns)
#:use-module (gnu packages autotools)
+ #:use-module (gnu packages bash)
#:use-module (gnu packages boost)
#:use-module (gnu packages check)
#:use-module (gnu packages cmake)
@@ -231,7 +235,8 @@ XML-RPC over SCGI.")
(file-name (git-file-name name version))
(sha256
(base32
- "1fqspp2ckafplahgba54xmx0sjidx1pdzyjaqjhz0ivh98dkx2n5"))))
+ "1fqspp2ckafplahgba54xmx0sjidx1pdzyjaqjhz0ivh98dkx2n5"))
+ (patches (search-patches "tremc-fix-decodestring.patch"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; no test suite
@@ -296,7 +301,7 @@ maintained upstream.")
(define-public aria2
(package
(name "aria2")
- (version "1.35.0")
+ (version "1.36.0")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/aria2/aria2/releases/"
@@ -304,23 +309,24 @@ maintained upstream.")
"/aria2-" version ".tar.xz"))
(sha256
(base32
- "1zbxc517d97lb96f15xcy4l7b66grxrp3h2ids2jiwkaip87yaqy"))))
+ "1987x4ywnnrhhfs9hi2h820c200d7nas9nd35414yh0jiihfglaq"))))
(build-system gnu-build-system)
(arguments
- `(#:configure-flags (list "--enable-libaria2"
- (string-append "--with-bashcompletiondir="
- %output "/etc/bash_completion.d/"))
+ (list
+ #:configure-flags
+ #~(list "--enable-libaria2"
+ (string-append "--with-bashcompletiondir="
+ #$output "/etc/bash_completion.d/"))
#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'delete-socket-tests
- (lambda _
- (substitute* "test/LpdMessageDispatcherTest.cc"
- (("CPPUNIT_TEST_SUITE_REGISTRATION\\(LpdMessageDispatcherTest\\);" text)
- (string-append "// " text)))
- (substitute* "test/LpdMessageReceiverTest.cc"
- (("CPPUNIT_TEST_SUITE_REGISTRATION\\(LpdMessageReceiverTest\\);" text)
- (string-append "// " text)))
- #t)))))
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'delete-socket-tests
+ (lambda _
+ (substitute* "test/LpdMessageDispatcherTest.cc"
+ (("CPPUNIT_TEST_SUITE_REGISTRATION\\(LpdMessageDispatcherTest\\);" text)
+ (string-append "// " text)))
+ (substitute* "test/LpdMessageReceiverTest.cc"
+ (("CPPUNIT_TEST_SUITE_REGISTRATION\\(LpdMessageReceiverTest\\);" text)
+ (string-append "// " text))))))))
(native-inputs
(list cppunit ; for the tests
pkg-config))
@@ -339,6 +345,8 @@ maintained upstream.")
"Aria2 is a lightweight, multi-protocol & multi-source command-line
download utility. It supports HTTP/HTTPS, FTP, SFTP, BitTorrent and Metalink.
Aria2 can be manipulated via built-in JSON-RPC and XML-RPC interfaces.")
+ (properties
+ '((release-monitoring-url . "https://github.com/aria2/aria2/releases")))
(license l:gpl2+)))
(define-public uget
@@ -414,7 +422,7 @@ and will take advantage of multiple processor cores where possible.")
(define-public libtorrent-rasterbar
(package
(name "libtorrent-rasterbar")
- (version "1.2.14")
+ (version "1.2.15")
(source
(origin
(method url-fetch)
@@ -423,13 +431,18 @@ and will take advantage of multiple processor cores where possible.")
"releases/download/v" version "/"
"libtorrent-rasterbar-" version ".tar.gz"))
(sha256
- (base32 "0gwm4w7337ykh5lfnspapnnz6a35g7yay3wnj126s8s5kcsvy9wy"))))
+ (base32 "0jr1c876mvwbbbnav8ldcdm1l6z3g404jc5wp8z902jcd0w8dbf8"))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags '("-Dpython-bindings=ON"
"-Dbuild_tests=ON")
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'extend-test-timeout
+ (lambda _
+ (substitute* "test/test_remove_torrent.cpp"
+ ;; Extend the test timeout from 3 seconds to 10.
+ (("i > 30") "i > 100"))))
(replace 'check
(lambda* (#:key tests? parallel-tests? #:allow-other-keys)
(let ((disabled-tests
@@ -440,16 +453,19 @@ and will take advantage of multiple processor cores where possible.")
;; expiry date. To ensure succesful builds in the future,
;; fake the time to be roughly that of the release.
(setenv "FAKETIME_ONLY_CMDS" "test_ssl")
- (invoke "faketime" "2021-06-01"
+ (invoke "faketime" "2021-12-12"
"ctest"
"--exclude-regex" (string-join disabled-tests "|")
"-j" (if parallel-tests?
(number->string (parallel-job-count))
- "1")))))))))
+ "1")
+ "--rerun-failed"
+ "--output-on-failure"))))))))
(inputs (list boost openssl))
- (native-inputs `(("libfaketime" ,libfaketime)
- ("python" ,python-wrapper)
- ("pkg-config" ,pkg-config)))
+ (native-inputs
+ (list libfaketime
+ python-wrapper
+ pkg-config))
(home-page "https://www.libtorrent.org/")
(synopsis "Feature-complete BitTorrent implementation")
(description
@@ -461,7 +477,7 @@ desktops.")
(define-public qbittorrent
(package
(name "qbittorrent")
- (version "4.2.5")
+ (version "4.4.0")
(source
(origin
(method git-fetch)
@@ -470,7 +486,7 @@ desktops.")
(commit (string-append "release-" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1n613ylg6i9gisgk0dbr2kpfasyizrkdjff1r8smd4vri2qrdksn"))))
+ (base32 "0aqrcwxi3s2alila3fa7fjs4hifkq7055wa4xvz17hajchs3l567"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags
@@ -515,7 +531,7 @@ features.")
(define-public deluge
(package
(name "deluge")
- (version "2.0.3")
+ (version "2.0.5")
(source
(origin
(method url-fetch)
@@ -524,28 +540,31 @@ features.")
(version-major+minor version) "/deluge-" version ".tar.xz"))
(sha256
(base32
- "14d8kn2pvr1qv8mwqrxmj85jycr73vwfqz12hzag0ararbkfhyky"))))
+ "1n15dzfnz1gvb4cf046yhi404i3gs933qgz0ichna6r1znmh9gf4"))))
(build-system python-build-system)
+ (inputs (list bash-minimal))
(propagated-inputs
- `(("gtk+" ,gtk+)
- ("librsvg" ,librsvg)
- ("libtorrent" ,libtorrent-rasterbar)
- ("python-pycairo" ,python-pycairo)
- ("python-chardet" ,python-chardet)
- ("python-dbus" ,python-dbus)
- ("python-mako" ,python-mako)
- ("python-pygobject" ,python-pygobject)
- ("python-pillow" ,python-pillow)
- ("python-pyopenssl" ,python-pyopenssl)
- ("python-pyxdg" ,python-pyxdg)
- ("python-rencode" ,python-rencode)
- ("python-service-identity" ,python-service-identity)
- ("python-setproctitle" ,python-setproctitle)
- ("python-six" ,python-six)
- ("python-twisted" ,python-twisted)
- ("python-zope-interface" ,python-zope-interface)))
+ (list gtk+
+ libtorrent-rasterbar
+ python-pycairo
+ python-chardet
+ python-dbus
+ python-mako
+ python-pygobject
+ python-pillow
+ python-pyopenssl
+ python-pyxdg
+ python-rencode
+ python-service-identity
+ python-setproctitle
+ python-six
+ python-twisted
+ python-zope-interface))
(native-inputs
- (list intltool python-wheel))
+ (list intltool python-wheel
+ (if (string-prefix? "x86_64-" (%current-system))
+ librsvg-bootstrap
+ librsvg-2.40)))
;; TODO: Enable tests.
;; After "pytest-twisted" is packaged, HOME is set, and an X server is
;; started, some of the tests still fail. There are likely some tests
@@ -554,17 +573,23 @@ features.")
`(#:tests? #f
#:phases
(modify-phases %standard-phases
- ;; Remove this phase when upgrading to version 2.0.4 or beyond, as
- ;; the issue is fixed upstream.
- (add-after 'unpack 'fix-gettext-warning
- (lambda _
- (substitute* "deluge/i18n/util.py"
- (("names='ngettext'") "names=['ngettext']"))
- #t))
(add-after 'install 'wrap
- (lambda* (#:key outputs #:allow-other-keys)
+ (lambda* (#:key native-inputs inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
- (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
+ ;; "librsvg" input is only needed at build time and it
+ ;; conflit with the "librsvg" propageted by "gtk+", so we
+ ;; make sure there is no reference to it in the wrapper.
+ (gi-typelib-path
+ (string-join (filter
+ (lambda (x) (not (string-prefix?
+ (assoc-ref
+ (or native-inputs inputs)
+ "librsvg")
+ x)))
+ (string-split
+ (getenv "GI_TYPELIB_PATH")
+ #\:))
+ ":")))
(for-each
(lambda (program)
(wrap-program program
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index be6cb8f22a..54e47059ee 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -924,7 +924,21 @@ to Novena upstream, does not load u-boot.img from the first partition.")
(make-u-boot-package "sifive_unleashed" "riscv64-linux-gnu"))
(define-public u-boot-sifive-unmatched
- (make-u-boot-package "sifive_unmatched" "riscv64-linux-gnu"))
+ (let ((base (make-u-boot-package "sifive_unmatched" "riscv64-linux-gnu")))
+ (package
+ (inherit base)
+ (arguments
+ (substitute-keyword-arguments (package-arguments base)
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (add-after 'unpack 'set-environment
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((opensbi (string-append (assoc-ref inputs "firmware")
+ "/fw_dynamic.bin")))
+ (setenv "OPENSBI" opensbi))))))))
+ (inputs
+ `(("firmware" ,opensbi-generic)
+ ,@(package-inputs base))))))
(define-public u-boot-rock64-rk3328
(let ((base (make-u-boot-package "rock64-rk3328" "aarch64-linux-gnu")))
diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm
index 5a8028a465..8bd0c4eaf3 100644
--- a/gnu/packages/bootstrap.scm
+++ b/gnu/packages/bootstrap.scm
@@ -144,7 +144,16 @@
("tar"
,(base32 "150c8948cz8r208g6qgn2dn4f4zs5kpgbpbg6bwag6yw42rapw2l"))
("xz"
- ,(base32 "0v5738idy9pqzcbrjdpxi5c6qs5m78zrpsydmrpx5cfcfzbkxzjh")))))
+ ,(base32 "0v5738idy9pqzcbrjdpxi5c6qs5m78zrpsydmrpx5cfcfzbkxzjh")))
+ ("riscv64-linux"
+ ("bash"
+ ,(base32 "0almlf73k6hbm495kzf4bw1rzsg5qddn7z2rf5l3d1xcapac2hj3"))
+ ("mkdir"
+ ,(base32 "0rg1amdcqfkplcy1608jignl8jq0wqzfkp430mwik3f62959gya6"))
+ ("tar"
+ ,(base32 "17d3x27qhiwk7h6ns0xrvbrq0frxz89mjjh2cdwx2rraq5x6wffm"))
+ ("xz"
+ ,(base32 "0nxn75xf386vdq3igmgm8gnyk4h4x0cm8jv71vlb2jvwxh0cyw1q")))))
(define %bootstrap-executable-base-urls
;; This is where the bootstrap executables come from.
@@ -159,6 +168,7 @@
("powerpc64le-linux" (string-append system "/20210106/" program))
("i586-gnu" (string-append system "/20200326/" program))
("powerpc-linux" (string-append system "/20200923/bin/" program))
+ ("riscv64-linux" (string-append system "/20210725/bin/" program))
(_ (string-append system "/" program
"?id=44f07d1dc6806e97c4e9ee3e6be883cc59dc666e"))))
@@ -362,6 +372,8 @@ or false to signal an error."
"/20200326/guile-static-stripped-2.0.14-i586-pc-gnu.tar.xz")
("powerpc64le-linux"
"/20210106/guile-static-stripped-2.0.14-powerpc64le-linux-gnu.tar.xz")
+ ("riscv64-linux"
+ "/20210725/guile-3.0.2.tar.xz")
(_
"/20131110/guile-2.0.9.tar.xz"))))
@@ -383,7 +395,9 @@ or false to signal an error."
("i586-gnu"
(base32 "0wgqpsmvg25rnqn49ap7kwd2qxccd8dr4lllzp7i3rjvgav27vac"))
("powerpc-linux"
- (base32 "1by2p7s27fbyjzfkcw8h65h4kkqh7d23kv4sgg5jppjn2qx7swq4"))))
+ (base32 "1by2p7s27fbyjzfkcw8h65h4kkqh7d23kv4sgg5jppjn2qx7swq4"))
+ ("riscv64-linux"
+ (base32 "12pqmhsbbp7hh9r1bjdl14l3a4q06plpz6dcks9dysb4czay8p9f"))))
(define (bootstrap-guile-origin system)
"Return an <origin> object for the Guile tarball of SYSTEM."
@@ -471,6 +485,76 @@ $out/bin/guile --version~%"
#:env-vars `(("GUILE_TARBALL"
. ,(derivation->output-path guile))))))
+(define* (raw-build-guile3 name inputs
+ #:key outputs system search-paths
+ #:allow-other-keys)
+ (define (->store file)
+ (lower-object (bootstrap-executable file system)
+ system))
+
+ (define (make-guile-wrapper bash guile-real)
+ ;; The following code, run by the bootstrap guile after it is unpacked,
+ ;; creates a wrapper for itself to set its load path. This replaces the
+ ;; previous non-portable method based on reading the /proc/self/exe
+ ;; symlink.
+ '(begin
+ (use-modules (ice-9 match))
+ (match (command-line)
+ ((_ out bash)
+ (let ((bin-dir (string-append out "/bin"))
+ (guile (string-append out "/bin/guile"))
+ (guile-real (string-append out "/bin/.guile-real"))
+ ;; We must avoid using a bare dollar sign in this code,
+ ;; because it would be interpreted by the shell.
+ (dollar (string (integer->char 36))))
+ (chmod bin-dir #o755)
+ (rename-file guile guile-real)
+ (call-with-output-file guile
+ (lambda (p)
+ (format p "\
+#!~a
+export GUILE_SYSTEM_PATH=~a/share/guile/3.0
+export GUILE_SYSTEM_COMPILED_PATH=~a/lib/guile/3.0/ccache
+exec -a \"~a0\" ~a \"~a@\"\n"
+ bash out out dollar guile-real dollar)))
+ (chmod guile #o555)
+ (chmod bin-dir #o555))))))
+
+ (mlet* %store-monad ((tar (->store "tar"))
+ (xz (->store "xz"))
+ (mkdir (->store "mkdir"))
+ (bash (->store "bash"))
+ (guile (download-bootstrap-guile system))
+ (wrapper -> (make-guile-wrapper bash guile))
+ (builder
+ (text-file "build-bootstrap-guile.sh"
+ (format #f "
+echo \"unpacking bootstrap Guile to '$out'...\"
+~a $out
+cd $out
+~a -dc < $GUILE_TARBALL | ~a xv
+
+# Use the bootstrap guile to create its own wrapper to set the load path.
+GUILE_SYSTEM_PATH=$out/share/guile/3.0 \
+GUILE_SYSTEM_COMPILED_PATH=$out/lib/guile/3.0/ccache \
+$out/bin/guile -c ~s $out ~a
+
+# Sanity check.
+$out/bin/guile --version~%"
+ (derivation->output-path mkdir)
+ (derivation->output-path xz)
+ (derivation->output-path tar)
+ (object->string wrapper)
+ (derivation->output-path bash)))))
+ (raw-derivation name
+ (derivation->output-path bash) `(,builder)
+ #:system system
+ #:inputs (map derivation-input
+ (list bash mkdir tar xz guile))
+ #:sources (list builder)
+ #:env-vars `(("GUILE_TARBALL"
+ . ,(derivation->output-path guile))))))
+
(define* (make-raw-bag name
#:key source inputs native-inputs outputs
system target)
@@ -478,7 +562,9 @@ $out/bin/guile --version~%"
(name name)
(system system)
(build-inputs inputs)
- (build raw-build)))
+ (build (cond ((target-riscv64?)
+ raw-build-guile3)
+ (else raw-build)))))
(define %bootstrap-guile
;; The Guile used to run the build scripts of the initial derivations.
@@ -518,6 +604,8 @@ $out/bin/guile --version~%"
"/20200326/static-binaries-0-i586-pc-gnu.tar.xz")
("powerpc-linux"
"/20200923/static-binaries.tar.xz")
+ ("riscv64-linux"
+ "/20210725/static-binaries.tar.xz")
(_
"/20131110/static-binaries.tar.xz")))
%bootstrap-base-urls))
@@ -544,6 +632,9 @@ $out/bin/guile --version~%"
("powerpc-linux"
(base32
"0kspxy0yczan2vlih6aa9hailr2inz000fqa0gn5x9d1fxxa5y8m"))
+ ("riscv64-linux"
+ (base32
+ "0x0xjlpmyh6rkr51p00gp6pscgl6zjida1rsg8vk3rinyi6rrbkg"))
("mips64el-linux"
(base32
"072y4wyfsj1bs80r6vbybbafy8ya4vfy7qj25dklwk97m6g71753"))))))
@@ -596,6 +687,8 @@ $out/bin/guile --version~%"
"/20200326/binutils-static-stripped-2.34-i586-pc-gnu.tar.xz")
("powerpc-linux"
"/20200923/binutils-2.35.1.tar.xz")
+ ("riscv64-linux"
+ "/20210725/binutils-2.34.tar.xz")
(_
"/20131110/binutils-2.23.2.tar.xz")))
%bootstrap-base-urls))
@@ -616,6 +709,9 @@ $out/bin/guile --version~%"
("powerpc64le-linux"
(base32
"1klxy945c61134mzhqzz2gbk8w0n8jq7arwkrvz78d22ff2q0cwz"))
+ ("riscv64-linux"
+ (base32
+ "0n9qf4vbilfmh1lknhw000waakj4q6s50pnjazr5137skm976z5m"))
("i586-gnu"
(base32
"11kykv1kmqc5wln57rs4klaqa13hm952smkc57qcsyss21kfjprs"))
@@ -681,6 +777,8 @@ $out/bin/guile --version~%"
"/20200326/glibc-stripped-2.31-i586-pc-gnu.tar.xz")
("powerpc-linux"
"/20200923/glibc-2.32.tar.xz")
+ ("riscv64-linux"
+ "/20210725/glibc-2.31.tar.xz")
(_
"/20131110/glibc-2.18.tar.xz")))
%bootstrap-base-urls))
@@ -701,6 +799,9 @@ $out/bin/guile --version~%"
("powerpc64le-linux"
(base32
"1a1df6z8gkaq09md3jy94lixnh20599p58p0s856p10xwjaqr1iz"))
+ ("riscv64-linux"
+ (base32
+ "0d9x80vm7ca1pd2whcmpm1h14zxpb58kqajlxlwffzm04xfsjnxm"))
("i586-gnu"
(base32
"14ddm10lpbas8bankmn5bcrlqvz1v5dnn1qjzxb19r57vd2w5952"))
@@ -782,6 +883,8 @@ exec ~a/bin/.gcc-wrapped -B~a/lib \
"/20200326/gcc-stripped-5.5.0-i586-pc-gnu.tar.xz")
("powerpc-linux"
"/20200923/gcc-5.5.0.tar.xz")
+ ("riscv64-linux"
+ "/20210725/gcc-7.5.0.tar.xz")
(_
"/20131110/gcc-4.8.2.tar.xz")))
%bootstrap-base-urls))
@@ -802,6 +905,9 @@ exec ~a/bin/.gcc-wrapped -B~a/lib \
("powerpc64le-linux"
(base32
"151kjsai25vz2s667bgzpisx8f281fpl3n9pxz2yrp9jlnadz3m1"))
+ ("riscv64-linux"
+ (base32
+ "1k4mbnb54wj2q37fgshf5dfixixqnhn002vhzvi9pnb57xb9v14d"))
("i586-gnu"
(base32
"1j2zc58wzil71a34h7c70sd68dmqvcscrw3rmn2whq79vd70zvv5"))
diff --git a/gnu/packages/browser-extensions.scm b/gnu/packages/browser-extensions.scm
index 6b2f4ad4a3..eaf67a8ea0 100644
--- a/gnu/packages/browser-extensions.scm
+++ b/gnu/packages/browser-extensions.scm
@@ -51,7 +51,7 @@ supported content to the Kodi media center.")
(define ublock-origin
(package
(name "ublock-origin")
- (version "1.39.2")
+ (version "1.40.8")
(home-page "https://github.com/gorhill/uBlock")
(source (origin
(method git-fetch)
@@ -60,7 +60,7 @@ supported content to the Kodi media center.")
(file-name (git-file-name name version))
(sha256
(base32
- "12dqn7hm72ha7xclc7cny67l1ndsanhpgbwx1s9d74z0jhdl2iks"))))
+ "17pywblp87npj5z3zyvy9rmllnxhm916fnfyyfbvfbczswkbp78s"))))
(build-system gnu-build-system)
(outputs '("xpi" "firefox" "chromium"))
(arguments
@@ -98,8 +98,7 @@ supported content to the Kodi media center.")
(copy-recursively "dist/build/uBlock0.firefox" firefox)
(copy-recursively "dist/build/uBlock0.chromium" chromium)))))))
(native-inputs
- `(("python" ,python-wrapper)
- ("zip" ,zip)))
+ (list python-wrapper zip))
(synopsis "Block unwanted content from web sites")
(description
"uBlock Origin is a @dfn{wide spectrum blocker} for IceCat and
diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index 18a07f0226..437b0d3550 100644
--- a/gnu/packages/build-tools.scm
+++ b/gnu/packages/build-tools.scm
@@ -155,14 +155,14 @@ generate such a compilation database.")
(define-public bmake
(package
(name "bmake")
- (version "20211207")
+ (version "20211212")
(source
(origin
(method url-fetch)
(uri (string-append
"http://www.crufty.net/ftp/pub/sjg/bmake-" version ".tar.gz"))
(sha256
- (base32 "1cvm10gh7gb0rjcfgbssrw13ha24qmagifgkr53kk39r9693ylq5"))))
+ (base32 "17lywks7fy5538vwyyvbvxcq5mgnd5si7f2qgw85sgqj7mdr4xdd"))))
(build-system gnu-build-system)
(inputs
(list bash-minimal))
@@ -264,7 +264,7 @@ files and generates build instructions for the Ninja build system.")
(define-public meson
(package
(name "meson")
- (version "0.60.0")
+ (version "0.60.3")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/mesonbuild/meson/"
@@ -272,7 +272,7 @@ files and generates build instructions for the Ninja build system.")
version ".tar.gz"))
(sha256
(base32
- "0irdn7hx5a182jbvq2kmdwd1v7mljzh5fm27pg4xk879hnv6h388"))
+ "13mrrizg4vl6n5k7fz6amyafnn3i097dcarr552qc0ca6nlmzjl7"))
(patches (search-patches
"meson-allow-dirs-outside-of-prefix.patch"))))
(build-system python-build-system)
@@ -283,38 +283,6 @@ files and generates build instructions for the Ninja build system.")
#:phases (modify-phases %standard-phases
;; Meson calls the various executables in out/bin through the
;; Python interpreter, so we cannot use the shell wrapper.
- (delete 'wrap))))
- (inputs (list ninja))
-
- ;; XXX: Python is propagated just to 'GUIX_PYTHONPATH' is set (!).
- ;; MESON-WRAPPED below fixes that by wrapping the 'meson' executable.
- ;; TODO: Make MESON-WRAPPED the new MESON on the next core update cycle.
- (propagated-inputs (list python))
-
- (home-page "https://mesonbuild.com/")
- (properties '((hidden? . #t)))
- (synopsis "Build system designed to be fast and user-friendly")
- (description
- "The Meson build system is focused on user-friendliness and speed.
-It can compile code written in C, C++, Fortran, Java, Rust, and other
-languages. Meson provides features comparable to those of the
-Autoconf/Automake/make combo. Build specifications, also known as @dfn{Meson
-files}, are written in a custom domain-specific language (@dfn{DSL}) that
-resembles Python.")
- (license license:asl2.0)))
-
-(define-public meson-wrapped
- (package/inherit meson
- (propagated-inputs '()) ;don't propagate Python
- (inputs (modify-inputs (package-inputs meson)
- (prepend python-wrapper)))
- (arguments
- `(;; FIXME: Tests require many additional inputs and patching many
- ;; hard-coded file system locations in "run_unittests.py".
- #:tests? #f
- #:phases (modify-phases %standard-phases
- ;; Meson calls the various executables in out/bin through the
- ;; Python interpreter, so we cannot use the shell wrapper.
(replace 'wrap
(lambda* (#:key outputs inputs #:allow-other-keys)
(let ((python-version
@@ -327,7 +295,17 @@ import sys
sys.path.insert(0, '~a/lib/python~a/site-packages')
# EASY-INSTALL-ENTRY-SCRIPT"
output python-version)))))))))
- (properties '())))
+ (inputs (list python-wrapper ninja))
+ (home-page "https://mesonbuild.com/")
+ (synopsis "Build system designed to be fast and user-friendly")
+ (description
+ "The Meson build system is focused on user-friendliness and speed.
+It can compile code written in C, C++, Fortran, Java, Rust, and other
+languages. Meson provides features comparable to those of the
+Autoconf/Automake/make combo. Build specifications, also known as @dfn{Meson
+files}, are written in a custom domain-specific language (@dfn{DSL}) that
+resembles Python.")
+ (license license:asl2.0)))
;;; This older Meson variant is kept for now for gtkmm and others that may
;;; have problems with 0.60.
diff --git a/gnu/packages/busybox.scm b/gnu/packages/busybox.scm
index 17b91da59f..7a548582f3 100644
--- a/gnu/packages/busybox.scm
+++ b/gnu/packages/busybox.scm
@@ -19,6 +19,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages busybox)
+ #:use-module (guix gexp)
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (guix download)
@@ -122,7 +123,7 @@ any small or embedded system.")
(define-public toybox
(package
(name "toybox")
- (version "0.8.5")
+ (version "0.8.6")
(source (origin
(method url-fetch)
(uri (string-append
@@ -130,38 +131,35 @@ any small or embedded system.")
version ".tar.gz"))
(sha256
(base32
- "0j896rblxd8jyll6dg1w9zz1v1q52y2ca7qswgvlfqvjhz0k1lmz"))))
+ "0jq3368jps6jg717ikzhlc6whml3k2s9xy69zpj4i0r35c5ck622"))))
(build-system gnu-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-before 'configure 'set-environment-variables
- (lambda _
- (setenv "CC" ,(cc-for-target))
- (setenv "HOSTCC" (which "gcc"))))
- (replace 'configure
- (lambda _ (invoke "make" "defconfig")))
- (add-before 'check 'fix-or-skip-broken-tests
- (lambda _
- ;; Some tests expects $USER to magically be the current user name.
- (setenv "USER" (passwd:name (getpwnam (geteuid))))
- ;; All these expect directories to be exactly 4K. They aren't!
- (delete-file "tests/du.test")
- ;; Delete tests that expect a root or 0 user to exist.
- (substitute* "tests/id.test"
- (("^testing .*[ \\(]root.*") ""))
- ))
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (invoke "make"
- (string-append "PREFIX=" out)
- "install"))))
- (add-after 'install 'remove-usr-directory
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (delete-file-recursively (string-append out "/usr"))))))
- #:test-target "tests"))
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'configure 'set-environment-variables
+ (lambda _
+ (setenv "CC" #$(cc-for-target))
+ (setenv "HOSTCC" (which "gcc"))))
+ (replace 'configure
+ (lambda _ (invoke "make" "defconfig")))
+ (add-before 'check 'fix-or-skip-broken-tests
+ (lambda _
+ ;; Some tests expect $USER to magically be the current user.
+ (setenv "USER" (passwd:name (getpwnam (geteuid))))
+ ;; This expects directories to be exactly 4K. They aren't!
+ (delete-file "tests/du.test")
+ ;; Delete tests that expect a root or 0 user to exist.
+ (substitute* "tests/id.test"
+ (("^testing .*[ \\(]root.*") ""))))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (invoke "make"
+ (string-append "PREFIX=" #$output)
+ "install")))
+ (add-after 'install 'remove-usr-directory
+ (lambda* (#:key outputs #:allow-other-keys)
+ (delete-file-recursively (string-append #$output "/usr")))))
+ #:test-target "tests"))
(native-inputs (list bc))
(synopsis "Many common UNIX utilities in a single executable")
(description "ToyBox combines tiny versions of many common UNIX utilities
diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm
index 5c28ea9fb8..459d996fa2 100644
--- a/gnu/packages/c.scm
+++ b/gnu/packages/c.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016, 2018 Ludovic Courtès <ludo@gnu.org>
-;;; Copyright © 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2016, 2017, 2018, 2019, 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2018, 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018, 2019 Pierre Neidhardt <mail@ambrevar.xyz>
;;; Copyright © 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
@@ -30,6 +30,7 @@
(define-module (gnu packages c)
#:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix gexp)
#:use-module (guix utils)
#:use-module (guix packages)
#:use-module (guix download)
@@ -55,6 +56,7 @@
#:use-module (gnu packages gettext)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages tls)
+ #:use-module (gnu packages web)
#:use-module (gnu packages xml))
(define-public tcc
@@ -501,6 +503,46 @@ with essential JSON handling functions, sufficiently good JSON support (not
replacement for the syslog() call, but retains its ease of use.")
(license license:bsd-2)))
+(define-public liblognorm
+ (package
+ (name "liblognorm")
+ (version "2.0.6")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rsyslog/liblognorm.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1pyy1swvq6jj12aqma42jimv71z8m66zy6ydd5v19cp2azm4krml"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:parallel-tests? #false ;not supported
+ #:phases
+ '(modify-phases %standard-phases
+ ;; These tests fail because tmp.rulebase is never created. This
+ ;; looks rather harmless.
+ (add-after 'unpack 'delete-failing-tests
+ (lambda _
+ (substitute* "tests/Makefile.am"
+ (("string_rb_simple.sh ") "")
+ (("string_rb_simple_2_lines.sh ") "")))))))
+ (inputs
+ (list json-c libestr libfastjson))
+ (native-inputs
+ (list autoconf automake libtool pkg-config))
+ (home-page "https://www.liblognorm.com")
+ (synopsis "Fast samples-based log normalization library")
+ (description
+ "Liblognorm normalizes event data into well-defined name-value pairs and
+a set of tags describing the message.")
+ ;; liblognorm is very slowly transitioning to ASL2.0
+ ;; See https://github.com/rsyslog/liblognorm/issues/329
+ (license license:lgpl2.1+)))
+
(define-public unifdef
(package
(name "unifdef")
diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm
index 2a444eb7f6..3f2429aeeb 100644
--- a/gnu/packages/cdrom.scm
+++ b/gnu/packages/cdrom.scm
@@ -940,7 +940,7 @@ CD data, and more. It's mostly compatible with @code{cdrtools}.")
(define-public libmirage
(package
(name "libmirage")
- (version "3.2.5")
+ (version "3.2.6")
(source (origin
(method url-fetch)
(uri (string-append
@@ -948,7 +948,7 @@ CD data, and more. It's mostly compatible with @code{cdrtools}.")
version ".tar.xz"))
(sha256
(base32
- "0f8i2ha44rykkk3ac2q8zsw3y1zckw6qnf6zvkyrj3qqbzhrf3fm"))))
+ "19pjdmxhzl8y3brhg8fsv99b6jg4lfnl8jvcjgm4jmqrr684czr5"))))
(build-system cmake-build-system)
(native-inputs
(list pkg-config intltool))
@@ -968,7 +968,7 @@ the data stored in various image formats.")
(define-public cdemu-daemon
(package
(name "cdemu-daemon")
- (version "3.2.5")
+ (version "3.2.6")
(source (origin
(method url-fetch)
(uri (string-append
@@ -976,7 +976,7 @@ the data stored in various image formats.")
"cdemu-daemon-" version ".tar.xz"))
(sha256
(base32
- "16g6fv1lxkdmbsy6zh5sj54dvgwvm900fd18aq609yg8jnqm644d"))))
+ "13vxhl7ik3h5qnfh6m0zxywb8qzx1n46akrm6rp19ikmxzih9r56"))))
(build-system cmake-build-system)
(native-inputs
(list pkg-config intltool))
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 0a90a3b167..fb5bcadf83 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -25,7 +25,7 @@
;;; Copyright © 2017, 2019 Kei Kebreau <kkebreau@posteo.net>
;;; Copyright © 2017 Nikita <nikita@n0.is>
;;; Copyright © 2015, 2017, 2018, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
-;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2016-2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2017, 2018, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com>
;;; Copyright © 2019, 2021 Pierre Langlois <pierre.langlois@gmx.com>
@@ -79,6 +79,7 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix build-system cmake)
#:use-module (guix build-system glib-or-gtk)
@@ -845,6 +846,7 @@ available via the @code{unittest.mock} module.")
("python2-funcsigs" ,python2-funcsigs)
,@(package-propagated-inputs base))))))
+;;; This package is unmaintained (see the note at the top of doc/index.rst).
(define-public python-nose
(package
(name "python-nose")
@@ -858,15 +860,26 @@ available via the @code{unittest.mock} module.")
"164a43k7k2wsqqk1s6vavcdamvss4mz0vd6pwzv2h9n8rgwzxgzi"))))
(build-system python-build-system)
(arguments
- '(#:tests? #f)) ; FIXME: test suite fails
+ '(#:tests? #f
+ #:phases (modify-phases %standard-phases
+ (add-after 'unpack 'invoke-2to3
+ (lambda _
+ (invoke "2to3" "-w" "."))))))
(home-page "http://readthedocs.org/docs/nose/")
(synopsis "Python testing library")
(description
"Nose extends the unittest library to make testing easier.")
- (license license:lgpl2.0+)))
+ (license license:lgpl2.0+)
+ (properties `((python2-variant . ,(delay python2-nose))))))
(define-public python2-nose
- (package-with-python2 python-nose))
+ (let ((base (package-with-python2
+ (strip-python2-variant python-nose))))
+ (package/inherit base
+ (arguments (substitute-keyword-arguments (package-arguments base)
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (delete 'invoke-2to3))))))))
(define-public python-nose2
(package
@@ -991,17 +1004,6 @@ and many external plugins.")
(license license:expat)
(properties `((python2-variant . ,(delay python2-pytest))))))
-(define-public python-pytest-6.1
- (package
- (inherit python-pytest)
- (version "6.1.2")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "pytest" version))
- (sha256
- (base32 "0gl2sdm322vzmsh5k4f8kj9raiq2y7kdinnca4m45ifvii5fk9y0"))))))
-
(define-public python-pytest-6 python-pytest)
;; Pytest 4.x are the last versions that support Python 2.
@@ -1284,22 +1286,29 @@ reported in a previous test run.")
(origin
(method url-fetch)
(uri (pypi-uri "pytest-mock" version))
- (sha256 (base32
- "0qhfmd05z3g88bnwq6644jl6p5wy01i4yy7h8883z9jjih2pl8a0"))))
+ (sha256
+ (base32 "0qhfmd05z3g88bnwq6644jl6p5wy01i4yy7h8883z9jjih2pl8a0"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; Some tests do a string match on Pytest output, and fails when
+ ;; warnings are present. Adjust to cope with warnings from
+ ;; third-party libraries (looking at you, pytest-asyncio).
+ '(substitute* "tests/test_pytest_mock.py"
+ (("1 passed in \\*")
+ "1 passed*")))))
(build-system python-build-system)
(arguments
- `(#:phases
+ '(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (lambda* (#:key tests? #:allow-other-keys)
(when tests?
- (add-installed-pythonpath inputs outputs)
;; Skip the assertion rewriting tests, which don't work in the
;; presence of read-only Python modules (a limitation of
;; Pytest). Also skip the "test_standalone_mock" test, which
;; can only work when 'python-mock' is not available
;; (currently propagated by Pytest 5).
- (invoke "pytest" "--assert=plain"
+ (invoke "pytest" "--assert=plain" "-vv"
"-k" "not test_standalone_mock")))))))
(native-inputs
(list python-pytest-asyncio python-setuptools-scm))
@@ -1410,14 +1419,14 @@ result back.")
(define-public python-pytest-timeout
(package
(name "python-pytest-timeout")
- (version "1.4.2")
+ (version "2.0.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pytest-timeout" version))
(sha256
(base32
- "0xnsigs0kmpq1za0d4i522sp3f71x5bgpdh3ski0rs74yqy13cr0"))))
+ "04l1cd2qyp3fbccw95a8nqg682r647v7yil8807dgs7xv9a8pyg6"))))
(build-system python-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
@@ -1780,7 +1789,7 @@ executed.")
(define-public python-pytest-asyncio
(package
(name "python-pytest-asyncio")
- (version "0.15.1")
+ (version "0.17.2")
(source
(origin
(method git-fetch) ;for tests
@@ -1789,11 +1798,24 @@ executed.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "03drs4myv1ik79148xyhli37q6mp931jb14cz65n8qvls2zvvwgx"))))
+ (base32 "0sl0ckc23m40q6r2xcidsizrgqbbsfa7rwmr80fss359xsydf073"))))
(build-system python-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'pretend-version
+ (lambda _
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
+ #$(package-version this-package))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (invoke "pytest" "-vv" "tests"))))))
(native-inputs
- (list python-coverage python-async-generator python-hypothesis
- python-pytest))
+ (list python-async-generator
+ python-flaky
+ python-hypothesis
+ python-pytest
+ python-setuptools-scm))
(home-page "https://github.com/pytest-dev/pytest-asyncio")
(synopsis "Pytest support for asyncio")
(description "Python asyncio code is usually written in the form of
@@ -1853,7 +1875,7 @@ C/C++, R, and more, and uploads it to the @code{codecov.io} service.")
(define-public python-testpath
(package
(name "python-testpath")
- (version "0.4.4")
+ (version "0.5.0")
(source
(origin
(method git-fetch)
@@ -1863,35 +1885,33 @@ C/C++, R, and more, and uploads it to the @code{codecov.io} service.")
(file-name (git-file-name name version))
(sha256
(base32
- "1fwv4d3p54xx1x942s104irr35lszvv6jnr4nn1scsfvc0m1qmbk"))))
+ "08r1c6bhvj8pcdvzkqv1950k36a6q3v81fd2p1yqdq3c07mcwgif"))))
(build-system python-build-system)
(arguments
- `(#:tests? #f ; this package does not even have a setup.py
- #:modules ((guix build python-build-system)
- (guix build utils)
- (srfi srfi-1))
- #:phases
- (modify-phases %standard-phases
- (replace 'build
- (lambda _
- ;; A ZIP archive should be generated, but it fails with "ZIP does
- ;; not support timestamps before 1980". Luckily,
- ;; SOURCE_DATE_EPOCH is respected, which we set to some time in
- ;; 1980.
- (setenv "SOURCE_DATE_EPOCH" "315532800")
- (invoke "flit" "build")))
- (replace 'install
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (add-installed-pythonpath inputs outputs)
- (let ((out (assoc-ref outputs "out")))
- (for-each (lambda (wheel)
- (format #true wheel)
- (invoke "python" "-m" "pip" "install"
- wheel (string-append "--prefix=" out)))
- (find-files "dist" "\\.whl$"))))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "pyproject.toml"
+ (("flit_core >=3.2.0,<3.3")
+ "flit_core >=3.2.0"))))
+ ;; XXX: PEP 517 manual build copied from python-isort.
+ (replace 'build
+ (lambda _
+ (invoke "python" "-m" "build" "--wheel" "--no-isolation" ".")))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest"))))
+ (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-flit))
- (home-page "https://github.com/takluyver/testpath")
+ (list python-pypa-build python-flit-core python-pytest))
+ (home-page "https://github.com/jupyter/testpath")
(synopsis "Test utilities for code working with files and commands")
(description
"Testpath is a collection of utilities for Python code working with files
@@ -2244,7 +2264,7 @@ statements in the module it tests.")
(define-public python-pylint
(package
(name "python-pylint")
- (version "2.9.6")
+ (version "2.12.2")
(source
(origin
(method git-fetch)
@@ -2253,15 +2273,31 @@ statements in the module it tests.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "15yw69v1cj6zkndk60c2g0dgl0khh8bfm1lrwhjffpdjfc7nkc9a"))))
+ (base32 "0spmy7j1vvh55shzgma80q61y0d1cj45dcgslb4g5w3y602miq5i"))))
(build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; The unused but collected 'primer'-related test files require
+ ;; the extraneous 'git' Python module; remove them.
+ (delete-file "tests/primer/test_primer_external.py")
+ (delete-file "tests/testutils/test_package_to_lint.py")
+ (setenv "HOME" "/tmp")
+ (invoke "pytest" "-k" "test_functional")))))))
(native-inputs
- (list python-pytest python-pytest-benchmark python-pytest-runner))
+ (list python-pytest))
(propagated-inputs
- (list python-astroid python-isort python-mccabe python-toml))
+ (list python-astroid
+ python-isort
+ python-mccabe
+ python-platformdirs
+ python-toml
+ python-typing-extensions))
(home-page "https://github.com/PyCQA/pylint")
- (synopsis "Python source code analyzer which looks for coding standard
-errors")
+ (synopsis "Advanced Python code static checker")
(description "Pylint is a Python source code analyzer which looks
for programming errors, helps enforcing a coding standard and sniffs
for some code smells (as defined in Martin Fowler's Refactoring book).
@@ -2428,23 +2464,33 @@ backported from Python 2.7 for Python 2.4+.")
(define-public behave
(package
(name "behave")
- (version "1.2.6")
+ ;; The 1.2.6 release from 2018 has several problems with newer Python
+ ;; versions, so we package a recent snapshot.
+ (version "1.2.7.dev2")
(source (origin
- (method url-fetch)
- (uri (pypi-uri "behave" version))
- (sha256
- (base32
- "11hsz365qglvpp1m1w16239c3kiw15lw7adha49lqaakm8kj6rmr"))
- (patches (search-patches
- "behave-skip-a-couple-of-tests.patch"))))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/behave/behave")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0sv94wagi214h0l91zn8m04f78x5wn83vqxib81hnl1qahvx9hq7"))))
(build-system python-build-system)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-c" "/dev/null" "-vv")))))))
(native-inputs
(list python-mock python-nose python-pathpy python-pyhamcrest
python-pytest))
(propagated-inputs
- (list python-parse python-parse-type))
- (arguments
- '(#:test-target "behave_test"))
+ (list python-colorama
+ python-cucumber-tag-expressions
+ python-parse
+ python-parse-type))
(home-page "https://github.com/behave/behave")
(synopsis "Python behavior-driven development")
(description
diff --git a/gnu/packages/chez.scm b/gnu/packages/chez.scm
index aaef513538..47904e7b4e 100644
--- a/gnu/packages/chez.scm
+++ b/gnu/packages/chez.scm
@@ -71,7 +71,7 @@
(define-public chez-scheme
(package
(name "chez-scheme")
- (version "9.5.4")
+ (version "9.5.6")
(source
(origin
(method git-fetch)
@@ -79,14 +79,10 @@
(url "https://github.com/cisco/ChezScheme")
(commit (string-append "v" version))))
(sha256
- (base32 "0prgn2z9l888j93ydxaf04ph424g0fi3a8w7f8m0b2r7fr1v7388"))
+ (base32 "07s433hn1z2slfc026sidrpzxv3a8narcd40qqr1xrpb9012xdky"))
(file-name (git-file-name name version))
- (patches
- (search-patches
- ;; backported from upstream: remove on next release
- "chez-scheme-build-util-paths-backport.patch"))
(snippet
- ;; remove bundled libraries
+ ;; Remove bundled libraries.
(with-imported-modules '((guix build utils))
#~(begin
(use-modules (guix build utils))
@@ -144,8 +140,7 @@
(assoc-ref (or native-inputs inputs) dep))
(copy-recursively src dep
#:keep-mtime? #t))
- '("nanopass" "stex"))
- #t))
+ '("nanopass" "stex"))))
;; NOTE: the custom Chez 'configure' script doesn't allow
;; unrecognized flags, such as those automatically added
;; by `gnu-build-system`.
@@ -172,8 +167,7 @@
(setenv "HOME" "/tmp")
(apply invoke
"./configure"
- flags)
- #t)))
+ flags))))
;; The binary file name is called "scheme" as is the one from MIT/GNU
;; Scheme. We add a symlink to use in case both are installed.
(add-after 'install 'install-symlink
@@ -187,8 +181,7 @@
(map (lambda (file)
(symlink file (string-append (dirname file)
"/" name ".boot")))
- (find-files lib "scheme.boot"))
- #t)))
+ (find-files lib "scheme.boot")))))
;; Building explicitly lets us avoid using substitute*
;; to re-write makefiles.
(add-after 'install-symlink 'prepare-stex
@@ -217,8 +210,7 @@
'("ReadMe" ; includes the license
"doc/stex.html"
"doc/stex.css"
- "doc/stex.pdf"))
- #t))))
+ "doc/stex.pdf"))))))
;; Building the documentation requires stex and a running scheme.
;; FIXME: this is probably wrong for cross-compilation
(add-after 'prepare-stex 'install-doc
@@ -251,8 +243,7 @@
(symlink "release_notes/release_notes.pdf"
"release_notes.pdf")
(symlink "csug/csug9_5.pdf"
- "csug.pdf"))
- #t))))))
+ "csug.pdf"))))))))
;; Chez Scheme does not have a MIPS backend.
;; FIXME: Debian backports patches to get armhf working.
;; We should too. It is the Chez machine type arm32le
diff --git a/gnu/packages/chromium.scm b/gnu/packages/chromium.scm
index 263f46a18c..ba352c533e 100644
--- a/gnu/packages/chromium.scm
+++ b/gnu/packages/chromium.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2019, 2020, 2021 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2019, 2020, 2021, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2019 Alex Griffin <a@ajgrf.com>
;;;
;;; This file is part of GNU Guix.
@@ -336,20 +336,14 @@
(string-append "ungoogled-chromium-" category "-" name))))
(sha256 (base32 hash))))
-(define %chromium-version "96.0.4664.110")
+(define %chromium-version "97.0.4692.99")
(define %ungoogled-revision (string-append %chromium-version "-1"))
(define %arch-revision "db2157b84924ce84201a8245e68a02f7d55f6491")
(define %debian-revision "debian/90.0.4430.85-1")
(define %arch-patches
(list (arch-patch "chromium-94-ffmpeg-roll.patch"
- "1kiskdjr9v3d491sq0wdjxliflh2vq5700gbygcixayj8gkvdb2n")
- (arch-patch "replace-blacklist-with-ignorelist.patch"
- "0ddvbyks7s8nijmg2nmirpwdv08dqx0z99sb6c1d4vlckfilnd6k")
- (arch-patch "add-a-TODO-about-a-missing-pnacl-flag.patch"
- "0mf4zn94ckd3vxzw441wka7ak4aajq1x33h4dqd78blgacba4gfm")
- (arch-patch "use-ffile-compilation-dir.patch"
- "0vk0vyxr55c716vkn4y4yhhrxb4zng4ni2y6fsz30pxbiz6i044j")))
+ "1kiskdjr9v3d491sq0wdjxliflh2vq5700gbygcixayj8gkvdb2n")))
(define %debian-patches
(list (debian-patch "fixes/nomerge.patch"
@@ -367,7 +361,7 @@
(file-name (git-file-name "ungoogled-chromium" %ungoogled-revision))
(sha256
(base32
- "098mfcd1lr2hhlic0i1l5gxsq71axvqnn4gayr4r9j6nbj9byf4h"))))
+ "1jgxpp3wl24hq39291mgmdwcxbarxg4rpa6il53k8z3rf6gd2s4i"))))
(define %guix-patches
(list (local-file
@@ -384,6 +378,9 @@
(search-patch "ungoogled-chromium-ffmpeg-compat.patch")))
(local-file
(assume-valid-file-name
+ (search-patch "ungoogled-chromium-system-ffmpeg.patch")))
+ (local-file
+ (assume-valid-file-name
(search-patch "ungoogled-chromium-system-nspr.patch")))))
;; This is a source 'snippet' that does the following:
@@ -483,428 +480,413 @@
%chromium-version ".tar.xz"))
(sha256
(base32
- "1s3ilq0ik36qgqp7l88gfd1yx97zscn8yr2kprsrjfp9q8lrva9n"))
+ "1fpc07zvashaqqalwn7wxnswxclrxvhjrxy1rzr6gcq5awhaw6y9"))
(modules '((guix build utils)))
(snippet (force ungoogled-chromium-snippet))))
(build-system gnu-build-system)
(arguments
- `(#:tests? #f
- #:modules ((guix build gnu-build-system)
+ (list
+ #:tests? #f
+ #:modules '((guix build gnu-build-system)
(guix build utils)
(srfi srfi-26))
- #:configure-flags
- ;; See tools/gn/docs/cookbook.md and
- ;; https://www.chromium.org/developers/gn-build-configuration
- ;; for usage. Run "gn args . --list" in the Release
- ;; directory for an exhaustive list of supported flags.
- ;; (Note: The 'configure' phase will do that for you.)
- (list "is_debug=false"
- ;; Use the "official" release optimizations, as opposed to
- ;; a developer build.
- "is_official_build=true"
- "clang_use_chrome_plugins=false"
- "is_cfi=false" ;requires Clang 13
- "use_thin_lto=false" ;XXX ICE with Clang+LLD 12.0.1
- "chrome_pgo_phase=0"
- "use_sysroot=false"
- "goma_dir=\"\""
- "enable_nacl=false"
- "enable_nacl_nonsfi=false"
- "use_unofficial_version_number=false"
- "treat_warnings_as_errors=false"
- "use_official_google_api_keys=false"
- "disable_fieldtrial_testing_config=true"
- "safe_browsing_mode=0"
- "enable_mdns=false"
- "enable_one_click_signin=false"
- "enable_reading_list=false"
- "enable_remoting=false"
- "enable_reporting=false"
- "enable_service_discovery=false"
- "enable_vr=false"
- "enable_widevine=false"
- ;; Disable type-checking for the Web UI to avoid a Java dependency.
- "enable_js_type_check=false"
- ;; Disable code using TensorFlow until it has been scrutinized
- ;; by the ungoogled project.
- "build_with_tflite_lib=false"
- ;; Avoid dependency on code formatting tools.
- "blink_enable_generated_code_formatting=false"
-
- ;; Define a custom toolchain that simply looks up CC, AR and
- ;; friends from the environment.
- "custom_toolchain=\"//build/toolchain/linux/unbundle:default\""
- "host_toolchain=\"//build/toolchain/linux/unbundle:default\""
-
- ;; Prefer system libraries.
- "use_system_freetype=true"
- "use_system_harfbuzz=true"
- "use_system_lcms2=true"
- "use_system_libdrm=true"
- "use_system_libjpeg=true"
- "use_system_libopenjpeg2=true"
- "use_system_libpng=true"
- "use_system_wayland_scanner=true"
- (string-append "system_wayland_scanner_path=\""
- (assoc-ref %build-inputs "wayland-scanner")
- "/bin/wayland-scanner\"")
-
- "use_system_zlib=true"
- "use_gnome_keyring=false" ;deprecated by libsecret
- "use_pulseaudio=true"
- "link_pulseaudio=true"
- "icu_use_data_file=false"
-
- ;; FIXME: Using system protobuf with "is_official_build" causes an
- ;; invalid opcode and "protoc-gen-plugin: Plugin killed by signal 4".
- ;;"perfetto_use_system_protobuf=true"
-
- ;; VA-API acceleration is currently only supported on x86_64-linux.
- ,@(if (string-prefix? "x86_64" (or (%current-target-system)
- (%current-system)))
- '("use_vaapi=true")
- '())
-
- "media_use_ffmpeg=true"
- "media_use_libvpx=true"
- "media_use_openh264=true"
-
- ;; Do not artifically restrict formats supported by system ffmpeg.
- "proprietary_codecs=true"
- "ffmpeg_branding=\"Chrome\""
-
- ;; WebRTC stuff.
- "rtc_use_h264=true"
- "rtc_use_pipewire=true"
- "rtc_link_pipewire=true"
- ;; Don't use bundled sources.
- "rtc_build_json=true" ;FIXME: libc++ std::string ABI difference
- "rtc_build_libevent=false"
- "rtc_build_libvpx=false"
- "rtc_build_opus=false"
- "rtc_build_libsrtp=true" ;FIXME: fails to find headers
- "rtc_build_usrsctp=true" ;TODO: package this
- "rtc_build_ssl=true") ;XXX: the bundled BoringSSL is required?
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-stuff
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((openjpeg (assoc-ref inputs "openjpeg")))
- (substitute* "third_party/pdfium/BUILD.gn"
- ;; This include path is added by Debians openjpeg patch.
- (("/usr/include/openjpeg")
- (string-append openjpeg "/include/openjpeg"))))
-
- (substitute*
- '("base/process/launch_posix.cc"
- "base/third_party/dynamic_annotations/dynamic_annotations.c"
- "sandbox/linux/seccomp-bpf/sandbox_bpf.cc"
- "sandbox/linux/services/credentials.cc"
- "sandbox/linux/services/namespace_utils.cc"
- "sandbox/linux/services/syscall_wrappers.cc"
- "sandbox/linux/syscall_broker/broker_host.cc")
- (("include \"base/third_party/valgrind/") "include \"valgrind/"))
-
- (for-each (lambda (file)
- (substitute* file
- ;; Fix opus include path.
- ;; Do not substitute opus_private.h.
- (("#include \"opus\\.h\"")
- "#include \"opus/opus.h\"")
- (("#include \"opus_custom\\.h\"")
- "#include \"opus/opus_custom.h\"")
- (("#include \"opus_defines\\.h\"")
- "#include \"opus/opus_defines.h\"")
- (("#include \"opus_multistream\\.h\"")
- "#include \"opus/opus_multistream.h\"")
- (("#include \"opus_types\\.h\"")
- "#include \"opus/opus_types.h\"")))
- (find-files (string-append "third_party/webrtc/modules"
- "/audio_coding/codecs/opus")))
-
- ;; Many files try to include ICU headers from "third_party/icu/...".
- ;; Remove the "third_party/" prefix to use system headers instead.
- (substitute* (find-files "chrome" "\\.cc$")
- (("third_party/icu/source/(common|i18n)/")
- ""))
-
- ;; XXX: Should be unnecessary when use_system_lcms2=true.
- (substitute* "third_party/pdfium/core/fxcodec/icc/icc_transform.h"
- (("include \"third_party/lcms/include/lcms2\\.h\"")
- "include \"lcms2.h\""))
-
- ;; Chromium bundles a pre-release of Harfbuzz 3.0 and uses an
- ;; experimental API that was removed in 3.0. Adjust to use
- ;; the updated API (taken from <https://crrev.com/c/3076563>).
- (substitute* "components/paint_preview/common/subset_font.cc"
- (("hb_subset_input_no_subset_tables_set\\(input\\.get\\(\\)\\)")
- "hb_subset_input_set(input.get(), HB_SUBSET_SETS_NO_SUBSET_TABLE_TAG)"))
-
- (substitute*
- "third_party/breakpad/breakpad/src/common/linux/libcurl_wrapper.h"
- (("include \"third_party/curl")
- "include \"curl"))
-
- (substitute* '("components/viz/common/gpu/vulkan_context_provider.h"
- "components/viz/common/resources/resource_format_utils.h"
- "gpu/config/gpu_util.cc")
- (("third_party/vulkan_headers/include/") ""))
-
- (substitute* "third_party/skia/include/gpu/vk/GrVkVulkan.h"
- (("include/third_party/vulkan/") ""))))
- (add-after 'patch-stuff 'add-absolute-references
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((cups (assoc-ref inputs "cups"))
- (nss (assoc-ref inputs "nss"))
- (mesa (assoc-ref inputs "mesa"))
- (udev (assoc-ref inputs "udev")))
- (substitute* "printing/cups_config_helper.py"
- (("cups_config =.*")
- (string-append "cups_config = '" cups
- "/bin/cups-config'\n")))
- (substitute* "crypto/nss_util.cc"
- (("libnssckbi\\.so")
- (string-append nss "/lib/nss/libnssckbi.so")))
- (substitute* "device/udev_linux/udev1_loader.cc"
- (("libudev\\.so\\.1")
- (string-append udev "/lib/libudev.so.1")))
-
- (substitute* "third_party/dawn/src/dawn_native/vulkan/BackendVk.cpp"
- (("libvulkan\\.so\\.1")
- (search-input-file inputs "/lib/libvulkan.so.1")))
-
- (substitute*
- '("ui/ozone/platform/x11/gl_ozone_glx.cc"
- "ui/ozone/common/egl_util.cc"
- "ui/gl/init/gl_initializer_linux_x11.cc"
- "third_party/angle/src/libANGLE/renderer/gl/glx/FunctionsGLX.cpp")
- (("libGL\\.so\\.1")
- (string-append mesa "/lib/libGL.so.1"))
- (("libEGL\\.so\\.1")
- (string-append mesa "/lib/libEGL.so.1"))
- (("libGLESv2\\.so\\.2")
- (string-append mesa "/lib/libGLESv2.so.2"))))))
- (add-before 'configure 'prepare-build-environment
- (lambda* (#:key inputs #:allow-other-keys)
-
- ;; Define the GN toolchain.
- (setenv "AR" "llvm-ar") (setenv "NM" "llvm-nm")
- (setenv "CC" "clang") (setenv "CXX" "clang++")
-
- (let ((gcc (assoc-ref inputs "gcc")))
- ;; Remove the default compiler from CPLUS_INCLUDE_PATH to
- ;; prevent header conflict with the bundled libcxx.
- (setenv "CPLUS_INCLUDE_PATH"
- (string-join
- (delete (string-append gcc "/include/c++")
- (string-split (getenv "CPLUS_INCLUDE_PATH")
- #\:))
- ":"))
- (format #t
- "environment variable `CPLUS_INCLUDE_PATH' changed to ~a~%"
- (getenv "CPLUS_INCLUDE_PATH")))
-
- (setenv "CXXFLAGS"
- (string-join
- '(;; Do not optimize away null pointer safety checks.
- "-fno-delete-null-pointer-checks"
- ;; Disable warnings about unknown warnings that require
- ;; Clang plugins or newer versions.
- "-Wno-unknown-warning-option")))
-
- (setenv "CFLAGS" "-Wno-unknown-warning-option")
-
- ;; TODO: pre-compile instead. Avoids a race condition.
- (setenv "PYTHONDONTWRITEBYTECODE" "1")
-
- ;; XXX: How portable is this.
- (mkdir-p "third_party/node/linux/node-linux-x64")
- (symlink (string-append (assoc-ref inputs "node") "/bin")
- "third_party/node/linux/node-linux-x64/bin")))
- (replace 'configure
- (lambda* (#:key configure-flags #:allow-other-keys)
- (let ((args (string-join configure-flags " ")))
- ;; Generate ninja build files.
- (invoke "gn" "gen" "out/Release"
- (string-append "--args=" args))
-
- ;; Print the full list of supported arguments as well as
- ;; their current status for convenience.
- (format #t "Dumping configure flags...\n")
- (invoke "gn" "args" "out/Release" "--list"))))
- (add-before 'build 'increase-resource-limits
- (lambda _
- ;; XXX: Chromiums linking step requires a lot of simultaneous file
- ;; accesses. Having a too low ulimit will result in bogus linker
- ;; errors such as "foo.a: error adding symbols: malformed archive".
-
- ;; Try increasing the soft resource limit of max open files to 2048,
- ;; or equal to the hard limit, whichever is lower.
- (call-with-values (lambda () (getrlimit 'nofile))
- (lambda (soft hard)
- (when (and soft (< soft 2048))
- (if hard
- (setrlimit 'nofile (min hard 2048) hard)
- (setrlimit 'nofile 2048 #f))
- (format #t
- "increased maximum number of open files from ~d to ~d~%"
- soft (if hard (min hard 2048) 2048)))))))
- (replace 'build
- (lambda* (#:key (parallel-build? #t) #:allow-other-keys)
- (invoke "ninja" "-C" "out/Release"
- "-j" (if parallel-build?
- (number->string (parallel-job-count))
- "1")
- "chrome"
- "chromedriver")))
- (replace 'install
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (bin (string-append out "/bin"))
- (exe (string-append bin "/chromium"))
- (lib (string-append out "/lib"))
- (man (string-append out "/share/man/man1"))
- (applications (string-append out "/share/applications"))
- (libs '("chrome_100_percent.pak"
- "chrome_200_percent.pak"
- "resources.pak"
- "v8_context_snapshot.bin"
-
- ;; Swiftshader ICD.
- "libvk_swiftshader.so"
- "vk_swiftshader_icd.json"
-
- ;; Chromium ships its own libGL
- ;; implementation called ANGLE.
- "libEGL.so" "libGLESv2.so"))
- (locales (string-append lib "/locales"))
- (resources (string-append lib "/resources"))
- (preferences (assoc-ref inputs "master-preferences"))
- (gtk+ (assoc-ref inputs "gtk+"))
- (xdg-utils (assoc-ref inputs "xdg-utils"))
- (sh (which "sh")))
-
- (substitute* '("chrome/app/resources/manpage.1.in"
- "chrome/installer/linux/common/desktop.template")
- (("@@MENUNAME@@") "Chromium")
- (("@@PACKAGE@@") "chromium")
- (("/usr/bin/@@USR_BIN_SYMLINK_NAME@@") exe))
-
- (mkdir-p man)
- (copy-file "chrome/app/resources/manpage.1.in"
- (string-append man "/chromium.1"))
-
- (mkdir-p applications)
- (copy-file "chrome/installer/linux/common/desktop.template"
- (string-append applications "/chromium.desktop"))
-
- (mkdir-p lib)
- (copy-file preferences (string-append lib "/master_preferences"))
-
- (with-directory-excursion "out/Release"
- (for-each (cut install-file <> lib) libs)
- (copy-file "chrome" (string-append lib "/chromium"))
-
- (copy-recursively "locales" locales)
- (copy-recursively "resources" resources)
-
- (mkdir-p bin)
- (symlink "../lib/chromium" exe)
- (install-file "chromedriver" bin)
-
- (for-each (lambda (so)
- (install-file so (string-append lib "/swiftshader")))
- (find-files "swiftshader" "\\.so$"))
-
- (wrap-program exe
- ;; Avoid file manager crash. See <https://bugs.gnu.org/26593>.
- `("XDG_DATA_DIRS" ":" prefix (,(string-append gtk+ "/share")))
- `("PATH" ":" prefix (,(string-append xdg-utils "/bin")))))
-
- (with-directory-excursion "chrome/app/theme/chromium"
- (for-each
- (lambda (size)
- (let ((icons (string-append out "/share/icons/hicolor/"
- size "x" size "/apps")))
- (mkdir-p icons)
- (copy-file (string-append "product_logo_" size ".png")
- (string-append icons "/chromium.png"))))
- '("24" "48" "64" "128" "256")))))))))
+ #:configure-flags
+ ;; See tools/gn/docs/cookbook.md and
+ ;; https://www.chromium.org/developers/gn-build-configuration
+ ;; for usage. Run "gn args . --list" in the Release
+ ;; directory for an exhaustive list of supported flags.
+ ;; (Note: The 'configure' phase will do that for you.)
+ #~(list "is_debug=false"
+ ;; Use the "official" release optimizations, as opposed to
+ ;; a developer build.
+ "is_official_build=true"
+ "clang_use_chrome_plugins=false"
+ "is_cfi=false" ;requires ThinLTO
+ "use_thin_lto=false" ;XXX lld segfaults
+ "chrome_pgo_phase=0"
+ "use_sysroot=false"
+ "goma_dir=\"\""
+ "enable_nacl=false"
+ "enable_nacl_nonsfi=false"
+ "use_unofficial_version_number=false"
+ "treat_warnings_as_errors=false"
+ "use_official_google_api_keys=false"
+ "disable_fieldtrial_testing_config=true"
+ "safe_browsing_mode=0"
+ "enable_mdns=false"
+ "enable_one_click_signin=false"
+ "enable_reading_list=false"
+ "enable_remoting=false"
+ "enable_reporting=false"
+ "enable_service_discovery=false"
+ "enable_vr=false"
+ "enable_widevine=false"
+ ;; Disable type-checking for the Web UI to avoid a Java dependency.
+ "enable_js_type_check=false"
+ ;; Disable code using TensorFlow until it has been scrutinized
+ ;; by the ungoogled project.
+ "build_with_tflite_lib=false"
+ ;; Avoid dependency on code formatting tools.
+ "blink_enable_generated_code_formatting=false"
+
+ ;; Define a custom toolchain that simply looks up CC, AR and
+ ;; friends from the environment.
+ "custom_toolchain=\"//build/toolchain/linux/unbundle:default\""
+ "host_toolchain=\"//build/toolchain/linux/unbundle:default\""
+
+ ;; Prefer system libraries.
+ "use_system_freetype=true"
+ "use_system_harfbuzz=true"
+ "use_system_lcms2=true"
+ "use_system_libdrm=true"
+ "use_system_libjpeg=true"
+ "use_system_libopenjpeg2=true"
+ "use_system_libpng=true"
+ "use_system_wayland_scanner=true"
+ (string-append "system_wayland_scanner_path=\""
+ (search-input-file %build-inputs
+ "/bin/wayland-scanner")
+ "\"")
+
+ "use_system_zlib=true"
+ "use_gnome_keyring=false" ;deprecated by libsecret
+ "use_pulseaudio=true"
+ "link_pulseaudio=true"
+ "icu_use_data_file=false"
+
+ ;; FIXME: Using system protobuf with "is_official_build" causes an
+ ;; invalid opcode and "protoc-gen-plugin: Plugin killed by signal 4".
+ ;;"perfetto_use_system_protobuf=true"
+
+ ;; VA-API acceleration is currently only supported on x86_64-linux.
+ #$@(if (string-prefix? "x86_64" (or (%current-target-system)
+ (%current-system)))
+ '("use_vaapi=true")
+ '())
+
+ "media_use_ffmpeg=true"
+ "media_use_libvpx=true"
+ "media_use_openh264=true"
+
+ ;; Do not artifically restrict formats supported by system ffmpeg.
+ "proprietary_codecs=true"
+ "ffmpeg_branding=\"Chrome\""
+
+ ;; WebRTC stuff.
+ "rtc_use_h264=true"
+ "rtc_use_pipewire=true"
+ "rtc_link_pipewire=true"
+ ;; Don't use bundled sources.
+ "rtc_build_json=true" ;FIXME: libc++ std::string ABI difference
+ "rtc_build_libevent=false"
+ ;; XXX: Use the bundled libvpx for WebRTC because unbundling
+ ;; currently fails (see above), and the versions must match.
+ "rtc_build_libvpx=true"
+ "rtc_build_opus=false"
+ "rtc_build_libsrtp=true" ;FIXME: fails to find headers
+ "rtc_build_usrsctp=true" ;TODO: package this
+ "rtc_build_ssl=true") ;XXX: requires BoringSSL
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-stuff
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((openjpeg (search-input-directory
+ inputs "include/openjpeg-2.4")))
+ (substitute* "third_party/pdfium/BUILD.gn"
+ ;; This include path is added by Debians openjpeg patch.
+ (("/usr/include/openjpeg-2.4") openjpeg))
+
+ (substitute*
+ '("base/process/launch_posix.cc"
+ "base/third_party/dynamic_annotations/dynamic_annotations.c"
+ "sandbox/linux/seccomp-bpf/sandbox_bpf.cc"
+ "sandbox/linux/services/credentials.cc"
+ "sandbox/linux/services/namespace_utils.cc"
+ "sandbox/linux/services/syscall_wrappers.cc"
+ "sandbox/linux/syscall_broker/broker_host.cc")
+ (("include \"base/third_party/valgrind/") "include \"valgrind/"))
+
+ (for-each (lambda (file)
+ (substitute* file
+ ;; Fix opus include path.
+ ;; Do not substitute opus_private.h.
+ (("#include \"opus\\.h\"")
+ "#include \"opus/opus.h\"")
+ (("#include \"opus_custom\\.h\"")
+ "#include \"opus/opus_custom.h\"")
+ (("#include \"opus_defines\\.h\"")
+ "#include \"opus/opus_defines.h\"")
+ (("#include \"opus_multistream\\.h\"")
+ "#include \"opus/opus_multistream.h\"")
+ (("#include \"opus_types\\.h\"")
+ "#include \"opus/opus_types.h\"")))
+ (find-files (string-append "third_party/webrtc/modules"
+ "/audio_coding/codecs/opus")))
+
+ ;; Many files try to include ICU headers from "third_party/icu/...".
+ ;; Remove the "third_party/" prefix to use system headers instead.
+ (substitute* (find-files "chrome" "\\.cc$")
+ (("third_party/icu/source/(common|i18n)/")
+ ""))
+
+ ;; XXX: Should be unnecessary when use_system_lcms2=true.
+ (substitute* "third_party/pdfium/core/fxcodec/icc/icc_transform.h"
+ (("include \"third_party/lcms/include/lcms2\\.h\"")
+ "include \"lcms2.h\""))
+
+ (substitute*
+ "third_party/breakpad/breakpad/src/common/linux/libcurl_wrapper.h"
+ (("include \"third_party/curl")
+ "include \"curl"))
+
+ (substitute* '("components/viz/common/gpu/vulkan_context_provider.h"
+ "components/viz/common/resources/resource_format_utils.h"
+ "gpu/config/gpu_util.cc")
+ (("third_party/vulkan_headers/include/") ""))
+
+ (substitute* "third_party/skia/include/gpu/vk/GrVkVulkan.h"
+ (("include/third_party/vulkan/") "")))))
+ (add-after 'patch-stuff 'add-absolute-references
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((cups-config (search-input-file inputs "/bin/cups-config"))
+ (libnssckbi.so (search-input-file inputs
+ "/lib/nss/libnssckbi.so"))
+ (libudev.so.1 (search-input-file inputs "/lib/libudev.so.1"))
+ (libvulkan.so.1 (search-input-file inputs
+ "/lib/libvulkan.so.1"))
+ (mesa-lib (dirname (search-input-file inputs
+ "/lib/libGL.so.1"))))
+ (substitute* "printing/cups_config_helper.py"
+ (("cups_config =.*")
+ (string-append "cups_config = '" cups-config "'\n")))
+ (substitute* "crypto/nss_util.cc"
+ (("libnssckbi\\.so") libnssckbi.so))
+ (substitute* "device/udev_linux/udev1_loader.cc"
+ (("libudev\\.so\\.1") libudev.so.1))
+ (substitute* "third_party/dawn/src/dawn_native/vulkan/BackendVk.cpp"
+ (("libvulkan\\.so\\.1") libvulkan.so.1))
+ (substitute*
+ '("ui/ozone/platform/x11/gl_ozone_glx.cc"
+ "ui/ozone/common/egl_util.cc"
+ "ui/gl/init/gl_initializer_linux_x11.cc"
+ "third_party/angle/src/libANGLE/renderer/gl/glx\
+/FunctionsGLX.cpp")
+ (("libGL\\.so\\.1")
+ (string-append mesa-lib "/libGL.so.1"))
+ (("libEGL\\.so\\.1")
+ (string-append mesa-lib "/libEGL.so.1"))
+ (("libGLESv2\\.so\\.2")
+ (string-append mesa-lib "/libGLESv2.so.2"))))))
+ (add-before 'configure 'prepare-build-environment
+ (lambda* (#:key native-inputs inputs #:allow-other-keys)
+ (let ((c++ (search-input-directory (or native-inputs inputs)
+ "include/c++"))
+ (node (search-input-file (or native-inputs inputs)
+ "/bin/node")))
+ ;; Remove the default compiler from CPLUS_INCLUDE_PATH to
+ ;; prevent header conflict with the bundled libcxx.
+ (setenv "CPLUS_INCLUDE_PATH"
+ (string-join
+ (delete c++
+ (string-split (getenv "CPLUS_INCLUDE_PATH")
+ #\:))
+ ":"))
+ (format #t
+ "environment variable `CPLUS_INCLUDE_PATH' changed to ~a~%"
+ (getenv "CPLUS_INCLUDE_PATH"))
+
+ ;; Define the GN toolchain.
+ (setenv "AR" "llvm-ar") (setenv "NM" "llvm-nm")
+ (setenv "CC" "clang") (setenv "CXX" "clang++")
+
+ ;; TODO: pre-compile instead. Avoids a race condition.
+ (setenv "PYTHONDONTWRITEBYTECODE" "1")
+
+ ;; XXX: How portable is this.
+ (mkdir-p "third_party/node/linux/node-linux-x64")
+ (symlink (dirname node)
+ "third_party/node/linux/node-linux-x64/bin"))))
+ (replace 'configure
+ (lambda* (#:key configure-flags #:allow-other-keys)
+ (let ((args (string-join configure-flags " ")))
+ ;; Generate ninja build files.
+ (invoke "gn" "gen" "out/Release"
+ (string-append "--args=" args))
+
+ ;; Print the full list of supported arguments as well as
+ ;; their current status for convenience.
+ (format #t "Dumping configure flags...\n")
+ (invoke "gn" "args" "out/Release" "--list"))))
+ (add-before 'build 'increase-resource-limits
+ (lambda _
+ ;; XXX: Chromiums linking step requires a lot of simultaneous file
+ ;; accesses. Having a too low ulimit will result in bogus linker
+ ;; errors such as "foo.a: error adding symbols: malformed archive".
+
+ ;; Try increasing the soft resource limit of max open files to 2048,
+ ;; or equal to the hard limit, whichever is lower.
+ (call-with-values (lambda () (getrlimit 'nofile))
+ (lambda (soft hard)
+ (when (and soft (< soft 2048))
+ (if hard
+ (setrlimit 'nofile (min hard 2048) hard)
+ (setrlimit 'nofile 2048 #f))
+ (format #t
+ "increased maximum number of open files from ~d to ~d~%"
+ soft (if hard (min hard 2048) 2048)))))))
+ (replace 'build
+ (lambda* (#:key (parallel-build? #t) #:allow-other-keys)
+ (invoke "ninja" "-C" "out/Release"
+ "-j" (if parallel-build?
+ (number->string (parallel-job-count))
+ "1")
+ "chrome"
+ "chromedriver")))
+ (replace 'install
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin"))
+ (exe (string-append bin "/chromium"))
+ (lib (string-append out "/lib"))
+ (man (string-append out "/share/man/man1"))
+ (applications (string-append out "/share/applications"))
+ (libs '("chrome_100_percent.pak"
+ "chrome_200_percent.pak"
+ "resources.pak"
+ "v8_context_snapshot.bin"
+
+ ;; Swiftshader ICD.
+ "libvk_swiftshader.so"
+ "vk_swiftshader_icd.json"
+
+ ;; Chromium ships its own libGL
+ ;; implementation called ANGLE.
+ "libEGL.so" "libGLESv2.so"))
+ (locales (string-append lib "/locales"))
+ (resources (string-append lib "/resources"))
+ (preferences
+ ;; This file contains defaults for new user profiles.
+ #$(local-file "aux-files/chromium/master-preferences.json"))
+ (gtk+ (assoc-ref inputs "gtk+"))
+ (xdg-utils (assoc-ref inputs "xdg-utils")))
+
+ (substitute* '("chrome/app/resources/manpage.1.in"
+ "chrome/installer/linux/common/desktop.template")
+ (("@@MENUNAME@@") "Chromium")
+ (("@@PACKAGE@@") "chromium")
+ (("/usr/bin/@@USR_BIN_SYMLINK_NAME@@") exe))
+
+ (mkdir-p man)
+ (copy-file "chrome/app/resources/manpage.1.in"
+ (string-append man "/chromium.1"))
+
+ (mkdir-p applications)
+ (copy-file "chrome/installer/linux/common/desktop.template"
+ (string-append applications "/chromium.desktop"))
+
+ (mkdir-p lib)
+ (copy-file preferences (string-append lib "/master_preferences"))
+
+ (with-directory-excursion "out/Release"
+ (for-each (cut install-file <> lib) libs)
+ (copy-file "chrome" (string-append lib "/chromium"))
+
+ (copy-recursively "locales" locales)
+ (copy-recursively "resources" resources)
+
+ (mkdir-p bin)
+ (symlink "../lib/chromium" exe)
+ (install-file "chromedriver" bin)
+
+ (for-each (lambda (so)
+ (install-file so (string-append lib "/swiftshader")))
+ (find-files "swiftshader" "\\.so$"))
+
+ (wrap-program exe
+ ;; Avoid file manager crash. See <https://bugs.gnu.org/26593>.
+ `("XDG_DATA_DIRS" ":" prefix (,(string-append gtk+ "/share")))
+ `("PATH" ":" prefix (,(string-append xdg-utils "/bin")))))
+
+ (with-directory-excursion "chrome/app/theme/chromium"
+ (for-each
+ (lambda (size)
+ (let ((icons (string-append out "/share/icons/hicolor/"
+ size "x" size "/apps")))
+ (mkdir-p icons)
+ (copy-file (string-append "product_logo_" size ".png")
+ (string-append icons "/chromium.png"))))
+ '("24" "48" "64" "128" "256")))))))))
(native-inputs
- `(("bison" ,bison)
- ("clang" ,clang-12)
- ("gn" ,gn)
- ("gperf" ,gperf)
- ("ld-wrapper" ,lld-as-ld-wrapper)
- ("ninja" ,ninja)
- ("node" ,node-lts)
- ("pkg-config" ,pkg-config)
- ("which" ,which)
-
- ;; This file contains defaults for new user profiles.
- ("master-preferences" ,(local-file "aux-files/chromium/master-preferences.json"))
-
- ("python-beautifulsoup4" ,python-beautifulsoup4)
- ("python-html5lib" ,python-html5lib)
- ("python" ,python-wrapper)
- ("wayland-scanner" ,wayland)))
+ (list bison
+ clang-13
+ gn
+ gperf
+ lld-as-ld-wrapper
+ ninja
+ node-lts
+ pkg-config
+ which
+ python-beautifulsoup4
+ python-html5lib
+ python-wrapper
+ wayland))
(inputs
- `(("alsa-lib" ,alsa-lib)
- ("atk" ,atk)
- ("cups" ,cups)
- ("curl" ,curl)
- ("dbus" ,dbus)
- ("expat" ,expat)
- ("flac" ,flac)
- ("ffmpeg" ,ffmpeg)
- ("fontconfig" ,fontconfig)
- ("freetype" ,freetype)
- ("gdk-pixbuf" ,gdk-pixbuf)
- ("glib" ,glib)
- ("gtk+" ,gtk+)
- ("harfbuzz" ,harfbuzz-3.0)
- ("icu4c" ,icu4c)
- ("lcms" ,lcms)
- ("libevent" ,libevent)
- ("libffi" ,libffi)
- ("libjpeg-turbo" ,libjpeg-turbo)
- ("libpng" ,libpng)
- ("libva" ,libva)
- ("libvpx" ,libvpx)
- ("libwebp" ,libwebp)
- ("libx11" ,libx11)
- ("libxcb" ,libxcb)
- ("libxcomposite" ,libxcomposite)
- ("libxcursor" ,libxcursor)
- ("libxdamage" ,libxdamage)
- ("libxext" ,libxext)
- ("libxfixes" ,libxfixes)
- ("libxi" ,libxi)
- ("libxml2" ,libxml2)
- ("libxrandr" ,libxrandr)
- ("libxrender" ,libxrender)
- ("libxscrnsaver" ,libxscrnsaver)
- ("libxslt" ,libxslt)
- ("libxtst" ,libxtst)
- ("mesa" ,mesa)
- ("minizip" ,minizip)
- ("mit-krb5" ,mit-krb5)
- ("nss" ,nss)
- ("openh264" ,openh264)
- ("openjpeg" ,openjpeg) ;PDFium only
- ("opus" ,opus+custom)
- ("pango" ,pango)
- ("pciutils" ,pciutils)
- ("pipewire" ,pipewire-0.3)
- ("pulseaudio" ,pulseaudio)
- ("snappy" ,snappy)
- ("speech-dispatcher" ,speech-dispatcher)
- ("udev" ,eudev)
- ("valgrind" ,valgrind)
- ("vulkan-headers" ,vulkan-headers)
- ("vulkan-loader" ,vulkan-loader)
- ("wayland" ,wayland)
- ("xdg-utils" ,xdg-utils)))
+ (list alsa-lib
+ atk
+ cups
+ curl
+ dbus
+ expat
+ flac
+ ffmpeg
+ fontconfig
+ freetype
+ gdk-pixbuf
+ glib
+ gtk+
+ harfbuzz-3.0
+ icu4c
+ lcms
+ libevent
+ libffi
+ libjpeg-turbo
+ libpng
+ libva
+ libvpx
+ libwebp
+ libx11
+ libxcb
+ libxcomposite
+ libxcursor
+ libxdamage
+ libxext
+ libxfixes
+ libxi
+ libxml2
+ libxrandr
+ libxrender
+ libxscrnsaver
+ libxslt
+ libxtst
+ mesa
+ minizip
+ mit-krb5
+ nss
+ openh264
+ openjpeg ;PDFium only
+ opus+custom
+ pango
+ pciutils
+ pipewire-0.3
+ pulseaudio
+ snappy
+ speech-dispatcher
+ eudev
+ valgrind
+ vulkan-headers
+ vulkan-loader
+ wayland
+ xdg-utils))
(native-search-paths
(list (search-path-specification
(variable "CHROMIUM_EXTENSION_DIRECTORY")
diff --git a/gnu/packages/ci.scm b/gnu/packages/ci.scm
index c5fd6712f5..a2dce71d40 100644
--- a/gnu/packages/ci.scm
+++ b/gnu/packages/ci.scm
@@ -54,27 +54,9 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu))
-(define-public guile-squee-dev
- (let ((commit "e0614273ad4067af82f508db51c8a100131151ea")
- (revision "3"))
- (package
- (inherit guile-squee)
- (name "guile-squee")
- (version (string-append "0-" revision "." (string-take commit 7)))
- (home-page "https://notabug.org/mothacehe/guile-squee.git")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url home-page)
- (commit commit)))
- (sha256
- (base32
- "1jps14z8653ah2kr367iayzyi3ql2s55l77xrafz7gk3mzcvgrrg"))
- (file-name (string-append name "-" version "-checkout")))))))
-
(define-public cuirass
- (let ((commit "7160b182a0d4c9aa71460ad9c4d866b440027bbd")
- (revision "7"))
+ (let ((commit "9f08035f942a1e78f92e2db886d7837b0ab98b2f")
+ (revision "11"))
(package
(name "cuirass")
(version (git-version "1.1.0" revision commit))
@@ -87,7 +69,7 @@
(file-name (git-file-name name version))
(sha256
(base32
- "1zpldqzrn4ifp0bzh9af4djjjn7bgmyk37qr4qrx3dm1v0jzjgdr"))))
+ "0jrp0hngbmlg5vmfr93j86lxgk2zm5d424dx0c29ldgfr8i7bwcz"))))
(build-system gnu-build-system)
(arguments
`(#:modules ((guix build utils)
@@ -114,14 +96,12 @@
(lambda* (#:key inputs #:allow-other-keys)
(let ((pg (assoc-ref inputs "ephemeralpg"))
(path (getenv "PATH")))
- (setenv "PATH" (string-append pg "/bin:" path))
- #t)))
+ (setenv "PATH" (string-append pg "/bin:" path)))))
;; Disable the remote tests that require a Guix daemon connection.
(add-before 'check 'disable-remote-tests
(lambda _
(substitute* "Makefile.am"
- (("tests/remote.scm") ""))
- #t))
+ (("tests/remote.scm") ""))))
(add-after 'install 'wrap-program
(lambda* (#:key inputs outputs #:allow-other-keys)
;; Wrap the 'cuirass' command to refer to the right modules.
@@ -165,8 +145,7 @@
(wrap-program (string-append out "/bin/cuirass")
`("PATH" ":" prefix (,(string-append out "/bin")))
`("GUILE_LOAD_PATH" ":" prefix (,mods))
- `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,objs)))
- #t))))))
+ `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,objs)))))))))
(inputs
(list guile-3.0-latest
guile-avahi
@@ -174,7 +153,7 @@
guile-gcrypt
guile-json-4
guile-simple-zmq
- guile-squee-dev
+ guile-squee
guile-git
guile-zlib
guile-mastodon
@@ -207,7 +186,7 @@ intended as a replacement for Hydra.")
(define-public laminar
(package
(name "laminar")
- (version "1.0")
+ (version "1.1")
(source
(origin (method url-fetch)
(uri (string-append "https://github.com/ohwgiles/laminar/archive/"
@@ -216,7 +195,7 @@ intended as a replacement for Hydra.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "11m6h3rdmj2rsmsryy7r40gqccj4gg1cnqwy6blscs87gx4s423g"))))
+ "1lzfmfjygmbdr2n1q49kwwffw8frz5y6iczhdz5skwmzwg0chbsf"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f ; TODO Can't build tests
@@ -293,10 +272,10 @@ intended as a replacement for Hydra.")
("ansi_up.js"
,(origin (method url-fetch)
(uri (string-append "https://raw.githubusercontent.com/"
- "drudru/ansi_up/v1.3.0/ansi_up.js"))
+ "drudru/ansi_up/v4.0.4/ansi_up.js"))
(sha256
(base32
- "1993dywxqi2ylnxybwk7m0s0bg2bq7kfllpyr0s8ck6chd0p8i6r"))))
+ "1dx8wn38ds8d01kkih26fx1yrisg3kpz61qynjr4zil03ap0hrlr"))))
("Chart.js"
,(origin (method url-fetch)
(uri (string-append "https://github.com/chartjs/Chart.js/"
diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm
index f48101079e..40a3d7708a 100644
--- a/gnu/packages/clojure.scm
+++ b/gnu/packages/clojure.scm
@@ -23,11 +23,14 @@
(define-module (gnu packages clojure)
#:use-module (gnu packages)
#:use-module (gnu packages java)
+ #:use-module (gnu packages maven)
+ #:use-module (gnu packages readline)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix build-system ant)
+ #:use-module (guix build-system copy)
#:use-module (guix build-system clojure)
#:use-module (ice-9 match))
@@ -118,23 +121,7 @@
(add-after 'install-license-files 'install-doc
(cut install-doc #:doc-dirs '("doc/clojure/") <...>))
(add-after 'install-doc 'install-javadoc
- (install-javadoc "target/javadoc/"))
- (add-after 'install 'make-wrapper
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (wrapper (string-append out "/bin/clojure")))
- (mkdir-p (string-append out "/bin"))
- (with-output-to-file wrapper
- (lambda _
- (display
- (string-append
- "#!"
- (which "sh")
- "\n\n"
- (assoc-ref inputs "jre") "/bin/java -jar "
- out "/share/java/clojure.jar \"$@\"\n"))))
- (chmod wrapper #o555))
- #t)))))
+ (install-javadoc "target/javadoc/")))))
(native-inputs libraries)
(home-page "https://clojure.org/")
(synopsis "Lisp dialect running on the JVM")
@@ -163,6 +150,62 @@ designs.")
license:asl2.0
license:cpl1.0)))))
+(define-public clojure-tools
+ (package
+ (name "clojure-tools")
+ (version "1.10.3.1040")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://download.clojure.org/install/clojure-tools-"
+ version
+ ".tar.gz"))
+ (sha256 (base32 "0xvr9nmk9q789vp32zmmzj4macv8v7y9ivnfd6lf7i8vxgg6hvgv"))
+ ;; Remove AOT compiled JAR. The other JAR only contains uncompiled
+ ;; Clojure source code.
+ (snippet
+ `(delete-file ,(string-append "clojure-tools-" version ".jar")))))
+ (build-system copy-build-system)
+ (arguments
+ `(#:install-plan
+ '(("deps.edn" "lib/clojure/")
+ ("example-deps.edn" "lib/clojure/")
+ ("exec.jar" "lib/clojure/libexec/")
+ ("clojure" "bin/")
+ ("clj" "bin/"))
+ #:modules ((guix build copy-build-system)
+ (guix build utils)
+ (srfi srfi-1)
+ (ice-9 match))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-paths
+ (lambda* (#:key outputs #:allow-other-keys)
+ (substitute* "clojure"
+ (("PREFIX") (string-append (assoc-ref outputs "out") "/lib/clojure")))
+ (substitute* "clj"
+ (("BINDIR") (string-append (assoc-ref outputs "out") "/bin"))
+ (("rlwrap") (which "rlwrap")))))
+ (add-after 'fix-paths 'copy-tools-deps-alpha-jar
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (substitute* "clojure"
+ (("\\$install_dir/libexec/clojure-tools-\\$version\\.jar")
+ (string-join
+ (append-map (match-lambda
+ ((label . dir)
+ (find-files dir "\\.jar$")))
+ inputs)
+ ":"))))))))
+ (inputs (list rlwrap
+ clojure
+ clojure-tools-deps-alpha
+ java-commons-logging-minimal))
+ (home-page "https://clojure.org/releases/tools")
+ (synopsis "CLI tools for the Clojure programming language")
+ (description "The Clojure command line tools can be used to start a
+Clojure repl, use Clojure and Java libraries, and start Clojure programs.")
+ (license license:epl1.0)))
+
(define-public clojure-algo-generic
(package
(name "clojure-algo-generic")
@@ -243,6 +286,66 @@ It supports Clojure 1.5.1 and later as well as ClojureScript.")
(home-page "https://github.com/clojure/core.match")
(license license:epl1.0))))
+(define-public clojure-data-codec
+ (package
+ (name "clojure-data-codec")
+ (version "0.1.1")
+ (home-page "https://github.com/clojure/data.codec")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "data.codec-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "192df1dmbwvf1x837mi731n9x94bdypaz18va45plzgdsh4xx6dr"))))
+ (build-system clojure-build-system)
+ (arguments
+ '(#:source-dirs '("src/main/clojure")
+ #:test-dirs '("src/test/clojure")
+ #:doc-dirs '()))
+ (native-inputs (list java-commons-codec
+ clojure-test-check))
+ (synopsis "Native codec implementations for Clojure")
+ (description "Native codec implementations for Clojure. Currently only
+base64 has been implemented. Implements the standard base64 encoding
+character set, but does not yet support automatic fixed line-length encoding.
+All operations work on either byte arrays or Input/OutputStreams. Performance
+is on par with Java implementations, e.g., Apache commons-codec.")
+ (license license:epl1.0)))
+
+(define-public clojure-data-xml
+ (package
+ (name "clojure-data-xml")
+ (version "0.2.0-alpha6")
+ (home-page "https://github.com/clojure/data.xml")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "data.xml-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "08vglcapq7sd9zhw8dw1y7dcdks7f21w1pw9p05i475i3bw4cf94"))))
+ (build-system clojure-build-system)
+ (arguments
+ '(#:source-dirs '("src/main/clojure")
+ #:test-dirs '("src/test/clojure")
+ #:doc-dirs '()))
+ (propagated-inputs (list clojure-data-codec))
+ (synopsis "Clojure library for reading and writing XML data")
+ (description "@code{data.xml} is a Clojure library for reading and writing
+XML data. @code{data.xml} has the following features:
+
+Parses XML documents into Clojure data structures
+Emits XML from Clojure data structures
+No additional dependencies if using JDK >= 1.6
+Uses StAX internally
+lazy - should allow parsing and emitting of large XML documents")
+ (license license:epl1.0)))
+
(define-public clojure-instaparse
(let ((commit "dcfffad5b065e750f0f5835f017cdd8188b8ca2e")
(version "1.4.9")) ; upstream forget to tag this release
@@ -295,6 +398,33 @@ tree.
(home-page "https://github.com/Engelberg/instaparse")
(license license:epl1.0))))
+(define-public clojure-test-check
+ (package
+ (name "clojure-test-check")
+ (version "1.1.1")
+ (home-page "https://github.com/clojure/test.check")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "09jvlibnxhjv0l57y0sa7yy5in67gq4sssag77hv2d980mwdnls6"))))
+ (build-system clojure-build-system)
+ (arguments
+ '(#:source-dirs '("src/main/clojure")
+ #:test-dirs '("src/test/clojure")
+ #:doc-dirs '()))
+ (synopsis "QuickCheck for Clojure")
+ (description "@code{test.check} is a Clojure property-based testing tool
+inspired by QuickCheck. The core idea of @code{test.check} is that instead of
+enumerating expected input and output for unit tests, you write properties
+about your function that should hold true for all inputs. This lets you write
+concise, powerful tests.")
+ (license license:epl1.0)))
+
(define-public clojure-tools-macro
(package
(name "clojure-tools-macro")
@@ -341,3 +471,93 @@ tree.
"The @code{tools.cli} library provides Clojure programmers with tools to
work with command-line arguments.")
(license license:epl1.0)))
+
+(define-public clojure-tools-deps-alpha
+ (package
+ (name "clojure-tools-deps-alpha")
+ (version "0.12.1104")
+ (home-page "https://github.com/clojure/tools.deps.alpha")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "174m83n5m3arai2vbg434zjibbsr3r4pp7lz3adja8lxq7g21r80"))))
+ (build-system clojure-build-system)
+ (arguments
+ `(#:source-dirs '("src/main/clojure" "src/main/resources")
+ #:test-dirs '("src/test/clojure")
+ #:doc-dirs '()
+ ;; FIXME: Could not initialize class org.eclipse.aether.transport.http.SslSocketFactory
+ #:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ ;; FIXME: Currently, the S3 transporter depends on ClojureScript,
+ ;; which is very difficult to package due to dependencies on Java
+ ;; libraries with non-standard build systems. Instead of actually
+ ;; packaging these libraries, we just remove the S3 transporter that
+ ;; depends on them.
+ (add-after 'unpack 'remove-s3-transporter
+ (lambda _
+ (for-each delete-file
+ (list
+ (string-append
+ "src/main/clojure/clojure/"
+ "tools/deps/alpha/util/s3_aws_client.clj")
+ (string-append
+ "src/main/clojure/clojure/"
+ "tools/deps/alpha/util/s3_transporter.clj")
+ (string-append
+ "src/test/clojure/clojure/"
+ "tools/deps/alpha/util/test_s3_transporter.clj")))
+ (substitute*
+ "src/main/clojure/clojure/tools/deps/alpha/util/maven.clj"
+ (("clojure.tools.deps.alpha.util.s3-transporter")
+ "")))))))
+ (propagated-inputs (list maven-resolver-api
+ maven-resolver-spi
+ maven-resolver-impl
+ maven-resolver-util
+ maven-resolver-connector-basic
+ maven-resolver-provider
+ maven-core
+ maven-resolver-transport-http
+ maven-resolver-transport-file
+ clojure-tools-gitlibs
+ clojure-tools-cli
+ clojure-data-xml))
+ (synopsis "Clojure library supporting clojure-tools")
+ (description "This package provides a functional API for transitive
+dependency graph expansion and the creation of classpaths.")
+ (license license:epl1.0)))
+
+(define-public clojure-tools-gitlibs
+ (package
+ (name "clojure-tools-gitlibs")
+ (version "2.4.172")
+ (home-page "https://github.com/clojure/tools.gitlibs")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "19d83wigmigy66f5i61a3ishg7zrlv8jngj8m9brsh9v38a0fwdr"))))
+ (build-system clojure-build-system)
+ (arguments
+ '(#:source-dirs '("src/main/clojure")
+ #:test-dirs '("src/test/clojure")
+ #:doc-dirs '()
+ ;; Tests attempt to clone git repositories from the internet.
+ #:tests? #f))
+ (synopsis "Retrieve, cache, and programmatically access git libraries")
+ (description "To access git dependencies (for example, via
+@code{tools.deps}), one must download git directories and working trees as
+indicated by git SHAs. This library provides this functionality and also
+keeps a cache of git directories and working trees that can be reused.")
+ (license license:epl1.0)))
diff --git a/gnu/packages/cmake.scm b/gnu/packages/cmake.scm
index 36f8dcf8ff..4207f14310 100644
--- a/gnu/packages/cmake.scm
+++ b/gnu/packages/cmake.scm
@@ -150,7 +150,7 @@ using the CMake build system.")
(define-public cmake-bootstrap
(package
(name "cmake-bootstrap")
- (version "3.21.3")
+ (version "3.21.4")
(source (origin
(method url-fetch)
(uri (string-append "https://cmake.org/files/v"
@@ -158,7 +158,7 @@ using the CMake build system.")
"/cmake-" version ".tar.gz"))
(sha256
(base32
- "0kvrhgbrvm0lv7jshzd4nsvp3d5q1jkgal2d5kj4w4v58bghckfi"))
+ "0y2rk316j9m1iqimgwah0z1ii3ggli65dw6hdn4ckx0mqaahlmyr"))
(patches (search-patches "cmake-curl-certificates.patch"))))
(build-system gnu-build-system)
(arguments
diff --git a/gnu/packages/cobol.scm b/gnu/packages/cobol.scm
index 9386f3fca2..c1699b7e3a 100644
--- a/gnu/packages/cobol.scm
+++ b/gnu/packages/cobol.scm
@@ -71,7 +71,7 @@
(list bdb gmp json-c libxml2 ncurses))
(build-system gnu-build-system)
(home-page "https://www.gnu.org/software/gnucobol/")
- (synopsis "A modern COBOL compiler")
+ (synopsis "Modern COBOL compiler")
(description "GnuCOBOL is a free, modern COBOL compiler. GnuCOBOL
implements a substantial part of the COBOL 85, COBOL 2002 and COBOL 2014
standards and X/Open COBOL, as well as many extensions included in other
diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index dccfdeb157..e96a55e5b0 100644
--- a/gnu/packages/code.scm
+++ b/gnu/packages/code.scm
@@ -2,7 +2,7 @@
;;; Copyright © 2013, 2015, 2018, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2015, 2018 Ricardo Wurmus <rekado@elephly.net>
-;;; Copyright © 2016, 2017, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016, 2017, 2019, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2017, 2018 Clément Lassieur <clement@lassieur.org>
;;; Copyright © 2017 Andy Wingo <wingo@igalia.com>
@@ -33,6 +33,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages code)
+ #:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (guix download)
@@ -77,18 +78,19 @@
(define-public cflow
(package
(name "cflow")
- (version "1.6")
+ (version "1.7")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/cflow/cflow-"
version ".tar.bz2"))
(sha256
(base32
- "1mzd3yf0dfv8h2av5vsxxlhpk21nw064h91b2kgfrdz92r0pnj1l"))))
+ "11khr78090jjyqa2l26bdz0myjx6b212lz216dhjc7h0z754c4fh"))))
(build-system gnu-build-system)
;; Needed to have cflow-mode.el installed.
- (native-inputs `(("emacs" ,emacs-minimal)))
+ (native-inputs
+ (list emacs-minimal))
(arguments
'(#:configure-flags (list (string-append "CPPFLAGS="
"-D" "CFLOW_PREPROC=\\\""
@@ -129,77 +131,78 @@ highlighting your own code that seemed comprehensible when you wrote it.")
(define-public global ; a global variable
(package
(name "global")
- (version "6.6.7")
+ (version "6.6.8")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/global/global-"
version ".tar.gz"))
(sha256
(base32
- "0g4aslm2zajq605py11s4rs1wdnzcqhkh7bc2xl5az42adzzg839"))))
+ "1kaphc3gml89p8dpdgh2is8hj46wj05689kxj0bmh5q759rxk4vg"))))
(build-system gnu-build-system)
- (inputs
- `(("bash" ,bash-minimal) ; for wrap-program
- ("coreutils" ,coreutils)
- ("ctags" ,universal-ctags)
- ("libltdl" ,libltdl)
- ("ncurses" ,ncurses)
- ("python-pygments" ,python-pygments)
- ("python-wrapper" ,python-wrapper)
- ("sqlite" ,sqlite)))
(arguments
- `(#:configure-flags
- (list (string-append "--with-ncurses="
- (assoc-ref %build-inputs "ncurses"))
- (string-append "--with-sqlite3="
- (assoc-ref %build-inputs "sqlite"))
- (string-append "--with-universal-ctags="
- (assoc-ref %build-inputs "ctags") "/bin/ctags")
- (string-append "--sysconfdir="
- (assoc-ref %outputs "out") "/share/gtags")
- "--localstatedir=/var" ; This needs to be a writable location.
- "--disable-static")
+ (list #:configure-flags
+ #~(list (string-append "--with-ncurses="
+ #$(this-package-input "ncurses"))
+ (string-append "--with-sqlite3="
+ #$(this-package-input "sqlite"))
+ (string-append "--with-universal-ctags="
+ #$(this-package-input "universal-ctags")
+ "/bin/ctags")
+ (string-append "--sysconfdir="
+ #$output "/share/gtags")
+ "--localstatedir=/var" ; This needs to be a writable location.
+ "--disable-static")
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-globash
- (lambda* (#:key inputs #:allow-other-keys)
- (let* ((echo (string-append
- (assoc-ref inputs "coreutils") "/bin/echo")))
- (substitute* "globash/globash.in"
- (("/bin/echo") echo)))))
- (add-after 'post-install 'install-plugins
- (lambda _
- (with-directory-excursion "plugin-factory"
- (invoke "make" "install"))))
- (add-before 'install 'dont-install-to-/var
- (lambda _
- (substitute* "gozilla/Makefile"
- (("DESTDIR\\)\\$\\{localstatedir\\}") "TMPDIR)"))))
- (add-after 'install-plugins 'wrap-program
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (wrap-program
- (string-append (assoc-ref outputs "out")
- "/share/gtags/script/pygments_parser.py")
- `("GUIX_PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH"))))))
- (add-after 'install 'post-install
- (lambda* (#:key outputs #:allow-other-keys)
- ;; Install the plugin files in the right place.
- (let* ((out (assoc-ref outputs "out"))
- (data (string-append out "/share/gtags"))
- (vim (string-append out "/share/vim/vimfiles/plugin"))
- (lisp (string-append out "/share/emacs/site-lisp/"
- ,(package-name this-package) "-"
- ,(package-version this-package))))
- (mkdir-p lisp)
- (mkdir-p vim)
- (rename-file (string-append data "/gtags.el")
- (string-append lisp "/gtags.el"))
- (rename-file (string-append data "/gtags.vim")
- (string-append vim "/gtags.vim"))
- (rename-file (string-append data "/gtags-cscope.vim")
- (string-append vim "/gtags-cscope.vim"))
- #t))))))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-globash
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "globash/globash.in"
+ (("/bin/echo")
+ (search-input-file inputs "bin/echo")))))
+ (add-after 'post-install 'install-plugins
+ (lambda _
+ (with-directory-excursion "plugin-factory"
+ (invoke "make" "install"))))
+ (add-before 'install 'dont-install-to-/var
+ (lambda _
+ (substitute* "gozilla/Makefile"
+ (("DESTDIR\\)\\$\\{localstatedir\\}")
+ "TMPDIR)"))))
+ (add-after 'install-plugins 'wrap-program
+ (lambda _
+ (wrap-program
+ (string-append #$output
+ "/share/gtags/script/pygments_parser.py")
+ `("GUIX_PYTHONPATH" ":" prefix
+ (,(getenv "GUIX_PYTHONPATH"))))))
+ (add-after 'install 'post-install
+ (lambda _
+ ;; Install the plugin files in the right place.
+ (let* ((data (string-append #$output "/share/gtags"))
+ (vim (string-append #$output
+ "/share/vim/vimfiles/plugin"))
+ (lisp (string-append #$output "/share/emacs/site-lisp/"
+ #$(package-name this-package) "-"
+ #$(package-version this-package))))
+ (mkdir-p lisp)
+ (mkdir-p vim)
+ (rename-file (string-append data "/gtags.el")
+ (string-append lisp "/gtags.el"))
+ (rename-file (string-append data "/gtags.vim")
+ (string-append vim "/gtags.vim"))
+ (rename-file (string-append data "/gtags-cscope.vim")
+ (string-append vim "/gtags-cscope.vim"))))))))
+ (inputs
+ (list bash-minimal ; for wrap-program
+ coreutils
+ universal-ctags
+ libltdl
+ ncurses
+ python-pygments
+ python-wrapper
+ sqlite))
(home-page "https://www.gnu.org/software/global/")
(synopsis "Cross-environment source code tag system")
(description
@@ -561,7 +564,7 @@ results and determine build stability.")
(define-public kcov
(package
(name "kcov")
- (version "39")
+ (version "40")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -570,7 +573,7 @@ results and determine build stability.")
(file-name (git-file-name name version))
(sha256
(base32
- "09wf1k4dlpdhqjjgq2bibmgy8i3z32wf0zxhd2px2dvg92m4zwqr"))))
+ "0zayhmx6s377bxmkmvl9d9vjzfbpvh1k9ba6np4zdjvjjq327xag"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f ; no test target
@@ -588,9 +591,9 @@ results and determine build stability.")
(list python))
(home-page "https://github.com/SimonKagstrom/kcov")
(synopsis "Code coverage tester for compiled languages, Python and Bash")
- (description "Kcov is a FreeBSD/Linux/OSX code coverage tester for compiled
-languages, Python and Bash. Kcov was originally a fork of Bcov, but has since
-evolved to support a large feature set in addition to that of Bcov.
+ (description "Kcov is a code coverage tester for compiled languages,
+Python and Bash. It was originally a fork of Bcov, but has since evolved to
+support a large feature set in addition to that of Bcov.
Kcov uses DWARF debugging information for compiled programs to make it
possible to collect coverage information without special compiler switches.")
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 22c76e16d2..42df348f29 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2012-2022 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2014, 2015, 2017 Mark H Weaver <mhw@netris.org>
@@ -2496,6 +2496,7 @@ exec " gcc "/bin/" program
,@(substitute-keyword-arguments (package-arguments findutils)
((#:configure-flags flags ''())
`(append
+ ;; TODO: Figure out exactly with architectures need this.
,(if (target-64bit?)
''("TIME_T_32_BIT_OK=yes")
''())
@@ -2701,6 +2702,50 @@ exec " gcc "/bin/" program
(inputs (%boot0-inputs))
(native-inputs '()))))
+(define libstdc++-boot0-gcc7
+ ;; GCC >= 7 is needed by architectures which use C++-14 features.
+ (let ((lib (make-libstdc++ gcc-7)))
+ (package
+ (inherit lib)
+ (source (bootstrap-origin (package-source lib)))
+ (name "libstdc++-boot0")
+ (arguments
+ `(#:guile ,%bootstrap-guile
+ #:implicit-inputs? #f
+
+ ;; XXX: libstdc++.so NEEDs ld.so for some reason.
+ #:validate-runpath? #f
+
+ ,@(substitute-keyword-arguments (package-arguments lib)
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (add-after 'unpack 'unpack-gmp&co
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((gmp (assoc-ref %build-inputs "gmp-source"))
+ (mpfr (assoc-ref %build-inputs "mpfr-source"))
+ (mpc (assoc-ref %build-inputs "mpc-source")))
+
+ ;; To reduce the set of pre-built bootstrap inputs, build
+ ;; GMP & co. from GCC.
+ (for-each (lambda (source)
+ (invoke "tar" "xvf" source))
+ (list gmp mpfr mpc))
+
+ ;; Create symlinks like `gmp' -> `gmp-x.y.z'.
+ ,@(map (lambda (lib)
+ ;; Drop trailing letters, as gmp-6.0.0a unpacks
+ ;; into gmp-6.0.0.
+ `(symlink ,(string-trim-right
+ (package-full-name lib "-")
+ char-set:letter)
+ ,(package-name lib)))
+ (list gmp-6.0 mpfr mpc))))))))))
+ (inputs `(("gmp-source" ,(bootstrap-origin (package-source gmp-6.0)))
+ ("mpfr-source" ,(bootstrap-origin (package-source mpfr)))
+ ("mpc-source" ,(bootstrap-origin (package-source mpc)))
+ ,@(%boot0-inputs)))
+ (native-inputs '()))))
+
(define gcc-boot0
(package
(inherit gcc)
@@ -2812,7 +2857,9 @@ exec " gcc "/bin/" program
("binutils-cross" ,binutils-boot0)
;; The libstdc++ that libcc1 links against.
- ("libstdc++" ,libstdc++-boot0)
+ ("libstdc++" ,(match (%current-system)
+ ("riscv64-linux" libstdc++-boot0-gcc7)
+ (_ libstdc++-boot0)))
;; Call it differently so that the builder can check whether
;; the "libc" input is #f.
@@ -3540,6 +3587,9 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%"
(define (%boot3-inputs)
;; 4th stage inputs.
`(("gcc" ,gcc-final)
+ ,@(if (target-riscv64?)
+ `(("gcc:lib" ,gcc-final "lib"))
+ '())
("ld-wrapper" ,ld-wrapper-boot3)
,@(alist-delete "gcc" (%boot2-inputs))))
@@ -3777,6 +3827,10 @@ COREUTILS-FINAL vs. COREUTILS, etc."
(append (package-search-paths gcc)
(package-search-paths libc)))
+ ;; Copy the 'compiler-cpu-architectures' property and other things that
+ ;; may be useful, but not the 'hidden?' property.
+ (properties (alist-delete 'hidden? (package-properties gcc)))
+
(license (package-license gcc))
(synopsis "Complete GCC tool chain for C/C++ development")
(description
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 49c46a2093..6b91b51504 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -4,7 +4,7 @@
;;; Copyright © 2014, 2015, 2018 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
;;; Copyright © 2015, 2016 Eric Bavier <bavier@member.fsf.org>
-;;; Copyright © 2015, 2016, 2017, 2018, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2015, 2016, 2017, 2018, 2020, 2021, 2022 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015, 2017, 2018 Leo Famulari <leo@famulari.name>
;;; Copyright © 2015 Jeff Mickey <j@codemac.net>
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
@@ -1392,6 +1392,32 @@ handles the 7z format which features very high compression ratios.")
functionality in a C++ iostream.")
(license license:lgpl2.1+)))
+(define-public zopfli
+ (package
+ (name "zopfli")
+ (version "1.0.3")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/google/zopfli")
+ (commit (string-append name "-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0dr8n4j5nj2h9n208jns56wglw59gg4qm3s7c6y3hs75d0nnkhm4"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:tests? #f ;no test suite
+ #:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
+ (home-page "https://github.com/google/zopfli")
+ (synopsis "Very good, but slow, deflate or zlib compression")
+ (description "Zopfli Compression Algorithm is a compression library
+programmed in C to perform very good, but slow, deflate or zlib compression.
+ZopfliCompress supports the deflate, gzip and zlib output formats. This
+library can only compress, not decompress; existing zlib or deflate libraries
+can decompress the data.")
+ (license license:asl2.0)))
+
(define-public zpaq
(package
(name "zpaq")
@@ -2280,7 +2306,7 @@ API, and that means that you can also use QTextStream, QDataStream or
whatever you would like to use on your zipped files.
QuaZIP provides complete abstraction of the ZIP/UNZIP API, for both
-reading from and writing to ZIP archives. ")
+reading from and writing to ZIP archives.")
;; Project is distributed under LGPL, but "quazip/z*" "quazip/unzip.*" are
;; distributed under zlib terms.
(license (list license:lgpl2.1+ license:zlib))))
@@ -2708,3 +2734,31 @@ negotiation. These design goals make it different from earlier binary
serializations such as ASN.1 and MessagePack.")
(license license:expat)
(home-page "https://github.com/PJK/libcbor")))
+
+(define-public fcrackzip
+ (package
+ (name "fcrackzip")
+ (version "1.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://oldhome.schmorp.de/marc/data/"
+ "fcrackzip-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0l1qsk949vnz18k4vjf3ppq8p497966x4c7f2yx18x8pk35whn2a"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:phases
+ '(modify-phases %standard-phases
+ (add-after 'unpack 'fix-reference-to-unzip
+ (lambda _
+ (substitute* "main.c"
+ (("\"unzip")
+ (string-append "\"" (which "unzip")))))))))
+ (inputs
+ (list perl unzip))
+ (home-page "http://oldhome.schmorp.de/marc/fcrackzip.html")
+ (synopsis "Zip password cracker")
+ (description "Fcrackzip is a Zip file password cracker.")
+ (license license:gpl2+)))
diff --git a/gnu/packages/containers.scm b/gnu/packages/containers.scm
new file mode 100644
index 0000000000..c978be75ff
--- /dev/null
+++ b/gnu/packages/containers.scm
@@ -0,0 +1,346 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2021 Timmy Douglas <mail@timmydouglas.com>
+;;; Copyright © 2022 Tobias Geerinckx-Rice <me@tobias.gr>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages containers)
+ #:use-module (guix gexp)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (gnu packages)
+ #:use-module (guix packages)
+ #:use-module (guix download)
+ #:use-module (guix git-download)
+ #:use-module (guix build-system gnu)
+ #:use-module (guix build-system go)
+ #:use-module (guix build-system meson)
+ #:use-module (guix utils)
+ #:use-module (gnu packages admin)
+ #:use-module (gnu packages autotools)
+ #:use-module (gnu packages base)
+ #:use-module (gnu packages bash)
+ #:use-module (gnu packages check)
+ #:use-module (gnu packages compression)
+ #:use-module (gnu packages glib)
+ #:use-module (gnu packages gnupg)
+ #:use-module (gnu packages golang)
+ #:use-module (gnu packages linux)
+ #:use-module (gnu packages python)
+ #:use-module (gnu packages networking)
+ #:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages selinux)
+ #:use-module (gnu packages version-control)
+ #:use-module (gnu packages virtualization)
+ #:use-module (gnu packages web))
+
+(define-public crun
+ (let ((commit "8e5757a4e68590326dafe8a8b1b4a584b10a1370"))
+ (package
+ (name "crun")
+ (version "1.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/containers/crun")
+ (commit commit)
+ (recursive? #t)))
+ (sha256
+ (base32 "01yiss2d57kwlxb7zlqzjwlg9fyaf19yjngd1mw9n4hxls3dfj3k"))
+ (file-name (git-file-name name version))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:configure-flags '("--disable-systemd")
+ #:tests? #f ; XXX: needs /sys/fs/cgroup mounted
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'do-not-depend-on-git
+ (lambda _
+ (substitute* "autogen.sh"
+ (("^git submodule update.*")
+ ""))
+ (with-output-to-file "git-version.h"
+ (lambda ()
+ (display (string-append
+ "/* autogenerated. */\n#ifndef GIT_VERSION\n# define GIT_VERSION \""
+ ,commit
+ "\"\n#endif\n"))))))
+ (add-after 'unpack 'fix-tests
+ (lambda _
+ (substitute* (find-files "tests" "\\.(c|py)")
+ (("/bin/true") (which "true"))
+ (("/bin/false") (which "false"))
+ ; relies on sd_notify which requires systemd?
+ (("\"sd-notify\" : test_sd_notify,") "")
+ (("\"sd-notify-file\" : test_sd_notify_file,") "")))))))
+ (inputs
+ (list libcap
+ libseccomp
+ libyajl))
+ (native-inputs
+ (list automake
+ autoconf
+ git
+ libtool
+ pkg-config
+ python-3))
+ (home-page "https://github.com/containers/crun")
+ (synopsis "Open Container Initiative (OCI) Container runtime")
+ (description
+ "crun is a fast and low-memory footprint Open Container Initiative (OCI)
+Container Runtime fully written in C.")
+ (license license:gpl2+))))
+
+(define-public conmon
+ (package
+ (name "conmon")
+ (version "2.0.31")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/containers/conmon")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32 "1cxklcihb2i4ywli0fxafkp2gi1x831r37z7spnigaj6pzj1517w"))
+ (file-name (git-file-name name version))))
+ (build-system gnu-build-system)
+ (arguments
+ (list #:make-flags
+ #~(list (string-append "CC=" #$(cc-for-target))
+ (string-append "PREFIX=" #$output))
+ ;; XXX: uses `go get` to download 50 packages, runs a ginkgo test suite
+ ;; then tries to download busybox and use a systemd logging library
+ ;; see also https://github.com/containers/conmon/blob/main/nix/derivation.nix
+ #:tests? #f
+ #:test-target "test"
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure)
+ (add-after 'unpack 'set-env
+ (lambda _
+ ;; when running go, things fail because
+ ;; HOME=/homeless-shelter.
+ (setenv "HOME" "/tmp"))))))
+ (inputs
+ (list crun
+ glib
+ libseccomp))
+ (native-inputs
+ (list git
+ go
+ pkg-config))
+ (home-page "https://github.com/containers/conmon")
+ (synopsis "Monitoring tool for Open Container Initiative (OCI) runtime")
+ (description
+ "Conmon is a monitoring program and communication tool between a container
+manager (like Podman or CRI-O) and an Open Container Initiative (OCI)
+runtime (like runc or crun) for a single container.")
+ (license license:asl2.0)))
+
+(define-public libslirp
+ (package
+ (name "libslirp")
+ (version "4.6.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.freedesktop.org/slirp/libslirp")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32 "1b4cn51xvzbrxd63g6w1033prvbxfxsnsn1l0fa5i311xv28vkh0"))
+ (file-name (git-file-name name version))))
+ (build-system meson-build-system)
+ (inputs
+ (list glib))
+ (native-inputs
+ (list pkg-config))
+ (home-page "https://gitlab.freedesktop.org/slirp/libslirp")
+ (synopsis "User-mode networking library")
+ (description
+ "libslirp is a user-mode networking library used by virtual machines,
+containers or various tools.")
+ (license license:bsd-3)))
+
+(define-public slirp4netns
+ (package
+ (name "slirp4netns")
+ (version "1.1.12")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rootless-containers/slirp4netns")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32 "03llv4dlf7qqxwz4zdyk926g4bigfj2gb50glm70ciflpvzs8081"))
+ (file-name (git-file-name name version))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:tests? #f ; XXX: open("/dev/net/tun"): No such file or directory
+ #:phases (modify-phases %standard-phases
+ (add-after 'unpack 'fix-hardcoded-paths
+ (lambda _
+ (substitute* (find-files "tests" "\\.sh")
+ (("ping") "/run/setuid-programs/ping")))))))
+ (inputs
+ (list glib
+ libcap
+ libseccomp
+ libslirp))
+ (native-inputs
+ (list automake
+ autoconf
+ iproute ; iproute, jq, nmap (ncat) and util-linux are for tests
+ jq
+ nmap
+ pkg-config
+ util-linux))
+ (home-page "https://github.com/rootless-containers/slirp4netns")
+ (synopsis "User-mode networking for unprivileged network namespaces")
+ (description
+ "slirp4netns provides user-mode networking (\"slirp\") for unprivileged
+network namespaces.")
+ (license license:gpl2+)))
+
+(define-public cni-plugins
+ (package
+ (name "cni-plugins")
+ (version "1.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/containernetworking/plugins")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32 "1j91in0mg4nblpdccyq63ncbnn2pc2zzjp1fh3jy0bsndllgv0nc"))
+ (file-name (git-file-name name version))))
+ (build-system go-build-system)
+ (arguments
+ `(#:unpack-path "github.com/containernetworking/plugins"
+ #:tests? #f ; XXX: see stat /var/run below
+ #:phases (modify-phases %standard-phases
+ (replace 'build
+ (lambda _
+ (with-directory-excursion
+ "src/github.com/containernetworking/plugins"
+ (invoke "./build_linux.sh"))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ ; only pkg/ns tests run without root
+ (when tests?
+ (with-directory-excursion
+ "src/github.com/containernetworking/plugins/pkg/ns"
+ (invoke "stat" "/var/run") ; XXX: test tries to stat this directory
+ (invoke "unshare" "-rmn" "go" "test")))))
+ (add-before 'check 'set-test-environment
+ (lambda _
+ (setenv "XDG_RUNTIME_DIR" "/tmp/cni-rootless")))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (copy-recursively
+ "src/github.com/containernetworking/plugins/bin"
+ (string-append (assoc-ref outputs "out") "/bin")))))))
+ (native-inputs
+ (list util-linux))
+ (home-page "https://github.com/containernetworking/plugins")
+ (synopsis "Container Network Interface (CNI) network plugins")
+ (description
+ "This package provides Container Network Interface (CNI) plugins to
+configure network interfaces in Linux containers.")
+ (license license:asl2.0)))
+
+;; For podman to work, the user needs to run
+;; `sudo mount -t cgroup2 none /sys/fs/cgroup`
+
+(define-public podman
+ (package
+ (name "podman")
+ (version "3.4.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/containers/podman")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32 "1q09qsl1wwiiy5njvb97n1j5f5jin4ckmzj5xbdfs28czb2kx3g5"))
+ (file-name (git-file-name name version))))
+
+ (build-system gnu-build-system)
+ (arguments
+ `(#:make-flags (list ,(string-append "CC=" (cc-for-target))
+ (string-append "PREFIX=" %output))
+ #:tests? #f ; /sys/fs/cgroup not set up in guix sandbox
+ #:test-target "test"
+ #:phases (modify-phases %standard-phases
+ (delete 'configure)
+ (add-after 'unpack 'set-env
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; when running go, things fail because
+ ;; HOME=/homeless-shelter.
+ (setenv "HOME" "/tmp")))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; (invoke "strace" "-f" "bin/podman" "version")
+ (invoke "make" "localsystem")
+ (invoke "make" "remotesystem"))))
+ (add-after 'unpack 'fix-hardcoded-paths
+ (lambda _
+ (substitute* (find-files "libpod" "\\.go")
+ (("exec.LookPath[(][\"]slirp4netns[\"][)]")
+ (string-append "exec.LookPath(\""
+ (which "slirp4netns") "\")")))
+ (substitute* "hack/install_catatonit.sh"
+ (("CATATONIT_PATH=\"[^\"]+\"")
+ (string-append "CATATONIT_PATH=" (which "true"))))
+ (substitute* "vendor/github.com/containers/common/pkg/config/config_linux.go"
+ (("/usr/local/libexec/podman")
+ (string-append (assoc-ref %outputs "out") "/bin")))
+ (substitute* "vendor/github.com/containers/common/pkg/config/default.go"
+ (("/usr/libexec/podman/conmon") (which "conmon"))
+ (("/usr/local/libexec/cni")
+ (string-append (assoc-ref %build-inputs "cni-plugins")
+ "/bin"))
+ (("/usr/bin/crun") (which "crun"))))))))
+ (inputs
+ (list btrfs-progs
+ cni-plugins
+ conmon
+ crun
+ gpgme
+ go-github-com-go-md2man
+ iptables
+ libassuan
+ libseccomp
+ libselinux
+ slirp4netns))
+ (native-inputs
+ (list bats
+ git
+ go
+ ; strace ; XXX debug
+ pkg-config))
+ (home-page "https://podman.io")
+ (synopsis "Manage containers, images, pods, and their volumes")
+ (description
+ "Podman (the POD MANager) is a tool for managing containers and images,
+volumes mounted into those containers, and pods made from groups of
+containers.")
+ (license license:asl2.0)))
diff --git a/gnu/packages/coq.scm b/gnu/packages/coq.scm
index 5173726ec2..b523ccb065 100644
--- a/gnu/packages/coq.scm
+++ b/gnu/packages/coq.scm
@@ -52,7 +52,7 @@
(define-public coq-core
(package
(name "coq-core")
- (version "8.14.0")
+ (version "8.14.1")
(source
(origin
(method git-fetch)
@@ -62,7 +62,7 @@
(file-name (git-file-name name version))
(sha256
(base32
- "0iachapmdwvwwlvkrb2yxhqqrgzs70zyr1c9v1jdb1awx3bp68hf"))
+ "0q634fmrh5ivpxy7ammdiqdh9xp72ji2726vcz1bd55ln0d08z40"))
(patches (search-patches "coq-fix-envvars.patch"))))
(native-search-paths
(list (search-path-specification
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index c3b6403e02..1bae2966b9 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -8,9 +8,9 @@
;;; Copyright © 2019 Jan Wielkiewicz <tona_kosmicznego_smiecia@interia.pl>
;;; Copyright © 2020, 2021 Nicolò Balzarotti <nicolo@nixo.xyz>
;;; Copyright © 2020 Roel Janssen <roel@gnu.org>
-;;; Copyright © 2020 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
-;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2020 Alexandros Theodotou <alex@zrythm.org>
@@ -22,6 +22,9 @@
;;; Copyright © 2021 Nicolò Balzarotti <nicolo@nixo.xyz>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2021 Nikolay Korotkiy <sikmir@disroot.org>
+;;; Copyright © 2021 jgart <jgart@dismail.de>
+;;; Copyright © 2021 Julien Lepiller <julien@lepiller.eu>
+;;; Copyright © 2021 Disseminate Dissent <disseminatedissent@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -78,6 +81,76 @@
#:use-module (gnu packages web)
#:use-module (gnu packages xml))
+(define-public argagg
+ (let ((commit "79e4adfa2c6e2bfbe63da05cc668eb9ad5596748") (revision "0"))
+ (package
+ (name "argagg")
+ (version (git-version "0.4.6" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/vietjtnguyen/argagg")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1flkgh524lq3024p7ld5lg743s1v7qnbmgv77578rzmn2rjzr77n"))))
+ (build-system cmake-build-system)
+ (outputs '("out" "doc"))
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (add-after 'install 'move-doc
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((name ,(package-name argagg)) (out (assoc-ref
+ outputs
+ "out"))
+ (doc (assoc-ref outputs "doc")))
+ (mkdir-p (string-append doc "/share/doc"))
+ (rename-file
+ (string-append out "/share/doc/" name)
+ (string-append doc "/share/doc/" name))))))))
+ (native-inputs (list doxygen))
+ (home-page "https://github.com/vietjtnguyen/argagg")
+ (synopsis "C++11 command line argument parser")
+ (description
+ "ArgAgg is yet another C++ command line argument/option
+parser. It was written as a simple and idiomatic alternative to other
+frameworks like getopt, Boost program options, TCLAP, and others. The goal is
+to achieve the majority of argument parsing needs in a simple manner with an
+easy to use API.")
+ (license license:expat))))
+
+(define-public asmjit
+ (let ((commit "4ec760a3d1f69e32ba460ecd2513f29b8428700b")
+ (revision "0"))
+ (package
+ (name "asmjit")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/asmjit/asmjit")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0skgccbpamcbg1byawfq5n6jzxgj64hnc7jznvk35nkskaaz1nlb"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list #:configure-flags #~(list "-DASMJIT_TEST=TRUE")))
+ (home-page "https://asmjit.com/")
+ (synopsis "Machine code generation for C++")
+ (description "AsmJit is a lightweight library for machine code
+generation written in C++ language. It can generate machine code for X86 and
+X86_64 architectures with the support for the whole instruction set from
+legacy MMX to the newest AVX-512 and AMX. It has a type-safe API that allows
+C++ compiler to do semantic checks at compile-time even before the assembled
+code is generated or executed. It also provides an optional register
+allocator that makes it easy to generate complex code without a significant
+development effort.")
+ (license license:zlib))))
+
(define-public range-v3
(package
(name "range-v3")
@@ -111,7 +184,7 @@ range-v3 ranges are an abstraction layer on top of iterators.")
(license:x11-style "file:///LICENSE.txt")
;; SGI STL
license:sgifreeb2.0
- ;;; LibC++ (dual-licensed)
+;;; LibC++ (dual-licensed)
license:expat
license:ncsa
;; Others
@@ -300,6 +373,53 @@ It also provides accelerated implementation of common mathematical functions
operating on batches.")
(license license:bsd-3)))
+(define-public google-highway
+ (package
+ (name "google-highway")
+ (version "0.15.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/google/highway")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1yjwgnrpd9m99x2nqf6ld28zc6y9nlsxqg128bxxmja1gg4g4qdz"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:configure-flags (list "-DHWY_SYSTEM_GTEST=on")))
+ (native-inputs
+ (list googletest))
+ (home-page "https://github.com/google/highway")
+ (synopsis "SIMD library with runtime dispatch")
+ (description "Highway is a performance-portable, length-agnostic C++
+library for SIMD (Single Instruction, Multiple Data) with runtime dispatch.")
+ (license license:asl2.0)))
+
+(define-public xsmimd-benchmark
+ (package
+ (inherit xsimd)
+ (name "xsimd-benchmark")
+ (arguments
+ `(#:configure-flags (list "-DBUILD_BENCHMARK=ON")
+ #:tests? #f
+ #:phases (modify-phases %standard-phases
+ (add-after 'unpack 'remove-march=native
+ (lambda _
+ (substitute* "benchmark/CMakeLists.txt"
+ (("-march=native") ""))))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ ;; Install nothing but the executable.
+ (let ((out (assoc-ref outputs "out")))
+ (install-file "benchmark/benchmark_xsimd"
+ (string-append out "/bin"))))))))
+ (synopsis "Benchmark of the xsimd library")
+
+ ;; Mark as tunable to take advantage of SIMD code in xsimd/xtensor.
+ (properties '((tunable? . #t)))))
+
(define-public chaiscript
(package
(name "chaiscript")
@@ -510,6 +630,28 @@ syntax highlighting. @code{ccls} is derived from @code{cquery} which is not
maintained anymore.")
(license license:asl2.0)))
+(define-public concurrentqueue
+ (package
+ (name "concurrentqueue")
+ (version "1.0.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/cameron314/concurrentqueue/")
+ (commit "3747268264d0fa113e981658a99ceeae4dad05b7")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1n5v7n27llzg7khg1jvi35jrcf9v6adw8gaic9ndxn65dp723ssy"))))
+ (build-system cmake-build-system)
+ (arguments '(#:tests? #false)) ;no check target
+ (home-page "https://github.com/cameron314/concurrentqueue/")
+ (synopsis "Multi-producer, multi-consumer lock-free concurrent queue for C++11")
+ (description
+ "This package provides a fast multi-producer, multi-consumer lock-free
+concurrent queue for C++11.")
+ (license license:bsd-2)))
+
(define-public spscqueue
(package
(name "spscqueue")
@@ -1136,7 +1278,7 @@ computation.")
(native-inputs
`(("unzip" ,unzip)))
(home-page "https://sourceforge.net/projects/polyclipping")
- (synopsis "A polygon and line clipping and offsetting library")
+ (synopsis "Polygon and line clipping and offsetting library")
(description
"The Clipper library performs line & polygon clipping - intersection,
union, difference & exclusive-or, and line & polygon offsetting.
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 98f7fc46fd..80e2ca9021 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2015, 2016 Pjotr Prins <pjotr.guix@thebird.nl>
;;; Copyright © 2016, 2017 Ben Woodcroft <donttrustben@gmail.com>
@@ -31,7 +31,7 @@
;;; Copyright © 2020 Antoine Côté <antoine.cote@posteo.net>
;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2020 Magali Lemes <magalilemes00@gmail.com>
-;;; Copyright © 2020, 2021 Simon Tournier <zimon.toutoune@gmail.com>
+;;; Copyright © 2020, 2021, 2022 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright © 2020 Aniket Patil <aniket112.patil@gmail.com>
;;; Copyright © 2021 Marcel Schilling <marcel.schilling@uni-luebeck.de>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
@@ -114,14 +114,14 @@
(define-public r-brio
(package
(name "r-brio")
- (version "1.1.2")
+ (version "1.1.3")
(source
(origin
(method url-fetch)
(uri (cran-uri "brio" version))
(sha256
(base32
- "1vviykwx1z71yhk1xl87riaygj8sq0sj7ixyig1irqsi66aydpa2"))))
+ "1inwzvlf6zj6gi47gd0byzqv02qajb3l475z8pjvx2b1hm0r1a7a"))))
(properties `((upstream-name . "brio")))
(build-system r-build-system)
(home-page "https://github.com/r-lib/brio")
@@ -187,14 +187,14 @@ etc.")
(define-public r-datawizard
(package
(name "r-datawizard")
- (version "0.2.1")
+ (version "0.2.2")
(source
(origin
(method url-fetch)
(uri (cran-uri "datawizard" version))
(sha256
(base32
- "062phzfcvn79npn4s58gz1m5ignyvr4q2zlqnyxla4p7l760djl9"))))
+ "0sd0blrczf9qz5kd0jg112fag2w401kkbw1gp9wi5pgffgwp6va3"))))
(properties `((upstream-name . "datawizard")))
(build-system r-build-system)
(propagated-inputs
@@ -378,14 +378,14 @@ easier.")
(define-public r-rticles
(package
(name "r-rticles")
- (version "0.21")
+ (version "0.22")
(source
(origin
(method url-fetch)
(uri (cran-uri "rticles" version))
(sha256
(base32
- "0xk0xz97k8r8srmniihn3y4dkxddxf97yjbsljcxlgcq8f0zcc2s"))))
+ "0jgsmqwwqzvsxcbsm9fx0rp724mn3ipi70883bhvm7n9i8mq877m"))))
(properties `((upstream-name . "rticles")))
(build-system r-build-system)
(propagated-inputs
@@ -463,17 +463,40 @@ The package provides functions for point generation, arc length estimation,
degree elevation and curve fitting.")
(license license:gpl2+)))
+(define-public r-bwstest
+ (package
+ (name "r-bwstest")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "BWStest" version))
+ (sha256
+ (base32 "02amzlfprmw5pyis0dg0kg0x8xqh50a4vfdcxxmklrzik3b1vzzs"))))
+ (properties `((upstream-name . "BWStest")))
+ (build-system r-build-system)
+ (propagated-inputs (list r-memoise r-rcpp))
+ (home-page "https://github.com/shabbychef/BWStest")
+ (synopsis "Baumgartner Weiss Schindler Test of equal distributions")
+ (description
+ "This package performs the Baumgartner-Weiss-Schindler two-sample test of
+equal probability distributions (doi:10.2307/2533862). It also performs
+similar rank-based tests for equal probability distributions due to Neuhauser
+(doi:10.1080/10485250108832874) and Murakami
+(doi:10.1080/00949655.2010.551516).")
+ (license license:lgpl3)))
+
(define-public r-v8
(package
(name "r-v8")
- (version "3.6.0")
+ (version "4.0.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "V8" version))
(sha256
(base32
- "0xqk4rcv255r2wll2jpzf9ix8j6hbhw0vbhg2g9i6z2apyc9i5m3"))))
+ "1j5vknhq12kfzda46y7nwiqdzqipzgympqzjq9d8ckr6f6v4qshl"))))
(properties `((upstream-name . "V8")))
(build-system r-build-system)
(arguments
@@ -484,19 +507,17 @@ degree elevation and curve fitting.")
(substitute* "configure"
(("^PKG_LIBS=.*")
(string-append "PKG_LIBS="
- (assoc-ref inputs "node")
+ (assoc-ref inputs "libnode")
"/lib/libnode.so.64\n")))
(setenv "INCLUDE_DIR"
(string-append
- (assoc-ref inputs "node")
+ (assoc-ref inputs "libnode")
"/include/node"))
(setenv "LIB_DIR"
(string-append
- (assoc-ref inputs "node") "/lib"))
- #t)))))
+ (assoc-ref inputs "libnode") "/lib")))))))
(inputs
- `(("node" ,libnode)
- ("zlib" ,zlib)))
+ (list libnode zlib))
(propagated-inputs
(list r-curl r-jsonlite r-rcpp))
(native-inputs
@@ -677,14 +698,14 @@ variables.")
(define-public r-ggpp
(package
(name "r-ggpp")
- (version "0.4.2")
+ (version "0.4.3")
(source
(origin
(method url-fetch)
(uri (cran-uri "ggpp" version))
(sha256
(base32
- "0m2wq9kqlxqxlzyx9fd0c4iw6qb7kpjrq7fqqa2kvwyj79vx6ahj"))))
+ "175mk5zcnhwr8hvs1567x0k0vmq7g2qnq250pnxlwnv1wpmvrqhz"))))
(properties `((upstream-name . "ggpp")))
(build-system r-build-system)
(propagated-inputs
@@ -744,13 +765,13 @@ axis} (SMA), and @dfn{ranged major axis} (RMA).")
(define-public r-ggpmisc
(package
(name "r-ggpmisc")
- (version "0.4.4")
+ (version "0.4.5")
(source (origin
(method url-fetch)
(uri (cran-uri "ggpmisc" version))
(sha256
(base32
- "01dnr2a33zmgi0gjsxlcz4hp68b18xsi8z1lkhgcla5im59qf9xi"))))
+ "036y3zhl9ndj5wlqy2nkp95vi7pjfpvf63ndsigramzad0fz0c98"))))
(build-system r-build-system)
(propagated-inputs
(list r-dplyr
@@ -1084,13 +1105,13 @@ high-dimensional data.")
(define-public r-shadowtext
(package
(name "r-shadowtext")
- (version "0.0.9")
+ (version "0.1.1")
(source (origin
(method url-fetch)
(uri (cran-uri "shadowtext" version))
(sha256
(base32
- "1g6mgnfnzf2c17yzqk3zybfc5y62p5ndrbikxb3xcm2hiljiiqna"))))
+ "01h0w3b02r8snjkx5sxkf2x8xm4gd0r8jm27xqz9cv6hgqfmh1pb"))))
(properties `((upstream-name . "shadowtext")))
(build-system r-build-system)
(propagated-inputs
@@ -1556,13 +1577,13 @@ Zucchini.")
(define-public r-httpuv
(package
(name "r-httpuv")
- (version "1.6.3")
+ (version "1.6.5")
(source (origin
(method url-fetch)
(uri (cran-uri "httpuv" version))
(sha256
(base32
- "0xh8y05k4jxdwp9xh4x478y3scnv80q05l9gxk2ni6f0dk43iqxz"))
+ "0mlilxh2mlrsbbrncla2rg02crr8nnajv649d8whx7ayr8lkdxpm"))
;; Unvendor bundled libraries. As of 1.5.4 the vendored libuv
;; only contains fixes for building on Solaris.
(patches (search-patches "r-httpuv-1.5.5-unvendor-libuv.patch"))
@@ -1603,13 +1624,13 @@ particularly easy to create complete web applications using httpuv alone.")
(define-public r-jsonlite
(package
(name "r-jsonlite")
- (version "1.7.2")
+ (version "1.7.3")
(source (origin
(method url-fetch)
(uri (cran-uri "jsonlite" version))
(sha256
(base32
- "1lhzcpz9clwq04i5m6jzkvw9x03pwlqrixv4l9xzchjr8d84nd86"))))
+ "0n65x9ifxjssb000g7psgh9pgl374ax2ni1if9kp3sx56rg0n2kj"))))
(build-system r-build-system)
(native-inputs
(list r-knitr))
@@ -1715,13 +1736,13 @@ applications.")
(define-public r-htmltable
(package
(name "r-htmltable")
- (version "2.3.0")
+ (version "2.4.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "htmlTable" version))
(sha256
- (base32 "0xx5fza40six81mkfjsja6a8j6cg1mlzg0cxfgv084riyq79l387"))))
+ (base32 "17csp0ry4iy4m5xy271dn5wd81v4p03l79swmvlfxkvpdmhvb8jc"))))
(properties `((upstream-name . "htmlTable")))
(build-system r-build-system)
(propagated-inputs
@@ -1775,8 +1796,7 @@ const char *_ca_bundle = getenv(\"CURL_CA_BUNDLE\");
if(_ca_bundle != NULL) { curl_easy_setopt(handle, CURLOPT_CAINFO, _ca_bundle); }
" m))))))))
(inputs
- `(("libcurl" ,curl)
- ("zlib" ,zlib)))
+ (list curl zlib))
(native-inputs
(list pkg-config r-knitr))
(home-page "https://github.com/jeroenooms/curl")
@@ -1813,14 +1833,14 @@ objects in HTML format.")
(define-public r-rjson
(package
(name "r-rjson")
- (version "0.2.20")
+ (version "0.2.21")
(source
(origin
(method url-fetch)
(uri (cran-uri "rjson" version))
(sha256
(base32
- "0v1zvdd3svnavklh7y5xbwrrkbvx6053r4c5hgnk7hz7bqg7qa1s"))))
+ "1qm27r1w677zg31gsiln60hcciszbymkw78cnaq7s36cbk9mcawq"))))
(build-system r-build-system)
(home-page "https://cran.r-project.org/web/packages/rjson")
(synopsis "JSON library for R")
@@ -2758,14 +2778,14 @@ Projection code and larger maps are in separate packages (@code{mapproj} and
(define-public r-mapproj
(package
(name "r-mapproj")
- (version "1.2.7")
+ (version "1.2.8")
(source
(origin
(method url-fetch)
(uri (cran-uri "mapproj" version))
(sha256
(base32
- "0nscsfq8md6ri9258xz57c3dj81wdl6kdwf4a9qcrwwbn20i427h"))))
+ "10bpib827011fpgvzsmlv4j3i41s0r3cv1hvawwdlk753s7i0pw6"))))
(build-system r-build-system)
(propagated-inputs (list r-maps))
(home-page "https://cran.r-project.org/web/packages/mapproj")
@@ -2947,14 +2967,14 @@ component analysis (with robust methods, and parallelized functions).")
(define-public r-ape
(package
(name "r-ape")
- (version "5.5")
+ (version "5.6-1")
(source
(origin
(method url-fetch)
(uri (cran-uri "ape" version))
(sha256
(base32
- "16i9sny7j90zi0k3znfff5lpnj5naxcy1142v73zxslr9g3h3am3"))))
+ "1xzpq3a4q5hmksc8nl530c9n31fdkj3nigqm1qhd3vkncl1iwh15"))))
(build-system r-build-system)
(propagated-inputs
(list r-lattice r-nlme r-rcpp))
@@ -3023,14 +3043,14 @@ colors are provided.")
(define-public r-glue
(package
(name "r-glue")
- (version "1.5.0")
+ (version "1.6.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "glue" version))
(sha256
(base32
- "1wjar579m46j1jnch34h7976sc1qbj6hzdyz5jm16nz1iw6z47jv"))))
+ "0f23dgnc7rv81vhmdhmiwk666mqwb602hxzai1hssyn4y9zg7gkp"))))
(build-system r-build-system)
;; knitr depends on glue, so we can't add knitr here to build the
;; vignettes.
@@ -3191,13 +3211,13 @@ processes. Most of its code is based on the @code{psutil} Python package.")
(define-public r-pkgbuild
(package
(name "r-pkgbuild")
- (version "1.2.0")
+ (version "1.3.1")
(source
(origin
(method url-fetch)
(uri (cran-uri "pkgbuild" version))
(sha256
- (base32 "0qx920h2viwjg10va81nj0xja495d8ni6vcc25ggvzki6a6k069f"))))
+ (base32 "0j6v5nbp8kg1m3j999gd1qsbdmqcqm1mf28ngmm177miwv8q4skw"))))
(build-system r-build-system)
(propagated-inputs
(list r-callr
@@ -3219,14 +3239,14 @@ is configured appropriately so R can use them.")
(define-public r-pkgload
(package
(name "r-pkgload")
- (version "1.2.3")
+ (version "1.2.4")
(source
(origin
(method url-fetch)
(uri (cran-uri "pkgload" version))
(sha256
(base32
- "0jdkaj5cl0viy0i0hkcm4n2wlg1mfv3camr7f385njfararfanhh"))))
+ "03yr9mswx9nij27bp21q6c533zx310xwzhwm52dwr7554k42p4fn"))))
(build-system r-build-system)
(propagated-inputs
(list r-cli
@@ -3267,13 +3287,13 @@ value for each cluster in a dendrogram.")
(define-public r-rcpp
(package
(name "r-rcpp")
- (version "1.0.7")
+ (version "1.0.8")
(source
(origin
(method url-fetch)
(uri (cran-uri "Rcpp" version))
(sha256
- (base32 "07fwlgmx0ib4nziqbrylla2dlakw04vzny9w4qbfvnhn49rs9r8m"))))
+ (base32 "1vkqyqly6lzr1h3szaihmayvpjkzscxp4y258vnw8nh4pjb957w7"))))
(build-system r-build-system)
(home-page "http://www.rcpp.org")
(synopsis "Seamless R and C++ integration")
@@ -4291,14 +4311,14 @@ statistics/methods are implemented.")
(define-public r-suppdists
(package
(name "r-suppdists")
- (version "1.1-9.5")
+ (version "1.1-9.7")
(source
(origin
(method url-fetch)
(uri (cran-uri "SuppDists" version))
(sha256
(base32
- "1i3iq12a5x5k49ac01mikzcrrq9gc148xq3m08h4xm07bha6f2v8"))))
+ "025b9nlxz62wk84295csyzbncpn80i3iby3sxdigf3swcgi2fmbb"))))
(properties `((upstream-name . "SuppDists")))
(build-system r-build-system)
(home-page "https://cran.r-project.org/web/packages/SuppDists")
@@ -4396,13 +4416,13 @@ available in a vignette.")
(define-public r-progressr
(package
(name "r-progressr")
- (version "0.9.0")
+ (version "0.10.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "progressr" version))
(sha256
- (base32 "03sk5cv8cywahlszjkd8pfqmhbj6cv0j54d3lassa7h44f20zryg"))))
+ (base32 "1p5s35rzh28n2id2lipgyqmh3wzib66m7x0pz9028y8cql8xr5ac"))))
(properties `((upstream-name . "progressr")))
(build-system r-build-system)
(propagated-inputs
@@ -4488,18 +4508,20 @@ the Kaplan-Meier and Aalen-Johansen methods.")
(define-public r-dimred
(package
(name "r-dimred")
- (version "0.2.3")
+ (version "0.2.4")
(source
(origin
(method url-fetch)
(uri (cran-uri "dimRed" version))
(sha256
(base32
- "110d6y83ib1nfpxzmvkvb3fn3brskwkdbsk4dqrdrswrd4znxrg6"))))
+ "1534axd5gcwma3nbglrn0l2an53n3yyya30fqkgb4d8l124ygb7j"))))
(properties `((upstream-name . "dimRed")))
(build-system r-build-system)
(propagated-inputs
(list r-drr r-magrittr))
+ (native-inputs
+ (list r-knitr))
(home-page "https://github.com/gdkrmr/dimRed")
(synopsis "Framework for dimensionality reduction")
(description
@@ -4555,14 +4577,14 @@ dimensioned arrays.")
(define-public r-rmysql
(package
(name "r-rmysql")
- (version "0.10.22")
+ (version "0.10.23")
(source
(origin
(method url-fetch)
(uri (cran-uri "RMySQL" version))
(sha256
(base32
- "05hiwqakhz11kra24yyxrss8b8n32wg7k39j7hwdnvhh1n96scnl"))))
+ "05aavyggyjv46awa7ggbxlfcy9707vak5kh7kj0ljdx8zga7xb7l"))))
(properties `((upstream-name . "RMySQL")))
(build-system r-build-system)
(inputs
@@ -4816,14 +4838,14 @@ by base R methods related to model fitting.")
(define-public r-broom
(package
(name "r-broom")
- (version "0.7.10")
+ (version "0.7.11")
(source
(origin
(method url-fetch)
(uri (cran-uri "broom" version))
(sha256
(base32
- "0ks64xwkaqh5cinq8j56d89rn9kipm7cdipsgqmz9xxy7ajxb7qj"))))
+ "069fp8lscw59nmsm658w0164cpgfa36xx09s9j7jxisscg99jfcy"))))
(build-system r-build-system)
(propagated-inputs
(list r-backports
@@ -5142,14 +5164,14 @@ analysis of multiply imputed data sets.")
(define-public r-mice
(package
(name "r-mice")
- (version "3.13.0")
+ (version "3.14.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "mice" version))
(sha256
(base32
- "11cpyqlilakan2pwjzacb9jjlazazsqdngy237nnrj8j6mky822i"))))
+ "01fnfrr7adp29s5kic95r9q0rdznkz2pjmziyimnrqzyicyvfyzq"))))
(build-system r-build-system)
(propagated-inputs
(list r-broom
@@ -5159,7 +5181,8 @@ analysis of multiply imputed data sets.")
r-lattice
r-rcpp
r-rlang
- r-tidyr))
+ r-tidyr
+ r-withr))
(home-page "https://cran.r-project.org/web/packages/mice/")
(synopsis "Multivariate imputation by chained equations")
(description
@@ -5223,18 +5246,18 @@ programming} (SQP) based solver).")
(define-public r-hardyweinberg
(package
(name "r-hardyweinberg")
- (version "1.7.3")
+ (version "1.7.4")
(source
(origin
(method url-fetch)
(uri (cran-uri "HardyWeinberg" version))
(sha256
(base32
- "0ppkzbhrb83dj796pm6gn5ypsf1ql8d9b3fv47w63i0snkhxfiv4"))))
+ "11y3zg8aqxk5xdzsv7i3bgqkky6a0wgf2n8saa3a4adq75k328ib"))))
(properties `((upstream-name . "HardyWeinberg")))
(build-system r-build-system)
(propagated-inputs
- (list r-mice r-rcpp r-rsolnp))
+ (list r-mice r-nnet r-rcpp r-rsolnp))
(home-page "https://cran.r-project.org/package=HardyWeinberg")
(synopsis "Statistical tests and graphics for Hardy-Weinberg equilibrium")
(description
@@ -5275,13 +5298,13 @@ and density estimation")
(define-public r-venndiagram
(package
(name "r-venndiagram")
- (version "1.7.0")
+ (version "1.7.1")
(source (origin
(method url-fetch)
(uri (cran-uri "VennDiagram" version))
(sha256
(base32
- "1l9mmc8wwn885l2b13kshhrkz53pqigcw6d8gklvv92fx5m5cdvm"))))
+ "0yw54j9as0vf8ypnq4a3sl2w0lajri6s979f4y11hjzpgmr1m16b"))))
(properties `((upstream-name . "VennDiagram")))
(build-system r-build-system)
(propagated-inputs
@@ -5609,14 +5632,14 @@ plots in @code{ggplot2}.")
(define-public r-cli
(package
(name "r-cli")
- (version "3.1.0")
+ (version "3.1.1")
(source
(origin
(method url-fetch)
(uri (cran-uri "cli" version))
(sha256
(base32
- "04ff3bgsahi736s8l6a26zlwwil8jw4shx7bb56ah1pp1f1n22n7"))))
+ "1kslrx22djrs3wnf5xyligwy7h4hzsn5awl946x961fn980ydcy8"))))
(build-system r-build-system)
(propagated-inputs
(list r-glue))
@@ -5813,13 +5836,13 @@ iVAT).")
(define-public r-xfun
(package
(name "r-xfun")
- (version "0.28")
+ (version "0.29")
(source
(origin
(method url-fetch)
(uri (cran-uri "xfun" version))
(sha256
- (base32 "0civd050r94w2vwfx3xgz1w36wkwrkm5dscdv5kb3klbvqwy8nqb"))))
+ (base32 "1x2f49n3ak85nab937wq6q5sqi1mdlfzwbv8603kxl2k8rxvp1dz"))))
(build-system r-build-system)
;; knitr itself depends on xfun
#;
@@ -5983,14 +6006,14 @@ packages that work with genomic data.")
(define-public r-tinytex
(package
(name "r-tinytex")
- (version "0.35")
+ (version "0.36")
(source
(origin
(method url-fetch)
(uri (cran-uri "tinytex" version))
(sha256
(base32
- "04ng34kfds2isz4j9ch1xlii0dfclqay9fsc6wvr6sfifzv9fqyk"))))
+ "0y1vfq89yi302cwdcnassm02dk14j9ivk5vf83fp6rb8h6ww3rk5"))))
(build-system r-build-system)
(propagated-inputs
(list r-xfun))
@@ -6205,14 +6228,14 @@ of these tests are also included.")
(define-public r-ttr
(package
(name "r-ttr")
- (version "0.24.2")
+ (version "0.24.3")
(source
(origin
(method url-fetch)
(uri (cran-uri "TTR" version))
(sha256
(base32
- "06vicgbhwpsww09hhha5mbcd0cwip6cvkfbhjjhp950rv64bk1r5"))))
+ "11xsmbvmxq2j119j2z58bx1fkkb2xlhmzc35z5fbwr3nchrfz6jd"))))
(properties `((upstream-name . "TTR")))
(build-system r-build-system)
(propagated-inputs
@@ -6224,6 +6247,205 @@ of these tests are also included.")
rules with R.")
(license license:gpl2)))
+(define-public r-leaflet-providers
+ (package
+ (name "r-leaflet-providers")
+ (version "1.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "leaflet.providers" version))
+ (sha256
+ (base32 "0yynrwv4xd5cdh49cwvfxm4ranarah9iiry2cd3b4fiihdfcg3wy"))))
+ (properties `((upstream-name . "leaflet.providers")))
+ (build-system r-build-system)
+ (home-page "https://github.com/rstudio/leaflet.providers")
+ (synopsis "Leaflet map tile providers")
+ (description
+ "This package contains third-party map tile provider information from
+Leaflet.js, to be used with the @code{leaflet} R package. Additionally,
+@code{leaflet.providers} enables users to retrieve up-to-date provider
+information between package updates.")
+ (license license:bsd-2)))
+
+;; This package contains a lot of minified JavaScript with unclear provenance.
+;; When upgrading please make sure that all minified JavaScript files are
+;; removed in a snippet and that the replacement sources correspond to the
+;; original minified scripts.
+(define-public r-leaflet
+ (package
+ (name "r-leaflet")
+ (version "2.0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "leaflet" version))
+ (sha256
+ (base32 "07whi3zkz1lmbqx5ydpiya802ck22ny0s7gskwnx7r8xbwlkiw5h"))
+ (snippet
+ '(for-each
+ delete-file
+ (list "inst/htmlwidgets/lib/leaflet/leaflet.js"
+ "inst/htmlwidgets/lib/leaflet-measure/leaflet-measure.min.js"
+ "inst/htmlwidgets/lib/leaflet-omnivore/leaflet-omnivore.min.js"
+ "inst/htmlwidgets/lib/jquery/jquery.min.js"
+ "inst/htmlwidgets/plugins/Leaflet-MiniMap/Control.MiniMap.min.js"
+ "inst/htmlwidgets/plugins/Leaflet.awesome-markers/bootstrap.min.js"
+ "inst/htmlwidgets/plugins/Leaflet.awesome-markers/leaflet.awesome-markers.min.js"
+ "inst/htmlwidgets/plugins/Leaflet.markercluster/leaflet.markercluster.js"
+ "inst/htmlwidgets/plugins/Leaflet.markercluster/leaflet.markercluster.freezable.js"
+ "inst/htmlwidgets/plugins/Leaflet.markercluster/leaflet.markercluster.layersupport.js"
+ "inst/legacy/www/leaflet.js")))))
+ (properties `((upstream-name . "leaflet")))
+ (build-system r-build-system)
+ (arguments
+ `(#:modules ((guix build utils)
+ (guix build r-build-system)
+ (srfi srfi-1))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'process-javascript
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; The inst directory contains some minified JavaScript files.
+ ;; Regenerate them from sources.
+ (invoke "unzip" "-d" "/tmp" (assoc-ref inputs "js-leaflet"))
+ (with-directory-excursion "inst/"
+ (call-with-values
+ (lambda ()
+ (unzip2
+ `(("/tmp/leaflet-src.js"
+ "htmlwidgets/lib/leaflet/leaflet.js")
+ (,(assoc-ref inputs "js-leaflet-measure")
+ "htmlwidgets/lib/leaflet-measure/leaflet-measure.min.js")
+ (,(assoc-ref inputs "js-leaflet-omnivore")
+ "htmlwidgets/lib/leaflet-omnivore/leaflet-omnivore.min.js")
+ (,(assoc-ref inputs "js-jquery")
+ "htmlwidgets/lib/jquery/jquery.min.js")
+ ("htmlwidgets/plugins/Leaflet-MiniMap/Control.MiniMap.js"
+ "htmlwidgets/plugins/Leaflet-MiniMap/Control.MiniMap.min.js")
+ (,(assoc-ref inputs "js-bootstrap3")
+ "htmlwidgets/plugins/Leaflet.awesome-markers/bootstrap.min.js")
+ ("htmlwidgets/plugins/Leaflet.awesome-markers/leaflet.awesome-markers.js"
+ "htmlwidgets/plugins/Leaflet.awesome-markers/leaflet.awesome-markers.min.js")
+ (,(string-append (assoc-ref inputs "js-leaflet-markercluster")
+ "/dist/leaflet.markercluster-src.js")
+ "htmlwidgets/plugins/Leaflet.markercluster/leaflet.markercluster.js")
+ (,(assoc-ref inputs "js-leaflet-markercluster-freezable")
+ "htmlwidgets/plugins/Leaflet.markercluster/leaflet.markercluster.freezable.js")
+ (,(assoc-ref inputs "js-leaflet-markercluster-layersupport")
+ "htmlwidgets/plugins/Leaflet.markercluster/leaflet.markercluster.layersupport.js")
+ (,(assoc-ref inputs "js-proj4leaflet")
+ "htmlwidgets/plugins/Proj4Leaflet/proj4.min.js")
+ ("legacy/www/leaflet-src.js"
+ "legacy/www/leaflet.js"))))
+ (lambda (sources targets)
+ (for-each (lambda (source target)
+ (format #true "Processing ~a --> ~a~%"
+ source target)
+ (invoke "esbuild" source "--minify"
+ (string-append "--outfile=" target)))
+ sources targets)))))))))
+ (native-inputs
+ `(("esbuild" ,esbuild)
+ ("unzip" ,unzip)
+ ("js-bootstrap3"
+ ,(origin
+ (method url-fetch)
+ (uri "https://raw.githubusercontent.com/twbs/bootstrap/v3.3.7/dist/js/bootstrap.js")
+ (sha256
+ (base32
+ "1j1qjagwj0m3q322z9wxxnpkd8zbk6g3kl047dsbmqad6gmqvgha"))))
+ ("js-jquery"
+ ,(origin
+ (method url-fetch)
+ (uri "https://code.jquery.com/jquery-1.12.4.js")
+ (sha256
+ (base32
+ "0x9mrc1668icvhpwzvgafm8xm11x9lfai9nwr66aw6pjnpwkc3s3"))))
+ ("js-leaflet"
+ ,(origin
+ (method url-fetch)
+ (uri "http://cdn.leafletjs.com/leaflet/v1.3.1/leaflet.zip")
+ (sha256
+ (base32
+ "10phzd2vczy3zm1b64whp2nna69cf9hlj2bndc9yq47vf3ddqx8f"))))
+ ("js-leaflet-omnivore"
+ ,(origin
+ (method url-fetch)
+ (uri (string-append "https://api.tiles.mapbox.com/mapbox.js/plugins/"
+ "leaflet-omnivore/v0.3.1/leaflet-omnivore.js"))
+ (sha256
+ (base32
+ "1b8zxrp6xwzpw25apn8j4qws0f6sr7qr7h2va5h1mjyfqvn29anq"))))
+ ("js-leaflet-markercluster"
+ ,(origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Leaflet/Leaflet.markercluster.git")
+ (commit "v1.1.0")))
+ (file-name (git-file-name "js-leaflet-markercluster" "1.1.0"))
+ (sha256
+ (base32
+ "0ds8c7picqjmc86bm5n6hm8k71fwsa2cpgib19sbdamzr9hm0rs1"))))
+ ("js-leaflet-markercluster-freezable"
+ ,(origin
+ (method url-fetch)
+ (uri (string-append
+ "https://raw.githubusercontent.com/ghybs/Leaflet.MarkerCluster.Freezable/"
+ "9db80a3fba7dff4aee940e05d3d4dceaa1fffcf9/src/freezable.js"))
+ (file-name "leaflet-markercluster-freezable.js")
+ (sha256
+ (base32
+ "1k6sn5n0z2x3an91vwvkzmqq4b8ppswgk5hi5qrr79klas1hbx1k"))))
+ ("js-leaflet-markercluster-layersupport"
+ ,(origin
+ (method url-fetch)
+ (uri (string-append
+ "https://raw.githubusercontent.com/ghybs/Leaflet.MarkerCluster.LayerSupport/"
+ "87f3848b92e0516d9c98f6d4cd175f7b8a4e3805/src/layersupport.js"))
+ (file-name "leaflet-markercluster-layersupport.js")
+ (sha256
+ (base32
+ "15qa21xif94y762c65yxxysxykz3mma6y6agw3nxpr3s7wbb75ff"))))
+ ("js-leaflet-measure"
+ ,(origin
+ (method url-fetch)
+ (uri "https://unpkg.com/leaflet-measure@1.5.2/dist/leaflet-measure.js")
+ (file-name "js-leaflet-measure-1.5.2.js")
+ (sha256
+ (base32
+ "0ggg3ffmm7pj9ry4gssrh0a17pnad3p6gwi0dg98y819pmpqa7y0"))))
+ ("js-proj4leaflet"
+ ,(origin
+ (method url-fetch)
+ (uri "https://raw.githubusercontent.com/kartena/Proj4Leaflet/1.0.2/lib/proj4.js")
+ (file-name "js-proj4leaflet-1.0.2.js")
+ (sha256
+ (base32
+ "0vyrbf6gv2lyh4c2bzp5349ivwvvg28gpn87y52a7jdb13rlkpab"))))))
+ (propagated-inputs
+ (list r-base64enc
+ r-crosstalk
+ r-htmltools
+ r-htmlwidgets
+ r-leaflet-providers
+ r-magrittr
+ r-markdown
+ r-png
+ r-raster
+ r-rcolorbrewer
+ r-scales
+ r-sp
+ r-viridis))
+ (home-page "https://rstudio.github.io/leaflet/")
+ (synopsis "Create interactive web maps with the JavaScript Leaflet library")
+ (description
+ "Create and customize interactive maps using the Leaflet JavaScript
+library and the @code{htmlwidgets} package. These maps can be used directly
+from the R console, from RStudio, in Shiny applications and R Markdown
+documents.")
+ (license license:gpl3)))
+
(define-public r-leaps
(package
(name "r-leaps")
@@ -7030,7 +7252,7 @@ It also includes interpolation functions.")
(build-system r-build-system)
(propagated-inputs (list r-proto))
(home-page "https://code.google.com/archive/p/gsubfn/")
- (synopsis "Utilities for strings and function arguments.")
+ (synopsis "Utilities for strings and function arguments")
(description
"This package provides @code{gsubfn} which is like @code{gsub} but can
take a replacement function or certain other objects instead of the
@@ -7282,14 +7504,14 @@ evaluated by the @dfn{Akaike Information Criterion} (AIC).")
(define-public r-arules
(package
(name "r-arules")
- (version "1.7-1")
+ (version "1.7-3")
(source
(origin
(method url-fetch)
(uri (cran-uri "arules" version))
(sha256
(base32
- "0zzwr1mg92ha5l6razdb04da8ik3z3k74rm0rah44l1j2a6d30sk"))))
+ "05g6ik4z87g83nlicmb380331f84sqchvv1vch49zb7rq6v8gw6r"))))
(build-system r-build-system)
(propagated-inputs
(list r-generics r-matrix))
@@ -7395,14 +7617,14 @@ additional external tools on any platform.")
(define-public r-openxlsx
(package
(name "r-openxlsx")
- (version "4.2.4")
+ (version "4.2.5")
(source
(origin
(method url-fetch)
(uri (cran-uri "openxlsx" version))
(sha256
(base32
- "0vn8ifxb7ccip6b1ijf5lpa6c0n5y5ll8fbabybsb8nfc0y1nmxg"))))
+ "0695b265g7jwiqk5c3vmmfkvagx82bkpwhvqzhqaqmmn34l6vl35"))))
(build-system r-build-system)
(propagated-inputs
(list r-rcpp r-stringi r-zip))
@@ -7713,14 +7935,14 @@ finance, conversion from and to JSON, and many other applications.")
(define-public r-dtplyr
(package
(name "r-dtplyr")
- (version "1.1.0")
+ (version "1.2.1")
(source
(origin
(method url-fetch)
(uri (cran-uri "dtplyr" version))
(sha256
(base32
- "0cn7vxn92dcxrnabccla6ppf5x7pxfz6pjlmamp0imfphmr1ns4r"))))
+ "1wyhhn16mvdj55k2xsh7vy489l7xk4mkz7pjrw16z87awk6yjh16"))))
(properties `((upstream-name . "dtplyr")))
(build-system r-build-system)
(propagated-inputs
@@ -7876,14 +8098,14 @@ those searches and pull data into their R sessions.")
(define-public r-renv
(package
(name "r-renv")
- (version "0.14.0")
+ (version "0.15.1")
(source
(origin
(method url-fetch)
(uri (cran-uri "renv" version))
(sha256
(base32
- "194hcxikdnna526bvyz9y60ccmmm9fib5g0w9dqivrg0fld23lyh"))))
+ "0nwvdzwyjvqlvkwp1yhhvqm8b9pwimwng99s0m0j63zm9bgwis1n"))))
(properties `((upstream-name . "renv")))
(build-system r-build-system)
(native-inputs
@@ -7993,14 +8215,14 @@ always locate the files relative to your project root.")
(define-public r-reticulate
(package
(name "r-reticulate")
- (version "1.22")
+ (version "1.23")
(source
(origin
(method url-fetch)
(uri (cran-uri "reticulate" version))
(sha256
(base32
- "0v7m2pv94lfqiw8rhz3c9g66vvz4qvih4vd29rhfk2phmcwpnvmh"))))
+ "1mindiw7k7pa33hpwrgq0g5808c8qs9hl0351n8z2w9wyczlm87y"))))
(build-system r-build-system)
(inputs (list python))
(propagated-inputs
@@ -8010,6 +8232,7 @@ always locate the files relative to your project root.")
r-png
r-rappdirs
r-rcpp
+ r-rcpptoml
r-withr))
(native-inputs
(list r-knitr))
@@ -8311,14 +8534,14 @@ steps and provides ggplot2-based elegant data visualization.")
(define-public r-fansi
(package
(name "r-fansi")
- (version "0.5.0")
+ (version "1.0.2")
(source
(origin
(method url-fetch)
(uri (cran-uri "fansi" version))
(sha256
(base32
- "0kx5kjhr8dvqz1mq1zkijkgp29jv8b0irm1xplx1d74n2v1zh6wx"))))
+ "0mxm06png4lrl5gy5giws5dgig2faryang8y0wcvwfk120pczqni"))))
(build-system r-build-system)
(native-inputs
(list r-knitr)) ; for vignettes
@@ -8469,14 +8692,14 @@ hierarchical models using Markov Chain Monte Carlo (MCMC) simulation.")
(define-public r-rbibutils
(package
(name "r-rbibutils")
- (version "2.2.4")
+ (version "2.2.7")
(source
(origin
(method url-fetch)
(uri (cran-uri "rbibutils" version))
(sha256
(base32
- "15yyihk0dgz3yyqz28r5nc6m99zcywpabnabf18phbs7rb87p7mv"))))
+ "1iamdbww3hvxy0bbywc307kyhiczx0bvfhw7nngsm33balcng7kw"))))
(properties `((upstream-name . "rbibutils")))
(build-system r-build-system)
(home-page "https://geobosh.github.io/rbibutils/")
@@ -8491,14 +8714,14 @@ implemented in bibutils.")
(define-public r-rdpack
(package
(name "r-rdpack")
- (version "2.1.2")
+ (version "2.1.3")
(source
(origin
(method url-fetch)
(uri (cran-uri "Rdpack" version))
(sha256
(base32
- "0s51c5fw1ka75b8cxk5bh27h6wcy5169yl93sjlxji2k27n9fj3i"))))
+ "1f2m9pxm4s4gkrqh58jznkqj2fcw6f29c1l05k5mmkwsdf3ai0c3"))))
(properties `((upstream-name . "Rdpack")))
(build-system r-build-system)
(propagated-inputs
@@ -8735,14 +8958,14 @@ other add-on packages.")
(define-public r-insight
(package
(name "r-insight")
- (version "0.14.5")
+ (version "0.15.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "insight" version))
(sha256
(base32
- "10kc72g2hfsiipba4kalda1wxsb01nq2ax2yim386bkk0vjszwfx"))))
+ "1vizx515a24v5x4f5mzbigl0wl4gz75hp5gqw8lkijygw71li8fn"))))
(build-system r-build-system)
(native-inputs
(list r-knitr))
@@ -8789,14 +9012,14 @@ vice versa), or to deal with multiple declared missing values.")
(define-public r-sjmisc
(package
(name "r-sjmisc")
- (version "2.8.7")
+ (version "2.8.9")
(source
(origin
(method url-fetch)
(uri (cran-uri "sjmisc" version))
(sha256
(base32
- "17hcjb2j690qi2zrkwc14sr1wsid6dy6v7bfsf0bc94ql812k8g2"))))
+ "1gzkq95ckxr0vhrzggflzli9hs7zr8c0yym9zn1wf74yrr0mgc3q"))))
(build-system r-build-system)
(propagated-inputs
(list r-dplyr
@@ -8840,23 +9063,23 @@ hypothesis of normality.")
(define-public r-moonbook
(package
(name "r-moonbook")
- (version "0.2.4")
+ (version "0.3.1")
(source
(origin
(method url-fetch)
(uri (cran-uri "moonBook" version))
(sha256
(base32
- "0z78pzc8sr2g19xjdd9cmai4iqyifmh79gj8x40ddww6a27dalry"))))
+ "1ml4vvm0mvrprpyi0l50aw38brx18bk2qny4gybmkvlbakalz9bx"))))
(properties `((upstream-name . "moonBook")))
(build-system r-build-system)
(propagated-inputs
- (list r-magrittr
+ (list r-crayon
+ r-magrittr
r-nortest
r-sjmisc
r-stringr
- r-survival
- r-ztable))
+ r-survival))
(native-inputs
(list r-knitr))
(home-page "https://github.com/cardiomoon/moonBook")
@@ -9020,14 +9243,14 @@ matches version and feature constraints.")
(define-public r-argparse
(package
(name "r-argparse")
- (version "2.1.2")
+ (version "2.1.3")
(source
(origin
(method url-fetch)
(uri (cran-uri "argparse" version))
(sha256
(base32
- "1cz5qlxw3v8smd5vb00wlzy02mx5i0infm5hnq55hnakffd3b5wr"))))
+ "0vm6nrzl6rsq2qw3km3i4s92kq9phs3cbxzv3i8hlyld9ajk3nmf"))))
(build-system r-build-system)
(inputs (list python))
(propagated-inputs
@@ -9306,13 +9529,13 @@ the analyzed items.")
(define-public r-slam
(package
(name "r-slam")
- (version "0.1-49")
+ (version "0.1-50")
(source
(origin
(method url-fetch)
(uri (cran-uri "slam" version))
(sha256
- (base32 "044hnfqbx57v5zr64gl09b5arj45swn9ywqzrl9rsc8267ys0028"))))
+ (base32 "1ggqcf8l1z2hpi7qy4mg0d2ps48bjjb8z1y1xz6fq162cqrbz6bq"))))
(build-system r-build-system)
(home-page "https://cran.r-project.org/web/packages/slam/")
(synopsis "Sparse lightweight arrays and matrices")
@@ -9426,14 +9649,14 @@ from the @code{stats} package (plus some extra parameters).")
(define-public r-cmplot
(package
(name "r-cmplot")
- (version "3.7.0")
+ (version "4.0.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "CMplot" version))
(sha256
(base32
- "0d6ww8pdrawdg5acbhiyi2jpmapf2ghixy9mi4kmsq8yg36pksfh"))))
+ "0xyh75y0c84nnkrv6c8xrvla54w51phgdwn8a69799f2r87z7c81"))))
(properties `((upstream-name . "CMplot")))
(build-system r-build-system)
(home-page "https://github.com/YinLiLin/CMplot")
@@ -9527,7 +9750,7 @@ through permutation testing.")
(home-page "http://mbojan.github.io/intergraph")
(synopsis "Coercion routines for network data objects")
(description
- "Functions implemented in this package allow to coerce (i.e. convert)
+ "Functions implemented in this package allow coercing (i.e. convert)
network data between classes provided by other R packages. Currently
supported classes are those defined in packages @code{network} and
@code{igraph}.")
@@ -9680,14 +9903,14 @@ ggplot2 package.")
(define-public r-cvauc
(package
(name "r-cvauc")
- (version "1.1.0")
+ (version "1.1.4")
(source
(origin
(method url-fetch)
(uri (cran-uri "cvAUC" version))
(sha256
(base32
- "13bk97l5nn97h85iz93zxazhr63n21nwyrpnl856as9qp59yvn64"))))
+ "1m2y50a1yapf1c74km9a4r47ds2z2bfp4wwwkqin7swv9v1s7d28"))))
(properties `((upstream-name . "cvAUC")))
(build-system r-build-system)
(propagated-inputs
@@ -9917,7 +10140,7 @@ subsequence} (LCS) using a dynamic programming algorithm.")
(description
"This package provides useful functions to deal with the
@code{haven_labelled} and @code{haven_labelled_spss} classes introduced by the
-haven package. ")
+haven package.")
(license license:gpl3)))
(define-public r-ggformula
@@ -9976,14 +10199,14 @@ used to teach mathematics, statistics, computation and modeling.")
(define-public r-raster
(package
(name "r-raster")
- (version "3.5-2")
+ (version "3.5-11")
(source
(origin
(method url-fetch)
(uri (cran-uri "raster" version))
(sha256
(base32
- "0wixw1ixnmcmkwczpj8m90c76727zira2rl4ighashggydkm2mlr"))))
+ "18v1vflq15915dwa3caf5sp1d1kp8w6plpaqk3z6a3164lwq5i76"))))
(build-system r-build-system)
(propagated-inputs
(list r-rcpp r-sp r-terra))
@@ -10013,16 +10236,19 @@ Processing of very large files is supported.")
r-ggformula
r-ggplot2
r-ggrepel
+ r-ggridges
+ r-ggstance
r-glue
r-gridextra
r-lattice
r-latticeextra
- r-lazyeval
+ r-leaflet
r-mass
r-matrix
r-mosaiccore
r-mosaicdata
r-readr
+ r-rlang
r-tidyr))
(native-inputs
(list r-knitr))
@@ -10784,16 +11010,16 @@ estimation problem.")
(define-public r-abundant
(package
(name "r-abundant")
- (version "1.1")
+ (version "1.2")
(source
(origin
(method url-fetch)
(uri (cran-uri "abundant" version))
(sha256
- (base32 "1m76qdmqvwpgm0sihazi2dna7cgsz9rljal18vgffb5wamwmg9k7"))))
+ (base32 "15m3ngj5aipjg961yy5kvdg9xlfcpliw30dq6gchzxabhnfzcipd"))))
(build-system r-build-system)
(propagated-inputs
- (list r-quic))
+ (list r-glasso))
(home-page "https://cran.r-project.org/web/packages/abundant/")
(synopsis "Abundant regression and high-dimensional principal fitted components")
(description
@@ -10970,14 +11196,14 @@ packages maintained by Torsten Hothorn.")
(define-public r-multcomp
(package
(name "r-multcomp")
- (version "1.4-17")
+ (version "1.4-18")
(source
(origin
(method url-fetch)
(uri (cran-uri "multcomp" version))
(sha256
(base32
- "02zv739mbmx672yrqqx8am229h7ps476wphig7jrrbfgay29sl21"))))
+ "01i8gjppyxl3xph1dw0kags8qbb7r06j91kk3lkqn5gzrxjmwyhh"))))
(build-system r-build-system)
(propagated-inputs
(list r-codetools r-mvtnorm r-sandwich r-survival r-th-data))
@@ -10991,17 +11217,38 @@ analyzes presented in the book \"Multiple Comparisons Using R\" (Bretz,
Hothorn, Westfall, 2010, CRC Press).")
(license license:gpl2)))
+(define-public r-multcompview
+ (package
+ (name "r-multcompview")
+ (version "0.1-8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "multcompView" version))
+ (sha256
+ (base32 "1rfq9wvvrghq0542ff40wy8vdmsyd8spzz6ihcywcvxdfa8m6g8j"))))
+ (properties `((upstream-name . "multcompView")))
+ (build-system r-build-system)
+ (home-page "https://cran.r-project.org/package=multcompView")
+ (synopsis "Visualizations of paired comparisons")
+ (description
+ "Convert a logical vector or a vector of p-values or a correlation,
+difference, or distance matrix into a display identifying the pairs for which
+the differences were not significantly different.")
+ ;; Any version of the GPL.
+ (license license:gpl3+)))
+
(define-public r-emmeans
(package
(name "r-emmeans")
- (version "1.7.0")
+ (version "1.7.2")
(source
(origin
(method url-fetch)
(uri (cran-uri "emmeans" version))
(sha256
(base32
- "1ig94mjifhhygznv2xv1gl8hdvk618w5fcmkaj1xmpwpc64m9dnl"))))
+ "1g112yvqvxi83x128hwz4qpifwihlm0y5szg82cdsx3c9cm1rrfk"))))
(build-system r-build-system)
(propagated-inputs
(list r-estimability r-mvtnorm r-numderiv r-xtable))
@@ -11306,14 +11553,14 @@ results using @code{ggplot2}.")
(define-public r-effectsize
(package
(name "r-effectsize")
- (version "0.5")
+ (version "0.6.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "effectsize" version))
(sha256
(base32
- "0w7m3hzmwral9cycpvknrkbdvgk230b3vg5sxbm84x72mw534hnh"))))
+ "0xhibc868sngkc8v9g385vlhqdqxzy6b4mj1jihjy6wvk9jw266s"))))
(properties `((upstream-name . "effectsize")))
(build-system r-build-system)
(propagated-inputs
@@ -11332,13 +11579,13 @@ conversion of indices such as Cohen's d, r, odds, etc.")
(define-public r-sjplot
(package
(name "r-sjplot")
- (version "2.8.9")
+ (version "2.8.10")
(source
(origin
(method url-fetch)
(uri (cran-uri "sjPlot" version))
(sha256
- (base32 "07b9p5wbb6xmyapg9j6i4cdcj7j9wj9gi30gljj6j2lj1flgdd7q"))))
+ (base32 "1rnwhh271xj8xgvvlpqw9ain56mfz37fvl7f6jq9nzx9jxx95bjd"))))
(properties `((upstream-name . "sjPlot")))
(build-system r-build-system)
(propagated-inputs
@@ -11445,14 +11692,14 @@ repositories.")
(define-public r-fs
(package
(name "r-fs")
- (version "1.5.0")
+ (version "1.5.2")
(source
(origin
(method url-fetch)
(uri (cran-uri "fs" version))
(sha256
(base32
- "15rqc3ljmcmgfvadj1j1kq7kvibagxic8sgplhlcdqqxax9idprn"))))
+ "11qr3v0xn65vfhgcxl4l6yv48s4w0w3ldp3anpzc25vd3mwd3jim"))))
(build-system r-build-system)
(native-inputs
(list r-knitr))
@@ -11486,14 +11733,14 @@ terminals that do not support Unicode.")
(define-public r-credentials
(package
(name "r-credentials")
- (version "1.3.1")
+ (version "1.3.2")
(source
(origin
(method url-fetch)
(uri (cran-uri "credentials" version))
(sha256
(base32
- "0q3s1bibwvw1p541k8a5cjx4dj1iabl4crg61fgjxkniclxag5c7"))))
+ "1f18j3zrq8c9kah57xwahmmljsjg5qphlgamvx507ynvpq8pryig"))))
(properties `((upstream-name . "credentials")))
(build-system r-build-system)
(arguments
@@ -11502,10 +11749,9 @@ terminals that do not support Unicode.")
(add-after 'unpack 'setenv-HOME
(lambda _
;; This is necessary because git looks for $HOME/.gitconfig
- (setenv "HOME" "/tmp")
- #t)))))
+ (setenv "HOME" "/tmp"))))))
(inputs
- `(("git" ,git-minimal)))
+ (list git-minimal))
(propagated-inputs
(list r-askpass r-curl r-jsonlite r-openssl r-sys))
(native-inputs
@@ -11526,14 +11772,14 @@ user credentials.")
(define-public r-gert
(package
(name "r-gert")
- (version "1.4.3")
+ (version "1.5.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "gert" version))
(sha256
(base32
- "06g3gy4260y4f43zgahamckisjs8dvl06rb0kyinrwlm675dqppm"))))
+ "1bm2fjyh527y6x0dr5cs8h31jgl1fkk09ljzj1h37d0c7f4k1hwz"))))
(properties `((upstream-name . "gert")))
(build-system r-build-system)
(inputs
@@ -11560,14 +11806,14 @@ User credentials are shared with command line git through the
(define-public r-usethis
(package
(name "r-usethis")
- (version "2.1.3")
+ (version "2.1.5")
(source
(origin
(method url-fetch)
(uri (cran-uri "usethis" version))
(sha256
(base32
- "1gwvirp53pa0zychd7d47d56a2vfdzz7l3p61l8m9n270ac7bc1d"))))
+ "0lph2rxv7nq3h022gp8d50wbq5lwicnx85d2l5dx876wxhb9wlvx"))))
(build-system r-build-system)
(propagated-inputs
(list r-cli
@@ -11601,14 +11847,14 @@ Rcpp, RStudio projects, and more.")
(define-public r-sessioninfo
(package
(name "r-sessioninfo")
- (version "1.2.1")
+ (version "1.2.2")
(source
(origin
(method url-fetch)
(uri (cran-uri "sessioninfo" version))
(sha256
(base32
- "0w3vhp652524348a4cfyvvs8z9xpxkcznw8x406nvkwfh0gdyka2"))))
+ "1jy7n37qnrb4fgzmn8s8yf7kv29yw27x8zklwf8qdb2kgj2q6qpm"))))
(build-system r-build-system)
(propagated-inputs
(list r-cli))
@@ -11623,14 +11869,14 @@ more information about packages, and where they were installed from.")
(define-public r-remotes
(package
(name "r-remotes")
- (version "2.4.1")
+ (version "2.4.2")
(source
(origin
(method url-fetch)
(uri (cran-uri "remotes" version))
(sha256
(base32
- "0xij8x4ga0r7rp2lxx9hw1zlzv48mfg56v8nf03gsw0dw6r7gmym"))))
+ "05m5dgv0nba5vhjbdkd8z5lbhpfxgkw31j58am7vz1d44igqgvzj"))))
(build-system r-build-system)
(native-inputs
(list r-knitr))
@@ -12154,14 +12400,14 @@ package provides a minimal R interface by relying on the Rcpp package.")
(define-public r-rcppparallel
(package
(name "r-rcppparallel")
- (version "5.1.4")
+ (version "5.1.5")
(source
(origin
(method url-fetch)
(uri (cran-uri "RcppParallel" version))
(sha256
(base32
- "10pa9vaz7p4m6hjca2cpy6vj7rvgly4zv0q1g2xfsmcchyk4bdbn"))))
+ "1sn211ajlb1p12sglxqns175rg078yvww268m8cp0vvd7cmk55k3"))))
(properties `((upstream-name . "RcppParallel")))
(build-system r-build-system)
(home-page "https://rcppcore.github.io/RcppParallel/")
@@ -12177,14 +12423,14 @@ other values.")
(define-public r-ncdf4
(package
(name "r-ncdf4")
- (version "1.17.1")
+ (version "1.19")
(source
(origin
(method url-fetch)
(uri (cran-uri "ncdf4" version))
(sha256
(base32
- "1fyjhp2zkvp7ls1sxn623far7473lpkfsqqvj3a1fczpmqs6iw4m"))))
+ "0qzvin2fjzcb7h2knlnw14s6043pwi1nm7yf6p27ax7w269173fb"))))
(build-system r-build-system)
(inputs
(list netcdf zlib))
@@ -12305,13 +12551,13 @@ isosurfaces.")
(define-public r-ks
(package
(name "r-ks")
- (version "1.13.2")
+ (version "1.13.3")
(source
(origin
(method url-fetch)
(uri (cran-uri "ks" version))
(sha256
- (base32 "02gnpyjqdlj6dl2x9i7mmks4f5nrh85j3h0kfa0v1v6wi8blx7kw"))))
+ (base32 "0wyfdmhr753vpizns9kl7h7pfnnb16c7m7w9a4bpz62xcvgq1yyy"))))
(build-system r-build-system)
(propagated-inputs
(list r-fnn
@@ -12458,14 +12704,14 @@ for evolution along a phylogenetic tree.")
(define-public r-fmsb
(package
(name "r-fmsb")
- (version "0.7.1")
+ (version "0.7.2")
(source
(origin
(method url-fetch)
(uri (cran-uri "fmsb" version))
(sha256
(base32
- "09pq7p7i6vkq9av7l7x9hicl9sqh7xn96f9pac117hy6z852jvi2"))))
+ "1ylwj4385wg7rymx0m3kayyvrbil89wxb7phdl0fvi0xq2krkzhb"))))
(build-system r-build-system)
(home-page "http://minato.sip21c.org/msb/")
(synopsis "Functions for medical statistics book with demographic data")
@@ -12539,6 +12785,31 @@ Anderson-Darling Distribution\".")
;; Any version of the GPL.
(license license:gpl3+)))
+(define-public r-admisc
+ (package
+ (name "r-admisc")
+ (version "0.22")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "admisc" version))
+ (sha256
+ (base32 "1jwz9z3brq4lbnqrkxx40vrn47rknkkj4xfv2gi8kmf1mzc5aqcd"))))
+ (properties `((upstream-name . "admisc")))
+ (build-system r-build-system)
+ (home-page "https://github.com/dusadrian/admisc")
+ (synopsis "Adrian Dusa's miscellaneous")
+ (description
+ "This package contains miscellaneous functions used to interpret and
+translate, factorize and negate Sum of Products expressions, for both binary
+and multi-value crisp sets, and to extract information (set names, set values)
+from those expressions. Other functions perform various other checks if
+possibly numeric (even if all numbers reside in a character vector) and coerce
+to numeric, or check if the numbers are whole. It also offers, among many
+others, a highly flexible recoding routine and a more flexible alternative to
+the base function @code{with()}.")
+ (license license:gpl3+)))
+
(define-public r-sodium
(package
(name "r-sodium")
@@ -12758,13 +13029,13 @@ maps.")
(define-public r-tidytree
(package
(name "r-tidytree")
- (version "0.3.6")
+ (version "0.3.7")
(source
(origin
(method url-fetch)
(uri (cran-uri "tidytree" version))
(sha256
- (base32 "1gnpm4zz0kvqng5s179301q0h5993ajynm8y0zbdz38qcmzfpsdk"))))
+ (base32 "1wp411lf3syf0g1czhx3ksb4mx5d6vaw6ppipv0s0k69ivag45kq"))))
(build-system r-build-system)
(propagated-inputs
(list r-ape
@@ -14138,13 +14409,13 @@ This makes it a convenient and fast interface to C/C++ and Fortran code.")
(define-public r-spam
(package
(name "r-spam")
- (version "2.7-0")
+ (version "2.8-0")
(source
(origin
(method url-fetch)
(uri (cran-uri "spam" version))
(sha256
- (base32 "03c50wfyrzcmrcv9mkgj8dmdg2cwkh4p4ys8gaclr8w7ym45qav3"))))
+ (base32 "1ann2a2ifr3z983fcg1c0pkgmbxz6a0ym5q1dmq1r382bd1pg0fr"))))
(build-system r-build-system)
(propagated-inputs
(list r-dotcall64))
@@ -14420,13 +14691,13 @@ But it can also be used to do data analysis for small scale data sets.")
(define-public r-cmprsk
(package
(name "r-cmprsk")
- (version "2.2-10")
+ (version "2.2-11")
(source
(origin
(method url-fetch)
(uri (cran-uri "cmprsk" version))
(sha256
- (base32 "1xnx2zanw548prxsw2zw5cddkkg6kj97jgyzw67achq5mnsvfbg8"))))
+ (base32 "050f24l5ab1ds9824c7yjahimf6pg8ih2k83jzpzfb0n5k5jfh44"))))
(build-system r-build-system)
(propagated-inputs
(list r-survival))
@@ -14649,14 +14920,14 @@ them in distributed compute environments.")
(define-public r-parallelly
(package
(name "r-parallelly")
- (version "1.29.0")
+ (version "1.30.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "parallelly" version))
(sha256
(base32
- "0a84lr2jqqnvmdayb9v9kv7m8rffp65s4s1wcalr96sl3cxypyc7"))))
+ "0fwzkzw9vjblwk5rg56yl8qfn7irnbpm70405lmj7awvf35q1c5a"))))
(properties `((upstream-name . "parallelly")))
(build-system r-build-system)
(home-page "https://github.com/HenrikBengtsson/parallelly")
@@ -15057,14 +15328,14 @@ users of rARPACK are advised to switch to the RSpectra package.")
(define-public r-compositions
(package
(name "r-compositions")
- (version "2.0-2")
+ (version "2.0-4")
(source
(origin
(method url-fetch)
(uri (cran-uri "compositions" version))
(sha256
(base32
- "05pji62pzgfk9dyiybmr16q0h6mdzsmvyzxdni3hn0dvl4a7mr5m"))))
+ "1bqg0qqzsf92q0jb7hdjycr54bwv8rk7ajhvxgch5yslyqxpm73v"))))
(build-system r-build-system)
(propagated-inputs
(list r-bayesm r-mass r-robustbase r-tensora))
@@ -15154,17 +15425,17 @@ transformation, respectively.")
(define-public r-shinyjs
(package
(name "r-shinyjs")
- (version "2.0.0")
+ (version "2.1.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "shinyjs" version))
(sha256
(base32
- "1zzq356dvd8ciajy6r5n4ybgx9xk7ydwv25j86xlcsqznkxdkkf2"))))
+ "1id9gsrkr28xl80a8794in17rxmmz06zqvd5hlns7mqz3fzhrhky"))))
(build-system r-build-system)
(propagated-inputs
- (list r-digest r-htmltools r-jsonlite r-shiny))
+ (list r-digest r-jsonlite r-shiny))
(native-inputs
(list r-knitr))
(home-page "https://deanattali.com/shinyjs")
@@ -15540,14 +15811,14 @@ compatible with @code{rzmq} are also provided.")
(define-public r-repr
(package
(name "r-repr")
- (version "1.1.3")
+ (version "1.1.4")
(source
(origin
(method url-fetch)
(uri (cran-uri "repr" version))
(sha256
(base32
- "0qimllv9pn8wsl550bjkp5dkknbmr69j85mrwfbbq75m2ga466sk"))))
+ "0h3h14ybamcbwmm31ib66fx13v75vkzn4bn2v26n2h097sl9qybg"))))
(build-system r-build-system)
(propagated-inputs
(list r-base64enc r-htmltools r-jsonlite r-pillar))
@@ -15561,14 +15832,14 @@ several formats and MIME types.")
(define-public r-irdisplay
(package
(name "r-irdisplay")
- (version "1.0")
+ (version "1.1")
(source
(origin
(method url-fetch)
(uri (cran-uri "IRdisplay" version))
(sha256
(base32
- "15jbjrihm1mk899357h9xb08iq3xyagds1xb40fmdpkfcmcfqrw9"))))
+ "0awdiv4rr93y8jb1d64sm1iy37ywyniqm7w98yv6qm0zz47h7sw3"))))
(properties `((upstream-name . "IRdisplay")))
(build-system r-build-system)
(propagated-inputs
@@ -15584,14 +15855,14 @@ running IRkernel session.")
(define-public r-irkernel
(package
(name "r-irkernel")
- (version "1.2")
+ (version "1.3")
(source
(origin
(method url-fetch)
(uri (cran-uri "IRkernel" version))
(sha256
(base32
- "14gz3790iv6gg6yi9wslk1yn0jq57yvhxgm840qh818xfkdxpd2z"))))
+ "00qrmsywpzw2hfp88020zjaijma7q4hqm9h2cz53rywdjzywnzss"))))
(properties `((upstream-name . "IRkernel")))
(build-system r-build-system)
(arguments
@@ -15656,17 +15927,18 @@ network.")
(define-public r-apcluster
(package
(name "r-apcluster")
- (version "1.4.8")
+ (version "1.4.9")
(source
(origin
(method url-fetch)
(uri (cran-uri "apcluster" version))
(sha256
(base32
- "0lzf2jqm56i74wif6x5sw3j0w2qc4sni49zq2fgbl89b7lwkvchj"))))
+ "0wnbb3kj9m7rfq63xr43jjf6n8jxm1r2wvvx6g0qkss0wvipbb1s"))))
(build-system r-build-system)
(propagated-inputs
(list r-matrix r-rcpp))
+ (native-inputs (list r-knitr))
(home-page "https://cran.r-project.org/web/packages/apcluster/")
(synopsis "Affinity propagation clustering")
(description
@@ -15677,37 +15949,6 @@ can also be used to join clusters obtained from affinity propagation. Various
plotting functions are available for analyzing clustering results.")
(license license:gpl2+)))
-(define-public r-valr
- (package
- (name "r-valr")
- (version "0.6.3")
- (source
- (origin
- (method url-fetch)
- (uri (cran-uri "valr" version))
- (sha256
- (base32
- "1lzdlw0mw06rymyjzwf4i8rx1z6zxpwxxqfsc9ggqlnhq6bfhy93"))))
- (build-system r-build-system)
- (propagated-inputs
- (list r-broom
- r-dplyr
- r-ggplot2
- r-rcpp
- r-readr
- r-rlang
- r-stringr
- r-tibble))
- (native-inputs
- (list r-knitr))
- (home-page "https://github.com/rnabioco/valr")
- (synopsis "Genome interval arithmetic in R")
- (description
- "This package enables you to read and manipulate genome intervals and
-signals. It provides functionality similar to command-line tool suites within
-R, enabling interactive analysis and visualization of genome-scale data.")
- (license license:expat)))
-
(define-public r-rematch2
(package
(name "r-rematch2")
@@ -15866,14 +16107,14 @@ additional utilities for genomic regions processing.")
(define-public r-sets
(package
(name "r-sets")
- (version "1.0-19")
+ (version "1.0-20")
(source
(origin
(method url-fetch)
(uri (cran-uri "sets" version))
(sha256
(base32
- "18185rm458nlifzrp73fjrjvksmm5dvn5ygs949kdzdln1myb4xf"))))
+ "1mkmqi3n1lh01k47yvkr0dlf4imqdi6d6bglx9bvrjmg816p4jr3"))))
(properties `((upstream-name . "sets")))
(build-system r-build-system)
(home-page "https://cran.r-project.org/web/packages/sets")
@@ -16073,14 +16314,14 @@ classes.")
(define-public r-udunits2
(package
(name "r-udunits2")
- (version "0.13.1")
+ (version "0.13.2")
(source
(origin
(method url-fetch)
(uri (cran-uri "udunits2" version))
(sha256
(base32
- "1l889f8iy8qaacxfs6ll62d6hs8g8qsr5ynn24grpvp8dk8l888w"))))
+ "0sarkw5ciafiaq1haam8d8w0cmai63wrw2m4rcbjfa5k0648j07f"))))
(properties `((upstream-name . "udunits2")))
(build-system r-build-system)
(inputs
@@ -16194,18 +16435,16 @@ tessellation.")
(define-public r-wk
(package
(name "r-wk")
- (version "0.5.0")
+ (version "0.6.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "wk" version))
(sha256
(base32
- "0fj2wzswv3dfninsyw9irf52fc2d0lag5b822x841vdfpvh01mbi"))))
+ "1xga4rrqsr190g55by39az4nimnn06bf5b6mcjgwqvba0lvjhb5g"))))
(properties `((upstream-name . "wk")))
(build-system r-build-system)
- (propagated-inputs
- (list r-cpp11))
(home-page "https://paleolimbot.github.io/wk/")
(synopsis "Lightweight well-known geometry parsing")
(description
@@ -16250,14 +16489,14 @@ information about geometries.")
(define-public r-sf
(package
(name "r-sf")
- (version "1.0-4")
+ (version "1.0-5")
(source
(origin
(method url-fetch)
(uri (cran-uri "sf" version))
(sha256
(base32
- "0dxln3ikqmwczz0ri63xwj05v09hkpljw2qvma6n03nzczyg2713"))))
+ "1i0s9839m9zffad2aq6zgcpz0d61g68caqh9wxaxaxx7bvx2h319"))))
(build-system r-build-system)
(inputs
(list gdal geos proj sqlite zlib))
@@ -16283,38 +16522,28 @@ datum transformations.")
(define-public r-spdep
(package
(name "r-spdep")
- (version "1.1-12")
+ (version "1.2-1")
(source (origin
(method url-fetch)
(uri (cran-uri "spdep" version))
(sha256
(base32
- "1dykhsk5djh62b3zcvpmvm3s87rn8ywzbwblhzivhln0y6pzk9hv"))
+ "1ya39bgmzagrk4k51zd96l4xvnbc2vzmvd0z9qprdfvg9s6pik78"))
(snippet
- '(for-each delete-file '("inst/doc/nb_igraph.html"
- "inst/doc/nb_igraph.R"
- "inst/doc/nb_igraph.Rmd"
- "inst/doc/sids.html"
- "inst/doc/sids.R"
+ '(for-each delete-file '("inst/doc/CO69.html"
+ "inst/doc/CO69.R"
"inst/doc/nb.html"
"inst/doc/nb.R"
- "inst/doc/CO69.html"
- "inst/doc/CO69.R"
"inst/doc/nb_sf.html"
"inst/doc/nb_sf.R"
- "inst/doc/nb_sf.Rmd")))))
+ "inst/doc/nb_sf.Rmd"
+ "inst/doc/sids.html"
+ "inst/doc/sids.R")))))
(build-system r-build-system)
(propagated-inputs
(list r-boot
- r-coda
r-deldir
r-e1071
- r-expm
- r-gmodels
- r-learnbayes
- r-mass
- r-matrix
- r-nlme
r-s2
r-sf
r-sp
@@ -16373,16 +16602,16 @@ also provided to illustrate various methods.")
(define-public r-pegas
(package
(name "r-pegas")
- (version "1.0-1")
+ (version "1.1")
(source
(origin
(method url-fetch)
(uri (cran-uri "pegas" version))
(sha256
- (base32 "0ykx84p7c8cad5d1mj8cm1d5cz2paacdjx4ll4qzmq827lcyycz1"))))
+ (base32 "0ngd0laqbs139ji9hm9kwsm9rm56agw2yyfcplxgqva936l93fl7"))))
(build-system r-build-system)
(propagated-inputs
- (list r-adegenet r-ape))
+ (list r-ape))
(home-page "http://ape-package.ird.fr/pegas.html")
(synopsis "Population and evolutionary genetics analysis system")
(description
@@ -16908,14 +17137,14 @@ the corresponding outputs (tables and graphs).")
(define-public r-rjava
(package
(name "r-rjava")
- (version "1.0-5")
+ (version "1.0-6")
(source
(origin
(method url-fetch)
(uri (cran-uri "rJava" version))
(sha256
(base32
- "1pkgndppk498by44sai440l3i7vzndknbngn1q748cv39xvsbnrg"))))
+ "1ijqhvnb8ab38cp9pwdf7zq7xqqlm6x94gkrab2dd98p6d4x1472"))))
(properties `((upstream-name . "rJava")))
(build-system r-build-system)
(arguments
@@ -17766,14 +17995,14 @@ function for computing a matrix of correlation p-values.")
(define-public r-ggfun
(package
(name "r-ggfun")
- (version "0.0.4")
+ (version "0.0.5")
(source
(origin
(method url-fetch)
(uri (cran-uri "ggfun" version))
(sha256
(base32
- "07njcjcj212zxanq8x3nkh7mgvqmym08rx5s41rz9flhk9gkc9jr"))))
+ "10spayf5jzmizhs6aassjplrjr9mr6bcww30pyxzyb1djfl41qxi"))))
(properties `((upstream-name . "ggfun")))
(build-system r-build-system)
(propagated-inputs
@@ -18059,14 +18288,14 @@ external dependencies. This package has is implemented purely in R.")
(define-public r-aplot
(package
(name "r-aplot")
- (version "0.1.1")
+ (version "0.1.2")
(source
(origin
(method url-fetch)
(uri (cran-uri "aplot" version))
(sha256
(base32
- "067yzy35spvs6jbccqpmvnjilglxzda6qqlqhjv311kfvnppzsyf"))))
+ "1w09flb6a4fxibfrm1z24pg672r80b7phgc0m7mv3vfw3l84v749"))))
(properties `((upstream-name . "aplot")))
(build-system r-build-system)
(propagated-inputs
@@ -18170,14 +18399,14 @@ library.")
(define-public r-rex
(package
(name "r-rex")
- (version "1.2.0")
+ (version "1.2.1")
(source
(origin
(method url-fetch)
(uri (cran-uri "rex" version))
(sha256
(base32
- "0m7bq8db3m5dhf01rw7xc7xy1ciq3m7dfgsl80p8cy4h8vqr3d06"))))
+ "1mmzlc3j7xa0rbjxa369f4sr0iw3gq58g8fmjjxbsjvfq14ychmg"))))
(build-system r-build-system)
(propagated-inputs
(list r-lazyeval))
@@ -18248,14 +18477,14 @@ on, for a performance vs accuracy trade-off.")
(define-public r-rsparse
(package
(name "r-rsparse")
- (version "0.4.0")
+ (version "0.5.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "rsparse" version))
(sha256
(base32
- "1blg59gsidh0sn6yy761pisz2phml0hzgqc24s5s8q9q903rddr9"))))
+ "0d05h47j29zipyxbkv9cwzv2dzj894z6hh9dqfhwswwjbv6ciwpq"))))
(properties `((upstream-name . "rsparse")))
(build-system r-build-system)
(propagated-inputs
@@ -18263,6 +18492,7 @@ on, for a performance vs accuracy trade-off.")
r-float
r-lgr
r-matrix
+ r-matrixextra
r-rcpp
r-rcpparmadillo
r-rhpcblasctl))
@@ -18422,26 +18652,29 @@ code edited with @code{RStudio IDE}, @code{Emacs} and @code{Vim}.")
(define-public r-sctransform
(package
(name "r-sctransform")
- (version "0.3.2")
+ (version "0.3.3")
(source
(origin
(method url-fetch)
(uri (cran-uri "sctransform" version))
(sha256
(base32
- "1p3m6i28nlxh6r609syn88cwlbdpl3dw44dy3gsijk2ibq20mfsx"))))
+ "0aqbcarsvvzkh5h4i65f08y4b8dfcs3zi62hmvfy24gj81f15bw3"))))
(build-system r-build-system)
(propagated-inputs
- (list r-future
+ (list r-dplyr
+ r-future
r-future-apply
r-ggplot2
r-gridextra
+ r-magrittr
r-mass
r-matrix
r-matrixstats
r-rcpp
r-rcpparmadillo
- r-reshape2))
+ r-reshape2
+ r-rlang))
(home-page "https://github.com/ChristophH/sctransform")
(synopsis "Variance stabilizing transformations for Single Cell UMI Data")
(description
@@ -18849,14 +19082,14 @@ includes data sets from oceanography.")
(define-public r-ggfortify
(package
(name "r-ggfortify")
- (version "0.4.13")
+ (version "0.4.14")
(source
(origin
(method url-fetch)
(uri (cran-uri "ggfortify" version))
(sha256
(base32
- "0qls8pyndrlwx75wzlc0xmk04qq263d7065r3d6kvay7haa4nm40"))))
+ "038m74azpy43869ax1yi6wxbl1kr59iaxl8raiikjg749vcx6njw"))))
(build-system r-build-system)
(propagated-inputs
(list r-dplyr
@@ -18999,14 +19232,14 @@ in R, including a translation of the original algorithm into R.")
(define-public r-uwot
(package
(name "r-uwot")
- (version "0.1.10")
+ (version "0.1.11")
(source
(origin
(method url-fetch)
(uri (cran-uri "uwot" version))
(sha256
(base32
- "08vxh085wnrxgwy35ksb4cr7ccjvd98pyr2zlgarqryfgc1bdqbf"))))
+ "06ylzxmdh8jipbrzgqaiivd2lnqmbcva41cyvc0iyals6vqr1ksg"))))
(build-system r-build-system)
(propagated-inputs
(list r-dqrng
@@ -19390,14 +19623,14 @@ be used further by e.g. graphic devices.")
(define-public r-graphlayouts
(package
(name "r-graphlayouts")
- (version "0.7.2")
+ (version "0.8.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "graphlayouts" version))
(sha256
(base32
- "0vncg1pfnwrfkjfwz5k86b0ir8vnjkbyd0kzpbgb0cpkdz7987pc"))))
+ "1l7gkn0r1ijllv3w7cbwcbi0jggs7wlkq9b2lykprng4g1kjc96p"))))
(properties `((upstream-name . "graphlayouts")))
(build-system r-build-system)
(propagated-inputs
@@ -19415,14 +19648,14 @@ emphasize hidden group structures in networks or focus on specific nodes.")
(define-public r-terra
(package
(name "r-terra")
- (version "1.4-20")
+ (version "1.5-12")
(source
(origin
(method url-fetch)
(uri (cran-uri "terra" version))
(sha256
(base32
- "0c4nx113sfympixy5rkvgzc7pprcfflnadkbwhcpzjlky8gmmsk4"))))
+ "06fcjyzllw6dnzq0a7dc73v7rlpf250dyw41q0vr08y3x17c2p46"))))
(properties `((upstream-name . "terra")))
(build-system r-build-system)
(inputs
@@ -19535,14 +19768,14 @@ in pipelines.")
(define-public r-parameters
(package
(name "r-parameters")
- (version "0.15.0")
+ (version "0.16.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "parameters" version))
(sha256
(base32
- "0f06bwlc1g0xdyhdqzx8plfx1jwk8a9j4lcbl91wjsil8wja0bkl"))))
+ "1i295d5nqjr3pvp9vz59wiasrxy9n78q518phcd15sxcjzcj0l27"))))
(properties `((upstream-name . "parameters")))
(build-system r-build-system)
(propagated-inputs
@@ -19563,13 +19796,13 @@ effect size.")
(define-public r-rgdal
(package
(name "r-rgdal")
- (version "1.5-27")
+ (version "1.5-28")
(source
(origin
(method url-fetch)
(uri (cran-uri "rgdal" version))
(sha256
- (base32 "0mjpxs2dvbngbchlb0kfs0jcac7v88slwxmka81ds92lggnmb9b2"))))
+ (base32 "18k1w8cb77h4mw1m5b21r0fng40arb1md24fyriv83ccz8n46m3z"))))
(properties `((upstream-name . "rgdal")))
(build-system r-build-system)
(inputs
@@ -19720,15 +19953,44 @@ from 1-D, 2-D and 3-D partial differential equations that have been converted
to ODEs by numerical differencing.")
(license license:gpl2+)))
+(define-public r-pmcmrplus
+ (package
+ (name "r-pmcmrplus")
+ (version "1.9.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "PMCMRplus" version))
+ (sha256
+ (base32 "00sgk4c7vpmbfifrsbqd5gh7hwdpm8kymlpnnrdzlhvkymhbmfkn"))))
+ (properties `((upstream-name . "PMCMRplus")))
+ (build-system r-build-system)
+ (inputs (list gmp))
+ (propagated-inputs
+ (list r-bwstest
+ r-gmp
+ r-ksamples
+ r-mass
+ r-multcompview
+ r-mvtnorm
+ r-rmpfr
+ r-suppdists))
+ (native-inputs (list gfortran r-knitr))
+ (home-page "https://cran.r-project.org/package=PMCMRplus")
+ (synopsis "Calculate pairwise multiple comparisons of mean rank sums extended")
+ (description
+ "This package provides multiple pairwise tests.")
+ (license license:gpl3+)))
+
(define-public r-pracma
(package
(name "r-pracma")
- (version "2.3.3")
+ (version "2.3.6")
(source (origin
(method url-fetch)
(uri (cran-uri "pracma" version))
(sha256
- (base32 "0g5r5ir5k43ba0ngnsanp108k479l2dnsjd5w6idk1d34ivqs7yg"))))
+ (base32 "1pmqk7b6c600v6pn0s047p3msl13azwk611zvh05w5f993yq7b0p"))))
(build-system r-build-system)
(home-page "https://cran.r-project.org/web/packages/pracma/")
(synopsis "Practical numerical math functions")
@@ -19741,14 +20003,14 @@ porting.")
(define-public r-subplex
(package
(name "r-subplex")
- (version "1.6")
+ (version "1.7")
(source
(origin
(method url-fetch)
(uri (cran-uri "subplex" version))
(sha256
(base32
- "1yfbfjvpbhgky7vihw3f4jl41pxpqb39z4nc045d5z7z48bdl18d"))))
+ "11zqzydbj6ivgvlw1gv1r2yxra7misbc622g575p2vckhjjg9v6m"))))
(build-system r-build-system)
(native-inputs
(list gfortran))
@@ -20289,14 +20551,14 @@ included.")
(define-public r-qgam
(package
(name "r-qgam")
- (version "1.3.3")
+ (version "1.3.4")
(source
(origin
(method url-fetch)
(uri (cran-uri "qgam" version))
(sha256
(base32
- "0vx2wf3rqc3j8i0870xrwxndkbgza0nnh7f0yxi8h67lfi7gws4s"))))
+ "1jyamamdffaks89rspyhmg18b4iik0nb1j0vgqzvfnm890514cvn"))))
(properties `((upstream-name . "qgam")))
(build-system r-build-system)
(propagated-inputs
@@ -20319,14 +20581,14 @@ regression models.")
(define-public r-abtest
(package
(name "r-abtest")
- (version "0.2.2")
+ (version "1.0.1")
(source
(origin
(method url-fetch)
(uri (cran-uri "abtest" version))
(sha256
(base32
- "1ak0m4jd1grriwg4pn3aqf1468qma6rjn5kqjh8izx7zl29jd07v"))))
+ "0jz2ry5364p8h8xlk5a5sycn8xlpxd1iasfg99bcr4jqzd92jfqg"))))
(properties `((upstream-name . "abtest")))
(build-system r-build-system)
(propagated-inputs
@@ -20349,18 +20611,18 @@ elicitation options based on Kass and Vaidyanathan (1992)
(define-public r-reldist
(package
(name "r-reldist")
- (version "1.6-6")
+ (version "1.7-0")
(source
(origin
(method url-fetch)
(uri (cran-uri "reldist" version))
(sha256
(base32
- "09vips7spcz0fahrpy0bl15hk43zgnq74h189hmygyi41l95aywa"))))
+ "0i04d6w3r6fzm4bykz6lnnh6dngmd61v5wlpli70r3fzdzhi7fji"))))
(properties `((upstream-name . "reldist")))
(build-system r-build-system)
(propagated-inputs
- (list r-hmisc r-mgcv))
+ (list r-densestbayes r-hmisc r-mgcv))
(home-page "http://www.stat.ucla.edu/~handcock/RelDist")
(synopsis "Relative distribution methods")
(description
@@ -21587,21 +21849,20 @@ allowed.")
(define-public r-gdina
(package
(name "r-gdina")
- (version "2.8.7")
+ (version "2.8.8")
(source
(origin
(method url-fetch)
(uri (cran-uri "GDINA" version))
(sha256
(base32
- "08cdjp4mqn81j3wa770v7n8zkslys9jqqb3d3c09dkfmgdk6hga4"))))
+ "1slq1npsq8s8aghnrpm6vvc6kxj4svz0kr2x0akblndrcr25wxjr"))))
(properties `((upstream-name . "GDINA")))
(build-system r-build-system)
(propagated-inputs
(list r-alabama
r-ggplot2
r-mass
- r-nloptr
r-numderiv
r-rcpp
r-rcpparmadillo
@@ -22481,14 +22742,14 @@ Edition), John Wiley and Sons.")
(define-public r-anthropometry
(package
(name "r-anthropometry")
- (version "1.16")
+ (version "1.17")
(source
(origin
(method url-fetch)
(uri (cran-uri "Anthropometry" version))
(sha256
(base32
- "0iqlmp9vig4qdavs37kislqxwhk0c0pgsn1kwz3mm75nylxmpbp0"))))
+ "0vxjlzxv16bygw8n57f25msq5bd1dydg41my92ximah0nzzvbg41"))))
(properties `((upstream-name . "Anthropometry")))
(build-system r-build-system)
(propagated-inputs
@@ -22513,6 +22774,29 @@ They are based on clustering, the statistical concept of data depth,
statistical shape analysis and archetypal analysis.")
(license license:gpl2+)))
+(define-public r-anndata
+ (package
+ (name "r-anndata")
+ (version "0.7.5.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "anndata" version))
+ (sha256
+ (base32 "115v7gdilayd18hd519vzkixp2s6rvvrd1inc1i6amn7d0spy8r1"))))
+ (properties `((upstream-name . "anndata")))
+ (build-system r-build-system)
+ (propagated-inputs (list r-assertthat r-matrix r-r6 r-reticulate))
+ (native-inputs (list r-knitr))
+ (home-page "https://anndata.dynverse.org")
+ (synopsis "Anndata for R")
+ (description
+ "This package provides a reticulate wrapper for the Python package
+@code{anndata}. It provides a scalable way of keeping track of data and
+learned annotations. It is used to read from and write to the h5ad file
+format.")
+ (license license:expat)))
+
(define-public r-adamethods
(package
(name "r-adamethods")
@@ -23058,14 +23342,14 @@ Raftery, Appl.Statistics, 1989); it includes inference and basic methods.")
(define-public r-forecast
(package
(name "r-forecast")
- (version "8.15")
+ (version "8.16")
(source
(origin
(method url-fetch)
(uri (cran-uri "forecast" version))
(sha256
(base32
- "0x4ij55sb45qnwba3bybs50vsvv82q3j8p47xmbv959h13nsnfn7"))))
+ "0zvn44k7npxai8kj0hgxaaqv1hgd8rxicnvj4cg7wfl8ba4yn0cz"))))
(properties `((upstream-name . "forecast")))
(build-system r-build-system)
(propagated-inputs
@@ -23142,14 +23426,14 @@ programming} (OOP) using R Reference Class.")
(define-public r-proxyc
(package
(name "r-proxyc")
- (version "0.2.3")
+ (version "0.2.4")
(source
(origin
(method url-fetch)
(uri (cran-uri "proxyC" version))
(sha256
(base32
- "1g90d82rp82dkidlfykankprzpp94d7394s2b2qjlyiia3k0hlb3"))))
+ "1mcimswrx1cjjm7wsgkzfrgh3jpf4sncwfvdvg2f14fzfzy7afd6"))))
(properties `((upstream-name . "proxyC")))
(build-system r-build-system)
(propagated-inputs
@@ -23167,14 +23451,14 @@ and Euclidean distance is particularly fast.")
(define-public r-isocodes
(package
(name "r-isocodes")
- (version "2021.02.24")
+ (version "2022.01.10")
(source
(origin
(method url-fetch)
(uri (cran-uri "ISOcodes" version))
(sha256
(base32
- "19irnn2yi1bzhf03g666la84kj8040f5913kfrmd16dfnjy6j9qm"))))
+ "0gy7n5bgxnl4rawry0pg078bkks9lzsbsrwjq8q5cvxl4k3dwpdj"))))
(properties `((upstream-name . "ISOcodes")))
(build-system r-build-system)
(home-page "https://cran.r-project.org/package=ISOcodes")
@@ -23256,14 +23540,14 @@ Norwegian, Portuguese, Romanian, Russian, Spanish, Swedish and Turkish.")
(define-public r-quanteda
(package
(name "r-quanteda")
- (version "3.1.0")
+ (version "3.2.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "quanteda" version))
(sha256
(base32
- "0gafbb73gcxx2gq9q7bg88alyhymkr471lp394m5ydij6mdm4hb9"))))
+ "0q72jsc6zalnl35qq02z9niissnyax4zxzqzpfpjsmgmxpd797mw"))))
(properties `((upstream-name . "quanteda")))
(build-system r-build-system)
(propagated-inputs
@@ -23355,18 +23639,18 @@ regressions.")
(define-public r-polycor
(package
(name "r-polycor")
- (version "0.7-10")
+ (version "0.8-1")
(source
(origin
(method url-fetch)
(uri (cran-uri "polycor" version))
(sha256
(base32
- "0wzwzklflbhi8sv9m7ijwr16v9zmkk0j0v4pbcpf32f8lbn3psna"))))
+ "0285rvx8238qp8dix0jq0cqq7ks8h6cjwsscbc7dx4n9nph56pzh"))))
(properties `((upstream-name . "polycor")))
(build-system r-build-system)
(propagated-inputs
- (list r-matrix r-mvtnorm))
+ (list r-admisc r-matrix r-mvtnorm))
(home-page "https://r-forge.r-project.org/projects/polycor/")
(synopsis "Polychoric and polyserial correlations")
(description
@@ -23473,6 +23757,50 @@ additional functions that are comparable to APL functions which are useful for
actuarial models such as pension mathematics.")
(license license:gpl2+)))
+(define-public r-matrixextra
+ (package
+ (name "r-matrixextra")
+ (version "0.1.9-1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "MatrixExtra" version))
+ (sha256
+ (base32 "098apgqlncgxspa8mi4bx2nk5fbk3880whqiwkvydsfsqrbv1sj0"))))
+ (properties `((upstream-name . "MatrixExtra")))
+ (build-system r-build-system)
+ (propagated-inputs
+ (list r-float r-matrix r-rcpp r-rhpcblasctl))
+ (native-inputs
+ (list r-knitr))
+ (home-page "https://github.com/david-cortes/MatrixExtra")
+ (synopsis "Extra methods for sparse matrices")
+ (description
+ "This package extends sparse matrix and vector classes from the Matrix
+package by providing:
+
+@enumerate
+@item Methods and operators that work natively on CSR formats (compressed
+ sparse row, a.k.a. @code{RsparseMatrix}) such as slicing/sub-setting,
+ assignment, @code{rbind()}, mathematical operators for CSR and COO such as
+ addition or @code{sqrt()}, and methods such as @code{diag()};
+@item Multi-threaded matrix multiplication and cross-product for many
+ @code{<sparse, dense>} types, including the @code{float32} type from
+ @code{float};
+@item Coercion methods between pairs of classes which are not present in
+ @code{Matrix}, such as from @code{dgCMatrix} to @code{ngRMatrix}, as well as
+ convenience conversion functions;
+@item Utility functions for sparse matrices such as sorting the indices or
+ removing zero-valued entries;
+@item Fast transposes that work by outputting in the opposite storage format;
+@item Faster replacements for many @code{Matrix} methods for all sparse types,
+ such as slicing and elementwise multiplication.
+@item Convenience functions for sparse objects, such as @code{mapSparse} or a
+ shorter @code{show} method.
+@end enumerate
+")
+ (license license:gpl2+)))
+
(define-public r-sem
(package
(name "r-sem")
@@ -23614,14 +23942,14 @@ Complete access to optimized C functions is made available with
(define-public r-openmx
(package
(name "r-openmx")
- (version "2.19.8")
+ (version "2.20.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "OpenMx" version))
(sha256
(base32
- "0q37mwxqhgdi05rwdfwfapgazfp541xsvw3yskf21lv11y2yjjyb"))))
+ "1flkm5nsvdnqhjayzajv80lsvjbh21v4zbm7ak09051x0giv3shj"))))
(properties `((upstream-name . "OpenMx")))
(build-system r-build-system)
(propagated-inputs
@@ -23635,7 +23963,7 @@ Complete access to optimized C functions is made available with
r-rcppparallel
r-rpf
r-stanheaders))
- (native-inputs (list gfortran))
+ (native-inputs (list r-knitr gfortran))
(home-page "http://openmx.ssri.psu.edu")
(synopsis "Extended structural equation modelling")
(description
@@ -24230,14 +24558,14 @@ techniques to average Bayesian predictive distributions.")
(define-public r-rstan
(package
(name "r-rstan")
- (version "2.21.2")
+ (version "2.21.3")
(source
(origin
(method url-fetch)
(uri (cran-uri "rstan" version))
(sha256
(base32
- "0jh58qfrksd2j9w2zy4bajryivgp36m3xdb9mjrjqbk1ib9h83p3"))))
+ "1ccjdwh0xspna2c0m5p8as8y2b0lnhdyk9hfd3jh58j6n8fbzg3n"))))
(properties `((upstream-name . "rstan")))
(build-system r-build-system)
(arguments
@@ -24262,9 +24590,7 @@ techniques to average Bayesian predictive distributions.")
r-rcpp
r-rcppeigen
r-rcppparallel
- r-stanheaders
- r-v8
- r-withr))
+ r-stanheaders))
(home-page "https://discourse.mc-stan.org/")
(synopsis "R interface to Stan")
(description
@@ -24348,14 +24674,14 @@ trend test.")
(define-public r-keyring
(package
(name "r-keyring")
- (version "1.2.0")
+ (version "1.3.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "keyring" version))
(sha256
(base32
- "1rqz29ycsmfqixhnzhhfd89j9ivnmp7x2z3vxdla622zmakbcy4c"))))
+ "1j8l6nmh4dr70kwybiais8yh687fdwrj134xynq68igw1b1rm8ga"))))
(properties `((upstream-name . "keyring")))
(build-system r-build-system)
(propagated-inputs
@@ -25231,14 +25557,14 @@ vignette for more information and examples.")
(define-public r-distributional
(package
(name "r-distributional")
- (version "0.2.2")
+ (version "0.3.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "distributional" version))
(sha256
(base32
- "0ps30ijlf0xwranxkq1z29d76d3zgy8drwxpnxp6ffmyma8mm3h2"))))
+ "1mji8xlhwrw8msih5wdpbzwv4g59kly0xkdklhn8yzb18rrnrczs"))))
(properties
`((upstream-name . "distributional")))
(build-system r-build-system)
@@ -25268,14 +25594,14 @@ including means, variances, intervals, and highest density regions.")
(define-public r-posterior
(package
(name "r-posterior")
- (version "1.1.0")
+ (version "1.2.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "posterior" version))
(sha256
(base32
- "1lpldkkkxv94dr30q5wb5qr61qrgp9shqnskgwriigy1phnjdxpg"))))
+ "11j3jgk8mykicqi77a6frn0gck7fx0i6sl6g774sqj44m48ig81b"))))
(properties `((upstream-name . "posterior")))
(build-system r-build-system)
(propagated-inputs
@@ -25315,14 +25641,14 @@ inference diagnostics.
(define-public r-brms
(package
(name "r-brms")
- (version "2.16.1")
+ (version "2.16.3")
(source
(origin
(method url-fetch)
(uri (cran-uri "brms" version))
(sha256
(base32
- "1i0vkkfziac29vncw4igja5m7a6rhw9rqwifrw3y47q6zgczp7kl"))))
+ "1q93z4cf3iy4rs6pgvph6z7hc8q05iwif76hcg8p4kr6nl82nc38"))))
(properties `((upstream-name . "brms")))
(build-system r-build-system)
(propagated-inputs
@@ -25341,7 +25667,6 @@ inference diagnostics.
r-nleqslv
r-nlme
r-posterior
- r-projpred
r-rcpp
r-rstan
r-rstantools
@@ -25596,14 +25921,14 @@ input.")
(define-public r-lightgbm
(package
(name "r-lightgbm")
- (version "3.3.1")
+ (version "3.3.2")
(source
(origin
(method url-fetch)
(uri (cran-uri "lightgbm" version))
(sha256
(base32
- "0hvpwirskzcd7ww47f9gllgl3wjvpghnwj8a41glpppwwaaxa0z4"))))
+ "12hbvm1va6sb5yny564jvhhzrkcq4j33rcdhqhwxaac2m08cpi8s"))))
(properties `((upstream-name . "lightgbm")))
(build-system r-build-system)
(propagated-inputs
@@ -25833,14 +26158,14 @@ coefficients are constructed using multiplier bootstrap.")
(define-public r-fastshap
(package
(name "r-fastshap")
- (version "0.0.5")
+ (version "0.0.7")
(source
(origin
(method url-fetch)
(uri (cran-uri "fastshap" version))
(sha256
(base32
- "08f25ib5mry6h8lvj0g3clc9kfl5g2wdd8x8bw455wwmbcm6x5vg"))))
+ "0gxch67i3bj6m8nb94m5hswq058w6n1q9war4dy2qnimlv7cmhdv"))))
(properties `((upstream-name . "fastshap")))
(build-system r-build-system)
(propagated-inputs
@@ -25996,14 +26321,14 @@ diagonals. This package allows you to compute the tensor product of arrays.")
(define-public r-spatstat-utils
(package
(name "r-spatstat-utils")
- (version "2.2-0")
+ (version "2.3-0")
(source
(origin
(method url-fetch)
(uri (cran-uri "spatstat.utils" version))
(sha256
(base32
- "1aypccpv0zavxwmqzvlka8981n9km7ml3jbmxz21sql58997xn2s"))))
+ "06nvn2ffyrskhzaavsy6lmdp0m8askkrp1fnwrhjsj01lbjnq2az"))))
(properties
`((upstream-name . "spatstat.utils")))
(build-system r-build-system)
@@ -26017,14 +26342,14 @@ which may also be useful for other purposes.")
(define-public r-spatstat-sparse
(package
(name "r-spatstat-sparse")
- (version "2.0-0")
+ (version "2.1-0")
(source
(origin
(method url-fetch)
(uri (cran-uri "spatstat.sparse" version))
(sha256
(base32
- "1iqrpazb88s4w208adf2qgm4ajwz3kwqck65k9g5l28zw9jcxyr7"))))
+ "148fxbxss569w73xaqpzwpz9rfjdgznh2ngf06gvm33631222680"))))
(properties
`((upstream-name . "spatstat.sparse")))
(build-system r-build-system)
@@ -26041,14 +26366,14 @@ matrix calculations that are common in statistics, such as quadratic forms.")
(define-public r-spatstat-data
(package
(name "r-spatstat-data")
- (version "2.1-0")
+ (version "2.1-2")
(source
(origin
(method url-fetch)
(uri (cran-uri "spatstat.data" version))
(sha256
(base32
- "0csmz5vjaxnznkbsfah8qd3v8p0y56jvis01ialxzvf71snl160v"))))
+ "1r8s4xl25xr71h4g5qqi5y370h2ik3kz5fb4qyml2b6dwsl1ildv"))))
(properties `((upstream-name . "spatstat.data")))
(build-system r-build-system)
(propagated-inputs
@@ -26063,14 +26388,14 @@ package.")
(define-public r-spatstat-geom
(package
(name "r-spatstat-geom")
- (version "2.3-0")
+ (version "2.3-1")
(source
(origin
(method url-fetch)
(uri (cran-uri "spatstat.geom" version))
(sha256
(base32
- "1iz9zi45nli5lf96ng6bqqbl4ix3zxzlfclkg4cdb9h98nj4c5vv"))))
+ "1h3ja45in7hnar2gwqp18jkz4rcqi99gllar6jqzlsvdbb85hgpj"))))
(properties `((upstream-name . "spatstat.geom")))
(build-system r-build-system)
(propagated-inputs
@@ -26086,14 +26411,14 @@ for the geometry of linear networks.")
(define-public r-spatstat-core
(package
(name "r-spatstat-core")
- (version "2.3-1")
+ (version "2.3-2")
(source
(origin
(method url-fetch)
(uri (cran-uri "spatstat.core" version))
(sha256
(base32
- "1fq6ynds66d836drf758syqhfz0341fxif0r5hbf5lfkwp3a2wfk"))))
+ "0g7nj8nf9ywhdbc5irxlry6kzq6bwwbkk9cp22kyv1wigycnskbz"))))
(properties `((upstream-name . "spatstat.core")))
(build-system r-build-system)
(propagated-inputs
@@ -26118,14 +26443,14 @@ user-level code from spatstat, except for the code for linear networks.")
(define-public r-spatstat-linnet
(package
(name "r-spatstat-linnet")
- (version "2.3-0")
+ (version "2.3-1")
(source
(origin
(method url-fetch)
(uri (cran-uri "spatstat.linnet" version))
(sha256
(base32
- "1yd2z629f7908xw9kyqiahk3qn9ajpl6qffbkv887zmq3p28kh7h"))))
+ "1hrqa2i6mp7d79jw4h56b8hk9590959s79vh9xcsj6k5vbisd6qi"))))
(properties
`((upstream-name . "spatstat.linnet")))
(build-system r-build-system)
@@ -26146,14 +26471,14 @@ for spatial data on a linear network.")
(define-public r-spatstat
(package
(name "r-spatstat")
- (version "2.2-0")
+ (version "2.3-0")
(source
(origin
(method url-fetch)
(uri (cran-uri "spatstat" version))
(sha256
(base32
- "0lz3sidn05xjswxaxhagal6jj5hra6aya0azxybjw7mgspl903wg"))))
+ "01jckks3j39854mhsarzyzn4rj82h1xrnyd2b6fyzizj48vl80ns"))))
(properties `((upstream-name . "spatstat")))
(build-system r-build-system)
(propagated-inputs
@@ -26202,14 +26527,14 @@ for linear mixed models (AIREML).")
(define-public r-cpp11
(package
(name "r-cpp11")
- (version "0.4.1")
+ (version "0.4.2")
(source
(origin
(method url-fetch)
(uri (cran-uri "cpp11" version))
(sha256
(base32
- "1nk47xkab7i17h7917l4cfyfvnxf782dfq67wwxa6n0r4jqqxzz9"))))
+ "16cvjfkbc7c0ymdmbcqg9px6pjsqx6qhyfq5frqj739mhazy0g20"))))
(properties `((upstream-name . "cpp11")))
(build-system r-build-system)
(native-inputs (list r-knitr))
@@ -26222,6 +26547,27 @@ jumps from the C API as well as C++ exceptions, conform to normal R function
semantics and supports interaction with @code{ALTREP} vectors.")
(license license:expat)))
+(define-public r-rcpptoml
+ (package
+ (name "r-rcpptoml")
+ (version "0.1.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "RcppTOML" version))
+ (sha256
+ (base32 "0h8517ipwqhqkhcfiyqmvsb585g01p0ra0azbpzyxip6pq6g029g"))))
+ (properties `((upstream-name . "RcppTOML")))
+ (build-system r-build-system)
+ (propagated-inputs (list r-rcpp))
+ (home-page "http://dirk.eddelbuettel.com/code/rcpp.toml.html")
+ (synopsis "Rcpp bindings to TOML parser")
+ (description
+ "The TOML configuration format specifies an excellent format suitable for
+both human editing as well as the common uses of a machine-readable format.
+This package provides Rcpp bindings to a TOML parser.")
+ (license license:gpl2+)))
+
(define-public r-rcppziggurat
(package
(name "r-rcppziggurat")
@@ -26253,14 +26599,14 @@ aggregation for comparing different implementations in order to provide a
(define-public r-rfast
(package
(name "r-rfast")
- (version "2.0.3")
+ (version "2.0.4")
(source
(origin
(method url-fetch)
(uri (cran-uri "Rfast" version))
(sha256
(base32
- "1bmhmli6q4kg8321595k0yy91w9cblk14s6qbc9wf8f05108rg15"))))
+ "1n9imwkkq14ickp0g34jyha4jkr180xj0ar8xh3hqqi4dvihg6cm"))))
(properties `((upstream-name . "Rfast")))
(build-system r-build-system)
(propagated-inputs
@@ -26785,6 +27131,27 @@ adaptive sparsity and the Wong algorithm for adaptively sparse Gaussian
geometric models.")
(license license:lgpl3+)))
+(define-public r-add2ggplot
+ (package
+ (name "r-add2ggplot")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "add2ggplot" version))
+ (sha256
+ (base32 "0c94i1cfp2pvplvxmfvvz2fyj026r1jnax05mrzrc7ppnqzy25y0"))))
+ (properties `((upstream-name . "add2ggplot")))
+ (build-system r-build-system)
+ (propagated-inputs
+ (list r-ggplot2 r-magick r-magrittr r-rcolorbrewer r-zeallot))
+ (native-inputs (list r-knitr))
+ (home-page "https://github.com/JiaxiangBU/add2ggplot")
+ (synopsis "Extension for ggplot2")
+ (description "This packages provides tools to create themes and color
+palettes for the package ggplot2.")
+ (license license:expat)))
+
(define-public r-diffusionmap
(package
(name "r-diffusionmap")
@@ -26811,14 +27178,14 @@ model.")
(define-public r-igraph
(package
(name "r-igraph")
- (version "1.2.8")
+ (version "1.2.11")
(source
(origin
(method url-fetch)
(uri (cran-uri "igraph" version))
(sha256
(base32
- "01hvphaf5mx9xvwiazcw39kp6gc1lafqrbjwczy6f7hr145dn1pl"))))
+ "1ph042yinl8ig2x7laha5j1xr14fky9771l5ha87svhynrg732qw"))))
(build-system r-build-system)
(native-inputs
(list gfortran))
@@ -26931,14 +27298,14 @@ object sizes.")
(define-public r-yardstick
(package
(name "r-yardstick")
- (version "0.0.8")
+ (version "0.0.9")
(source
(origin
(method url-fetch)
(uri (cran-uri "yardstick" version))
(sha256
(base32
- "13b0lyj2k0r568mwlyz9yvp9156rzlj4jqnjazaffh9vwqh4whir"))))
+ "00hv4gk1ba4dab8i3dcq7lim4bll7l572rgc8km9x4ja8by95j8h"))))
(properties `((upstream-name . "yardstick")))
(build-system r-build-system)
(propagated-inputs
@@ -26983,6 +27350,30 @@ used in further calculations that rely on a specific temporal spacing between
observations.")
(license license:expat)))
+(define-public r-scico
+ (package
+ (name "r-scico")
+ (version "1.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "scico" version))
+ (sha256
+ (base32 "08grfbjd5s0vdw76ni37yjl2242rr8i2jy72sgpwgra282hpnji3"))))
+ (properties `((upstream-name . "scico")))
+ (build-system r-build-system)
+ (propagated-inputs (list r-scales))
+ (home-page "https://github.com/thomasp85/scico")
+ (synopsis "Colour Palettes Based on the Scientific Colour-Maps")
+ (description
+ "This package provides colour choice in information visualisation. It
+important in order to avoid being mislead by inherent bias in the used colour
+palette. This package provides access to the perceptually uniform and
+colour-blindness friendly palettes developed by Fabio Crameri and released
+under the \"Scientific Colour-Maps\" moniker. The package contains 24
+different palettes and includes both diverging and sequential types.")
+ (license license:expat)))
+
(define-public r-slider
(package
(name "r-slider")
@@ -27008,6 +27399,28 @@ advanced usage, an index can be used as a secondary vector that defines how
sliding windows are to be created.")
(license license:expat)))
+(define-public r-rlist
+ (package
+ (name "r-rlist")
+ (version "0.4.6.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "rlist" version))
+ (sha256
+ (base32 "15q99rhbbjq8zd976yjmfnny45dd5fg2p2dv1sljg2kwi66nbppb"))))
+ (properties `((upstream-name . "rlist")))
+ (build-system r-build-system)
+ (propagated-inputs (list r-data-table r-jsonlite r-xml r-yaml))
+ (home-page "https://renkun-ken.github.io/rlist/")
+ (synopsis "A Toolbox for Non-Tabular Data Manipulation")
+ (description
+ "This package provides a set of functions for data manipulation with
+list objects, including mapping, filtering, grouping, sorting, updating,
+searching, and other useful functions. Most functions are designed to be
+pipeline friendly so that data processing with lists can be chained.")
+ (license license:expat)))
+
(define-public r-rsample
(package
(name "r-rsample")
@@ -27469,14 +27882,14 @@ model-related packages.")
(define-public r-conflicted
(package
(name "r-conflicted")
- (version "1.0.4")
+ (version "1.1.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "conflicted" version))
(sha256
(base32
- "0xp04cdvmp3b1phazhmjqn0vmax1b2218xsb5854ffv43m7qvrra"))))
+ "1qg9ar114r98wm0pnf65mss4v2ksq3924rlpm13mqp4s3p6j9yi4"))))
(properties `((upstream-name . "conflicted")))
(build-system r-build-system)
(propagated-inputs
@@ -27758,14 +28171,14 @@ data (variant call format, e.g. VCF or BCF) or meta-analysis results in R.")
(define-public r-maldiquant
(package
(name "r-maldiquant")
- (version "1.20")
+ (version "1.21")
(source
(origin
(method url-fetch)
(uri (cran-uri "MALDIquant" version))
(sha256
(base32
- "1h9i158czlzwbn5zakkqd2ggc9g90r73vdspmp6kgfcmy9frvwzz"))))
+ "1y1g3819ss06dry70kfhg2syddw71682qmzkcyppfsma6hhghw87"))))
(properties `((upstream-name . "MALDIquant")))
(build-system r-build-system)
(native-inputs
@@ -27808,14 +28221,14 @@ data to rasters. It speeds up plotting of data with millions of points.")
(define-public r-seuratobject
(package
(name "r-seuratobject")
- (version "4.0.3")
+ (version "4.0.4")
(source
(origin
(method url-fetch)
(uri (cran-uri "SeuratObject" version))
(sha256
(base32
- "06gch6416hmwpfxa7bidw5izfp4yvkdka7mvxp6grmldnj5iqm6g"))))
+ "1308hjbs8br3gp9vwm65awgp6vimwgi2jyl1ryn96l84savn2ljq"))))
(properties `((upstream-name . "SeuratObject")))
(build-system r-build-system)
(propagated-inputs
@@ -27833,13 +28246,13 @@ other R users.")
(define-public r-seurat
(package
(name "r-seurat")
- (version "4.0.5")
+ (version "4.1.0")
(source (origin
(method url-fetch)
(uri (cran-uri "Seurat" version))
(sha256
(base32
- "18svlpfbgs5vdzw2jyg99kj0jacag6dwwhjdg1zpmrh0fm0praxg"))))
+ "0p9i3fnkqa3vranr7c7ckzp1kq42d7p0gcfi9ml4kr334yd84195"))))
(properties `((upstream-name . "Seurat")))
(build-system r-build-system)
(propagated-inputs
@@ -27979,14 +28392,14 @@ distributed as independent packages.")
(define-public r-phangorn
(package
(name "r-phangorn")
- (version "2.8.0")
+ (version "2.8.1")
(source
(origin
(method url-fetch)
(uri (cran-uri "phangorn" version))
(sha256
(base32
- "1pg5lfc5m4ccphswbfbihj91ppmqhf4084kbjlmfsrqxylsyy8ch"))))
+ "0xfwi7adl1pcfcwk72fj7lkwfm0wiip96ij7m4252xr9mq818ivd"))))
(build-system r-build-system)
(propagated-inputs
(list r-ape
@@ -28036,14 +28449,14 @@ rate speciation and extinction.")
(define-public r-calculus
(package
(name "r-calculus")
- (version "0.3.1")
+ (version "0.3.2")
(source
(origin
(method url-fetch)
(uri (cran-uri "calculus" version))
(sha256
(base32
- "0m9cjc3bqv88vrrj51kd7c7xnczka5w9q0ln4l4nk514gvlr79bn"))))
+ "1x3bcdd422wqv9gk9r2m8g19qcga220sm5rxdp4bgfc6vlqzzz7y"))))
(properties `((upstream-name . "calculus")))
(build-system r-build-system)
(propagated-inputs
@@ -28100,6 +28513,39 @@ estimation in measurement error models: The R package decon.
Journal of Statistical Software, 39(10), 1-24.")
(license license:gpl3+)))
+(define-public r-densestbayes
+ (package
+ (name "r-densestbayes")
+ (version "1.0-2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "densEstBayes" version))
+ (sha256
+ (base32 "16fb7vkic9q5p8s4f0f215zmb36fcizqr4r2vm9dxxj9rasrg2f3"))))
+ (properties `((upstream-name . "densEstBayes")))
+ (build-system r-build-system)
+ (propagated-inputs
+ (list r-bh
+ r-mass
+ r-nlme
+ r-rcpp
+ r-rcpparmadillo
+ r-rcppeigen
+ r-rcppparallel
+ r-rstan
+ r-rstantools
+ r-stanheaders))
+ (home-page "https://cran.r-project.org/package=densEstBayes")
+ (synopsis "Density estimation via Bayesian inference engines")
+ (description
+ "Bayesian density estimates for univariate continuous random samples are
+provided using the Bayesian inference engine paradigm. The engine options
+are: Hamiltonian Monte Carlo, the no U-turn sampler, semiparametric mean field
+variational Bayes and slice sampling. The methodology is described in Wand
+and Yu (2020), arXiv:2009.06182.")
+ (license license:gpl2+)))
+
(define-public r-locpol
(package
(name "r-locpol")
@@ -28245,13 +28691,13 @@ well as email and push notifications.")
(define-public r-mlr3measures
(package
(name "r-mlr3measures")
- (version "0.4.0")
+ (version "0.4.1")
(source (origin
(method url-fetch)
(uri (cran-uri "mlr3measures" version))
(sha256
(base32
- "1qlqfan5akz42zwkcz3ncln6rd9c302dy4cyp7nx0jcafr5i459f"))))
+ "1kbw3xd7c9x65v9zzs8i5skmrvl0mf2wsbyssmiif0lvrbzfhcmb"))))
(build-system r-build-system)
(propagated-inputs
(list r-checkmate r-prroc))
@@ -28267,13 +28713,13 @@ are.")
(define-public r-mlr3misc
(package
(name "r-mlr3misc")
- (version "0.9.5")
+ (version "0.10.0")
(source (origin
(method url-fetch)
(uri (cran-uri "mlr3misc" version))
(sha256
(base32
- "1ax1mvnm8xjcskq12x63jkal766v1zwilpgrkdv6yawd7yrww4q9"))))
+ "1wnzyij1x67smkb3gjb9gpp7iy5andfl0s1c78xx4wylhycc6m11"))))
(build-system r-build-system)
(propagated-inputs
(list r-backports r-checkmate r-data-table r-digest r-r6))
@@ -28286,6 +28732,69 @@ helper functions for functional programming, for printing, to work with
package also supersedes the package @code{BBmisc}.")
(license license:lgpl3)))
+(define-public r-mlr3pipelines
+ (package
+ (name "r-mlr3pipelines")
+ (version "0.4.0")
+ (source (origin
+ (method url-fetch)
+ (uri (cran-uri "mlr3pipelines" version))
+ (sha256
+ (base32
+ "0913f67c1r9bi68gxh1prsp0vch21bl6plahnvjrlbq8rrs1sr6p"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ (list r-backports
+ r-checkmate
+ r-data-table
+ r-digest
+ r-lgr
+ r-mlr3
+ r-mlr3misc
+ r-paradox
+ r-r6
+ r-withr))
+ (home-page "https://mlr3pipelines.mlr-org.com/")
+ (synopsis "Preprocessing Operators and Pipelines for @code{mlr3}")
+ (description "@code{mlr3pipelines} enriches @code{mlr3} with a diverse
+set of pipelining operators (PipeOps) that can be composed into graphs.
+Operations exist for data preprocessing, model fitting, and ensemble learning.
+Graphs can themselves be treated as @code{mlr3} Learners and can therefore be
+resampled, benchmarked, and tuned.")
+ (license license:lgpl3)))
+
+(define-public r-mlr3ordinal
+ (let ((commit "9febac983b11b7b1f477e5cf0212e5999cd2ed44")
+ (revision "0"))
+ (package
+ (name "r-mlr3ordinal")
+ (version (git-version "0.1.0-9000" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mlr-org/mlr3ordinal")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1icfhz1pjm0mlsn2y60gsrbk31b2p7xmpx3xsg7639rcgdb5f9gl"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ (list r-checkmate
+ r-data-table
+ r-mlr3
+ r-mlr3misc
+ r-mlr3pipelines
+ r-nloptr
+ r-ordinal
+ r-paradox
+ r-r6))
+ (home-page "https://mlr3ordinal.mlr-org.com/")
+ (synopsis "Ordinal Regression for mlr3")
+ (description "This package extends @code{mlr3} with support for
+performing ordinal regression.")
+ (license license:expat))))
+
(define-public r-paradox
(package
(name "r-paradox")
@@ -28310,13 +28819,13 @@ implemented as @code{R6} classes.")
(define-public r-mlr3
(package
(name "r-mlr3")
- (version "0.13.0")
+ (version "0.13.1")
(source (origin
(method url-fetch)
(uri (cran-uri "mlr3" version))
(sha256
(base32
- "1729wbdp62cjjk775qxrahyskp191s9qqnmqbxncfjrpdxphxk34"))))
+ "052685d08cfsrh3r31yn05ngwi6z3fmz26gwiy32z7cpcigz8jjs"))))
(build-system r-build-system)
(propagated-inputs
(list r-r6
@@ -28373,14 +28882,14 @@ vector machines, and gradient boosting.")
(define-public r-bbotk
(package
(name "r-bbotk")
- (version "0.4.0")
+ (version "0.5.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "bbotk" version))
(sha256
(base32
- "09cw6z397laszsg5wsgpjh7jda74amqrcl2p25bgjg33ina2nvg7"))))
+ "15y1w3mi1g91p73786ql1mmqld011757vax17i1vq7zw1s51yzxz"))))
(properties `((upstream-name . "bbotk")))
(build-system r-build-system)
(propagated-inputs
@@ -28403,19 +28912,18 @@ annealing.")
(define-public r-mlr3tuning
(package
(name "r-mlr3tuning")
- (version "0.9.0")
+ (version "0.10.0")
(source (origin
(method url-fetch)
(uri (cran-uri "mlr3tuning" version))
(sha256
(base32
- "0i428kdbak81j1wlwmdf9y40hqi63azhyny802ms2z04wl8lwnvs"))))
+ "0cqbqp53053v7lvi9ynpr860n8fm9w9842hai5z6xvmgzqdmjiyp"))))
(build-system r-build-system)
(propagated-inputs
(list r-bbotk
r-checkmate
r-data-table
- r-digest
r-lgr
r-mlr3
r-mlr3misc
@@ -28696,14 +29204,14 @@ the font tool-set provided by the @code{systemfonts} package.")
(define-public r-ragg
(package
(name "r-ragg")
- (version "1.2.0")
+ (version "1.2.1")
(source
(origin
(method url-fetch)
(uri (cran-uri "ragg" version))
(sha256
(base32
- "1wbk7vny8435ii3aak586imd0dgh4ri55kqypx5b10x6ygp32avb"))))
+ "08dknkibmmwllycga2cp2732idsi3jfkkl5ghh6r2g2wdli1n2y1"))))
(properties `((upstream-name . "ragg")))
(build-system r-build-system)
(inputs
@@ -28757,31 +29265,31 @@ in output to the equivalent HTML.")
(define-public r-pkgdown
(package
(name "r-pkgdown")
- (version "1.6.1")
+ (version "2.0.2")
(source
(origin
(method url-fetch)
(uri (cran-uri "pkgdown" version))
(sha256
(base32
- "1k31biyvxkv3xjc1yy3nzb9wfza3vbx97fv17nly5a6vlv7zqbs4"))))
+ "11grx7a2rz6b4kwspm7c8crjav677c22hysnp4bkwh5g8kr5nm2h"))))
(properties `((upstream-name . "pkgdown")))
(build-system r-build-system)
(inputs (list pandoc))
(propagated-inputs
- (list r-callr
+ (list r-bslib
+ r-callr
r-crayon
r-desc
r-digest
r-downlit
r-fs
r-httr
+ r-jsonlite
r-magrittr
r-memoise
- r-openssl
r-purrr
r-ragg
- r-rematch2
r-rlang
r-rmarkdown
r-tibble
@@ -28803,14 +29311,14 @@ package online.")
(define-public r-prereg
(package
(name "r-prereg")
- (version "0.5.0")
+ (version "0.6.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "prereg" version))
(sha256
(base32
- "0bck13iiaxwpqh0rd45mp1s5d8z62ggg0wa7rmyi8a65aywiypsi"))))
+ "039nrl5cirsx1ysh214dr6xnn1h6h3f90im6k9dgmzfksxdqigpw"))))
(properties `((upstream-name . "prereg")))
(build-system r-build-system)
(propagated-inputs
@@ -29371,14 +29879,14 @@ light-weight geometry library used by @url{http://postgis.net/,PostGIS}.")
(define-public r-stars
(package
(name "r-stars")
- (version "0.5-4")
+ (version "0.5-5")
(source
(origin
(method url-fetch)
(uri (cran-uri "stars" version))
(sha256
(base32
- "1h5fway2fk637mkglw0h3ajiyyx8saqcapg42xzsiwbk8lnaf9f4"))))
+ "0hcbzr8c7wk30qjwrvx6bflzwkjpms79pavaxawnq1h8kry5fngk"))))
(properties `((upstream-name . "stars")))
(build-system r-build-system)
(propagated-inputs
@@ -29562,14 +30070,14 @@ BTM-WWW13.pdf}.")
(define-public r-delaporte
(package
(name "r-delaporte")
- (version "8.0.1")
+ (version "8.0.2")
(source
(origin
(method url-fetch)
(uri (cran-uri "Delaporte" version))
(sha256
(base32
- "0ijhmwclpg5czs2sl2vykcw8qj2pxy26xf6knh62rqq6p6sm43f4"))))
+ "10xsmms2jfw7x4hmgpd35dv4n4azpjzmfid6585kg6qfh2zg23g5"))))
(properties `((upstream-name . "Delaporte")))
(build-system r-build-system)
(native-inputs (list gfortran))
@@ -29877,14 +30385,14 @@ time zone manipulations.")
(define-public r-vroom
(package
(name "r-vroom")
- (version "1.5.6")
+ (version "1.5.7")
(source
(origin
(method url-fetch)
(uri (cran-uri "vroom" version))
(sha256
(base32
- "0b1lbi20gadwjwinw1v0az4g0y79vlcqfqyblphls601h3nnmn3p"))))
+ "1plz20x6s01gkkcac51lhx4r2s024pgh778ri7y25hkiiwacp1yh"))))
(properties `((upstream-name . "vroom")))
(build-system r-build-system)
(propagated-inputs
@@ -29990,13 +30498,13 @@ reading and writing arbitrary protocol-buffer data in R.")
(define-public r-opencpu
(package
(name "r-opencpu")
- (version "2.2.5")
+ (version "2.2.6")
(source
(origin
(method url-fetch)
(uri (cran-uri "opencpu" version))
(sha256
- (base32 "1qlwx8iq30qfy2sh0v31pxg955bj4zs0r7v8yklbdwb3qw7kv30g"))))
+ (base32 "0cmjfhkbk4im3x8aas0q5pivlsxgqixf4f3jiindchki7g9nsw91"))))
(properties `((upstream-name . "opencpu")))
(build-system r-build-system)
(inputs
@@ -30033,14 +30541,14 @@ Apache2.")
(define-public r-exactextractr
(package
(name "r-exactextractr")
- (version "0.7.1")
+ (version "0.7.2")
(source
(origin
(method url-fetch)
(uri (cran-uri "exactextractr" version))
(sha256
(base32
- "1gc1p9pgazhblk8jgykxxjpblylbaq5r9hdlw3ilz5g45yjjwcnc"))))
+ "0n39dqgsfzybi9yvnpnfdyypl8c9fml80jq0wxssik2n47mvbcif"))))
(properties `((upstream-name . "exactextractr")))
(build-system r-build-system)
(inputs (list geos))
@@ -30059,14 +30567,14 @@ the @code{raster} package that is suitable for extracting raster values using
(define-public r-stringfish
(package
(name "r-stringfish")
- (version "0.15.4")
+ (version "0.15.5")
(source
(origin
(method url-fetch)
(uri (cran-uri "stringfish" version))
(sha256
(base32
- "1n67y9vgv8vb8qd091d1wm5sgbalcm2avh2fz0hd3mmglpkr83wf"))))
+ "0ac17wl0fcpmipbvhhg5nyccg055671fnlxvnjd5l3kilx313wlx"))))
(properties `((upstream-name . "stringfish")))
(build-system r-build-system)
(propagated-inputs
@@ -30107,14 +30615,14 @@ package.")
(define-public r-qs
(package
(name "r-qs")
- (version "0.25.1.1")
+ (version "0.25.2")
(source
(origin
(method url-fetch)
(uri (cran-uri "qs" version))
(sha256
(base32
- "077i181vh0izvsdy2d4366yir0ajg531g6d1s7ab044ssbphg38x"))))
+ "1gswppmw8rhd7h50hffhss4c4niz0x54r9sc8pgqzy26vkjqlhpy"))))
(properties `((upstream-name . "qs")))
(build-system r-build-system)
(inputs (list zlib))
@@ -30132,14 +30640,14 @@ object to and from disk.")
(define-public r-rgeos
(package
(name "r-rgeos")
- (version "0.5-8")
+ (version "0.5-9")
(source
(origin
(method url-fetch)
(uri (cran-uri "rgeos" version))
(sha256
(base32
- "05539shf38slvq38pf92h9q57vmzn2vfqbirl3pbbvvc2j957cqd"))))
+ "1m73y0nwrdwsjrl48c4fg1kdqnh79835brnmxv9ak01ndbzcp45b"))))
(properties `((upstream-name . "rgeos")))
(build-system r-build-system)
(inputs
@@ -30516,14 +31024,14 @@ fully reproducible.")
(define-public r-paws-common
(package
(name "r-paws-common")
- (version "0.3.14")
+ (version "0.3.15")
(source
(origin
(method url-fetch)
(uri (cran-uri "paws.common" version))
(sha256
(base32
- "013yiki3bjx0np577wy17ikfxdr2hiv6sd10anv281r108kldm1x"))))
+ "0kj5b4253j4rljkj0ibh21kh9r1yq9idz9vf1f4ag775ivsc2dk5"))))
(properties `((upstream-name . "paws.common")))
(build-system r-build-system)
(propagated-inputs
@@ -31514,17 +32022,38 @@ data. This package provides functions that query the BIEN database by
constructing and executing optimized SQL queries.")
(license license:expat)))
+(define-public r-varhandle
+ (package
+ (name "r-varhandle")
+ (version "2.0.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "varhandle" version))
+ (sha256
+ (base32 "1l42d0s6fbjjc9l28a2m3myxkrx2c0p0b9yj8wjjjgilw19yc3lv"))))
+ (properties `((upstream-name . "varhandle")))
+ (build-system r-build-system)
+ (home-page "https://bitbucket.org/mehrad_mahmoudian/varhandle")
+ (synopsis "Functions for robust variable handling")
+ (description
+ "This package contains some functions to help users (especially data
+explorers) to make more sense of their variables and take the most out of
+variables and hardware resources. Functions in this package are supposed to
+be efficient and easy to use.")
+ (license license:gpl2+)))
+
(define-public r-ggh4x
(package
(name "r-ggh4x")
- (version "0.2.0")
+ (version "0.2.1")
(source
(origin
(method url-fetch)
(uri (cran-uri "ggh4x" version))
(sha256
(base32
- "0gv9ckkdqbcjknzsv8h3955wnikawdfypr279v74hvwyq86af29r"))))
+ "1r49yfm5fqv5s7jb92ad6rf8hd9plcry6f500czjhnhhrp16cqfp"))))
(properties `((upstream-name . "ggh4x")))
(build-system r-build-system)
(propagated-inputs
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 065ff6c8e8..dbd3607dc4 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -192,10 +192,10 @@ text or blue underlined text, on ANSI terminals.")
"1xif1bh938qpfc3d0f9xgidibpm65xix11w9gszwqnia00q7rb13"))))
(arguments `())))
-(define-public rust-aom-sys-0.2
+(define-public rust-aom-sys-0.3
(package
(name "rust-aom-sys")
- (version "0.2.1")
+ (version "0.3.0")
(source
(origin
(method url-fetch)
@@ -204,7 +204,7 @@ text or blue underlined text, on ANSI terminals.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "03a0xhaafjn0hlpcf9ba73hv557m0jqnmj9wl57wzrcnka96zvgj"))))
+ "0dhikfl7l5nacspajbllbhhysad3vl845cpfplqgm5mf67nmx9w8"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -219,30 +219,6 @@ text or blue underlined text, on ANSI terminals.")
(description "This package provides FFI bindings to aom.")
(license license:expat)))
-(define-public rust-aom-sys-0.1
- (package
- (inherit rust-aom-sys-0.2)
- (name "rust-aom-sys")
- (version "0.1.4")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "aom-sys" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1bqcpkycv1d67r6jcl9npfbw6rkl829rdq9w6vlpb0rjqxp0xzsn"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs
- (("rust-bindgen" ,rust-bindgen-0.53)
- ("rust-metadeps" ,rust-metadeps-1))))
- (native-inputs
- (list pkg-config))
- (inputs
- (list libaom clang llvm))))
-
(define-public rust-ascii-canvas-2
(package
(name "rust-ascii-canvas")
@@ -570,24 +546,44 @@ 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")
- (version "0.3.2")
+ (version "0.3.4")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "dav1d-sys" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1jdxhnlxcml6jd67lx78ifzkn1xm18zfk4li7vjdh3fa61i073kx"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dav1d-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "020lla2l703iy69gbksq18snj2b1sp7vmjf39qqykd4242d4msr5"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-bindgen" ,rust-bindgen-0.54)
- ("rust-metadeps" ,rust-metadeps-1))))
+ (("rust-bindgen" ,rust-bindgen-0.58)
+ ("rust-system-deps" ,rust-system-deps-3))))
(native-inputs
(list pkg-config))
(inputs
@@ -597,10 +593,32 @@ and iOS.")
(description "This package provides FFI bindings to dav1d.")
(license license:expat)))
-(define-public rust-euclid-0.20
+(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")
- (version "0.20.10")
+ (version "0.22.6")
(source
(origin
(method url-fetch)
@@ -609,11 +627,12 @@ and iOS.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0c3hbl0kvc53k6nws0v9d46hi0giza1j079sqx2bgl4wfw65nshc"))))
+ "102blw7ljphi7i2xg435z0bb0a4npmwwbgyfinqxg1m0af2q55ns"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-mint" ,rust-mint-0.5)
+ (("rust-arbitrary" ,rust-arbitrary-1)
+ ("rust-mint" ,rust-mint-0.5)
("rust-num-traits" ,rust-num-traits-0.2)
("rust-serde" ,rust-serde-1))
#:cargo-development-inputs
@@ -775,14 +794,14 @@ EUI-64, also known as MAC-48 media access control addresses.")
(define-public rust-gif-0.11
(package
(name "rust-gif")
- (version "0.11.1")
+ (version "0.11.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "gif" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1i4n9fwg3zrp07pi5zsgyza2gl8lqnap6fj6875lfy121xbbmvq2"))))
+ (base32 "0nsfd5qvp69z8kn17ziiq8zv4mclfycyxppf5k9fm2h8g1z1i9y3"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -1214,14 +1233,14 @@ PATH.")
(define-public rust-image-0.23
(package
(name "rust-image")
- (version "0.23.12")
+ (version "0.23.14")
(source
(origin
(method url-fetch)
(uri (crate-uri "image" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1dg9z5sbc389spp7pm23n2b1k0gdd8hjdb8hhsp3k3npx9vl1q3w"))))
+ (base32 "18gn2f7xp30pf9aqka877knlq308khxqiwjvsccvzaa4f9zcpzr4"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -1363,7 +1382,7 @@ pixel buffers with width, height and stride.")
(define-public rust-jpeg-decoder-0.1
(package
(name "rust-jpeg-decoder")
- (version "0.1.18")
+ (version "0.1.22")
(source
(origin
(method url-fetch)
@@ -1371,8 +1390,7 @@ pixel buffers with width, height and stride.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0lc428qgffh2a1agkq0p26mvf9rjaiswpywy5883j99mqypg0mh2"))))
+ (base32 "1wnh0bmmswpgwhgmlizz545x8334nlbmkq8imy9k224ri3am7792"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Some test files missing.
@@ -1418,10 +1436,33 @@ pixel buffers with width, height and stride.")
graphics and video games.")
(license license:expat)))
-(define-public rust-lyon-geom-0.14
+(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")
- (version "0.14.1")
+ (version "0.17.6")
(source
(origin
(method url-fetch)
@@ -1430,25 +1471,25 @@ graphics and video games.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "178z4cqqmyw0rsabbgx9phkjxjzcnq0604062lqjlq87k063216a"))))
+ "12al92qsh0f8ci3qf3533r4y5hxzzyfp972vm4wqzz9bq9vwx6ff"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-num-traits" ,rust-num-traits-0.2)
- ("rust-euclid" ,rust-euclid-0.20)
- ("rust-arrayvec" ,rust-arrayvec-0.4)
- ("rust-serde" ,rust-serde-1))))
+ (("rust-arrayvec" ,rust-arrayvec-0.5)
+ ("rust-euclid" ,rust-euclid-0.22)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-serde" ,rust-serde-1))))
(home-page "https://github.com/nical/lyon")
(synopsis "2D graphics rendering on the GPU using tessellation")
(description
"This package provides 2D graphics rendering on the GPU using tessellation.")
(license (list license:expat license:asl2.0))))
-(define-public rust-lyon-path-0.14
+(define-public rust-lyon-path-0.17
(package
(name "rust-lyon-path")
- (version "0.14.0")
+ (version "0.17.7")
(source
(origin
(method url-fetch)
@@ -1457,12 +1498,12 @@ graphics and video games.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0qk8x46w0sf6j04l6gvhgn9kr4ymcqkmkh67w8wqahm54jn5gjqb"))))
+ "1h7vbfaanf3x7xch6md4q4ja3xmvsi41n7d6ga40vjk7yzymj2jv"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-lyon-geom" ,rust-lyon-geom-0.14)
+ (("rust-lyon-geom" ,rust-lyon-geom-0.17)
("rust-serde" ,rust-serde-1))))
(home-page "https://github.com/nical/lyon")
(synopsis "Types and utilities to store, build and iterate over 2D paths")
@@ -1470,6 +1511,54 @@ graphics and video games.")
"Types and utilities to store, build and iterate over 2D paths.")
(license (list license:expat license:asl2.0))))
+(define-public rust-lyon-svg-0.17
+ (package
+ (name "rust-lyon-svg")
+ (version "0.17.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lyon_svg" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0fin6h9vwgz7gi2a1b0j9bp8a1aval2lvha1kzy7iijm4kgdcj3d"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-lyon-path" ,rust-lyon-path-0.17)
+ ("rust-svgtypes" ,rust-svgtypes-0.5))))
+ (home-page "https://github.com/nical/lyon")
+ (synopsis "SVG helpers for the lyon crates")
+ (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")
@@ -1587,7 +1676,7 @@ nicely with Piston libraries.")
(home-page
"https://github.com/PistonDevelopers/graphics_api_version")
(synopsis
- "A library for storing graphics API versions")
+ "Library for storing graphics API versions")
(description
"This package provides a library for storing graphics API versions")
(license license:expat)))
@@ -1630,7 +1719,7 @@ nicely with Piston libraries.")
(arguments `(#:skip-build? #t))
(home-page
"https://github.com/pistondevelopers/texture")
- (synopsis "A generic library for textures")
+ (synopsis "Generic library for textures")
(description
"This package provides a generic library for textures")
(license license:expat)))
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index b22905629f..e392220a01 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1,6 +1,8 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
+;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
+;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -26,14 +28,73 @@
#:use-module (gnu packages crates-io)
#:use-module (gnu packages crates-graphics)
#:use-module (gnu packages glib)
- #:use-module (gnu packages gtk))
+ #:use-module (gnu packages gnome)
+ #:use-module (gnu packages gtk)
+ #:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages webkit))
;;;
;;; Please: Try to add new module packages in alphabetic order.
;;;
+(define-public rust-atk-sys-0.14
+ (package
+ (name "rust-atk-sys")
+ (version "0.14.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "atk-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1sl3pqfb2jaf9kcfxj9k43d7iv8gcl5zgdgn3j5vp13w2mqgdp5s"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; missing files
+ #:cargo-inputs
+ (("rust-glib-sys" ,rust-glib-sys-0.14)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.14)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-3))
+ #:cargo-development-inputs
+ (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs
+ (list atk glib))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "FFI bindings to libatk-1")
+ (description "FFI bindings to libatk-1")
+ (license license:expat)))
+
+(define-public rust-atk-sys-0.10
+ (package
+ (inherit rust-atk-sys-0.14)
+ (name "rust-atk-sys")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "atk-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1knzvq2jdkx1nav619jbqsx2ivzh901rsp2wl57wr50x2fpy8c7m"))))
+ (arguments
+ `(#:tests? #f ;missing files
+ #:cargo-inputs
+ (("rust-glib-sys" ,rust-glib-sys-0.10)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.10)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-1))
+ #:cargo-development-inputs
+ (("rust-shell-words" ,rust-shell-words-0.1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs
+ (list atk glib))))
(define-public rust-atk-sys-0.9
(package
+ (inherit rust-atk-sys-0.14)
(name "rust-atk-sys")
(version "0.9.1")
(source
@@ -43,7 +104,6 @@
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0vzcm1inhax78bcsbapr6mrp4z7lk783csyh200wi91pcxvw2lp5"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ;missing files
#:cargo-inputs
@@ -53,16 +113,40 @@
("rust-pkg-config" ,rust-pkg-config-0.3))
#:cargo-development-inputs
(("rust-shell-words" ,rust-shell-words-0.1)
- ("rust-tempfile" ,rust-tempfile-3))))
+ ("rust-tempfile" ,rust-tempfile-3))))))
+
+(define-public rust-atk-0.14
+ (package
+ (name "rust-atk")
+ (version "0.14.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "atk" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1fi6f3k1lgd0iymar58hp88k76fm5pd1npi2avdn9r3mmb922fx8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-atk-sys" ,rust-atk-sys-0.14)
+ ("rust-bitflags" ,rust-bitflags-1)
+ ("rust-glib" ,rust-glib-0.14)
+ ("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
(inputs
(list atk glib))
(home-page "https://gtk-rs.org/")
- (synopsis "FFI bindings to libatk-1")
- (description "FFI bindings to libatk-1")
+ (synopsis "Rust bindings for the ATK library")
+ (description "Rust bindings for the ATK library")
(license license:expat)))
(define-public rust-atk-0.8
(package
+ (inherit rust-atk-0.14)
(name "rust-atk")
(version "0.8.0")
(source
@@ -72,7 +156,6 @@
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0gk6ijqsd6kh8cki1wznw570499psbppg3d5bqaayagjapxawka4"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-atk-sys" ,rust-atk-sys-0.9)
@@ -83,16 +166,42 @@
("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1)
("rust-libc" ,rust-libc-0.2))
#:cargo-development-inputs
- (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
+
+(define-public rust-cairo-rs-0.14
+ (package
+ (name "rust-cairo-rs")
+ (version "0.14.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cairo-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "10ml7hxzj6w5k6yjdkcmxx0ds4mnrn9j3bdbk1nmh36vg5cp5d9k"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.14)
+ ("rust-freetype" ,rust-freetype-0.7)
+ ("rust-glib" ,rust-glib-0.14)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs
+ (("rust-tempfile" ,rust-tempfile-3))))
(inputs
- (list atk glib))
+ (list cairo))
(home-page "https://gtk-rs.org/")
- (synopsis "Rust bindings for the ATK library")
- (description "Rust bindings for the ATK library")
+ (synopsis "Rust bindings for the Cairo library")
+ (description "Rust bindings for the Cairo library")
(license license:expat)))
(define-public rust-cairo-rs-0.9
(package
+ (inherit rust-cairo-rs-0.14)
(name "rust-cairo-rs")
(version "0.9.1")
(source
@@ -102,7 +211,6 @@
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1f5x6ipfpzz0ffph0pg0xfkdfcbr0jp59714zz857jp88zhg5h65"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -115,13 +223,7 @@
("rust-libc" ,rust-libc-0.2)
("rust-thiserror" ,rust-thiserror-1))
#:cargo-development-inputs
- (("rust-tempfile" ,rust-tempfile-3))))
- (inputs
- (list cairo))
- (home-page "https://gtk-rs.org/")
- (synopsis "Rust bindings for the Cairo library")
- (description "Rust bindings for the Cairo library")
- (license license:expat)))
+ (("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-cairo-rs-0.8
(package
@@ -175,24 +277,25 @@
#:cargo-development-inputs
(("rust-tempfile" ,rust-tempfile-3))))))
-(define-public rust-cairo-sys-rs-0.10
+(define-public rust-cairo-sys-rs-0.14
(package
(name "rust-cairo-sys-rs")
- (version "0.10.0")
+ (version "0.14.9")
(source
(origin
(method url-fetch)
(uri (crate-uri "cairo-sys-rs" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "19wch8zc11hbi724mn16hhqyff8kw5c5bsbdlzpxdwfmkadn7lif"))))
+ (base32 "0w3md4xk87ign30wb3rqfmmj0q6pvg5arbm35flgsd08jxvbhj5l"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
+ `(#:skip-build?
+ #t
#:cargo-inputs
- (("rust-glib-sys" ,rust-glib-sys-0.10)
+ (("rust-glib-sys" ,rust-glib-sys-0.14)
("rust-libc" ,rust-libc-0.2)
- ("rust-system-deps" ,rust-system-deps-1)
+ ("rust-system-deps" ,rust-system-deps-3)
("rust-winapi" ,rust-winapi-0.3)
("rust-x11" ,rust-x11-2))))
(inputs
@@ -202,6 +305,27 @@
(description "This package provides FFI bindings to libcairo.")
(license license:expat)))
+(define-public rust-cairo-sys-rs-0.10
+ (package
+ (inherit rust-cairo-sys-rs-0.14)
+ (name "rust-cairo-sys-rs")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cairo-sys-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "19wch8zc11hbi724mn16hhqyff8kw5c5bsbdlzpxdwfmkadn7lif"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-glib-sys" ,rust-glib-sys-0.10)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-1)
+ ("rust-winapi" ,rust-winapi-0.3)
+ ("rust-x11" ,rust-x11-2))))))
+
(define-public rust-cairo-sys-rs-0.9
(package
(inherit rust-cairo-sys-rs-0.10)
@@ -222,8 +346,42 @@
("rust-x11" ,rust-x11-2)
("rust-pkg-config" ,rust-pkg-config-0.3))))))
+(define-public rust-gdk-0.14
+ (package
+ (name "rust-gdk")
+ (version "0.14.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0fwkm4glh7cici6yd96qlddyp4s2l029wa1sgh6xxn00zkf4kmxr"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cairo-rs" ,rust-cairo-rs-0.14)
+ ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.14)
+ ("rust-gdk-sys" ,rust-gdk-sys-0.14)
+ ("rust-gio" ,rust-gio-0.14)
+ ("rust-glib" ,rust-glib-0.14)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango" ,rust-pango-0.14))
+ #:cargo-development-inputs
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (inputs
+ (list cairo gdk-pixbuf glib gtk+ pango))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings for the GDK 3 library")
+ (description "This package provides Rust bindings for the GDK 3 library.")
+ (license license:expat)))
+
(define-public rust-gdk-0.13
(package
+ (inherit rust-gdk-0.14)
(name "rust-gdk")
(version "0.13.2")
(source
@@ -233,7 +391,6 @@
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0zbb9bwg2z9vlcjj9b59qch3mfmszsrxya7syc5a39v85adq606v"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -251,13 +408,7 @@
("rust-libc" ,rust-libc-0.2)
("rust-pango" ,rust-pango-0.9))
#:cargo-development-inputs
- (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
- (inputs
- (list cairo gdk-pixbuf glib gtk+ pango))
- (home-page "https://gtk-rs.org/")
- (synopsis "Rust bindings for the GDK 3 library")
- (description "This package provides Rust bindings for the GDK 3 library.")
- (license license:expat)))
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
(define-public rust-gdk-0.12
(package
@@ -289,8 +440,38 @@
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
+(define-public rust-gdk-pixbuf-0.14
+ (package
+ (name "rust-gdk-pixbuf")
+ (version "0.14.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk-pixbuf" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "03xi6pi0h9jwkxvja18k75x5pblsiym4p39cmf7ypnh1iz5r4hak"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.14)
+ ("rust-gio" ,rust-gio-0.14)
+ ("rust-glib" ,rust-glib-0.14)
+ ("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (inputs
+ (list gdk-pixbuf))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings for the GdkPixbuf library")
+ (description "Rust bindings for the GdkPixbuf library")
+ (license license:expat)))
+
(define-public rust-gdk-pixbuf-0.9
(package
+ (inherit rust-gdk-pixbuf-0.14)
(name "rust-gdk-pixbuf")
(version "0.9.0")
(source
@@ -300,7 +481,6 @@
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "12lrk7zwshid8dgx9vg87bk0h4a0ilpi7w48idsrpm4xp4yawvcg"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -313,13 +493,7 @@
("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1)
("rust-libc" ,rust-libc-0.2))
#:cargo-development-inputs
- (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
- (inputs
- (list gdk-pixbuf))
- (home-page "https://gtk-rs.org/")
- (synopsis "Rust bindings for the GdkPixbuf library")
- (description "Rust bindings for the GdkPixbuf library")
- (license license:expat)))
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
(define-public rust-gdk-pixbuf-0.8
(package
@@ -375,26 +549,27 @@
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
-(define-public rust-gdk-pixbuf-sys-0.10
+(define-public rust-gdk-pixbuf-sys-0.14
(package
(name "rust-gdk-pixbuf-sys")
- (version "0.10.0")
+ (version "0.14.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "gdk-pixbuf-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "13qyxazj9bmw3llvkh6br8v7sypnbin2nxis366ppsa3gy54dziv"))))
+ (base32 "14759y4z2najwv3hpvdqi2qqnz4lqrcdqqhpkkvciyq189qc15zh"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
+ `(#:skip-build?
+ #t
#:cargo-inputs
- (("rust-gio-sys" ,rust-gio-sys-0.10)
- ("rust-glib-sys" ,rust-glib-sys-0.10)
- ("rust-gobject-sys" ,rust-gobject-sys-0.10)
+ (("rust-gio-sys" ,rust-gio-sys-0.14)
+ ("rust-glib-sys" ,rust-glib-sys-0.14)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.14)
("rust-libc" ,rust-libc-0.2)
- ("rust-system-deps" ,rust-system-deps-1))
+ ("rust-system-deps" ,rust-system-deps-3))
#:cargo-development-inputs
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))
@@ -405,6 +580,30 @@
(description "This package provides FFI bindings to @code{libgdk_pixbuf-2.0}.")
(license license:expat)))
+(define-public rust-gdk-pixbuf-sys-0.10
+ (package
+ (inherit rust-gdk-pixbuf-sys-0.14)
+ (name "rust-gdk-pixbuf-sys")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk-pixbuf-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "13qyxazj9bmw3llvkh6br8v7sypnbin2nxis366ppsa3gy54dziv"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-gio-sys" ,rust-gio-sys-0.10)
+ ("rust-glib-sys" ,rust-glib-sys-0.10)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.10)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-1))
+ #:cargo-development-inputs
+ (("rust-shell-words" ,rust-shell-words-0.1)
+ ("rust-tempfile" ,rust-tempfile-3))))))
+
(define-public rust-gdk-pixbuf-sys-0.9
(package
(inherit rust-gdk-pixbuf-sys-0.10)
@@ -429,8 +628,44 @@
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-gdk-sys-0.14
+ (package
+ (name "rust-gdk-sys")
+ (version "0.14.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "07hz3gg039sy7iffy2w5srxzsnqf15i3ryxkqfd995k67lyin28f"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.14)
+ ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.14)
+ ("rust-gio-sys" ,rust-gio-sys-0.14)
+ ("rust-glib-sys" ,rust-glib-sys-0.14)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.14)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango-sys" ,rust-pango-sys-0.14)
+ ("rust-pkg-config" ,rust-pkg-config-0.3)
+ ("rust-system-deps" ,rust-system-deps-3))
+ #:cargo-development-inputs
+ (("rust-shell-words" ,rust-shell-words-0.1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (inputs
+ (list cairo gdk-pixbuf gtk+ glib pango))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "FFI bindings to libgdk-3")
+ (description "FFI bindings to libgdk-3")
+ (license license:expat)))
+
(define-public rust-gdk-sys-0.10
(package
+ (inherit rust-gdk-sys-0.14)
(name "rust-gdk-sys")
(version "0.10.0")
(source
@@ -455,13 +690,7 @@
("rust-system-deps" ,rust-system-deps-1))
#:cargo-development-inputs
(("rust-shell-words" ,rust-shell-words-0.1)
- ("rust-tempfile" ,rust-tempfile-3))))
- (inputs
- (list cairo gdk-pixbuf gtk+ glib pango))
- (home-page "https://gtk-rs.org/")
- (synopsis "FFI bindings to libgdk-3")
- (description "FFI bindings to libgdk-3")
- (license license:expat)))
+ ("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-gdk-sys-0.9
(package
@@ -490,8 +719,44 @@
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-gio-0.14
+ (package
+ (name "rust-gio")
+ (version "0.14.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gio" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1c2w47mznpplr3mmhgs4m4nlkv8gs4c182cwi9brbl7bncr3c73i"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-futures-io" ,rust-futures-io-0.3)
+ ("rust-gio-sys" ,rust-gio-sys-0.14)
+ ("rust-glib" ,rust-glib-0.14)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1)
+ ("rust-serial-test" ,rust-serial-test-0.4))))
+ (inputs
+ (list glib))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings for the Gio library")
+ (description "Rust bindings for the Gio library")
+ (license license:expat)))
+
(define-public rust-gio-0.9
(package
+ (inherit rust-gio-0.14)
(name "rust-gio")
(version "0.9.1")
(source
@@ -501,7 +766,6 @@
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0qc5aqi2ijval5i9df0qryy4wbmayyhy7ng5v9r0fw7zpx105dhz"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -521,13 +785,7 @@
("rust-thiserror" ,rust-thiserror-1))
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1)
- ("rust-serial-test" ,rust-serial-test-0.4))))
- (inputs
- (list glib))
- (home-page "https://gtk-rs.org/")
- (synopsis "Rust bindings for the Gio library")
- (description "Rust bindings for the Gio library")
- (license license:expat)))
+ ("rust-serial-test" ,rust-serial-test-0.4))))))
(define-public rust-gio-0.8
(package
@@ -590,25 +848,26 @@
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
-(define-public rust-gio-sys-0.10
+(define-public rust-gio-sys-0.14
(package
(name "rust-gio-sys")
- (version "0.10.1")
+ (version "0.14.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "gio-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1b2f6jvghm2djymj3qrgbqfci2f95gyhdin2pgv2qpcg5xszn92y"))))
+ (base32 "1yj8dx2rna07av3jwyd93s832kw8dg14zxxwqj3w5z2pdvv1v960"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
+ `(#:skip-build?
+ #t
#:cargo-inputs
- (("rust-glib-sys" ,rust-glib-sys-0.10)
- ("rust-gobject-sys" ,rust-gobject-sys-0.10)
+ (("rust-glib-sys" ,rust-glib-sys-0.14)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.14)
("rust-libc" ,rust-libc-0.2)
- ("rust-system-deps" ,rust-system-deps-1)
+ ("rust-system-deps" ,rust-system-deps-3)
("rust-winapi" ,rust-winapi-0.3))))
(inputs
(list glib))
@@ -617,6 +876,27 @@
(description "This package provides FFI bindings to libgio-2.0.")
(license license:expat)))
+(define-public rust-gio-sys-0.10
+ (package
+ (inherit rust-gio-sys-0.14)
+ (name "rust-gio-sys")
+ (version "0.10.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gio-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1b2f6jvghm2djymj3qrgbqfci2f95gyhdin2pgv2qpcg5xszn92y"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-glib-sys" ,rust-glib-sys-0.10)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.10)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-1)
+ ("rust-winapi" ,rust-winapi-0.3))))))
+
(define-public rust-gio-sys-0.9
(package
(inherit rust-gio-sys-0.10)
@@ -659,8 +939,44 @@
(description "File format checker in Rust.")
(license license:expat)))
+(define-public rust-glib-0.14
+ (package
+ (name "rust-glib")
+ (version "0.14.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glib" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "194n6w5yy869lls3pr46x5nm049cn02qsljzcgv1w5dzc8g5ylbw"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-futures-executor" ,rust-futures-executor-0.3)
+ ("rust-futures-task" ,rust-futures-task-0.3)
+ ("rust-glib-macros" ,rust-glib-macros-0.14)
+ ("rust-glib-sys" ,rust-glib-sys-0.14)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.14)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-smallvec" ,rust-smallvec-1))))
+ (inputs
+ (list glib))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings for the GLib library")
+ (description "Rust bindings for the GLib library")
+ (license license:expat)))
+
(define-public rust-glib-0.10
(package
+ (inherit rust-glib-0.14)
(name "rust-glib")
(version "0.10.3")
(source
@@ -670,7 +986,6 @@
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1ifh56nhvhcrssxqkad876qqrlnl16q6b8ap3f7ncpjinw9m0s0c"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -685,13 +1000,7 @@
("rust-glib-sys" ,rust-glib-sys-0.10)
("rust-gobject-sys" ,rust-gobject-sys-0.10)
("rust-libc" ,rust-libc-0.2)
- ("rust-once-cell" ,rust-once-cell-1))))
- (inputs
- (list glib))
- (home-page "https://gtk-rs.org/")
- (synopsis "Rust bindings for the GLib library")
- (description "Rust bindings for the GLib library")
- (license license:expat)))
+ ("rust-once-cell" ,rust-once-cell-1))))))
(define-public rust-glib-0.9
(package
@@ -748,25 +1057,25 @@
#:cargo-development-inputs
(("rust-tempfile" ,rust-tempfile-3))))))
-(define-public rust-glib-macros-0.10
+(define-public rust-glib-macros-0.14
(package
(name "rust-glib-macros")
- (version "0.10.1")
+ (version "0.14.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "glib-macros" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0fa00s6gnj3hgri9z926199jidczlmjr1db0n4r80sins4k6lj21"))))
+ (base32 "0675i7m7pksg4cd9kfpzjnw0x5r3y4gcac7mfgy6nyb63wv6db9a"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
+ `(#:skip-build?
+ #t
#:cargo-inputs
(("rust-anyhow" ,rust-anyhow-1)
("rust-heck" ,rust-heck-0.3)
- ("rust-itertools" ,rust-itertools-0.9)
- ("rust-proc-macro-crate" ,rust-proc-macro-crate-0.1)
+ ("rust-proc-macro-crate" ,rust-proc-macro-crate-1)
("rust-proc-macro-error" ,rust-proc-macro-error-1)
("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
@@ -776,23 +1085,48 @@
(description "Rust bindings for the GLib library, proc macros crate.")
(license license:expat)))
-(define-public rust-glib-sys-0.10
+(define-public rust-glib-macros-0.10
(package
- (name "rust-glib-sys")
+ (inherit rust-glib-macros-0.14)
+ (name "rust-glib-macros")
(version "0.10.1")
(source
(origin
(method url-fetch)
+ (uri (crate-uri "glib-macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0fa00s6gnj3hgri9z926199jidczlmjr1db0n4r80sins4k6lj21"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-heck" ,rust-heck-0.3)
+ ("rust-itertools" ,rust-itertools-0.9)
+ ("rust-proc-macro-crate" ,rust-proc-macro-crate-0.1)
+ ("rust-proc-macro-error" ,rust-proc-macro-error-1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))))
+
+(define-public rust-glib-sys-0.14
+ (package
+ (name "rust-glib-sys")
+ (version "0.14.0")
+ (source
+ (origin
+ (method url-fetch)
(uri (crate-uri "glib-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1hfdwilf3dnrv3pnfbwmp3h2afgwvfsapcgjfg8276kflsbvksf7"))))
+ (base32 "1bjlymn3fw4g8slij6iiggaipknf9072mr2qm3i4a91199an078w"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
+ `(#:skip-build?
+ #t
#:cargo-inputs
(("rust-libc" ,rust-libc-0.2)
- ("rust-system-deps" ,rust-system-deps-1))
+ ("rust-system-deps" ,rust-system-deps-3))
#:cargo-development-inputs
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))
@@ -803,6 +1137,27 @@
(description "This package provides FFI bindings to libglib-2.0.")
(license license:expat)))
+(define-public rust-glib-sys-0.10
+ (package
+ (inherit rust-glib-sys-0.14)
+ (name "rust-glib-sys")
+ (version "0.10.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glib-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1hfdwilf3dnrv3pnfbwmp3h2afgwvfsapcgjfg8276kflsbvksf7"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-1))
+ #:cargo-development-inputs
+ (("rust-shell-words" ,rust-shell-words-0.1)
+ ("rust-tempfile" ,rust-tempfile-3))))))
+
(define-public rust-glib-sys-0.9
(package
(inherit rust-glib-sys-0.10)
@@ -826,24 +1181,25 @@
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))))
-(define-public rust-gobject-sys-0.10
+(define-public rust-gobject-sys-0.14
(package
(name "rust-gobject-sys")
- (version "0.10.0")
+ (version "0.14.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "gobject-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1311d3zbdhl1g7ibj1iy1650513yrhxbjxgfhazn52ii1jv368cm"))))
+ (base32 "1xf3jiwzrjingq8jr15bjkbv6m5dypzp67cjnm5f7njrjzicm4ma"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
+ `(#:skip-build?
+ #t
#:cargo-inputs
- (("rust-glib-sys" ,rust-glib-sys-0.10)
+ (("rust-glib-sys" ,rust-glib-sys-0.14)
("rust-libc" ,rust-libc-0.2)
- ("rust-system-deps" ,rust-system-deps-1))
+ ("rust-system-deps" ,rust-system-deps-3))
#:cargo-development-inputs
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))
@@ -854,6 +1210,28 @@
(description "This package provides FFI bindings to libgobject-2.0.")
(license license:expat)))
+(define-public rust-gobject-sys-0.10
+ (package
+ (inherit rust-gobject-sys-0.14)
+ (name "rust-gobject-sys")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gobject-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1311d3zbdhl1g7ibj1iy1650513yrhxbjxgfhazn52ii1jv368cm"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-glib-sys" ,rust-glib-sys-0.10)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-1))
+ #:cargo-development-inputs
+ (("rust-shell-words" ,rust-shell-words-0.1)
+ ("rust-tempfile" ,rust-tempfile-3))))))
+
(define-public rust-gobject-sys-0.9
(package
(inherit rust-gobject-sys-0.10)
@@ -877,8 +1255,49 @@
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-gtk-0.14
+ (package
+ (name "rust-gtk")
+ (version "0.14.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gtk" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0367kb9d9x5cry6zpn2ccsahvynia6hzmr61gqrfj5rkvli13d9f"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;requires running server
+ #:cargo-inputs
+ (("rust-atk" ,rust-atk-0.14)
+ ("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cairo-rs" ,rust-cairo-rs-0.14)
+ ("rust-field-offset" ,rust-field-offset-0.3)
+ ("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-gdk" ,rust-gdk-0.14)
+ ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.14)
+ ("rust-gio" ,rust-gio-0.14)
+ ("rust-glib" ,rust-glib-0.14)
+ ("rust-gtk-sys" ,rust-gtk-sys-0.14)
+ ("rust-gtk3-macros" ,rust-gtk3-macros-0.14)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-pango" ,rust-pango-0.14)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))
+ #:cargo-development-inputs
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (native-inputs (list pkg-config))
+ (inputs
+ (list atk cairo glib gtk+ pango))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings for the GTK+ 3 library")
+ (description "This package provides Rust bindings for the GTK+ 3 library.")
+ (license license:expat)))
+
(define-public rust-gtk-0.8
(package
+ (inherit rust-gtk-0.14)
(name "rust-gtk")
(version "0.8.1")
(source
@@ -913,13 +1332,7 @@
("rust-pango" ,rust-pango-0.8)
("rust-pango-sys" ,rust-pango-sys-0.9))
#:cargo-development-inputs
- (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
- (inputs
- (list atk cairo glib gtk+ pango))
- (home-page "https://gtk-rs.org/")
- (synopsis "Rust bindings for the GTK+ 3 library")
- (description "This package provides Rust bindings for the GTK+ 3 library.")
- (license license:expat)))
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
(define-public rust-gtk-rs-lgpl-docs-0.1
(package
@@ -942,8 +1355,78 @@
"LGPL-licensed docs for Gtk-rs crates.")
(license license:lgpl2.0)))
+(define-public rust-gtk-sys-0.14
+ (package
+ (name "rust-gtk-sys")
+ (version "0.14.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gtk-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0gihp9zh4z7lycp0zbmq1w0k9ddbnd2h64jsgid7hi85vb9wh54c"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;missing files
+ #:cargo-inputs
+ (("rust-atk-sys" ,rust-atk-sys-0.14)
+ ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.14)
+ ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.14)
+ ("rust-gdk-sys" ,rust-gdk-sys-0.14)
+ ("rust-gio-sys" ,rust-gio-sys-0.14)
+ ("rust-glib-sys" ,rust-glib-sys-0.14)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.14)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango-sys" ,rust-pango-sys-0.14)
+ ("rust-system-deps" ,rust-system-deps-3))
+ #:cargo-development-inputs
+ (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs
+ (list gtk+))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "FFI bindings to libgtk-3")
+ (description "This package provides FFI bindings to libgtk-3.")
+ (license license:expat)))
+
+(define-public rust-gtk-sys-0.10
+ (package
+ (inherit rust-gtk-sys-0.14)
+ (name "rust-gtk-sys")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gtk-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0mq4i161kk6dwiz19ayxgm9fhx7n3r5lm9lbjiyk0qs811pxmb49"))))
+ (arguments
+ `(#:tests? #f ;tests FAILED.
+ #:cargo-inputs
+ (("rust-atk-sys" ,rust-atk-sys-0.10)
+ ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.10)
+ ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.10)
+ ("rust-gdk-sys" ,rust-gdk-sys-0.10)
+ ("rust-gio-sys" ,rust-gio-sys-0.10)
+ ("rust-glib-sys" ,rust-glib-sys-0.10)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.10)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango-sys" ,rust-pango-sys-0.10)
+ ("rust-system-deps" ,rust-system-deps-1))
+ #:cargo-development-inputs
+ (("rust-shell-words" ,rust-shell-words-0.1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list gtk+))))
+
(define-public rust-gtk-sys-0.9
(package
+ (inherit rust-gtk-sys-0.14)
(name "rust-gtk-sys")
(version "0.9.2")
(source
@@ -953,7 +1436,6 @@
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1hd4w49iaivzjkbxi0bhabqp1ifkzg9g47n822sh12xlqxhgdpjk"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ;missing files
#:cargo-inputs
@@ -969,16 +1451,70 @@
("rust-pkg-config" ,rust-pkg-config-0.3))
#:cargo-development-inputs
(("rust-shell-words" ,rust-shell-words-0.1)
- ("rust-tempfile" ,rust-tempfile-3))))
+ ("rust-tempfile" ,rust-tempfile-3))))))
+
+(define-public rust-gtk3-macros-0.14
+ (package
+ (name "rust-gtk3-macros")
+ (version "0.14.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gtk3-macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0yavfirn2iw9nsxik6m7s2cdxdrl5l5jfbiwn0zl85y1dnlivpi1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-heck" ,rust-heck-0.3)
+ ("rust-proc-macro-crate" ,rust-proc-macro-crate-1)
+ ("rust-proc-macro-error" ,rust-proc-macro-error-1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings for the GTK 3 library")
+ (description "This package provides Rust bindings for the GTK 3
+library.")
+ (license license:expat)))
+
+(define-public rust-pango-0.14
+ (package
+ (name "rust-pango")
+ (version "0.14.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pango" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "10c5q8wl9gkjh323whq6pg9yfvr2vmz00f98z1d77jp506cdavsl"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-glib" ,rust-glib-0.14)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-pango-sys" ,rust-pango-sys-0.14))
+ #:cargo-development-inputs
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
(inputs
- (list gtk+))
+ (list pango))
(home-page "https://gtk-rs.org/")
- (synopsis "FFI bindings to libgtk-3")
- (description "This package provides FFI bindings to libgtk-3.")
+ (synopsis "Rust bindings for the Pango library")
+ (description "Rust bindings for the Pango library")
(license license:expat)))
(define-public rust-pango-0.9
(package
+ (inherit rust-pango-0.14)
(name "rust-pango")
(version "0.9.1")
(source
@@ -988,7 +1524,6 @@
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0f64hynd9vq6966wb66mrg5kq9q371bkhncp37nqrgdyh22hcdwr"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -1001,13 +1536,7 @@
("rust-once-cell" ,rust-once-cell-1)
("rust-pango-sys" ,rust-pango-sys-0.10))
#:cargo-development-inputs
- (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
- (inputs
- (list pango))
- (home-page "https://gtk-rs.org/")
- (synopsis "Rust bindings for the Pango library")
- (description "Rust bindings for the Pango library")
- (license license:expat)))
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
(define-public rust-pango-0.8
(package
@@ -1063,25 +1592,26 @@
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
-(define-public rust-pango-sys-0.10
+(define-public rust-pango-sys-0.14
(package
(name "rust-pango-sys")
- (version "0.10.0")
+ (version "0.14.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "pango-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1468xzyk2wanxb2b32fsmwk6bnafdaicxl5b4301dlb2ic66bli4"))))
+ (base32 "1zj236n9kjldf47wwlxvhshwm5zhg589a0fml5mm8qg7lnf0jrr3"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
+ `(#:skip-build?
+ #t
#:cargo-inputs
- (("rust-glib-sys" ,rust-glib-sys-0.10)
- ("rust-gobject-sys" ,rust-gobject-sys-0.10)
+ (("rust-glib-sys" ,rust-glib-sys-0.14)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.14)
("rust-libc" ,rust-libc-0.2)
- ("rust-system-deps" ,rust-system-deps-1))))
+ ("rust-system-deps" ,rust-system-deps-3))))
(inputs
(list pango))
(home-page "https://gtk-rs.org/")
@@ -1089,6 +1619,26 @@
(description "This package provides FFI bindings to @code{libpango-1.0}.")
(license license:expat)))
+(define-public rust-pango-sys-0.10
+ (package
+ (inherit rust-pango-sys-0.14)
+ (name "rust-pango-sys")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pango-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1468xzyk2wanxb2b32fsmwk6bnafdaicxl5b4301dlb2ic66bli4"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-glib-sys" ,rust-glib-sys-0.10)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.10)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-1))))))
+
(define-public rust-pango-sys-0.9
(package
(inherit rust-pango-sys-0.10)
@@ -1209,3 +1759,78 @@
(synopsis "FFI bindings to libgtk-3")
(description "This package provides FFI bindings to libgtk-3.")
(license license:expat)))
+
+(define-public rust-soup-sys-0.10
+ (package
+ (name "rust-soup-sys")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "soup-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0gm1b1dj6z3l94sklw6jvqblhik8i8gz2mgrf6xhnqv5hpqaviy3"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;tests FAILED
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-gio-sys" ,rust-gio-sys-0.10)
+ ("rust-glib-sys" ,rust-glib-sys-0.10)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.10)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pkg-config" ,rust-pkg-config-0.3)
+ ("rust-system-deps" ,rust-system-deps-1))
+ #:cargo-development-inputs
+ (("rust-shell-words" ,rust-shell-words-0.1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list glib libsoup-minimal-2))
+ (home-page "https://github.com/gtk-rs/soup-sys-rs")
+ (synopsis "Soup FFI crate for Rust")
+ (description "This crate provides Soup FFI for Rust.")
+ (license license:expat)))
+
+(define-public rust-webkit2gtk-sys-0.12
+ (package
+ (name "rust-webkit2gtk-sys")
+ (version "0.12.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "webkit2gtk-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0686iy2jrq8h2i2p4zb53mg32ql5zagba1fskcdi23asr0w537iq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;tests FAILED
+ #:cargo-inputs
+ (("rust-atk-sys" ,rust-atk-sys-0.10)
+ ("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.10)
+ ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.10)
+ ("rust-gdk-sys" ,rust-gdk-sys-0.10)
+ ("rust-gio-sys" ,rust-gio-sys-0.10)
+ ("rust-glib-sys" ,rust-glib-sys-0.10)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.10)
+ ("rust-gtk-sys" ,rust-gtk-sys-0.10)
+ ("rust-javascriptcore-rs-sys" ,rust-javascriptcore-rs-sys-0.2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango-sys" ,rust-pango-sys-0.10)
+ ("rust-pkg-config" ,rust-pkg-config-0.3)
+ ("rust-soup-sys" ,rust-soup-sys-0.10))
+ #:cargo-development-inputs
+ (("rust-shell-words" ,rust-shell-words-0.1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list glib webkitgtk-with-libsoup2))
+ (home-page "https://github.com/tauri-apps/webkit2gtk-rs")
+ (synopsis "Rust binding for webkit-gtk library")
+ (description "This crate provides Rust binding for webkit-gtk library.")
+ (license license:expat)))
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 28bc88c887..878319faa2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1,7 +1,8 @@
+
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2019 Ivan Petkov <ivanppetkov@gmail.com>
-;;; Copyright © 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
-;;; Copyright © 2019, 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
+;;; Copyright © 2019, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2019-2022 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2019–2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019, 2020 John Soo <jsoo1@asu.edu>
@@ -12,9 +13,9 @@
;;; Copyright © 2020 André Batista <nandre@riseup.net>
;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2020 Antoine Côté <antoine.cote@posteo.net>
-;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 aecepoglu <aecepoglu@fastmail.fm>
-;;; Copyright © 2021 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2021, 2022 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2021 Alexandru-Sergiu Marton <brown121407@posteo.ro>
;;; Copyright © 2021 Antero Mejr <antero@kodmin.com>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
@@ -22,7 +23,9 @@
;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2021 Jacob Hrbek <kreyren@rixotstudio.cz>
-;;; Copyright © 2021 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2021 Nicolas Graves <ngraves@ngraves.fr>
+;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
+;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -73,6 +76,7 @@
#:use-module (gnu packages python)
#:use-module (gnu packages rust)
#:use-module (gnu packages rust-apps)
+ #:use-module (gnu packages sequoia)
#:use-module (gnu packages serialization)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages ssh)
@@ -81,6 +85,8 @@
#:use-module (gnu packages web)
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg)
+ #:use-module (gnu packages gtk)
+ #:use-module (gnu packages webkit)
#:use-module (srfi srfi-1))
;;;
@@ -171,6 +177,43 @@ library in Rust.")
(description "This package provides Actix actor framework for Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-actix-0.8
+ (package
+ (inherit rust-actix-0.10)
+ (name "rust-actix")
+ (version "0.8.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "actix" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1xqyrwq7hgi640h5czy73zrkxl1s0yhm7laxga13dwhkfg9f6737"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-actix-http" ,rust-actix-http-0.2)
+ ("rust-actix-rt" ,rust-actix-rt-0.2)
+ ("rust-actix-derive" ,rust-actix-derive-0.4)
+ ("rust-bitflags" ,rust-bitflags-1)
+ ("rust-bytes" ,rust-bytes-0.4)
+ ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.3)
+ ("rust-derive-more" ,rust-derive-more-0.14)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-hashbrown" ,rust-hashbrown-0.3)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-parking-lot" ,rust-parking-lot-0.8)
+ ("rust-smallvec" ,rust-smallvec-0.6)
+ ("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-tcp" ,rust-tokio-tcp-0.1)
+ ("rust-tokio-timer" ,rust-tokio-timer-0.2)
+ ("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.11))
+ #:cargo-development-inputs
+ (("rust-doc-comment" ,rust-doc-comment-0.3))))))
+
(define-public rust-actix-codec-0.3
(package
(name "rust-actix-codec")
@@ -223,6 +266,26 @@ protocols.")
("rust-tokio" ,rust-tokio-0.2)
("rust-tokio-util" ,rust-tokio-util-0.2))))))
+(define-public rust-actix-codec-0.1
+ (package
+ (inherit rust-actix-codec-0.3)
+ (name "rust-actix-codec")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "actix-codec" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0lv42xf57y3kwy8nl2a9pkz35yvbspd9250virfr7p069fpi2b4z"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bytes" ,rust-bytes-0.4)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-tokio-codec" ,rust-tokio-codec-0.1)
+ ("rust-tokio-io" ,rust-tokio-io-0.1))))))
+
(define-public rust-actix-connect-2
(package
(name "rust-actix-connect")
@@ -305,6 +368,43 @@ protocols.")
,(package-version rust-trust-dns-proto-0.18)))
#t)))))))
+(define-public rust-actix-connect-0.2
+ (package
+ (inherit rust-actix-connect-2)
+ (name "rust-actix-connect")
+ (version "0.2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "actix-connect" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "187whz05gjkp9pcza4i714v0a8yxlg3jdrzii7gaqsxl9fyykbcz"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-actix-codec" ,rust-actix-codec-0.1)
+ ("rust-actix-rt" ,rust-actix-rt-0.2)
+ ("rust-actix-service" ,rust-actix-service-0.4)
+ ("rust-actix-utils" ,rust-actix-utils-0.4)
+ ("rust-derive-more" ,rust-derive-more-0.15)
+ ("rust-either" ,rust-either-1)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-http" ,rust-http-0.1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-openssl" ,rust-openssl-0.10)
+ ("rust-rustls" ,rust-rustls-0.15)
+ ("rust-tokio-current-thread" ,rust-tokio-current-thread-0.1)
+ ("rust-tokio-openssl" ,rust-tokio-openssl-0.3)
+ ("rust-tokio-rustls" ,rust-tokio-rustls-0.9)
+ ("rust-tokio-tcp" ,rust-tokio-tcp-0.1)
+ ("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.11)
+ ("rust-webpki" ,rust-webpki-0.19))
+ #:cargo-development-inputs
+ (("rust-actix-server-config" ,rust-actix-server-config-0.1)
+ ("rust-actix-test-server" ,rust-actix-test-server-0.2)
+ ("rust-bytes" ,rust-bytes-0.4))))))
+
(define-public rust-actix-derive-0.5
(package
(name "rust-actix-derive")
@@ -332,6 +432,25 @@ protocols.")
"This package provides proc macros for the Rust actor framework Actix.")
(license (list license:expat license:asl2.0))))
+(define-public rust-actix-derive-0.4
+ (package
+ (inherit rust-actix-derive-0.5)
+ (name "rust-actix-derive")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "actix-derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0v0mvq883aq5z6d0893bh32bfddvfajh5bm7nkl0l8idpzbzdx8b"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-0.4)
+ ("rust-quote" ,rust-quote-0.6)
+ ("rust-syn" ,rust-syn-0.15))))))
+
(define-public rust-actix-http-2
(package
(name "rust-actix-http")
@@ -455,6 +574,68 @@ protocols.")
#:cargo-development-inputs
(("rust-actix-http-test" ,rust-actix-http-test-1))))))
+(define-public rust-actix-http-0.2
+ (package
+ (inherit rust-actix-http-2)
+ (name "rust-actix-http")
+ (version "0.2.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "actix-http" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0fdi9pi33am22qbqni5dn2in11xfbchgsjnm9ws0s918rmvhzdgw"))))
+ ;; XXX: The crate fails to't build without rust-actix-http-test-0.2 making
+ ;; a circular dependency with rust-awc-0.2
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-actix-codec" ,rust-actix-codec-0.1)
+ ("rust-actix-connect" ,rust-actix-connect-0.2)
+ ("rust-actix-server-config" ,rust-actix-server-config-0.1)
+ ("rust-actix-service" ,rust-actix-service-0.4)
+ ("rust-actix-threadpool" ,rust-actix-threadpool-0.1)
+ ("rust-actix-utils" ,rust-actix-utils-0.4)
+ ("rust-base64" ,rust-base64-0.10)
+ ("rust-bitflags" ,rust-bitflags-1)
+ ("rust-brotli2" ,rust-brotli2-0.3)
+ ("rust-bytes" ,rust-bytes-0.4)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-copyless" ,rust-copyless-0.1)
+ ("rust-derive-more" ,rust-derive-more-0.15)
+ ("rust-either" ,rust-either-1)
+ ("rust-encoding-rs" ,rust-encoding-rs-0.8)
+ ("rust-failure" ,rust-failure-0.1)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-h2" ,rust-h2-0.1)
+ ("rust-hashbrown" ,rust-hashbrown-0.6)
+ ("rust-http" ,rust-http-0.1)
+ ("rust-httparse" ,rust-httparse-1)
+ ("rust-indexmap" ,rust-indexmap-1)
+ ("rust-language-tags" ,rust-language-tags-0.2)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-mime" ,rust-mime-0.3)
+ ("rust-openssl" ,rust-openssl-0.10)
+ ("rust-percent-encoding" ,rust-percent-encoding-2)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-ring" ,rust-ring-0.14)
+ ("rust-rustls" ,rust-rustls-0.15)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6)
+ ("rust-sha1" ,rust-sha1-0.6)
+ ("rust-slab" ,rust-slab-0.4)
+ ("rust-time" ,rust-time-0.1)
+ ("rust-tokio-current-thread" ,rust-tokio-current-thread-0.1)
+ ("rust-tokio-tcp" ,rust-tokio-tcp-0.1)
+ ("rust-tokio-timer" ,rust-tokio-timer-0.2)
+ ("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.11)
+ ("rust-webpki-roots" ,rust-webpki-roots-0.16))))))
+
(define-public rust-actix-http-test-1
(package
(name "rust-actix-http-test")
@@ -503,6 +684,45 @@ protocols.")
during testing.")
(license (list license:expat license:asl2.0))))
+(define-public rust-actix-http-test-0.2
+ (package
+ (inherit rust-actix-http-test-1)
+ (name "rust-actix-http-test-2")
+ (version "0.2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "actix-http-test" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0m1ghgllf7ws5wk51x8phcdjq21phylawmvp7wb29zd1d0aw2aac"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-actix-codec" ,rust-actix-codec-0.1)
+ ("rust-actix-connect" ,rust-actix-connect-0.2)
+ ("rust-actix-rt" ,rust-actix-rt-0.2)
+ ("rust-actix-server" ,rust-actix-server-0.6)
+ ("rust-actix-service" ,rust-actix-service-0.4)
+ ("rust-actix-utils" ,rust-actix-utils-0.4)
+ ("rust-awc" ,rust-awc-0.2)
+ ("rust-base64" ,rust-base64-0.10)
+ ("rust-bytes" ,rust-bytes-0.4)
+ ("rust-env-logger" ,rust-env-logger-0.6)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-http" ,rust-http-0.1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-net2" ,rust-net2-0.2)
+ ("rust-openssl" ,rust-openssl-0.10)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6)
+ ("rust-sha1" ,rust-sha1-0.6)
+ ("rust-slab" ,rust-slab-0.4)
+ ("rust-time" ,rust-time-0.1)
+ ("rust-tokio-tcp" ,rust-tokio-tcp-0.1)
+ ("rust-tokio-timer" ,rust-tokio-timer-0.2))))))
+
(define-public rust-actix-macros-0.1
(package
(name "rust-actix-macros")
@@ -554,6 +774,28 @@ during testing.")
(description "This package provides resource path matching library.")
(license (list license:expat license:asl2.0))))
+(define-public rust-actix-router-0.1
+ (package
+ (inherit rust-actix-router-0.2)
+ (name "rust-actix-router")
+ (version "0.1.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "actix-router" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1xyc0kzawfwjfiw4znb7xx6hh4r7nnwjq44i08fjc1724ysln8i3"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bytes" ,rust-bytes-0.4)
+ ("rust-http" ,rust-http-0.1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-string" ,rust-string-0.2))))))
+
(define-public rust-actix-rt-1
(package
(name "rust-actix-rt")
@@ -580,6 +822,28 @@ during testing.")
(description "This package provides Actix runtime.")
(license (list license:expat license:asl2.0))))
+(define-public rust-actix-rt-0.2
+ (package
+ (inherit rust-actix-rt-1)
+ (name "rust-actix-rt")
+ (version "0.2.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "actix-rt" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "13h9dph54lhxlzcz6wxmsv96qqpbh1dzr4365gn84gb00qfxmjc8"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-actix-threadpool" ,rust-actix-threadpool-0.1)
+ ("rust-copyless" ,rust-copyless-0.1)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-tokio-current-thread" ,rust-tokio-current-thread-0.1)
+ ("rust-tokio-executor" ,rust-tokio-executor-0.1)
+ ("rust-tokio-reactor" ,rust-tokio-reactor-0.1)
+ ("rust-tokio-timer" ,rust-tokio-timer-0.2))))))
+
(define-public rust-actix-server-1
(package
(name "rust-actix-server")
@@ -615,6 +879,114 @@ during testing.")
ecosystem.")
(license (list license:expat license:asl2.0))))
+(define-public rust-actix-server-0.6
+ (package
+ (inherit rust-actix-server-1)
+ (name "rust-actix-server")
+ (version "0.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "actix-server" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "19b2sl8dz01xfrynmf4iixq4a15g0gk1z43lby7762ldmws6aqnx"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-actix-rt" ,rust-actix-rt-0.2)
+ ("rust-actix-server-config" ,rust-actix-server-config-0.1)
+ ("rust-actix-service" ,rust-actix-service-0.4)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-mio" ,rust-mio-0.6)
+ ("rust-mio-uds" ,rust-mio-uds-0.6)
+ ("rust-native-tls" ,rust-native-tls-0.2)
+ ("rust-net2" ,rust-net2-0.2)
+ ("rust-num-cpus" ,rust-num-cpus-1)
+ ("rust-openssl" ,rust-openssl-0.10)
+ ("rust-rustls" ,rust-rustls-0.15)
+ ("rust-slab" ,rust-slab-0.4)
+ ("rust-tokio-io" ,rust-tokio-io-0.1)
+ ("rust-tokio-openssl" ,rust-tokio-openssl-0.3)
+ ("rust-tokio-reactor" ,rust-tokio-reactor-0.1)
+ ("rust-tokio-rustls" ,rust-tokio-rustls-0.9)
+ ("rust-tokio-signal" ,rust-tokio-signal-0.2)
+ ("rust-tokio-tcp" ,rust-tokio-tcp-0.1)
+ ("rust-tokio-timer" ,rust-tokio-timer-0.2)
+ ("rust-tokio-uds" ,rust-tokio-uds-0.2)
+ ("rust-webpki" ,rust-webpki-0.19)
+ ("rust-webpki-roots" ,rust-webpki-roots-0.16))
+ #:cargo-development-inputs
+ (("rust-actix-codec" ,rust-actix-codec-0.1)
+ ("rust-bytes" ,rust-bytes-0.4)
+ ("rust-env-logger" ,rust-env-logger-0.6))))))
+
+(define-public rust-actix-server-0.5
+ (package
+ (inherit rust-actix-server-1)
+ (name "rust-actix-server")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "actix-server" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1fyxkkgm3cbyzxgx0qw86i1dq9hrr891n1c7mc7450n8arir735s"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-actix-rt" ,rust-actix-rt-0.2)
+ ("rust-actix-server-config" ,rust-actix-server-config-0.1)
+ ("rust-actix-service" ,rust-actix-service-0.4)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-mio" ,rust-mio-0.6)
+ ("rust-native-tls" ,rust-native-tls-0.2)
+ ("rust-net2" ,rust-net2-0.2)
+ ("rust-num-cpus" ,rust-num-cpus-1)
+ ("rust-openssl" ,rust-openssl-0.10)
+ ("rust-rustls" ,rust-rustls-0.15)
+ ("rust-slab" ,rust-slab-0.4)
+ ("rust-tokio-io" ,rust-tokio-io-0.1)
+ ("rust-tokio-openssl" ,rust-tokio-openssl-0.3)
+ ("rust-tokio-reactor" ,rust-tokio-reactor-0.1)
+ ("rust-tokio-rustls" ,rust-tokio-rustls-0.9)
+ ("rust-tokio-signal" ,rust-tokio-signal-0.2)
+ ("rust-tokio-tcp" ,rust-tokio-tcp-0.1)
+ ("rust-tokio-timer" ,rust-tokio-timer-0.2)
+ ("rust-webpki" ,rust-webpki-0.19)
+ ("rust-webpki-roots" ,rust-webpki-roots-0.16))
+ #:cargo-development-inputs
+ (("rust-actix-codec" ,rust-actix-codec-0.1)
+ ("rust-bytes" ,rust-bytes-0.4)
+ ("rust-env-logger" ,rust-env-logger-0.6))))))
+
+(define-public rust-actix-server-config-0.1
+ (package
+ (name "rust-actix-server-config")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "actix-server-config" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0c7zp4l63n5skljbpq6j0a0avdjv6w067bdc5ca96bb8kjc38fj8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-futures" ,rust-futures-0.1)
+ ("rust-rustls" ,rust-rustls-0.15)
+ ("rust-tokio-io" ,rust-tokio-io-0.1)
+ ("rust-tokio-openssl" ,rust-tokio-openssl-0.3)
+ ("rust-tokio-rustls" ,rust-tokio-rustls-0.9)
+ ("rust-tokio-tcp" ,rust-tokio-tcp-0.1)
+ ("rust-tokio-uds" ,rust-tokio-uds-0.2))))
+ (home-page "https://actix.rs")
+ (synopsis "Actix server config utils")
+ (description "Actix server config utils.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-actix-service-1
(package
(name "rust-actix-service")
@@ -642,6 +1014,24 @@ ecosystem.")
asynchronous request/response operations.")
(license (list license:expat license:asl2.0))))
+(define-public rust-actix-service-0.4
+ (package
+ (inherit rust-actix-service-1)
+ (name "rust-actix-service")
+ (version "0.4.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "actix-service" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0gvpw11hcr1zmi5qzq3np6qzd0j51mdxn7yfgmzgyhc8ja7b99dw"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-futures" ,rust-futures-0.1))
+ #:cargo-development-inputs
+ (("rust-actix-rt" ,rust-actix-rt-0.2))))))
+
(define-public rust-actix-testing-1
(package
(name "rust-actix-testing")
@@ -667,6 +1057,66 @@ asynchronous request/response operations.")
(description "This package provides Actix testing utils.")
(license (list license:expat license:asl2.0))))
+(define-public rust-actix-testing-0.1
+ (package
+ (inherit rust-actix-testing-1)
+ (name "rust-actix-testing")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "actix-testing" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1w9p7wv2n2wda8ph3ahp8fqslmbh12vs206l4i49jl37mjbiw05g"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-actix-rt" ,rust-actix-rt-0.2)
+ ("rust-actix-server" ,rust-actix-server-0.6)
+ ("rust-actix-server-config" ,rust-actix-server-config-0.1)
+ ("rust-actix-service" ,rust-actix-service-0.4)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-net2" ,rust-net2-0.2)
+ ("rust-tokio-reactor" ,rust-tokio-reactor-0.1)
+ ("rust-tokio-tcp" ,rust-tokio-tcp-0.1))))))
+
+(define-public rust-actix-test-server-0.2
+ (package
+ (name "rust-actix-test-server")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "actix-test-server" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0lqx8adsl3nlhbnvvjrmy9mkfa0d8wmwyy4gdz5ik8xhbwibxnn2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-actix-rt" ,rust-actix-rt-0.2)
+ ("rust-actix-server" ,rust-actix-server-0.5)
+ ("rust-actix-server-config" ,rust-actix-server-config-0.1)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-native-tls" ,rust-native-tls-0.2)
+ ("rust-net2" ,rust-net2-0.2)
+ ("rust-openssl" ,rust-openssl-0.10)
+ ("rust-rustls" ,rust-rustls-0.15)
+ ("rust-tokio-reactor" ,rust-tokio-reactor-0.1)
+ ("rust-tokio-rustls" ,rust-tokio-rustls-0.9)
+ ("rust-tokio-tcp" ,rust-tokio-tcp-0.1)
+ ("rust-webpki" ,rust-webpki-0.19)
+ ("rust-webpki-roots" ,rust-webpki-roots-0.16))
+ #:cargo-development-inputs
+ (("rust-actix-service" ,rust-actix-service-0.4))))
+ (home-page "https://actix.rs")
+ (synopsis "Actix test server")
+ (description "Actix test server.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-actix-threadpool-0.3
(package
(name "rust-actix-threadpool")
@@ -693,6 +1143,28 @@ asynchronous request/response operations.")
(description "This package provides Actix thread pool for sync code.")
(license (list license:expat license:asl2.0))))
+(define-public rust-actix-threadpool-0.1
+ (package
+ (inherit rust-actix-threadpool-0.3)
+ (name "rust-actix-threadpool")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "actix-threadpool" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0pfk6k09cdw0w63wh8glqm6bvqz0hlqwhyqvdfw6yzns2dfyhnkb"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-derive-more" ,rust-derive-more-0.15)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-num-cpus" ,rust-num-cpus-1)
+ ("rust-parking-lot" ,rust-parking-lot-0.9)
+ ("rust-threadpool" ,rust-threadpool-1))))))
+
(define-public rust-actix-tls-2
(package
(name "rust-actix-tls")
@@ -818,6 +1290,31 @@ the Actix ecosystem.")
("rust-pin-project" ,rust-pin-project-0.4)
("rust-slab" ,rust-slab-0.4))))))
+(define-public rust-actix-utils-0.4
+ (package
+ (inherit rust-actix-utils-2)
+ (name "rust-actix-utils")
+ (version "0.4.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "actix-utils" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "15bv06z7pccnmh067l5zj0fvpmfagnil7lvznnl3fp4gjh4k334h"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-actix-codec" ,rust-actix-codec-0.1)
+ ("rust-actix-service" ,rust-actix-service-0.4)
+ ("rust-bytes" ,rust-bytes-0.4)
+ ("rust-either" ,rust-either-1)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-tokio-current-thread" ,rust-tokio-current-thread-0.1)
+ ("rust-tokio-timer" ,rust-tokio-timer-0.2))
+ #:cargo-development-inputs
+ (("rust-actix-rt" ,rust-actix-rt-0.2))))))
+
(define-public rust-actix-web-3
(package
(name "rust-actix-web")
@@ -921,6 +1418,61 @@ Rust.")
("rust-time" ,rust-time-0.1)
("rust-url" ,rust-url-2))))))
+(define-public rust-actix-web-1
+ (package
+ (inherit rust-actix-web-3)
+ (name "rust-actix-web")
+ (version "1.0.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "actix-web" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "00wvayn7v2s61hylisr53f48s2bzg8jp3bmrqh1vkb6vgjb1nfmg"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-actix-codec" ,rust-actix-codec-0.1)
+ ("rust-actix-http" ,rust-actix-http-0.2)
+ ("rust-actix-router" ,rust-actix-router-0.1)
+ ("rust-actix-rt" ,rust-actix-rt-0.2)
+ ("rust-actix-server" ,rust-actix-server-0.6)
+ ("rust-actix-server-config" ,rust-actix-server-config-0.1)
+ ("rust-actix-service" ,rust-actix-service-0.4)
+ ("rust-actix-testing" ,rust-actix-testing-0.1)
+ ("rust-actix-threadpool" ,rust-actix-threadpool-0.1)
+ ("rust-actix-utils" ,rust-actix-utils-0.4)
+ ("rust-actix-web-codegen" ,rust-actix-web-codegen-0.1)
+ ("rust-awc" ,rust-awc-0.2)
+ ("rust-bytes" ,rust-bytes-0.4)
+ ("rust-derive-more" ,rust-derive-more-0.15)
+ ("rust-encoding-rs" ,rust-encoding-rs-0.8)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-hashbrown" ,rust-hashbrown-0.6)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-mime" ,rust-mime-0.3)
+ ("rust-net2" ,rust-net2-0.2)
+ ("rust-openssl" ,rust-openssl-0.10)
+ ("rust-parking-lot" ,rust-parking-lot-0.9)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-rustls" ,rust-rustls-0.15)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6)
+ ("rust-time" ,rust-time-0.1)
+ ("rust-url" ,rust-url-2))
+ #:cargo-development-inputs
+ (("rust-actix" ,rust-actix-0.8)
+ ("rust-actix-connect" ,rust-actix-connect-0.2)
+ ("rust-actix-http-test" ,rust-actix-http-test-0.2)
+ ("rust-brotli2" ,rust-brotli2-0.3)
+ ("rust-env-logger" ,rust-env-logger-0.6)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-tokio-timer" ,rust-tokio-timer-0.2))))))
+
(define-public rust-actix-web-codegen-0.4
(package
(name "rust-actix-web-codegen")
@@ -965,6 +1517,33 @@ Rust.")
(("rust-actix-rt" ,rust-actix-rt-1)
("rust-actix-web" ,rust-actix-web-2))))))
+(define-public rust-actix-web-codegen-0.1
+ (package
+ (inherit rust-actix-web-codegen-0.4)
+ (name "rust-actix-web-codegen")
+ (version "0.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "actix-web-codegen" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1frs0id6k1vjczhnfhwh8q8birp27imlvgi6jylfxh911r9372h6"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))
+ #:cargo-development-inputs
+ (("rust-actix-http" ,rust-actix-http-0.2)
+ ("rust-actix-http-test" ,rust-actix-http-test-0.2)
+ ("rust-actix-web" ,rust-actix-web-1)
+ ("rust-futures" ,rust-futures-0.1))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list openssl))))
+
(define-public rust-adaptive-barrier-0.1
(package
(name "rust-adaptive-barrier")
@@ -1216,6 +1795,33 @@ the Rust programming language.")
(license (list license:bsd-3
license:zlib))))
+(define-public rust-aead-0.4
+ (package
+ (name "rust-aead-4")
+ (version "0.4.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "aead" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0xw8kp9j1whfdxhgmr2qf9xgslkg52zh6gzmhsh13y9w3s73nq8b"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-blobby" ,rust-blobby-0.3)
+ ("rust-generic-array" ,rust-generic-array-0.14)
+ ("rust-heapless" ,rust-heapless-0.7)
+ ("rust-rand-core" ,rust-rand-core-0.6))))
+ (home-page "https://github.com/RustCrypto/traits")
+ (synopsis
+ "Traits for Authenticated Encryption with Associated Data (AEAD) algorithms")
+ (description
+ "This package provides traits for Authenticated Encryption with Associated
+Data (AEAD) algorithms, such as AES-GCM as ChaCha20Poly1305, which provide a
+high-level API.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-aead-0.3
(package
(name "rust-aead")
@@ -1259,8 +1865,35 @@ with Associated Data (AEAD) algorithms.")
(("rust-generic-array" ,rust-generic-array-0.12)
("rust-heapless" ,rust-heapless-0.5))))))
+(define-public rust-aes-0.7
+ (package
+ (name "rust-aes")
+ (version "0.7.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "aes" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1f0sdx2fsa8w3l7xzsyi9ry3shvnnsgc0znh50if9fm95vslg2wy"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-cipher" ,rust-cipher-0.3)
+ ("rust-cpufeatures" ,rust-cpufeatures-0.2)
+ ("rust-ctr" ,rust-ctr-0.8)
+ ("rust-opaque-debug" ,rust-opaque-debug-0.3))))
+ (home-page "https://github.com/RustCrypto/block-ciphers")
+ (synopsis "Facade for AES (Rijndael) block ciphers implementations")
+ (description "This package provides a facade for AES (Rijndael) block
+ciphers implementations.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-aes-0.6
(package
+ (inherit rust-aes-0.7)
(name "rust-aes")
(version "0.6.0")
(source
@@ -1270,19 +1903,13 @@ with Associated Data (AEAD) algorithms.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0q85mw70mgr4glza9y9lrs9nxfa1cdcqzfk6wx0smb3623pr2hw8"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-aes-soft" ,rust-aes-soft-0.6)
("rust-aesni" ,rust-aesni-0.10)
("rust-cipher" ,rust-cipher-0.2))
#:cargo-development-inputs
- (("rust-cipher" ,rust-cipher-0.2))))
- (home-page "https://github.com/RustCrypto/block-ciphers")
- (synopsis "Facade for AES (Rijndael) block ciphers implementations")
- (description "This package provides a facade for AES (Rijndael) block
-ciphers implementations.")
- (license (list license:expat license:asl2.0))))
+ (("rust-cipher" ,rust-cipher-0.2))))))
(define-public rust-aes-0.4
(package
@@ -1324,8 +1951,40 @@ ciphers implementations.")
("rust-aesni" ,rust-aesni-0.6)
("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6))))))
+(define-public rust-aes-gcm-0.8
+ (package
+ (name "rust-aes-gcm")
+ (version "0.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "aes-gcm" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1nl8iwlh209y1vj9n2lm1a70i69clvg2z6x69bi4dgdrpgxbay2j"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-aead" ,rust-aead-0.3)
+ ("rust-aes" ,rust-aes-0.6)
+ ("rust-cipher" ,rust-cipher-0.2)
+ ("rust-ctr" ,rust-ctr-0.6)
+ ("rust-ghash" ,rust-ghash-0.3)
+ ("rust-subtle" ,rust-subtle-2)
+ ("rust-zeroize" ,rust-zeroize-1))
+ #:cargo-development-inputs
+ (("rust-hex-literal" ,rust-hex-literal-0.2))))
+ (home-page "https://github.com/RustCrypto/AEADs")
+ (synopsis "AES-GCM (Galois/Counter Mode) Authenticated Encryption")
+ (description "This package provides a pure Rust implementation of the
+AES-GCM (Galois/Counter Mode) Authenticated Encryption with Associated
+Data (AEAD) Cipher with optional architecture-specific hardware
+acceleration.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-aes-gcm-0.6
(package
+ (inherit rust-aes-gcm-0.8)
(name "rust-aes-gcm")
(version "0.6.0")
(source
@@ -1336,7 +1995,6 @@ ciphers implementations.")
(sha256
(base32
"1lga8my3zlc0b1nhcpc1hrbykfm014fqs6d64bwrjqii05w01xc6"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-aead" ,rust-aead-0.3)
@@ -1349,14 +2007,7 @@ ciphers implementations.")
(("rust-criterion" ,rust-criterion-0.3)
("rust-criterion-cycles-per-byte"
,rust-criterion-cycles-per-byte-0.1)
- ("rust-hex-literal" ,rust-hex-literal-0.2))))
- (home-page "https://github.com/RustCrypto/AEADs")
- (synopsis "AES-GCM (Galois/Counter Mode) Authenticated Encryption")
- (description "This package provides a pure Rust implementation of the
-AES-GCM (Galois/Counter Mode) Authenticated Encryption with Associated
-Data (AEAD) Cipher with optional architecture-specific hardware
-acceleration.")
- (license (list license:asl2.0 license:expat))))
+ ("rust-hex-literal" ,rust-hex-literal-0.2))))))
(define-public rust-aes-gcm-0.5
(package
@@ -1665,6 +2316,30 @@ using AES-NI for high performance.")
("rust-rand" ,rust-rand-0.6)
("rust-seahash" ,rust-seahash-3))))))
+(define-public rust-ahash-0.2
+ (package
+ (inherit rust-ahash-0.4)
+ (name "rust-ahash")
+ (version "0.2.19")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ahash" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1yzdrxaq99zfy0niq5i3cz5jv569s3s6z5q2cxcg08y6prh1nri9"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-const-random" ,rust-const-random-0.1))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.2)
+ ("rust-fnv" ,rust-fnv-1)
+ ("rust-fxhash" ,rust-fxhash-0.2)
+ ("rust-hex" ,rust-hex-0.3)
+ ("rust-no-panic" ,rust-no-panic-0.1)
+ ("rust-rand" ,rust-rand-0.6)
+ ("rust-seahash" ,rust-seahash-3))))))
+
(define-public rust-aho-corasick-0.7
(package
(name "rust-aho-corasick")
@@ -1787,7 +2462,7 @@ using AES-NI for high performance.")
("rust-mio-anonymous-pipes" ,rust-mio-anonymous-pipes-0.2)
("rust-mio-extras" ,rust-mio-extras-2)
("rust-miow" ,rust-miow-0.3)
- ("rust-nix" ,rust-nix-0.22)
+ ("rust-nix" ,rust-nix-0.23)
("rust-parking-lot" ,rust-parking-lot-0.11)
("rust-regex-automata" ,rust-regex-automata-0.1)
("rust-serde" ,rust-serde-1)
@@ -1863,6 +2538,50 @@ code that is generic with regard to the algebraic entity types.")
@code{alga} crate.")
(license license:asl2.0)))
+(define-public rust-aliasable-deref-trait-0.2
+ (package
+ (name "rust-aliasable-deref-trait")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "aliasable_deref_trait" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0abzqsxd09jxl01brzjnwk8zg7k8zma76gzq87385q8fqm710jxb"))))
+ (build-system cargo-build-system)
+ (arguments '(#:skip-build? #t))
+ (home-page "https://github.com/avitex/rust-aliasable-deref-trait")
+ (synopsis "Marker trait for aliasable pointers")
+ (description
+ "This package provides a marker trait for types that deref to an
+address that is aliasable when coerced to a raw pointer")
+ (license license:expat)))
+
+(define-public rust-aliasable-0.1
+ (package
+ (name "rust-aliasable")
+ (version "0.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "aliasable" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1z8548zdjlm4ps1k0d7x68lfdyji02crwcc9rw3q3bb106f643r5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-aliasable-deref-trait" ,rust-aliasable-deref-trait-0.2)
+ ("rust-stable-deref-trait" ,rust-stable-deref-trait-1))))
+ (home-page "https://github.com/avitex/rust-aliasable")
+ (synopsis "Basic aliasable (non unique pointer) types")
+ (description
+ "Rust library providing basic aliasable (non @code{core::ptr::Unique})
+types.")
+ (license license:expat)))
+
(define-public rust-alloc-no-stdlib-2
(package
(name "rust-alloc-no-stdlib")
@@ -1902,7 +2621,7 @@ options to use calloc or a mutable global variable for pre-zeroed memory.")
`(#:cargo-inputs
(("rust-alloc-no-stdlib" ,rust-alloc-no-stdlib-2))))
(home-page "https://github.com/dropbox/rust-alloc-no-stdlib")
- (synopsis "A dynamic allocator example that may be used with the stdlib")
+ (synopsis "Dynamic allocator example that may be used with the stdlib")
(description "This package provides a dynamic allocator example that may
be used with the stdlib.")
(license license:bsd-3)))
@@ -2693,28 +3412,54 @@ format.")
("rust-serde-derive" ,rust-serde-derive-1)
("rust-serde-json" ,rust-serde-json-1))))))
-(define-public rust-arrow2-0.5
+(define-public rust-arrow-format-0.3
+ (package
+ (name "rust-arrow-format")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "arrow-format" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0apg3x3yllbazh6jr85g5yammjqxpnrk6jm4n2yypyhbcvcs4zcz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-flatbuffers" ,rust-flatbuffers-2)
+ ("rust-prost" ,rust-prost-0.9)
+ ("rust-prost-derive" ,rust-prost-derive-0.9)
+ ("rust-tonic" ,rust-tonic-0.6))))
+ (home-page "https://crates.io/crates/arrow-format")
+ (synopsis "Unofficial flatbuffers and tonic code of Apache Arrow spec")
+ (description "This package provides an nofficial flatbuffers and tonic
+code of Apache Arrow spec.")
+ (license license:asl2.0)))
+
+(define-public rust-arrow2-0.7
(package
(name "rust-arrow2")
- (version "0.5.3")
+ (version "0.7.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "arrow2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "042m859jfffnhi84qc919pkyanlr98wqqf67pcrylk4hhh0v84xx"))))
+ (base32 "15dkirkx07bagjgcar2ikmvs0d1zsk5l99bsszla91rxbivy4wyq"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-ahash" ,rust-ahash-0.7)
+ ("rust-arrow-format" ,rust-arrow-format-0.3)
+ ("rust-avro-rs" ,rust-avro-rs-0.13)
("rust-base64" ,rust-base64-0.13)
("rust-chrono" ,rust-chrono-0.4)
- ("rust-chrono-tz" ,rust-chrono-tz-0.5)
+ ("rust-chrono-tz" ,rust-chrono-tz-0.6)
("rust-comfy-table" ,rust-comfy-table-4)
("rust-csv" ,rust-csv-1)
- ("rust-flatbuffers" ,rust-flatbuffers-2)
("rust-futures" ,rust-futures-0.3)
("rust-hash-hasher" ,rust-hash-hasher-2)
("rust-hex" ,rust-hex-0.4)
@@ -2722,16 +3467,18 @@ format.")
("rust-itertools" ,rust-itertools-0.10)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-lexical-core" ,rust-lexical-core-0.8)
+ ("rust-libflate" ,rust-libflate-1)
("rust-lz4" ,rust-lz4-1)
("rust-multiversion" ,rust-multiversion-0.6)
("rust-num-traits" ,rust-num-traits-0.2)
("rust-packed-simd-2" ,rust-packed-simd-2-0.3)
- ("rust-parquet2" ,rust-parquet2-0.4)
+ ("rust-parquet2" ,rust-parquet2-0.6)
("rust-rand" ,rust-rand-0.8)
("rust-regex" ,rust-regex-1)
("rust-serde" ,rust-serde-1)
("rust-serde-derive" ,rust-serde-derive-1)
("rust-serde-json" ,rust-serde-json-1)
+ ("rust-simdutf8" ,rust-simdutf8-0.1)
("rust-streaming-iterator" ,rust-streaming-iterator-0.1)
("rust-strength-reduce" ,rust-strength-reduce-0.2)
("rust-zstd" ,rust-zstd-0.9))))
@@ -2742,6 +3489,49 @@ format.")
a re-write of the official Arrow crate using transmute-free operations.")
(license license:asl2.0)))
+(define-public rust-arrow2-0.5
+ (package
+ (inherit rust-arrow2-0.7)
+ (name "rust-arrow2")
+ (version "0.5.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "arrow2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "042m859jfffnhi84qc919pkyanlr98wqqf67pcrylk4hhh0v84xx"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-ahash" ,rust-ahash-0.7)
+ ("rust-base64" ,rust-base64-0.13)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-chrono-tz" ,rust-chrono-tz-0.5)
+ ("rust-comfy-table" ,rust-comfy-table-4)
+ ("rust-csv" ,rust-csv-1)
+ ("rust-flatbuffers" ,rust-flatbuffers-2)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-hash-hasher" ,rust-hash-hasher-2)
+ ("rust-hex" ,rust-hex-0.4)
+ ("rust-indexmap" ,rust-indexmap-1)
+ ("rust-itertools" ,rust-itertools-0.10)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-lexical-core" ,rust-lexical-core-0.8)
+ ("rust-lz4" ,rust-lz4-1)
+ ("rust-multiversion" ,rust-multiversion-0.6)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-packed-simd-2" ,rust-packed-simd-2-0.3)
+ ("rust-parquet2" ,rust-parquet2-0.4)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-streaming-iterator" ,rust-streaming-iterator-0.1)
+ ("rust-strength-reduce" ,rust-strength-reduce-0.2)
+ ("rust-zstd" ,rust-zstd-0.9))))))
+
(define-public rust-article-scraper-1
(package
(name "rust-article-scraper")
@@ -2895,6 +3685,54 @@ Askama.")
"This package provides a type-safe, compiled Jinja-like templates for Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-asn1-derive-0.8
+ (package
+ (name "rust-asn1-derive")
+ (version "0.8.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "asn1_derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "098w0mxz4bx9w7v72gsl5wva6f0qbvzyc52m0s0n8svqbyh4z2dw"))))
+ (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/alex/rust-asn1")
+ (synopsis "#[derive] support for asn1")
+ (description
+ "This package provides #[derive] support for @code{asn1}.")
+ (license license:bsd-3)))
+
+(define-public rust-asn1-0.8
+ (package
+ (name "rust-asn1")
+ (version "0.8.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "asn1" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1caacmvgn463n1yc4ac6vl9phrh56ij7l3xgf6qgzbpyjm8v7zyg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-asn1-derive" ,rust-asn1-derive-0.8)
+ ("rust-chrono" ,rust-chrono-0.4))
+ #:cargo-development-inputs
+ (("rust-libc" ,rust-libc-0.2))))
+ (home-page "https://github.com/alex/rust-asn1")
+ (synopsis "ASN.1 (DER) parser and writer")
+ (description
+ "This is a Rust library for parsing and generating ASN.1 data (DER only).")
+ (license license:bsd-3)))
+
(define-public rust-as-slice-0.1
(package
(name "rust-as-slice")
@@ -2940,7 +3778,7 @@ traits.")
(("rust-serde" ,rust-serde-1)
("rust-serde-test" ,rust-serde-test-1))))
(home-page "https://github.com/tomprogrammer/rust-ascii")
- (synopsis "ASCII-only equivalents to `char`, `str` and `String`.")
+ (synopsis "ASCII-only equivalents to `char`, `str` and `String`")
(description
"A rust library that provides ASCII-only string and character types,
equivalent to the @code{char}, @code{str} and @code{String} types in the
@@ -3022,6 +3860,27 @@ standard library.")
(description "This package provides assertions for testing.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-assert-approx-eq-1
+ (package
+ (name "rust-assert-approx-eq")
+ (version "1.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "assert_approx_eq" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1zagfwfad5wssmr830gk3489f97ppczv6xs627jxniwm6ssdl1rw"))))
+ (build-system cargo-build-system)
+ (arguments '(#:skip-build? #t))
+ (home-page "https://github.com/ashleygwilliams/assert_approx_eq")
+ (synopsis "Assert approximately equal")
+ (description
+ "This package provides a Rust macro for asserting two numbers are
+approximately equal.")
+ ;; Either license can be chosen at the users option.
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-assert-cli-0.6
(package
(name "rust-assert-cli")
@@ -3050,8 +3909,39 @@ standard library.")
(description "This package helps testing CLI Applications.")
(license (list license:expat license:asl2.0))))
+(define-public rust-assert-cmd-2
+ (package
+ (name "rust-assert-cmd")
+ (version "2.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "assert_cmd" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1qhzr8p3iv8rpa6xqg247ad198rhxhljx23b17qpx2w381wxr5p9"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bstr" ,rust-bstr-0.2)
+ ("rust-concolor-control" ,rust-concolor-control-0.0.7)
+ ("rust-doc-comment" ,rust-doc-comment-0.3)
+ ("rust-predicates" ,rust-predicates-2)
+ ("rust-predicates-core" ,rust-predicates-core-1)
+ ("rust-predicates-tree" ,rust-predicates-tree-1)
+ ("rust-wait-timeout" ,rust-wait-timeout-0.2)
+ ("rust-yansi" ,rust-yansi-0.5))))
+ (home-page "https://github.com/assert-rs/assert_cmd")
+ (synopsis "Test CLI Applications")
+ (description "@code{assert_cmd} aims to simplify the process for doing
+integration testing of CLIs, including finding your crate's binary to test and
+assertions on the result of your program's run.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-assert-cmd-1
(package
+ (inherit rust-assert-cmd-2)
(name "rust-assert-cmd")
(version "1.0.7")
(source
@@ -3063,7 +3953,6 @@ standard library.")
(sha256
(base32
"0pz938z0wipy2czmp5aym6agfsgkpzd9rhbjqg3s9p84s0dq681x"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bstr" ,rust-bstr-0.2)
@@ -3073,11 +3962,7 @@ standard library.")
("rust-predicates-tree" ,rust-predicates-tree-1)
("rust-wait-timeout" ,rust-wait-timeout-0.2))
#:cargo-development-inputs
- (("rust-escargot" ,rust-escargot-0.5))))
- (home-page "https://github.com/assert-rs/assert_cmd")
- (synopsis "Test CLI Applications")
- (description "Test CLI Applications.")
- (license (list license:expat license:asl2.0))))
+ (("rust-escargot" ,rust-escargot-0.5))))))
(define-public rust-assert-cmd-0.9
(package
@@ -3205,7 +4090,7 @@ objects are the same.")
(define-public rust-assert-matches-1
(package
(name "rust-assert-matches")
- (version "1.3.0")
+ (version "1.5.0")
(source
(origin
(method url-fetch)
@@ -3214,7 +4099,7 @@ objects are the same.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1rar61v00gz2aniid0mylxcr4q98s6l77c3hvbszmg57kj10msvx"))))
+ "1a9b3p9vy0msylyr2022sk5flid37ini1dxji5l3vwxsvw4xcd4v"))))
(build-system cargo-build-system)
(home-page "https://github.com/murarth/assert_matches")
(synopsis "Asserts that a value matches a pattern")
@@ -3427,6 +4312,29 @@ AsyncSeek if the inner type does.")
(description "This library provides async executors.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-async-fs-1
+ (package
+ (name "rust-async-fs")
+ (version "1.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "async-fs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1qnsqg0jjpda590w8nvbhh5mcmdyx5f43xx2g313fz0izzwa8g4b"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-async-lock" ,rust-async-lock-2)
+ ("rust-blocking" ,rust-blocking-1)
+ ("rust-futures-lite" ,rust-futures-lite-1))))
+ (home-page "https://github.com/stjepang/async-fs")
+ (synopsis "Async filesystem primitives in Rust")
+ (description "This package provides async filesystem primitives.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-async-global-executor-2
(package
(name "rust-async-global-executor")
@@ -4101,10 +5009,33 @@ methods.")
"1qig9fcdqf07mzzpkicm5wgxv0zpr28njdsqf708wxq27yf6k1iw"))))
(build-system cargo-build-system)
(home-page "https://github.com/slide-rs/atom")
- (synopsis "A safe abstraction around AtomicPtr")
+ (synopsis "Safe abstraction around AtomicPtr")
(description "This package provides a safe abstraction around AtomicPtr.")
(license license:asl2.0)))
+(define-public rust-atomic-polyfill-0.1
+ (package
+ (name "rust-atomic-polyfill")
+ (version "0.1.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "atomic-polyfill" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0hk08pdp6dgxqhy05l75518svrrrm7c1shfn51dk4claad4dg1p6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-critical-section" ,rust-critical-section-0.2)
+ ("rust-riscv-target" ,rust-riscv-target-0.1))))
+ (home-page "https://github.com/embassy-rs/atomic-polyfill")
+ (synopsis "Atomic polyfills, for targets where they're not available")
+ (description "This package provides atomic polyfills, for targets where
+they're not available.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-atomic-waker-1
(package
(name "rust-atomic-waker")
@@ -4317,29 +5248,31 @@ iteratively in Rust.")
in Rust.")
(license (list license:asl2.0 license:expat))))
-(define-public rust-av-metrics-0.6
+(define-public rust-av-metrics-0.7
(package
(name "rust-av-metrics")
- (version "0.6.2")
+ (version "0.7.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "av-metrics" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1g4k2q3226246jad3jl8pny7aphq8i03x4qyilzj4zgp27350hsz"))))
+ (base32 "1y1q61lhahljxh1l2brp8v795qf6g7gr4h4vdmq43g5z5pq2dw50"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
+ `(#:cargo-inputs
(("rust-crossbeam" ,rust-crossbeam-0.8)
("rust-itertools" ,rust-itertools-0.10)
- ("rust-lab" ,rust-lab-0.8)
+ ("rust-lab" ,rust-lab-0.11)
("rust-num-traits" ,rust-num-traits-0.2)
("rust-rayon" ,rust-rayon-1)
("rust-serde" ,rust-serde-1)
("rust-thiserror" ,rust-thiserror-1)
- ("rust-v-frame" ,rust-v-frame-0.2))))
+ ("rust-v-frame" ,rust-v-frame-0.2))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-y4m" ,rust-y4m-0.7))))
(home-page "https://github.com/rust-av/av-metrics")
(synopsis "Collection of algorithms for measuring audio/video metrics")
(description
@@ -4376,6 +5309,43 @@ audio/video metrics.")
("rust-serde-json" ,rust-serde-json-1)
("rust-streaming-stats" ,rust-streaming-stats-0.2))))))
+(define-public rust-avro-rs-0.13
+ (package
+ (name "rust-avro-rs")
+ (version "0.13.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "avro-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0dsy8r4c6l4xx9wp80byrb24zvlf9m19f5nwpklis8hhczfm1rgc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-crc" ,rust-crc-1)
+ ("rust-digest" ,rust-digest-0.9)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libflate" ,rust-libflate-1)
+ ("rust-num-bigint" ,rust-num-bigint-0.2)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-snap" ,rust-snap-0.2)
+ ("rust-strum" ,rust-strum-0.18)
+ ("rust-strum-macros" ,rust-strum-macros-0.18)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-typed-builder" ,rust-typed-builder-0.5)
+ ("rust-uuid" ,rust-uuid-0.8)
+ ("rust-zerocopy" ,rust-zerocopy-0.3))))
+ (home-page "https://github.com/flavray/avro-rs")
+ (synopsis "Library for working with Apache Avro in Rust")
+ (description
+ "This package is a library for working with Apache Avro in Rust.")
+ (license license:expat)))
+
(define-public rust-awc-2
(package
(name "rust-awc")
@@ -4455,6 +5425,39 @@ built on the Actix ecosystem.")
("rust-actix-web" ,rust-actix-web-2)
("rust-brotli" ,rust-brotli-3))))))
+(define-public rust-awc-0.2
+ (package
+ (inherit rust-awc-2)
+ (name "rust-awc-2")
+ (version "0.2.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "awc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1i5qinnh37bwpx86m2yyq1q1bnsa31vlwlz7942bzlwd4y1m56ay"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-actix-codec" ,rust-actix-codec-0.1)
+ ("rust-actix-http" ,rust-actix-http-0.2)
+ ("rust-actix-service" ,rust-actix-service-0.4)
+ ("rust-base64" ,rust-base64-0.10)
+ ("rust-bytes" ,rust-bytes-0.4)
+ ("rust-derive-more" ,rust-derive-more-0.15)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-mime" ,rust-mime-0.3)
+ ("rust-openssl" ,rust-openssl-0.10)
+ ("rust-percent-encoding" ,rust-percent-encoding-2)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-rustls" ,rust-rustls-0.15)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6)
+ ("rust-tokio-timer" ,rust-tokio-timer-0.2))))))
+
(define-public rust-az-1
(package
(name "rust-az")
@@ -4550,6 +5553,42 @@ trace (backtrace) at runtime in a Rust program.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-bare-metal-1
+ (package
+ (name "rust-bare-metal")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bare-metal" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "00wn61b219nkfcwggim5pj7mcyn1gkq8zqaq4gjlb0rri9d8zzpq"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/rust-embedded/bare-metal")
+ (synopsis "Abstractions common to bare metal systems")
+ (description "This package provides abstractions common to bare metal
+systems.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-bare-metal-0.2
+ (package
+ (inherit rust-bare-metal-1)
+ (name "rust-bare-metal")
+ (version "0.2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bare-metal" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1cy5pbb92fznnri72y6drfpjxj4qdmd62f0rrlgy70dxlppn9ssx"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-rustc-version" ,rust-rustc-version-0.2))))))
+
(define-public rust-barrel-0.6
(package
(name "rust-barrel")
@@ -4638,7 +5677,8 @@ c6e7d37. However, this package works only up to 128 bytes.")
(add-after 'unpack 'fix-criterion-minor-version
(lambda* _
(substitute* "Cargo.toml"
- (("0.3.2") "0.3.3")))))))
+ (("0\\.3\\.2")
+ ,(package-version rust-criterion-0.3))))))))
(home-page "https://github.com/marshallpierce/rust-base64")
(synopsis "Encodes and decodes base64 as bytes or utf8")
(description
@@ -4745,18 +5785,41 @@ c6e7d37. However, this package works only up to 128 bytes.")
(("rust-byteorder" ,rust-byteorder-1)
("rust-safemem" ,rust-safemem-0.2))))))
+(define-public rust-base64ct-1
+ (package
+ (name "rust-base64ct")
+ (version "1.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "base64ct" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0p4was874qc90q2chm2i14m9mn8zmxjis8vaxihd6a2x4aqxkd76"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/RustCrypto/formats/tree/master/base64ct")
+ (synopsis "Implementation of Base64 (RFC 4648)")
+ (description
+ "This package is a pure Rust implementation of Base64 (RFC 4648) which
+avoids any usages of data-dependent branches/LUTs and thereby provides
+portable \"best effort\" constant-time operation and embedded-friendly no_std
+support.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-base-x-0.2
(package
(name "rust-base-x")
(version "0.2.6")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "base-x" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1hfy0wv7j5ynd73yk1vyr32pqa77rp15lkrc54f8ky9c6hcbc80v"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "base-x" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1hfy0wv7j5ynd73yk1vyr32pqa77rp15lkrc54f8ky9c6hcbc80v"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -4769,6 +5832,63 @@ c6e7d37. However, this package works only up to 128 bytes.")
(description "This library provides for encoding and decoding any base.")
(license license:expat)))
+(define-public rust-bat-0.18
+ (package
+ (name "bat")
+ (version "0.18.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bat" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0qlk032dd6zxda1v7clah33nafxygaw3x7f73ajwlvk956nrn1js"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-ansi-colours" ,rust-ansi-colours-1)
+ ("rust-ansi-term" ,rust-ansi-term-0.12)
+ ("rust-atty" ,rust-atty-0.2)
+ ("rust-bugreport" ,rust-bugreport-0.4)
+ ("rust-clap" ,rust-clap-2)
+ ("rust-clircle" ,rust-clircle-0.3)
+ ("rust-console" ,rust-console-0.14)
+ ("rust-content-inspector" ,rust-content-inspector-0.2)
+ ("rust-dirs-next" ,rust-dirs-next-2)
+ ("rust-encoding" ,rust-encoding-0.2)
+ ("rust-error-chain" ,rust-error-chain-0.12)
+ ("rust-git2" ,rust-git2-0.13)
+ ("rust-globset" ,rust-globset-0.4)
+ ("rust-grep-cli" ,rust-grep-cli-0.1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-path-abs" ,rust-path-abs-0.5)
+ ("rust-semver" ,rust-semver-0.11)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-yaml" ,rust-serde-yaml-0.8)
+ ("rust-shell-words" ,rust-shell-words-1)
+ ("rust-syntect" ,rust-syntect-4)
+ ("rust-unicode-width" ,rust-unicode-width-0.1)
+ ("rust-wild" ,rust-wild-2))
+ #:cargo-development-inputs
+ (("rust-assert-cmd" ,rust-assert-cmd-1)
+ ("rust-nix" ,rust-nix-0.21)
+ ("rust-predicates" ,rust-predicates-1)
+ ("rust-serial-test" ,rust-serial-test-0.5)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-wait-timeout" ,rust-wait-timeout-0.2))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list libgit2 zlib))
+ (home-page "https://github.com/sharkdp/bat")
+ (synopsis "@command{cat} clone with syntax highlighting and git integration")
+ (description
+ "@command{bat} is a drop-in @command{cat} replacement featuring syntax
+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")
@@ -4875,8 +5995,33 @@ and no more (caveat: black_box is still missing!).")
tracebacks.")
(license (list license:expat license:asl2.0))))
+(define-public rust-bigdecimal-0.3
+ (package
+ (name "rust-bigdecimal")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bigdecimal" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0i1px8hk4l71n307c7h7igrdy37pzpm7dcni269gwab438ak7bva"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-num-bigint" ,rust-num-bigint-0.4)
+ ("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-bigdecimal-0.2
(package
+ (inherit rust-bigdecimal-0.3)
(name "rust-bigdecimal")
(version "0.2.0")
(source
@@ -4887,7 +6032,6 @@ tracebacks.")
(sha256
(base32
"0fd5chyy76y4qb043w1bbgz1v22f9hw5703f5r90ac5hwqk3qh6c"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-num-bigint" ,rust-num-bigint-0.3)
@@ -4895,11 +6039,7 @@ tracebacks.")
("rust-num-traits" ,rust-num-traits-0.2)
("rust-serde" ,rust-serde-1))
#:cargo-development-inputs
- (("rust-serde-json" ,rust-serde-json-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))))
+ (("rust-serde-json" ,rust-serde-json-1))))))
(define-public rust-bigdecimal-0.1
(package
@@ -4952,21 +6092,18 @@ tracebacks.")
(define-public rust-bincode-1
(package
(name "rust-bincode")
- (version "1.3.1")
+ (version "1.3.3")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "bincode" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0vc9pjh6hfp9vfq752sa88rxwg93ydhm0dvvy58rcvx2p8wkl3gk"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bincode" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1bfw3mnwzx5g1465kiqllp5n4r10qrqy88kdlp3jfwnq2ya5xx5i"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-serde" ,rust-serde-1)
- ("rust-byteorder" ,rust-byteorder-1))
+ (("rust-serde" ,rust-serde-1))
#:cargo-development-inputs
(("rust-serde-bytes" ,rust-serde-bytes-0.11)
("rust-serde-derive" ,rust-serde-derive-1))))
@@ -5001,26 +6138,26 @@ that uses Serde for transforming structs into bytes and vice versa!")
(("rust-serde-bytes" ,rust-serde-bytes-0.10)
("rust-serde-derive" ,rust-serde-derive-1))))))
-(define-public rust-bindgen-0.58
+(define-public rust-bindgen-0.59
(package
(name "rust-bindgen")
- (version "0.58.1")
+ (version "0.59.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "bindgen" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "13r505nn28ay0byfd96hdg8xwcpa2r20czjy111pl66p22s2718g"))))
+ (base32 "1f4fpycxmbrqk8r2x9brhfgjh86mzc6bngn4a9631x78b2jaklib"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
- ("rust-cexpr" ,rust-cexpr-0.4)
+ ("rust-cexpr" ,rust-cexpr-0.6)
("rust-clang-sys" ,rust-clang-sys-1)
("rust-clap" ,rust-clap-2)
- ("rust-env-logger" ,rust-env-logger-0.8)
+ ("rust-env-logger" ,rust-env-logger-0.9)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-lazycell" ,rust-lazycell-1)
("rust-log" ,rust-log-0.4)
@@ -5030,13 +6167,44 @@ that uses Serde for transforming structs into bytes and vice versa!")
("rust-regex" ,rust-regex-1)
("rust-rustc-hash" ,rust-rustc-hash-1)
("rust-shlex" ,rust-shlex-1)
- ("rust-which" ,rust-which-3))))
+ ("rust-which" ,rust-which-4))))
(home-page "https://rust-lang.github.io/rust-bindgen/")
- (synopsis "Generate Rust FFI bindings to C and C++ libraries.")
+ (synopsis "Generate Rust FFI bindings to C and C++ libraries")
(description "This package can be used to automatically generate Rust FFI
bindings to C and C++ libraries.")
(license license:bsd-3)))
+(define-public rust-bindgen-0.58
+ (package
+ (inherit rust-bindgen-0.59)
+ (name "rust-bindgen")
+ (version "0.58.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bindgen" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "13r505nn28ay0byfd96hdg8xwcpa2r20czjy111pl66p22s2718g"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cexpr" ,rust-cexpr-0.4)
+ ("rust-clang-sys" ,rust-clang-sys-1)
+ ("rust-clap" ,rust-clap-2)
+ ("rust-env-logger" ,rust-env-logger-0.8)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-lazycell" ,rust-lazycell-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-peeking-take-while" ,rust-peeking-take-while-0.1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-rustc-hash" ,rust-rustc-hash-1)
+ ("rust-shlex" ,rust-shlex-1)
+ ("rust-which" ,rust-which-3))))))
+
(define-public rust-bindgen-0.57
(package
(inherit rust-bindgen-0.58)
@@ -5780,43 +6948,39 @@ types.")
`(#:cargo-development-inputs
(("rust-rand" ,rust-rand-0.3))))))
-(define-public rust-bitflags-1
+(define-public rust-bitfield-0.13
(package
- (name "rust-bitflags")
- (version "1.2.1")
+ (name "rust-bitfield")
+ (version "0.13.2")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "bitflags" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "14qnd5nq8p2almk79m4m8ydqhd413yaxsyjp5xd19g3mikzf47fg"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bitfield" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "06g7jb5r2b856vnhx76081fg90jvmy61kjqcfjysgmd5hclvvbs6"))))
(build-system cargo-build-system)
- (home-page "https://github.com/bitflags/bitflags")
- (synopsis "Macro to generate structures which behave like bitflags")
- (description "This package provides a macro to generate structures which
-behave like a set of bitflags.")
- (license (list license:asl2.0
- license:expat))))
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/dzamlo/rust-bitfield")
+ (synopsis "Macros to generate bitfield-like struct")
+ (description
+ "This crate provides macros to generate bitfield-like struct.")
+ (license (list license:expat license:asl2.0))))
-;; TODO: Absorb this package into rust-bitflags-1 in core-updates with the
-;; newer version of rust so we don't have to track down all dependants of this
-;; package to ensure a compatible version of rust.
-(define-public rust-bitflags-1.3
+(define-public rust-bitflags-1
(package
- (inherit rust-bitflags-1)
(name "rust-bitflags")
(version "1.3.2")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "bitflags" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "12ki6w8gn1ldq7yz9y680llwk5gmrhrzszaa17g1sbrw2r2qvwxy"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bitflags" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "12ki6w8gn1ldq7yz9y680llwk5gmrhrzszaa17g1sbrw2r2qvwxy"))))
+ (build-system cargo-build-system)
(arguments
- `(#:tests? #f ; Tests require rust-1.46 or newer.
+ `(#:tests? #f ; Tests require rust-1.46 or newer.
#:cargo-inputs
(("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))
@@ -5826,7 +6990,29 @@ behave like a set of bitflags.")
("rust-serde-derive" ,rust-serde-derive-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-trybuild" ,rust-trybuild-1)
- ("rust-walkdir" ,rust-walkdir-2))))))
+ ("rust-walkdir" ,rust-walkdir-2))))
+ (home-page "https://github.com/bitflags/bitflags")
+ (synopsis "Macro to generate structures which behave like bitflags")
+ (description "This package provides a macro to generate structures which
+behave like a set of bitflags.")
+ (license (list license:asl2.0
+ license:expat))))
+
+;; XXX: The package below is meant to fix rust-nix-0.22, which has the
+;; following requirements for bitflags version: ">=1.1.0 <1.3.0", and every
+;; package using the latter as a dependency (e.g., nushell 0.43).
+(define-public rust-bitflags-1.2
+ (package
+ (inherit rust-bitflags-1)
+ (name "rust-bitflags")
+ (version "1.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bitflags" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "14qnd5nq8p2almk79m4m8ydqhd413yaxsyjp5xd19g3mikzf47fg"))))))
(define-public rust-bitflags-0.9
(package
@@ -6009,39 +7195,94 @@ streams in big-endian and little-endian formats.")
"00a6wy54s1dmadm5xz8k2cbsd7ixvm48mlc45bk0fdy0pbra6jk1"))))
(arguments `(#:skip-build? #t))))
-(define-public rust-bitvec-0.19
+(define-public rust-bitvec-0.22
(package
(name "rust-bitvec")
- (version "0.19.4")
+ (version "0.22.3")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "bitvec" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "10bz751jbsy8fj203ibjwil07p2fwfzvx7b326wfssaravlkbfm7"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bitvec" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "09xm84dg04y8k3cm7aa81n2xfvcnidahx0qpqc60l4w6ih5g0dsj"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-funty" ,rust-funty-1)
- ("rust-radium" ,rust-radium-0.5)
+ (("rust-funty" ,rust-funty-1.2)
+ ("rust-radium" ,rust-radium-0.6)
("rust-serde" ,rust-serde-1)
("rust-tap" ,rust-tap-1)
- ("rust-wyz" ,rust-wyz-0.2))
+ ("rust-wyz" ,rust-wyz-0.4))
#:cargo-development-inputs
- (("rust-criterion" ,rust-criterion-0.3)
+ (("rust-bincode" ,rust-bincode-1)
+ ("rust-criterion" ,rust-criterion-0.3)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-serde-test" ,rust-serde-test-1)
("rust-static-assertions" ,rust-static-assertions-1))))
- (home-page "https://myrrlyn.net/crates/bitvec")
+ (home-page "https://bitvecto-rs.github.io/bitvec")
(synopsis "Manipulate memory, bit by bit")
(description
"This package provides a crate for manipulating memory, bit by bit.")
(license license:expat)))
+(define-public rust-bitvec-0.19
+ (package
+ (inherit rust-bitvec-0.22)
+ (name "rust-bitvec")
+ (version "0.19.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bitvec" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "10bz751jbsy8fj203ibjwil07p2fwfzvx7b326wfssaravlkbfm7"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-funty" ,rust-funty-1)
+ ("rust-radium" ,rust-radium-0.5)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-tap" ,rust-tap-1)
+ ("rust-wyz" ,rust-wyz-0.2))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-test" ,rust-serde-test-1)
+ ("rust-static-assertions" ,rust-static-assertions-1))))))
+
+(define-public rust-blake2-0.9
+ (package
+ (name "rust-blake2")
+ (version "0.9.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "blake2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0x7i67c0hn3bzcwny08rgjrrnarqnqw10qpmh2blbx9hd78kfkha"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-crypto-mac" ,rust-crypto-mac-0.8)
+ ("rust-digest" ,rust-digest-0.9)
+ ("rust-opaque-debug" ,rust-opaque-debug-0.3))
+ #:cargo-development-inputs
+ (("rust-crypto-mac" ,rust-crypto-mac-0.8)
+ ("rust-digest" ,rust-digest-0.9)
+ ("rust-hex-literal" ,rust-hex-literal-0.2))))
+ (home-page "https://github.com/RustCrypto/hashes")
+ (synopsis "BLAKE2 hash functions")
+ (description "This package provides BLAKE2 hash functions in Rust.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-blake2-0.8
(package
(name "rust-blake2")
@@ -6127,6 +7368,29 @@ streams in big-endian and little-endian formats.")
BLAKE2bp hash functions.")
(license license:expat)))
+(define-public rust-blakeout-0.3
+ (package
+ (name "rust-blakeout")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "blakeout" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0dxcg3sjxd82mn7mq4ammrfpidqf9zsagvhfzgblsi8g4b2fgvw1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-blake2" ,rust-blake2-0.9)
+ ("rust-digest" ,rust-digest-0.9))))
+ (home-page "https://github.com/Revertron/Blakeout")
+ (synopsis "Memory hard hashing algorithm based on Blake2s")
+ (description "This package provides memory hard hashing algorithm
+based on Blake2s.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-blas-sys-0.7
(package
(name "rust-blas-sys")
@@ -6153,7 +7417,7 @@ BLAKE2bp hash functions.")
(define-public rust-blobby-0.3
(package
(name "rust-blobby")
- (version "0.3.0")
+ (version "0.3.1")
(source
(origin
(method url-fetch)
@@ -6161,12 +7425,11 @@ BLAKE2bp hash functions.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1s2f3a7lx5rd26554d9940basff7qpyf1y8gkc309cgc8csmalpw"))))
+ (base32 "1v7a6lzxbvrxpnk2jv895315v7yas1cvk26mmbl90ylp1719ax44"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-development-inputs
- (("rust-hex" ,rust-hex-0.3))))
+ (("rust-hex" ,rust-hex-0.4))))
(home-page "https://github.com/RustCrypto/utils")
(synopsis "Iterator over simple binary blob storage")
(description "This package provides an iterator over simple binary blob
@@ -6220,10 +7483,10 @@ storage.")
extension of blocks.")
(license license:expat)))
-(define-public rust-block-buffer-0.9
+(define-public rust-block-buffer-0.10
(package
(name "rust-block-buffer")
- (version "0.9.0")
+ (version "0.10.0")
(source
(origin
(method url-fetch)
@@ -6232,18 +7495,37 @@ extension of blocks.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1r4pf90s7d7lj1wdjhlnqa26vvbm6pnc33z138lxpnp9srpi2lj1"))))
+ "15cbh9jbcfcbbi863dlmamjka2f8l55ld915vr0b0xlf0l16mlzi"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-block-padding" ,rust-block-padding-0.2)
- ("rust-generic-array" ,rust-generic-array-0.14))))
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-generic-array" ,rust-generic-array-0.14))))
(home-page "https://github.com/RustCrypto/utils")
(synopsis "Fixed size buffer for block processing of data")
(description
"Fixed size buffer for block processing of data.")
(license (list license:expat license:asl2.0))))
+(define-public rust-block-buffer-0.9
+ (package
+ (inherit rust-block-buffer-0.10)
+ (name "rust-block-buffer")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "block-buffer" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1r4pf90s7d7lj1wdjhlnqa26vvbm6pnc33z138lxpnp9srpi2lj1"))))
+ (arguments
+ `(#:cargo-inputs
+ (("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)
@@ -6385,8 +7667,32 @@ algorithms. This package is deprecated. Please use block-cipher instead.")
`(#:cargo-inputs
(("rust-generic-array" ,rust-generic-array-0.8))))))
+(define-public rust-block-modes-0.8
+ (package
+ (name "rust-block-modes")
+ (version "0.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "block-modes" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "13id7rw1lhi83i701za8w5is3a8qkf4vfigqw3f8jp8mxldkvc1c"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-block-padding" ,rust-block-padding-0.2)
+ ("rust-cipher" ,rust-cipher-0.3))))
+ (home-page "https://github.com/RustCrypto/block-ciphers")
+ (synopsis "Block cipher modes of operation")
+ (description "This package provides a collection of block ciphers
+and block modes.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-block-modes-0.7
(package
+ (inherit rust-block-modes-0.8)
(name "rust-block-modes")
(version "0.7.0")
(source
@@ -6397,19 +7703,13 @@ algorithms. This package is deprecated. Please use block-cipher instead.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32 "1w3jc3n7k4xq98b9mfina4wwpg1fq1s3b0mm5whqialb7q3yi82p"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-block-padding" ,rust-block-padding-0.2)
("rust-cipher" ,rust-cipher-0.2))
#:cargo-development-inputs
(("rust-aes" ,rust-aes-0.6)
- ("rust-hex-literal" ,rust-hex-literal-0.2))))
- (home-page "https://github.com/RustCrypto/block-ciphers")
- (synopsis "Block cipher modes of operation")
- (description "This package provides a collection of block ciphers
-and block modes.")
- (license (list license:expat license:asl2.0))))
+ ("rust-hex-literal" ,rust-hex-literal-0.2))))))
(define-public rust-block-padding-0.2
(package
@@ -6699,7 +7999,7 @@ devices and kernels.")
(define-public rust-brotli-decompressor-2
(package
(name "rust-brotli-decompressor")
- (version "2.3.1")
+ (version "2.3.2")
(source
(origin
(method url-fetch)
@@ -6707,7 +8007,7 @@ devices and kernels.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1v7l1sa63ix1aq8h0k1ijvxvb5w796hz154b9aw0xn6lp31y2lhh"))))
+ "102v89h9z0p45j5fsjna97761nxx9nxz9ccpwxma6p5zad32vbar"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; not all test files included
@@ -6798,8 +8098,41 @@ bytes), doesn't have the 128 byte limitation and supports a configurable
alphabet.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-bson-2
+ (package
+ (name "rust-bson")
+ (version "2.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bson" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ff1xj1vgh2l6sl5gqhkgsfkbhh11jkwd5wf3h0f0mrbg1kd8n7z"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-ahash" ,rust-ahash-0.7)
+ ("rust-base64" ,rust-base64-0.13)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-hex" ,rust-hex-0.4)
+ ("rust-indexmap" ,rust-indexmap-1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-bytes" ,rust-serde-bytes-0.11)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-uuid" ,rust-uuid-0.8))))
+ (home-page "https://github.com/mongodb/bson-rust")
+ (synopsis "Encoding and decoding support for BSON in Rust")
+ (description
+ "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
@@ -6809,7 +8142,6 @@ alphabet.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "000wqyb4icy32h74wl5wb6iw2flzwwlrpgq51xgcw91g2b87w5rw"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -6823,12 +8155,7 @@ alphabet.")
("rust-rand" ,rust-rand-0.7)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
- ("rust-time" ,rust-time-0.1))))
- (home-page "https://github.com/mongodb/bson-rust")
- (synopsis "Encoding and decoding support for BSON in Rust")
- (description
- "This package provides encoding and decoding support for BSON in Rust.")
- (license license:expat)))
+ ("rust-time" ,rust-time-0.1))))))
(define-public rust-bstr-0.2
(package
@@ -6903,23 +8230,22 @@ UTF-8.")
@code{std::io}, with extra features.")
(license (list license:expat license:asl2.0))))
-(define-public rust-buffered-reader-0.9
+(define-public rust-buffered-reader-1
(package
(name "rust-buffered-reader")
- (version "0.9.0")
+ (version "1.1.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "buffered-reader" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "05rklfiia1k4c4ifpim08l22i0q0l3j9xdg2yh3njrp6w58z6z13"))))
+ (base32 "1jf6iqxm3yllm9h3q5f90yj8y9qzr5h0a7aiw38cgk4hagh2s8d4"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-bzip2" ,rust-bzip2-0.3)
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bzip2" ,rust-bzip2-0.4)
("rust-flate2" ,rust-flate2-1)
("rust-libc" ,rust-libc-0.2))))
(home-page "https://sequoia-pgp.org/")
@@ -6932,6 +8258,24 @@ system calls. Second, exposing the internal buffer allows the user to work
with data in place, which avoids another copy.")
(license license:gpl3)))
+(define-public rust-buffered-reader-0.9
+ (package
+ (inherit rust-buffered-reader-1)
+ (name "rust-buffered-reader")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "buffered-reader" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "05rklfiia1k4c4ifpim08l22i0q0l3j9xdg2yh3njrp6w58z6z13"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bzip2" ,rust-bzip2-0.3)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-libc" ,rust-libc-0.2))))))
+
(define-public rust-buffering-0.4
(package
(name "rust-buffering")
@@ -7246,7 +8590,7 @@ memory usage.")
(("rust-serde" ,rust-serde-1)
("rust-utf8-width" ,rust-utf8-width-0.1))))
(home-page "https://magiclen.org/byte-unit")
- (synopsis "Library for interaction with units of bytes.")
+ (synopsis "Library for interaction with units of bytes")
(description
"This package provides a library for interaction with units of bytes.")
(license license:expat)))
@@ -7448,14 +8792,14 @@ in a byte slice, fast.")
(define-public rust-byteorder-1
(package
(name "rust-byteorder")
- (version "1.4.2")
+ (version "1.4.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "byteorder" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0srh0h0594jmsnbvm7n0g8xabhla8lwb3gn8s0fzd7d1snix2i5f"))))
+ (base32 "0456lv9xi1a5bcm32arknf33ikv76p3fr9yzki4lb2897p2qkh8l"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-development-inputs
@@ -7491,14 +8835,14 @@ little-endian.")
(define-public rust-bytes-1
(package
(name "rust-bytes")
- (version "1.0.1")
+ (version "1.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "bytes" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0h6h1c8g3yj2b4k8g25gr3246mq985y0kl3z685cs784fr1ww05p"))))
+ (base32 "1y70b249m02lfp0j6565b29kviapj4xsl9whamcqwddnp9kjv1y4"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -8307,10 +9651,10 @@ capabilities.")
the library crate of Cargo.")
(license (list license:expat license:asl2.0))))
-(define-public rust-cargo-metadata-0.13
+(define-public rust-cargo-metadata-0.14
(package
(name "rust-cargo-metadata")
- (version "0.13.0")
+ (version "0.14.1")
(source
(origin
(method url-fetch)
@@ -8319,7 +9663,7 @@ the library crate of Cargo.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "11cnz97byqswmhpbbig9hss5kf8bmxq9nd5xjg3l2rsnnv040i32"))))
+ "04kfzvmh80pq0bw1cwzlz71wfrign2k7792mc4gi8hs1jkgfcams"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -8327,8 +9671,7 @@ the library crate of Cargo.")
(("rust-camino" ,rust-camino-1)
("rust-cargo-platform" ,rust-cargo-platform-0.1)
("rust-derive-builder" ,rust-derive-builder-0.9)
- ("rust-semver" ,rust-semver-0.11)
- ("rust-semver-parser" ,rust-semver-parser-0.10)
+ ("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")
@@ -8338,6 +9681,32 @@ the library crate of Cargo.")
metadata}.")
(license license:expat)))
+(define-public rust-cargo-metadata-0.13
+ (package
+ (inherit rust-cargo-metadata-0.14)
+ (name "rust-cargo-metadata")
+ (version "0.13.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cargo-metadata" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "11cnz97byqswmhpbbig9hss5kf8bmxq9nd5xjg3l2rsnnv040i32"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-camino" ,rust-camino-1)
+ ("rust-cargo-platform" ,rust-cargo-platform-0.1)
+ ("rust-derive-builder" ,rust-derive-builder-0.9)
+ ("rust-semver" ,rust-semver-0.11)
+ ("rust-semver-parser" ,rust-semver-parser-0.10)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1))))))
+
(define-public rust-cargo-metadata-0.9
(package
(inherit rust-cargo-metadata-0.13)
@@ -8390,6 +9759,25 @@ metadata}.")
(;("rust-docopt" ,rust-docopt-0.8)
("rust-clap" ,rust-clap-2))))))
+(define-public rust-cargo-metadata-0.2
+ (package
+ (inherit rust-cargo-metadata-0.9)
+ (name "rust-cargo-metadata")
+ (version "0.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cargo-metadata" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ywd10r8gnfcmpg2cjv99gcwydgrn0syw252qcsgd1118sw5f45y"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1))))))
+
(define-public rust-cargo-platform-0.1
(package
(name "rust-cargo-platform")
@@ -8513,15 +9901,15 @@ box''.")
(define-public rust-cc-1
(package
(name "rust-cc")
- (version "1.0.66")
+ (version "1.0.67")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "cc" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0j7d7h4n81z5f22l3v8ggjvvw8m64636nlaqax4x1y44da1rc12c"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1z9p27ys80shv09zhknmlal8jjra78agdwg97i6jjd6lg83rpip3"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f
@@ -8558,25 +9946,19 @@ is a non-standard variant of UTF-8 that is used internally by some systems
that need to represent UTF-16 data as 8-bit characters.")
(license (list license:asl2.0 license:expat))))
-(define-public rust-cexpr-0.4
+(define-public rust-cexpr-0.6
(package
(name "rust-cexpr")
- (version "0.4.0")
+ (version "0.6.0")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "cexpr" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "09qd1k1mrhcqfhqmsz4y1bya9gcs29si7y3w96pqkgid4y2dpbpl"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cexpr" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0rl77bwhs5p979ih4r0202cn5jrfsrbgrksp40lkfz5vk1x3ib3g"))))
(build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs
- (("rust-nom" ,rust-nom-5))
- #:cargo-development-inputs
- (("rust-clang-sys" ,rust-clang-sys-0.28))))
+ (arguments `(#:skip-build? #t #:cargo-inputs (("rust-nom" ,rust-nom-7))))
(inputs
(list clang))
(home-page "https://github.com/jethrogb/rust-cexpr")
@@ -8585,6 +9967,26 @@ that need to represent UTF-16 data as 8-bit characters.")
"This package provides a C expression parser and evaluator.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-cexpr-0.4
+ (package
+ (inherit rust-cexpr-0.6)
+ (name "rust-cexpr")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cexpr" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "09qd1k1mrhcqfhqmsz4y1bya9gcs29si7y3w96pqkgid4y2dpbpl"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-nom" ,rust-nom-5))
+ #:cargo-development-inputs
+ (("rust-clang-sys" ,rust-clang-sys-0.28))))))
+
(define-public rust-cexpr-0.3
(package
(inherit rust-cexpr-0.4)
@@ -8646,6 +10048,50 @@ that need to represent UTF-16 data as 8-bit characters.")
winded @code{#[cfg()]} checks.")
(license license:expat)))
+(define-public rust-cfg-expr-0.8
+ (package
+ (name "rust-cfg-expr")
+ (version "0.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cfg-expr" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "03lgv8psc2qrr93hxgdfmfwbj1crpzghxd7qh6w2nz0l4qryh4ml"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-smallvec" ,rust-smallvec-1)
+ ("rust-target-lexicon" ,rust-target-lexicon-0.12))
+ #:cargo-development-inputs
+ (("rust-difference" ,rust-difference-2))))
+ (home-page "https://github.com/EmbarkStudios/cfg-expr")
+ (synopsis "Parser and evaluator for Rust @code{cfg()} expressions")
+ (description
+ "This package provides a parser and evaluator for Rust @code{cfg()}
+expressions.")
+ (license (list license:expat license:asl2.0))))
+
+(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")
@@ -8689,10 +10135,74 @@ chain, the first matching branch is the item that gets emitted.")
(("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))))
-(define-public rust-chalk-derive-0.68
+(define-public rust-chacha20-0.8
+ (package
+ (name "rust-chacha20")
+ (version "0.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "chacha20" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "14cgpnnpqsn5hmqkgrj4yaqdsvy56hkgcw5s2gqsxwhc7m1jmdq1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-cipher" ,rust-cipher-0.3)
+ ("rust-cpufeatures" ,rust-cpufeatures-0.2)
+ ("rust-rand-core" ,rust-rand-core-0.6)
+ ("rust-zeroize" ,rust-zeroize-1))
+ #:cargo-development-inputs
+ (("rust-cipher" ,rust-cipher-0.3)
+ ("rust-hex-literal" ,rust-hex-literal-0.2))))
+ (home-page "https://github.com/RustCrypto/stream-ciphers")
+ (synopsis "ChaCha20 stream cipher implemented in pure Rust")
+ (description
+ "The ChaCha20 stream cipher (RFC 8439) implemented in pure Rust using traits
+from the RustCrypto @code{cipher} crate, with optional architecture-specific
+hardware acceleration (AVX2, SSE2). Additionally provides the ChaCha8, ChaCha12,
+XChaCha20, XChaCha12 and XChaCha8 stream ciphers, and also optional
+@code{rand_core-compatible} RNGs based on those ciphers.")
+ (license (list license:asl2.0 license:expat))))
+
+(define-public rust-chacha20poly1305-0.9
+ (package
+ (name "rust-chacha20poly1305")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "chacha20poly1305" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0alawaaakczsll1b98qf4m6r6kfaw28506ljvsysjyjz3mnyv11v"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-aead" ,rust-aead-0.4)
+ ("rust-chacha20" ,rust-chacha20-0.8)
+ ("rust-cipher" ,rust-cipher-0.3)
+ ("rust-poly1305" ,rust-poly1305-0.7)
+ ("rust-zeroize" ,rust-zeroize-1))
+ #:cargo-development-inputs
+ (("rust-aead" ,rust-aead-0.4))))
+ (home-page "https://github.com/RustCrypto/AEADs")
+ (synopsis
+ "Pure Rust implementation of ChaCha20Poly1305 Authenticated Encryption")
+ (description
+ "Pure Rust implementation of the ChaCha20Poly1305 Authenticated
+Encryption with Additional Data Cipher (RFC 8439) with optional
+architecture-specific hardware acceleration. Also contains implementations of
+the XChaCha20Poly1305 extended nonce variant of ChaCha20Poly1305, and the
+reduced-round ChaCha8Poly1305 and ChaCha12Poly1305 lightweight variants.")
+ (license (list license:asl2.0 license:expat))))
+
+(define-public rust-chalk-derive-0.75
(package
(name "rust-chalk-derive")
- (version "0.68.0")
+ (version "0.75.0")
(source
(origin
(method url-fetch)
@@ -8701,7 +10211,7 @@ chain, the first matching branch is the item that gets emitted.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0ss18zx2ddp50mvbwffs5jmmcs7a0pkiq1g62xa7z1bacvkm45ga"))))
+ "0v1i5sb1w2skqg5sjy3gimdglsq0in6mc1zz36qyc99lkrgknknm"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -8718,25 +10228,48 @@ chain, the first matching branch is the item that gets emitted.")
macros.")
(license (list license:asl2.0 license:expat))))
-(define-public rust-chalk-ir-0.68
+(define-public rust-chalk-derive-0.68
(package
- (name "rust-chalk-ir")
+ (inherit rust-chalk-derive-0.75)
+ (name "rust-chalk-derive")
(version "0.68.0")
(source
(origin
(method url-fetch)
+ (uri (crate-uri "chalk-derive" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0ss18zx2ddp50mvbwffs5jmmcs7a0pkiq1g62xa7z1bacvkm45ga"))))
+ (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))))))
+
+(define-public rust-chalk-ir-0.75
+ (package
+ (name "rust-chalk-ir")
+ (version "0.75.0")
+ (source
+ (origin
+ (method url-fetch)
(uri (crate-uri "chalk-ir" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0riyv4fjmxys8gsyrikn9in34cjcgwgj55qyaj9w9fld8kqxbmqr"))))
+ "12iyziaw14qb0wz3pqx70qwqa9r0qsi5d4y6j0g32yabs2hyay9b"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
- ("rust-chalk-derive" ,rust-chalk-derive-0.68)
+ ("rust-chalk-derive" ,rust-chalk-derive-0.75)
("rust-lazy-static" ,rust-lazy-static-1))))
(home-page "https://github.com/rust-lang/chalk")
(synopsis
@@ -8746,8 +10279,60 @@ macros.")
clauses.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-chalk-ir-0.68
+ (package
+ (inherit rust-chalk-ir-0.75)
+ (name "rust-chalk-ir")
+ (version "0.68.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "chalk-ir" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0riyv4fjmxys8gsyrikn9in34cjcgwgj55qyaj9w9fld8kqxbmqr"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-chalk-derive" ,rust-chalk-derive-0.68)
+ ("rust-lazy-static" ,rust-lazy-static-1))))))
+
+(define-public rust-chalk-recursive-0.75
+ (package
+ (name "rust-chalk-recursive")
+ (version "0.75.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "chalk-recursive" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "11bnn0yn9np4mar4nryys6w1ijizj3y9dcz3xbldxzx6fplmk7y3"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-chalk-derive" ,rust-chalk-derive-0.75)
+ ("rust-chalk-ir" ,rust-chalk-ir-0.75)
+ ("rust-chalk-solve" ,rust-chalk-solve-0.75)
+ ("rust-rustc-hash" ,rust-rustc-hash-1)
+ ("rust-tracing" ,rust-tracing-0.1))))
+ (home-page "https://github.com/rust-lang/chalk")
+ (synopsis
+ "Recursive solver for the Chalk project")
+ (description
+ "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
@@ -8767,16 +10352,45 @@ clauses.")
("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))))
+ ("rust-tracing" ,rust-tracing-0.1))))))
+
+(define-public rust-chalk-solve-0.75
+ (package
+ (name "rust-chalk-solve")
+ (version "0.75.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "chalk-solve" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "07gaf59zr7pgpr01l3si7a8iici2qh5dh2w2b05agaq5cvds3lm5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-chalk-derive" ,rust-chalk-derive-0.75)
+ ("rust-chalk-ir" ,rust-chalk-ir-0.75)
+ ("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.3)
+ ("rust-tracing-tree" ,rust-tracing-tree-0.2))))
(home-page "https://github.com/rust-lang/chalk")
(synopsis
- "Recursive solver for the Chalk project")
+ "Combines the chalk-engine with chalk-ir")
(description
- "Recursive solver for the Chalk project")
+ "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
@@ -8801,13 +10415,7 @@ clauses.")
("rust-tracing" ,rust-tracing-0.1)
("rust-tracing-subscriber"
,rust-tracing-subscriber-0.2)
- ("rust-tracing-tree" ,rust-tracing-tree-0.1))))
- (home-page "https://github.com/rust-lang/chalk")
- (synopsis
- "Combines the chalk-engine with chalk-ir")
- (description
- "This package provides a combines the chalk-engine with chalk-ir.")
- (license (list license:asl2.0 license:expat))))
+ ("rust-tracing-tree" ,rust-tracing-tree-0.1))))))
(define-public rust-charset-0.1
(package
@@ -8900,8 +10508,36 @@ Encoding Standard.")
Python arrow.humanize.")
(license (list license:expat license:asl2.0))))
+(define-public rust-chrono-tz-0.6
+ (package
+ (name "rust-chrono-tz")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "chrono-tz" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "12qcpjqva4fpj5kdcksbfhsc8dkbdhyi2z56p8dwf9bxc0f1rh34"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-chrono" ,rust-chrono-0.4)
+ ("rust-chrono-tz-build" ,rust-chrono-tz-build-0.0.2)
+ ("rust-phf" ,rust-phf-0.10)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-uncased" ,rust-uncased-0.9))))
+ (home-page "https://github.com/chronotope/chrono-tz")
+ (synopsis "TimeZone implementations for rust-chrono from the IANA database")
+ (description
+ "Chrono-TZ is a library that provides implementors of the TimeZone trait
+for @code{rust-chrono}.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-chrono-tz-0.5
(package
+ (inherit rust-chrono-tz-0.6)
(name "rust-chrono-tz")
(version "0.5.3")
(source
@@ -8911,18 +10547,38 @@ Python arrow.humanize.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "085i4940kn0fn4gkl3xi1kv3vp2frhfig1vla1i461pcbwas6m15"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-chrono" ,rust-chrono-0.4)
("rust-parse-zoneinfo" ,rust-parse-zoneinfo-0.3)
- ("rust-serde" ,rust-serde-1))))
+ ("rust-serde" ,rust-serde-1))))))
+
+(define-public rust-chrono-tz-build-0.0.2
+ (package
+ (name "rust-chrono-tz-build")
+ (version "0.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "chrono-tz-build" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0schy3z03psvmc6734hgkx52cdb3zvixgzhvhr0mzxmj7x4qs1fv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-parse-zoneinfo" ,rust-parse-zoneinfo-0.3)
+ ("rust-phf" ,rust-phf-0.10)
+ ("rust-phf-codegen" ,rust-phf-codegen-0.10)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-uncased" ,rust-uncased-0.9))))
(home-page "https://github.com/chronotope/chrono-tz")
- (synopsis "TimeZone implementations for rust-chrono from the IANA database")
+ (synopsis "Internal build script for chrono-tz Rust package")
(description
- "Chrono-TZ is a library that provides implementors of the
-TimeZone trait for @code{rust-chrono}.")
+ "This package contains the internal build script for
+chrono-tz Rust crate.")
(license (list license:expat license:asl2.0))))
(define-public rust-chunked-transfer-1
@@ -9285,7 +10941,7 @@ Command Line Argument Parser.")
(package
(inherit rust-clap-3)
(name "rust-clap")
- (version "2.33.3")
+ (version "2.34.0")
(source
(origin
(method url-fetch)
@@ -9293,10 +10949,10 @@ Command Line Argument Parser.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "00i065a58987k1sbzqmlz721rw521zcg08jmsh40gi3khp3qmr9p"))))
+ "071q5d8jfwbazi6zhik9xwpacx5i6kb2vkzy060vhf0c3120aqd0"))))
(arguments
`(#:cargo-inputs
- (("rust-ansi-term" ,rust-ansi-term-0.11)
+ (("rust-ansi-term" ,rust-ansi-term-0.12)
("rust-atty" ,rust-atty-0.2)
("rust-bitflags" ,rust-bitflags-1)
("rust-clippy" ,rust-clippy-0.0)
@@ -9450,6 +11106,90 @@ colorization.")
pitfalls in Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-clippy-0.0.153
+ (package
+ (inherit rust-clippy-0.0)
+ (name "rust-clippy")
+ (version "0.0.153")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "clippy" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1b5c96303nc6ngphazjafafgjjfawfbsjrkr2c8m2xvg7finxf47"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-cargo-metadata" ,rust-cargo-metadata-0.2)
+ ("rust-clippy-lints" ,rust-clippy-lints-0.0.153))
+ #:cargo-development-inputs
+ (("rust-clippy-mini-macro-test" ,rust-clippy-mini-macro-test-0.1)
+ ("rust-compiletest-rs" ,rust-compiletest-rs-0.2)
+ ("rust-duct" ,rust-duct-0.8)
+ ("rust-lazy-static" ,rust-lazy-static-0.2)
+ ("rust-regex" ,rust-regex-0.2)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1))))))
+
+(define-public rust-clippy-lints-0.0.153
+ (package
+ (name "rust-clippy-lints")
+ (version "0.0.153")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "clippy-lints" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "021w4cv2qwczkk0w4d6zy52yx6afi4yz5y29wq6xmb0wqwzp55ca"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-itertools" ,rust-itertools-0.6)
+ ("rust-lazy-static" ,rust-lazy-static-0.2)
+ ("rust-matches" ,rust-matches-0.1)
+ ("rust-pulldown-cmark" ,rust-pulldown-cmark-0.0.15)
+ ("rust-quine-mc-cluskey" ,rust-quine-mc-cluskey-0.2)
+ ("rust-regex-syntax" ,rust-regex-syntax-0.4)
+ ("rust-semver" ,rust-semver-0.6)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-toml" ,rust-toml-0.4)
+ ("rust-unicode-normalization" ,rust-unicode-normalization-0.1))))
+ (home-page "https://github.com/rust-lang-nursery/rust-clippy")
+ (synopsis "A bunch of helpful lints to avoid common pitfalls in Rust")
+ (description
+ "This package provides a bunch of helpful lints to avoid common pitfalls
+in Rust")
+ (license license:mpl2.0)))
+
+(define-public rust-clippy-mini-macro-test-0.1
+ (package
+ (name "rust-clippy-mini-macro-test")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "clippy-mini-macro-test" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1f1q09az4xk4aqnp8g1m6kf4hif75gr7rwzhh4yw7g1gqk94jsgq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t))
+ (home-page "https://github.com/rust-lang-nursery/rust-clippy")
+ (synopsis "Macro to test clippy's procedural macro checks")
+ (description
+ "This package provides a macro to test clippy's procedural macro
+checks.")
+ (license license:mpl2.0)))
+
(define-public rust-clircle-0.3
(package
(name "rust-clircle")
@@ -9470,7 +11210,7 @@ pitfalls in Rust.")
("rust-serde" ,rust-serde-1)
("rust-winapi" ,rust-winapi-0.3))))
(home-page "https://github.com/niklasmohrin/clircle")
- (synopsis "Detect IO circles in your CLI apps arguments.")
+ (synopsis "Detect IO circles in your CLI apps arguments")
(description
"Clircle provides a cross-platform API to detect read or write cycles
from your user-supplied arguments. You can get the important identifiers of
@@ -9518,20 +11258,19 @@ contains all syscalls and related types.")
`(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1))))))
-(define-public rust-cloudflare-zlib-sys-0.2
+(define-public rust-cloudflare-zlib-sys-0.3
(package
(name "rust-cloudflare-zlib-sys")
- (version "0.2.0")
+ (version "0.3.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.
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cloudflare-zlib-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0vyd0l0vprvh9hc1ikllybrk8xc0lz9f509d2xgxgrpyxp8vch10"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -9543,9 +11282,29 @@ contains all syscalls and related types.")
(description
"Cloudflare fork of zlib with massive performance improvements.")
(license
- (list license:expat
- license:asl2.0
- license:zlib))))
+ (list license:expat
+ 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
@@ -9842,6 +11601,54 @@ diagnostics easy and relatively painless for everyone!")
(description "This package provides colorful panic backtraces.")
(license (list license:expat license:asl2.0))))
+(define-public rust-concolor-query
+ (package
+ (name "rust-concolor-query")
+ (version "0.0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "concolor-query" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1isbqpyiwblp0rglnaqzai5hav23095s82mwgi09v3xcck4rq5dd"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/rust-cli/concolor")
+ (synopsis "Rust library to query low level terminal capabilities")
+ (description "@code{concolor-query} can be used to query a terminal
+capabilities, for example to find out about its colored console abilities.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-concolor-control
+ (package
+ (name "rust-concolor-control")
+ (version "0.0.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "concolor-control" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1nplakbdb9sbd3h62d9zkan0xm1w0c7cbl3rk0iqgn405yf1213i"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;see https://github.com/rust-cli/concolor/issues/4
+ #:cargo-inputs
+ (("rust-atty" ,rust-atty-0.2)
+ ("rust-bitflags" ,rust-bitflags-1)
+ ("rust-concolor-query" ,rust-concolor-query))))
+ (home-page "https://github.com/rust-cli/concolor")
+ (synopsis "Rust library for managing terminal styling")
+ (description "@code{concolor-control} is a terminal styling library that
+can be used to:
+@itemize
+@item Detect interactive @samp{stdout} or @samp{stderr}
+@item Detect terminal capabilities via @samp{TERM}
+@item Support @url{https://bixense.com/clicolors/, CLICOLOR} and
+@url{https://no-color.org/, NO_COLOR}.
+@end itemize")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-color-quant-1
(package
(name "rust-color-quant")
@@ -10234,6 +12041,72 @@ harness.")
("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
("rust-tempdir" ,rust-tempdir-0.3))))))
+(define-public rust-concat-idents-1
+ (package
+ (name "rust-concat-idents")
+ (version "1.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "concat-idents" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0bqdl6vml2ksyz6hc4xlpw3iqaagxs7xn0xinwa51ms80a390vsb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/DzenanJupic/concat-idents")
+ (synopsis "Concatenate multiple identifiers and use them everywhere")
+ (description
+ "This package allows concatenating multiple identifiers and using them
+everywhere.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-concolor-control-0.0.7
+ (package
+ (name "rust-concolor-control")
+ (version "0.0.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "concolor-control" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1nplakbdb9sbd3h62d9zkan0xm1w0c7cbl3rk0iqgn405yf1213i"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-atty" ,rust-atty-0.2)
+ ("rust-bitflags" ,rust-bitflags-1)
+ ("rust-concolor-query" ,rust-concolor-query-0.0.4))))
+ (home-page "https://github.com/rust-cli/concolor")
+ (synopsis "Control console coloring across all dependencies")
+ (description "This crate provides control console coloring across all
+dependencies.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-concolor-query-0.0.4
+ (package
+ (name "rust-concolor-query")
+ (version "0.0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "concolor-query" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1isbqpyiwblp0rglnaqzai5hav23095s82mwgi09v3xcck4rq5dd"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/rust-cli/concolor")
+ (synopsis "Look up colored console capabilities")
+ (description "This crate provides low level terminal capability lookups.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-concurrent-queue-1
(package
(name "rust-concurrent-queue")
@@ -10259,17 +12132,17 @@ harness.")
queue.")
(license (list license:asl2.0 license:expat))))
-(define-public rust-config-0.10
+(define-public rust-config-0.11
(package
(name "rust-config")
- (version "0.10.1")
+ (version "0.11.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "config" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1qrcp7nm24xzp418xnqf0i26qahw93w31nk5vs6m7ng18ghpdc0r"))))
+ (base32 "0sdkxv77m65frsn3bx0r3v7asxar3gy3hmghcfk6h4rbijars6qv"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -10289,6 +12162,30 @@ queue.")
applications.")
(license (list license:expat license:asl2.0))))
+(define-public rust-config-0.10
+ (package
+ (inherit rust-config-0.11)
+ (name "rust-config")
+ (version "0.10.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "config" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1qrcp7nm24xzp418xnqf0i26qahw93w31nk5vs6m7ng18ghpdc0r"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-nom" ,rust-nom-5)
+ ("rust-rust-ini" ,rust-rust-ini-0.13)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-hjson" ,rust-serde-hjson-0.9)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-toml" ,rust-toml-0.5)
+ ("rust-yaml-rust" ,rust-yaml-rust-0.4))))))
+
(define-public rust-configparser-2
(package
(name "rust-configparser")
@@ -10310,24 +12207,24 @@ dependencies that allows you to parse INI and ini-style syntax. You can use
this to write Rust programs which can be customized by end users easily.")
(license (list license:expat license:lgpl3+))))
-(define-public rust-console-0.14
+(define-public rust-console-0.15
(package
(name "rust-console")
- (version "0.14.1")
+ (version "0.15.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "console" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0i8z1bdbv8is1lamd81jdsf4pa1ww2jl3h0yjdshc5mabd2fd4rr"))))
+ (base32 "0c9wif28i3q231gvjprqdq1glmgmmcdxpmxcwk1p0jx45k9k52x2"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-encode-unicode" ,rust-encode-unicode-0.3)
- ("rust-lazy-static" ,rust-lazy-static-1)
("rust-libc" ,rust-libc-0.2)
+ ("rust-once-cell" ,rust-once-cell-1)
("rust-regex" ,rust-regex-1)
("rust-terminal-size" ,rust-terminal-size-0.1)
("rust-unicode-width" ,rust-unicode-width-0.1)
@@ -10339,6 +12236,30 @@ this to write Rust programs which can be customized by end users easily.")
"This package provides a terminal and console abstraction for Rust.")
(license license:expat)))
+(define-public rust-console-0.14
+ (package
+ (inherit rust-console-0.15)
+ (name "rust-console")
+ (version "0.14.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "console" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0i8z1bdbv8is1lamd81jdsf4pa1ww2jl3h0yjdshc5mabd2fd4rr"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-encode-unicode" ,rust-encode-unicode-0.3)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-terminal-size" ,rust-terminal-size-0.1)
+ ("rust-unicode-width" ,rust-unicode-width-0.1)
+ ("rust-winapi" ,rust-winapi-0.3)
+ ("rust-winapi-util" ,rust-winapi-util-0.1))))))
+
(define-public rust-console-0.13
(package
(inherit rust-console-0.14)
@@ -10514,6 +12435,27 @@ the browser's console.")
const functions with conditional compilations.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-const-oid-0.6
+ (package
+ (name "rust-const-oid")
+ (version "0.6.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "const-oid" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "12vv7csqqjj0x1l5mf51lgqiw76k5c3mb1yzfhfcqysks2j2lvwx"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/RustCrypto/formats/tree/master/const-oid")
+ (synopsis "Implementation of the ISO/IEC Object Identifier (OID)")
+ (description
+ "This packages is a const-friendly implementation of the ISO/IEC Object
+Identifier (OID) standard as defined in ITU X.660, with support for BER/DER
+encoding/decoding as well as heapless no_std (i.e., embedded) support.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-const-random-0.1
(package
(name "rust-const-random")
@@ -10560,6 +12502,25 @@ generation.")
@code{rust-const-random}.")
(license (list license:expat license:asl2.0))))
+(define-public rust-const-sha1-0.2
+ (package
+ (name "rust-const-sha1")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "const-sha1" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "179cgi2m3wj5g80j49pggs95xalc6y1ivvbrv4m82alc3r2vcn7v"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/rylev/const-sha1")
+ (synopsis "sha1 implementation for use in const contexts")
+ (description
+ "This package provides a sha1 implementation for use in const contexts.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-constant-time-eq-0.1
(package
(name "rust-constant-time-eq")
@@ -10635,6 +12596,27 @@ to guess the type of content.")
semantics than those provided by @code{as} or @code{From}/@code{Into}.")
(license license:expat)))
+(define-public rust-convert-case-0.4
+ (package
+ (name "rust-convert-case")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "convert-case" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "03jaf1wrsyqzcaah9jf8l1iznvdw5mlsca2qghhzr9w27sddaib2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-rand" ,rust-rand-0.7))))
+ (home-page "https://github.com/rutrum/convert-case")
+ (synopsis "Convert strings into any case")
+ (description "Convert strings into any case.")
+ (license license:expat)))
+
(define-public rust-cookie-0.12
(package
(name "rust-cookie")
@@ -10818,8 +12800,39 @@ contents of the OS-level clipboard.")
numbers using the CORDIC method.")
(license license:bsd-3)))
+(define-public rust-cookie-0.15
+ (package
+ (name "rust-cookie")
+ (version "0.15.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cookie" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "03gql9c2l0wg3hpfp67wg2ns21wysk0xsjxwdbjrf0s6grrcgwfm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-aes-gcm" ,rust-aes-gcm-0.8)
+ ("rust-base64" ,rust-base64-0.13)
+ ("rust-hkdf" ,rust-hkdf-0.10)
+ ("rust-hmac" ,rust-hmac-0.10)
+ ("rust-percent-encoding" ,rust-percent-encoding-2)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-sha2" ,rust-sha2-0.9)
+ ("rust-subtle" ,rust-subtle-2)
+ ("rust-time" ,rust-time-0.2)
+ ("rust-version-check" ,rust-version-check-0.9))))
+ (home-page "https://github.com/SergioBenitez/cookie-rs")
+ (synopsis "HTTP cookie parsing and cookie jar management")
+ (description "This package provides HTTP cookie parsing and cookie jar
+management. It supports signed and private (encrypted, authenticated) jars.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-cookie-0.14
(package
+ (inherit rust-cookie-0.15)
(name "rust-cookie")
(version "0.14.2")
(source
@@ -10830,7 +12843,6 @@ numbers using the CORDIC method.")
(sha256
(base32
"1q56fl2cqrci9ksa80d7g220phq02nf1yfbvxkpk9g1p95ma2wqk"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-aes-gcm" ,rust-aes-gcm-0.6)
@@ -10842,15 +12854,41 @@ numbers using the CORDIC method.")
("rust-sha2" ,rust-sha2-0.9)
("rust-time" ,rust-time-0.2))
#:cargo-development-inputs
- (("rust-version-check" ,rust-version-check-0.9))))
- (home-page "https://github.com/SergioBenitez/cookie-rs")
- (synopsis "HTTP cookie parsing and cookie jar management")
- (description "This package provides HTTP cookie parsing and cookie jar
-management. It supports signed and private (encrypted, authenticated) jars.")
+ (("rust-version-check" ,rust-version-check-0.9))))))
+
+(define-public rust-cookie-store-0.15
+ (package
+ (name "rust-cookie-store-15")
+ (version "0.15.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cookie-store" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0z0navy9k0ivrdvz492q8c4nhd3iv5l77hwfppskdp1j15607xxk"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cookie" ,rust-cookie-0.15)
+ ("rust-idna" ,rust-idna-0.2)
+ ("rust-indexmap" ,rust-indexmap-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-publicsuffix" ,rust-publicsuffix-2)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-time" ,rust-time-0.2)
+ ("rust-url" ,rust-url-2))))
+ (home-page "https://github.com/pfernie/cookie_store")
+ (synopsis "Cookie storage and retrieval")
+ (description "This package implements cookie storage and retrieval.")
(license (list license:expat license:asl2.0))))
(define-public rust-cookie-store-0.12
(package
+ (inherit rust-cookie-store-0.15)
(name "rust-cookie-store")
(version "0.12.0")
(source
@@ -10861,7 +12899,6 @@ management. It supports signed and private (encrypted, authenticated) jars.")
(sha256
(base32
"1lqhmdwgnyvi1mjmw4rbgd02fwav4aabpg4vcld23d8c9g5dy61q"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-cookie" ,rust-cookie-0.14)
@@ -10875,11 +12912,7 @@ management. It supports signed and private (encrypted, authenticated) jars.")
("rust-url" ,rust-url-2))
#:cargo-development-inputs
(("rust-env-logger" ,rust-env-logger-0.7)
- ("rust-pretty-assertions" ,rust-pretty-assertions-0.6))))
- (home-page "https://github.com/pfernie/cookie_store")
- (synopsis "Cookie storage and retrieval")
- (description "This package implements cookie storage and retrieval.")
- (license (list license:expat license:asl2.0))))
+ ("rust-pretty-assertions" ,rust-pretty-assertions-0.6))))))
(define-public rust-core-affinity-0.5
(package
@@ -11124,10 +13157,10 @@ intrinsics.")
("rust-foreign-types" ,rust-foreign-types-0.3)
("rust-libc" ,rust-libc-0.2))))))
-(define-public rust-cov-mark-1
+(define-public rust-cov-mark-2
(package
(name "rust-cov-mark")
- (version "1.1.0")
+ (version "2.0.0-pre.1")
(source
(origin
(method url-fetch)
@@ -11136,7 +13169,7 @@ intrinsics.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1wv75ylrai556m388a40d50fxiyacmvm6qqz6va6qf1q04z3vylz"))))
+ "0jj4yz70k31ax1n3s7iyjv1k5yzrm4hkibrazqciycyrdgvxhj0d"))))
(arguments `(#:skip-build? #t))
(build-system cargo-build-system)
(home-page "https://github.com/matklad/cov-mark")
@@ -11144,10 +13177,26 @@ intrinsics.")
(description "This package provides a Manual coverage marks.")
(license (list license:expat license:asl2.0))))
-(define-public rust-countme-2
+(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")
- (version "2.0.4")
+ (version "3.0.0")
(source
(origin
(method url-fetch)
@@ -11156,7 +13205,7 @@ intrinsics.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0n6bzg2g6gsmgabyzbcfkyb9y9mzxsvavng85d04wkdsvhmq52rj"))))
+ "10z4r1xx77sr8axp3lsgc0azidazwgnhpzig2gcx5dfrdl66wx03"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -11170,6 +13219,27 @@ 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")
@@ -11218,22 +13288,19 @@ intrinsics.")
(("rust-clap" ,rust-clap-2)
("rust-diff" ,rust-diff-0.1))))))
-(define-public rust-cpufeatures-0.1
+(define-public rust-cpufeatures-0.2
(package
(name "rust-cpufeatures")
- (version "0.1.4")
+ (version "0.2.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "cpufeatures" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1j0i97325c2grndsfgnm3lqk0xbyvdl2dbgn8i5dd9yhnmycc07d"))))
+ (base32 "0sgllzsvs8hinylaiigmd9c908gd8wclxnqz8dinpxbdyql981cm"))))
(build-system cargo-build-system)
- (arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-libc" ,rust-libc-0.2))))
+ (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
(home-page "https://github.com/RustCrypto/utils")
(synopsis "Alternative to the @code{is_x86_feature_detected!} macro")
(description
@@ -11241,6 +13308,19 @@ intrinsics.")
to the @code{is_x86_feature_detected!} macro.")
(license (list license:expat license:asl2.0))))
+(define-public rust-cpufeatures-0.1
+ (package
+ (inherit rust-cpufeatures-0.2)
+ (name "rust-cpufeatures")
+ (version "0.1.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cpufeatures" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1j0i97325c2grndsfgnm3lqk0xbyvdl2dbgn8i5dd9yhnmycc07d"))))))
+
(define-public rust-cpuid-bool-0.1
(package
(name "rust-cpuid-bool")
@@ -11321,6 +13401,28 @@ to @code{is_x86_feature_detected}.")
"Library for retrieving and interacting with the crates.io index.")
(license license:asl2.0)))
+(define-public rust-crates-index-0.5
+ (package
+ (inherit rust-crates-index-0.13)
+ (name "rust-crates-index-5")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "crates-index" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1gak1czvvdz7l00vkkj61srrfa1sj2yl4ydghhgywydby5qh3mlg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;"curl error: Could not resolve host: github.com\n"
+ #:cargo-inputs
+ (("rust-git2" ,rust-git2-0.6)
+ ("rust-glob" ,rust-glob-0.2)
+ ("rust-rustc-serialize" ,rust-rustc-serialize-0.3))))
+ (native-inputs (list pkg-config))
+ (inputs (list zlib openssl libssh2 curl cmake))))
+
(define-public rust-crates-io-0.33
(package
(name "rust-crates-io")
@@ -11431,7 +13533,7 @@ final xor value. It has many built-in CRC functions.")
(define-public rust-criterion-0.3
(package
(name "rust-criterion")
- (version "0.3.3")
+ (version "0.3.4")
(source
(origin
(method url-fetch)
@@ -11439,33 +13541,37 @@ final xor value. It has many built-in CRC functions.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1n24l95pgjig4nfhgm3vn9gxb49ky5ylr8390scl7wbcxk7agnkh"))))
+ (base32 "08rx789365x6l9kbsg2r9c5yg25rd3pj1giwyhpcqis56pbpwcmb"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-atty" ,rust-atty-0.2)
+ (("rust-async-std" ,rust-async-std-1)
+ ("rust-atty" ,rust-atty-0.2)
("rust-cast" ,rust-cast-0.2)
("rust-clap" ,rust-clap-2)
("rust-criterion-plot" ,rust-criterion-plot-0.4)
("rust-csv" ,rust-csv-1)
- ("rust-itertools" ,rust-itertools-0.9)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-itertools" ,rust-itertools-0.10)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-num-traits" ,rust-num-traits-0.2)
("rust-oorandom" ,rust-oorandom-11.1)
- ("rust-plotters" ,rust-plotters-0.2)
+ ("rust-plotters" ,rust-plotters-0.3)
("rust-rayon" ,rust-rayon-1)
("rust-regex" ,rust-regex-1)
("rust-serde" ,rust-serde-1)
("rust-serde-cbor" ,rust-serde-cbor-0.11)
("rust-serde-derive" ,rust-serde-derive-1)
("rust-serde-json" ,rust-serde-json-1)
+ ("rust-smol" ,rust-smol-1)
("rust-tinytemplate" ,rust-tinytemplate-1)
+ ("rust-tokio" ,rust-tokio-1)
("rust-walkdir" ,rust-walkdir-2))
#:cargo-development-inputs
- (("rust-approx" ,rust-approx-0.3)
+ (("rust-approx" ,rust-approx-0.4)
+ ("rust-futures" ,rust-futures-0.3)
("rust-quickcheck" ,rust-quickcheck-0.9)
- ("rust-rand" ,rust-rand-0.7)
+ ("rust-rand" ,rust-rand-0.8)
("rust-tempfile" ,rust-tempfile-3))))
(home-page "https://bheisler.github.io/criterion.rs/book/index.html")
(synopsis "Statistics-driven micro-benchmarking library")
@@ -11587,6 +13693,30 @@ criterion.")
("rust-num-complex" ,rust-num-complex-0.2)
("rust-rand" ,rust-rand-0.4))))))
+(define-public rust-critical-section-0.2
+ (package
+ (name "rust-critical-section")
+ (version "0.2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "critical-section" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0w1xl04q3qn3c67wnbiz6d5dsaqgdimyyxwpcydsvvgnlsjr3q81"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bare-metal" ,rust-bare-metal-1)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-cortex-m" ,rust-cortex-m-0.7)
+ ("rust-riscv" ,rust-riscv-0.7))))
+ (home-page "https://github.com/embassy-rs/critical-section")
+ (synopsis "Critical section abstraction")
+ (description "This package provides a critical section abstraction.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-crossbeam-0.8
(package
(name "rust-crossbeam")
@@ -12297,8 +14427,31 @@ number ``crunching``.")
common cryptographic algorithms.")
(license (list license:expat license:asl2.0))))
+(define-public rust-rusticata-macros-4
+ (package
+ (name "rust-rusticata-macros")
+ (version "4.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rusticata-macros" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "03dmfxhgwzpm1360iwcpcg3y18ddgya0i0hc599am212pdvj7ib5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-nom" ,rust-nom-7))))
+ (home-page "https://github.com/rusticata/rusticata-macros")
+ (synopsis "Helper macros for Rusticata")
+ (description "Helper macros for Rusticata.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rusticata-macros-3
(package
+ (inherit rust-rusticata-macros-4)
(name "rust-rusticata-macros")
(version "3.2.0")
(source
@@ -12310,12 +14463,59 @@ common cryptographic algorithms.")
(sha256
(base32
"1b91k644rqblbam6rfhhmgcxs0zddldi2h0w93aapv1kqq9fbgpv"))))
+ (arguments
+ `(#:cargo-inputs (("rust-nom" ,rust-nom-6))))))
+
+(define-public rust-crypto-bigint-0.2
+ (package
+ (name "rust-crypto-bigint")
+ (version "0.2.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "crypto-bigint" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "00qckh65nzb7s7vd60wylw6alxf9g37xh31lirb1qw0l8fxx6fzq"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-nom" ,rust-nom-6))))
- (home-page "https://github.com/rusticata/rusticata-macros")
- (synopsis "Helper macros for Rusticata")
- (description "Helper macros for Rusticata")
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-generic-array" ,rust-generic-array-0.14)
+ ("rust-rand-core" ,rust-rand-core-0.6)
+ ("rust-rlp" ,rust-rlp-0.5)
+ ("rust-subtle" ,rust-subtle-2)
+ ("rust-zeroize" ,rust-zeroize-1))))
+ (home-page "https://github.com/RustCrypto/crypto-bigint")
+ (synopsis "Big integer library designed for use in cryptography")
+ (description
+ "This crate is a pure Rust implementation of a big integer library which
+has been designed from the ground-up for use in cryptographic applications.
+Provides constant-time, no_std-friendly implementations of modern formulas
+using const generics.")
+ (license (list license:asl2.0 license:expat))))
+
+(define-public rust-crypto-common-0.1
+ (package
+ (name "rust-crypto-common")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "crypto-common" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1l4q4ync13i056vjc775v0za8qh987da7yvrjj25q909cd9nngb8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-generic-array" ,rust-generic-array-0.14)
+ ("rust-rand-core" ,rust-rand-core-0.6))))
+ (home-page "https://github.com/RustCrypto/traits")
+ (synopsis "Common cryptographic traits")
+ (description "Common cryptographic traits")
(license (list license:expat license:asl2.0))))
(define-public rust-crypto-mac-0.11
@@ -12323,14 +14523,14 @@ common cryptographic algorithms.")
(name "rust-crypto-mac")
(version "0.11.0")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "crypto-mac" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0ghh3qmjf7hv580zqdk4yrbg99v57jx773zb7lzi7j4hj24bdyi5"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "crypto-mac" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0ghh3qmjf7hv580zqdk4yrbg99v57jx773zb7lzi7j4hj24bdyi5"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -12722,6 +14922,31 @@ reallocations.")
#:cargo-development-inputs
(("rust-regex" ,rust-regex-0.1))))))
+(define-public rust-cortex-m-0.7
+ (package
+ (name "rust-cortex-m")
+ (version "0.7.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cortex-m" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1cw3nyip3s81r6qaa3azrb0654jxw465j5fm126fqja48bpikj9a"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bare-metal" ,rust-bare-metal-0.2)
+ ("rust-bitfield" ,rust-bitfield-0.13)
+ ("rust-embedded-hal" ,rust-embedded-hal-0.2)
+ ("rust-volatile-register" ,rust-volatile-register-0.2))))
+ (home-page "https://github.com/rust-embedded/cortex-m")
+ (synopsis "Low level access to Cortex-M processors")
+ (description "This package provides low level access to Cortex-M
+processors.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-csv-core-0.1
(package
(name "rust-csv-core")
@@ -12868,31 +15093,46 @@ use with sct crate.")
"This package provides an @code{__attribute__((constructor))} for Rust.")
(license (list license:asl2.0 license:expat))))
-(define-public rust-ctr-0.6
+(define-public rust-ctr-0.8
(package
(name "rust-ctr")
- (version "0.6.0")
+ (version "0.8.0")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "ctr" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0zvyf13675hrlc37myj97k5ng7m1mj3d9p4ic4yvyhvl9zak0jpv"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ctr" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1sk1aykwhkny92cnvl6s75dx3fyvfzw5xkd6xz3y7w5anhgvk6q4"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-cipher" ,rust-cipher-0.2))))
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-cipher" ,rust-cipher-0.3))))
(home-page "https://docs.rs/ctr/")
(synopsis "CTR block mode of operation")
(description "This package provides a generic implementations of CTR mode
-for block ciphers.
-
-Mode functionality is accessed using traits from re-exported cipher crate.")
+for block ciphers. Mode functionality is accessed using traits from
+re-exported cipher crate.")
(license (list license:expat license:asl2.0))))
+(define-public rust-ctr-0.6
+ (package
+ (inherit rust-ctr-0.8)
+ (name "rust-ctr")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ctr" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0zvyf13675hrlc37myj97k5ng7m1mj3d9p4ic4yvyhvl9zak0jpv"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-cipher" ,rust-cipher-0.2))))))
+
(define-public rust-ctrlc-3
(package
(name "rust-ctrlc")
@@ -13014,30 +15254,36 @@ requests")
(define-public rust-curve25519-dalek-3
(package
(name "rust-curve25519-dalek")
- (version "3.0.0")
+ (version "3.2.0")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "curve25519-dalek" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "01xknhlwagv601k6125372vr0lw2j6xjsvnnl74hprp943j2sjf8"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "curve25519-dalek" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0q8v97275cy6v4ly6y2qwv9a8phnpjg9sy8kv7r6mgdjfacxz7qb"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-byteorder" ,rust-byteorder-1)
- ("rust-digest" ,rust-digest-0.9)
- ("rust-packed-simd" ,rust-packed-simd-0.3)
- ("rust-rand-core" ,rust-rand-core-0.5)
- ("rust-serde" ,rust-serde-1)
- ("rust-subtle" ,rust-subtle-2)
- ("rust-zeroize" ,rust-zeroize-1))))
+ `(#:cargo-inputs
+ (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-digest" ,rust-digest-0.9)
+ ("rust-fiat-crypto" ,rust-fiat-crypto-0.1)
+ ("rust-packed-simd-2" ,rust-packed-simd-2-0.3)
+ ("rust-rand-core" ,rust-rand-core-0.5)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-subtle" ,rust-subtle-2)
+ ("rust-zeroize" ,rust-zeroize-1))
+ #:cargo-development-inputs
+ (("rust-bincode" ,rust-bincode-1)
+ ("rust-criterion" ,rust-criterion-0.3)
+ ("rust-hex" ,rust-hex-0.4)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-sha2" ,rust-sha2-0.9))))
(home-page "https://dalek.rs/curve25519-dalek")
(synopsis "Group operations on ristretto255 and Curve25519")
(description
- "This package provides a pure-Rust implementation of group operations on
-ristretto255 and Curve25519")
+ "This package provides a pure-Rust implementation of group operations on
+ristretto255 and Curve25519.")
(license license:bsd-3)))
(define-public rust-custom-derive-0.1
@@ -13602,7 +15848,7 @@ reading attributes into structs when implementing custom derives.")
("rust-rayon" ,rust-rayon-1)
("rust-serde" ,rust-serde-1))))
(home-page "https://github.com/xacrimon/dashmap")
- (synopsis "Blazing fast concurrent HashMap for Rust.")
+ (synopsis "Blazing fast concurrent HashMap for Rust")
(description "This package implements a blazing fast concurrent HashMap
for Rust.")
(license license:expat)))
@@ -14028,6 +16274,74 @@ written in rust.")
(base32
"17giv0n0n1r64z0dahfvkjy3ys517jxyhs8sd9lmgvcljpjyryxa"))))))
+(define-public rust-defmt-0.3
+ (package
+ (name "rust-defmt")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "defmt" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "181l5wv6sihrjwjvk97wznmg2iaz3w1ljsx2dfzjssmhsbs5vyv2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-defmt-macros" ,rust-defmt-macros-0.3))))
+ (home-page "https://knurling.ferrous-systems.com/")
+ (synopsis "Logging framework for resource-constrained devices")
+ (description
+ "This package provides an efficient logging framework that targets
+resource-constrained devices, like micro-controllers.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-defmt-macros-0.3
+ (package
+ (name "rust-defmt-macros")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "defmt-macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0rx25gp12c6j3krwjjsknigd803ycz1rpxh5jhr6ny51cfvrd0q9"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-defmt-parser" ,rust-defmt-parser-0.3)
+ ("rust-proc-macro-error" ,rust-proc-macro-error-1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/knurling-rs/defmt")
+ (synopsis "Macros for rust-defmt")
+ (description "This package provides macros for rust-defmt crate")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-defmt-parser-0.3
+ (package
+ (name "rust-defmt-parser")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "defmt-parser" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1is90zrcifdky4rpra450779c3jf3bc2xwcqbj9fy6m5w48f074d"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/knurling-rs/defmt")
+ (synopsis "Parsing library for defmt format strings")
+ (description "This package is a parsing library for defmt format
+strings.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-delta-e-0.2
(package
(name "rust-delta-e")
@@ -14098,6 +16412,122 @@ algorithm which serves to quantify the difference between two colors.")
(description "Demo of proc-macro-hack.")
(license (list license:expat license:asl2.0))))
+(define-public rust-der-0.4
+ (package
+ (name "rust-der")
+ (version "0.4.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "der" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1x4k0jln8va1657cghl40l6p7hyvr1ixz71v9cd6imwmgp51rdvr"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t ; FIXME
+ #:cargo-inputs
+ (("rust-const-oid" ,rust-const-oid-0.6)
+ ("rust-crypto-bigint" ,rust-crypto-bigint-0.2)
+ ("rust-der-derive" ,rust-der-derive-0.4))))
+ (home-page "https://github.com/RustCrypto/formats/tree/master/der")
+ (synopsis
+ "Implementation of the Distinguished Encoding Rules (DER)")
+ (description
+ "This package provides a pure Rust embedded-friendly implementation of
+the Distinguished Encoding Rules (DER) for Abstract Syntax Notation One
+(ASN.1) as described in ITU X.690 with full support for heapless no_std
+targets")
+ (license (list license:asl2.0 license:expat))))
+
+(define-public rust-der-derive-0.4
+ (package
+ (name "rust-der-derive")
+ (version "0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "der_derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0snv85yfy9iln05qsgbhwr1159gd0jfrgzj5dkrnricdc0y3pvca"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t ; FIXME
+ #: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/RustCrypto/formats/tree/master/der/derive")
+ (synopsis
+ "Custom derive support for the `der` crate's `Choice` and `Sequence` traits")
+ (description
+ "This package provides a custom derive support for the `der` crate's
+`Choice` and `Sequence` traits.")
+ (license (list license:asl2.0 license:expat))))
+
+(define-public rust-der-oid-macro-0.5
+ (package
+ (name "rust-der-oid-macro")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "der-oid-macro" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0dply8g2p72hfhyymkrkr7fjqy844drj19xbrfkqrp55nq4z4fn7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-num-bigint" ,rust-num-bigint-0.4)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/rusticata/der-parser")
+ (synopsis "Macro to encode DER oids at compile time")
+ (description
+ "This crate provides a macro to encode DER oids at compile time.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-der-parser-6
+ (package
+ (name "rust-der-parser")
+ (version "6.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "der-parser" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0gn465dncghmj52k8dlkl71wkmlz5zc6jfjgj9ra2knf22ryy1wq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bitvec" ,rust-bitvec-0.22)
+ ("rust-cookie-factory" ,rust-cookie-factory-0.3)
+ ("rust-der-oid-macro" ,rust-der-oid-macro-0.5)
+ ("rust-nom" ,rust-nom-7)
+ ("rust-num-bigint" ,rust-num-bigint-0.4)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-rusticata-macros" ,rust-rusticata-macros-4))
+ #:cargo-development-inputs
+ (("rust-hex-literal" ,rust-hex-literal-0.3)
+ ("rust-pretty-assertions" ,rust-pretty-assertions-0.7)
+ ("rust-test-case" ,rust-test-case-1))))
+ (home-page "https://github.com/rusticata/der-parser")
+ (synopsis "BER/DER parser written in pure Rust")
+ (description "This crate provides a parser for Basic Encoding Rules (BER
+[X.690]) and Distinguished Encoding Rules(DER [X.690]), implemented with the
+@code{nom} parser combinator framework.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-derivative-2
(package
(name "rust-derivative")
@@ -14430,7 +16860,7 @@ methods for @samp{enum Pet @{ Dog, Cat @}}.")
(define-public rust-derive-more-0.99
(package
(name "rust-derive-more")
- (version "0.99.11")
+ (version "0.99.17")
(source
(origin
(method url-fetch)
@@ -14439,17 +16869,17 @@ methods for @samp{enum Pet @{ Dog, Cat @}}.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "131xrz5nmnh8zq3vcvv0wfpcaflypbxp3fin984fsqddc5hhxjs1"))))
+ "0883jr0gdf9mi8rn7qbz1p0z7hqzfd275pil2gwm66bw1b9i1f2g"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Some test files missing.
#:cargo-inputs
- (("rust-proc-macro2" ,rust-proc-macro2-1)
+ (("rust-convert-case" ,rust-convert-case-0.4)
+ ("rust-peg" ,rust-peg-0.5)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
- ("rust-syn" ,rust-syn-1))
- #:cargo-development-inputs
- (("rust-peg" ,rust-peg-0.5)
- ("rust-rustc-version" ,rust-rustc-version-0.2))))
+ ("rust-rustc-version" ,rust-rustc-version-0.4)
+ ("rust-syn" ,rust-syn-1))))
(home-page "https://github.com/JelteF/derive_more")
(synopsis "Adds derive macros for more traits")
(description
@@ -14465,6 +16895,46 @@ boilerplate code. It does this by allowing you to derive lots of commonly used
traits for both structs and enums.")
(license license:expat)))
+(define-public rust-derive-more-0.15
+ (package
+ (inherit rust-derive-more-0.99)
+ (name "rust-derive-more")
+ (version "0.15.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "derive-more" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1zks5bn7hmqfz927spmridk9bvy7ly4f38vls331x4hc4hq1653s"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-proc-macro2" ,rust-proc-macro2-0.4)
+ ("rust-quote" ,rust-quote-0.6)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-rustc-version" ,rust-rustc-version-0.2)
+ ("rust-syn" ,rust-syn-0.15))))))
+
+(define-public rust-derive-more-0.14
+ (package
+ (inherit rust-derive-more-0.99)
+ (name "rust-derive-more-1")
+ (version "0.14.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "derive-more" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0fgq5ziyg0gwr5j7pghfrxgzqzmmadknivpigrsniliy0334m53d"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-0.4)
+ ("rust-quote" ,rust-quote-0.6)
+ ("rust-rustc-version" ,rust-rustc-version-0.2)
+ ("rust-syn" ,rust-syn-0.15))))))
+
(define-public rust-derive-new-0.5
(package
(name "rust-derive-new")
@@ -14488,8 +16958,36 @@ traits for both structs and enums.")
structs and enums.")
(license license:expat)))
+(define-public rust-des-0.7
+ (package
+ (name "rust-des")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "des" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0pbsfkkwfqnd4nsv3ik4z09h248f57y7bj2j1l134i2mzd4xshdc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-cipher" ,rust-cipher-0.3)
+ ("rust-opaque-debug" ,rust-opaque-debug-0.3))))
+ (home-page "https://github.com/RustCrypto/block-ciphers")
+ (synopsis "DES and Triple DES block ciphers implementation")
+ (description "This package provides DES and Triple DES (3DES, TDES) block
+ciphers implementations.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-des-0.6
(package
+ (inherit rust-des-0.7)
(name "rust-des")
(version "0.6.0")
(source
@@ -14500,19 +16998,13 @@ structs and enums.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32 "1bigk1x1kxvnfjn1alr8cc383z1flmj8q7g2pjl2zal8i1s7qkmj"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-byteorder" ,rust-byteorder-1)
("rust-cipher" ,rust-cipher-0.2)
("rust-opaque-debug" ,rust-opaque-debug-0.3))
#:cargo-development-inputs
- (("rust-cipher" ,rust-cipher-0.2))))
- (home-page "https://github.com/RustCrypto/block-ciphers")
- (synopsis "DES and Triple DES block ciphers implementation")
- (description "This package provides DES and Triple DES (3DES, TDES) block
-ciphers implementations.")
- (license (list license:expat license:asl2.0))))
+ (("rust-cipher" ,rust-cipher-0.2))))))
(define-public rust-deunicode-0.4
(package
@@ -14629,7 +17121,7 @@ procedural macros.")
("rust-num-traits" ,rust-num-traits-0.2)
("rust-time" ,rust-time-0.2))))
(home-page "https://github.com/krolaw/dhcp4r")
- (synopsis "IPv4 DHCP library with working server example.")
+ (synopsis "IPv4 DHCP library with working server example")
(description
"This package provides a library for IPv4 DHCP including a working server
example.")
@@ -14976,30 +17468,53 @@ where applicable. Also supports derive via `diffus-derive`.")
any data structure. Supports derive on structs and enums.")
(license license:asl2.0)))
-(define-public rust-digest-0.9
+(define-public rust-digest-0.10
(package
(name "rust-digest")
- (version "0.9.0")
+ (version "0.10.1")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "digest" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0rmhvk33rgvd6ll71z8sng91a52rw14p0drjn1da0mqa138n1pfk"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "digest" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "16wpqnwlzx0lbnwccwikns7dq8fblcc6kma2l7xz8anlh5hdd5xn"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-blobby" ,rust-blobby-0.1)
- ("rust-generic-array" ,rust-generic-array-0.14))))
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-blobby" ,rust-blobby-0.3)
+ ("rust-block-buffer" ,rust-block-buffer-0.10)
+ ("rust-crypto-common" ,rust-crypto-common-0.1)
+ ("rust-generic-array" ,rust-generic-array-0.14)
+ ("rust-subtle" ,rust-subtle-2))))
(home-page "https://github.com/RustCrypto/traits")
(synopsis "Traits for cryptographic hash functions")
(description
"Traits for cryptographic hash functions.")
(license (list license:expat license:asl2.0))))
+(define-public rust-digest-0.9
+ (package
+ (inherit rust-digest-0.10)
+ (name "rust-digest")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "digest" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0rmhvk33rgvd6ll71z8sng91a52rw14p0drjn1da0mqa138n1pfk"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-blobby" ,rust-blobby-0.1)
+ ("rust-generic-array" ,rust-generic-array-0.14))))))
+
(define-public rust-digest-0.8
(package
(inherit rust-digest-0.9)
@@ -15059,25 +17574,22 @@ any data structure. Supports derive on structs and enums.")
functions.")
(license (list license:expat license:asl2.0))))
-(define-public rust-directories-3
+(define-public rust-directories-4
(package
(name "rust-directories")
- (version "3.0.1")
+ (version "4.0.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "directories" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "03ysv4m6mhsc3w1xnvncd5sxf7v2dz917awq6ksx0n0bsqwxdzpq"))))
+ (base32 "045jbj5y2f1fmjs9rfcw95y0vjydb2rqqhz1sdnqhdmxv96ms77m"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-dirs-sys" ,rust-dirs-sys-0.3))
- #:cargo-development-inputs
- (("rust-bencher" ,rust-bencher-0.1))))
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-dirs-sys" ,rust-dirs-sys-0.3))))
(home-page "https://github.com/dirs-dev/directories-rs")
(synopsis "Library for standard locations of data directories")
(description
@@ -15089,6 +17601,25 @@ on Linux, the Known Folder API on Windows, and the Standard
Directory guidelines on macOS.")
(license (list license:expat license:asl2.0))))
+(define-public rust-directories-3
+ (package
+ (inherit rust-directories-4)
+ (name "rust-directories")
+ (version "3.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "directories" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "03ysv4m6mhsc3w1xnvncd5sxf7v2dz917awq6ksx0n0bsqwxdzpq"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-dirs-sys" ,rust-dirs-sys-0.3))
+ #:cargo-development-inputs
+ (("rust-bencher" ,rust-bencher-0.1))))))
+
(define-public rust-directories-2
(package
(inherit rust-directories-3)
@@ -15264,7 +17795,7 @@ other data.")
(define-public rust-dirs-sys-0.3
(package
(name "rust-dirs-sys")
- (version "0.3.5")
+ (version "0.3.6")
(source
(origin
(method url-fetch)
@@ -15272,14 +17803,12 @@ other data.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0ym5843xack45b1yjahrh3q2f72shnwf1dd2jncf9qsxf3sxg4wf"))))
+ (base32 "102pbpcrfhvhfyfnyvmvvwpl6mfvynh170f6ima6fyinxls6bn03"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-cfg-if" ,rust-cfg-if-0.1)
- ("rust-libc" ,rust-libc-0.2)
- ("rust-redox-users" ,rust-redox-users-0.3)
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-redox-users" ,rust-redox-users-0.4)
("rust-winapi" ,rust-winapi-0.3))))
(inputs
(list rust-cfg-if-0.1 rust-libc-0.2 rust-redox-users-0.3
@@ -15913,6 +18442,30 @@ Rust.")
"A library for running child processes.")
(license license:expat)))
+(define-public rust-duct-0.8
+ (package
+ (inherit rust-duct-0.13)
+ (name "rust-duct")
+ (version "0.8.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "duct" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0p06yslfi1wa68c2x068wmi9pr2mzmm64d6qwq8zba58w1gs2np4"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-error-chain" ,rust-error-chain-0.8)
+ ("rust-lazycell" ,rust-lazycell-0.5)
+ ("rust-os-pipe" ,rust-os-pipe-0.5)
+ ("rust-shared-child" ,rust-shared-child-0.2))
+ #:cargo-development-inputs
+ (("rust-tempdir" ,rust-tempdir-0.3))))))
+
(define-public rust-dunce-1
(package
(name "rust-dunce")
@@ -16101,6 +18654,39 @@ 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")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ecies-ed25519" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1nrmam79mn2y6b235rpq6lhlsfl63275j2yxps86424gh99j720a"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-aes-gcm" ,rust-aes-gcm-0.8)
+ ("rust-curve25519-dalek" ,rust-curve25519-dalek-3)
+ ("rust-digest" ,rust-digest-0.9)
+ ("rust-hex" ,rust-hex-0.4)
+ ("rust-hkdf" ,rust-hkdf-0.10)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-ring" ,rust-ring-0.16)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-sha2" ,rust-sha2-0.9)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-zeroize" ,rust-zeroize-1))))
+ (home-page "https://github.com/phayes/ecies-ed25519")
+ (synopsis
+ "Integrated encryption scheme on Twisted Edwards Curve25519")
+ (description
+ "ECIES on Twisted Edwards Curve25519 using AES-GCM and HKDF-SHA256.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-ed25519-1
(package
(name "rust-ed25519")
@@ -16412,6 +18998,29 @@ and authentication, easy email builders, and async support.")
inclusion of Windows resources in the most resilient fashion imaginable.")
(license license:expat)))
+(define-public rust-embedded-hal-0.2
+ (package
+ (name "rust-embedded-hal")
+ (version "0.2.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "embedded-hal" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1faa71mvs9zklyiiy9l5br9f2bwmxwak0br7jb49cr8mzxignv73"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-nb" ,rust-nb-0.1)
+ ("rust-void" ,rust-void-1))))
+ (home-page "https://github.com/rust-embedded/embedded-hal")
+ (synopsis "Hardware Abstraction Layer (HAL) for embedded systems")
+ (description "This package provides a Hardware Abstraction Layer (HAL) for
+embedded systems.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-ena-0.14
(package
(name "rust-ena")
@@ -16964,20 +19573,21 @@ convert enum to u8 slice ref.")
(description "Enumflags2 implements the classic bitflags datastructure.")
(license (list license:expat license:asl2.0))))
-(define-public rust-env-logger-0.8
+(define-public rust-env-logger-0.9
(package
(name "rust-env-logger")
- (version "0.8.3")
+ (version "0.9.0")
(source
(origin
(method url-fetch)
- (uri (crate-uri "env-logger" version))
+ (uri (crate-uri "env_logger" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0gwx1pvbv99fj9wpicknyv4p2vj997xpva8ac5dg03m35q0jlf8p"))))
+ (base32 "1hzr53r0wga51j0w5zid69ylbfizg4qdbq0vqdj6rvki94sg0b0b"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
+ `(#:skip-build? #t
+ #:cargo-inputs
(("rust-atty" ,rust-atty-0.2)
("rust-humantime" ,rust-humantime-2)
("rust-log" ,rust-log-0.4)
@@ -16990,6 +19600,26 @@ convert enum to u8 slice ref.")
is configured via an environment variable.")
(license (list license:expat license:asl2.0))))
+(define-public rust-env-logger-0.8
+ (package
+ (inherit rust-env-logger-0.9)
+ (name "rust-env-logger")
+ (version "0.8.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "env-logger" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1qzw8g11dbdfi7ixm44ldykwcqsxqkh8vx5cgpd88zmclgz8g4d1"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-atty" ,rust-atty-0.2)
+ ("rust-humantime" ,rust-humantime-2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-termcolor" ,rust-termcolor-1))))))
+
(define-public rust-env-logger-0.7
(package
(inherit rust-env-logger-0.8)
@@ -17337,6 +19967,24 @@ deserialized from environment variables.")
`(#:cargo-inputs
(("rust-backtrace" ,rust-backtrace-0.3))))))
+(define-public rust-error-chain-0.8
+ (package
+ (inherit rust-error-chain-0.11)
+ (name "rust-error-chain")
+ (version "0.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "error-chain" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0ijxazr966gjvckl3yrkcziazk3ryrfc466m84p9m2iq314y0c39"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-backtrace" ,rust-backtrace-0.3))))))
+
(define-public rust-error-code-2
(package
(name "rust-error-code")
@@ -17457,6 +20105,24 @@ You can use this crate to turn non-blocking data structures into async or
blocking data structures.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-exitcode-1
+ (package
+ (name "rust-exitcode")
+ (version "1.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "exitcode" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "14x1pgwx86x1gfc5zqgj04akr9pzg14w75d9cblc49vhnij3g1fy"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/benwilber/exitcode")
+ (synopsis "Preferred system exit codes as defined by @file{sysexits.h}")
+ (description "This package provides preferred system exit codes as defined
+by @file{sysexits.h}.")
+ (license license:asl2.0)))
+
(define-public rust-exitfailure-0.5
(package
(name "rust-exitfailure")
@@ -17519,7 +20185,7 @@ blocking data structures.")
(define-public rust-expect-test-1
(package
(name "rust-expect-test")
- (version "1.1.0")
+ (version "1.2.2")
(source
(origin
(method url-fetch)
@@ -17528,7 +20194,7 @@ blocking data structures.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0cq651b3dcrw94bl03krxnvllr8kqx6vskqal0n8ydrsmdx4f013"))))
+ "05nv365xd5fqydmzbsvzqz0148a1vbxp2p0r8a3ivafdvhl6ngky"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build?
@@ -17544,27 +20210,43 @@ blocking data structures.")
"This package provides a minimalistic snapshot testing library.")
(license (list license:expat license:asl2.0))))
-(define-public rust-expectest-0.9
+(define-public rust-expectest-0.12
(package
(name "rust-expectest")
- (version "0.9.2")
+ (version "0.12.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "expectest" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0f24q2a53x7sfmmrqjbwbk7pahzwkpd829fcr023kb7q5xnd6z4g"))))
+ (base32 "0y290ak3q5l8l8ajg00mqx1lx9f1pagk6ckmplzibf5ach5pr0bq"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-num-traits" ,rust-num-traits-0.1))))
+ (("rust-num-traits" ,rust-num-traits-0.2))))
(home-page "https://github.com/zummenix/expectest")
(synopsis "Matchers and matcher functions for unit testing")
(description "This crate provides matchers and matcher functions for unit
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")
@@ -17593,6 +20275,30 @@ testing.")
traits but without the boilerplate.")
(license license:expat)))
+(define-public rust-eyre-0.6
+ (package
+ (name "rust-eyre")
+ (version "0.6.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "eyre" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1f0fbmrcykp84av1yb1d4cqj28jwf0zg1z49a1cgw8vrcf7ms8mw"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-indenter" ,rust-indenter-0.3)
+ ("rust-once-cell" ,rust-once-cell-1))))
+ (home-page "https://github.com/yaahc/eyre")
+ (synopsis "Trait object based error handling type")
+ (description
+ "This library provides @code{eyre::Report}, a trait object based error
+handling type for easy idiomatic error handling and reporting in Rust.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-fake-simd-0.1
(package
(name "rust-fake-simd")
@@ -17642,6 +20348,28 @@ 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")
@@ -17748,8 +20476,36 @@ provides implementations for @code{HashMap} and @code{HashSet}.")
(description "Fallible streaming iteration")
(license (list license:expat license:asl2.0))))
+(define-public rust-fancy-regex-0.7
+ (package
+ (name "rust-fancy-regex")
+ (version "0.7.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fancy-regex" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1krwc8mbj8zv4ahvh3lqkmfxf38cg79ya02by19fn4jil1h8aswx"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bit-set" ,rust-bit-set-0.5)
+ ("rust-regex" ,rust-regex-1))))
+ (home-page "https://github.com/fancy-regex/fancy-regex")
+ (synopsis "Implementation of regexes with a rich set of features")
+ (description
+ "This package is a Rust library for compiling and matching regular
+expressions. It uses a hybrid regex implementation designed to support
+a relatively rich set of features. In particular, it uses backtracking to
+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
@@ -17759,7 +20515,6 @@ provides implementations for @code{HashMap} and @code{HashSet}.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "051bnj890xrvhslppdzw6n956xfjg0wr2ixvhy336d2japvap4df"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bit-set" ,rust-bit-set-0.5)
@@ -17779,16 +20534,7 @@ provides implementations for @code{HashMap} and @code{HashSet}.")
(add-after 'unpack 'remove-oniguruma-tests
(lambda _
(delete-file-recursively "tests/oniguruma")
- (delete-file "tests/oniguruma.rs"))))))
- (home-page "https://github.com/fancy-regex/fancy-regex")
- (synopsis "Implementation of regexes with a rich set of features")
- (description
- "This package is a Rust library for compiling and matching regular
-expressions. It uses a hybrid regex implementation designed to support
-a relatively rich set of features. In particular, it uses backtracking to
-implement features such as look-around and backtracking, which are not
-supported in purely NFA-based implementations.")
- (license license:expat)))
+ (delete-file "tests/oniguruma.rs"))))))))
(define-public rust-fast-chemail-0.9
(package
@@ -17827,7 +20573,7 @@ is defined in the HTML specification.")
(build-system cargo-build-system)
(arguments `(#:skip-build? #t))
(home-page "https://github.com/aldanor/fast-float-rust")
- (synopsis "Fast floating-point number parser.")
+ (synopsis "Fast floating-point number parser")
(description
"This crate provides a fast decimal number parser from strings into
floats.")
@@ -17873,14 +20619,14 @@ floats.")
(define-public rust-fastrand-1
(package
(name "rust-fastrand")
- (version "1.5.0")
+ (version "1.6.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "fastrand" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0birvh29m4x6nwjdyrmiyiypw9l52bmvk15ksdw96hjs50yyv55k"))))
+ (base32 "1ci4fcwfwkkpwd8b0zgxgvp4qf84cl53ivnp1r6cr40bd8xh97bp"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -18246,6 +20992,24 @@ Atom, RSS 2.0, RSS 1.0, RSS 0.x and JSON Feed")
;; No copyright headers in the source code. LICENSE indicates gpl3.
(license license:gpl3)))
+(define-public rust-fiat-crypto-0.1
+ (package
+ (name "rust-fiat-crypto")
+ (version "0.1.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fiat-crypto" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "12gyr01z3bkahbxcrj2nsdq42qbqgq12w32dvpr6a7930i0qfxi1"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/mit-plv/fiat-crypto")
+ (synopsis "Fiat-crypto generated Rust")
+ (description "This crate provides the extracted Rust code from the Coq
+@code{fiat-crypto} libraries.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-filesize-0.2
(package
(name "rust-filesize")
@@ -18303,6 +21067,30 @@ representation.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-field-offset-0.3
+ (package
+ (name "rust-field-offset")
+ (version "0.3.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "field-offset" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "14pvxz7yr0r3mlhaf65zva3r9d0kqid01wdw7ngx7jsh2jam870y"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-memoffset" ,rust-memoffset-0.6)
+ ("rust-rustc-version" ,rust-rustc-version-0.3))))
+ (home-page "https://github.com/Diggsey/rust-field-offset")
+ (synopsis "Safe pointer-to-member implementation")
+ (description "This package provides safe pointer-to-member
+implementation.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-findshlibs-0.5
(package
(name "rust-findshlibs")
@@ -18361,8 +21149,29 @@ cross platform API.")
(description "This package provides fixed-point numbers in Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-fixedbitset-0.4
+ (package
+ (name "rust-fixedbitset")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fixedbitset" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "17mnwa48dy11dnbasxa0c92sdj243acjl2ilhpcb1fa0pvxa93ir"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-serde" ,rust-serde-1))))
+ (home-page "https://github.com/bluss/fixedbitset")
+ (synopsis "Simple bitset collection")
+ (description "FixedBitSet is a simple bitset collection.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-fixedbitset-0.2
(package
+ (inherit rust-fixedbitset-0.4)
(name "rust-fixedbitset")
(version "0.2.0")
(source
@@ -18372,13 +21181,7 @@ cross platform API.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0kg03p777wc0dajd9pvlcnsyrwa8dhqwf0sd9r4dw0p82rs39arp"))))
- (build-system cargo-build-system)
- (home-page "https://github.com/petgraph/fixedbitset")
- (synopsis "FixedBitSet is a simple bitset collection")
- (description "FixedBitSet is a simple bitset collection.")
- (license (list license:asl2.0
- license:expat))))
+ "0kg03p777wc0dajd9pvlcnsyrwa8dhqwf0sd9r4dw0p82rs39arp"))))))
(define-public rust-fixedbitset-0.1
(package
@@ -18492,7 +21295,7 @@ cross platform API.")
(define-public rust-flate2-1
(package
(name "rust-flate2")
- (version "1.0.20")
+ (version "1.0.22")
(source
(origin
(method url-fetch)
@@ -18501,13 +21304,13 @@ cross platform API.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1q5b4r2rclhjbcxlbv5231avp1y6y8bynrf5v3brdzhhvr9yqfnd"))))
+ "0gy5iwfqylb2f0dd9n7r8w2xwbzlrqlsairvyj2w9jf1jzl8hs8y"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-cfg-if" ,rust-cfg-if-1)
- ("rust-cloudflare-zlib-sys" ,rust-cloudflare-zlib-sys-0.2)
+ ("rust-cloudflare-zlib-sys" ,rust-cloudflare-zlib-sys-0.3)
("rust-crc32fast" ,rust-crc32fast-1)
("rust-futures" ,rust-futures-0.1)
("rust-libc" ,rust-libc-0.2)
@@ -18531,8 +21334,31 @@ Reader/Writer streams. Contains bindings for zlib, deflate, and gzip-based
streams.")
(license (list license:expat license:asl2.0))))
+(define-public rust-float-cmp-0.9
+ (package
+ (name "rust-float-cmp")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "float-cmp" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1i799ksbq7fj9rm9m82g1yqgm6xi3jnrmylddmqknmksajylpplq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-num-traits" ,rust-num-traits-0.2))))
+ (home-page "https://github.com/mikedilger/float-cmp")
+ (synopsis "Floating point approximate comparison traits")
+ (description "This package provides floating point approximate comparison
+traits.")
+ (license license:expat)))
+
(define-public rust-float-cmp-0.8
(package
+ (inherit rust-float-cmp-0.9)
(name "rust-float-cmp")
(version "0.8.0")
(source
@@ -18544,14 +21370,8 @@ streams.")
(sha256
(base32
"1i56hnzjn5pmrcm47fwkmfxiihk7wz5vvcgpb0kpfhzkqi57y9p1"))))
- (build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-num-traits" ,rust-num-traits-0.2))))
- (home-page "https://github.com/mikedilger/float-cmp")
- (synopsis "Floating point approximate comparison traits")
- (description
- "Floating point approximate comparison traits in Rust.")
- (license license:expat)))
+ `(#:cargo-inputs (("rust-num-traits" ,rust-num-traits-0.2))))))
(define-public rust-float-cmp-0.6
(package
@@ -18615,6 +21435,28 @@ streams.")
(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")
@@ -18781,46 +21623,41 @@ implementation that is more efficient for smaller hash keys.")
(license (list license:asl2.0
license:expat))))
-(define-public rust-font-kit-0.4
+(define-public rust-font-kit-0.10
(package
(name "rust-font-kit")
- (version "0.4.0")
+ (version "0.10.1")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "font-kit" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1fmg1jmqdvsjxjbyz8chpx1mhp544mwq128ns1shhrha5a6zzdqp"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "font-kit" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0a7fm757af2s9sk2i02plpa280mmygjmchcwpjclk1iqxiba3ja6"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-lyon-path" ,rust-lyon-path-0.14)
- ("rust-core-graphics" ,rust-core-graphics-0.17)
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-core-foundation" ,rust-core-foundation-0.9)
+ ("rust-core-graphics" ,rust-core-graphics-0.22)
+ ("rust-core-text" ,rust-core-text-19)
+ ("rust-dirs-next" ,rust-dirs-next-2)
+ ("rust-dwrote" ,rust-dwrote-0.11)
("rust-float-ord" ,rust-float-ord-0.2)
+ ("rust-freetype" ,rust-freetype-0.7)
+ ("rust-lazy-static" ,rust-lazy-static-1)
("rust-libc" ,rust-libc-0.2)
- ("rust-euclid" ,rust-euclid-0.20)
- ("rust-winapi" ,rust-winapi-0.3)
- ("rust-servo-fontconfig"
- ,rust-servo-fontconfig-0.4)
- ("rust-freetype" ,rust-freetype-0.4)
("rust-log" ,rust-log-0.4)
- ("rust-core-foundation"
- ,rust-core-foundation-0.6)
- ("rust-memmap" ,rust-memmap-0.7)
- ("rust-dwrote" ,rust-dwrote-0.9)
- ("rust-dirs" ,rust-dirs-1)
- ("rust-byteorder" ,rust-byteorder-1)
- ("rust-lazy-static" ,rust-lazy-static-1)
- ("rust-core-text" ,rust-core-text-13)
- ("rust-walkdir" ,rust-walkdir-2))))
+ ("rust-pathfinder-geometry" ,rust-pathfinder-geometry-0.5)
+ ("rust-pathfinder-simd" ,rust-pathfinder-simd-0.5)
+ ("rust-servo-fontconfig" ,rust-servo-fontconfig-0.5)
+ ("rust-walkdir" ,rust-walkdir-2)
+ ("rust-winapi" ,rust-winapi-0.3))))
(home-page "https://github.com/servo/font-kit")
- (synopsis "Cross-platform font loading library")
- (description
- "This package provides a cross-platform font loading library.")
+ (synopsis "Font loading library")
+ (description "This package provides a font loading library.")
(license (list license:expat license:asl2.0))))
(define-public rust-foreign-types-0.5
@@ -19012,31 +21849,47 @@ values to other threads.")
(base32
"1yf2hmkw52x2dva3c9km1x8c2z5kwby7qqn8kz5ms3gs480i9y05"))))))
-(define-public rust-freetype-0.4
+(define-public rust-freetype-0.7
(package
(name "rust-freetype")
- (version "0.4.1")
+ (version "0.7.0")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "freetype" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0a70x03n68997f08bi3n47q9wyi3pv5s9v4rjc79sihb84mnp4hi"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "freetype" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ijxyd8isq0w7qkbhp7p1y536xg3d8b8vy5ljg31rnz3m5w87qxy"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-libc" ,rust-libc-0.2)
- ("rust-servo-freetype-sys" ,rust-servo-freetype-sys-4))))
+ (("rust-freetype-sys" ,rust-freetype-sys-0.13)
+ ("rust-libc" ,rust-libc-0.2))))
(home-page "https://github.com/servo/rust-freetype")
(synopsis "Bindings for Freetype used by Servo")
- (description
- "Bindings for Freetype used by Servo.")
+ (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")
@@ -19256,10 +22109,10 @@ for file changes notifications")
(("rust-tempdir" ,rust-tempdir-0.3)
("rust-time" ,rust-time-0.1))))))
-(define-public rust-fsevent-sys-3
+(define-public rust-fsevent-sys-4
(package
(name "rust-fsevent-sys")
- (version "3.1.0")
+ (version "4.1.0")
(source
(origin
(method url-fetch)
@@ -19268,7 +22121,7 @@ for file changes notifications")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1mav57d1zcp4x17h0wprcr188d8yvxfz1c0f1z0p31q52xl5wvya"))))
+ "1liz67v8b0gcs8r31vxkvm2jzgl9p14i78yfqx81c8sdv817mvkn"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -19280,6 +22133,26 @@ for file changes notifications")
macOS API for file changes notifications")
(license license:expat)))
+(define-public rust-fsevent-sys-3
+ (package
+ (inherit rust-fsevent-sys-4)
+ (name "rust-fsevent-sys")
+ (version "3.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fsevent-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1mav57d1zcp4x17h0wprcr188d8yvxfz1c0f1z0p31q52xl5wvya"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2))))))
+
(define-public rust-fsevent-sys-2
(package
(inherit rust-fsevent-sys-3)
@@ -19317,7 +22190,7 @@ macOS API for file changes notifications")
#:cargo-inputs
(("rust-utf8-ranges" ,rust-utf8-ranges-1))))
(home-page "https://github.com/BurntSushi/fst")
- (synopsis "Represent sets or maps of large numbers of strings.")
+ (synopsis "Represent sets or maps of large numbers of strings")
(description
"Use finite state transducers to compactly represent sets or maps of many
strings (> 1 billion is possible).")
@@ -19386,19 +22259,19 @@ pseudorandom number generator")
(description "Low-level Rust bindings for the Zircon kernel.")
(license license:bsd-3)))
-(define-public rust-funty-1
+(define-public rust-funty-1.2
(package
(name "rust-funty")
- (version "1.1.0")
+ (version "1.2.0")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "funty" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "19wx3p3jmv863y0mjb56sr4qf1kvqhl3fsyslkd92zli0p8lrlzy"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "funty" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "07lb1f8yih3g694id3n90anlgxf8m6p98bllsnn6dmb5rfwsniqq"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-development-inputs
@@ -19411,6 +22284,24 @@ code to generalize over which specific type it accepted. This was never
stabilized, and eventually removed. This library reïnstates these traits.")
(license license:expat)))
+(define-public rust-funty-1
+ (package
+ (inherit rust-funty-1.2)
+ (name "rust-funty")
+ (version "1.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "funty" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "19wx3p3jmv863y0mjb56sr4qf1kvqhl3fsyslkd92zli0p8lrlzy"))))
+ (arguments
+ `(#:cargo-development-inputs
+ (("rust-static-assertions" ,rust-static-assertions-1))))))
+
(define-public rust-futf-0.1
(package
(name "rust-futf")
@@ -19604,7 +22495,7 @@ featuring zero allocations, composability, and iterator-like interfaces.")
(build-system cargo-build-system)
(arguments '(#:tests? #f))
(home-page "https://rust-lang-nursery.github.io/futures-rs/")
- (synopsis "Core traits and types in for the @code{futures} library.")
+ (synopsis "Core traits and types in for the @code{futures} library")
(description "This crate provides the core traits and types in for the
@code{futures} library.")
(license (list license:asl2.0
@@ -21060,6 +23951,55 @@ authenticated encryption cipher.")
(("rust-polyval" ,rust-polyval-0.3)
("rust-zeroize" ,rust-zeroize-1))))))
+(define-public rust-ghost-0.1
+ (package
+ (name "rust-ghost")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ghost" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0yalg3g1g3cz63n3phy7cdhh7p2qd220mrpxy96alwxbpqdwynqs"))))
+ (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/dtolnay/ghost")
+ (synopsis "Define your own PhantomData")
+ (description
+ "This package makes it possible to define your own PhantomData and
+similarly behaved unit types with generic parameters, which is not
+permitted in ordinary Rust.")
+ ;; Either license can be chosen at the users option.
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-gif-0.11
+ (package
+ (name "rust-gif")
+ (version "0.11.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gif" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1pnqfg0k84v0cnqyf85jqvwy3jcs580bfjaps5rzbl3kk5lqyrjs"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-color-quant" ,rust-color-quant-1)
+ ("rust-weezl" ,rust-weezl-0.1))))
+ (home-page "https://github.com/image-rs/image-gif")
+ (synopsis "GIF de- and encoder")
+ (description "This crate provides a GIF de- and encoder.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-gimli-0.23
(package
(name "rust-gimli")
@@ -21301,6 +24241,39 @@ reading and writing git repositories.")
("rust-thread-id" ,rust-thread-id-3)
("rust-time" ,rust-time-0.1))))))
+(define-public rust-git2-0.6
+ (package
+ (inherit rust-git2-0.11)
+ (name "rust-git2-6")
+ (version "0.6.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "git2" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "115ys6vlfjy5pcwkip0wfzi4q3d1kimbl9isxvjyci1arnvlnnzf"))))
+ (arguments
+ `(#:tests? #f
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-0.9)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-libgit2-sys" ,rust-libgit2-sys-0.6)
+ ("rust-openssl-probe" ,rust-openssl-probe-0.1)
+ ("rust-openssl-sys" ,rust-openssl-sys-0.9)
+ ("rust-url" ,rust-url-1))
+ #:cargo-development-inputs
+ (("rust-docopt" ,rust-docopt-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-tempdir" ,rust-tempdir-0.3)
+ ("rust-time" ,rust-time-0.1))))
+ (inputs
+ (modify-inputs (package-inputs rust-git2-0.11)
+ (prepend curl)))))
+
(define-public rust-git2-curl-0.14
(package
(name "rust-git2-curl")
@@ -21328,17 +24301,17 @@ reading and writing git repositories.")
libcurl, which is intended to be used with the @code{git2} crate.")
(license (list license:expat license:asl2.0))))
-(define-public rust-gjson-0.7
+(define-public rust-gjson-0.8
(package
(name "rust-gjson")
- (version "0.7.5")
+ (version "0.8.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "gjson" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0vhary4ha77scriaw6r4nv16ha9pfzirm84sjc240csqwb542p10"))))
+ (base32 "164nwjx81j8cnnvi63h0dcxdc9ib3s0k9wx15l72hxp4vklx16a5"))))
(build-system cargo-build-system)
(arguments `(#:skip-build? #t))
(home-page "https://github.com/tidwall/gjson.rs")
@@ -21346,6 +24319,20 @@ 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")
@@ -22013,14 +25000,14 @@ of gzip files based on the gzip header implementation in the @code{flate2} crate
(define-public rust-h2-0.3
(package
(name "rust-h2")
- (version "0.3.1")
+ (version "0.3.7")
(source
(origin
(method url-fetch)
(uri (crate-uri "h2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0y5fxy3sy0s3j1h6p0c2xk5n2gs4jk1dvmk88lvgwm22ywfv0cnq"))))
+ (base32 "0mdf0x3cxj4rhx2zrm0gnx02i43gqcz3q4awzidargff5xb1kn3z"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -22123,16 +25110,14 @@ of gzip files based on the gzip header implementation in the @code{flate2} crate
(define-public rust-half-1
(package
(name "rust-half")
- (version "1.6.0")
+ (version "1.7.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "half" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0xq1qkbfwnxv72b2fakgi5ai0j8arw38whwxgxs3rp1fz28anvyk"))))
+ (base32 "1wzavaaaa2jwkm4i1dbglmwjfsdhn4n73wrkbdzllaynlams5b32"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -22279,29 +25264,45 @@ the template engine that renders the official Rust website")
already-hashed or hash-like data.")
(license (list license:asl2.0 license:expat))))
-(define-public rust-hash32-0.1
+(define-public rust-hash32-0.2
(package
(name "rust-hash32")
- (version "0.1.1")
+ (version "0.2.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "hash32" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1k7lv7hsbzv14pz90cxay6v7avh6d6kcrra0rsc45b33dvw1l16l"))))
+ (base32 "0rrbv5pc5b1vax6j6hk7zvlrpw0h6aybshxy9vbpgsrgfrc5zhxh"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-byteorder" ,rust-byteorder-1))
- #:cargo-development-inputs
- (("rust-hash32-derive" ,rust-hash32-derive-0.1))))
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-byteorder" ,rust-byteorder-1))))
(home-page "https://github.com/japaric/hash32")
(synopsis "32-bit hashing machinery")
(description "This package provides 32-bit hashing machinery.")
(license (list license:expat license:asl2.0))))
+(define-public rust-hash32-0.1
+ (package
+ (inherit rust-hash32-0.2)
+ (name "rust-hash32")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "hash32" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1k7lv7hsbzv14pz90cxay6v7avh6d6kcrra0rsc45b33dvw1l16l"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-byteorder" ,rust-byteorder-1))
+ #:cargo-development-inputs
+ (("rust-hash32-derive" ,rust-hash32-derive-0.1))))))
+
(define-public rust-hash32-derive-0.1
(package
(name "rust-hash32-derive")
@@ -22413,6 +25414,35 @@ hash map.")
("rust-rustc-hash" ,rust-rustc-hash-1)
("rust-serde-test" ,rust-serde-test-1))))))
+(define-public rust-hashbrown-0.6
+ (package
+ (inherit rust-hashbrown-0.9)
+ (name "rust-hashbrown")
+ (version "0.6.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "hashbrown" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1bbf9k46v57zi41m6hjwn83rjldyipv5zwxmdsa7a9c1rb876q4f"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-ahash" ,rust-ahash-0.2)
+ ("rust-autocfg" ,rust-autocfg-0.1)
+ ("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
+ ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs
+ (("rust-doc-comment" ,rust-doc-comment-0.3)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-rand" ,rust-rand-0.5)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-rustc-hash" ,rust-rustc-hash-1)
+ ("rust-serde-test" ,rust-serde-test-1))))))
+
(define-public rust-hashbrown-0.5
(package
(inherit rust-hashbrown-0.8)
@@ -22442,6 +25472,27 @@ hash map.")
("rust-rustc-hash" ,rust-rustc-hash-1)
("rust-serde-test" ,rust-serde-test-1))))))
+(define-public rust-hashbrown-0.3
+ (package
+ (inherit rust-hashbrown-0.8)
+ (name "rust-hashbrown")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "hashbrown" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "063fy36q5796kd836sc5dgcc58bkgr7sw1hczmnmhbblwjmskyr9"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
+ ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
+ ("rust-serde" ,rust-serde-1))))))
+
(define-public rust-hashbrown-0.1
(package
(inherit rust-hashbrown-0.5)
@@ -22520,6 +25571,32 @@ their key-value pairs in a user controllable order.")
#:cargo-development-inputs
(("rust-serde-test" ,rust-serde-test-1))))))
+(define-public rust-hdrhistogram-6
+ (package
+ (name "rust-hdrhistogram")
+ (version "6.3.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "hdrhistogram" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "17dqk0rp8kimcd8wr542i8cny91fkclw7a2xzszar95wrpmk3lq8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-base64" ,rust-base64-0.10)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.3)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-nom" ,rust-nom-4)
+ ("rust-num-traits" ,rust-num-traits-0.2))))
+ (home-page "https://github.com/HdrHistogram/HdrHistogram_rust")
+ (synopsis "Port of HdrHistogram to Rust")
+ (description "This package provides a port of HdrHistogram to Rust.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-headers-0.3
(package
(name "rust-headers")
@@ -22609,33 +25686,59 @@ their key-value pairs in a user controllable order.")
(("rust-bytes" ,rust-bytes-0.4)
("rust-http" ,rust-http-0.1))))))
-(define-public rust-heapless-0.6
+(define-public rust-heapless-0.7
(package
(name "rust-heapless")
- (version "0.6.1")
+ (version "0.7.9")
(source
(origin
(method url-fetch)
(uri (crate-uri "heapless" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "08il083hcffis6km4is24kf2j0cnqs0bzz2b196l495zkk9d8jv3"))))
+ (base32 "0lnrbzf1cpxg3n5s00lyi1gal2ajkqzsrw11arrc6rbn35j6qivy"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-as-slice" ,rust-as-slice-0.1)
- ("rust-generic-array" ,rust-generic-array-0.14)
- ("rust-hash32" ,rust-hash32-0.1)
+ (("rust-atomic-polyfill" ,rust-atomic-polyfill-0.1)
+ ("rust-defmt" ,rust-defmt-0.3)
+ ("rust-hash32" ,rust-hash32-0.2)
("rust-serde" ,rust-serde-1)
+ ("rust-spin" ,rust-spin-0.9)
("rust-stable-deref-trait" ,rust-stable-deref-trait-1)
- ("rust-ufmt-write" ,rust-ufmt-write-0.1))))
+ ("rust-ufmt-write" ,rust-ufmt-write-0.1))
+ #:cargo-development-inputs
+ (("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
+ ("rust-ufmt" ,rust-ufmt-0.1))))
(home-page "https://github.com/japaric/heapless")
(synopsis "@code{statice} friendly data structures")
(description "This package provides @code{static} friendly data structures
that don't require dynamic memory allocation.")
(license (list license:expat license:asl2.0))))
+(define-public rust-heapless-0.6
+ (package
+ (inherit rust-heapless-0.7)
+ (name "rust-heapless")
+ (version "0.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "heapless" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "08il083hcffis6km4is24kf2j0cnqs0bzz2b196l495zkk9d8jv3"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-as-slice" ,rust-as-slice-0.1)
+ ("rust-generic-array" ,rust-generic-array-0.14)
+ ("rust-hash32" ,rust-hash32-0.1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-stable-deref-trait" ,rust-stable-deref-trait-1)
+ ("rust-ufmt-write" ,rust-ufmt-write-0.1))))))
+
(define-public rust-heapless-0.5
(package
(inherit rust-heapless-0.6)
@@ -22726,21 +25829,21 @@ heap.")
total runtime size of an object on the heap")
(license license:mpl2.0)))
-(define-public rust-heck-0.3
+(define-public rust-heck-0.4
(package
(name "rust-heck")
- (version "0.3.2")
+ (version "0.4.0")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "heck" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1b56s2c1ymdd0qmy31bw0ndhm31hcdamnhg3npp7ssrmc1ag9jw7"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "heck" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ygphsnfwl2xpa211vbqkz1db6ri1kvkg8p8sqybi37wclg7fh15"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
+ `(#:skip-build?
+ #t
#:cargo-inputs
(("rust-unicode-segmentation" ,rust-unicode-segmentation-1))))
(home-page "https://github.com/withoutboats/heck")
@@ -22752,6 +25855,24 @@ consistent, and reasonably well performing.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-heck-0.3
+ (package
+ (inherit rust-heck-0.4)
+ (name "rust-heck")
+ (version "0.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "heck" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1b56s2c1ymdd0qmy31bw0ndhm31hcdamnhg3npp7ssrmc1ag9jw7"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-unicode-segmentation" ,rust-unicode-segmentation-1))))))
+
(define-public rust-hermit-abi-0.1
(package
(name "rust-hermit-abi")
@@ -22782,16 +25903,18 @@ It is used to build the target x86_64-unknown-hermit.")
(define-public rust-hex-0.4
(package
(name "rust-hex")
- (version "0.4.2")
+ (version "0.4.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "hex" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0dbf00j3h3pz0lw8jp245rwypna6i23l4cpvym8gsczin9c92kv4"))))
+ (base32 "0w1a4davm1lgzpamwnba907aysmlrnygbqmfis2mqjx5m552a93z"))))
(build-system cargo-build-system)
- (arguments '(#:skip-build? #t))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-serde" ,rust-serde-1))))
(home-page "https://github.com/KokaKiwi/rust-hex")
(synopsis "Encode and decode data to/from hexadecimals")
(description "This crate allows for encoding and decoding data into/from
@@ -22927,25 +26050,25 @@ compile time.")
`(#:cargo-inputs
(("rust-proc-macro-hack" ,rust-proc-macro-hack-0.4))))))
-(define-public rust-hkdf-0.9
+(define-public rust-hkdf-0.11
(package
(name "rust-hkdf")
- (version "0.9.0")
+ (version "0.11.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "hkdf" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1jdvmf8aadk3s0kn9kk3dj00nprjk9glks5f8dm55r43af34j4gy"))))
+ (base32 "0sw8bz79xqq3bc5dh6nzv084g7va13j3lrqf91c10a2wimbnsw01"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-digest" ,rust-digest-0.9)
- ("rust-hmac" ,rust-hmac-0.8))
+ ("rust-hmac" ,rust-hmac-0.11))
#:cargo-development-inputs
(("rust-bencher" ,rust-bencher-0.1)
+ ("rust-blobby" ,rust-blobby-0.3)
("rust-crypto-tests" ,rust-crypto-tests-0.5)
("rust-hex" ,rust-hex-0.4)
("rust-sha-1" ,rust-sha-1-0.9)
@@ -22956,6 +26079,54 @@ compile time.")
Derivation Function (HKDF).")
(license (list license:expat license:asl2.0))))
+(define-public rust-hkdf-0.10
+ (package
+ (inherit rust-hkdf-0.11)
+ (name "rust-hkdf")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "hkdf" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0kwn3scjvv2x8zc6nz3wrnzxp9shpsdxnjqiyv2r65r3kiijzasi"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-digest" ,rust-digest-0.9)
+ ("rust-hmac" ,rust-hmac-0.10))
+ #:cargo-development-inputs
+ (("rust-bencher" ,rust-bencher-0.1)
+ ("rust-crypto-tests" ,rust-crypto-tests-0.5)
+ ("rust-hex" ,rust-hex-0.4)
+ ("rust-sha-1" ,rust-sha-1-0.9)
+ ("rust-sha2" ,rust-sha2-0.9))))))
+
+(define-public rust-hkdf-0.9
+ (package
+ (inherit rust-hkdf-0.11)
+ (name "rust-hkdf")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "hkdf" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1jdvmf8aadk3s0kn9kk3dj00nprjk9glks5f8dm55r43af34j4gy"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-digest" ,rust-digest-0.9)
+ ("rust-hmac" ,rust-hmac-0.8))
+ #:cargo-development-inputs
+ (("rust-bencher" ,rust-bencher-0.1)
+ ("rust-crypto-tests" ,rust-crypto-tests-0.5)
+ ("rust-hex" ,rust-hex-0.4)
+ ("rust-sha-1" ,rust-sha-1-0.9)
+ ("rust-sha2" ,rust-sha2-0.9))))))
+
(define-public rust-hkdf-0.8
(package
(inherit rust-hkdf-0.9)
@@ -22974,8 +26145,33 @@ Derivation Function (HKDF).")
(("rust-digest" ,rust-digest-0.8)
("rust-hmac" ,rust-hmac-0.7))))))
+(define-public rust-hmac-0.12
+ (package
+ (name "rust-hmac")
+ (version "0.12.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "hmac" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "18nnjkvvpkjw6ppcyijysgxmr4a7knd98msb6vgy4b3z7qgi7jnx"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-digest" ,rust-digest-0.10))))
+ (home-page "https://github.com/RustCrypto/MACs")
+ (synopsis "Generic implementation of Hash-based Message Authentication Code")
+ (description
+ "This package provides a generic implementation of @acronym{HMAC,
+Hash-based Message Authentication Code}.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-hmac-0.11
(package
+ (inherit rust-hmac-0.12)
(name "rust-hmac")
(version "0.11.0")
(source
@@ -22987,7 +26183,6 @@ Derivation Function (HKDF).")
(sha256
(base32
"16z61aibdg4di40sqi4ks2s4rz6r29w4sx4gvblfph3yxch26aia"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-crypto-mac" ,rust-crypto-mac-0.11)
@@ -22996,13 +26191,7 @@ Derivation Function (HKDF).")
(("rust-crypto-mac" ,rust-crypto-mac-0.11)
("rust-md-5" ,rust-md-5-0.9)
("rust-sha2" ,rust-sha2-0.9)
- ("rust-streebog" ,rust-streebog-0.9))))
- (home-page "https://github.com/RustCrypto/MACs")
- (synopsis "Generic implementation of Hash-based Message Authentication Code")
- (description
- "This package provides a generic implementation of @acronym{HMAC,
-Hash-based Message Authentication Code}.")
- (license (list license:expat license:asl2.0))))
+ ("rust-streebog" ,rust-streebog-0.9))))))
(define-public rust-hmac-0.10
(package
@@ -23340,14 +26529,14 @@ requests and responses.")
(define-public rust-http-body-0.4
(package
(name "rust-http-body")
- (version "0.4.0")
+ (version "0.4.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "http-body" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "150rkibhyrcmsyi0qzwx4hp02c4lga1kkdg8j7l5wkh7xqkvsq98"))))
+ (base32 "1imjszmk34603m7chfnhd3rq263bxbdlaxhlbzd06wv7354zix0z"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -23495,7 +26684,7 @@ HTTP request or response body.")
("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7)
("rust-url" ,rust-url-2))))
(home-page "https://github.com/http-rs/http-types")
- (synopsis "Common types for HTTP operations.")
+ (synopsis "Common types for HTTP operations")
(description
"This package provides common types for HTTP operations.")
(license (list license:expat license:asl2.0))))
@@ -23503,7 +26692,7 @@ HTTP request or response body.")
(define-public rust-httparse-1
(package
(name "rust-httparse")
- (version "1.3.4")
+ (version "1.5.1")
(source
(origin
(method url-fetch)
@@ -23511,8 +26700,7 @@ HTTP request or response body.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1yf23ldnjwfkkhkca7f4w15mky9961gjz28dlwyybhphc7l9l5yd"))))
+ (base32 "00smbrgb9vyzbbj3j5d66iarjl5x2wpfwkmhcy5nizylw7dlzndc"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-development-inputs
@@ -23523,17 +26711,17 @@ HTTP request or response body.")
"This package provides a tiny, safe, speedy, zero-copy HTTP/1.x parser.")
(license (list license:asl2.0 license:expat))))
-(define-public rust-httpdate-0.3
+(define-public rust-httpdate-1
(package
(name "rust-httpdate")
- (version "0.3.2")
+ (version "1.0.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "httpdate" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0izbd3sf0625wm4rrfv85xa4xa8j4n1ldxhwlkgff4cm6rh4sjs9"))))
+ (base32 "08bln7b1ibdw26gl8h4dr6rlybvlkyhlha309xbh9ghxh9nf78f4"))))
(build-system cargo-build-system)
(arguments `(#:skip-build? #t))
(home-page "https://github.com/pyfisch/httpdate")
@@ -23542,6 +26730,20 @@ 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-humansize-1
(package
(name "rust-humansize")
@@ -23564,7 +26766,7 @@ represent file sizes in a human-readable format.")
(define-public rust-humantime-2
(package
(name "rust-humantime")
- (version "2.0.1")
+ (version "2.1.0")
(source
(origin
(method url-fetch)
@@ -23573,7 +26775,7 @@ represent file sizes in a human-readable format.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0yivhqyi8xik2j6sd3q45ybakjx8jsx5632dx9xjn0birh4dj6iw"))))
+ "1r55pfkkf5v0ji1x6izrjwdq9v6sc7bv99xj6srywcar37xmnfls"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-development-inputs
@@ -23614,14 +26816,14 @@ SystemTime}}.")
(define-public rust-hyper-0.14
(package
(name "rust-hyper")
- (version "0.14.4")
+ (version "0.14.15")
(source
(origin
(method url-fetch)
(uri (crate-uri "hyper" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1ivaqbcvsws6svwykiq7fgma7wds72r83qianzh5b41ln714dsg8"))))
+ (base32 "0g4mnsacfvj4127587ihm802kzkh6zgs0c3a2mayc82g3q4w0vj3"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -23634,17 +26836,17 @@ SystemTime}}.")
("rust-http" ,rust-http-0.2)
("rust-http-body" ,rust-http-body-0.4)
("rust-httparse" ,rust-httparse-1)
- ("rust-httpdate" ,rust-httpdate-0.3)
+ ("rust-httpdate" ,rust-httpdate-1)
("rust-itoa" ,rust-itoa-0.4)
("rust-libc" ,rust-libc-0.2)
- ("rust-pin-project" ,rust-pin-project-1)
- ("rust-socket2" ,rust-socket2-0.3)
+ ("rust-pin-project" ,rust-pin-project-lite-0.2)
+ ("rust-socket2" ,rust-socket2-0.4)
("rust-tokio" ,rust-tokio-1)
("rust-tower-service" ,rust-tower-service-0.3)
("rust-tracing" ,rust-tracing-0.1)
("rust-want" ,rust-want-0.3))))
(home-page "https://hyper.rs")
- (synopsis "Fast and correct HTTP library.")
+ (synopsis "Fast and correct HTTP library")
(description "This package provides a fast and correct HTTP library.")
(license license:expat)))
@@ -23975,6 +27177,32 @@ SystemTime}}.")
"This package provides glue code for Rustls and synchronous Hyper.")
(license (list license:expat license:asl2.0))))
+(define-public rust-hyper-timeout-0.4
+ (package
+ (name "rust-hyper-timeout")
+ (version "0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "hyper-timeout" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1c8k3g8k2yh1gxvsx9p7amkimgxhl9kafwpj7jyf8ywc5r45ifdv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-hyper" ,rust-hyper-0.14)
+ ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-io-timeout" ,rust-tokio-io-timeout-1))))
+ (home-page "https://github.com/hjr3/hyper-timeout")
+ (synopsis "Connect, read and write timeout aware connector for Hyper")
+ (description
+ "This package provides a connect, read and write timeout aware connector
+to be used with Hyper client.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-hyper-tls-0.5
(package
(name "rust-hyper-tls")
@@ -24141,26 +27369,21 @@ with hyper.")
(define-public rust-idna-0.2
(package
(name "rust-idna")
- (version "0.2.0")
+ (version "0.2.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "idna" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1a9066imqpdrm1aavfasdyb1zahqaz8jmdcwdawvb1pf60y6gqh2"))))
+ (base32 "1y7ca2w5qp9msgl57n03zqp78gq1bk2crqzg6kv7a542mdphm2j1"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-matches" ,rust-matches-0.1)
("rust-unicode-bidi" ,rust-unicode-bidi-0.3)
- ("rust-unicode-normalization" ,rust-unicode-normalization-0.1))
- #:cargo-development-inputs
- (("rust-rustc-test" ,rust-rustc-test-0.3)
- ("rust-serde-json" ,rust-serde-json-1))))
+ ("rust-unicode-normalization" ,rust-unicode-normalization-0.1))))
(home-page "https://github.com/servo/rust-url/")
(synopsis "Internationalizing Domain Names in Applications and Punycode")
(description
@@ -24319,6 +27542,26 @@ crate.")
crate.")
(license license:asl2.0)))
+(define-public rust-indenter-0.3
+ (package
+ (name "rust-indenter")
+ (version "0.3.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "indenter" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "10y6i6y4ls7xsfsc1r3p5j2hhbxhaqnk5zzk8aj52b14v05ba8yf"))))
+ (build-system cargo-build-system)
+ (arguments '(#:skip-build? #t))
+ (home-page "https://github.com/yaahc/indenter")
+ (synopsis "Display trait indentation helper for errors")
+ (description
+ "This package provides a few wrappers for the @code{fmt::Write} object
+that efficiently appends and removes common indentation after every newline.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-indexmap-1
(package
(name "rust-indexmap")
@@ -24346,7 +27589,7 @@ crate.")
("rust-rand" ,rust-rand-0.7)
("rust-serde-derive" ,rust-serde-derive-1))))
(home-page "https://github.com/bluss/indexmap")
- (synopsis "Hash table with consistent order and fast iteration.")
+ (synopsis "Hash table with consistent order and fast iteration")
(description
"This package provides a hash table with consistent order and fast iteration.
@@ -24415,6 +27658,49 @@ The @code{indoc!()} macro takes a multiline string literal and un-indents it
at compile time so the leftmost non-space character is in the first column.")
(license (list license:expat license:asl2.0))))
+(define-public rust-indoc-0.3
+ (package
+ (inherit rust-indoc-1)
+ (version "0.3.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "indoc" version))
+ (file-name (string-append "rust-indoc-" version ".tar.gz"))
+ (sha256
+ (base32 "1n2fd2wm1h005hd7pjgx4gv5ymyq4sxqn8z0ssw6xchgqs5ilx27"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-indoc-impl" ,rust-indoc-impl-0.3)
+ ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5))))))
+
+(define-public rust-indoc-impl-0.3
+ (package
+ (inherit rust-indoc-0.3)
+ (name "rust-indoc-impl")
+ (version "0.3.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "indoc-impl" version))
+ (file-name (string-append "rust-indoc-impl-" version ".tar.gz"))
+ (sha256
+ (base32 "1w58yg249kmzsn75kcj34qaxqh839l1hsaj3bzggy3q03wb6s16f"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1)
+ ("rust-unindent" ,rust-unindent-0.1))))
+ (synopsis "Macros for @code{rust-indoc}")
+ (description
+ "This package provides macros for use with the @code{rust-indoc}
+package. It is obsolete for indoc versions > 1.")))
+
(define-public rust-infer-0.2
(package
(name "rust-infer")
@@ -24907,6 +28193,60 @@ bytestring representations.")
immutable interval tree.")
(license license:expat)))
+(define-public rust-inventory-0.1
+ (package
+ (name "rust-inventory")
+ (version "0.1.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "inventory" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1m1zdjgs3nzfdxf86mc1i0id56fvk8rfw63rf04yi88bqrh53szh"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-ctor" ,rust-ctor-0.1)
+ ("rust-ghost" ,rust-ghost-0.1)
+ ("rust-inventory-impl" ,rust-inventory-impl-0.1))))
+ (home-page "https://github.com/dtolnay/inventory")
+ (synopsis "Typed distributed plugin registration")
+ (description
+ "This package provides a way to set up a plugin registry into which
+plugins can be registered from any source file linked into your program.
+There does not need to be a central list of all the plugins.")
+ ;; Either license can be chosen at the users option.
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-inventory-impl-0.1
+ (package
+ (name "rust-inventory-impl")
+ (version "0.1.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "inventory-impl" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0j45a7nq4vircnz5m23db34527icxqnvh2si96zc9w662lvvahby"))))
+ (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/dtolnay/inventory")
+ (synopsis "Macros for the @code{inventory} crate")
+ (description
+ "This package provides macros for the @code{rust-inventory} package.
+It has been merged with the @code{inventory} crate and is only useful for
+versions < 0.2.")
+ ;; Either license can be chosen at the users option.
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-iovec-0.1
(package
(name "rust-iovec")
@@ -25162,6 +28502,24 @@ bottlenecks encountered in highly concurrent code by avoiding shared writes
and locking in the core framework.")
(license license:expat)))
+(define-public rust-is-debug-1
+ (package
+ (name "rust-is-debug")
+ (version "1.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "is_debug" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "12bwspph88wgmzcyl8dg3s28gph41r9shfq8yzaj564xj7lril86"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/baoyachi/rust_is_debug")
+ (synopsis "get build model is debug")
+ (description "get build model is debug")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-is-executable-1
(package
(name "rust-is-executable")
@@ -25305,6 +28663,27 @@ functions, and macros.")
(("rust-permutohedron" ,rust-permutohedron-0.2)
("rust-quickcheck" ,rust-quickcheck-0.5))))))
+(define-public rust-itertools-0.6
+ (package
+ (inherit rust-itertools-0.10)
+ (name "rust-itertools")
+ (version "0.6.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "itertools" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "08fx60wxmjakssqn3w9045dasqvaf1gmgzg5kag062k9l56vxwnk"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-either" ,rust-either-1))
+ #:cargo-development-inputs
+ (("rust-permutohedron" ,rust-permutohedron-0.2)
+ ("rust-quickcheck" ,rust-quickcheck-0.4))))))
+
(define-public rust-itertools-0.5
(package
(inherit rust-itertools-0.7)
@@ -25356,18 +28735,35 @@ functions, and macros.")
and functions.")
(license (list license:expat license:asl2.0))))
+(define-public rust-itoa-1
+ (package
+ (name "rust-itoa")
+ (version "1.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "itoa" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0d8wr2qf5b25a04xf10rz9r0pdbjdgb0zaw3xvf8k2sqcz1qzaqs"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/dtolnay/itoa")
+ (synopsis "Fast functions for printing integer primitives")
+ (description "This crate provides fast functions for printing integer
+primitives to an @code{io::Write}.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-itoa-0.4
(package
(name "rust-itoa")
- (version "0.4.5")
+ (version "0.4.8")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "itoa" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "13nxqrfnh83a7x5rw4wq2ilp8nxvwy74dxzysdg59dbxqk0agdxq"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "itoa" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1m1dairwyx8kfxi7ab3b5jc71z1vigh9w4shnhiajji9avzr26dp"))))
(build-system cargo-build-system)
(home-page "https://github.com/dtolnay/itoa")
(synopsis "Fast functions for printing integer primitives")
@@ -25428,6 +28824,27 @@ primitives to an @code{io::Write}.")
(description "This package provides a simple ivf muxer.")
(license license:bsd-2)))
+(define-public rust-javascriptcore-rs-sys-0.2
+ (package
+ (name "rust-javascriptcore-rs-sys")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "javascriptcore-rs-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1619vl48yw3wrjw4c3dfm3s5s9sizgxp5s7s1ahpbkcdl2lasiiz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2))))
+ (home-page "https://github.com/tauri-apps/javascriptcore-rs")
+ (synopsis "JavaScriptCore bindings and wrappers for Rust")
+ (description
+ "Sys functions for the Rust bindings of the javacriptcore library.")
+ (license license:expat)))
+
(define-public rust-jemalloc-sys-0.3
(package
(name "rust-jemalloc-sys")
@@ -25784,7 +29201,7 @@ JSON-RPC 2.0 specification.")
(define-public rust-js-sys-0.3
(package
(name "rust-js-sys")
- (version "0.3.46")
+ (version "0.3.55")
(source
(origin
(method url-fetch)
@@ -25792,8 +29209,7 @@ JSON-RPC 2.0 specification.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0xc1llkp23q8ac2wdwh46y6gjbc34prrd98g5my9qz4zja1p6gfg"))))
+ (base32 "116cg9vn62cl3vifbs6cjdsg7hz98kr7sr8kpy31liccsg6gzjbw"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -25990,6 +29406,51 @@ kernel32.")
"The Khronos XML API Registry, exposed as byte string constants.")
(license license:asl2.0)))
+(define-public rust-kqueue-sys-1
+ (package
+ (name "rust-kqueue-sys")
+ (version "1.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "kqueue-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "11z5labbms9vn9m6csi5383dmrlmdgsxq13ls9fwa6zhi5a5hrw3"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1) ("rust-libc" ,rust-libc-0.2))))
+ (home-page "https://gitlab.com/worr/rust-kqueue-sys")
+ (synopsis "Low-level kqueue interface for BSDs")
+ (description "This package provides a low-level kqueue interface for BSDs.")
+ (license license:expat)))
+
+(define-public rust-kqueue-1
+ (package
+ (name "rust-kqueue")
+ (version "1.0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "kqueue" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ad4vifr0kmla8a5pgig7plx5kmc9w7k1h9mgm6fk2sgg1x112h5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-kqueue-sys" ,rust-kqueue-sys-1) ("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs
+ (("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://gitlab.com/worr/rust-kqueue")
+ (synopsis "kqueue interface for BSDs")
+ (description "This package provides a kqueue interface for BSDs.")
+ (license license:expat)))
+
(define-public rust-kv-log-macro-1
(package
(name "rust-kv-log-macro")
@@ -26041,10 +29502,10 @@ currently supports parsing (fully conformant parser), formatting and comparing
language tags.")
(license license:expat)))
-(define-public rust-lab-0.8
+(define-public rust-lab-0.11
(package
(name "rust-lab")
- (version "0.8.1")
+ (version "0.11.0")
(source
(origin
(method url-fetch)
@@ -26053,15 +29514,15 @@ language tags.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1ysnbviwi35mq6xyz9c59mpgigyfp4s4y2mispxzrms4vk83bx15"))))
+ "13ymsn5cwl5i9pmp5mfmbap7q688dcp9a17q82crkvb784yifdmz"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-development-inputs
- (("rust-approx" ,rust-approx-0.3)
+ (("rust-approx" ,rust-approx-0.5)
("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))))
+ ("rust-pretty-assertions" ,rust-pretty-assertions-0.7)
+ ("rust-rand" ,rust-rand-0.8))))
(home-page "https://github.com/TooManyBees/lab")
(synopsis "Convert RGB to CIE-LAB for Rust")
(description
@@ -26071,7 +29532,7 @@ space, and comparing differences in color.")
(define-public rust-lab-0.7
(package
- (inherit rust-lab-0.8)
+ (inherit rust-lab-0.11)
(name "rust-lab")
(version "0.7.2")
(source
@@ -26093,18 +29554,18 @@ space, and comparing differences in color.")
(define-public rust-lab-0.4
(package
- (inherit rust-lab-0.8)
+ (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"))))
+ (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))))))
@@ -26327,6 +29788,22 @@ requires non-const function calls to be computed.")
"This package provides a library providing a lazily filled Cell struct.")
(license (list license:expat license:asl2.0))))
+(define-public rust-lazycell-0.5
+ (package
+ (inherit rust-lazycell-1)
+ (name "rust-lazycell")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lazycell" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "16w5c75sb7xjica1ys6w8ndxvy001y52fjz722m07yqid1x5nn1v"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-clippy" ,rust-clippy-0.0))))))
+
(define-public rust-lettre-0.9
(package
(name "rust-lettre")
@@ -26602,18 +30079,35 @@ nor a system allocator.")
("rust-serde-derive" ,rust-serde-derive-1)
("rust-toml" ,rust-toml-0.5))))))
+(define-public rust-lexopt-0.2
+ (package
+ (name "rust-lexopt")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lexopt" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0w1adb1qwp9rkznq37qvwh01ckxpwcywb6ki9mlw03filyp16xfy"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/blyxxyz/lexopt")
+ (synopsis "Minimalist pedantic command line parser")
+ (description "This package provides a minimalist pedantic command line
+parser in Rust.")
+ (license license:expat)))
+
(define-public rust-libc-0.2
(package
(name "rust-libc")
- (version "0.2.101")
+ (version "0.2.112")
(source
(origin
(method url-fetch)
(uri (crate-uri "libc" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "08dsmvn397ph8gnj552k12gmpp2rk6p60jyliqnfvr8vhwv07c1w"))))
+ (base32 "09bik7pcck869kfr5i9hjhnck0mzpd9v0ijxbqnh8fja6rzx20qv"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -26680,22 +30174,20 @@ macros on libc without stdlib.")
(define-public rust-libflate-1
(package
(name "rust-libflate")
- (version "1.0.2")
+ (version "1.1.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "libflate" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0jarv5ildsm0ci4prd4gz7fqypifhp9xk34z9w49rchx7q1ckfp9"))))
+ (base32 "07hlzg1zly4dw9s39fv2ik6nfcjpjgx82b5kkf3bafdvdvvlldhn"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-adler32" ,rust-adler32-1)
("rust-crc32fast" ,rust-crc32fast-1)
- ("rust-libflate-lz77" ,rust-libflate-lz77-1)
- ("rust-rle-decode-fast" ,rust-rle-decode-fast-1))
+ ("rust-libflate-lz77" ,rust-libflate-lz77-1))
#:cargo-development-inputs
(("rust-clap" ,rust-clap-2))))
(home-page "https://github.com/sile/libflate")
@@ -26730,18 +30222,19 @@ algorithm and related formats (ZLIB, GZIP).")
(define-public rust-libflate-lz77-1
(package
(name "rust-libflate-lz77")
- (version "1.0.0")
+ (version "1.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "libflate_lz77" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "06xir79gmp97mdnlnjclk5zlzgkf5s6qvwilcd4gq9j9gngz11ij"))))
+ (base32 "0nig3z2wjwk27ia066knp633akm00v017vny976sy29l970399rr"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-development-inputs
+ `(#:cargo-inputs
+ (("rust-rle-decode-fast" ,rust-rle-decode-fast-1))
+ #:cargo-development-inputs
(("rust-libflate" ,rust-libflate-0.1))))
(home-page "https://github.com/sile/libflate")
(synopsis "LZ77 encoder for libflate crate")
@@ -26848,6 +30341,29 @@ library.")
(snippet
'(begin (delete-file-recursively "libgit2") #t))))))
+(define-public rust-libgit2-sys-0.6
+ (package
+ (inherit rust-libgit2-sys-0.10)
+ (name "rust-libgit2-sys-6")
+ (version "0.6.19")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libgit2-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0myk79sxqj20bmj4ir3p81xnma9qnid5rrmlbkj5v68wgdpfdskf"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cc" ,rust-cc-1)
+ ("rust-cmake" ,rust-cmake-0.1)
+ ("rust-curl-sys" ,rust-curl-sys-0.4)
+ ("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-libloading-0.7
(package
(name "rust-libloading")
@@ -27187,8 +30703,34 @@ library.")
library.")
(license (list license:expat license:asl2.0))))
+(define-public rust-libsqlite3-sys-0.23
+ (package
+ (name "rust-libsqlite3-sys")
+ (version "0.23.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libsqlite3-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1wm91qnsz729vfl3n1rhaq2ip2v4zzxbsawb975vlh4v8h68bmdb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bindgen" ,rust-bindgen-0.59)
+ ("rust-cc" ,rust-cc-1)
+ ("rust-openssl-sys" ,rust-openssl-sys-0.9)
+ ("rust-pkg-config" ,rust-pkg-config-0.3)
+ ("rust-vcpkg" ,rust-vcpkg-0.2))))
+ (home-page "https://github.com/rusqlite/rusqlite")
+ (synopsis "Native bindings to the libsqlite3 library")
+ (description "Native bindings to the libsqlite3 library")
+ (license license:expat)))
+
(define-public rust-libsqlite3-sys-0.22
(package
+ (inherit rust-libsqlite3-sys-0.23)
(name "rust-libsqlite3-sys")
(version "0.22.2")
(source
@@ -27198,7 +30740,6 @@ library.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "17gqc2mwih81j3ds479gl5zmsxqzzrcrj3yyv62vh34bgy8n82r9"))))
- (build-system cargo-build-system)
(inputs
(list sqlite))
(arguments
@@ -27208,11 +30749,7 @@ library.")
(("rust-bindgen" ,rust-bindgen-0.58)
("rust-cc" ,rust-cc-1)
("rust-pkg-config" ,rust-pkg-config-0.3)
- ("rust-vcpkg" ,rust-vcpkg-0.2))))
- (home-page "https://github.com/rusqlite/rusqlite")
- (synopsis "Native bindings to the libsqlite3 library")
- (description "Native bindings to the libsqlite3 library")
- (license license:expat)))
+ ("rust-vcpkg" ,rust-vcpkg-0.2))))))
(define-public rust-libsqlite3-sys-0.20
(package
@@ -28113,6 +31650,31 @@ image together with its neighboring pixels.")
"This package provides a Rust library for PDF document manipulation.")
(license license:expat)))
+(define-public rust-lru-0.7
+ (package
+ (name "rust-lru")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lru" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "07sdl7gpg30hbz7cgph75n2xl8915rshi90c7jqr5j9mi62m6hr7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-hashbrown" ,rust-hashbrown-0.11))
+ #:cargo-development-inputs
+ (("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
+ ("rust-stats-alloc" ,rust-stats-alloc-0.1))))
+ (home-page "https://github.com/jeromefroe/lru-rs")
+ (synopsis "LRU cache")
+ (description "This package provides a LRU cache implementation.")
+ (license license:expat)))
+
(define-public rust-lru-cache-0.1
(package
(name "rust-lru-cache")
@@ -28175,28 +31737,28 @@ key-value pairs.")
(base32
"0jxsgkn378kxkiqdshdjdclw5wwp2xaz45cqd3yw85fhn8a38fza"))))))
-(define-public rust-lsp-types-0.89
+(define-public rust-lsp-types-0.91
(package
(name "rust-lsp-types")
- (version "0.89.2")
+ (version "0.91.1")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "lsp-types" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "18h9dckjy11pz2lpd5lm12vvfcds1qg67clqalr35k2jzpnhsbl5"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lsp-types" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1bk8iy7s80i2iqj1siyfm0rsdq2vwvz7lclsrcrx2pa2b4n32s13"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-bitflags" ,rust-bitflags-1)
- ("rust-serde" ,rust-serde-1)
- ("rust-serde-json" ,rust-serde-json-1)
- ("rust-serde-repr" ,rust-serde-repr-0.1)
- ("rust-url" ,rust-url-2))))
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-repr" ,rust-serde-repr-0.1)
+ ("rust-url" ,rust-url-2))))
(home-page "https://github.com/gluon-lang/lsp-types")
(synopsis "Types for interaction with a language server")
(description
@@ -28204,6 +31766,30 @@ key-value pairs.")
server (LSP).")
(license license:expat)))
+(define-public rust-lsp-types-0.89
+ (package
+ (inherit rust-lsp-types-0.91)
+ (name "rust-lsp-types")
+ (version "0.89.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lsp-types" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "18h9dckjy11pz2lpd5lm12vvfcds1qg67clqalr35k2jzpnhsbl5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-repr" ,rust-serde-repr-0.1)
+ ("rust-url" ,rust-url-2))))))
+
(define-public rust-lsp-types-0.83
(package
(inherit rust-lsp-types-0.89)
@@ -28478,6 +32064,32 @@ Mach 3.0 kernel that underlies OSX.")
library")
(license (list license:asl2.0 license:expat))))
+(define-public rust-macrotest-1
+ (package
+ (name "rust-macrotest")
+ (version "1.0.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "macrotest" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "06xk9i9amh325vr6w9dmnlxfp6zamrq57zfl031zd0fscqm3vjx2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-diff" ,rust-diff-0.1)
+ ("rust-glob" ,rust-glob-0.3)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-toml" ,rust-toml-0.5))))
+ (home-page "https://github.com/eupn/macrotest")
+ (synopsis "Test harness for macro expansion")
+ (description
+ "This package provides test harness for macro expansion in Rust.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-magic-crypt-3
(package
(name "rust-magic-crypt")
@@ -28772,22 +32384,21 @@ statement, the first matching branch is the item that gets emitted.")
whether an expression matches a pattern.")
(license license:expat)))
-(define-public rust-matchers-0.0
+(define-public rust-matchers-0.1
(package
(name "rust-matchers")
- (version "0.0.1")
+ (version "0.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "matchers" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1q8ckqmkjqkznvdi9x0z769yz2bmvlqcwx51ad2lpk4mfmgpi6gh"))))
+ (base32 "0n2mbk7lg2vf962c8xwzdq96yrc9i0p8dbmm4wa1nnkcp1dhfqw2"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
+ `(#:skip-build? #t
+ #:cargo-inputs
(("rust-regex-automata" ,rust-regex-automata-0.1))))
(home-page "https://github.com/hawkw/matchers")
(synopsis "Regex matching on character and byte streams")
@@ -28797,6 +32408,25 @@ grammars. It provides the subset of the regex crate that only deals with
matching, not parsing substrings.")
(license license:expat)))
+(define-public rust-matchers-0.0
+ (package
+ (inherit rust-matchers-0.1)
+ (name "rust-matchers")
+ (version "0.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "matchers" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1q8ckqmkjqkznvdi9x0z769yz2bmvlqcwx51ad2lpk4mfmgpi6gh"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-regex-automata" ,rust-regex-automata-0.1))))))
+
(define-public rust-matrixcompare-core-0.1
(package
(name "rust-matrixcompare-core")
@@ -29155,7 +32785,7 @@ unstable -Z self-profile flag.")
(define-public rust-memchr-2
(package
(name "rust-memchr")
- (version "2.4.0")
+ (version "2.4.1")
(source
(origin
(method url-fetch)
@@ -29164,7 +32794,7 @@ unstable -Z self-profile flag.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1p478fqf4nia2ma0kv4npb8x1hli0zz6k16517ikb51jkryx8sxi"))))
+ "0smq8xzd40njqpfzv5mghigj91fzlfrfg842iz8x0wqvw2dw731h"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -29277,27 +32907,46 @@ file IO.")
#:cargo-development-inputs
(("rust-tempdir" ,rust-tempdir-0.3))))))
-(define-public rust-memmap2-0.3
+(define-public rust-memmap2-0.5
(package
(name "rust-memmap2")
- (version "0.3.0")
+ (version "0.5.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "memmap2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1xcg3vv6rg8vhl0wdfy085gx4xsp2dah7anvn5816h6wgczj1zr0"))))
+ (base32 "0vp9pxd20gyq8196v73chxdw6gfxz3g4lkdkvffd5slgawds2is6"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-libc" ,rust-libc-0.2))))
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-stable-deref-trait" ,rust-stable-deref-trait-1))))
(home-page "https://github.com/RazrFalcon/memmap2-rs")
(synopsis "Cross-platform Rust API for memory-mapped file IO")
- (description "This package provides a Rust API for memory-mapped file IO.")
+ (description
+ "This package provides a Rust API for memory-mapped file IO.")
(license (list license:expat license:asl2.0))))
+(define-public rust-memmap2-0.3
+ (package
+ (inherit rust-memmap2-0.5)
+ (name "rust-memmap2")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "memmap2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1xcg3vv6rg8vhl0wdfy085gx4xsp2dah7anvn5816h6wgczj1zr0"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2))))))
+
(define-public rust-memmap2-0.2
(package
(inherit rust-memmap2-0.3)
@@ -29947,7 +33596,7 @@ file's MIME type by its extension.")
(base32 "0xynhr97vyv5n5lls41dl7bfa3ba122lix9mqij1l7yprl6n6r4w"))))
(build-system cargo-build-system)
(home-page "https://github.com/Alexhuszagh/minimal-lexical")
- (synopsis "Fast float parsing conversion routines.")
+ (synopsis "Fast float parsing conversion routines")
(description "Fast float parsing conversion routines.")
(license (list license:expat license:asl2.0))))
@@ -30113,17 +33762,17 @@ 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.7
+(define-public rust-mio-0.8
(package
(name "rust-mio")
- (version "0.7.11")
+ (version "0.8.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "mio" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0mi9ah60l270761sz6qdhhn0hkn5msc8689b53bhnkmk0glx706g"))))
+ (base32 "1cmgipv6k536xf0a6qd359wnpxg0pfrpkr9bhy8zqh8bza2jy9xs"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -30133,8 +33782,8 @@ application.")
("rust-ntapi" ,rust-ntapi-0.3)
("rust-winapi" ,rust-winapi-0.3))
#:cargo-development-inputs
- (("rust-env-logger" ,rust-env-logger-0.6)
- ("rust-rand" ,rust-rand-0.4))))
+ (("rust-env-logger" ,rust-env-logger-0.8)
+ ("rust-rand" ,rust-rand-0.8))))
(home-page "https://github.com/tokio-rs/mio")
(synopsis "Lightweight non-blocking IO")
(description
@@ -30143,6 +33792,29 @@ APIs and event notification for building I/O apps with as little overhead as
possible over the OS abstractions.")
(license license:expat)))
+(define-public rust-mio-0.7
+ (package
+ (inherit rust-mio-0.8)
+ (name "rust-mio")
+ (version "0.7.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "mio" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0mi9ah60l270761sz6qdhhn0hkn5msc8689b53bhnkmk0glx706g"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-miow" ,rust-miow-0.3)
+ ("rust-ntapi" ,rust-ntapi-0.3)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-env-logger" ,rust-env-logger-0.6)
+ ("rust-rand" ,rust-rand-0.4))))))
+
(define-public rust-mio-0.6
(package
(inherit rust-mio-0.7)
@@ -30306,24 +33978,24 @@ possible over the OS abstractions.")
"Unix domain socket bindings for mio.")
(license (list license:asl2.0 license:expat))))
-(define-public rust-miow-0.3
+(define-public rust-miow-0.4
(package
(name "rust-miow")
- (version "0.3.6")
+ (version "0.4.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "miow" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "15sqdhh29dqgw5xh59clwv6scbsbvdkbmdc16hbfvyq7b2sw2css"))))
+ (base32 "03p0dgbahlysgxk0sihhf09k5h13r9aam3d6rfivdbxkj9vpydx7"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-socket2" ,rust-socket2-0.3)
- ("rust-winapi" ,rust-winapi-0.3))
+ (("rust-windows-sys" ,rust-windows-sys-0.28))
#:cargo-development-inputs
- (("rust-rand" ,rust-rand-0.4))))
+ (("rust-rand" ,rust-rand-0.8)
+ ("rust-socket2" ,rust-socket2-0.4))))
(home-page "https://github.com/alexcrichton/miow")
(synopsis "Rust I/O library for Windows")
(description
@@ -30332,6 +34004,25 @@ IOCP and Async I/O abstractions.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-miow-0.3
+ (package
+ (inherit rust-miow-0.4)
+ (name "rust-miow")
+ (version "0.3.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "miow" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "15sqdhh29dqgw5xh59clwv6scbsbvdkbmdc16hbfvyq7b2sw2css"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-socket2" ,rust-socket2-0.3)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-rand" ,rust-rand-0.4))))))
+
(define-public rust-miow-0.2
(package
(inherit rust-miow-0.3)
@@ -30520,8 +34211,36 @@ checking.")
"Chaining APIs for both self -> Self and &mut self methods.")
(license license:expat)))
+(define-public rust-mp4-0.9
+ (package
+ (name "rust-mp4")
+ (version "0.9.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "mp4" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "12rwsjj5fn5h198ih0ig08vz34rfjlnf8rw3d0i5jwbaay88f1kq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-bytes" ,rust-bytes-1)
+ ("rust-num-rational" ,rust-num-rational-0.4)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3))))
+ (home-page "https://github.com/alfg/mp4-rust")
+ (synopsis "MP4 reader and writer library in Rust")
+ (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
@@ -30531,7 +34250,6 @@ checking.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "14zh9dh6hwzmbchl7yh8wv84r0fniq1jcbz9x2hqq699h6l1issi"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -30540,11 +34258,34 @@ checking.")
("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))))
- (home-page "https://github.com/alfg/mp4-rust")
- (synopsis "MP4 reader and writer library in Rust")
- (description "mp4 is a Rust library to read and write ISO-MP4 files.")
- (license license:expat)))
+ ("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
@@ -31313,6 +35054,41 @@ implementation.")
"This package provides a crate to perform natural ordering for Rust.")
(license license:expat)))
+(define-public rust-nb-1
+ (package
+ (name "rust-nb")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "nb" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1blc9143cqh3cn2imr050qczbnfrfdl10xxnfdggamlybnn3fv2l"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/rust-embedded/nb")
+ (synopsis "Minimal non-blocking I/O layer")
+ (description "This package provides a minimal non-blocking I/O layer.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-nb-0.1
+ (package
+ (inherit rust-nb-1)
+ (name "rust-nb")
+ (version "0.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "nb" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0vyh31pbwrg21f8hz1ipb9i20qwnfwx47gz92i9frdhk0pd327c0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-nb" ,rust-nb-1))))))
+
(define-public rust-nb-connect-1
(package
(name "rust-nb-connect")
@@ -31644,15 +35420,14 @@ types as proposed in RFC 1158.")
(define-public rust-nettle-7
(package
(name "rust-nettle")
- (version "7.0.0")
+ (version "7.0.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "nettle" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1n6dwy9zba8853bmxzhwaashd3np0wxpx0pj43brm0hb8n2sxbxi"))
- (patches (search-patches "rust-nettle-disable-vendor.patch"))))
+ (base32 "1qlsq3szglkw7s089h5qh9xa787qyvkdj5cgxm4qj30fazwr0hx0"))))
(build-system cargo-build-system)
(native-inputs
(list pkg-config))
@@ -32045,17 +35820,17 @@ nitrokey crate and others using it.")
nitrokey-test crate.")
(license license:gpl3+)))
-(define-public rust-nix-0.22
+(define-public rust-nix-0.23
(package
(name "rust-nix")
- (version "0.22.1")
+ (version "0.23.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "nix" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0cahgzxhdwsaa8491n6cn8gadgfsxk5razyfw4xr3k34f5n5smg7"))))
+ (base32 "1iimixk7y2qk0jswqich4mkd8kqyzdghcgy6203j8fmxmhbn71lz"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -32073,6 +35848,27 @@ The goal is to not provide a 100% unified interface, but to unify what can be
while still providing platform specific APIs.")
(license license:expat)))
+(define-public rust-nix-0.22
+ (package
+ (inherit rust-nix-0.23)
+ (name "rust-nix")
+ (version "0.22.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "nix" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0cahgzxhdwsaa8491n6cn8gadgfsxk5razyfw4xr3k34f5n5smg7"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1.2)
+ ("rust-cc" ,rust-cc-1)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-memoffset" ,rust-memoffset-0.6))))))
+
(define-public rust-nix-0.21
(package
(inherit rust-nix-0.22)
@@ -32239,6 +36035,26 @@ while still providing platform specific APIs.")
(base32
"1kmxdlmvnmq8cfpmr3g6wk37rwi2ybdvp1z6z3831m1p23p2nwkc"))))))
+(define-public rust-nix-0.8
+ (package
+ (inherit rust-nix-0.15)
+ (name "rust-nix")
+ (version "0.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "nix" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "11v4idygamcdgqvqbz9qcz83nwiyc8bv62k2x72kawcqh9lrzr27"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-0.7)
+ ("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-void" ,rust-void-1))))))
+
(define-public rust-nl80211-0.0.2
(package
(name "rust-nl80211")
@@ -32684,7 +36500,7 @@ with all line endings.")
(define-public rust-notify-5
(package
(name "rust-notify")
- (version "5.0.0-pre.8")
+ (version "5.0.0-pre.13")
(source
(origin
(method url-fetch)
@@ -32693,7 +36509,7 @@ with all line endings.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0jq1ixzi7rgq233dxbxkn129n8lidswp1glsgbdhvw7ig38brfs6"))))
+ "0za8mpacxkr62fii5h7ny4h396y0m8myd3hf08njqdg2h21kap94"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -32703,7 +36519,8 @@ with all line endings.")
,rust-crossbeam-channel-0.5)
("rust-filetime" ,rust-filetime-0.2)
("rust-fsevent" ,rust-fsevent-2)
- ("rust-fsevent-sys" ,rust-fsevent-sys-3)
+ ("rust-fsevent-sys" ,rust-fsevent-sys-4)
+ ("rust-kqueue" ,rust-kqueue-1)
("rust-inotify" ,rust-inotify-0.9)
("rust-libc" ,rust-libc-0.2)
("rust-mio" ,rust-mio-0.7)
@@ -32711,14 +36528,9 @@ with all line endings.")
("rust-walkdir" ,rust-walkdir-2)
("rust-winapi" ,rust-winapi-0.3))
#:cargo-development-inputs
- (("rust-serde-json" ,rust-serde-json-1))
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-version-requirements
- (lambda _
- (substitute* "Cargo.toml"
- (("0.7.7") ,(package-version rust-mio-0.7)))
- #t)))))
+ (("rust-serde-json" ,rust-serde-json-1)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-tempfile" ,rust-tempfile-3))))
(home-page "https://github.com/notify-rs/notify")
(synopsis
"Cross-platform filesystem notification library")
@@ -33019,14 +36831,14 @@ more.")
(define-public rust-num-bigint-0.4
(package
(name "rust-num-bigint")
- (version "0.4.0")
+ (version "0.4.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "num-bigint" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "04k5xh7d0nxay4yfb02rj841y9g5jh45d320avi53ak221y083af"))))
+ (base32 "0py73wsa5j4izhd39nkqzqv260r0ma08vy30ky54ld3vkhlbcfpr"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -33117,39 +36929,70 @@ more.")
#:cargo-development-inputs
(("rust-rand" ,rust-rand-0.4))))))
-(define-public rust-num-bigint-dig-0.6
+(define-public rust-num-bigint-dig-0.7
(package
(name "rust-num-bigint-dig")
- (version "0.6.0")
+ (version "0.7.0")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "num-bigint-dig" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1aljx3bxfnzq35i9pkbqkj0d0hc1wjc2dd60wccjqylz1wrkrl5k"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "num-bigint-dig" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1004mmipvc7pvaf3kf13i1nqh3vxf789bj72d8wl51y185aywis5"))))
(build-system cargo-build-system)
(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))))
- (home-page
- "https://github.com/dignifiedquire/num-bigint")
+ `(#: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.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-zeroize" ,rust-zeroize-1))
+ #:cargo-development-inputs
+ (("rust-rand" ,rust-rand-0.8)
+ ("rust-rand-chacha" ,rust-rand-chacha-0.3)
+ ("rust-rand-isaac" ,rust-rand-isaac-0.3)
+ ("rust-rand-xorshift" ,rust-rand-xorshift-0.3)
+ ("rust-serde-test" ,rust-serde-test-1))))
+ (home-page "https://github.com/dignifiedquire/num-bigint")
(synopsis "Big integer implementation for Rust")
- (description "This package provides a big integer implementation
-for Rust")
+ (description "This package provides a big integer implementation for
+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")
@@ -33239,21 +37082,19 @@ for Rust")
(define-public rust-num-cpus-1
(package
(name "rust-num-cpus")
- (version "1.13.0")
+ (version "1.13.1")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "num_cpus" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1cv6yxhz2zbnwn8pn1yn8grg7zsnd523947fby41a737aqvryj85"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "num-cpus" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "18apx62z4j4lajj2fi6r1i8slr9rs2d0xrbj2ls85qfyxck4brhr"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-hermit-abi" ,rust-hermit-abi-0.1)
- ("rust-libc" ,rust-libc-0.2))))
+ (("rust-hermit-abi" ,rust-hermit-abi-0.1)
+ ("rust-libc" ,rust-libc-0.2))))
(home-page "https://github.com/seanmonstar/num_cpus")
(synopsis "Get the number of CPUs on a machine")
(description
@@ -33810,10 +37651,10 @@ Foundation framework.")
"This package provides utilities for testing Objective-C interop.")
(license license:expat)))
-(define-public rust-object-0.24
+(define-public rust-object-0.28
(package
(name "rust-object")
- (version "0.24.0")
+ (version "0.28.2")
(source
(origin
(method url-fetch)
@@ -33822,7 +37663,7 @@ Foundation framework.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0w21hp41mixzaavsdpjylbylh44z2b5d2wbnf5ipkvkjq38ksnqs"))))
+ "1wgv6gx69rpn4jjqs24kvafwsic1q06iaafs5mb9hy34hp7c3x89"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -33831,14 +37672,24 @@ Foundation framework.")
,rust-compiler-builtins-0.1)
("rust-crc32fast" ,rust-crc32fast-1)
("rust-flate2" ,rust-flate2-1)
+ ("rust-hashbrown" ,rust-hashbrown-0.11)
("rust-indexmap" ,rust-indexmap-1)
+ ("rust-memchr" ,rust-memchr-2)
("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))
#:cargo-development-inputs
- (("rust-memmap" ,rust-memmap-0.7))))
+ (("rust-memmap" ,rust-memmap-0.7))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-version-requirements
+ (lambda _
+ (substitute* "Cargo.toml"
+ (("1.6.\\*")
+ ,(package-version rust-indexmap-1)))
+ #t)))))
(home-page "https://github.com/gimli-rs/object")
(synopsis "Unified interface for reading and writing object file formats")
(description
@@ -33846,6 +37697,37 @@ Foundation framework.")
file formats.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-object-0.24
+ (package
+ (inherit rust-object-0.28)
+ (name "rust-object")
+ (version "0.24.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "object" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0w21hp41mixzaavsdpjylbylh44z2b5d2wbnf5ipkvkjq38ksnqs"))))
+ (build-system cargo-build-system)
+ (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))
+ #:cargo-development-inputs
+ (("rust-memmap" ,rust-memmap-0.7))))))
+
(define-public rust-object-0.23
(package
(inherit rust-object-0.24)
@@ -34007,6 +37889,31 @@ Things in odds may move to more appropriate crates if we find them.")
("rust-memchr" ,rust-memchr-2)
("rust-quickcheck" ,rust-quickcheck-0.4))))))
+(define-public rust-oid-registry-0.2
+ (package
+ (name "rust-oid-registry")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "oid-registry" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "058qip5j5y0i95ckmw67mp73372rq16ci0lcczyq9irv76r4qmgy"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-der-parser" ,rust-der-parser-6))))
+ (home-page "https://github.com/rusticata/oid-registry")
+ (synopsis "Object Identifier (OID) database")
+ (description "This crate is a helper crate, containing a database of
+OID objects. These objects are intended for use when manipulating ASN.1
+grammars and BER/DER encodings, for example.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-onig-6
(package
(name "rust-onig")
@@ -34102,7 +38009,7 @@ other crates to create safe wrappers around Oniguruma.")
(define-public rust-once-cell-1
(package
(name "rust-once-cell")
- (version "1.8.0")
+ (version "1.9.0")
(source
(origin
(method url-fetch)
@@ -34110,11 +38017,12 @@ other crates to create safe wrappers around Oniguruma.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0mkbbxg6416z11r2yzsq91cqrkj9w1iyx5hakq15h5sbnriwnbv9"))))
+ (base32 "1mfqhrsgi368x92bwnq3vi3p5nv0n1qlrn69gfflhvkfkxfm2cns"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-parking-lot" ,rust-parking-lot-0.11))
+ (("rust-atomic-polyfill" ,rust-atomic-polyfill-0.1)
+ ("rust-parking-lot" ,rust-parking-lot-0.11))
#:cargo-development-inputs
(("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7)
("rust-lazy-static" ,rust-lazy-static-1)
@@ -34164,7 +38072,7 @@ contents.")
(build-system cargo-build-system)
(arguments `(#:skip-build? #t))
(home-page "https://hg.sr.ht/~icefox/oorandom")
- (synopsis "A tiny, robust PRNG implementation.")
+ (synopsis "Tiny, robust PRNG implementation")
(description
"This package provides a tiny, robust PRNG implementation.")
(license license:expat)))
@@ -34204,17 +38112,17 @@ contents.")
(base32
"02942l2gc7w5r4js7i9063x99szic5mzzk1055j83v4diqpbpxck"))))))
-(define-public rust-open-1
+(define-public rust-open-2
(package
(name "rust-open")
- (version "1.7.1")
+ (version "2.0.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "open" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "00828zcxdy3r38inz48jgnszgvqgi1a3bi2rrhij86mqsqq7msnw"))))
+ (base32 "1dq9c6dgq7iv5kvqfk8gvkfq34j5pdinfcs1hbdd4x6i62vf8vhp"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -34228,6 +38136,24 @@ contents.")
the system.")
(license license:expat)))
+(define-public rust-open-1
+ (package
+ (inherit rust-open-2)
+ (name "rust-open")
+ (version "1.7.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "open" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "00828zcxdy3r38inz48jgnszgvqgi1a3bi2rrhij86mqsqq7msnw"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-pathdiff" ,rust-pathdiff-0.2)
+ ("rust-winapi" ,rust-winapi-0.3))))))
+
(define-public rust-opener-0.4
(package
(name "rust-opener")
@@ -34653,6 +38579,27 @@ under its new name.")
"A cross-platform library for opening OS pipes.")
(license license:expat)))
+(define-public rust-os-pipe-0.5
+ (package
+ (inherit rust-os-pipe-0.9)
+ (name "rust-os-pipe")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "os-pipe" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1ccwc7caq3hhgxyrglkl2fw8qzkx0kxanh9azs852w9f0jrzp2wr"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-kernel32-sys" ,rust-kernel32-sys-0.2)
+ ("rust-nix" ,rust-nix-0.8)
+ ("rust-winapi" ,rust-winapi-0.2))))))
+
(define-public rust-os-str-bytes-2
(package
(name "rust-os-str-bytes")
@@ -34677,6 +38624,55 @@ under its new name.")
platform-native strings.")
(license (list license:expat license:asl2.0))))
+(define-public rust-ouroboros-macro-0.14
+ (package
+ (name "rust-ouroboros-macro")
+ (version "0.14.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ouroboros_macro" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "11cav04x82liknlrv50lpl1i1ln2jw4isdqzdjnjsg0pcpvwik9r"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-inflector" ,rust-inflector-0.11)
+ ("rust-proc-macro-error" ,rust-proc-macro-error-1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/joshua-maros/ouroboros")
+ (synopsis "Proc macro for ouroboros")
+ (description
+ "This package provides a proc macro for the @code{ouroboros} crate.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-ouroboros-0.14
+ (package
+ (name "rust-ouroboros")
+ (version "0.14.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ouroboros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ih1lna1d2is3a6aicmc7lpfhqmg046kssxpryk24kwg8j42ymh6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-aliasable" ,rust-aliasable-0.1)
+ ("rust-ouroboros-macro" ,rust-ouroboros-macro-0.14)
+ ("rust-stable-deref-trait" ,rust-stable-deref-trait-1))))
+ (home-page "https://github.com/joshua-maros/ouroboros")
+ (synopsis "Self-referential struct generation")
+ (description
+ "Easy, safe self-referential struct generation for Rust.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-output-vt100-0.1
(package
(name "rust-output-vt100")
@@ -34801,7 +38797,7 @@ normally prevent moving a type that has been borrowed from.")
(define-public rust-packed-simd-2-0.3
(package
(name "rust-packed-simd-2")
- (version "0.3.4")
+ (version "0.3.6")
(source
(origin
(method url-fetch)
@@ -34809,19 +38805,19 @@ normally prevent moving a type that has been borrowed from.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "05wsm2yxxpwww6a74hi8l80qszisfar5d7whf2pd87wn5x4y0y1j"))
+ (base32 "1i8hmhsyzqsas2rhxg088mcwvzljrqhvf8lfz8b1dj6g2rkw1h3i"))
(modules '((guix build utils)))
(snippet
'(begin
;; Unpin the dependencies.
(substitute* "Cargo.toml"
- (("=0.2.52") "^0.2.52")
- (("=0.3.2") "^0.3.2"))
+ (("=0.2.73") "^0.2.73")
+ (("=0.3.23") "^0.3.23"))
#t))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; error[E0432]: unresolved import `packed_simd`
+ #:skip-build? #t
#:cargo-inputs
(("rust-cfg-if" ,rust-cfg-if-0.1)
("rust-core-arch" ,rust-core-arch-0.1)
@@ -35036,6 +39032,26 @@ sequence alignment library.")
sequence alignment tools.")
(license license:expat)))
+(define-public rust-paris-1
+ (package
+ (name "rust-paris")
+ (version "1.5.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "paris" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0i8dy41v7malj279snap1z1awpyd7hfr1nc1s7kr2dvn8xhqb786"))))
+ (build-system cargo-build-system)
+ (arguments `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4))))
+ (home-page "https://github.com/0x20F/paris")
+ (synopsis "Simple logger for CLI apps or things you want in the terminal")
+ (description
+ "This package provides a simple logger for CLI apps or other things you
+want in the terminal.")
+ (license license:mpl2.0)))
+
(define-public rust-parity-tokio-ipc-0.4
(package
(name "rust-parity-tokio-ipc")
@@ -35535,17 +39551,17 @@ file and the generated @file{.rs} file.")
definitions compiled to support read+write async.")
(license license:asl2.0)))
-(define-public rust-parquet2-0.4
+(define-public rust-parquet2-0.6
(package
(name "rust-parquet2")
- (version "0.4.0")
+ (version "0.6.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "parquet2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1rsmrjy0r8q56gygycc5j0kgdbvrazh6xg6z8vcdyhn8r1v8yxbk"))))
+ (base32 "0v9xc20wmn2r1pyaxqd8zf9vnschbf8r00c5kg9332fqrmadz0nv"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -35558,7 +39574,7 @@ definitions compiled to support read+write async.")
("rust-lz4" ,rust-lz4-1)
("rust-parquet-format-async-temp" ,rust-parquet-format-async-temp-0.2)
("rust-snap" ,rust-snap-1)
- ("rust-streaming-iterator" ,rust-streaming-iterator-0.1)
+ ("rust-streaming-decompression" ,rust-streaming-decompression-0.1)
("rust-zstd" ,rust-zstd-0.9))))
(home-page "https://crates.io/crates/parquet2")
(synopsis "Safe implementation of Parquet IO")
@@ -35567,6 +39583,32 @@ definitions compiled to support read+write async.")
parallelism and safety in mind.")
(license license:asl2.0)))
+(define-public rust-parquet2-0.4
+ (package
+ (inherit rust-parquet2-0.6)
+ (name "rust-parquet2")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "parquet2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1rsmrjy0r8q56gygycc5j0kgdbvrazh6xg6z8vcdyhn8r1v8yxbk"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-async-stream" ,rust-async-stream-0.3)
+ ("rust-bitpacking" ,rust-bitpacking-0.8)
+ ("rust-brotli" ,rust-brotli-3)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-lz4" ,rust-lz4-1)
+ ("rust-parquet-format-async-temp" ,rust-parquet-format-async-temp-0.2)
+ ("rust-snap" ,rust-snap-1)
+ ("rust-streaming-iterator" ,rust-streaming-iterator-0.1)
+ ("rust-zstd" ,rust-zstd-0.9))))))
+
(define-public rust-parse-zoneinfo-0.3
(package
(name "rust-parse-zoneinfo")
@@ -35642,6 +39684,34 @@ and would-block I/O operations.")
("rust-tokio-core" ,rust-tokio-core-0.1))))
(license license:bsd-3)))
+(define-public rust-password-hash-0.3
+ (package
+ (name "rust-password-hash")
+ (version "0.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "password-hash" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1n7ig9j5x2q0fk12nny40faggrs0ra5bbxp6gz5yghfwlqw1ay8x"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-base64ct" ,rust-base64ct-1)
+ ("rust-rand-core" ,rust-rand-core-0.6)
+ ("rust-subtle" ,rust-subtle-2))))
+ (home-page "https://github.com/RustCrypto/traits/tree/master/password-hash")
+ (synopsis
+ "Traits describing the functionality of password hashing algorithms")
+ (description
+ "This package provides traits which describe the functionality of
+password hashing algorithms, as well as a `no_std`-friendly implementation of
+the PHC string format (a well-defined subset of the Modular Crypt
+Format (MCF).")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-paste-1
(package
(name "rust-paste")
@@ -35793,8 +39863,66 @@ directory path to the provided path.")
(base32
"0cfg3isnx6mf3wbi7rsg4nmvywby40sbcs589n20fgi09l4p1gx3"))))))
+(define-public rust-pbkdf2-0.10
+ (package
+ (name "rust-pbkdf2")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pbkdf2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0d3l06x5mg96njxfsksjwl6440alf72qh4rwrpnq4fwmrz1qqqm4"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-digest" ,rust-digest-0.10)
+ ("rust-hmac" ,rust-hmac-0.12)
+ ("rust-password-hash" ,rust-password-hash-0.3)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-sha-1" ,rust-sha-1-0.10)
+ ("rust-sha2" ,rust-sha2-0.10))
+ #:cargo-development-inputs
+ (("rust-hex-literal" ,rust-hex-literal-0.3)
+ ("rust-hmac" ,rust-hmac-0.12)
+ ("rust-sha-1" ,rust-sha-1-0.10)
+ ("rust-sha2" ,rust-sha2-0.10)
+ ("rust-streebog" ,rust-streebog-0.10))))
+ (home-page "https://github.com/RustCrypto/password-hashing")
+ (synopsis "Generic implementation of PBKDF2")
+ (description "This package contains a collection of password hashing
+algorithms, otherwise known as password-based key derivation functions, written
+in pure Rust.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-pbkdf2-0.9
+ (package
+ (inherit rust-pbkdf2-0.10)
+ (name "rust-pbkdf2")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pbkdf2" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0fa7j0gdgghk64qlhzdv32yg52p0cfaz5ifhk7i4pfm1wsy98n7h"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-crypto-mac" ,rust-crypto-mac-0.11)
+ ("rust-hmac" ,rust-hmac-0.11)
+ ("rust-password-hash" ,rust-password-hash-0.3)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-sha-1" ,rust-sha-1-0.9)
+ ("rust-sha2" ,rust-sha2-0.9))))))
+
(define-public rust-pbkdf2-0.4
(package
+ (inherit rust-pbkdf2-0.10)
(name "rust-pbkdf2")
(version "0.4.0")
(source
@@ -35806,7 +39934,6 @@ directory path to the provided path.")
(sha256
(base32
"1g8cm3nwrsydazjc1gjs549hzafgxq8qb49gixrhl3qrd9calvi1"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-base64" ,rust-base64-0.12)
@@ -35820,13 +39947,7 @@ directory path to the provided path.")
#:cargo-development-inputs
(("rust-hmac" ,rust-hmac-0.8)
("rust-sha-1" ,rust-sha-1-0.9)
- ("rust-sha2" ,rust-sha2-0.9))))
- (home-page "https://github.com/RustCrypto/password-hashing")
- (synopsis "Generic implementation of PBKDF2")
- (description "This package contains a collection of password hashing
-algorithms, otherwise known as password-based key derivation functions, written
-in pure Rust.")
- (license (list license:expat license:asl2.0))))
+ ("rust-sha2" ,rust-sha2-0.9))))))
(define-public rust-pbkdf2-0.3
(package
@@ -36148,18 +40269,68 @@ procedural macros for rust-peg. To use rust-peg, see the peg package.")
runtime support for rust-peg grammars. To use rust-peg, see the peg crate.")
(license license:expat)))
-(define-public rust-percent-encoding-2
+(define-public rust-pem-1
(package
- (name "rust-percent-encoding")
- (version "2.1.0")
+ (name "rust-pem")
+ (version "1.0.2")
(source
(origin
(method url-fetch)
- (uri (crate-uri "percent-encoding" version))
+ (uri (crate-uri "pem" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0bp3zrsk3kr47fbpipyczidbbx4g54lzxdm77ni1i3qws10mdzfl"))))
+ (base32 "0iqrvfnm71x9pvff39d5ajwn3gc9glxlv4d4h22max7342db18z9"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-base64" ,rust-base64-0.13))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3))))
+ (home-page "https://github.com/jcreekmore/pem-rs")
+ (synopsis "Parse and encode PEM-encoded data")
+ (description
+ "This package provides a Rust library for parsing and encoding
+PEM-encoded data.")
+ (license license:expat)))
+
+(define-public rust-pem-rfc7468-0.2
+ (package
+ (name "rust-pem-rfc7468")
+ (version "0.2.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pem-rfc7468" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1m1c9jypydzabg4yscplmvff7pdcc8gg4cqg081hnlf03hxkmsc4"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-base64ct" ,rust-base64ct-1))))
+ (home-page "https://github.com/RustCrypto/formats/tree/master/pem-rfc7468")
+ (synopsis
+ "PEM Encoding implementing a subset of Privacy-Enhanced Mail encoding")
+ (description
+ "This packages provides PEM Encoding (RFC 7468) for PKIX, PKCS, and CMS
+Structures, implementing a strict subset of the original Privacy-Enhanced Mail
+encoding intended specifically for use with cryptographic keys, certificates,
+and other messages. It provides a no_std-friendly, constant-time
+implementation suitable for use with cryptographic private keys.")
+ (license (list license:asl2.0 license:expat))))
+
+(define-public rust-percent-encoding-2
+ (package
+ (name "rust-percent-encoding")
+ (version "2.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "percent-encoding" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0bp3zrsk3kr47fbpipyczidbbx4g54lzxdm77ni1i3qws10mdzfl"))))
(build-system cargo-build-system)
(home-page "https://github.com/servo/rust-url/")
(synopsis "Percent encoding and decoding")
@@ -36379,8 +40550,36 @@ algorithm.")
"Pest meta language parser and validator.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-petgraph-0.6
+ (package
+ (name "rust-petgraph")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "petgraph" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0kw27zzhsa82d4qpkrz91vznyxi3wm0qg0i84grfaqqbkpxa44sa"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-fixedbitset" ,rust-fixedbitset-0.4)
+ ("rust-indexmap" ,rust-indexmap-1)
+ ("rust-quickcheck" ,rust-quickcheck-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1))))
+ (home-page "https://github.com/petgraph/petgraph")
+ (synopsis "Graph data structure library")
+ (description
+ "This crate is a graph data structure library. It provides graph types
+and graph algorithms.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-petgraph-0.5
(package
+ (inherit rust-petgraph-0.6)
(name "rust-petgraph")
(version "0.5.1")
(source
@@ -36390,9 +40589,7 @@ algorithm.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1dzxda6z17sfxly11m8ja3iargh73pw0s1sdgjyp0qp5dm51cza6"))))
- (build-system cargo-build-system)
+ (base32 "1dzxda6z17sfxly11m8ja3iargh73pw0s1sdgjyp0qp5dm51cza6"))))
(arguments
`(#:cargo-inputs
(("rust-fixedbitset" ,rust-fixedbitset-0.2)
@@ -36404,13 +40601,7 @@ algorithm.")
(("rust-defmac" ,rust-defmac-0.1)
("rust-itertools" ,rust-itertools-0.8)
("rust-odds" ,rust-odds-0.2)
- ("rust-rand" ,rust-rand-0.5))))
- (home-page "https://github.com/petgraph/petgraph")
- (synopsis "Graph data structure library")
- (description
- "Graph data structure library. Provides graph types and graph
-algorithms.")
- (license (list license:expat license:asl2.0))))
+ ("rust-rand" ,rust-rand-0.5))))))
(define-public rust-petgraph-0.4
(package
@@ -36446,8 +40637,33 @@ algorithms.")
(("fn dot\\(\\) \\{" all)
(string-append "#[ignore] " all))))))))))
+(define-public rust-phf-0.10
+ (package
+ (name "rust-phf")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "phf" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "17s0k0z1rjczk37cpbmn718h7dkqci1kk9w2spbmjjwc06qkvz5r"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-phf-macros" ,rust-phf-macros-0.10)
+ ("rust-phf-shared" ,rust-phf-shared-0.10)
+ ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5))))
+ (home-page "https://github.com/sfackler/rust-phf")
+ (synopsis "Runtime support for perfect hash function data structures")
+ (description "This package provides runtime support for perfect hash
+function data structures.")
+ (license license:expat)))
+
(define-public rust-phf-0.8
(package
+ (inherit rust-phf-0.10)
(name "rust-phf")
(version "0.8.0")
(source
@@ -36459,18 +40675,12 @@ algorithms.")
(sha256
(base32
"04pyv8bzqvw69rd5dynd5nb85py1hf7wa4ixyhrvdz1l5qin3yrx"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)
("rust-phf-shared" ,rust-phf-shared-0.8)
- ("rust-phf-macros" ,rust-phf-macros-0.8))))
- (home-page "https://github.com/sfackler/rust-phf")
- (synopsis "Runtime support for perfect hash function data structures")
- (description "This package provides runtime support for perfect hash
-function data structures.")
- (license license:expat)))
+ ("rust-phf-macros" ,rust-phf-macros-0.8))))))
(define-public rust-phf-0.7
(package
@@ -36497,8 +40707,31 @@ function data structures.")
"Runtime support for perfect hash function data structures.")
(license license:expat)))
+(define-public rust-phf-codegen-0.10
+ (package
+ (name "rust-phf-codegen")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "phf_codegen" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1k8kdad9wk2d5972k6jmjki2xpdy2ky4zd19rv7ybm2dpjlc7cag"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-phf-generator" ,rust-phf-generator-0.10)
+ ("rust-phf-shared" ,rust-phf-shared-0.10))))
+ (home-page "https://github.com/sfackler/rust-phf")
+ (synopsis "Codegen library for PHF types")
+ (description "Codegen library for PHF types.")
+ (license license:expat)))
+
(define-public rust-phf-codegen-0.8
(package
+ (inherit rust-phf-codegen-0.10)
(name "rust-phf-codegen")
(version "0.8.0")
(source
@@ -36510,16 +40743,11 @@ function data structures.")
(sha256
(base32
"05d8w7aqqjb6039pfm6404gk5dlwrrf97kiy1n21212vb1hyxzyb"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-phf-generator" ,rust-phf-generator-0.8)
- ("rust-phf-shared" ,rust-phf-shared-0.8))))
- (home-page "https://github.com/sfackler/rust-phf")
- (synopsis "Codegen library for PHF types")
- (description "Codegen library for PHF types.")
- (license license:expat)))
+ ("rust-phf-shared" ,rust-phf-shared-0.8))))))
(define-public rust-phf-codegen-0.7
(package
@@ -36545,8 +40773,32 @@ function data structures.")
(description "Codegen library for PHF types.")
(license license:expat)))
+(define-public rust-phf-generator-0.10
+ (package
+ (name "rust-phf-generator")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "phf_generator" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1mlq6hlajsvlsx6rhw49g9ricsm017lrxmgmmbk85sxm7f4qaljx"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-phf-shared" ,rust-phf-shared-0.10)
+ ("rust-rand" ,rust-rand-0.8))))
+ (home-page "https://github.com/sfackler/rust-phf")
+ (synopsis "PHF generation logic")
+ (description "PHF generation logic.")
+ (license license:expat)))
+
(define-public rust-phf-generator-0.8
(package
+ (inherit rust-phf-generator-0.10)
(name "rust-phf-generator")
(version "0.8.0")
(source
@@ -36558,17 +40810,12 @@ function data structures.")
(sha256
(base32
"09i5338d1kixq6a60fcayz6awgxjlxcfw9ic5f02abbgr067ydhp"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-criterion" ,rust-criterion-0.3)
("rust-rand" ,rust-rand-0.7)
- ("rust-phf-shared" ,rust-phf-shared-0.8))))
- (home-page "https://github.com/sfackler/rust-phf")
- (synopsis "PHF generation logic")
- (description "PHF generation logic.")
- (license license:expat)))
+ ("rust-phf-shared" ,rust-phf-shared-0.8))))))
(define-public rust-phf-generator-0.7
(package
@@ -36593,8 +40840,37 @@ function data structures.")
(description "PHF generation logic")
(license license:expat)))
+(define-public rust-phf-macros-0.10
+ (package
+ (name "rust-phf-macros")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "phf_macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1q5ljwvb10dx188i6jxzckqfimjw5pm2p4kkvmhg2q6m9lcg7zaq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-phf-generator" ,rust-phf-generator-0.10)
+ ("rust-phf-shared" ,rust-phf-shared-0.10)
+ ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1)
+ ("rust-unicase" ,rust-unicase-2))))
+ (home-page "https://github.com/sfackler/rust-phf")
+ (synopsis "Macros to generate types in the phf crate")
+ (description
+ "This package contains macros to generate types in the phf crate.")
+ (license license:expat)))
+
(define-public rust-phf-macros-0.8
(package
+ (inherit rust-phf-macros-0.10)
(name "rust-phf-macros")
(version "0.8.0")
(source
@@ -36606,7 +40882,6 @@ function data structures.")
(sha256
(base32
"170qm6yqn6b9mjlwb2xmm3iad9d5nzwgfawfwy7zr7s2zwcdwvvz"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -36615,12 +40890,7 @@ function data structures.")
("rust-phf-shared" ,rust-phf-shared-0.8)
("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-syn" ,rust-syn-1)
- ("rust-quote" ,rust-quote-1))))
- (home-page "https://github.com/sfackler/rust-phf")
- (synopsis "Macros to generate types in the phf crate")
- (description
- "This package contains macros to generate types in the phf crate.")
- (license license:expat)))
+ ("rust-quote" ,rust-quote-1))))))
(define-public rust-phf-macros-0.7
(package
@@ -36654,8 +40924,33 @@ function data structures.")
"Macros to generate types in the phf crate.")
(license license:expat)))
+(define-public rust-phf-shared-0.10
+ (package
+ (name "rust-phf-shared")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "phf_shared" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "15n02nc8yqpd8hbxngblar2g53p3nllc93d8s8ih3p5cf7bnlydn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-siphasher" ,rust-siphasher-0.3)
+ ("rust-uncased" ,rust-uncased-0.9)
+ ("rust-unicase" ,rust-unicase-2))))
+ (home-page "https://github.com/sfackler/rust-phf")
+ (synopsis "Support code shared by PHF libraries")
+ (description
+ "This package provides support code shared by PHF libraries.")
+ (license license:expat)))
+
(define-public rust-phf-shared-0.8
(package
+ (inherit rust-phf-shared-0.10)
(name "rust-phf-shared")
(version "0.8.0")
(source
@@ -36667,17 +40962,11 @@ function data structures.")
(sha256
(base32
"1xssnqrrcn0nr9ayqrnm8xm37ac4xvwcx8pax7jxss7yxawzh360"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-siphasher" ,rust-siphasher-0.3)
- ("rust-unicase" ,rust-unicase-2))))
- (home-page "https://github.com/sfackler/rust-phf")
- (synopsis "Support code shared by PHF libraries")
- (description
- "This package provides support code shared by PHF libraries.")
- (license license:expat)))
+ ("rust-unicase" ,rust-unicase-2))))))
(define-public rust-phf-shared-0.7
(package
@@ -36835,18 +41124,19 @@ crate.")
(define-public rust-pin-project-lite-0.2
(package
(name "rust-pin-project-lite")
- (version "0.2.4")
+ (version "0.2.7")
(source
(origin
(method url-fetch)
(uri (crate-uri "pin-project-lite" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "09x8chns8apal89pndqdrr0c2nv8jw6nmi8hl38acjbc6sprg5j3"))))
+ (base32 "0hwl8iyx3h9i3i3jr2vqj07nf4ay1v1w1ga29cbjmdd6d4fd2ccd"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-development-inputs
- (("rust-rustversion" ,rust-rustversion-1)
+ (("rust-macrotest" ,rust-macrotest-1)
+ ("rust-rustversion" ,rust-rustversion-1)
("rust-static-assertions" ,rust-static-assertions-1)
("rust-trybuild" ,rust-trybuild-1))))
(home-page "https://github.com/taiki-e/pin-project-lite")
@@ -36891,18 +41181,107 @@ written with declarative macros.")
(description "This crate provides utilities for pinning values on the stack.")
(license (list license:expat license:asl2.0))))
+(define-public rust-pkcs1-0.2
+ (package
+ (name "rust-pkcs1")
+ (version "0.2.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pkcs1" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0b2f1a0lf5h53zrjvcqbxzjhh89gcfa1myhf6z7w10ypg61fwsqi"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-der" ,rust-der-0.4)
+ ("rust-pem-rfc7468" ,rust-pem-rfc7468-0.2)
+ ("rust-zeroize" ,rust-zeroize-1))))
+ (home-page "https://github.com/RustCrypto/formats/tree/master/pkcs1")
+ (synopsis "Implementation of Public-Key Cryptography Standards (PKCS) #1")
+ (description
+ "This package provides a pure Rust implementation of Public-Key
+Cryptography Standards (PKCS) #1: RSA Cryptography Specifications Version 2.2
+(RFC 8017)")
+ (license (list license:asl2.0 license:expat))))
+
+(define-public rust-pkcs5-0.3
+ (package
+ (name "rust-pkcs5")
+ (version "0.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pkcs5" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1m3xrrwwbn9883bylgjzssfh3w1lbl7fhkb3ndz721rf27pca8sl"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-aes" ,rust-aes-0.7)
+ ("rust-block-modes" ,rust-block-modes-0.8)
+ ("rust-der" ,rust-der-0.4)
+ ("rust-des" ,rust-des-0.7)
+ ("rust-hmac" ,rust-hmac-0.11)
+ ("rust-pbkdf2" ,rust-pbkdf2-0.9)
+ ("rust-scrypt" ,rust-scrypt-0.8)
+ ("rust-sha-1" ,rust-sha-1-0.9)
+ ("rust-sha2" ,rust-sha2-0.9)
+ ("rust-spki" ,rust-spki-0.4))))
+ (home-page "https://github.com/RustCrypto/formats/tree/master/pkcs5")
+ (synopsis "Implementation of Public-Key Cryptography Standards (PKCS) #5")
+ (description
+ "This package is a pure Rust implementation of Public-Key Cryptography
+Standards (PKCS) #5: Password-Based Cryptography Specification Version
+2.1 (RFC 8018).")
+ (license (list license:asl2.0 license:expat))))
+
+(define-public rust-pkcs8-0.7
+ (package
+ (name "rust-pkcs8")
+ (version "0.7.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pkcs8" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0iq46p6fa2b8xy6pj52zpmdy8ya3fg31dj4rc19x1fi69nvgjgpf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-der" ,rust-der-0.4)
+ ("rust-pem-rfc7468" ,rust-pem-rfc7468-0.2)
+ ("rust-pkcs1" ,rust-pkcs1-0.2)
+ ("rust-pkcs5" ,rust-pkcs5-0.3)
+ ("rust-rand-core" ,rust-rand-core-0.6)
+ ("rust-spki" ,rust-spki-0.4)
+ ("rust-zeroize" ,rust-zeroize-1))))
+ (home-page "https://github.com/RustCrypto/formats/tree/master/pkcs8")
+ (synopsis "Implementation of Public-Key Cryptography Standards (PKCS) #8")
+ (description
+ "This package is a pure Rust implementation of Public-Key Cryptography
+Standards (PKCS) #8: Private-Key Information Syntax Specification (RFC 5208),
+with additional support for PKCS#8v2 asymmetric key packages (RFC 5958).")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-pkg-config-0.3
(package
(name "rust-pkg-config")
(version "0.3.19")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "pkg-config" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0k4860955riciibxr8bhnklp79jydp4xfylwdn5v9kj96hxlac9q"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pkg-config" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0k4860955riciibxr8bhnklp79jydp4xfylwdn5v9kj96hxlac9q"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-development-inputs
@@ -37019,36 +41398,33 @@ serialization.")
("rust-humantime" ,rust-humantime-1)
("rust-byteorder" ,rust-byteorder-1))))))
-(define-public rust-plotters-0.2
+(define-public rust-plotters-0.3
(package
(name "rust-plotters")
- (version "0.2.12")
+ (version "0.3.1")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "plotters" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1ssycy9an23vs9hq098c7kl1dvp5ych20d994lhsw9vx4kdbhfsf"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "plotters" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0akgmm5kqghl2b1q1qkzjggiqnb9smaz54fd5374k5qbqfggv8rj"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-gif" ,rust-gif-0.10)
- ("rust-piston-window" ,rust-piston-window-0.105)
+ (("rust-chrono" ,rust-chrono-0.4)
+ ("rust-font-kit" ,rust-font-kit-0.10)
+ ("rust-image" ,rust-image-0.23)
+ ("rust-lazy-static" ,rust-lazy-static-1)
("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-pathfinder-geometry" ,rust-pathfinder-geometry-0.5)
+ ("rust-plotters-backend" ,rust-plotters-backend-0.3)
+ ("rust-plotters-bitmap" ,rust-plotters-bitmap-0.3)
+ ("rust-plotters-svg" ,rust-plotters-svg-0.3)
+ ("rust-ttf-parser" ,rust-ttf-parser-0.12)
("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
- ("rust-image" ,rust-image-0.22)
- ("rust-js-sys" ,rust-js-sys-0.3)
- ("rust-web-sys" ,rust-web-sys-0.3)
- ("rust-font-kit" ,rust-font-kit-0.4)
- ("rust-chrono" ,rust-chrono-0.4)
- ("rust-palette" ,rust-palette-0.5)
- ("rust-cairo-rs" ,rust-cairo-rs-0.7)
- ("rust-rusttype" ,rust-rusttype-0.8)
- ("rust-lazy-static" ,rust-lazy-static-1))))
+ ("rust-web-sys" ,rust-web-sys-0.3))))
(home-page "https://github.com/38/plotters")
(synopsis "Rust drawing library focus on data plotting")
(description
@@ -37056,6 +41432,68 @@ serialization.")
both WASM and native applications")
(license license:expat)))
+(define-public rust-plotters-backend-0.3
+ (package
+ (name "rust-plotters-backend")
+ (version "0.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "plotters-backend" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "075ccyz814q46dkr93zz7crj9mmyqgk0w6mmrpyz1sm0ilqig16q"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://plotters-rs.github.io")
+ (synopsis "Plotters Backend API")
+ (description "This package provides Plotters backend API.")
+ (license license:expat)))
+
+(define-public rust-plotters-bitmap-0.3
+ (package
+ (name "rust-plotters-bitmap")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "plotters-bitmap" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0m0bq3fqrnhgg37k6lz0m328n3ifymc965pxmqc5cpk90nljydi1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-gif" ,rust-gif-0.11)
+ ("rust-image" ,rust-image-0.23)
+ ("rust-plotters-backend" ,rust-plotters-backend-0.3))))
+ (home-page "https://plotters-rs.github.io")
+ (synopsis "Plotters Bitmap Backend")
+ (description "This package provides Plotters bitmap backend.")
+ (license license:expat)))
+
+(define-public rust-plotters-svg-0.3
+ (package
+ (name "rust-plotters-svg")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "plotters-svg" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1aavi3i4jrwydw3i6x0zxs3i3c7gki7jlhg9agff35x5ixisj7sj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-plotters-backend" ,rust-plotters-backend-0.3))))
+ (home-page "https://plotters-rs.github.io")
+ (synopsis "Plotters SVG backend")
+ (description "This package provides Plotters SVG backend.")
+ (license license:expat)))
+
(define-public rust-plugin-0.2
(package
(name "rust-plugin")
@@ -37167,30 +41605,49 @@ applications.")
"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.16
+(define-public rust-polars-0.17
(package
(name "rust-polars")
- (version "0.16.0")
+ (version "0.17.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "polars" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1s4fqc3vlpz73dbagfsj3hx7y7xmpqnp7nj0cn9srijxgxq5nm73"))))
+ (base32 "1655qd1khas4qm14k3hl3sh8zh2xaj505344qzm68fz98rfs553w"))))
(build-system cargo-build-system)
(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))))
+ (("rust-polars-core" ,rust-polars-core-0.17)
+ ("rust-polars-io" ,rust-polars-io-0.17)
+ ("rust-polars-lazy" ,rust-polars-lazy-0.17))))
(home-page "https://github.com/ritchie46/polars")
(synopsis "DataFrame Library based on Apache Arrow")
(description
"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)
@@ -37250,22 +41707,22 @@ applications.")
("rust-polars-io" ,rust-polars-io-0.13)
("rust-polars-lazy" ,rust-polars-lazy-0.13))))))
-(define-public rust-polars-arrow-0.16
+(define-public rust-polars-arrow-0.17
(package
(name "rust-polars-arrow")
- (version "0.16.0")
+ (version "0.17.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "polars-arrow" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0pwx7nsayn526r9gw16yzqq3r6mn6ivcdxzsj8737whk04qy3ssb"))))
+ (base32 "16aakfkiaqk71c3n3274r9ra44v0jrc8wwp5nqdr0srd5y6lii0w"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-arrow2" ,rust-arrow2-0.5)
+ (("rust-arrow2" ,rust-arrow2-0.7)
("rust-num" ,rust-num-0.4)
("rust-thiserror" ,rust-thiserror-1))))
(home-page "https://github.com/ritchie46/polars")
@@ -37274,6 +41731,25 @@ applications.")
"This crate provides Arrow interfaces for Polars DataFrame library.")
(license license:expat)))
+(define-public rust-polars-arrow-0.16
+ (package
+ (inherit rust-polars-arrow-0.17)
+ (name "rust-polars-arrow")
+ (version "0.16.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "polars-arrow" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0pwx7nsayn526r9gw16yzqq3r6mn6ivcdxzsj8737whk04qy3ssb"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-arrow2" ,rust-arrow2-0.5)
+ ("rust-num" ,rust-num-0.4)
+ ("rust-thiserror" ,rust-thiserror-1))))))
+
(define-public rust-polars-arrow-0.15
(package
(inherit rust-polars-arrow-0.16)
@@ -37332,24 +41808,25 @@ applications.")
("rust-num" ,rust-num-0.4)
("rust-thiserror" ,rust-thiserror-1))))))
-(define-public rust-polars-core-0.16
+(define-public rust-polars-core-0.17
(package
(name "rust-polars-core")
- (version "0.16.0")
+ (version "0.17.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "polars-core" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0knhxc2b0k5jpvm7fxm64b5hjdyqgxjjyi6cnsiy5sya3mj3v9cd"))))
+ (base32 "1xjv2rja2pzcnn6sazgj2dqzy7gpbp57as6rcf0s0hnpcd054wb7"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
+ `(#:skip-build?
+ #t
#:cargo-inputs
(("rust-ahash" ,rust-ahash-0.7)
("rust-anyhow" ,rust-anyhow-1)
- ("rust-arrow2" ,rust-arrow2-0.5)
+ ("rust-arrow2" ,rust-arrow2-0.7)
("rust-chrono" ,rust-chrono-0.4)
("rust-comfy-table" ,rust-comfy-table-1)
("rust-hashbrown" ,rust-hashbrown-0.11)
@@ -37359,7 +41836,7 @@ applications.")
("rust-ndarray" ,rust-ndarray-0.15)
("rust-num" ,rust-num-0.4)
("rust-num-cpus" ,rust-num-cpus-1)
- ("rust-polars-arrow" ,rust-polars-arrow-0.16)
+ ("rust-polars-arrow" ,rust-polars-arrow-0.17)
("rust-prettytable-rs" ,rust-prettytable-rs-0.8)
("rust-rand" ,rust-rand-0.7)
("rust-rand-distr" ,rust-rand-distr-0.3)
@@ -37375,6 +41852,44 @@ applications.")
"This crate provides the core of the Polars DataFrame library.")
(license license:expat)))
+(define-public rust-polars-core-0.16
+ (package
+ (inherit rust-polars-core-0.17)
+ (name "rust-polars-core")
+ (version "0.16.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "polars-core" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0knhxc2b0k5jpvm7fxm64b5hjdyqgxjjyi6cnsiy5sya3mj3v9cd"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-ahash" ,rust-ahash-0.7)
+ ("rust-anyhow" ,rust-anyhow-1)
+ ("rust-arrow2" ,rust-arrow2-0.5)
+ ("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-jsonpath-lib" ,rust-jsonpath-lib-0.3)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-ndarray" ,rust-ndarray-0.15)
+ ("rust-num" ,rust-num-0.4)
+ ("rust-num-cpus" ,rust-num-cpus-1)
+ ("rust-polars-arrow" ,rust-polars-arrow-0.16)
+ ("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" ,rust-serde-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-core-0.15
(package
(inherit rust-polars-core-0.16)
@@ -37489,34 +42004,35 @@ applications.")
("rust-thiserror" ,rust-thiserror-1)
("rust-unsafe-unwrap" ,rust-unsafe-unwrap-0.1))))))
-(define-public rust-polars-io-0.16
+(define-public rust-polars-io-0.17
(package
(name "rust-polars-io")
- (version "0.16.0")
+ (version "0.17.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "polars-io" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0yqpjk0ymqpjq6f0mnm9hhw9xmjradx6vqzg5n54qvl6v3s3p3kh"))))
+ (base32 "0mq921184vwmadxz3996g0ilb4wiws3fajgxpvkkw1152pszb98i"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-ahash" ,rust-ahash-0.7)
("rust-anyhow" ,rust-anyhow-1)
- ("rust-arrow2" ,rust-arrow2-0.5)
+ ("rust-arrow2" ,rust-arrow2-0.7)
("rust-csv-core" ,rust-csv-core-0.1)
("rust-dirs" ,rust-dirs-3)
("rust-flate2" ,rust-flate2-1)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-lexical" ,rust-lexical-6)
- ("rust-memmap2" ,rust-memmap2-0.2)
+ ("rust-memchr" ,rust-memchr-2)
+ ("rust-memmap2" ,rust-memmap2-0.5)
("rust-num" ,rust-num-0.4)
("rust-num-cpus" ,rust-num-cpus-1)
- ("rust-polars-arrow" ,rust-polars-arrow-0.16)
- ("rust-polars-core" ,rust-polars-core-0.16)
+ ("rust-polars-arrow" ,rust-polars-arrow-0.17)
+ ("rust-polars-core" ,rust-polars-core-0.17)
("rust-rayon" ,rust-rayon-1)
("rust-regex" ,rust-regex-1)
("rust-simdutf8" ,rust-simdutf8-0.1))))
@@ -37526,6 +42042,38 @@ applications.")
"This crate provides IO related logic for the Polars DataFrame library.")
(license license:expat)))
+(define-public rust-polars-io-0.16
+ (package
+ (inherit rust-polars-io-0.17)
+ (name "rust-polars-io")
+ (version "0.16.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "polars-io" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0yqpjk0ymqpjq6f0mnm9hhw9xmjradx6vqzg5n54qvl6v3s3p3kh"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-ahash" ,rust-ahash-0.7)
+ ("rust-anyhow" ,rust-anyhow-1)
+ ("rust-arrow2" ,rust-arrow2-0.5)
+ ("rust-csv-core" ,rust-csv-core-0.1)
+ ("rust-dirs" ,rust-dirs-3)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-lexical" ,rust-lexical-6)
+ ("rust-memmap2" ,rust-memmap2-0.2)
+ ("rust-num" ,rust-num-0.4)
+ ("rust-num-cpus" ,rust-num-cpus-1)
+ ("rust-polars-arrow" ,rust-polars-arrow-0.16)
+ ("rust-polars-core" ,rust-polars-core-0.16)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-simdutf8" ,rust-simdutf8-0.1))))))
+
(define-public rust-polars-io-0.15
(package
(inherit rust-polars-io-0.16)
@@ -37627,26 +42175,26 @@ applications.")
("rust-rayon" ,rust-rayon-1)
("rust-regex" ,rust-regex-1))))))
-(define-public rust-polars-lazy-0.16
+(define-public rust-polars-lazy-0.17
(package
(name "rust-polars-lazy")
- (version "0.16.0")
+ (version "0.17.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "polars-lazy" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "01bjsk880dvigyqx7aj3f8zvxpk9gl14k3s40w3dv3aanhdzq7wx"))))
+ (base32 "0qabh08q4978s33d2mn2m8c90spg21frr4lhpyxx2ngsw93scgns"))))
(build-system cargo-build-system)
(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.16)
- ("rust-polars-core" ,rust-polars-core-0.16)
- ("rust-polars-io" ,rust-polars-io-0.16)
+ ("rust-polars-arrow" ,rust-polars-arrow-0.17)
+ ("rust-polars-core" ,rust-polars-core-0.17)
+ ("rust-polars-io" ,rust-polars-io-0.17)
("rust-rayon" ,rust-rayon-1)
("rust-regex" ,rust-regex-1))))
(home-page "https://github.com/ritchie46/polars")
@@ -37656,6 +42204,29 @@ applications.")
library.")
(license license:expat)))
+(define-public rust-polars-lazy-0.16
+ (package
+ (inherit rust-polars-lazy-0.17)
+ (name "rust-polars-lazy")
+ (version "0.16.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "polars-lazy" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "01bjsk880dvigyqx7aj3f8zvxpk9gl14k3s40w3dv3aanhdzq7wx"))))
+ (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.16)
+ ("rust-polars-core" ,rust-polars-core-0.16)
+ ("rust-polars-io" ,rust-polars-io-0.16)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-regex" ,rust-regex-1))))))
+
(define-public rust-polars-lazy-0.15
(package
(inherit rust-polars-lazy-0.16)
@@ -37751,6 +42322,33 @@ library.")
@code{kqueue}, @code{event ports}, and @code{wepoll}.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-poly1305-0.7
+ (package
+ (name "rust-poly1305")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "poly1305" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1pkf4jlriskq9rvz8y5fjj9dw42q6yg5djijlin4n6p1dd3yp2h4"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cpufeatures" ,rust-cpufeatures-0.2)
+ ("rust-opaque-debug" ,rust-opaque-debug-0.3)
+ ("rust-universal-hash" ,rust-universal-hash-0.4)
+ ("rust-zeroize" ,rust-zeroize-1))
+ #:cargo-development-inputs
+ (("rust-hex-literal" ,rust-hex-literal-0.3))))
+ (home-page "https://github.com/RustCrypto/universal-hashes")
+ (synopsis "Poly1305 universal hash")
+ (description
+ "Poly1305 is a universal hash function which, when combined with
+a cipher, can be used as a Message Authentication Code (MAC).")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-polyval-0.4
(package
(name "rust-polyval")
@@ -38124,24 +42722,26 @@ dependency to expose a precomputed hash.")
(define-public rust-predicates-2
(package
(name "rust-predicates")
- (version "2.0.0")
+ (version "2.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "predicates" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0xma6v1qnfjxr4hmby5b6a9vc2i5f4638c24q4p1xqmlksknrr66"))))
+ (base32 "05d749i3z8cbsr0899fzr2ksn8drbci4harcq82vjsj5krlagrcm"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-difflib" ,rust-difflib-0.4)
- ("rust-float-cmp" ,rust-float-cmp-0.8)
+ (("rust-concolor-control" ,rust-concolor-control-0.0.7)
+ ("rust-difflib" ,rust-difflib-0.4)
+ ("rust-float-cmp" ,rust-float-cmp-0.9)
("rust-itertools" ,rust-itertools-0.10)
("rust-normalize-line-endings" ,rust-normalize-line-endings-0.3)
("rust-predicates-core" ,rust-predicates-core-1)
- ("rust-regex" ,rust-regex-1))
+ ("rust-regex" ,rust-regex-1)
+ ("rust-yansi" ,rust-yansi-0.5))
#:cargo-development-inputs
(("rust-predicates-tree" ,rust-predicates-tree-1))))
(home-page "https://github.com/assert-rs/predicates-rs")
@@ -38727,7 +43327,7 @@ in your code.")
(define-public rust-proc-macro2-1
(package
(name "rust-proc-macro2")
- (version "1.0.27")
+ (version "1.0.32")
(source
(origin
(method url-fetch)
@@ -38735,7 +43335,7 @@ in your code.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0f3h0zl5w5090ajmmvpmhkpr4iwqnn5rip3afacabhc657vwmn7h"))))
+ "0hqbxlvhiaybakl1gai3mgps1dxsmxricxsr2rfdrh222z0qql5s"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags '("--lib")
@@ -39131,6 +43731,57 @@ including most strategies and the testing framework itself.")
trait of proptest.")
(license (list license:expat license:asl2.0))))
+(define-public rust-prost-derive-0.9
+ (package
+ (name "rust-prost-derive")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "prost-derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1zi0qway5anz5ik3k1yrc2av81sjcqvqy9lnivv0nzp0ccr1mk7r"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-itertools" ,rust-itertools-0.10)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/tokio-rs/prost")
+ (synopsis "Protocol Buffers implementation for the Rust language")
+ (description
+ "This package provides a Protocol Buffers implementation for the Rust
+language.")
+ (license license:asl2.0)))
+
+(define-public rust-prost-0.9
+ (package
+ (name "rust-prost")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "prost" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "00b0xfn80alw7h2pzr2z4dycyvsys4h5878sifaq9zdlbhkpjj24"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bytes" ,rust-bytes-1)
+ ("rust-prost-derive" ,rust-prost-derive-0.9))))
+ (home-page "https://github.com/tokio-rs/prost")
+ (synopsis "Protocol Buffers implementation for the Rust language")
+ (description
+ "This package provides a Protocol Buffers implementation for the Rust
+language.")
+ (license license:asl2.0)))
+
(define-public rust-psl-2
(package
(name "rust-psl")
@@ -39246,15 +43897,14 @@ compliant email address validation.")
(base32
"0yvmjpywfyypfr17kxiwy6ssykgv8nmcdhfakas6548pfn8a9fiv"))))
(arguments
- `(#:cargo-inputs
+ `(#:skip-build? #t
+ #:cargo-inputs
(("rust-error-chain" ,rust-error-chain-0.12)
("rust-idna" ,rust-idna-0.2)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-native-tls" ,rust-native-tls-0.2)
("rust-regex" ,rust-regex-1)
- ("rust-url" ,rust-url-2))
- #:cargo-development-inputs
- (("rust-rspec" ,rust-rspec-1))))))
+ ("rust-url" ,rust-url-2))))))
(define-public rust-pulldown-cmark-0.8
(package
@@ -39364,6 +44014,26 @@ compliant email address validation.")
(("rust-bitflags" ,rust-bitflags-0.9)
("rust-getopts" ,rust-getopts-0.2))))))
+(define-public rust-pulldown-cmark-0.0.15
+ (package
+ (inherit rust-pulldown-cmark-0.8)
+ (name "rust-pulldown-cmark-15")
+ (version "0.0.15")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pulldown-cmark" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0fr3qcxm1vnvywzxx22b3m1bqrvi9px9g05q5hgi0b1rplfr93ip"))))
+ (arguments
+ `(#:tests? #f
+ #:cargo-inputs
+ (("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)
@@ -39382,37 +44052,61 @@ compliant email address validation.")
(("rust-bitflags" ,rust-bitflags-0.5)
("rust-getopts" ,rust-getopts-0.2))))))
-(define-public rust-pulldown-cmark-to-cmark-6
+(define-public rust-pulldown-cmark-to-cmark-7
(package
(name "rust-pulldown-cmark-to-cmark")
- (version "6.0.0")
+ (version "7.1.1")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "pulldown-cmark-to-cmark" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "08yyjr60jk8f4v4sqcgmna5n9y31l6lx3z9lak38wd82h63vkwp8"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pulldown-cmark-to-cmark" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "03f6bnqjzchmzs4qaf63pirgj95b0x3l2rlp1wj1z27mp734phcb"))))
(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))))
+ `(#: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.7))))
(home-page
- "https://github.com/Byron/pulldown-cmark-to-cmark")
+ "https://github.com/Byron/pulldown-cmark-to-cmark")
(synopsis
- "Convert pulldown-cmark Events back to the string they were parsed from")
+ "Convert pulldown-cmark Events back to the string they were parsed from")
(description
- "This package provides a convert pulldown-cmark Events back to the string
+ "This package provides a convert pulldown-cmark Events back to the string
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")
@@ -39460,6 +44154,128 @@ they were parsed from")
@code{LC_COLLATE} and @code{LC_CTYPE} are not yet supported.")
(license license:expat)))
+(define-public rust-pyo3-build-config-0.15
+ (package
+ (name "rust-pyo3-build-config")
+ (version "0.15.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pyo3-build-config" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0aw5zfqwzj5rzfxjyqvrqfam138d1009jh6kia4xrgdz538y9yfv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-once-cell" ,rust-once-cell-1))))
+ (home-page "https://github.com/pyo3/pyo3")
+ (synopsis "Build configuration for PyO3")
+ (description
+ "This package contains build configuration helpers for the PyO3
+ecosystem.")
+ (license license:asl2.0)))
+
+(define-public rust-pyo3-macros-backend-0.15
+ (package
+ (name "rust-pyo3-macros-backend")
+ (version "0.15.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pyo3-macros-backend" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "12i1n1j8l4q4lzalsvvlw2pak1h8wnz3xcn7y82s2jgf4pl0jkzl"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.15)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/pyo3/pyo3")
+ (synopsis "Code generation for PyO3")
+ (description
+ "This package provides code generation backends for PyO3.")
+ (license license:asl2.0)))
+
+(define-public rust-pyo3-macros-0.15
+ (package
+ (name "rust-pyo3-macros")
+ (version "0.15.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pyo3-macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0mfp3yz6743vrsp2vh8is3gbyzlxzx4bam5wnhi9g6hz5friww37"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-pyo3-macros-backend" ,rust-pyo3-macros-backend-0.15)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/pyo3/pyo3")
+ (synopsis "Proc macros for PyO3")
+ (description
+ "This package provides compiler macros for use with PyO3.")
+ (license license:asl2.0)))
+
+(define-public rust-pyo3-0.15
+ (package
+ (name "rust-pyo3")
+ (version "0.15.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pyo3" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "082p014xd8ipwnfsq1ln871wkslxmbrxd7kpqwa0mbq53jzivw3w"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-eyre" ,rust-eyre-0.6)
+ ("rust-hashbrown" ,rust-hashbrown-0.11)
+ ("rust-indexmap" ,rust-indexmap-1)
+ ("rust-indoc" ,rust-indoc-0.3)
+ ("rust-inventory" ,rust-inventory-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-num-bigint" ,rust-num-bigint-0.4)
+ ("rust-num-complex" ,rust-num-complex-0.4)
+ ("rust-parking-lot" ,rust-parking-lot-0.11)
+ ("rust-paste" ,rust-paste-0.1)
+ ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.15)
+ ("rust-pyo3-macros" ,rust-pyo3-macros-0.15)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-unindent" ,rust-unindent-0.1))
+ #:cargo-development-inputs
+ (("rust-assert-approx-eq" ,rust-assert-approx-eq-1)
+ ("rust-bitflags" ,rust-bitflags-1.2)
+ ("rust-criterion" ,rust-criterion-0.3)
+ ("rust-half" ,rust-half-1)
+ ("rust-proptest" ,rust-proptest-0.10)
+ ("rust-rustversion" ,rust-rustversion-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-trybuild" ,rust-trybuild-1))
+ ;; FIXME: fails to initialize Python interpreter.
+ #:tests? #f))
+ (inputs (list python))
+ (home-page "https://github.com/pyo3/pyo3")
+ (synopsis "Rust bindings for the Python interpreter")
+ (description
+ "This package provides Rust bindings for Python, including tools for
+creating native Python extension modules. Running and interacting with
+Python code from a Rust binary is also supported.")
+ (license license:asl2.0)))
+
(define-public rust-quantiles-0.7
(package
(name "rust-quantiles")
@@ -39890,6 +44706,26 @@ integers, floats, tuples, booleans, lists, strings, options and results.")
("rust-log" ,rust-log-0.3)
("rust-rand" ,rust-rand-0.3))))))
+(define-public rust-quickcheck-0.3
+ (package
+ (inherit rust-quickcheck-0.5)
+ (name "rust-quickcheck-3")
+ (version "0.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "quickcheck" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "01a6s6lmnjld9lahbl54qp7h7x2hnkkzhcyr2gdhbk460sj3scqb"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-env-logger" ,rust-env-logger-0.3)
+ ("rust-log" ,rust-log-0.3)
+ ("rust-rand" ,rust-rand-0.3))))))
+
(define-public rust-quickcheck-0.2
(package
(inherit rust-quickcheck-0.4)
@@ -39972,6 +44808,31 @@ integers, floats, tuples, booleans, lists, strings, options and results.")
#:cargo-development-inputs
(("rust-quickcheck" ,rust-quickcheck-0.8))))))
+(define-public rust-quine-mc-cluskey-0.2
+ (package
+ (name "rust-quine-mc-cluskey")
+ (version "0.2.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "quine-mc-cluskey" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0iazdlwffhrlksb8yhhs1prgwpa68rwjwqm4v26hr9hrswarcn07"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-quickcheck" ,rust-quickcheck-0.3))))
+ (home-page "https://github.com/oli-obk/quine-mc_cluskey")
+ (synopsis
+ "Rust implementation of the Quine-McCluskey algorithm and Petrick's method")
+ (description
+ "This package provides a Rust implementation of the Quine-McCluskey algorithm
+and Petrick's method, an algorithm to automatically minimize boolean expressions.")
+ (license license:expat)))
+
(define-public rust-quote-1
(package
(name "rust-quote")
@@ -40085,7 +44946,7 @@ data.")
("rust-parking-lot" ,rust-parking-lot-0.11)
("rust-scheduled-thread-pool" ,rust-scheduled-thread-pool-0.2))))
(home-page "https://github.com/sfackler/r2d2")
- (synopsis "A generic connection pool")
+ (synopsis "Generic connection pool")
(description "This package provides a generic connection pool.")
(license (list license:expat license:asl2.0))))
@@ -40139,30 +45000,48 @@ Racer.")
fashion. It is mostly used in Racer.")
(license license:expat)))
-(define-public rust-radium-0.5
+(define-public rust-radium-0.6
(package
(name "rust-radium")
- (version "0.5.3")
+ (version "0.6.2")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "radium" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1f5vj5zy4kcsw8p87y976dm5pln6v6jfw5f0fkj7qbwfipbsj6wl"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "radium" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1ys4bpp2l701ghdniz90zhkvb5ykmfw2pj0m8pfcbi7bm10qygv4"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-development-inputs
(("rust-static-assertions" ,rust-static-assertions-1))))
- (home-page "https://github.com/mystor/radium")
+ (home-page "https://github.com/bitvecto-rs/radium")
(synopsis "Portable interfaces for maybe-atomic types")
(description
"@code{radium} provides abstractions and graceful degradation for behavior
that must be shared-mutable, but merely may use atomic instructions to do so.")
(license license:expat)))
+(define-public rust-radium-0.5
+ (package
+ (inherit rust-radium-0.6)
+ (name "rust-radium")
+ (version "0.5.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "radium" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1f5vj5zy4kcsw8p87y976dm5pln6v6jfw5f0fkj7qbwfipbsj6wl"))))
+ (arguments
+ `(#:cargo-development-inputs
+ (("rust-static-assertions" ,rust-static-assertions-1))))))
+
(define-public rust-radix-fmt-1
(package
(name "rust-radix-fmt")
@@ -40213,14 +45092,14 @@ learnt from TrieMap and Sequence Trie.")
(define-public rust-rand-0.8
(package
(name "rust-rand")
- (version "0.8.3")
+ (version "0.8.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "rand" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0zldxfx4gi551n2fna4zz9ab22zsnzw1mj5hzi5nfs24dgkfgy8f"))))
+ (base32 "1n5wska2fbfj4dsfz8mc0pd0dgjlrb6c9anpk5mwym345rip6x9f"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -41280,8 +46159,8 @@ accessors.")
#:cargo-development-inputs
(("rust-docopt" ,rust-docopt-1)
("rust-lazy-static" ,rust-lazy-static-1)
- ("rust-rand" ,rust-rand-0.7)
- ("rust-rand-xorshift" ,rust-rand-xorshift-0.2)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-rand-xorshift" ,rust-rand-xorshift-0.3)
("rust-serde" ,rust-serde-1))))
(home-page "https://github.com/rayon-rs/rayon")
(synopsis "Simple work-stealing parallelism for Rust")
@@ -41432,7 +46311,7 @@ reference counting.")
(home-page
"https://github.com/pistondevelopers/read_color")
(synopsis
- "A simple library for reading hex colors")
+ "Simple library for reading hex colors")
(description
"This package provides a simple library for reading hex colors")
(license (list license:expat license:asl2.0))))
@@ -41541,8 +46420,34 @@ owned memory.")
"This package provides a Rust library to access Redox termios functions.")
(license license:expat)))
+(define-public rust-redox-users-0.4
+ (package
+ (name "rust-redox-users")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "redox_users" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0r5y1a26flkn6gkayi558jg5dzh2m2fdsapgkpn7mj01v3rk51aj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-getrandom" ,rust-getrandom-0.2)
+ ("rust-redox-syscall" ,rust-redox-syscall-0.2)
+ ("rust-rust-argon2" ,rust-rust-argon2-0.8))))
+ (home-page "https://gitlab.redox-os.org/redox-os/users")
+ (synopsis "Rust library to access Redox users and groups functionality")
+ (description
+ "This package provides a Rust library to access Redox users and groups
+functionality")
+ (license license:expat)))
+
(define-public rust-redox-users-0.3
(package
+ (inherit rust-redox-users-0.4)
(name "rust-redox-users")
(version "0.3.4")
(source
@@ -41552,21 +46457,13 @@ owned memory.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0cbl5w16l3bqm22i4vszclf6hzpljxicghmllw7j13az4s9k1ch9"))))
- (build-system cargo-build-system)
+ (base32 "0cbl5w16l3bqm22i4vszclf6hzpljxicghmllw7j13az4s9k1ch9"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-getrandom" ,rust-getrandom-0.1)
("rust-redox-syscall" ,rust-redox-syscall-0.1)
- ("rust-rust-argon2" ,rust-rust-argon2-0.7))))
- (home-page "https://gitlab.redox-os.org/redox-os/users")
- (synopsis "Access Redox users and groups")
- (description
- "This package provides a Rust library to access Redox users and groups
-functionality.")
- (license license:expat)))
+ ("rust-rust-argon2" ,rust-rust-argon2-0.7))))))
(define-public rust-reduce-0.1
(package
@@ -41898,8 +46795,34 @@ uses finite automata and guarantees linear time matching on all inputs.")
(("rust-quickcheck" ,rust-quickcheck-0.2)
("rust-rand" ,rust-rand-0.3))))))
+(define-public rust-region-3
+ (package
+ (name "rust-region")
+ (version "3.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "region" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0bji1p0c9abzh78ps5hs0ygg9pxkg7gjspll43lxr14q6v18kqbn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-mach" ,rust-mach-0.3)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/darfink/region-rs")
+ (synopsis "Library for manipulating memory regions")
+ (description
+ "This package provides a library for manipulating memory regions.")
+ (license license:expat)))
+
(define-public rust-region-2
(package
+ (inherit rust-region-3)
(name "rust-region")
(version "2.2.0")
(source
@@ -41910,7 +46833,6 @@ uses finite automata and guarantees linear time matching on all inputs.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32 "1q4szar3ms76552iygmhsvzhvvwkgz4l94qpx600vmyw5bm58zl7"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
@@ -41918,12 +46840,7 @@ uses finite automata and guarantees linear time matching on all inputs.")
("rust-mach" ,rust-mach-0.3)
("rust-winapi" ,rust-winapi-0.3))
#:cargo-development-inputs
- (("rust-memmap" ,rust-memmap-0.7))))
- (home-page "https://github.com/darfink/region-rs")
- (synopsis "Library for manipulating memory regions")
- (description
- "This package provides a library for manipulating memory regions.")
- (license license:expat)))
+ (("rust-memmap" ,rust-memmap-0.7))))))
(define-public rust-relative-path-1
(package
@@ -42396,6 +47313,52 @@ functionality as retain but gives mutable borrow to the predicate.")
;; build dependencies
("rust-cc" ,rust-cc-1))))))
+(define-public rust-riscv-0.7
+ (package
+ (name "rust-riscv")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "riscv" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1fla10m2qkcf7zqw91rrribpdaavkv6qbbzjz9q2n09igbfwq1v9"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bare-metal" ,rust-bare-metal-1)
+ ("rust-bit-field" ,rust-bit-field-0.10)
+ ("rust-riscv-target" ,rust-riscv-target-0.1))))
+ (home-page "https://github.com/rust-embedded/riscv")
+ (synopsis "Low level access to RISC-V processors")
+ (description "This crate provides low level access to RISC-V processors.")
+ (license license:isc)))
+
+(define-public rust-riscv-target-0.1
+ (package
+ (name "rust-riscv-target")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "riscv-target" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "08pj6f1sbddd6idjn8c1wv121bzikw9qvzhcl9icz822va697al8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-regex" ,rust-regex-1))))
+ (home-page "https://github.com/ilya-epifanov/riscv-target")
+ (synopsis "RISC-V target string manipulation utilities")
+ (description "This package provides RISC-V target string manipulation
+utilities.")
+ (license license:isc)))
+
(define-public rust-rle-decode-fast-1
(package
(name "rust-rle-decode-fast")
@@ -42422,6 +47385,29 @@ this crate is here to save you the hassle of maintaining and testing
your own implementation.")
(license (list license:expat license:asl2.0))))
+(define-public rust-rlp-0.5
+ (package
+ (name "rust-rlp")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rlp" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1da7b1hc4czlmsyr7ifs9bz9fv8hi5dw8q14xnmjlydfn2mhi5cr"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bytes" ,rust-bytes-1)
+ ("rust-rustc-hex" ,rust-rustc-hex-2))))
+ (home-page "https://github.com/paritytech/parity-common")
+ (synopsis "Recursive-length prefix encoding, decoding, and compression")
+ (description "This package provides Recursive-length prefix encoding,
+decoding, and compression.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rls-span-0.5
(package
(name "rust-rls-span")
@@ -42809,61 +47795,118 @@ can handle huge texts and memory-incoherent edits with ease.")
wildcard segments")
(license license:expat)))
+(define-public rust-rowan-0.15
+ (package
+ (name "rust-rowan")
+ (version "0.15.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rowan" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1ilxrar5npwnsb575gxh2gp8hi3032mm20sapzw72sv58gn8zski"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-countme" ,rust-countme-3)
+ ("rust-hashbrown" ,rust-hashbrown-0.11)
+ ("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))))
+ (home-page "https://github.com/rust-analyzer/rowan")
+ (synopsis "Library for generic lossless syntax trees")
+ (description
+ "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"))))
+ (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))))
- (home-page
- "https://github.com/rust-analyzer/rowan")
- (synopsis
- "Library for generic lossless syntax trees")
- (description
- "This package provides a library for generic lossless syntax trees.")
+ `(#: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")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rsa" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "039676a4mj0875phdi7vc0bd37hv84dh0dql6fmk8dl2w81jcp70"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-digest" ,rust-digest-0.9)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-num-bigint-dig" ,rust-num-bigint-dig-0.7)
+ ("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-pkcs1" ,rust-pkcs1-0.2)
+ ("rust-pkcs8" ,rust-pkcs8-0.7)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-subtle" ,rust-subtle-2)
+ ("rust-zeroize" ,rust-zeroize-1))))
+ (home-page "https://github.com/RustCrypto/RSA")
+ (synopsis "Pure Rust RSA implementation")
+ (description "This package provides a pure Rust RSA implementation.")
(license (list license:expat license:asl2.0))))
(define-public rust-rspec-1
(package
(name "rust-rspec")
- (version "1.0.0-beta.4")
+ (version "1.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "rspec" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1abfzwkbxlwahb243k8d3fp6i135lx1aqmbfl79w9zlpng182ndk"))))
+ (base32 "02hfwxqjdc39ygnjysvn5qz343fahmwm16rxvxayh403d5y9wf49"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t ;; TODO unpackaged dev-dependencies
- #:cargo-inputs
- (("rust-colored" ,rust-colored-1)
+ `(#:cargo-inputs
+ (("rust-clippy" ,rust-clippy-0.0.153)
+ ("rust-colored" ,rust-colored-2)
("rust-derive-new" ,rust-derive-new-0.5)
- ("rust-derive-builder" ,rust-derive-builder-0.5)
- ("rust-expectest" ,rust-expectest-0.9)
- ("rust-rayon" ,rust-rayon-0.8))
- #:cargo-development-inputs
- (("rust-clippy" ,rust-clippy-0.0)))) ;; requires 0.0.153
+ ("rust-derive-builder" ,rust-derive-builder-0.9)
+ ("rust-expectest" ,rust-expectest-0.12)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-time" ,rust-time-0.2))))
(home-page "https://github.com/rust-rspec/rspec")
(synopsis "Write Rspec-like tests with stable rust")
(description "This package helps writing Rspec-like tests with stable
@@ -42917,6 +47960,33 @@ rust.")
(base32
"1b6vjfwvpcgy0q8ywywz548vhxrmhbz2sm6xyhnmj5p5xd1xfqff"))))))
+(define-public rust-rstest-0.6
+ (package
+ (name "rust-rstest")
+ (version "0.6.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rstest" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1wdd0ci0bn6fd5v5c19lhlqrpadk18fl4jzvh75b26616anlxdil"))))
+ (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-rustc-version" ,rust-rustc-version-0.3)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/la10736/rstest")
+ (synopsis "Rust fixture based test framework")
+ (description
+ "rstest uses procedural macros to help you on writing fixtures and
+table-based tests.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rstest-0.10
(package
(name "rust-rstest")
@@ -43116,7 +48186,7 @@ please consider using @code{async-std} or @code{tokio}.")
#:cargo-inputs
(("rust-futures-preview" ,rust-futures-preview-0.3))))
(home-page "https://github.com/rustasync/runtime")
- (synopsis "Traits to implement custom Runtimes.")
+ (synopsis "Traits to implement custom Runtimes")
(description "This package provides traits to implement custom Runtimes.")
(license (list license:expat license:asl2.0))))
@@ -43147,17 +48217,17 @@ please consider using @code{async-std} or @code{tokio}.")
"This package provides a Tokio-based asynchronous runtime.")
(license (list license:expat license:asl2.0))))
-(define-public rust-rusqlite-0.25
+(define-public rust-rusqlite-0.26
(package
(name "rust-rusqlite")
- (version "0.25.3")
+ (version "0.26.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "rusqlite" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1csfxb0jff78gzakva3bwgmm5g0dk90pnalc4krrdbzsr1kwzbap"))))
+ (base32 "19sh4nnw1i7a6wacqllz20qpqpdj96jsg3dzaq61cwmd3ywv10la"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -43167,14 +48237,15 @@ please consider using @code{async-std} or @code{tokio}.")
("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-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-libsqlite3-sys" ,rust-libsqlite3-sys-0.23)
("rust-memchr" ,rust-memchr-2)
("rust-serde-json" ,rust-serde-json-1)
("rust-smallvec" ,rust-smallvec-1)
- ("rust-time" ,rust-time-0.2)
+ ("rust-time" ,rust-time-0.3)
("rust-url" ,rust-url-2)
("rust-uuid" ,rust-uuid-0.8))))
(home-page "https://github.com/rusqlite/rusqlite")
@@ -43182,6 +48253,37 @@ 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)
@@ -43308,35 +48410,54 @@ please consider using @code{async-std} or @code{tokio}.")
(inputs
(list sqlite))))
-(define-public rust-rust-argon2-0.7
+(define-public rust-rust-argon2-0.8
(package
(name "rust-rust-argon2")
- (version "0.7.0")
+ (version "0.8.3")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "rust-argon2" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "05xh5wfxgzq3b6jys8r34f3hmqqfs8ylvf934n9z87wfv95szj1b"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rust-argon2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1yvqkv04fqk3cbvyasibr4bqbxa6mij8jdvibakwlcsbjh6q462b"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-constant-time-eq" ,rust-constant-time-eq-0.1)
- ("rust-base64" ,rust-base64-0.11)
+ (("rust-base64" ,rust-base64-0.13)
("rust-blake2b-simd" ,rust-blake2b-simd-0.5)
- ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7))))
+ ("rust-constant-time-eq" ,rust-constant-time-eq-0.1)
+ ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)
+ ("rust-serde" ,rust-serde-1))))
(home-page "https://github.com/sru-systems/rust-argon2")
- (synopsis
- "Rust implementation of the Argon2 password hashing function")
+ (synopsis "Argon2 password hashing function in Rust")
(description
"This package provides a Rust implementation of the Argon2 password
hashing function.")
(license (list license:expat license:asl2.0))))
+(define-public rust-rust-argon2-0.7
+ (package
+ (inherit rust-rust-argon2-0.8)
+ (name "rust-rust-argon2")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rust-argon2" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "05xh5wfxgzq3b6jys8r34f3hmqqfs8ylvf934n9z87wfv95szj1b"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-constant-time-eq" ,rust-constant-time-eq-0.1)
+ ("rust-base64" ,rust-base64-0.11)
+ ("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")
@@ -43899,10 +49020,10 @@ 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
+(define-public rust-rustc-ap-rustc-lexer-725
(package
(name "rust-rustc-ap-rustc-lexer")
- (version "721.0.0")
+ (version "725.0.0")
(source
(origin
(method url-fetch)
@@ -43911,10 +49032,11 @@ It is automatically published using the compiler repository at
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1ldk41a4vxgh39p9650vhw1j7fng06pfmvb4xb2pvp22547gd89b"))))
+ "13pnbln1mnv51p1kgf6ljmzypp9q0j4aplxac5val0x2z0p78l7r"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
+ `(#:skip-build? #t
+ #:cargo-inputs
(("rust-unicode-xid" ,rust-unicode-xid-0.2))
#:cargo-development-inputs
(("rust-expect-test" ,rust-expect-test-1))))
@@ -43926,6 +49048,27 @@ 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)
@@ -44119,6 +49262,25 @@ It is automatically published using the compiler repository at
"This package provides a speedy, non-cryptographic hash used in rustc.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-rustc-hex-2
+ (package
+ (name "rust-rustc-hex")
+ (version "2.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rustc-hex" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1mkjy2vbn5kzg67wgngwddlk4snmd8mkjkql2dzrzzfh6ajzcx9y"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/debris/rustc-hex")
+ (synopsis "Rustc-serialize compatible hex conversion traits")
+ (description "This package provides rustc-serialize compatible hex
+conversion traits.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rustc-rayon-0.3
(package
(name "rust-rustc-rayon")
@@ -44335,22 +49497,24 @@ require unstable language features.")
"small helper to generate version information for git packages")
(license (list license:expat license:asl2.0))))
-(define-public rust-rustc-version-0.3
+(define-public rust-rustc-version-0.4
(package
(name "rust-rustc-version")
- (version "0.3.3")
+ (version "0.4.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "rustc_version" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1vjmw7xcdri0spsf24mkpwpph853wrbqppihhw061i2igh4f5pzh"))))
+ (base32 "0rpk9rcdk405xhbmgclsh4pai0svn49x35aggl4nhbkd4a2zb85z"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-semver" ,rust-semver-0.11))))
+ (("rust-semver" ,rust-semver-1))
+ #:cargo-development-inputs
+ (("rust-doc-comment" ,rust-doc-comment-0.3))))
(home-page "https://github.com/djc/rustc-version-rs")
(synopsis "Library for querying the version of an installed rustc compiler")
(description
@@ -44358,6 +49522,22 @@ require unstable language features.")
rustc compiler.")
(license (list license:expat license:asl2.0))))
+(define-public rust-rustc-version-0.3
+ (package/inherit rust-rustc-version-0.4
+ (name "rust-rustc-version")
+ (version "0.3.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rustc_version" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1vjmw7xcdri0spsf24mkpwpph853wrbqppihhw061i2igh4f5pzh"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-semver" ,rust-semver-0.11))))))
+
(define-public rust-rustc-version-0.2
(package
(inherit rust-rustc-version-0.3)
@@ -44467,10 +49647,10 @@ rustc compiler.")
`(("rust-failure" ,rust-failure-0.1)
,@(alist-delete "rust-anyhow" cargo-inputs)))))))
-(define-public rust-rustls-0.19
+(define-public rust-rustls-0.20
(package
(name "rust-rustls")
- (version "0.19.0")
+ (version "0.20.2")
(source
(origin
(method url-fetch)
@@ -44478,23 +49658,51 @@ rustc compiler.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32 "02wqas2pcxk75s9l9c9f1r5am7258bmqprh68pnqfvkwz0gx4kq6"))))
+ (base32 "111z24faq1i1z3gbznfgl7qp3in2fx1y1adijjsl1q7kj0i5wznk"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
+ (("rust-log" ,rust-log-0.4)
+ ("rust-ring" ,rust-ring-0.16)
+ ("rust-sct" ,rust-sct-0.7)
+ ("rust-webpki" ,rust-webpki-0.22))
+ #:cargo-development-inputs
(("rust-base64" ,rust-base64-0.13)
+ ("rust-criterion" ,rust-criterion-0.3)
+ ("rust-env-logger" ,rust-env-logger-0.9)
("rust-log" ,rust-log-0.4)
- ("rust-ring" ,rust-ring-0.16)
- ("rust-sct" ,rust-sct-0.6)
- ("rust-webpki" ,rust-webpki-0.21))))
- (home-page "https://github.com/ctz/rustls")
+ ("rust-rustls-pemfile" ,rust-rustls-pemfile-0.2)
+ ("rust-webpki-roots" ,rust-webpki-roots-0.22))))
+ (home-page "https://github.com/rustls/rustls")
(synopsis "Modern TLS library written in Rust")
(description
"This package provides a modern TLS library written in Rust.")
(license
(list license:asl2.0 license:isc license:expat))))
+(define-public rust-rustls-0.19
+ (package
+ (inherit rust-rustls-0.20)
+ (name "rust-rustls")
+ (version "0.19.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rustls" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "02wqas2pcxk75s9l9c9f1r5am7258bmqprh68pnqfvkwz0gx4kq6"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-base64" ,rust-base64-0.13)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-ring" ,rust-ring-0.16)
+ ("rust-sct" ,rust-sct-0.6)
+ ("rust-webpki" ,rust-webpki-0.21))))))
+
(define-public rust-rustls-0.18
(package
(inherit rust-rustls-0.19)
@@ -44661,25 +49869,35 @@ rustc compiler.")
("rust-serde-derive" ,rust-serde-derive-1)
("rust-webpki-roots" ,rust-webpki-roots-0.14))))))
-(define-public rust-rustls-native-certs-0.5
+(define-public rust-rustls-native-certs-0.6
(package
(name "rust-rustls-native-certs")
- (version "0.5.0")
+ (version "0.6.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "rustls-native-certs" version))
- (file-name (string-append name "-" version ".tar.gz"))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "14i0bbbigk6r6262hvc51vz4dvqk1f3vg2f264wfvn2vi30vf1ss"))))
+ (base32
+ "0hq9h3kri19kv00gvbq61h21rarqadxh6y98wj0c2gvxlbgypaaw"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-openssl-probe" ,rust-openssl-probe-0.1)
- ("rust-rustls" ,rust-rustls-0.19)
+ ("rust-rustls-pemfile" ,rust-rustls-pemfile-0.2)
("rust-schannel" ,rust-schannel-0.1)
- ("rust-security-framework" ,rust-security-framework-2))))
+ ("rust-security-framework" ,rust-security-framework-2))
+ #:cargo-development-inputs
+ (("rust-ring" ,rust-ring-0.16)
+ ("rust-rustls" ,rust-rustls-0.20)
+ ("rust-serial-test" ,rust-serial-test-0.5)
+ ("rust-untrusted" ,rust-untrusted-0.7)
+ ("rust-webpki" ,rust-webpki-0.22)
+ ("rust-webpki-roots" ,rust-webpki-roots-0.22)
+ ("rust-x509-parser" ,rust-x509-parser-0.12))))
(home-page "https://github.com/ctz/rustls-native-certs")
(synopsis "Use the platform native certificate store with rustls")
(description "@code{rustls-native-certs} allows rustls to use the platform
@@ -44687,6 +49905,26 @@ native certificate store.")
(license
(list license:asl2.0 license:isc license:expat))))
+(define-public rust-rustls-native-certs-0.5
+ (package
+ (inherit rust-rustls-native-certs-0.6)
+ (name "rust-rustls-native-certs")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rustls-native-certs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "14i0bbbigk6r6262hvc51vz4dvqk1f3vg2f264wfvn2vi30vf1ss"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-openssl-probe" ,rust-openssl-probe-0.1)
+ ("rust-rustls" ,rust-rustls-0.19)
+ ("rust-schannel" ,rust-schannel-0.1)
+ ("rust-security-framework" ,rust-security-framework-2))))))
+
(define-public rust-rustls-native-certs-0.4
(package
(inherit rust-rustls-native-certs-0.5)
@@ -44713,6 +49951,29 @@ native certificate store.")
("rust-webpki" ,rust-webpki-0.21)
("rust-webpki-roots" ,rust-webpki-roots-0.20))))))
+(define-public rust-rustls-pemfile-0.2
+ (package
+ (name "rust-rustls-pemfile")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rustls-pemfile" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1jfi97lqnnnnxhmfy6ygrsp0x70m8wsdpaw45svvz1qc6vmymssy"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-base64" ,rust-base64-0.13))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3))))
+ (home-page "https://github.com/rustls/pemfile")
+ (synopsis "Basic parser for PEM formatted keys and certificates")
+ (description "This package provides a very basic parser for the
+PEM-encodings commonly used to store keys and certificates at rest.")
+ (license (list license:asl2.0 license:isc license:expat))))
+
(define-public rust-rusttype-0.9
(package
(name "rust-rusttype")
@@ -45179,14 +50440,14 @@ quickly convert floating point numbers to decimal strings.")
(define-public rust-s3handler-0.7
(package
(name "rust-s3handler")
- (version "0.7.3")
+ (version "0.7.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "s3handler" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "13m2l9m4a1mkmwvzasqsby8gls9mrihalf5gnc6scrbdqkycrnqa"))))
+ (base32 "1cgxjzlili1598j9q21kdmml2m67hmcb1fpamhw8n2xf3h7mkf80"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -45199,7 +50460,8 @@ quickly convert floating point numbers to decimal strings.")
("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-hex" ,rust-hex-0.4)
+ ("rust-hmac" ,rust-hmac-0.11)
("rust-hmac-sha1" ,rust-hmac-sha1-0.1)
("rust-log" ,rust-log-0.4)
("rust-md5" ,rust-md5-0.7)
@@ -45207,12 +50469,11 @@ quickly convert floating point numbers to decimal strings.")
("rust-quick-xml" ,rust-quick-xml-0.22)
("rust-regex" ,rust-regex-1)
("rust-reqwest" ,rust-reqwest-0.11)
- ("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-sha2" ,rust-sha2-0.9)
("rust-tokio" ,rust-tokio-1)
("rust-url" ,rust-url-2))))
(home-page "https://crates.io/crates/s3handler")
@@ -45305,7 +50566,7 @@ quickly convert floating point numbers to decimal strings.")
(define-public rust-salsa-macros-0.17
(package
(name "rust-salsa-macros")
- (version "0.17.0-pre.1")
+ (version "0.17.0-pre.2")
(source
(origin
(method url-fetch)
@@ -45314,7 +50575,7 @@ quickly convert floating point numbers to decimal strings.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1yrjiriw5bb0gxl2dk7c5ng7g5wlkc4gd65czx5x99bzc9hc0brf"))))
+ "1xrgb38l5fhv3lqx2lwnqc3s2zrgxmj63cd7kl0vyl7m5lsjwv5c"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build?
@@ -45331,10 +50592,33 @@ quickly convert floating point numbers to decimal strings.")
"This package provides a procedural macros for the salsa crate.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-salsa20-0.9
+ (package
+ (name "rust-salsa20")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "salsa20" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "11i646kpgimimqiq8hyi0b7ngp588f7nl9xsc317d9kdcxgvn3qc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-cipher" ,rust-cipher-0.3)
+ ("rust-zeroize" ,rust-zeroize-1))))
+ (home-page "https://github.com/RustCrypto/stream-ciphers")
+ (synopsis "Salsa20 Stream Cipher")
+ (description "Salsa20 is a collection of stream cipher algorithms written
+in pure Rust.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-salsa-0.17
(package
(name "rust-salsa")
- (version "0.17.0-pre.1")
+ (version "0.17.0-pre.2")
(source
(origin
(method url-fetch)
@@ -45343,7 +50627,7 @@ quickly convert floating point numbers to decimal strings.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "10jm7s8abw0m7iffa2983kmwgmv342i9g32d1irsgmccx9hq40sq"))))
+ "0ypiig0p9969nkb7k0ydxm5bnc3jva815dfh8hqpackcnk63s8lv"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build?
@@ -45586,7 +50870,7 @@ server functionality.")
`(#:cargo-inputs
(("rust-parking-lot" ,rust-parking-lot-0.11))))
(home-page "https://github.com/sfackler/scheduled-thread-pool")
- (synopsis "A scheduled thread pool")
+ (synopsis "Scheduled thread pool")
(description "This package provides a scheduled thread pool.")
(license (list license:expat license:asl2.0))))
@@ -45747,8 +51031,36 @@ shareable by multiple crates in a build graph and erased by @code{cargo
clean}.")
(license (list license:expat license:asl2.0))))
+(define-public rust-scrypt-0.8
+ (package
+ (name "rust-scrypt")
+ (version "0.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "scrypt" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "09fkz5sc7qx97dyi1nkv69z36diggd2c9mja33cxpsqicdy6sgg7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-hmac" ,rust-hmac-0.12)
+ ("rust-password-hash" ,rust-password-hash-0.3)
+ ("rust-pbkdf2" ,rust-pbkdf2-0.10)
+ ("rust-salsa20" ,rust-salsa20-0.9)
+ ("rust-sha2" ,rust-sha2-0.10))))
+ (home-page "https://github.com/RustCrypto/password-hashes")
+ (synopsis "Scrypt password-based key derivation function")
+ (description
+ "This packages provides a Scrypt password-based key derivation
+function.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-scrypt-0.3
(package
+ (inherit rust-scrypt-0.8)
(name "rust-scrypt")
(version "0.3.0")
(source
@@ -45760,7 +51072,6 @@ clean}.")
(sha256
(base32
"1apicbvp7cgc1z2nl5l48g8h3kp7p592r4zbkx9vsri2ivnvgv43"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-base64" ,rust-base64-0.12)
@@ -45769,12 +51080,7 @@ clean}.")
("rust-rand" ,rust-rand-0.7)
("rust-rand-core" ,rust-rand-core-0.5)
("rust-sha2" ,rust-sha2-0.9)
- ("rust-subtle" ,rust-subtle-2))))
- (home-page "https://github.com/RustCrypto/password-hashes")
- (synopsis "Scrypt password-based key derivation function")
- (description
- "Scrypt password-based key derivation function.")
- (license (list license:expat license:asl2.0))))
+ ("rust-subtle" ,rust-subtle-2))))))
(define-public rust-scrypt-0.2
(package
@@ -45910,8 +51216,30 @@ Pwrite traits from the scroll crate.")
Pwrite traits from the scroll crate.")
(license license:expat)))
+(define-public rust-sct-0.7
+ (package
+ (name "rust-sct")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sct" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "193w3dg2pcn7138ab4c586pl76nkryn4h6wqlwvqj5gqr6vwsgfm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-ring" ,rust-ring-0.16)
+ ("rust-untrusted" ,rust-untrusted-0.7))))
+ (home-page "https://github.com/ctz/sct.rs")
+ (synopsis "Certificate transparency SCT verification library")
+ (description "Certificate transparency SCT verification library.")
+ (license (list license:asl2.0 license:isc license:expat))))
+
(define-public rust-sct-0.6
(package
+ (inherit rust-sct-0.7)
(name "rust-sct")
(version "0.6.0")
(source
@@ -45921,17 +51249,12 @@ Pwrite traits from the scroll crate.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0g4dz7las43kcpi9vqv9c6l1afjkdv3g3w3s7d2w7a7w77wjl173"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-ring" ,rust-ring-0.16)
("rust-untrusted" ,rust-untrusted-0.7))
#:cargo-development-inputs
- (("rust-cc" ,rust-cc-1))))
- (home-page "https://github.com/ctz/sct.rs")
- (synopsis "Certificate transparency SCT verification library")
- (description "Certificate transparency SCT verification library")
- (license (list license:asl2.0 license:isc license:expat))))
+ (("rust-cc" ,rust-cc-1))))))
(define-public rust-sct-0.5
(package
@@ -46474,6 +51797,28 @@ macOS and iOS.")
"Semantic version parsing and comparison.")
(license (list license:expat license:asl2.0))))
+(define-public rust-semver-0.6
+ (package
+ (inherit rust-semver-0.9)
+ (name "rust-semver")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "semver" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0drmjiwkq0znj33q9x9hw7ld8f28n9diyjs3jlh1l1v5kvn8ccbs"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-semver-parser" ,rust-semver-parser-0.7))
+ #:cargo-development-inputs
+ (("rust-crates-index" ,rust-crates-index-0.5)
+ ("rust-tempdir" ,rust-tempdir-0.3))))))
+
(define-public rust-semver-0.1
(package
(name "rust-semver")
@@ -46637,108 +51982,17 @@ formats:
fragment of code.")
(license (list license:expat license:asl2.0))))
-(define-public rust-sequoia-openpgp-0.9
- (package
- (name "rust-sequoia-openpgp")
- (version "0.9.0")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "sequoia-openpgp" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "007h2pi7lcph5jf5bxjydm7hjwjai33yk6dic3cxknki22lxlkfw"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs
- (("rust-base64" ,rust-base64-0.9)
- ("rust-buffered-reader" ,rust-buffered-reader-0.9)
- ("rust-bzip2" ,rust-bzip2-0.3)
- ("rust-failure" ,rust-failure-0.1)
- ("rust-flate2" ,rust-flate2-1)
- ("rust-idna" ,rust-idna-0.1)
- ("rust-lalrpop" ,rust-lalrpop-0.17)
- ("rust-lalrpop-util" ,rust-lalrpop-util-0.17)
- ("rust-lazy-static" ,rust-lazy-static-1)
- ("rust-memsec" ,rust-memsec-0.5)
- ("rust-nettle" ,rust-nettle-5)
- ("rust-quickcheck" ,rust-quickcheck-0.8)
- ("rust-rand" ,rust-rand-0.6)
- ("rust-sequoia-rfc2822" ,rust-sequoia-rfc2822-0.9)
- ("rust-time" ,rust-time-0.1))
- #:cargo-development-inputs
- (("rust-rpassword" ,rust-rpassword-3))))
- (native-inputs
- (list pkg-config))
- (inputs
- (list clang nettle))
- (home-page "https://sequoia-pgp.org/")
- (synopsis "OpenPGP data types and associated machinery")
- (description
- "This crate aims to provide a complete implementation of OpenPGP as
-defined by RFC 4880 as well as some extensions (e.g., RFC 6637, which
-describes ECC cryptography) for OpenPGP. This includes support for unbuffered
-message processing.
-
-A few features that the OpenPGP community considers to be deprecated (e.g.,
-version 3 compatibility) have been left out. We have also updated some
-OpenPGP defaults to avoid foot guns (e.g., we selected modern algorithm
-defaults). If some functionality is missing, please file a bug report.")
- (license license:gpl3)))
-
-(define-public rust-sequoia-rfc2822-0.9
- (package
- (name "rust-sequoia-rfc2822")
- (version "0.9.0")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "sequoia-rfc2822" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1aj34i6862718m162rqfv69fkmvdw063s6ws7hbp42n73gb08p5c"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs
- (("rust-failure" ,rust-failure-0.1)
- ("rust-lalrpop" ,rust-lalrpop-0.17)
- ("rust-lalrpop-util" ,rust-lalrpop-util-0.17))
- #:cargo-development-inputs
- (("rust-lazy-static" ,rust-lazy-static-1)
- ("rust-quickcheck" ,rust-quickcheck-0.8)
- ("rust-rand" ,rust-rand-0.6))))
- (home-page "https://sequoia-pgp.org/")
- (synopsis "RFC 2822 name-addr parser")
- (description
- "Currently, this crate only recognizes the RFC 2822 name-addr and
-addr-spec productions, i.e., things of the form:
-
-Name (Comment) <email@@example.org>
-
-and
-
-email@@example.org
-
-Although the above appear simple to parse, RFC 2822's whitespace and comment
-rules are rather complex. This crate implements the whole grammar." )
- (license license:gpl3)))
-
(define-public rust-serde-1
(package
(name "rust-serde")
- (version "1.0.123")
+ (version "1.0.133")
(source
(origin
(method url-fetch)
(uri (crate-uri "serde" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1bk9733mgiv5sg8yb19y8mc85fb2aaqp1k02v10alavj688idmcj"))))
+ (base32 "16lq33l09nkm0hxdhfjjmh3yjv83rrcqw9lbxb8y4q3va5km0mlp"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -46921,16 +52175,14 @@ rules are rather complex. This crate implements the whole grammar." )
(define-public rust-serde-cbor-0.11
(package
(name "rust-serde-cbor")
- (version "0.11.1")
+ (version "0.11.2")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "serde-cbor" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "08m62mfqjnpa543kd9r9cyxlqc6y73avhsl3n8svgs4h5zxaq60y"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "serde-cbor" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1xf1bq7ixha30914pd5jl3yw9v1x6car7xgrpimvfvs5vszjxvrb"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -47129,15 +52381,14 @@ TOML/JSON/MessagePack strings and serializable values.")
(define-public rust-serde-derive-1
(package
(name "rust-serde-derive")
- (version "1.0.123")
+ (version "1.0.133")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "serde-derive" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0ccg4m7ww6mfs5vjdbdifri2kf1wyd4difjnqnraph2gssaw54ck"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "serde-derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0dym0l8a0pch0mkqnhrf89n4wngzwf0d1z88hb8dhs456acic87d"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -47148,9 +52399,9 @@ TOML/JSON/MessagePack strings and serializable values.")
(("rust-serde" ,rust-serde-1))))
(home-page "https://serde.rs")
(synopsis
- "Macros 1.1 implementation of #[derive(Serialize, Deserialize)]")
+ "Macros 1.1 implementation of #[derive(Serialize, Deserialize)]")
(description
- "Macros 1.1 implementation of #[derive(Serialize, Deserialize)]")
+ "Macros 1.1 implementation of #[derive(Serialize, Deserialize)].")
(license (list license:expat license:asl2.0))))
(define-public rust-serde-derive-0.9
@@ -47210,19 +52461,19 @@ data. This crate provides a wrapper that works with any existing Serde
(define-public rust-serde-json-1
(package
(name "rust-serde-json")
- (version "1.0.64")
+ (version "1.0.74")
(source
(origin
(method url-fetch)
- (uri (crate-uri "serde_json" version))
+ (uri (crate-uri "serde-json" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0y9gk3yikncrc0zajmwc0pidr7zfwafawb4gidf6mqyskzf9g7kr"))))
+ (base32 "0hiixjnrnrvvpyh58av73ds924zgzi4wl0mv8p9nan0w0v6vjazf"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-indexmap" ,rust-indexmap-1)
- ("rust-itoa" ,rust-itoa-0.4)
+ ("rust-itoa" ,rust-itoa-1)
("rust-ryu" ,rust-ryu-1)
("rust-serde" ,rust-serde-1))
#:cargo-development-inputs
@@ -47945,20 +53196,46 @@ functionality and without weak references.")
"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")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sha-1" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "03zag8zk4qlv40n2yryddapv5yxkam3hdr7n53d8qrzr2gali3q2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-cpufeatures" ,rust-cpufeatures-0.2)
+ ("rust-digest" ,rust-digest-0.10)
+ ("rust-sha1-asm" ,rust-sha1-asm-0.5))))
+ (home-page "https://github.com/RustCrypto/hashes")
+ (synopsis "SHA-1 hash function")
+ (description "This crate provides a SHA-1 hash function.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-sha-1-0.9
(package
+ (inherit rust-sha-1-0.10)
(name "rust-sha-1")
(version "0.9.1")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "sha-1" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0w37j7swjkbzgi9mf7ihkw0zfik6vl97fs6jdpqs6r68hvm3c2hp"))))
- (build-system cargo-build-system)
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sha-1" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0w37j7swjkbzgi9mf7ihkw0zfik6vl97fs6jdpqs6r68hvm3c2hp"))))
(arguments
`(#:cargo-inputs
(("rust-block-buffer" ,rust-block-buffer-0.9)
@@ -47970,11 +53247,7 @@ functionality and without weak references.")
("rust-sha1-asm" ,rust-sha1-asm-0.4))
#:cargo-development-inputs
(("rust-digest" ,rust-digest-0.9)
- ("rust-hex-literal" ,rust-hex-literal-0.2))))
- (home-page "https://github.com/RustCrypto/hashes")
- (synopsis "SHA-1 hash function")
- (description "SHA-1 hash function.")
- (license (list license:expat license:asl2.0))))
+ ("rust-hex-literal" ,rust-hex-literal-0.2))))))
(define-public rust-sha-1-0.8
(package
@@ -48057,10 +53330,10 @@ functionality and without weak references.")
((", path =.*}") "}"))
#t)))))))
-(define-public rust-sha1-asm-0.4
+(define-public rust-sha1-asm-0.5
(package
(name "rust-sha1-asm")
- (version "0.4.3")
+ (version "0.5.1")
(source
(origin
(method url-fetch)
@@ -48069,7 +53342,7 @@ functionality and without weak references.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1i1i8viy6y30mv9v5hwhg9w6b722qkyh9c6n8bn4d27jpv14pg0s"))))
+ "1b7ab7f4n87pqdmbl1a5jrc2axf27pvbndsz9qiwwgxw01qlygan"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -48080,6 +53353,21 @@ functionality and without weak references.")
"Assembly implementation of SHA-1 compression function.")
(license license:expat)))
+(define-public rust-sha1-asm-0.4
+ (package
+ (inherit rust-sha1-asm-0.5)
+ (name "rust-sha1-asm")
+ (version "0.4.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sha1-asm" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1i1i8viy6y30mv9v5hwhg9w6b722qkyh9c6n8bn4d27jpv14pg0s"))))))
+
(define-public rust-sha1collisiondetection-0.2
(package
(name "rust-sha1collisiondetection")
@@ -48110,8 +53398,37 @@ This is a port of Marc Stevens' sha1collisiondetection algorithm to Rust. The
code is translated from C to Rust using c2rust.")
(license license:expat)))
+(define-public rust-sha2-0.10
+ (package
+ (name "rust-sha2")
+ (version "0.10.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sha2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1v60pzdr3pp6y2sgg1v1nwv4169rb6psk44jmnnq51y5d60vvhwr"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-cpufeatures" ,rust-cpufeatures-0.2)
+ ("rust-digest" ,rust-digest-0.10)
+ ("rust-sha2-asm" ,rust-sha2-asm-0.6))
+ #: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 "SHA-2 hash functions")
+ (description
+ "This package provides a pure Rust implementation of the SHA-2 hash
+function family including SHA-224, SHA-256, SHA-384, and SHA-512.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-sha2-0.9
(package
+ (inherit rust-sha2-0.10)
(name "rust-sha2")
(version "0.9.5")
(source
@@ -48123,7 +53440,6 @@ code is translated from C to Rust using c2rust.")
(sha256
(base32
"04lzf4swq6cijvxnc6facr3g72h5v7a5z8lz3xrkf8gxa9bswqmk"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-block-buffer" ,rust-block-buffer-0.9)
@@ -48134,13 +53450,7 @@ code is translated from C to Rust using c2rust.")
("rust-sha2-asm" ,rust-sha2-asm-0.6))
#:cargo-development-inputs
(("rust-digest" ,rust-digest-0.9)
- ("rust-hex-literal" ,rust-hex-literal-0.2))))
- (home-page "https://github.com/RustCrypto/hashes")
- (synopsis "SHA-2 hash functions")
- (description
- "This package provides a pure Rust implementation of the SHA-2 hash
-function family including SHA-224, SHA-256, SHA-384, and SHA-512.")
- (license (list license:expat license:asl2.0))))
+ ("rust-hex-literal" ,rust-hex-literal-0.2))))))
(define-public rust-sha2-0.8
(package
@@ -48317,24 +53627,24 @@ functions core functionality.")
picking compatible shaders.")
(license license:expat)))
-(define-public rust-shadow-rs-0.6
+(define-public rust-shadow-rs-0.8
(package
(name "rust-shadow-rs")
- (version "0.6.2")
+ (version "0.8.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "shadow-rs" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0sps996yhchz43zfk9zysjpirz638s1hbhspp998bk6v9l6k7j10"))))
+ (base32 "0iy4f6yzag52qr93hjhm2l8crxhjblr91nffbdd8zzw0xchfjdc9"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-chrono" ,rust-chrono-0.4)
- ("rust-git2" ,rust-git2-0.13))))
+ ("rust-git2" ,rust-git2-0.13)
+ ("rust-is-debug" ,rust-is-debug-1))))
(home-page "https://github.com/baoyachi/shadow-rs")
(synopsis "Recall properties of the build process at run time")
(description
@@ -48343,6 +53653,25 @@ 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)
@@ -48383,7 +53712,7 @@ exactly where a binary came from and how it was built.")
("rust-criterion" ,rust-criterion-0.3)
("rust-proptest" ,rust-proptest-0.9))))
(home-page "https://github.com/hawkw/sharded-slab")
- (synopsis "Lock-free concurrent slab.")
+ (synopsis "Lock-free concurrent slab")
(description "This package provides a lock-free concurrent slab.")
(license license:expat)))
@@ -48412,6 +53741,25 @@ exactly where a binary came from and how it was built.")
"A library for using child processes from multiple threads.")
(license license:expat)))
+(define-public rust-shared-child-0.2
+ (package
+ (inherit rust-shared-child-0.3)
+ (name "rust-shared-child")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "shared-child" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1k0ldvk9p1l0b38bwd3a29ylmwbj60c37hnqzh0hljmyin93i6q9"))))
+ (arguments
+ `(#:skip-build? #t
+ #: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-shared-library-0.1
(package
(name "rust-shared-library")
@@ -48676,49 +54024,48 @@ words, like Python's shlex.")
(define-public rust-signature-1
(package
(name "rust-signature")
- (version "1.2.2")
+ (version "1.5.0")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "signature" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "04325sgl06mksq21a95sbdadg3r3jn3l3nhhxj839qs7s6kn1w19"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "signature" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1r4x94n6ibdd1f85cwmvi29jvyyf1l379n9yybb7jlg9lv0wcm7h"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-digest" ,rust-digest-0.9)
- ("rust-rand-core" ,rust-rand-core-0.5)
- ("rust-signature-derive"
- ,rust-signature-derive-1))))
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-digest" ,rust-digest-0.10)
+ ("rust-rand-core" ,rust-rand-core-0.6)
+ ("rust-signature-derive" ,rust-signature-derive-1))))
(home-page "")
(synopsis "Traits for cryptographic signature algorithms (e.g. ECDSA,
Ed25519)")
(description
- "This package contains traits which provide generic, object-safe APIs
+ "This package contains traits which provide generic, object-safe APIs
for generating and verifying digital signatures.")
(license (list license:asl2.0 license:expat))))
(define-public rust-signature-derive-1
(package
(name "rust-signature-derive")
- (version "1.0.0-pre.2")
+ (version "1.0.0-pre.4")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "signature_derive" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0wp8b8ald7qixrcvvclhdcpmn8hkx049jlc29g57ql0304c6qrdh"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "signature-derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0p1x0wv6grrgdn226m9rsqpcnpfwkpji7rjpalkbk1ynv0xpvf57"))))
(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))))
+ `(#: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 "signature_derive")
(synopsis "Custom derive support for the 'signature' crate")
(description "This package provides proc macros used by the signature
@@ -48939,6 +54286,34 @@ extensions.")
(description "This package provides a diff library for Rust.")
(license license:asl2.0)))
+(define-public rust-simplelog-0.11
+ (package
+ (name "rust-simplelog")
+ (version "0.11.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "simplelog" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "11h8q8lykc829f4bd5llw35p4qi9g6mp0mk1p281fq8qi48w1azc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-ansi-term" ,rust-ansi-term-0.12)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-paris" ,rust-paris-1)
+ ("rust-termcolor" ,rust-termcolor-1))))
+ (home-page "https://github.com/drakulix/simplelog.rs")
+ (synopsis "A simple and easy-to-use logging facility for Rust's log crate")
+ (description
+ "This package provides a simple and easy-to-use logging facility for Rust's
+@code{log} crate. It aims to be a maintainable, easy to integrate facility for
+small to medium sized project")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-simple-logger-1
(package
(name "rust-simple-logger")
@@ -49170,6 +54545,50 @@ data type.")
(base32 "08xw8w61zdfn1094qkq1d554vh5wmm9bqdys8gqqxc4sv2pgrd0p"))))
(arguments `(#:skip-build? #t))))
+(define-public rust-pathfinder-geometry-0.5
+ (package
+ (name "rust-pathfinder-geometry")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pathfinder_geometry" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1lssir0s1cmrpzzrk49jm31nkssh2j715gryww6700x79rxpwyqb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-log" ,rust-log-0.4)
+ ("rust-pathfinder-simd" ,rust-pathfinder-simd-0.5))))
+ (home-page "https://github.com/servo/pathfinder")
+ (synopsis "Basic SIMD-accelerated geometry/linear algebra")
+ (description "This package provides basic SIMD-accelerated geometry/linear
+algebra.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-pathfinder-simd-0.5
+ (package
+ (name "rust-pathfinder-simd")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pathfinder_simd" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1zx6yjch2zwlnbrsq3ljnkwzs9jdf4cbh5wwjkjradahqnn4dzir"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-rustc-version" ,rust-rustc-version-0.3))))
+ (home-page "https://github.com/servo/pathfinder")
+ (synopsis "Simple SIMD Rust library")
+ (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")
@@ -49191,6 +54610,95 @@ data type.")
@samp{foo/bar}, @samp{C:/foo/bar}).")
(license license:expat)))
+(define-public rust-paw-1
+ (package
+ (name "rust-paw")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "paw" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1sc481y42rb08hmww525m4539ppl8k0w14kwxp13vg2dasdzrh09"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-paw-attributes" ,rust-paw-attributes-1)
+ ("rust-paw-raw" ,rust-paw-raw-1))
+ #:cargo-development-inputs
+ (("rust-paw-structopt" ,rust-paw-structopt-1)
+ ("rust-runtime" ,rust-runtime-0.3)
+ ("rust-structopt" ,rust-structopt-0.2))))
+ (home-page "https://github.com/rust-cli/paw")
+ (synopsis "CLI argument parser")
+ (description "This package provides a CLI argument parser.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-paw-attributes-1
+ (package
+ (name "rust-paw-attributes")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "paw-attributes" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0fda1v7y5pfmg8d2v7m0pyvif6c44qjz914jjn718pdyclrmhd8g"))))
+ (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/rust-cli/paw")
+ (synopsis "Proc Macro attributes for the Paw crate")
+ (description "This package provides Proc Macro attributes for the Paw
+crate.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-paw-raw-1
+ (package
+ (name "rust-paw-raw")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "paw-raw" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1wk76ipp34gjh42vivmgdkb2rgr26gwhn34gk7z5l378ixk5j2vz"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/rust-cli/paw")
+ (synopsis "Traits to implement custom Paw implementations")
+ (description "This package provides traits to implement custom Paw
+implementations.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-paw-structopt-1
+ (package
+ (name "rust-paw-structopt")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "paw-structopt" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1iwg83xqjpfgpy8wrq173cy7zgkyxfryd230sh34f5qsjdx7zap4"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-0.4)
+ ("rust-quote" ,rust-quote-0.6)
+ ("rust-structopt" ,rust-structopt-0.2)
+ ("rust-syn" ,rust-syn-0.15))))
+ (home-page "https://github.com/rust-cli/paw")
+ (synopsis "Structopt support for the Paw crate")
+ (description "This package provides Structopt support for the Paw crate.")
+ (license (list license:expat license:asl2.0))))
+
;; TODO: Unbundle sleef.
(define-public rust-sleef-sys-0.1
(package
@@ -49604,8 +55112,39 @@ stack.")
control on the fields.")
(license license:expat)))
+(define-public rust-smol-1
+ (package
+ (name "rust-smol")
+ (version "1.2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "smol" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1r45zng0hymqx1kb2dmxkapbin7f9rhgrdcssz0q7rzka59kpkw5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-async-channel" ,rust-async-channel-1)
+ ("rust-async-executor" ,rust-async-executor-1)
+ ("rust-async-fs" ,rust-async-fs-1)
+ ("rust-async-io" ,rust-async-io-1)
+ ("rust-async-lock" ,rust-async-lock-2)
+ ("rust-async-net" ,rust-async-net-1)
+ ("rust-async-process" ,rust-async-process-1)
+ ("rust-blocking" ,rust-blocking-1)
+ ("rust-futures-lite" ,rust-futures-lite-1)
+ ("rust-once-cell" ,rust-once-cell-1))))
+ (home-page "https://github.com/stjepang/smol")
+ (synopsis "Small and fast async runtime")
+ (description "This package provides a small and fast async runtime.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-smol-0.1
(package
+ (inherit rust-smol-1)
(name "rust-smol")
(version "0.1.18")
(source
@@ -49615,7 +55154,6 @@ control on the fields.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1mdflwzgw1jxwrjffqn09lb4hn6d076s1ka8lb9mgnildqybn332"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
'("--release" "--" "--skip=task::Task<Result<T, E>>")
@@ -49638,16 +55176,12 @@ control on the fields.")
(("rust-criterion" ,rust-criterion-0.3)
("rust-futures" ,rust-futures-0.3)
("rust-piper" ,rust-piper-0.1)
- ("rust-tempfile" ,rust-tempfile-3))))
- (home-page "https://github.com/stjepang/smol")
- (synopsis "Small and fast async runtime")
- (description "This package provides a small and fast async runtime.")
- (license (list license:asl2.0 license:expat))))
+ ("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-smol-str-0.1
(package
(name "rust-smol-str")
- (version "0.1.17")
+ (version "0.1.21")
(source
(origin
(method url-fetch)
@@ -49656,7 +55190,7 @@ control on the fields.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1srj7gd14cllfwh55jwmid425rz2idpvbw7ly08448r97b7gg83c"))))
+ "1gb14a85k6mzpn6s78flwvfl5vy1czsrzlwcgidy7k00wf1mrlb1"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -49804,6 +55338,49 @@ non-empty snake_case.")
algorithm. Includes streaming compression and decompression.")
(license license:bsd-3)))
+(define-public rust-snap-0.2
+ (package
+ (inherit rust-snap-1)
+ (name "rust-snap")
+ (version "0.2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "snap" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0hvzvvywzw654y2r3j4jya5af8j0nf2vydfjp1w8pba47pb9gmlm"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-snappy-cpp" ,rust-snappy-cpp-0.1))))))
+
+(define-public rust-snappy-cpp-0.1
+ (package
+ (name "rust-snappy-cpp")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "snappy-cpp" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0sxga9z8sg4gp6ghyz1p8r3c6flzjw57dlqdxavhvcjr1iwcfki3"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (home-page "https://github.com/BurntSushi/snap")
+ (synopsis "Simple Snappy C++ bindings for testing and benchmarking")
+ (description
+ "This package provides simple Snappy C++ bindings for testing and
+benchmarking.")
+ (license license:bsd-3)))
+
(define-public rust-socket2-0.4
(package
(name "rust-socket2")
@@ -49996,19 +55573,22 @@ track of where each new file and line starts.")
"An RSpec inspired minimal testing framework for Rust.")
(license license:expat)))
-(define-public rust-spin-0.5
+(define-public rust-spin-0.9
(package
(name "rust-spin")
- (version "0.5.2")
+ (version "0.9.2")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "spin" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0b84m6dbzrwf2kxylnw82d3dr8w06av7rfkr8s85fb5f43rwyqvf"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "spin" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1rch0my17z66fam7hbynvrcs6jk63b08jv4s04mhdksv1jz584ji"))))
(build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-lock-api" ,rust-lock-api-0.4))))
(home-page "https://github.com/mvdnes/spin-rs")
(synopsis "Synchronization primitives based on spinning")
(description "This crate provides synchronization primitives based on
@@ -50016,6 +55596,19 @@ spinning. They may contain data, are usable without @code{std},and static
initializers are available.")
(license license:expat)))
+(define-public rust-spin-0.5
+ (package
+ (inherit rust-spin-0.9)
+ (name "rust-spin")
+ (version "0.5.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "spin" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0b84m6dbzrwf2kxylnw82d3dr8w06av7rfkr8s85fb5f43rwyqvf"))))))
+
(define-public rust-spin-0.4
(package
(inherit rust-spin-0.5)
@@ -50149,6 +55742,28 @@ and spirv-std-macros.")
SPIR-V.")
(license (list license:expat license:asl2.0))))
+(define-public rust-spki-0.4
+ (package
+ (name "rust-spki")
+ (version "0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "spki" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ckgkcg6db5y94dqhmyikgn8yrsah6pyf4j197hv1c51bp0s00aw"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t #:cargo-inputs (("rust-der" ,rust-der-0.4))))
+ (home-page "https://github.com/RustCrypto/formats/tree/master/spki")
+ (synopsis
+ "X.509 Subject Public Key Info (RFC5280) describing public keys ")
+ (description
+ "This package provides X.509 Subject Public Key Info (RFC5280)
+describing public keys as well as their associated AlgorithmIdentifiers (i.e.
+OIDs)")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-spmc-0.3
(package
(name "rust-spmc")
@@ -50232,6 +55847,71 @@ service.")
"This package provides a single-producer single-consumer lock-free buffer.")
(license license:expat)))
+(define-public rust-sqlite-0.26
+ (package
+ (name "rust-sqlite")
+ (version "0.26.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sqlite" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0snvg09bs0n8skcxkx52lcymdn0l130a2m8fpvxpdhkyq0sabc9z"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-sqlite3-sys" ,rust-sqlite3-sys-0.13))))
+ (home-page "https://github.com/stainless-steel/sqlite")
+ (synopsis "Interface to SQLite")
+ (description "The package provides an interface to SQLite.")
+ (license (list license:asl2.0 license:expat))))
+
+(define-public rust-sqlite3-src-0.3
+ (package
+ (name "rust-sqlite3-src")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sqlite3-src" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "18ygmfcpkccs8s9m5s9q31rrx1mrdps387w9yp3481jswxyb0q52"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cc" ,rust-cc-1)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (home-page "https://github.com/stainless-steel/sqlite3-src")
+ (synopsis "Provider of SQLite")
+ (description "The package provides SQLite.")
+ (license (list license:asl2.0 license:expat))))
+
+(define-public rust-sqlite3-sys-0.13
+ (package
+ (name "rust-sqlite3-sys")
+ (version "0.13.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sqlite3-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0m1f5r4xg5i3r6795q8vwqfdcq3gh1qlfjwkywnka57bz8lg1lh4"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-sqlite3-src" ,rust-sqlite3-src-0.3))))
+ (home-page "https://github.com/stainless-steel/sqlite3-sys")
+ (synopsis "Bindings to SQLite")
+ (description "The package provides bindings to SQLite.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-st-map-0.1
(package
(name "rust-st-map")
@@ -50335,7 +56015,7 @@ deeply recursive algorithms that may accidentally blow the stack.")
(define-public rust-standback-0.2
(package
(name "rust-standback")
- (version "0.2.10")
+ (version "0.2.17")
(source
(origin
(method url-fetch)
@@ -50343,7 +56023,7 @@ deeply recursive algorithms that may accidentally blow the stack.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1rnqv9dbq9c4nz7097v0f1d04fjwwsvvyy8rmz8lg1szxahix9rk"))))
+ "1zr8zy3kzryaggz3k0j4135m3zbd31pyqmja8cyj8yp07mpzn4z1"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-development-inputs
@@ -50565,6 +56245,27 @@ Rust.")
Rust.")
(license license:expat)))
+(define-public rust-stats-alloc-0.1
+ (package
+ (name "rust-stats-alloc")
+ (version "0.1.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "stats-alloc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1l3rs4m0q8y78dr9r4wxwhncqakkqzic4bqc6sgrcwv2y9mwjq52"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t))
+ (home-page "https://github.com/neoeinstein/stats_alloc")
+ (synopsis "Allocator wrapper")
+ (description
+ "This package provides an allocator wrapper that allows for
+instrumenting global allocators.")
+ (license license:expat)))
+
(define-public rust-stb-truetype-0.3
(package
(name "rust-stb-truetype")
@@ -50880,6 +56581,30 @@ UTF-8.")
(("rust-blobby" ,rust-blobby-0.1)
("rust-generic-array" ,rust-generic-array-0.13))))))
+(define-public rust-streaming-decompression-0.1
+ (package
+ (name "rust-streaming-decompression")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "streaming-decompression" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "14ncaqb723wz5xx2ws7g8d3qx9hlhrx95wllf152qx6wsnn8gilv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-fallible-streaming-iterator"
+ ,rust-fallible-streaming-iterator-0.1))))
+ (home-page "https://crates.io/crates/streaming-decompression")
+ (synopsis "Fallible streaming iterator for compression and decompression")
+ (description
+ "This package provides a fallible streaming iterator specialized for
+compression and decompression.")
+ (license license:asl2.0)))
+
(define-public rust-streaming-iterator-0.1
(package
(name "rust-streaming-iterator")
@@ -50926,8 +56651,33 @@ iterated over only by reference rather than by value.")
(license (list license:unlicense
license:expat))))
+(define-public rust-streebog-0.10
+ (package
+ (name "rust-streebog")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "streebog" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1w7sxj3risp0zqm6r4mc73bd3fn3bnlxi4l10gp7661i5asr6ajz"))))
+ (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 "Streebog (GOST R 34.11-2012) hash function")
+ (description
+ "This package provides a streebog (GOST R 34.11-2012) hash function.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-streebog-0.9
(package
+ (inherit rust-streebog-0.10)
(name "rust-streebog")
(version "0.9.2")
(source
@@ -50939,7 +56689,6 @@ iterated over only by reference rather than by value.")
(sha256
(base32
"0lz7ajfqdqbrnj01m1xc01ch1g0s9391ma36qqkiyf1074d1r8nr"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-block-buffer" ,rust-block-buffer-0.9)
@@ -50947,12 +56696,7 @@ iterated over only by reference rather than by value.")
("rust-opaque-debug" ,rust-opaque-debug-0.3))
#:cargo-development-inputs
(("rust-digest" ,rust-digest-0.9)
- ("rust-hex-literal" ,rust-hex-literal-0.2))))
- (home-page "https://github.com/RustCrypto/hashes")
- (synopsis "Streebog (GOST R 34.11-2012) hash function")
- (description
- "This package provides a streebog (GOST R 34.11-2012) hash function.")
- (license (list license:expat license:asl2.0))))
+ ("rust-hex-literal" ,rust-hex-literal-0.2))))))
(define-public rust-strength-reduce-0.2
(package
@@ -51588,17 +57332,19 @@ easier in Rust.")
(define-public rust-subtle-2
(package
(name "rust-subtle")
- (version "2.2.3")
+ (version "2.4.1")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "subtle" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1h9jd7v0imksyl5mvnjk2rw54sa3xrril76z0md61mq2gh056bah"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "subtle" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "00b6jzh9gzb0h9n25g06nqr90z3xzqppfhhb260s1hjhh4pg7pkb"))))
(build-system cargo-build-system)
+ (arguments
+ `(#:cargo-development-inputs (("rust-rand" ,rust-rand-0.7))))
(home-page "https://dalek.rs/")
(synopsis
"Pure-Rust traits and utilities for cryptographic implementations")
@@ -52025,14 +57771,14 @@ browsers.")
(define-public rust-syn-1
(package
(name "rust-syn")
- (version "1.0.72")
+ (version "1.0.82")
(source
(origin
(method url-fetch)
(uri (crate-uri "syn" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "10mb1cqmq2vpl5v6qjgqqyvhgs9yf9xv9f0dbskababrzfzcvs51"))))
+ (base32 "0ncx7gg5mvd16q5xf77hgk09nwmfq0ppsn0vgc9x9jv0pg85vbwd"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -52218,16 +57964,16 @@ a syntax tree of Rust source code.")
(define-public rust-synstructure-0.12
(package
(name "rust-synstructure")
- (version "0.12.3")
+ (version "0.12.6")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "synstructure" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0igmc5fzpk6fg7kgff914j05lbpc6ai2wmji312v2h8vvjhnwrb7"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "synstructure" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "03r1lydbf3japnlpc4wka7y90pmz1i0danaj3f9a7b431akdlszk"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -52235,7 +57981,16 @@ a syntax tree of Rust source code.")
(("rust-unicode-xid" ,rust-unicode-xid-0.2)
("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-syn" ,rust-syn-1)
- ("rust-quote" ,rust-quote-1))))
+ ("rust-quote" ,rust-quote-1))
+ #:cargo-development-inputs
+ (("rust-synstructure-test-traits" ,rust-synstructure-test-traits-0.1))
+ #:phases
+ (modify-phases %standard-phases
+ ;; https://github.com/mystor/synstructure/issues/51
+ (add-after 'unpack 'fix-test
+ (lambda _
+ (substitute* "src/lib.rs"
+ (("non_upper_case_globals )") "non_upper_case_globals)")))))))
(home-page "https://github.com/mystor/synstructure")
(synopsis "Helper methods and macros for custom derives")
(description
@@ -52292,7 +58047,7 @@ a syntax tree of Rust source code.")
(define-public rust-syntect-4
(package
(name "rust-syntect")
- (version "4.5.0")
+ (version "4.6.0")
(source
(origin
(method url-fetch)
@@ -52300,14 +58055,14 @@ a syntax tree of Rust source code.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1r9ij3qmq4cs83jwpk1043sai1dwdghb8lwkm34rs12d7frc5yib"))))
+ (base32 "0cd0rbi5r83p9pqph0gyj3vgr18ihh54amv9dvh0pvl0prdq284b"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ;missing files
#:cargo-inputs
(("rust-bincode" ,rust-bincode-1)
("rust-bitflags" ,rust-bitflags-1)
- ("rust-fancy-regex" ,rust-fancy-regex-0.3)
+ ("rust-fancy-regex" ,rust-fancy-regex-0.7)
("rust-flate2" ,rust-flate2-1)
("rust-fnv" ,rust-fnv-1)
("rust-lazy-static" ,rust-lazy-static-1)
@@ -52323,7 +58078,9 @@ a syntax tree of Rust source code.")
#:cargo-development-inputs
(("rust-criterion" ,rust-criterion-0.3)
("rust-getopts" ,rust-getopts-0.2)
- ("rust-pretty-assertions" ,rust-pretty-assertions-0.6))))
+ ("rust-pretty-assertions" ,rust-pretty-assertions-0.6)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-regex" ,rust-regex-1))))
(home-page "https://github.com/trishume/syntect")
(synopsis "Library for syntax highlighting and code intelligence")
(description
@@ -52604,26 +58361,23 @@ no_std compatible by default, only relying on alloc.")
("rust-errno" ,rust-errno-0.2)
("rust-libc" ,rust-libc-0.2))))))
-(define-public rust-sysinfo-0.18
+(define-public rust-sysinfo-0.23
(package
(name "rust-sysinfo")
- (version "0.18.2")
+ (version "0.23.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "sysinfo" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0zd974yydc4yszxgx9hiqm5ah2rqnsgyq3qrl7raf90scpxaw16l"))))
+ (base32 "14d5fgg24x4rfd6226dl1grsv5lnid0kynp6kfzb3lmylh070xcy"))))
(build-system cargo-build-system)
(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)
@@ -52636,6 +58390,78 @@ 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)
@@ -52712,8 +58538,46 @@ processors, disks, components and networks.")
(description "Send log messages to syslog.")
(license license:expat)))
+(define-public rust-system-deps-3
+ (package
+ (name "rust-system-deps")
+ (version "3.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "system-deps" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "19ig3hxgyq9d7qy8cwpl74l75ay2w0y0a4rginqb68h7hygjc328"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;source is missing some test files
+ #:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-cfg-expr" ,rust-cfg-expr-0.8)
+ ("rust-heck" ,rust-heck-0.3)
+ ("rust-itertools" ,rust-itertools-0.10)
+ ("rust-pkg-config" ,rust-pkg-config-0.3)
+ ("rust-strum" ,rust-strum-0.21)
+ ("rust-strum-macros" ,rust-strum-macros-0.21)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-toml" ,rust-toml-0.5)
+ ("rust-version-compare" ,rust-version-compare-0.0))
+ #:cargo-development-inputs
+ (("rust-assert-matches" ,rust-assert-matches-1)
+ ("rust-itertools" ,rust-itertools-0.10)
+ ("rust-lazy-static" ,rust-lazy-static-1))))
+ (home-page "https://github.com/gdesmott/system-deps")
+ (synopsis "Define system dependencies in @file{Cargo.toml}")
+ (description "This crate lets you write system dependencies in
+@file{Cargo.toml} metadata, rather than programmatically in @file{build.rs}.
+This makes those dependencies declarative, so other tools can read them as
+well.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-system-deps-1
(package
+ (inherit rust-system-deps-3)
(name "rust-system-deps")
(version "1.3.2")
(source
@@ -52726,9 +58590,8 @@ processors, disks, components and networks.")
(modules '((guix build utils)))
(snippet
'(begin (substitute* "Cargo.toml"
- (("0.0.10") "0.0"))
+ (("0.0.10") "0.0.11"))
#t))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ;source is missing some test files
#:cargo-inputs
@@ -52738,16 +58601,9 @@ processors, disks, components and networks.")
("rust-strum-macros" ,rust-strum-macros-0.18)
("rust-thiserror" ,rust-thiserror-1)
("rust-toml" ,rust-toml-0.5)
- ("rust-version-compare" ,rust-version-compare-0.0))
+ ("rust-version-compare" ,rust-version-compare-0.0.11))
#:cargo-development-inputs
- (("rust-itertools" ,rust-itertools-0.9))))
- (home-page "https://github.com/gdesmott/system-deps")
- (synopsis "Define system dependencies in @file{Cargo.toml}")
- (description
- "This crate lets you write system dependencies in @file{Cargo.toml}
-metadata, rather than programmatically in @file{build.rs}. This makes those
-dependencies declarative, so other tools can read them as well.")
- (license (list license:expat license:asl2.0))))
+ (("rust-itertools" ,rust-itertools-0.9))))))
(define-public rust-tabwriter-1
(package
@@ -52829,7 +58685,7 @@ without a mutable reference.")
"0hvd6vk4ksgg2y99498jw52ric4lxm0i6ygpzqm95gdrhvsxyynp"))))
(build-system cargo-build-system)
(home-page "https://docs.rs/takeable-option/")
- (synopsis "A small wrapper around option.")
+ (synopsis "Small wrapper around option")
(description
"This package provides a small wrapper around option.")
(license (list license:asl2.0 license:expat))))
@@ -52837,16 +58693,14 @@ without a mutable reference.")
(define-public rust-tap-1
(package
(name "rust-tap")
- (version "1.0.0")
+ (version "1.0.1")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "tap" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "13h7rw3zg3qyb4wrri8l6xbd1wrxd2rq29sqxnkd7zqs5mrlwirn"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tap" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0sc3gl4nldqpvyhqi3bbd0l9k7fngrcl4zs47n314nqqk4bpx4sm"))))
(build-system cargo-build-system)
(home-page "https://github.com/myrrlyn/tap")
(synopsis "Generic extensions for tapping values in Rust")
@@ -52913,29 +58767,57 @@ memory all at once.")
@code{build.rs} scripts.")
(license (list license:isc license:asl2.0))))
-(define-public rust-target-lexicon-0.10
+(define-public rust-target-lexicon-0.12
(package
(name "rust-target-lexicon")
- (version "0.10.0")
+ (version "0.12.2")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "target-lexicon" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "17diw9c3d1vb5rmwwk2ghsyhfs0gj5jm78hrwxxhmd67vhw743mb"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "target-lexicon" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1zsvillq0zsggg3fb0mfmcia0f68wfclahaqc0zgln14pkfzrgyr"))))
(build-system cargo-build-system)
(arguments `(#:skip-build? #t))
- (home-page
- "https://github.com/CraneStation/target-lexicon")
- (synopsis
- "Targeting utilities for compilers and related tools")
+ (home-page "https://github.com/CraneStation/target-lexicon")
+ (synopsis "Targeting utilities for compilers and related tools")
(description
- "Targeting utilities for compilers and related tools")
+ "This package provides targeting utilities for compilers and related
+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)
+ (name "rust-target-lexicon")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "target-lexicon" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "17diw9c3d1vb5rmwwk2ghsyhfs0gj5jm78hrwxxhmd67vhw743mb"))))
+ (arguments `(#:skip-build? #t))))
+
(define-public rust-tectonic-bridge-core-0.3
(package
(name "rust-tectonic-bridge-core")
@@ -53634,6 +59516,28 @@ directories.")
("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")
@@ -54447,6 +60351,30 @@ different for every thread.")
`(#:cargo-inputs
(("rust-thread-id" ,rust-thread-id-2))))))
+(define-public rust-thread-priority-0.4
+ (package
+ (name "rust-thread-priority")
+ (version "0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "thread-priority" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ccidjv5ra017knav1h34bzlscpx856fhz7kln3zhszh3jpr8qqg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/vityafx/thread-priority")
+ (synopsis "Library for managing threads priority and schedule policies")
+ (description
+ "Library for managing threads priority and schedule policies.")
+ (license license:expat)))
+
(define-public rust-thread-tree-0.3
(package
(name "rust-thread-tree")
@@ -54664,19 +60592,47 @@ fixed set of worker threads.")
introspection APIs.")
(license (list license:expat license:asl2.0))))
-(define-public rust-time-0.2
+(define-public rust-time-0.3
(package
(name "rust-time")
- (version "0.2.23")
+ (version "0.3.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "time" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "12z95k0005rmyn9pf9v4hq80khsns7y5wfydnjr5jpci2yiyxnmw"))))
+ (base32 "1b943jf54q1667i328x3z73fsjdhcqdqccxckx1nzwwaz9ygxvs1"))))
(build-system cargo-build-system)
(arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-itoa" ,rust-itoa-0.4)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-quickcheck" ,rust-quickcheck-1)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-time-macros" ,rust-time-macros-0.2))))
+ (home-page "https://github.com/time-rs/time")
+ (synopsis "Date and time library")
+ (description "This package provides a date and time library. It is fully
+interoperable with the standard library, and is mostly compatible with
+@code{#![no_std]}.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-time-0.2
+ (package
+ (inherit rust-time-0.3)
+ (name "rust-time")
+ (version "0.2.27")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "time" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0hm209d078jfgxzjhi5xqim64q31rlj1h70zz57qbmpbirzsjlj7"))))
+ (arguments
`(#:cargo-inputs
(("rust-const-fn" ,rust-const-fn-0.4)
("rust-libc" ,rust-libc-0.2)
@@ -54690,13 +60646,7 @@ introspection APIs.")
#:cargo-development-inputs
(("rust-rand" ,rust-rand-0.7)
("rust-serde-json" ,rust-serde-json-1)
- ("rust-standback" ,rust-standback-0.2))))
- (home-page "https://github.com/time-rs/time")
- (synopsis "Date and time library")
- (description "This package provides a date and time library. It is fully
-interoperable with the standard library, and is mostly compatible with
-@code{#![no_std]}.")
- (license (list license:expat license:asl2.0))))
+ ("rust-standback" ,rust-standback-0.2))))))
(define-public rust-time-0.1
(package
@@ -54729,29 +60679,42 @@ in Rust.")
(license (list license:asl2.0
license:expat))))
-(define-public rust-time-macros-0.1
+(define-public rust-time-macros-0.2
(package
(name "rust-time-macros")
- (version "0.1.0")
+ (version "0.2.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "time-macros" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0bdbxjgbxb81xgy08h5dh4qvwy95sy9x8g1y31g11g4my3lvdscs"))))
+ (base32 "1mj7pv8y9j2csrh1l8aabras36pgysbnfy18330srh4g8sihrsr5"))))
(build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs
- (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)
- ("rust-time-macros-impl" ,rust-time-macros-impl-0.1))))
+ (arguments `(#:skip-build? #t))
(home-page "https://github.com/time-rs/time")
(synopsis "Procedural macros for the time crate")
(description "This package provides procedural macros for the time
crate.")
(license (list license:expat license:asl2.0))))
+(define-public rust-time-macros-0.1
+ (package
+ (inherit rust-time-macros-0.2)
+ (name "rust-time-macros")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "time-macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1wg24yxpxcfmim6dgblrf8p321m7cyxpdivzvp8bcb7i4rp9qzlm"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)
+ ("rust-time-macros-impl" ,rust-time-macros-impl-0.1))))))
+
(define-public rust-time-macros-impl-0.1
(package
(name "rust-time-macros-impl")
@@ -54941,6 +60904,32 @@ manipulation in Rust.")
specified in FIPS-202, SP800-185 and KangarooTwelve.")
(license license:cc0)))
+(define-public rust-tinyfiledialogs-3
+ (package
+ (name "rust-tinyfiledialogs")
+ (version "3.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tinyfiledialogs" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1sfx2wddmd6dg8vwn53iwlabrynn6gzfbnvhskhy89iwd9i7gidd"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-cc" ,rust-cc-1)
+ ("rust-libc" ,rust-libc-0.2))))
+ (home-page "https://github.com/jdm/tinyfiledialogs-rs")
+ (synopsis "High-level Rust binding for the tinyfiledialogs C library")
+ (description
+ "This package provides high-level Rust binding for the tinyfiledialogs
+C library.")
+ (license license:zlib)))
+
(define-public rust-tinytemplate-1
(package
(name "rust-tinytemplate")
@@ -55055,10 +61044,10 @@ to a style defined by John Gruber for post titles on his website ``Daring
Fireball''.")
(license license:expat)))
-(define-public rust-tokio-1.8
+(define-public rust-tokio-1
(package
(name "rust-tokio")
- (version "1.8.0")
+ (version "1.15.0")
(source
(origin
(method url-fetch)
@@ -55066,12 +61055,13 @@ Fireball''.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1m18rs51wz6s7dwdwzr0j63kh815x4dx9k0f2c485crs7fqjw32p"))))
+ "0f2qwp9ljc4gf955g7qcksp0jc1bwmzxb2nf6mb7h1n2irvirgzv"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-bytes" ,rust-bytes-1)
+ (("rust-autocfg" ,rust-autocfg-1)
+ ("rust-bytes" ,rust-bytes-1)
("rust-libc" ,rust-libc-0.2)
("rust-memchr" ,rust-memchr-2)
("rust-mio" ,rust-mio-0.7)
@@ -55082,16 +61072,7 @@ Fireball''.")
("rust-signal-hook-registry" ,rust-signal-hook-registry-1)
("rust-tokio-macros" ,rust-tokio-macros-1)
("rust-tracing" ,rust-tracing-0.1)
- ("rust-winapi" ,rust-winapi-0.3))
- #:cargo-development-inputs
- (("rust-async-stream" ,rust-async-stream-0.3)
- ("rust-autocfg" ,rust-autocfg-1)
- ("rust-nix" ,rust-nix-0.19)
- ("rust-futures" ,rust-futures-0.3)
- ("rust-proptest" ,rust-proptest-1)
- ("rust-sokcet2-0.4" ,rust-socket2-0.4)
- ("rust-tokio-stream" ,rust-tokio-stream-0.1)
- ("rust-tokio-test" ,rust-tokio-test-0.4))))
+ ("rust-winapi" ,rust-winapi-0.3))))
(home-page "https://tokio.rs")
(synopsis "Event-driven, non-blocking I/O platform")
(description
@@ -55099,11 +61080,11 @@ Fireball''.")
writing asynchronous I/O backed applications.")
(license license:expat)))
-(define-public rust-tokio-1
+(define-public rust-tokio-1.8
(package
- (inherit rust-tokio-1.8)
+ (inherit rust-tokio-1)
(name "rust-tokio")
- (version "1.2.0")
+ (version "1.8.0")
(source
(origin
(method url-fetch)
@@ -55111,12 +61092,11 @@ writing asynchronous I/O backed applications.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0fmfykdp29hjq5264mp6sa4c0wp5mlimbi0dd9mrxsk5qq20s6g8"))))
+ "1m18rs51wz6s7dwdwzr0j63kh815x4dx9k0f2c485crs7fqjw32p"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-autocfg" ,rust-autocfg-1)
- ("rust-bytes" ,rust-bytes-1)
+ (("rust-bytes" ,rust-bytes-1)
("rust-libc" ,rust-libc-0.2)
("rust-memchr" ,rust-memchr-2)
("rust-mio" ,rust-mio-0.7)
@@ -55127,7 +61107,16 @@ writing asynchronous I/O backed applications.")
("rust-signal-hook-registry" ,rust-signal-hook-registry-1)
("rust-tokio-macros" ,rust-tokio-macros-1)
("rust-tracing" ,rust-tracing-0.1)
- ("rust-winapi" ,rust-winapi-0.3))))))
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-async-stream" ,rust-async-stream-0.3)
+ ("rust-autocfg" ,rust-autocfg-1)
+ ("rust-nix" ,rust-nix-0.19)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-proptest" ,rust-proptest-1)
+ ("rust-sokcet2-0.4" ,rust-socket2-0.4)
+ ("rust-tokio-stream" ,rust-tokio-stream-0.1)
+ ("rust-tokio-test" ,rust-tokio-test-0.4))))))
(define-public rust-tokio-0.3
(package
@@ -55526,10 +61515,34 @@ the current thread.")
futures efficiently")
(license (list license:asl2.0 license:expat))))
+(define-public rust-tokio-io-timeout-1
+ (package
+ (name "rust-tokio-io-timeout")
+ (version "1.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokio-io-timeout" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1s9dlkzsn0yng98zdmkddjx11jwawkxk3pbi8laxwh72dc89zi4h"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/sfackler/tokio-io-timeout")
+ (synopsis "Tokio wrappers which apply timeouts to IO operations")
+ (description
+ "This package provides Tokio wrappers which apply timeouts to IO
+operations.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-tokio-macros-1
(package
(name "rust-tokio-macros")
- (version "1.1.0")
+ (version "1.7.0")
(source
(origin
(method url-fetch)
@@ -55537,7 +61550,7 @@ futures efficiently")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0mys5zm2gcdgc0iq8nqipzn703q26x1bpw59m04shikgacdb3xya"))))
+ "1ds34qsfvgf63cjgdx3gr4pl7i76fifyar15ksbillcc8hpzfmxm"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -56898,18 +62911,127 @@ serializing Rust structures.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-tonic-0.6
+ (package
+ (name "rust-tonic")
+ (version "0.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tonic" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1yjsnfkkq3c7xcyxkid0zgpm8w774qqdny0im6fr0s1drxwkn814"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-async-stream" ,rust-async-stream-0.3)
+ ("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-base64" ,rust-base64-0.13)
+ ("rust-bytes" ,rust-bytes-1)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-h2" ,rust-h2-0.3)
+ ("rust-http" ,rust-http-0.2)
+ ("rust-http-body" ,rust-http-body-0.4)
+ ("rust-hyper" ,rust-hyper-0.14)
+ ("rust-hyper-timeout" ,rust-hyper-timeout-0.4)
+ ("rust-percent-encoding" ,rust-percent-encoding-2)
+ ("rust-pin-project" ,rust-pin-project-1)
+ ("rust-prost" ,rust-prost-0.9)
+ ("rust-prost-derive" ,rust-prost-derive-0.9)
+ ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.5)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-rustls" ,rust-tokio-rustls-0.22)
+ ("rust-tokio-stream" ,rust-tokio-stream-0.1)
+ ("rust-tokio-util" ,rust-tokio-util-0.6)
+ ("rust-tower" ,rust-tower-0.4)
+ ("rust-tower-layer" ,rust-tower-layer-0.3)
+ ("rust-tower-service" ,rust-tower-service-0.3)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-tracing-futures" ,rust-tracing-futures-0.2)
+ ("rust-webpki-roots" ,rust-webpki-roots-0.21))))
+ (home-page "https://github.com/hyperium/tonic")
+ (synopsis "gRPC over HTTP/2 implementation for Rust")
+ (description
+ "This package provides a gRPC over HTTP/2 implementation focused on high
+performance, interoperability, and flexibility.")
+ (license license:expat)))
+
+(define-public rust-totp-lite-1
+ (package
+ (name "rust-totp-lite")
+ (version "1.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "totp-lite" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "12ql4pi9q7sf5651588wia2l5h4mil3kv9jrrkib5gvlpvl0k05i"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-digest" ,rust-digest-0.9)
+ ("rust-hmac" ,rust-hmac-0.11)
+ ("rust-sha-1" ,rust-sha-1-0.9)
+ ("rust-sha2" ,rust-sha2-0.9))))
+ (home-page "https://github.com/fosskers/totp-lite")
+ (synopsis "Simple, correct TOTP library")
+ (description "Rust-totp-lite provides a simple, correct time-based
+One-Time Password library.")
+ (license license:expat)))
+
+(define-public rust-tower-0.4
+ (package
+ (name "rust-tower")
+ (version "0.4.10")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tower" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "001wx4iiyhmiih9f93szjsfdm5mzlr0n093bhqf178azzw7m03n0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-hdrhistogram" ,rust-hdrhistogram-6)
+ ("rust-indexmap" ,rust-indexmap-1)
+ ("rust-pin-project" ,rust-pin-project-1)
+ ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-slab" ,rust-slab-0.4)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-stream" ,rust-tokio-stream-0.1)
+ ("rust-tokio-util" ,rust-tokio-util-0.6)
+ ("rust-tower-layer" ,rust-tower-layer-0.3)
+ ("rust-tower-service" ,rust-tower-service-0.3)
+ ("rust-tracing" ,rust-tracing-0.1))))
+ (home-page "https://github.com/tower-rs/tower")
+ (synopsis "Library for building clients and servers")
+ (description
+ "Tower is a library of modular and reusable components for building
+robust clients and servers.")
+ (license license:expat)))
+
(define-public rust-tower-layer-0.3
(package
(name "rust-tower-layer")
- (version "0.3.0")
+ (version "0.3.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "tower-layer" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1p6i9rn5d98wsx6hi4hbxh2xqh2clwz0blcm6jrqiciq4rpnapd3"))))
+ (base32 "0qiskpgz6zzy3a894vyr9yzq0i7q142rciggc3wv1rizdm3cjfrl"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-development-inputs
@@ -56937,7 +63059,7 @@ composition between @code{Service}s.")
`(#:cargo-development-inputs
(("rust-http" ,rust-http-0.1))))
(home-page "https://github.com/tower-rs/tower")
- (synopsis "Asynchronous, request / response based, client or server.")
+ (synopsis "Asynchronous, request / response based, client or server")
(description "This package provides a trait representing an asynchronous,
request/response based, client or server.")
(license license:expat)))
@@ -57064,14 +63186,14 @@ automatically instrumenting functions.")
(define-public rust-tracing-core-0.1
(package
(name "rust-tracing-core")
- (version "0.1.17")
+ (version "0.1.21")
(source
(origin
(method url-fetch)
(uri (crate-uri "tracing-core" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0pvbgv301vw6dq4krc14yqbyyixb42lcs4s57xw05llkgy9f63gm"))))
+ (base32 "1r262wskhm6wmc5i2bxz44nglyzqaq3x50s0h5q0ffdq6xbdckhz"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -57143,7 +63265,7 @@ data. Moved to the tracing-subscriber crate.")
(define-public rust-tracing-log-0.1
(package
(name "rust-tracing-log")
- (version "0.1.1")
+ (version "0.1.2")
(source
(origin
(method url-fetch)
@@ -57152,7 +63274,7 @@ data. Moved to the tracing-subscriber crate.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1fdr0az98q9m5kiybvdvsb2m9mg86fdidgb5czzq2d71g1qqq3sy"))))
+ "1qv1cwvdqrgvizkszbff4fvkw0m3nn5yz68r3yaw2hcflivk94m6"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -57209,8 +63331,55 @@ with tracing (optional, enabled by the env-logger feature).
with @code{serde}.")
(license license:expat)))
+(define-public rust-tracing-subscriber-0.3
+ (package
+ (name "rust-tracing-subscriber")
+ (version "0.3.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tracing-subscriber" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "157mz6q0ljpragrj4hsv5rchyabsbfc7r0sb0g5rik142jlbz0ax"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-ansi-term" ,rust-ansi-term-0.12)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-matchers" ,rust-matchers-0.1)
+ ("rust-parking-lot" ,rust-parking-lot-0.11)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-sharded-slab" ,rust-sharded-slab-0.1)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-thread-local" ,rust-thread-local-1)
+ ("rust-time" ,rust-time-0.3)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-tracing-core" ,rust-tracing-core-0.1)
+ ("rust-tracing-log" ,rust-tracing-log-0.1)
+ ("rust-tracing-serde" ,rust-tracing-serde-0.1))))
+ (home-page "https://tokio.rs")
+ (synopsis "Implement and compose tracing subscribers")
+ (description
+ "This package provides utilities for implementing and composing tracing
+subscribers.
+
+Tracing is a framework for instrumenting Rust programs to collect scoped,
+structured, and async-aware diagnostics. The Subscriber trait represents the
+functionality necessary to collect this trace data. This crate contains tools
+for composing subscribers out of smaller units of behaviour, and
+batteries-included implementations of common subscriber functionality.
+
+Tracing-subscriber is intended for use by both Subscriber authors and
+application authors using tracing to instrument their applications.")
+ (license license:expat)))
+
(define-public rust-tracing-subscriber-0.2
(package
+ (inherit rust-tracing-subscriber-0.3)
(name "rust-tracing-subscriber")
(version "0.2.15")
(source
@@ -57246,22 +63415,7 @@ with @code{serde}.")
("rust-tokio" ,rust-tokio-0.2)
("rust-tracing" ,rust-tracing-0.1)
("rust-tracing-futures" ,rust-tracing-futures-0.2)
- ("rust-tracing-log" ,rust-tracing-log-0.1))))
- (home-page "https://tokio.rs")
- (synopsis "Implement and compose tracing subscribers")
- (description
- "This package provides utilities for implementing and composing tracing
-subscribers.
-
-Tracing is a framework for instrumenting Rust programs to collect scoped,
-structured, and async-aware diagnostics. The Subscriber trait represents the
-functionality necessary to collect this trace data. This crate contains tools
-for composing subscribers out of smaller units of behaviour, and
-batteries-included implementations of common subscriber functionality.
-
-Tracing-subscriber is intended for use by both Subscriber authors and
-application authors using tracing to instrument their applications.")
- (license license:expat)))
+ ("rust-tracing-log" ,rust-tracing-log-0.1))))))
(define-public rust-tracing-subscriber-0.1
(package
@@ -57296,8 +63450,43 @@ application authors using tracing to instrument their applications.")
("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")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tracing-tree" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1rrlw6kc61q0g5y4d4i3zjfn9167xqqa5m2d13z62zrcjv4qks9w"))))
+ (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-tracing-core" ,rust-tracing-core-0.1)
+ ("rust-tracing-log" ,rust-tracing-log-0.1)
+ ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3))
+ #:cargo-development-inputs
+ (("rust-tracing" ,rust-tracing-0.1)
+ ("rust-glob" ,rust-glob-0.3)
+ ("rust-assert-cmd" ,rust-assert-cmd-1)
+ ("rust-log" ,rust-log-0.4))))
+ (home-page
+ "https://github.com/davidbarsky/tracing-tree")
+ (synopsis
+ "Tracing Layer which prints a tree of spans and events")
+ (description
+ "This package provides a Tracing Layer which prints a tree of spans and
+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
@@ -57323,15 +63512,7 @@ application authors using tracing to instrument their applications.")
#:cargo-development-inputs
(("rust-assert-cmd" ,rust-assert-cmd-1)
("rust-glob" ,rust-glob-0.3)
- ("rust-log" ,rust-log-0.4))))
- (home-page
- "https://github.com/davidbarsky/tracing-tree")
- (synopsis
- "Tracing Layer which prints a tree of spans and events")
- (description
- "This package provides a Tracing Layer which prints a tree of spans and
-events.")
- (license (list license:expat license:asl2.0))))
+ ("rust-log" ,rust-log-0.4))))))
(define-public rust-trackable-1
(package
@@ -57401,22 +63582,29 @@ be used directly. See @code{rust-trackable} for more information.")
(license (list license:asl2.0
license:expat))))
-(define-public rust-trash-1
+(define-public rust-trash-2
(package
(name "rust-trash")
- (version "1.3.0")
+ (version "2.0.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "trash" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "04nmmh6pnlsdpgz24bwnjpyqcs66414w1sip9whlx0aln6prdpwh"))))
+ (base32 "1g3wjnr5qvgvvi144mlgf0mh80dybmy9zv2xyswpm55p5p5vdsyk"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-winapi" ,rust-winapi-0.3))))
+ (("rust-chrono" ,rust-chrono-0.4)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-objc" ,rust-objc-0.2)
+ ("rust-scopeguard" ,rust-scopeguard-1)
+ ("rust-url" ,rust-url-2)
+ ("rust-windows" ,rust-windows-0.9)
+ ("rust-windows" ,rust-windows-0.9))))
(home-page "https://github.com/ArturKovacs/trash-rs")
(synopsis "Library for moving files and folders to the recycle bin")
(description
@@ -57424,6 +63612,23 @@ 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")
@@ -58354,22 +64559,20 @@ the Trust-DNS client to use rustls for TLS.")
(define-public rust-trybuild-1
(package
(name "rust-trybuild")
- (version "1.0.38")
+ (version "1.0.54")
(source
(origin
(method url-fetch)
(uri (crate-uri "trybuild" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0l5kicbqkk8b9grdg5l2f2w9l47h0s1kjnv6lywvwk292236zc0p"))))
+ (base32 "0gzxbal0zdjnwilsisgbm59c242gvym8dafwsl5s8b5nhvzl6hzh"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-dissimilar" ,rust-dissimilar-1)
("rust-glob" ,rust-glob-0.3)
- ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-once-cell" ,rust-once-cell-1)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-termcolor" ,rust-termcolor-1)
@@ -58380,17 +64583,17 @@ the Trust-DNS client to use rustls for TLS.")
"Test harness for ui tests of compiler diagnostics.")
(license (list license:expat license:asl2.0))))
-(define-public rust-ttf-parser-0.6
+(define-public rust-ttf-parser-0.12
(package
(name "rust-ttf-parser")
- (version "0.6.2")
+ (version "0.12.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "ttf-parser" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1p4z969pwd5adayy3ijq94iiak42yfxz8hk5wnkdsirymgbpqp9y"))))
+ (base32 "1rkj90w4k21y88i69rlwb8pyfvv5lnb7x2b8yvdan21gha5gbqks"))))
(build-system cargo-build-system)
(arguments `(#:skip-build? #t))
(home-page "https://github.com/RazrFalcon/ttf-parser")
@@ -58400,6 +64603,20 @@ the Trust-DNS client to use rustls for TLS.")
parser.")
(license (list license:expat license:asl2.0))))
+(define-public rust-ttf-parser-0.6
+ (package
+ (inherit rust-ttf-parser-0.12)
+ (name "rust-ttf-parser")
+ (version "0.6.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ttf-parser" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1p4z969pwd5adayy3ijq94iiak42yfxz8hk5wnkdsirymgbpqp9y"))))
+ (arguments `(#:skip-build? #t))))
+
(define-public rust-tui-0.16
(package
(name "rust-tui")
@@ -58637,10 +64854,10 @@ strings.")
(description "Exposes Typeable, for getting TypeIds at runtime.")
(license license:expat)))
-(define-public rust-typed-arena-1
+(define-public rust-typed-arena-2
(package
(name "rust-typed-arena")
- (version "1.4.1")
+ (version "2.0.1")
(source
(origin
(method url-fetch)
@@ -58649,7 +64866,7 @@ strings.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1i8yczhwcy0nnrxqck1lql3i7hvg95l0vw0dbgfb92zkms96mh66"))))
+ "1bnhphrksp9krxhsfhfimrxvkbah2pa6rf9ygmpw5lalbm6wi186"))))
(build-system cargo-build-system)
(arguments `(#:skip-build? #t))
(home-page "https://github.com/SimonSapin/rust-typed-arena")
@@ -58658,6 +64875,47 @@ strings.")
"The arena, a fast but limited type of allocator.")
(license license:expat)))
+(define-public rust-typed-arena-1
+ (package
+ (inherit rust-typed-arena-2)
+ (name "rust-typed-arena")
+ (version "1.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "typed-arena" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1i8yczhwcy0nnrxqck1lql3i7hvg95l0vw0dbgfb92zkms96mh66"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))))
+
+(define-public rust-typed-builder-0.5
+ (package
+ (name "rust-typed-builder")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "typed-builder" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1zi9mmkz2vwg5cn8x9738vli42h21jyspvfi83y2sa6lvlja5kkq"))))
+ (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/idanarye/rust-typed-builder")
+ (synopsis "Compile-time type-checked builder derive")
+ (description
+ "This package provides compile-time type-checked builder derive.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-typed-headers-0.2
(package
(name "rust-typed-headers")
@@ -58925,6 +65183,30 @@ panic-free alternative to @code{core::fmt}.")
"This package provides an utility to deal with Unix access mode.")
(license license:expat)))
+(define-public rust-uncased-0.9
+ (package
+ (name "rust-uncased")
+ (version "0.9.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "uncased" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1l3flz044hfdnsddahj08dflqprfydszkm4vkf458l724xryvbjv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-serde" ,rust-serde-1)
+ ("rust-version-check" ,rust-version-check-0.9))))
+ (home-page "https://github.com/SergioBenitez/uncased")
+ (synopsis "Case-preserving, ASCII case-insensitive, string types in Rust")
+ (description
+ "This package provides case-preserving, ASCII case-insensitive,
+@code{no_std} string types in Rust.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-unchecked-index-0.2
(package
(name "rust-unchecked-index")
@@ -58949,7 +65231,7 @@ panic-free alternative to @code{core::fmt}.")
(define-public rust-ungrammar-1
(package
(name "rust-ungrammar")
- (version "1.13.0")
+ (version "1.14.9")
(source
(origin
(method url-fetch)
@@ -58958,7 +65240,7 @@ panic-free alternative to @code{core::fmt}.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "17wm4b5r3z5hqail6p609nii37y3j8dr4bxg8x0bkhkc2wa06xkn"))))
+ "1agx2hpp3sirknnx8j17mzcg222024s6vkx6s5v3s3l8zp15kgk6"))))
(build-system cargo-build-system)
(arguments `(#:skip-build? #t))
(home-page
@@ -59208,7 +65490,7 @@ a member of a certain category of Unicode characters.")
(define-public rust-unicode-normalization-0.1
(package
(name "rust-unicode-normalization")
- (version "0.1.11")
+ (version "0.1.19")
(source
(origin
(method url-fetch)
@@ -59216,11 +65498,11 @@ a member of a certain category of Unicode characters.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1kxxb5ndb5dzyp1flajjdxnbwyjw6ml9xvy0pz7b8srjn9ky4qdm"))))
+ (base32 "1yabhmg8zlcksda3ajly9hpbzqgbhknxwch8dwkfkaa1569r0ifm"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-smallvec" ,rust-smallvec-1))))
+ (("rust-tinyvec" ,rust-tinyvec-1))))
(home-page "https://github.com/unicode-rs/unicode-normalization")
(synopsis
"This crate provides functions for normalization of Unicode strings")
@@ -59579,6 +65861,51 @@ type-safe zero-cost dimensional analysis.")
(sha256
(base32 "1vg59hnb7hh0p8kjjhgmrsnn3597722lkfdkp481wksq6vk06rg7"))))))
+(define-public rust-ureq-2
+ (package
+ (name "rust-ureq")
+ (version "2.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ureq" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1m8nzx683iph4zfpfg2xmkkbwmgf1i403lnbhxqk4gbsj8pzm6ck"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;tests fail
+ #:cargo-inputs
+ (("rust-base64" ,rust-base64-0.13)
+ ("rust-brotli-decompressor" ,rust-brotli-decompressor-2)
+ ("rust-chunked-transfer" ,rust-chunked-transfer-1)
+ ("rust-cookie" ,rust-cookie-0.15)
+ ("rust-cookie-store" ,rust-cookie-store-0.15)
+ ("rust-encoding-rs" ,rust-encoding-rs-0.8)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-native-tls" ,rust-native-tls-0.2)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-rustls" ,rust-rustls-0.20)
+ ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6)
+ ("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.22)
+ ("rust-webpki-roots" ,rust-webpki-roots-0.22))
+ #:cargo-development-inputs
+ (("rust-env-logger" ,rust-env-logger-0.9)
+ ("rust-rustls" ,rust-rustls-0.20)
+ ("rust-rustls-pemfile" ,rust-rustls-pemfile-0.2)
+ ("rust-serde" ,rust-serde-1))))
+ (home-page "https://github.com/algesten/ureq")
+ (synopsis "Simple, safe HTTP client")
+ (description "This package provides minimal request library in Rust.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-url-2
(package
(name "rust-url")
@@ -59982,22 +66309,23 @@ first byte.")
(define-public rust-v-frame-0.2
(package
(name "rust-v-frame")
- (version "0.2.1")
+ (version "0.2.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "v_frame" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0ia1j0j1v5zp9bp91imbnbxnv937x3xfpc06nyj96yjfk8zbmxhp"))))
+ (base32 "1ay6p0arqg8cnyzv6iiad77plvjkxnmlmyvgz2qcpadv7y5942n7"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
+ `(#:cargo-inputs
(("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-hawktracer" ,rust-rust-hawktracer-0.7)
("rust-noop-proc-macro" ,rust-noop-proc-macro-0.3)
("rust-num-derive" ,rust-num-derive-0.3)
("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-rayon" ,rust-rayon-1)
("rust-serde" ,rust-serde-1)
("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2))))
(home-page "https://github.com/xiph/rav1e")
@@ -60031,6 +66359,25 @@ a part of rav1e.")
(description "This package provides anonymous structured values.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-vcell-0.1
+ (package
+ (name "rust-vcell")
+ (version "0.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "vcell" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "00n0ss2z3rh0ihig6d4w7xp72g58f7g1m6s5v4h3nc6jacdrqhvp"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/japaric/vcell")
+ (synopsis "Cell with volatile read / write operations")
+ (description "This package provides a Cell structure with volatile read /
+write operations.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-vcpkg-0.2
(package
(name "rust-vcpkg")
@@ -60185,7 +66532,7 @@ If that fails, no determination is made, and calls return None.")
(base32
"1pf91pvj8n6akh7w6j5ypka6aqz08b3qpzgs0ak2kjf4frkiljwi"))))))
-(define-public rust-version-compare-0.0
+(define-public rust-version-compare-0.0.11
(package
(name "rust-version-compare")
(version "0.0.11")
@@ -60205,6 +66552,8 @@ If that fails, no determination is made, and calls return None.")
numbers, and test them against various comparison operators.")
(license license:expat)))
+(define-public rust-version-compare-0.0 rust-version-compare-0.0.11)
+
(define-public rust-version-sync-0.8
(package
(name "rust-version-sync")
@@ -60312,6 +66661,27 @@ version numbers.")
"The uninhabited void type for use in statically impossible cases.")
(license license:expat)))
+(define-public rust-volatile-register-0.2
+ (package
+ (name "rust-volatile-register")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "volatile-register" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1dh8x7z1ywjzyziz3jyjj39imp37s05c46whf2pkyablkngz3s4y"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-vcell" ,rust-vcell-0.1))))
+ (home-page "https://github.com/japaric/volatile-register")
+ (synopsis "Volatile access to memory mapped hardware registers")
+ (description "This package provides volatile access to memory mapped
+hardware registers.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-vswhom-0.1
(package
(name "rust-vswhom")
@@ -60695,7 +67065,7 @@ in Rust.")
(define-public rust-wasm-bindgen-0.2
(package
(name "rust-wasm-bindgen")
- (version "0.2.69")
+ (version "0.2.78")
(source
(origin
(method url-fetch)
@@ -60703,8 +67073,7 @@ in Rust.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0vkkpz290k6pphmrgkayzdvk1dinxrp6c5zvr9l0zjlm2dsn9lrw"))))
+ (base32 "1kkzwj24z9ad7lq8c5ynlnpxpx8hwra6w6brl871a6dj6vi76bv3"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -60730,7 +67099,7 @@ in Rust.")
(define-public rust-wasm-bindgen-backend-0.2
(package
(name "rust-wasm-bindgen-backend")
- (version "0.2.69")
+ (version "0.2.78")
(source
(origin
(method url-fetch)
@@ -60738,8 +67107,7 @@ in Rust.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0qidxjmcn50v2i5hjz7al69sa3mbq0lbi276amdnw47ln6dgh50i"))))
+ (base32 "0yw3ma0ahd1cz3afxpqcgwy9rwwgmz2g8pn8nas7c95sky7vy5x3"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -60785,7 +67153,7 @@ wasm-bindgen.")
(define-public rust-wasm-bindgen-futures-0.4
(package
(name "rust-wasm-bindgen-futures")
- (version "0.4.19")
+ (version "0.4.28")
(source
(origin
(method url-fetch)
@@ -60793,18 +67161,19 @@ wasm-bindgen.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0d8fg2k4a4xyv28japgld7qzy2zyrnvh582pjkp88id8hmh7bs8z"))))
+ (base32 "0fax7x0iysa64iqmzq0lri8llw8v0f8acz1iq6b4qahzrcipb3cf"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-cfg-if" ,rust-cfg-if-1)
- ("rust-js-sys" ,rust-js-sys-0.3)
- ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
- ("rust-web-sys" ,rust-web-sys-0.3))
- #:cargo-development-inputs
- (("rust-futures-channel-preview" ,rust-futures-channel-preview-0.3)
- ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
+ `(#:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-js-sys" ,rust-js-sys-0.3)
+ ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+ ("rust-web-sys" ,rust-web-sys-0.3))
+ #:cargo-development-inputs
+ (("rust-futures-channel-preview" ,rust-futures-channel-preview-0.3)
+ ("rust-futures-lite" ,rust-futures-lite-1)
+ ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
(home-page "https://rustwasm.github.io/wasm-bindgen/")
(synopsis
"Bridging the gap between Rust Futures and JavaScript Promises")
@@ -60841,7 +67210,7 @@ wasm-bindgen.")
(define-public rust-wasm-bindgen-macro-0.2
(package
(name "rust-wasm-bindgen-macro")
- (version "0.2.69")
+ (version "0.2.78")
(source
(origin
(method url-fetch)
@@ -60849,8 +67218,7 @@ wasm-bindgen.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "113hyzn0dpqasznzcwgmqw03i5yhjkqna7paim50h7xdbscwhsks"))))
+ (base32 "1ydcppds5qbj77c7kdinkg9qidcf7ahvwqvnb3v8nllmqkklcqfm"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; 'Async blocks are unstable'
@@ -60872,7 +67240,7 @@ dependency.")
(define-public rust-wasm-bindgen-macro-support-0.2
(package
(name "rust-wasm-bindgen-macro-support")
- (version "0.2.69")
+ (version "0.2.78")
(source
(origin
(method url-fetch)
@@ -60880,8 +67248,7 @@ dependency.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0jbmgj8zxflza1cl15k3r70fqsak4bkkfbn6qxbhbn4ry9r8r95m"))))
+ (base32 "1ay5qmbqh8hbsgf2dqkg7ia13srx3c1d6p2qvjmzhdaqlbpf00vq"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -60900,15 +67267,14 @@ attribute that is not in the shared backend crate.")
(define-public rust-wasm-bindgen-shared-0.2
(package
(name "rust-wasm-bindgen-shared")
- (version "0.2.69")
+ (version "0.2.78")
(source
(origin
(method url-fetch)
(uri (crate-uri "wasm-bindgen-shared" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0n3ir6gq27np22l6m96y342a6fphk1pkbzbfqx6g364kgzfi2y3y"))))
+ (base32 "1k27dc57h0brx5ish4dwmzibyif7m9lfagvph1a7s0ygi4kj6dq2"))))
(build-system cargo-build-system)
(home-page "https://rustwasm.github.io/wasm-bindgen/")
(synopsis "Shared support between wasm-bindgen and wasm-bindgen cli")
@@ -60920,7 +67286,7 @@ attribute that is not in the shared backend crate.")
(define-public rust-wasm-bindgen-test-0.3
(package
(name "rust-wasm-bindgen-test")
- (version "0.3.19")
+ (version "0.3.28")
(source
(origin
(method url-fetch)
@@ -60928,8 +67294,7 @@ attribute that is not in the shared backend crate.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "09aas82c1i249bmzjwj9szk727nm4jzaidnwnq4jlycv3w6glm83"))))
+ (base32 "0zkb3swn81blwg0kdl2y49paaxgavc122q2kygq1xxpxf5wsmwcn"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -61021,7 +67386,7 @@ attribute that is not in the shared backend crate.")
(define-public rust-wasm-bindgen-test-macro-0.3
(package
(name "rust-wasm-bindgen-test-macro")
- (version "0.3.19")
+ (version "0.3.28")
(source
(origin
(method url-fetch)
@@ -61029,8 +67394,7 @@ attribute that is not in the shared backend crate.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "12s3h3g1f81afv0rk8idgw2mylgh5q6a30wy5yxc4940p537pq17"))))
+ (base32 "124ng2j16jf8lfdgq1lg83c7zka42fzizdaddnl9dsyz52bgf1k0"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -61182,10 +67546,53 @@ modifications.")
for terminal and other window-less applications.")
(license (list license:expat license:asl2.0))))
+(define-public rust-web-view-0.7
+ (package
+ (name "rust-web-view")
+ (version "0.7.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "web-view" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1smgmc00nk2wn8kpagp0mpsd0d9f5mvljidf2x7plbi3bymac7gf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;missing files
+ #:cargo-inputs
+ (("rust-boxfnonce" ,rust-boxfnonce-0.1)
+ ("rust-tinyfiledialogs" ,rust-tinyfiledialogs-3)
+ ("rust-urlencoding" ,rust-urlencoding-1)
+ ("rust-webview-sys" ,rust-webview-sys-0.6))
+ #:cargo-development-inputs
+ (("rust-actix-rt" ,rust-actix-rt-0.2)
+ ("rust-actix-web" ,rust-actix-web-1)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-grep" ,rust-grep-0.2)
+ ("rust-mime-guess" ,rust-mime-guess-2)
+ ("rust-rust-embed" ,rust-rust-embed-5)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-walkdir" ,rust-walkdir-2))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list gtk+
+ webkitgtk-with-libsoup2))
+ (home-page "https://github.com/Boscop/web-view")
+ (synopsis "Rust bindings for webview")
+ (description
+ "This library provides a Rust binding to the original implementation of
+webview, a tiny cross-platform library to render web-based GUIs as desktop
+applications.")
+ (license license:expat)))
+
(define-public rust-web-sys-0.3
(package
(name "rust-web-sys")
- (version "0.3.37")
+ (version "0.3.55")
(source
(origin
(method url-fetch)
@@ -61193,8 +67600,7 @@ for terminal and other window-less applications.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1jy4q5jawzg3dxzhfwa0g3fsz7h4j0ra6y232ikc6mlcimj52vrd"))))
+ (base32 "1yz9dym9y9f9s1f99q5j5kl2dfc5kn2jpjfdnnkfmnar3igi1srq"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -61236,21 +67642,20 @@ for terminal and other window-less applications.")
available on a platform.")
(license (list license:expat license:asl2.0))))
-(define-public rust-webpki-0.21
+(define-public rust-webpki-0.22
(package
(name "rust-webpki")
- (version "0.21.4")
+ (version "0.22.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "webpki" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1sm4i8c5bw3bdhi7mjk0wpvwx55hvsmyn0k2lpa4cb161038rqxq"))))
+ (base32 "1gd1gxip5kgdwmrvhj5gjxij2mgg2mavq1ych4q1h272ja0xg5gh"))))
(build-system cargo-build-system)
(arguments
- `(#:tests? #f ;; tests fail to build "missing file tests/ed25519/ee.der"
- #:cargo-inputs
+ `(#:cargo-inputs
(("rust-ring" ,rust-ring-0.16)
("rust-untrusted" ,rust-untrusted-0.7))
#:cargo-development-inputs
@@ -61261,6 +67666,26 @@ available on a platform.")
Verification.")
(license license:isc)))
+(define-public rust-webpki-0.21
+ (package
+ (inherit rust-webpki-0.22)
+ (name "rust-webpki")
+ (version "0.21.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "webpki" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1sm4i8c5bw3bdhi7mjk0wpvwx55hvsmyn0k2lpa4cb161038rqxq"))))
+ (arguments
+ `(#:tests? #f ;; tests fail to build "missing file tests/ed25519/ee.der"
+ #:cargo-inputs
+ (("rust-ring" ,rust-ring-0.16)
+ ("rust-untrusted" ,rust-untrusted-0.7))
+ #:cargo-development-inputs
+ (("rust-base64" ,rust-base64-0.9))))))
+
(define-public rust-webpki-0.19
(package
(inherit rust-webpki-0.21)
@@ -61303,28 +67728,44 @@ Verification.")
#:cargo-development-inputs
(("rust-base64" ,rust-base64-0.9))))))
-(define-public rust-webpki-roots-0.21
+(define-public rust-webpki-roots-0.22
(package
(name "rust-webpki-roots")
- (version "0.21.0")
+ (version "0.22.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "webpki-roots" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0xi3xjjx6brqh6hwa5jsrxvflsrhjcxa2x26k62q3bcb1dz5n0c2"))))
+ (base32 "0jbll0ys9jakrvv3l1i216bbgj7jbxr7ad2dihw28xcm7s8fnb2m"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-webpki" ,rust-webpki-0.21))))
- (home-page "https://github.com/ctz/webpki-roots")
+ `(#:cargo-inputs
+ (("rust-webpki" ,rust-webpki-0.22))))
+ (home-page "https://github.com/rustls/webpki-roots")
(synopsis "Mozilla's CA root certificates for use with webpki")
(description "This package provides Mozilla's CA root certificates for use
with webpki.")
(license license:mpl2.0)))
+(define-public rust-webpki-roots-0.21
+ (package
+ (inherit rust-webpki-roots-0.22)
+ (name "rust-webpki-roots")
+ (version "0.21.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "webpki-roots" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0h49lkr7hrxpyr0xg1nph4m3v1l6rhg8ax9n8msvfwz48hsibgma"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-webpki" ,rust-webpki-0.21))))))
+
(define-public rust-webpki-roots-0.20
(package
(inherit rust-webpki-roots-0.21)
@@ -61439,6 +67880,41 @@ with webpki.")
(("rust-untrusted" ,rust-untrusted-0.6)
("rust-webpki" ,rust-webpki-0.18))))))
+(define-public rust-webview-sys-0.6
+ (package
+ (name "rust-webview-sys")
+ (version "0.6.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "webview-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1jb6h261lzp4b9rp7iwssbc7vs5d3q4wp08a4wvgwps2q4jz0080"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cc" ,rust-cc-1)
+ ("rust-gdk-sys" ,rust-gdk-sys-0.10)
+ ("rust-gio-sys" ,rust-gio-sys-0.10)
+ ("rust-glib-sys" ,rust-glib-sys-0.10)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.10)
+ ("rust-gtk-sys" ,rust-gtk-sys-0.10)
+ ("rust-javascriptcore-rs-sys" ,rust-javascriptcore-rs-sys-0.2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pkg-config" ,rust-pkg-config-0.3)
+ ("rust-webkit2gtk-sys" ,rust-webkit2gtk-sys-0.12))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list gtk+ webkitgtk-with-libsoup2))
+ (home-page "https://github.com/Boscop/web-view")
+ (synopsis "Rust native ffi bindings for webview")
+ (description "This library provides a Rust binding to the original
+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")
@@ -61532,20 +68008,22 @@ using @code{bindgen}.")
(define-public rust-which-4
(package
(name "rust-which")
- (version "4.1.0")
+ (version "4.2.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "which" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1zixp9631knhnvd8c3si4wn01fldq063s86jxlmwxwmx5kj52mdm"))))
+ (base32 "1nbsy9f5sn206jzby28if4m4s0m21n97mhk8qd703g3rya77l67a"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-either" ,rust-either-1)
- ("rust-libc" ,rust-libc-0.2))))
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-regex" ,rust-regex-1))))
(home-page "https://github.com/harryfei/which-rs.git")
(synopsis "Rust equivalent of Unix command @command{which}")
(description
@@ -62081,6 +68559,28 @@ trust these primitives.")
("rust-serde" ,rust-serde-1)
("rust-winapi" ,rust-winapi-0.3))))))
+(define-public rust-winres-0.1
+ (package
+ (name "rust-winres")
+ (version "0.1.12")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "winres" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0v2gvqnd8iwwvb6fs69nv0mmk1z96430527n0qlfbsarxxhv53dn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-toml" ,rust-toml-0.5))))
+ (home-page "https://github.com/mxre/winres")
+ (synopsis "Create and set windows icons and metadata for executables")
+ (description "A simple library to facilitate adding metainformation and
+icons to windows executables and dynamic libraries.")
+ (license license:expat)))
+
(define-public rust-winutil-0.1
(package
(name "rust-winutil")
@@ -62199,6 +68699,31 @@ serialization.")
non-cryptographic hashing algorithm and random number generator.")
(license (list license:expat license:asl2.0))))
+(define-public rust-wyz-0.4
+ (package
+ (name "rust-wyz")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wyz" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "126irvwn63kxgqjk5ap1pw3p3grw2sskyg32h0v4bqawsrx057hj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-once-cell" ,rust-once-cell-1)
+ ("rust-tap" ,rust-tap-1)
+ ("rust-typemap" ,rust-typemap-0.3))))
+ (home-page "https://myrrlyn.net/crates/wyz")
+ (synopsis "Collection of utility functions")
+ (description
+ "This package provides a collection of utility functions.")
+ (license license:expat)))
+
(define-public rust-wyz-0.2
(package
(name "rust-wyz")
@@ -62219,6 +68744,66 @@ non-cryptographic hashing algorithm and random number generator.")
"This package provides a collection of utility functions.")
(license license:expat)))
+(define-public rust-x25519-dalek-1
+ (package
+ (name "rust-x25519-dalek")
+ (version "1.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "x25519-dalek" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0xz0m1pczss9r25d1r52420dl2picdypbcn5ycmlwssp9awvd4i3"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-curve25519-dalek" ,rust-curve25519-dalek-3)
+ ("rust-rand-core" ,rust-rand-core-0.5)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-zeroize" ,rust-zeroize-1))))
+ (home-page "https://dalek.rs/")
+ (synopsis "X25519 elliptic curve Diffie-Hellman key exchange")
+ (description
+ "This crate provides a pure-Rust implementation of x25519 elliptic curve
+Diffie-Hellman key exchange, with curve operations provided by
+@code{curve25519-dalek}.")
+ (license license:bsd-3)))
+
+(define-public rust-x509-parser-0.12
+ (package
+ (name "rust-x509-parser")
+ (version "0.12.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "x509-parser" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1vanwazknxwd1kmlp443bpph9qyas021ayqk6iljxdscm0v0ijgz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-base64" ,rust-base64-0.13)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-data-encoding" ,rust-data-encoding-2)
+ ("rust-der-parser" ,rust-der-parser-6)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-nom" ,rust-nom-7)
+ ("rust-oid-registry" ,rust-oid-registry-0.2)
+ ("rust-ring" ,rust-ring-0.16)
+ ("rust-rusticata-macros" ,rust-rusticata-macros-4)
+ ("rust-thiserror" ,rust-thiserror-1))))
+ (home-page "https://github.com/rusticata/x509-parser")
+ (synopsis "X.509 parser written in pure Rust")
+ (description "This crate provides a parser for the X.509 v3 format (RFC
+5280 certificates).")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-x86-0.33
(package
(name "rust-x86")
@@ -62338,15 +68923,16 @@ extended attributes.")
(define-public rust-xdg-2
(package
(name "rust-xdg")
- (version "2.2.0")
+ (version "2.4.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "xdg" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0mws8a0fr3cqk5nh7aq9lmkmhzghvasqy4mhw6nnza06l4d6i2fh"))))
+ (base32 "00sqvl6v0sjdrrmyk2671sshnjlbjdwgb1lw0f3jchbhijazw8rs"))))
(build-system cargo-build-system)
+ (arguments `(#:cargo-inputs (("rust-dirs" ,rust-dirs-3))))
(home-page "https://github.com/whitequark/rust-xdg")
(synopsis "Store and retrieve files according to XDG specification")
(description
@@ -62557,6 +69143,26 @@ parser.")
"This package provide a utilities for quick shell scripting in Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-xxhash-rust-0.8
+ (package
+ (name "rust-xxhash-rust")
+ (version "0.8.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "xxhash-rust" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1v9dk6shls1rsmidf2dxdi3460bn7ingqgvn5mf7prgnxmdy2xg5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t))
+ (home-page "https://github.com/DoumanAsh/xxhash-rust")
+ (synopsis "Implementation of xxHash in Rust")
+ (description "This package provides an implementation of the xxHash
+algorithm in Rust.")
+ (license license:boost1.0)))
+
(define-public rust-xz2-0.1
(package
(name "rust-xz2")
@@ -62671,10 +69277,59 @@ library.")
(description "This package provides an implementation of zbase32.")
(license license:lgpl3+)))
+(define-public rust-zerocopy-0.3
+ (package
+ (name "rust-zerocopy")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "zerocopy" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "00nbb6yal8f74bkpn7msjcnhisimw8s5777a63206rfnn3br45zh"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.2))))
+ (home-page "https://fuchsia.googlesource.com/fuchsia/+/HEAD/src/lib/zerocopy")
+ (synopsis "Utilities for zero-copy parsing and serialization")
+ (description
+ "This package provides utilities for zero-copy parsing and
+serialization.")
+ (license license:bsd-3)))
+
+(define-public rust-zerocopy-derive-0.2
+ (package
+ (name "rust-zerocopy-derive")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "zerocopy-derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1594sf9wwgpbavl1hb1avyz6n7km9apm8afc03x9y8h3spk3k76w"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-syn" ,rust-syn-1)
+ ("rust-synstructure" ,rust-synstructure-0.12))))
+ (home-page "https://fuchsia.googlesource.com/fuchsia/+/HEAD/src/lib/zerocopy/zerocopy-derive")
+ (synopsis "Custom derive for traits from the zerocopy Rust crate")
+ (description
+ "This package provides custom derive for traits from the zerocopy Rust
+crate.")
+ (license license:bsd-3)))
+
(define-public rust-zeroize-1
(package
(name "rust-zeroize")
- (version "1.1.0")
+ (version "1.4.3")
(source
(origin
(method url-fetch)
@@ -62682,11 +69337,10 @@ library.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1f5547q8l8bpi16yy6lix2gl9rf1qz45lj06bq7wjk525gnw5fiw"))))
+ (base32 "068nvl3n5hk6lfn5y24grf2c7anzzqfzjjccscq3md7rqp79v3fn"))))
(build-system cargo-build-system)
(arguments
- `(#:tests? #f ;2 doc tests fail
- #:cargo-inputs
+ `(#:cargo-inputs
(("rust-zeroize-derive" ,rust-zeroize-derive-1))))
(home-page "https://github.com/iqlusioninc/crates/")
(synopsis "Securely clear secrets from memory")
@@ -63091,28 +69745,28 @@ pointers:
")
(license license:expat)))
-(define-public rust-ptree-0.3
+(define-public rust-ptree-0.4
(package
(name "rust-ptree")
- (version "0.3.1")
+ (version "0.4.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "ptree" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1bp6r88hcw0ygmdfdf1gwsj6krcah2qhwp3kw284wvni080l1zcm"))))
+ (base32 "0w72k0svlj8ihbf7m7ivay7rpv38xz9ad5a06isyqsiiddwq1pm0"))))
(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-config" ,rust-config-0.10)
- ("rust-directories" ,rust-directories-2)
- ("rust-petgraph" ,rust-petgraph-0.5)
+ ("rust-config" ,rust-config-0.11)
+ ("rust-directories" ,rust-directories-4)
+ ("rust-petgraph" ,rust-petgraph-0.6)
("rust-serde" ,rust-serde-1)
- ("rust-serde-value" ,rust-serde-value-0.6)
+ ("rust-serde-value" ,rust-serde-value-0.7)
("rust-tint" ,rust-tint-1))))
(home-page "https://gitlab.com/Noughmad/ptree")
(synopsis "Pretty-print tree-like structures")
@@ -63121,6 +69775,215 @@ 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")
+ (version "0.9.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0zy9jmhkhmsng7l9qiznxpdh5ns303s875p5kf6a5q9ym0rka7rn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-const-sha1" ,rust-const-sha1-0.2)
+ ("rust-windows-gen" ,rust-windows-gen-0.9)
+ ("rust-windows-macros" ,rust-windows-macros-0.9))))
+ (home-page "https://github.com/microsoft/windows-rs")
+ (synopsis "Rust for Windows")
+ (description "Rust for Windows")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-windows-x86-64-msvc-0.28
+ (package
+ (name "rust-windows-x86-64-msvc")
+ (version "0.28.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows_x86_64_msvc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "17z8q25pd3dp6b84qm9nlayd3ym78sbryxlqmgcxvz9vpmy8qarz"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/microsoft/windows-rs")
+ (synopsis "Code gen support for the windows crate")
+ (description "This package provides code gen support for the windows
+crate.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-windows-x86-64-gnu-0.28
+ (package
+ (name "rust-windows-x86-64-gnu")
+ (version "0.28.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows_x86_64_gnu" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0m79bhdr54g4h4wh2q8wkjlkypb5wvl7xzhc2csiaqb5yl4z8cdw"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/microsoft/windows-rs")
+ (synopsis "Code gen support for the windows crate")
+ (description "This package provides code gen support for the windows
+crate.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-windows-i686-msvc-0.28
+ (package
+ (name "rust-windows-i686-msvc")
+ (version "0.28.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows_i686_msvc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0r0z8s1wcdwd20azsdfilf2a6bz68xkavl990wy64hyc8f51bmai"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/microsoft/windows-rs")
+ (synopsis "Code gen support for the windows crate")
+ (description "This package provides code gen support for the windows
+crate.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-windows-i686-gnu-0.28
+ (package
+ (name "rust-windows-i686-gnu")
+ (version "0.28.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows_i686_gnu" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "12hx7qpsjg9p7jggfcplqa3mf1mzr7k7s5ybzqwg1zmg4fn2aizm"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/microsoft/windows-rs")
+ (synopsis "Code gen support for the windows crate")
+ (description "This package provides code gen support for the windows
+crate.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-windows-aarch64-msvc-0.28
+ (package
+ (name "rust-windows-aarch64-msvc")
+ (version "0.28.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows_aarch64_msvc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1hpk0n2z0jzzvwlvs98b75sa4q920953nqfc119rv19nwm0mlsaj"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/microsoft/windows-rs")
+ (synopsis "Code gen support for the windows crate")
+ (description "This package provides code gen support for the windows
+crate.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-windows-sys-0.28
+ (package
+ (name "rust-windows-sys")
+ (version "0.28.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1xkghf343nll9i1yvha1a4spf53mnb5knzmnqj9adgsw5mh3kjl2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-windows-aarch64-msvc" ,rust-windows-aarch64-msvc-0.28)
+ ("rust-windows-i686-gnu" ,rust-windows-i686-gnu-0.28)
+ ("rust-windows-i686-msvc" ,rust-windows-i686-msvc-0.28)
+ ("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.28)
+ ("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.28))))
+ (home-page "https://github.com/microsoft/windows-rs")
+ (synopsis "Rust for Windows")
+ (description "The windows crate lets you call any Windows API past,
+present, and future using code generated on the fly directly from the metadata
+describing the API and right into your Rust package where you can call them as
+if they were just another Rust module.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-windows-gen-0.9
+ (package
+ (name "rust-windows-gen")
+ (version "0.9.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows_gen" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0lh492px26rrna0harikyy4p7nk520pw2lv0dczp4n2xa6y4s5al"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t #:cargo-inputs (("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/microsoft/windows-rs")
+ (synopsis "Code gen support for the windows crate")
+ (description "Code gen support for the windows crate")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-windows-macros-0.9
+ (package
+ (name "rust-windows-macros")
+ (version "0.9.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows_macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0xivsg3lf023hs83xiab2k40fmrl11nbihcdrdkc8pc4ab398xqg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-syn" ,rust-syn-1) ("rust-windows-gen" ,rust-windows-gen-0.9))))
+ (home-page "https://github.com/microsoft/windows-rs")
+ (synopsis "Macros for the windows crate")
+ (description "Macros for the windows crate")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-xmltree-0.10
(package
(name "rust-xmltree")
@@ -63188,11 +70051,34 @@ file into an in-memory tree structure.")
#:cargo-development-inputs
(("rust-serde-json" ,rust-serde-json-1))))
(home-page "https://github.com/rust-embedded/svd")
- (synopsis "A CMSIS-SVD file parser")
+ (synopsis "CMSIS-SVD file parser")
(description
"This package provides a CMSIS-SVD file parser")
(license (list license:expat license:asl2.0))))
+(define-public rust-svgtypes-0.5
+ (package
+ (name "rust-svgtypes")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "svgtypes" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1zv0yb4nfyz78y8k7fmyjqgdh9vf7xc44c9pzry8640szym6ylww"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-float-cmp" ,rust-float-cmp-0.5)
+ ("rust-siphasher" ,rust-siphasher-0.2))))
+ (home-page "https://github.com/RazrFalcon/svgtypes")
+ (synopsis "SVG types parser")
+ (description "This package provides SVG types parser.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-sxd-document-0.3
(package
(name "rust-sxd-document")
@@ -63470,7 +70356,7 @@ variant of this library is available separately as @code{im}.")
(home-page
"https://github.com/storyfeet/clap_conf")
(synopsis
- "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")
+ "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")
(description
"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)))
@@ -63510,6 +70396,27 @@ variant of this library is available separately as @code{im}.")
"Generate Rust register maps (`struct`s) from SVD files")
(license (list license:expat license:asl2.0))))
+(define-public rust-xi-unicode-0.3
+ (package
+ (name "rust-xi-unicode")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "xi-unicode" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "12mvjgrhr7557cib69wm4q5s4srba27pg2df9l1zihrxgnbh0wx6"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/google/xi-editor")
+ (synopsis
+ "Unicode utilities for text editing, including a line breaking iterator")
+ (description
+ "This package provides Unicode utilities useful for text editing,
+including a line breaking iterator.")
+ (license license:asl2.0)))
+
(define-public rust-shell2batch-0.4
(package
(name "rust-shell2batch")
diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 4826b3851c..f07be01c97 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -383,18 +383,29 @@ the wrong hands.")
"$(LNS) "))))))
(build-system gnu-build-system)
(arguments
- `(#:phases (modify-phases %standard-phases
- (delete 'configure)) ; no configure script
- #:make-flags (list ,(string-append "CC=" (cc-for-target))
- "RPATH=-Wl,-rpath,$(DESTDIR)$(LIBDIR)"
- (string-append "DESTDIR="
- (assoc-ref %outputs "out"))
- "INCLUDEDIR=/include"
- "LIBDIR=/lib"
- "MANDIR=/share/man"
- "SHAREDIR=/share/keyutils"
- "NO_ARLIB=1") ; omit static libraries
- #:test-target "test"))
+ (list #:make-flags
+ #~(list (string-append "CC=" #$(cc-for-target))
+ ;; "NO_ARLIB=1" would cleanly disable static libraries.
+ "RPATH=-Wl,-rpath,$(DESTDIR)$(LIBDIR)"
+ (string-append "DESTDIR=" #$output)
+ "INCLUDEDIR=/include"
+ "LIBDIR=/lib"
+ "MANDIR=/share/man"
+ "SHAREDIR=/share/keyutils")
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure) ; no configure script
+ (add-after 'install 'install:static
+ (lambda _
+ (with-directory-excursion #$output
+ (for-each (lambda (file)
+ (let ((target (string-append #$output:static
+ "/" file)))
+ (format #t "~a -> ~a\n" file target)
+ (mkdir-p (dirname target))
+ (rename-file file target)))
+ (find-files "lib" "\\.a$"))))))
+ #:test-target "test"))
(inputs
(list mit-krb5))
(home-page "https://people.redhat.com/dhowells/keyutils/")
@@ -403,7 +414,7 @@ the wrong hands.")
"Keyutils is a set of utilities for managing the key retention facility in
the Linux kernel, which can be used by file systems, block devices, and more to
gain and retain the authorization and encryption keys required to perform
-secure operations. ")
+secure operations.")
(license (list license:lgpl2.1+ ; the files keyutils.*
license:gpl2+)))) ; the rest
diff --git a/gnu/packages/cryptsetup.scm b/gnu/packages/cryptsetup.scm
index c8853dca30..d8a6437259 100644
--- a/gnu/packages/cryptsetup.scm
+++ b/gnu/packages/cryptsetup.scm
@@ -35,7 +35,7 @@
(define-public cryptsetup
(package
(name "cryptsetup")
- (version "2.3.6")
+ (version "2.3.7")
(source (origin
(method url-fetch)
(uri (string-append "mirror://kernel.org/linux/utils/cryptsetup/v"
@@ -43,7 +43,7 @@
"/cryptsetup-" version ".tar.xz"))
(sha256
(base32
- "0pv34l6230ba1i5p0z6zmvfqvv3as0cwn731h2qw4xm53sibg5mj"))))
+ "1a97rvi6arsj8dikh1qsvixx9rizm89k155q2ypifqlqllr530v1"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags
diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm
index 6342f85404..da113ac168 100644
--- a/gnu/packages/cups.scm
+++ b/gnu/packages/cups.scm
@@ -309,15 +309,6 @@ filters for the PDF-centric printing workflow introduced by OpenPrinting.")
(("INITDIR.*=.*@INITDIR@") "INITDIR = @prefix@/@INITDIR@")
(("/bin/sh") (which "sh")))
#t))
- ;; Make the compressed manpages writable so that the
- ;; reset-gzip-timestamps phase does not error out.
- (add-before 'reset-gzip-timestamps 'make-manpages-writable
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (man (string-append out "/share/man")))
- (for-each (lambda (file) (chmod file #o644))
- (find-files man "\\.gz"))
- #t)))
(add-before 'build 'patch-tests
(lambda _
(substitute* "tools/ippeveprinter.c"
diff --git a/gnu/packages/curl.scm b/gnu/packages/curl.scm
index 9a9d788ceb..27a98185e0 100644
--- a/gnu/packages/curl.scm
+++ b/gnu/packages/curl.scm
@@ -40,11 +40,15 @@
#:use-module (guix build-system copy)
#:use-module (guix build-system gnu)
#:use-module (guix build-system go)
+ #:use-module (guix build-system meson)
#:use-module (gnu packages)
+ #:use-module (gnu packages check)
#:use-module (gnu packages compression)
#:use-module (gnu packages golang)
#:use-module (gnu packages guile)
#:use-module (gnu packages kerberos)
+ #:use-module (gnu packages logging)
+ #:use-module (gnu packages libevent)
#:use-module (gnu packages libidn)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
@@ -333,3 +337,27 @@ more!")
"Provided a set of HTTP request headers, h2c outputs how to invoke
curl to obtain exactly that HTTP request.")
(license license:expat)))
+
+(define-public coeurl
+ (package
+ (name "coeurl")
+ (version "0.1.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://nheko.im/nheko-reborn/coeurl")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32
+ "0sqciagagyc0qv90g0qw8fkyvy4l8h7nbaz04chiz9gnv89hg28p"))))
+ (build-system meson-build-system)
+ (native-inputs
+ (list doctest pkg-config))
+ (inputs
+ (list curl libevent spdlog))
+ (home-page "https://nheko.im/nheko-reborn/coeurl")
+ (synopsis "Simple async wrapper around CURL for C++")
+ (description "Coeurl is a simple library to do HTTP requests
+asynchronously via cURL in C++.")
+ (license license:expat)))
diff --git a/gnu/packages/cybersecurity.scm b/gnu/packages/cybersecurity.scm
index c61342c0ba..0801c00c4f 100644
--- a/gnu/packages/cybersecurity.scm
+++ b/gnu/packages/cybersecurity.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;; Copyright © 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2021 c4droid <c4droid@foxmail.com>
+;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -20,10 +21,14 @@
(define-module (gnu packages cybersecurity)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (guix packages)
#:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix build-system cmake)
#:use-module (guix build-system python)
+ #:use-module (gnu packages cpp)
#:use-module (gnu packages engineering)
+ #:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages python-crypto)
@@ -32,6 +37,68 @@
#:use-module (gnu packages bioinformatics) ;python-intervaltree
#:use-module (gnu packages emulators))
+(define-public blacksmith
+ (package
+ (name "blacksmith")
+ (version "0.0.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/comsec-group/blacksmith")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0kyp71wndf527dgza5iks5m5vj543mvxp5w7cjd8x0pilmd1xrls"))
+ (modules '((guix build utils)))
+ (snippet `(begin
+ (delete-file-recursively "external")
+ (substitute* "CMakeLists.txt"
+ (("add_subdirectory\\(external\\)") "")
+ (("[ \t]*FetchContent_MakeAvailable\\(asmjit\\)")
+ (string-append
+ "find_package(asmjit)\n"
+ "find_package(nlohmann_json)")))))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:tests? #f ;no test-suite
+ #:imported-modules
+ ((guix build copy-build-system)
+ ,@%cmake-build-system-modules)
+ #:modules
+ (((guix build copy-build-system) #:prefix copy:)
+ (guix build cmake-build-system)
+ (guix build utils))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-build
+ (lambda _
+ (substitute* "CMakeLists.txt"
+ ;; Use default C++ standard instead.
+ (("cxx_std_17") "")
+ ;; This project tries to link argagg library, which doesn't
+ ;; exist, as argagg project is a single header file.
+ (("argagg") ""))))
+ (replace 'install
+ (lambda args
+ (apply (assoc-ref copy:%standard-phases 'install)
+ #:install-plan
+ '(("." "bin" #:include ("blacksmith"))
+ ("." "lib" #:include-regexp ("\\.a$")))
+ args))))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list argagg asmjit json-modern-cxx))
+ (home-page "https://comsec.ethz.ch/research/dram/blacksmith")
+ (synopsis "Rowhammer fuzzer with non-uniform and frequency-based patterns")
+ (description
+ "Blacksmith is an implementation of Rowhammer fuzzer that crafts novel
+non-uniform Rowhammer access patterns based on the concepts of frequency,
+phase, and amplitude. It is able to bypass recent @acronym{TRR, Target Row
+Refresh}in-DRAM mitigations effectively and as such can trigger bit flips.")
+ (license license:expat)))
+
(define-public ropgadget
(package
(name "ropgadget")
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 1f88524db3..128b349cae 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -17,7 +17,7 @@
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2016 Andy Patterson <ajpatter@uwaterloo.ca>
;;; Copyright © 2016 Danny Milosavljevic <dannym+a@scratchpost.org>
-;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2016-2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2017, 2018 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2017, 2020 Thomas Danckaert <post@thomasdanckaert.be>
;;; Copyright © 2017 Jelle Licht <jlicht@fsfe.org>
@@ -54,6 +54,7 @@
;;; Copyright © 2021 Alexandre Hannud Abdo <abdo@member.fsf.org>
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright © 2021 jgart <jgart@dismail.de>
+;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo@hotmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -114,6 +115,7 @@
#:use-module (gnu packages maths)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages ncurses)
+ #:use-module (gnu packages networking)
#:use-module (gnu packages onc-rpc)
#:use-module (gnu packages pantheon)
#:use-module (gnu packages parallel)
@@ -485,6 +487,12 @@ database later.")
"-DBENCHMARK_ENABLE_INSTALL=OFF")
#:phases
#~(modify-phases %standard-phases
+ ;; Ceph uses leveldb and depends on RTTI.
+ (add-after 'unpack 'allow-RTTI
+ (lambda _
+ (substitute* "CMakeLists.txt"
+ (("set\\(CMAKE_CXX_FLAGS \"\\$\\{CMAKE_CXX_FLAGS\\} -fno-rtti\"\\)")
+ ""))))
(add-after 'unpack 'unpack-third_party-sources
;; These are only for testing, so copying source is fine.
(lambda _
@@ -504,14 +512,14 @@ mapping from string keys to string values.")
(define-public memcached
(package
(name "memcached")
- (version "1.6.12")
+ (version "1.6.13")
(source
(origin
(method url-fetch)
(uri (string-append
"https://memcached.org/files/memcached-" version ".tar.gz"))
(sha256
- (base32 "0ii3z2mhjrimc6mv5z5x6bwp1s2bbzppja4m3pnmd5zgh9gs74gj"))))
+ (base32 "1m5mhw9ybb8qcyi6hb5kwpqanqmlnz27r54ccabc4y7nhpfvl6mx"))))
(build-system gnu-build-system)
(inputs
(list libevent cyrus-sasl))
@@ -648,35 +656,93 @@ replacement for the code@{python-memcached} library.")
auto-completion and syntax highlighting.")
(license license:bsd-3)))
+(define-public python-pgspecial
+ (package
+ (name "python-pgspecial")
+ (version "1.13.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pgspecial" version))
+ (sha256
+ (base32 "00ddkf565rjcxmfml1z4mmkns1aq8x5s5g85xmnz2scln42y4irq"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ (list python-click python-sqlparse python-psycopg2))
+ (home-page "https://github.com/dbcli/pgspecial")
+ (synopsis
+ "Python implementation of PostgreSQL meta commands (backslash commands)")
+ (description
+ "This Python package provides an API to execute meta-commands (AKA
+\"special\", or \"backslash commands\") on PostgreSQL.")
+ (license license:bsd-3)))
+
+(define-public pgcli
+ (package
+ (name "pgcli")
+ (version "3.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pgcli" version))
+ (sha256
+ (base32 "1dy6yzak696107pqv83296h0xhc3ahlfaydm80593gwn37krgpkc"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ (list python-cli-helpers
+ python-click
+ python-configobj
+ python-pendulum
+ python-pgspecial
+ python-prompt-toolkit
+ python-psycopg2
+ python-pygments
+ python-setproctitle
+ python-sqlparse))
+ (native-inputs
+ (list python-ipython-sql))
+ (home-page "https://www.pgcli.com")
+ (synopsis "PostgreSQL CLI with autocompletion and syntax highlighting")
+ (description
+ "@code{pgcli} is a command line interface for PostgreSQL with
+autocompletion and syntax highlighting.")
+ (license license:bsd-3)))
+
(define-public mycli
(package
(name "mycli")
(version "1.24.1")
(source
- (origin
- (method url-fetch)
- (uri (pypi-uri "mycli" version))
- (sha256
- (base32 "0rij9nw20zhqr7cqnkm8daw8b1wdc9zb6ny1ji9qz5557nz9i3bl"))))
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "mycli" version))
+ (sha256
+ (base32 "0rij9nw20zhqr7cqnkm8daw8b1wdc9zb6ny1ji9qz5557nz9i3bl"))))
(build-system python-build-system)
(arguments
- `(#:tests? #f)) ; tests expect a running MySQL
+ '(#:tests? #f ; tests expect a running MySQL
+ #:phases (modify-phases %standard-phases
+ (add-after 'unpack 'loosen-requirements
+ (lambda _
+ ;; Permit newer versions of sqlparse.
+ (substitute* "setup.py"
+ (("<0\\.4\\.0") "<0.5.0")))))))
(propagated-inputs
- (list python-cli-helpers
- python-click
- python-configobj
- python-cryptography
- python-prompt-toolkit
- python-pyaes
- python-pygments
- python-pymysql
- python-pyperclip
- python-sqlparse))
+ (list python-cli-helpers
+ python-click
+ python-configobj
+ python-cryptography
+ python-prompt-toolkit
+ python-pyaes
+ python-pygments
+ python-pymysql
+ python-pyperclip
+ python-sqlparse))
(home-page "https://www.mycli.net")
(synopsis
- "Terminal Client for MySQL with AutoCompletion and Syntax Highlighting")
+ "Terminal Client for MySQL with AutoCompletion and Syntax Highlighting")
(description
- "MyCLI is a command line interface for MySQL, MariaDB, and Percona with
+ "MyCLI is a command line interface for MySQL, MariaDB, and Percona with
auto-completion and syntax highlighting.")
(license license:bsd-3)))
@@ -1089,17 +1155,17 @@ and high-availability (HA).")
(license license:gpl2))) ;'COPYING' says "version 2" only
;; Don't forget to update the other postgresql packages when upgrading this one.
-(define-public postgresql-13
+(define-public postgresql-14
(package
(name "postgresql")
- (version "13.4")
+ (version "14.1")
(source (origin
(method url-fetch)
(uri (string-append "https://ftp.postgresql.org/pub/source/v"
version "/postgresql-" version ".tar.bz2"))
(sha256
(base32
- "1kf0gcsrl5n25rjlvkh87aywmn28kbwvakm5c7j1qpr4j01y34za"))
+ "07x45iycqpps0qh3ingc09jgn9rpnmc3gixx0qprhf5flwg10g2d"))
(patches (search-patches "postgresql-disable-resolve_symlinks.patch"))))
(build-system gnu-build-system)
(arguments
@@ -1146,6 +1212,18 @@ TIMESTAMP. It also supports storage of binary large objects, including
pictures, sounds, or video.")
(license (license:x11-style "file://COPYRIGHT"))))
+(define-public postgresql-13
+ (package
+ (inherit postgresql-14)
+ (version "13.4")
+ (source (origin
+ (inherit (package-source postgresql-14))
+ (uri (string-append "https://ftp.postgresql.org/pub/source/v"
+ version "/postgresql-" version ".tar.bz2"))
+ (sha256
+ (base32
+ "1kf0gcsrl5n25rjlvkh87aywmn28kbwvakm5c7j1qpr4j01y34za"))))))
+
(define-public postgresql-11
(package
(inherit postgresql-13)
@@ -1188,7 +1266,7 @@ pictures, sounds, or video.")
(define-public pgloader
(package
(name "pgloader")
- (version "3.6.2")
+ (version "3.6.3")
(source
(origin
(method git-fetch)
@@ -1196,7 +1274,7 @@ pictures, sounds, or video.")
(url "https://github.com/dimitri/pgloader")
(commit (string-append "v" version))))
(sha256
- (base32 "06i1jd2za3ih5caj2b4vzlzags5j65vv8dfdbz0ggdrp40wfd5lh"))
+ (base32 "147dcf0rmi94p95dvifx8qy7602fvs041dv9wlg3q31ly13agwb5"))
(file-name (git-file-name name version))))
(build-system gnu-build-system)
(arguments
@@ -1204,62 +1282,59 @@ pictures, sounds, or video.")
;; dependent on Quicklisp, main build target is `pgloader-standalone' which
;; does not require Quicklisp workarounds. There is no `install' target
;; configured in Makefile.
- `(#:tests? #f
- #:strip-binaries? #f
- #:make-flags
- (list "pgloader-standalone" "BUILDAPP_SBCL=buildapp")
- #:phases
- (modify-phases %standard-phases
- (delete 'configure)
- (add-after 'unpack 'set-home
- (lambda _
- (setenv "HOME" "/tmp")
- #t))
- (add-after 'unpack 'patch-Makefile
- (lambda _
- (substitute* "Makefile"
- (("--sbcl.*") "--sbcl $(CL) --asdf-path . \\\n"))
- #t))
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((bin (string-append (assoc-ref outputs "out") "/bin")))
- (mkdir-p bin)
- (install-file "build/bin/pgloader" bin))
- #t)))))
+ (list #:tests? #f
+ #:strip-binaries? #f
+ #:make-flags
+ #~(list "pgloader-standalone" "BUILDAPP_SBCL=buildapp")
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure)
+ (add-after 'unpack 'set-home
+ (lambda _
+ (setenv "HOME" "/tmp")))
+ (add-after 'unpack 'patch-Makefile
+ (lambda _
+ (substitute* "Makefile"
+ (("--sbcl.*") "--sbcl $(CL) --asdf-path . \\\n"))))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((bin (string-append #$output "/bin")))
+ (mkdir-p bin)
+ (install-file "build/bin/pgloader" bin)))))))
(native-inputs
(list buildapp sbcl))
(inputs
- `(("alexandria" ,sbcl-alexandria)
- ("cl-abnf" ,sbcl-cl-abnf)
- ("cl-base64" ,sbcl-cl-base64)
- ("cl-csv" ,sbcl-cl-csv)
- ("cl-fad" ,sbcl-cl-fad)
- ("cl-log" ,sbcl-cl-log)
- ("cl-markdown" ,sbcl-cl-markdown)
- ("cl-mustache" ,sbcl-cl-mustache)
- ("cl-ppcre" ,sbcl-cl-ppcre)
- ("cl-sqlite" ,sbcl-cl-sqlite)
- ("closer-mop" ,sbcl-closer-mop)
- ("command-line-arguments" ,sbcl-command-line-arguments)
- ("db3" ,sbcl-db3)
- ("drakma" ,sbcl-drakma)
- ("esrap" ,sbcl-esrap)
- ("flexi-streams" ,sbcl-flexi-streams)
- ("ixf" ,sbcl-ixf)
- ("local-time" ,sbcl-local-time)
- ("lparallel" ,sbcl-lparallel)
- ("metabang-bind" ,sbcl-metabang-bind)
- ("mssql" ,sbcl-mssql)
- ("postmodern" ,sbcl-postmodern)
- ("py-configparser" ,sbcl-py-configparser)
- ("qmynd" ,sbcl-qmynd)
- ("quri" ,sbcl-quri)
- ("split-sequence" ,sbcl-split-sequence)
- ("trivial-backtrace" ,sbcl-trivial-backtrace)
- ("usocket" ,sbcl-usocket)
- ("uuid" ,sbcl-uuid)
- ("yason" ,sbcl-yason)
- ("zs3" ,sbcl-zs3)))
+ (list sbcl-alexandria
+ sbcl-cl-abnf
+ sbcl-cl-base64
+ sbcl-cl-csv
+ sbcl-cl-fad
+ sbcl-cl-log
+ sbcl-cl-markdown
+ sbcl-cl-mustache
+ sbcl-cl-ppcre
+ sbcl-cl-sqlite
+ sbcl-closer-mop
+ sbcl-command-line-arguments
+ sbcl-db3
+ sbcl-drakma
+ sbcl-esrap
+ sbcl-flexi-streams
+ sbcl-ixf
+ sbcl-local-time
+ sbcl-lparallel
+ sbcl-metabang-bind
+ sbcl-mssql
+ sbcl-postmodern
+ sbcl-py-configparser
+ sbcl-qmynd
+ sbcl-quri
+ sbcl-split-sequence
+ sbcl-trivial-backtrace
+ sbcl-usocket
+ sbcl-uuid
+ sbcl-yason
+ sbcl-zs3))
(home-page "https://pgloader.io/")
(synopsis "Tool to migrate data to PostgreSQL")
(description
@@ -1395,7 +1470,7 @@ including field and record folding.")
(define-public rocksdb
(package
(name "rocksdb")
- (version "6.25.3")
+ (version "6.26.1")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -1404,7 +1479,7 @@ including field and record folding.")
(file-name (git-file-name name version))
(sha256
(base32
- "14150kd7hk8jjwpm28bf3a0agrhyapbq9lgnl00l385vfb73wnzl"))
+ "0mylma106w93kxhj89g9y1ccdq7m9m94wrmv5nyr17yc1zsk87sg"))
(modules '((guix build utils)))
(snippet
'(begin
@@ -1412,70 +1487,33 @@ including field and record folding.")
(delete-file "build_tools/gnu_parallel")
(substitute* "Makefile"
(("build_tools/gnu_parallel") "parallel"))))))
- (build-system gnu-build-system)
+ (build-system cmake-build-system)
(arguments
- `(#:make-flags (list (string-append "CC=" ,(cc-for-target))
- (string-append "PREFIX=" (assoc-ref %outputs "out"))
- ;; Ceph requires that RTTI is enabled.
- "USE_RTTI=1"
- ;; Don't pass '-march=native' to the compiler.
- "PORTABLE=1"
- ;; Use a deterministic date stamp.
- "build_date=1970-01-01"
-
- ;; Running the full test suite takes hours and require
- ;; a lot of disk space. Instead we only run a subset
- ;; that exercises platform-specific functionality.
- "ROCKSDBTESTS_PLATFORM_DEPENDENT=only")
- #:test-target "check_some"
- ;; Many tests fail on 32-bit platforms. There are multiple reports about
- ;; this upstream, but it's not going to be supported any time soon.
- #:tests? ,(if (%current-target-system)
- #f
- (let ((system (%current-system)))
- (or (string-prefix? "x86_64-linux" system)
- (string-prefix? "aarch64-linux" system))))
+ `(#:configure-flags
+ (list "-DROCKSDB_BUILD_SHARED=1"
+ ;; Ceph requires that RTTI is enabled.
+ "-DUSE_RTTI=1"
+ ;; Prevent the build from passing '-march=native' to the compiler.
+ "-DPORTABLE=1")
+
+ ;; Many tests fail on 32-bit platforms. There are multiple
+ ;; reports about this upstream, but it's not going to be
+ ;; supported any time soon. What's worse: Release builds don't
+ ;; include tests, and overriding the build system to build
+ ;; tests anyway fails with missing TEST_ symbols.
+ #:tests? #false
#:phases
(modify-phases %standard-phases
- (add-after 'unpack 'patch-Makefile
- (lambda _
- (substitute* "Makefile"
- ;; Don't depend on the static library when installing.
- (("install: install-static")
- "install:")
- (("#!/bin/sh") (string-append "#!" (which "sh"))))))
- (delete 'configure)
- ;; The default target is only needed for tests and built on demand.
- (delete 'build)
- (add-before 'check 'mount-tmp
- ;; Use the provided workspace directory for test files.
- ;; Otherwise, /tmp is used which is a mount namespace on /gnu/store.
- ;; This speeds up the build when the host /tmp is a proper tmpfs or
- ;; other fast filesystem, as opposed to /gnu which may be a HDD.
- (lambda _
- (let ((test-dir (string-append (getcwd) "/../test")))
- (mkdir test-dir)
- (setenv "TEST_TMPDIR" (canonicalize-path test-dir)))))
- (add-before 'check 'disable-failing-tests
+ (add-after 'unpack 'patch-CMakeLists.txt
(lambda _
- (substitute* "Makefile"
- ;; These tests reliably fail due to "Too many open files".
- (("^[[:blank:]]+env_test[[:blank:]]+\\\\") "\\")
- (("^[[:blank:]]+persistent_cache_test[[:blank:]]+\\\\") "\\"))))
- (add-after 'check 'clean
+ (substitute* "CMakeLists.txt"
+ ;; build reproducibly
+ (("set\\(BUILD_DATE \"\\$\\{TS\\}\"")
+ "set(BUILD_DATE \"1970-01-01\""))))
+ (add-after 'unpack 'build-generically
(lambda _
- ;; Otherwise stale objects from the tests would interfere.
- (invoke "make" "clean")))
- (add-after 'clean 'build
- ;; The default build target is a debug build for tests. The
- ;; install target depends on the "shared_lib" release target
- ;; so we build it here for clarity.
- (lambda* (#:key (make-flags '()) parallel-build? #:allow-other-keys)
- (apply invoke "make" "shared_lib"
- `(,@(if parallel-build?
- `("-j" ,(number->string (parallel-job-count)))
- '())
- ,@make-flags)))))))
+ (substitute* "CMakeLists.txt"
+ (("if\\(HAVE_SSE42\\)") "if(FALSE)")))))))
(native-inputs
(list parallel perl procps python which))
(inputs
@@ -3056,13 +3094,13 @@ Database API 2.0T.")
(define-public python-sqlalchemy
(package
(name "python-sqlalchemy")
- (version "1.4.27")
+ (version "1.4.31")
(source
(origin
(method url-fetch)
(uri (pypi-uri "SQLAlchemy" version))
(sha256
- (base32 "031jbd0svrvwr3n52iibp9mkwsj9wicnck45yd26da5kmsfkas6p"))))
+ (base32 "06448s883bb8fgca33bn0pfaj15la0g4cax2mmx482kqwp8mjasq"))))
(build-system python-build-system)
(native-inputs
(list python-cython ; for C extensions
@@ -3086,18 +3124,6 @@ designed for efficient and high-performing database access, adapted into a
simple and Pythonic domain language.")
(license license:x11)))
-(define-public python-sqlalchemy-1.3
- (package
- (inherit python-sqlalchemy)
- (version "1.3.20")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "SQLAlchemy" version))
- (sha256
- (base32 "18b9am7bsqc4nj3d2h5r93i002apczxfvpfpcqbd6f0385zmrwnj"))))
- (propagated-inputs '())))
-
(define-public python2-sqlalchemy
(package-with-python2 python-sqlalchemy))
@@ -3125,14 +3151,14 @@ framework.")
(define-public python-sqlalchemy-utils
(package
(name "python-sqlalchemy-utils")
- (version "0.32.21")
+ (version "0.38.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "SQLAlchemy-Utils" version))
(sha256
(base32
- "1myn71dn8j74xglyh46f12sh8ywb7j0j732rzwq70kvwwnq32m73"))))
+ "1d6fq81489kqzxmk3l6f39sinw206lzs392frmpr5lsjzg9xc0cy"))))
(build-system python-build-system)
(arguments
'(#:tests? #f)) ; FIXME: Many tests require a running database server.
@@ -3393,27 +3419,128 @@ designed to be easy and intuitive to use.")
(define-public python-psycopg2
(package
(name "python-psycopg2")
- (version "2.9.2")
+ (version "2.9.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "psycopg2" version))
(sha256
- (base32 "1smvvs1ngqy0ymlp1d7f85j09j9v0z5dq14f1qky0j0qi7xajkd8"))))
+ (base32 "1099as8ind9kpz30rmqzc3nir668fmpkxwayrj2sjka3ycdiv14f"))))
(build-system python-build-system)
(arguments
;; Tests would require a postgresql database "psycopg2_test"
;; and a running postgresql database management service.
- `(#:tests? #f)) ; TODO re-enable after providing a test-db.
+ '(#:tests? #f)) ; TODO re-enable after providing a test-db.
(inputs
(list postgresql)) ; libpq
- (home-page "http://initd.org/psycopg/")
+ (home-page "https://www.psycopg.org/")
(synopsis "Python PostgreSQL adapter")
(description
"psycopg2 is a thread-safe PostgreSQL adapter that implements DB-API
2.0.")
(license license:lgpl3+)))
+(define-public python-psycopg-pool
+ (package
+ (name "python-psycopg-pool")
+ ;; The connection pooling code is on a different release cadence
+ ;; from the driver code, so fetch the latest PyPI release.
+ (version "3.0.3")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "psycopg-pool" version))
+ (sha256
+ (base32
+ "1nx139pwzsgrz253zjxw2sf8h713s79h4cp1falmpc39j08djb46"))))
+ (build-system python-build-system)
+ (arguments
+ (list #:tests? #f ;run for psycopg below
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; This module requires 'psycopg', however psycopg needs this
+ ;; for its tests. Disable sanity check to break the cycle.
+ (delete 'sanity-check))))
+ (home-page "https://www.psycopg.org/")
+ (synopsis "Connection pooler for psycopg")
+ (description
+ "This module provides connection pool implementations that can be used
+with the @code{psycopg} PostgreSQL driver.")
+ (license license:lgpl3+)))
+
+(define-public python-psycopg
+ (package
+ (name "python-psycopg")
+ (version "3.0.8")
+ (source (origin
+ ;; Fetch from git because PyPI contains only cythonized sources.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/psycopg/psycopg")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "16i19jqd9lg9r7bc63ssh527cccrpf49g1nlayikk5qlswpzp75y"))))
+ (build-system python-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'change-directory
+ (lambda _
+ (chdir "psycopg")))
+ (add-after 'build 'build-c-extensions
+ (lambda _
+ (with-directory-excursion "../psycopg_c"
+ ((assoc-ref %standard-phases 'build)))))
+ (add-after 'install 'install-c-extensions
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ ;; For some reason setup.py refuses to install if the
+ ;; installation directory is not on PYTHONPATH.
+ (setenv "PYTHONPATH" (site-packages inputs outputs))
+ (with-directory-excursion "../psycopg_c"
+ ((assoc-ref %standard-phases 'install)
+ #:inputs inputs
+ #:outputs outputs))))
+ (add-before 'check 'start-postgresql
+ (lambda _
+ (let ((dbdir (string-append (getcwd) "/../pgdir")))
+ (invoke "initdb" "-D" dbdir)
+ (invoke "pg_ctl" "-D" dbdir
+ "-o" (string-append "-k " dbdir)
+ "-l" (string-append dbdir "/db.log")
+ "start")
+
+ (invoke "psql" "-h" dbdir "-d" "postgres"
+ "-c" "CREATE DATABASE nixbld;"))))
+ (replace 'check
+ (lambda* (#:key inputs tests? #:allow-other-keys)
+ (when tests?
+ (setenv "TZDIR" (search-input-directory inputs
+ "share/zoneinfo"))
+ (with-directory-excursion ".."
+ (invoke "pytest" "-vv"
+ "-o" "asyncio_mode=auto"
+ ;; FIXME: Many of the typing tests are failing,
+ ;; conveniently tagged as slow...
+ "-k" "not slow"))))))))
+ (native-inputs
+ (list python-cython-3
+ python-mypy
+ python-psycopg-pool
+ python-pytest
+ python-pytest-asyncio
+ python-tenacity
+ pproxy
+ tzdata-for-tests))
+ (inputs
+ (list postgresql))
+ (home-page "https://www.psycopg.org/")
+ (synopsis "PostgreSQL driver for Python")
+ (description
+ "Psycopg 3 is a new implementation of the popular @code{psycopg2}
+database adapter for Python.")
+ (license license:lgpl3+)))
+
(define-public python-sadisplay
(package
(name "python-sadisplay")
@@ -3685,13 +3812,13 @@ is designed to have a low barrier to entry.")
(define-public python-sqlparse
(package
(name "python-sqlparse")
- (version "0.4.1")
+ (version "0.4.2")
(source (origin
(method url-fetch)
(uri (pypi-uri "sqlparse" version))
(sha256
(base32
- "1s2l0jgi1v7rk7smzb99iamasaz22apfkczsphn3ci4wh8pgv48g"))))
+ "1bkx52c2jh28c528b69qfk2ijfzw1laxx6lim7jr8fi6fh67600c"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -3719,7 +3846,8 @@ is designed to have a low barrier to entry.")
(synopsis "Non-validating SQL parser")
(description "Sqlparse is a non-validating SQL parser for Python. It
provides support for parsing, splitting and formatting SQL statements.")
- (license license:bsd-3)))
+ (license license:bsd-3)
+ (properties '((cpe-name . "sqlparse")))))
(define-public python-sql
(package
diff --git a/gnu/packages/datamash.scm b/gnu/packages/datamash.scm
index 51a35e0a1d..4ce1dbda7d 100644
--- a/gnu/packages/datamash.scm
+++ b/gnu/packages/datamash.scm
@@ -21,10 +21,16 @@
#:use-module (guix packages)
#:use-module (guix licenses)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (guix build-system gnu)
+ #:use-module (guix gexp)
+ #:use-module (guix utils)
#:use-module (gnu packages)
+ #:use-module (gnu packages base)
+ #:use-module (gnu packages gawk)
#:use-module (gnu packages perl)
- #:use-module (gnu packages base))
+ #:use-module (gnu packages python)
+ #:use-module (gnu packages python-xyz))
(define-public datamash
(package
@@ -48,3 +54,99 @@
"Perform basic numeric, textual and statistical operations on plain text
files. Designed to work within standard pipelines without additional code.")
(license gpl3+)))
+
+(define-public vnlog
+ (package
+ (name "vnlog")
+ (version "1.32")
+ (home-page "https://github.com/dkogan/vnlog")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1g4insm6gkw3c82fq8q9swkdha3cncbz1nib15yg9b2s4yl123hm"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ (list python-numpy)) ;for tests
+ (inputs
+ (list mawk
+ perl
+ perl-ipc-run
+ perl-list-moreutils
+ perl-string-shellquote
+ perl-text-diff
+ perl-text-table
+ python-wrapper))
+ (arguments
+ (list #:make-flags
+ #~(list (string-append "CC=" #$(cc-for-target))
+ (string-append "DESTDIR=" #$output)
+ "USRLIB=lib"
+ "MANDIR=share/man"
+ (string-append "PY3_MODULE_PATH=lib/python"
+ #$(version-major+minor
+ (package-version
+ (this-package-input "python-wrapper")))
+ "/site-packages")
+ ;; Do not install the Python 2 modules.
+ "DIST_PY2_MODULES=")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'adjust-Makefile
+ (lambda _
+ (substitute* "GNUmakefile"
+ ;; Install Perl modules to the usual location.
+ (("/usr/share/perl5")
+ (string-append "/lib/perl5/site_perl/"
+ #$(package-version
+ (this-package-input "perl"))))
+ ;; Do not add a '/usr' suffix to DESTDIR.
+ (("\\$\\(DESTDIR\\)/usr")
+ "$(DESTDIR)")
+ ;; Do not strip RUNPATH from the installed C library.
+ ((".*find.*chrpath.*")
+ ""))))
+ (add-after 'unpack 'use-absolute-mawk
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((mawk (search-input-file inputs "bin/mawk")))
+ (substitute* '("vnl-filter" "lib/Vnlog/Util.pm")
+ (("'mawk'")
+ (string-append "'" mawk "'"))))))
+ (delete 'configure)
+ (add-before 'check 'disable-python2-test
+ (lambda _
+ (delete-file "test/test_python2_parser.sh")
+ (substitute* "GNUmakefile"
+ ((".*test/test_python2_parser\\.sh\\.RUN.*")
+ ""))))
+ (add-after 'install 'wrap
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (PERL5LIB (string-append
+ out "/lib/perl5/site_perl/"
+ #$(package-version
+ (this-package-input "perl"))
+ ":" (getenv "PERL5LIB"))))
+ (for-each (lambda (script)
+ (wrap-program script
+ `("PERL5LIB" ":" prefix (,PERL5LIB))))
+ (find-files (string-append out "/bin"))))))
+ (add-after 'wrap 'check-wrapped-executables
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ ;; Assert that the installed Perl scripts can find
+ ;; their dependencies even when PERL5LIB is unset.
+ (unsetenv "PERL5LIB")
+ (for-each (lambda (script)
+ (invoke/quiet script "--help"))
+ (find-files (string-append out "/bin")
+ "^vnl-[[:lower:]]+$"))))))))
+ (synopsis "Process labelled tabular ASCII data on the command line")
+ (description
+ "Vnlog (pronounced @dfn{vanillog}) is a toolkit for manipulating
+tabular ASCII data with labelled fields using regular command-line tools.")
+ (license lgpl2.1+)))
diff --git a/gnu/packages/datastructures.scm b/gnu/packages/datastructures.scm
index 2b00137a3e..07cd2aa872 100644
--- a/gnu/packages/datastructures.scm
+++ b/gnu/packages/datastructures.scm
@@ -137,14 +137,14 @@ in between these sequences may be different in both content and length.")
(define-public liburcu
(package
(name "liburcu")
- (version "0.13.0")
+ (version "0.13.1")
(source (origin
(method url-fetch)
(uri (string-append "https://www.lttng.org/files/urcu/"
"userspace-rcu-" version ".tar.bz2"))
(sha256
(base32
- "085s437nig6bdiv9im4k4qwqbrbnc4qw9flqi16jlb493az0vcnb"))))
+ "10rh6v9j13622cjlzx31cfpghjy0kqkvn6pb42whwwcg5cyz64rj"))))
(build-system gnu-build-system)
(native-inputs
(list perl)) ; for tests
diff --git a/gnu/packages/debian.scm b/gnu/packages/debian.scm
index b2bd6c411e..9a303003d3 100644
--- a/gnu/packages/debian.scm
+++ b/gnu/packages/debian.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2018, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2018, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
;;;
@@ -83,7 +83,7 @@ contains the archive keys used for that.")
(define-public debian-ports-archive-keyring
(package
(name "debian-ports-archive-keyring")
- (version "2020.02.02")
+ (version "2021.12.30")
(source
(origin
(method url-fetch)
@@ -92,7 +92,7 @@ contains the archive keys used for that.")
"/debian-ports-archive-keyring_" version ".tar.xz"))
(sha256
(base32
- "0746zfc3n4f77wlrd9a9a6r4mahz2cx5wdd9izg65vmn5qwamgza"))))
+ "14f9hklr8gdlp782j5ijmm0nh061zcfw9vwpr8smb7rdfzk4wk70"))))
(build-system gnu-build-system)
(arguments
'(#:tests? #f ; No test suite.
diff --git a/gnu/packages/debug.scm b/gnu/packages/debug.scm
index f56f70d0a1..3bf7f6a8e0 100644
--- a/gnu/packages/debug.scm
+++ b/gnu/packages/debug.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2014, 2015, 2016, 2017, 2019, 2020, 2021 Eric Bavier <bavier@posteo.net>
+;;; Copyright © 2014, 2015, 2016, 2017, 2019-2022 Eric Bavier <bavier@posteo.net>
;;; Copyright © 2016, 2017, 2018, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018, 2019 Rutger Helling <rhelling@mykolab.com>
@@ -179,7 +179,7 @@ tools that process C/C++ code.")
(define-public c-vise
(package
(name "c-vise")
- (version "2.3.0")
+ (version "2.4.0")
(source
(origin
(method git-fetch)
@@ -187,19 +187,14 @@ tools that process C/C++ code.")
(url "https://github.com/marxin/cvise")
(commit (string-append "v" version))))
(sha256
- (base32 "0f6m58rak87gvcvxxcgp1bzbsv1q618h0iipmv0dx9jv1bn0qv43"))
+ (base32 "1i2z5q2pcwh1gpdqc24x1a2q5vzwhblzzq021nzwf304di7m18vl"))
(file-name (git-file-name name version))))
(build-system cmake-build-system)
(native-inputs
(list flex python-pytest python-pytest-flake8))
(inputs
- `(("bash" ,bash-minimal) ; For wrap-program
- ("clang" ,clang)
- ("llvm" ,llvm)
- ("python" ,python)
- ("python-pebble" ,python-pebble)
- ("python-psutil" ,python-psutil)
- ("unifdef" ,unifdef)))
+ (list bash-minimal clang llvm unifdef
+ python python-pebble python-psutil python-chardet))
(arguments
`(#:phases
(modify-phases %standard-phases
diff --git a/gnu/packages/diffoscope.scm b/gnu/packages/diffoscope.scm
index 3c57b5a8c4..743447a9d5 100644
--- a/gnu/packages/diffoscope.scm
+++ b/gnu/packages/diffoscope.scm
@@ -74,7 +74,7 @@
(define-public diffoscope
(package
(name "diffoscope")
- (version "197")
+ (version "199")
(source
(origin
(method git-fetch)
@@ -83,7 +83,7 @@
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0wpwzjqv7pbah55hmajyca7mmz7xv98mg0yqknjzmrjvfnm6azgw"))
+ (base32 "0wy1nd52a4rzqhhdcdi3pfgrixz3w3q7qfc9mpc9zraq5cj94l7n"))
(patches
(search-patches "diffoscope-fix-llvm-test.patch"))))
(build-system python-build-system)
@@ -157,7 +157,6 @@
binwalk
python-pytest
python-chardet
- python-black
python-h5py
python-pypdf2
python-progressbar33
diff --git a/gnu/packages/digest.scm b/gnu/packages/digest.scm
index 0af6720c03..4211848fdb 100644
--- a/gnu/packages/digest.scm
+++ b/gnu/packages/digest.scm
@@ -19,6 +19,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages digest)
+ #:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
@@ -66,7 +67,8 @@ Zig, V, and Nim programming language standard libraries.")
(define-public xxhash
(package
(name "xxhash")
- (version "0.8.0")
+ ;; XXX Remove the 'fix-man-page-links phase when updating.
+ (version "0.8.1")
(source
(origin
(method git-fetch)
@@ -75,21 +77,27 @@ Zig, V, and Nim programming language standard libraries.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0hpbzdd6kfki5f61g103vp7pfczqkdj0js63avl0ss552jfb8h96"))))
+ (base32 "1h6080lvcr5mpbvy4fhb4i7wvhpy72nrixk3djmpai4hxq41hsnr"))))
(build-system gnu-build-system)
(arguments
- `(#:make-flags
- (list ,(string-append "CC=" (cc-for-target))
- ,(match (or (%current-target-system)
- (%current-system))
- ;; Detect vector instruction set at run time.
- ((or "i686-linux" "x86_64-linux") "DISPATCH=1")
- (_ "DISPATCH=0"))
- "XXH_FORCE_MEMORY_ACCESS=1" ; improved performance with GCC
- (string-append "prefix=" (assoc-ref %outputs "out")))
- #:phases
- (modify-phases %standard-phases
- (delete 'configure)))) ; no configure script
+ (list #:make-flags
+ #~(list #$(string-append "CC=" (cc-for-target))
+ #$(match (or (%current-target-system)
+ (%current-system))
+ ;; Detect vector instruction set at run time.
+ ((or "i686-linux" "x86_64-linux") "DISPATCH=1")
+ (_ "DISPATCH=0"))
+ "XXH_FORCE_MEMORY_ACCESS=1" ; improved performance with GCC
+ (string-append "prefix=" (assoc-ref %outputs "out")))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-man-page-links
+ ;; https://github.com/Cyan4973/xxHash/issues/647
+ (lambda _
+ (substitute* "Makefile"
+ (("ln -sf \\$\\(MAN\\)")
+ "ln -sf xxhsum.1"))))
+ (delete 'configure)))) ; no configure script
(home-page "https://cyan4973.github.io/xxHash/")
(synopsis "Extremely fast hash algorithm")
(description
diff --git a/gnu/packages/direct-connect.scm b/gnu/packages/direct-connect.scm
index 87bf0a7c8a..d342537122 100644
--- a/gnu/packages/direct-connect.scm
+++ b/gnu/packages/direct-connect.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2022 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -18,9 +19,11 @@
(define-module (gnu packages direct-connect)
#:use-module (guix build-system scons)
+ #:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (gnu packages)
#:use-module (gnu packages boost)
#:use-module (gnu packages compression)
#:use-module (gnu packages gettext)
@@ -42,8 +45,19 @@
"https://launchpad.net/linuxdcpp/1.1/1.1.0/+download/linuxdcpp-"
version ".tar.bz2"))
(sha256
- (base32
- "12i92hirmwryl1qy0n3jfrpziwzb82f61xca9jcjwyilx502f0b6"))))
+ (base32 "12i92hirmwryl1qy0n3jfrpziwzb82f61xca9jcjwyilx502f0b6"))
+ (patches (search-patches "linuxdcpp-openssl-1.1.patch"))
+ (modules '((guix build utils)))
+ (snippet
+ #~(begin
+ (substitute* "SConstruct"
+ ;; This compares single char[]acters in the version string, and
+ ;; broke when GCC went into double digits.
+ (("conf.CheckCXXVersion\\([^\\)]*\\)")
+ "True")
+ ;; Not all valid C++98 code is valid C++14 (and higher) code.
+ (("'-D_REENTRANT'" match)
+ (string-append match ", '-std=gnu++98'")))))))
(build-system scons-build-system)
(arguments
`(#:scons ,scons-python2
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index 3ab65e60d4..1a196f4b40 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -93,6 +93,7 @@
#:use-module (guix build-system trivial)
#:use-module (guix build-system scons)
#:use-module (guix download)
+ #:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
@@ -635,7 +636,7 @@ systems. Output format is completely customizable.")
(inputs
(list eudev parted))
(home-page "http://oss.digirati.com.br/f3/")
- (synopsis "Test real capacity of flash memory cards and such.")
+ (synopsis "Test real capacity of flash memory cards and such")
(description "F3 (Fight Flash Fraud or Fight Fake Flash) tests the full
capacity of a flash card (flash drive, flash disk, pendrive). F3 writes to
the card and then checks if can read it. It will assure you haven't been sold
@@ -811,7 +812,7 @@ passphrases.")
(define-public ndctl
(package
(name "ndctl")
- (version "71.1")
+ (version "72.1")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -820,8 +821,28 @@ passphrases.")
(file-name (git-file-name name version))
(sha256
(base32
- "1vi61bm9wyawklswh9mj9zdp28ar7r97qckwnhgiyila73fb3jx2"))))
+ "1lvrhlad5n43bal053ihgbwr1k4ka2kscrjwr9rs5xnf2vy7204v"))))
(build-system gnu-build-system)
+ (arguments
+ (list #:configure-flags
+ #~(list "--disable-asciidoctor" ; use docbook-xsl instead
+ "--without-systemd")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-version
+ ;; Our VERSION's always better than the build's poor guess.
+ (lambda _
+ (with-output-to-file "version"
+ (lambda _ (display #$version)))))
+ (add-after 'unpack 'patch-FHS-file-names
+ (lambda _
+ (substitute* "git-version-gen"
+ (("/bin/sh") (which "sh")))
+ (substitute* "git-version"
+ (("/bin/bash") (which "bash"))))))
+ #:make-flags
+ #~(list (string-append "BASH_COMPLETION_DIR=" #$output
+ "/share/bash-completion/completions"))))
(native-inputs
(list asciidoc
automake
@@ -835,25 +856,12 @@ passphrases.")
;; Required for offline docbook generation.
which))
(inputs
- (list eudev json-c keyutils kmod
+ (list eudev
+ iniparser
+ json-c
+ keyutils
+ kmod
`(,util-linux "lib")))
- (arguments
- `(#:configure-flags
- (list "--disable-asciidoctor" ; use docbook-xsl instead
- "--without-systemd")
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-FHS-file-names
- (lambda _
- (substitute* "git-version-gen"
- (("/bin/sh") (which "sh")))
- (substitute* "git-version"
- (("/bin/bash") (which "bash")))
- #t)))
- #:make-flags
- (let ((out (assoc-ref %outputs "out")))
- (list (string-append "BASH_COMPLETION_DIR=" out
- "/share/bash-completion/completions")))))
(home-page "https://github.com/pmem/ndctl")
(synopsis "Manage the non-volatile memory device sub-system in the Linux kernel")
(description
@@ -1217,8 +1225,8 @@ and a partitioning of the heap between kinds of memory (for NUMA).")
(license license:bsd-3)))
(define-public mmc-utils
- (let ((commit "e9654ebc4a6a48642848822c4a1355a9de4958d1")
- (revision "0"))
+ (let ((commit "3969aa4804edb8aed7bcb3c958e49d0c7388b067")
+ (revision "1"))
(package
(name "mmc-utils")
(version (git-version "0.1" revision commit))
@@ -1226,12 +1234,11 @@ and a partitioning of the heap between kinds of memory (for NUMA).")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git")
+ (url "https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git")
(commit commit)))
(file-name (git-file-name name version))
(sha256
- (base32
- "1dbsppsmky0r4z6kxwczrw8pih8bhc2pb61gsvs986r4xy6jr17a"))))
+ (base32 "0pvcm685x63afvp8795jd4vn4zs8psh8bs6j2yvk1kgrawpyk10g"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; No test suite
@@ -1247,7 +1254,8 @@ and a partitioning of the heap between kinds of memory (for NUMA).")
(let* ((out (assoc-ref outputs "out"))
(man1 (string-append out "/share/man/man1")))
(install-file "man/mmc.1" man1)))))))
- (home-page "https://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git/")
+ (home-page
+ "https://www.kernel.org/doc/html/latest/driver-api/mmc/mmc-tools.html")
(synopsis "Configure MMC storage devices from userspace")
(description "mmc-utils is a command-line tool for configuring and
inspecting MMC storage devices from userspace.")
diff --git a/gnu/packages/display-managers.scm b/gnu/packages/display-managers.scm
index 86415bc0cf..80aad1af5d 100644
--- a/gnu/packages/display-managers.scm
+++ b/gnu/packages/display-managers.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2021 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -188,6 +189,68 @@ Guix's logo. Based on Arch linux's archlinux-simplyblack theme.")
easy to use, login interface with a modern yet classy touch.")
(license license:gpl3+)))
+(define-public sugar-dark-sddm-theme
+ (package
+ (name "sugar-dark-sddm-theme")
+ (version "1.2")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/MarianArlt/sddm-sugar-dark")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0gx0am7vq1ywaw2rm1p015x90b75ccqxnb1sz3wy8yjl27v82yhb"))))
+ (build-system trivial-build-system)
+ (arguments
+ `(#:modules ((guix build utils))
+ #:builder
+ (begin
+ (use-modules (guix build utils))
+ (let* ((out (assoc-ref %outputs "out"))
+ (sddm-themes (string-append out "/share/sddm/themes")))
+ (mkdir-p sddm-themes)
+ (copy-recursively (assoc-ref %build-inputs "source")
+ (string-append sddm-themes "/chili"))))))
+ (home-page "https://github.com/MarianArlt/sddm-sugar-dark")
+ (synopsis "Sugar dark theme for SDDM")
+ (description "Sugar is extremely customizable and so sweet it will
+probably cause you diabetes just from looking at it. Sweeten the login
+experience for your users, your family and yourself")
+ (license license:gpl3+)))
+
+(define-public sugar-light-sddm-theme
+ (package
+ (name "sugar-light-sddm-theme")
+ (version "1.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/MarianArlt/sddm-sugar-light")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1sfd5bi5jcfz3hmvvr3smalywixa70g5j96qgx1220mp6rqf886k"))))
+ (build-system trivial-build-system)
+ (arguments
+ `(#:modules ((guix build utils))
+ #:builder
+ (begin
+ (use-modules (guix build utils))
+ (let* ((out (assoc-ref %outputs "out"))
+ (sddm-themes (string-append out "/share/sddm/themes")))
+ (mkdir-p sddm-themes)
+ (copy-recursively (assoc-ref %build-inputs "source")
+ (string-append sddm-themes "/chili"))))))
+ (home-page "https://github.com/MarianArlt/sddm-sugar-light")
+ (synopsis "Sugar light theme for SDDM")
+ (description "Sugar is extremely customizable and so sweet it will
+probably cause you diabetes just from looking at it. Sweeten the login
+experience for your users, your family and yourself")
+ (license license:gpl3+)))
+
(define-public lightdm
(package
(name "lightdm")
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 38af7028b7..abec9e454f 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -6,7 +6,7 @@
;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2018 Vijayalakshmi Vedantham <vijimay12@gmail.com>
;;; Copyright © 2019 Sam <smbaines8@gmail.com>
-;;; Copyright © 2020, 2021 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2020, 2021, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Luis Felipe López Acevedo <luis.felipe.la@protonmail.com>
;;;
@@ -30,6 +30,7 @@
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
+ #:use-module (guix gexp)
#:use-module (guix build-system python)
#:use-module (guix deprecation)
#:use-module (gnu packages)
@@ -41,6 +42,7 @@
#:use-module (gnu packages geo)
#:use-module (gnu packages openldap)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-build)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
@@ -51,13 +53,13 @@
(define-public python-django-4.0
(package
(name "python-django")
- (version "4.0")
+ (version "4.0.1")
(source (origin
(method url-fetch)
(uri (pypi-uri "Django" version))
(sha256
(base32
- "0xgf2d8j54kicaz8f6ailzlgcvq5zs6wgn74gqivka0rm16s3a6m"))))
+ "11pg33ib43pvkflgvs5gs6c9zflhpxp8dvhd109swfscrjiyx194"))))
(build-system python-build-system)
(arguments
'(#:phases
@@ -118,6 +120,13 @@
;; This input is not strictly required, but in practice many Django
;; libraries need it for test suites and similar.
python-jinja2))
+ (native-search-paths
+ ;; Set TZDIR when 'tzdata' is available so that timezone functionality
+ ;; works (mostly) out of the box in containerized environments.
+ ;; Note: This search path actually belongs to 'glibc'.
+ (list (search-path-specification
+ (variable "TZDIR")
+ (files '("share/zoneinfo")))))
(home-page "https://www.djangoproject.com/")
(synopsis "High-level Python Web framework")
(description
@@ -131,13 +140,14 @@ to the @dfn{don't repeat yourself} (DRY) principle.")
(define-public python-django-3.2
(package
(inherit python-django-4.0)
- (version "3.2.10")
+ (version "3.2.11")
(source (origin
(method url-fetch)
(uri (pypi-uri "Django" version))
(sha256
(base32
- "1i6my7qrivj0ag9dq22lg0lq6maxapbdqrwy6v1cs2mlnhc8hkh7"))))
+ "0xbyl9fh9lk5hiwpw46s6hz98gs0fixrpq3myj5hh6vbbnz4mjb9"))))
+ (native-search-paths '()) ;no need for TZDIR
(propagated-inputs
(modify-inputs (package-propagated-inputs python-django-4.0)
;; Django 4.0 deprecated pytz in favor of Pythons built-in zoneinfo.
@@ -146,13 +156,13 @@ to the @dfn{don't repeat yourself} (DRY) principle.")
(define-public python-django-2.2
(package
(inherit python-django-3.2)
- (version "2.2.25")
+ (version "2.2.26")
(source (origin
(method url-fetch)
(uri (pypi-uri "Django" version))
(sha256
(base32
- "171ll8m1wp684z1r0lz93l377jc6jyq63q5p7sqx8iqk6ypmxrmi"))))
+ "13siv3bcb2yrpzzsq2k0f1yc70ya8jkmaa5kc8x29ijjglk3g9fz"))))
(native-inputs
(modify-inputs (package-native-inputs python-django-3.2)
(prepend ;; 2.2 requires Selenium for the test suite.
@@ -1033,9 +1043,7 @@ Django projects, which allows association of a number of tags with any
(replace 'check
(lambda* (#:key tests? inputs #:allow-other-keys)
(if tests?
- (begin
- (setenv "TZDIR" (search-input-directory inputs "share/zoneinfo"))
- (invoke "python" "runtests.py"))
+ (invoke "python" "runtests.py")
(format #t "test suite not run~%")))))))
(native-inputs
(list python-pytest python-pytest-django tzdata-for-tests))
@@ -1175,28 +1183,42 @@ FileFields during tests.")
(define-public python-django-auth-ldap
(package
(name "python-django-auth-ldap")
- (version "2.4.0")
+ (version "4.0.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "django-auth-ldap" version))
(sha256
(base32
- "0xk6cxiqz5j3q79bd54x64f26alrlc8p7k9wkp2c768w2k1vzz30"))))
+ "0fajn4bk7m1hk0mjz97q7vlfzh7ibzv8f4qn7zhkq26f4kk7jvr7"))))
(build-system python-build-system)
(arguments
- '(#:phases (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((openldap (assoc-ref inputs "openldap")))
- ;; The tests need 'slapd' which is installed to the
- ;; libexec directory of OpenLDAP.
- (setenv "SLAPD" (string-append openldap "/libexec/slapd"))
- (setenv "SCHEMA"
- (string-append openldap "/etc/openldap/schema"))
- (invoke "python" "-m" "django" "test"
- "--settings" "tests.settings")))))))
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (replace 'build
+ (lambda _
+ ;; Set file modification times to the early 80's because
+ ;; the Zip format does not support earlier timestamps.
+ (setenv "SOURCE_DATE_EPOCH"
+ (number->string (* 10 366 24 60 60)))
+ (invoke "python" "-m" "build" "--wheel"
+ "--no-isolation" ".")))
+ (replace 'check
+ (lambda* (#:key inputs #:allow-other-keys)
+ (setenv "SLAPD" (search-input-file inputs "/libexec/slapd"))
+ (setenv "SCHEMA"
+ (search-input-directory inputs "etc/openldap/schema"))
+ (invoke "python" "-m" "django" "test"
+ "--settings" "tests.settings")))
+ (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 openldap python-mock))
+ (list openldap-2.6 python-wheel python-setuptools-scm python-toml
+
+ ;; These can be removed after <https://bugs.gnu.org/46848>.
+ python-pypa-build python-pip))
(propagated-inputs
(list python-django python-ldap))
(home-page "https://github.com/django-auth-ldap/django-auth-ldap")
@@ -1263,7 +1285,14 @@ to ElasticSearch.")
(file-name (git-file-name name version))
(sha256
(base32
- "0r4zhqhs8y6cnplwyvcb0zpijizw1ifnszs38n4w8138657f9026"))))
+ "0r4zhqhs8y6cnplwyvcb0zpijizw1ifnszs38n4w8138657f9026"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; Patch for Django 4.0 compatibility, taken from upstream pull
+ ;; request: https://github.com/miki725/django-url-filter/pull/103
+ '(substitute* "url_filter/validators.py"
+ ((" ungettext_lazy")
+ " ngettext_lazy")))))
(build-system python-build-system)
(arguments
'(#:tests? #f ;FIXME: Django raises "Apps aren't loaded yet"!?
diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
index 5c5f95537b..c061c9a22d 100644
--- a/gnu/packages/dns.scm
+++ b/gnu/packages/dns.scm
@@ -9,7 +9,7 @@
;;; Copyright © 2016, 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2017 Vasile Dumitrascu <va511e@yahoo.com>
;;; Copyright © 2017 Gregor Giesen <giesen@zaehlwerk.net>
-;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
+;;; Copyright © 2018, 2022 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2019 Chris Marusich <cmmarusich@gmail.com>
;;; Copyright © 2019 Rutger Helling <rhelling@mykolab.com>
@@ -40,7 +40,6 @@
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
- #:use-module (gnu packages certs)
#:use-module (gnu packages check)
#:use-module (gnu packages curl)
#:use-module (gnu packages databases)
@@ -79,6 +78,7 @@
#:use-module (gnu packages web)
#:use-module (gnu packages xml)
#:use-module (gnu packages)
+ #:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
@@ -140,15 +140,15 @@ protocol.")
(define-public ldns
(package
(name "ldns")
- (version "1.7.1")
+ (version "1.8.1")
(source
(origin
(method url-fetch)
(uri
(string-append "https://www.nlnetlabs.nl/downloads/"
- name "/" name "-" version ".tar.gz"))
+ "ldns/ldns-" version ".tar.gz"))
(sha256
- (base32 "0ac242n7996fswq1a3nlh1bbbhrsdwsq4mx7xq8ffq6aplb4rj4a"))
+ (base32 "18vzdmyg9bm45janw602d4hifjsncrv143awlwcslfjdrsmjk0lm"))
(patches
(search-patches
;; To create make-flag variables,
@@ -157,60 +157,41 @@ protocol.")
(build-system gnu-build-system)
(outputs '("out" "drill" "examples" "pyldns"))
(arguments
- `( ;; Tests require Tpkg.
- ;; https://tpkg.github.io/
- #:tests? #f
- #:configure-flags
- (list
- "--disable-static"
- "--enable-gost-anyway"
- "--enable-rrtype-ninfo"
- "--enable-rrtype-rkey"
- "--enable-rrtype-ta"
- "--enable-rrtype-avc"
- "--enable-rrtype-doa"
- "--enable-rrtype-amtrelay"
- "--with-drill"
- "--with-examples"
- "--with-pyldns"
- ;; Perl module DNS::LDNS not available.
- ;; https://github.com/erikoest/DNS-LDNS.git
- ;; "--with-p5-dns-ldns"
- (string-append "--with-ssl="
- (assoc-ref %build-inputs "openssl"))
- (string-append "--with-ca-path="
- (assoc-ref %build-inputs "nss-certs")
- "/etc/ssl/certs"))
- #:make-flags
- (list
- (string-append "drillbindir="
- (assoc-ref %outputs "drill")
- "/bin")
- (string-append "drillmandir="
- (assoc-ref %outputs "drill")
- "/share/man")
- (string-append "examplesbindir="
- (assoc-ref %outputs "examples")
- "/bin")
- (string-append "examplesmandir="
- (assoc-ref %outputs "examples")
- "/share/man")
- (string-append "python_site="
- (assoc-ref %outputs "pyldns")
- "/lib/python"
- ,(version-major+minor
- (package-version python))
- "/site-packages"))))
+ (list
+ #:tests? #f ; tests require <https://tpkg.github.io>
+ #:configure-flags
+ #~(list
+ "--disable-static"
+ "--enable-gost-anyway"
+ "--enable-rrtype-ninfo"
+ "--enable-rrtype-rkey"
+ "--enable-rrtype-ta"
+ "--enable-rrtype-avc"
+ "--enable-rrtype-doa"
+ "--enable-rrtype-amtrelay"
+ "--with-drill"
+ "--with-examples"
+ "--with-pyldns"
+ ;; Perl module DNS::LDNS not available.
+ ;; https://github.com/erikoest/DNS-LDNS.git
+ ;; "--with-p5-dns-ldns"
+ (string-append "--with-ssl=" #$(this-package-input "openssl"))
+ (string-append "--with-ca-path=/etc/ssl/certs"))
+ #:make-flags
+ #~(list
+ (string-append "drillbindir=" #$output:drill "/bin")
+ (string-append "drillmandir=" #$output:drill "/share/man")
+ (string-append "examplesbindir=" #$output:examples "/bin")
+ (string-append "examplesmandir=" #$output:examples "/share/man")
+ (string-append "python_site=" #$output:pyldns "/lib/python"
+ #$(version-major+minor (package-version
+ (this-package-input
+ "python-wrapper")))
+ "/site-packages"))))
(native-inputs
- `(("doxygen" ,doxygen)
- ("ksh" ,oksh)
- ("perl" ,perl)
- ("perl-devel-checklib" ,perl-devel-checklib)
- ("pkg-config" ,pkg-config)
- ("python" ,python-wrapper)
- ("swig" ,swig)))
+ (list doxygen perl perl-devel-checklib pkg-config swig))
(inputs
- (list libpcap nss-certs openssl))
+ (list libpcap openssl python-wrapper))
(synopsis "DNS library that facilitates DNS tool programming")
(description "LDNS aims to simplify DNS programming, it supports recent
RFCs like the DNSSEC documents, and allows developers to easily create
@@ -235,84 +216,67 @@ C it should be a lot faster than Perl.")
(build-system glib-or-gtk-build-system)
(outputs '("out" "gui" "nm"))
(arguments
- `(#:test-target "test"
- #:configure-flags
- (list
- (string-append "--with-ssl="
- (assoc-ref %build-inputs "openssl"))
- "--with-hooks=networkmanager"
- (string-append "--with-networkmanager-dispatch="
- (assoc-ref %outputs "nm")
- "/etc/NetworkManager/dispatcher.d")
- (string-append "--with-xdg-autostart="
- (assoc-ref %outputs "gui")
- "/etc/xdg/autostart")
- (string-append "--with-uidir="
- (assoc-ref %outputs "gui")
- "/share/dnssec-trigger")
- (string-append "--with-python="
- (assoc-ref %build-inputs "python")
- "/bin/python")
- (string-append "--with-unbound-control="
- (assoc-ref %build-inputs "unbound")
- "/sbin/unbound-control")
- "--with-forward-zones-support")
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-configure
- (lambda _
- (substitute* "configure"
- (("appindicator-0.1")
- "appindicator3-0.1"))
- #t))
- (add-before 'configure 'patch-makefile
- (lambda _
- (substitute* "Makefile.in"
- (("/usr")
- "$(prefix)")
- (("/etc")
- "$(prefix)/etc")
- ((".*gtk-update-icon-cache.*")
- ""))
- #t))
- (add-after 'install 'remove-systemd
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out")))
- (delete-file-recursively
- (string-append out "/lib/systemd"))
- #t)))
- (add-after 'remove-systemd 'move-gui
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (gui (assoc-ref outputs "gui")))
- (mkdir-p (string-append gui "/bin"))
- (mkdir-p (string-append gui "/share"))
- (rename-file
- (string-append out "/bin")
- (string-append gui "/bin"))
- (rename-file
- (string-append out "/share/icons")
- (string-append gui "/share/icons"))
- #t)))
- (add-after 'move-gui 'move-nm
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (nm (assoc-ref outputs "nm")))
- (mkdir-p (string-append nm "/libexec"))
- (rename-file
- (string-append out "/libexec")
- (string-append nm "/libexec"))
- #t))))))
+ (list #:test-target "test"
+ #:configure-flags
+ #~(list
+ (string-append "--with-ssl=" #$(this-package-input "openssl"))
+ "--with-hooks=networkmanager"
+ (string-append "--with-networkmanager-dispatch="
+ #$output:nm
+ "/etc/NetworkManager/dispatcher.d")
+ (string-append "--with-xdg-autostart="
+ #$output:gui
+ "/etc/xdg/autostart")
+ (string-append "--with-uidir="
+ #$output:gui
+ "/share/dnssec-trigger")
+ (string-append "--with-python="
+ #$(this-package-native-input "python-wrapper")
+ "/bin/python")
+ (string-append "--with-unbound-control="
+ #$(this-package-input "unbound")
+ "/sbin/unbound-control")
+ "--with-forward-zones-support")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-configure
+ (lambda _
+ (substitute* "configure"
+ (("appindicator-0.1")
+ "appindicator3-0.1"))))
+ (add-before 'configure 'patch-makefile
+ (lambda _
+ (substitute* "Makefile.in"
+ (("/usr")
+ "$(prefix)")
+ (("/etc")
+ "$(prefix)/etc")
+ ((".*gtk-update-icon-cache.*")
+ ""))))
+ (add-after 'install 'remove-systemd
+ (lambda _
+ (delete-file-recursively
+ (string-append #$output "/lib/systemd"))))
+ (add-after 'remove-systemd 'move-gui
+ (lambda _
+ (mkdir-p (string-append #$output:gui "/bin"))
+ (mkdir-p (string-append #$output:gui "/share"))
+ (rename-file
+ (string-append #$output "/bin")
+ (string-append #$output:gui "/bin"))
+ (rename-file
+ (string-append #$output "/share/icons")
+ (string-append #$output:gui "/share/icons"))))
+ (add-after 'move-gui 'move-nm
+ (lambda _
+ (mkdir-p (string-append #$output:nm "/libexec"))
+ (rename-file
+ (string-append #$output "/libexec")
+ (string-append #$output:nm "/libexec")))))))
(native-inputs
- `(("cmocka" ,cmocka)
- ("pkg-config" ,pkg-config)
- ("python" ,python-wrapper)))
+ (list cmocka pkg-config python-wrapper))
(inputs
- `(("gtk+-2" ,gtk+-2)
- ("ldns" ,ldns)
- ("libappindicator" ,libappindicator)
- ("openssl" ,openssl)
- ("unbound" ,unbound)))
+ (list gtk+-2 ldns libappindicator openssl unbound))
(synopsis "DNSSEC protection for the DNS traffic")
(description "DNSSEC-Trigger enables your computer to use DNSSEC protection
for the DNS traffic. It relies on the Unbound DNS resolver running locally on
@@ -368,15 +332,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.24")
+ (version "9.16.25")
(source
(origin
(method url-fetch)
- (uri (string-append
- "https://ftp.isc.org/isc/bind9/" version
- "/bind-" version ".tar.xz"))
+ (uri (string-append "https://ftp.isc.org/isc/bind9/" version
+ "/bind-" version ".tar.xz"))
(sha256
- (base32 "01w5n1injvq6azhplyd4vqczila6i9mj051zz62248yn9drz70jm"))
+ (base32 "1wqzbq7jfd8zlidkfgx3fc1132xn5hrga7xznzw3x1421y2ji8wz"))
(patches
(search-patches "bind-re-add-attr-constructor-priority.patch"))))
(build-system gnu-build-system)
@@ -907,7 +870,7 @@ Extensions} (DNSSEC).")
(define-public knot
(package
(name "knot")
- (version "3.1.4")
+ (version "3.1.5")
(source
(origin
(method git-fetch)
@@ -916,7 +879,7 @@ Extensions} (DNSSEC).")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0wx8ad95adryzp527m4k0lja8y39qqd65f5z9immhfpb9cyax6i7"))
+ (base32 "145fnz740y1g0h2m07kpcimf2rx37saq2l905bl6vwa5ifybrgcq"))
(modules '((guix build utils)))
(snippet
'(begin
@@ -1045,14 +1008,14 @@ synthesis, and on-the-fly re-configuration.")
(define-public knot-resolver
(package
(name "knot-resolver")
- (version "5.4.3")
+ (version "5.4.4")
(source (origin
(method url-fetch)
(uri (string-append "https://secure.nic.cz/files/knot-resolver/"
"knot-resolver-" version ".tar.xz"))
(sha256
(base32
- "01m5s2kllr0apkg0bcfagzvijyfbivby03d1pjv3c0qrjgmjk1s8"))))
+ "1sic5ccbbqml4c01dbikkg6qx1gg81nqi76cj79pjdllkqqn92aq"))))
(build-system meson-build-system)
(outputs '("out" "doc"))
(arguments
@@ -1114,7 +1077,8 @@ synthesis, and on-the-fly re-configuration.")
("luajit" ,luajit)
;; TODO: Add optional lua modules: basexx and psl.
("lua-bitop" ,lua5.1-bitop)
- ("nghttp2" ,nghttp2 "lib")))
+ ("nghttp2" ,nghttp2 "lib")
+ ("python" ,python)))
(home-page "https://www.knot-resolver.cz/")
(synopsis "Caching validating DNS resolver")
(description
diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm
index cdf62f5e9a..3f52f4f8db 100644
--- a/gnu/packages/docker.scm
+++ b/gnu/packages/docker.scm
@@ -126,7 +126,7 @@ client.")
python-requests
python-six
python-texttable
- python-websocket-client))
+ python-websocket-client-0.59))
(home-page "https://www.docker.com/")
(synopsis "Multi-container orchestration for Docker")
(description "Docker Compose is a tool for defining and running
@@ -585,7 +585,7 @@ built-in registry server of Docker.")
("xz" ,xz)))
(native-inputs
(list eudev ; TODO: Should be propagated by lvm2 (.pc -> .pc)
- go gotestsum pkg-config))
+ go-1.14 gotestsum pkg-config))
(synopsis "Docker container component library, and daemon")
(description "This package provides a framework to assemble specialized
container systems. It includes components for orchestration, image
@@ -665,7 +665,7 @@ provisioning etc.")
(define-public cqfd
(package
(name "cqfd")
- (version "5.2.1")
+ (version "5.3.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -674,7 +674,7 @@ provisioning etc.")
(file-name (git-file-name name version))
(sha256
(base32
- "1zqgznfl7slfrddfpy2pfmablbvyf7296d3b3vcprilqb93cc7li"))))
+ "0gy4kjy6v52acfk6ffbg5sp02k6176khhkms7zlwmywq8591bpww"))))
(build-system gnu-build-system)
(arguments
;; The test suite requires a docker daemon and connectivity.
diff --git a/gnu/packages/easyrpg.scm b/gnu/packages/easyrpg.scm
index e4a1e2fb42..3a5413d94a 100644
--- a/gnu/packages/easyrpg.scm
+++ b/gnu/packages/easyrpg.scm
@@ -31,6 +31,7 @@
#:use-module (gnu packages image)
#:use-module (gnu packages mp3)
#:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages pretty-print)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages sdl)
#:use-module (gnu packages xdisorg)
@@ -40,7 +41,7 @@
(define-public liblcf
(package
(name "liblcf")
- (version "0.6.2")
+ (version "0.7.0")
(source (origin
(method url-fetch)
(uri (string-append
@@ -48,7 +49,7 @@
"/liblcf-" version ".tar.gz"))
(sha256
(base32
- "0n2k4brd264jg9p6918x7dnb2iimpzjh8q3v1fws58450xbgnkqc"))))
+ "10ghpwww5r3iwlaw1mvf6kamn142nyr2zwdabqghy3k4xv837cih"))))
(build-system gnu-build-system)
(native-inputs
(list pkg-config))
@@ -75,7 +76,7 @@ It can read and write LCF and XML files.")
(define-public easyrpg-player
(package
(name "easyrpg-player")
- (version "0.6.2.3")
+ (version "0.7.0")
(source (origin
(method url-fetch)
(uri (string-append
@@ -83,7 +84,7 @@ It can read and write LCF and XML files.")
"/easyrpg-player-" version ".tar.gz"))
(sha256
(base32
- "1lahbhgyhky0hgd3xwhgg2nm8mfa9p2i1fzxi00561hnk2ya86pm"))))
+ "1hm4hdi4l8c9jw0x3kcm6iwgfv8parlfj13va3r3p90040gs7s8l"))))
(build-system gnu-build-system)
(arguments
'(#:configure-flags
@@ -92,7 +93,9 @@ It can read and write LCF and XML files.")
(native-inputs
(list pkg-config))
(inputs
- (list freetype
+ (list fluidsynth
+ fmt
+ freetype
harfbuzz
liblcf
libpng
diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm
index 393b439b5c..207bbfcdaf 100644
--- a/gnu/packages/ebook.scm
+++ b/gnu/packages/ebook.scm
@@ -145,7 +145,8 @@ with Microsoft Compiled HTML (CHM) files")
(delete-file "resources/calibre-portable.bat")
(delete-file "resources/calibre-portable.sh")
#t))
- (patches (search-patches "calibre-no-updates-dialog.patch"
+ (patches (search-patches "calibre-fix-zeroconf.patch"
+ "calibre-no-updates-dialog.patch"
"calibre-remove-test-sqlite.patch" ; TODO: fix test.
"calibre-remove-test-unrar.patch"))))
(build-system python-build-system)
@@ -613,7 +614,7 @@ Some of the current features:
(define-public xchm
(package
(name "xchm")
- (version "1.32")
+ (version "1.33")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/rzvncj/xCHM"
@@ -621,7 +622,7 @@ Some of the current features:
version "/xchm-" version ".tar.gz"))
(sha256
(base32
- "0b12ym7cn65wy268kbksyhakicwb053c8xfn76q2dawrvbras9dj"))))
+ "0an09shap2wj9gzj5fsw5sc2i6paq3kc3mc52fnwg2bb2dan5qxk"))))
(build-system gnu-build-system)
(inputs
(list wxwidgets chmlib))
diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm
index efb2df474e..1e19d83fc1 100644
--- a/gnu/packages/education.scm
+++ b/gnu/packages/education.scm
@@ -2,9 +2,9 @@
;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org>
;;; Copyright © 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
-;;; Copyright © 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr>
-;;; Copyright © 2018, 2019, 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
+;;; Copyright © 2018-2022 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2020 Robert Smith <robertsmith@posteo.net>
;;; Copyright © 2020 Guy Fleury Iteriteka <gfleury@disroot.org>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
@@ -96,6 +96,8 @@
;; of Gstreamer.
(list "--enable-sdlmixer"
"LDFLAGS=-lgmodule-2.0")
+ #:make-flags
+ (list "CFLAGS=-fcommon")
#:phases
(modify-phases %standard-phases
(add-after 'set-paths 'set-sdl-paths
@@ -140,15 +142,15 @@ of categories with some of the activities available in that category.
(define-public gcompris-qt
(package
(name "gcompris-qt")
- (version "2.0")
+ (version "2.1")
(source
(origin
(method url-fetch)
(uri (string-append
- "https://gcompris.net/download/qt/src/gcompris-qt-"
+ "https://download.kde.org/stable/gcompris/qt/src/gcompris-qt-"
version ".tar.xz"))
(sha256
- (base32 "1ix8wf0mpcwg0bd0fbx594ywhf0r0g0xhkbnjpm2ags8ixh4ddcs"))))
+ (base32 "02j3xv8sa3s5g50zs15wy2giabmhg1q0b8ar73q3fpwvxkz9hcwn"))))
(build-system qt-build-system)
(arguments
`(#:phases
@@ -311,7 +313,7 @@ easy.")
(define-public snap
(package
(name "snap")
- (version "6.9.0")
+ (version "7.0.5")
(source
(origin
(method git-fetch)
@@ -320,7 +322,7 @@ easy.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1wppz57lrrribrfnaiv6jrrf703w7i6ja0dnz8yx8naxhbsglwyf"))))
+ (base32 "13j52r810yijvkj85c356c342drc3947j28z3va7kz75mi26whsf"))))
(build-system trivial-build-system)
(arguments
`(#:modules ((guix build utils))
@@ -350,9 +352,7 @@ easy.")
(format port "#!~a\n~a '~a'" bash xdg-open snap)))
(chmod script #o555))))))
(inputs
- `(("bash" ,bash-minimal)
- ("js-filesaver" ,js-filesaver)
- ("xdg-utils" ,xdg-utils)))
+ (list bash-minimal js-filesaver xdg-utils))
(home-page "https://snap.berkeley.edu")
(synopsis "Visual, blocks based programming language")
(description "Snap! (formerly BYOB) is a visual, drag-and-drop
@@ -374,8 +374,12 @@ to open the application in a web browser, for offline usage.")
(source
(origin
(method url-fetch)
- (uri (string-append "http://www.bipede.fr/downloads/logiciels/"
- "ToutEnClic-" version "-src.zip"))
+ (uri (list
+ ;; XXX: Upstream does not exist anymore.
+ (string-append "http://www.bipede.fr/downloads/logiciels/"
+ "ToutEnClic-" version "-src.zip")
+ (string-append "https://archive.org/download/tout-en-clic-" version
+ "-src/ToutEnClic-" version "-src.zip")))
(sha256
(base32 "0xg24p925rl5bfqsq3jb2lrkidb0f3kbmay5iyxxmjsn3ra0blyh"))))
(build-system python-build-system)
@@ -403,8 +407,7 @@ to open the application in a web browser, for offline usage.")
(mkdir-p bin)
(with-directory-excursion bin
(symlink (string-append share "/" executable ".py")
- executable)))
- #t))
+ executable)))))
(add-after 'install 'create-desktop-file
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
@@ -422,8 +425,7 @@ to open the application in a web browser, for offline usage.")
Terminal=false~@
Icon=toutenclic~@
Type=Application~%"
- out)))
- #t))))))
+ out)))))))))
(native-inputs
(list unzip))
(inputs
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm
index 3f4409764f..54f246faa6 100644
--- a/gnu/packages/electronics.scm
+++ b/gnu/packages/electronics.scm
@@ -24,11 +24,13 @@
#:use-module (guix utils)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix build-system gnu)
#:use-module (guix build-system cmake)
#:use-module (gnu packages)
#:use-module (gnu packages algebra)
+ #:use-module (gnu packages autotools)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages boost)
@@ -78,11 +80,18 @@ to take care of the OS-specific details when writing software that uses serial p
version ".tar.gz"))
(sha256
(base32
- "1h1zi1kpsgf6j2z8j8hjpv1q7n49i3fhqjn8i178rka3cym18265"))))
+ "1h1zi1kpsgf6j2z8j8hjpv1q7n49i3fhqjn8i178rka3cym18265"))
+ (patches
+ (search-patches "libsigrokdecode-python3.9-fix.patch"))))
(outputs '("out" "doc"))
(arguments
`(#:phases
(modify-phases %standard-phases
+ (replace 'bootstrap
+ (lambda _
+ (invoke "autoconf")
+ (invoke "aclocal")
+ (invoke "automake" "-ac")))
(add-after 'build 'build-doc
(lambda _
(invoke "doxygen")
@@ -94,7 +103,7 @@ to take care of the OS-specific details when writing software that uses serial p
"/share/doc/libsigrokdecode"))
#t)))))
(native-inputs
- (list check-0.14 doxygen graphviz pkg-config))
+ (list check-0.14 doxygen graphviz pkg-config automake autoconf))
;; libsigrokdecode.pc lists "python" in Requires.private, and "glib" in Requires.
(propagated-inputs
(list glib python))
@@ -137,78 +146,77 @@ as simple logic analyzer and/or oscilloscope hardware.")
(license license:gpl2+)))
(define-public libsigrok
- (package
- (name "libsigrok")
- (version "0.5.2")
- (source (origin
- (method url-fetch)
- (uri (string-append
- "http://sigrok.org/download/source/libsigrok/libsigrok-"
- version ".tar.gz"))
- (sha256
- (base32
- "0g6fl684bpqm5p2z4j12c62m45j1dircznjina63w392ns81yd2d"))))
- (outputs '("out" "doc"))
- (arguments
- `(#:tests? #f ; tests need USB access
- #:phases
- (modify-phases %standard-phases
- (add-before 'configure 'change-udev-group
- (lambda _
- (substitute* (find-files "contrib" "\\.rules$")
- (("plugdev") "dialout"))
- #t))
- (add-after 'build 'build-doc
- (lambda _
- (invoke "doxygen")))
- (add-after 'install 'install-doc
- (lambda* (#:key outputs #:allow-other-keys)
- (copy-recursively "doxy/html-api"
- (string-append (assoc-ref outputs "doc")
- "/share/doc/libsigrok"))
- #t))
- (add-after 'install-doc 'install-udev-rules
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (rules (string-append out "/lib/udev/rules.d/")))
- (for-each (lambda (file)
- (install-file file rules))
- (find-files "contrib" "\\.rules$"))
- #t)))
- (add-after 'install-udev-rules 'install-fw
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let* ((fx2lafw (assoc-ref inputs "sigrok-firmware-fx2lafw"))
- (out (assoc-ref outputs "out"))
- (dir-suffix "/share/sigrok-firmware/")
- (input-dir (string-append fx2lafw dir-suffix))
- (output-dir (string-append out dir-suffix)))
- (for-each
- (lambda (file)
- (install-file file output-dir))
- (find-files input-dir ".")))
- #t)))))
- (native-inputs
- (list doxygen graphviz sigrok-firmware-fx2lafw pkg-config))
- (inputs
- (list python zlib))
- ;; libsigrokcxx.pc lists "glibmm" in Requires
- ;; libsigrok.pc lists "libserialport", "libusb", "libftdi" and "libzip" in
- ;; Requires.private and "glib" in Requires
- (propagated-inputs
- (list glib
- glibmm
- libserialport
- libusb
- libftdi
- libzip))
- (build-system gnu-build-system)
- (home-page "https://www.sigrok.org/wiki/Libsigrok")
- (synopsis "Library which provides the basic hardware access drivers for logic
-analyzers")
- (description "@code{libsigrok} is a shared library written in C which provides the basic hardware
-access drivers for logic analyzers and other supported devices, as well as input/output file
-format support.")
- (license license:gpl3+)))
+ (let ((commit "a7e919a3a6b7fd511acbe1a280536b76c70c28d2")
+ (revision "1"))
+ (package
+ (name "libsigrok")
+ (version (git-version "0.5.2" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "git://sigrok.org/libsigrok")
+ (commit commit)))
+ (sha256
+ (base32 "0km3fyv5s2byrm4zpbss2527ynhw4nb67imnbawwic2a6zh9jiyc"))
+ (file-name (git-file-name name version))))
+ (outputs '("out" "doc"))
+ (arguments
+ `(#:tests? #f ; tests need USB access
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'change-udev-group
+ (lambda _
+ (substitute* (find-files "contrib" "\\.rules$")
+ (("plugdev") "dialout"))))
+ (add-after 'build 'build-doc
+ (lambda _
+ (invoke "doxygen")))
+ (add-after 'install 'install-doc
+ (lambda* (#:key outputs #:allow-other-keys)
+ (copy-recursively "doxy/html-api"
+ (string-append (assoc-ref outputs "doc")
+ "/share/doc/libsigrok"))))
+ (add-after 'install-doc 'install-udev-rules
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (rules (string-append out "/lib/udev/rules.d/")))
+ (for-each (lambda (file)
+ (install-file file rules))
+ (find-files "contrib" "\\.rules$")))))
+ (add-after 'install-udev-rules 'install-fw
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let* ((fx2lafw (assoc-ref inputs "sigrok-firmware-fx2lafw"))
+ (out (assoc-ref outputs "out"))
+ (dir-suffix "/share/sigrok-firmware/")
+ (input-dir (string-append fx2lafw dir-suffix))
+ (output-dir (string-append out dir-suffix)))
+ (for-each
+ (lambda (file)
+ (install-file file output-dir))
+ (find-files input-dir "."))))))))
+ (native-inputs
+ (list autoconf automake doxygen graphviz libtool
+ sigrok-firmware-fx2lafw pkg-config))
+ (inputs
+ (list python zlib))
+ ;; libsigrokcxx.pc lists "glibmm" in Requires libsigrok.pc lists
+ ;; "libserialport", "libusb", "libftdi" and "libzip" in Requires.private
+ ;; and "glib" in Requires
+ (propagated-inputs
+ (list glib
+ glibmm-2.64
+ libserialport
+ libusb
+ libftdi
+ libzip))
+ (build-system gnu-build-system)
+ (home-page "https://www.sigrok.org/wiki/Libsigrok")
+ (synopsis "Basic hardware access drivers for logic analyzers")
+ (description "@code{libsigrok} is a shared library written in C which
+provides the basic hardware access drivers for logic analyzers and other
+supported devices, as well as input/output file format support.")
+ (license license:gpl3+))))
(define-public sigrok-cli
(package
@@ -244,10 +252,11 @@ format support.")
(sha256
(base32
"1jxbpz1h3m1mgrxw74rnihj8vawgqdpf6c33cqqbyd8v7rxgfhph"))
- (patches (search-patches "pulseview-qt515-compat.patch"))))
+ (patches (search-patches "pulseview-qt515-compat.patch"
+ "pulseview-glib-2.68.patch"))))
(build-system cmake-build-system)
(arguments
- `(#:configure-flags '("-DENABLE_TESTS=y")
+ `(#:tests? #f ;format_time_minutes_test is failing
#:phases
(modify-phases %standard-phases
(add-after 'install 'remove-empty-doc-directory
@@ -256,8 +265,7 @@ format support.")
(with-directory-excursion (string-append out "/share")
;; Use RMDIR to never risk silently deleting files.
(rmdir "doc/pulseview")
- (rmdir "doc"))
- #t))))))
+ (rmdir "doc"))))))))
(native-inputs
(list pkg-config qttools))
(inputs
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 94a49bdee8..9d9adbb1e5 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -14,7 +14,7 @@
;;; Copyright © 2016, 2017 Roel Janssen <roel@gnu.org>
;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
;;; Copyright © 2016, 2019 Alex Griffin <a@ajgrf.com>
-;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
+;;; Copyright © 2016-2022 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2016, 2017, 2018 Alex Vong <alexvong1995@gmail.com>
;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2017 Christopher Baines <mail@cbaines.net>
@@ -71,14 +71,14 @@
;;; Copyright © 2020 Alberto Eleuterio Flores Guerrero <barbanegra+guix@posteo.mx>
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2020 pinoaffe <pinoaffe@airmail.cc>
-;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2020, 2021, 2022 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020 Ryan Desfosses <rdes@protonmail.com>
;;; Copyright © 2020 Marcin Karpezo <sirmacik@wioo.waw.pl>
;;; Copyright © 2020 Fredrik Salomonsson <plattfot@gmail.com>
;;; Copyright © 2020 Eric Bavier <bavier@posteo.net>
;;; Copyright © 2020, 2021 Morgan Smith <Morgan.J.Smith@outlook.com>
;;; Copyright © 2020 Peng Mei Yu <i@pengmeiyu.com>
-;;; Copyright © 2020, 2021 Niklas Eklund <niklas.eklund@posteo.net>
+;;; Copyright © 2020, 2021, 2022 Niklas Eklund <niklas.eklund@posteo.net>
;;; Copyright © 2020 Marco Grassi <marco.au.grassi98@protonmail.com>
;;; Copyright © 2020 Tomás Ortín Fernández <tomasortin@mailbox.org>
;;; Copyright © 2020, 2021 Zhu Zihao <all_but_last@163.com>
@@ -90,7 +90,7 @@
;;; Copyright © 2020 Jonathan Rostran <rostranjj@gmail.com>
;;; Copyright © 2020, 2021 Noah Evans <noah@nevans.me>
;;; Copyright © 2020 Brit Butler <brit@kingcons.io>
-;;; Copyright © 2021 Alexandr Vityazev <avityazev@posteo.org>
+;;; Copyright © 2021, 2022 Aleksandr Vityazev <avityazev@posteo.org>
;;; Copyright © 2021 Yurii Kholodkov <urist.mckorobochka@gmail.com>
;;; Copyright © 2021 Alexey Abramov <levenson@mmer.org>
;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
@@ -105,6 +105,8 @@
;;; Copyright © 2021 Simon South <simon@simonsouth.net>
;;; Copyright © 2021 la snesne <lasnesne@lagunposprasihopre.org>
;;; Copyright © 2021 Brian Kubisiak <brian@kubisiak.com>
+;;; Copyright © 2021, 2022 Taiju HIGASHI <higashi@taiju.info>
+;;; Copyright © 2022 Brandon Lucas <br@ndon.dk>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -213,6 +215,7 @@
#:use-module (gnu packages password-utils)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages sphinx)
+ #:use-module (gnu packages screen)
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages shells)
#:use-module (gnu packages shellutils)
@@ -236,7 +239,7 @@
(define-public emacs-geiser
(package
(name "emacs-geiser")
- (version "0.19")
+ (version "0.22.1")
(source
(origin
(method git-fetch)
@@ -245,7 +248,7 @@
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1pfdax2wsfyjz4ddfqh54n3lbxhqpg97grj7kgi641lbhppnq02g"))))
+ (base32 "0q46lp73l0c975qzyn1hkvwcw5xf2sz5dpjgvb66msndyg71y495"))))
(build-system emacs-build-system)
(arguments
'(#:phases
@@ -265,6 +268,8 @@
"-o" "geiser.info" "geiser.texi")))))))
(native-inputs
(list texinfo))
+ (propagated-inputs
+ (list emacs-transient))
(home-page "https://nongnu.org/geiser/")
(synopsis "Collection of Emacs modes for Scheme hacking")
(description
@@ -283,7 +288,7 @@ e.g. emacs-geiser-guile for Guile.")
(define-public emacs-geiser-guile
(package
(name "emacs-geiser-guile")
- (version "0.19")
+ (version "0.21.1")
(source
(origin
(method git-fetch)
@@ -292,22 +297,22 @@ e.g. emacs-geiser-guile for Guile.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1r21d61b2l65gr90s2h83xfnjgzc4n9ris4g5n3ifvdi3pyga6k9"))))
+ (base32 "0fk5rr7mjmb4waiagi80dhddas5mrsgqr0flag5v5b0piblixxq6"))))
(build-system emacs-build-system)
(arguments
- '(#:include (cons "^src/" %default-include)
- #:phases
- (modify-phases %standard-phases
- (add-after 'make-autoloads 'patch-autoloads
- (lambda* (#:key outputs #:allow-other-keys)
- (substitute* (string-append
- (elpa-directory (assoc-ref outputs "out"))
- "/geiser-guile-autoloads.el")
- ;; Activating implementations fails when Geiser is not yet
- ;; loaded, so let's defer that until it is.
- (("\\(geiser-activate-implementation .*\\)" all)
- (string-append
- "(eval-after-load 'geiser-impl '" all ")"))))))))
+ (list
+ #:include #~(cons "^src/" %default-include)
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'make-autoloads 'patch-autoloads
+ (lambda _
+ (substitute* (string-append (elpa-directory #$output)
+ "/geiser-guile-autoloads.el")
+ ;; Activating implementations fails when Geiser is not yet
+ ;; loaded, so let's defer that until it is.
+ (("\\(geiser-activate-implementation .*\\)" all)
+ (string-append
+ "(eval-after-load 'geiser-impl '" all ")"))))))))
(inputs
(list guile-3.0))
(propagated-inputs
@@ -628,6 +633,32 @@ for those who may want transient periods of unbalanced parentheses, such as
when typing parentheses directly or commenting out code line by line.")
(license license:gpl3+)))
+(define-public emacs-puni
+ ;; No tagged release upstream
+ (let ((commit "ed4a863460329a3019c286ff382e2ddc0ffdc9d7")
+ (revision "0"))
+ (package
+ (name "emacs-puni")
+ (version (git-version "0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/AmaiKinono/puni")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "14lcqf0qdkq2rklx12v12qpgfahz2bpqmnl3bzcz5myawgjjcphd"))))
+ (build-system emacs-build-system)
+ (propagated-inputs (list emacs-with-editor))
+ (home-page "https://github.com/AmaiKinono/puni")
+ (synopsis "Emacs minor mode for structured editing")
+ (description
+ "Puni is an Emacs minor mode for structured editing: soft deletion,
+expression navigating and manipulating. It supports many major modes
+out of the box.")
+ (license license:gpl3+))))
+
(define-public emacs-project
(package
(name "emacs-project")
@@ -672,7 +703,7 @@ configuration files, such as @file{.gitattributes}, @file{.gitignore}, and
(define-public emacs-with-editor
(package
(name "emacs-with-editor")
- (version "3.0.5")
+ (version "3.1.1")
(source
(origin
(method git-fetch)
@@ -681,15 +712,20 @@ configuration files, such as @file{.gitattributes}, @file{.gitignore}, and
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1pynm4ng4rki2b2ka5dz01p66ygghk69mldsfbxs81d52jqfnx8f"))))
+ (base32 "06a66119rp5vfqdzqk10df3qyh9jvjl6j3pqm03jy0b110v2bfa8"))))
(build-system emacs-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
+ (add-before 'install 'enter-lisp-directory
+ (lambda _
+ (chdir "lisp")))
(add-before 'install 'make-info
(lambda _
- (invoke "makeinfo" "--no-split"
- "-o" "with-editor.info" "with-editor.texi"))))))
+ (with-directory-excursion "../docs"
+ (invoke "makeinfo" "--no-split"
+ "-o" "with-editor.info" "with-editor.texi")
+ (install-file "with-editor.info" "../lisp")))))))
(native-inputs
(list texinfo))
(propagated-inputs
@@ -964,7 +1000,7 @@ Alternatively the menu can be bound globally, for example:
(define-public emacs-moody
(package
(name "emacs-moody")
- (version "0.6.0")
+ (version "0.7.0")
(source
(origin
(method git-fetch)
@@ -973,7 +1009,7 @@ Alternatively the menu can be bound globally, for example:
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "14x3hd0z0nh0dyfi434vqywi7aawfxhlqj6sp7m17np56zq32yhi"))))
+ (base32 "1xzi93hp4jrxqi3x31cpx4ff1yh2gq9y7qvv65gj19cfk9a0da88"))))
(build-system emacs-build-system)
(home-page "https://github.com/tarsius/moody")
(synopsis "Tabs and ribbons for Emacs mode-line")
@@ -1234,32 +1270,29 @@ handful of functions that are not resource-specific.")
(license license:gpl3+)))
(define-public emacs-typit
- ;; Last release is from 2017.
- (let ((commit "fa125bf43757737fbcf91958b76c38b440d54b4c")
- (revision "2"))
- (package
- (name "emacs-typit")
- (version (git-version "0.2.1" revision commit))
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/mrkkrp/typit")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1l0qb8gjgsmjjdvxlma7g6fn2z6rj246p2kczrikq8ajg1xh61sr"))))
- (build-system emacs-build-system)
- (arguments
- '(#:include (cons "^dict/" %default-include)))
- (propagated-inputs
- (list emacs-f emacs-mmt))
- (home-page "https://github.com/mrkkrp/typit")
- (synopsis "Typing game for Emacs with two difficulties")
- (description "Emacs Typit is a typing game for Emacs. Words that are
+ (package
+ (name "emacs-typit")
+ (version "0.2.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mrkkrp/typit")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "15m4nfsig8w9hykqy9mzd014pqx4fj9yykiw273bwm384lf3dq6y"))))
+ (build-system emacs-build-system)
+ (arguments
+ '(#:include (cons "^dict/" %default-include)))
+ (propagated-inputs
+ (list emacs-f emacs-mmt))
+ (home-page "https://github.com/mrkkrp/typit")
+ (synopsis "Typing game for Emacs with two difficulties")
+ (description "Emacs Typit is a typing game for Emacs. Words that are
picked randomly from the most frequent words in language you're practicing,
until time is up.")
- (license license:gpl3+))))
+ (license license:gpl3+)))
(define-public emacs-scribble-mode
(let ((commit "217945d54de5e4bb207033f2116baa28f5c5ecf2")
@@ -1278,7 +1311,7 @@ until time is up.")
"1s5ccw1a5ack01wd94ywfcrar9j98agchwdh30q7iyxr0d2z4sii"))))
(build-system emacs-build-system)
(home-page "https://github.com/emacs-pe/scribble-mode")
- (synopsis "Emacs mode for editing the Scribble documentation syntax.")
+ (synopsis "Emacs mode for editing the Scribble documentation syntax")
(description
"This package provides basic syntax highlighting and editing support
for editing Racket's Scribble documentation syntax in Emacs.")
@@ -1756,13 +1789,13 @@ in certain cases. It also enables recursion for anonymous functions.")
(define-public emacs-xr
(package
(name "emacs-xr")
- (version "1.21")
+ (version "1.22")
(source
(origin
(method url-fetch)
(uri (string-append "https://elpa.gnu.org/packages/xr-" version ".tar"))
(sha256
- (base32 "0mc10d33lsqs0ihcja8w78jzh2pk0dfm9m86kap6r3hi6wkr1cmi"))))
+ (base32 "1l3bqgzvbamfs4n628kg789g7vjn4v81q570gzbw2cwjgk4s6xbj"))))
(build-system emacs-build-system)
(home-page "https://elpa.gnu.org/packages/xr.html")
(synopsis "Convert string regexp to rx notation")
@@ -1919,14 +1952,14 @@ project root.")
(define-public emacs-relint
(package
(name "emacs-relint")
- (version "1.19")
+ (version "1.20")
(source
(origin
(method url-fetch)
(uri (string-append "https://elpa.gnu.org/packages/"
"relint-" version ".tar"))
(sha256
- (base32 "14z3i01pq5ljhjf5yfcjw7hxljcrwjnizkrdc1qyh9b6h3ic1bbi"))))
+ (base32 "0r20dim2r4a4bv0fmgbnq3graa7hhlai55h9qyknapqbr2j1v1h7"))))
(build-system emacs-build-system)
(propagated-inputs (list emacs-xr))
(home-page "https://github.com/mattiase/relint")
@@ -2105,14 +2138,14 @@ incrementally confined in Isearch manner.")
(define emacs-emms-print-metadata
(package
(name "emacs-emms-print-metadata")
- (version "7.8")
+ (version "8")
(source
(origin
(method url-fetch)
(uri (string-append "https://elpa.gnu.org/packages/"
"emms-" version ".tar"))
(sha256
- (base32 "1nlb9rrdlbcqghph30r9i9m1brbdha818czbms0zhzdisxb0smi0"))))
+ (base32 "1iffh6n8q9xag25m9bgnpywa27bkdvvz2gr500hdgwwddgdm4pq8"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags '("emms-print-metadata")
@@ -2365,14 +2398,14 @@ you can press @samp{C-M-n} to input multiple email addresses.")
(define-public emacs-bluetooth
(package
(name "emacs-bluetooth")
- (version "0.2")
+ (version "0.3")
(source
(origin
(method url-fetch)
(uri (string-append "https://elpa.gnu.org/packages/"
- "bluetooth-" version ".el"))
+ "bluetooth-" version ".tar"))
(sha256
- (base32 "1dq04p6ms0zx4awlypp4crkz7dzal4xg8ac7p8fqacz196rczssp"))))
+ (base32 "1q27hk4j7k0q9vqgn9nq7q0vhn9jdqbygs7d9lv5gwfhdzdnl4az"))))
(build-system emacs-build-system)
(inputs
(list bluez dbus))
@@ -2436,7 +2469,7 @@ is set.")
(define-public emacs-ctrlf
(package
(name "emacs-ctrlf")
- (version "1.3")
+ (version "1.4")
(source
(origin
(method git-fetch)
@@ -2445,7 +2478,7 @@ is set.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "06wq6scqy2ax0h6aahy2r7hn3bbmkzl4w99bkrc3cqd4ij78sc8g"))))
+ (base32 "04w708g7d1pnsc18h8fjyqkhk08jkq853alaidriamxyycvdwk0i"))))
(build-system emacs-build-system)
(home-page "https://github.com/raxod502/ctrlf/")
(synopsis "Single-buffer text search in Emacs")
@@ -2585,14 +2618,14 @@ as a library for other Emacs packages.")
(define-public emacs-auctex
(package
(name "emacs-auctex")
- (version "13.0.14")
+ (version "13.0.16")
(source
(origin
(method url-fetch)
(uri (string-append "https://elpa.gnu.org/packages/"
"auctex-" version ".tar"))
(sha256
- (base32 "1gmqdcg9s6xf8kvzh1j27nbimakd5cy8pwsn0il19l026kxjimr8"))))
+ (base32 "1r9piq4js45knw8sf73kk8jjinmx4m2mdinc98xrklnwcffw7hjf"))))
(build-system emacs-build-system)
;; We use 'emacs' because AUCTeX requires dbus at compile time
;; ('emacs-minimal' does not provide dbus).
@@ -2822,8 +2855,7 @@ Lock key.")
(for-each (lambda (f) (install-file f doc))
(cons* "../UNLICENSE"
"../WTFPL"
- (find-files "." "\\.md$")))))
- #t)))))
+ (find-files "." "\\.md$"))))))))))
(propagated-inputs
(list emacs-dash emacs-s emacs-spark emacs-ts))
(home-page "https://github.com/contrapunctus-1/chronometrist")
@@ -2877,7 +2909,7 @@ of bibliographic references.")
(define-public emacs-corfu
(package
(name "emacs-corfu")
- (version "0.16")
+ (version "0.17")
(source
(origin
(method git-fetch)
@@ -2886,7 +2918,7 @@ of bibliographic references.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0al8jsdih6b6y26lwg8lwld35flh7q3539f4k1nz6is3xfqxbahz"))))
+ (base32 "1jj38ik0mr33kqpc1i6hw5hqw43lz9f4nn8zsmw03crlcjf767lh"))))
(build-system emacs-build-system)
(home-page "https://github.com/minad/corfu")
(synopsis "Completion overlay region function")
@@ -2896,6 +2928,30 @@ overlay below or above the point. Corfu can be considered the minimalistic
@code{completion-in-region} counterpart of the Vertico minibuffer UI.")
(license license:gpl3+)))
+(define-public emacs-cape
+ (package
+ (name "emacs-cape")
+ (version "0.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/minad/cape")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0780qymlrg3glyxypizqzwicp5ly5xavxgpmayhx8cxlgp2zlkjh"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/minad/cape")
+ (synopsis "Completion at point extensions for Emacs")
+ (description
+ "Cape provides some Completion At Point Extensions, which can be used in
+combination with Corfu completion UI or the default completion UI. The
+completion backends used by @code{completion-at-point} are so called
+@code{completion-at-point-functions} (Capfs). In principle, the Capfs
+provided by Cape can also be used by Company.")
+ (license license:gpl3+)))
+
(define-public emacs-direnv
(package
(name "emacs-direnv")
@@ -3322,79 +3378,74 @@ during idle time, while Emacs is doing nothing else.")
(license license:gpl3+)))
(define-public emacs-pdf-tools
- ;; XXX: Development branch fixes an incompatibility with Emacs 27+. See
- ;; <https://github.com/politza/pdf-tools/issues/616>.
- (let ((commit "5f77dae43eb8f71e52e10ba8cf994883f74c3fb7")
- (revision "2"))
- (package
- (name "emacs-pdf-tools")
- (version (git-version "0.90" revision commit))
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/vedang/pdf-tools")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32 "0hzqcnxi66d0c3dq7y3dn28f3yri4zcx46yylhy0xnm3f1yja0rm"))))
- (build-system gnu-build-system)
- (arguments
- `(#:tests? #f ; there are no tests
- #:modules ((guix build gnu-build-system)
- ((guix build emacs-build-system) #:prefix emacs:)
- (guix build utils)
- (guix build emacs-utils))
- #:imported-modules (,@%gnu-build-system-modules
- (guix build emacs-build-system)
- (guix build emacs-utils))
- #:phases
- (modify-phases %standard-phases
- ;; Build server side using 'gnu-build-system'.
- (add-after 'unpack 'enter-server-dir
- (lambda _ (chdir "server")))
- (add-after 'enter-server-dir 'autogen
- (lambda _
- (invoke "bash" "autogen.sh")))
-
- ;; Build emacs side using 'emacs-build-system'.
- (add-after 'compress-documentation 'enter-lisp-dir
- (lambda _ (chdir "../lisp")))
- (add-after 'enter-lisp-dir 'emacs-patch-variables
- (lambda* (#:key outputs #:allow-other-keys)
- (for-each make-file-writable (find-files "."))
+ (package
+ (name "emacs-pdf-tools")
+ (version "0.91")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/vedang/pdf-tools")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "07ixspgn4s1jg66w7m2f3sh43giakz9srhp7rpw389z32g57i1rx"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ; there are no tests
+ #:modules ((guix build gnu-build-system)
+ ((guix build emacs-build-system) #:prefix emacs:)
+ (guix build utils)
+ (guix build emacs-utils))
+ #:imported-modules (,@%gnu-build-system-modules
+ (guix build emacs-build-system)
+ (guix build emacs-utils))
+ #:phases
+ (modify-phases %standard-phases
+ ;; Build server side using 'gnu-build-system'.
+ (add-after 'unpack 'enter-server-dir
+ (lambda _ (chdir "server")))
+ (add-after 'enter-server-dir 'autogen
+ (lambda _
+ (invoke "bash" "autogen.sh")))
+ ;; Build emacs side using 'emacs-build-system'.
+ (add-after 'compress-documentation 'enter-lisp-dir
+ (lambda _ (chdir "../lisp")))
+ (add-after 'enter-lisp-dir 'emacs-patch-variables
+ (lambda* (#:key outputs #:allow-other-keys)
+ (for-each make-file-writable (find-files "."))
- ;; Set path to epdfinfo program.
- (emacs-substitute-variables "pdf-info.el"
- ("pdf-info-epdfinfo-program"
- (string-append (assoc-ref outputs "out")
- "/bin/epdfinfo")))
- ;; Set 'pdf-tools-handle-upgrades' to nil to avoid "auto
- ;; upgrading" that pdf-tools tries to perform.
- (emacs-substitute-variables "pdf-tools.el"
- ("pdf-tools-handle-upgrades" '()))))
- (add-after 'emacs-patch-variables 'emacs-expand-load-path
- (assoc-ref emacs:%standard-phases 'expand-load-path))
- (add-after 'emacs-expand-load-path 'emacs-install
- (assoc-ref emacs:%standard-phases 'install))
- (add-after 'emacs-install 'emacs-build
- (assoc-ref emacs:%standard-phases 'build))
- (add-after 'emacs-install 'emacs-make-autoloads
- (assoc-ref emacs:%standard-phases 'make-autoloads)))))
- (native-inputs
- (list autoconf automake emacs-minimal pkg-config))
- (inputs
- (list cairo glib libpng poppler zlib))
- (propagated-inputs
- (list emacs-tablist))
- (home-page "https://github.com/politza/pdf-tools")
- (synopsis "Emacs support library for PDF files")
- (description
- "PDF Tools is, among other things, a replacement of DocView for PDF
+ ;; Set path to epdfinfo program.
+ (emacs-substitute-variables "pdf-info.el"
+ ("pdf-info-epdfinfo-program"
+ (string-append (assoc-ref outputs "out")
+ "/bin/epdfinfo")))
+ ;; Set 'pdf-tools-handle-upgrades' to nil to avoid "auto
+ ;; upgrading" that pdf-tools tries to perform.
+ (emacs-substitute-variables "pdf-tools.el"
+ ("pdf-tools-handle-upgrades" '()))))
+ (add-after 'emacs-patch-variables 'emacs-expand-load-path
+ (assoc-ref emacs:%standard-phases 'expand-load-path))
+ (add-after 'emacs-expand-load-path 'emacs-install
+ (assoc-ref emacs:%standard-phases 'install))
+ (add-after 'emacs-install 'emacs-build
+ (assoc-ref emacs:%standard-phases 'build))
+ (add-after 'emacs-install 'emacs-make-autoloads
+ (assoc-ref emacs:%standard-phases 'make-autoloads)))))
+ (native-inputs
+ (list autoconf automake emacs-minimal pkg-config))
+ (inputs
+ (list cairo glib libpng poppler zlib))
+ (propagated-inputs
+ (list emacs-tablist))
+ (home-page "https://github.com/politza/pdf-tools")
+ (synopsis "Emacs support library for PDF files")
+ (description
+ "PDF Tools is, among other things, a replacement of DocView for PDF
files. The key difference is that pages are not pre-rendered by
e.g. ghostscript and stored in the file-system, but rather created on-demand
and stored in memory.")
- (license license:gpl3+))))
+ (license license:gpl3+)))
(define-public emacs-saveplace-pdf-view
(package
@@ -3706,16 +3757,16 @@ kmonad's configuration files (@file{.kbd}).")
(define-public emacs-keycast
(package
(name "emacs-keycast")
- (version "1.1.1")
+ (version "1.1.3")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/tarsius/keycast.git")
+ (url "https://github.com/tarsius/keycast")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "09xr0h2ag3pzlz455gv5h915vn1dz56gqx61jx3n7fc4a794pqxw"))))
+ (base32 "0s31b3kal4j08waa2fwz5d6269wsdywb60a7h4r5vzsrr238lks3"))))
(build-system emacs-build-system)
(home-page "https://github.com/tarsius/keycast")
(synopsis "Show current command and its key in the mode line")
@@ -4161,7 +4212,7 @@ the URL for a commit. URLs are added to the kill ring.")
(define-public emacs-apheleia
(package
(name "emacs-apheleia")
- (version "1.1.2")
+ (version "1.2")
(source
(origin
(method git-fetch)
@@ -4170,7 +4221,7 @@ the URL for a commit. URLs are added to the kill ring.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0f2dqid4h0psdyx3p18c7xn7nf8zr6y4qq98yvyjfbwq5lcjk4rn"))))
+ (base32 "06i912zybc6c1djb9xqfqydl6achgxsmx6hjy50y9lxc0f2p5py9"))))
(build-system emacs-build-system)
(home-page "https://github.com/raxod502/apheleia")
(synopsis "Reformat buffer stably")
@@ -5058,7 +5109,7 @@ displays the priority part of a heading as your preferred string value.")
(define-public emacs-org-fragtog
(package
(name "emacs-org-fragtog")
- (version "0.4.0")
+ (version "0.4.1")
(source
(origin
(method git-fetch)
@@ -5067,7 +5118,7 @@ displays the priority part of a heading as your preferred string value.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0ra4sfy48p8pm1c7h8wlmbl68r4s0f4qc49xapvs550pm4mf3hiq"))))
+ (base32 "1912nlnk5v20szlmxr6y7chvms294z0p0hzdfgi8i3c7yrz7lmsj"))))
(build-system emacs-build-system)
(propagated-inputs
(list emacs-org))
@@ -5504,18 +5555,23 @@ an easy way to bind keys under a configurable prefix key.")
(package
(name "emacs-evil-tex")
(version "1.0.2")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/iyefrat/evil-tex")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1wrx8ihimn1sx3vzzfppcwv0yfh3x95jrkxqvzj0ykckipm3zk0b"))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/iyefrat/evil-tex")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1wrx8ihimn1sx3vzzfppcwv0yfh3x95jrkxqvzj0ykckipm3zk0b"))))
(build-system emacs-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'set-home
+ (lambda _ (setenv "HOME" "/tmp"))))))
(propagated-inputs
- (list emacs-evil emacs-auctex))
+ (list emacs-auctex emacs-evil))
(home-page "https://github.com/iyefrat/evil-tex")
(synopsis "Evil oriented additions for editing LaTeX")
(description "This package is a toolbox for LaTeX editing with Evil. It
@@ -5949,14 +6005,14 @@ src blocks.")
(define-public emacs-debbugs
(package
(name "emacs-debbugs")
- (version "0.29")
+ (version "0.30")
(source
(origin
(method url-fetch)
(uri (string-append "https://elpa.gnu.org/packages/debbugs-"
version ".tar"))
(sha256
- (base32 "1bn21d9dr9pb3vdak3v07x056xafym89kdpxavjf4avy6bry6s4d"))))
+ (base32 "05yy1hhxd59rhricb14iai71w681222sv0i703yrgg868mphl7sb"))))
(build-system emacs-build-system)
(arguments '(#:include '("\\.el$" "\\.wsdl$" "\\.info$")))
(propagated-inputs
@@ -6785,7 +6841,7 @@ to a key in your preferred mode.")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'configure
- (lambda _
+ (lambda* (#:key outputs #:allow-other-keys)
(substitute* "el/CMakeLists.txt"
(("share/emacs/site-lisp/SuperCollider")
(elpa-directory #$output)))
@@ -6814,19 +6870,24 @@ SuperCollider is a platform for audio synthesis and algorithmic composition.")
(revision "1"))
(package
(name "emacs-company-auctex")
- (version (git-version "0" revision commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/alexeyr/company-auctex")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "10qn7frn5wcmrlci3v6iliqzj7r9dls87h9zp3xkgrgn4bqprfp8"))))
+ (version (git-version "0.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/alexeyr/company-auctex")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "10qn7frn5wcmrlci3v6iliqzj7r9dls87h9zp3xkgrgn4bqprfp8"))))
(build-system emacs-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'set-home
+ (lambda _ (setenv "HOME" "/tmp"))))))
(propagated-inputs
- (list emacs-yasnippet emacs-auctex emacs-company))
+ (list emacs-auctex emacs-company emacs-yasnippet))
(home-page "https://github.com/alexeyr/company-auctex/")
(synopsis "Completion for @code{AUCTeX}")
(description
@@ -7354,7 +7415,7 @@ Cucumber tool) user stories. Also known by the name @code{cucumber.el}.")
(define-public emacs-org-appear
(package
(name "emacs-org-appear")
- (version "0.2.4")
+ (version "0.3.0")
(source
(origin
(method git-fetch)
@@ -7363,7 +7424,7 @@ Cucumber tool) user stories. Also known by the name @code{cucumber.el}.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0sfz8rpvc9hidjj81wlc48vi7ii90mssgvfnp2z215phv67npbzp"))))
+ (base32 "1pdf16agcjfzpjvz8kv39abir35rip93nkawxcpjjh4ywsdsbnm6"))))
(build-system emacs-build-system)
(home-page "https://github.com/awth13/org-appear")
(synopsis "Make invisible parts of Org fragments appear visible")
@@ -7426,7 +7487,7 @@ cards created in Org mode.")
(define-public emacs-org-mime
(package
(name "emacs-org-mime")
- (version "0.2.3")
+ (version "0.2.4")
(source
(origin
(method git-fetch)
@@ -7435,7 +7496,7 @@ cards created in Org mode.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1g32chan6rhlp3kvzd2lvf104i3p37q1sm0d89pq6sya0ia2as1n"))))
+ (base32 "0in83jlrwjn81qgw1i7n228sbf314bj8hkrl14ahfn0zmfll60sw"))))
(build-system emacs-build-system)
(home-page "https://github.com/org-mime/org-mime")
(synopsis "Send HTML email using Org mode HTML export")
@@ -7942,6 +8003,26 @@ a LaTeX file, which compiles into a nice CV. In the same spirit, the Org file
may export to Markdown so that it can be used for a web based CV.")
(license license:gpl3+))))
+(define-public emacs-ox-gfm
+ (package
+ (name "emacs-ox-gfm")
+ (version "1.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/larstvei/ox-gfm")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32
+ "0drdypmgxk3238hmkqw9s3cw9wv94cyfqar5ar0bv0k69s92pxj8"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/larstvei/ox-gfm")
+ (synopsis "Github Flavored Markdown Back-End for Org Export Engine")
+ (description "This package is a small exporter based on the Markdown
+exporter already existing in Org mode. It supports the Github flavored
+markdown features.")
+ (license license:gpl3+)))
+
(define-public emacs-2048-game
(package
(name "emacs-2048-game")
@@ -8086,28 +8167,25 @@ them easier to distinguish from other, less important buffers.")
(license license:expat)))
(define-public emacs-embark
- ;; XXX: Upstream did not tag last release. Commit hash below matches
- ;; version bump.
- (let ((commit "bc3e4654329563ab28a96003610634c3a5e5a484"))
- (package
- (name "emacs-embark")
- (version "0.13")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/oantolin/embark")
- (commit commit)))
- (sha256
- (base32 "1x6m6gc32z7kv9nkr8mwhi9mimbwhd37qyxpwj33hml9ygi8s7r6"))
- (file-name (git-file-name name version))))
- (build-system emacs-build-system)
- (propagated-inputs
- (list emacs-avy emacs-consult))
- (home-page "https://github.com/oantolin/embark")
- (synopsis "Emacs mini-buffer actions rooted in keymaps")
- (description
- "This package provides a sort of right-click contextual menu for Emacs
+ (package
+ (name "emacs-embark")
+ (version "0.15")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/oantolin/embark")
+ (commit version)))
+ (sha256
+ (base32 "08wj0p3plvblbmfmn4vsanhldr2csrnm1lhk3g1nic5v26yi5l64"))
+ (file-name (git-file-name name version))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ (list emacs-avy emacs-consult))
+ (home-page "https://github.com/oantolin/embark")
+ (synopsis "Emacs mini-buffer actions rooted in keymaps")
+ (description
+ "This package provides a sort of right-click contextual menu for Emacs
offering you relevant @emph{actions} to use on a @emph{target} determined by
the context.
@@ -8121,12 +8199,12 @@ get offered actions like deleting, copying, renaming, visiting in another
window, running a shell command on the file, etc. For buffers the actions
include switching to or killing the buffer. For package names the actions
include installing, removing or visiting the homepage.")
- (license license:gpl3+))))
+ (license license:gpl3+)))
(define-public emacs-prescient
(package
(name "emacs-prescient")
- (version "5.1")
+ (version "5.2")
(source
(origin
(method git-fetch)
@@ -8135,7 +8213,7 @@ include installing, removing or visiting the homepage.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0d6kbczkamhhcmc8bf01q6k1x0g7dwjihwllzsldgga3dclyh4ks"))))
+ (base32 "024l7s0b6apbzanw3cnhjypxnxfinfb5b3nhaabrc138m5pis8j5"))))
(build-system emacs-build-system)
(propagated-inputs
(list emacs-company emacs-ivy emacs-selectrum))
@@ -8175,7 +8253,7 @@ interface.")
(define-public emacs-orderless
(package
(name "emacs-orderless")
- (version "0.6")
+ (version "0.7")
(source
(origin
(method git-fetch)
@@ -8183,7 +8261,7 @@ interface.")
(url "https://github.com/oantolin/orderless")
(commit version)))
(sha256
- (base32 "1javw5n3h3iv7f433b2ack49aka1jdpp8yxnaahzg5qbvr80hnay"))
+ (base32 "0m9nyz80j0qnn14drbgk8vn5yr7sv0z6yiz8w95ahcw2qwlgyjs7"))
(file-name (git-file-name name version))))
(build-system emacs-build-system)
(arguments
@@ -8209,7 +8287,7 @@ style, or as multiple word prefixes.")
(define-public emacs-consult
(package
(name "emacs-consult")
- (version "0.13")
+ (version "0.14")
(source
(origin
(method git-fetch)
@@ -8217,11 +8295,9 @@ style, or as multiple word prefixes.")
(url "https://github.com/minad/consult")
(commit version)))
(sha256
- (base32 "0ik5j4i4vb9hz629cjwnzhimskpv0fc8wca37z4ak0q1d898ayph"))
+ (base32 "051fjp03lj3b5kkzpdhk78g2lj37v973q0f012zld1n6937srj6h"))
(file-name (git-file-name name version))))
(build-system emacs-build-system)
- (propagated-inputs
- (list emacs-flycheck emacs-selectrum))
(home-page "https://github.com/minad/consult")
(synopsis "Consulting completing-read")
(description "This package provides various handy commands based on the
@@ -8255,10 +8331,10 @@ and present results either as single emails or full trees.")
(define-public emacs-marginalia
;; Upstream did not tag latest release. The commit below matches version
;; bump.
- (let ((commit "2dbad0b166d6dc76862697bb25b95d34c1703acc"))
+ (let ((commit "9229d88ae4757f3439e81f51799758c009838cb4"))
(package
(name "emacs-marginalia")
- (version "0.10")
+ (version "0.11")
(source
(origin
(method git-fetch)
@@ -8267,7 +8343,7 @@ and present results either as single emails or full trees.")
(commit commit)))
(file-name (git-file-name name version))
(sha256
- (base32 "0xb0w7fxbmwbq2mdhs7xrf8z6x6qmkq68p1fv08wb4ksvphyvz5h"))))
+ (base32 "0gaqybj52skqcmxcx6k3zmw6lznzlr1fjvlaraic9m6n85xkvzki"))))
(build-system emacs-build-system)
(home-page "https://github.com/minad/marginalia")
(synopsis "Marginalia in the minibuffer completions")
@@ -8343,7 +8419,7 @@ bindings @code{M-p} and @code{M-p} for navigation. When
@code{highlight-symbol-on-navigation-p} is set, highlighting is triggered
regardless of @code{highlight-symbol-idle-delay}.
-@code{highlight-symbol-query-replace} can be used to replace the symbol. ")
+@code{highlight-symbol-query-replace} can be used to replace the symbol.")
(license license:gpl2+))))
(define-public emacs-symbol-overlay
@@ -9088,33 +9164,30 @@ window layout easily.")
(license license:gpl3+)))
(define-public emacs-iedit
- ;; Last release version was in 2016.
- (let ((commit "e2c100cdd67b7d82835d281ac2cd1bf4f374bc8f")
- (revision "1"))
- (package
- (name "emacs-iedit")
- (version (git-version "0.9.9.9" revision commit))
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/victorhge/iedit")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32 "0wr3w2id95wx2rma8n1ifjrv9rx37ly26ijc5zi58id0yrip3hnc"))))
- (build-system emacs-build-system)
- (home-page "https://www.emacswiki.org/emacs/Iedit")
- (synopsis "Edit multiple regions in the same way simultaneously")
- (description
- "This package is an Emacs minor mode and allows you to edit one
+ (package
+ (name "emacs-iedit")
+ (version "0.9.9.9.9")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/victorhge/iedit")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "02jdyrff88n69d4kadjaac38gwcv28lhiqqa93rlqzdvmgqsbwak"))))
+ (build-system emacs-build-system)
+ (home-page "https://www.emacswiki.org/emacs/Iedit")
+ (synopsis "Edit multiple regions in the same way simultaneously")
+ (description
+ "This package is an Emacs minor mode and allows you to edit one
occurrence of some text in a buffer (possibly narrowed) or region, and
simultaneously have other occurrences edited in the same way.
You can also use Iedit mode as a quick way to temporarily show only the buffer
lines that match the current text being edited. This gives you the effect of
a temporary @code{keep-lines} or @code{occur}.")
- (license license:gpl3+))))
+ (license license:gpl3+)))
(define-public emacs-zoutline
(package
@@ -9738,7 +9811,7 @@ to all the other commands, too.")
(define-public emacs-js2-mode
(package
(name "emacs-js2-mode")
- (version "20201220")
+ (version "20211229")
(source
(origin
(method git-fetch)
@@ -9747,7 +9820,7 @@ to all the other commands, too.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "00jy917cgp5xzfgs4m0spzlbqk8mg63layin8nxmn2647rfjnik4"))))
+ (base32 "1wcz3xji7viqxa5is81jd7in7x1fya6rzybm8qj9rwgdc8camvyb"))))
(build-system emacs-build-system)
(arguments
`(#:tests? #t
@@ -9847,7 +9920,7 @@ indentation and filling of comments and C preprocessor fontification.")
(define-public emacs-tide
(package
(name "emacs-tide")
- (version "4.2.3")
+ (version "4.5.4")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -9856,10 +9929,10 @@ indentation and filling of comments and C preprocessor fontification.")
(file-name (git-file-name name version))
(sha256
(base32
- "1fj2fghiycnzds2zxfxgj1d9mdzsvs9rvl9bwy2f1vwawqk1m48w"))))
+ "0zrapfxdarakp3kwp73c2ymjx51fsnfk6azi2y1wb2kgsdxl2yim"))))
(build-system emacs-build-system)
(propagated-inputs
- (list emacs-dash emacs-s emacs-flycheck emacs-typescript-mode))
+ (list emacs-dash emacs-flycheck emacs-s emacs-typescript-mode))
(home-page "https://github.com/ananthakumaran/tide")
(synopsis "Typescript IDE for Emacs")
(description
@@ -11086,7 +11159,7 @@ target will call @code{compile} on it.")
(define-public emacs-cider
(package
(name "emacs-cider")
- (version "1.1.1")
+ (version "1.2.0")
(source
(origin
(method git-fetch)
@@ -11095,7 +11168,7 @@ target will call @code{compile} on it.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0psd8zrhs5w1cfmksd5sjgy9xzfs9i9zp55g97rp7zp6y5als0lx"))))
+ (base32 "1c21hdrf6b7zc65nr7wqjhcyq5a0f4aa91wrxgzx374q81xym2rf"))))
(build-system emacs-build-system)
(arguments
'(#:exclude ;don't exclude 'cider-test.el'
@@ -11233,7 +11306,7 @@ xref, etc.) are still available, but with better integration.")
(synopsis "Quicklisp support for SLY")
(description
"@command{sly-quicklisp} is an external contrib for SLY that provides a
-sly-quickload command that prompts the user for a package to install. ")
+sly-quickload command that prompts the user for a package to install.")
(license license:gpl3+))))
(define-public emacs-sly-asdf
@@ -11451,7 +11524,7 @@ Lua programming language}.")
(define-public emacs-ebuild-mode
(package
(name "emacs-ebuild-mode")
- (version "1.53")
+ (version "1.55")
(source
(origin
(method url-fetch)
@@ -11460,18 +11533,17 @@ Lua programming language}.")
"ebuild-mode-" version ".tar.xz"))
(file-name (string-append name "-" version ".tar.xz"))
(sha256
- (base32 "1l740qp71df9ids0c49kvp942rk8k1rfkg1hyv7ysfns5shk7b9l"))))
+ (base32 "1bs2s5g79vrbk8544lvp388cdbig0s121kwk0h10hif4kp56ka9w"))))
(build-system emacs-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (add-after 'install 'install-doc
- (lambda* (#:key outputs #:allow-other-keys)
- (invoke "make" "ebuild-mode.info")
- (install-file "ebuild-mode.info"
- (string-append (assoc-ref outputs "out")
- "/share/info"))
- #t)))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'install-doc
+ (lambda _
+ (invoke "make" "ebuild-mode.info")
+ (install-file "ebuild-mode.info"
+ (string-append #$output "/share/info")))))))
(native-inputs
(list texinfo))
(home-page "https://devmanual.gentoo.org")
@@ -11521,16 +11593,16 @@ extensions.")
(define-public emacs-evil-collection
(package
(name "emacs-evil-collection")
- (version "0.0.6")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/emacs-evil/evil-collection")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0ssb3n1i67b6zp2j8djaalkr33x4c7zalw6vl6p5kqxkh8vy8cdf"))))
+ (version "0.0.7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/emacs-evil/evil-collection")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1f5mbg2k527brn6b7njdjizpbzj252c53crzl8sf2564czcprqj0"))))
(build-system emacs-build-system)
(propagated-inputs
(list emacs-evil emacs-annalist))
@@ -11569,31 +11641,28 @@ being deleted, changed, yanked, or pasted when using evil commands")
(license license:gpl3+))))
(define-public emacs-goto-chg
- (let ((commit "2af612153bc9f5bed135d25abe62f46ddaa9027f")
- (version "1.7.3")
- (revision "2"))
- (package
- (name "emacs-goto-chg")
- (version (git-version version revision commit))
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/emacs-evil/goto-chg")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1awmvihqgw6kspx192bcp9xp56xqbma90wlhxfxmidx3bvxghwpv"))))
- (build-system emacs-build-system)
- (home-page "https://github.com/emacs-evil/goto-chg")
- (synopsis "Go to the last change in the Emacs buffer")
- (description
- "This package provides @code{M-x goto-last-change} command that goes to
+ (package
+ (name "emacs-goto-chg")
+ (version "1.7.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/emacs-evil/goto-chg")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0rgdzhan4n5bd78wvivacqkp0g7jvnwzgh0571p2m4yra09a36mv"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/emacs-evil/goto-chg")
+ (synopsis "Go to the last change in the Emacs buffer")
+ (description
+ "This package provides @code{M-x goto-last-change} command that goes to
the point of the most recent edit in the current Emacs buffer. When repeated,
go to the second most recent edit, etc. Negative argument, @kbd{C-u -}, is
used for reverse direction.")
- (license license:gpl2+))))
+ (license license:gpl2+)))
(define-public emacs-janpath-evil-numbers
(let ((commit "d988041c1fe6e941dc8d591390750b237f71f524")
@@ -11900,7 +11969,7 @@ pasting into and from @code{tmux} paste buffers.")
(define-public emacs-evil-nerd-commenter
(package
(name "emacs-evil-nerd-commenter")
- (version "3.5.5")
+ (version "3.5.6")
(source
(origin
(method git-fetch)
@@ -11910,7 +11979,7 @@ pasting into and from @code{tmux} paste buffers.")
(file-name (git-file-name name version))
(sha256
(base32
- "1qrlg4cxlsd4cf1z8j2662pfb9p6pnqpsyb74flja9cqv6g5ylp8"))))
+ "1y6qy4gv7k8aghi5snvh248nxpgxv0daryd2794n6gfb4ciwycrr"))))
(build-system emacs-build-system)
(propagated-inputs (list emacs-evil))
(home-page "https://github.com/redguardtoo/evil-nerd-commenter")
@@ -12082,7 +12151,7 @@ passive voice.")
(define-public emacs-org
(package
(name "emacs-org")
- (version "9.5.1")
+ (version "9.5.2")
(source
(origin
(method git-fetch)
@@ -12091,7 +12160,7 @@ passive voice.")
(commit (string-append "release_" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0ajig1sb4zxffx3lv7l7xvsf77qgs3s7pm2ylxa3wanwmpk3gvcg"))))
+ (base32 "19fg3drf5h7k46fkdn3b09s69rx8a909cslg7vp2k3b2yji77fdp"))))
(build-system emacs-build-system)
(arguments
`(#:tests? #t
@@ -12258,10 +12327,11 @@ characters.")
(modules '((guix build utils)))
(snippet
'(begin
- (for-each (lambda (file)
- (unless (equal? file "./ob-sclang.el")
- (delete-file file)))
- (find-files "." "\\.el"))))))
+ (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")
@@ -13407,14 +13477,14 @@ performance-oriented and tidy.")
(define-public emacs-leaf
(package
(name "emacs-leaf")
- (version "4.5.2")
+ (version "4.5.5")
(source
(origin
(method url-fetch)
(uri (string-append "https://elpa.gnu.org/packages/"
"leaf-" version ".tar"))
(sha256
- (base32 "0i90shhhkpdcwmfi8zv0008qgmg4g3cqd2yvpycfv9n2axvhag54"))))
+ (base32 "1rdbrf84ijapiqhq72gy8r5xgk54sf0jy31pgd3w4rl1wywh5cas"))))
(build-system emacs-build-system)
(home-page "https://github.com/conao3/leaf.el")
(synopsis "Simplify your init.el configuration, extended use-package")
@@ -13698,6 +13768,7 @@ using Imenu, and Compilation mode support for MSBuild, devenv and xbuild.")
(uri (git-reference
(url "https://github.com/rrthomas/vala-mode")
(commit commit)))
+ (file-name (git-file-name name version))
(sha256
(base32 "0g5pdq757z9d8rk489n5ilhqipdc4i4sfkjwwrxyvgjlapjc04c0"))))
(build-system emacs-build-system)
@@ -13813,13 +13884,13 @@ containing words from the Rime project.")
(define-public emacs-pyim
(package
(name "emacs-pyim")
- (version "3.9.5")
+ (version "4.1.0")
(source
(origin
(method url-fetch)
(uri (string-append "https://elpa.gnu.org/packages/pyim-" version ".tar"))
(sha256
- (base32 "1dj46yprbl3l6n83aj0hsnd0rwjcp4ypyg2nhwig39wxirwlf9an"))))
+ (base32 "1q4b3y72gbkl5z31brlnjqjl30lgqm2d1zlqrbkqnnfy5hjgazk9"))))
(build-system emacs-build-system)
(propagated-inputs
(list emacs-async emacs-pyim-basedict emacs-popup emacs-posframe
@@ -13877,14 +13948,14 @@ methods from a given list.")
(define-public emacs-posframe
(package
(name "emacs-posframe")
- (version "1.1.2")
+ (version "1.1.7")
(source
(origin
(method url-fetch)
(uri (string-append "https://elpa.gnu.org/packages/"
"posframe-" version ".tar"))
(sha256
- (base32 "0vrv46v7qwmax5m1i6b7lwdh789dfr18ggxjl4bk05qn7waway6j"))))
+ (base32 "13i2wxx079gfq0vbq0iwmsig5b7x4aspd1q02yqc79846f1dsx4w"))))
(build-system emacs-build-system)
;; emacs-minimal does not include the function font-info.
(arguments
@@ -13980,11 +14051,33 @@ and lambdas.")
(list emacs-dash emacs-el2org emacs-ht emacs-mustache
emacs-simple-httpd))
(home-page "https://github.com/tumashu/org2web")
- (synopsis "Static site generator based on org-mode ")
+ (synopsis "Static site generator based on org-mode")
(description "Org2web is a static site generator based on org-mode,
which code derived from Kelvin H's org-page.")
(license license:gpl2+)))
+(define-public emacs-meow
+ (package
+ (name "emacs-meow")
+ (version "1.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/meow-edit/meow")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "04vin23bmds8dp2i1xihph9r7v43lcfz6fm23f4nvcyka9rqxc0z"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/meow-edit/meow")
+ (synopsis "Yet another modal editing on Emacs")
+ (description "Meow is yet another modal editing mode for Emacs. It aims
+to blend modal editing into Emacs with minimum interface with its original
+key-bindings, avoiding most if not all the hassle introduced by key-binding
+conflicts.")
+ (license license:gpl3+)))
+
(define-public emacs-xelb
(package
(name "emacs-xelb")
@@ -14197,7 +14290,7 @@ on mouse-control.")
(define-public emacs-gnugo
(package
(name "emacs-gnugo")
- (version "3.1.1")
+ (version "3.1.2")
(source
(origin
(method url-fetch)
@@ -14205,7 +14298,7 @@ on mouse-control.")
version ".tar"))
(sha256
(base32
- "035rgiz42q042h41l4cvf0hr8igy2vyn3s1hsl2pgh2dq2jjylv6"))))
+ "138gzdyi8scqimvs49da66j8f5a43bhgpasn1bxzdj2zffwlwp6g"))))
(build-system emacs-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
@@ -14388,14 +14481,14 @@ Emacs.")
(define-public emacs-eglot
(package
(name "emacs-eglot")
- (version "1.7")
+ (version "1.8")
(source
(origin
(method url-fetch)
(uri (string-append "https://elpa.gnu.org/packages/"
"eglot-" version ".tar"))
(sha256
- (base32 "1zvs144hxq2mmq1h0ynx9hy7yyccb46f3pjg9mgq8v9cw5y678vk"))))
+ (base32 "1n04jnf3wwpxafrzfd02l53wf90brjc8p835f84k0n0rjxin99k5"))))
(build-system emacs-build-system)
(propagated-inputs
(list emacs-eldoc emacs-jsonrpc emacs-project))
@@ -14504,6 +14597,30 @@ running tests easier.")
(description "This package provides a simple testing library for Emacs.")
(license license:gpl3+)))
+(define-public emacs-org-transclusion
+ (package
+ (name "emacs-org-transclusion")
+ (version "1.1.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/nobiot/org-transclusion")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0qvc8f4i44d8mgkzfi9yld664cmapkbmjv4bf0l8va417ck5sm92"))))
+ (build-system emacs-build-system)
+ (home-page "https://nobiot.github.io/org-transclusion/")
+ (synopsis "Enable transclusion with Org Mode")
+ (description "Org-transclusion lets you insert a copy of text content via
+a file link or ID link within an Org file. It lets you have the same content
+present in different buffers at the same time without copy-and-pasting it.
+Edit the source of the content, and you can refresh the transcluded copies to
+the up-to-date state. Org-transclusion keeps your files clear of the
+transcluded copies, leaving only the links to the original content.")
+ (license license:gpl3+)))
+
(define-public emacs-disable-mouse
(package
(name "emacs-disable-mouse")
@@ -14523,7 +14640,7 @@ running tests easier.")
(description
"Provides @code{disable-mouse-mode} and @code{global-disable-mouse-mode},
pair of minor modes which suppress all mouse events by intercepting them and
-running a customisable handler command (@code{ignore} by default). ")
+running a customisable handler command (@code{ignore} by default).")
(license license:gpl3+)))
(define-public emacs-json-reformat
@@ -14613,14 +14730,14 @@ highlighting.")
(define-public emacs-jsonrpc
(package
(name "emacs-jsonrpc")
- (version "1.0.14")
+ (version "1.0.15")
(source
(origin
(method url-fetch)
(uri (string-append "https://elpa.gnu.org/packages/"
- "jsonrpc-" version ".el"))
+ "jsonrpc-" version ".tar"))
(sha256
- (base32 "069l0sqkambam4ikj9id36kdw1jdjna8v586d51m64hiz96rmvm6"))))
+ (base32 "1hx378rg12jz2zm105cvrqk0nqyzsn04l59d903l98d6lbd96rsw"))))
(build-system emacs-build-system)
(home-page "http://elpa.gnu.org/packages/jsonrpc.html")
(synopsis "JSON-RPC library")
@@ -14951,6 +15068,11 @@ when browsing files with Dired.")
(sha256
(base32 "1w0lyz71dq8x28ira4hig1b70bqn1dr53w3k5dgch9szcf6xa86y"))))
(build-system emacs-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'set-home
+ (lambda _ (setenv "HOME" "/tmp"))))))
(propagated-inputs
(list emacs-auctex emacs-org))
(home-page "https://github.com/et2010/org-edit-latex")
@@ -15024,7 +15146,7 @@ library.")
(build-system emacs-build-system)
(arguments
`(#:emacs ,emacs)) ;need libxml support
- (inputs
+ (propagated-inputs
(list emacs-plz emacs-ts))
(home-page "https://github.com/alphapapa/ement.el")
(synopsis "Matrix client for Emacs")
@@ -15773,14 +15895,14 @@ let users kill or mark things easily.")
(define-public emacs-csv-mode
(package
(name "emacs-csv-mode")
- (version "1.17")
+ (version "1.18")
(source
(origin
(method url-fetch)
(uri (string-append "https://elpa.gnu.org/packages/"
"csv-mode-" version ".tar"))
(sha256
- (base32 "16kv3n70pl4h3jfmmqy9bzflsm4nv7cwvrj7g4mgy8yb76nbyka2"))))
+ (base32 "0fv7hvsfbc9n4hsgg3ywk8qf4ig5a986zfq0lwnjj8pcz1bpmrxj"))))
(build-system emacs-build-system)
(home-page "https://elpa.gnu.org/packages/csv-mode.html")
(synopsis "Major mode for editing comma/char separated values")
@@ -17002,7 +17124,7 @@ add any additional instance slots.")
(define-public emacs-epkg
(package
(name "emacs-epkg")
- (version "3.3.1")
+ (version "3.3.2")
(source
(origin
(method git-fetch)
@@ -17011,9 +17133,31 @@ add any additional instance slots.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32
- "0z9sz9ydfjzhawh4qip41h3vid1lslaf0h14hkjz9kx8fkrzib8a"))))
+ (base32 "18kjp0f5ch4mpd6yrd83p73pw7ykp2lv5686is8vcvyyys53jrf1"))))
(build-system emacs-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'install 'make-info
+ ;; Documentation is located in "docs/".
+ (lambda* (#:key outputs #:allow-other-keys)
+ (with-directory-excursion "docs"
+ (invoke "makeinfo" "-o" "epkg.info" "epkg.texi")
+ (let ((info (string-append (assoc-ref outputs "out")
+ "/share/info")))
+ (install-file "epkg.info" info)))))
+ (add-after 'make-info 'move-to-lisp-directory
+ ;; Source code is located in "lisp/".
+ (lambda _
+ (chdir "lisp")))
+ (add-after 'expand-load-path 'add-el-dir-to-emacs-load-path
+ (lambda _
+ (setenv "EMACSLOADPATH"
+ (string-append (getcwd)
+ "/lisp:"
+ (getenv "EMACSLOADPATH"))))))))
+ (native-inputs
+ (list texinfo))
(propagated-inputs
(list emacs-closql emacs-dash))
(home-page "https://emacsmirror.net")
@@ -17432,7 +17576,7 @@ according to a parsing expression grammar.")
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin"))
- (site-lisp (string-append out "/share/emacs/site-lisp")))
+ (site-lisp (elpa-directory out)))
(mkdir-p bin)
(setenv "HOME" (getcwd))
(invoke "./install.sh" bin)
@@ -17670,6 +17814,11 @@ automatically fetched from well-curated sources, and formatted as BibTeX.")
(sha256
(base32 "15jhpl2j4rm97cvvqzlfzxarvxvcsg64raz068psrsd2y7y2zh4c"))))
(build-system emacs-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'set-home
+ (lambda _ (setenv "HOME" "/tmp"))))))
(propagated-inputs
(list emacs-auctex emacs-org emacs-parsebib emacs-s))
(home-page "https://github.com/bdarcus/citar")
@@ -18381,12 +18530,39 @@ your Emacs.")
within Emacs.")
(license license:gpl3+))))
+(define-public emacs-svg-lib
+ ;; XXX: Upstream does not tag releases. The commit hash below corresponds
+ ;; to the version bump.
+ (let ((commit "0486c9453449771bc3f5872f70bc5cb23580d0f4"))
+ (package
+ (name "emacs-svg-lib")
+ (version "0.2.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rougier/svg-lib")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "059vd4k7bvskkriwaiz4n2yafc3inndrr018hqfpic4k02cbwzpv"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/rougier/svg-lib")
+ (synopsis "Emacs SVG library for creating tags, icons and bars")
+ (description
+ "This is a small Emacs library to create and display various
+SVG objects, namely tags, progress bars, progress pies and icons.
+Each object is guaranteed to fit nicely in a text buffer ensuring
+width is an integer multiple of character width.")
+ (license license:gpl3+))))
+
(define-public emacs-svg-tag-mode
- (let ((commit "87489d28450559078aa15b4a435143a297508e48")
- (revision "1"))
+ ;; XXX: Upstream does not tag releases. The commit hash below corresponds
+ ;; to the version bump.
+ (let ((commit "3b07983614bee0195534e7a8a6dcfab757da4f0b"))
(package
(name "emacs-svg-tag-mode")
- (version (git-version "0.1" revision commit))
+ (version "0.3.2")
(source
(origin
(method git-fetch)
@@ -18395,14 +18571,39 @@ within Emacs.")
(commit commit)))
(file-name (git-file-name name version))
(sha256
- (base32 "0gyhmv60dx0zxx4bmhzsd7q5vfnkpfwlj6539bn272fwcr7zncp8"))))
+ (base32 "0nc0y2dn67gy9cly3yamskfd9dd028xbask8gjxql934bq0ads2i"))))
(build-system emacs-build-system)
+ (propagated-inputs
+ (list emacs-svg-lib))
(home-page "https://github.com/rougier/svg-tag-mode")
(synopsis "Replace keywords with SVG tags")
(description "This package provides a minor mode that replaces keywords
or expressions with SVG rounded box labels that are fully customizable.")
(license license:gpl3+))))
+(define-public emacs-kind-icon
+ (package
+ (name "emacs-kind-icon")
+ (version "0.1.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://elpa.gnu.org/packages/kind-icon-"
+ version
+ ".tar"))
+ (sha256
+ (base32 "00pyvnq4dx51l2wbhvm6k6cx5xmy32j4h1lkr5kr8s3j5w83ip25"))))
+ (build-system emacs-build-system)
+ (propagated-inputs (list emacs-svg-lib))
+ (home-page "https://github.com/jdtsmith/kind-icon")
+ (synopsis "Completion kind icons in Emacs")
+ (description "Kind-icon mode adds a colorful icon or text prefix based
+on :company-kind for compatible completion UIs. The \"kind\" prefix is
+typically used for differentiating completion candidates such as variables,
+functions, etc.")
+ (license license:gpl3+)))
+
(define-public emacs-svg-icon
(let ((commit "ebc2b8d0f6c680fd575a90e683cc7b832acd1eb7")
(revision "1"))
@@ -19521,6 +19722,29 @@ interactive behavior should be different.")
decreasing the default font size in all GUI Emacs frames.")
(license license:gpl3+)))
+(define-public emacs-fixed-pitch
+ (package
+ (name "emacs-fixed-pitch")
+ (version "0.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/cstby/fixed-pitch-mode")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0qlavjvib0r71xdy6y6pan9dhr57lw7jhmqk60mwa8fq6km8kpkj"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/cstby/fixed-pitch-mode")
+ (synopsis
+ "Use a monospaced typeface for code and a proportional one elsewhere")
+ (description
+ "Fixed-pitch mode is an Emacs minor mode for setting a monospaced typeface.
+This allows you to set a proportional typeface for UI elements while keeping
+a monospaced typeface for code.")
+ (license license:gpl3+)))
+
(define-public emacs-mixed-pitch
(package
(name "emacs-mixed-pitch")
@@ -19730,7 +19954,7 @@ decrease the number at point.")
(synopsis "Syntax highlighting of known Elisp symbols")
(description "Minor mode providing syntax highlighting of known Emacs Lisp
symbols. Currently the code distinguishes Lisp functions, built-in functions,
-macros, faces and variables. To enable call @code{highlight-defined-mode}. ")
+macros, faces and variables. To enable call @code{highlight-defined-mode}.")
(license license:gpl3+)))
(define-public emacs-parinfer-mode
@@ -19960,7 +20184,7 @@ Emacs minor mode to escape sequences in code.")
(home-page "https://github.com/rakanalh/emacs-dashboard")
(synopsis "Startup screen extracted from Spacemacs")
(description "This package provides an extensible Emacs dashboard, with
-sections for bookmarks, projectil projects, org-agenda and more. ")
+sections for bookmarks, projectil projects, org-agenda and more.")
(license license:gpl3+)))
(define-public emacs-slime-company
@@ -20598,15 +20822,14 @@ using XML-RPC methods fairly transparent to the Lisp code.")
(define-public emacs-xpm
(package
(name "emacs-xpm")
- (version "1.0.4")
+ (version "1.0.5")
(source
(origin
(method url-fetch)
(uri (string-append "https://elpa.gnu.org/packages/xpm-"
version ".tar"))
(sha256
- (base32
- "075miyashh9cm3b0gk6ngld3rm8bfgnh4qxnhxmmvjgzf6a64grh"))))
+ (base32 "13p6s6b2v7h4bnwdkkrd1qz84jd7g2s18w0czhpxv6hvj9sqf5hx"))))
(build-system emacs-build-system)
(home-page "https://elpa.gnu.org/packages/xpm.html")
(synopsis "XPM image editing mode for Emacs")
@@ -21587,7 +21810,7 @@ docstring of the thing at point.")
(define-public emacs-rust-mode
(package
(name "emacs-rust-mode")
- (version "1.0.1")
+ (version "1.0.3")
(source
(origin
(method git-fetch)
@@ -21596,7 +21819,7 @@ docstring of the thing at point.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1chb3a97cwf1pkxn8cm3wc35gfh9k55l7khg7pklmx36isr3csjv"))))
+ (base32 "11fdxbv51anrjfdqqpgrqz2md9qkcn5y3524lzjippqi9i31lnjn"))))
(build-system emacs-build-system)
(arguments
`(#:tests? #false ;FIXME: phase fail with status 127
@@ -21611,7 +21834,7 @@ source code.")
(define-public emacs-rustic
(package
(name "emacs-rustic")
- (version "2.3")
+ (version "2.5")
(source
(origin
(method git-fetch)
@@ -21620,7 +21843,7 @@ source code.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0l20n32s17zpvc3l0mnmr9vr9hsds002mm82i9r0dmz5hp1hp8d0"))))
+ (base32 "1jx8gzcm9ka2chpq51jx4mfa12wqrj2dsrpxwylfcb9qkqjncbn5"))))
(build-system emacs-build-system)
(propagated-inputs
(list emacs-dash
@@ -22184,6 +22407,32 @@ scaling of and anti aliasing of the icons.")
(license
(list license:expat license:gpl3+ license:silofl1.1 license:asl2.0))))
+(define-public emacs-all-the-icons-completion
+ ;; XXX: No tags. Extract version from keyword in main file.
+ (let ((commit "9e7d456b0934ecb568b6f05a8445e3f4ce32261f")
+ (revision "0"))
+ (package
+ (name "emacs-all-the-icons-completion")
+ (version (git-version "0.0.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/iyefrat/all-the-icons-completion")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "04bnmmd6lyx0p39sgymqvmcy7bk8mr7sikbpy49adxi7d2891ldg"))))
+ (build-system emacs-build-system)
+ (propagated-inputs (list emacs-all-the-icons))
+ (home-page "https://github.com/iyefrat/all-the-icons-completion")
+ (synopsis "Add icons to completion candidates")
+ (description "This package adds icons to completion candidates using the
+built-in completion metadata functions. For example, with this package,
+@code{find-file} can display a file icon for each candidate based on the file
+type.")
+ (license license:gpl3+))))
+
(define-public emacs-wttrin
(let ((commit "df5427ce2a5ad4dab652dbb1c4a1834d7ddc2abc")
(revision "1"))
@@ -23233,10 +23482,55 @@ indentation and a command to plot the file.")
according to their use.")
(license license:gpl3+))))
+(define-public emacs-dtache
+ (package
+ (name "emacs-dtache")
+ (version "0.4")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/niklaseklund/dtache")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1hndv0qzibkc4177lkam30j8cgvzxd8r60v3dnqn2bmrgxw04j6b"))))
+ (arguments
+ (list
+ #:tests? #t
+ #:test-command #~(list "ert-runner")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'install 'install-dtache-env
+ (lambda _
+ (install-file "dtache-env" (string-append #$output "/bin"))))
+ (add-after 'unpack 'configure
+ (lambda* (#:key inputs #:allow-other-keys)
+ (make-file-writable "dtache.el")
+ (emacs-substitute-variables "dtache.el"
+ ("dtache-env" (string-append #$output
+ "/bin/dtache-env"))
+ ("dtache-dtach-program" (search-input-file
+ inputs
+ "/bin/dtach"))
+ ("dtache-shell-program" (search-input-file
+ inputs
+ "/bin/bash"))))))))
+ (build-system emacs-build-system)
+ (native-inputs (list emacs-ert-runner))
+ (inputs (list dtach))
+ (home-page "https://gitlab.com/niklaseklund/dtache")
+ (synopsis "Run and interact with detached shell commands")
+ (description
+ "The dtache package allows users to run shell commands
+detached from Emacs. These commands are launched in sessions, using the
+program dtach.")
+ (license license:gpl3+)))
+
(define-public emacs-dtrt-indent
(package
(name "emacs-dtrt-indent")
- (version "1.4")
+ (version "1.6")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -23245,7 +23539,7 @@ according to their use.")
(file-name (git-file-name name version))
(sha256
(base32
- "11r68sh3yrrfib7pixnazispwsffrygmgplffrv8qq57xrqzyxih"))))
+ "1kad2inc9k2z65if26vfiw098yklzxdx9fw8a6yicb87jgc1cz36"))))
(build-system emacs-build-system)
(home-page "https://github.com/jscheid/dtrt-indent")
(synopsis "Minor mode that guesses the indentation offset")
@@ -23393,7 +23687,7 @@ recursively. The results are cached for speed.")
(define-public emacs-orgit
(package
(name "emacs-orgit")
- (version "1.7.1")
+ (version "1.7.2")
(home-page "https://github.com/magit/orgit")
(source (origin
(method git-fetch)
@@ -23403,7 +23697,7 @@ recursively. The results are cached for speed.")
(file-name (git-file-name name version))
(sha256
(base32
- "0mbcr98xq3zim01dk1fbyc1vajnjwx90k62mygv343rhrd05v44m"))))
+ "0lc2lk9c7b92c1cna2pyb88x9fa4bydcqkp4zcn0khpdv54fmszq"))))
(build-system emacs-build-system)
(propagated-inputs
(list emacs-dash emacs-magit))
@@ -23640,7 +23934,7 @@ and implementation of treeview controls using treemacs as a tree renderer.")
(propagated-inputs
(list emacs-bui emacs-lsp-mode emacs-posframe emacs-lsp-treemacs))
(home-page "https://emacs-lsp.github.io/dap-mode")
- (synopsis "Emacs client/library for Debug Adapter Protocol ")
+ (synopsis "Emacs client/library for Debug Adapter Protocol")
(description
"Dap mode is an Emacs client/library for Debug Adapter
Protocol (DAP), a wire protocol for communication between client and
@@ -23651,22 +23945,21 @@ Debug server.")
(define-public emacs-pfuture
(package
(name "emacs-pfuture")
- (version "1.9")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/Alexander-Miller/pfuture")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1chpin5277vbl2xvsl04pzzk7a9dbcvclibm2496gz6yvd19pwsf"))))
+ (version "1.10.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Alexander-Miller/pfuture")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0cks18fwir8h9b35ryz2yr5rligv1da2iqkqz0fcb5dx2a4fxwjj"))))
(build-system emacs-build-system)
- (home-page
- "https://github.com/Alexander-Miller/pfuture")
+ (home-page "https://github.com/Alexander-Miller/pfuture")
(synopsis "Simple wrapper around asynchronous processes for Emacs")
(description "This package provides a simple wrapper around asynchronous
-processes for Emacs")
+processes for Emacs.")
(license license:gpl3+)))
(define-public emacs-treemacs
@@ -24966,7 +25259,7 @@ through Dash docsets.")
(define-public emacs-devdocs
(package
(name "emacs-devdocs")
- (version "0.2")
+ (version "0.3")
(source
(origin
(method url-fetch)
@@ -24974,7 +25267,7 @@ through Dash docsets.")
"https://elpa.gnu.org/packages/"
"devdocs-" version ".tar"))
(sha256
- (base32 "1npc7yra7pvf86ahmz1h7hnjxrz15ar1vjcalg4ilizypycpgrwj"))))
+ (base32 "03asw26nsnnx7hmyqhksq165vpii0h8y6qjjn0x4sdkyyns16yp7"))))
(build-system emacs-build-system)
(home-page "https://github.com/astoff/devdocs.el")
(synopsis "Emacs viewer for DevDocs")
@@ -25063,7 +25356,7 @@ all of your projects, then override or add variables on a per-project basis.")
(define-public emacs-el-patch
(package
(name "emacs-el-patch")
- (version "2.2.3")
+ (version "2.4")
(source
(origin
(method git-fetch)
@@ -25072,9 +25365,14 @@ all of your projects, then override or add variables on a per-project basis.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32
- "18djslz177q6q33y82zmg2v6n9236a76kiqfvxdk4vbqzjbq82f7"))))
+ (base32 "0vankik1dh2yd554h59s5vlzanwx8sx9j31kr15830m3hfgikygz"))))
(build-system emacs-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ ;; XXX: The `validate-compiled-autoloads' phase fails with "Symbol’s
+ ;; value as variable is void: el-patch-deftype".
+ (delete 'validate-compiled-autoloads))))
(home-page "https://github.com/raxod502/el-patch")
(synopsis "Future-proof your Emacs customizations")
(description "This package allows for an alternate definition of an Elisp
@@ -25153,14 +25451,14 @@ well as an option for visually flashing evaluated s-expressions.")
(define-public emacs-tramp
(package
(name "emacs-tramp")
- (version "2.5.1.5")
+ (version "2.5.2")
(source
(origin
(method url-fetch)
(uri (string-append "https://elpa.gnu.org/packages/"
"tramp-" version ".tar"))
(sha256
- (base32 "1g3xf97q5h6sr67w9bphcbbqx9jz2lbl8lij5rz1r0zbsnlcv7n8"))))
+ (base32 "1j71x3q6x9xyf21capjxcp85b7z2x9khrqsd2sy2s3qwxz3jbg5n"))))
(build-system emacs-build-system)
(arguments
`(#:emacs ,emacs ;need D-Bus
@@ -25630,14 +25928,14 @@ Emacs windows and tmux panes.")
(define-public emacs-xclip
(package
(name "emacs-xclip")
- (version "1.10")
+ (version "1.11")
(source
(origin
(method url-fetch)
(uri (string-append "https://elpa.gnu.org/packages/"
- "xclip-" version ".el"))
+ "xclip-" version ".tar"))
(sha256
- (base32 "0i3i9kwfg8qmhcmqhhnrb1kljgwkccv63s9q1mjwqfjldyfh8j8i"))))
+ (base32 "0hgblj8ng7vfsdb7g1mm9m2qhzfprycdd77836l59prpak5kp55q"))))
(build-system emacs-build-system)
(home-page "http://elpa.gnu.org/packages/xclip.html")
(synopsis "Copy and paste GUI clipboard from Emacs in text terminal")
@@ -26356,7 +26654,7 @@ Emacs that integrate with major modes like Org-mode.")
(define-public emacs-modus-themes
(package
(name "emacs-modus-themes")
- (version "1.7.0")
+ (version "2.0.0")
(source
(origin
(method git-fetch)
@@ -26365,7 +26663,7 @@ Emacs that integrate with major modes like Org-mode.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "06i2jsy7vigydci4261nfnh668rl5zrcss5icwxlqii928dkmy8y"))))
+ (base32 "0p1h5zpzhxkmhiczds453y6mf5xf7pbcqlijq6z8gy10dxx4jppf"))))
(build-system emacs-build-system)
(home-page "https://protesilaos.com/modus-themes/")
(synopsis "Accessible themes (WCAG AAA)")
@@ -26406,29 +26704,27 @@ color. Designed for 256-color terminals. Comes in light and dark!")
(license license:gpl3+))))
(define-public emacs-spacemacs-theme
- (let ((commit "f79c40fb241e204539fde97200abae91e828e585")
- (revision "1"))
- (package
- (name "emacs-spacemacs-theme")
- (version (git-version "0" revision commit)) ;no release yet
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/nashamri/spacemacs-theme")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1l2kkiyrskkpx8f901v0wrzaah1wjg15zdyv88spj3mh3hwd3b6n"))))
- (build-system emacs-build-system)
- (home-page "https://github.com/nashamri/spacemacs-theme")
- (synopsis
- "Light and dark theme for spacemacs that supports GUI and terminal")
- (description
- "Spacemacs theme is an Emacs color theme that started as
+ (package
+ (name "emacs-spacemacs-theme")
+ (version "0.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/nashamri/spacemacs-theme")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "15l9hb8f08nkxsaj8pxbg2mip4pp2msnrl0nvlq22zg40gh7pqsn"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/nashamri/spacemacs-theme")
+ (synopsis
+ "Light and dark theme for spacemacs that supports GUI and terminal")
+ (description
+ "Spacemacs theme is an Emacs color theme that started as
a theme for Spacemacs. The theme comes with dark and light variants
and it should work well with 256 color terminals.")
- (license license:gpl3+))))
+ (license license:gpl3+)))
(define-public emacs-elixir-mode
(package
@@ -26504,6 +26800,31 @@ The contents and aspect is controlled by the @code{minibuffer-line-format}
variable and the @code{minibuffer-line} face.")
(license license:gpl3+)))
+(define-public emacs-minimap
+ (package
+ (name "emacs-minimap")
+ (version "1.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://elpa.gnu.org/packages/minimap-"
+ version
+ ".el"))
+ (sha256
+ (base32 "09fm0ziy8cdzzw08l7l6p63dxz2a27p3laia2v51mvbva8177ls1"))))
+ (build-system emacs-build-system)
+ (home-page "http://elpa.gnu.org/packages/minimap.html")
+ (synopsis "Sidebar showing a @emph{mini-map} of a buffer")
+ (description
+ "Minimap provides Emacs with a minimap sidebar, which is a smaller
+display of the current buffer on the side, like a scrollbar. It highlights
+the currently shown region and updates its position automatically. You can
+navigate in the minibar by dragging the active region with the mouse, which
+will scroll the corresponding edit buffer. Additionally, you can overlay
+information from the tags gathered by CEDET's semantic analyzer.)")
+ (license license:gpl3+)))
+
(define-public emacs-eshell-prompt-extras
(package
(name "emacs-eshell-prompt-extras")
@@ -26680,11 +27001,11 @@ other @code{helm-type-file} sources such as @code{helm-locate}.")
(license license:gpl3+)))
(define-public emacs-telega-server
- (let ((commit "b4a5e206bd259f3d7f7633a725b2990704d6a1e8")
- (revision "1"))
+ (let ((commit "5739794d2d0c8a4e7b77c2e37a097e19f80ac9f0")
+ (revision "0"))
(package
(name "emacs-telega-server")
- (version (git-version "0.7.15" revision commit))
+ (version (git-version "0.8.2" revision commit))
(source
(origin
(method git-fetch)
@@ -26692,7 +27013,7 @@ other @code{helm-type-file} sources such as @code{helm-locate}.")
(url "https://github.com/zevlg/telega.el")
(commit commit)))
(sha256
- (base32 "0gr4nmpk175hxmj357bpzaqywbjc6dmmvfxnyzkh884vyzbwdxlc"))
+ (base32 "1am0b2bjjkw7zd0yq39v015a08dcbk43j4d4h8y2q8hj53ryfk5a"))
(file-name (git-file-name "emacs-telega" version))
(patches
(search-patches "emacs-telega-path-placeholder.patch"
@@ -26708,12 +27029,11 @@ other @code{helm-type-file} sources such as @code{helm-locate}.")
(add-before 'configure 'enter-subdirectory
(lambda _ (chdir "server")))
(replace 'configure
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (substitute* "run_tests.py"
- (("^(TELEGA_SERVER = ).*$" _all prefix)
- (string-append prefix
- "\"" out "/bin/telega-server\"\n"))))))
+ (lambda _
+ (substitute* "run_tests.py"
+ (("^(TELEGA_SERVER = ).*$" _all prefix)
+ (string-append prefix
+ "\"" #$output "/bin/telega-server\"\n")))))
(delete 'check)
(add-after 'install 'check
(assoc-ref %standard-phases 'check))
@@ -27069,6 +27389,26 @@ REPL appropriate to the current major mode.")
"Rime is an Emacs input method built upon Rime input method engine.")
(license license:gpl3+)))
+(define-public emacs-bison-mode
+ (package
+ (name "emacs-bison-mode")
+ (version "0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://elpa.nongnu.org/nongnu/bison-mode-"
+ version ".tar"))
+ (sha256
+ (base32 "19n9kz1ycjpxngd3clzr8lzrnnw19l8sfvlx1yqn35hk7017z7ab"))))
+ (build-system emacs-build-system)
+ (home-page "https://elpa.nongnu.org/nongnu/bison-mode.html")
+ (synopsis "Major mode for editing Bison, Yacc, and Lex files")
+ (description
+ "This Emacs package provides a major mode for editing Bison, Yacc, and
+Lex files.")
+ (license license:gpl2+)))
+
(define-public emacs-blackout
(let ((commit "4bac44671fca4c98d96aa94c79946bf4d4baf0ee")
(revision "1"))
@@ -27325,7 +27665,7 @@ on removable volumes in Linux.")
(build-system emacs-build-system)
(propagated-inputs
(list emacs-async))
- (synopsis "Persistent save of @code{elisp} objects.")
+ (synopsis "Persistent save of @code{elisp} objects")
(description "This package provides minor modes for saving Emacs session
data, including buffers, window configuration, variables, and more.")
(home-page "https://github.com/thierryvolpiatto/psession")
@@ -27399,33 +27739,31 @@ or simply disable the mode-line in buffers where it is not very useful.")
(license license:expat)))
(define-public emacs-helm-cider
- ;; No new release since March 2018.
- (let ((commit "9363cc537f06233345aa3af5cd46aa5681ad607b"))
- (package
- (name "emacs-helm-cider")
- (version (git-version "0.4.0" "1" commit))
- (home-page "https://github.com/clojure-emacs/helm-cider")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url home-page)
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0vfn4smqba1vsshz48ggkj8gs94la0sxb1sq4shrb41qj2x3dci7"))))
- (build-system emacs-build-system)
- (propagated-inputs
- (list emacs-helm emacs-cider))
- (synopsis "Helm interface to Clojure's CIDER")
- (description "Helm-CIDER adds Helm interfaces to
+ (package
+ (name "emacs-helm-cider")
+ (version "0.5.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/clojure-emacs/helm-cider")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0jjjy68pmmsx0biawyi5581cqh2b4zb0q8f5vs49ihpzn6zc04vk"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ (list emacs-helm emacs-cider))
+ (home-page "https://github.com/clojure-emacs/helm-cider")
+ (synopsis "Helm interface to Clojure's CIDER")
+ (description "Helm-CIDER adds Helm interfaces to
@command{cider-apropos}, @command{cider-apropos-documentation},
@command{cider-browse-ns} (namespaces).
It also provides original Helm commands: @command{helm-cider-spec},
@command{helm-cider-spec-ns}, @command{helm-cider-repl-history},
@command{helm-cider-cheatsheet}.")
- (license license:gpl3+))))
+ (license license:gpl3+)))
(define-public emacs-edn
;; No release since February 2016
@@ -27810,7 +28148,7 @@ launching other commands/applications from within Emacs, similar to the
(define-public emacs-no-littering
(package
(name "emacs-no-littering")
- (version "1.2.3")
+ (version "1.2.4")
(source
(origin
(method git-fetch)
@@ -27819,7 +28157,7 @@ launching other commands/applications from within Emacs, similar to the
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1c6nq2sykbsjy30zakfpny503644bbwgb4pxhfsd4wywj5yyzw66"))))
+ (base32 "1gk1l5zk5r8alnzfbfsck5gxcwr55k04rd08sxmb4j9jds6w6zyv"))))
(build-system emacs-build-system)
(home-page "https://github.com/emacscollective/no-littering")
(synopsis "Help keep @file{~/.emacs.d/} clean")
@@ -28286,7 +28624,7 @@ snippets for Emacs.")
(define-public emacs-org-roam
(package
(name "emacs-org-roam")
- (version "2.1.0")
+ (version "2.2.0")
(source
(origin
(method git-fetch)
@@ -28295,63 +28633,60 @@ snippets for Emacs.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "092xn0sqc7b7f6pdf7m6c3giqqbh6fq02mfz8qrg0wmx4ds1isqp"))))
+ (base32 "0q3nhw05wnqh1qgggxsj8wki4ihciqlkic2x7qbcsskjqm73j1r7"))))
(build-system emacs-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- ;; Move the extensions source files to the top level, which is included in
- ;; the EMACSLOADPATH.
- (add-after 'unpack 'move-source-files
- (lambda _
- (let ((el-files (find-files "./extensions" ".*\\.el$")))
- (for-each (lambda (f)
- (rename-file f (basename f)))
- el-files))
- #t))
- (add-after 'move-source-files 'patch-exec-paths
- (lambda* (#:key inputs #:allow-other-keys)
- (make-file-writable "org-roam-graph.el")
- (emacs-substitute-variables "org-roam-graph.el"
- ("org-roam-graph-executable"
- (string-append (assoc-ref inputs "graphviz")
- "/bin/dot")))))
- (add-after 'install 'install-image
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (install-file "doc/images/org-ref-citelink.png"
- (string-append out "/share/info/images")))))
- (add-after 'install-image 'make-info
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (with-directory-excursion "doc"
- (invoke "makeinfo" "-o" "org-roam.info" "org-roam.texi")
- (install-file "org-roam.info"
- (string-append out "/share/info")))))))))
- (inputs
- (list graphviz))
- (native-inputs
- (list texinfo))
- (propagated-inputs
- (list emacs-dash
- emacs-emacsql-sqlite3
- emacs-f
- emacs-magit
- emacs-org
- emacs-s))
- (home-page "https://github.com/org-roam/org-roam/")
- (synopsis "Non-hierarchical note-taking with Org mode")
- (description "Emacs Org Roam is a solution for taking non-hierarchical
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; Move the extensions source files to the top level, which
+ ;; is included in the EMACSLOADPATH.
+ (add-after 'unpack 'move-source-files
+ (lambda _
+ (let ((el-files (find-files "./extensions" ".*\\.el$")))
+ (for-each (lambda (f)
+ (rename-file f (basename f)))
+ el-files))))
+ (add-after 'move-source-files 'patch-exec-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (make-file-writable "org-roam-graph.el")
+ (emacs-substitute-variables "org-roam-graph.el"
+ ("org-roam-graph-executable"
+ (search-input-file inputs "/bin/dot")))))
+ (add-after 'install 'install-image
+ (lambda* (#:key outputs #:allow-other-keys)
+ (install-file "doc/images/org-ref-citelink.png"
+ (string-append #$output "/share/info/images"))))
+ (add-after 'install-image 'make-info
+ (lambda* (#:key outputs #:allow-other-keys)
+ (with-directory-excursion "doc"
+ (invoke "makeinfo" "-o" "org-roam.info" "org-roam.texi")
+ (install-file "org-roam.info"
+ (string-append #$output "/share/info"))))))))
+ (inputs
+ (list graphviz))
+ (native-inputs
+ (list texinfo))
+ (propagated-inputs
+ (list emacs-dash
+ emacs-emacsql-sqlite3
+ emacs-f
+ emacs-magit
+ emacs-org
+ emacs-s))
+ (home-page "https://github.com/org-roam/org-roam/")
+ (synopsis "Non-hierarchical note-taking with Org mode")
+ (description "Emacs Org Roam is a solution for taking non-hierarchical
notes with Org mode. Notes are captured without hierarchy and are connected
by tags. Notes can be found and created quickly. Org Roam should also work
as a plug-and-play solution for anyone already using Org mode for their
personal wiki.")
- (license license:gpl3+)))
+ (license license:gpl3+)))
(define-public emacs-org-roam-bibtex
(package
(name "emacs-org-roam-bibtex")
- (version "0.6.1")
+ (version "0.6.2")
(source
(origin
(method git-fetch)
@@ -28360,7 +28695,7 @@ personal wiki.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1d09y923d9n5v7m201myba85m4064s2hdy3pgzssy70mjncg3m1g"))))
+ (base32 "00zclyh600865ys7pqiryp3k5li9h20bypvfp2bzqi3588hn9n4i"))))
(build-system emacs-build-system)
(propagated-inputs
(list emacs-helm-bibtex emacs-org-ref emacs-org-roam))
@@ -28432,7 +28767,7 @@ comments or emails.")
(define-public emacs-trashed
(package
(name "emacs-trashed")
- (version "2.1.2")
+ (version "2.1.3")
(source
(origin
(method git-fetch)
@@ -28441,7 +28776,7 @@ comments or emails.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0lfza55nbb62nmr27cwpcz2ad1vm95piq4nfd8zvkwqbn6klwmm6"))))
+ (base32 "08v7g2zgrad0r0n4pla8j3i2aql46byq82jr712cvxhydd5gnzf9"))))
(build-system emacs-build-system)
(home-page "https://github.com/shingo256/trashed/")
(synopsis "View and edit system trash can in Emacs")
@@ -28811,7 +29146,7 @@ displayed for sharing.")
(define-public emacs-orglink
(package
(name "emacs-orglink")
- (version "1.1.6")
+ (version "1.2.0")
(source
(origin
(method git-fetch)
@@ -28820,7 +29155,7 @@ displayed for sharing.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0ipy1p2cr5i0465hchqazmgn9jrgwzbyrb3prfgkl7z2m1gd7fcg"))))
+ (base32 "1619ly90vh2lla5rbw87a4n0rfal3wpbf7005jjiyv2ay88nc7l9"))))
(build-system emacs-build-system)
(home-page "https://github.com/tarsius/orglink")
(synopsis "Use Org mode links in other modes")
@@ -29343,7 +29678,7 @@ and preferred services can easily be configured.")
(define-public emacs-vertico
(package
(name "emacs-vertico")
- (version "0.17")
+ (version "0.19")
(source
(origin
(method git-fetch)
@@ -29352,7 +29687,7 @@ and preferred services can easily be configured.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0fc1w8lwmnx8qfrdanxa6ma9qyps92gvqqklydh4cdcsdinss7kb"))))
+ (base32 "1q167rwz2g58p0xrdn41vq5knmm5s6k60imnmgiprx4qz9dik2vg"))))
(build-system emacs-build-system)
(arguments
`(#:phases
@@ -29469,7 +29804,7 @@ dict.org) from within Emacs.")
(define-public emacs-multitran
(package
(name "emacs-multitran")
- (version "0.4.11")
+ (version "0.4.14")
(source
(origin
(method git-fetch)
@@ -29478,7 +29813,7 @@ dict.org) from within Emacs.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0iqkgs3rrkhbj2mind4aa4qv7bf7vflnkdysd39b50jbwd7rv4fx"))))
+ (base32 "13lmhp2vm953s4phqdd119kp7s3p0kb3kqz4z6g3ga6m6py3gq3i"))))
(build-system emacs-build-system)
(home-page "https://github.com/zevlg/multitran.el")
(synopsis "Emacs interface to the multitran.com online dictionary")
@@ -29606,3 +29941,46 @@ Unlike Emacs' generic ASM mode, it understands NASM-specific syntax.")
wraps GNU Global calls and integration to editor using this API with
project.el and xref.el.")
(license license:gpl3+))))
+
+(define-public emacs-setup
+ (package
+ (name "emacs-setup")
+ (version "1.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://elpa.gnu.org/packages/setup-"
+ version ".tar"))
+ (sha256
+ (base32 "1fyzkm42gsvsjpk3vahfb7asfldarixm0wsw3g66q3ad0r7cbjnz"))))
+ (build-system emacs-build-system)
+ (home-page "https://git.sr.ht/~pkal/setup")
+ (synopsis "Helpful configuration macro")
+ (description
+"The @code{setup} macro simplifies repetitive configuration patterns, by
+providing context-sensitive local macros in @code{setup} bodies. These macros
+can be mixed with regular elisp code without any issues, allowing for
+flexible and terse configurations. The list of local macros can be
+extended by the user via @code{setup-define}. A list of currently known
+local macros are documented in the docstring for @code{setup}.")
+ (license license:gpl3+)))
+
+(define-public emacs-fennel-mode
+ (package
+ (name "emacs-fennel-mode")
+ (version "0.4.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/technomancy/fennel-mode")
+ (commit version)))
+ (sha256
+ (base32 "0dwas3ivhxdyw6njkcadc8c17cirq325cmby04qls8zkmrvlil1w"))))
+ (build-system emacs-build-system)
+ (home-page "https://gitlab.com/technomancy/fennel-mode")
+ (synopsis "Emacs major-mode for editing Fennel code")
+ (description
+ "Fennel mode provides font-lock, indentation, navigation, and REPL for
+ Fennel code within Emacs.")
+ (license license:gpl3+)))
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 12046f0d39..bfb3f9790e 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -245,16 +245,7 @@
;; environment variables from emacs.
;; Likewise, we don't need to patch helper binaries
;; like etags, ctags or ebrowse.
- "^emacs(-[0-9]+(\\.[0-9]+)*)?$"))
- #t)))
- (add-before 'reset-gzip-timestamps 'make-compressed-files-writable
- ;; The 'reset-gzip-timestamps phase will throw a permission error
- ;; if gzip files aren't writable then. This phase is needed when
- ;; building from a git checkout.
- (lambda _
- (for-each make-file-writable
- (find-files %output ".*\\.t?gz$"))
- #t)))))
+ "^emacs(-[0-9]+(\\.[0-9]+)*)?$"))))))))
(inputs
`(("gnutls" ,gnutls)
("ncurses" ,ncurses)
diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index 6e951e70a0..f7573618b9 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -10,6 +10,7 @@
;;; Copyright © 2021 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2020, 2021 Simon South <simon@simonsouth.net>
;;; Copyright © 2021 Morgan Smith <Morgan.J.Smith@outlook.com>
+;;; Copyright © 2022 Mathieu Othacehe <othacehe@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -44,6 +45,7 @@
#:use-module ((gnu packages base) #:prefix base:)
#:use-module (gnu packages bison)
#:use-module (gnu packages boost)
+ #:use-module (gnu packages check)
#:use-module (gnu packages compression)
#:use-module (gnu packages cross-base)
#:use-module (gnu packages dejagnu)
@@ -58,9 +60,11 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-crypto)
+ #:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages swig)
#:use-module (gnu packages texinfo)
+ #:use-module (gnu packages version-control)
#:use-module (gnu packages xorg)
#:use-module (srfi srfi-1))
@@ -614,19 +618,17 @@ language.")
(("-DPKGBLDDATE=") "-DDISABLED_PKGBLDDATE="))
(patch-shebang "bootstrap")
(invoke "./bootstrap" "nosubmodule")))
- (add-after 'autoreconf 'change-udev-group
+ (add-after 'unpack 'change-udev-group
(lambda _
(substitute* "contrib/60-openocd.rules"
- (("plugdev") "dialout"))
- #t))
+ (("plugdev") "dialout"))))
(add-after 'install 'install-udev-rules
(lambda* (#:key outputs #:allow-other-keys)
(install-file "contrib/60-openocd.rules"
(string-append
(assoc-ref outputs "out")
- "/lib/udev/rules.d/"))
- #t)))))
- (home-page "http://openocd.org")
+ "/lib/udev/rules.d/")))))))
+ (home-page "https://openocd.org/")
(synopsis "On-Chip Debugger")
(description "OpenOCD provides on-chip programming and debugging support
with a layered architecture of JTAG interface and TAP support.")
@@ -1372,17 +1374,17 @@ STC89, STC90, STC10, STC11, STC12, STC15 and STC8 series.")
(define-public stlink
(package
(name "stlink")
- (version "1.5.1")
+ (version "1.7.0")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/texane/stlink")
+ (url "https://github.com/stlink-org/stlink")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
- "1d5gxiqpsm8fc105cxlp27af9fk339fap5h6nay21x5a7n61jgyc"))))
+ "03xypffpbp4imrczbxmq69vgkr7mbp0ps9dk815br5wwlz6vgygl"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f ;no tests
@@ -1402,7 +1404,7 @@ STM32VL discovery kits) and ST-LINK/V2 (on STM32L discovery and later kits).
Two different transport layers are used: ST-LINK/V1 uses SCSI passthru
commands over USB, and ST-LINK/V2 and ST-LINK/V2-1 (seen on Nucleo boards) use
raw USB commands.")
- (home-page "https://github.com/texane/stlink")
+ (home-page "https://github.com/stlink-org/stlink")
;; The flashloaders/stm32l0x.s and flashloaders/stm32lx.s source files are
;; licensed under the GPLv2+.
(license (list license:bsd-3 license:gpl2+))))
@@ -1644,3 +1646,51 @@ families, plus many of their variants.")
and console on a single serial port. agent-proxy creates network sockets,
whereas kdmx creates pseudo-ttys.")
(license license:gpl2))))
+
+(define-public mbed-tools
+ (package
+ (name "mbed-tools")
+ (version "7.49.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "mbed-tools" version))
+ (sha256
+ (base32
+ "07w1h1093xzpg8agw9hjhki5856mam2c6f3q7jb2866n82cihkg9"))))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; Remove this failing test.
+ (delete-file "tests/ci_scripts/test_sync_board_db.py")
+ (invoke "pytest" "-vv")))))))
+ (native-inputs
+ (list python-pytest
+ python-pytest-cov
+ python-factory-boy
+ python-requests-mock
+ python-semver))
+ (propagated-inputs
+ (list python-dotenv
+ python-click
+ python-pdoc3
+ python-gitpython
+ python-tqdm
+ python-tabulate
+ python-requests
+ python-psutil
+ python-pyudev
+ python-typing-extensions
+ python-jinja2
+ python-pyserial))
+ (build-system python-build-system)
+ (home-page "https://github.com/ARMmbed/mbed-tools")
+ (synopsis "ARM Mbed command line tools")
+ (description "This package is the successor of @code{mbed-cli}. It
+provides command line tools for Mbed OS to detect Mbed enabled devices
+connected by USB, checkout Mbed projects and perform builds amongst other
+operations.")
+ (license license:asl2.0)))
diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
index 0a96b4827b..b260ca38f7 100644
--- a/gnu/packages/emulators.scm
+++ b/gnu/packages/emulators.scm
@@ -6,7 +6,7 @@
;;; Copyright © 2015, 2018 David Thompson <dthompson2@worcester.edu>
;;; Copyright © 2016 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
;;; Copyright © 2016, 2017, 2018, 2020 Efraim Flashner <efraim@flashner.co.il>
-;;; Copyright © 2017, 2018, 2019, 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
+;;; Copyright © 2017-2022 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2017, 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2017, 2018, 2019 Rutger Helling <rhelling@mykolab.com>
;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz>
@@ -36,6 +36,7 @@
(define-module (gnu packages emulators)
#:use-module (ice-9 match)
#:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
@@ -50,6 +51,7 @@
#:use-module (gnu packages autotools)
#:use-module (gnu packages backup)
#:use-module (gnu packages base)
+ #:use-module (gnu packages bash)
#:use-module (gnu packages bison)
#:use-module (gnu packages boost)
#:use-module (gnu packages build-tools)
@@ -110,18 +112,18 @@
(define-public vice
(package
(name "vice")
- (version "3.5")
+ (version "3.6")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/vice-emu/releases/"
"vice-" version ".tar.gz"))
(sha256
- (base32
- "03nwcldg2h7dxj6aa77ggqc0442hqc1lsq5x69h8kcmqmvx7ifan"))))
+ (base32 "1zfkl9j40v2417l1fmczdvl9yzh81jlpcy5cl2svjzb2rrffbgv5"))))
(build-system gnu-build-system)
(arguments
- `(#:configure-flags '("--disable-pdf-docs")))
+ `(#:configure-flags '("--disable-html-docs"
+ "--disable-pdf-docs")))
(native-inputs
(list bison
dos2unix
@@ -394,7 +396,7 @@ older games.")
;; This is not a patch staging area for DOSBox, but an unaffiliated fork.
(package
(name "dosbox-staging")
- (version "0.77.1")
+ (version "0.78.1")
(source
(origin
(method git-fetch)
@@ -403,13 +405,23 @@ older games.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "07jwmmm1bhfxavlhl854cj8l5iy5hqx5hpwkkjbcwqg7yh9jfs2x"))))
+ (base32 "16byip1j9ckq0ik7ilrj0fc9dal3495s48xd21drpbb8q9jwb342"))))
(build-system meson-build-system)
(arguments
- `(#:configure-flags
- ;; These both try to git clone subprojects.
- (list "-Dunit_tests=disabled" ; gtest
- "-Duse_mt32emu=false"))) ; mt32emu
+ (list #:configure-flags
+ #~(list
+ ;; These both try to git clone subprojects.
+ "-Dunit_tests=disabled" ; gtest
+ "-Duse_mt32emu=false"
+ ;; Not packaged.
+ "-Duse_slirp=false")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-includes
+ (lambda _
+ (substitute* (find-files "." "\\.(cpp|h)")
+ (("^(#include <)(SDL[_.])" _ include file)
+ (string-append include "SDL2/" file))))))))
(native-inputs
(list pkg-config))
(inputs
@@ -643,14 +655,14 @@ V2.")
(define-public mednafen
(package
(name "mednafen")
- (version "1.27.1")
+ (version "1.29.0")
(source
(origin
(method url-fetch)
(uri (string-append "https://mednafen.github.io/releases/files/"
"mednafen-" version ".tar.xz"))
(sha256
- (base32 "1ysmb56wzr17ki6f1b486r2dzjr11igd021qb4r3437l68prpa7k"))))
+ (base32 "0binkxnki8w8jgiyf3xr9503m5cynlf5vylb087vxybp53qbqgys"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags
@@ -1492,14 +1504,14 @@ multi-system game/emulator system.")
(define-public scummvm
(package
(name "scummvm")
- (version "2.5.0")
+ (version "2.5.1")
(source
(origin
(method url-fetch)
(uri (string-append "https://downloads.scummvm.org/frs/scummvm/" version
"/scummvm-" version ".tar.xz"))
(sha256
- (base32 "08ynw1cmld41p4bwrw84gb1nv229va70i91qiqsjr3c2jnqy8zml"))))
+ (base32 "00az0dm85kh8rq0yqj74x0c5zrq4ybvwvnilijzl8qa5whwdpn4z"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ;require "git"
@@ -1509,9 +1521,9 @@ multi-system game/emulator system.")
(replace 'configure
;; configure does not work followed by both "SHELL=..." and
;; "CONFIG_SHELL=..."; set environment variables instead
- (lambda* (#:key outputs configure-flags #:allow-other-keys)
+ (lambda* (#:key inputs outputs configure-flags #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
- (bash (which "bash"))
+ (bash (search-input-file inputs "/bin/bash"))
(flags `(,(string-append "--prefix=" out)
,@configure-flags)))
(setenv "SHELL" bash)
@@ -1520,24 +1532,24 @@ multi-system game/emulator system.")
(native-inputs
(list nasm pkg-config))
(inputs
- `(("alsa-lib" ,alsa-lib)
- ("faad2" ,faad2)
- ("fluidsynth" ,fluidsynth)
- ("freetype" ,freetype)
- ("fribidi" ,fribidi)
- ("glew" ,glew)
- ("giflib" ,giflib)
- ("liba52" ,liba52)
- ("libflac" ,flac)
- ("libjpeg-turbo" ,libjpeg-turbo)
- ("libmad" ,libmad)
- ("libmpeg2" ,libmpeg2)
- ("libogg" ,libogg)
- ("libpng" ,libpng)
- ("libtheora" ,libtheora)
- ("libvorbis" ,libvorbis)
- ("sdl2" ,(sdl-union (list sdl2 sdl2-net)))
- ("zlib" ,zlib)))
+ (list alsa-lib
+ faad2
+ fluidsynth
+ freetype
+ fribidi
+ glew
+ giflib
+ liba52
+ flac
+ libjpeg-turbo
+ libmad
+ libmpeg2
+ libogg
+ libpng
+ libtheora
+ libvorbis
+ (sdl-union (list sdl2 sdl2-net))
+ zlib))
(home-page "https://www.scummvm.org/")
(synopsis "Engine for several graphical adventure games")
(description "ScummVM is a program which allows you to run certain
@@ -1699,7 +1711,7 @@ This is a part of the TiLP project.")
(define-public mame
(package
(name "mame")
- (version "0.238")
+ (version "0.239")
(source
(origin
(method git-fetch)
@@ -1708,7 +1720,7 @@ This is a part of the TiLP project.")
(commit (apply string-append "mame" (string-split version #\.)))))
(file-name (git-file-name name version))
(sha256
- (base32 "188h9a4lla0gimbss1bfvlidsm0l8smhqrhplv973k8j2jgf74fb"))
+ (base32 "02by0pq0j8pi5dllk90g94nbszynp9wqg75bl5x8bqrc7h80a0dq"))
(modules '((guix build utils)))
(snippet
;; Remove bundled libraries.
@@ -1720,21 +1732,20 @@ This is a part of the TiLP project.")
"SDL2-override" "sqlite3" "utf8proc" "zlib")))))))
(build-system gnu-build-system)
(arguments
- `(#:make-flags
- (cons*
- ;; A 'strict-overflow' error pops up on i686 so disable '-Werror'.
- "NOWERROR=1"
- (string-append "QT_HOME=" (assoc-ref %build-inputs "qtbase"))
- (string-append "SDL_INI_PATH="
- (assoc-ref %outputs "out")
- "/share/mame/ini")
- (map (lambda (lib)
- (string-append "USE_SYSTEM_LIB_" (string-upcase lib) "=1"))
- '("asio" "expat" "flac" "glm" "jpeg" "lua" "portaudio" "portmidi"
- "pugixml" "rapidjson" "sqlite3" "utf8proc" "zlib")))
- #:tests? #f ;no test in regular release
- #:phases
- (modify-phases %standard-phases
+ (list
+ #:make-flags
+ #~(cons*
+ ;; A 'strict-overflow' error pops up on i686 so disable '-Werror'.
+ "NOWERROR=1"
+ (string-append "QT_HOME=" #$(this-package-input "qtbase"))
+ (string-append "SDL_INI_PATH=" #$output "/share/mame/ini")
+ (map (lambda (lib)
+ (string-append "USE_SYSTEM_LIB_" (string-upcase lib) "=1"))
+ '("asio" "expat" "flac" "glm" "jpeg" "lua" "portaudio" "portmidi"
+ "pugixml" "rapidjson" "sqlite3" "utf8proc" "zlib")))
+ #:tests? #f ;no test in regular release
+ #:phases
+ `(modify-phases %standard-phases
(delete 'configure)
(add-after 'build 'build-documentation
(lambda _ (invoke "make" "-C" "docs" "man" "info")))
@@ -1842,32 +1853,32 @@ This is a part of the TiLP project.")
Keywords=Game;Emulator;Arcade;~%"
executable)))))))))
(native-inputs
- `(("pkg-config" ,pkg-config)
- ("sphinx" ,python-sphinx)
- ("sphinxcontrib-svg2pdfconverter" ,python-sphinxcontrib-svg2pdfconverter)
- ("texinfo" ,texinfo)))
+ (list pkg-config
+ python-sphinx
+ python-sphinxcontrib-svg2pdfconverter
+ texinfo))
(inputs
- `(("alsa-lib" ,alsa-lib)
- ("asio" ,asio)
- ("expat" ,expat)
- ("flac" ,flac)
- ("fontconfig" ,fontconfig)
- ("glm" ,glm)
- ("libjpeg" ,libjpeg-turbo)
- ("libxi" ,libxi)
- ("libxinerama" ,libxinerama)
- ("lua" ,lua)
- ("portaudio" ,portaudio)
- ("portmidi" ,portmidi)
- ("pugixml" ,pugixml)
- ("pulseaudio" ,pulseaudio)
- ("python-wrapper" ,python-wrapper)
- ("qtbase" ,qtbase-5)
- ("rapidjson" ,rapidjson)
- ("sdl" ,(sdl-union (list sdl2 sdl2-ttf)))
- ("sqlite" ,sqlite)
- ("utf8proc" ,utf8proc)
- ("zlib" ,zlib)))
+ (list alsa-lib
+ asio
+ expat
+ flac
+ fontconfig
+ glm
+ libjpeg-turbo
+ libxi
+ libxinerama
+ lua
+ portaudio
+ portmidi
+ pugixml
+ pulseaudio
+ python-wrapper
+ qtbase-5
+ rapidjson
+ (sdl-union (list sdl2 sdl2-ttf))
+ sqlite
+ utf8proc
+ zlib))
(home-page "https://www.mamedev.org")
(synopsis "Multi-purpose emulation framework")
(description "MAME's purpose is to preserve decades of software
@@ -2186,213 +2197,186 @@ framework based on QEMU.")
(license license:gpl2+))))
(define-public ppsspp
- ;; Use a recent commit as fixes for ffmpeg 4.4 haven't been released as of
- ;; 1.11.3.
- (let ((commit "69fa20744958aef8da9ca052ba7675fdc1636e46")
- (revision "1"))
- (package
- (name "ppsspp")
- (version (git-version "1.11.3" revision commit))
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/hrydgard/ppsspp")
- (commit commit)))
- (sha256
- (base32 "0r8w4hllhn6zsfxlajxw3sn3f8vsri45srr4mdwsffzcb4hvl0cr"))
- (file-name (git-file-name name version))
- (patches
- (search-patches "ppsspp-disable-upgrade-and-gold.patch"))
- (modules '((guix build utils)))
- (snippet
- `(begin
- ;; The following is quite a heavy-handed way of unbundling PPSSPP.
- ;; There are still a number of external sources, that we don't
- ;; remove here. Some may be packaged, others are not.
- ;; First, we patch existing sources to include the right headers.
- (substitute* (append (find-files "Common" ".*\\.(h|cpp)")
- (find-files "Core" ".*\\.(h|cpp)")
- (find-files "GPU" ".*\\.(h|cpp)")
- (find-files "SDL" ".*\\.(h|cpp)")
- (find-files "UI" ".*\\.(h|cpp)"))
- ;; These headers are all hard-coded in the original source.
- (("ext/cityhash/") "")
- (("ext/glslang/glslang/") "glslang/")
- (("ext/glslang/") "glslang/")
- (("ext/miniupnp/") "")
- (("ext/SPIRV-Cross/") "spirv_cross/")
- (("ext/vulkan/") "vulkan/")
- (("ext/xxhash.h") "xxhash.h")
- ;; These definitions do not actually exist in the Vulkan headers,
- ;; but PPSSPP defines them in ext/vulkan.
- (("VK_FORMAT_BEGIN_RANGE") "VK_FORMAT_UNDEFINED")
- (("VK_FORMAT_END_RANGE") "VK_FORMAT_ASTC_12x12_SRGB_BLOCK"))
- ;; Next, we patch CMakeLists.
- (substitute* "CMakeLists.txt"
- ;; Drop unnecessary includes and targets.
- (("include_directories\\(ext/glslang\\)") "")
- (("include_directories\\(ext/xxhash\\)") "")
- (("include_directories\\(ext/cityhash\\)") "")
- (("include_directories\\(ext/zstd.*") "")
- (("libzstd_static") "zstd")
- (("set_target_properties\\(cityhash .*\\)") "")
- ;; Fix linking to GLEW.
- (("TARGET Ext::GLEW") "true")
- (("target_link_libraries\\(native Ext::GLEW\\)")
- "find_package(GLEW)\ntarget_link_libraries(native GLEW::GLEW)")
- (("Ext::Snappy") "snappy")
- ;; Don't search for cityhash/xxhash, we already have them.
- (("add_library\\((city|xx)hash STATIC") "if()\nendif(")
- (("ext/xxhash\\.[ch]") "")
- (("ext/cityhash/.*\\.(cpp|h)") "")
- (("if\\(USE_MINIUPNPC\\)" all)
- (string-append all "
+ (package
+ (name "ppsspp")
+ (version "1.12.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hrydgard/ppsspp")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32 "1p6pmp0lhqhk9h5r9xsjicd0zn08bwx3y8533npps96ixwbm2y15"))
+ (file-name (git-file-name name version))
+ (patches
+ (search-patches "ppsspp-disable-upgrade-and-gold.patch"))
+ (modules '((guix build utils)))
+ (snippet
+ `(begin
+ ;; The following is quite a heavy-handed way of unbundling PPSSPP.
+ ;; There are still a number of external sources, that we don't
+ ;; remove here. Some may be packaged, others are not.
+ ;; First, we patch existing sources to include the right headers.
+ (substitute* (append (find-files "Common" ".*\\.(h|cpp)")
+ (find-files "Core" ".*\\.(h|cpp)")
+ (find-files "GPU" ".*\\.(h|cpp)")
+ (find-files "SDL" ".*\\.(h|cpp)")
+ (find-files "UI" ".*\\.(h|cpp)"))
+ ;; These headers are all hard-coded in the original source.
+ (("ext/cityhash/") "")
+ (("ext/glslang/glslang/") "glslang/")
+ (("ext/glslang/") "glslang/")
+ (("ext/miniupnp/") "")
+ (("ext/SPIRV-Cross/") "spirv_cross/")
+ (("ext/vulkan/") "vulkan/")
+ (("ext/xxhash.h") "xxhash.h")
+ ;; These definitions do not actually exist in the Vulkan headers,
+ ;; but PPSSPP defines them in ext/vulkan.
+ (("VK_FORMAT_BEGIN_RANGE") "VK_FORMAT_UNDEFINED")
+ (("VK_FORMAT_END_RANGE") "VK_FORMAT_ASTC_12x12_SRGB_BLOCK"))
+ ;; Next, we patch CMakeLists.
+ (substitute* "CMakeLists.txt"
+ ;; Drop unnecessary includes and targets.
+ (("include_directories\\(ext/glslang\\)") "")
+ (("include_directories\\(ext/xxhash\\)") "")
+ (("include_directories\\(ext/cityhash\\)") "")
+ (("include_directories\\(ext/zstd.*") "")
+ (("libzstd_static") "zstd")
+ (("set_target_properties\\(cityhash .*\\)") "")
+ ;; Fix linking to GLEW.
+ (("TARGET Ext::GLEW") "true")
+ (("target_link_libraries\\(native Ext::GLEW\\)")
+ "find_package(GLEW)\ntarget_link_libraries(native GLEW::GLEW)")
+ (("Ext::Snappy") "snappy")
+ ;; Don't search for cityhash/xxhash, we already have them.
+ (("add_library\\((city|xx)hash STATIC") "if()\nendif(")
+ (("ext/xxhash\\.[ch]") "")
+ (("ext/cityhash/.*\\.(cpp|h)") "")
+ (("if\\(USE_MINIUPNPC\\)" all)
+ (string-append all "
find_package(miniupnpc)
target_link_libraries(${CoreLibName} miniupnpc ${LDLIBS})
elseif(FALSE)"))
- ;; Link all of spirv-cross.
- (("spirv-cross-glsl" all)
- (string-append all
- " spirv-cross-core spirv-cross-cpp"
- " spirv-cross-reflect spirv-cross-util")))
- (substitute* "ext/CMakeLists.txt"
- (("add_subdirectory\\(glew.*") "")
- (("add_subdirectory\\(glslang.*") "")
- (("add_subdirectory\\(snappy.*") "")
- (("add_subdirectory\\(SPIRV-Cross-build.*") "")
- (("add_subdirectory\\(zstd.*") ""))
- ;; Finally, we can delete the bundled sources.
- (for-each delete-file-recursively
- '("MoltenVK"
- "ext/cmake"
- "ext/glew"
- "ext/glslang" "ext/glslang-build"
- "ext/miniupnp" "ext/miniupnp-build"
- "ext/native"
- "ext/snappy"
- "ext/SPIRV-Cross" "ext/SPIRV-Cross-build"
- "ext/vulkan"
- "ext/xxhash.c"
- "ext/xxhash.h"
- "ext/zlib"
- "ext/zstd"))
- ;; Since we are not including git as an input, PPSSPP is confused
- ;; about its version. Let's fix that here.
- (substitute* "git-version.cmake"
- (("unknown") ,version))))))
- (build-system cmake-build-system)
- (native-inputs
- (list pkg-config python))
- (inputs
- `(("cityhash" ,cityhash)
- ;; ppsspp doesn't yet build with ffmpeg 4.4 (see:
- ("ffmpeg" ,ffmpeg)
- ("glew" ,glew)
- ("glslang" ,glslang)
- ("libpng" ,libpng)
- ("libzip" ,libzip)
- ("mesa" ,mesa)
- ("miniupnpc" ,miniupnpc)
- ("sdl2" ,sdl2)
- ("snappy" ,snappy)
- ("spirv-cross" ,spirv-cross)
- ("vulkan-headers" ,vulkan-headers)
- ("vulkan-loader" ,vulkan-loader)
- ("xxhash" ,xxhash)
- ("zlib" ,zlib)
- ("zstd" ,zstd "lib")
-; ("zstd" ,zstd "static")
- ;; TODO: unbundle armips.
- ("armips-source" ,(package-source armips))
- ("lang"
- ,(let ((commit "6bd5b4bc983917ea8402f73c726b46e36f3de0b4"))
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/hrydgard/ppsspp-lang")
- (commit commit)))
- (sha256
- (base32 "08npr3a4xskf85gnlxidl4ksc3rhc7m5rgnj7vsbjvhvw5ap02qx"))
- (file-name (git-file-name "ppsspp-lang" commit)))))
- ("tests"
- ,(let ((commit "1047400eaec6bcbdb2a64d326375ef6a6617c4ac"))
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/hrydgard/pspautotests")
- (commit commit)))
- (sha256
- (base32 "0nxv1lskcr8zbg6nrfai21mxsw0n5vaqhbsa41c3cxfyx5c4w2pg"))
- (file-name (git-file-name "pspautotests" commit)))))))
- (arguments
- `(#:out-of-source? #f
- #:configure-flags (list "-DUSE_DISCORD=OFF"
- "-DUSE_SYSTEM_FFMPEG=ON"
- "-DUSE_SYSTEM_LIBZIP=ON"
- ;; for testing
- "-DUNITTEST=ON" "-DHEADLESS=ON")
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'add-external-sources
- (lambda* (#:key inputs #:allow-other-keys)
- ;; TODO: unbundle armips.
- (copy-recursively (assoc-ref inputs "armips-source")
- "ext/armips")
- ;; Some tests are externalised, so we add them here.
- (copy-recursively (assoc-ref inputs "tests")
- "pspautotests")
- ;; i18n is externalised, so we add it here.
- (copy-recursively (assoc-ref inputs "lang")
- "assets/lang")
- #t))
- (add-after 'unpack 'fix-unittest-build
- (lambda _
- (substitute* "CMakeLists.txt"
- (("unittest/TestVertexJit.cpp" all)
- (string-append all " unittest/TestShaderGenerators.cpp")))
- (substitute* "unittest/TestVertexJit.cpp"
- (("#include \"unittest/UnitTest.h\"" all)
- (string-append all "\n#include <cmath>")))
- #t))
- (replace 'check
- (lambda _
- (for-each
- (lambda (t) (invoke "./unitTest" t))
- '("Arm64Emitter" "ArmEmitter" "X64Emitter" "VertexJit" "Asin"
- "SinCos" #|"VFPUSinCos" SIGSEGV|# "MathUtil" "Parsers" "Jit"
- "MatrixTranspose" "ParseLBN" "QuickTexHash" "CLZ"
- #|"ShaderGenerators"|#))
- (invoke "python3" "test.py" "-g")
- #t))
- (replace 'install
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (bin/ppsspp (string-append out "/bin/ppsspp"))
- (share (string-append out "/share/ppsspp")))
- (copy-recursively "icons/hicolor"
- (string-append out "/share/icons/hicolor"))
- (install-file "PPSSPPSDL" share)
- (copy-recursively "assets" (string-append share "/assets"))
+ ;; Link all of spirv-cross.
+ (("spirv-cross-glsl" all)
+ (string-append all
+ " spirv-cross-core spirv-cross-cpp"
+ " spirv-cross-reflect spirv-cross-util")))
+ (substitute* "ext/CMakeLists.txt"
+ (("add_subdirectory\\(glew.*") "")
+ (("add_subdirectory\\(glslang.*") "")
+ (("add_subdirectory\\(snappy.*") "")
+ (("add_subdirectory\\(SPIRV-Cross-build.*") "")
+ (("add_subdirectory\\(zstd.*") ""))
+ ;; Finally, we can delete the bundled sources.
+ (for-each delete-file-recursively
+ '("ext/cmake"
+ "ext/glew"
+ "ext/glslang" "ext/glslang-build"
+ "ext/miniupnp" "ext/miniupnp-build"
+ "ext/native"
+ "ext/snappy"
+ "ext/SPIRV-Cross" "ext/SPIRV-Cross-build"
+ "ext/vulkan"
+ "ext/xxhash.c"
+ "ext/xxhash.h"
+ "ext/zlib"
+ "ext/zstd"))
+ ;; Since we are not including git as an input, PPSSPP is confused
+ ;; about its version. Let's fix that here.
+ (substitute* "git-version.cmake"
+ (("unknown") ,version))))))
+ (build-system cmake-build-system)
+ (native-inputs (list pkg-config python))
+ (inputs (list bash
+ cityhash
+ ffmpeg
+ glew
+ glslang
+ libpng
+ libzip
+ mesa
+ miniupnpc
+ sdl2
+ snappy
+ spirv-cross
+ vulkan-headers
+ vulkan-loader
+ xxhash
+ zlib
+ `(,zstd "lib")))
+ (arguments
+ (list
+ #:out-of-source? #f
+ #:configure-flags #~(list "-DUSE_DISCORD=OFF"
+ "-DUSE_SYSTEM_FFMPEG=ON"
+ "-DUSE_SYSTEM_LIBZIP=ON"
+ ;; for testing
+ "-DUNITTEST=ON" "-DHEADLESS=ON")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'add-external-sources
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; TODO: unbundle armips.
+ (copy-recursively #$(package-source armips) "ext/armips")
+ ;; Some tests are externalised, so we add them here.
+ (copy-recursively
+ #$(let ((commit "1047400eaec6bcbdb2a64d326375ef6a6617c4ac"))
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hrydgard/pspautotests")
+ (commit commit)))
+ (sha256
+ (base32 "0nxv1lskcr8zbg6nrfai21mxsw0n5vaqhbsa41c3cxfyx5c4w2pg"))
+ (file-name (git-file-name "pspautotests" commit))))
+ "pspautotests")))
+ (add-after 'unpack 'fix-unittest-build
+ (lambda _
+ (substitute* "CMakeLists.txt"
+ (("unittest/TestVertexJit.cpp" all)
+ (string-append all " unittest/TestShaderGenerators.cpp")))
+ (substitute* "unittest/TestVertexJit.cpp"
+ (("#include \"unittest/UnitTest.h\"" all)
+ (string-append all "\n#include <cmath>")))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (for-each
+ (lambda (t) (invoke "./unitTest" t))
+ '("Arm64Emitter" "ArmEmitter" "X64Emitter" "VertexJit" "Asin"
+ "SinCos" "VFPUSinCos" "MathUtil" "Parsers" "Jit"
+ "MatrixTranspose" "ParseLBN" "QuickTexHash" "CLZ"
+ #|"ShaderGenerators"|#))
+ (invoke "python3" "test.py" "-g"))))
+ (replace 'install
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin/ppsspp (string-append out "/bin/ppsspp"))
+ (share (string-append out "/share/ppsspp")))
+ (copy-recursively "icons/hicolor"
+ (string-append out "/share/icons/hicolor"))
+ (install-file "PPSSPPSDL" share)
+ (copy-recursively "assets" (string-append share "/assets"))
- (make-desktop-entry-file
- (string-append out "/share/applications/ppsspp.desktop")
- #:name "PPSSPP"
- #:exec (string-append share "/PPSSPPSDL")
- #:icon "ppsspp")
- (mkdir-p (string-append out "/bin"))
- (with-output-to-file bin/ppsspp
- (lambda ()
- (format #t "#!~a~%exec ~a/PPSSPPSDL \"$@\""
- (which "sh") share)))
- (chmod bin/ppsspp #o755)
- #t))))))
- (home-page "https://www.ppsspp.org/")
- (synopsis "PSP emulator")
- (description
- "PPSSPP is a ``high-level'' emulator simulating the PSP operating
+ (make-desktop-entry-file
+ (string-append out "/share/applications/ppsspp.desktop")
+ #:name "PPSSPP"
+ #:exec (string-append share "/PPSSPPSDL")
+ #:icon "ppsspp")
+ (mkdir-p (string-append out "/bin"))
+ (with-output-to-file bin/ppsspp
+ (lambda ()
+ (format #t "#!~a~%exec ~a/PPSSPPSDL \"$@\""
+ (search-input-file inputs "/bin/bash") share)))
+ (chmod bin/ppsspp #o755)))))))
+ (home-page "https://www.ppsspp.org/")
+ (synopsis "PSP emulator")
+ (description
+ "PPSSPP is a ``high-level'' emulator simulating the PSP operating
system.")
- (license license:gpl2+))))
+ (license license:gpl2+)))
(define-public exomizer
(package
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index e0fe0f354f..23133a50eb 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -23,7 +23,7 @@
;;; Copyright © 2020, 2021 Morgan Smith <Morgan.J.Smith@outlook.com>
;;; Copyright © 2021 qblade <qblade@protonmail.com>
;;; Copyright © 2021 Gerd Heber <gerd.heber@gmail.com>
-;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
+;;; Copyright © 2021, 2022 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo@hotmail.com>
@@ -97,6 +97,7 @@
#:use-module (gnu packages image)
#:use-module (gnu packages image-processing)
#:use-module (gnu packages imagemagick)
+ #:use-module (gnu packages kde-frameworks)
#:use-module (gnu packages libevent)
#:use-module (gnu packages libusb)
#:use-module (gnu packages linux) ;FIXME: for pcb
@@ -716,6 +717,43 @@ ready for production.")
;; released under GPLv3+.
(license (list license:gpl3+ license:cc-by-sa3.0))))
+(define-public qelectrotech
+ (package
+ (name "qelectrotech")
+ (version "0.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://git.tuxfamily.org/qet/qet.git/"
+ "snapshot/qet-" version ".tar.gz"))
+ (sha256
+ (base32 "0w70fqwhqqzga1kfp34v8z1xf9988nvvi3d5gwl2sg429p9mpsk2"))))
+ (build-system qt-build-system)
+ (arguments
+ ;; XXX: tests are built for the CMake build option but it seems to be
+ ;; broken in 0.8.0.
+ `(#:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'configure
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ ;; Patch hardcoded path before running qmake.
+ (substitute* "qelectrotech.pro" (("\\/usr\\/local") out))
+ (invoke "qmake")))))))
+ (native-inputs
+ (list pkg-config qttools))
+ (inputs
+ (list kcoreaddons kwidgetsaddons qtbase-5 qtsvg sqlite))
+ (home-page "https://qelectrotech.org/")
+ (synopsis "CAD/CAE editor focusing on schematics drawing features")
+ (description "QElectroTech, or QET in short, is a desktop application to
+create diagrams and schematics. The software is primarily intended to create
+electrical documentation but it can also be used to draw any kinds of diagrams,
+such as those made in pneumatics, hydraulics, process industries, electronics,
+and others.")
+ (license license:gpl2+)))
+
(define-public gerbv
(package
(name "gerbv")
@@ -830,7 +868,10 @@ function calls into the geometry kernel: everything is visible to the user.
Even fundamental, primitive shapes are represented as code in the user-level
language.")
(license (list license:mpl2.0 ;library
- license:gpl2+))))) ;Guile bindings and GUI
+ license:gpl2+)) ;Guile bindings and GUI
+
+ ;; Mark as tunable to take advantage of SIMD code in Eigen.
+ (properties '((tunable? . #t))))))
(define-public inspekt3d
(let ((commit "703f52ccbfedad2bf5240bf8183d1b573c9d54ef")
@@ -884,7 +925,7 @@ Emacs).")
(define-public kicad
(package
(name "kicad")
- (version "5.1.10")
+ (version "5.1.12")
(source
(origin
(method git-fetch)
@@ -892,7 +933,7 @@ Emacs).")
(url "https://gitlab.com/kicad/code/kicad.git")
(commit version)))
(sha256
- (base32 "10ix560bqy0lprnik1bprxw9ix4g8w2ipvyikx551ak9ryvgwjcc"))
+ (base32 "0kgikchqxds3mp71nkg307mr4c1dgv8akbmksz4w9x8jg4i1mfqq"))
(file-name (git-file-name name version))))
(build-system cmake-build-system)
(arguments
@@ -900,9 +941,12 @@ Emacs).")
#:tests? #f ; no tests
#:build-type "Release"
#:configure-flags
- (list "-DKICAD_SCRIPTING_PYTHON3=ON"
- "-DKICAD_SCRIPTING_WXPYTHON_PHOENIX=ON"
- "-DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE")
+ ,#~(list
+ "-DKICAD_SCRIPTING_PYTHON3=ON"
+ "-DKICAD_SCRIPTING_WXPYTHON_PHOENIX=ON"
+ "-DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE"
+ (string-append "-DOCC_INCLUDE_DIR="
+ #$(this-package-input "opencascade-occt") "/include/opencascade"))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-ngspice-detection
@@ -978,7 +1022,7 @@ Emacs).")
("libngspice" ,libngspice)
("libsm" ,libsm)
("mesa" ,mesa)
- ("opencascade-oce" ,opencascade-oce)
+ ("opencascade-occt" ,opencascade-occt)
("openssl" ,openssl)
("python" ,python-wrapper)
("wxwidgets" ,wxwidgets)
@@ -1030,7 +1074,7 @@ translations for KiCad.")
(file-name (git-file-name name version))
(sha256
(base32
- "005ljkb7liayvyj4vxd5ncrknfbhnk6xvyjk43qz810hrp1fv0hk"))))
+ "026cz4zm903i75yhdvzha2nsnk4c0w07q3gd3xw3jmsmn18imgm3"))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags (list "-DBUILD_FORMATS=html")
@@ -1064,7 +1108,7 @@ translations for KiCad.")
(file-name (git-file-name name version))
(sha256
(base32
- "0n25rq32jwyigfw26faqraillwv6zbi2ywy26dkz5zqlf5xp56ad"))))
+ "1zdajim409570xzis53kmrbdcf7000v2vmc90f49h214lrx2zhr2"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f)) ; no tests exist
@@ -1093,7 +1137,7 @@ libraries.")
(file-name (git-file-name name version))
(sha256
(base32
- "0gyqxryda273hjn2rv8dha461j9bjh054y5dlpiw1wiha65lrf9i"))))
+ "0qpii55dgv2gxqg1qq0dngdnbb9din790qi5qv0l6qqrzx843h5s"))))
(synopsis "Official KiCad footprint libraries")
(description "This package contains the official KiCad footprint libraries.")))
@@ -1110,7 +1154,7 @@ libraries.")
(file-name (git-file-name name version))
(sha256
(base32
- "1szcin52fcsyb55bj7xq7lz6ig187dpz3lk7blwab7b9c4dn3c3y"))))
+ "12w7m5nbk9kcnlnlg4sk1sd7xgb9i2kxfi0jcbd0phs89qyl7wjr"))))
(synopsis "Official KiCad 3D model libraries")
(description "This package contains the official KiCad 3D model libraries.")))
@@ -1127,7 +1171,7 @@ libraries.")
(file-name (git-file-name name version))
(sha256
(base32
- "1a8xfcbdbb4ylrb5m7n2jjk9kwvgmlx1pmnn2cwj327a2b3m4jjs"))))
+ "1fbhn1l3j2rwc29aida9b408wif55i23bp9ddcs7dvf83smjm05g"))))
(synopsis "Official KiCad project and worksheet templates")
(description "This package contains the official KiCad project and
worksheet templates.")))
@@ -1608,10 +1652,9 @@ bindings for Python, Java, OCaml and more.")
(base32
"0d69rd9h8wrzjvfrc66vmz4qd5hly2fpdcwj2bdrlb7dbwikv5c7"))))
(build-system python-build-system)
- (arguments
- `(#:tests? #f)) ;XXX: require python-reedsolo
(propagated-inputs
- (list python-ecdsa python-pyaes python-pyserial))
+ (list python-ecdsa python-pyaes python-pyserial python-reedsolo
+ python-cryptography python-bitstring))
(home-page "https://github.com/espressif/esptool")
(synopsis "Bootloader utility for Espressif ESP8266 & ESP32 chips")
(description
@@ -2387,7 +2430,7 @@ comments.")))
(define-public freecad
(package
(name "freecad")
- (version "0.19.2")
+ (version "0.19.3")
(source
(origin
(method git-fetch)
@@ -2396,7 +2439,7 @@ comments.")))
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0fhjv0x3dix1c7jml91yx63z9xifjlbhjbcdb73lw80smpxrq7mm"))
+ (base32 "1dkiwnqr6bhi2d90hz7ijqd872144c9n9xxpd1vbrmxr2x8cfl88"))
(patches (search-patches "freecad-vtk9.patch"
"freecad-boost-serialization.patch"))))
(build-system qt-build-system)
@@ -2434,13 +2477,16 @@ comments.")))
python-gitpython
python-matplotlib
python-pivy
+ python-ply
python-pyside-2
python-pyyaml
python-shiboken-2
python-wrapper
qtbase-5
+ qtdeclarative
qtsvg
- qtwebkit
+ qtwebchannel
+ qtwebengine
qtx11extras
qtxmlpatterns
sqlite
@@ -3148,7 +3194,7 @@ visualization, matrix manipulation.")
(define-public prusa-slicer
(package
(name "prusa-slicer")
- (version "2.3.3")
+ (version "2.4.0")
(source
(origin
(method git-fetch)
@@ -3157,7 +3203,7 @@ visualization, matrix manipulation.")
(url "https://github.com/prusa3d/PrusaSlicer")
(commit (string-append "version_" version))))
(file-name (git-file-name name version))
- (sha256 (base32 "0w0synqi3iz9aigsgv6x1c6sg123fasbx19h4w3ic1l48r8qmpwm"))
+ (sha256 (base32 "1mb7v0khrmsgy3inmh4mjn709jlhx422kvbnrhsqziph2wwak9bz"))
(modules '((guix build utils)))
(snippet
'(begin
@@ -3192,32 +3238,35 @@ visualization, matrix manipulation.")
(native-inputs
(list pkg-config))
(inputs
- `(("boost" ,boost)
- ("cereal" ,cereal)
- ("cgal" ,cgal)
- ("curl" ,curl)
- ("dbus" ,dbus)
- ("eigen" ,eigen)
- ("expat" ,expat)
- ("glew" ,glew)
- ("glib" ,glib)
- ("gmp" ,gmp)
- ("gtk" ,gtk+)
- ("hidapi" ,hidapi)
- ("ilmbase" ,ilmbase)
- ("libigl" ,libigl)
- ("libpng" ,libpng)
- ("mesa" ,mesa)
- ("mpfr" ,mpfr)
- ("nlopt" ,nlopt)
- ("openvdb" ,openvdb)
- ("pango" ,pango)
- ("tbb" ,tbb)
- ("udev" ,eudev)
- ("wxwidgets" ,wxwidgets)
- ("zlib" ,zlib)))
+ (list boost
+ cereal
+ cgal
+ curl
+ dbus
+ eigen
+ expat
+ glew
+ glib
+ gmp
+ gtk+
+ hidapi
+ ilmbase
+ libigl
+ libpng
+ mesa
+ mpfr
+ nlopt
+ openvdb
+ pango
+ tbb
+ eudev
+ wxwidgets
+ zlib))
(home-page "https://www.prusa3d.com/prusaslicer/")
(synopsis "G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)")
(description "PrusaSlicer takes 3D models (STL, OBJ, AMF) and converts them into
G-code instructions for FFF printers or PNG layers for mSLA 3D printers.")
- (license license:agpl3)))
+ (license license:agpl3)
+
+ ;; Mark as tunable to take advantage of SIMD code in Eigen and in libigl.
+ (properties '((tunable? . #t)))))
diff --git a/gnu/packages/enlightenment.scm b/gnu/packages/enlightenment.scm
index 3b28559c1b..f1013af43d 100644
--- a/gnu/packages/enlightenment.scm
+++ b/gnu/packages/enlightenment.scm
@@ -70,7 +70,7 @@
(define-public efl
(package
(name "efl")
- (version "1.25.1")
+ (version "1.26.1")
(source (origin
(method url-fetch)
(uri (string-append
@@ -78,12 +78,13 @@
version ".tar.xz"))
(sha256
(base32
- "0svybbrvpf6q955y6fclxh3md64z0dgmh0x54x2j60503hhs071m"))))
+ "0hm6i1f2g4mwj726rc6na38xhys1plbv9swrlc9hrpa87mz6gac6"))))
(build-system meson-build-system)
(native-inputs
- `(("check" ,check-0.14)
+ `(("check" ,check)
("gettext" ,gettext-minimal)
- ("pkg-config" ,pkg-config)))
+ ("pkg-config" ,pkg-config)
+ ("python" ,python)))
(inputs
`(("curl" ,curl)
("giflib" ,giflib)
@@ -150,11 +151,11 @@
"-Dmount-path=/run/setuid-programs/mount"
"-Dunmount-path=/run/setuid-programs/umount"
"-Dnetwork-backend=connman"
- ;; Add 'rsvg' to the default list (json and avif) of disabled loaders
+ ;; Add 'rsvg' to the default list (json, avif, heif) of disabled loaders
;; unless librsvg is available.
,,@(if (target-x86-64?)
'()
- (list "-Devas-loaders-disabler=json,avif,rsvg"))
+ (list "-Devas-loaders-disabler=json,avif,heif,rsvg"))
;; For Wayland.
"-Dwl=true"
"-Ddrm=true")
@@ -180,8 +181,7 @@
(string-append sndfile lib libsnd)))
(substitute* "src/lib/elput/elput_logind.c"
(("libelogind.so.0" libelogind)
- (string-append elogind "/lib/" libelogind)))
- #t)))
+ (string-append elogind "/lib/" libelogind))))))
(add-after 'unpack 'fix-install-paths
(lambda _
(substitute* "dbus-services/meson.build"
@@ -190,11 +190,10 @@
(substitute* "src/tests/elementary/meson.build"
(("dir_data") "meson.source_root(), 'test-output'"))
(substitute* "data/eo/meson.build"
- (("'usr', 'lib'") "'./' + dir_lib"))
- #t))
+ (("'usr', 'lib'") "'./' + dir_lib"))))
(add-after 'unpack 'set-home-directory
;; FATAL: Cannot create run dir '/homeless-shelter/.run' - errno=2
- (lambda _ (setenv "HOME" "/tmp") #t)))))
+ (lambda _ (setenv "HOME" "/tmp"))))))
(home-page "https://www.enlightenment.org/about-efl")
(synopsis "Enlightenment Foundation Libraries")
(description
@@ -208,7 +207,7 @@ removable devices or support for multimedia.")
(define-public terminology
(package
(name "terminology")
- (version "1.11.0")
+ (version "1.12.1")
(source (origin
(method url-fetch)
(uri
@@ -216,15 +215,14 @@ removable devices or support for multimedia.")
"terminology/terminology-" version ".tar.xz"))
(sha256
(base32
- "0bbav27p1xni7kidgf3vn42bwsfrzds301k3f7c8dg7v5yyq9n2g"))
+ "1aasddf2343qj798b5s8qwif3lxj4pyjax6fa9sfi6if9icdkkpq"))
(modules '((guix build utils)))
;; Remove the bundled fonts.
(snippet
'(begin
(delete-file-recursively "data/fonts")
(substitute* "data/meson.build"
- (("subdir\\('fonts'\\)") ""))
- #t))))
+ (("subdir\\('fonts'\\)") ""))))))
(build-system meson-build-system)
(arguments
`(#:configure-flags
@@ -236,23 +234,24 @@ removable devices or support for multimedia.")
(modify-phases %standard-phases
(add-after 'unpack 'set-home-directory
;; FATAL: Cannot create run dir '/homeless-shelter/.run' - errno=2
- (lambda _ (setenv "HOME" "/tmp") #t))
+ (lambda _ (setenv "HOME" "/tmp")))
(replace 'check
- (lambda _
- (with-directory-excursion
- (string-append "../" ,name "-" ,version "/tests")
- (invoke "sh" "run_tests.sh" "--verbose"
- "-t" "../../build/src/bin/tytest"))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion
+ (string-append "../" ,name "-" ,version "/tests")
+ (invoke "sh" "run_tests.sh" "--verbose"
+ "-t" "../../build/src/bin/tytest")))))
(add-after 'install 'remove-test-binary
(lambda* (#:key outputs #:allow-other-keys)
;; This file is not meant to be installed.
(delete-file (string-append (assoc-ref outputs "out")
- "/bin/tytest"))
- #t)))))
+ "/bin/tytest")))))))
(native-inputs
- `(("gettext" ,gettext-minimal)
- ("perl" ,perl)
- ("pkg-config" ,pkg-config)))
+ (list gettext-minimal
+ perl
+ pkg-config
+ python))
(inputs
(list efl))
(home-page "https://www.enlightenment.org/about-terminology")
@@ -267,7 +266,7 @@ contents and more.")
(define-public rage
(package
(name "rage")
- (version "0.3.1")
+ (version "0.4.0")
(source (origin
(method url-fetch)
(uri
@@ -276,14 +275,14 @@ contents and more.")
version ".tar.xz"))
(sha256
(base32
- "04fdk23bbgvni212zrfy4ndg7vmshbsjgicrhckdvhay87pk9i75"))))
+ "03yal7ajh57x2jhmygc6msf3gzvqkpmzkqzj6dnam5sim8cq9rbw"))))
(build-system meson-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'set-home-directory
;; FATAL: Cannot create run dir '/homeless-shelter/.run' - errno=2
- (lambda _ (setenv "HOME" "/tmp") #t)))))
+ (lambda _ (setenv "HOME" "/tmp"))))))
(native-inputs
(list pkg-config))
(inputs
@@ -298,7 +297,7 @@ Libraries with some extra bells and whistles.")
(define-public enlightenment
(package
(name "enlightenment")
- (version "0.24.2")
+ (version "0.25.1")
(source (origin
(method url-fetch)
(uri
@@ -306,21 +305,16 @@ Libraries with some extra bells and whistles.")
"enlightenment/enlightenment-" version ".tar.xz"))
(sha256
(base32
- "1wfz0rwwsx7c1mkswn4hc9xw1i6bsdirhxiycf7ha2vcipqy465y"))
+ "0i1424vsc929h36hx04646pbrjiya6nc1nqr6s15xwvfv7imzw1c"))
(patches (search-patches "enlightenment-fix-setuid-path.patch"))))
(build-system meson-build-system)
(arguments
`(#:configure-flags
- (let ((efl (assoc-ref %build-inputs "efl")))
- (list "-Dsystemd=false"
- "-Dpackagekit=false"
- "-Dwl=true"
- (string-append "-Dedje-cc=" efl "/bin/edje_cc")
- (string-append "-Deldbus-codegen=" efl "/bin/eldbus-codegen")
- (string-append "-Deet=" efl "/bin/eet")))
+ (list "-Dsystemd=false"
+ "-Dpackagekit=false"
+ "-Dwl=true")
#:phases
(modify-phases %standard-phases
- (delete 'bootstrap) ; We don't want to run the autogen script.
(add-before 'configure 'set-system-actions
(lambda* (#:key inputs #:allow-other-keys)
(setenv "HOME" "/tmp")
@@ -358,8 +352,7 @@ Libraries with some extra bells and whistles.")
(("/bin/umount") "/run/setuid-programs/umount")
(("/usr/bin/eject") "/run/current-system/profile/bin/eject"))
(substitute* "src/bin/system/e_system_power.c"
- (("systemctl") "loginctl"))
- #t))))))
+ (("systemctl") "loginctl"))))))))
(native-inputs
`(("gettext" ,gettext-minimal)
("pkg-config" ,pkg-config)))
@@ -370,10 +363,11 @@ Libraries with some extra bells and whistles.")
("dbus" ,dbus)
("freetype" ,freetype)
("libdrm" ,libdrm)
+ ("libexif" ,libexif)
("libxcb" ,libxcb)
("libxext" ,libxext)
("linux-pam" ,linux-pam)
- ("puleseaudio" ,pulseaudio)
+ ("pulseaudio" ,pulseaudio)
("setxkbmap" ,setxkbmap)
("xcb-util-keysyms" ,xcb-util-keysyms)
("xkeyboard-config" ,xkeyboard-config)
@@ -523,23 +517,23 @@ and in creating applications based on the Enlightenment Foundation Library suite
(define-public ephoto
(package
(name "ephoto")
- (version "1.5")
+ (version "1.6.0")
(source
(origin
(method url-fetch)
(uri (string-append "https://download.enlightenment.org/rel/"
"apps/ephoto/ephoto-" version ".tar.xz"))
(sha256
- (base32 "1q7v9abjp9jrs08xc7pqaac64yzax24dk1snjb9rciarzzh3mlzy"))))
- (build-system gnu-build-system)
+ (base32 "1lvhcs4ba8h3z78nyycbww8mj4cscb8k200dcc3cdy8vrvrp7g1n"))))
+ (build-system meson-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'set-home-directory
;; FATAL: Cannot create run dir '/homeless-shelter/.run' - errno=2
- (lambda _ (setenv "HOME" "/tmp") #t)))))
+ (lambda _ (setenv "HOME" "/tmp"))))))
(native-inputs
- (list check pkg-config))
+ (list pkg-config))
(inputs
(list efl))
(home-page "https://smhouston.us/projects/ephoto/")
@@ -569,14 +563,14 @@ directories.
(define-public evisum
(package
(name "evisum")
- (version "0.5.13")
+ (version "0.6.0")
(source
(origin
(method url-fetch)
(uri (string-append "https://download.enlightenment.org/rel/apps/"
"evisum/evisum-" version ".tar.xz"))
(sha256
- (base32 "1rjqvida4anh7gqjp6xrpk6kmhqb66r733yyr2ixphgxn33p3iac"))))
+ (base32 "1ip3rmp0hcn0pk6lv089cayx18p1b2wycgvwpnf7ghbdxg7n4q15"))))
(build-system meson-build-system)
(arguments
'(#:tests? #f ; no tests
@@ -586,8 +580,8 @@ directories.
(lambda _
(setenv "HOME" (getcwd)))))))
(native-inputs
- `(("gettext" ,gettext-minimal)
- ("pkg-config" ,pkg-config)))
+ (list gettext-minimal
+ pkg-config))
(inputs
(list efl))
(home-page "https://www.enlightenment.org")
diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index 696391256d..767b7c5732 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -27,6 +27,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages file-systems)
+ #:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
@@ -195,7 +196,7 @@ another location, similar to @command{mount --bind}. It can be used for:
@item Sharing a directory with a list of users (or groups).
@item Modifying permission bits using rules with chmod-like syntax.
@item Changing the permissions with which files are created.
-@end itemize ")
+@end itemize")
(license license:gpl2+)))
(define-public cachefilesd-inotify
@@ -404,8 +405,8 @@ from a mounted file system.")
(license license:gpl2+)))
(define-public bcachefs-tools
- (let ((commit "f9f57789de567726f7cfa46bd13df4b0815d137a")
- (revision "12"))
+ (let ((commit "b19d9f92e12c2e78d6e306e6cb7f8a7d9a7875f3")
+ (revision "13"))
(package
(name "bcachefs-tools")
(version (git-version "0.1" revision commit))
@@ -417,37 +418,33 @@ from a mounted file system.")
(commit commit)))
(file-name (git-file-name name version))
(sha256
- (base32 "13442qpmv7hywkpbnbwlg2sfhlfh16qxry1xwlv35vch2qnzlhrq"))))
+ (base32 "1ixb1fk58yjk8alpcf9a7h0fnkvpbsjxd766iz9h7qa6r1r77a6c"))))
(build-system gnu-build-system)
(arguments
- `(#:make-flags
- (list ,(string-append "VERSION=" version) ; bogus vX.Y-nogit otherwise
- (string-append "PREFIX=" (assoc-ref %outputs "out"))
- "INITRAMFS_DIR=$(PREFIX)/share/initramfs-tools"
- ,(string-append "CC=" (cc-for-target))
- ,(string-append "PKG_CONFIG=" (pkg-config-for-target))
- "PYTEST=pytest")
- #:phases
- (modify-phases %standard-phases
- (delete 'configure) ; no configure script
- (add-after 'install 'promote-mount.bcachefs.sh
- ;; XXX The (optional) mount.bcachefs helper requires rust:cargo.
- ;; This alternative shell script does the job well enough for now.
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (with-directory-excursion (string-append out "/sbin")
- (rename-file "mount.bcachefs.sh" "mount.bcachefs")
- ;; WRAP-SCRIPT causes bogus ‘Insufficient arguments’ errors.
- (wrap-program "mount.bcachefs"
- `("PATH" ":" prefix
- ,(cons (string-append out "/sbin")
- (map (lambda (input)
- (string-append (assoc-ref inputs input)
- "/bin"))
- (list "coreutils"
- "gawk"
- "util-linux"))))))))))
- #:tests? #f)) ; XXX 6 valgrind tests fail
+ (list #:make-flags
+ #~(list (string-append "VERSION=" #$version) ; ‘v…-nogit’ otherwise
+ (string-append "PREFIX=" #$output)
+ "INITRAMFS_DIR=$(PREFIX)/share/initramfs-tools"
+ (string-append "CC=" #$(cc-for-target))
+ (string-append "PKG_CONFIG=" #$(pkg-config-for-target))
+ "PYTEST=pytest")
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure) ; no configure script
+ (add-after 'install 'promote-mount.bcachefs.sh
+ ;; XXX The (optional) ‘mount.bcachefs’ requires rust:cargo.
+ ;; This shell alternative does the job well enough for now.
+ (lambda _
+ (with-directory-excursion (string-append #$output "/sbin")
+ (rename-file "mount.bcachefs.sh" "mount.bcachefs")
+ ;; WRAP-SCRIPT causes bogus ‘Insufficient arguments’ errors.
+ (wrap-program "mount.bcachefs"
+ `("PATH" ":" prefix
+ ,(list (string-append #$output "/sbin")
+ (string-append #$coreutils-minimal "/bin")
+ (string-append #$gawk "/bin")
+ (string-append #$util-linux "/bin"))))))))
+ #:tests? #f)) ; XXX 6 valgrind tests fail
(native-inputs
(list pkg-config
;; For tests.
@@ -457,21 +454,20 @@ from a mounted file system.")
python
python-docutils))
(inputs
- `(("eudev" ,eudev)
- ("keyutils" ,keyutils)
- ("libaio" ,libaio)
- ("libscrypt" ,libscrypt)
- ("libsodium" ,libsodium)
- ("liburcu" ,liburcu)
- ("util-linux:lib" ,util-linux "lib") ; lib{blkid,uuid}
- ("lz4" ,lz4)
- ("zlib" ,zlib)
- ("zstd:lib" ,zstd "lib")
-
- ;; Only for mount.bcachefs.sh.
- ("coreutils" ,coreutils-minimal)
- ("gawk" ,gawk)
- ("util-linux" ,util-linux)))
+ (list eudev
+ keyutils
+ libaio
+ libscrypt
+ libsodium
+ liburcu
+ `(,util-linux "lib")
+ lz4
+ zlib
+ `(,zstd "lib")
+ ;; Only for mount.bcachefs.sh.
+ coreutils-minimal
+ gawk
+ util-linux))
(home-page "https://bcachefs.org/")
(synopsis "Tools to create and manage bcachefs file systems")
(description
@@ -488,16 +484,16 @@ performance and other characteristics.")
(license license:gpl2+))))
(define-public bcachefs-tools/static
- (package
- (inherit bcachefs-tools)
- (name "bcachefs-tools-static")
- (arguments
- (substitute-keyword-arguments (package-arguments bcachefs-tools)
- ((#:make-flags make-flags)
- `(append ,make-flags
- (list "LDFLAGS=-static")))
- ((#:phases phases)
- `(modify-phases ,phases
+ (package
+ (inherit bcachefs-tools)
+ (name "bcachefs-tools-static")
+ (arguments
+ (substitute-keyword-arguments (package-arguments bcachefs-tools)
+ ((#:make-flags make-flags)
+ #~(append #$make-flags
+ (list "LDFLAGS=-static")))
+ ((#:phases phases)
+ #~(modify-phases #$phases
(add-after 'unpack 'skip-shared-library
(lambda _
(substitute* "Makefile"
@@ -506,40 +502,38 @@ performance and other characteristics.")
(string-append prefix suffix "\n"))
;; …as does installing a now non-existent file.
((".*\\$\\(INSTALL\\).* lib.*") ""))))))))
- (inputs
- `(("eudev:static" ,eudev "static")
- ("libscrypt:static" ,libscrypt "static")
- ("lz4:static" ,lz4 "static")
- ("util-linux:static" ,util-linux "static") ; lib{blkid,uuid}
- ("zlib" ,zlib "static")
- ("zstd:static" ,zstd "static")
- ,@(package-inputs bcachefs-tools)))))
+ (inputs (modify-inputs (package-inputs bcachefs-tools)
+ (prepend `(,eudev "static")
+ `(,keyutils "static")
+ `(,libscrypt "static")
+ `(,lz4 "static")
+ `(,util-linux "static")
+ `(,zlib "static")
+ `(,zstd "static"))))))
(define-public bcachefs/static
(package
(name "bcachefs-static")
(version (package-version bcachefs-tools))
- (build-system trivial-build-system)
(source #f)
- (inputs
- `(("bcachefs-tools" ,bcachefs-tools/static)))
+ (build-system trivial-build-system)
(arguments
- `(#:modules ((guix build utils))
- #:builder
- (begin
- (use-modules (guix build utils)
- (ice-9 ftw)
- (srfi srfi-26))
- (let* ((bcachefs-tools (assoc-ref %build-inputs "bcachefs-tools"))
- (out (assoc-ref %outputs "out")))
- (mkdir-p out)
- (with-directory-excursion out
- (install-file (string-append bcachefs-tools
- "/sbin/bcachefs")
- "sbin")
- (remove-store-references "sbin/bcachefs")
- (invoke "sbin/bcachefs" "version") ; test suite
- #t)))))
+ (list #:modules '((guix build utils))
+ #:builder
+ #~(begin
+ (use-modules (guix build utils)
+ (ice-9 ftw)
+ (srfi srfi-26))
+ (mkdir-p #$output)
+ (with-directory-excursion #$output
+ (install-file (string-append #$(this-package-input
+ "bcachefs-tools-static")
+ "/sbin/bcachefs")
+ "sbin")
+ (remove-store-references "sbin/bcachefs")
+ (invoke "sbin/bcachefs" "version"))))) ; test suite
+ (inputs
+ (list bcachefs-tools/static))
(home-page (package-home-page bcachefs-tools))
(synopsis "Statically-linked bcachefs command from bcachefs-tools")
(description "This package provides the statically-linked @command{bcachefs}
@@ -592,30 +586,29 @@ Extensible File Allocation Table} file systems. Included are
(inputs
(list fuse gnutls))
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (delete 'configure) ; no configure script
- (replace 'install
- ;; There's no ‘install’ target. Install all variants manually.
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (bin (string-append out "/bin"))
- (man1 (string-append out "/share/man/man1")))
- (mkdir-p bin)
- (mkdir-p man1)
- (for-each
- (lambda (variant)
- (let ((man1-page (string-append variant ".1")))
- (install-file variant bin)
- (install-file man1-page man1)))
- (list "httpfs2"
- "httpfs2-mt"
- "httpfs2-ssl"
- "httpfs2-ssl-mt")))
- #t)))
- #:make-flags (list "CC=gcc")
- #:parallel-build? #f ; can result in missing man pages
- #:tests? #f)) ; no tests
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure) ; no configure script
+ (replace 'install
+ ;; There's no ‘install’ target. Install all variants manually.
+ (lambda _
+ (let* ((bin (string-append #$output "/bin"))
+ (man1 (string-append #$output "/share/man/man1")))
+ (mkdir-p bin)
+ (mkdir-p man1)
+ (for-each
+ (lambda (variant)
+ (let ((man1-page (string-append variant ".1")))
+ (install-file variant bin)
+ (install-file man1-page man1)))
+ (list "httpfs2"
+ "httpfs2-mt"
+ "httpfs2-ssl"
+ "httpfs2-ssl-mt"))))))
+ #:make-flags
+ #~(list (string-append "CC=" #$(cc-for-target)))
+ #:parallel-build? #f ; can result in missing man pages
+ #:tests? #f)) ; no tests
(home-page "https://sourceforge.net/projects/httpfs/")
(synopsis "Mount remote files over HTTP")
(description "httpfs2 is a @code{fuse} file system for mounting any
@@ -838,14 +831,14 @@ All of this is accomplished without a centralized metadata server.")
(define-public libeatmydata
(package
(name "libeatmydata")
- (version "129")
+ (version "130")
(source
(origin
(method url-fetch)
(uri (string-append "https://www.flamingspork.com/projects/libeatmydata/"
"libeatmydata-" version ".tar.gz"))
(sha256
- (base32 "1qycv1cvy6fr3v5rxilnsqxllwyfbqlcairlh31x2dnjsx28jnqf"))))
+ (base32 "1h212l2s0g3pv6q96d94dk7kpp9qzyxqydrrcgyp7zqjwvbiqws8"))))
(build-system gnu-build-system)
(arguments
;; All tests pass---but only if the host kernel allows PTRACE_TRACEME.
@@ -887,9 +880,9 @@ All of this is accomplished without a centralized metadata server.")
(method url-fetch)
(uri (string-append "https://deb.debian.org/debian/pool/main/"
"libe/libeatmydata/libeatmydata_" version
- "-1.debian.tar.xz"))
+ "-2.debian.tar.xz"))
(sha256
- (base32 "0q6kx1bf870jj52a2vm5p5xlrr89g2zs8wyhlpn80pys9p28nikx"))))
+ (base32 "1sg9g1nv3wl9ymzz33ig4ns563npkbxj67a64m7p34cc813jl95w"))))
;; For the test suite.
("strace" ,strace)
("which" ,which)))
@@ -911,7 +904,7 @@ Please, @emph{do not} use something called ``eat my data'' in such cases!
However, it does not make sense to accept this performance hit if the data is
unimportant and you can afford to lose all of it in the event of a crash, for
-example when running a software test suite. Adding @code{}libeatmydata.so} to
+example when running a software test suite. Adding @file{libeatmydata.so} to
the @env{LD_PRELOAD} environment of such tasks will override all C library data
synchronisation functions with custom @i{no-op} ones that do nothing and
immediately return success.
@@ -1152,7 +1145,7 @@ with the included @command{xfstests-check} helper.")
(define-public zfs
(package
(name "zfs")
- (version "2.1.1")
+ (version "2.1.2")
(outputs '("out" "module" "src"))
(source
(origin
@@ -1161,7 +1154,7 @@ with the included @command{xfstests-check} helper.")
"/download/zfs-" version
"/zfs-" version ".tar.gz"))
(sha256
- (base32 "1zsc0zkz5cci6pxc0kwzn3xg72qv2fq65phb768y5dgk1784hkxx"))))
+ (base32 "1rxrr329y6zgkcqv0gah8bgi9ih6pqaay7mnk4xqlrhzgb8z3315"))))
(build-system linux-module-build-system)
(arguments
`(;; The ZFS kernel module should not be downloaded since the license
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 3c162ff86f..5c08662f05 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -273,19 +273,19 @@ Accounting.")
(define-public homebank
(package
(name "homebank")
- (version "5.5.3")
+ (version "5.5.4")
(source (origin
(method url-fetch)
(uri (string-append "http://homebank.free.fr/public/homebank-"
version ".tar.gz"))
(sha256
(base32
- "14qhv79a2waqzmf6l571wklgwq8j1pkmjvzkj5vhh44nia8hfdh7"))))
+ "0rapdqv2j61cj2jzfk0fiby3na4k5g5i7shkqbjhld4rl2y6j1hd"))))
(build-system glib-or-gtk-build-system)
(native-inputs
(list pkg-config intltool))
(inputs
- (list gtk+ libofx libsoup))
+ (list gtk+ libofx libsoup-minimal-2))
(home-page "http://homebank.free.fr/")
(synopsis "Graphical personal accounting application")
(description "HomeBank allows you to manage your personal accounts at
@@ -582,7 +582,7 @@ other machines/servers. Electrum does not download the Bitcoin blockchain.")
(define-public electron-cash
(package
(name "electron-cash")
- (version "4.2.5")
+ (version "4.2.6")
(source
(origin
(method git-fetch)
@@ -591,7 +591,7 @@ other machines/servers. Electrum does not download the Bitcoin blockchain.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1fj797hbinxsqjwhh4l1vjsx1vzmgzf2apq7fnqqwpv9g0v2pch0"))))
+ (base32 "193krlnski9wjyfjkxfp4gcs7dgmqkwxgsy2m8x1515vb5bzv5pz"))))
(build-system python-build-system)
(inputs
`(("libevent" ,libevent)
@@ -779,7 +779,7 @@ the Monero command line client and daemon.")
(define-public monero-gui
(package
(name "monero-gui")
- (version "0.17.3.0")
+ (version "0.17.3.1")
(source
(origin
(method git-fetch)
@@ -796,7 +796,7 @@ the Monero command line client and daemon.")
(delete-file-recursively "monero")
#t))
(sha256
- (base32 "0sc3g8g4mlcgz1ys1mqx9klyfl02z17zv2z22clx33jni0l3bqkr"))))
+ (base32 "0mzxbi16zvpfgwykg0c7gm5dmjxr2a47kjwih36g53a7pnf04zl1"))))
(build-system qt-build-system)
(native-inputs
`(,@(package-native-inputs monero)
@@ -1230,7 +1230,7 @@ personal identity and company identification codes,
international standard numbers (ISBN, IBAN, EAN, etc.)
and various other formats.
The module also includes implementations of the Verhoeff,
-Luhn and family of ISO/IEC 7064 check digit algorithms. ")
+Luhn and family of ISO/IEC 7064 check digit algorithms.")
(license license:lgpl2.1+)))
(define-public python2-stdnum
@@ -1250,16 +1250,25 @@ Luhn and family of ISO/IEC 7064 check digit algorithms. ")
(arguments
;; FIXME: Tests fail with: "TypeError: block_uid() missing 1 required
;; positional argument: 'value'".
- `(#:tests? #f))
+ `(#:tests? #f
+ #:phases (modify-phases %standard-phases
+ (add-after 'unpack 'loosen-requirements
+ (lambda _
+ (substitute* "setup.py"
+ (("mnemonic>=0\\.19,<0.20")
+ "mnemonic>=0.19")))))))
(propagated-inputs
- `(("aiohttp" ,python-aiohttp)
- ("attrs" ,python-attrs)
- ("base58" ,python-base58)
- ("jsonschema" ,python-jsonschema)
- ("libnacl" ,python-libnacl)
- ("pyaes" ,python-pyaes)
- ("pylibscrypt" ,python-pylibscrypt)
- ("pypeg2" ,python-pypeg2)))
+ (list python-aiohttp
+ python-attrs
+ python-base58
+ python-jsonschema
+ python-libnacl
+ python-pyaes
+ python-pylibscrypt
+ python-graphql-core
+ python-mnemonic
+ python-websocket-client
+ python-pypeg2))
(home-page "https://git.duniter.org/clients/python/duniterpy")
(synopsis "Python implementation of Duniter API")
(description "@code{duniterpy} is an implementation of
@@ -1821,6 +1830,32 @@ local, single-user UI, or as a multi-user UI for viewing, adding, and
editing on the Web.")
(license license:gpl3)))
+(define-public quantlib
+ (package
+ (name "quantlib")
+ (version "1.24")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/lballabio/QuantLib/releases/download/QuantLib-v"
+ version "/QuantLib-" version ".tar.gz"))
+ (sha256
+ (base32 "1rxjhkc32a8z0g5gmh0iw5nx0fr31cjsrfgq7c8g6nib003kgnnx"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:configure-flags
+ ,#~(list "--disable-static"
+ (string-append "--prefix=" #$output))))
+ (inputs (list boost))
+ (home-page "https://www.quantlib.org")
+ (synopsis "Library for quantitative finance")
+ (description
+ "The QuantLib project is aimed at providing a comprehensive software
+framework for quantitative finance. QuantLib is a library for modeling,
+trading, and risk management in real-life.")
+ (license license:bsd-2)))
+
(define-public optionmatrix
(package
(name "optionmatrix")
diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index 1dc64a5341..3a97765931 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -6,7 +6,7 @@
;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Vagrant Cascadian <vagrant@debian.org>
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
-;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2020, 2021, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
;;;
;;; This file is part of GNU Guix.
@@ -28,6 +28,7 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix gexp)
#:use-module (guix utils)
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
@@ -199,7 +200,7 @@ by the b43-open driver of Linux-libre.")
(define-public eg25-manager
(package
(name "eg25-manager")
- (version "0.4.1")
+ (version "0.4.2")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -208,7 +209,7 @@ by the b43-open driver of Linux-libre.")
(file-name (git-file-name name version))
(sha256
(base32
- "1h4c4ndcnh88jn65h1kycxkjrydwwwh3irkxvpaxb6ry4wpc45r0"))))
+ "1czq2yi852aqkdnrxdifzcq669bdvlm7j40xivxq77jq04fggpmf"))))
(build-system meson-build-system)
(native-inputs (list curl
`(,glib "bin") pkg-config))
@@ -223,16 +224,16 @@ broadband modem as found, for example, on PinePhone.")
(define* (make-opensbi-package platform name #:optional (arch "riscv64"))
(package
(name name)
- (version "0.8")
+ (version "1.0")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/riscv/opensbi")
+ (url "https://github.com/riscv-software-src/opensbi")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1y9z0b6q6wpw7mgy31wml4djc6m8ydm71a9f1asnks4ragc7m98b"))))
+ (base32 "0srqkhd9b1mq4qkqk31dlrzy4mhljr49bzjxm0saylsbwhgxq31s"))))
(build-system gnu-build-system)
(native-inputs
`(,@(if (and (not (string-prefix? "riscv64" (%current-system)))
@@ -256,13 +257,13 @@ broadband modem as found, for example, on PinePhone.")
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
- (bin (find-files "." ".*fw_.*.elf$")))
+ (bin (find-files "." "fw_.*\\.(elf|bin)$")))
(for-each
(lambda (file)
(install-file file out))
bin))
#t)))))
- (home-page "https://github.com/riscv/opensbi")
+ (home-page "https://github.com/riscv-software-src/opensbi")
(synopsis "RISC-V Open Source Supervisor Binary Interface")
(description "A reference implementation of the RISC-V SBI specifications
for platform-specific firmwares executing in M-mode.")
@@ -272,16 +273,13 @@ for platform-specific firmwares executing in M-mode.")
;; platform/ariane-fpga/* is gpl2.
license:gpl2))))
-(define-public opensbi-qemu-generic
- (make-opensbi-package "generic" "opensbi-qemu-generic"))
-
-(define-public opensbi-sifive-fu540
- (make-opensbi-package "sifive/fu540" "opensbi-sifive-fu540"))
+(define-public opensbi-generic
+ (make-opensbi-package "generic" "opensbi-generic"))
(define-public seabios
(package
(name "seabios")
- (version "1.14.0")
+ (version "1.15.0")
(source
(origin
(method git-fetch)
@@ -290,25 +288,71 @@ for platform-specific firmwares executing in M-mode.")
(commit (string-append "rel-" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0jp4rxsv9jdzvx4gjvkybj6g1yjg8pkd2wys4sdh6c029npp6y8p"))))
+ (base32 "0gnsfmbgcvihsap8sz8c2n3qs439q44i3pwrms2nv3xcnf1sclj9"))))
(build-system gnu-build-system)
- (native-inputs
- `(("python" ,python-wrapper)))
+ (native-inputs (list python-wrapper))
(arguments
`(#:tests? #f ; no check target
+ #:make-flags '("EXTRAVERSION=-guix") ;upstream wants distros to set this
+ #:modules (,@%gnu-build-system-modules
+ (ice-9 match))
#:phases
(modify-phases %standard-phases
(replace 'configure
(lambda _
- (setenv "CC" "gcc")
- #t))
+ ;; Create the ".version" file that is present in release tarballs.
+ ;; Otherwise this will be regarded as an "unclean" build, and the
+ ;; build system ends up encoding the build date in the binaries.
+ (call-with-output-file ".version"
+ (lambda (port)
+ (format port ,(package-version this-package))))
+ (setenv "CC" "gcc")))
+ (add-after 'build 'build-vgabios
+ (lambda* (#:key (make-flags ''()) #:allow-other-keys)
+ (for-each
+ (match-lambda
+ ((target . config)
+ (let* ((dot-config (string-append (getcwd) "/" target "/.config"))
+ (flags (append make-flags
+ (list (string-append "KCONFIG_CONFIG="
+ dot-config)
+ (string-append "OUT=" target "/")))))
+ (mkdir target)
+ (call-with-output-file dot-config
+ (lambda (port)
+ (for-each (lambda (entry)
+ (if (string-suffix? "=n" entry)
+ (format port "# CONFIG_~a is not set~%"
+ (string-drop-right entry 2))
+ (format port "CONFIG_~a~%" entry)))
+ (cons "BUILD_VGABIOS=y" config))))
+ (apply invoke "make" (append flags '("oldnoconfig")))
+ (apply invoke "make" flags)
+ (link (string-append target "/bios.bin")
+ (string-append "out/" target ".bin")))))
+ ;; These tuples are modelled after Debians packaging:
+ ;; https://salsa.debian.org/qemu-team/seabios/-/blob/master/debian/rules
+ '(("ati" . ("VGA_ATI=y" "VGA_PCI=y"))
+ ("bochs-display" . ("DISPLAY_BOCHS=y" "VGA_PCI=y"))
+ ("cirrus" . ("VGA_CIRRUS=y" "VGA_PCI=y"))
+ ("stdvga" . ("VGA_BOCHS=y" "VGA_PCI=y"))
+ ("virtio" . ("VGA_BOCHS_VIRTIO=y" "VGA_PCI=y"))
+ ("vmware" . ("VGA_BOCHS_VMWARE=y" "VGA_PCI=y"))
+ ("qxl" . ("VGA_BOCHS_QXL=y" "VGA_PCI=y"))
+ ("isavga" . ("VGA_BOCHS=y" "VGA_PCI=n"))
+ ("ramfb" . ("VGA_RAMFB=y" "VGA_PCI=n"))))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(fmw (string-append out "/share/firmware")))
(mkdir-p fmw)
(copy-file "out/bios.bin" (string-append fmw "/bios.bin"))
- #t))))))
+ (for-each (lambda (bios)
+ (install-file bios fmw))
+ (find-files "out" "\\.bin$"))
+ (with-directory-excursion fmw
+ ;; QEMU 1.7 and later looks only for the latter.
+ (symlink "bios.bin" "bios-256k.bin"))))))))
(home-page "https://www.seabios.org/SeaBIOS")
(synopsis "x86 BIOS implementation")
(description "SeaBIOS is an implementation of a 16bit x86 BIOS. SeaBIOS
@@ -487,7 +531,7 @@ Virtual Machines. OVMF contains a sample UEFI firmware for QEMU and KVM.")
(define* (make-arm-trusted-firmware platform #:optional (arch "aarch64"))
(package
(name (string-append "arm-trusted-firmware-" platform))
- (version "2.5")
+ (version "2.6")
(source
(origin
(method git-fetch)
@@ -498,7 +542,7 @@ Virtual Machines. OVMF contains a sample UEFI firmware for QEMU and KVM.")
(file-name (git-file-name "arm-trusted-firmware" version))
(sha256
(base32
- "0w3blkqgmyb5bahlp04hmh8abrflbzy0qg83kmj1x9nv4mw66f3b"))))
+ "1j0rn33pwgmksqliwf2npm2px84qmbyma9iq8zpllwfc7dsl6gx9"))))
(build-system gnu-build-system)
(arguments
`(#:phases
@@ -533,20 +577,17 @@ Virtual Machines. OVMF contains a sample UEFI firmware for QEMU and KVM.")
"DEBUG=1")
#:tests? #f)) ; no tests
(native-inputs
- `(,@(if (and (not (string-prefix? "aarch64" (%current-system)))
- (string-prefix? "aarch64" arch))
- ;; Needs newer gcc version for some targets
- `(("cross-gcc" ,(cross-gcc "aarch64-linux-gnu" #:xgcc gcc-9))
- ("cross-binutils" ,(cross-binutils "aarch64-linux-gnu")))
- '())
- ,@(if (and (not (string-prefix? "armhf" (%current-system)))
- (string-prefix? "armhf" arch))
- ;; Needs newer gcc version for some targets
- `(("cross-gcc" ,(cross-gcc "arm-linux-gnueabihf" #:xgcc gcc-9))
- ("cross-binutils" ,(cross-binutils "arm-linux-gnueabihf")))
- '())
- ;; Needs newer gcc version for some targets
- ("gcc" ,gcc-9)))
+ (let ((system (%current-system)))
+ (cond
+ ((and (not (string-prefix? "aarch64" system))
+ (string-prefix? "aarch64" arch))
+ (list (cross-gcc "aarch64-linux-gnu")
+ (cross-binutils "aarch64-linux-gnu")))
+ ((and (not (string-prefix? "armhf" system))
+ (string-prefix? "armhf" arch))
+ (list (cross-gcc "arm-linux-gnueabihf")
+ (cross-binutils "arm-linux-gnueabihf")))
+ (else '()))))
(home-page "https://www.trustedfirmware.org/")
(synopsis "Implementation of \"secure world software\"")
(description
@@ -579,6 +620,17 @@ such as:
(inherit base)
(name "arm-trusted-firmware-rk3399")
(native-inputs
- `(("cross32-gcc" ,(cross-gcc "arm-none-eabi"))
- ("cross32-binutils", (cross-binutils "arm-none-eabi"))
- ,@(package-native-inputs base))))))
+ (modify-inputs (package-native-inputs base)
+ (prepend
+ (cross-gcc "arm-none-eabi")
+ (cross-binutils "arm-none-eabi")))))))
+
+(define-public arm-trusted-firmware-imx8mq
+ (let ((base (make-arm-trusted-firmware "imx8mq")))
+ (package
+ (inherit base)
+ (arguments
+ (substitute-keyword-arguments (package-arguments base)
+ ((#:make-flags flags ''())
+ ;; Adding debug symbols causes the size to exceed limits.
+ #~(delete "DEBUG=1" #$flags)))))))
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 63d1240d5c..8afb453970 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -42,6 +42,8 @@
;;; Copyright © 2021 Sergiu Ivanov <sivanov@colimite.fr>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2021 Paul A. Patience <paul@apatience.com>
+;;; Copyright © 2021 Taiju HIGASHI <higashi@taiju.info>
+;;; Copyright © 2022 Philip McGrath <philip@philipmcgrath.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1039,42 +1041,82 @@ work well in user interface (UI) environments.")
Sans Pro family.")
(license license:silofl1.1)))
-(define-public font-fira-mono
- (package
- (name "font-fira-mono")
- (version "3.206")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://carrois.com/downloads/fira_mono_3_2/"
- "FiraMonoFonts"
- (string-replace-substring version "." "")
- ".zip"))
- (sha256
- (base32
- "1z65x0dw5dq6rs6p9wyfrir50rlh95vgzsxr8jcd40nqazw4jhpi"))))
- (build-system font-build-system)
- (home-page "https://mozilla.github.io/Fira/")
- (synopsis "Mozilla's monospace font")
- (description "This is the typeface used by Mozilla in Firefox OS.")
- (license license:silofl1.1)))
-
(define-public font-fira-sans
+ ;; Fira Sans v4.203 (which corresponds to Fira Mono v3.206) is the final
+ ;; version to include UFO sources. It is the same version packaged by other
+ ;; notable distributors, including Google Fonts. Note that the "reserved
+ ;; font name" was removed by the copyright holders.
+ ;;
+ ;; The upstream release includes a "Fira Code" which "is Fira Mono 3.206
+ ;; with less Line Space (1.0) – does not include programming ligatures". We
+ ;; do not package that: our 'font-fira-code' package (like e.g. Debian's
+ ;; "fonts-firacode") is the much better known Fira Code font by Nikita
+ ;; Prokopov, which is an older, independent adaptation of Fira Mono. For the
+ ;; historical relationship between them, see:
+ ;; https://github.com/mozilla/Fira/issues/218
+ ;;
+ ;; For a lengthy discussion of the available sources and versions,
+ ;; see: https://github.com/LiberalArtist/FiraSans/
+ ;;
+ ;; See also:
+ ;; - https://github.com/mozilla/Fira/pull/219
+ ;; - https://github.com/bBoxType/FiraSans/issues/4#issuecomment-695833327
(package
(name "font-fira-sans")
- (version "4.202")
+ (version "4.203")
(source (origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/mozilla/Fira")
- (commit version)))
+ (url "https://github.com/bBoxType/FiraSans")
+ (commit "a606927401bcc3951587339fee53aa882856b51b")))
(file-name (git-file-name name version))
(sha256
(base32
- "116j26gdj5g1r124b4669372f7490vfjqw7apiwp2ggl0am5xd0w"))))
+ "1r9kb7v9jg83nnxwkl6gx9ix1rng3ksr7v33qrm46qb4fhwsyc2n"))))
(build-system font-build-system)
+ (arguments
+ `(#:modules
+ ((ice-9 match)
+ (ice-9 regex)
+ (guix build utils)
+ (guix build font-build-system))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda* (#:key outputs #:allow-other-keys)
+ (define-values (pkg-name _version)
+ (package-name->name+version
+ (strip-store-file-name (assoc-ref outputs "out"))))
+ (define variant
+ (string-capitalize
+ (match:substring (string-match "fira-([a-z]+)" pkg-name) 1)))
+ (match (find-files "." (format #f "^Fira_~a_[0-9]" variant)
+ #:directories? #t)
+ ((dir)
+ (chdir dir))))))))
+ ;; While the repository has moved,
+ ;; this specimen still works well as the home-page:
(home-page "https://mozilla.github.io/Fira/")
- (synopsis "Mozilla's Fira Sans Font")
- (description "This is the typeface used by Mozilla in Firefox OS.")
+ (synopsis
+ "Humanist sans-serif with numerous weights emphasizing legibility")
+ (description "Fira Sans is a humanist sans-serif typeface with an emphasis
+on legibility, commissioned by Mozilla from Erik Spiekermann and Ralph du
+Carrois. The large family includes 2,709 glyphs in normal, condensed, and
+compressed cuts at 11 weights (plus 6 experimental weights), each with
+corresponding italics.
+
+The package @code{font-fira-mono} provides a corresponding monospace cut.")
+ (license license:silofl1.1)))
+
+(define-public font-fira-mono
+ (package
+ (inherit font-fira-sans)
+ (name "font-fira-mono")
+ (version "3.206")
+ (synopsis "Monospace cut of Fira Sans")
+ (description
+ "Fira Mono is a monospace cut of Fira Sans (see @code{font-fira-sans}).
+It includes regular, medium, and bold weights.")
(license license:silofl1.1)))
(define-public font-fira-go
@@ -1095,30 +1137,41 @@ Sans Pro family.")
(synopsis "Multilingual extension of the Fira Sans font family")
(description "FiraGO is a multilingual extension of the Fira Sans font
family. Based on the Fira Sans 4.3 glyph set, FiraGO adds support for the
-Arabic, Devanagari, Georgian, Hebrew and Thai scripts.")
+Arabic, Devanagari, Georgian, Hebrew and Thai scripts.
+
+Note that FiraGO does not include corresponding source.")
+ ;; See:
+ ;; - https://github.com/bBoxType/FiraGO/issues/42
+ ;; - https://github.com/bBoxType/FiraSans/issues/4#issuecomment-699882058
+ ;; For further discussion, see comments on font-fira-sans.
(license license:silofl1.1)))
(define-public font-fira-code
(package
(name "font-fira-code")
- (version "5.2")
+ (version "6.2")
(source
(origin
+ ;; changing to git-fetch would require building from source
(method url-fetch/zipbomb)
(uri (string-append "https://github.com/tonsky/FiraCode/releases/"
"download/" version
"/Fira_Code_v" version ".zip"))
(sha256
- (base32 "1zayrb6k0gd7xdvx7yx44dpip767q0bzhqwf4j6nf8nx02z746jj"))))
+ (base32 "0y9y7snyrr30z75kxz2zgh6q6hizcbzsf41xv6gxh97bm1dr2j89"))))
(build-system font-build-system)
- (home-page "https://mozilla.github.io/Fira/")
+ ;; This font began as an independent derived work of Fira Mono.
+ ;; It was never affiliated with Mozilla.
+ ;; See comments on font-fira-sans for further discussion.
+ (home-page "https://github.com/tonsky/FiraCode")
(synopsis "Monospaced font with programming ligatures")
(description
- "Fira Code is an extension of the Fira Mono font containing a set of ligatures
-for common programming multi-character combinations. This is just a font rendering
-feature: underlying code remains ASCII-compatible. This helps to read and understand
-code faster. For some frequent sequences like .. or //, ligatures allow us to
-correct spacing.")
+ "Fira Code is a monospace font by Nikita Prokopov featuring ligatures for
+common programming multi-character combinations. It began as an extension of
+Fira Mono. The ligatures are just a font rendering feature: underlying code
+remains ASCII-compatible. They are designed to help people to read and
+understand code faster. For some frequent sequences like @code{..} or
+@code{//}, ligatures are used to simulate proportional spacing.")
(license license:silofl1.1)))
(define-public font-awesome
@@ -1591,7 +1644,7 @@ emphasis while still being readable.")
(define-public font-openmoji
(package
(name "font-openmoji")
- (version "12.4.0")
+ (version "13.1.0")
(source
(origin
(method url-fetch/zipbomb)
@@ -1601,7 +1654,7 @@ emphasis while still being readable.")
"/openmoji-font.zip"))
(sha256
(base32
- "0wvvg5vnc950h8v23wfgjyi7rv89mgm5hqq6viqv0bxcc3azglxb"))))
+ "0xmy3hr38v03f1riwxmxdibb7iwj0qz288inqaha3pwq7pj7ln45"))))
(build-system font-build-system)
(native-inputs
(list unzip))
@@ -1833,6 +1886,25 @@ formatting.")
(home-page "https://madmalik.github.io/mononoki/")
(license license:silofl1.1)))
+(define-public font-plemoljp
+ (package
+ (name "font-plemoljp")
+ (version "1.2.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/yuru7/PlemolJP/releases/download/"
+ "v" version "/PlemolJP_v" version ".zip"))
+ (sha256
+ (base32
+ "03cwzkqg09c87lmsx9xfzdrlgjml93bhhp1dqq3qkpdfww30wkaw"))))
+ (build-system font-build-system)
+ (home-page "https://github.com/yuru7/PlemolJP")
+ (synopsis "Plex Mono Language JP")
+ (description "PlemolJP (Plex Mono Language JP) is a Japanese programming
+font that is a composite of IBM Plex Mono and IBM Plex Sans JP.")
+ (license license:silofl1.1)))
+
(define-public font-public-sans
(package
(name "font-public-sans")
@@ -2288,3 +2360,107 @@ road signage typefaces, adapted for on-screen display and user interfaces.
Overpass includes proportional and monospace variants.")
(license (list license:silofl1.1
license:lgpl2.1))))
+
+(define-public font-cormorant
+ (package
+ (name "font-cormorant")
+ (version "3.609")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/CatharsisFonts/Cormorant")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0fjp2xk4bjx8i6jamkyjq2fdr7324fh41pbn634iwnhdvvawvbav"))))
+ (build-system font-build-system)
+ (home-page "https://github.com/CatharsisFonts/Cormorant")
+ (synopsis
+ "Extravagant display serif typeface in the spirit of Garamond")
+ (description
+ "Cormorant is an extravagant display serif typeface inspired by
+the Garamond heritage. The design goal of Cormorant was to distill
+the aesthetic essence of Garamond, unfetter it from the limitations of
+metal printing, and allow it to bloom into its natural refined form at
+high definition. Cormorant is characterized by scandalously small
+counters, razor-sharp serifs, dangerously smooth curves, and
+flamboyantly tall accents. While many implementations of Garamond at
+small optical sizes already exist, Cormorant aims for the sparsely
+populated niche of display-size counterparts that exploit the high
+resolution of contemporary screens and print media to the fullest.")
+ (license license:silofl1.1)))
+
+(define-public font-bravura
+ (package
+ (name "font-bravura")
+ (version "1.393")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/steinbergmedia/bravura")
+ ;; Should be:
+ ;; (string-append "bravura-" version)
+ ;; but missing tag for 1.393. Requested upstream at:
+ ;; https://github.com/steinbergmedia/bravura/issues/61
+ (commit "3df1714e6f9d522a8d2b6ee6888fa3e68e71199d")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1d0a2z1gl0kzfnd5z0nv2gd226qwll13kis2xrhx213w6r849180"))))
+ (build-system font-build-system)
+ (home-page "https://www.smufl.org/fonts/")
+ (synopsis
+ "OpenType music font and SMuFL reference implementation")
+ (description
+ "Bravura is an OpenType music font and the reference implementation for
+the W3C Standard Music Font Layout (SMuFL). Bravura draws on the heritage of
+the finest European music engraving of the 19th and early 20th centuries, with
+a bolder and more substantial look than most other music fonts: thin strokes
+are slightly thicker than in other fonts, improving the overall ``blackness''
+of the font and its legibility when read at a distance.
+
+In addition to Bravura itself, which is for use with music notation
+software (such as MuseScore), the family includes a Bravura Text variant
+optimized for using musical symbols inline with regular text.")
+ (license license:silofl1.1)))
+
+(define-public font-charter
+ (let ((butterick-version "210112")) ;; yymmdd
+ (package
+ (name "font-charter")
+ (version (string-append "2.0.0-" butterick-version))
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://practicaltypography.com/fonts/Charter%20"
+ butterick-version ".zip"))
+ (file-name (string-append name "-" version ".zip"))
+ (sha256
+ (base32 "1j8iv2dl695zrabs2knb7jsky8mjis29a2ddpna4by8mlvqrf0ml"))))
+ (outputs '("out" "woff2"))
+ (build-system font-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'install-woff2
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((dest (string-append (assoc-ref outputs "woff2")
+ "/share/fonts/woff2")))
+ (for-each (lambda (file)
+ (install-file file dest))
+ (find-files "." "\\.woff2$"))))))))
+ (home-page "https://practicaltypography.com/charter.html")
+ (synopsis "Charter fonts in OpenType and TrueType formats")
+ (description "Charter was designed by Matthew Carter in 1987 and was
+contributed by Bitstream to the X Consortium in 1992. This package provides
+OpenType, TrueType, and @acronym{WOFF2, Web Open Font Format 2} versions
+converted from the Type 1 originals by Matthew Butterick.")
+ (license
+ (license:non-copyleft
+ "file://Charter license.txt"
+ (string-append
+ "Bitstream contributed the Charter family "
+ "to the X Consortium in 1992. "
+ "The license is also embedded in the font metadata."))))))
+/
diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm
index b219ddc27b..3b2938aff0 100644
--- a/gnu/packages/fpga.scm
+++ b/gnu/packages/fpga.scm
@@ -26,6 +26,7 @@
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
+ #:use-module (guix utils)
#:use-module (guix build-system gnu)
#:use-module (guix build-system cmake)
#:use-module (guix build-system python)
@@ -97,16 +98,18 @@ formal verification.")
(define-public iverilog
(package
(name "iverilog")
- (version "10.3")
+ (version "11.0")
(source (origin
(method url-fetch)
(uri
- (string-append "ftp://ftp.icarus.com/pub/eda/verilog/v10/"
+ (string-append "ftp://ftp.icarus.com/pub/eda/verilog/v11/"
"verilog-" version ".tar.gz"))
(sha256
(base32
- "1vv88ckvfwq7mrysyjnilsrcrzm9d173kp9w5ivwh6rdw7klbgc6"))))
+ "1mamlrkpb2gb00g7xdddaknrvwi4jr4ng6cfjhwngzk3ddhqaiym"))))
(build-system gnu-build-system)
+ (arguments
+ `(#:make-flags (list (string-append "CC=" ,(cc-for-target)))))
(native-inputs
(list flex bison ghostscript)) ; ps2pdf
(home-page "http://iverilog.icarus.com/")
@@ -423,7 +426,7 @@ constructed by a Python program.")
(home-page "http://www.myhdl.org/")
(synopsis "Python as a Hardware Description Language")
(description "This package provides a library to turn Python into
-a hardware description and verification language. ")
+a hardware description and verification language.")
(license license:lgpl2.1+)))
(define-public nvc
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 5e64a0bff7..818d9966dd 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -28,6 +28,7 @@
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2021 John Kehayias <john.kehayias@protonmail.com>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2022 Daniel Meißner <daniel.meissner-i4k@ruhr-uni-bochum.de>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -103,6 +104,7 @@
#:use-module (gnu packages python)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-xyz)
+ #:use-module (gnu packages qt)
#:use-module (gnu packages rdesktop)
#:use-module (gnu packages rsync)
#:use-module (gnu packages samba)
@@ -352,8 +354,7 @@ tests.")
(base32 "0vnf0pk516fwwh41v96c29l2i7h1pnwhivlkbf53kkx1q35g7lb3"))))
(build-system meson-build-system)
(arguments
- `(#:meson ,meson-0.59
- #:glib-or-gtk? #t
+ `(#:glib-or-gtk? #t
#:phases
(modify-phases %standard-phases
;; AppInfo not available inside build environment.
@@ -621,10 +622,6 @@ the freedesktop.org XDG Base Directory specification.")
;; existing in the build environment.
(invoke "sed" "/src\\/test\\/test-user-util.c/,+2s/^/#/g"
"-i" "src/test/meson.build")
- ;; FIXME: This one times out for unknown reasons.
- (invoke "sed"
- "/src\\/libelogind\\/sd-event\\/test-event.c/,+2s/^/#/g"
- "-i" "src/test/meson.build")
;; This test tries to copy some bytes from /usr/lib/os-release,
;; which does not exist in the build container. Choose something
;; more likely to be available.
@@ -1000,6 +997,7 @@ Python.")
("dot" ,graphviz)
("doxygen" ,doxygen)
("pkg-config" ,pkg-config)
+ ("python" ,python)
("xmlto" ,xmlto)
("xsltproc" ,libxslt)
,@(if (%current-target-system)
@@ -1036,7 +1034,7 @@ fullscreen) or other display servers.")
(inputs
(list wayland))
(native-inputs
- (list pkg-config))
+ (list pkg-config python))
(synopsis "Wayland protocols")
(description "Wayland-Protocols contains Wayland protocols that add
functionality not available in the Wayland core protocol. Such protocols either
@@ -1377,8 +1375,7 @@ message bus.")
(base32 "16wwd633jak9ajyr1f1h047rmd09fhf3kzjz6g5xjsz0lwcj8azz"))))
(build-system meson-build-system)
(arguments
- `(#:meson ,meson-0.59 ;see https://github.com/mesonbuild/meson/issues/6470
- #:tests? #f ; XXX: tests require DocBook 4.1.2
+ `(#:tests? #f ; XXX: tests require DocBook 4.1.2
#:configure-flags
'("--localstatedir=/var"
"-Dsystemdsystemunitdir=/tmp/empty"
@@ -2219,7 +2216,7 @@ fallback to generic Systray support if none of those are available.")
(define-public libportal
(package
(name "libportal")
- (version "0.4")
+ (version "0.5")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -2228,30 +2225,27 @@ fallback to generic Systray support if none of those are available.")
(file-name (git-file-name name version))
(sha256
(base32
- "1jh6wd96y4i218zbmmqw12zir8p88nm8dlsa3yx3lsqxd5c1krky"))))
+ "0i4v0wjyiryg7jq9hp9iaplqyhwj1cqy5891s4jfldcdzvcwxwx0"))))
(build-system meson-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'install 'move-doc
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out"))
- (doc (assoc-ref outputs "doc"))
- (html "/share/gtk-doc"))
- (copy-recursively (string-append out html)
- (string-append doc html))
- (delete-file-recursively (string-append out html))
- #t))))))
+ `(#:configure-flags
+ (list "-Dbackends=gtk4,gtk3,qt5"
+ "-Ddocs=false"))) ; requires unpackaged gi-docgen
(native-inputs
- `(("pkg-config" ,pkg-config)
- ("gtk-doc" ,gtk-doc/stable)
- ("docbook-xsl" ,docbook-xsl)
- ("docbook-xml" ,docbook-xml)
- ("libxml2" ,libxml2)
- ("glib:bin" ,glib "bin")))
+ (list pkg-config
+ docbook-xsl
+ docbook-xml
+ `(,glib "bin")
+ gobject-introspection
+ libxml2
+ vala))
+ (inputs
+ (list gtk
+ gtk+
+ qtbase-5
+ qtx11extras))
(propagated-inputs
(list glib))
- (outputs '("out" "doc"))
(home-page "https://github.com/flatpak/libportal")
(synopsis "Flatpak portal library")
(description
@@ -2378,7 +2372,7 @@ interfaces.")
(define-public xdg-desktop-portal-wlr
(package
(name "xdg-desktop-portal-wlr")
- (version "0.4.0")
+ (version "0.5.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -2387,21 +2381,39 @@ interfaces.")
(file-name (git-file-name name version))
(sha256
(base32
- "13fbzh8bjnhk4xs8j9bpc01q3hy27zpbf0gkk1fnh3hm5pnyfyiv"))))
+ "1ipg35gv8ja39ijwbyi96qlyq2y1fjdggl40s38rv68bsya8zry1"))
+ (patches (search-patches "xdg-desktop-portal-wlr-harcoded-length.patch"))))
(build-system meson-build-system)
(arguments
`(#:configure-flags
'("-Dsystemd=disabled"
- "-Dsd-bus-provider=libelogind")))
+ "-Dsd-bus-provider=libelogind")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'hardcode-binaries
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((sh (search-input-file inputs "/bin/sh"))
+ (grim (search-input-file inputs "/bin/grim"))
+ (slurp (search-input-file inputs "/bin/slurp")))
+ (substitute* "src/screenshot/screenshot.c"
+ (("grim") grim)
+ (("slurp") slurp)
+ (("execl\\(\"/bin/sh\", \"/bin/sh\"")
+ (string-append "execl(\"" sh "\", \"" sh "\"")))
+ (substitute* "src/screencast/screencast.c"
+ (("execvp\\(\"sh")
+ (string-append "execvp(\"" sh)))))))))
(native-inputs
(list cmake pkg-config))
- (inputs
- `(("elogind" ,elogind)
- ("iniparser" ,iniparser)
- ("pipewire" ,pipewire-0.3)
- ("inih" ,libinih)
- ("wayland" ,wayland)
- ("wayland-protocols" ,wayland-protocols)))
+ (inputs (list elogind
+ bash-minimal
+ grim
+ iniparser
+ libinih
+ pipewire-0.3
+ slurp
+ wayland
+ wayland-protocols))
(home-page "https://github.com/emersion/xdg-desktop-portal-wlr")
(synopsis "@code{xdg-desktop-portal} backend for wlroots")
(description
@@ -2411,6 +2423,33 @@ remote-desktop @code{xdg-desktop-portal} interfaces for wlroots based
compositors.")
(license license:expat)))
+(define-public poweralertd
+ (package
+ (name "poweralertd")
+ (version "0.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.sr.ht/~kennylevinsen/poweralertd")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "19rw9q4pcqw56nmzjfglfikzx5wwjl4n08awwdhg0jy1k0bm3dvp"))))
+ (build-system meson-build-system)
+ (arguments
+ '(#:configure-flags '("-Dman-pages=enabled")))
+ (native-inputs
+ (list scdoc pkg-config bash-minimal))
+ (inputs
+ (list elogind))
+ (home-page "https://sr.ht/~kennylevinsen/poweralertd")
+ (synopsis "Power alert daemon")
+ (description "poweralertd is a daemon that watches for UPower events and
+notifies the user using any notification daemon implementing
+@code{org.freedesktop.Notifications}.")
+ (license license:gpl3+)))
+
(define-public waypipe
(package
(name "waypipe")
diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 305c2c2819..f417fae8d7 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -25,6 +25,7 @@
;;; Copyright © 2020-2021 James Smith <jsubuntuxp@disroot.org>
;;; Copyright © 2021 Ekaitz Zarraga <ekaitz@elenq.tech>
;;; Copyright © 2021 Andy Tai <atai@atai.org>
+;;; Copyright © 2022 Felix Gruber <felgru@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -144,6 +145,11 @@
"-DBUILD_CPU_DEMOS=OFF"
"-DBUILD_OPENGL3_DEMOS=OFF"
"-DBUILD_BULLET2_DEMOS=OFF"
+ ;; openmw 0.47.0 requires bullet to be built with
+ ;; double precision.
+ ;; See <https://issues.guix.gnu.org/52953> for
+ ;; more information.
+ "-DUSE_DOUBLE_PRECISION=ON"
;; Extras/BulletRoboticsGUI needs files from
;; ThirdPartyLibs
"-DBUILD_BULLET_ROBOTICS_GUI_EXTRA=OFF"
@@ -783,14 +789,14 @@ archive on a per-file basis.")
(define-public love
(package
(name "love")
- (version "11.3")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://bitbucket.org/rude/love/downloads/"
- "love-" version "-linux-src.tar.gz"))
- (sha256
- (base32
- "0m8lvlabmcchskx4qpzkdlsm44360f3j0q3vvvj2388cfnvhv7v4"))))
+ (version "11.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/love2d/love/releases/download/"
+ version "/love-" version "-linux-src.tar.gz"))
+ (sha256
+ (base32 "0sak3zjpzfs3ys315m8qvszi946fz76jcpsb58j11wplyp5fwbz3"))))
(build-system gnu-build-system)
(native-inputs
(list pkg-config))
@@ -1212,7 +1218,7 @@ to create fully featured games and multimedia programs in the python language.")
(define-public python-pygame-sdl2
(let ((real-version "2.1.0")
- (renpy-version "7.4.10"))
+ (renpy-version "7.4.11"))
(package
(inherit python-pygame)
(name "python-pygame-sdl2")
@@ -1222,7 +1228,7 @@ to create fully featured games and multimedia programs in the python language.")
(method url-fetch)
(uri (string-append "https://www.renpy.org/dl/" renpy-version
"/pygame_sdl2-" version ".tar.gz"))
- (sha256 (base32 "0m0asrr722a4v24fm8199b0c53igagylay8bn9bz9rmc0r4v8si4"))
+ (sha256 (base32 "0nxvca16299jx6sp0ys29rqixcs21ymhqwjfkbchhss0yar7qjgz"))
(modules '((guix build utils)))
(snippet
'(begin
@@ -1267,13 +1273,13 @@ developed mainly for Ren'py.")
(define-public python2-renpy
(package
(name "python2-renpy")
- (version "7.4.10")
+ (version "7.4.11")
(source
(origin
(method url-fetch)
(uri (string-append "https://www.renpy.org/dl/" version
"/renpy-" version "-source.tar.bz2"))
- (sha256 (base32 "1yngs2kh1l8micg28mcp9580qsvgq3aa8bkhv2xqfkg9qqrbr8y4"))
+ (sha256 (base32 "0zkhg2sd2hglm9dkansf4h8sq7lm7iqslzl763ambp4kyfdvd07q"))
(modules '((guix build utils)))
(patches
(search-patches
@@ -1315,9 +1321,8 @@ developed mainly for Ren'py.")
;; named "setup.py".
(with-directory-excursion "module"
(apply (assoc-ref %standard-phases 'build) args))
- ;; the above causes renpy.__init__ to be compiled but does not
- ;; compile anything else, hence we do that here
- (delete-file "renpy/__init__.pyc")
+ ;; The above only builds the cython modules, but nothing else,
+ ;; so we do that here.
(invoke "python" "-m" "compileall" "renpy")
#t))
(replace 'install
@@ -1443,70 +1448,17 @@ are only used to bootstrap it.")
;; `-- Super Awesome Game.sh
(let* ((out (assoc-ref outputs "out"))
(bin/renpy (string-append out "/bin/renpy")))
- (mkdir-p (string-append out "/bin"))
(copy-recursively "renpy/common"
(string-append out "/share/renpy/common"))
(copy-recursively "gui"
(string-append out "/share/renpy/gui"))
- (call-with-output-file bin/renpy
- (lambda (port)
- (format port "#!~a/bin/python2~%"
- (assoc-ref inputs "python2"))
- (format port "
-from __future__ import print_function
-
-import os
-import sys
-import warnings
-
-def path_to_common(renpy_base):
- return renpy_base + \"/common\"
-
-def path_to_saves(gamedir, save_directory=None):
- import renpy # @UnresolvedImport
-
- if save_directory is None:
- save_directory = renpy.config.save_directory
- save_directory = renpy.exports.fsencode(save_directory)
-
- if not save_directory:
- return gamedir + \"/saves\"
-
- return os.path.expanduser(\"~~/.renpy/\" + save_directory)
-
-def path_to_renpy_base():
- return \"~a\"
-
-def main():
- renpy_base = path_to_renpy_base()
- try:
- import renpy.bootstrap
- import renpy.arguments
- except ImportError:
- print(\"\"\"Could not import renpy.bootstrap.
-Please ensure you decompressed Ren'Py correctly, preserving the directory
-structure.\"\"\", file=sys.stderr)
- raise
-
- args = renpy.arguments.bootstrap()
- if not args.basedir:
- print(\"\"\"This Ren'py requires a basedir to launch.
-The basedir is the directory, in which .rpy files live -- usually the 'game'
-subdirectory of a game packaged by Ren'py.
-
-If you want the Ren'py launcher, use renpy-launcher instead.\"\"\",
- file=sys.stderr)
- sys.exit()
-
- renpy.bootstrap.bootstrap(renpy_base)
-
-if __name__ == \"__main__\":
- main()
-"
- (string-append out "/share/renpy"))))
- (chmod bin/renpy #o755)
- #t)))
+ (mkdir-p (string-append out "/bin"))
+ (copy-file (assoc-ref inputs "renpy.in") bin/renpy)
+ (substitute* bin/renpy
+ (("@PYTHON@") (search-input-file inputs "bin/python2"))
+ (("@RENPY_BASE@") (string-append out "/share/renpy")))
+ (chmod bin/renpy #o755))))
(add-after 'install 'install-games
(lambda* (#:key outputs #:allow-other-keys)
@@ -1560,7 +1512,8 @@ if __name__ == \"__main__\":
inputs))))))))
#t))))))
(inputs
- `(("python2-renpy" ,python2-renpy)
+ `(("renpy.in" ,(search-auxiliary-file "renpy/renpy.in"))
+ ("python2-renpy" ,python2-renpy)
("python2-tkinter" ,python-2 "tk")
("python2" ,python-2) ; for ‘fix-commands’ and ‘wrap’
("xdg-utils" ,xdg-utils)))
@@ -1767,7 +1720,7 @@ of use.")
(define-public openmw
(package
(name "openmw")
- (version "0.46.0")
+ (version "0.47.0")
(source
(origin
(method git-fetch)
@@ -1777,24 +1730,27 @@ of use.")
(file-name (git-file-name name version))
(sha256
(base32
- "0rm32zsmxvr6b0jjihfj543skhicbw5kg6shjx312clhlm035w2x"))))
+ "19mcbnjl4279qalb97msf965bjax48mx1r1qczyvwhn28h6n3bsy"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f ; No test target
#:configure-flags
- (list "-DDESIRED_QT_VERSION=5")))
+ (list "-DDESIRED_QT_VERSION=5"
+ "-DOPENMW_USE_SYSTEM_RECASTNAVIGATION=ON")))
(native-inputs
(list boost doxygen pkg-config))
(inputs
- `(("bullet" ,bullet)
- ("ffmpeg" ,ffmpeg)
- ("libxt" ,libxt)
- ("mygui" ,mygui-gl) ; OpenMW does not need Ogre.
- ("openal" ,openal)
- ("openscenegraph" ,openmw-openscenegraph)
- ("qtbase" ,qtbase-5)
- ("sdl" ,sdl2)
- ("unshield" ,unshield)))
+ (list bullet
+ ffmpeg
+ libxt
+ lz4
+ mygui-gl ; OpenMW does not need Ogre.
+ openal
+ openmw-openscenegraph
+ qtbase-5
+ recastnavigation
+ sdl2
+ unshield))
(synopsis "Re-implementation of the RPG Morrowind engine")
(description
"OpenMW is a game engine which reimplements and extends the one that runs
@@ -1807,7 +1763,7 @@ games.")
(define-public godot
(package
(name "godot")
- (version "3.4")
+ (version "3.4.2")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -1816,7 +1772,7 @@ games.")
(file-name (git-file-name name version))
(sha256
(base32
- "0y542zla6msgxf31rd0349d9j3ya7f3njnwmmrh8lmzfgxx86qbx"))
+ "1bm9yl995chvx6jwkdia12yjrgwcpzb1r9bmj606q8z264aw2ma5"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-1)))
@@ -1854,8 +1810,7 @@ games.")
(for-each delete-file-recursively
(lset-difference string=?
(scandir ".")
- (cons* "." ".." preserved-files)))))
- #t))))
+ (cons* "." ".." preserved-files)))))))))
(build-system scons-build-system)
(arguments
`(#:scons ,scons-python2
@@ -1889,8 +1844,7 @@ games.")
(("env_base = Environment\\(tools=custom_tools\\)")
(string-append
"env_base = Environment(tools=custom_tools)\n"
- "env_base = Environment(ENV=os.environ)")))
- #t))
+ "env_base = Environment(ENV=os.environ)")))))
;; Build headless tools, used for packaging games without depending on X.
(add-after 'build 'build-headless
(lambda* (#:key scons-flags #:allow-other-keys)
@@ -1913,8 +1867,7 @@ games.")
(install-file "godot_server" (string-append headless "/bin")))
;; Tell the editor where to find zenity for OS.alert().
(wrap-program (string-append out "/bin/godot")
- `("PATH" ":" prefix (,(string-append zenity "/bin")))))
- #t))
+ `("PATH" ":" prefix (,(string-append zenity "/bin")))))))
(add-after 'install 'wrap
(lambda* (#:key inputs outputs #:allow-other-keys)
;; FIXME: Mesa tries to dlopen libudev.so.0 and fails. Pending a
@@ -1922,12 +1875,11 @@ games.")
;; Mesa can find libudev.so.0 through LD_LIBRARY_PATH.
;; also append ld path for pulseaudio and alsa-lib
(let* ((out (assoc-ref outputs "out"))
- (udev_path (string-append (assoc-ref inputs "udev") "/lib"))
+ (udev_path (string-append (assoc-ref inputs "eudev") "/lib"))
(pulseaudio_path (string-append (assoc-ref inputs "pulseaudio") "/lib"))
(alas_lib_path (string-append (assoc-ref inputs "alsa-lib") "/lib")))
(wrap-program (string-append out "/bin/godot")
- `("LD_LIBRARY_PATH" ":" prefix (,udev_path ,pulseaudio_path ,alas_lib_path))))
- #t))
+ `("LD_LIBRARY_PATH" ":" prefix (,udev_path ,pulseaudio_path ,alas_lib_path))))))
(add-after 'install 'install-godot-desktop
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
@@ -1941,33 +1893,34 @@ games.")
(copy-file icon dest))
'("icon.png" "icon.svg")
`(,(string-append icons "/256x256/apps/godot.png")
- ,(string-append icons "/scalable/apps/godot.svg"))))
- #t)))))
+ ,(string-append icons "/scalable/apps/godot.svg")))))))))
(outputs '("out" "headless"))
- (native-inputs (list pkg-config))
- (inputs `(("alsa-lib" ,alsa-lib)
- ("bullet" ,bullet)
- ("freetype" ,freetype)
- ("glew" ,glew)
- ("glu" ,glu)
- ("libtheora" ,libtheora)
- ("libvorbis" ,libvorbis)
- ("libvpx" ,libvpx)
- ("libwebp" ,libwebp)
- ("libx11" ,libx11)
- ("libxcursor" ,libxcursor)
- ("libxi" ,libxi)
- ("libxinerama" ,libxinerama)
- ("libxrandr" ,libxrandr)
- ("mbedtls" ,mbedtls-apache)
- ("mesa" ,mesa)
- ("opusfile" ,opusfile)
- ("pcre2" ,pcre2)
- ("pulseaudio" ,pulseaudio)
- ("udev" ,eudev) ;FIXME: required by mesa
- ("wslay" ,wslay)
- ("zenity" ,zenity)
- ("zstd" ,zstd "lib")))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list alsa-lib
+ bullet
+ freetype
+ glew
+ glu
+ libtheora
+ libvorbis
+ libvpx
+ libwebp
+ libx11
+ libxcursor
+ libxi
+ libxinerama
+ libxrandr
+ mbedtls-apache
+ mesa
+ opusfile
+ pcre2
+ pulseaudio
+ eudev ; FIXME: required by mesa
+ wslay
+ zenity
+ `(,zstd "lib")))
(home-page "https://godotengine.org/")
(synopsis "Advanced 2D and 3D game engine")
(description
@@ -2837,3 +2790,54 @@ fully dynamic omnidirectional shadows, global illumination, HDR lighting,
deferred shading, morphological / temporal / multisample anti-aliasing, and
much more.")
(license license:zlib))))
+
+(define-public recastnavigation
+ ;; We follow master since there hasn't been a release since 1.5.1 in 2016.
+ (let ((commit "c5cbd53024c8a9d8d097a4371215e3342d2fdc87")
+ (revision "1"))
+ (package
+ (name "recastnavigation")
+ (version (git-version "1.5.1" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/recastnavigation/recastnavigation")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "034bm47gc3r285w1pnvkhmm74zz99d204b1r865gisaiq4qfbza0"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:configure-flags (list "-DBUILD_SHARED_LIBS=ON"
+ "-DRECASTNAVIGATION_DEMO=OFF"
+ "-DRECASTNAVIGATION_TESTS=ON"
+ "-DRECASTNAVIGATION_EXAMPLES=OFF")))
+ (synopsis "Navigation system for games")
+ (description "Recast is state of the art navigation mesh
+construction toolset for games.
+
+@itemize
+@item It is automatic, which means that you can throw any level geometry
+ at it and you will get robust mesh out.
+@item It is fast which means swift turnaround times for level designers.
+@item It is open source so it comes with full source and you can
+ customize it to your heart's content.
+@end itemize
+
+The Recast process starts with constructing a voxel mold from a level
+geometry and then casting a navigation mesh over it. The process
+consists of three steps, building the voxel mold, partitioning the mold
+into simple regions, peeling off the regions as simple polygons.
+
+Recast is accompanied with Detour, path-finding and spatial reasoning
+toolkit. You can use any navigation mesh with Detour, but of course the
+data generated with Recast fits perfectly.
+
+Detour offers simple static navigation mesh which is suitable for many
+simple cases, as well as tiled navigation mesh which allows you to plug
+in and out pieces of the mesh. The tiled mesh allows you to create
+systems where you stream new navigation data in and out as the player
+progresses the level, or you may regenerate tiles as the world changes.")
+ (home-page "https://github.com/recastnavigation/recastnavigation")
+ (license license:zlib))))
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 6258d65f97..591a3d3f38 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -30,7 +30,7 @@
;;; Copyright © 2017, 2019, 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com>
;;; Copyright © 2017 Roel Janssen <roel@gnu.org>
-;;; Copyright © 2017, 2018, 2019, 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
+;;; Copyright © 2017-2022 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2018 okapi <okapi@firemail.cc>
;;; Copyright © 2018 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
;;; Copyright © 2018 Madalin Ionel-Patrascu <madalinionel.patrascu@mdc-berlin.de>
@@ -42,7 +42,7 @@
;;; Copyright © 2019 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2019, 2020 Jesse Gibbons <jgibbons2357+guix@gmail.com>
;;; Copyright © 2019 Dan Frumin <dfrumin@cs.ru.nl>
-;;; Copyright © 2019, 2020, 2021 Guillaume Le Vaillant <glv@posteo.net>
+;;; Copyright © 2019, 2020, 2021, 2022 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2019, 2020 Timotej Lazar <timotej.lazar@araneo.si>
;;; Copyright © 2019 Josh Holland <josh@inv.alid.pw>
;;; Copyright © 2019 Pkill -9 <pkill9@runbox.com>
@@ -61,12 +61,13 @@
;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at>
;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
;;; Copyright © 2021 David Pflug <david@pflug.io>
-;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
+;;; Copyright © 2021, 2022 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2021 Solene Rapenne <solene@perso.pw>
;;; Copyright © 2021 Noisytoot <noisytoot@disroot.org>
;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2021 Brendan Tildesley <mail@brendan.scot>
;;; Copyright © 2021 Christopher Baines <mail@cbaines.net>
+;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo@hotmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -151,6 +152,7 @@
#:use-module (gnu packages kde)
#:use-module (gnu packages kde-frameworks)
#:use-module (gnu packages less)
+ #:use-module (gnu packages lesstif)
#:use-module (gnu packages libcanberra)
#:use-module (gnu packages libedit)
#:use-module (gnu packages libidn)
@@ -194,6 +196,7 @@
#:use-module (gnu packages texinfo)
#:use-module (gnu packages textutils)
#:use-module (gnu packages tls)
+ #:use-module (gnu packages unicode)
#:use-module (gnu packages upnp)
#:use-module (gnu packages video)
#:use-module (gnu packages vulkan)
@@ -1360,6 +1363,7 @@ effects and music to make a completely free game.")
`(#:configure-flags
(list
(string-append "CFLAGS="
+ "-fcommon " ; XXX needed to build with GCC 10
"-I" (assoc-ref %build-inputs "sdl-gfx") "/include/SDL "
"-I" (assoc-ref %build-inputs "sdl-image") "/include/SDL "
"-I" (assoc-ref %build-inputs "sdl-mixer") "/include/SDL")
@@ -1754,7 +1758,6 @@ destroying an ancient book using a special wand.")
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
- #:meson ,meson-0.59
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'skip-gtk-update-icon-cache
@@ -2342,7 +2345,7 @@ exec -a \"~a\" ~a \"$@\"\n"
(inputs
(list python-pygame python-tmx))
(home-page "https://rogueboxadventures.tuxfamily.org")
- (synopsis "A classical roguelike/sandbox game")
+ (synopsis "Classical roguelike/sandbox game")
(description
"RogueBox Adventures is a graphical roguelike with strong influences
from sandbox games like Minecraft or Terraria. The main idea of RogueBox
@@ -3724,54 +3727,49 @@ Widgets, and allows users to create more.")
(uri (string-append "https://codeload.github.com/fifengine/"
"fifengine/tar.gz/" version))
(file-name (string-append name "-" version ".tar.gz"))
- (patches (search-patches "fifengine-swig-compat.patch"))
+ (patches (search-patches "fifengine-swig-compat.patch"
+ "fifengine-boost-compat.patch"))
(sha256
(base32
"1y4grw25cq5iqlg05rnbyxw1njl11ypidnlsm3qy4sm3xxdvb0p8"))))
(build-system cmake-build-system)
(arguments
- `(#:tests? #f ; TODO The test running fails to run some tests.
- #:imported-modules ,(cons '(guix build python-build-system)
- %cmake-build-system-modules)
- #:modules ((guix build cmake-build-system)
- ((guix build python-build-system) #:select (guix-pythonpath))
- (guix build utils)
- (srfi srfi-1))
- #:configure-flags
- (list
- (string-append "-DOPENALSOFT_INCLUDE_DIR="
- (assoc-ref %build-inputs "openal")
- "/include/AL")
- (string-append "-DPYTHON_SITE_PACKAGES="
- (assoc-ref %outputs "out")
- "/lib/python"
- ,(version-major+minor (package-version python))
- "/site-packages"))
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-run_tests.py
- (lambda _
- ;; Patch the test runner to exit with a status of 1 if any test
- ;; fails, to allow detecting failures.
- (substitute* "run_tests.py"
- (("ERROR\\. One or more tests failed!'\\)")
- "ERROR. One or more tests failed!')
-\t\texit(1)"))
- #t))
- ;; Run tests after installation so that we can make use of the built
- ;; python modules.
- (delete 'check)
- (add-after 'install 'check
- (lambda* (#:key inputs outputs tests? #:allow-other-keys)
- (when tests?
- (add-installed-pythonpath inputs outputs)
- ;; The tests require an X server.
- (system "Xvfb :1 &")
- (setenv "DISPLAY" ":1")
- (setenv "XDG_RUNTIME_DIR" "/tmp")
- ;; Run tests
- (chdir ,(string-append "../" name "-" version))
- (invoke "python3" "run_tests.py" "-a")))))))
+ (list #:tests? #f ;TODO The test running fails to run some tests.
+ #:configure-flags
+ #~(list
+ (string-append "-DOPENALSOFT_INCLUDE_DIR="
+ (search-input-directory %build-inputs "include/AL"))
+ (string-append "-DPYTHON_SITE_PACKAGES="
+ #$output "/lib/python"
+ #$(version-major+minor
+ (package-version (this-package-input "python")))
+ "/site-packages"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-run_tests.py
+ (lambda _
+ ;; Patch the test runner to exit with a status of 1 if any test
+ ;; fails, to allow detecting failures.
+ (substitute* "run_tests.py"
+ (("ERROR\\. One or more tests failed!'\\)")
+ "ERROR. One or more tests failed!')
+\t\texit(1)"))))
+ ;; Run tests after installation so that we can make use of the built
+ ;; python modules.
+ (delete 'check)
+ (add-after 'install 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; The tests require an X server.
+ (system "Xvfb :1 &")
+ (setenv "DISPLAY" ":1")
+ (setenv "XDG_RUNTIME_DIR" "/tmp")
+ ;; Run tests
+ (chdir #$(string-append "../" (package-name this-package)
+ "-" (package-version this-package)))
+ (invoke "python3" "run_tests.py" "-a")))))))
+ (native-inputs
+ (list python swig xorg-server-for-tests))
(inputs
(list sdl2
sdl2-image
@@ -3785,10 +3783,6 @@ Widgets, and allows users to create more.")
fifechan
swig
python))
- (native-inputs
- `(("python" ,python)
- ("swig" ,swig)
- ("xvfb" ,xorg-server)))
(propagated-inputs
(list python-future))
(home-page "https://www.fifengine.net/")
@@ -5141,7 +5135,8 @@ tactics.")
(patches
;; Use system Minizip. Patch is provided by Debian, and discussed
;; upstream at <https://github.com/widelands/widelands/issues/399>.
- (search-patches "widelands-system-wide_minizip.patch"))))
+ (search-patches "widelands-system-wide_minizip.patch"
+ "widelands-add-missing-map-include.patch"))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags
@@ -5447,7 +5442,7 @@ with the \"Stamp\" tool within Tux Paint.")
(define-public supertux
(package
(name "supertux")
- (version "0.6.2")
+ (version "0.6.3")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/SuperTux/supertux/"
@@ -5456,7 +5451,7 @@ with the \"Stamp\" tool within Tux Paint.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "167m3z4m8n76dvbv42m1fnvabpbpsxvr28zk9641916jl9pfba96"))
+ "1xkr3ka2sxp5s0spp84iv294i29s1vxqzazb6kmjc0n415h0x57p"))
(patches
(search-patches "supertux-unbundle-squirrel.patch"))))
(arguments
@@ -5476,18 +5471,19 @@ with the \"Stamp\" tool within Tux Paint.")
(string-append "${SQUIRREL_PREFIX}/include/squirrel"))))
#t)))))
(build-system cmake-build-system)
- (inputs (list sdl2
- sdl2-image
- sdl2-mixer
- openal
- mesa
+ (inputs (list boost
+ curl
+ freetype
glew
- libvorbis
+ glm
libogg
+ libvorbis
+ mesa
+ openal
physfs
- curl
- boost
- freetype
+ sdl2
+ sdl2-image
+ sdl2-mixer
squirrel))
(native-inputs
(list pkg-config))
@@ -5500,7 +5496,7 @@ a style similar to the original Super Mario games.")
(define-public tintin++
(package
(name "tintin++")
- (version "2.02.11")
+ (version "2.02.12")
(source
(origin
(method url-fetch)
@@ -5508,7 +5504,7 @@ a style similar to the original Super Mario games.")
(string-drop-right version 1)
"/tintin-" version ".tar.gz"))
(sha256
- (base32 "1xdim1ckq1kgjyxmghcnvnahq1llv2y70gz3yyvzbli63vpqk4mk"))))
+ (base32 "000sg16w7790ha8ys31qjh1ip5hl02ldfwj1zy6dqz0y5i7zvydn"))))
(inputs
(list gnutls pcre readline zlib))
(arguments
@@ -5968,8 +5964,8 @@ Magic, Egypt, Indians, Norsemen, Persian or Romans.")
(license license:gpl2+)))
(define-public freegish
- (let ((commit "8795cd7adc95957883f2d3465eb9036a774667a7")
- (revision "1"))
+ (let ((commit "21977ee5fc2008231b35160df00efe954c508b16")
+ (revision "2"))
(package
(name "freegish")
(version (string-append "0-" revision "." (string-take commit 9)))
@@ -5981,7 +5977,7 @@ Magic, Egypt, Indians, Norsemen, Persian or Romans.")
(file-name (git-file-name name version))
(sha256
(base32
- "1p1zf5qqagmcpi1db2bs02cnalpy3qiymp6yzan7k1bhmv859gsx"))
+ "1qh0gcnbyxyzmb13jifwba4xrzj94m4w9whdvl0gnds6ricmwply"))
(modules '((guix build utils)))
;; The audio files in the "music" directory are licensed under
;; CC-BY-NC, so we delete them.
@@ -6622,12 +6618,12 @@ fight against their plot and save his fellow rabbits from slavery.")
wxwidgets
zlib))
(native-inputs
- `(("boost" ,boost)
- ("cmake" ,cmake-minimal)
- ("cxxtest" ,cxxtest)
- ("mesa" ,mesa)
- ("pkg-config" ,pkg-config)
- ("python-2" ,python-2)))
+ (list boost
+ cmake-minimal
+ cxxtest
+ mesa
+ pkg-config
+ python-2))
(build-system gnu-build-system)
(arguments
`(#:make-flags '("config=release" "verbose=1" "-C" "build/workspaces/gcc")
@@ -6643,6 +6639,18 @@ fight against their plot and save his fellow rabbits from slavery.")
(string-append "\"" (assoc-ref inputs "cxxtest")
"/bin/cxxtestgen"
"\"")))))
+ (add-after 'unpack 'fix-mozjs-compatibility
+ ;; 0ad only builds fine with a specific version of mozjs
+ ;; (version 78.6 for 0ad-0.0.25).
+ ;; Here we change the error in case of version mismatch to a warning,
+ ;; and add some minor compatibility fixes.
+ (lambda _
+ (substitute* "source/scriptinterface/ScriptTypes.h"
+ (("#error Your compiler is trying to use")
+ "#warning Your compiler is trying to use"))
+ (substitute* "source/scriptinterface/ScriptContext.cpp"
+ (("JS::PrepareZoneForGC\\(")
+ "JS::PrepareZoneForGC(m_cx, "))))
(replace 'configure
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
(let* ((jobs (number->string (parallel-job-count)))
@@ -7161,17 +7169,17 @@ elements to achieve a simple goal in the most complex way possible.")
(native-inputs
(list pkg-config))
(inputs
- `(("assimp" ,assimp)
- ("curl" ,curl)
- ("freetype" ,freetype)
- ("glew" ,glew)
- ("glu" ,glu)
- ("libpng" ,libpng)
- ("libsigc++" ,libsigc++)
- ("libvorbis" ,libvorbis)
- ("lua" ,lua-5.2) ;not compatible with 5.3
- ("mesa" ,mesa)
- ("sdl" ,(sdl-union (list sdl2 sdl2-image)))))
+ (list assimp
+ curl
+ freetype
+ glew
+ glu
+ libpng
+ libsigc++-2
+ libvorbis
+ lua-5.2 ;not compatible with 5.3
+ mesa
+ (sdl-union (list sdl2 sdl2-image))))
(arguments
`(#:tests? #f ;tests are broken
#:configure-flags (list "-DUSE_SYSTEM_LIBLUA:BOOL=YES"
@@ -7492,16 +7500,17 @@ original.")
(define shlomif-cmake-modules
(origin
(method url-fetch)
- (uri (string-append "https://bitbucket.org/shlomif/shlomif-cmake-modules/"
- "raw/c505713d7a7cda608f97f01577e5868a711b883e/"
- "shlomif-cmake-modules/Shlomif_Common.cmake"))
+ (uri (string-append
+ "https://raw.githubusercontent.com/shlomif/shlomif-cmake-modules/"
+ "89f05caf86078f783873975525230cf4fecede8a"
+ "/shlomif-cmake-modules/Shlomif_Common.cmake"))
(sha256
- (base32 "0kx9s1qqhhzprp1w3b67xmsns0n0v506bg5hgrshxaxpy6lqiwb2"))))
+ (base32 "05xdikw5ln0yh8p5chsmd8qnndmxg5b5vjlfpdqrjcb1ncqzywkc"))))
(define-public rinutils
(package
(name "rinutils")
- (version "0.2.0")
+ (version "0.10.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -7510,17 +7519,37 @@ original.")
(file-name (git-file-name name version))
(sha256
(base32
- "1fpxyg86ggv0h7j8aarjjxrvwlj7jycd3bw066c0dwkq2fszxsf2"))))
- (native-inputs
- `(("perl" ,perl)
- ;; The following is only needed for tests.
- ("perl-file-find-object" ,perl-file-find-object)
- ("perl-test-differences" ,perl-test-differences)
- ("perl-class-xsaccessor" ,perl-class-xsaccessor)
- ("perl-io-all" ,perl-io-all)
- ("perl-test-runvalgrind" ,perl-test-runvalgrind)
- ("cmake-rules" ,shlomif-cmake-modules)
- ("pkg-config" ,pkg-config)))
+ "05h9sq3w900mx8xij7qgqgqcbdk1x5gvbpz7prw2pfbzrrbiq2ns"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'copy-cmake-modules
+ (lambda _
+ (copy-file #$shlomif-cmake-modules
+ (string-append "cmake/"
+ (strip-store-file-name
+ #$shlomif-cmake-modules)))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion "../source"
+ (setenv "FCS_TEST_BUILD" "1")
+ (setenv "RINUTILS_TEST_BUILD" "1")
+ ;; TODO: Run tests after setting RINUTILS_TEST_TIDY to `1',
+ ;; which requires tidy-all.
+ ;; (setenv "RINUTILS_TEST_TIDY" "1")
+ (invoke "perl"
+ "CI-testing/continuous-integration-testing.pl"))))))))
+ (native-inputs
+ (list perl
+ ;; The following are needed only for tests.
+ perl-class-xsaccessor
+ perl-file-find-object
+ perl-io-all
+ perl-test-differences
+ perl-test-runvalgrind
+ pkg-config))
(inputs
(list cmocka
perl-env-path
@@ -7532,27 +7561,6 @@ original.")
perl-text-glob
perl-number-compare
perl-moo))
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-build-env
- (lambda* (#:key inputs #:allow-other-keys)
- (use-modules (guix build utils))
- (let* ((cmake-rules (assoc-ref inputs "cmake-rules")))
- (copy-file cmake-rules
- (string-append "cmake/"
- (strip-store-file-name cmake-rules)))
- #t)))
- (replace 'check
- (lambda _
- (with-directory-excursion "../source"
- (setenv "FCS_TEST_BUILD" "1")
- (setenv "RINUTILS_TEST_BUILD" "1")
- ;; TODO: Run tests after setting RINUTILS_TEST_TIDY to `1',
- ;; which requires tidy-all.
- ;; (setenv "RINUTILS_TEST_TIDY" "1")
- (invoke "perl" "CI-testing/continuous-integration-testing.pl")))))))
- (build-system cmake-build-system)
(home-page "https://www.shlomifish.org/open-source/projects/")
(synopsis "C11 / gnu11 utilities C library")
(description "This package provides C11 / gnu11 utilities C library")
@@ -7561,7 +7569,7 @@ original.")
(define-public fortune-mod
(package
(name "fortune-mod")
- (version "2.28.0")
+ (version "3.12.0")
(source
(origin
(method git-fetch)
@@ -7570,47 +7578,58 @@ original.")
(commit (string-append "fortune-mod-" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1ppzgnffgdcmq6fq4gmdq2ig10ip2bnfgklkb3i8nc6bdxm7pb89"))))
+ (base32 "1iq3bxrw8758jqvfqaasd7w1zm0g28g9n25qccnzvr98997h6r2n"))))
(build-system cmake-build-system)
(arguments
- `(#:test-target "check"
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-build-env
- (lambda* (#:key inputs #:allow-other-keys)
- (use-modules (guix build utils))
- (let* ((cmake-rules (assoc-ref inputs "cmake-rules")))
- (copy-file cmake-rules
- (string-append "fortune-mod/cmake/"
- (strip-store-file-name cmake-rules)))
- (chdir "fortune-mod")
- ;; TODO: Valgrind tests fail for some reason.
- ;; Similar issue: https://github.com/shlomif/fortune-mod/issues/21 (?)
- (delete-file "tests/t/valgrind.t")
- #t)))
- (add-after 'install 'fix-install-directory
- (lambda* (#:key outputs #:allow-other-keys)
- ;; Move binary from "games/" to "bin/" and remove the latter. This
- ;; is easier than patching CMakeLists.txt since the tests hard-code
- ;; the location as well.
- (let* ((out (assoc-ref outputs "out"))
- (bin (string-append out "/bin"))
- (games (string-append out "/games")))
- (rename-file (string-append games "/fortune")
- (string-append bin "/fortune"))
- (rmdir games)
- #t))))))
+ (list #:test-target "check"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'enter-build-directory
+ (lambda _
+ (chdir "fortune-mod")))
+ (add-after 'enter-build-directory 'symlink-rinutils
+ (lambda _
+ (mkdir-p "rinutils")
+ (symlink #$(this-package-native-input "rinutils")
+ "rinutils/rinutils")))
+ (add-after 'enter-build-directory 'copy-cmake-modules
+ (lambda _
+ (copy-file #$shlomif-cmake-modules
+ (string-append "cmake/"
+ (strip-store-file-name
+ #$shlomif-cmake-modules)))))
+ (add-after 'enter-build-directory 'delete-failing-test
+ (lambda _
+ ;; TODO: Valgrind tests fail for some reason. Similar issue?
+ ;; https://github.com/shlomif/fortune-mod/issues/21
+ (delete-file "tests/data/valgrind.t")
+ (with-output-to-file "tests/scripts/split-valgrind.pl"
+ (const #t))))
+ (add-after 'install 'fix-install-directory
+ (lambda* (#:key outputs #:allow-other-keys)
+ ;; Move binary from "games/" to "bin/" and remove the
+ ;; latter. This is easier than patching CMakeLists.txt
+ ;; since the tests hard-code the location as well.
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin"))
+ (games (string-append out "/games")))
+ (rename-file (string-append games "/fortune")
+ (string-append bin "/fortune"))
+ (rmdir games)))))))
(inputs (list recode))
(native-inputs
- `(("perl" ,perl)
- ;; The following is only needed for tests.
- ("perl-file-find-object" ,perl-file-find-object)
- ("perl-test-differences" ,perl-test-differences)
- ("perl-class-xsaccessor" ,perl-class-xsaccessor)
- ("perl-io-all" ,perl-io-all)
- ("perl-test-runvalgrind" ,perl-test-runvalgrind)
- ("cmake-rules" ,shlomif-cmake-modules)
- ("rinutils" ,rinutils)))
+ (list perl
+ ;; For generating the documentation.
+ docbook-xml-5
+ docbook-xsl
+ perl-app-xml-docbook-builder
+ ;; The following are only needed for tests.
+ perl-file-find-object
+ perl-test-differences
+ perl-class-xsaccessor
+ perl-io-all
+ perl-test-runvalgrind
+ rinutils))
(home-page "https://www.shlomifish.org/open-source/projects/fortune-mod/")
(synopsis "The Fortune Cookie program from BSD games")
(description "Fortune is a command-line utility which displays a random
@@ -7909,37 +7928,37 @@ ncurses for text display.")
(define-public naev
(package
(name "naev")
- (version "0.8.2")
+ (version "0.9.2")
(source
(origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/naev/naev")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
+ (method url-fetch)
+ (uri (string-append "https://github.com/naev/naev/releases/download/v"
+ version "/naev-" version "-source.tar.xz"))
(sha256
- (base32 "02rk2fv2nhx5xsi0cariisamab3dpncwps4q3i3ki0y27xpwxzfx"))))
+ (base32 "1p6424n2rgrlb0h71gvww40vxs1h583d9im8bzgmv6dhgclbg0nl"))))
(build-system meson-build-system)
(arguments
;; XXX: Do not add debugging symbols, which cause the build to fail.
`(#:configure-flags (list "--buildtype=release")
#:tests? #f)) ;sole test fails with a missing "/dev/dri" error
(native-inputs
- `(("gettext" ,gettext-minimal)
- ("pkg-config" ,pkg-config)))
+ (list gettext-minimal pkg-config))
(inputs
- `(("freetype" ,freetype)
- ("glpk" ,glpk)
- ("libpng" ,libpng)
- ("libvorbis" ,libvorbis)
- ("libwebp" ,libwebp)
- ("libxml2" ,libxml2)
- ("luajit" ,luajit)
- ("openal" ,openal)
- ("openblas" ,openblas)
- ("physfs" ,physfs)
- ("sdl" ,(sdl-union (list sdl2 sdl2-image sdl2-mixer)))
- ("suitesparse" ,suitesparse)))
+ (list freetype
+ glpk
+ libpng
+ libunibreak
+ libvorbis
+ libwebp
+ libxml2
+ luajit
+ openal
+ openblas
+ physfs
+ python
+ python-pyyaml
+ (sdl-union (list sdl2 sdl2-image sdl2-mixer))
+ suitesparse))
(home-page "https://naev.org/")
(synopsis "Game about space exploration, trade and combat")
(description
@@ -7956,14 +7975,7 @@ of lore accompanying everything from planets to equipment.")
license:expat ;edtaa3func.c
license:bsd-2 ;distance_field.c
license:bsd-3 ;perlin.c
- ;; Assets.
- license:silofl1.1
- license:gpl2+
- license:cc0
- license:cc-by3.0
- license:cc-by-sa3.0
- license:cc-by4.0
- license:cc-by-sa4.0))))
+ ))))
(define-public frotz-dumb-terminal
(package
@@ -8748,7 +8760,7 @@ where the player draws runes in real time to effect the desired spell.")
(define-public edgar
(package
(name "edgar")
- (version "1.34")
+ (version "1.35")
(source
(origin
(method url-fetch)
@@ -8756,7 +8768,7 @@ where the player draws runes in real time to effect the desired spell.")
(string-append "https://github.com/riksweeney/edgar/releases/download/"
version "/edgar-" version "-1.tar.gz"))
(sha256
- (base32 "1121rq5wk3g8rs413av84s2kcy6qj6maspgy2vsxs36c2jd3yygl"))))
+ (base32 "0hwp73ili10kzx0aibhvgxfddqm94pimdaqhpnba6jzn119834q7"))))
(build-system gnu-build-system)
(arguments '(#:tests? #f ; there are no tests
#:make-flags
@@ -8773,15 +8785,15 @@ where the player draws runes in real time to effect the desired spell.")
(search-input-directory inputs "/include/SDL2")
":" (or (getenv "CPATH") ""))))))))
(inputs
- `(("sdl2-union" ,(sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf)))
- ("zlib" ,zlib)))
+ (list (sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf))
+ zlib))
(native-inputs
- `(("pkg-config" ,pkg-config)
- ("autoconf" ,autoconf)
- ("automake" ,automake)
- ("gnu-gettext" ,gettext-minimal)
- ("libtool" ,libtool)
- ("which" ,which)))
+ (list pkg-config
+ autoconf
+ automake
+ gettext-minimal
+ libtool
+ which))
(synopsis "2d action platformer game")
(description "The Legend of Edgar is a 2D platform game with a persistent world.
When Edgar's father fails to return home after venturing out one dark and stormy night,
@@ -12200,6 +12212,80 @@ game.") ;thanks to Debian for description
computer opponents or against real players online.")
(license license:agpl3+)))
+(define-public xblackjack
+ (package
+ (name "xblackjack")
+ (version "2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://www.ibiblio.org/pub/X11/contrib/games/"
+ "xblackjack-" version ".tar.gz"))
+ (sha256
+ (base32 "05h93rya7zwnx2l58f0a7wkjadymkj4y77clcr2hryhrhhy1vwjx"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'configure
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((imake (assoc-ref inputs "imake"))
+ (out (assoc-ref outputs "out")))
+ (substitute* "Imakefile"
+ (("EXTRA_LIBRARIES = -lXm \\$\\(DEPLIBS\\) -lbsd")
+ "EXTRA_LIBRARIES = -lXm -lXt -lXmu -lXext -lX11")
+ (("^#define NonStandardInstallTargets NO")
+ "#define NonStandardInstallTargets YES")
+ (("BINDIR = /usr/local/bin")
+ (string-append "BINDIR = " out "/bin"))
+ (("MANDIR = /usr/local/man/cat1")
+ (string-append "MANDIR = " out "/share/man/man1"))
+ (("XAPPLOADDIR = /usr/local/lib/app-defaults")
+ (string-append "XAPPLOADDIR = " out "/lib/X11/app-defaults")))
+
+ (invoke "xmkmf") ; Generate Makefile.
+ (substitute* "Makefile"
+ ((imake) out)
+ (("ETCX11DIR = /etc/X11")
+ (string-append "ETCX11DIR = " out "/etc/X11"))
+ ;; Fix incorrect argument given to gcc. Error message:
+ ;; "gcc: error: DefaultGcc2AMD64Opt: No such file or directory"
+ (("CDEBUGFLAGS = [^\n]*") ""))
+
+ ;; Fix header paths.
+ (substitute* '("Draw.c"
+ "Strategy.c")
+ (("^#include <X11/Xm/Xm.h>")
+ "#include <Xm/Xm.h>"))
+ (substitute* "Strategy.c"
+ (("^#include <X11/Xm/Label.h>")
+ "#include <Xm/Label.h>"))
+
+ ;; Fix compilation errors.
+ (substitute* "Table.c"
+ (("/\\* focus_moved_proc \\*/\tXtInheritFocusMovedProc,") "")
+ (("_XmMoveObject\\(\\(RectObj\\) w, rx, ry\\);")
+ "_XmMoveObject(w, rx, ry);")
+ (("_XmResizeObject\\(\\(RectObj\\) managed->locs[i].w, nw, nh,")
+ "_XmResizeObject(managed->locs[i].w, nw, nh,")))))
+ (add-after 'install 'install-man-pages
+ (lambda _
+ (invoke "make" "install.man"))))
+ #:tests? #f)) ; No check target.
+ (inputs
+ (list lesstif libx11 libxext libxmu libxt))
+ (native-inputs
+ (list imake))
+ (home-page "https://www.ibiblio.org/pub/X11/contrib/games/")
+ (synopsis "X11/Motif blackjack game")
+ (description
+ "Xblackjack is a MOTIF/OLIT based tool constructed to get you ready for
+the casino. It was inspired by a book called \"Beat the Dealer\" by Edward
+O. Thorp, Ph.D. of UCLA. A number of important statistics are maintained
+for display, and used by the program to implement Thorp's \"Complete Point
+System\" (high-low system).")
+ (license (license:x11-style "" "See file headers."))))
+
(define-public azimuth
(package
(name "azimuth")
@@ -12476,18 +12562,7 @@ disassembly of the DOS version, extended with new features.")
(define-public fheroes2
(package
(name "fheroes2")
- (version "0.9.10")
- (build-system cmake-build-system)
- (arguments
- `(#:tests? #f ; no tests
- #:make-flags '("FHEROES2_STRICT_COMPILATION=1"
- "RELEASE=1")))
- (native-inputs
- `(("gettext" ,gettext-minimal)))
- (inputs
- `(("libpng" ,libpng)
- ("sdl" ,(sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf)))
- ("zlib" ,zlib)))
+ (version "0.9.11")
(source
(origin
(method git-fetch)
@@ -12496,7 +12571,18 @@ disassembly of the DOS version, extended with new features.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0zz8k1ygw4kwnv403q60v2hdfzk13p89jjgmpfbylhxchjvwaxgh"))))
+ (base32 "1m8649srzg3j2b1hs4x2y8fib6hn7v0afv4c7bjnfk4bhpi4cqd7"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:tests? #f ; no tests
+ #:make-flags '("FHEROES2_STRICT_COMPILATION=1"
+ "RELEASE=1")))
+ (native-inputs
+ (list gettext-minimal))
+ (inputs
+ (list libpng
+ (sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf))
+ zlib))
(home-page "https://ihhub.github.io/fheroes2/")
(synopsis "Turn-based strategy game engine")
(description "@code{fheroes2} is an implementation of Heroes of Might and
diff --git a/gnu/packages/gawk.scm b/gnu/packages/gawk.scm
index cb79e32a7a..1935e73ab7 100644
--- a/gnu/packages/gawk.scm
+++ b/gnu/packages/gawk.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2021 Marius Bakke <marius@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -93,3 +94,30 @@ language for the easy manipulation of formatted text, such as tables of data.
Gawk features many extensions beyond the traditional implementation,
including network access, sorting, and large libraries.")
(license gpl3+)))
+
+(define-public mawk
+ (package
+ (name "mawk")
+ (version "1.3.4-20200120")
+ (home-page "https://invisible-island.net/mawk/mawk.html")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://invisible-mirror.net/archives/mawk"
+ "/mawk-" version ".tgz"))
+ (sha256
+ (base32
+ "0dw2icf8bnqd9y0clfd9pkcxz4b2phdihwci13z914mf3wgcvm3z"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Prevent tests from hard coding PATH to a bogus value.
+ (substitute* '("test/mawktest" "test/fpe_test")
+ (("^PATH=.*")
+ ""))))))
+ (build-system gnu-build-system)
+ (synopsis "Text scanning and processing language")
+ (description
+ "@command{mawk} is an interpreter for the Awk programming language.
+This version aims to be smaller and faster than GNU Awk, at the expense
+of fewer features and extensions.")
+ (license gpl2))) ;version 2 only
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index f526680f56..efa0baeaa1 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -525,6 +525,27 @@ Go. It also includes runtime support libraries for these languages.")
,@(package-inputs gcc-4.7)))))
+(define %gcc-7.5-x86_64-micro-architectures
+ ;; Suitable '-march' values for GCC 7.5 (info "(gcc) x86 Options").
+ '("core2" "nehalem" "westmere" "sandybridge" "ivybridge"
+ "haswell" "broadwell" "skylake" "bonnell" "silvermont"
+ "knl" "skylake-avx512"
+
+ "k8" "k8-sse3" "barcelona"
+ "bdver1" "bdver2" "bdver3" "bdver4"
+ "znver1"
+ "btver1" "btver2" "geode"))
+
+(define %gcc-10-x86_64-micro-architectures
+ ;; Suitable '-march' values for GCC 10.
+ (append %gcc-7.5-x86_64-micro-architectures
+ '("goldmont" "goldmont-plus" "tremont"
+ "knm" "cannonlake" "icelake-client" "icelake-server"
+ "cascadelake" "cooperlake" "tigerlake"
+
+ "znver2" "znver3")))
+
+
(define-public gcc-7
(package
(inherit gcc-6)
@@ -542,7 +563,10 @@ Go. It also includes runtime support libraries for these languages.")
(description
"GCC is the GNU Compiler Collection. It provides compiler front-ends
for several languages, including C, C++, Objective-C, Fortran, Ada, and Go.
-It also includes runtime support libraries for these languages.")))
+It also includes runtime support libraries for these languages.")
+ (properties
+ `((compiler-cpu-architectures
+ ("x86_64" ,@%gcc-7.5-x86_64-micro-architectures))))))
(define-public gcc-8
(package
@@ -592,7 +616,10 @@ It also includes runtime support libraries for these languages.")))
(patches (search-patches "gcc-9-strmov-store-file-names.patch"
"gcc-5.0-libvtv-runpath.patch"))
(modules '((guix build utils)))
- (snippet gcc-canadian-cross-objdump-snippet)))))
+ (snippet gcc-canadian-cross-objdump-snippet)))
+ (properties
+ `((compiler-cpu-architectures
+ ("x86_64" ,@%gcc-10-x86_64-micro-architectures))))))
(define-public gcc-11
(package
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 547340f865..23cec0f9b7 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -7,7 +7,7 @@
;;; Copyright © 2018, 2019 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2018 Joshua Sierles, Nextjournal <joshua@nextjournal.com>
;;; Copyright © 2018, 2019, 2020, 2021 Julien Lepiller <julien@lepiller.eu>
-;;; Copyright © 2019, 2020, 2021 Guillaume Le Vaillant <glv@posteo.net>
+;;; Copyright © 2019, 2020, 2021, 2022 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2019, 2021 Wiktor Żelazny <wzelazny@vurv.cz>
;;; Copyright © 2019, 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
@@ -229,8 +229,7 @@ topology functions.")
"037xmkmcmcw87vb1c1s3y225m8757k331cvk1m8cshf6mx61p0l1"))))
(build-system meson-build-system)
(arguments
- `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
- #:glib-or-gtk? #t
+ `(#:glib-or-gtk? #t
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'skip-gtk-update-icon-cache
@@ -517,7 +516,13 @@ fully fledged Spatial SQL capabilities.")
"050apzdn0isxpsblys1shrl9ccli5vd32kgswlgx1imrbwpg915k"))))
(build-system cmake-build-system)
(arguments
- `(#:configure-flags '("-DUSE_EXTERNAL_GTEST=ON")))
+ `(#:configure-flags '("-DUSE_EXTERNAL_GTEST=ON")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-version
+ (lambda _
+ (substitute* "CMakeLists.txt"
+ (("MAJOR 7 MINOR 2 PATCH 0") "MAJOR 7 MINOR 2 PATCH 1")))))))
(inputs
(list curl libjpeg-turbo libtiff sqlite))
(native-inputs
@@ -648,8 +653,14 @@ projections and coordinate transformations library.")
(replace 'check
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
(add-installed-pythonpath inputs outputs)
+ (setenv "GDAL_ENABLE_DEPRECATED_DRIVER_GTM" "YES")
(when tests?
- (invoke "pytest" "-m" "not network and not wheel")))))))
+ (invoke "pytest"
+ "-m" "not network and not wheel"
+ ;; FIXME: Find why the
+ ;; test_no_append_driver_cannot_append[PCIDSK]
+ ;; test is failing.
+ "-k" "not test_no_append_driver_cannot_append")))))))
(inputs
(list gdal))
(propagated-inputs
@@ -685,14 +696,14 @@ pyproj, Rtree, and Shapely.")
(define-public python-geopandas
(package
(name "python-geopandas")
- (version "0.9.0")
+ (version "0.10.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "geopandas" version))
(sha256
(base32
- "02k389zyyjv51gd09c92vlr83sv46awdq0066jgh5i24vjs2m5v3"))))
+ "1nvim2i47ap1zdwy6kxydskf1cir5g4ij8124wvmrqij0zklggzg"))))
(build-system python-build-system)
(arguments
'(#:phases
@@ -830,7 +841,7 @@ development.")
(define-public gdal
(package
(name "gdal")
- (version "3.1.2")
+ (version "3.3.3")
(source (origin
(method url-fetch)
(uri (string-append
@@ -838,7 +849,7 @@ development.")
version ".tar.gz"))
(sha256
(base32
- "1p6nmlsr8wbyq350pa6c22vrp98dcsa7yjnqsbhdbp74yj53nw9r"))
+ "0nk09lws1hk873yn5f4wzqfvr82gm4hw3gq8w9g1h0kvf6j5x4i8"))
(modules '((guix build utils)))
(snippet
`(begin
@@ -1033,14 +1044,14 @@ Shapely capabilities
(define-public postgis
(package
(name "postgis")
- (version "3.1.2")
+ (version "3.2.0")
(source (origin
(method url-fetch)
(uri (string-append "https://download.osgeo.org/postgis/source/postgis-"
version ".tar.gz"))
(sha256
(base32
- "0ch7gry8a1i9114mlhklxryn7ja3flsz6pxj9r5p09k92xh3gp9c"))))
+ "1zbwa15rsvr05rmcidk21q3amndd0q4df4psp3zhqz4lqraf3fbs"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f
@@ -1057,16 +1068,16 @@ Shapely capabilities
(("\\$\\(DESTDIR\\)\\$\\(PGSQL_BINDIR\\)")
(string-append (assoc-ref outputs "out") "/bin"))))))))
(inputs
- `(("gdal" ,gdal)
- ("geos" ,geos)
- ("giflib" ,giflib)
- ("json-c" ,json-c)
- ("libjpeg" ,libjpeg-turbo)
- ("libxml2" ,libxml2)
- ("pcre" ,pcre)
- ("postgresql" ,postgresql)
- ("protobuf-c" ,protobuf-c)
- ("proj" ,proj)))
+ (list gdal
+ geos
+ giflib
+ json-c
+ libjpeg-turbo
+ libxml2
+ pcre
+ postgresql
+ protobuf-c
+ proj))
(native-inputs
(list perl pkg-config))
(home-page "https://postgis.net")
@@ -1551,7 +1562,7 @@ to the OSM opening hours specification.")
(define-public josm
(package
(name "josm")
- (version "18303")
+ (version "18360")
(source (origin
(method svn-fetch)
(uri (svn-reference
@@ -1560,7 +1571,7 @@ to the OSM opening hours specification.")
(recursive? #f)))
(sha256
(base32
- "1bn3s4lkxx0nlh8ax42qcwn6kn53a5i3qzr47mrvsmcp6hdrnxwx"))
+ "0j7fhzh6hs2b5r1a3d1xpy6f5r6q1kh79bck28raang8ldd754c6"))
(file-name (string-append name "-" version "-checkout"))
(modules '((guix build utils)))
(snippet
@@ -1818,7 +1829,7 @@ using the dataset of topographical information collected by
(define-public qmapshack
(package
(name "qmapshack")
- (version "1.15.2")
+ (version "1.16.1")
(source
(origin
(method git-fetch)
@@ -1827,7 +1838,7 @@ using the dataset of topographical information collected by
(commit (string-append "V_" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1l1j2axf94pdqwirwwhwy3y6k8v1aix78ifqbv6j8sv131h2j7y7"))))
+ (base32 "184fqmsfzr3b333ssizjk6gvv7mncmygq8dj5r7rsvs5md26z2ys"))))
(build-system qt-build-system)
(native-inputs
(list pkg-config qttools))
@@ -1840,7 +1851,7 @@ using the dataset of topographical information collected by
qtlocation
qtwebchannel
qtwebengine
- quazip-0
+ quazip
routino
sqlite ; See wrap phase
zlib))
@@ -1855,12 +1866,7 @@ using the dataset of topographical information collected by
(string-append all "\nfind_package(Qt5Positioning REQUIRED)")))
(substitute* "cmake/Modules/FindROUTINO.cmake"
(("/usr/local")
- (assoc-ref inputs "routino")))
- ;; The following fixes are included as patches in the sources
- ;; of QMapShack, but they are not applied by default, for
- ;; some reason...
- (invoke "patch" "-p1" "-i" "FindPROJ4.patch")
- (invoke "patch" "-p1" "-i" "FindQuaZip5.patch"))))))
+ (assoc-ref inputs "routino"))))))))
(synopsis "GPS mapping application")
(description
"QMapShack can be used to plan your next outdoor trip or to visualize and
@@ -2086,7 +2092,7 @@ orienteering sport.")
(license license:gpl3+)))
(define-public grass
- (let* ((version "7.8.5")
+ (let* ((version "7.8.6")
(majorminor (string-join (list-head (string-split version #\.) 2) ""))
(grassxx (string-append "grass" majorminor)))
(package
@@ -2098,7 +2104,7 @@ orienteering sport.")
(uri (string-append "https://grass.osgeo.org/" grassxx
"/source/grass-" version ".tar.gz"))
(sha256
- (base32 "0dzzhgcsrszzinvjir50nvzq873b8gsp0p9k8fvcrv14amkbnnd3"))))
+ (base32 "1glk74ly3j0x8ymn4jp73s6y8qv7p3g5nv4gvb6l9qqplyq1fpnq"))))
(build-system gnu-build-system)
(inputs
`(("bzip2" ,bzip2)
@@ -2268,6 +2274,8 @@ growing set of geoscientific methods.")
#:imported-modules (,@%cmake-build-system-modules
(guix build python-build-system)
(guix build qt-utils))
+ #:configure-flags
+ '("-DWITH_QTWEBKIT=NO")
#:phases
(modify-phases %standard-phases
;; Configure correct path to PyQt5 SIP directory
@@ -2314,7 +2322,8 @@ growing set of geoscientific methods.")
(("^REV=.*") "REV=currentrev\n"))
#t))
(replace 'check
- (lambda* (#:key inputs #:allow-other-keys)
+ (lambda* (#:key inputs tests? #:allow-other-keys)
+ (when tests?
(setenv "HOME" "/tmp")
(system "Xvfb :1 &")
(setenv "DISPLAY" ":1")
@@ -2394,11 +2403,14 @@ growing set of geoscientific methods.")
"qgis_imagecachetest"
"qgis_labelingenginetest"
"qgis_layouthtmltest"
+ "qgis_layoutlabeltest"
"qgis_layoutmanualtabletest"
"qgis_layoutmapgridtest"
"qgis_layoutmaptest"
+ "qgis_layoutmultiframetest"
"qgis_layoutpicturetest"
"qgis_layouttabletest"
+ "qgis_layouttest"
"qgis_mapdevicepixelratiotest"
"qgis_maprendererjobtest"
"qgis_ogrproviderguitest"
@@ -2415,7 +2427,7 @@ growing set of geoscientific methods.")
"qgis_taskmanagertest"
"qgis_wcsprovidertest"
"qgis_ziplayertest")
- "|"))))
+ "|")))))
(add-after 'install 'wrap-python
(assoc-ref python:%standard-phases 'wrap))
(add-after 'wrap-python 'wrap-qt
@@ -2484,7 +2496,6 @@ growing set of geoscientific methods.")
qtlocation
qtserialport
qtsvg
- qtwebkit
qwt
;;("saga" ,saga)
sqlite))
diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm
index e20d4d1427..d606acf798 100644
--- a/gnu/packages/gettext.scm
+++ b/gnu/packages/gettext.scm
@@ -31,6 +31,7 @@
#:use-module ((guix licenses) #:select (gpl2+ gpl3+ bsd-3))
#:use-module (gnu packages)
#:use-module (guix packages)
+ #:use-module (guix gexp)
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system perl)
@@ -71,53 +72,62 @@
;; but for now we include it here in 'gettext-minimal'.
ncurses))
(arguments
- `(#:configure-flags '("--with-included-libunistring=no"
- "--with-included-libxml=no")
- #:phases
- (modify-phases %standard-phases
- (add-before 'patch-source-shebangs 'patch-fixed-paths
- (lambda _
- (substitute* '("gettext-tools/config.h.in"
- "gettext-tools/gnulib-tests/init.sh"
- "gettext-tools/tests/init.sh"
- "gettext-tools/system-tests/run-test")
- (("/bin/sh") "sh"))
- (substitute* '("gettext-tools/src/project-id"
- "gettext-tools/projects/KDE/trigger"
- "gettext-tools/projects/GNOME/trigger")
- (("/bin/pwd") "pwd"))
- #t))
- (add-before 'check 'patch-tests
- (lambda* (#:key inputs #:allow-other-keys)
- (let* ((bash (which "sh")))
- ;; Some of the files we're patching are
- ;; ISO-8859-1-encoded, so choose it as the default
- ;; encoding so the byte encoding is preserved.
- (with-fluids ((%default-port-encoding #f))
- (substitute*
- (find-files "gettext-tools/tests"
- "^(lang-sh|msg(exec|filter)-[0-9])")
- (("#![[:blank:]]/bin/sh")
- (format #f "#!~a" bash)))
+ (list #:configure-flags #~'("--with-included-libunistring=no"
+ "--with-included-libxml=no")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'patch-source-shebangs 'patch-fixed-paths
+ (lambda _
+ (substitute* '("gettext-tools/config.h.in"
+ "gettext-tools/gnulib-tests/init.sh"
+ "gettext-tools/tests/init.sh"
+ "gettext-tools/system-tests/run-test")
+ (("/bin/sh") "sh"))
+ (substitute* '("gettext-tools/src/project-id"
+ "gettext-tools/projects/KDE/trigger"
+ "gettext-tools/projects/GNOME/trigger")
+ (("/bin/pwd") "pwd"))
+ #t))
+ (add-before 'check 'patch-tests
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let* ((bash (which "sh")))
+ ;; Some of the files we're patching are
+ ;; ISO-8859-1-encoded, so choose it as the default
+ ;; encoding so the byte encoding is preserved.
+ (with-fluids ((%default-port-encoding #f))
+ (substitute*
+ (find-files "gettext-tools/tests"
+ "^(lang-sh|msg(exec|filter)-[0-9])")
+ (("#![[:blank:]]/bin/sh")
+ (format #f "#!~a" bash)))
- (substitute* (cons "gettext-tools/src/msginit.c"
- (find-files "gettext-tools/gnulib-tests"
- "posix_spawn"))
- (("/bin/sh")
- bash))
+ (substitute* (cons "gettext-tools/src/msginit.c"
+ (find-files "gettext-tools/gnulib-tests"
+ "posix_spawn"))
+ (("/bin/sh")
+ bash))
- (substitute* "gettext-tools/src/project-id"
- (("/bin/pwd")
- "pwd"))
+ (substitute* "gettext-tools/src/project-id"
+ (("/bin/pwd")
+ "pwd"))
- #t)))))
+ ;; Work around Gnulib test failures on armhf-linux.
+ #$@(if (target-arm32?)
+ #~((with-directory-excursion "gettext-tools"
+ (invoke "patch" "--force" "-p1" "-i"
+ #$(local-file
+ (search-patch
+ "coreutils-gnulib-tests.patch")))))
+ '())
+
+ #t)))))
;; When tests fail, we want to know the details.
- #:make-flags '("VERBOSE=yes"
- ,@(if (hurd-target?)
- ;; Linking to libgettextlib.so makes test-raise fail
- '("XFAIL_TESTS=test-raise")
- '()))))
+ #:make-flags #~'("VERBOSE=yes"
+ #$@(if (hurd-target?)
+ ;; Linking to libgettextlib.so makes test-raise fail
+ '("XFAIL_TESTS=test-raise")
+ '()))))
(home-page "https://www.gnu.org/software/gettext/")
(synopsis
"Tools and documentation for translation (used to build other packages)")
@@ -143,16 +153,16 @@ translated messages from the catalogs. Nearly all GNU packages use Gettext.")
(arguments
(substitute-keyword-arguments (package-arguments gettext-minimal)
((#:phases phases)
- `(modify-phases ,phases
- (add-after 'install 'add-emacs-autoloads
- (lambda* (#:key outputs #:allow-other-keys)
- ;; Make 'po-mode' and other things available by default.
- (with-directory-excursion
- (string-append (assoc-ref outputs "out")
- "/share/emacs/site-lisp")
- (symlink "start-po.el" "gettext-autoloads.el")
- #t)))))))
- (native-inputs `(("emacs" ,emacs-minimal))) ; for Emacs tools
+ #~(modify-phases #$phases
+ (add-after 'install 'add-emacs-autoloads
+ (lambda* (#:key outputs #:allow-other-keys)
+ ;; Make 'po-mode' and other things available by default.
+ (with-directory-excursion
+ (string-append (assoc-ref outputs "out")
+ "/share/emacs/site-lisp")
+ (symlink "start-po.el" "gettext-autoloads.el")
+ #t)))))))
+ (native-inputs `(("emacs" ,emacs-minimal))) ; for Emacs tools
(synopsis "Tools and documentation for translation")))
(define-public libtextstyle
@@ -249,13 +259,6 @@ from Markdown files.")
`("PERL5LIB" ":" prefix (,path))))
(find-files bin "\\.*$"))
#t)))
- (add-before 'reset-gzip-timestamps 'make-compressed-files-writable
- (lambda* (#:key outputs #:allow-other-keys)
- (for-each make-file-writable
- (find-files (string-append (assoc-ref outputs "out")
- "/share/man")
- ".*\\.gz$"))
- #t))
(add-after 'unpack 'patch-docbook-xml
(lambda* (#:key inputs #:allow-other-keys)
(substitute* (find-files "." ".*\\.xml(-good)?")
diff --git a/gnu/packages/gimp.scm b/gnu/packages/gimp.scm
index f1f8529580..0ad75de700 100644
--- a/gnu/packages/gimp.scm
+++ b/gnu/packages/gimp.scm
@@ -213,21 +213,21 @@ provided, as well as a framework to add new color models and data types.")
(define-public gegl
(package
(name "gegl")
- (version "0.4.32")
- (source (origin
- (method url-fetch)
- (uri (list (string-append "https://download.gimp.org/pub/gegl/"
- (string-take version 3)
- "/gegl-" version ".tar.xz")
- (string-append "https://ftp.gtk.org/pub/gegl/"
- (version-major+minor version)
- "/gegl-" version ".tar.xz")
- (string-append "ftp://ftp.gtk.org/pub/gegl/"
- (version-major+minor version)
- "/gegl-" version ".tar.xz")))
- (sha256
- (base32
- "18cg566lplw7y7dn5v05pal24vxbfiic6097a40gnxdgkxmkr3k6"))))
+ (version "0.4.34")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (list (string-append "https://download.gimp.org/pub/gegl/"
+ (string-take version 3)
+ "/gegl-" version ".tar.xz")
+ (string-append "https://ftp.gtk.org/pub/gegl/"
+ (version-major+minor version)
+ "/gegl-" version ".tar.xz")
+ (string-append "ftp://ftp.gtk.org/pub/gegl/"
+ (version-major+minor version)
+ "/gegl-" version ".tar.xz")))
+ (sha256
+ (base32 "1amazk6g9dk76rxwaqa81j87ql5vgz539n6xk88wccdllnyg0qzg"))))
(build-system meson-build-system)
(arguments
`(#:configure-flags
@@ -269,7 +269,7 @@ provided, as well as a framework to add new color models and data types.")
("poppler" ,poppler)
("sdl2" ,sdl2)))
(native-inputs
- (list `(,glib "bin") ; for gtester
+ (list `(,glib "bin") ; for gtester
gobject-introspection
intltool
pkg-config
@@ -286,7 +286,7 @@ buffers.")
(define-public gimp
(package
(name "gimp")
- (version "2.10.28")
+ (version "2.10.30")
(source
(origin
(method url-fetch)
@@ -294,7 +294,7 @@ buffers.")
(version-major+minor version)
"/gimp-" version ".tar.bz2"))
(sha256
- (base32 "09l80zxcnydbpm3nn64qw48klnvp0mgbaamazqkg1d8szwnc4kag"))))
+ (base32 "1p375gaw2daip6aiv1icrlpws5m1my5kalxkxrvl4zgdfsm5v0c8"))))
(build-system gnu-build-system)
(outputs '("out"
"doc")) ; 9 MiB of gtk-doc HTML
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 411ffeccef..fa49679870 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -12,7 +12,7 @@
;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz>
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
-;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2020 Kei Kebreau <kkebreau@posteo.net>
;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
;;; Copyright © 2021 John Kehayias <john.kehayias@protonmail.com>
@@ -227,7 +227,7 @@ also known as DXTn or DXTC) for Mesa.")
(define-public mesa
(package
(name "mesa")
- (version "21.2.5")
+ (version "21.3.2")
(source
(origin
(method url-fetch)
@@ -239,7 +239,7 @@ also known as DXTn or DXTC) for Mesa.")
version "/mesa-" version ".tar.xz")))
(sha256
(base32
- "1fxcdf4qs4vmyjcns7jv62w4jy3gr383ar5b7mr77nb0nxgmhjcf"))
+ "1g96y59bw10ml8h4jl259g41jdmf5ww3jbwqpz1sprq7hgxvmrz2"))
(patches
(search-patches "mesa-skip-tests.patch"))))
(build-system meson-build-system)
@@ -352,6 +352,12 @@ also known as DXTn or DXTC) for Mesa.")
(modify-phases %standard-phases
(add-after 'unpack 'disable-failing-test
(lambda _
+ ;; Disable the intel vulkan (anv_state_pool) tests, as they may
+ ;; fail in a nondeterministic fashion (see:
+ ;; https://gitlab.freedesktop.org/mesa/mesa/-/issues/5446).
+ (substitute* "src/intel/vulkan/meson.build"
+ (("if with_tests")
+ "if false"))
,@(match (%current-system)
("powerpc64le-linux"
;; Disable some of the llvmpipe tests.
@@ -704,7 +710,7 @@ OpenGL graphics API.")
;; epoxy.pc: 'Requires.private: gl egl'
(list mesa))
(home-page "https://github.com/anholt/libepoxy/")
- (synopsis "A library for handling OpenGL function pointer management")
+ (synopsis "Library for handling OpenGL function pointer management")
(description
"A library for handling OpenGL function pointer management.")
(license license:x11)))
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 3e51045cd1..7bb0fdc9f4 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -9,7 +9,7 @@
;;; Copyright © 2017 Petter <petter@mykolab.ch>
;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
-;;; Copyright © 2019, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2019 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2019, 2020, 2021 Marius Bakke <marius@gnu.org>
;;; Copyright © 2020 Nicolò Balzarotti <nicolo@nixo.xyz>
@@ -179,7 +179,7 @@ shared NFS home directories.")
(define glib
(package
(name "glib")
- (version "2.70.0")
+ (version "2.70.2")
(source
(origin
(method url-fetch)
@@ -188,7 +188,7 @@ shared NFS home directories.")
name "/" (string-take version 4) "/"
name "-" version ".tar.xz"))
(sha256
- (base32 "0hh7hk02fkm1bn48k4z8f3kgv9qbni5z22gizd567fn527w7s390"))
+ (base32 "0vw08p4jllavp9qmlqg1yl1zanmy53yid46wipas6gfdhnf4al85"))
(patches
(search-patches "glib-appinfo-watch.patch"
"glib-skip-failing-test.patch"))
@@ -212,12 +212,11 @@ shared NFS home directories.")
`(,(this-package-native-input "python")
,(this-package-native-input "python-wrapper")))
'()))
- #:configure-flags (list "--default-library=both"
- "-Dman=false"
- "-Dselinux=disabled"
- (string-append "--bindir="
- (assoc-ref %outputs "bin")
- "/bin"))
+ #:configure-flags ,#~(list "--default-library=both"
+ "-Dman=false"
+ "-Dselinux=disabled"
+ (string-append "--bindir="
+ #$output:bin "/bin"))
#:phases
(modify-phases %standard-phases
;; Needed to pass the test phase on slower ARM and i686 machines.
@@ -365,8 +364,8 @@ functions for strings and common data structures.")
(arguments
(substitute-keyword-arguments (package-arguments glib)
((#:configure-flags flags ''())
- `(cons "-Dgtk_doc=true"
- (delete "-Dman=false" ,flags)))
+ #~(cons "-Dgtk_doc=true"
+ (delete "-Dman=false" #$flags)))
((#:phases phases)
`(modify-phases ,phases
(add-after 'unpack 'patch-docbook-xml
@@ -467,8 +466,7 @@ be used when cross-compiling."
(lambda _
(substitute* "tools/g-ir-tool-template.in"
(("#!@PYTHON_CMD@")
- (string-append "#!" (which "python3"))))
- #t))
+ (string-append "#!" (which "python3"))))))
#$@(if (%current-target-system)
;; Meson gives python extensions an incorrect name, see
;; <https://github.com/mesonbuild/meson/issues/7049>.
@@ -745,7 +743,7 @@ by GDBus included in Glib.")
(define glibmm
(package
(name "glibmm")
- (version "2.68.0")
+ (version "2.70.0")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/glibmm/"
@@ -753,13 +751,12 @@ by GDBus included in Glib.")
"/glibmm-" version ".tar.xz"))
(sha256
(base32
- "0xgkyhb2876mcyyib5rk3ya9aingyj68h02nl22yvkhx35rqbwy1"))))
+ "085mzpphz71sh5wh71ppikwnxsgn4pk3s4bzz6ingj6wxn5gs240"))))
(build-system meson-build-system)
(outputs '("out" "doc"))
(arguments
`(#:configure-flags
- (list
- "-Dbuild-documentation=true")
+ (list "-Dbuild-documentation=true")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'disable-failing-tests
@@ -770,8 +767,7 @@ by GDBus included in Glib.")
(("[ \t]*.*giomm_simple.*$") "")
;; This test does a DNS lookup, and then expects to be able
;; to open a TLS session; just skip it.
- (("[ \t]*.*giomm_tls_client.*$") ""))
- #t))
+ (("[ \t]*.*giomm_tls_client.*$") ""))))
(add-after 'install 'move-doc
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
@@ -779,17 +775,16 @@ by GDBus included in Glib.")
(mkdir-p (string-append doc "/share"))
(rename-file
(string-append out "/share/doc")
- (string-append doc "/share/doc"))
- #t))))))
+ (string-append doc "/share/doc"))))))))
(native-inputs
- `(("dot" ,graphviz)
- ("doxygen" ,doxygen)
- ("glib:bin" ,glib "bin")
- ("m4" ,m4)
- ("mm-common" ,mm-common)
- ("perl" ,perl)
- ("pkg-config" ,pkg-config)
- ("xsltproc" ,libxslt)))
+ (list graphviz
+ doxygen
+ `(,glib "bin")
+ m4
+ mm-common
+ perl
+ pkg-config
+ libxslt))
(propagated-inputs
(list libsigc++ glib))
(home-page "https://gtkmm.org/")
@@ -815,7 +810,7 @@ useful for C++.")
(base32 "11m37sbx0i18cl17d0fkq0bik4bbzlb5n8kcl651jhci5ipci3sh"))))
(propagated-inputs
(modify-inputs (package-propagated-inputs glibmm)
- (prepend libsigc++-2)))))
+ (replace "libsigc++" libsigc++-2)))))
(define-public python2-pygobject-2
(package
diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index 0e3147e604..7f67f12672 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -14,6 +14,8 @@
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2021 Songlin Jiang <hollowman@hollowman.ml>
;;; Copyright © 2021 Justin Veilleux <terramorpha@cock.li>
+;;; Copyright © 2021 Attila Lendvai <attila@lendvai.name>
+;;; Copyright © 2021 Charles Jackson <charles.b.jackson@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -35,13 +37,19 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system copy)
#:use-module (guix build-system meson)
+ #:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module ((guix licenses) #:prefix license:)
+ #:use-module (gnu packages)
+ #:use-module (gnu packages acl)
+ #:use-module (gnu packages attr)
#:use-module (gnu packages autotools)
+ #:use-module (gnu packages backup)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
+ #:use-module (gnu packages build-tools)
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
@@ -238,26 +246,29 @@ GNOME Shell.")
(define-public gnome-shell-extension-clipboard-indicator
(package
(name "gnome-shell-extension-clipboard-indicator")
- (version "34")
+ (version "39")
(source (origin
(method git-fetch)
(uri (git-reference
- (url (string-append "https://github.com/Tudmotu/"
- "gnome-shell-extension-clipboard-indicator.git"))
+ (url
+ (string-append
+ "https://github.com/Tudmotu/"
+ "gnome-shell-extension-clipboard-indicator"))
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
- "0i00psc1ky70zljd14jzr627y7nd8xwnwrh4xpajl1f6djabh12s"))
+ "1kq6bzxki7lwmw690f4qml8pvfwafpqpsfnq2kyjhrp8nh39axwi"))
(modules '((guix build utils)))
(snippet
;; Remove pre-compiled settings schemas and translations from
;; source, as they are generated as part of build. Upstream
;; includes them for people who want to run the software
;; directly from source tree.
- '(begin (delete-file "schemas/gschemas.compiled")
- (for-each delete-file (find-files "locale" "\\.mo$"))
- #t))))
+ '(begin
+ (delete-file "schemas/gschemas.compiled")
+ (for-each delete-file
+ (find-files "locale" "\\.mo$"))))))
(build-system copy-build-system)
(arguments
'(#:install-plan
@@ -268,14 +279,9 @@ GNOME Shell.")
(add-before 'install 'compile-schemas
(lambda _
(with-directory-excursion "schemas"
- (invoke "glib-compile-schemas" "."))
- #t))
- (add-before 'install 'compile-locales
- (lambda _ (invoke "./compile-locales.sh")
- #t)))))
+ (invoke "glib-compile-schemas" ".")))))))
(native-inputs
- `(("gettext" ,gettext-minimal)
- ("glib:bin" ,glib "bin"))) ; for glib-compile-schemas
+ (list `(,glib "bin") gettext-minimal))
(home-page "https://github.com/Tudmotu/gnome-shell-extension-clipboard-indicator")
(synopsis "Clipboard manager extension for GNOME Shell")
(description "Clipboard Indicator is a clipboard manager for GNOME Shell
@@ -534,6 +540,57 @@ currently focused application in the top panel of the GNOME shell.")
(list license:gpl2
license:gpl3)))))
+(define-public gnome-shell-extension-just-perfection
+ (package
+ (name "gnome-shell-extension-just-perfection")
+ (version "16.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.gnome.org/jrahmatzadeh/just-perfection/")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "05zbzgs92zqlmjq4h2q2gggrf1qiz8l6739zzg1x5090gvk4iak3"))))
+ (build-system copy-build-system)
+ (arguments
+ `(#:install-plan
+ '(("src"
+ "share/gnome-shell/extensions/just-perfection-desktop@just-perfection"
+ #:include-regexp ("\\.css$" "\\.compiled$" "\\.js(on)?$" "\\.ui$"))
+ ("locale"
+ "share/gnome-shell/extensions/just-perfection-desktop@just-perfection/"))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'drop-executable-bits
+ (lambda _
+ (for-each
+ (lambda (file)
+ (let ((stat (lstat file)))
+ (chmod file (logand (stat:mode stat) (lognot #o111)))))
+ (find-files "." #:directories? #f))))
+ (add-before 'install 'build
+ (lambda _
+ (invoke "glib-compile-schemas" "src/schemas")
+ (for-each
+ (lambda (file)
+ (let* ((base (basename file))
+ (noext (substring base 0 (- (string-length base) 3)))
+ (dest (string-append "locale/" noext "/LC_MESSAGES/"))
+ (out (string-append dest "just-perfection.mo")))
+ (mkdir-p dest)
+ (invoke "msgfmt" "-c" file "-o" out)))
+ (find-files "po" "\\.po$")))))))
+ (native-inputs
+ (list `(,glib "bin") gettext-minimal))
+ (home-page "https://gitlab.gnome.org/jrahmatzadeh/just-perfection")
+ (synopsis "Customize GNOME Shell behaviour")
+ (description "Just Perfection allows you to change various settings, that
+GNOME Shell itself does not provide out of the box, such as the ability to hide
+certain elements or change animation speeds.")
+ (license license:gpl3)))
+
(define-public gnome-shell-extension-dash-to-panel
(package
(name "gnome-shell-extension-dash-to-panel")
@@ -632,6 +689,218 @@ scrollable tiling of windows and per monitor workspaces. It's inspired by paper
notebooks and tiling window managers.")
(license license:gpl3)))
+(define-public gpaste
+ (package
+ (name "gpaste")
+ (version "3.42.2")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Keruspe/GPaste")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1k5qvgzwl357k72qfim5zfas2a0n6j24jnlm1v472l7h6gb6lssm"))
+ (patches
+ (search-patches "gpaste-fix-paths.patch"))))
+ (build-system meson-build-system)
+ (native-inputs
+ (list autoconf automake gettext-minimal gobject-introspection
+ (list glib "bin") ; for glib-compile-resources
+ libtool pkg-config vala))
+ (inputs
+ (list appstream-glib libarchive gjs mutter graphene))
+ (arguments
+ (list #:meson meson-0.59 ;positional arguments error with meson 0.60
+ #:glib-or-gtk? #true
+ #:configure-flags
+ #~(list
+ (string-append "-Dcontrol-center-keybindings-dir="
+ #$output "/share/gnome-control-center/keybindings")
+ (string-append "-Ddbus-services-dir="
+ #$output "/share/dbus-1/services")
+ (string-append "-Dsystemd-user-unit-dir="
+ #$output "/etc/systemd/user"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-introspection-install-dir
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (substitute* '("src/gnome-shell/extension.js"
+ "src/gnome-shell/prefs.js")
+ (("@typelibPath@")
+ (string-append out "/lib/girepository-1.0/")))))))))
+ (home-page "https://github.com/Keruspe/GPaste")
+ (synopsis "Clipboard management system for GNOME Shell")
+ (description "GPaste is a clipboard manager, a tool which allows you to
+keep a trace of what you’re copying and pasting. Is is really useful when
+you go through tons of documentation and you want to keep around a bunch of
+functions you might want to use, for example. The clipboard manager will
+store an history of everything you do, so that you can get back to older
+copies you now want to paste.")
+ (license license:bsd-2)))
+
+(define-public gnome-shell-extension-vertical-overview
+ (package
+ (name "gnome-shell-extension-vertical-overview")
+ (version "8")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/RensAlthuis/vertical-overview")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32
+ "01vz48p3bh7p3ybdyw0s0ahs18lk2kzk9x4ad46s0dnwmmsyhww9"))
+ (file-name (git-file-name name version))
+ (snippet
+ '(begin (delete-file "schemas/gschemas.compiled")))))
+ (build-system copy-build-system)
+ (arguments
+ `(#:install-plan
+ '(("." ,(string-append
+ "share/gnome-shell/extensions/"
+ "vertical-overview@RensAlthuis.github.com")
+ #:include-regexp ("\\.js(on)?$" "\\.css$" "\\.ui$" "\\.png$"
+ "\\.xml$" "\\.compiled$")))
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'install 'compile-schemas
+ (lambda _
+ (with-directory-excursion "schemas"
+ (invoke "glib-compile-schemas" ".")))))))
+ (native-inputs
+ (list `(,glib "bin"))) ; for glib-compile-resources
+ (home-page "https://github.com/RensAlthuis/vertical-overview")
+ (synopsis "Provides a vertical overview in Gnome 40 and upper")
+ (description "This Gnome extension replaces the new horizontally oriented
+Gnome overview with something that resembles the old vertically oriented
+style.")
+ (license license:gpl3)))
+
+(define-public gnome-shell-extension-jiggle
+ (package
+ (name "gnome-shell-extension-jiggle")
+ (version "8")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jeffchannell/jiggle/")
+ (commit version)))
+ (sha256
+ (base32
+ "1wbdx2bp22bdwj51ckgivwglkmckr7z8kfwvc8nv4y376hjz5jxz"))
+ (file-name (git-file-name name version))
+ (snippet
+ '(begin (delete-file "schemas/gschemas.compiled")))))
+ (build-system copy-build-system)
+ (arguments
+ `(#:install-plan
+ '(("." ,(string-append
+ "share/gnome-shell/extensions/"
+ "jiggle@jeffchannell.com")
+ #:include-regexp ("\\.js(on)?$" "\\.css$" "\\.ui$" "\\.png$"
+ "\\.xml$" "\\.compiled$")))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-version
+ (lambda _
+ (substitute* "metadata.json"
+ (("\"40.0\"") "\"40\", \"41\""))))
+ (add-before 'install 'compile-schemas
+ (lambda _
+ (with-directory-excursion "schemas"
+ (invoke "glib-compile-schemas" ".")))))))
+ (native-inputs
+ (list `(,glib "bin"))) ; for glib-compile-resources
+ (home-page "https://github.com/jeffchannell/jiggle")
+ (synopsis "Mouse cursor enlargement for small and fast movements")
+ (description "Jiggle is a Gnome Shell extension that highlights the cursor
+position when the mouse is moved rapidly.")
+ (license license:gpl2)))
+
+(define-public gnome-shell-extension-burn-my-windows
+ (package
+ (name "gnome-shell-extension-burn-my-windows")
+ (version "7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Schneegans/Burn-My-Windows/")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32
+ "1513kh6dfvnaj5jq2mm7rv1k54v91hjckgim1dpqlxwnv4gi9krd"))
+ (file-name (git-file-name name version))))
+ (build-system copy-build-system)
+ (arguments
+ `(#:install-plan
+ '(("." ,(string-append
+ "share/gnome-shell/extensions/"
+ "burn-my-windows@schneegans.github.com")
+ #:include-regexp ("\\.js(on)?$" "\\.css$" "\\.ui$" "\\.png$"
+ "\\.xml$" "\\.compiled$" "\\.gresource$")))
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'install 'compile-resources
+ (lambda _
+ (invoke "make" "resources/burn-my-windows.gresource")))
+ (add-before 'install 'compile-schemas
+ (lambda _
+ (with-directory-excursion "schemas"
+ (invoke "glib-compile-schemas" ".")))))))
+ (native-inputs
+ (list `(,glib "bin"))) ; for glib-compile-resources
+ (home-page "https://github.com/Schneegans/Burn-My-Windows")
+ (synopsis "Application closing effects extension")
+ (description "Burn My Windows is a shell extension that stylizes the
+animation of closing windowed applications.")
+ (license license:gpl3)))
+
+(define-public gnome-shell-extension-blur-my-shell
+ (package
+ (name "gnome-shell-extension-blur-my-shell")
+ (version "27")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/aunetx/blur-my-shell")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0l318lgc2zrp8fskabiv28knwp3b5i2y8bd3164da4pkf1jsl468"))
+ (snippet
+ '(begin (delete-file "src/schemas/gschemas.compiled")))))
+ (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$")))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'cd-src
+ (lambda _ (chdir "src")))
+ (add-before 'install 'compile-schemas
+ (lambda _
+ (with-directory-excursion "schemas"
+ (invoke "glib-compile-schemas" ".")))))))
+ (native-inputs
+ (list (list glib "bin"))) ; for glib-compile-schemas
+ (home-page "https://github.com/aunetx/blur-my-shell")
+ (synopsis "Blurs different parts of the GNOME Shell")
+ (description "Blur My Shell adds a blur look to different parts of the
+GNOME Shell, including the top panel, dash and overview.")
+ (license license:gpl3)))
+
(define-public arc-theme
(package
(name "arc-theme")
@@ -663,7 +932,7 @@ notebooks and tiling window managers.")
optipng
pkg-config
sassc/libsass-3.5))
- (synopsis "A flat GTK+ theme with transparent elements")
+ (synopsis "Flat GTK+ theme with transparent elements")
(description "Arc is a flat theme with transparent elements for GTK 3, GTK
2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
@@ -867,6 +1136,37 @@ variants.")
license:lgpl2.1 ; Some style sheets.
license:cc-by-sa4.0)))) ; Some icons
+(define-public eiciel
+ (package
+ (name "eiciel")
+ (version "0.9.13.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rofirrim/eiciel")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0rhhw0h1hyg5kvxhjxkdz03vylgax6912mg8j4lvcz6wlsa4wkvj"))))
+ (build-system meson-build-system)
+ (arguments
+ `(#:glib-or-gtk? #t
+ #:tests? #f ; no tests
+ #:configure-flags
+ (list (string-append "-Dnautilus-extension-dir="
+ (assoc-ref %outputs "out")
+ "/lib/nautilus/site-extensions"))))
+ (native-inputs
+ (list gettext-minimal pkg-config))
+ (inputs
+ (list acl attr glibmm-2.64 gtkmm-3 nautilus))
+ (home-page "https://rofi.roger-ferrer.org/eiciel")
+ (synopsis "Manage extended file attributes")
+ (description "Eiciel is a plugin for nautilus to graphically edit ACL and
+extended file attributes. It also functions as a standalone command.")
+ (license license:gpl2+)))
+
(define-public markets
(package
(name "markets")
@@ -897,14 +1197,14 @@ variants.")
(substitute* "build-aux/meson/postinstall.py"
(("update-desktop-database") "true")))))))
(inputs
- `(("gtk3" ,gtk+)
- ("gettext" ,gettext-minimal)
- ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
- ("libgee" ,libgee)
- ("libhandy" ,libhandy)
- ("libsoup" ,libsoup)
- ("json-glib" ,json-glib)
- ("vala" ,vala)))
+ (list gtk+
+ gettext-minimal
+ gsettings-desktop-schemas
+ libgee
+ libhandy
+ libsoup-minimal-2
+ json-glib
+ vala))
(native-inputs
(list pkg-config
`(,glib "bin"))) ; for 'glib-compile-resources'
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 0759348762..2fe1f4de39 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -34,12 +34,12 @@
;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com>
;;; Copyright © 2019 Danny Milosavljevic <dannym@scratchpost.org>
-;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2019, 2020, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2019 Florian Pelz <pelzflorian@pelzflorian.de>
;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2019 Jelle Licht <jlicht@fsfe.org>
;;; Copyright © 2019 Jonathan Frederickson <jonathan@terracrypt.net>
-;;; Copyright © 2019, 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2019, 2020, 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2019, 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2019 David Wilson <david@daviwil.com>
;;; Copyright © 2019, 2020 Raghav Gururajan <raghavgururajan@disroot.org>
@@ -60,11 +60,15 @@
;;; Copyright © 2020, 2021 Sébastien Lerique <sl@eauchat.org>
;;; Copyright © 2021 Trevor Hass <thass@okstate.edu>
;;; Copyright © 2021 Solene Rapenne <solene@perso.pw>
-;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
+;;; Copyright © 2021, 2022 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2021 Josselin Poiret <josselin.poiret@protonmail.ch>
;;; Copyright © 2021 Mathieu Othacehe <othacehe@gnu.org>
+;;; Copyright © 2022 Daniel Meißner <daniel.meissner-i4k@ruhr-uni-bochum.de>
+;;; Copyright © 2022 Pierre Langlois <pierre.langlois@gmx.com>
+;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
+;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -826,44 +830,42 @@ patterns.")
"1h049mzqnlcfqwrhmzbq3pzzdglvy2bn9fj1p8wql7a60pn8sr32"))))
(build-system meson-build-system)
(arguments
- `(#:glib-or-gtk? #t
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'skip-gtk-update-icon-cache
- (lambda _
- (substitute* "meson_post_install.py"
- (("gtk-update-icon-cache") (which "true")))
- #t))
- (add-after 'unpack 'unpack-libgd
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((libgd (assoc-ref inputs "libgd")))
- (copy-recursively libgd "subprojects/libgd")
- #t))))))
- (inputs
- `(("glib" ,glib)
- ("gnome-autoar" ,gnome-autoar)
- ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
- ("gspell" ,gspell)
- ("gtk+" ,gtk+)
- ("json-glib" ,json-glib)
- ("libcanberra" ,libcanberra)
- ("libsoup" ,libsoup)
- ("rest" ,rest)))
- (native-inputs
- `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
- ("gettext" ,gettext-minimal)
- ("glib:bin" ,glib "bin")
- ("itstool" ,itstool)
- ("libgd"
- ,(origin
- (method git-fetch)
- (uri (git-reference
- (url "https://gitlab.gnome.org/GNOME/libgd")
- (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
- (file-name (git-file-name "libgd" version))
- (sha256
- (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
- ("pkg-config" ,pkg-config)))
+ (list
+ #:glib-or-gtk? #t
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'skip-gtk-update-icon-cache
+ (lambda _
+ (substitute* "meson_post_install.py"
+ (("gtk-update-icon-cache") (which "true")))))
+ (add-after 'unpack 'unpack-libgd
+ (lambda _
+ (copy-recursively
+ #$(origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.gnome.org/GNOME/libgd")
+ (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
+ (file-name (git-file-name "libgd" version))
+ (sha256
+ (base32
+ "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs")))
+ "subprojects/libgd"))))))
+ (inputs (list glib
+ gnome-autoar
+ `(,gnome-online-accounts "lib")
+ gspell
+ gtk+
+ json-glib
+ libcanberra
+ libsoup
+ rest))
+ (native-inputs (list desktop-file-utils ;for update-desktop-database
+ gettext-minimal
+ `(,glib "bin")
+ itstool
+ pkg-config
+ python))
(home-page "https://wiki.gnome.org/Apps/Recipes")
(synopsis "Discover recipes for preparing food")
(description "GNOME Recipes helps you discover what to cook today,
@@ -886,8 +888,7 @@ tomorrow, the rest of the week and for special occasions.")
"1bzi79plw6ji6qlckhxnwfnswy6jpnhzmmyanml2i2xg73hp6bg0"))))
(build-system meson-build-system)
(arguments
- `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
- #:glib-or-gtk? #t
+ `(#:glib-or-gtk? #t
#:configure-flags
(list "-Ddogtail=false" ; Not available
;; Required for RUNPATH validation.
@@ -958,8 +959,7 @@ cloud integration is offered through GNOME Online Accounts.")
"0lcdal4qdhclr8961p57xf010y92l6wwmkw86lyi9wy224z6gjr0"))))
(build-system meson-build-system)
(arguments
- `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
- #:glib-or-gtk? #t
+ `(#:glib-or-gtk? #t
#:phases
(modify-phases %standard-phases
(add-after 'install 'wrap-gnome-music
@@ -1001,6 +1001,7 @@ cloud integration is offered through GNOME Online Accounts.")
("libsoup" ,libsoup-minimal-2)
("pycairo" ,python-pycairo)
("pygobject" ,python-pygobject)
+ ("python" ,python)
("tracker" ,tracker)
("tracker-miners" ,tracker-miners)))
(synopsis "Simple music player for GNOME desktop")
@@ -1494,8 +1495,7 @@ extraction, and lookup for applications on the desktop.")
"06q3p4f8g9zr7a4mw3qr556mi0dg9qzrj8n46ybdz93fxs26aaj1"))))
(build-system meson-build-system)
(arguments
- `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
- #:configure-flags '(;; Enable camera support for user selfie.
+ `(#:configure-flags '(;; Enable camera support for user selfie.
"-Dcheese=auto"
"-Dsystemd=false")
#:phases (modify-phases %standard-phases
@@ -1560,8 +1560,7 @@ tour of all gnome components and allows the user to set them up.")
"04r9ck9v4i0d31grbli1d4slw2d6dcsfkpaybkwbzi7wnj72l30x"))))
(build-system meson-build-system)
(arguments
- `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
- #:glib-or-gtk? #t
+ `(#:glib-or-gtk? #t
#:configure-flags
`("-Dsystemduserunitdir=/tmp/empty"
;; Enable nautilus extension for file sharing.
@@ -1660,15 +1659,16 @@ to preview files on the GNOME desktop.")
(list "-Dplugins=external,gst-launch,lms,media-export,
mpris,playbin,ruih,tracker3")))
(native-inputs
- `(("gettext" ,gettext-minimal)
- ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
- ("gobject-introspection" ,gobject-introspection)
- ("gtk-doc" ,gtk-doc/stable)
- ("pkg-config" ,pkg-config)
- ("vala" ,vala)
- ("docbook-xml" ,docbook-xml)
- ("dockbook-xsl" ,docbook-xsl)
- ("xsltproc" ,libxslt)))
+ (list gettext-minimal
+ `(,glib "bin") ; for glib-compile-schemas, etc.
+ gobject-introspection
+ gtk-doc/stable
+ pkg-config
+ python
+ vala
+ docbook-xml
+ docbook-xsl
+ libxslt))
(inputs
(list gdk-pixbuf
gssdp
@@ -1855,7 +1855,7 @@ either on a local, or remote machine via a number of methods.")
(define-public gnome-commander
(package
(name "gnome-commander")
- (version "1.12.2")
+ (version "1.12.3.1")
(source
(origin
(method url-fetch)
@@ -1863,7 +1863,7 @@ either on a local, or remote machine via a number of methods.")
(version-major+minor version) "/"
"gnome-commander-" version ".tar.xz"))
(sha256
- (base32 "0f7l2pkyh3r1qk4hhavl7387l3bq5my3snpdppiavcpnji28dpa5"))))
+ (base32 "0fhmfxh6kbchggvpbin7d4g4fq5vc49y0w48wdkyxln5dswidss2"))))
(build-system glib-or-gtk-build-system)
(native-inputs
(list desktop-file-utils
@@ -1929,12 +1929,16 @@ and system administrators.")
(base32
"04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
(build-system meson-build-system)
+ (arguments `(#:meson ,meson-0.59))
(inputs
(list graphene
gtk+-2
libxml2
libxslt
- poppler
+
+ ;; XXX: PDF plugin fails to build with poppler 21.07.0.
+ ;; poppler
+
;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
;; ERROR: Unknown method "dependency" in object.
python-2))
@@ -2036,8 +2040,7 @@ to other formats.")
"0z2xa4w921bzpzj6gv88pvbrijcnnwni6jxynwz0ybaravyzaqha"))))
(build-system meson-build-system)
(arguments
- `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
- #:glib-or-gtk? #t
+ `(#:glib-or-gtk? #t
#:phases (modify-phases %standard-phases
(add-after 'install 'wrap
(lambda* (#:key outputs #:allow-other-keys)
@@ -2273,8 +2276,7 @@ and keep up to date translations of documentation.")
"1rr1ypb89p51b6428yqvczmpmylwjfnhnkgx78hzm3vxm3m15lff"))))
(build-system meson-build-system)
(arguments
- `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
- #:configure-flags '("-Dlogind=libelogind")
+ `(#:configure-flags '("-Dlogind=libelogind")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'skip-gtk-update-icon-cache
@@ -2323,8 +2325,7 @@ and keep up to date translations of documentation.")
"0hpyi0sz3gcqqs9lkwyk8b6hr39m3n27432x98kxr436jj37dk6j"))))
(build-system meson-build-system)
(arguments
- `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
- #:phases
+ `(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-post-install-script
(lambda _
@@ -2593,8 +2594,7 @@ forgotten when the session ends.")
"0xrwls1bhvny8vvd7mfjy9p26zjch0pd6x6j9jn9g2ka6xwyrxqg"))))
(build-system meson-build-system)
(arguments
- `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
- #:glib-or-gtk? #t
+ `(#:glib-or-gtk? #t
#:build-type "release"
#:configure-flags
'("-Dnautilus=false"
@@ -2669,25 +2669,24 @@ on the GNOME Desktop with a single simple application.")
"1v9jagk679m01nji0acirynxinziv036618c7xc49l4nwmr9ja3p"))))
(build-system meson-build-system)
(arguments
- '(#:phases (modify-phases %standard-phases
+ `(#:phases (modify-phases %standard-phases
(add-after 'unpack 'patch-schemas
(lambda* (#:key inputs #:allow-other-keys)
- (let ((theme (assoc-ref inputs "gnome-backgrounds")))
- (substitute* (find-files "schemas"
- "\\.gschema\\.xml\\.in$")
- ;; Provide the correct file name of the default
- ;; GNOME background, 'adwaita-timed.xml'.
- (("@datadir@/backgrounds/gnome")
- (string-append theme "/share/backgrounds/gnome"))
- ;; Do not reference fonts, that may not exist.
- (("'Source Code Pro 10'") "'Monospace 11'"))))))))
- (inputs
- (list glib gnome-backgrounds))
- (native-inputs
- `(("gettext" ,gettext-minimal)
- ("glib" ,glib "bin") ; glib-compile-schemas, etc.
- ("gobject-introspection" ,gobject-introspection)
- ("pkg-config" ,pkg-config)))
+ (substitute* (find-files "schemas"
+ "\\.gschema\\.xml\\.in$")
+ ;; Provide the correct file name of the default
+ ;; GNOME background, 'adwaita-timed.xml'.
+ (("@datadir@/backgrounds/gnome")
+ (search-input-directory inputs
+ "/share/backgrounds/gnome"))
+ ;; Do not reference fonts, that may not exist.
+ (("'Source Code Pro 10'") "'Monospace 11'")))))))
+ (inputs (list glib gnome-backgrounds))
+ (native-inputs (list gettext-minimal
+ `(,glib "bin") ;glib-compile-schemas, etc.
+ gobject-introspection
+ pkg-config
+ python)) ;for build-aux/meson/post-install.py
(home-page "https://launchpad.net/gsettings-desktop-schemas")
(synopsis "GNOME settings for various desktop components")
(description "Gsettings-desktop-schemas contains a collection of GSettings
@@ -3187,8 +3186,7 @@ API add-ons to make GTK+ widgets OpenGL-capable.")
"glade-test-widget-null-icon.patch"))))
(build-system meson-build-system)
(arguments
- `(#:meson ,meson-0.59
- #:phases
+ `(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'skip-gtk-update-icon-cache
;; Don't create 'icon-theme.cache'.
@@ -3232,6 +3230,7 @@ current/manpages/docbook.xsl")
("docbook-xml" ,docbook-xml-4.2)
("docbook-xsl" ,docbook-xsl)
("glib:bin" ,glib "bin")
+ ("python" ,python)
("python-pygobject" ,python-pygobject)
("gobject-introspection" ,gobject-introspection)
@@ -4370,6 +4369,7 @@ engineering.")
("glib:bin" ,glib "bin")
("itstool" ,itstool)
("pkg-config" ,pkg-config)
+ ("python" ,python)
("vala" ,vala)
("xmllint" ,libxml2)))
(home-page "https://wiki.gnome.org/Apps/Seahorse")
@@ -4470,6 +4470,7 @@ targeting the GNOME stack simple.")
("gobject-introspection" ,gobject-introspection)
("glib" ,glib "bin") ; for glib-genmarshal, etc.
("gperf" ,gperf)
+ ("python" ,python)
("xmllint" ,libxml2)))
(propagated-inputs
(list gtk+ ; required by vte-2.91.pc
@@ -4498,11 +4499,8 @@ editors, IDEs, etc.")
(base32
"0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
(build-system meson-build-system)
- (native-inputs
- (modify-inputs (package-native-inputs vte)
- (prepend gtk-doc/stable)))
(arguments
- `(#:configure-flags '("-Ddocs=true")))
+ (list #:configure-flags #~(list "-Ddocs=false")))
(synopsis "Enhanced VTE terminal widget")
(description
"VTE is a library (libvte) implementing a terminal emulator widget for
@@ -4617,6 +4615,7 @@ and RDP protocols.")
("glib:bin" ,glib "bin")
("gtk-doc" ,gtk-doc/stable)
("pkg-config" ,pkg-config)
+ ("python" ,python)
("vala" ,vala)))
(arguments
`(#:glib-or-gtk? #t
@@ -4875,7 +4874,7 @@ libxml to ease remote use of the RESTful API.")
(define-public libsoup-minimal
(package
(name "libsoup-minimal")
- (version "3.0.3")
+ (version "3.0.4")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/libsoup/"
@@ -4883,7 +4882,7 @@ libxml to ease remote use of the RESTful API.")
"libsoup-" version ".tar.xz"))
(sha256
(base32
- "0pp2s9rj7pp45ac99hbqszznln5ljj38cbc8lbljfc5fmm6v0rai"))))
+ "0ysnvvfd2f6w2z6g31spqqb8wgyamixc7mryzbbpyw0z15g8plsv"))))
(build-system meson-build-system)
(arguments
`(#:configure-flags '("-Dgtk_doc=false")
@@ -5095,7 +5094,6 @@ and other secrets. It communicates with the \"Secret Service\" using DBus.")
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
- #:meson ,meson-0.59
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'skip-gtk-update-icon-cache
@@ -5177,7 +5175,6 @@ once.")
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
- #:meson ,meson-0.59
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'skip-gtk-update-icon-cache
@@ -5443,7 +5440,7 @@ faster results and to avoid unnecessary server load.")
(define-public upower
(package
(name "upower")
- (version "0.99.12")
+ (version "0.99.13")
(source
(origin
(method git-fetch)
@@ -5455,7 +5452,7 @@ faster results and to avoid unnecessary server load.")
version)))))
(file-name (git-file-name name version))
(sha256
- (base32 "00q63yc8vp5cq05vhpwq3qglapdm8hg0lrqkzdwkphk30qzb6hv6"))
+ (base32 "0khwg6jpq81dcylkpi7cn75bjzif0q9qscwvirrk41krma23iddj"))
(patches (search-patches "upower-builddir.patch"))
(modules '((guix build utils)))
(snippet
@@ -5468,8 +5465,7 @@ faster results and to avoid unnecessary server load.")
;; location.
(substitute* "src/Makefile.am"
(("^dbusconfdir =.*$")
- "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
- #t))))
+ "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))))))
(build-system glib-or-gtk-build-system)
(arguments
'(#:phases
@@ -5478,8 +5474,7 @@ faster results and to avoid unnecessary server load.")
(lambda* (#:key inputs #:allow-other-keys)
(let ((umockdev (string-append (assoc-ref inputs "umockdev")
"/lib")))
- (setenv "LD_LIBRARY_PATH" umockdev))
- #t)))
+ (setenv "LD_LIBRARY_PATH" umockdev)))))
#:configure-flags (list "--localstatedir=/var"
(string-append "--with-udevrulesdir="
(assoc-ref %outputs "out")
@@ -5497,6 +5492,7 @@ faster results and to avoid unnecessary server load.")
;; For tests.
python-dbus
python-dbusmock
+ python-packaging
python-pygobject
umockdev
;; For man pages.
@@ -5540,6 +5536,7 @@ service via the system message bus.")
`(("glib:bin" ,glib "bin") ; for glib-mkenums
("gobject-introspection" ,gobject-introspection)
("pkg-config" ,pkg-config)
+ ("python" ,python)
("vala" ,vala)
("intltool" ,intltool)
("python-pygobject" ,python-pygobject)))
@@ -5576,12 +5573,10 @@ services for numerous locations.")
(patches (search-patches "gnome-settings-daemon-gc.patch"))))
(build-system meson-build-system)
(arguments
- `(#:meson ,meson-0.59
- #:glib-or-gtk? #t
+ `(#:glib-or-gtk? #t
#:configure-flags
(list (string-append "-Dudev_dir="
- (assoc-ref %outputs "out")
- "/lib/udev/rules.d/")
+ (assoc-ref %outputs "out") "/lib/udev")
"-Dsystemd=false"
;; Otherwise, the RUNPATH will lack the final path component.
(string-append "-Dc_link_args=-Wl,-rpath="
@@ -5632,7 +5627,7 @@ services for numerous locations.")
cups
gsettings-desktop-schemas
libwacom
- librsvg
+ (librsvg-for-system)
xf86-input-wacom
wayland
network-manager
@@ -5751,7 +5746,6 @@ both a traditional UI or a modern UI with a GtkHeaderBar.")
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
- #:meson ,meson-0.59
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'skip-gtk-update-icon-cache
@@ -6282,8 +6276,7 @@ discovery protocols.")
grilo-plugins
vala))
(arguments
- `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
- #:glib-or-gtk? #t
+ `(#:glib-or-gtk? #t
;; Disable automatic GStreamer plugin installation via PackageKit and
;; all that.
@@ -6432,11 +6425,12 @@ supports playlists, song ratings, and any codecs installed through gstreamer.")
name "-" version ".tar.xz"))
(sha256
(base32
- "0ddjwcd77nw0rxb5x5bz5hd671m8gya9827p8rsnb58x103kpai8"))))
+ "0ddjwcd77nw0rxb5x5bz5hd671m8gya9827p8rsnb58x103kpai8"))
+ ;; XXX: Remove when upgrading to 42.0
+ (patches (search-patches "eog-update-libportal-usage.patch"))))
(build-system meson-build-system)
(arguments
- `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
- #:configure-flags
+ `(#:configure-flags
;; Otherwise, the RUNPATH will lack the final 'eog' path component.
(list (string-append "-Dc_link_args=-Wl,-rpath="
(assoc-ref %outputs "out") "/lib/eog"))
@@ -6488,7 +6482,7 @@ supports image conversion, rotation, and slideshows.")
;; 'XDG_DATA_DIRS' appropriately set.
(package
(name "eog-plugins")
- (version "3.26.7")
+ (version "3.26.8")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/eog-plugins/"
@@ -6496,7 +6490,7 @@ supports image conversion, rotation, and slideshows.")
"eog-plugins-" version ".tar.xz"))
(sha256
(base32
- "0gbvl54hjawcrj2cbkvsw5jx11p6jv1xkc58c8ikwwpb56gc3ric"))))
+ "1dcxdjp7x092wn0iq7975f9b05ksb5kl5mxmyiqmydrja91ryw40"))))
(build-system gnu-build-system)
(home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
(synopsis "Extensions for the Eye of GNOME image viewer")
@@ -6567,8 +6561,7 @@ part of udev-extras, then udev, then systemd. It's now a project on its own.")
"1hlxl6368h6nyqp1888szxs9hnpcw98k3h23dgqi29xd38klzsmj"))))
(build-system meson-build-system)
(arguments
- `(#:meson ,meson-0.59
- #:glib-or-gtk? #t
+ `(#:glib-or-gtk? #t
#:configure-flags
(list "-Dsystemduserunitdir=no"
"-Dtmpfilesdir=no"
@@ -6647,7 +6640,7 @@ DAV, and others.")
"-Dvapi=false")
'()))))
(native-inputs
- (list gobject-introspection pkg-config vala))
+ (list gobject-introspection pkg-config python vala))
(propagated-inputs
;; Both of these are required by gusb.pc.
(list glib libusb))
@@ -6675,7 +6668,7 @@ USB transfers with your high-level application or system daemon.")
(define-public simple-scan
(package
(name "simple-scan")
- (version "40.5")
+ (version "40.7")
(source
(origin
(method url-fetch)
@@ -6683,28 +6676,28 @@ USB transfers with your high-level application or system daemon.")
(version-major version) "/"
"simple-scan-" version ".tar.xz"))
(sha256
- (base32 "195rh8zj5n497gj42rd77mvkdl15hk0i08ll5h4hb9kcrgj7jlzb"))))
+ (base32 "0lrxmk8xqvrb5gn5mpgqij133giwvrgavy49m55d7xssrd91hmbw"))))
(build-system meson-build-system)
;; TODO: Fix icons in home screen, About dialogue, and scan menu.
(arguments
- `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
- #:glib-or-gtk? #t))
- (inputs
- `(("gtk" ,gtk+)
- ("zlib" ,zlib)
- ("cairo" ,cairo)
- ("colord" ,colord)
- ("gdk-pixbuf" ,gdk-pixbuf)
- ("gusb" ,gusb)
- ("libhandy" ,libhandy)
- ("libsane" ,sane-backends)))
+ `(#:glib-or-gtk? #t))
(native-inputs
- `(("gettext" ,gettext-minimal)
- ("itstool" ,itstool)
- ("glib" ,glib "bin") ; glib-compile-schemas, etc.
- ("pkg-config" ,pkg-config)
- ("vala" ,vala)
- ("xmllint" ,libxml2)))
+ (list gettext-minimal
+ itstool
+ `(,glib "bin") ; glib-compile-schemas, etc.
+ pkg-config
+ python
+ vala
+ libxml2))
+ (inputs
+ (list gtk+
+ zlib
+ cairo
+ colord
+ gdk-pixbuf
+ gusb
+ libhandy
+ sane-backends))
(home-page "https://gitlab.gnome.org/GNOME/simple-scan")
(synopsis "Document and image scanner")
(description
@@ -6787,7 +6780,7 @@ a secret password store, an adblocker, and a modern UI.")
(define-public epiphany
(package
(name "epiphany")
- (version "40.3")
+ (version "41.2")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/epiphany/"
@@ -6795,12 +6788,12 @@ a secret password store, an adblocker, and a modern UI.")
"epiphany-" version ".tar.xz"))
(sha256
(base32
- "0r7m34xzz3shdfxf2abxb069izak3yv3ijlg29qy4pfmyawkilfs"))))
-
+ "0k7b22zq3z1kllzqxgwsvwb1lp0j6rjb3k1hvhna3i573wc4mpji"))
+ (patches
+ (search-patches "epiphany-update-libportal-usage.patch"))))
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
- #:meson ,meson-0.59
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'skip-gtk-update-icon-cache
@@ -7116,6 +7109,7 @@ metadata in photo and video files of various formats.")
("glib:bin" ,glib "bin")
("itstool" ,itstool)
("pkg-config" ,pkg-config)
+ ("python" ,python)
("vala" ,vala)))
(inputs
`(("gcr" ,gcr)
@@ -7158,6 +7152,7 @@ share them with others via social networking and more.")
intltool
itstool
pkg-config
+ python
`(,gtk+ "bin") ; gtk-update-icon-cache
`(,glib "bin")))
;; TODO: Add libnautilus.
@@ -7190,8 +7185,7 @@ such as gzip tarballs.")
(base32
"02z0xr6sv9ibl7awbw9j4y05hf4jk1zgvsbbmh7n27hhjvsvc8pl"))))
(arguments
- `(#:meson ,meson-0.59
- #:glib-or-gtk? #t
+ `(#:glib-or-gtk? #t
#:phases
(modify-phases %standard-phases
(add-after 'install 'wrap-gnome-session
@@ -7258,7 +7252,10 @@ configuration program to choose applications starting on login.")
(("☭") ""))))))
(build-system meson-build-system)
(arguments
- '(#:configure-flags '("-Dinstalled_tests=false")
+ ;; Use meson-0.59, otherwise we'd get "ERROR: "install_dir" must be
+ ;; specified when installing a target".
+ `(#:meson ,meson-0.59
+ #:configure-flags '("-Dinstalled_tests=false")
#:phases
(modify-phases %standard-phases
(add-before 'check 'pre-check
@@ -7304,8 +7301,7 @@ javascript engine and the GObject introspection framework.")
"149ngl9qw6h59546lir1pa7hvw23ppsnqlj9mfqphmmn5jl99qsm"))))
(build-system meson-build-system)
(arguments
- `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
- #:glib-or-gtk? #t
+ `(#:glib-or-gtk? #t
#:configure-flags
;; Otherwise, the RUNPATH will lack the final path component.
(list (string-append "-Dc_link_args=-Wl,-rpath="
@@ -7546,6 +7542,7 @@ to display dialog boxes from the commandline and shell scripts.")
("adwaita-icon-theme" ,adwaita-icon-theme)
("libxcursor" ,libxcursor) ;for XCURSOR_PATH
("pipewire" ,pipewire-0.3)
+ ("python" ,python)
("python-dbus" ,python-dbus)
("python-dbusmock" ,python-dbusmock)
("tini" ,tini))) ;acting as init (zombie reaper)
@@ -7858,6 +7855,13 @@ users.")
(string-append "-Ddhclient=" dhclient)))
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'patch-dlopen-call-to-libjansson.so
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "src/libnm-glib-aux/nm-json-aux.c"
+ (("(handle = dlopen\\()soname" _ head)
+ (string-append
+ head "\"" (search-input-file inputs
+ "lib/libjansson.so") "\"")))))
(add-before 'configure 'pre-configure
(lambda _
;; These tests try to test aspects of network-manager's
@@ -7876,12 +7880,7 @@ users.")
((".*test-link-linux.*") "")
((".*test-lldp.*") "")
((".*test-route-linux.*") "")
- ((".*test-tc-linux.*") ""))
- ;; FIXME: The jansson check fails (see:
- ;; https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/837
- (substitute* "src/libnm-core-impl/tests/test-setting.c"
- (("g_assert\\(nm_json_vt\\(\\)\\);")
- "return TRUE;"))))
+ ((".*test-tc-linux.*") ""))))
(add-after 'unpack 'patch-docbook-xml
(lambda* (#:key inputs #:allow-other-keys)
(let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
@@ -8154,8 +8153,7 @@ Cisco's AnyConnect SSL VPN.")
"1gj6lqqi613j2m49v9i82lqg1rv7kwwc8z4nxjcwpaa0ins803f7"))))
(build-system meson-build-system)
(arguments
- `(#:meson ,meson-0.59
- #:glib-or-gtk? #t
+ `(#:glib-or-gtk? #t
#:configure-flags
'("-Dappindicator=yes")))
(native-inputs
@@ -8509,7 +8507,6 @@ usage and information about running processes.")
(base32
"1a9ynlwwkb3wpg293ym517vmrkk63y809mmcv9a21k5yr199x53c"))))
(build-system meson-build-system)
- (arguments `(#:meson ,meson-0.59))
(native-inputs
`(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
@@ -8534,7 +8531,7 @@ devices using the GNOME desktop.")
(define-public gnome-control-center
(package
(name "gnome-control-center")
- (version "40.1")
+ (version "41.2")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
@@ -8542,11 +8539,12 @@ devices using the GNOME desktop.")
name "-" version ".tar.xz"))
(sha256
(base32
- "0rr4d5m2a72vrb31jgyx49dp0s2pwgyxsrk4hyw5ym66wq63c3v1"))))
+ "0j72ixhli621psbrma86qxy0spv6gpjx6k9hg2jih97c6dmzqwc2"))
+ (patches (search-patches
+ "gnome-control-center-libexecdir.patch"))))
(build-system meson-build-system)
(arguments
- `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
- #:glib-or-gtk? #t
+ `(#:glib-or-gtk? #t
#:configure-flags
(list "-Dcheese=false"
(string-append "-Dgnome_session_libexecdir="
@@ -8588,53 +8586,59 @@ devices using the GNOME desktop.")
;; Don't create 'icon-theme.cache'.
(lambda _
(substitute* "build-aux/meson/meson_post_install.py"
- (("gtk-update-icon-cache") (which "true"))))))))
+ (("gtk-update-icon-cache") (which "true")))))
+ (add-before 'install 'no-polkit-magic
+ ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
+ (lambda _
+ (setenv "PKEXEC_UID" "something"))))))
(native-inputs
- `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
- ("intltool" ,intltool)
- ("pkg-config" ,pkg-config)
- ("xsltproc" ,libxslt)
- ;; For tests
- ("hicolor-icon-theme" ,hicolor-icon-theme)
- ("python-dbusmock" ,python-dbusmock)
- ("xorg-server" ,xorg-server-for-tests)))
+ (list `(,glib "bin") ;for glib-mkenums, etc.
+ intltool
+ pkg-config
+ python
+ libxslt
+ ;; For tests
+ hicolor-icon-theme
+ python-dbusmock
+ xorg-server-for-tests))
(inputs
- `(("accountsservice" ,accountsservice)
- ("clutter-gtk" ,clutter-gtk)
- ("colord-gtk" ,colord-gtk)
- ("cups" ,cups)
- ("dconf" ,dconf)
- ("docbook-xsl" ,docbook-xsl)
- ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
- ("gnome-bluetooth" ,gnome-bluetooth)
- ("gnome-desktop" ,gnome-desktop)
- ("gnome-online-accounts" ,gnome-online-accounts)
- ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
- ("gnome-session" ,gnome-session)
- ("gnome-settings-daemon" ,gnome-settings-daemon)
- ("grilo" ,grilo)
- ("gsound" ,gsound)
- ("ibus" ,ibus)
- ("libcanberra" ,libcanberra)
- ("libgnomekbd" ,libgnomekbd)
- ("libgudev" ,libgudev)
- ("libgtop" ,libgtop)
- ("libnma" ,libnma)
- ("libpwquality" ,libpwquality)
- ("libsecret" ,libsecret)
- ("libsoup" ,libsoup-minimal-2)
- ("libxml2" ,libxml2)
- ("libwacom" ,libwacom)
- ("mesa" ,mesa)
- ("mit-krb5" ,mit-krb5)
- ("modem-manager" ,modem-manager)
- ("network-manager-applet" ,network-manager-applet)
- ("polkit" ,polkit)
- ("pulseaudio" ,pulseaudio)
- ("smbclient" ,samba)
- ("tzdata" ,tzdata)
- ("udisks" ,udisks)
- ("upower" ,upower)))
+ (list accountsservice
+ clutter-gtk
+ colord-gtk
+ cups
+ dconf
+ docbook-xsl
+ gcr
+ gnome-bluetooth
+ gnome-desktop
+ gnome-online-accounts
+ `(,gnome-online-accounts "lib")
+ gnome-session
+ gnome-settings-daemon
+ grilo
+ gsound
+ ibus
+ libcanberra
+ libgnomekbd
+ libgudev
+ libgtop
+ libnma
+ libpwquality
+ librsvg ;for loading SVG files
+ libsecret
+ libsoup-minimal-2
+ libxml2
+ libwacom
+ mesa
+ mit-krb5
+ modem-manager
+ network-manager-applet
+ polkit
+ pulseaudio
+ samba
+ tzdata
+ udisks
+ upower))
(synopsis "Utilities to configure the GNOME desktop")
(home-page "https://www.gnome.org/")
(description
@@ -8658,8 +8662,7 @@ properties, screen resolution, and other GNOME parameters.")
"0ragmcln210zvzhc2br33yprbkj9drjzd7inp5sdxra0a7l73yaj"))))
(build-system meson-build-system)
(arguments
- `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
- #:glib-or-gtk? #t
+ `(#:glib-or-gtk? #t
#:disallowed-references ,(list (gexp-input glib "bin")
(gexp-input libxslt)
(gexp-input ruby-sass))
@@ -8710,14 +8713,38 @@ properties, screen resolution, and other GNOME parameters.")
(let ((out (assoc-ref outputs "out"))
(gi-typelib-path (getenv "GI_TYPELIB_PATH"))
(python-path (getenv "GUIX_PYTHONPATH")))
- (wrap-program (string-append out "/bin/gnome-shell")
- `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
+ (for-each
+ (lambda (prog)
+ (wrap-program (string-append out "/bin/" prog)
+ `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
+ '("gnome-shell" "gnome-extensions-app"))
+ (substitute* (string-append out "/share/gnome-shell/"
+ "org.gnome.Shell.Extensions")
+ (("imports\\.package\\.start" all)
+ (string-append "'" gi-typelib-path "'.split(':').forEach("
+ "path => imports.gi.GIRepository.Repository."
+ "prepend_search_path(path));\n"
+ all)))
(for-each
(lambda (prog)
(wrap-program (string-append out "/bin/" prog)
`("GUIX_PYTHONPATH" ":" prefix (,python-path))
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
- '("gnome-shell-extension-tool" "gnome-shell-perf-tool")))))
+ '("gnome-shell-perf-tool")))))
+ (add-after 'install 'rewire
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (for-each
+ (lambda (tool)
+ (call-with-output-file (string-append
+ (assoc-ref outputs "out")
+ "/bin/" tool)
+ (lambda (port)
+ (format port "#!~a
+printf '~a is deprecated. Use the \"gnome-extensions\" CLI or \
+\"gnome-extensions-app\" instead.\\n'"
+ (search-input-file inputs "bin/bash")
+ tool))))
+ '("gnome-shell-extension-tool" "gnome-shell-extension-prefs"))))
(replace 'glib-or-gtk-wrap
(let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
(lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
@@ -8801,7 +8828,11 @@ like switching to windows and launching applications.")
(arguments
`(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
(native-inputs
- `(("gjs" ,gjs)
+ `(;; GJS depends on Rust, which is x86_64-only so far, so remove the GJS
+ ;; dependency on other platforms (FIXME).
+ ,@(if (target-x86-64?)
+ `(("gjs" ,gjs))
+ '())
("glib:bin" ,glib "bin")
("gobject-introspection" ,gobject-introspection)
("intltool" ,intltool)
@@ -8812,7 +8843,7 @@ like switching to windows and launching applications.")
("vala" ,vala)))
(inputs
`(("cairo" ,cairo)
- ("librsvg" ,librsvg)
+ ("librsvg" ,(librsvg-for-system))
("glib" ,glib)
("gnutls" ,gnutls)
("libgcrypt" ,libgcrypt)
@@ -8912,6 +8943,7 @@ easy, safe, and automatic.")
("intltool" ,intltool)
("dbus" ,dbus)
("pkg-config" ,pkg-config)
+ ("python" ,python)
("vala" ,vala)))
(inputs
`(("dbus" ,dbus)
@@ -8941,7 +8973,7 @@ found by Tracker. This means that GNOME Music doesn't need to maintain a
database of its own.
If you need to go beyond simple searches, Tracker is also a linked data
-endpoint and it understands SPARQL. ")
+endpoint and it understands SPARQL.")
;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
;; libstemmer is bsd-3 and the rest is gpl2+.
@@ -9064,7 +9096,7 @@ shared object databases, search tools and indexing.")
(define-public nautilus
(package
(name "nautilus")
- (version "41.0")
+ (version "41.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
@@ -9072,13 +9104,37 @@ shared object databases, search tools and indexing.")
name "-" version ".tar.xz"))
(sha256
(base32
- "1rd1a0wjh2sc7mzw6m61rryvgxpi2lin4xj0x9khqw04q6nl3fgr"))))
+ "0bsqh241m43x3qb3z0mjakjic610ncl95zhjdgls649phnc30qry"))
+ (patches
+ ;; This patch is already upstream and can be removed next
+ ;; release.
+ (search-patches "nautilus-add-libportal-gtk3.patch"))))
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
- #:meson ,meson-0.59
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'make-extensible
+ (lambda _
+ (substitute* "src/nautilus-module.c"
+ (("static gboolean initialized = FALSE;" all)
+ (string-append all "
+const char *extension_path;
+char **extension_dirs, **d;
+")
+ )
+ (("load_module_dir \\(NAUTILUS_EXTENSIONDIR\\);" all)
+ (string-append all
+ "
+extension_path = g_getenv (\"NAUTILUS_EXTENSION_PATH\");
+if (extension_path)
+{
+ extension_dirs = g_strsplit (extension_path, \":\", -1);
+ for (d = extension_dirs; d != NULL && *d != NULL; d++)
+ load_module_dir(*d);
+ g_strfreev(extension_dirs);
+}
+")))))
(add-after 'unpack 'skip-gtk-update-icon-cache
;; Don't create 'icon-theme.cache'.
(lambda _
@@ -9088,35 +9144,40 @@ shared object databases, search tools and indexing.")
;; Settings schema 'org.gnome.nautilus.preferences' is not installed
#:tests? #f))
(native-inputs
- `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
- ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
- ("gobject-introspection" ,gobject-introspection)
- ("intltool" ,intltool)
- ("pkg-config" ,pkg-config)))
+ (list desktop-file-utils ; for update-desktop-database
+ `(,glib "bin") ; for glib-mkenums, etc.
+ gobject-introspection
+ intltool
+ pkg-config
+ python))
(inputs
- `(("dconf" ,dconf)
- ("gexiv2" ,gexiv2)
- ("gvfs" ,gvfs)
- ("exempi" ,exempi)
- ("gnome-desktop" ,gnome-desktop)
- ("gnome-autoar" ,gnome-autoar)
- ("gst-plugins-base" ,gst-plugins-base)
- ("json-glib" ,json-glib)
- ("libhandy" ,libhandy)
- ("libportal" ,libportal)
- ("libseccomp" ,libseccomp)
- ("libselinux" ,libselinux)
- ("libsoup" ,libsoup-minimal-2) ; to satisfy tracker dependencies
- ("tracker" ,tracker)
- ("tracker-miners" ,tracker-miners)
- ;; XXX: gtk+ is required by libnautilus-extension.pc
- ;;
- ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
- ;; package. See:
- ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
- ("gtk+" ,gtk+)
- ("libexif" ,libexif)
- ("libxml2" ,libxml2)))
+ (list dconf
+ gexiv2
+ gvfs
+ exempi
+ gnome-desktop
+ gnome-autoar
+ gst-plugins-base
+ json-glib
+ libhandy
+ libportal
+ libseccomp
+ libselinux
+ libsoup-minimal-2 ; to satisfy tracker dependencies
+ tracker
+ tracker-miners
+ ;; XXX: gtk+ is required by libnautilus-extension.pc
+ ;;
+ ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
+ ;; package. See:
+ ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
+ gtk+
+ libexif
+ libxml2))
+ (native-search-paths
+ (list (search-path-specification
+ (variable "NAUTILUS_EXTENSION_PATH")
+ (files '("lib/nautilus/site-extensions")))))
(synopsis "File manager for GNOME")
(home-page "https://wiki.gnome.org/Apps/Nautilus")
(description
@@ -9144,6 +9205,7 @@ files.")
(native-inputs
`(("intltool" ,intltool)
("pkg-config" ,pkg-config)
+ ("python" ,python)
("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
("itstool" ,itstool)
@@ -9164,7 +9226,7 @@ is complete it provides a graphical representation of each selected folder.")
(define-public gnome-backgrounds
(package
(name "gnome-backgrounds")
- (version "40.1")
+ (version "41.0")
(source
(origin
(method url-fetch)
@@ -9173,10 +9235,9 @@ is complete it provides a graphical representation of each selected folder.")
name "-" version ".tar.xz"))
(sha256
(base32
- "03m7ldfk00cly9igrq0qizq1y0f45vijmm23f1dl5kh1lc6qmpv0"))))
+ "0i9id5z72dqddh94648zylyf41amqq5lhny8sbyg1v8v4q6sr88x"))))
(build-system meson-build-system)
- (native-inputs
- `(("gettext" ,gettext-minimal)))
+ (native-inputs (list gettext-minimal))
(home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
(synopsis "Background images for the GNOME desktop")
(description
@@ -9212,14 +9273,14 @@ can add your own files to the collection.")
;; Don't create 'icon-theme.cache'.
(lambda _
(substitute* "build-aux/postinstall.py"
- (("gtk-update-icon-cache") "true"))
- #t)))))
+ (("gtk-update-icon-cache") "true")))))))
(native-inputs
`(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
("intltool" ,intltool)
("appstream-glib" ,appstream-glib)
- ("pkg-config" ,pkg-config)))
+ ("pkg-config" ,pkg-config)
+ ("python" ,python)))
(inputs
(list gtk+ libcanberra libhandy libx11 libxext))
(home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
@@ -9252,8 +9313,6 @@ beautifying border effects.")
("vala" ,vala)))
(inputs
(list dconf gtk+ libxml2))
- (arguments
- `(#:meson ,meson-0.59))
(home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
(synopsis "Graphical editor for GNOME's dconf configuration system")
(description
@@ -9350,8 +9409,7 @@ associations for GNOME.")
libgweather
libhandy))
(arguments
- `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
- #:glib-or-gtk? #t
+ `(#:glib-or-gtk? #t
#:phases
,#~(modify-phases %standard-phases
(add-after 'unpack 'fix-service-file
@@ -9548,7 +9606,8 @@ specified duration and save it as a GIF encoded animated image file.")
(base32 "1c4r9rnrz5gazrfg0z2rcwax4nscs7z391bcjcl74k6ln3blwzpr"))))
(build-system meson-build-system)
(arguments
- `(#:glib-or-gtk? #t
+ `(#:meson ,meson-0.59
+ #:glib-or-gtk? #t
#:phases
(modify-phases %standard-phases
(add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
@@ -9558,24 +9617,25 @@ specified duration and save it as a GIF encoded animated image file.")
(pylib (string-append (assoc-ref outputs "out")
"/lib/python"
,(version-major+minor
- (package-version python))
+ (package-version
+ (this-package-input "python")))
"/site-packages")))
(wrap-program prog
`("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
- `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
- #t))))))
+ `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))))
(native-inputs
- `(("desktop-file-utils" ,desktop-file-utils)
- ("gettext" ,gettext-minimal)
- ("glib:bin" ,glib "bin")
- ("gobject-introspection" ,gobject-introspection)
- ("gtk+:bin" ,gtk+ "bin")
- ("pkg-config" ,pkg-config)))
+ (list desktop-file-utils
+ gettext-minimal
+ `(,glib "bin")
+ gobject-introspection
+ `(,gtk+ "bin")
+ pkg-config))
(inputs
(list gsettings-desktop-schemas
gtk+
libhandy-0.0
libsecret
+ python
python-beautifulsoup4
python-pillow
python-pyfavicon
@@ -9711,7 +9771,6 @@ desktop. It supports world clock, stop watch, alarms, and count down timer.")
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
- #:meson ,meson-0.59
;; gnome-calendar has to be installed before the tests can be run
;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
#:tests? #f
@@ -9747,7 +9806,7 @@ desktop. It supports multiple calendars, month, week and year view.")
(define-public gnome-todo
(package
(name "gnome-todo")
- (version "40.1")
+ (version "41.0")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
@@ -9755,44 +9814,50 @@ desktop. It supports multiple calendars, month, week and year view.")
name "-" version ".tar.xz"))
(sha256
(base32
- "1r1fb3zgjvkhx93by24j8cg1w1g3zvwr49vqkscjn261vqs44jq3"))))
+ "1r94880d4khbjhhfnhaba3y3d4hv2bri82rzfzxn27s5iybpqras"))
+ (patches (search-patches "gnome-todo-libportal.patch"))))
(build-system meson-build-system)
(arguments
- `(#:glib-or-gtk? #t
- ;; XXX: Some tests fail with the following error:
- ;; Settings schema 'org.gnome.todo' is not installed.
- #:tests? #f
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'skip-gtk-update-icon-cache
- ;; Don't create 'icon-theme.cache'.
- (lambda _
- (substitute* "build-aux/meson/meson_post_install.py"
- (("gtk-update-icon-cache") "true")))))))
+ (list
+ #:glib-or-gtk? #t
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'skip-gtk-update-icon-cache
+ (lambda _
+ (substitute* "build-aux/meson/meson_post_install.py"
+ (("gtk-update-icon-cache") "true"))))
+ (delete 'check)
+ (add-after 'install 'check
+ (assoc-ref %standard-phases
+ 'check))
+ (add-before 'check 'pre-check
+ (lambda _
+ (setenv "GSETTINGS_SCHEMA_DIR"
+ (string-append #$output "/share/glib-2.0/schemas")))))))
(native-inputs
- `(("gettext" ,gettext-minimal)
- ("gobject-introspection" ,gobject-introspection)
- ("glib:bin" ,glib "bin") ; For glib-compile-resources
- ("gtk-bin" ,gtk "bin") ; For gtk-update-icon-cache
- ("pkg-config" ,pkg-config)))
+ (list gettext-minimal
+ gobject-introspection
+ `(,glib "bin") ;for glib-compile-resources
+ `(,gtk "bin") ;for gtk-update-icon-cache
+ itstool
+ pkg-config))
(inputs
- `(("rest" ,rest) ; For Todoist plugin
- ("gtk" ,gtk)
- ("json-glib" ,json-glib) ; For Todoist plugin
- ("libadwaita" ,libadwaita)
- ("libedataserverui" ,evolution-data-server)
- ("libical" ,libical)
- ("libpeas" ,libpeas)
- ("libportal" ,libportal)
- ("python-pygobject" ,python-pygobject)
- ("evolution-data-server" ,evolution-data-server)
- ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
- ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
+ (list rest ;for Todoist plugin
+ gtk
+ json-glib ;for Todoist plugin
+ libadwaita
+ evolution-data-server
+ libical
+ libpeas
+ libportal
+ python-pygobject
+ evolution-data-server
+ `(,gnome-online-accounts "lib")
+ gsettings-desktop-schemas))
(home-page "https://wiki.gnome.org/Apps/Todo")
(synopsis "GNOME's ToDo Application")
- (description
- "GNOME To Do is a simplistic personal task manager designed to perfectly
-fit the GNOME desktop.")
+ (description "GNOME To Do is a simplistic personal task manager designed
+to perfectly fit the GNOME desktop.")
(license license:gpl3+)))
(define-public gnome-dictionary
@@ -9809,7 +9874,8 @@ fit the GNOME desktop.")
"1d8dhcfys788vv27v34i3s3x3jdvdi2kqn2a5p8c937a9hm0qr9f"))))
(build-system meson-build-system)
(arguments
- '(#:glib-or-gtk? #t
+ `(#:glib-or-gtk? #t
+ #:meson ,meson-0.59
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'skip-gtk-update-icon-cache
@@ -9818,12 +9884,12 @@ fit the GNOME desktop.")
(substitute* "build-aux/meson/post-install.py"
(("gtk-update-icon-cache") "true")))))))
(native-inputs
- `(("glib:bin" ,glib "bin")
- ("gobject-introspection" ,gobject-introspection)
- ("intltool" ,intltool)
- ("itstool" ,itstool)
- ("pkg-config" ,pkg-config)
- ("xmllint" ,libxml2)))
+ (list `(,glib "bin")
+ gobject-introspection
+ intltool
+ itstool
+ pkg-config
+ libxml2))
(inputs
(list gsettings-desktop-schemas gtk+))
(home-page "https://wiki.gnome.org/Apps/Dictionary")
@@ -9850,7 +9916,6 @@ existing databases over the internet.")
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
- #:meson ,meson-0.59
#:configure-flags '("-Dlocalstatedir=/tmp"
"-Dsysconfdir=/tmp")
#:imported-modules ((guix build python-build-system)
@@ -9949,8 +10014,7 @@ functionality and behavior.")
;; Don't create 'icon-theme.cache'.
(lambda _
(substitute* "meson_post_install.py"
- (("gtk-update-icon-cache") "true"))
- #t)))))
+ (("gtk-update-icon-cache") "true")))))))
(inputs
(list bdb
dbus-glib
@@ -9960,12 +10024,13 @@ functionality and behavior.")
readline
telepathy-glib))
(native-inputs
- `(("glib:bin" ,glib "bin")
- ("gobject-introspection" ,gobject-introspection)
- ("python-dbusmock" ,python-dbusmock)
- ("intltool" ,intltool)
- ("pkg-config" ,pkg-config)
- ("vala" ,vala)))
+ (list `(,glib "bin")
+ gobject-introspection
+ python-dbusmock
+ intltool
+ pkg-config
+ python
+ vala))
(synopsis "Library to aggregate data about people")
(description "Libfolks is a library that aggregates information about people
from multiple sources (e.g., Telepathy connection managers for IM contacts,
@@ -10082,7 +10147,7 @@ handling the startup notification side.")
(define-public gnome-calculator
(package
(name "gnome-calculator")
- (version "40.1")
+ (version "41.0")
(source
(origin
(method url-fetch)
@@ -10091,7 +10156,7 @@ handling the startup notification side.")
name "-" version ".tar.xz"))
(sha256
(base32
- "1xkazxbkpn1z5pfphhps7fc5q4yc8lp7f6b222n8bx5iyxhwbrkz"))))
+ "16fwwfnw1w8p53ffny6zkff5cfsmg7xax9kmfgb7czjqv15w0vd6"))))
(build-system meson-build-system)
(arguments
'(#:glib-or-gtk? #t
@@ -10102,21 +10167,22 @@ handling the startup notification side.")
;; Tests require a writable HOME.
(setenv "HOME" (getcwd)))))))
(native-inputs
- `(("gettext" ,gettext-minimal)
- ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
- ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
- ("itstool" ,itstool)
- ("vala" ,vala)
- ("pkg-config" ,pkg-config)))
+ (list gettext-minimal
+ `(,glib "bin") ;for glib-compile-schemas, gio-2.0.
+ `(,gtk+ "bin") ;for gtk-update-icon-cache
+ itstool
+ vala
+ pkg-config
+ python))
(inputs
- `(("glib" ,glib)
- ("gtksourceview" ,gtksourceview)
- ("libgee" ,libgee)
- ("libhandy" ,libhandy)
- ("libsoup" ,libsoup-minimal-2)
- ("libxml2" ,libxml2)
- ("mpc" ,mpc)
- ("mpfr" ,mpfr)))
+ (list `(,glib "bin")
+ gtksourceview
+ libgee
+ libhandy
+ libsoup-minimal-2
+ libxml2
+ mpc
+ mpfr))
(home-page "https://wiki.gnome.org/Apps/Calculator")
(synopsis "Desktop calculator")
(description
@@ -10282,7 +10348,7 @@ Bluefish supports many programming and markup languages.")
(define-public gnome-system-monitor
(package
(name "gnome-system-monitor")
- (version "40.1")
+ (version "41.0")
(source
(origin
(method url-fetch)
@@ -10291,21 +10357,21 @@ Bluefish supports many programming and markup languages.")
name "-" version ".tar.xz"))
(sha256
(base32
- "06hxd4igxas2kyind5jwfq5qbfkknykpdfy2sy3anylhcx1hzczx"))))
+ "0pwy2c95rm0ym3x5pr6rqg7zh58crjxyns4r52q99ds937349z67"))))
(build-system meson-build-system)
(arguments
'(#:glib-or-gtk? #t
#:configure-flags '("-Dsystemd=false")))
(native-inputs
- `(("glib:bin" ,glib "bin") ; for glib-mkenums.
- ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
- ("intltool" ,intltool)
- ("itstool" ,itstool)
- ("libgtop" ,libgtop)
- ("polkit" ,polkit)
- ("pkg-config" ,pkg-config)))
+ (list `(,glib "bin") ;for glib-mkenums.
+ `(,gtk+ "bin") ;gtk-update-icon-cache
+ intltool
+ itstool
+ libgtop
+ polkit
+ pkg-config))
(inputs
- (list gdk-pixbuf ; for loading SVG files.
+ (list gdk-pixbuf ;for loading SVG files.
gtk+
gtkmm-3
libhandy
@@ -10373,7 +10439,7 @@ accessibility infrastructure.")
(define-public orca
(package
(name "orca")
- (version "40.0")
+ (version "41.0")
(source (origin
(method url-fetch)
(uri (string-append
@@ -10382,7 +10448,7 @@ accessibility infrastructure.")
name "-" version ".tar.xz"))
(sha256
(base32
- "0hq0zdcn80ficpcffbk667907v6m7dih3dhyc7ss01mrj3iyw000"))))
+ "1gflnsv6d5qn5rh1f16yfa0q0yv8yvd0l5lbwrsdg7z18lafb5vn"))))
(build-system glib-or-gtk-build-system)
(arguments
'(#:phases
@@ -10392,8 +10458,7 @@ accessibility infrastructure.")
(let ((xkbcomp (string-append
(assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
(substitute* "src/orca/orca.py"
- (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
- #t))
+ (("'xkbcomp'") (format #f "'~a'" xkbcomp))))))
(add-after 'install 'wrap-orca
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
@@ -10404,25 +10469,24 @@ accessibility infrastructure.")
`("GST_PLUGIN_SYSTEM_PATH" ":" prefix
(,(getenv "GST_PLUGIN_SYSTEM_PATH")))
`("GUIX_PYTHONPATH" ":" prefix
- (,(getenv "GUIX_PYTHONPATH")))))
- #t)))))
+ (,(getenv "GUIX_PYTHONPATH"))))))))))
(native-inputs
- `(("intltool" ,intltool)
- ("itstool" ,itstool)
- ("pkg-config" ,pkg-config)
- ("xmllint" ,libxml2)))
+ (list intltool
+ itstool
+ pkg-config
+ libxml2))
(inputs
- `(("at-spi2-atk" ,at-spi2-atk)
- ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
- ("gstreamer" ,gstreamer)
- ("gst-plugins-base" ,gst-plugins-base)
- ("gst-plugins-good" ,gst-plugins-good)
- ("gtk+" ,gtk+)
- ("python" ,python)
- ("python-pygobject" ,python-pygobject)
- ("python-pyatspi" ,python-pyatspi)
- ("python-speechd" ,speech-dispatcher)
- ("xkbcomp" ,xkbcomp)))
+ (list at-spi2-atk
+ gsettings-desktop-schemas
+ gstreamer
+ gst-plugins-base
+ gst-plugins-good
+ gtk+
+ python
+ python-pygobject
+ python-pyatspi
+ speech-dispatcher
+ xkbcomp))
(synopsis
"Screen reader for individuals who are blind or visually impaired")
(home-page "https://wiki.gnome.org/Projects/Orca")
@@ -10638,8 +10702,7 @@ photo-booth-like software, such as Cheese.")
"0vyim2avlgq3a48rgdfz5g21kqk11mfb53b2l883340v88mp7ll8"))
(patches (search-patches "cheese-vala-update.patch"))))
(arguments
- `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
- #:glib-or-gtk? #t
+ `(#:glib-or-gtk? #t
;; Tests require GDK.
#:tests? #f
#:phases
@@ -10706,47 +10769,48 @@ apply fancy special effects and lets you share the fun with others.")
(define-public passwordsafe
(package
(name "passwordsafe")
- (version "5.0")
+ (version "5.1")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://gitlab.gnome.org/World/PasswordSafe")
+ (url "https://gitlab.gnome.org/World/secrets")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1xh64bbg10gnfzlck5jvqy2zk6hbk9cyqgv85xc9kbdvs8n4lhgh"))))
+ (base32 "0kd43j6i017wdsqj6d5gnxhfv4ijnh3xahlw7md2gh51i8p682j6"))))
(build-system meson-build-system)
(arguments
- `(#:glib-or-gtk? #t
- #:phases
- (modify-phases %standard-phases
- (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((prog (string-append (assoc-ref outputs "out")
- "/bin/gnome-passwordsafe"))
- (pylib (string-append (assoc-ref outputs "out")
- "/lib/python"
- ,(version-major+minor
- (package-version python))
- "/site-packages")))
- (wrap-program prog
- `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
- `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
- #t))))))
+ (list #:glib-or-gtk? #t
+ #:meson meson-0.59
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((prog (string-append #$output
+ "/bin/gnome-passwordsafe"))
+ (pylib (string-append
+ #$output "/lib/python"
+ #$(version-major+minor
+ (package-version (this-package-input "python")))
+ "/site-packages")))
+ (wrap-program prog
+ `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
+ `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))))
(native-inputs
- `(("desktop-file-utils" ,desktop-file-utils)
- ("gettext" ,gettext-minimal)
- ("glib:bin" ,glib "bin")
- ("gobject-introspection" ,gobject-introspection)
- ("gtk+:bin" ,gtk+ "bin")
- ("pkg-config" ,pkg-config)))
+ (list desktop-file-utils
+ gettext-minimal
+ `(,glib "bin")
+ gobject-introspection
+ `(,gtk+ "bin")
+ pkg-config))
(inputs
(list glib
gsettings-desktop-schemas
gtk+
libhandy
libpwquality
+ python
python-pygobject
python-pykeepass))
(home-page "https://gitlab.gnome.org/World/PasswordSafe")
@@ -10841,7 +10905,7 @@ mp3, Ogg Vorbis and FLAC")
(description
"SoundConverter supports converting between many audio formats including
Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
-configurable file renaming. ")
+configurable file renaming.")
(license license:gpl3)))
(define-public workrave
@@ -11054,11 +11118,6 @@ functionality.")
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
-
- ;; See
- ;; <https://github.com/mesonbuild/meson/issues/9492#issuecomment-973117289>.
- #:meson ,meson-0.59
-
#:configure-flags
;; Ensure the RUNPATH contains all installed library locations.
(list (string-append "-Dc_link_args=-Wl,-rpath="
@@ -11171,7 +11230,7 @@ tabs, and it supports drag and drop re-ordering of terminals.")
(define-public libhandy
(package
(name "libhandy")
- (version "1.2.3")
+ (version "1.5.0")
(source
(origin
(method git-fetch)
@@ -11180,7 +11239,7 @@ tabs, and it supports drag and drop re-ordering of terminals.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1ng2607cp4dfl169rj7zi8q5p6fzxy3a4l0glm7mj75yd1a603rz"))))
+ (base32 "19gl0xxybraw2iyn6cdi9w7nps825lb2bhav7d2x51wla0lq3kdc"))))
(build-system meson-build-system)
(arguments
`(#:configure-flags
@@ -11251,7 +11310,7 @@ for usage on small and big screens.")
(define-public libgit2-glib
(package
(name "libgit2-glib")
- (version "0.99.0.1")
+ (version "1.0.0.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
@@ -11259,7 +11318,7 @@ for usage on small and big screens.")
name "-" version ".tar.xz"))
(sha256
(base32
- "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
+ "0mrb21cgqmbhbxqxwx76yry1ifqj1k4vy6455n6s034m6rlms2j6"))))
(build-system meson-build-system)
(native-inputs
(list `(,glib "bin") ;; For glib-mkenums
@@ -11294,8 +11353,7 @@ higher level porcelain stuff.")
"0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
(build-system meson-build-system)
(arguments
- `(#:meson ,meson-0.59
- #:glib-or-gtk? #t
+ `(#:glib-or-gtk? #t
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'disable-post-install-partially
@@ -11433,19 +11491,19 @@ library which detects when a file or a directory has been modified.")
(define-public gnome-mahjongg
(package
(name "gnome-mahjongg")
- (version "3.35.1")
+ (version "3.38.3")
(source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
- (commit version)))
- (file-name (git-file-name name version))
+ (method url-fetch)
+ (uri (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/" name "-"
+ version ".tar.xz"))
(sha256
(base32
- "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
+ "144ia3zn9rhwa1xbdkvsz6m0dsysl6mxvqw9bnrlh845hmyy9cfj"))))
(build-system meson-build-system)
(arguments
- `(#:glib-or-gtk? #t))
+ `(#:meson ,meson-0.59
+ #:glib-or-gtk? #t))
(native-inputs
`(("appstream-glib" ,appstream-glib)
("gettext" ,gettext-minimal)
@@ -11457,10 +11515,10 @@ library which detects when a file or a directory has been modified.")
(propagated-inputs
(list dconf))
(inputs
- (list glib gtk+ librsvg))
+ (list glib gtk+))
(synopsis "Mahjongg tile-matching game")
(description "GNOME Mahjongg is a game based on the classic Chinese
-tile-matching game Mahjong. It features multiple board layouts, tile themes,
+tile-matching game Mahjongg. It features multiple board layouts, tile themes,
and a high score table.")
(home-page "https://wiki.gnome.org/Apps/Mahjongg")
(license license:gpl2+)))
@@ -11506,7 +11564,7 @@ index files needed for Adwaita to be used outside of GNOME.")
(define-public gnote
(package
(name "gnote")
- (version "40.2")
+ (version "41.2")
(source
(origin
(method url-fetch)
@@ -11514,8 +11572,16 @@ index files needed for Adwaita to be used outside of GNOME.")
(version-major version) "/"
"gnote-" version ".tar.xz"))
(sha256
- (base32 "01fqdfgcl32cf40jw9q0h7f5bghl1lvf89vln1lh41ncrk0iw6vy"))))
- (build-system glib-or-gtk-build-system)
+ (base32 "0gs2j988rwfrxckb8qxlkyxnvqsv30q32myqish6hssfa51yzc11"))))
+ (build-system meson-build-system)
+ (arguments
+ `(#:glib-or-gtk? #t
+ #:phases (modify-phases %standard-phases
+ (add-after 'unpack 'skip-gtk-update-icon-cache
+ ;; Don't create 'icon-theme.cache'.
+ (lambda _
+ (substitute* "post-install.py"
+ (("gtk-update-icon-cache") "true")))))))
(native-inputs
(list desktop-file-utils
`(,glib "bin")
@@ -11523,7 +11589,7 @@ index files needed for Adwaita to be used outside of GNOME.")
intltool
itstool
pkg-config
- unittest-cpp)) ;FIXME: not found by pkg-config
+ python))
(inputs
(list glibmm
gsettings-desktop-schemas
@@ -11535,16 +11601,15 @@ index files needed for Adwaita to be used outside of GNOME.")
libxml2
libxslt))
(synopsis "Note-taking application for the GNOME desktop")
- (description
- "Gnote is a note-taking application written for the GNOME desktop
-environment.")
+ (description "Gnote is a note-taking application written for the GNOME
+desktop environment.")
(home-page "https://wiki.gnome.org/Apps/Gnote")
(license license:gpl3+)))
(define-public polari
(package
(name "polari")
- (version "40.1")
+ (version "41.0")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/polari/"
@@ -11552,18 +11617,16 @@ environment.")
"/polari-" version ".tar.xz"))
(sha256
(base32
- "001h9gppn79gnj7dl61jl9gas5wmbjdx0v8xwsx7v4xsv2hwz91g"))))
+ "1ss0x8idwar1q9p9535kzqb8idy7k2r48vrbjiyccw03cs0mzc53"))))
(build-system meson-build-system)
(arguments
- `(#:meson ,meson-0.59
- #:glib-or-gtk? #t
+ `(#:glib-or-gtk? #t
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'skip-gtk-update-icon-cache
(lambda _
(substitute* "meson/meson-postinstall.sh"
- (("gtk-update-icon-cache") (which "true")))
- #t))
+ (("gtk-update-icon-cache") (which "true")))))
(add-after 'install 'fix-desktop-file
;; Hardcode launcher to be on the safe side
(lambda* (#:key outputs #:allow-other-keys)
@@ -11576,8 +11639,7 @@ environment.")
(let ((prog (string-append (assoc-ref outputs "out")
"/bin/polari")))
(wrap-program prog
- `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
- #t))))))
+ `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))))
(inputs
(list glib
gsettings-desktop-schemas
@@ -11619,42 +11681,42 @@ integrate seamlessly with the GNOME desktop.")
(search-patches "gnome-boxes-add-guix-logo.patch"))))
(build-system meson-build-system)
(arguments
- `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
- #:glib-or-gtk? #t
+ `(#:glib-or-gtk? #t
#:configure-flags (list "-Drdp=false"
(string-append "-Dc_link_args=-Wl,-rpath="
(assoc-ref %outputs "out")
"/lib/gnome-boxes"))))
(native-inputs
- `(("glib:bin" ,glib "bin") ;for glib-compile-resources
- ("gtk+:bin" ,gtk+ "bin") ;for gtk-update-icon-cache
- ("desktop-file-utils" ,desktop-file-utils) ;for update-desktop-database
- ("itstool" ,itstool)
- ("intltool" ,intltool)
- ("vala" ,vala)
- ("pkg-config" ,pkg-config)))
+ (list `(,glib "bin") ;for glib-compile-resources
+ `(,gtk+ "bin") ;for gtk-update-icon-cache
+ desktop-file-utils ;for update-desktop-database
+ itstool
+ intltool
+ vala
+ pkg-config
+ python))
(inputs
- `(("libarchive" ,libarchive)
- ("glib-networking" ,glib-networking) ;for TLS support
- ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
- ("gtk" ,gtk+)
- ("gtk-vnc" ,gtk-vnc)
- ("gtksourceview" ,gtksourceview)
- ("json-glib" ,json-glib)
- ("libhandy" ,libhandy)
- ("libosinfo" ,libosinfo)
- ("libsecret" ,libsecret)
- ("libsoup" ,libsoup-minimal-2)
- ("libusb" ,libusb)
- ("libvirt" ,libvirt)
- ("libvirt-glib" ,libvirt-glib)
- ("libxml" ,libxml2)
- ("spice-gtk" ,spice-gtk)
- ("sparql-query" ,sparql-query)
- ("vte" ,vte)
- ("webkitgtk" ,webkitgtk-with-libsoup2) ;for webkit2gtk-4.0
- ("tracker" ,tracker)
- ("libgudev" ,libgudev)))
+ (list libarchive
+ glib-networking ;for TLS support
+ gsettings-desktop-schemas
+ gtk+
+ gtk-vnc
+ gtksourceview
+ json-glib
+ libhandy
+ libosinfo
+ libsecret
+ libsoup-minimal-2
+ libusb
+ libvirt
+ libvirt-glib
+ libxml2
+ spice-gtk
+ sparql-query
+ vte
+ webkitgtk-with-libsoup2 ;for webkit2gtk-4.0
+ tracker
+ libgudev))
(home-page "https://wiki.gnome.org/Apps/Boxes")
(synopsis "View, access, and manage remote and virtual systems")
(description "GNOME Boxes is a simple application to view, access, and
@@ -11922,13 +11984,13 @@ GTK+. It integrates well with the GNOME desktop environment.")
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
+ #:meson ,meson-0.59 ;fails with 0.60
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-meson
(lambda _
(substitute* "build-aux/meson_post_install.py"
- (("gtk-update-icon-cache") "true"))
- #t))
+ (("gtk-update-icon-cache") "true"))))
(add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((prog (string-append (assoc-ref outputs "out")
@@ -11936,7 +11998,8 @@ GTK+. It integrates well with the GNOME desktop environment.")
(pylib (string-append (assoc-ref outputs "out")
"/lib/python"
,(version-major+minor
- (package-version python))
+ (package-version
+ (this-package-input "python")))
"/site-packages")))
(wrap-program prog
`("PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
@@ -11951,6 +12014,7 @@ GTK+. It integrates well with the GNOME desktop environment.")
gtk+
libhandy
pandoc
+ python
python-chardet
python-levenshtein
python-regex
@@ -11960,10 +12024,10 @@ GTK+. It integrates well with the GNOME desktop environment.")
python-pypandoc
webkitgtk))
(native-inputs
- `(("gettext" ,gettext-minimal)
- ("glib:bin" ,glib "bin")
- ("pkg-config" ,pkg-config)
- ("sassc" ,sassc)))
+ (list gettext-minimal
+ `(,glib "bin")
+ pkg-config
+ sassc))
(home-page "https://gitlab.gnome.org/somas/apostrophe")
(synopsis "Markdown editor written in Python with GTK+")
(description "Apostrophe is a GTK+ based distraction-free Markdown editor.
@@ -12014,6 +12078,7 @@ It uses pandoc as back-end for parsing Markdown.")
("libevdev" ,libevdev)
("libsystemd" ,elogind)
("libunistring" ,libunistring)
+ ("python" ,python)
("python-evdev" ,python-evdev)
("python-pygobject" ,python-pygobject)
("udev" ,eudev)))
@@ -12049,21 +12114,21 @@ your operating-system definition:
(file-name (git-file-name name version))))
(build-system meson-build-system)
(native-inputs
- `(("gettext" ,gettext-minimal)
- ("glib:bin" ,glib "bin")
- ("gobject-introspection" ,gobject-introspection)
- ("pkg-config" ,pkg-config)
- ("python-flake8" ,python-flake8)))
+ (list gettext-minimal
+ `(,glib "bin")
+ gobject-introspection
+ pkg-config
+ python-flake8))
(inputs
- `(("adwaita-icon-theme" ,adwaita-icon-theme)
- ("gtk" ,gtk+)
- ("gtk:bin" ,gtk+ "bin")
- ("libratbag" ,libratbag)
- ("librsvg" ,librsvg)
- ("python-evdev" ,python-evdev)
- ("python-lxml" ,python-lxml)
- ("python-pycairo" ,python-pycairo)
- ("python-pygobject" ,python-pygobject)))
+ (list adwaita-icon-theme
+ gtk+
+ `(,gtk+ "bin")
+ libratbag
+ python
+ python-evdev
+ python-lxml
+ python-pycairo
+ python-pygobject))
(arguments
`(#:imported-modules ((guix build python-build-system)
,@%meson-build-system-modules)
@@ -12076,8 +12141,7 @@ your operating-system definition:
(add-after 'unpack 'dont-update-gtk-icon-cache
(lambda _
(substitute* "meson.build"
- (("meson.add_install_script('meson_install.sh')") ""))
- #t))
+ (("meson.add_install_script('meson_install.sh')") ""))))
;; TODO: Switch to wrap-script when it is fixed.
(add-after 'install 'wrap-python
(assoc-ref python:%standard-phases 'wrap))
@@ -12085,8 +12149,7 @@ your operating-system definition:
(lambda* (#:key outputs #:allow-other-keys)
(wrap-program
(string-append (assoc-ref outputs "out" )"/bin/piper")
- `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
- #t)))))
+ `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))
(home-page "https://github.com/libratbag/piper/")
(synopsis "Configure bindings and LEDs on gaming mice")
(description "Piper is a GTK+ application for configuring gaming mice with
@@ -12102,7 +12165,7 @@ provided there is a DBus service present:
(define-public parlatype
(package
(name "parlatype")
- (version "3.0")
+ (version "3.1")
(source
(origin
(method git-fetch)
@@ -12111,7 +12174,7 @@ provided there is a DBus service present:
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0mvzagkg9kq2ji6mffi37mdjxmlj3wa65d4lcayij9hsmjlklnzs"))))
+ (base32 "0cqrzbkyksfsm57riirmjkwf2nf2dgl1xpps1wvqxpij475qcb9b"))))
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
@@ -12134,12 +12197,12 @@ provided there is a DBus service present:
(wrap-program (string-append out "/bin/parlatype")
`("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path)))))))))
(native-inputs
- `(("appstream-glib" ,appstream-glib)
- ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
- ("gettext" ,gettext-minimal)
- ("glib" ,glib "bin") ;for glib-compile-resources
- ("pkg-config" ,pkg-config)
- ("yelp-tools" ,yelp-tools)))
+ (list appstream-glib
+ desktop-file-utils ;for desktop-file-validate
+ gettext-minimal
+ `(,glib "bin") ;for glib-compile-resources
+ pkg-config
+ yelp-tools))
(inputs
(list gst-plugins-base
gst-plugins-good
@@ -12273,80 +12336,82 @@ libraries. Applications do not need to be recompiled--or even restarted.")
name "-" version ".tar.xz"))
(sha256
(base32
- "04p031i999dccbnlbysmr6f93x7dji7b559j6yhdsqbqgxb7ncan"))))
+ "04p031i999dccbnlbysmr6f93x7dji7b559j6yhdsqbqgxb7ncan"))
+ (patches
+ (search-patches "gnome-builder-update-libportal.patch"))))
(build-system meson-build-system)
(arguments
- `(#:glib-or-gtk? #t ; To wrap binaries and compile schemas
- #:configure-flags (list "-Dnetwork_tests=false"
- ;; TODO: Enable all plugins...
- ;; Flatpak plugin wants libsoup 2
- "-Dplugin_flatpak=false"
- ;; ... except this one.
- "-Dplugin_update_manager=false")
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-meson
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "build-aux/meson/post_install.py"
- (("gtk-update-icon-cache") "true")
- (("update-desktop-database") "true"))
- (substitute* "src/libide/meson.build"
- (("/usr/lib")
- (string-append (assoc-ref inputs "python-pygobject")
- "/lib")))))
- (add-after 'configure 'fix-ninja
- (lambda _
- ;; #43296: meson(?) incorrectly assumes we want to link
- ;; this PIE against a static libselinux.
- (substitute* "build.ninja"
- (("libselinux\\.a") "libselinux.so"))
- #t))
- (add-before 'check 'pre-check
- (lambda _
- (system "Xvfb :1 &")
- (setenv "DISPLAY" ":1")
- #t)))))
- (inputs
- `(("cmark" ,cmark)
- ("clang" ,clang)
- ("devhelp" ,devhelp-with-libsoup2)
- ("glade" ,glade3)
- ("gspell" ,gspell)
- ("gtk+" ,gtk+)
- ("json-glib" ,json-glib)
- ("jsonrpc-glib" ,jsonrpc-glib)
- ("libdazzle" ,libdazzle)
- ("libgit2-glib" ,libgit2-glib)
- ("libpeas" ,libpeas)
- ("libportal" ,libportal)
- ("libsoup" ,libsoup-minimal-2)
- ("llvm" ,llvm)
- ("python-pygobject" ,python-pygobject)
- ("sysprof" ,sysprof)
- ("template-glib" ,template-glib)
- ("vte" ,vte)
- ("webkitgtk" ,webkitgtk-with-libsoup2)))
- (propagated-inputs
- (list gtksourceview)) ;needed for settings
- (native-inputs
- `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
- ("glib:bin" ,glib "bin")
- ("gettext" ,gettext-minimal)
- ("pkg-config" ,pkg-config)
- ("vala" ,vala)
- ("xorg-server" ,xorg-server-for-tests)))
+ (list
+ #:glib-or-gtk? #t ;To wrap binaries and compile schemas
+ #:configure-flags
+ #~(list "-Dnetwork_tests=false"
+ ;; TODO: Enable all plugins...
+ ;; Flatpak plugin wants libsoup 2
+ "-Dplugin_flatpak=false"
+ ;; ... except this one.
+ "-Dplugin_update_manager=false")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-meson
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "build-aux/meson/post_install.py"
+ (("gtk-update-icon-cache") "true")
+ (("update-desktop-database") "true"))
+ (substitute* "src/libide/meson.build"
+ (("/usr/lib") (string-append (assoc-ref inputs
+ "python-pygobject")
+ "/lib")))))
+ (add-after 'configure 'fix-ninja
+ (lambda _
+ ;; #43296: meson(?) incorrectly assumes we want to link
+ ;; this PIE against a static libselinux.
+ (substitute* "build.ninja"
+ (("libselinux\\.a") "libselinux.so"))))
+ (add-before 'check 'pre-check
+ (lambda _
+ (system "Xvfb :1 &")
+ (setenv "DISPLAY" ":1"))))))
+ (inputs (list cmark
+ clang
+ devhelp-with-libsoup2
+ glade3
+ gspell
+ gtk+
+ json-glib
+ jsonrpc-glib
+ libdazzle
+ libgit2-glib
+ libpeas
+ libportal
+ libsoup-minimal-2
+ llvm
+ python
+ python-pygobject
+ sysprof
+ template-glib
+ vte
+ webkitgtk-with-libsoup2))
+ (propagated-inputs (list gtksourceview)) ; needed for settings
+ (native-inputs (list desktop-file-utils ; for desktop-file-validate
+ `(,glib "bin")
+ gettext-minimal
+ pkg-config
+ python ; for meson scripts
+ vala
+ xorg-server-for-tests))
(home-page "https://wiki.gnome.org/Apps/Builder")
(synopsis "Toolsmith for GNOME-based applications")
- (description "Builder aims to be an integrated development
-environment (IDE) for writing GNOME-based software. It features fuzzy search,
-auto-completion, a mini code map, documentation browsing, Git integration, an
-integrated profiler via Sysprof, debugging support, and more.")
+ (description
+ "Builder aims to be an integrated development environment (IDE) for
+writing GNOME-based software. It features fuzzy search, auto-completion,
+a mini code map, documentation browsing, Git integration, an integrated
+profiler via Sysprof, debugging support, and more.")
(license license:gpl3+)))
(define-public komikku
(package
(name "komikku")
- (version "0.35.2")
+ (version "0.36.1")
(source
(origin
(method git-fetch)
@@ -12356,7 +12421,7 @@ integrated profiler via Sysprof, debugging support, and more.")
(file-name (git-file-name name version))
(sha256
(base32
- "11iq2mc8k7ny70vb0iqfjhj1hii0wvr4cv2p6b5rnjqdp6hc63n9"))))
+ "0iqis1b248gj1jb1yzw5dcs99bm078hixg9ir0vb961ymwzv2mmc"))))
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
@@ -12387,6 +12452,7 @@ integrated profiler via Sysprof, debugging support, and more.")
libhandy
libnotify
libsecret
+ python
python-beautifulsoup4
python-brotli
python-cloudscraper
@@ -12532,8 +12598,7 @@ your data.")
(propagated-inputs
(list gtksourceview)) ; required for source view
(arguments
- `(#:meson ,meson-0.59
- #:build-type "release"
+ `(#:build-type "release"
#:glib-or-gtk? #t
#:phases
(modify-phases %standard-phases
@@ -12679,3 +12744,48 @@ successor of @code{libhandy} for GTK4.")
(description "@code{gnome-power-manager} is a tool for viewing present and
historical battery usage and related statistics.")
(license license:gpl2)))
+
+(define-public xffm+
+ (package
+ (name "xffm+")
+ (version "0.94")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/xffm/xffm+/xffm+-"
+ version ".tar.bz2"))
+ (sha256
+ (base32
+ "0gwbgmjzlgv9ba95cgaigjnc9njzi7qznhvzp0qrnnlq3nbcm1k1"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:tests? #f ; No tests exist
+ #:configure-flags
+ (let ((shared-mime-info (assoc-ref %build-inputs "shared-mime-info"))
+ (out (assoc-ref %outputs "out")))
+ (list (string-append "-DFREEDESKTOP_GLOBS=" shared-mime-info
+ "/share/mime/globs")
+ (string-append "-DFREEDESKTOP_ALIAS=" shared-mime-info
+ "/share/mime/aliases")
+ (string-append "-DFREEDESKTOP_ICONS=" shared-mime-info
+ "/share/mime/generic-icons")
+ (string-append "-DCMAKE_INSTALL_PREFIX=" out)
+ (string-append "-DPREFIX_BIN=" out "/bin")))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-installation-destination
+ (lambda* (#:key outputs #:allow-other-keys)
+ (substitute* "CMakeLists.txt"
+ ;; This is done so we can override.
+ (("^set.CMAKE_INSTALL_PREFIX") "set(QCMAKE_INSTALL_PREFIX")
+ ;; This is done so we can override.
+ (("`set.PREFIX_BIN") "set(QPREFIX_BIN")))))))
+ (native-inputs
+ (list cmake pkg-config intltool gnu-gettext))
+ (inputs
+ (list glib gtk+ libx11 libsm libxv libxaw libxcb libxkbfile
+ shared-mime-info))
+ (synopsis "File manager")
+ (description "This package provides a graphical file manager.")
+ (home-page "http://xffm.org/")
+ (license license:gpl3+)
+ (properties '((upstream-name . "xffm")))))
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 7706688b93..cde7427d07 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -235,8 +235,6 @@ provided.")
(build-system gnu-build-system)
(propagated-inputs
(list libgpg-error))
- (native-inputs
- (list libgpg-error))
(arguments
`(#:configure-flags
(list ,@(if (%current-target-system)
@@ -281,15 +279,19 @@ compatible to GNU Pth.")
(define-public gnupg
(package
(name "gnupg")
- (version "2.2.30")
+ ;; Note: The 2.2.X releases are Long Term Support (LTS), so stick to it
+ ;; for our stable 'gnupg'.
+ ;; Note2: 2.2.33 currently suffers from regressions, so do not update to it
+ ;; (see: https://dev.gnupg.org/T5742).
+ (version "2.2.32")
(source (origin
(method url-fetch)
- (uri (string-append "mirror://gnupg/gnupg/gnupg-" version
+ (uri (string-append "ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-" version
".tar.bz2"))
(patches (search-patches "gnupg-default-pinentry.patch"))
(sha256
(base32
- "1111ry31gaxv76miqsy6l0kwxwlx8sz0jk41jhyrjwx649p6sqyc"))))
+ "0506gv54z10c96z5821z9p0ksibk1pfilsmag39ffqrcz0sinmxj"))))
(build-system gnu-build-system)
(native-inputs
(list pkg-config))
@@ -349,25 +351,6 @@ libskba (working with X.509 certificates and CMS data).")
(properties '((ftp-server . "ftp.gnupg.org")
(ftp-directory . "/gcrypt/gnupg")))))
-(define-public gnupg-2.2.32
- (package
- (inherit gnupg)
- (version "2.2.32")
-
- ;; Hide this version because packages like 'emacs-pinentry' propagate the
- ;; default GnuPG and "guix install gnupg emacs-pinentry" would fail with a
- ;; collision error.
- (properties `((hidden? . #t)
- ,@(package-properties gnupg)))
-
- (source (origin
- (inherit (package-source gnupg))
- (uri (string-append "mirror://gnupg/gnupg/gnupg-" version
- ".tar.bz2"))
- (sha256
- (base32
- "0506gv54z10c96z5821z9p0ksibk1pfilsmag39ffqrcz0sinmxj"))))))
-
(define-public gnupg-1
(package (inherit gnupg)
(version "1.4.23")
@@ -388,8 +371,7 @@ libskba (working with X.509 certificates and CMS data).")
(add-after 'unpack 'patch-check-sh
(lambda _
(substitute* "checks/Makefile.in"
- (("/bin/sh") (which "sh")))
- #t)))))))
+ (("/bin/sh") (which "sh"))))))))))
(define-public gpgme
(package
@@ -439,14 +421,9 @@ and every application benefits from this.")
"lang/cpp/src/libgpgmepp.la")
(symlink (string-append gpgme "/lib/libgpgme.la")
"src/libgpgme.la"))
- (chdir "lang/qt")
- #t)))))
+ (chdir "lang/qt"))))))
(native-inputs
- ;; Use GnuPG 2.2.32. With 2.2.30, 'testSymmetricEncryptDecrypt' in
- ;; t-encrypt.cpp fails because 'gpg' wrongfully ask for a passphrase do
- ;; decrypt the cypher text.
(modify-inputs (package-native-inputs gpgme)
- (replace "gnupg" gnupg-2.2.32)
(prepend pkg-config)))
(inputs
(modify-inputs (package-inputs gpgme)
@@ -599,14 +576,14 @@ decrypt messages using the OpenPGP format by making use of GPGME.")
(define-public python-gnupg
(package
(name "python-gnupg")
- (version "0.4.7")
+ (version "0.4.8")
(source
(origin
(method url-fetch)
(uri (pypi-uri "python-gnupg" version))
(sha256
(base32
- "1isazrg2h126xg3vvk4wrhx8k8yfsg5sxybvfa99phj235mzaq90"))))
+ "1mq7hljy3bjkxdvh3qx2bv4y0b66l9pmc6i06ys75y7dbjpf2kdn"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -621,8 +598,7 @@ decrypt messages using the OpenPGP format by making use of GPGME.")
(setenv "USERNAME" "guixbuilder")
;; The doctests are extremely slow and sometimes time out,
;; so we disable them.
- (invoke "python"
- "test_gnupg.py" "--no-doctests")))))))
+ (invoke "python" "test_gnupg.py" "--no-doctests")))))))
(native-inputs
(list gnupg))
(home-page "https://pythonhosted.org/python-gnupg/index.html")
@@ -632,9 +608,6 @@ decrypt messages using the OpenPGP format by making use of GPGME.")
and signature functionality from Python programs.")
(license license:bsd-3)))
-(define-public python2-gnupg
- (package-with-python2 python-gnupg))
-
(define-public perl-gnupg-interface
(package
(name "perl-gnupg-interface")
@@ -1097,7 +1070,7 @@ files, to verify signatures, and to manage the private and public keys.")
(define-public parcimonie
(package
(name "parcimonie")
- (version "0.11.0")
+ (version "0.12.0")
(source (origin
(method url-fetch)
(uri (string-append "https://gaffer.boum.org/intrigeri/files/"
@@ -1105,70 +1078,61 @@ files, to verify signatures, and to manage the private and public keys.")
version ".tar.gz"))
(sha256
(base32
- "14pvapvzrxh1yh8zgcj1llmc2dd8g1fgzskxlja21gmw8c88aqdk"))))
+ "10gal2h8ihg7nnzy3adw942axd2ia1rcn1fw3a3v07n5mm8kqrx9"))))
(build-system perl-build-system)
(inputs
- `(("gnupg" ,gnupg)
- ("perl-config-general" ,perl-config-general)
- ("perl-clone" ,perl-clone)
- ("perl-data" ,perl-data)
- ("perl-exporter-tiny" ,perl-exporter-tiny)
- ("perl-file-homedir" ,perl-file-homedir)
- ("perl-file-sharedir" ,perl-file-sharedir)
- ("perl-file-which" ,perl-file-which)
- ("perl-getopt-long-descriptive" ,perl-getopt-long-descriptive)
- ("perl-gnupg-interface" ,perl-gnupg-interface)
- ("perl-ipc-system-simple" ,perl-ipc-system-simple)
- ("perl-list-moreutils" ,perl-list-moreutils)
- ("perl-libintl-perl" ,perl-libintl-perl) ; Locale::TextDomain
- ("perl-lwp-online" ,perl-lwp-online)
- ("perl-module-build" ,perl-module-build)
- ("perl-module-pluggable-object" ,perl-module-pluggable)
- ("perl-moo" ,perl-moo)
- ("perl-moox-handlesvia" ,perl-moox-handlesvia)
- ("perl-moox-late" ,perl-moox-late)
- ("perl-moox-options" ,perl-moox-options)
- ("perl-moox-strictconstructor" ,perl-moox-strictconstructor)
- ("perl-namespace-clean" ,perl-namespace-clean)
- ("perl-net-dbus" ,perl-net-dbus)
- ("perl-net-dbus-glib" ,perl-net-dbus-glib)
- ("perl-path-tiny" ,perl-path-tiny)
- ("perl-strictures" ,perl-strictures-2)
- ("perl-test-most" ,perl-test-most)
- ("perl-test-trap" ,perl-test-trap)
- ("perl-time-duration" ,perl-time-duration)
- ("perl-time-duration-parse" ,perl-time-duration-parse)
- ("perl-try-tiny" ,perl-try-tiny)
- ("perl-type-tiny" ,perl-type-tiny)
- ("perl-types-path-tiny" ,perl-types-path-tiny)
- ("perl-unicode-linebreak" ,perl-unicode-linebreak)
- ("perl-xml-parser" ,perl-xml-parser)
- ("perl-xml-twig" ,perl-xml-twig)
- ("torsocks" ,torsocks)))
+ (list gnupg
+ perl-clone
+ perl-config-general
+ perl-file-homedir
+ perl-file-sharedir
+ perl-file-which
+ perl-gnupg-interface
+ perl-ipc-system-simple
+ perl-json
+ perl-list-moreutils
+ perl-moo
+ perl-moox-late
+ perl-moox-options
+ perl-moox-strictconstructor
+ perl-namespace-clean
+ perl-net-dbus
+ perl-pango
+ perl-path-tiny
+ perl-time-duration
+ perl-time-duration-parse
+ perl-try-tiny
+ perl-type-tiny
+ perl-types-path-tiny
+ torsocks))
(native-inputs
- (list xorg-server-for-tests))
+ (list perl-file-which
+ perl-gnupg-interface
+ perl-list-moreutils
+ perl-lwp-online
+ perl-module-build
+ perl-strictures-2
+ perl-test-most
+ perl-test-trap
+ xorg-server-for-tests))
(arguments
`(#:phases
(modify-phases %standard-phases
;; Needed for using gpg-connect-agent during tests.
(add-before 'check 'prepare-for-tests
(lambda* (#:key inputs #:allow-other-keys)
- (let ((xorg-server (assoc-ref inputs "xorg-server")))
- (system (string-append xorg-server "/bin/Xvfb :1 &"))
+ (let ((Xvfb (search-input-file inputs "/bin/Xvfb")))
+ (system (string-append Xvfb " :1 &"))
(setenv "DISPLAY" ":1")
(setenv "HOME" "/tmp")
- ;; These tests are known to fail
+ ;; These tests expect usable gnupg configurations.
(delete-file "t/32-keyserver_defined_on_command_line.t")
- (delete-file "t/33-checkGpgHasDefinedKeyserver.t")
- ;; The applet is deprecated upstream.
- (delete-file "t/00-load_all.t")
- #t)))
+ (delete-file "t/33-checkGpgHasDefinedKeyserver.t"))))
(add-before 'install 'fix-references
(lambda* (#:key inputs outputs #:allow-other-keys)
(substitute* "lib/App/Parcimonie/GnuPG/Interface.pm"
;; Skip check whether dependencies are in the PATH
- (("defined which.*") ""))
- #t))
+ (("defined which.*") ""))))
(add-after 'install 'wrap-program
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
@@ -1176,9 +1140,8 @@ files, to verify signatures, and to manage the private and public keys.")
,(package-version perl))))
(wrap-program (string-append out "/bin/parcimonie")
`("PERL5LIB" ":"
- prefix (,(string-append perllib ":" (getenv "PERL5LIB")))))
- #t))))))
- (home-page "https://gaffer.boum.org/intrigeri/code/parcimonie/")
+ prefix (,(string-append perllib ":" (getenv "PERL5LIB")))))))))))
+ (home-page "https://salsa.debian.org/intrigeri/parcimonie")
(synopsis "Incrementally refreshes a GnuPG keyring")
(description "Parcimonie incrementaly refreshes a GnuPG keyring in a way
that makes it hard to correlate the keyring content to an individual, and
@@ -1186,6 +1149,7 @@ makes it hard to locate an individual based on an identifying subset of her
keyring content. Parcimonie is a daemon that fetches one key at a time using
the Tor network, waits a bit, changes the Tor circuit being used, and starts
over.")
+ (properties '((upstream-name . "App-Parcimonie")))
(license license:gpl1+)))
(define-public jetring
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 4e86ab835c..e6505e7a95 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
-;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Mark H Weaver <mhw@netris.org>
+;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2016, 2017, 2018, 2019, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
@@ -13,7 +13,7 @@
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;; Copyright © 2019, 2020 Adrian Malacoda <malacoda@monarch-pass.net>
-;;; Copyright © 2020, 2021 Jonathan Brielmaier <jonathan.brielmaier@web.de>
+;;; Copyright © 2020, 2021, 2022 Jonathan Brielmaier <jonathan.brielmaier@web.de>
;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
@@ -370,7 +370,8 @@ in C/C++.")
`(#:tests? #f ; FIXME: all tests pass, but then the check phase fails anyway.
#:test-target "check-jstests"
#:configure-flags
- ,#~`("--enable-ctypes"
+ ,#~(quasiquote
+ ("--enable-ctypes"
"--enable-optimize"
"--enable-pie"
"--enable-readline"
@@ -387,7 +388,7 @@ in C/C++.")
;; This is important because without it gjs will segfault during the
;; configure phase. With jemalloc only the standalone mozjs console
;; will work.
- "--disable-jemalloc")
+ "--disable-jemalloc"))
#:phases
(modify-phases %standard-phases
;; Make sure pkg-config will be found.
@@ -455,7 +456,10 @@ in C/C++.")
"--enable-hardening"
"--enable-optimize"
"--enable-release"
- "--enable-rust-simd"
+ ;; FIXME: rust-simd is disabled otherwise the build fails with
+ ;; "error: `[u32; 64]` is forbidden as the type of a const generic
+ ;; parameter".
+ "--disable-rust-simd"
"--enable-readline"
"--enable-shared-js"
"--with-system-icu"
@@ -694,8 +698,8 @@ in C/C++.")
;; XXXX: Workaround 'snippet' limitations.
(define computed-origin-method (@@ (guix packages) computed-origin-method))
-(define %icecat-version "91.4.0-guix0-preview1")
-(define %icecat-build-id "20211207000000") ;must be of the form YYYYMMDDhhmmss
+(define %icecat-version "91.5.0-guix0-preview1")
+(define %icecat-build-id "20220111000000") ;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'
@@ -717,11 +721,11 @@ in C/C++.")
"firefox-" upstream-firefox-version ".source.tar.xz"))
(sha256
(base32
- "09xkzk27krzyj1qx8cjjn2zpnws1cncka75828kk7ychnjfq48p7"))))
+ "04y8nj1f065b3dn354f1ns3cm9xp4kljr5ippvmfdqr7cb4xjp7l"))))
- (upstream-icecat-base-version "91.4.0") ; maybe older than base-version
+ (upstream-icecat-base-version "91.5.0") ; maybe older than base-version
;;(gnuzilla-commit (string-append "v" upstream-icecat-base-version))
- (gnuzilla-commit "dd79d69e5dc6e6e751195001f322b30746be6903")
+ (gnuzilla-commit "c0a504578cb694522c65bb6c36396df8142d4a2a")
(gnuzilla-source
(origin
(method git-fetch)
@@ -733,7 +737,7 @@ in C/C++.")
(string-take gnuzilla-commit 8)))
(sha256
(base32
- "1vv97wmgdmkwddh8n30dak5l8akzbw49ca0w6krhq9dnj7n74cxh"))))
+ "016g8vdr6w6six4f705cmbdrfknmy4bk1qjjrvsdpah4bf6c2s2c"))))
;; 'search-patch' returns either a valid file name or #f, so wrap it
;; in 'assume-valid-file-name' to avoid 'local-file' warnings.
@@ -1316,11 +1320,11 @@ standards of the IceCat project.")
(cpe-version . ,(first (string-split version #\-)))))))
;; Update this together with icecat!
-(define %icedove-build-id "20211207000000") ;must be of the form YYYYMMDDhhmmss
+(define %icedove-build-id "20220111000000") ;must be of the form YYYYMMDDhhmmss
(define-public icedove
(package
(name "icedove")
- (version "91.4.0")
+ (version "91.5")
(source icecat-source)
(properties
`((cpe-name . "thunderbird_esr")))
@@ -1461,7 +1465,12 @@ standards of the IceCat project.")
(string-append (getcwd) "/mach_state"))
(setenv "MOZCONFIG"
(string-append (getcwd) "/.mozconfig"))
- (setenv "CC" "gcc")
+
+ (setenv "AR" "llvm-ar")
+ (setenv "NM" "llvm-nm")
+ (setenv "CC" "clang")
+ (setenv "CXX" "clang++")
+
(setenv "MOZ_NOSPAM" "1")
(setenv "MACH_USE_SYSTEM_PYTHON" "1")
(setenv "PYTHON"
@@ -1601,7 +1610,7 @@ standards of the IceCat project.")
;; 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 "ab6dfcf3a37bf53aac1a9d632d45ee51047050bb"))
+ ,(let ((changeset "bcd2aab51cd0889d506d29455210d65602b97430"))
(origin
(method hg-fetch)
(uri (hg-reference
@@ -1610,10 +1619,10 @@ standards of the IceCat project.")
(file-name (string-append "thunderbird-" version "-checkout"))
(sha256
(base32
- "00zj1k3c8p66ylf9n7xp42y6kiv3h6hf8ba7bk6f8wj3hh0r2hrd")))))
+ "0aj8a8qbm71n34yi58y04bn4h9zz2rciz0cm3hh58rsmcqs1s9ym")))))
("cargo" ,rust "cargo")
- ("clang" ,clang)
- ("llvm" ,llvm)
+ ("clang" ,clang-11)
+ ("llvm" ,llvm-11)
("m4" ,m4)
("nasm" ,nasm)
("node" ,node)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c863388475..f148c0d48a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
;;; Copyright © 2016 Andy Wingo <wingo@igalia.com>
;;; Copyright © 2016, 2019, 2021 Ludovic Courtès <ludo@gnu.org>
@@ -32,6 +32,7 @@
;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
;;; Copyright © 2021 Chadwain Holness <chadwainholness@gmail.com>
;;; Copyright © 2021 Philip McGrath <philip@philipmcgrath.com>
+;;; Copyright © 2021 Lu Hui <luhux76@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -62,10 +63,13 @@
#:use-module (gnu packages admin)
#:use-module (gnu packages base)
#:use-module ((gnu packages bootstrap) #:select (glibc-dynamic-linker))
+ #:use-module (gnu packages check)
#:use-module (gnu packages gcc)
#:use-module (gnu packages glib)
+ #:use-module (gnu packages gnupg)
#:use-module (gnu packages lua)
#:use-module (gnu packages mp3)
+ #:use-module (gnu packages password-utils)
#:use-module (gnu packages pcre)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
@@ -461,7 +465,7 @@ in the style of communicating sequential processes (@dfn{CSP}).")
(package
(inherit go-1.14)
(name "go")
- (version "1.16.12")
+ (version "1.16.13")
(source
(origin
(method git-fetch)
@@ -471,7 +475,7 @@ in the style of communicating sequential processes (@dfn{CSP}).")
(file-name (git-file-name name version))
(sha256
(base32
- "06c8dcmni38za638ma069izd9kbxr6ii6ccflbibgc6k54lpc3fb"))))
+ "03f37dspn4h5kqf0nqwmnl858wx6hngnlvbnrjl1ll6ihc5j66jz"))))
(arguments
(substitute-keyword-arguments (package-arguments go-1.14)
((#:tests? _) #t)
@@ -620,7 +624,7 @@ in the style of communicating sequential processes (@dfn{CSP}).")
(package
(inherit go-1.16)
(name "go")
- (version "1.17.5")
+ (version "1.17.6")
(source
(origin
(method git-fetch)
@@ -630,12 +634,15 @@ in the style of communicating sequential processes (@dfn{CSP}).")
(file-name (git-file-name name version))
(sha256
(base32
- "1yjhg4j89vgb26m35gc0799x2fd0xav03gcvcg2xwcfvvcar5gza"))))
+ "05k292i9qayfy5wh96z4kjmx1mfd5birnr25vb0blzaam72mcsgw"))))
(outputs '("out" "tests")) ; 'tests' contains distribution tests.
(arguments
`(#:modules ((ice-9 match)
(guix build gnu-build-system)
(guix build utils))
+ ;; TODO: Disable the test(s) in misc/cgo/test/cgo_test.go
+ ;; that cause segfaults in the test suite.
+ #:tests? ,(not (target-aarch64?))
#:phases
(modify-phases %standard-phases
(replace 'configure
@@ -685,6 +692,29 @@ in the style of communicating sequential processes (@dfn{CSP}).")
(string-append net-base "/etc/services")))
(substitute* "src/time/zoneinfo_unix.go"
(("/usr/share/zoneinfo/") tzdata-path)))))
+ ;; Keep this synchronized with the package inputs.
+ ,@(if (target-arm?)
+ '((add-after 'unpack 'patch-gcc:lib
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") "/lib")))
+ ;; Add libgcc to runpath
+ (substitute* "src/cmd/link/internal/ld/lib.go"
+ (("!rpath.set") "true"))
+ (substitute* "src/cmd/go/internal/work/gccgo.go"
+ (("cgoldflags := \\[\\]string\\{\\}")
+ (string-append "cgoldflags := []string{"
+ "\"-Wl,-rpath=" gcclib "\""
+ "}"))
+ (("\"-lgcc_s\", ")
+ (string-append
+ "\"-Wl,-rpath=" gcclib "\", \"-lgcc_s\", ")))
+ (substitute* "src/cmd/go/internal/work/gc.go"
+ (("ldflags = setextld\\(ldflags, compiler\\)")
+ (string-append
+ "ldflags = setextld(ldflags, compiler)\n"
+ "ldflags = append(ldflags, \"-r\")\n"
+ "ldflags = append(ldflags, \"" gcclib "\")\n")))))))
+ '())
(add-after 'patch-source 'disable-failing-tests
(lambda _
;; Disable failing tests: these tests attempt to access
@@ -796,15 +826,47 @@ in the style of communicating sequential processes (@dfn{CSP}).")
(install-file file (string-append out "/share/doc/go")))
'("AUTHORS" "CONTRIBUTORS" "CONTRIBUTING.md" "PATENTS"
"README.md" "SECURITY.md"))))))))
- (inputs (alist-delete "gcc:lib" (package-inputs go-1.16)))
+ (inputs (if (not (target-arm?))
+ (alist-delete "gcc:lib" (package-inputs go-1.16))
+ (package-inputs go-1.16)))
(native-inputs
- `(,@(if (not (member (%current-system) (package-supported-systems go-1.4)))
- ;; gccgo-10.4, 11.3 and lower has a bug which causes bootstrapping
- ;; to fail. Use go-1.16 until we have a newer version available.
- (alist-replace "go" (list go-1.16) (package-native-inputs go-1.16))
- (package-native-inputs go-1.16))))))
+ (if (not (member (%current-system) (package-supported-systems go-1.4)))
+ ;; gccgo-10.4, 11.3 and lower has a bug which causes bootstrapping
+ ;; to fail. Use go-1.16 until we have a newer version available.
+ (alist-replace "go" (list go-1.16) (package-native-inputs go-1.16))
+ (package-native-inputs go-1.16)))))
-(define-public go go-1.14)
+(define-public go go-1.17)
+
+(define-public (make-go-std go)
+ "Return a package which builds the standard library for Go compiler GO."
+ (package
+ (name (string-append (package-name go) "-std"))
+ (version (package-version go))
+ (source #f)
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "std"
+ #:build-flags `("-pkgdir" "pkg") ; "Install" to build directory.
+ #:allow-go-reference? #t
+ #:substitutable? #f ; Faster to build than download.
+ #:tests? #f ; Already tested in the main Go build.
+ #:go ,go
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'unpack)
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (out-cache (string-append out "/var/cache/go/build")))
+ (copy-recursively (getenv "GOCACHE") out-cache)
+ (delete-file (string-append out-cache "/trim.txt"))
+ (delete-file (string-append out-cache "/README")))))
+ (delete 'install-license-files))))
+ (home-page (package-home-page go))
+ (synopsis "Cached standard library build for Go")
+ (description (package-description go))
+ (license (package-license go))))
(define-public go-0xacab-org-leap-shapeshifter
(let ((commit "0aa6226582efb8e563540ec1d3c5cfcd19200474")
@@ -2308,31 +2370,31 @@ command-line parsers.")
(license license:expat)))
(define-public go-github-com-hashicorp-hcl
- (let ((commit "23c074d0eceb2b8a5bfdbb271ab780cde70f05a8")
- (revision "0"))
- (package
- (name "go-github-com-hashicorp-hcl")
- (version (git-version "0.0.0" revision commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/hashicorp/hcl")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0db4lpqb5m130rmfy3s3gjjf4dxllypmyrzxv6ggqhkmwmc7w4mc"))))
- (build-system go-build-system)
- (arguments
- '(#:tests? #f
- #:import-path "github.com/hashicorp/hcl"))
- (synopsis "Go implementation of HashiCorp Configuration Language")
- (description
- "This package contains the main implementation of the @acronym{HCL,
+ (package
+ (name "go-github-com-hashicorp-hcl")
+ (version "1.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hashicorp/hcl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0q6ml0qqs0yil76mpn4mdx4lp94id8vbv575qm60jzl1ijcl5i66"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/hashicorp/hcl"))
+ (native-inputs
+ (list go-github-com-davecgh-go-spew))
+ (synopsis "Go implementation of HashiCorp Configuration Language V1")
+ (description
+ "This package contains the main implementation of the @acronym{HCL,
HashiCorp Configuration Language}. HCL is designed to be a language for
expressing configuration which is easy for both humans and machines to read.")
- (home-page "https://github.com/hashicorp/hcl")
- (license license:mpl2.0))))
+ (home-page "https://github.com/hashicorp/hcl")
+ (license license:mpl2.0)))
(define-public go-golang-org-x-tools
(let ((commit "8b927904ee0dec805c89aaf9172f4459296ed6e8")
@@ -2389,16 +2451,7 @@ Go programming language.")
#:phases
(modify-phases %standard-phases
;; Source-only package
- (delete 'build)
- (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
- (lambda* (#:key outputs #:allow-other-keys)
- (map (lambda (file)
- (make-file-writable file))
- (find-files
- (string-append (assoc-ref outputs "out")
- "/src/golang.org/x/crypto/ed25519/testdata")
- ".*\\.gz$"))
- #t)))))
+ (delete 'build))))
(propagated-inputs
(list go-golang-org-x-sys))
(synopsis "Supplementary cryptographic libraries in Go")
@@ -2508,8 +2561,8 @@ packages.")
(license license:bsd-3))))
(define-public go-golang-org-x-sys
- (let ((commit "05986578812163b26672dabd9b425240ae2bb0ad")
- (revision "7"))
+ (let ((commit "ed5796bab16455f104b6a384d51b7f9990cb9806")
+ (revision "8"))
(package
(name "go-golang-org-x-sys")
(version (git-version "0.0.0" revision commit))
@@ -2521,7 +2574,7 @@ packages.")
(file-name (git-file-name name version))
(sha256
(base32
- "1q2rxb6z5l6pmlckjsz2l0b8lw7bqgk6frhzbmi1dv0y5irb2ka7"))))
+ "081vs5bg91mwg5bdmlcvy2qyrvg766aicj47smcwfk4bbh0nc0qa"))))
(build-system go-build-system)
(arguments
`(#:import-path "golang.org/x/sys"
@@ -2800,10 +2853,19 @@ Go.")
(file-name (git-file-name name version))
(sha256
(base32
- "0pcdvakxgddaiwcdj73ra4da05a3q4cgwbpm2w75ycq4kzv8ij8k"))))
+ "0pcdvakxgddaiwcdj73ra4da05a3q4cgwbpm2w75ycq4kzv8ij8k"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (delete-file-recursively "vendor")))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/stretchr/objx"))
+ (propagated-inputs
+ (list go-github-com-davecgh-go-spew
+ go-github-com-pmezard-go-difflib))
+ (inputs
+ (list go-github-com-stretchr-testify-bootstrap))
(home-page "https://github.com/stretchr/objx")
(synopsis "Go package for dealing with maps, slices, JSON and other data")
(description "This package provides a Go library for dealing with maps,
@@ -2813,7 +2875,7 @@ slices, JSON and other data.")
(define-public go-github-com-stretchr-testify
(package
(name "go-github-com-stretchr-testify")
- (version "1.5.1")
+ (version "1.7.0")
(source
(origin
(method git-fetch)
@@ -2823,7 +2885,7 @@ slices, JSON and other data.")
(file-name (git-file-name name version))
(sha256
(base32
- "09r89m1wy4cjv2nps1ykp00qjpi0531r07q3s34hr7m6njk4srkl"))))
+ "0ixgjsvafr3513pz3r6pmgk074s2dxkll0dadvl25gkf30rkmh10"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/stretchr/testify"))
@@ -2831,7 +2893,7 @@ slices, JSON and other data.")
`(("github.com/davecgh/go-spew" ,go-github-com-davecgh-go-spew)
("github.com/pmezard/go-difflib" ,go-github-com-pmezard-go-difflib)
("github.com/stretchr/objx" ,go-github-com-stretchr-objx)
- ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
+ ("gopkg.in/yaml.v3" ,go-gopkg-in-yaml-v3)))
(home-page "https://github.com/stretchr/testify")
(synopsis "Go helper library for tests and invariant checking")
(description "This package provide many tools for testifying that your
@@ -2846,6 +2908,17 @@ Features include:
@end itemize")
(license license:expat)))
+(define go-github-com-stretchr-testify-bootstrap
+ (package
+ (inherit go-github-com-stretchr-testify)
+ (arguments
+ '(#:import-path "github.com/stretchr/testify"
+ #:tests? #f
+ #:phases (modify-phases %standard-phases
+ (delete 'build))))
+ (propagated-inputs
+ (list go-gopkg-in-yaml-v3))))
+
(define-public go-github-com-tevino-abool
(let ((commit
"3c25f2fe7cd0ef3eabefce1d90efd69a65d35b12")
@@ -3656,17 +3729,7 @@ SysVinit, and more.")
(list go-golang-org-x-sys go-github-com-sirupsen-logrus
go-golang-org-x-crypto))
(arguments
- '(#:import-path "github.com/docker/distribution"
- #:phases
- (modify-phases %standard-phases
- (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
- (lambda* (#:key outputs #:allow-other-keys)
- (map (lambda (file)
- (make-file-writable file))
- (find-files
- (assoc-ref outputs "out")
- ".*\\.gz$"))
- #t)))))
+ '(#:import-path "github.com/docker/distribution"))
(home-page
"https://github.com/docker/distribution")
(synopsis "This package is a Docker toolset to pack, ship, store, and
@@ -5341,7 +5404,7 @@ format in Go.")
'(#:import-path "github.com/kylelemons/godebug/diff"
#:unpack-path "github.com/kylelemons/godebug"))
(home-page "https://github.com/kylelemons/godebug")
- (synopsis "Pretty printer for Go values.")
+ (synopsis "Pretty printer for Go values")
(description
"This package will pretty print a compact representation of a Go data
structure. It can also produce a much more verbose, one-item-per-line
@@ -5422,7 +5485,7 @@ golang's database/sql package.")
(define-public go-golang-org-colorful
(package
(name "go-golang-org-colorful")
- (version "1.0.2")
+ (version "1.2.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -5431,7 +5494,7 @@ golang's database/sql package.")
(file-name (git-file-name name version))
(sha256
(base32
- "0fig06880bvk1l92j4127v4x9sar4ds7ga8959gxxghb2w70b7l2"))))
+ "08c3fkf27r16izjjd4w94xd1z7w1r4mdalbl53ms2ka2j465s3qs"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/lucasb-eyer/go-colorful"))
@@ -5489,17 +5552,7 @@ non-UTF-friendly sources.")
"0il2nnxp2cqiy73m49215dnf9in3vd25ji8qxbmq87c5qy7i1q9d"))))
(build-system go-build-system)
(arguments
- `(#:import-path "github.com/gdamore/tcell"
- #:phases
- (modify-phases %standard-phases
- (add-before 'reset-gzip-timestamps 'make-files-writable
- (lambda* (#:key outputs #:allow-other-keys)
- ;; Make sure .gz files are writable so that the
- ;; 'reset-gzip-timestamps' phase can do its work.
- (let ((out (assoc-ref outputs "out")))
- (for-each make-file-writable
- (find-files out "\\.gz$"))
- #t))))))
+ `(#:import-path "github.com/gdamore/tcell"))
(inputs
(list go-github.com-mattn-go-runewidth go-golang-org-colorful
go-golang-org-x-text go-github-com-gdamore-encoding))
@@ -5978,10 +6031,17 @@ can be used to build a client and/or a server.")
(file-name (git-file-name name version))
(sha256
(base32
- "1zc0zlilf03h121f9jqq3ar0hfm7706547zysxp2qxbm920pz7h0"))))
+ "1zc0zlilf03h121f9jqq3ar0hfm7706547zysxp2qxbm920pz7h0"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (delete-file-recursively "vendor")))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/fatih/color"))
+ (propagated-inputs
+ (list go-github-com-mattn-go-colorable
+ go-github-com-mattn-go-isatty))
(synopsis "Print colored text in Go")
(description "This package provides an ANSI color package to output
colorized or SGR defined output to the standard output.")
@@ -6314,7 +6374,7 @@ data serialization format.")
(home-page "https://github.com/mattn/go-zglob")
(synopsis "Glob library that descends into other directories")
(description " A glob library that implements descending into other
-directories. It is optimized for filewalking. ")
+directories. It is optimized for filewalking.")
(license license:expat)))
(define-public go-github-com-mattn-go-sqlite3
@@ -7047,10 +7107,13 @@ transforms one JSON document into another through a JMESPath expression.")
(build-system go-build-system)
(arguments
`(#:import-path "github.com/chris-ramon/douceur"))
- (native-inputs
- (list go-github-com-aymerick-douceur go-github-com-puerkitobio-goquery
- go-github-com-andybalholm-cascadia go-golang-org-x-net
+ (propagated-inputs
+ (list go-github-com-aymerick-douceur
go-github-com-gorilla-css))
+ (native-inputs
+ (list go-github-com-puerkitobio-goquery
+ go-github-com-andybalholm-cascadia
+ go-golang-org-x-net))
(home-page "https://github.com/chris-ramon/douceur/")
(synopsis "CSS parser and inliner")
(description "This package provides a CSS parser and inliner.")
@@ -7072,9 +7135,9 @@ transforms one JSON document into another through a JMESPath expression.")
(build-system go-build-system)
(arguments
`(#:import-path "github.com/microcosm-cc/bluemonday"))
- (native-inputs
- (list go-github-com-chris-ramon-douceur go-github-com-aymerick-douceur
- go-github-com-gorilla-css go-golang-org-x-net))
+ (propagated-inputs
+ (list go-github-com-chris-ramon-douceur
+ go-golang-org-x-net))
(home-page "https://github.com/microcosm-cc/bluemonday/")
(synopsis "HTML sanitizer")
(description "@code{bluemonday} is a HTML sanitizer implemented in Go.")
@@ -7083,7 +7146,7 @@ transforms one JSON document into another through a JMESPath expression.")
(define-public go-github-com-muesli-reflow-wordwrap
(package
(name "go-github-com-muesli-reflow-wordwrap")
- (version "0.1.0")
+ (version "0.3.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -7092,7 +7155,7 @@ transforms one JSON document into another through a JMESPath expression.")
(file-name (git-file-name "go-github-com-muesli-reflow" version))
(sha256
(base32
- "1vhynm2n1az13fn03lp0gi28p9mznq1mblglh8f2rb9y1vkd2dqr"))))
+ "09zcz2cqdwgj1ilya5pqwndryk6lansn87x63fcm8j1xn74vd2ry"))))
(build-system go-build-system)
(arguments
`(#:import-path "github.com/muesli/reflow/wordwrap"
@@ -7129,10 +7192,18 @@ io.Writers helping you to transform blocks of text.")
`(#:import-path "github.com/muesli/reflow/padding"
#:unpack-path "github.com/muesli/reflow"))))
+(define-public go-github-com-muesli-reflow-truncate
+ (package
+ (inherit go-github-com-muesli-reflow-wordwrap)
+ (name "go-github-com-muesli-reflow-truncate")
+ (arguments
+ `(#:import-path "github.com/muesli/reflow/truncate"
+ #:unpack-path "github.com/muesli/reflow"))))
+
(define-public go-github-com-muesli-termenv
(package
(name "go-github-com-muesli-termenv")
- (version "0.7.0")
+ (version "0.8.1")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -7141,7 +7212,7 @@ io.Writers helping you to transform blocks of text.")
(file-name (git-file-name name version))
(sha256
(base32
- "09fwrdhy7c9qlf70h97f5inh6xvkfq1vi8fwx9q7bwmjjbiykk8m"))))
+ "0m24ljq1nq7z933fcvg99fw0fhxj9rb5ll4rlay7z2f2p59mrbdp"))))
(build-system go-build-system)
(arguments
`(#:import-path "github.com/muesli/termenv"))
@@ -7200,7 +7271,7 @@ which produce colorized output using github.com/fatih/color.")
(build-system go-build-system)
(arguments
`(#:import-path "github.com/olekukonko/tablewriter"))
- (native-inputs
+ (propagated-inputs
(list go-github.com-mattn-go-runewidth))
(home-page "https://github.com/olekukonko/tablewriter/")
(synopsis "Generate ASCII table")
@@ -7483,7 +7554,7 @@ can manipulate a @file{ssh_config} file from a program.")
(description "Package agent implements the ssh-agent protocol, and
provides both a client and a server. The client can talk to a standard
ssh-agent that uses UNIX sockets, and one could implement an alternative
-ssh-agent process using the sample server. ")
+ssh-agent process using the sample server.")
(license license:asl2.0)))
(define-public go-github-com-alcortesm-tgz
@@ -8663,50 +8734,6 @@ zero round-trip encryption, and other advanced features.")
non-cryptographic hash algorithm, working at speeds close to RAM limits.")
(license license:asl2.0)))
-(define-public go-github-com-aswinkarthik-csvdiff
- (package
- (name "go-github-com-aswinkarthik-csvdiff")
- (version "1.4.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/aswinkarthik/csvdiff")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0cd1ikxsypjqisfnmr7zix3g7x8p892w77086465chyd39gpk97b"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/aswinkarthik/csvdiff"))
- (propagated-inputs
- (list go-golang-org-x-sys
- go-github-com-stretchr-testify
- go-github-com-spf13-cobra
- go-github-com-spf13-afero
- go-github-com-spaolacci-murmur3
- go-github-com-mattn-go-colorable
- go-github-com-fatih-color
- go-github-com-cespare-xxhash
- go-github-com-oneofone-xxhash))
- (home-page "https://github.com/aswinkarthik/csvdiff")
- (synopsis "Fast diff tool for comparing CSV files")
- (description "@code{csvdiff} is a diff tool to compute changes between two
-CSV files. It can compare CSV files with a million records in under 2
-seconds. It is specifically suited for comparing CSV files dumped from
-database tables. GNU Diff is orders of magnitude faster for comparing line by
-line. @code{csvdiff} supports
-
-@itemize
-@item Selective comparison of fields in a row
-@item Specifying group of columns as primary-key to uniquely identify a row
-@item Ignoring columns
-@item Several output formats including colored git style output or
-JSON for post-processing
-@end itemize")
- (license license:expat)))
-
(define-public go-gopkg-in-djherbis-times-v1
(package
(name "go-gopkg-in-djherbis-times-v1")
@@ -8797,6 +8824,71 @@ averages.")
string.")
(license license:expat)))
+
+(define-public go-github-com-charmbracelet-bubbletea
+ (package
+ (name "go-github-com-charmbracelet-bubbletea")
+ (version "0.13.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/charmbracelet/bubbletea")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1105cggi5fwqx69m0vrhgwx6kaw82w4ahn58sj0a81603c4yvrk0"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/charmbracelet/bubbletea"))
+ (propagated-inputs
+ `(("github.com/mattn/go-isatty" ,go-github-com-mattn-go-isatty)
+ ("github.com/muesli/termenv" ,go-github-com-muesli-termenv)
+ ("github.com/mattn/go-runewidth" ,go-github.com-mattn-go-runewidth)
+ ("go-github-com-muesli-reflow-indent" ,go-github-com-muesli-reflow-indent)
+ ("go-github-com-muesli-reflow-ansi" ,go-github-com-muesli-reflow-ansi)
+ ("go-golang-org-colorful" ,go-golang-org-colorful)
+ ("github.com/containerd/console" ,go-github-com-containerd-console)
+ ("go-github-com-muesli-reflow-truncate" ,go-github-com-muesli-reflow-truncate)
+ ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
+ ("go-golang-org-x-sys" ,go-golang-org-x-sys)
+ ("go-golang-org-x-term" ,go-golang-org-x-term)
+ ("github.com/mattn/go-isatty" ,go-github-com-mattn-go-isatty)))
+ (home-page "https://github.com/charmbracelet/bubbletea")
+ (synopsis "Powerful little TUI framework")
+ (description
+ "Bubble Tea is a Go framework based on The Elm Architecture. It is
+well-suited for simple and complex terminal applications, either inline,
+full-window, or a mix of both.")
+ (license license:asl2.0)))
+
+(define-public go-github-com-containerd-console
+ (package
+ (name "go-github-com-containerd-console")
+ (version "1.0.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/containerd/console")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0pgx0y8x23jwc2f9jfk5hd5aslqk599nj6c7dj5846xvnkz2x7p2"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/containerd/console"))
+ (propagated-inputs
+ `(("golang.org/x/sys" ,go-golang-org-x-sys)))
+ (home-page "https://github.com/containerd/console")
+ (synopsis "Console package for Go")
+ (description
+ "This is Golang package for dealing with consoles. It has few
+dependencies and a simple API.")
+ (license license:asl2.0)))
+
(define-public go-github-com-arceliar-ironwood
(package
(name "go-github-com-arceliar-ironwood")
@@ -8832,3 +8924,420 @@ written to test improvements to / replace the routing logic in
@url{https://github.com/yggdrasil-network/yggdrasil-go,Yggdrasil}, but it may
be useful for other network applications.")
(license license:mpl2.0)))
+
+(define-public go-github-com-mtibben-percent
+ (package
+ (name "go-github-com-mtibben-percent")
+ (version "0.2.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mtibben/percent")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1iqivw8pigj259rj5yifibbvic70f9hb7k24a4sa967s4fj6agb6"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/mtibben/percent"
+ #:phases %standard-phases))
+ (synopsis "Package percent escapes strings using percent-encoding")
+ (description
+ "Package percent escapes strings using percent-encoding.")
+ (home-page "https://github.com/mtibben/percent")
+ (license license:expat)))
+
+(define-public go-github-com-percent
+ (deprecated-package "go-github-com-percent" go-github-com-mtibben-percent))
+
+(define-public go-github-com-dvsekhvalnov-jose2go
+ (package
+ (name "go-github-com-dvsekhvalnov-jose2go")
+ (version "1.5.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/dvsekhvalnov/jose2go")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1pzfmv2dxb3m455bi1ks4q3i0dcw1sazxk8k96wrgpkwgglyxj3n"))))
+ (build-system go-build-system)
+ (native-inputs
+ (list go-gopkg-in-check-v1))
+ (arguments
+ '(#:import-path "github.com/dvsekhvalnov/jose2go"
+ #:phases %standard-phases))
+ (synopsis "Go implementation of Javascript Object Signing and Encryption spec")
+ (description
+ "This package provides a Go library for generating, decoding, and
+encrypting JSON Web Tokens (JWT). It relies only on the standard library.")
+ (home-page "https://github.com/dvsekhvalnov/jose2go")
+ (license license:expat)))
+
+(define-public aws-vault
+ (package
+ (name "aws-vault")
+ (version "6.3.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/99designs/aws-vault")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "02zw0kl77yr56mw1fbvr51c4mz2265c9al2nzvnqqzdx5aha7nf8"))))
+ (build-system go-build-system)
+ (native-inputs
+ (list go-github-com-99designs-go-keyring
+ go-github-com-mtibben-androiddnsfix
+ go-github-com-mtibben-percent
+ go-github-com-jmespath-go-jmespath
+ go-github-com-aws-aws-sdk-go
+ go-github-com-dvsekhvalnov-jose2go
+ go-github-com-godbus-dbus
+ go-github-com-gsterjov-go-libsecret
+ go-github-com-mitchellh-go-homedir
+ go-golang-org-x-crypto
+ go-golang-org-x-sys
+ go-gopkg-in-ini
+ go-github-com-skratchdot-open-golang
+ go-github-com-alecthomas-kingpin
+ go-github-com-alecthomas-template
+ go-github-com-alecthomas-units))
+ (arguments
+ `(#:import-path "github.com/99designs/aws-vault"
+ #:install-source? #f
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'patch-version
+ (lambda _
+ (substitute* "src/github.com/99designs/aws-vault/main.go"
+ (("var Version = \"dev\"")
+ (string-append "var Version = \"v" ,version "\"")))))
+ (add-after 'build 'contrib
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (zsh-site-dir (string-append out "/share/zsh/site-functions"))
+ (bash-completion-dir
+ (string-append out "/share/bash-completion/completions"))
+ (fish-completion-dir
+ (string-append out "/share/fish/completions")))
+ (for-each mkdir-p
+ `(,zsh-site-dir ,bash-completion-dir ,fish-completion-dir))
+ (with-directory-excursion
+ "src/github.com/99designs/aws-vault/contrib/completions"
+ (copy-file "zsh/aws-vault.zsh"
+ (string-append zsh-site-dir "/_aws-vault"))
+ (copy-file "bash/aws-vault.bash"
+ (string-append bash-completion-dir "/aws-vault"))
+ (copy-file "fish/aws-vault.fish"
+ (string-append fish-completion-dir "/aws-vault.fish")))))))))
+ (synopsis
+ "Vault for securely storing and accessing AWS credentials")
+ (description
+ "AWS Vault is a tool to securely store and access @acronym{Amazon Web
+Services,AWS} credentials.
+
+AWS Vault stores IAM credentials in your operating system's secure keystore and
+then generates temporary credentials from those to expose to your shell and
+applications. It's designed to be complementary to the AWS CLI tools, and is
+aware of your profiles and configuration in ~/.aws/config.")
+ (home-page "https://github.com/99designs/aws-vault")
+ (license license:expat)))
+
+(define-public go-github-com-gsterjov-go-libsecret
+ (let ((commit "a6f4afe4910cad8688db3e0e9b9ac92ad22d54e1")
+ (revision "0"))
+ (package
+ (name "go-github-com-gsterjov-go-libsecret")
+ (version "5.0.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gsterjov/go-libsecret")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "09zaiadnll83vs22ib89agg7anj0blw5fywvmckxllsgif6ak6v7"))))
+ (build-system go-build-system)
+ (native-inputs
+ (list go-github-com-godbus-dbus))
+ (arguments
+ '(#:import-path "github.com/gsterjov/go-libsecret"
+ #:phases %standard-phases))
+ (synopsis "Manage secrets via the \"Secret Service\" DBus API")
+ (description
+ "This native Go library manages secrets via the freedesktop.org
+\"Secret Service\" DBus interface.")
+ (home-page "https://github.com/gsterjov/go-libsecret")
+ (license license:expat))))
+
+(define-public go-github-com-go-libsecret
+ (deprecated-package "go-github-com-go-libsecret" go-github-com-gsterjov-go-libsecret))
+
+(define-public go-github-com-99designs-go-keyring
+ (package
+ (name "go-github-com-99designs-go-keyring")
+ (version "1.1.6")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/99designs/keyring")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "08rcdqpxaa9n348q10fw40q4gxpjajkyrighykk71i7mxzwkcgwn"))))
+ (build-system go-build-system)
+ (native-inputs
+ (list go-golang-org-x-crypto
+ go-golang-org-x-sys
+ go-github-com-mtibben-percent
+ go-github-com-mitchellh-go-homedir
+ go-github-com-dvsekhvalnov-jose2go
+ go-github-com-godbus-dbus
+ go-github-com-gsterjov-go-libsecret
+ password-store
+ gnupg))
+ (arguments
+ '(#:import-path "github.com/99designs/keyring"
+ #:tests? #f)) ;XXX: tests require Vagrant
+ (synopsis "Go library providing a uniform interface for various secure
+credential stores")
+ (description
+ "Keyring provides utility functions for and a common interface to a range
+of secure credential storage services. Originally developed as part of AWS
+Vault, a command line tool for securely managing AWS access from developer
+workstations.
+
+Currently Keyring supports the following backends: macOS/OSX Keychain, Windows
+pcredential store, Pass, Secret Service, KDE Wallet, Encrypted File.")
+ (home-page "https://github.com/99designs/keyring")
+ (license license:expat)))
+
+(define-public go-github-com-mtibben-androiddnsfix
+ (let ((commit "ff02804463540c36e3a148dcf4b009d003cf2a31")
+ (revision "0"))
+ (package
+ (name "go-github-com-mtibben-androiddnsfix")
+ (version (git-version "0.0.0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mtibben/androiddnsfix")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1pcbjs793kd0yg3dcp79agfxm7xm3sldx2r7v66ipzpcq0j2npi2"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/mtibben/androiddnsfix"
+ #:phases %standard-phases))
+ (synopsis "Work around lack of @file{/etc/resolv.conf} on Android")
+ (description
+ "This package allows Go applications to work around lack of
+@file{/etc/resolv.conf} on Android, as described in
+@url{https://github.com/golang/go/issues/8877}.")
+ (home-page "https://github.com/mtibben/androiddnsfix")
+ (license license:expat))))
+
+(define-public go-github-com-androiddnsfix
+ (deprecated-package "go-github-com-androiddnsfix" go-github-com-mtibben-androiddnsfix))
+
+(define-public go-github-com-aws-aws-sdk-go
+ (package
+ (name "go-github-com-aws-aws-sdk-go")
+ (version "1.36.18")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/aws/aws-sdk-go")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "169mkkw1cff1px6326krwvfpfj07sb4y5rbn003gi4bk176h6ry9"))))
+ (build-system go-build-system)
+ (propagated-inputs
+ (list go-github-com-jmespath-go-jmespath))
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go"
+ #:phases %standard-phases))
+ (synopsis "The official AWS SDK for the Go programming language")
+ (description
+ "The official AWS SDK for the Go programming language.")
+ (home-page "https://github.com/aws/aws-sdk-go")
+ (license license:asl2.0)))
+
+(define-public go-gopkg-in-ini
+ (package
+ (name "go-gopkg-in-ini")
+ (version "1.62.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gopkg.in/ini.v1")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1dm9ydqyflasp5li22kb0w73s6kp2swii8naqfhnz64v171gmm5v"))))
+ (build-system go-build-system)
+ (native-inputs
+ (list go-github.com-smartystreets-goconvey))
+ (arguments
+ '(#:import-path "gopkg.in/ini.v1"
+ #:phases %standard-phases))
+ (synopsis "INI file read and write functionality in Go")
+ (description
+ "This package provides INI file read and write functionality in Go.")
+ (home-page "https://gopkg.in/ini.v1")
+ (license license:asl2.0)))
+
+(define-public go-github-com-skratchdot-open-golang
+ (let ((commit "79abb63cd66e41cb1473e26d11ebdcd68b04c8e5")
+ (revision "0"))
+ (package
+ (name "go-github-com-skratchdot-open-golang")
+ (version "1.42.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/skratchdot/open-golang")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0jc13jn8cj7p14n79zhav2nwga6kf9rqs01ic5k7j7agwzzly3ww"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/skratchdot/open-golang"
+ #:phases (modify-phases %standard-phases
+ (delete 'build)
+ (delete 'check))))
+ (synopsis "Open a file, directory, or URI using the default application")
+ (description
+ "Open a file, directory, or URI using the OS's default application for
+that object type. Optionally, you can specify an application to use. On
+GNU/Linux, this is a proxy for the @command{xdg-open} command.")
+ (home-page "https://github.com/skratchdot/open-golang")
+ (license license:expat))))
+
+(define-public go-github-com-alecthomas-kingpin
+ (package
+ (name "go-github-com-alecthomas-kingpin")
+ (version "2.2.6")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/alecthomas/kingpin")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0mndnv3hdngr3bxp7yxfd47cas4prv98sqw534mx7vp38gd88n5r"))))
+ (build-system go-build-system)
+ (native-inputs
+ (list go-github-com-alecthomas-template go-github-com-alecthomas-units
+ go-github-com-stretchr-testify))
+ (arguments
+ '(#:import-path "github.com/alecthomas/kingpin"
+ #:phases %standard-phases))
+ (synopsis "Go library provides utilities for building command line interfaces")
+ (description
+ "Go library provides utilities for building command line interfaces.")
+ (home-page "https://github.com/alecthomas/kingpin")
+ (license license:expat)))
+
+(define-public go-github-com-kingpin
+ (deprecated-package "go-github-com-kingpin" go-github-com-alecthomas-kingpin))
+
+(define-public go-github-com-alecthomas-template
+ (let ((commit "a0175ee3bccc567396460bf5acd36800cb10c49c")
+ (revision "0"))
+ (package
+ (name "go-github-com-alecthomas-template")
+ (version (git-version "0.0.0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/alecthomas/template")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0qjgvvh26vk1cyfq9fadyhfgdj36f1iapbmr5xp6zqipldz8ffxj"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/alecthomas/template"
+ #:phases %standard-phases))
+ (synopsis "Fork of Go's text/template adding newline elision")
+ (description
+ "This is a fork of Go 1.4's text/template package with one addition: a
+backslash immediately after a closing delimiter will delete all subsequent
+newlines until a non-newline.")
+ (home-page "https://github.com/alecthomas/template")
+ (license license:bsd-3))))
+
+(define-public go-github-com-alecthomas-units
+ (let ((commit "2efee857e7cfd4f3d0138cc3cbb1b4966962b93a")
+ (revision "0"))
+ (package
+ (name "go-github-com-alecthomas-units")
+ (version "0.0.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/alecthomas/units")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1j65b91qb9sbrml9cpabfrcf07wmgzzghrl7809hjjhrmbzri5bl"))))
+ (build-system go-build-system)
+ (native-inputs
+ (list go-github-com-stretchr-testify))
+ (arguments
+ '(#:import-path "github.com/alecthomas/units"
+ #:phases %standard-phases))
+ (synopsis "Helpful unit multipliers and functions for Go")
+ (description
+ "This library provides unit multipliers and functions for Go.")
+ (home-page "https://github.com/alecthomas/units")
+ (license license:expat))))
+
+(define-public go-github-com-dreamacro-go-shadowsocks2
+ (package
+ (name "go-github-com-dreamacro-go-shadowsocks2")
+ (version "0.1.7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Dreamacro/go-shadowsocks2")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0sjr3r77fav6q0ii6dnp4px9gaz7cq861a0yxppvb6a58420bx3h"))))
+ (build-system go-build-system)
+ (arguments '(#:import-path "github.com/Dreamacro/go-shadowsocks2"))
+ (propagated-inputs (list go-golang-org-x-crypto))
+ (home-page "https://github.com/Dreamacro/go-shadowsocks2")
+ (synopsis "Shadowsocks implementation in Go")
+ (description
+ "This package is @code{shadowsocks} implementation in Go
+
+Features:
+@itemize
+@item SOCKS5 proxy
+@item Support for Netfilter TCP redirect (IPv6 should work but not tested)
+@item UDP tunneling (e.g. relay DNS packets)
+@item TCP tunneling (e.g. benchmark with iperf3)
+@end itemize")
+ (license license:asl2.0)))
diff --git a/gnu/packages/gps.scm b/gnu/packages/gps.scm
index 290fa76289..1c8f9af5b1 100644
--- a/gnu/packages/gps.scm
+++ b/gnu/packages/gps.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
-;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2020 Guillaume Le Vaillant <glv@posteo.net>
@@ -138,7 +138,7 @@ between two other data points.")
(define-public gama
(package
(name "gama")
- (version "2.15")
+ (version "2.17")
(source
(origin
(method url-fetch)
@@ -146,13 +146,12 @@ between two other data points.")
version ".tar.gz"))
(sha256
(base32
- "1lsa7k9anxla2r3wxzg2yhxgxlp8xibz56gaxhgf5rd3mzf51flx"))
+ "1x8qz43q254mz0fyna9pxxna2sj8pcrm8bwxw840d36lh1qj6983"))
(modules '((guix build utils)))
(snippet
'(begin
(delete-file-recursively "lib/expat")
- (for-each delete-file (find-files "doc/fig" "\\.pdf$"))
- #t))))
+ (for-each delete-file (find-files "doc/fig" "\\.pdf$"))))))
(build-system gnu-build-system)
(arguments '(#:parallel-tests? #f)) ; race condition
(native-inputs
diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm
index 084fdf8c90..de68ff78b1 100644
--- a/gnu/packages/graph.scm
+++ b/gnu/packages/graph.scm
@@ -8,6 +8,8 @@
;;; Copyright © 2020 Pierre Langlois <pierre.langlos@gmx.com>
;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 Alexandre Hannud Abdo <abdo@member.fsf.org>
+;;; Copyright © 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -26,6 +28,7 @@
(define-module (gnu packages graph)
#:use-module (guix download)
+ #:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix packages)
#:use-module (guix utils)
@@ -60,31 +63,72 @@
#:use-module (gnu packages time)
#:use-module (gnu packages xml))
+(define-public plfit
+ (package
+ (name "plfit")
+ (version "0.9.3")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ntamas/plfit")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "03x5jbvg8vwr92682swy58ljxrhqwmga1xzd0cpfbfmda41gm2fb"))))
+ (build-system cmake-build-system)
+ (arguments
+ '(#:configure-flags (list "-DBUILD_SHARED_LIBS=ON")))
+ (home-page "https://github.com/ntamas/plfit")
+ (synopsis "Tool for fitting power-law distributions to empirical data")
+ (description "The @command{plfit} command fits power-law distributions to
+empirical (discrete or continuous) data, according to the method of Clauset,
+Shalizi and Newman (@cite{Clauset A, Shalizi CR and Newman MEJ: Power-law
+distributions in empirical data. SIAM Review 51, 661-703 (2009)}).")
+ (license license:gpl2+)))
+
(define-public igraph
(package
(name "igraph")
- (version "0.8.4")
+ (version "0.9.6")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/igraph/igraph/releases/"
"download/" version "/igraph-" version ".tar.gz"))
+ (modules '((guix build utils)))
+ (snippet '(begin
+ ;; Fully unbundle igraph (see:
+ ;; https://github.com/igraph/igraph/issues/1897).
+ (delete-file-recursively "vendor")
+ (substitute* "CMakeLists.txt"
+ (("add_subdirectory\\(vendor\\).*")
+ ""))
+ ;; Help CMake to find our plfit headers.
+ (substitute* "etc/cmake/FindPLFIT.cmake"
+ (("^ NAMES plfit.h.*" all)
+ (string-append all
+ " PATH_SUFFIXES plfit")))
+ (substitute* '("src/CMakeLists.txt"
+ "etc/cmake/benchmark_helpers.cmake")
+ ;; Remove bundling related variables.
+ ((".*_IS_VENDORED.*")
+ ""))))
(sha256
- (base32 "127q6q40kbmvd62yhbz6dlfk370qiq98s1iscyagpgbpjwb4xvyf"))))
- (build-system gnu-build-system)
+ (base32 "11zkj9bpqcadb0rc4ahvjp9047dp9hna8cn3b0vl3zpc9v2rwabw"))))
+ (build-system cmake-build-system)
(arguments
- `(#:configure-flags
- (list "--disable-static"
- "--with-external-glpk"
- "--with-external-blas"
- "--with-external-lapack")))
+ '(#:configure-flags (list "-DBUILD_SHARED_LIBS=ON")))
+ (native-inputs (list pkg-config))
(inputs
- (list gmp
+ (list arpack-ng
+ gmp
glpk
libxml2
lapack
openblas
- zlib))
+ plfit
+ suitesparse))
(home-page "https://igraph.org")
(synopsis "Network analysis and visualization")
(description
@@ -95,36 +139,47 @@ more.")
(license license:gpl2+)))
(define-public python-igraph
- (package (inherit igraph)
+ (package
+ (inherit igraph)
(name "python-igraph")
- (version "0.8.2")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "python-igraph" version))
- (sha256
- (base32 "0wkxrs28qdvnrz7d4jzcf2bh6v2yqzx3wyfziihfgsi2gn6n60a6"))))
+ (version "0.9.9")
+ (source (origin
+ (method git-fetch)
+ ;; The PyPI archive lacks tests.
+ (uri (git-reference
+ (url "https://github.com/igraph/python-igraph")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0ravcww2jcr8fgi97gdxv00s5nkx59ljxy928nnniyd0231bqwlc"))))
(build-system python-build-system)
(arguments
- '(#:configure-flags
- (list "--use-pkg-config")
- #:phases
- (modify-phases %standard-phases
- (replace 'build
- (lambda _
- (invoke "python" "./setup.py" "build" "--use-pkg-config")))
- (delete 'check)
- (add-after 'install 'check
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest" "-v"))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'specify-libigraph-location
+ (lambda _
+ (let ((igraph #$(this-package-input "igraph")))
+ (substitute* "setup.py"
+ (("(LIBIGRAPH_FALLBACK_INCLUDE_DIRS = ).*" _ var)
+ (string-append
+ var (format #f "[~s]~%" (string-append igraph
+ "/include/igraph"))))
+ (("(LIBIGRAPH_FALLBACK_LIBRARY_DIRS = ).*" _ var)
+ (string-append
+ var (format #f "[~s]~%" (string-append igraph "/lib"))))))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-v")))))))
(inputs
(list igraph))
(propagated-inputs
(list python-texttable))
(native-inputs
- (list pkg-config python-pytest))
- (home-page "https://pypi.org/project/python-igraph/")
+ (list python-pytest))
+ (home-page "https://igraph.org/python/")
(synopsis "Python bindings for the igraph network analysis library")))
(define-public r-rbiofabric
@@ -181,14 +236,7 @@ lines.")
(invoke "pytest" "-x" "plotly/tests/test_io")
;; FIXME: Add optional dependencies and enable their tests.
;; (invoke "pytest" "-x" "plotly/tests/test_optional")
- (invoke "pytest" "_plotly_utils/tests"))
- #t))
- (add-before 'reset-gzip-timestamps 'make-files-writable
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (for-each (lambda (file) (chmod file #o644))
- (find-files out "\\.gz"))
- #t))))))
+ (invoke "pytest" "_plotly_utils/tests")))))))
(native-inputs
(list python-ipywidgets python-pytest python-xarray))
(propagated-inputs
@@ -204,7 +252,7 @@ lines.")
(description "Plotly's Python graphing library makes interactive,
publication-quality graphs online. Examples of how to make line plots, scatter
plots, area charts, bar charts, error bars, box plots, histograms, heatmaps,
-subplots, multiple-axes, polar charts, and bubble charts. ")
+subplots, multiple-axes, polar charts, and bubble charts.")
(license license:expat)))
(define-public python-plotly-2.4.1
@@ -239,6 +287,8 @@ subplots, multiple-axes, polar charts, and bubble charts. ")
(sha256
(base32 "1sqp97fwh4asx0jr72x8hil8z8fcg2xq92jklmh2m599pvgnx19a"))))
(build-system python-build-system)
+ (native-inputs
+ (list python-setuptools)) ;for use_2to3 support
(propagated-inputs
(list python-networkx python-numpy))
(home-page "https://github.com/taynaud/python-louvain")
@@ -428,9 +478,18 @@ Faiss library.")))
(base32
"15fwld9hdw357rd026mzcwpah5liy4f33vc9x9kwy37g71b2rjf1"))))
(build-system python-build-system)
- (arguments '(#:tests? #f)) ; tests are not included
+ (arguments
+ '(#:tests? #f ;tests are not included
+ #:phases (modify-phases %standard-phases
+ (add-after 'unpack 'fix-requirements
+ (lambda _
+ (substitute* "setup.py"
+ (("python-igraph >=")
+ "igraph >=")))))))
(native-inputs
- (list pkg-config))
+ ;; XXX: setuptools >= 58 as shipped with Python 3.9+ removes support
+ ;; for lib2to3, so use this older variant.
+ (list pkg-config python-setuptools))
(inputs
(list igraph))
(propagated-inputs
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 3f83c72599..b69ab52aec 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -79,6 +79,7 @@
#:use-module (gnu packages kde-frameworks)
#:use-module (gnu packages libusb)
#:use-module (gnu packages linux)
+ #:use-module (gnu packages llvm)
#:use-module (gnu packages lua)
#:use-module (gnu packages maths)
#:use-module (gnu packages mp3)
@@ -96,6 +97,7 @@
#:use-module (gnu packages qt)
#:use-module (gnu packages readline)
#:use-module (gnu packages sdl)
+ #:use-module (gnu packages serialization)
#:use-module (gnu packages stb)
#:use-module (gnu packages swig)
#:use-module (gnu packages tbb)
@@ -376,7 +378,7 @@ applications.")
(define-public openvdb
(package
(name "openvdb")
- (version "8.0.1")
+ (version "8.2.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -386,14 +388,14 @@ applications.")
(file-name (git-file-name name version))
(sha256
(base32
- "0qzx6l5c183k6j9zki31gg9aixf5s1j46wdi7wr1h3bz7k53syg9"))))
+ "0856697hnwk8xsp29kx8y2p1kliy0bdwfsznxm38v4690vna15rk"))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags
(list (string-append "-DCMAKE_EXE_LINKER_FLAGS=-Wl,-rpath="
(assoc-ref %outputs "out") "/lib"))))
(inputs
- (list boost c-blosc ilmbase tbb-2020 zlib))
+ (list boost c-blosc ilmbase tbb zlib))
(native-inputs
(list pkg-config))
(home-page "https://www.openvdb.org/")
@@ -408,14 +410,14 @@ typically encountered in feature film production.")
(define-public blender
(package
(name "blender")
- (version "2.93.6")
+ (version "3.0.0")
(source (origin
(method url-fetch)
(uri (string-append "https://download.blender.org/source/"
"blender-" version ".tar.xz"))
(sha256
(base32
- "19i84bh8jiamf38fj9p24q8w8fhg3hhl49940dh74h4flyfyqfg7"))))
+ "1jzirg60c2lhln78a7phbsk2ssvcdqxqb3awp895m0pqrlmz7w2h"))))
(build-system cmake-build-system)
(arguments
(let ((python-version (version-major+minor (package-version python))))
@@ -497,8 +499,9 @@ typically encountered in feature film production.")
("python" ,python)
("python-numpy" ,python-numpy)
("openvdb" ,openvdb)
- ("tbb" ,tbb-2020)
+ ("tbb" ,tbb)
("zlib" ,zlib)
+ ("zstd" ,zstd "lib")
("embree" ,embree)))
(home-page "https://blender.org/")
(synopsis "3D graphics creation suite")
@@ -509,103 +512,6 @@ compositing and motion tracking, even video editing and game creation. The
application can be customized via its API for Python scripting.")
(license license:gpl2+)))
-(define-public blender-2.79
- (package
- (name "blender")
- (version "2.79b")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://download.blender.org/source/"
- "blender-" version ".tar.gz"))
- (sha256
- (base32
- "1g4kcdqmf67srzhi3hkdnr4z1ph4h9sza1pahz38mrj998q4r52c"))
- (patches (search-patches "blender-2.79-newer-ffmpeg.patch"
- "blender-2.79-oiio2.patch"
- ;; The following patches may be
- ;; needed when the default GCC is
- ;; updated:
- ;; "blender-2.79-gcc8.patch"
- ;; "blender-2.79-gcc9.patch"
- "blender-2.79-python-3.7-fix.patch"
- "blender-2.79-python-3.8-fix.patch"))))
- (build-system cmake-build-system)
- (arguments
- (let ((python-version (version-major+minor (package-version python))))
- `(;; Test files are very large and not included in the release tarball.
- #:tests? #f
- #:configure-flags
- (list "-DWITH_CODEC_FFMPEG=ON"
- "-DWITH_CODEC_SNDFILE=ON"
- "-DWITH_CYCLES=ON"
- "-DWITH_DOC_MANPAGE=ON"
- "-DWITH_FFTW3=ON"
- "-DWITH_GAMEENGINE=ON"
- "-DWITH_IMAGE_OPENJPEG=ON"
- "-DWITH_INPUT_NDOF=ON"
- "-DWITH_INSTALL_PORTABLE=OFF"
- "-DWITH_JACK=ON"
- "-DWITH_MOD_OCEANSIM=ON"
- "-DWITH_PLAYER=ON"
- "-DWITH_PYTHON_INSTALL=OFF"
- "-DWITH_PYTHON_INSTALL=OFF"
- "-DWITH_SYSTEM_OPENJPEG=ON"
- (string-append "-DPYTHON_LIBRARY=python" ,python-version)
- (string-append "-DPYTHON_LIBPATH=" (assoc-ref %build-inputs "python")
- "/lib")
- (string-append "-DPYTHON_INCLUDE_DIR=" (assoc-ref %build-inputs "python")
- "/include/python" ,python-version)
- (string-append "-DPYTHON_VERSION=" ,python-version))
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-broken-import
- (lambda _
- (substitute* "release/scripts/addons/io_scene_fbx/json2fbx.py"
- (("import encode_bin") "from . import encode_bin"))
- #t))
- (add-after 'set-paths 'add-ilmbase-include-path
- (lambda* (#:key inputs #:allow-other-keys)
- ;; OpenEXR propagates ilmbase, but its include files do not appear
- ;; in the CPATH, so we need to add "$ilmbase/include/OpenEXR/" to
- ;; the CPATH to satisfy the dependency on "half.h".
- (setenv "CPATH"
- (string-append
- (search-input-directory inputs "include/OpenEXR")
- ":" (or (getenv "CPATH") "")))))))))
- (inputs
- `(("boost" ,boost)
- ("jemalloc" ,jemalloc)
- ("libx11" ,libx11)
- ("opencolorio" ,opencolorio)
- ("openimageio" ,openimageio)
- ("openexr" ,openexr-2)
- ("ilmbase" ,ilmbase)
- ("openjpeg" ,openjpeg)
- ("libjpeg" ,libjpeg-turbo)
- ("libpng" ,libpng)
- ("libtiff" ,libtiff)
- ("ffmpeg" ,ffmpeg)
- ("fftw" ,fftw)
- ("jack" ,jack-1)
- ("libsndfile" ,libsndfile)
- ("freetype" ,freetype)
- ("glew" ,glew)
- ("openal" ,openal)
- ("pugixml" ,pugixml)
- ("python" ,python)
- ("zlib" ,zlib)))
- (home-page "https://blender.org/")
- (synopsis "3D graphics creation suite")
- (description
- "Blender is a 3D graphics creation suite. It supports the entirety of
-the 3D pipeline—modeling, rigging, animation, simulation, rendering,
-compositing and motion tracking, even video editing and game creation. The
-application can be customized via its API for Python scripting.
-
-NOTE: This older version of Blender is the last release that does not require
-OpenGL 3. It is retained for use with older computers.")
- (license license:gpl2+)))
-
(define-public goxel
(package
(name "goxel")
@@ -666,6 +572,72 @@ vertices, sorting by primitive type, merging of redundant materials and many
more.")
(license license:bsd-3)))
+(define-public openshadinglanguage
+ (package
+ (name "openshadinglanguage")
+ (version "1.11.16.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/AcademySoftwareFoundation/OpenShadingLanguage")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0x0lc163vl2b57l75bf5zxlr6vm2y1f1izlxdnrw3vsapv3r9k9g"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:configure-flags (list "-DUSE_PARTIO=OFF") ; TODO: not packaged
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'set-paths 'add-ilmbase-include-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; OpenEXR 2 propagates ilmbase, but its include files do not
+ ;; appear in the C_INCLUDE_PATH.
+ (let ((headers (string-append
+ (assoc-ref inputs "ilmbase")
+ "/include/OpenEXR")))
+ (setenv "C_INCLUDE_PATH"
+ (string-append headers ":"
+ (or (getenv "C_INCLUDE_PATH") "")))
+ (setenv "CPLUS_INCLUDE_PATH"
+ (string-append headers ":"
+ (or (getenv "CPLUS_INCLUDE_PATH") ""))))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "ctest" "--exclude-regex"
+ (string-join
+ (list
+ "osl-imageio" ; OIIO not compiled with freetype
+ "osl-imageio.opt" ; OIIO not compiled with freetype
+ "texture-udim" ; file does not exist
+ "texture-udim.opt" ; file does not exist
+ "example-deformer" ; could not find OSLConfig
+ "python-oslquery") ; no module oslquery
+ "|"))))))))
+ (native-inputs
+ (list bison
+ clang
+ flex
+ llvm
+ pybind11
+ python-wrapper))
+ (inputs
+ (list boost
+ imath
+ openexr-2
+ openimageio
+ pugixml
+ qtbase-5
+ zlib))
+ (home-page "https://github.com/AcademySoftwareFoundation/OpenShadingLanguage")
+ (synopsis "Shading language for production GI renderers")
+ (description "Open Shading Language (OSL) is a language for programmable
+shading in advanced renderers and other applications, ideal for describing
+materials, lights, displacement, and pattern generation.")
+ (license license:bsd-3)))
+
(define-public cgal
(package
(name "cgal")
@@ -935,6 +907,30 @@ applications, full-screen applications, and embedded platforms without standard
operating system features.")
(license license:expat))) ; some examples/ use the zlib licence
+(define-public alembic
+ (package
+ (name "alembic")
+ (version "1.8.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/alembic/alembic")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0glfx3cm7r8zn3cn7j4x4ch1ab6igfis0i2lcy23jc56q87r8yj2"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:configure-flags (list "-DUSE_HDF5=ON")))
+ (inputs
+ (list hdf5 imath zlib))
+ (home-page "http://www.alembic.io/")
+ (synopsis "Framework for storing and sharing scene data")
+ (description "Alembic is a computer graphics interchange framework. It
+distills complex, animated scenes into a set of baked geometric results.")
+ (license license:bsd-3)))
+
(define-public ogre
(package
(name "ogre")
@@ -1007,7 +1003,7 @@ graphics.")
(define-public openexr
(package
(name "openexr")
- (version "3.1.2")
+ (version "3.1.3")
(source
(origin
(method git-fetch)
@@ -1016,7 +1012,7 @@ graphics.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0vyclrrikphwkkpyjg8kzh3qzflzk3d6xsidgqllgfdgllr9wmgv"))))
+ (base32 "0c9vla0kbsbbhkk42jlbf94nzfb1anqh7dy9b0b3nna1qr6v4bh6"))))
(build-system cmake-build-system)
(arguments
'(#:phases
@@ -1919,6 +1915,38 @@ Some feature highlights:
@end itemize\n")
(license license:gpl3+))))
+(define-public openxr
+ (package
+ (name "openxr")
+ (version "1.0.20")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/KhronosGroup/OpenXR-SDK")
+ (commit (string-append "release-" version))))
+ (file-name (git-file-name name version))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Delete bundled jsoncpp.
+ (delete-file-recursively "src/external/jsoncpp")))
+ (sha256
+ (base32 "1jd7jjxlrdi8kjnmn3sad7dgb4h48dbxryfb9snf0kifn47bi20m"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:tests? #f)) ; there are no tests
+ (native-inputs
+ (list pkg-config python shaderc vulkan-headers))
+ (inputs
+ (list jsoncpp mesa vulkan-loader wayland))
+ (home-page "https://www.khronos.org/openxr/")
+ (synopsis "Generated headers and sources for OpenXR loader")
+ (description "This package contains OpenXR headers, as well as source code
+and build scripts for the OpenXR loader.")
+ ;; Dual licensed. Either license applies.
+ (license (list license:asl2.0 license:expat))))
+
(define-public monado
(package
(name "monado")
diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm
index ab39e49d7d..dfbb28a8a9 100644
--- a/gnu/packages/graphviz.scm
+++ b/gnu/packages/graphviz.scm
@@ -6,7 +6,7 @@
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2017 Gábor Boskovits <boskovits@gmail.com>
;;; Copyright © 2018 Mathieu Lirzin <mthl@gnu.org>
-;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2020, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2020 Pjotr Prins <pjotr.guix@thebird.nl>
;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
@@ -370,15 +370,14 @@ can be used either as a standalone application, or as a Python library.")
(define-public python-pydot
(package
(name "python-pydot")
- (version "1.4.1")
+ (version "1.4.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pydot" version))
(sha256
(base32
- "00az4cbf8bv447lkk9xi6pjm7gcc7ia33y4pm71fwfwis56rv76l"))
- (patches (search-patches "python-pydot-regression-test.patch"))))
+ "0z80zwldf7ffkwrpm28hixsiqp3053j7g281xd6phmnbkfiq3014"))))
(build-system python-build-system)
(arguments
'(#:phases
@@ -389,13 +388,14 @@ can be used either as a standalone application, or as a Python library.")
(when tests?
(add-installed-pythonpath inputs outputs)
(with-directory-excursion "test"
- (invoke "python" "pydot_unittest.py")))
- #t)))))
+ (invoke "python" "pydot_unittest.py"))))))))
(native-inputs
;; For tests.
(list graphviz python-chardet))
(propagated-inputs
- (list python-pyparsing))
+ ;; XXX: Two test failures with 3.0+:
+ ;; https://github.com/pydot/pydot/issues/277
+ (list python-pyparsing-2.4.7))
(home-page "https://github.com/pydot/pydot")
(synopsis "Python interface to Graphviz's DOT language")
(description
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 87adb7c92a..8ff8e6242b 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -901,7 +901,6 @@ model to base your own plug-in on, here it is.")
("webrtcdsp" ,webrtc-audio-processing)
("wildmidi" ,wildmidi)
("wpebackend-fdo" ,wpebackend-fdo)
- ;; ("wpewebkit" ,wpewebkit)
("zbar" ,zbar)
("zxing" ,zxing-cpp-1.2)))
(home-page "https://gstreamer.freedesktop.org/")
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index f18cd5bc9a..ae84e769e6 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -188,7 +188,7 @@ tools have full access to view and control running applications.")
("pkg-config" ,pkg-config)
("python" ,python-wrapper)))
(inputs
- `(("bash-minimal" ,bash-minimal) ; for glib-or-gtk-wrap
+ `(("bash-minimal" ,bash-minimal) ;for glib-or-gtk-wrap
("drm" ,libdrm)
("ghostscript" ,ghostscript)
("libspectre" ,libspectre)
@@ -1058,7 +1058,7 @@ application suites.")
(define-public gtk
(package
(name "gtk")
- (version "4.2.1")
+ (version "4.4.1")
(source
(origin
(method url-fetch)
@@ -1066,9 +1066,10 @@ application suites.")
(version-major+minor version) "/"
name "-" version ".tar.xz"))
(sha256
- (base32 "1rh9fd5axf79pmd93hb2fmmflic5swcvqvq6vqghlgz4bmvnjc82"))
+ (base32 "1x6xlc063nqp7cg6py4kq1kpw9pkq49ifk5kki0brc667ncdmahg"))
(patches
- (search-patches "gtk4-respect-GUIX_GTK4_PATH.patch"))))
+ (search-patches "gtk4-respect-GUIX_GTK4_PATH.patch"
+ "gtk-introspection-test.patch"))))
(build-system meson-build-system)
(outputs '("out" "bin" "doc"))
(arguments
@@ -1121,7 +1122,7 @@ application suites.")
(lambda _
(setenv "XDG_CACHE_HOME" (getcwd))))
(add-before 'check 'pre-check
- (lambda _
+ (lambda* (#:key inputs #:allow-other-keys)
;; Tests require a running X server.
(system "Xvfb :1 +extension GLX &")
(setenv "DISPLAY" ":1")
@@ -1130,7 +1131,10 @@ application suites.")
;; Tests look for those variables.
(setenv "XDG_RUNTIME_DIR" (getcwd))
;; For missing '/etc/machine-id'.
- (setenv "DBUS_FATAL_WARNINGS" "0")))
+ (setenv "DBUS_FATAL_WARNINGS" "0")
+ ;; Required for the calendar test.
+ (setenv "TZDIR" (search-input-directory inputs
+ "share/zoneinfo"))))
(add-after 'install 'move-files
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
@@ -1165,10 +1169,12 @@ application suites.")
("gettext-minimal" ,gettext-minimal)
("glib:bin" ,glib "bin")
("gobject-introspection" ,gobject-introspection) ;for building introspection data
+ ("graphene" ,graphene)
("gtk-doc" ,gtk-doc) ;for building documentation
("intltool" ,intltool)
("libxslt" ,libxslt) ;for building man-pages
("pkg-config" ,pkg-config)
+ ("python-pygobject" ,python-pygobject)
;; These python modules are required for building documentation.
("python-jinja2" ,python-jinja2)
("python-markdown" ,python-markdown)
@@ -1177,6 +1183,7 @@ application suites.")
("python-toml" ,python-toml)
("python-typogrify" ,python-typogrify)
("sassc" ,sassc) ;for building themes
+ ("tzdata" ,tzdata-for-tests)
("vala" ,vala)
("xorg-server-for-tests" ,xorg-server-for-tests)))
(inputs
@@ -1629,6 +1636,7 @@ library.")
("mm-common" ,mm-common)
("perl" ,perl)
("pkg-config" ,pkg-config)
+ ("python" ,python)
("xsltproc" ,libxslt)))
(propagated-inputs
(list cairo cairomm glibmm pango))
@@ -1684,8 +1692,7 @@ library.")
(mkdir-p (string-append doc "/share"))
(rename-file
(string-append out "/share/doc")
- (string-append doc "/share/doc"))
- #t))))))
+ (string-append doc "/share/doc"))))))))
(native-inputs
`(("dot" ,graphviz)
("doxygen" ,doxygen)
@@ -1693,6 +1700,7 @@ library.")
("mm-common" ,mm-common)
("perl" ,perl)
("pkg-config" ,pkg-config)
+ ("python" ,python)
("xsltproc" ,libxslt)))
(propagated-inputs
(list glibmm atk))
@@ -1722,7 +1730,7 @@ library.")
(base32 "1b8vycqzr3lfvk2l73f4kk74hj48081zbh9r1r2ilr3h8xh7cs0i"))))
(propagated-inputs
(modify-inputs (package-propagated-inputs atkmm)
- (prepend glibmm-2.64)))))
+ (replace "glibmm" glibmm-2.64)))))
(define-public gtkmm
(package
@@ -1772,6 +1780,7 @@ library.")
("mm-common" ,mm-common)
("perl" ,perl)
("pkg-config" ,pkg-config)
+ ("python" ,python)
("xsltproc" ,libxslt)
("xorg-server" ,xorg-server-for-tests)))
(propagated-inputs
@@ -1805,12 +1814,6 @@ tutorial.")
name "-" version ".tar.xz"))
(sha256
(base32 "1ri2msp3cmzi6r65ghwb8gfavfaxv0axpwi3q60nm7v8hvg36qw5"))))
- (arguments
- (substitute-keyword-arguments (package-arguments gtkmm)
- ;; Use meson 0.59 to workaround a new issue with meson 0.60 (see:
- ;; https://github.com/mesonbuild/meson/issues/9350#issuecomment-953799600).
- ((#:meson _ #f)
- meson-0.59)))
(propagated-inputs
`(("atkmm-2.28" ,atkmm-2.28)
("cairomm-1.14" ,cairomm-1.14)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 8346d99996..e2cf793acc 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -17,7 +17,7 @@
;;; Copyright © 2017 Nikita <nikita@n0.is>
;;; Copyright © 2017, 2018, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
-;;; Copyright © 2018, 2019, 2020, 2021 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2018, 2019, 2020, 2021, 2022 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
;;; Copyright © 2018 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2019 swedebugia <swedebugia@riseup.net>
@@ -38,7 +38,7 @@
;;; Copyright © 2021 Leo Le Bouter <lle-bout@zaclys.net>
;;; Copyright © 2021 Zelphir Kaltstahl <zelphirkaltstahl@posteo.de>
;;; Copyright © 2021 Oleg Pykhalov <go.wigust@gmail.com>
-;;; Copyright © 2021 Artyom V. Poptsov <poptsov.artyom@gmail.com>
+;;; Copyright © 2021, 2022 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -812,8 +812,8 @@ It has a nice, simple s-expression based syntax.")
(inputs (list guile-2.2))))
(define-public guile-squee
- (let ((commit "c1497a216e881cfde39d6aa7c73d0bf6b497c89b")
- (revision "2"))
+ (let ((commit "a151fd006fa819945ca1d4749b173854269b9f70")
+ (revision "3"))
(package
(name "guile-squee")
(version (string-append "0-" revision "." (string-take commit 7)))
@@ -825,7 +825,7 @@ It has a nice, simple s-expression based syntax.")
(file-name (git-file-name name version))
(sha256
(base32
- "1alskrplnyl1n5wb39drn72cwplp47a8cpdd1n9cdnw3jhk5p12p"))))
+ "1jps14z8653ah2kr367iayzyi3ql2s55l77xrafz7gk3mzcvgrrg"))))
(build-system guile-build-system)
(arguments
'(#:phases
@@ -836,9 +836,8 @@ It has a nice, simple s-expression based syntax.")
(("dynamic-link \"libpq\"")
(string-append
"dynamic-link \""
- (assoc-ref inputs "postgresql") "/lib/libpq.so"
- "\"")))
- #t)))))
+ (search-input-file inputs "/lib/libpq.so")
+ "\""))))))))
(inputs
(list postgresql))
(native-inputs
@@ -1865,7 +1864,7 @@ users and in some situations.")
(define-public guile-udev
(package
(name "guile-udev")
- (version "0.2.0")
+ (version "0.2.3")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -1874,7 +1873,7 @@ users and in some situations.")
(file-name (git-file-name name version))
(sha256
(base32
- "037md1sg7bgsa4478hz1dbsivsxzdnl5acadlrsh4ds2yxbsb5jp"))))
+ "0xvh4wscxmiqm8lnmfyh5cjzn89kv2wslkfvqvcjhinzpnpbg91x"))))
(build-system gnu-build-system)
(native-inputs
(list autoconf
@@ -2125,7 +2124,7 @@ understand, extend, and port to host languages other than Scheme.")
(synopsis "Guile reader extension for `raw strings'")
(description "This package provides A Guile reader extension for `raw
strings', it lets you write verbatim strings without having to escape double
-quotes. ")
+quotes.")
(license license:public-domain))))
(define-public guile-reader
@@ -2950,14 +2949,14 @@ list of components. This module takes care of that for you.")
(define-public guile-gi
(package
(name "guile-gi")
- (version "0.3.1")
+ (version "0.3.2")
(source (origin
(method url-fetch)
(uri (string-append "http://lonelycactus.com/tarball/guile_gi-"
version ".tar.gz"))
(sha256
(base32
- "1ljcfyar1nb6h4jskxnnzrcxcsblawc50qqfdn8cax3zqfskmvzj"))))
+ "019mbhgyga57k2074kg97mh3qsa8ny9l0kjgqids8cg3c6vbjdby"))))
(build-system glib-or-gtk-build-system)
(arguments
`(#:configure-flags '("--with-gnu-filesystem-hierarchy")
@@ -2965,6 +2964,7 @@ list of components. This module takes care of that for you.")
(guix build utils)
(ice-9 popen)
(ice-9 rdelim))
+ #:disallowed-references ,(list gtk+ webkitgtk)
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'remove-dotted-circle-from-combining-character
@@ -3004,19 +3004,13 @@ list of components. This module takes care of that for you.")
(setenv "DISPLAY" ":1")
#t)))))
(native-inputs
- `(("gettext" ,gettext-minimal)
- ("glib:bin" ,glib "bin") ; for glib-compile-resources
- ("libtool" ,libtool)
- ("pkg-config" ,pkg-config)
- ("xorg-server" ,xorg-server)))
- (propagated-inputs
- `(("glib" ,glib)
- ("gobject-introspection" ,gobject-introspection)
- ("gssettings-desktop-schemas" ,gsettings-desktop-schemas)
- ("gtk+" ,gtk+)
- ("guile-lib" ,guile-lib)
- ("webkitgtk" ,webkitgtk)))
- (inputs (list guile-3.0))
+ (list gettext-minimal
+ `(,glib "bin") ; for glib-compile-resources
+ libtool pkg-config xorg-server))
+ (propagated-inputs (list gobject-introspection))
+ (inputs (list guile-3.0 glib
+ ;; For tests, only relevant when compiling natively
+ gtk+ webkitgtk))
(home-page "https://github.com/spk121/guile-gi")
(synopsis "GObject bindings for Guile")
(description
@@ -3178,6 +3172,51 @@ It also supports parsing JSON objects that may be bigger than memory with a stre
API.")
(license license:expat))))
+(define-public guile-srfi-189
+ (let ((commit "a0e3786702956c9e510d92746474ac988c2010ec")
+ (revision "0"))
+ (package
+ (name "guile-srfi-189")
+ (version (git-version "0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ ;; This is a fork of:
+ ;; (url "https://github.com/scheme-requests-for-implementation/srfi-189")
+ ;; Upstream merge requested at:
+ ;; https://github.com/scheme-requests-for-implementation/srfi-189/pull/21
+ ;; TODO switch over to the official repo when the PR gets merged
+ (url "https://github.com/attila-lendvai-patches/srfi-189")
+ (commit commit)))
+ (sha256
+ (base32
+ "0iqv4sjwbp4k87r9l9abzbs5yjcljm69m91kb1ypb03b0rx7napy"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (delete-file "test-syntax.scm")
+ (delete-file "test.scm")))
+ (file-name (git-file-name name version))))
+ (build-system guile-build-system)
+ (arguments
+ '(#:not-compiled-file-regexp "srfi/189\\.scm$")) ; it's INCLUDE'd
+ (native-inputs
+ (list guile-3.0))
+ (propagated-inputs
+ (list guile-srfi-145))
+ (home-page "https://srfi.schemers.org/srfi-189/")
+ (synopsis "Scheme SRFI implementation of Maybe and Either")
+ (description
+ "This SRFI defines two disjoint immutable container types known as
+Maybe and Either, both of which can contain objects collectively known
+as their payload. A Maybe object is either a Just object or the unique
+object Nothing (which has no payload); an Either object is either a Right
+object or a Left object. Maybe represents the concept of optional values;
+Either represents the concept of values which are either correct (Right)
+or errors (Left).")
+ (license license:expat))))
+
(define-public emacsy
(package
(name "emacsy")
@@ -3405,6 +3444,16 @@ perform geometrical transforms on JPEG images.")
(srfi srfi-26))
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'fix-webkitgtk
+ (lambda _
+ ;; Adapt to the version we have in Guix.
+ (substitute* "configure.ac"
+ (("webkit2gtk-4\\.0") "webkit2gtk-4.1")
+ (("webkit2gtk-web-extension-4\\.0")
+ "webkit2gtk-web-extension-4.1"))
+
+ (substitute* "typelib/Makefile.am"
+ (("WebKit2-4\\.0") "WebKit2-4.1"))))
(add-before 'check 'start-xorg-server
(lambda* (#:key inputs #:allow-other-keys)
;; The test suite requires a running X server.
@@ -4818,3 +4867,60 @@ with a FSM is being built (for example, from a Makefile.)")
@url{https://en.wikipedia.org/wiki/INI_file, INI format}. This library
provides API for reading and writing INI data.")
(license license:gpl3)))
+
+(define-public guile-schemetran
+ (let ((commit "3f5e15273ee88ba60ad8caf2de6302ad2bab582b")
+ (revision "1"))
+ (package
+ (name "guile-schemetran")
+ (version (git-version "0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/codetk/schemetran")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1r4nq7wmy854hvbkcc23sidn4kq3p7r4p15y5czwvd52p9djff3m"))))
+ (build-system guile-build-system)
+ (arguments
+ (list #:not-compiled-file-regexp "/doc/.*\\.scm$"
+ #:source-directory "src"))
+ (inputs
+ (list guile-3.0))
+ (home-page "https://gitlab.com/codetk/schemetran")
+ (synopsis "Write Fortran in Scheme")
+ (description
+ "Fortran is great in expressing operations on multi-dimensional arrays
+of numbers. Scheme is great at expressing your coding thoughts. This project
+is an attempt to combine both into something useful.")
+ (license license:asl2.0))))
+
+(define-public guile-kolam
+ (package
+ (name "guile-kolam")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://kolam.systemreboot.net/releases/kolam-"
+ version ".tar.lz"))
+ (sha256
+ (base32
+ "083r3n3wvzysa9jhlwjj1xppdm6ja56rkizr6hvj4q1806v8n6mn"))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:make-flags '("GUILE_AUTO_COMPILE=0"))) ; to prevent guild warnings
+ (native-inputs
+ (list guile-3.0 lzip))
+ (propagated-inputs
+ (list guile-json-4))
+ (home-page "https://kolam.systemreboot.net")
+ (synopsis "GraphQL implementation for Scheme")
+ (description "@code{guile-kolam} is a GraphQL implementation for Scheme. kolam
+features a parser to parse and serialize GraphQL documents, a type system to
+create GraphQL schemas, an execution engine to execute GraphQL queries, and a
+HTTP handler to implement a HTTP GraphQL endpoint.")
+ (license license:agpl3+)))
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index 28887dd69f..6cfd609916 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2012-2022 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014 Cyril Roelandt <tipecaml@gmail.com>
;;; Copyright © 2014, 2016, 2018 David Thompson <davet@gnu.org>
;;; Copyright © 2014, 2017, 2018 Mark H Weaver <mhw@netris.org>
@@ -17,6 +17,7 @@
;;; Copyright © 2019 Taylan Kammer <taylan.kammer@gmail.com>
;;; Copyright © 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
+;;; Copyright © 2021 Timothy Sample <samplet@ngyro.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -186,7 +187,10 @@ without requiring the source code to be rewritten.")
(outputs '("out" "debug"))
(arguments
- `(#:configure-flags '("--disable-static") ; saves 3 MiB
+ `(#:configure-flags
+ ,(if (target-x86-32?) ;<https://issues.guix.gnu.org/49368>
+ ''("--disable-static" "CFLAGS=-g -O2 -fexcess-precision=standard")
+ ''("--disable-static")) ;saves 3 MiB
;; Work around non-reproducible .go files as described in
;; <https://bugs.gnu.org/20272>, which affects 2.0, 2.2, and 3.0 so far.
@@ -272,7 +276,8 @@ without requiring the source code to be rewritten.")
(substitute-keyword-arguments (package-arguments guile-2.0)
((#:configure-flags flags ''())
(if (target-x86-32?) ;<https://issues.guix.gnu.org/49368>
- `(append ,flags '("CFLAGS=-g -O2 -fexcess-precision=standard"))
+ `(append '("--disable-static")
+ '("CFLAGS=-g -O2 -fexcess-precision=standard"))
flags))))
(properties '((timeout . 72000) ;20 hours
@@ -344,7 +349,7 @@ without requiring the source code to be rewritten.")
'("CFLAGS=-g -O2 -fexcess-precision=standard")
'())
"--enable-mini-gmp"
- ,flags))
+ '("--disable-static")))
((#:phases phases)
`(modify-phases ,phases
(add-before 'check 'disable-stack-overflow-test
@@ -408,9 +413,9 @@ without requiring the source code to be rewritten.")
; when heavily loaded)
(define-public guile-next
- (let ((version "3.0.5")
+ (let ((version "3.0.7")
(revision "0")
- (commit "91547abf54d5e0795afda2781259ab8923eb527b"))
+ (commit "d70c1dbebf9ac0fd45af4578c23983ec4a7da535"))
(package
(inherit guile-3.0)
(name "guile-next")
@@ -424,7 +429,7 @@ without requiring the source code to be rewritten.")
(file-name (git-file-name name version))
(sha256
(base32
- "09i1c77h2shygylfk0av31jsc1my6zjl230b2cx6vyl58q8c0cqy"))))
+ "05rsk9lh5kchbav3lwfwgvgybrykqqjmkkc6689fhb3mjr5m3dqj"))))
(arguments
(substitute-keyword-arguments (package-arguments guile-3.0)
((#:phases phases '%standard-phases)
@@ -904,4 +909,27 @@ pure Scheme by using Guile's foreign function interface.")
compression library.")
(license license:gpl3+)))
+(define-public guile-lzma
+ (package
+ (name "guile-lzma")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://files.ngyro.com/guile-lzma/guile-lzma-"
+ version ".tar.gz"))
+ (sha256
+ (base32 "0pnfzk92p9y5ymjq6rq619b9fy0dflv56jwg00wlvvbjssb6i1ib"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ (list autoconf automake guile-3.0 guile-bytestructures pkg-config))
+ (inputs (list guile-3.0 xz))
+ (propagated-inputs (list guile-bytestructures))
+ (home-page "https://ngyro.com/software/guile-lzma.html")
+ (synopsis "Guile bindings for liblzma (XZ)")
+ (description "Guile-LZMA is a Guile wrapper for the liblzma (XZ)
+library. It exposes an interface similar to other Guile compression
+libraries, like Guile-zlib.")
+ (license license:gpl3+)))
+
;;; guile.scm ends here
diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm
index ddd0f5acc1..a93db0be3f 100644
--- a/gnu/packages/hardware.scm
+++ b/gnu/packages/hardware.scm
@@ -8,6 +8,9 @@
;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2021, 2022 John Kehayias <john.kehayias@protonmail.com>
+;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
+;;; Copyright © 2022 Maxime Devos <maximedevos@telenet.be>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -64,11 +67,13 @@
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix download)
+ #:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix svn-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
- #:use-module (guix utils))
+ #:use-module (guix utils)
+ #:use-module (srfi srfi-1))
;; This is a module for packages related to physical hardware that don't (yet)
;; have a more specific home like gps.scm, security-token.scm, &c.
@@ -76,7 +81,7 @@
(define-public hwinfo
(package
(name "hwinfo")
- (version "21.78")
+ (version "21.80")
(home-page "https://github.com/openSUSE/hwinfo")
(source
(origin
@@ -87,7 +92,7 @@
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0v3smzdplh0cdvl19dw3in8gfmkhb2fgkfl60aqhn9qlbjf3p0mr"))
+ (base32 "07058vjqdcd3la8y4b92f7fvcqxvmw1p0q4lg5kcn85pvbbg52ag"))
(modules
'((guix build utils)))
(snippet
@@ -316,6 +321,66 @@ whether the hardware works with a fully free operating system or not.")
(home-page "https://savannah.nongnu.org/projects/h-client/")
(license license:gpl3+))))
+(define-public headsetcontrol
+ (package
+ (name "headsetcontrol")
+ (version "2.6")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Sapd/HeadsetControl")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0a7zimzi71416pmn6z0l1dn1c2x8p702hkd0k6da9rsznff85a88"))))
+ (build-system cmake-build-system)
+ (inputs
+ (list hidapi))
+ (home-page "https://github.com/Sapd/HeadsetControl")
+ (synopsis "Sidetone and Battery status for USB headsets")
+ (description
+ "Headsetcontrol is a tool to control certain aspects of USB-connected
+headsets. Currently, support is provided for adjusting sidetone, getting
+battery state, controlling LEDs, and setting the inactive time.")
+ (license license:gpl3+)))
+
+(define-public hueplusplus
+ (package
+ (name "hueplusplus")
+ (version "1.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/enwi/hueplusplus")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1jy8m2a0h0kf0aw8jbniz069q9j7cx67b1zlv2vz1ymq921qk0pm"))
+ (patches
+ (search-patches "hueplusplus-mbedtls.patch"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:tests? #f)) ;; Tests require Google's gtest and gmock
+ (inputs
+ (list mbedtls-apache))
+ (synopsis "C++ library to control Philips Hue lights")
+ (description "Hueplusplus is a library for controlling Philips Hue lights.
+Features:
+
+@itemize
+@item find bridges with SSDP or set an ip manually
+@item all common light functions (brightness, color, temperature)
+@item extended @code{alert()} functions, which alert in a specific
+color (good for notifications)
+@item supports sensors, rules, groups, scenes and schedules
+@item streaming with entertainment mode
+@item documented with doxygen
+@end itemize")
+ (home-page "https://github.com/enwi/hueplusplus")
+ (license license:lgpl3+)))
+
(define-public i7z
(let ((revision "0")
(commit "1a41ff13db747e962456ddbb5ccb2b7fc43ca0cb"))
@@ -589,6 +654,78 @@ be dangerous and may void your CPU or system board's warranty.")
technology, such as head mounted displays with built in head tracking.")
(license license:boost1.0)))
+(define-public openrgb
+ (package
+ (name "openrgb")
+ (version "0.7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/CalcProgrammer1/OpenRGB")
+ (commit (string-append "release_" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0xhfaz0b74nfnh7il2cz5c0338xlzay00g6hc2h3lsncarj8d5n7"))
+ (patches
+ (search-patches "openrgb-unbundle-hueplusplus.patch"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Delete the bundled hueplusplus and json libraries.
+ (delete-file-recursively "dependencies/hueplusplus-1.0.0")
+ (delete-file-recursively "dependencies/json")))))
+ (build-system cmake-build-system)
+ (arguments
+ (list
+ #:tests? #f ; doesn't have tests
+ #:make-flags
+ #~(list (string-append "INSTALL_ROOT=" #$output ))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'unbundle
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "OpenRGB.pro"
+ (("dependencies/hueplusplus-1.0.0/include/hueplusplus")
+ (string-append #$(this-package-input "hueplusplus")
+ "/include/hueplusplus"))
+ (("dependencies/json")
+ (string-append #$(this-package-input "json-modern-cxx")
+ "/include/nlohmann")))))
+ ;; Call qmake instead of configure to create a Makefile.
+ (replace 'configure
+ (lambda _ (invoke "qmake" "PREFIX=/" "OpenRGB.pro"))))))
+ (inputs
+ (list hidapi
+ hueplusplus
+ json-modern-cxx
+ libusb
+ mbedtls-apache
+ qtbase-5))
+ (native-inputs
+ (list pkg-config))
+ (synopsis "RGB lighting control")
+ (description
+ "OpenRGB is lighting control that doesn't depend on manufacturer software.
+ASUS, ASRock, Corsair, G.Skill, Gigabyte, HyperX, MSI, Razer, ThermalTake, and more
+supported.
+
+Features:
+
+@itemize
+@item Set colors and select effect modes for a wide variety of RGB hardware
+@item Save and load profiles
+@item Control lighting from third party software using the OpenRGB SDK
+@item Command line interface
+@item Connect multiple instances of OpenRGB to synchronize lighting across multiple PCs
+@item Can operate standalone or in a client/headless server configuration
+@item View device information
+@item No official/manufacturer software required
+@item Graphical view of device LEDs makes creating custom patterns easy
+@end itemize")
+ (home-page "https://openrgb.org/")
+ (license license:gpl2))) ; Included libccmmk is lgpl3+, CRC is bsd-3
+
(define-public wavemon
(package
(name "wavemon")
@@ -819,3 +956,54 @@ of your CRT/LCD monitor.")
libtss2-esys, libtss2-sys, libtss2-mu, libtss2-tcti-device, libtss2-tcti-swtpm
and libtss2-tcti-mssim.")
(license license:bsd-2)))
+
+(define-public libcpuid
+ ;; We need to remove blobs from the source, first we have to isolate the blob
+ ;; source in build system.
+ ;; See https://github.com/anrieff/libcpuid/pull/159.
+ (let ((commit "2e61160983f32ba840b2246d3c3850c44626ab0d")
+ (revision "1"))
+ (package
+ (name "libcpuid")
+ (version (git-version "0.5.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/anrieff/libcpuid")
+ (commit commit)))
+ (sha256
+ (base32 "1mphvkiqq6z33sq6i490fq27sbyylacwrf8bg7ccvpcjms208sww"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; Now remove blobs.
+ #~(begin
+ (delete-file "libcpuid/msrdriver.c")
+ (delete-file-recursively "contrib/MSR Driver")))
+ (file-name (git-file-name name version))))
+ (build-system cmake-build-system)
+ (arguments
+ (list
+ #:configure-flags #~(list "-DLIBCPUID_TESTS=ON")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'absolutize
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; Linux specific
+ (when #$(target-linux?)
+ (substitute* "libcpuid/rdmsr.c"
+ (("modprobe") (which "modprobe")))))))))
+ (inputs
+ (if (target-linux?)
+ (list kmod)
+ '()))
+ (native-inputs (list python-3)) ;required by tests
+ (supported-systems
+ (filter (lambda (t) (or (target-x86-64? t) (target-x86-32? t)))
+ %supported-systems))
+ (home-page "https://libcpuid.sourceforge.net/")
+ (synopsis "Small library for x86 CPU detection and feature extraction")
+ (description "Libcpuid is a small C library to get vendor, model, branding
+string, code name and other information from x86 CPU. This library is not to be
+confused with the @code{cpuid} command line utility from package @code{cpuid}.")
+ (license license:bsd-2))))
diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm
index ed977f369f..7f777a0873 100644
--- a/gnu/packages/haskell-apps.scm
+++ b/gnu/packages/haskell-apps.scm
@@ -306,14 +306,14 @@ to @code{cabal repl}).")
(define-public git-annex
(package
(name "git-annex")
- (version "8.20211123")
+ (version "8.20211231")
(source
(origin
(method url-fetch)
(uri (string-append "https://hackage.haskell.org/package/"
"git-annex/git-annex-" version ".tar.gz"))
(sha256
- (base32 "0i9dhh601axv0b1i56yzn6jnfp160z530fp9pd557kpq4nbvg5kl"))))
+ (base32 "0cpa3rl8vcm0arima8x9m5q0a9r05z0851ibr1vcria2z0mmwmi7"))))
(build-system haskell-build-system)
(arguments
`(#:configure-flags
diff --git a/gnu/packages/haskell-check.scm b/gnu/packages/haskell-check.scm
index e647d65a89..62433cdb15 100644
--- a/gnu/packages/haskell-check.scm
+++ b/gnu/packages/haskell-check.scm
@@ -13,6 +13,7 @@
;;; Copyright © 2019 Timothy Sample <samplet@ngyro.com>
;;; Copyright © 2020 John Soo <jsoo1@asu.edu>
;;; Copyright © 2020 Carlo Holl <carloholl@gmail.com>
+;;; Copyright © 2021 John Kehayias <john.kehayias@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -32,6 +33,7 @@
(define-module (gnu packages haskell-check)
#:use-module (gnu packages)
#:use-module (gnu packages haskell-crypto)
+ #:use-module (gnu packages haskell-web)
#:use-module (gnu packages haskell-xyz)
#:use-module (guix build-system haskell)
#:use-module (guix download)
@@ -1056,6 +1058,50 @@ See the documentation in \"Test.Inspection\" or the project webpage for more
examples and more information.")
(license license:expat)))
+(define-public ghc-quickcheck-classes
+ (package
+ (name "ghc-quickcheck-classes")
+ (version "0.6.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/quickcheck-classes/quickcheck-classes-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32 "19iw15mvb7gws3ljdxqwsbb4pmfc0sfflf8szgmrhiqr3k82mqv2"))))
+ (build-system haskell-build-system)
+ (inputs
+ (list ghc-quickcheck
+ ghc-primitive
+ ghc-primitive-addr
+ ghc-quickcheck-classes-base
+ ghc-aeson
+ ghc-semigroupoids
+ ghc-semirings
+ ghc-vector))
+ (native-inputs
+ (list ghc-base-orphans
+ ghc-tagged
+ ghc-base-orphans
+ ghc-tagged
+ ghc-tasty
+ ghc-tasty-quickcheck))
+ (home-page "https://github.com/andrewthad/quickcheck-classes#readme")
+ (synopsis "QuickCheck common typeclasses")
+ (description
+ "This library provides QuickCheck properties to ensure that typeclass
+instances adhere to the set of laws that they are supposed to. There are
+other libraries that do similar things, such as @code{genvalidity-hspec} and
+@code{checkers}. This library differs from other solutions by not introducing
+any new typeclasses that the user needs to learn. /Note:/ on GHC < 8.5, this
+library uses the higher-kinded typeclasses (@code{Data.Functor.Classes.Show1},
+@code{Data.Functor.Classes.Eq1}, @code{Data.Functor.Classes.Ord1}, etc.), but
+on GHC >= 8.5, it uses @code{-XQuantifiedConstraints} to express these
+constraints more cleanly.")
+ (license license:bsd-3)))
+
(define-public ghc-quickcheck-classes-base
(package
(name "ghc-quickcheck-classes-base")
diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index d95b87639c..34dd2556be 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -1369,7 +1369,7 @@ from Yesod.")
(description "This Haskell package provides a set of basic form inputs such
as text, number, time, checkbox, select, textarea, etc through the
@code{Yesod.Form.Fields} module. Also, there is @code{Yesod.Form.Nic} module
-providing richtext field using Nic editor. ")
+providing richtext field using Nic editor.")
(license license:expat)))
(define-public ghc-yesod
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index f5d15bcc2f..a42baebde6 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -29,6 +29,7 @@
;;; Copyright © 2020 Carlo Holl <carloholl@gmail.com>
;;; Copyright © 2020 Christine Lemmer-Webber <cwebber@dustycloud.org>
;;; Copyright © 2021 Alice BRENON <alice.brenon@ens-lyon.fr>
+;;; Copyright © 2021 John Kehayias <john.kehayias@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1692,7 +1693,7 @@ command-line utility for working with CBOR data.")
ghc-vector
ghc-cborg))
(home-page "https://github.com/well-typed/cborg")
- (synopsis "A library for encoding JSON as CBOR")
+ (synopsis "Library for encoding JSON as CBOR")
(description
"This package implements the bijection between JSON and CBOR
defined in the CBOR specification, RFC 7049.")
@@ -2329,7 +2330,7 @@ concurrent threads. Can be used for progress displays etc.")
(native-inputs
(list ghc-quickcheck ghc-hspec ghc-safe ghc-split))
(home-page "https://github.com/snoyberg/conduit")
- (synopsis "Streaming data library ")
+ (synopsis "Streaming data library")
(description
"The conduit package is a solution to the streaming data problem,
allowing for production, transformation, and consumption of streams of data
@@ -4528,7 +4529,7 @@ definition of @code{Monad}.")
ghc-shelly
ghc-temporary))
(home-page "https://github.com/haskell-fswatch/hfsnotify")
- (synopsis "Cross platform library for file change notification.")
+ (synopsis "Cross platform library for file change notification")
(description "Cross platform library for file creation, modification, and
deletion notification. This library builds upon existing libraries for platform
specific Windows, Mac, and Linux file system event notification.")
@@ -6941,7 +6942,7 @@ compiler versions.")
(inputs
(list ghc-conduit ghc-resourcet libyaml+static))
(home-page "https://github.com/snoyberg/yaml#readme")
- (synopsis "Low-level, streaming YAML interface.")
+ (synopsis "Low-level, streaming YAML interface")
(description "This package provides a Haskell wrapper over the
LibYAML C library.")
(license license:bsd-3)))
@@ -7493,7 +7494,7 @@ efficient memo functions using tries.")
"10q7gl9yavcln58sxdxzih7ff0ixxq5hpd87icvxw97yqf1p6hmm"))))
(build-system haskell-build-system)
(home-page
- "https://github.com/aelve/microlens")
+ "https://github.com/monadfix/microlens")
(synopsis "Provides a tiny lens Haskell library with no dependencies")
(description "This Haskell package provides a lens library, just like
@code{ghc-lens}, but smaller. It provides essential lenses and
@@ -8768,7 +8769,7 @@ to other formats.")
(native-inputs
(list ghc-hunit))
(home-page "https://github.com/jgm/emojis#readme")
- (synopsis "Conversion between emoji characters and their names.")
+ (synopsis "Conversion between emoji characters and their names")
(description
"This package provides functions for converting emoji names to emoji
characters and vice versa.
@@ -9944,6 +9945,28 @@ Show instance.")
"This package provides various primitive memory-related operations.")
(license license:bsd-3)))
+(define-public ghc-primitive-addr
+ (package
+ (name "ghc-primitive-addr")
+ (version "0.1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/primitive-addr/primitive-addr-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32 "06r1p56wm8rbjxnlaqbmc3rbsj1rsv5scwnh80lsn0xw56jc70a2"))))
+ (build-system haskell-build-system)
+ (inputs (list ghc-primitive))
+ (home-page "https://github.com/haskell-primitive/primitive-addr")
+ (synopsis "Addresses to unmanaged memory")
+ (description
+ "This library provides the @code{Data.Primitive.Addr} module that was a part
+of the @code{primitive} library before @code{primitive-0.7.0.0}.")
+ (license license:bsd-3)))
+
(define-public ghc-process-extras
(package
(name "ghc-process-extras")
@@ -10638,7 +10661,7 @@ Haskell library @code{regex-base}.")
(list ghc-regex-base))
(native-inputs (list ghc-utf8-string))
(home-page "https://github.com/haskell-hvr/regex-tdfa")
- (synopsis "POSIX extended regular expressions in Haskell.")
+ (synopsis "POSIX extended regular expressions in Haskell")
(description
"Regex-tdfa is a pure Haskell regular expression library implementing POSIX
extended regular expressions. It is a \"tagged\" DFA regex engine. It is
@@ -10855,7 +10878,7 @@ better for some purposes.")
(native-inputs
(list ghc-hspec ghc-quickcheck hspec-discover))
(home-page "https://github.com/commercialhaskell/rio#readme")
- (synopsis "A standard library for Haskell")
+ (synopsis "Standard library for Haskell")
(description "This package works as a prelude replacement for Haskell,
providing more functionality and types out of the box than the standard
prelude (such as common data types like @code{ByteString} and
@@ -11289,7 +11312,7 @@ a memory chunk that will be auto-scrubbed after it run out of scope.")
(home-page
"https://github.com/isomorphism/these")
(synopsis
- "Align and Zip type-classes from the common Semialign ancestor ")
+ "Align and Zip type-classes from the common Semialign ancestor")
(description
"The major use of @code{These} of this is provided by the
@code{align} member of @code{Semialign} class, representing a
@@ -11375,6 +11398,40 @@ semigroup.")
ghc-unordered-containers-bootstrap ghc-hashable-bootstrap))
(properties '((hidden? #t)))))
+(define-public ghc-semirings
+ (package
+ (name "ghc-semirings")
+ (version "0.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/semirings/semirings-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32 "16q535bvjl7395sqkx6zlw48y4fzr7irp44pcp7w9irpn4cncdcr"))))
+ (build-system haskell-build-system)
+ (inputs
+ (list ghc-base-compat-batteries ghc-hashable ghc-unordered-containers))
+ (arguments
+ `(#:cabal-revision
+ ("1" "1c06yhfa053sv3rfz0d72a33l5qb0xmj1b3hy2z7pzxrcay6g1yc")))
+ (home-page "https://github.com/chessai/semirings")
+ (synopsis "Two monoids as one, in holy haskimony")
+ (description
+ "Haskellers are usually familiar with monoids and semigroups. A monoid has an
+appending operation @code{<>} (or @code{mappend}), and an identity element,
+@code{mempty}. A semigroup has an appending @code{<>} operation, but does not
+require a @code{mempty} element. A Semiring has two appending operations,
+@code{plus} and @code{times}, and two respective identity elements,
+@code{zero} and @code{one}. More formally, a Semiring R is a set equipped
+with two binary relations @code{+} and @code{*}, such that: (R,+) is a
+commutative monoid with identity element 0, (R,*) is a monoid with identity
+element 1, (*) left and right distributes over addition, and . multiplication
+by @code{0} annihilates R.")
+ (license license:bsd-3)))
+
(define-public ghc-serialise
(package
(name "ghc-serialise")
@@ -12893,7 +12950,7 @@ datatypes.")
(inputs
(list ghc-th-lift ghc-vector ghc-quickcheck))
(home-page "https://github.com/bennofs/th-lift-instances/")
- (synopsis "Lift instances for template-haskell for common data types.")
+ (synopsis "Lift instances for template-haskell for common data types")
(description "Most data types in the Haskell platform do not have Lift
instances. This package provides orphan instances for @code{containers},
@code{text}, @code{bytestring} and @code{vector}.")
@@ -14215,7 +14272,7 @@ It provides the composable @code{Builder} abstraction, which has instances of th
You would first use the @code{Builder} abstraction to specify the structure of
the vector; then you can execute the builder to actually produce the
-vector. ")
+vector.")
(license license:expat)))
(define-public ghc-vector-th-unbox
@@ -15309,7 +15366,7 @@ footnotes, math, and more.")
(inputs
(list ghc-commonmark ghc-commonmark-extensions ghc-pandoc-types))
(home-page "https://github.com/jgm/commonmark-hs")
- (synopsis "Bridge between Commonmark and Pandoc AST.")
+ (synopsis "Bridge between Commonmark and Pandoc AST")
(description
"This library provides typeclasses for rendering @code{ghc-commonmark} to
Pandoc types.")
@@ -15389,7 +15446,7 @@ information.")
(synopsis "Standard spec's for @code{GenValidity} instances")
(description
"This haskell library provides validity and validity-based testing for
-@code{ghc-hspec}. ")
+@code{ghc-hspec}.")
(license license:expat)))
(define-public ghc-boot-th
diff --git a/gnu/packages/icu4c.scm b/gnu/packages/icu4c.scm
index ec526e5ed3..5b8f00863a 100644
--- a/gnu/packages/icu4c.scm
+++ b/gnu/packages/icu4c.scm
@@ -98,6 +98,22 @@ C/C++ part.")
(license x11)
(home-page "http://site.icu-project.org/")))
+(define-public icu4c-70
+ (package
+ (inherit icu4c)
+ (version "70.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/unicode-org/icu/releases/download/release-"
+ (string-map (lambda (x) (if (char=? x #\.) #\- x)) version)
+ "/icu4c-"
+ (string-map (lambda (x) (if (char=? x #\.) #\_ x)) version)
+ "-src.tgz"))
+ (sha256
+ (base32
+ "1m9zgkaf5lyh65nyc6n0n5bs2f5k53nnj1ih6nskpwbvq4l5884d"))))))
+
(define-public icu4c-67
(package
(inherit icu4c)
@@ -152,7 +168,7 @@ C/C++ part.")
(define-public java-icu4j
(package
(name "java-icu4j")
- (version "66.1")
+ (version "70.1")
(source (origin
(method url-fetch)
(uri (string-append
@@ -162,7 +178,7 @@ C/C++ part.")
(string-map (lambda (x) (if (char=? x #\.) #\_ x)) version)
".tgz"))
(sha256
- (base32 "1ahdyz9209lwl7knb2l3gmnkkby221p0vpgx70fj4j02rdzgvw0d"))))
+ (base32 "0qrs75iyzn19kf54q55jn8wf6xjlpkrihdwqpxm39jdh2hz4cgvj"))))
(build-system ant-build-system)
(arguments
`(#:make-flags
@@ -183,22 +199,19 @@ C/C++ part.")
(modify-phases %standard-phases
(add-before 'configure 'chdir
(lambda _
- (chdir "..")
- #t))
+ (chdir "..")))
(add-before 'build 'remove-ivy
(lambda _
;; This target wants to download ivy and use it to download
;; junit.
(substitute* "build.xml"
- (("depends=\"test-init-junit-dependency\"") ""))
- #t))
+ (("depends=\"test-init-junit-dependency\"") ""))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((share (string-append (assoc-ref outputs "out")
"/share/java/")))
(mkdir-p share)
- (install-file "icu4j.jar" share)
- #t))))))
+ (install-file "icu4j.jar" share)))))))
(native-inputs
(list java-junit java-junitparams java-hamcrest-core))
(home-page "http://site.icu-project.org/")
diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm
index 93fe384aa8..272f400f67 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -375,7 +375,7 @@ integrates with various databases on GUI toolkits such as Qt and Tk.")
(define-public opencv
(package
(name "opencv")
- (version "3.4.3")
+ (version "4.5.4")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -384,14 +384,34 @@ integrates with various databases on GUI toolkits such as Qt and Tk.")
(file-name (git-file-name name version))
(sha256
(base32
- "06bc61r8myym4s8im10brdjfg4wxkrvsbhhl7vr1msdan2xddzi3"))
- (patches
- (search-patches "opencv-fix-build-of-grfmt_jpeg2000.cpp.patch"))
+ "0gf2xs3r4s51m20mpf0wdidpk0xzp3m2w6jx72fwldhn0pshlmcj"))
(modules '((guix build utils)))
(snippet
'(begin
- ;; Remove external libraries. We have all available in Guix:
- (delete-file-recursively "3rdparty")
+ ;; Remove external libraries. We have almost all available
+ ;; in Guix:
+ (with-directory-excursion "3rdparty"
+ (for-each delete-file-recursively
+ '("carotene"
+ "cpufeatures"
+ "ffmpeg"
+ "include"
+ "ippicv"
+ "ittnotify"
+ "libjasper"
+ "libjpeg"
+ "libjpeg-turbo"
+ "libpng"
+ "libtengine"
+ "libtiff"
+ "libwebp"
+ "openexr"
+ "openjpeg"
+ "openvx"
+ "protobuf"
+ ;;"quirc"
+ "tbb"
+ "zlib")))
;; Milky icon set is non-free:
(delete-file-recursively "modules/highgui/src/files_Qt/Milky")
@@ -399,12 +419,12 @@ integrates with various databases on GUI toolkits such as Qt and Tk.")
;; Some jars found:
(for-each delete-file
'("modules/java/test/pure_test/lib/junit-4.11.jar"
- "samples/java/sbt/sbt/sbt-launch.jar"))
- #t))))
+ "samples/java/sbt/sbt/sbt-launch.jar"))))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags
- (list "-DWITH_IPP=OFF"
+ (list "-DWITH_ADE=OFF" ;we don't have a package for ade yet
+ "-DWITH_IPP=OFF"
"-DWITH_ITT=OFF"
"-DWITH_CAROTENE=OFF" ; only visible on arm/aarch64
"-DENABLE_PRECOMPILED_HEADERS=OFF"
@@ -457,30 +477,25 @@ integrates with various databases on GUI toolkits such as Qt and Tk.")
(modify-phases %standard-phases
(add-after 'unpack 'disable-broken-tests
(lambda _
- ;; These tests fails with:
- ;; vtkXOpenGLRenderWindow (0x723990): Could not find a decent config
- ;; I think we have no OpenGL support with the Xvfb.
- (substitute* '("modules/viz/test/test_tutorial3.cpp"
- "modules/viz/test/test_main.cpp"
- "modules/viz/test/tests_simple.cpp"
- "modules/viz/test/test_viz3d.cpp")
- (("(TEST\\(Viz, )([a-z].*\\).*)" all pre post)
- (string-append pre "DISABLED_" post)))
-
- ;; This one fails with "unknown file: Failure"
+ ;; This test fails with "unknown file: Failure"
;; But I couldn't figure out which file was missing:
(substitute* "../opencv-contrib/modules/face/test/test_face_align.cpp"
(("(TEST\\(CV_Face_FacemarkKazemi, )(can_detect_landmarks\\).*)"
all pre post)
(string-append pre "DISABLED_" post)))
- ;; Failure reason: Bad accuracy
- ;; Incorrect count of accurate poses [2nd case]: 90.000000 / 94.000000
- (substitute* "../opencv-contrib/modules/rgbd/test/test_odometry.cpp"
- (("(TEST\\(RGBD_Odometry_Rgbd, )(algorithmic\\).*)" all pre post)
+ ;; This test fails with a comparison between the expected 396 and
+ ;; the actual 440 in file size.
+ (substitute* "modules/imgcodecs/test/test_exr.impl.hpp"
+ (("(TEST\\(Imgcodecs_EXR, )(readWrite_32FC1\\).*)" all pre post)
(string-append pre "DISABLED_" post)))
- #t))
+ ;; These fail with protobuf parse errors that come from
+ ;; opencv-extra/testdata.
+ (substitute* "modules/dnn/test/test_layers.cpp"
+ (("(TEST_P\\(Test_Caffe_layers, )\
+(Accum\\).*|DataAugmentation\\).*|Resample\\).*|Correlation\\).*)" all pre post)
+ (string-append pre "DISABLED_" post)))))
(add-after 'unpack 'unpack-submodule-sources
(lambda* (#:key inputs #:allow-other-keys)
(mkdir "../opencv-extra")
@@ -489,27 +504,19 @@ integrates with various databases on GUI toolkits such as Qt and Tk.")
"../opencv-extra")
(copy-recursively (assoc-ref inputs "opencv-contrib")
"../opencv-contrib")))
-
- (add-after 'set-paths 'add-ilmbase-include-path
+ (add-after 'build 'do-not-install-3rdparty-file
+ (lambda _
+ (substitute* "cmake_install.cmake"
+ (("file\\(INSTALL .*source/3rdparty/include/opencl/LICENSE.txt.*") "\n"))))
+ (add-before 'check 'start-xserver
(lambda* (#:key inputs #:allow-other-keys)
- ;; OpenEXR propagates ilmbase, but its include files do not appear
- ;; in the CPATH, so we need to add "$ilmbase/include/OpenEXR/" to
- ;; the CPATH to satisfy the dependency on "ImathVec.h".
- (setenv "CPATH"
- (string-append
- (string-drop-right
- (search-input-file inputs "include/OpenEXR/ImathVec.h")
- 11)
- ":" (or (getenv "CPATH") "")))))
- (add-before 'check 'start-xserver
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((xorg-server (assoc-ref inputs "xorg-server"))
- (disp ":1"))
- (setenv "HOME" (getcwd))
- (setenv "DISPLAY" disp)
- ;; There must be a running X server and make check doesn't start one.
- ;; Therefore we must do it.
- (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
+ (let ((xorg-server (assoc-ref inputs "xorg-server"))
+ (disp ":1"))
+ (setenv "HOME" (getcwd))
+ (setenv "DISPLAY" disp)
+ ;; There must be a running X server and make check doesn't start one.
+ ;; Therefore we must do it.
+ (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
(native-inputs
`(("pkg-config" ,pkg-config)
("xorg-server" ,xorg-server-for-tests) ; For running the tests
@@ -517,48 +524,50 @@ integrates with various databases on GUI toolkits such as Qt and Tk.")
,(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/opencv/opencv_extra")
- (commit version)))
+ (url "https://github.com/opencv/opencv_extra")
+ (commit version)))
(file-name (git-file-name "opencv_extra" version))
(sha256
- (base32 "08p5xnq8n1jw8svvz0fnirfg7q8dm3p4a5dl7527s5xj0f9qn7lp"))))
+ (base32 "1fg2hxdvphdvagc2fkmhqk7qql9mp7pj2bmp8kmd7vicpr72qk82"))))
("opencv-contrib"
,(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/opencv/opencv_contrib")
- (commit version)))
+ (url "https://github.com/opencv/opencv_contrib")
+ (commit version)))
(file-name (git-file-name "opencv_contrib" version))
- (patches (search-patches "opencv-rgbd-aarch64-test-fix.patch"))
(sha256
- (base32 "1f334glf39nk42mpqq6j732h3ql2mpz89jd4mcl678s8n73nfjh2"))))))
- (inputs `(("libjpeg" ,libjpeg-turbo)
- ("libpng" ,libpng)
- ("jasper" ,jasper)
- ;; ffmpeg 4.0 causes core dumps in tests.
- ("ffmpeg" ,ffmpeg-3.4)
- ("libtiff" ,libtiff)
- ("hdf5" ,hdf5)
- ("libgphoto2" ,libgphoto2)
- ("libwebp" ,libwebp)
- ("zlib" ,zlib)
- ("gtkglext" ,gtkglext)
- ("openexr" ,openexr-2)
- ("ilmbase" ,ilmbase)
- ("gtk+" ,gtk+-2)
- ("python-numpy" ,python-numpy)
- ("protobuf" ,protobuf)
- ("vtk" ,vtk)
- ("python" ,python)))
+ (base32 "0ga0l4ranp1834gxgp487ll1amvmssa02l2nk5ja5w0rx4d8hh26"))))))
+ (inputs
+ (list ffmpeg
+ gtk+
+ gtkglext
+ hdf5
+ ilmbase
+ imath ;should be propagated by openexr
+ jasper
+ libgphoto2
+ libjpeg-turbo
+ libpng
+ libtiff
+ libwebp
+ openblas
+ openexr
+ openjpeg
+ protobuf
+ python
+ python-numpy
+ vtk
+ zlib))
;; These three CVEs are not a problem of OpenCV, see:
;; https://github.com/opencv/opencv/issues/10998
(properties '((lint-hidden-cve . ("CVE-2018-7712"
"CVE-2018-7713"
"CVE-2018-7714"))))
(synopsis "Computer vision library")
- (description "OpenCV is a library aimed at
-real-time computer vision, including several hundred computer
-vision algorithms. It can be used to do things like:
+ (description "OpenCV is a library aimed at real-time computer vision,
+including several hundred computer vision algorithms. It can be used to do
+things like:
@itemize
@item image and video input and output
@@ -627,14 +636,14 @@ due to its architecture which automatically parallelises the image workflows.")
(define-public gmic
(package
(name "gmic")
- (version "2.9.7")
+ (version "3.0.0")
(source
(origin
(method url-fetch)
(uri (string-append "https://gmic.eu/files/source/gmic_"
version ".tar.gz"))
(sha256
- (base32 "05kzaplsl5qvxs7v6g73q0lq8dii8g6v77ap609188m7gr43f9cl"))))
+ (base32 "080inz0wisv3rhvbnzrgcs3j25wq86gybp68yi56gw6vwswnn19z"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f ;there are no tests
@@ -655,12 +664,13 @@ due to its architecture which automatically parallelises the image workflows.")
(list curl
fftw
graphicsmagick
+ imath
libjpeg-turbo
libpng
libtiff
libx11
- ;;("opencv" ,opencv) ;OpenCV is currently broken in the CI
- openexr-2
+ ;;opencv ;OpenCV is currently broken in the CI
+ openexr
zlib))
(home-page "https://gmic.eu/")
(synopsis "Full-featured framework for digital image processing")
diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm
index 5d0313d6ae..b61a79370d 100644
--- a/gnu/packages/image-viewers.scm
+++ b/gnu/packages/image-viewers.scm
@@ -10,7 +10,7 @@
;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
-;;; Copyright © 2019, 2020 Guy Fleury Iteriteka <gfleury@disroot.org>
+;;; Copyright © 2019, 2020, 2022 Guy Fleury Iteriteka <gfleury@disroot.org>
;;; Copyright © 2019 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2020 Peng Mei Yu <pengmeiyu@riseup.net>
;;; Copyright © 2020 R Veera Kumar <vkor@vkten.in>
@@ -781,14 +781,14 @@ preloading.")
(define-public chafa
(package
(name "chafa")
- (version "1.4.1")
+ (version "1.8.0")
(source (origin
(method url-fetch)
(uri (string-append "https://hpjansson.org/chafa/releases/chafa-"
version ".tar.xz"))
(sha256
(base32
- "18rb82bfqj1sj2g4irazx4lwq9q4b4k7my1r0q714vf9yhs41ls6"))))
+ "0sr86bnrqcf6wxigrgsglv4fc79g5djmki20ih4hg8kbhcnnbzr1"))))
(build-system gnu-build-system)
(native-inputs
(list pkg-config))
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index a4cec470cb..6cf171a410 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -57,6 +57,7 @@
#:use-module (gnu packages boost)
#:use-module (gnu packages check)
#:use-module (gnu packages cmake)
+ #:use-module (gnu packages cpp)
#:use-module (gnu packages curl)
#:use-module (gnu packages compression)
#:use-module (gnu packages documentation)
@@ -1822,7 +1823,7 @@ parsing, viewing, modifying, and saving this metadata.")
(define-public flameshot
(package
(name "flameshot")
- (version "0.8.5")
+ (version "0.10.2")
(source
(origin
(method git-fetch)
@@ -1832,7 +1833,7 @@ parsing, viewing, modifying, and saving this metadata.")
(file-name (git-file-name name version))
(sha256
(base32
- "1z77igs60lz106vsf6wsayxjafxm3llf2lm4dpvsqyyrxybfq191"))))
+ "07n98pp5i6i51g7a4vqwbd6xarihzl7r714r2knvw2zn5mlj55dd"))))
(build-system qt-build-system)
(native-inputs
(list qttools))
@@ -2227,6 +2228,58 @@ by AOM, including with alpha.")
Format) file format decoder and encoder.")
(license license:lgpl3+)))
+(define-public libjxl
+ (package
+ (name "libjxl")
+ (version "0.6.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/libjxl/libjxl")
+ (commit (string-append "v" version))
+ (recursive? #t)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "17pvc5zgm9az5hfg2p80325f42w3dqspyb03iakrwg9x4n3vjckx"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; Delete the bundles that will not be used. libjxl bundles LCMS
+ ;; which is in Guix but there is no option to use the system package.
+ ;; This option will be introduced after version 0.6.1 and then we
+ ;; probably won't need to download the submodules.
+ '(begin
+ (for-each (lambda (directory)
+ (delete-file-recursively
+ (string-append "third_party/" directory)))
+ '("brotli" "googletest" "highway"))))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:configure-flags
+ (list "-DJPEGXL_FORCE_SYSTEM_GTEST=true"
+ "-DJPEGXL_FORCE_SYSTEM_BROTLI=true"
+ ;; "-DJPEGXL_FORCE_SYSTEM_LCMS2=true" ; next version after 0.6.1
+ "-DJPEGXL_FORCE_SYSTEM_HWY=true")))
+ (native-inputs
+ (list asciidoc doxygen googletest pkg-config python))
+ (inputs
+ (list freeglut
+ giflib
+ google-brotli
+ google-highway
+ imath
+ ;; lcms ; next version after 0.6.1
+ libavif
+ libjpeg-turbo
+ libpng
+ libwebp
+ openexr))
+ (home-page "https://github.com/libjxl/libjxl")
+ (synopsis "JPEG XL image format reference implementation")
+ (description "This package contains a reference implementation of JPEG XL
+(encoder and decoder).")
+ (license license:bsd-3)))
+
(define-public mtpaint
(package
(name "mtpaint")
diff --git a/gnu/packages/installers.scm b/gnu/packages/installers.scm
index 04357b9719..6ba9bf0827 100644
--- a/gnu/packages/installers.scm
+++ b/gnu/packages/installers.scm
@@ -128,7 +128,7 @@
(substitute* "Source/build.cpp" (("m_target_type=TARGET_X86ANSI")
(string-append "m_target_type=" ,nsis-target-type))))))))
(home-page "http://nsis.sourceforge.net/")
- (synopsis "A professional open source system to create Windows installers")
+ (synopsis "Professional open source system to create Windows installers")
(description
"NSIS (Nullsoft Scriptable Install System) is a professional open source
system to create Windows installers. It is designed to be as small and flexible
diff --git a/gnu/packages/instrumentation.scm b/gnu/packages/instrumentation.scm
index 564547324c..ab986bfcc7 100644
--- a/gnu/packages/instrumentation.scm
+++ b/gnu/packages/instrumentation.scm
@@ -23,25 +23,35 @@
#:use-module (gnu packages datastructures)
#:use-module (gnu packages documentation)
#:use-module (gnu packages elf)
+ #:use-module (gnu packages engineering)
#:use-module (gnu packages flex)
#:use-module (gnu packages glib)
+ #:use-module (gnu packages haskell-xyz)
+ #:use-module (gnu packages libunwind)
#:use-module (gnu packages linux)
#:use-module (gnu packages llvm)
+ #:use-module (gnu packages lua)
#:use-module (gnu packages man)
+ #:use-module (gnu packages ncurses)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages popt)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-xyz)
#:use-module (gnu packages sphinx)
#:use-module (gnu packages swig)
#:use-module (gnu packages tbb)
#:use-module (gnu packages xml)
#:use-module (guix build-system cmake)
+ #:use-module (guix build-system copy)
#:use-module (guix build-system gnu)
#:use-module (guix download)
+ #:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
- #:use-module (guix packages))
+ #:use-module (guix packages)
+ #:use-module (srfi srfi-26)
+ #:use-module (guix utils))
(define-public babeltrace
(package
@@ -57,19 +67,23 @@
(build-system gnu-build-system)
(arguments
- `(;; FIXME - When Python's bindings are enabled, tests do not pass.
- #:configure-flags '("--enable-debug-info"
- "--enable-man-pages"
- "--disable-python-bindings"
- "--disable-python-plugins")
- #:phases
- (modify-phases %standard-phases
- ;; These are recommended in the project's README for a development
- ;; build configuration.
- (add-before 'configure 'set-environment-variables
- (lambda _
- (setenv "BABELTRACE_DEV_MODE" "1")
- (setenv "BABELTRACE_MINIMAL_LOG_LEVEL" "TRACE"))))))
+ `(#:tests? #f ; FIXME - When Python's bindings are enabled, tests do not
+ ; pass.
+ #:make-flags
+ ,#~(list (string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib"))
+ #:configure-flags
+ '("--enable-debug-info"
+ "--enable-man-pages"
+ "--enable-python-bindings"
+ "--enable-python-plugins")
+ #:phases
+ (modify-phases %standard-phases
+ ;; These are recommended in the project's README for a development
+ ;; build configuration.
+ (add-before 'configure 'set-environment-variables
+ (lambda _
+ (setenv "BABELTRACE_DEV_MODE" "1")
+ (setenv "BABELTRACE_MINIMAL_LOG_LEVEL" "TRACE"))))))
(inputs
(list glib))
;; NOTE - elfutils is used for the LTTng debug information filter
@@ -147,17 +161,57 @@ create a new one out of an ELF file for analysis or modification. It come
with a handful of C++ libraries.")
(license license:lgpl2.1+)))
+(define-public flamegraph
+ ;; No new version since 2019, but there's still some new important commits.
+ (let ((commit "810687f180f3c4929b5d965f54817a5218c9d89b")
+ (revision "1"))
+ (package
+ (name "flamegraph")
+ (version (git-version "1.0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/brendangregg/FlameGraph")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1lg02mxzdsm9szn4vcmx76c1bw9gqmxqk8n6v63v03036sc83s22"))))
+ (build-system copy-build-system)
+ (arguments
+ `(#:install-plan
+ ',(map (cut list <> "bin/")
+ '("flamegraph.pl"
+ "stackcollapse.pl"
+ "stackcollapse-perf.pl"
+ "stackcollapse-pmc.pl"
+ "stackcollapse-stap.pl"
+ "stackcollapse-instruments.pl"
+ "stackcollapse-vtune.pl"
+ "stackcollapse-jstack.pl"
+ "stackcollapse-gdb.pl"
+ "stackcollapse-go.pl"
+ "stackcollapse-vsprof.pl"
+ "stackcollapse-wcp.pl"))))
+ (inputs (list perl))
+ (home-page "http://www.brendangregg.com/flamegraphs.html")
+ (synopsis "Stack trace visualizer")
+ (description "Flamegraph is a collection of scripts that generate
+interactive SVGs out of traces genated from various tracing tools. It comes
+with the script @command{flamegraph.pl} and many stackcollapse scripts.")
+ (license license:cddl1.0))))
+
(define-public lttng-ust
(package
(name "lttng-ust")
- (version "2.13.0")
+ (version "2.13.1")
(source (origin
(method url-fetch)
(uri (string-append "https://lttng.org/files/lttng-ust/"
"lttng-ust-" version ".tar.bz2"))
(sha256
(base32
- "0l0p6y2zrd9hgd015dhafjmpcj7waz762n6wf5ws1xlwcwrwkr2l"))))
+ "1p7d94r275yvby6zqfxaswdl1q46zxbc8x5rkhnjxrp1d41byrsn"))))
(build-system gnu-build-system)
(inputs
(list liburcu numactl))
@@ -174,14 +228,14 @@ to ring buffers shared with a consumer daemon.")
(define-public lttng-tools
(package
(name "lttng-tools")
- (version "2.13.1")
+ (version "2.13.2")
(source (origin
(method url-fetch)
(uri (string-append "https://lttng.org/files/lttng-tools/"
"lttng-tools-" version ".tar.bz2"))
(sha256
(base32
- "1df8ag2a1yyjn6hz6wxgcz0p847cq91b8inf0zyhgz1im1yxzrng"))))
+ "1gfp9y24lpaiz4lcmbp30yd400jmh99mlay9gb8pz9qd080bmlnf"))))
(build-system gnu-build-system)
(arguments
`( ;; FIXME - Currently there's a segmentation fault by swig when enabling
@@ -232,3 +286,61 @@ daemon @code{lttng-sessiond} that acts as a tracing registry, the @command{lttng
line for tracing control, a @code{lttng-ctl} library for tracing control and a
@code{lttng-relayd} for network streaming.")
(license (list license:gpl2 license:lgpl2.1))))
+
+(define-public uftrace
+ (package
+ (name "uftrace")
+ (version "0.11")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/namhyung/uftrace")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0gk0hv3rnf5czvazz1prg21rf9qlniz42g5b389n8a29hqj4q6xr"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:make-flags
+ (list
+ (string-append "CC=" ,(cc-for-target)))
+ ;; runtest hang at some point -- probably dues to
+ ;; failed socket connection -- but we want to keep the
+ ;; unit tests. Change the target to "test" when fixed.
+ #:test-target "unittest"
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'configure
+ (lambda* (#:key outputs target #:allow-other-keys)
+ (let ((arch ,(system->linux-architecture
+ (or (%current-target-system)
+ (%current-system)))))
+ (setenv "ARCH"
+ (cond
+ ((string=? arch "arm64") "aarch64")
+ (else arch)))
+ (when target
+ (setenv "CROSS_COMPILE" (string-append target "-"))))
+ (setenv "SHELL" (which "sh"))
+ (invoke "./configure"
+ (string-append "--prefix="
+ (assoc-ref outputs "out"))))))))
+ (inputs
+ (list capstone
+ elfutils
+ libunwind
+ ncurses))
+ (native-inputs
+ (list luajit
+ pandoc
+ pkg-config
+ python-wrapper))
+ (home-page "https://github.com/namhyung/uftrace")
+ (synopsis "Function graph tracer for C/C++/Rust")
+ (description "uftrace is a tool for tracing and analyzing the execution of
+programs written in C/C++. It is heavily inspired by the ftrace framework of
+the Linux kernel, while supporting userspace programs. It supports various
+kind of commands and filters to help analysis of the program execution and
+performance. It provides the command @command{uftrace}. User that want to do
+scripting need to install python-3 or luajit in their profile.")
+ (license license:gpl2)))
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index f566b850aa..ccc36007b4 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -48,7 +48,8 @@
"0qk6fshgdmhp8dip2ksm13j6nywi41m9mn0czkvmw6b697z85l2r"))))
(build-system go-build-system)
(arguments
- '(#:unpack-path "github.com/ipfs/go-ipfs-cmdkit"
+ `(#:go ,go-1.16
+ #:unpack-path "github.com/ipfs/go-ipfs-cmdkit"
#:import-path "github.com/ipfs/go-ipfs-cmdkit/files"))
(home-page "https://github.com/ipfs/go-ipfs-cmdkit")
(synopsis "Shared types, functions and values for go-ipfs")
@@ -229,17 +230,7 @@ written in Go.")
(build-system go-build-system)
(arguments
`(#:unpack-path "github.com/ipfs/go-ipfs"
- #:import-path "github.com/ipfs/go-ipfs/cmd/ipfs"
- #:go ,go-1.17
- #:phases (modify-phases %standard-phases
- (add-before 'reset-gzip-timestamps 'make-files-writable
- (lambda* (#:key outputs #:allow-other-keys)
- ;; Make sure .gz files are writable so that the
- ;; 'reset-gzip-timestamps' phase can do its work.
- (let ((out (assoc-ref outputs "out")))
- (for-each make-file-writable
- (find-files out "\\.gz$"))
- #t))))))
+ #:import-path "github.com/ipfs/go-ipfs/cmd/ipfs"))
(native-inputs
(list python-minimal-wrapper zsh))
(home-page "https://ipfs.io")
diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm
index 3b88e8d4d2..72f9fd5c96 100644
--- a/gnu/packages/irc.scm
+++ b/gnu/packages/irc.scm
@@ -2,10 +2,10 @@
;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
;;; Copyright © 2014 Kevin Lemonnier <lemonnierk@ulrar.net>
;;; Copyright © 2015, 2017 Ludovic Courtès <ludo@gnu.org>
-;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Nikita <nikita@n0.is>
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
-;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2017–2022 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
@@ -28,6 +28,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages irc)
+ #:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix download)
#:use-module (guix git-download)
@@ -46,6 +47,7 @@
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
#:use-module (gnu packages backup)
+ #:use-module (gnu packages boost)
#:use-module (gnu packages check)
#:use-module (gnu packages code)
#:use-module (gnu packages compression)
@@ -89,53 +91,54 @@
(define-public quassel
(package
(name "quassel")
- (version "0.13.1")
+ (version "0.14.0")
(source
(origin
(method url-fetch)
(uri (string-append "https://quassel-irc.org/pub/quassel-"
- version ".tar.bz2"))
+ version ".tar.xz"))
(sha256
(base32
- "0mg8jydc70vlylppzich26q4s40kr78r3ysfyjwisfvlg2byxvs8"))
- (patches (search-patches "quassel-qt-514-compat.patch"))
+ "042fzssydvv35jjknziph8iyyjsyrsb2hp3d0ix0bqbagbrpf1q9"))
(modules '((guix build utils)))
;; We don't want to install the bundled inxi script.
(snippet
'(begin
- (delete-file "data/scripts/inxi")
- #t))))
+ (delete-file "data/scripts/inxi")))))
(build-system qt-build-system)
(arguments
;; The three binaries are not mutually exlusive, and are all built
;; by default.
- '(#:configure-flags '(;;"-DWANT_QTCLIENT=OFF" ; 6.1 MiB
- ;;"-DWANT_CORE=OFF" ; 3.0 MiB
- ;;"-DWANT_MONO=OFF" ; 7.6 MiB
- "-DWITH_KDE=OFF" ; no to kde integration ...
- "-DWITH_BUNDLED_ICONS=ON" ; so we install bundled icons
- "-DWITH_OXYGEN_ICONS=ON" ; also the oxygen ones
- "-DWITH_WEBENGINE=OFF") ; we don't depend on qtwebengine
+ '(#:configure-flags '("-DBUILD_TESTING=ON"
+ ;;"-DWANT_QTCLIENT=OFF"
+ ;;"-DWANT_CORE=OFF"
+ ;;"-DWANT_MONO=OFF"
+ "-DWITH_KDE=OFF"
+ "-DWITH_BUNDLED_ICONS=ON"
+ "-DWITH_OXYGEN_ICONS=ON"
+ ;; This disables link previews.
+ "-DWITH_WEBENGINE=OFF")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-inxi-reference
(lambda* (#:key inputs #:allow-other-keys)
(let ((inxi (search-input-file inputs "/bin/inxi")))
- (symlink inxi "data/scripts/inxi")
- #t))))
- #:tests? #f)) ; no test target
+ (symlink inxi "data/scripts/inxi")))))))
(native-inputs
(list extra-cmake-modules pkg-config qttools))
(inputs
- `(("inxi" ,inxi-minimal)
- ("libdbusmenu-qt" ,libdbusmenu-qt)
- ("qca" ,qca)
- ("qtbase" ,qtbase-5)
- ("qtmultimedia" ,qtmultimedia)
- ("qtscript" ,qtscript)
- ("qtsvg" ,qtsvg)
- ("snorenotify" ,snorenotify)
- ("zlib" ,zlib)))
+ (list boost
+ inxi-minimal
+ libdbusmenu-qt
+ perl
+ qca
+ qtbase-5
+ qtmultimedia
+ qtscript
+ qtsvg
+ snorenotify
+ sonnet
+ zlib))
(home-page "https://quassel-irc.org/")
(synopsis "Distributed IRC client")
(description "Quassel is a distributed IRC client, meaning that one or more
@@ -187,27 +190,30 @@ SILC and ICB protocols via plugins.")
(define-public weechat
(package
(name "weechat")
- (version "3.3")
+ (version "3.4")
(source (origin
(method url-fetch)
(uri (string-append "https://weechat.org/files/src/weechat-"
version ".tar.xz"))
(sha256
(base32
- "1pyb1yaw61cbdg1g4cc22px1wsh8wm0gsx1yzp684idyz25apzna"))))
+ "0k5rgdy0c4dnxvsqjzyrr5czz1lmfk1vrsqkkvj8v24y0b3xrlvw"))))
(build-system cmake-build-system)
(outputs '("out" "doc"))
(native-inputs
- `(("gettext" ,gettext-minimal)
+ `(("gettext-minimal" ,gettext-minimal)
("pkg-config" ,pkg-config)
- ("ruby-asciidoctor" ,ruby-asciidoctor)
+ ,@(if (or (target-x86-64?)
+ (target-x86-32?))
+ `(("ruby-asciidoctor" ,ruby-asciidoctor))
+ '())
;; For tests.
("cpputest" ,cpputest)))
(inputs
(list aspell
curl
gnutls
- `(,libgcrypt "out")
+ libgcrypt
ncurses
zlib
;; Scripting language plug-ins.
@@ -220,24 +226,25 @@ SILC and ICB protocols via plugins.")
(arguments
`(#:configure-flags
(list "-DENABLE_PHP=OFF"
- "-DENABLE_MAN=ON"
- "-DENABLE_DOC=ON"
+ ,@(if (or (target-x86-64?)
+ (target-x86-32?))
+ '("-DENABLE_MAN=ON"
+ "-DENABLE_DOC=ON")
+ '())
"-DENABLE_TESTS=ON") ; ‘make test’ fails otherwise
#:phases
(modify-phases %standard-phases
- (add-after 'install 'move-doc
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (doc (assoc-ref outputs "doc"))
- (from (string-append out "/share/doc/weechat"))
- (to (string-append doc "/share/doc/weechat")))
- (mkdir-p (string-append doc "/share/doc"))
- (rename-file from to)))))
- ;; Tests hang indefinitely on non-Intel platforms.
- #:tests? ,(if (any (cute string-prefix? <> (or (%current-target-system)
- (%current-system)))
- '("i686" "x86_64"))
- '#t '#f)))
+ ,@(if (or (target-x86-64?)
+ (target-x86-32?))
+ '((add-after 'install 'move-doc
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (doc (assoc-ref outputs "doc"))
+ (from (string-append out "/share/doc/weechat"))
+ (to (string-append doc "/share/doc/weechat")))
+ (mkdir-p (string-append doc "/share/doc"))
+ (rename-file from to)))))
+ '()))))
(synopsis "Extensible chat client")
(description "WeeChat (Wee Enhanced Environment for Chat) is an
@dfn{Internet Relay Chat} (IRC) client, which is designed to be light and fast.
@@ -246,13 +253,13 @@ Qt, Android, and Emacs.
Everything in WeeChat can be done with the keyboard, though it also supports
using a mouse. It is customizable and extensible with plugins and scripts.")
- (home-page "https://www.weechat.org/")
+ (home-page "https://weechat.org/")
(license license:gpl3)))
(define-public srain
(package
(name "srain")
- (version "1.3.0")
+ (version "1.3.1")
(source
(origin
(method git-fetch)
@@ -261,7 +268,7 @@ using a mouse. It is customizable and extensible with plugins and scripts.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "14s0h5wgvlkdylnjis2fa7m835142jzw0d0yqjnir1wqnwmq1rld"))))
+ (base32 "1xjk3fa3fkmsczif1bzcmi79k4z3jfdgcljfdiyn4iv5bh778swc"))))
(build-system meson-build-system)
(arguments
`(#:tests? #f ;there are no tests
@@ -278,7 +285,7 @@ using a mouse. It is customizable and extensible with plugins and scripts.")
gtk+
libconfig
libsecret
- libsoup
+ libsoup-minimal-2
openssl))
(home-page "https://srain.im")
(synopsis "Modern IRC client written in GTK")
@@ -377,14 +384,14 @@ highlighted.
(define-public ii
(package
(name "ii")
- (version "1.8")
+ (version "1.9")
(source (origin
(method url-fetch)
(uri (string-append "http://dl.suckless.org/tools/"
name "-" version ".tar.gz"))
(sha256
(base32
- "1lk8vjl7i8dcjh4jkg8h8bkapcbs465sy8g9c0chfqsywbmf3ndr"))))
+ "05wcaszm9hap5gqf58bciqm3ad1kfgp976fs3fsn3ll3nliv6345"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; no tests
@@ -610,7 +617,7 @@ but can also be used independently as a logging bot.")
(define-public inspircd
(package
(name "inspircd")
- (version "3.8.1")
+ (version "3.12.0")
(source
(origin
(method git-fetch)
@@ -619,47 +626,45 @@ but can also be used independently as a logging bot.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1i30649dw84iscxa5as81g96f393mn1i883aq4za5ypdinr5x65g"))))
+ (base32 "0xlfs269iaw7dfryzl6vjzqsn2g4nqh6kpf5xfgk3zbjhqaczknx"))))
(build-system gnu-build-system)
(arguments
- `(#:configure-flags (map (lambda (module)
- (string-append "--enable-extras=" module))
- '("m_argon2.cpp"
- "m_geo_maxmind.cpp"
- "m_ldap.cpp"
- "m_mysql.cpp"
- "m_pgsql.cpp"
- "m_regex_pcre.cpp"
- "m_regex_posix.cpp"
- "m_regex_stdlib.cpp"
- "m_regex_re2.cpp"
- "m_regex_tre.cpp"
- "m_sqlite3.cpp"
- "m_ssl_gnutls.cpp"
- "m_ssl_openssl.cpp"
- "m_ssl_mbedtls.cpp"
- "m_sslrehashsignal.cpp"))
- #:tests? #f ; Figure out later.
- #:phases
- (modify-phases %standard-phases
- (add-before 'configure 'module-configure
- (lambda* (#:key configure-flags #:allow-other-keys)
- (apply invoke "./configure"
- configure-flags)
- #t))
- (replace 'configure
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (out-lib (string-append out "/lib/"))
- (out-bin (string-append out "/bin/"))
- (out-etc (string-append out "/etc/"))
- (name "inspircd"))
- (invoke "./configure"
- (string-append "--prefix=" out-lib name)
- (string-append "--binary-dir=" out-bin)
- (string-append "--module-dir=" out-lib name "/modules/")
- (string-append "--config-dir=" out-etc name)))
- #t)))))
+ (list #:configure-flags
+ #~(map (lambda (module)
+ (string-append "--enable-extras=" module))
+ '("m_argon2.cpp"
+ "m_geo_maxmind.cpp"
+ "m_ldap.cpp"
+ "m_mysql.cpp"
+ "m_pgsql.cpp"
+ "m_regex_pcre.cpp"
+ "m_regex_posix.cpp"
+ "m_regex_stdlib.cpp"
+ "m_regex_re2.cpp"
+ "m_regex_tre.cpp"
+ "m_sqlite3.cpp"
+ "m_ssl_gnutls.cpp"
+ "m_ssl_openssl.cpp"
+ "m_ssl_mbedtls.cpp"
+ "m_sslrehashsignal.cpp"))
+ #:tests? #f ; XXX figure out later
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'configure 'module-configure
+ (lambda* (#:key configure-flags #:allow-other-keys)
+ (apply invoke "./configure"
+ configure-flags)))
+ (replace 'configure
+ (lambda _
+ (let ((lib (string-append #$output "/lib/"))
+ (bin (string-append #$output "/bin/"))
+ (etc (string-append #$output "/etc/"))
+ (name "inspircd"))
+ (invoke "./configure"
+ (string-append "--prefix=" lib name)
+ (string-append "--binary-dir=" bin)
+ (string-append "--module-dir=" lib name "/modules/")
+ (string-append "--config-dir=" etc name))))))))
(native-inputs
(list pkg-config))
(inputs
diff --git a/gnu/packages/jami.scm b/gnu/packages/jami.scm
index 804e3196c0..9fcf55815b 100644
--- a/gnu/packages/jami.scm
+++ b/gnu/packages/jami.scm
@@ -2,7 +2,7 @@
;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz>
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2019, 2020 Jan Wielkiewicz <tona_kosmicznego_smiecia@interia.pl>
-;;; Copyright © 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2020, 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -26,6 +26,7 @@
#:use-module (gnu packages autotools)
#:use-module (gnu packages backup)
#:use-module (gnu packages base)
+ #:use-module (gnu packages check)
#:use-module (gnu packages crypto)
#:use-module (gnu packages documentation)
#:use-module (gnu packages freedesktop)
@@ -34,6 +35,7 @@
#:use-module (gnu packages gnome)
#:use-module (gnu packages graphviz)
#:use-module (gnu packages gtk)
+ #:use-module (gnu packages guile)
#:use-module (gnu packages libcanberra)
#:use-module (gnu packages linux)
#:use-module (gnu packages networking)
@@ -57,11 +59,12 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system qt)
#:use-module (guix download)
+ #:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix packages)
#:use-module (guix utils))
-(define %jami-version "20210606.1.e2f9490")
+(define %jami-version "20211223.2.37be4c3")
(define %jami-sources
;; Return an origin object of the tarball release sources archive of the
@@ -80,94 +83,73 @@
(delete-file-recursively "daemon/contrib/tarballs")
;; Remove the git submodule directories of unused Jami clients.
(for-each delete-file-recursively '("client-android"
- "client-electron"
"client-ios"
"client-macosx"
"client-uwp"))))
(sha256
(base32
- "1vpxv2dk3l9cahv6mxd2754pxs9mzrid5bgwvl6k1byzpq8y4smr"))))
+ "12h4a0nj3gh05w64gkywrrb64agrhn6y3q4b9cqnhvr1vdkzlj0h"))))
;; Jami maintains a set of patches for some key dependencies (currently
;; pjproject and ffmpeg) of Jami that haven't yet been integrated upstream.
;; This procedure simplifies the process of applying them.
(define jami-apply-custom-patches
- '(lambda* (#:key inputs dep-name patches)
- (let ((patches-directory "patches"))
- (mkdir-p patches-directory)
- (invoke "tar" "-xvf" (assoc-ref inputs "jami-sources")
- "-C" patches-directory
- "--strip-components=5"
- (string-append "ring-project/daemon/contrib/src/"
- dep-name))
- (for-each
- (lambda (file)
- (invoke "patch" "--force" "--ignore-whitespace" "-p1" "-i"
- (string-append patches-directory "/"
- file ".patch")))
- patches))))
+ #~(lambda* (#:key dep-name patches)
+ (let ((patches-directory "patches"))
+ (mkdir-p patches-directory)
+ (invoke "tar" "-xvf" #$%jami-sources
+ "-C" patches-directory
+ "--strip-components=5"
+ (string-append "ring-project/daemon/contrib/src/"
+ dep-name))
+ (for-each
+ (lambda (file)
+ (invoke "patch" "--force" "--ignore-whitespace" "-p1" "-i"
+ (string-append patches-directory "/"
+ file ".patch")))
+ patches))))
-;;; Jami maintains pjproject patches that add the ability to do ICE over TCP,
-;;; among other things. The patches are currently based on pjproject 2.10.
(define-public pjproject-jami
- (package
- (inherit pjproject)
- (name "pjproject-jami")
- (version "2.10")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/pjsip/pjproject")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1aklicpgwc88578k03i5d5cm5h8mfm7hmx8vfprchbmaa2p8f4z0"))
- (patches (search-patches
- "pjproject-correct-the-cflags-field.patch"
- "pjproject-fix-pkg-config-ldflags.patch"))))
- (native-inputs
- `(("jami-sources" ,%jami-sources)
- ,@(package-native-inputs pjproject)))
- (arguments
- (substitute-keyword-arguments (package-arguments pjproject)
- ((#:phases phases '%standard-phases)
- `(modify-phases ,phases
- (add-after 'make-source-files-writable 'apply-patches
- (lambda* (#:key inputs #:allow-other-keys)
- (,jami-apply-custom-patches
- #:inputs inputs
- #:dep-name "pjproject"
- #:patches
- '("0001-rfc6544"
- "0002-rfc2466"
- "0003-add-tcp-keep-alive"
- "0004-multiple_listeners"
- "0005-fix_ebusy_turn"
- "0006-ignore_ipv6_on_transport_check"
- "0007-upnp-srflx-nat-assisted-cand"
- "0008-fix_ioqueue_ipv6_sendto"
- "0009-add-config-site"
- ;; Already taken care of via the origin patches.
- ;;"0010-fix-pkgconfig"
- "0011-fix-tcp-death-detection"
- "0012-fix-turn-shutdown-crash"
- "0013-Assign-unique-local-preferences-for-candidates-with-"
- "0014-Add-new-compile-time-setting-PJ_ICE_ST_USE_TURN_PERM"
- "0015-update-local-preference-for-peer-reflexive-candidate"
- "0016-use-addrinfo-instead-CFHOST"
- "0017-CVE-2020-15260"
- "0018-CVE-2021-21375"
- "0019-ignore-down-interfaces"))))))))))
+ (let ((commit "e1f389d0b905011e0cb62cbdf7a8b37fc1bcde1a")
+ (revision "0"))
+ (package
+ (inherit pjproject)
+ (name "pjproject-jami")
+ (version (git-version "2.11" revision commit))
+ (source (origin
+ (inherit (package-source pjproject))
+ ;; The Jami development team regularly issues patches to
+ ;; pjproject to extend the its functionality and fix bugs;
+ ;; they are submitted for inclusion upstream but larger
+ ;; patches take time to be reviewed and merged, hence this
+ ;; forked repository.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/savoirfairelinux/pjproject")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0inpmyb6mhrzr0g309d6clkc99lddqdvyf9xajz0igvgp9pvgpza"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments pjproject)
+ ((#:phases phases '%standard-phases)
+ #~(modify-phases #$phases
+ (add-after 'unpack 'apply-patches
+ (lambda _
+ (#$jami-apply-custom-patches
+ #:dep-name "pjproject"
+ #:patches
+ ;; This adds a config_site.h configuration file that sets
+ ;; constants such as PJ_ICE_MAX_CAND that cannot be
+ ;; configured at build time.
+ '("0009-add-config-site")))))))))))
;; The following variables are configure flags used by ffmpeg-jami. They're
-;; from the ring-project/daemon/contrib/src/ffmpeg/rules.mak file. We try to
+;; from the jami-project/daemon/contrib/src/ffmpeg/rules.mak file. We try to
;; keep it as close to the official Jami package as possible, to provide all
-;; the codecs and extra features that are expected.
-;;
-;; See:
-;; https://review.jami.net/plugins/gitiles/ring-daemon/+/refs/heads/master/contrib/src/ffmpeg/rules.mak
-
+;; the codecs and extra features that are expected (see:
+;; https://review.jami.net/plugins/gitiles/ring-daemon/+/refs/heads/master/contrib/src/ffmpeg/rules.mak)
(define %ffmpeg-default-configure-flags
'("--disable-everything"
"--enable-zlib"
@@ -187,7 +169,7 @@
"--enable-protocol=unix"
"--enable-protocol=pipe"
- ;; enable muxers/demuxers
+ ;; Enable muxers/demuxers.
"--disable-demuxers"
"--disable-muxers"
"--enable-muxer=rtp"
@@ -195,6 +177,7 @@
"--enable-muxer=h263"
"--enable-muxer=h264"
"--enable-muxer=hevc"
+; "--enable-muxer=matroska"
"--enable-muxer=webm"
"--enable-muxer=ogg"
"--enable-muxer=pcm_s16be"
@@ -223,7 +206,7 @@
"--enable-demuxer=h264"
"--enable-demuxer=hevc"
- ;; enable parsers
+ ;; Enable parsers.
"--enable-parser=h263"
"--enable-parser=h264"
"--enable-parser=hevc"
@@ -232,7 +215,7 @@
"--enable-parser=vp9"
"--enable-parser=opus"
- ;; encoders/decoders
+ ;; Encoders/decoders.
"--enable-encoder=adpcm_g722"
"--enable-decoder=adpcm_g722"
"--enable-encoder=rawvideo"
@@ -263,7 +246,7 @@
"--enable-encoder=libopus"
"--enable-decoder=libopus"
- ;; decoders for ringtones and audio streaming
+ ;; Decoders for ringtones and audio streaming.
"--enable-decoder=flac"
"--enable-decoder=vorbis"
"--enable-decoder=aac"
@@ -298,7 +281,7 @@
"--enable-decoder=pcm_u16be"
"--enable-decoder=pcm_u16le"
- ;; encoders/decoders for images
+ ;; Encoders/decoders for images.
"--enable-encoder=gif"
"--enable-decoder=gif"
"--enable-encoder=jpegls"
@@ -312,7 +295,7 @@
"--enable-encoder=tiff"
"--enable-decoder=tiff"
- ;; filters
+ ;; Filters.
"--enable-filter=scale"
"--enable-filter=overlay"
"--enable-filter=amix"
@@ -346,8 +329,8 @@
"--enable-encoder=mjpeg_vaapi"
"--enable-encoder=hevc_vaapi"))
-;; ffnvcodec is not supported on ARM then we enable it here for i386 and
-;; x86_64 architectures.
+;; ffnvcodec is not supported on ARM; enable it only for the i386 and x86_64
+;; architectures.
(define %ffmpeg-linux-x86-configure-flags
'("--arch=x86"
"--enable-cuvid"
@@ -378,81 +361,89 @@
(define-public ffmpeg-jami
(package/inherit ffmpeg
(name "ffmpeg-jami")
- (native-inputs
- `(("jami-sources" ,%jami-sources)
- ("libiconv" ,libiconv)
- ,@(package-native-inputs ffmpeg)))
- (supported-systems '("x86_64-linux" "i686-linux"
- "aarch64-linux" "armhf-linux"))
(arguments
- (append
- '(#:tests? #f)
- (substitute-keyword-arguments (package-arguments ffmpeg)
- ((#:configure-flags '())
- (ffmpeg-compose-configure-flags))
- ((#:phases phases)
- `(modify-phases ,phases
- (add-after 'unpack 'make-git-checkout-writable
- (lambda _
- (for-each make-file-writable (find-files "."))))
+ (substitute-keyword-arguments (package-arguments ffmpeg)
+ ((#:tests? _ #f)
+ ;; The "rtp_ext_abs_send_time" patch causes the 'lavf-mov_rtphint'
+ ;; test to fail (see:
+ ;; https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/685).
+ ;; TODO: Try to disable just this test.
+ #f)
+ ((#:configure-flags '())
+ (ffmpeg-compose-configure-flags))
+ ((#:phases phases)
+ #~(modify-phases #$phases
(add-after 'unpack 'apply-patches
- (lambda* (#:key inputs #:allow-other-keys)
+ (lambda _
;; These patches come from:
- ;; "ring-project/daemon/contrib/src/ffmpeg/rules.mak".
- (,jami-apply-custom-patches
- #:inputs inputs #:dep-name "ffmpeg"
+ ;; "jami-project/daemon/contrib/src/ffmpeg/rules.mak".
+ (#$jami-apply-custom-patches
+ #:dep-name "ffmpeg"
#:patches '("remove-mjpeg-log"
"change-RTCP-ratio"
"rtp_ext_abs_send_time"
"libopusdec-enable-FEC"
- "libopusenc-enable-FEC")))))))))))
+ "libopusenc-enable-FEC"
+ "screen-sharing-x11-fix"))))))))))
-(define-public libring
+(define-public libjami
(package
- (name "libring")
+ (name "libjami")
(version %jami-version)
(source %jami-sources)
- (build-system gnu-build-system)
(outputs '("out" "debug"))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ ;; The test suite fails to link when building libjami as a shared library:
+ ;; "testAccount_factory.cpp:(.text+0xc52): undefined reference to
+ ;; `jami::AccountFactory::AccountFactory()'.
+ #:tests? #f
+ ;; The agent links the daemon binary with libguile, which enables the
+ ;; execution of test plans described in Scheme. It may be useful in
+ ;; user scripts too, until more generalized Scheme bindings are made
+ ;; (see: test/agent/README.md).
+ ;; FIXME: Fails to link when building libjami as a shared library:
+ ;; bindings.cpp:(.text+0x24): undefined reference to `jami::Logger::log
+ ;; [...].
+ #:configure-flags #~(list "--disable-agent")
+ #:make-flags #~(list "V=1") ;build verbosely
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'change-directory/maybe
+ (lambda _
+ ;; Allow building from the tarball or a git checkout.
+ (false-if-exception (chdir "daemon")))))))
(inputs
- `(("alsa-lib" ,alsa-lib)
- ("asio" ,asio)
- ("dbus-c++" ,dbus-c++)
- ("eudev" ,eudev)
- ("ffmpeg" ,ffmpeg-jami)
- ("jack" ,jack-1)
- ("jsoncpp" ,jsoncpp)
- ("libarchive" ,libarchive)
- ("libgit2" ,libgit2)
- ("libnatpmp" ,libnatpmp)
- ("libsecp256k1" ,libsecp256k1)
- ("libupnp" ,libupnp)
- ("opendht" ,opendht)
- ("openssl" ,openssl)
- ("pjproject" ,pjproject-jami)
- ("pulseaudio" ,pulseaudio)
- ("speex" ,speex)
- ("speexdsp" ,speexdsp)
- ("webrtc-audio-processing" ,webrtc-audio-processing)
- ("yaml-cpp" ,yaml-cpp)))
+ (list alsa-lib
+ asio
+ dbus-c++
+ eudev
+ ffmpeg-jami
+ guile-3.0
+ jack-1
+ jsoncpp
+ libarchive
+ libgit2
+ libnatpmp
+ libsecp256k1
+ libupnp
+ opendht
+ openssl
+ pjproject-jami
+ pulseaudio
+ speex
+ speexdsp
+ webrtc-audio-processing
+ yaml-cpp))
(native-inputs
(list autoconf
automake
+ cppunit
libtool
- perl ;to generate manpages with pod2man
+ perl ;to generate manpages with pod2man
pkg-config
which))
- (arguments
- `(#:tests? #f ; The tests fail to compile due to missing headers.
- #:make-flags '("V=1") ;build verbosely
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'change-directory
- (lambda _
- (chdir "daemon")))
- (add-before 'build 'add-lib-dir
- (lambda _
- (mkdir-p "src/lib"))))))
(synopsis "Jami core library and daemon")
(description "This package provides a library and daemon implementing the
Jami core functionality. Jami is a secure and distributed voice, video and
@@ -462,39 +453,42 @@ protocols, as well as decentralized calling using P2P-DHT.")
(home-page "https://jami.net/")
(license license:gpl3+)))
-(define-public libringclient
+;;; Remove when 2023 comes.
+(define-public libring
+ (deprecated-package "libring" libjami))
+
+;;; Note: this package will eventually be absorbed into jami itself (the Qt
+;;; client).
+(define-public jami-libclient
(package
- (name "libringclient")
+ (name "jami-libclient")
(version %jami-version)
(source %jami-sources)
(build-system cmake-build-system)
(outputs '("out" "debug"))
+ (arguments
+ (list
+ #:tests? #f ;no test suite
+ #:configure-flags
+ #~(list (string-append "-DRING_XML_INTERFACES_DIR="
+ #$(this-package-input "libjami")
+ "/share/dbus-1/interfaces")
+ (string-append "-DRING_BUILD_DIR="
+ #$(this-package-input "libjami")
+ "/include")
+ ;; Call to the libraries directly instead of going through DBus
+ ;; to avoid issues (see: https://issues.guix.gnu.org/48538).
+ "-DENABLE_LIBWRAP=true")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'change-directory/maybe
+ (lambda _
+ ;; Allow building from the tarball or a git checkout.
+ (false-if-exception (chdir "lrc")))))))
(inputs
- (list libring network-manager))
+ (list libjami network-manager))
(propagated-inputs
- (list qtbase-5)) ; Qt is included in several installed headers.
- (arguments
- `(#:tests? #f ; There is no testsuite.
- #:configure-flags
- (let ((libring (assoc-ref %build-inputs "libring")))
- (list (string-append "-DRING_XML_INTERFACES_DIR="
- libring "/share/dbus-1/interfaces")
- (string-append "-DRING_BUILD_DIR=" libring "/include")
- ;; Use LIBWRAP, which removes the requirement on DBus. Qt
- ;; links with the dbus library in Guix, which expects to find
- ;; its configuration under /etc rather than /usr/share/dbus-1,
- ;; which is perhaps the reason the auto-launching of dring
- ;; doesn't work on foreign distributions.
-
- ;; FIXME: Disabled for now, as it causes a segfault when
- ;; attempting video calls (see:
- ;; https://git.jami.net/savoirfairelinux/ring-lrc/-/issues/466).
- "-DENABLE_LIBWRAP=false"))
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'change-directory
- (lambda _
- (chdir "lrc"))))))
+ (list qtbase-5)) ;Qt is included in several installed headers
(synopsis "Jami client library")
(description "This package provides a library common to all Jami clients.
Jami is a secure and distributed voice, video and chat communication platform
@@ -504,33 +498,17 @@ decentralized calling using P2P-DHT.")
(home-page "https://jami.net")
(license license:gpl3+)))
+;;; Remove when 2023 comes.
+(define-public libringclient
+ (deprecated-package "libringclient" jami-libclient))
+
(define-public jami-gnome
(package
(name "jami-gnome")
(version %jami-version)
(source %jami-sources)
- (build-system cmake-build-system)
(outputs '("out" "debug"))
- (inputs
- (list clutter
- clutter-gtk
- gtk+
- libcanberra
- libappindicator
- libnotify
- libringclient
- network-manager
- qrencode
- sqlite
- webkitgtk))
- (native-inputs
- `(("pkg-config" ,pkg-config)
- ("gettext" ,gettext-minimal)
- ("glib:bin" ,glib "bin"))) ;for glib-compile-resources
- (propagated-inputs
- (list libring ; Contains 'dring', the daemon, which is
- ; automatically started by DBus.
- adwaita-icon-theme))
+ (build-system cmake-build-system)
(arguments
`(#:tests? #f ;no test suite
#:imported-modules (,@%cmake-build-system-modules
@@ -540,18 +518,41 @@ decentralized calling using P2P-DHT.")
(guix build utils))
#:phases
(modify-phases %standard-phases
- (add-after 'unpack 'change-directory
+ (add-after 'unpack 'change-directory/maybe
(lambda _
- (chdir "client-gnome")))
- (add-after 'change-directory 'fix-webkit-detection
+ ;; Allow building from the tarball or a git checkout.
+ (false-if-exception (chdir "client-gnome"))))
+ (add-after 'change-directory/maybe 'fix-webkit-detection
(lambda _
(substitute* "CMakeLists.txt"
(("WEBKIT webkit2gtk-4.0")
"WEBKIT webkit2gtk-4.1"))))
+ (add-after 'change-directory/maybe 'fix-version-string
+ (lambda _
+ (substitute* "CMakeLists.txt"
+ (("^# Set VERSION.*" anchor)
+ (string-append anchor
+ "set(PROJECT_VERSION \"" ,version "\")\n")))))
(add-after 'install 'glib-or-gtk-compile-schemas
(assoc-ref gtk:%standard-phases 'glib-or-gtk-compile-schemas))
(add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap
(assoc-ref gtk:%standard-phases 'glib-or-gtk-wrap)))))
+ (inputs
+ (list clutter
+ clutter-gtk
+ gtk+
+ jami-libclient
+ libcanberra
+ libappindicator
+ libnotify
+ network-manager
+ qrencode
+ sqlite
+ webkitgtk))
+ (native-inputs
+ (list pkg-config
+ gettext-minimal
+ `(,glib "bin"))) ;for glib-compile-resources
(synopsis "Jami client for GNOME")
(description "This package provides a Jami client for the GNOME desktop.
Jami is a secure and distributed voice, video and chat communication platform
@@ -561,30 +562,44 @@ decentralized calling using P2P-DHT.")
(home-page "https://jami.net")
(license license:gpl3+)))
-;;; Keep this until the Qt client matures enough to become the
-;;; main 'jami' client.
(define-public jami
- (deprecated-package "jami" jami-gnome))
-
-(define-public jami-qt
(package
- (name "jami-qt") ;to be renamed 'jami' at some point
+ (name "jami")
(version %jami-version)
- (source %jami-sources)
+ (source (origin
+ (inherit %jami-sources)
+ (patches (search-patches "jami-fix-crash-on-quit.patch"))))
(build-system qt-build-system)
(outputs '("out" "debug"))
(arguments
`(#:tests? #f ;no test suite
#:phases
(modify-phases %standard-phases
- (add-after 'unpack 'change-directory
- (lambda _
- (chdir "client-qt"))))))
+ (add-after 'unpack 'change-directory/maybe
+ (lambda _
+ ;; Allow building from the tarball or a git checkout.
+ (false-if-exception (chdir "client-qt"))))
+ (add-after 'change-directory/maybe 'fix-version-string
+ (lambda _
+ (substitute* "src/version.h"
+ (("VERSION_STRING")
+ "BUILD_DATE") ;to avoid a redefinition error
+ (("// clang-format on.*" anchor)
+ (string-append "const char VERSION_STRING[] = \""
+ ,version "\";\n"
+ anchor)))))
+ (add-after 'change-directory/maybe 'use-desktop-opengl
+ ;; TODO: Remove after next release; this is no longer specified in
+ ;; the source following the update to Qt 6.
+ (lambda _
+ (substitute* "src/main.cpp"
+ (("Qt::AA_UseOpenGLES")
+ "Qt::AA_UseDesktopOpenGL")))))))
(native-inputs
- (list pkg-config qttools doxygen graphviz))
+ (list pkg-config python qttools doxygen graphviz))
(inputs
- (list libnotify
- libringclient
+ (list jami-libclient
+ libnotify
network-manager
qrencode
qtsvg
@@ -595,8 +610,6 @@ decentralized calling using P2P-DHT.")
qtgraphicaleffects
qtquickcontrols
qtquickcontrols2))
- (propagated-inputs
- (list libring)) ;for dring
(home-page "https://jami.net")
(synopsis "Qt Jami client")
(description "This package provides the Jami Qt client. Jami is a secure
@@ -605,3 +618,7 @@ centralized server and leaves the power of privacy in the hands of the user.
It supports the SIP and IAX protocols, as well as decentralized calling using
P2P-DHT.")
(license license:gpl3+)))
+
+;;; Remove when 2023 comes.
+(define-public jami-qt
+ (deprecated-package "jami-qt" jami))
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 6332b58b98..e54d2ed0cb 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -85,6 +85,7 @@
#:use-module (gnu packages perl)
#:use-module (gnu packages popt)
#:use-module (gnu packages kerberos)
+ #:use-module (gnu packages security-token)
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg)
#:use-module (gnu packages texinfo)
@@ -114,34 +115,9 @@
;; much more support for Java 1.6 than the latest release, but we need to
;; build 0.99 first to get a working version of javah. ECJ, the development
;; version of GNU Classpath, and the latest version of JamVM make up the
-;; second stage JDK with which we can build the OpenJDK with the Icedtea 1.x
-;; build framework. We then build the more recent JDKs Icedtea 2.x and
-;; Icedtea 3.x.
-
-(define-public libantlr3c
- (package
- (name "libantlr3c")
- (version "3.4")
- (source
- (origin
- (method url-fetch)
- (uri
- (string-append "https://www.antlr3.org/download/C/"
- name "-" version ".tar.gz"))
- (sha256
- (base32 "0lpbnb4dq4azmsvlhp6khq1gy42kyqyjv8gww74g5lm2y6blm4fa"))))
- (build-system gnu-build-system)
- (arguments
- `(#:configure-flags (list "--enable-debuginfo"
- "--disable-static"
- ,@(if (target-64bit?)
- `("--enable-64bit")
- '()))))
- (synopsis "ANTLR C Library")
- (description "LIBANTLR3C provides run-time C libraries for ANTLR3 (ANother
-Tool for Language Recognition v3).")
- (home-page "https://www.antlr3.org/")
- (license license:bsd-3)))
+;; second stage JDK with which we can build the OpenJDK with the Icedtea 2.x
+;; build framework. We then build the more recent JDK Icedtea 3.x, and all
+;; other versions of OpenJDK.
(define jikes
(package
@@ -162,64 +138,6 @@ defined in The Java Language Specification into the bytecoded instruction set
and binary format defined in The Java Virtual Machine Specification.")
(license license:ibmpl1.0)))
-(define-public drip
- ;; Last release is from 2014, with a few important commits afterwards.
- (let ((commit "a4bd00df0199e78243847f06cc04ecaea31f8f08"))
- (package
- (name "drip")
- (version (git-version "0.2.4" "1" commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/ninjudd/drip")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0wzmjwfyldr3jn49517xd8yn7dgdk8h88qkga3kjyg1zc375ylg2"))))
- (build-system gnu-build-system)
- (native-inputs
- `(("jdk" ,icedtea "jdk")))
- (arguments
- `(#:tests? #f ; No tests.
- #:phases
- (modify-phases %standard-phases
- (delete 'configure)
- (add-before 'install 'fix-wrapper
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((jps (search-input-file inputs "/bin/jps")))
- (substitute* "bin/drip"
- (("jps") jps)
- (("brew update && brew upgrade drip") "guix pull && guix install drip")
- ;; No need to make:
- (("\\(cd -- \"\\$drip_dir\" && make -s\\) \\|\\| exit 1") "")
- ;; No need to include source:
- (("\\[\\[ -r \\$drip_dir/src/org/flatland/drip/Main\\.java \\]\\]")
- "true"))
- #t)))
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (bin (string-append out "/bin"))
- (share (string-append out "/share/drip")))
- (mkdir-p bin)
- (for-each
- (lambda (file)
- (install-file (string-append "bin/" file) bin))
- '("drip" "drip_daemon" "drip_proxy"))
- (install-file "drip.jar" share)
- (substitute* (string-append bin "/drip")
- (("drip_dir=\\$bin_dir/..")
- (string-append "drip_dir=" share)))
- #t))))))
- (home-page "https://github.com/ninjudd/drip")
- (synopsis "Faster Java Virtual Machine launching")
- (description "Drip is a launcher for the Java Virtual Machine that
-provides much faster startup times than the @command{java} command. The @command{drip}
-script is intended to be a drop-in replacement for the @command{java} command,
-only faster.")
- (license license:epl1.0))))
-
;; This is the last version of GNU Classpath that can be built without ECJ.
(define classpath-bootstrap
(package
@@ -252,10 +170,7 @@ only faster.")
(add-after 'install 'install-data
(lambda _ (invoke "make" "install-data"))))))
(native-inputs
- `(("jikes" ,jikes)
- ("fastjar" ,fastjar)
- ("libltdl" ,libltdl)
- ("pkg-config" ,pkg-config)))
+ (list jikes fastjar libltdl pkg-config))
(home-page "https://www.gnu.org/software/classpath/")
(synopsis "Essential libraries for Java")
(description "GNU Classpath is a project to create core class libraries
@@ -280,11 +195,9 @@ language.")
(sha256
(base32
"06lhi03l3b0h48pc7x58bk9my2nrcf1flpmglvys3wyad6yraf36"))
+ ;; Remove precompiled software.
(snippet
- '(begin
- ;; Remove precompiled software.
- (delete-file "lib/classes.zip")
- #t))))
+ '(delete-file "lib/classes.zip"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags
@@ -303,11 +216,7 @@ language.")
(lambda _ (invoke "autoreconf" "-vif"))))
'%standard-phases)))
(inputs
- `(("classpath" ,classpath-bootstrap)
- ("jikes" ,jikes)
- ("libffi" ,libffi)
- ("zip" ,zip)
- ("zlib" ,zlib)))
+ (list classpath-bootstrap jikes libffi zip zlib))
(native-inputs
(if (string-prefix? "aarch64" (or (%current-system)
(%current-target-system)))
@@ -360,7 +269,7 @@ JNI.")
(setenv "JAVAC" (search-input-file inputs "/bin/jikes"))
(setenv "CLASSPATH" (search-input-file inputs "/lib/rt.jar"))))
(replace 'build
- (lambda* (#:key inputs #:allow-other-keys)
+ (lambda* (#:key inputs outputs #:allow-other-keys)
;; Ant complains if this file doesn't exist.
(setenv "HOME" "/tmp")
(with-output-to-file "/tmp/.ant.properties"
@@ -387,7 +296,7 @@ JNI.")
(("depends=\"jars,test-jar\"") "depends=\"jars\""))
(invoke "bash" "bootstrap.sh"
(string-append "-Ddist.dir="
- (assoc-ref %outputs "out")))))
+ (assoc-ref outputs "out")))))
(add-after 'build 'strip-jar-timestamps ;based on ant-build-system
(lambda* (#:key outputs #:allow-other-keys)
(define (repack-archive jar)
@@ -416,14 +325,10 @@ JNI.")
(for-each repack-archive
(find-files
(string-append (assoc-ref %outputs "out") "/lib")
- "\\.jar$"))
- #t))
+ "\\.jar$"))))
(delete 'install))))
(native-inputs
- `(("jikes" ,jikes)
- ("jamvm" ,jamvm-1-bootstrap)
- ("unzip" ,unzip)
- ("zip" ,zip)))
+ (list jikes jamvm-1-bootstrap unzip zip))
(home-page "https://ant.apache.org")
(synopsis "Build tool for Java")
(description
@@ -452,10 +357,7 @@ build process and its dependencies, whereas Make uses Makefile format.")
;; bootstrapping the JDK.
(build-system gnu-build-system)
(arguments
- `(#:modules ((guix build gnu-build-system)
- (guix build utils)
- (srfi srfi-1))
- #:tests? #f ; there are no tests
+ `(#:tests? #f ; there are no tests
#:phases
(modify-phases %standard-phases
(replace 'configure
@@ -467,8 +369,7 @@ build process and its dependencies, whereas Make uses Makefile format.")
(assoc-ref inputs "ant-bootstrap")
"/lib")
"\\.jar$"))
- ":"))
- #t))
+ ":"))))
(replace 'build
(lambda* (#:key inputs #:allow-other-keys)
;; The unpack phase enters the "org" directory by mistake.
@@ -490,14 +391,9 @@ Main-Class: org.eclipse.jdt.internal.compiler.batch.Main\n")))
(let ((share (string-append (assoc-ref outputs "out")
"/share/java/")))
(mkdir-p share)
- (install-file "ecj-bootstrap.jar" share)
- #t))))))
+ (install-file "ecj-bootstrap.jar" share)))))))
(native-inputs
- `(("ant-bootstrap" ,ant-bootstrap)
- ("unzip" ,unzip)
- ("jikes" ,jikes)
- ("jamvm" ,jamvm-1-bootstrap)
- ("fastjar" ,fastjar)))
+ (list ant-bootstrap unzip jikes jamvm-1-bootstrap fastjar))
(home-page "https://eclipse.org")
(synopsis "Eclipse Java development tools core batch compiler")
(description "This package provides the Eclipse Java core batch compiler
@@ -513,68 +409,62 @@ requirement for all GNU Classpath releases after version 0.93.")
(arguments
`(#:modules ((guix build utils))
#:builder
- (begin
- (use-modules (guix build utils))
- (let* ((bin (string-append (assoc-ref %outputs "out") "/bin"))
- (target (string-append bin "/javac"))
- (guile (string-append (assoc-ref %build-inputs "guile")
- "/bin/guile"))
- (ecj (string-append (assoc-ref %build-inputs "ecj-bootstrap")
- "/share/java/ecj-bootstrap.jar"))
- (java (string-append (assoc-ref %build-inputs "jamvm")
- "/bin/jamvm"))
- (bootcp (let ((jvmlib (string-append (assoc-ref %build-inputs "classpath")
- "/share/classpath")))
- (string-append jvmlib "/glibj.zip:"
- jvmlib "/tools.zip"))))
- (mkdir-p bin)
- (with-output-to-file target
- (lambda _
- (format #t "#!~a --no-auto-compile\n!#\n" guile)
- (write
- `(begin (use-modules (ice-9 match)
- (ice-9 receive)
- (ice-9 hash-table)
- (srfi srfi-1)
- (srfi srfi-26))
- (define defaults
- '(("-bootclasspath" ,bootcp)
- ("-source" "1.5")
- ("-target" "1.5")
- ("-cp" ".")))
- (define (main args)
- (let ((classpath (getenv "CLASSPATH")))
- (setenv "CLASSPATH"
- (string-join (list ,ecj
- ,(string-append (assoc-ref %build-inputs "jamvm")
- "/lib/rt.jar")
- (or classpath ""))
- ":")))
- (receive (vm-args other-args)
- ;; Separate VM arguments from arguments to ECJ.
- (partition (cut string-prefix? "-J" <>)
- (fold (lambda (default acc)
- (if (member (first default) acc)
- acc (append default acc)))
- args defaults))
- (apply system* ,java
- (append
- ;; Remove "-J" prefix
- (map (cut string-drop <> 2) vm-args)
- '("org.eclipse.jdt.internal.compiler.batch.Main")
- (cons "-nowarn" other-args)))))
- ;; Entry point
- (let ((args (cdr (command-line))))
- (if (null? args)
- (format (current-error-port) "javac: no arguments given!\n")
- (main args)))))))
- (chmod target #o755)
- #t))))
- (native-inputs
- `(("guile" ,guile-2.2)
- ("ecj-bootstrap" ,ecj-bootstrap)
- ("jamvm" ,jamvm-1-bootstrap)
- ("classpath" ,classpath-bootstrap)))
+ ,#~(begin
+ (use-modules (guix build utils))
+ (let* ((bin (string-append #$output "/bin"))
+ (target (string-append bin "/javac"))
+ (guile (string-append (assoc-ref %build-inputs "guile")
+ "/bin/guile"))
+ (ecj (string-append #$(this-package-native-input "ecj-bootstrap")
+ "/share/java/ecj-bootstrap.jar"))
+ (java (string-append #$(this-package-native-input "jamvm")
+ "/bin/jamvm"))
+ (bootcp (let ((jvmlib (string-append
+ #$(this-package-native-input "classpath")
+ "/share/classpath")))
+ (string-append jvmlib "/glibj.zip:"
+ jvmlib "/tools.zip"))))
+ (mkdir-p bin)
+ (with-output-to-file target
+ (lambda _
+ (format #t "#!~a --no-auto-compile\n!#\n" guile)
+ (write
+ `(begin (use-modules (ice-9 match)
+ (ice-9 receive)
+ (ice-9 hash-table)
+ (srfi srfi-1)
+ (srfi srfi-26))
+ (define defaults
+ '(("-bootclasspath" ,bootcp)
+ ("-source" "1.5")
+ ("-target" "1.5")
+ ("-cp" ".")))
+ (define (main args)
+ (let ((classpath (getenv "CLASSPATH")))
+ (setenv "CLASSPATH"
+ (string-join (list ,ecj (or classpath ""))
+ ":")))
+ (receive (vm-args other-args)
+ ;; Separate VM arguments from arguments to ECJ.
+ (partition (cut string-prefix? "-J" <>)
+ (fold (lambda (default acc)
+ (if (member (first default) acc)
+ acc (append default acc)))
+ args defaults))
+ (apply system* ,java
+ (append
+ ;; Remove "-J" prefix
+ (map (cut string-drop <> 2) vm-args)
+ '("org.eclipse.jdt.internal.compiler.batch.Main")
+ (cons "-nowarn" other-args)))))
+ ;; Entry point
+ (let ((args (cdr (command-line))))
+ (if (null? args)
+ (format (current-error-port) "javac: no arguments given!\n")
+ (main args)))))))
+ (chmod target #o755)))))
+ (native-inputs
+ (list guile-3.0 ecj-bootstrap jamvm-1-bootstrap classpath-bootstrap))
(description "This package provides a wrapper around the @dfn{Eclipse
compiler for Java} (ecj) with a command line interface that is compatible with
the standard javac executable.")))
@@ -619,13 +509,10 @@ the standard javac executable.")))
(add-after 'install 'install-data
(lambda _ (invoke "make" "install-data"))))))
(native-inputs
- `(("ecj-bootstrap" ,ecj-bootstrap)
- ("ecj-javac-wrapper" ,ecj-javac-wrapper)
- ("fastjar" ,fastjar)
- ("jamvm" ,jamvm-1-bootstrap)
- ("classpath" ,classpath-bootstrap)
- ("libltdl" ,libltdl)
- ("pkg-config" ,pkg-config)))))
+ (list classpath-bootstrap
+ ecj-bootstrap ecj-javac-wrapper
+ fastjar jamvm-1-bootstrap
+ libltdl pkg-config))))
;; We need this because classpath-bootstrap does not provide all of the tools
;; we need to build classpath-devel.
@@ -635,45 +522,42 @@ the standard javac executable.")))
(source #f)
(build-system trivial-build-system)
(arguments
- `(#:modules ((guix build utils))
- #:builder
- (begin
- (use-modules (guix build utils))
- (let* ((bash (assoc-ref %build-inputs "bash"))
- (jamvm (assoc-ref %build-inputs "jamvm"))
- (classpath (assoc-ref %build-inputs "classpath"))
- (bin (string-append (assoc-ref %outputs "out")
- "/bin/")))
- (mkdir-p bin)
- (for-each (lambda (tool)
- (with-output-to-file (string-append bin tool)
- (lambda _
- ,@(if (string-prefix? "armhf" (or (%current-system)
- (%current-target-system)))
- `((format #t "#!~a/bin/sh
+ (list
+ #:modules '((guix build utils))
+ #:builder
+ #~(begin
+ (use-modules (guix build utils))
+ (let ((bash #$(this-package-native-input "bash-minimal"))
+ (jamvm #$(this-package-native-input "jamvm"))
+ (classpath #$(this-package-native-input "classpath"))
+ (bin (string-append #$output "/bin/")))
+ (mkdir-p bin)
+ (for-each (lambda (tool)
+ (with-output-to-file (string-append bin tool)
+ (lambda _
+ #$@(if (string-prefix? "armhf" (or (%current-system)
+ (%current-target-system)))
+ `((format #t "#!~a/bin/sh
~a/bin/jamvm -Xnocompact -classpath ~a/share/classpath/tools.zip \
gnu.classpath.tools.~a.~a $@"
- bash jamvm classpath tool
- (if (string=? "native2ascii" tool)
- "Native2ASCII" "Main")))
- `((format #t "#!~a/bin/sh
+ bash jamvm classpath tool
+ (if (string=? "native2ascii" tool)
+ "Native2ASCII" "Main")))
+ `((format #t "#!~a/bin/sh
~a/bin/jamvm -Xnocompact -Xnoinlining -classpath ~a/share/classpath/tools.zip \
gnu.classpath.tools.~a.~a $@"
- bash jamvm classpath tool
- (if (string=? "native2ascii" tool)
- "Native2ASCII" "Main"))))))
- (chmod (string-append bin tool) #o755))
- (list "javah"
- "rmic"
- "rmid"
- "orbd"
- "rmiregistry"
- "native2ascii"))
- #t))))
- (native-inputs
- `(("bash" ,bash)
- ("jamvm" ,jamvm-1-bootstrap)
- ("classpath" ,classpath-0.99)))
+ bash jamvm classpath tool
+ (if (string=? "native2ascii" tool)
+ "Native2ASCII" "Main"))))))
+ (chmod (string-append bin tool) #o755))
+ (list "javah"
+ "rmic"
+ "rmid"
+ "orbd"
+ "rmiregistry"
+ "native2ascii"))))))
+ (native-inputs
+ (list bash-minimal jamvm-1-bootstrap classpath-0.99))
(inputs '())
(synopsis "Executables from GNU Classpath")
(description "This package provides wrappers around the tools provided by
@@ -732,23 +616,15 @@ machine.")))
(add-after 'unpack 'remove-unsupported-annotations
(lambda _
(substitute* (find-files "java" "\\.java$")
- (("@Override") ""))
- #t))
+ (("@Override") ""))))
(add-after 'install 'install-data
(lambda _ (invoke "make" "install-data"))))))
(native-inputs
- `(("autoconf" ,autoconf)
- ("automake" ,automake)
- ("libtool" ,libtool)
- ("gettext" ,gettext-minimal)
- ("texinfo" ,texinfo)
- ("classpath-jamvm-wrappers" ,classpath-jamvm-wrappers) ; for javah
- ("ecj-bootstrap" ,ecj-bootstrap)
- ("ecj-javac-wrapper" ,ecj-javac-wrapper)
- ("fastjar" ,fastjar)
- ("jamvm" ,jamvm-1-bootstrap)
- ("libltdl" ,libltdl)
- ("pkg-config" ,pkg-config))))))
+ (list autoconf automake libltdl libtool gettext-minimal texinfo
+ pkg-config
+ classpath-jamvm-wrappers ;for javah
+ ecj-bootstrap ecj-javac-wrapper fastjar
+ jamvm-1-bootstrap)))))
(define jamvm
(package (inherit jamvm-1-bootstrap)
@@ -765,11 +641,9 @@ machine.")))
(search-patches "jamvm-2.0.0-disable-branch-patching.patch"
"jamvm-2.0.0-opcode-guard.patch"
"jamvm-2.0.0-aarch64-support.patch"))
+ ;; Remove precompiled software.
(snippet
- '(begin
- ;; Remove precompiled software.
- (delete-file "src/classlib/gnuclasspath/lib/classes.zip")
- #t))))
+ '(delete-file "src/classlib/gnuclasspath/lib/classes.zip"))))
(build-system gnu-build-system)
(arguments
(substitute-keyword-arguments (package-arguments jamvm-1-bootstrap)
@@ -785,398 +659,111 @@ machine.")))
(define ecj-javac-wrapper-final
(package (inherit ecj-javac-wrapper)
(native-inputs
- `(("guile" ,guile-2.2)
- ("ecj-bootstrap" ,ecj-bootstrap)
- ("jamvm" ,jamvm)
- ("classpath" ,classpath-devel)))))
+ (list guile-3.0 ecj-bootstrap jamvm classpath-devel))))
-;; The bootstrap JDK consisting of jamvm, classpath-devel,
-;; ecj-javac-wrapper-final cannot build Icedtea 2.x directly, because it's
-;; written in Java 7. It can, however, build the unmaintained Icedtea 1.x,
-;; which uses Java 6 only.
-(define-public icedtea-6
+;; We jump ahead by patching the sources of ECJ 4.2.1 so that our bootstrap
+;; JDK can build it. ECJ 4 allows us to skip the build of the first version
+;; of icedtea and build icedtea 2.x directly.
+(define-public ecj4-bootstrap
(package
- (name "icedtea")
- (version "1.13.13")
+ (name "ecj-bootstrap")
+ (version "4.2.1")
(source (origin
(method url-fetch)
- (uri (string-append
- "http://icedtea.wildebeest.org/download/source/icedtea6-"
- version ".tar.xz"))
+ (uri (string-append "http://archive.eclipse.org/eclipse/"
+ "downloads/drops4/R-" version
+ "-201209141800/ecjsrc-" version ".jar"))
(sha256
(base32
- "0bg9sb4f7qbq77c0zf9m17p47ga0kf0r9622g9p12ysg26jd1ksg"))
- (patches (search-patches
- "icedtea-6-extend-hotspot-aarch64-support.patch"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- (substitute* "Makefile.in"
- ;; do not leak information about the build host
- (("DISTRIBUTION_ID=\"\\$\\(DIST_ID\\)\"")
- "DISTRIBUTION_ID=\"\\\"guix\\\"\""))
- #t))))
+ "1x281p87m14zylvinkiz6gc23ss7pzlx419qjbql11jriwav4qfj"))))
+ ;; It would be so much easier if we could use the ant-build-system, but we
+ ;; cannot as we don't have ant at this point. We use ecj for
+ ;; bootstrapping the JDK.
(build-system gnu-build-system)
- (outputs '("out" ; Java Runtime Environment
- "jdk" ; Java Development Kit
- "doc")) ; all documentation
(arguments
- `(;; There are many failing tests and many are known to fail upstream.
- #:tests? #f
-
- ;; The DSOs use $ORIGIN to refer to each other, but (guix build
- ;; gremlin) doesn't support it yet, so skip this phase.
- #:validate-runpath? #f
-
- #:modules ((guix build utils)
- (guix build gnu-build-system)
- (srfi srfi-19))
-
- #:configure-flags
- `("--enable-bootstrap"
- "--enable-nss"
- "--without-rhino"
- ,(string-append "--with-parallel-jobs="
- (number->string (parallel-job-count)))
- "--disable-downloading"
- "--disable-tests"
- ,(string-append "--with-ecj="
- (assoc-ref %build-inputs "ecj")
- "/share/java/ecj-bootstrap.jar")
- ,(string-append "--with-jar="
- (assoc-ref %build-inputs "fastjar")
- "/bin/fastjar")
- ,(string-append "--with-jdk-home="
- (assoc-ref %build-inputs "classpath"))
- ,(string-append "--with-java="
- (assoc-ref %build-inputs "jamvm")
- "/bin/jamvm"))
+ `(#:tests? #f ; there are no tests
#:phases
(modify-phases %standard-phases
(replace 'unpack
- (lambda* (#:key source inputs #:allow-other-keys)
- (invoke "tar" "xvf" source)
- (chdir (string-append "icedtea6-" ,version))
- (mkdir "openjdk")
- (copy-recursively (assoc-ref inputs "openjdk-src") "openjdk")
- ;; The convenient OpenJDK source bundle is no longer
- ;; available for download, so we have to take the sources
- ;; from the Mercurial repositories and change the Makefile
- ;; to avoid tests for the OpenJDK zip archive.
- (with-directory-excursion "openjdk"
- (for-each (lambda (part)
- (mkdir part)
- (copy-recursively
- (assoc-ref inputs
- (string-append part "-src"))
- part))
- '("jdk" "hotspot" "corba"
- "langtools" "jaxp" "jaxws")))
- (substitute* "patches/freetypeversion.patch"
- (("REQUIRED_FREETYPE_VERSION = 2.2.1")
- "REQUIRED_FREETYPE_VERSION = 2.10.1"))
- (substitute* "Makefile.in"
- (("echo \"ERROR: No up-to-date OpenJDK zip available\"; exit -1;")
- "echo \"trust me\";")
- ;; The contents of the bootstrap directory must be
- ;; writeable but when copying from the store they are
- ;; not.
- (("mkdir -p lib/rt" line)
- (string-append line "; chmod -R u+w $(BOOT_DIR)")))
- (invoke "chmod" "-R" "u+w" "openjdk")))
- (add-after 'unpack 'use-classpath
+ (lambda* (#:key source #:allow-other-keys)
+ (mkdir "src")
+ (with-directory-excursion "src"
+ (invoke "gjar" "-xf" source))
+ (chdir "src")))
+ (replace 'configure
(lambda* (#:key inputs #:allow-other-keys)
- (let ((jvmlib (assoc-ref inputs "classpath"))
- (jamvm (assoc-ref inputs "jamvm")))
- ;; Classpath does not provide rt.jar.
- (substitute* "Makefile.in"
- (("\\$\\(SYSTEM_JDK_DIR\\)/jre/lib/rt.jar")
- (string-append jvmlib "/share/classpath/glibj.zip")))
- ;; Make sure we can find all classes.
- (setenv "CLASSPATH"
- (string-append jvmlib "/share/classpath/glibj.zip:"
- jvmlib "/share/classpath/tools.zip:"
- jamvm "/lib/rt.jar"))
- (setenv "JAVACFLAGS"
- (string-append "-cp "
- jvmlib "/share/classpath/glibj.zip:"
- jvmlib "/share/classpath/tools.zip")))
- #t))
- (add-after 'unpack 'patch-patches
- (lambda _
- ;; shebang in patches so that they apply cleanly
- (substitute* '("patches/jtreg-jrunscript.patch"
- "patches/hotspot/hs23/drop_unlicensed_test.patch")
- (("#!/bin/sh") (string-append "#!" (which "sh"))))
- #t))
- (add-after 'unpack 'fix-openjdk
- (lambda _
- (substitute* "openjdk/jdk/make/common/Defs-linux.gmk"
- (("CFLAGS_COMMON = -fno-strict-aliasing" all)
- (string-append all " -fcommon")))
- (substitute* "openjdk/hotspot/src/share/vm/code/relocInfo.hpp"
- (("inline friend relocInfo prefix_relocInfo\\(int datalen = 0\\);")
- "inline friend relocInfo prefix_relocInfo(int datalen);"))
- (substitute*
- '("openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c"
- "openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c")
- (("#include <sys/sysctl.h>")
- "#include <linux/sysctl.h>"))
- ;; It looks like the "h = 31 * h + c" line of the jsum()
- ;; function gets miscompiled. After a few iterations of the loop
- ;; the result of "31 * h" is always 0x8000000000000000.
- ;; Bad optimization maybe...
- ;; Transform "31 * h + c" into a convoluted "32 * h + c - h"
- ;; as a workaround.
- (substitute* "openjdk/hotspot/src/share/vm/memory/dump.cpp"
- (("h = 31 \\* h \\+ c;")
- "jlong h0 = h;\nfor(int i = 0; i < 5; i++) h += h;\nh += c - h0;"))
- ;; Our gcc version is higher than 4.3; replace the failing
- ;; expression to test this by its result.
- (substitute* "openjdk/jdk/make/sun/font/Makefile"
- (("\"\\$\\(shell expr.*0\"")
- "\"1\" \"0\""))))
- (add-after 'unpack 'patch-paths
+ (setenv "CLASSPATH"
+ (string-join
+ (cons (search-input-file inputs "/lib/rt.jar")
+ (find-files (string-append
+ (assoc-ref inputs "ant-bootstrap")
+ "/lib")
+ "\\.jar$"))
+ ":"))
+ ;; This directive is not supported by our simple bootstrap JDK.
+ (substitute* (find-files "." "\\.java$")
+ (("@Override") ""))))
+ (replace 'build
(lambda* (#:key inputs #:allow-other-keys)
- ;; buildtree.make generates shell scripts, so we need to replace
- ;; the generated shebang
- (substitute* '("openjdk/hotspot/make/linux/makefiles/buildtree.make")
- (("/bin/sh") (which "bash")))
-
- (let ((corebin (string-append
- (assoc-ref inputs "coreutils") "/bin/"))
- (binbin (string-append
- (assoc-ref inputs "binutils") "/bin/"))
- (grepbin (string-append
- (assoc-ref inputs "grep") "/bin/")))
- (substitute* '("openjdk/jdk/make/common/shared/Defs-linux.gmk"
- "openjdk/corba/make/common/shared/Defs-linux.gmk")
- (("UNIXCOMMAND_PATH = /bin/")
- (string-append "UNIXCOMMAND_PATH = " corebin))
- (("USRBIN_PATH = /usr/bin/")
- (string-append "USRBIN_PATH = " corebin))
- (("DEVTOOLS_PATH *= */usr/bin/")
- (string-append "DEVTOOLS_PATH = " corebin))
- (("COMPILER_PATH *= */usr/bin/")
- (string-append "COMPILER_PATH = "
- (assoc-ref inputs "gcc") "/bin/"))
- (("DEF_OBJCOPY *=.*objcopy")
- (string-append "DEF_OBJCOPY = " (which "objcopy"))))
-
- ;; fix path to alsa header
- (substitute* "openjdk/jdk/make/common/shared/Sanity.gmk"
- (("ALSA_INCLUDE=/usr/include/alsa/version.h")
- (string-append "ALSA_INCLUDE="
- (assoc-ref inputs "alsa-lib")
- "/include/alsa/version.h")))
+ ;; We can't compile these yet, but we don't need them at this
+ ;; point anyway.
+ (delete-file "org/eclipse/jdt/core/JDTCompilerAdapter.java")
+ (delete-file-recursively "org/eclipse/jdt/internal/antadapter")
- ;; fix hard-coded utility paths
- (substitute* '("openjdk/jdk/make/common/shared/Defs-utils.gmk"
- "openjdk/corba/make/common/shared/Defs-utils.gmk")
- (("ECHO *=.*echo")
- (string-append "ECHO = " (which "echo")))
- (("^GREP *=.*grep")
- (string-append "GREP = " (which "grep")))
- (("EGREP *=.*egrep")
- (string-append "EGREP = " (which "egrep")))
- (("CPIO *=.*cpio")
- (string-append "CPIO = " (which "cpio")))
- (("READELF *=.*readelf")
- (string-append "READELF = " (which "readelf")))
- (("^ *AR *=.*ar")
- (string-append "AR = " (which "ar")))
- (("^ *TAR *=.*tar")
- (string-append "TAR = " (which "tar")))
- (("AS *=.*as")
- (string-append "AS = " (which "as")))
- (("LD *=.*ld")
- (string-append "LD = " (which "ld")))
- (("STRIP *=.*strip")
- (string-append "STRIP = " (which "strip")))
- (("NM *=.*nm")
- (string-append "NM = " (which "nm")))
- (("^SH *=.*sh")
- (string-append "SH = " (which "bash")))
- (("^FIND *=.*find")
- (string-append "FIND = " (which "find")))
- (("LDD *=.*ldd")
- (string-append "LDD = " (which "ldd")))
- (("NAWK *=.*(n|g)awk")
- (string-append "NAWK = " (which "gawk")))
- (("XARGS *=.*xargs")
- (string-append "XARGS = " (which "xargs")))
- (("UNZIP *=.*unzip")
- (string-append "UNZIP = " (which "unzip")))
- (("ZIPEXE *=.*zip")
- (string-append "ZIPEXE = " (which "zip")))
- (("SED *=.*sed")
- (string-append "SED = " (which "sed"))))
-
- ;; Some of these timestamps cause problems as they are more than
- ;; 10 years ago, failing the build process.
- (substitute*
- "openjdk/jdk/src/share/classes/java/util/CurrencyData.properties"
- (("AZ=AZM;2005-12-31-20-00-00;AZN") "AZ=AZN")
- (("MZ=MZM;2006-06-30-22-00-00;MZN") "MZ=MZN")
- (("RO=ROL;2005-06-30-21-00-00;RON") "RO=RON")
- (("TR=TRL;2004-12-31-22-00-00;TRY") "TR=TRY"))
- #t)))
- (add-before 'configure 'set-additional-paths
- (lambda* (#:key inputs #:allow-other-keys)
- (setenv "CPATH"
- (string-append (assoc-ref inputs "libxrender")
- "/include/X11/extensions" ":"
- (assoc-ref inputs "libxtst")
- "/include/X11/extensions" ":"
- (assoc-ref inputs "libxinerama")
- "/include/X11/extensions" ":"
- (or (getenv "CPATH") "")))
- (setenv "ALT_CUPS_HEADERS_PATH"
- (string-append (assoc-ref inputs "cups")
- "/include"))
- (setenv "ALT_FREETYPE_HEADERS_PATH"
- (string-append (assoc-ref inputs "freetype")
- "/include"))
- (setenv "ALT_FREETYPE_LIB_PATH"
- (string-append (assoc-ref inputs "freetype")
- "/lib"))
- #t))
- (add-before 'build 'disable-os-version-check
- ;; allow build on linux major version change
- (lambda _
- (setenv "DISABLE_HOTSPOT_OS_VERSION_CHECK" "ok")
- #t))
+ ;; Create a simple manifest to make ecj executable.
+ (mkdir-p "META-INF")
+ (with-output-to-file "META-INF/MANIFESTS.MF"
+ (lambda _
+ (display "Manifest-Version: 1.0
+Main-Class: org.eclipse.jdt.internal.compiler.batch.Main\n")))
+
+ ;; Compile it all!
+ (apply invoke "javac"
+ (find-files "." "\\.java$"))
+
+ ;; Pack it all up! We don't use "jar" here, because
+ ;; it doesn't produce reproducible zip archives.
+ ;; XXX: copied from (gnu build install)
+ (for-each (lambda (file)
+ (let ((s (lstat file)))
+ (unless (eq? (stat:type s) 'symlink)
+ (utime file 0 0 0 0))))
+ (find-files "." #:directories? #t))
+
+ ;; It is important that the manifest appears first.
+ (apply invoke "zip" "-0" "-X" "ecj-bootstrap.jar"
+ "META-INF/MANIFESTS.MF"
+ (delete "./META-INF/MANIFESTS.MF"
+ (find-files "." ".*" #:directories? #t)))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
- (let ((doc (string-append (assoc-ref outputs "doc")
- "/share/doc/icedtea"))
- (jre (assoc-ref outputs "out"))
- (jdk (assoc-ref outputs "jdk")))
- (copy-recursively "openjdk.build/docs" doc)
- (copy-recursively "openjdk.build/j2re-image" jre)
- (copy-recursively "openjdk.build/j2sdk-image" jdk))
- #t)))))
+ (let ((share (string-append (assoc-ref outputs "out")
+ "/share/java/")))
+ (mkdir-p share)
+ (install-file "ecj-bootstrap.jar" share)))))))
(native-inputs
- `(("ant" ,ant-bootstrap)
- ("alsa-lib" ,alsa-lib)
- ("attr" ,attr)
- ("classpath" ,classpath-devel)
- ("coreutils" ,coreutils)
- ("cpio" ,cpio)
- ("cups" ,cups)
- ("ecj" ,ecj-bootstrap)
- ("ecj-javac" ,ecj-javac-wrapper-final)
- ("fastjar" ,fastjar)
- ("fontconfig" ,fontconfig)
- ("freetype" ,freetype)
- ("gtk" ,gtk+-2)
- ("gawk" ,gawk)
- ("giflib" ,giflib)
- ("grep" ,grep)
- ("jamvm" ,jamvm)
- ("lcms" ,lcms)
- ("libjpeg" ,libjpeg-turbo)
- ("libnsl" ,libnsl)
- ("libpng" ,libpng)
- ("libtool" ,libtool)
- ("libx11" ,libx11)
- ("libxcomposite" ,libxcomposite)
- ("libxi" ,libxi)
- ("libxinerama" ,libxinerama)
- ("libxrender" ,libxrender)
- ("libxslt" ,libxslt) ;for xsltproc
- ("libxt" ,libxt)
- ("libxtst" ,libxtst)
- ("mit-krb5" ,mit-krb5)
- ("nss" ,nss)
- ("nss-certs" ,nss-certs)
- ("perl" ,perl)
- ("pkg-config" ,pkg-config)
- ("procps" ,procps) ;for "free", even though I'm not sure we should use it
- ("unzip" ,unzip)
- ("wget" ,wget)
- ("which" ,which)
- ("zip" ,zip)
- ("zlib" ,zlib)
- ("openjdk-src"
- ,(origin
- (method hg-fetch)
- (uri (hg-reference
- (url "http://hg.openjdk.java.net/jdk6/jdk6/")
- (changeset "jdk6-b41")))
- (file-name "jdk6-checkout")
- (sha256
- (base32
- "14q47yfg586fs64w30g8mk92m5dkxsvr36zzh0ra99xk5x0x96mv"))))
- ("jdk-src"
- ,(origin
- (method hg-fetch)
- (uri (hg-reference
- (url "http://hg.openjdk.java.net/jdk6/jdk6/jdk/")
- (changeset "jdk6-b41")))
- (file-name "jdk-checkout")
- (sha256
- (base32
- "165824nhg1k1dx6zs9dny0j49rmk35jw5b13dmz8c77jfajml4v9"))))
- ("hotspot-src"
- ,(origin
- (method hg-fetch)
- (uri (hg-reference
- (url "http://hg.openjdk.java.net/jdk6/jdk6/hotspot/")
- (changeset "jdk6-b41")))
- (file-name "hotspot-checkout")
- (sha256
- (base32
- "07lc1z4k5dj9nrc1wvwmpvxr3xgxrdkdh53xb95skk5ij49yagfd"))))
- ("corba-src"
- ,(origin
- (method hg-fetch)
- (uri (hg-reference
- (url "http://hg.openjdk.java.net/jdk6/jdk6/corba/")
- (changeset "jdk6-b41")))
- (file-name "corba-checkout")
- (sha256
- (base32
- "1p9g1r9dnax2iwp7yb59qx7m4nmshqhwmrb2b8jj8zgbd9dl2i3q"))))
- ("langtools-src"
- ,(origin
- (method hg-fetch)
- (uri (hg-reference
- (url "http://hg.openjdk.java.net/jdk6/jdk6/langtools/")
- (changeset "jdk6-b41")))
- (file-name "langtools-checkout")
- (sha256
- (base32
- "1x52wd67fynbbd9ild6fb4wvba3f5hhwk03qdjfazd0a1qr37z3d"))))
- ("jaxp-src"
- ,(origin
- (method hg-fetch)
- (uri (hg-reference
- (url "http://hg.openjdk.java.net/jdk6/jdk6/jaxp/")
- (changeset "jdk6-b41")))
- (file-name "jaxp-checkout")
- (sha256
- (base32
- "0shlqrvzpr4nrkmv215lbxnby63s3yvbdh1yxcayznsyqwa4nlxm"))))
- ("jaxws-src"
- ,(origin
- (method hg-fetch)
- (uri (hg-reference
- (url "http://hg.openjdk.java.net/jdk6/jdk6/jaxws/")
- (changeset "jdk6-b41")))
- (file-name "jaxws-checkout")
- (sha256
- (base32
- "0835lkw8vib1xhp8lxnybhlvzdh699hbi4mclxanydjk63zbpxk0"))))))
- (home-page "http://icedtea.classpath.org")
- (synopsis "Java development kit")
- (description
- "This package provides the OpenJDK built with the IcedTea build harness.
-This version of the OpenJDK is no longer maintained and is only used for
-bootstrapping purposes.")
- ;; IcedTea is released under the GPL2 + Classpath exception, which is the
- ;; same license as both GNU Classpath and OpenJDK.
- (license license:gpl2+)))
+ (list ant-bootstrap classpath-devel ecj-javac-wrapper-final jamvm
+ unzip zip))
+ (home-page "https://eclipse.org")
+ (synopsis "Eclipse Java development tools core batch compiler")
+ (description "This package provides the Eclipse Java core batch compiler
+for bootstrapping purposes. The @dfn{Eclipse compiler for Java} (ecj) is a
+requirement for all GNU Classpath releases after version 0.93. This version
+supports sufficient parts of Java 7 to build Icedtea 2.x.")
+ (license license:epl1.0)))
+
+(define ecj4-javac-wrapper
+ (package
+ (inherit ecj-javac-wrapper)
+ (native-inputs
+ (list guile-3.0 ecj4-bootstrap jamvm classpath-devel))))
+
+(define jamvm-with-ecj4
+ (package
+ (inherit jamvm)
+ (inputs
+ (modify-inputs (package-inputs jamvm)
+ (replace "ecj-javac-wrapper" ecj4-javac-wrapper)))))
(define-public icedtea-7
(let* ((version "2.6.13")
@@ -1225,9 +812,6 @@ bootstrapping purposes.")
;; gremlin) doesn't support it yet, so skip this phase.
#:validate-runpath? #f
- ;; Apparently, the C locale is needed for some of the tests.
- #:locale "C"
-
#:modules ((guix build utils)
(guix build gnu-build-system)
(ice-9 match)
@@ -1236,9 +820,10 @@ bootstrapping purposes.")
(srfi srfi-26))
#:configure-flags
- ;; TODO: package pcsc and sctp, and add to inputs
- `("--disable-system-pcsc"
- "--disable-system-sctp"
+ ;; TODO: package sctp and add to inputs
+ `("--disable-system-sctp"
+ "--enable-system-pcsc"
+ "--enable-system-lcms"
"--enable-bootstrap"
"--enable-nss"
"--without-rhino"
@@ -1247,9 +832,17 @@ bootstrapping purposes.")
"--disable-downloading"
"--disable-tests" ;they are run in the check phase instead
"--with-openjdk-src-dir=./openjdk.src"
+ ,(string-append "--with-ecj="
+ (assoc-ref %build-inputs "ecj4-javac-wrapper")
+ "/bin/javac")
,(string-append "--with-jdk-home="
- (assoc-ref %build-inputs "jdk")))
-
+ (assoc-ref %build-inputs "classpath"))
+ ,(string-append "--with-java="
+ (assoc-ref %build-inputs "jamvm")
+ "/bin/jamvm")
+ ,(string-append "--with-jar="
+ (assoc-ref %build-inputs "classpath")
+ "/bin/gjar"))
#:phases
(modify-phases %standard-phases
(replace 'unpack
@@ -1273,8 +866,20 @@ bootstrapping purposes.")
(filter (cut string-suffix? "-drop" <>)
(map (match-lambda
((name . _) name))
- inputs))))
- #t)))
+ inputs)))))))
+ (add-after 'unpack 'use-classpath
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((tools (search-input-file inputs "/share/classpath/tools.zip"))
+ (rt.jar (search-input-file inputs "/lib/rt.jar")))
+ ;; GNU Classpath does not provide rt.jar, but jamvm provides
+ ;; Classpath's glibj.zip as rt.jar, so we just use that.
+ (substitute* "Makefile.in"
+ (("\\$\\(SYSTEM_JDK_DIR\\)/jre/lib/rt.jar") rt.jar))
+ ;; Make sure we can find all classes.
+ (setenv "CLASSPATH"
+ (string-append rt.jar ":" tools))
+ (setenv "JAVACFLAGS"
+ (string-append "-cp " rt.jar ":" tools)))))
(add-after 'unpack 'patch-bitrot
(lambda _
(substitute* '("patches/boot/revert-6973616.patch"
@@ -1285,8 +890,7 @@ bootstrapping purposes.")
;; included. It is provided by the libc instead.
(substitute* '("configure"
"openjdk.src/jdk/src/solaris/native/sun/nio/fs/LinuxNativeDispatcher.c")
- (("attr/xattr.h") "sys/xattr.h"))
- #t))
+ (("attr/xattr.h") "sys/xattr.h"))))
(add-after 'unpack 'fix-openjdk
(lambda _
(substitute* "openjdk.src/jdk/make/common/Defs-linux.gmk"
@@ -1318,21 +922,20 @@ bootstrapping purposes.")
"/include/X11/extensions"
" -I" (assoc-ref inputs "libxinerama")
"/include/X11/extensions"))
- (("\\$\\(wildcard /usr/include/X11/extensions\\)\\)") ""))
- #t))
+ (("\\$\\(wildcard /usr/include/X11/extensions\\)\\)") ""))))
(add-after 'unpack 'patch-paths
- (lambda _
+ (lambda* (#:key inputs #:allow-other-keys)
;; buildtree.make generates shell scripts, so we need to replace
;; the generated shebang
(substitute* '("openjdk.src/hotspot/make/linux/makefiles/buildtree.make")
(("/bin/sh") (which "bash")))
(let ((corebin (string-append
- (assoc-ref %build-inputs "coreutils") "/bin/"))
+ (assoc-ref inputs "coreutils") "/bin/"))
(binbin (string-append
- (assoc-ref %build-inputs "binutils") "/bin/"))
+ (assoc-ref inputs "binutils") "/bin/"))
(grepbin (string-append
- (assoc-ref %build-inputs "grep") "/bin/")))
+ (assoc-ref inputs "grep") "/bin/")))
(substitute* '("openjdk.src/jdk/make/common/shared/Defs-linux.gmk"
"openjdk.src/corba/make/common/shared/Defs-linux.gmk")
(("UNIXCOMMAND_PATH = /bin/")
@@ -1343,7 +946,7 @@ bootstrapping purposes.")
(string-append "DEVTOOLS_PATH = " corebin))
(("COMPILER_PATH *= */usr/bin/")
(string-append "COMPILER_PATH = "
- (assoc-ref %build-inputs "gcc") "/bin/"))
+ (assoc-ref inputs "gcc") "/bin/"))
(("DEF_OBJCOPY *=.*objcopy")
(string-append "DEF_OBJCOPY = " (which "objcopy"))))
@@ -1351,7 +954,7 @@ bootstrapping purposes.")
(substitute* "openjdk.src/jdk/make/common/shared/Sanity.gmk"
(("ALSA_INCLUDE=/usr/include/alsa/version.h")
(string-append "ALSA_INCLUDE="
- (assoc-ref %build-inputs "alsa-lib")
+ (assoc-ref inputs "alsa-lib")
"/include/alsa/version.h")))
;; fix hard-coded utility paths
@@ -1403,8 +1006,7 @@ bootstrapping purposes.")
(("AZ=AZM;2005-12-31-20-00-00;AZN") "AZ=AZN")
(("MZ=MZM;2006-06-30-22-00-00;MZN") "MZ=MZN")
(("RO=ROL;2005-06-30-21-00-00;RON") "RO=RON")
- (("TR=TRL;2004-12-31-22-00-00;TRY") "TR=TRY")))
- #t))
+ (("TR=TRL;2004-12-31-22-00-00;TRY") "TR=TRY")))))
(add-before 'configure 'set-additional-paths
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "openjdk.src/jdk/make/common/shared/Sanity.gmk"
@@ -1432,13 +1034,11 @@ bootstrapping purposes.")
"/include"))
(setenv "ALT_FREETYPE_LIB_PATH"
(string-append (assoc-ref inputs "freetype")
- "/lib"))
- #t))
+ "/lib"))))
(add-before 'build 'disable-os-version-check
- ;; allow build on linux major version change
- (lambda _
- (setenv "DISABLE_HOTSPOT_OS_VERSION_CHECK" "ok")
- #t))
+ ;; allow build on linux major version change
+ (lambda _
+ (setenv "DISABLE_HOTSPOT_OS_VERSION_CHECK" "ok")))
(add-before 'check 'fix-test-framework
(lambda _
;; Fix PATH in test environment
@@ -1450,8 +1050,7 @@ bootstrapping purposes.")
(substitute* "openjdk.src/hotspot/test/test_env.sh"
(("/bin/rm") (which "rm"))
(("/bin/cp") (which "cp"))
- (("/bin/mv") (which "mv")))
- #t))
+ (("/bin/mv") (which "mv")))))
(add-before 'check 'fix-hotspot-tests
(lambda _
(with-directory-excursion "openjdk.src/hotspot/test/"
@@ -1464,8 +1063,7 @@ bootstrapping purposes.")
"runtime/7110720/Test7110720.sh")
(("/bin/rm") (which "rm"))
(("/bin/cp") (which "cp"))
- (("/bin/mv") (which "mv"))))
- #t))
+ (("/bin/mv") (which "mv"))))))
(add-before 'check 'fix-jdk-tests
(lambda _
(with-directory-excursion "openjdk.src/jdk/test/"
@@ -1521,33 +1119,31 @@ bootstrapping purposes.")
(substitute* "java/rmi/activation/CommandEnvironment/SetChildEnv.java"
(("/bin/chmod") (which "chmod")))
(substitute* "java/util/zip/ZipFile/Assortment.java"
- (("/bin/sh") (which "sh"))))
- #t))
+ (("/bin/sh") (which "sh"))))))
(replace 'check
- (lambda _
+ (lambda* (#:key tests? #:allow-other-keys)
;; The "make check-*" targets always return zero, so we need to
;; check for errors in the associated log files to determine
;; whether any tests have failed.
- (use-modules (ice-9 rdelim))
- (let* ((error-pattern (make-regexp "^(Error|FAILED):.*"))
- (checker (lambda (port)
- (let loop ()
- (let ((line (read-line port)))
- (cond
- ((eof-object? line) #t)
- ((regexp-exec error-pattern line)
- (error "test failed"))
- (else (loop)))))))
- (run-test (lambda (test)
- (invoke "make" test)
- (call-with-input-file
- (string-append "test/" test ".log")
- checker))))
- (when #f ; skip tests
+ (when tests?
+ (use-modules (ice-9 rdelim))
+ (let* ((error-pattern (make-regexp "^(Error|FAILED):.*"))
+ (checker (lambda (port)
+ (let loop ()
+ (let ((line (read-line port)))
+ (cond
+ ((eof-object? line) #t)
+ ((regexp-exec error-pattern line)
+ (error "test failed"))
+ (else (loop)))))))
+ (run-test (lambda (test)
+ (invoke "make" test)
+ (call-with-input-file
+ (string-append "test/" test ".log")
+ checker))))
(run-test "check-hotspot")
(run-test "check-langtools")
- (run-test "check-jdk"))
- #t)))
+ (run-test "check-jdk")))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((doc (string-append (assoc-ref outputs "doc")
@@ -1556,8 +1152,7 @@ bootstrapping purposes.")
(jdk (assoc-ref outputs "jdk")))
(copy-recursively "openjdk.build/docs" doc)
(copy-recursively "openjdk.build/j2re-image" jre)
- (copy-recursively "openjdk.build/j2sdk-image" jdk))
- #t))
+ (copy-recursively "openjdk.build/j2sdk-image" jdk))))
;; Some of the libraries in the lib/amd64 folder link to libjvm.so.
;; But that shared object is located in the server/ folder, so it
;; cannot be found. This phase creates a symbolic link in the
@@ -1590,14 +1185,14 @@ bootstrapping purposes.")
(string-drop-right
(%current-system) 6)))))))
(symlink (string-append lib-path "/server/libjvm.so")
- (string-append lib-path "/libjvm.so")))
- #t))
+ (string-append lib-path "/libjvm.so")))))
;; By default IcedTea only generates an empty keystore. In order to
;; be able to use certificates in Java programs we need to generate a
;; keystore from a set of certificates. For convenience we use the
;; certificates from the nss-certs package.
(add-after 'install 'install-keystore
(lambda* (#:key inputs outputs #:allow-other-keys)
+ (use-modules (ice-9 rdelim))
(let* ((keystore "cacerts")
(certs-dir (search-input-directory inputs
"etc/ssl/certs"))
@@ -1660,8 +1255,7 @@ bootstrapping purposes.")
"/lib/security"))
(install-file keystore
(string-append (assoc-ref outputs "jdk")
- "/jre/lib/security"))
- #t))))))
+ "/jre/lib/security"))))))))
(native-inputs
`(("openjdk-src"
,(drop "openjdk"
@@ -1694,10 +1288,14 @@ bootstrapping purposes.")
"icedtea-7-hotspot-aarch64-use-c++98.patch"))))
("ant" ,ant-bootstrap)
("attr" ,attr)
+ ("classpath" ,classpath-devel)
("coreutils" ,coreutils)
("diffutils" ,diffutils) ;for tests
+ ("ecj4-javac-wrapper" ,ecj4-javac-wrapper)
+ ("fastjar" ,fastjar) ;only for the configure phase; we actually use gjar
("gawk" ,gawk)
("grep" ,grep)
+ ("jamvm" ,jamvm-with-ecj4)
("libtool" ,libtool)
("pkg-config" ,pkg-config)
("wget" ,wget)
@@ -1705,32 +1303,31 @@ bootstrapping purposes.")
("cpio" ,cpio)
("zip" ,zip)
("unzip" ,unzip)
- ("fastjar" ,fastjar)
("libxslt" ,libxslt) ;for xsltproc
("nss-certs" ,nss-certs)
("perl" ,perl)
- ("procps" ,procps) ;for "free", even though I'm not sure we should use it
- ("jdk" ,icedtea-6 "jdk")))
+ ("procps" ,procps))) ;for "free", even though I'm not sure we should use it
(inputs
- `(("alsa-lib" ,alsa-lib)
- ("cups" ,cups)
- ("libx11" ,libx11)
- ("libxcomposite" ,libxcomposite)
- ("libxt" ,libxt)
- ("libxtst" ,libxtst)
- ("libxi" ,libxi)
- ("libxinerama" ,libxinerama)
- ("libxrender" ,libxrender)
- ("libjpeg" ,libjpeg-turbo)
- ("libpng" ,libpng)
- ("mit-krb5" ,mit-krb5)
- ("nss" ,nss)
- ("giflib" ,giflib)
- ("fontconfig" ,fontconfig)
- ("freetype" ,freetype)
- ("lcms" ,lcms)
- ("zlib" ,zlib)
- ("gtk" ,gtk+-2)))
+ (list alsa-lib
+ cups
+ fontconfig
+ freetype
+ giflib
+ gtk+-2
+ lcms
+ libjpeg-turbo
+ libpng
+ libx11
+ libxcomposite
+ libxi
+ libxinerama
+ libxrender
+ libxt
+ libxtst
+ mit-krb5
+ nss
+ pcsc-lite
+ zlib))
(home-page "http://icedtea.classpath.org")
(synopsis "Java development kit")
(description
@@ -1745,7 +1342,7 @@ IcedTea build harness.")
(license license:gpl2+))))
(define-public icedtea-8
- (let* ((version "3.7.0")
+ (let* ((version "3.19.0")
(drop (lambda (name hash)
(origin
(method url-fetch)
@@ -1754,7 +1351,7 @@ IcedTea build harness.")
"/icedtea8/" version "/" name ".tar.xz"))
(sha256 (base32 hash))))))
(package (inherit icedtea-7)
- (version "3.7.0")
+ (version "3.19.0")
(source (origin
(method url-fetch)
(uri (string-append
@@ -1762,19 +1359,17 @@ IcedTea build harness.")
version ".tar.xz"))
(sha256
(base32
- "09yqzn8rpccs7cyv89hhy5zlznpgqw5x3jz0w1ccp0cz1vgs8l5w"))
+ "1cmms7cb2sav3ywc36ynqmybzx73sl279rm6j8i5nqrmp98ixmpf"))
(modules '((guix build utils)))
(snippet
- '(begin
- (substitute* '("configure"
- "acinclude.m4")
- ;; Do not embed build time
- (("(DIST_ID=\"Custom build).*$" _ prefix)
- (string-append prefix "\"\n"))
- ;; Do not leak information about the build host
- (("DIST_NAME=\"\\$build_os\"")
- "DIST_NAME=\"guix\""))
- #t))))
+ '(substitute* '("configure"
+ "acinclude.m4")
+ ;; Do not embed build time
+ (("(DIST_ID=\"Custom build).*$" _ prefix)
+ (string-append prefix "\"\n"))
+ ;; Do not leak information about the build host
+ (("DIST_NAME=\"\\$build_os\"")
+ "DIST_NAME=\"guix\"")))))
(arguments
`(#:imported-modules
((guix build ant-build-system)
@@ -1796,7 +1391,6 @@ IcedTea build harness.")
`(let ((jdk (assoc-ref %build-inputs "jdk")))
`("CFLAGS=-fcommon"
"CXXFLAGS=-fcommon"
- ;;"--disable-bootstrap"
"--enable-bootstrap"
"--enable-nss"
,(string-append "--with-parallel-jobs="
@@ -1814,6 +1408,7 @@ IcedTea build harness.")
(delete 'set-additional-paths)
(delete 'patch-patches)
(delete 'patch-bitrot)
+ (delete 'use-classpath)
;; Prevent the keytool from recording the current time when
;; adding certificates at build time.
(add-after 'unpack 'patch-keystore
@@ -1859,8 +1454,7 @@ new Date();"))
"warning: failed to substitute: ~a~%"
file))))
(find-files "openjdk.src/jdk/src/solaris/native"
- "\\.c|\\.h"))
- #t)))
+ "\\.c|\\.h")))))
(replace 'fix-openjdk
(lambda _
(substitute*
@@ -1880,45 +1474,45 @@ new Date();"))
;; Install the nss.cfg file to JRE to enable SSL/TLS
;; support via NSS.
(copy-file (string-append jdk "/jre/lib/security/nss.cfg")
- (string-append jre "/lib/security/nss.cfg"))
- #t)))
+ (string-append jre "/lib/security/nss.cfg")))))
(add-after 'install 'strip-jar-timestamps
(assoc-ref ant:%standard-phases 'strip-jar-timestamps)))))))
(native-inputs
`(("jdk" ,icedtea-7 "jdk")
("openjdk-src"
,(drop "openjdk"
- "1mj6xgmw31i6qd30qi9dmv7160fbcfq5ikz1jwjihdg2793il19p"))
+ "1l3bzmd3s38scxpwamfhnwbv7vndgjq6hz3bl58437fgl9kgbl69"))
("aarch32-drop"
,(drop "aarch32"
- "1wb8k5zm40zld0986dvmlh5xh3gyixbg9h26sl662zy92amhmyyg"))
+ "0k4dwpi3x3lj41rj32xyxbn76r7cb2g2whh44r1z4iwhw1xd2lpq"))
("corba-drop"
,(drop "corba"
- "11ma4zz0599cy70xd219v7a8vin7p96xrhhz3wsaw6cjhkzpagah"))
+ "0xhh6gf5gh5c6vf1607xcy49wnp5prch2rim13x14wvsn817xf0r"))
("jaxp-drop"
,(drop "jaxp"
- "14m1y0z0fbm5z5zjw3vnq85py8dma84bi3f9cw8rhdyc6skk8q4i"))
+ "043g335rgi5ipl8dp3q2cc3gcfhxk77ipxs43sv344z71bn8xmxr"))
("jaxws-drop"
,(drop "jaxws"
- "09andnm6xaasnp963hgx42yiflifiljp9z7z85jrfyc5z8a5whmf"))
+ "1pc0pv4v2mn2mjc0vp19d94v2150xigyhxsmckqasy647zcm6w0r"))
("jdk-drop"
,(drop "jdk"
- "0s6lcpc0zckz2fnq98aqf28nz9y3wbi41a3kyaqqa2abwbkm1zwl"))
+ "1742lcm55l8zhi522x83v65ccr0rd6511q9rj7crw44x3ymdrhrv"))
("langtools-drop"
,(drop "langtools"
- "15wizy123vhk40chl1b4p552jf2pw2hdww0myf11qab425axz4nw"))
+ "08iz7p2xcddlphipf6gahyabr5cawlnydap12p1n4f0md069b50b"))
("hotspot-drop"
,(drop "hotspot"
- "1ciz1w9j0kz7s1dxdhyqq71nla9icyz6qvn0b9z2zgkklqa98qmm"))
+ "1ffaxfnb3yn1i7crivqigc1r1q0z6cp044i6nfring4z6c8pfhd2"))
("nashorn-drop"
,(drop "nashorn"
- "19pzl3ppaw8j6r5cnyp8qiw3hxijh3hdc46l39g5yfhdl4pr4hpa"))
+ "15fn7cpm2i1npa88h57njxg0f8qkrqhrc30pb54d3hxlx5zyjl94"))
("shenandoah-drop"
,(drop "shenandoah"
- "0k33anxdzw1icn072wynfmmdjhsv50hay0j1sfkfxny12rb3vgdy"))
+ "1jjzjjx1ykyhbc4llh8249dlr8j5g1ki6r7g9baj2mxyb9whc5nq"))
,@(fold alist-delete (package-native-inputs icedtea-7)
- '("jdk" "openjdk-src" "corba-drop" "jaxp-drop" "jaxws-drop"
- "jdk-drop" "langtools-drop" "hotspot-drop")))))))
+ '("openjdk-src" "corba-drop" "jaxp-drop" "jaxws-drop"
+ "jdk-drop" "langtools-drop" "hotspot-drop"
+ "classpath" "ecj4-javac-wrapper" "jamvm" "fastjar")))))))
(define-public openjdk9
(package
@@ -2801,6 +2395,89 @@ new Date();"))
(modify-inputs (package-inputs ant/java8)
(prepend java-junit)))))
+(define-public libantlr3c
+ (package
+ (name "libantlr3c")
+ (version "3.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "https://www.antlr3.org/download/C/"
+ name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0lpbnb4dq4azmsvlhp6khq1gy42kyqyjv8gww74g5lm2y6blm4fa"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:configure-flags (list "--enable-debuginfo"
+ "--disable-static"
+ ,@(if (target-64bit?)
+ `("--enable-64bit")
+ '()))))
+ (synopsis "ANTLR C Library")
+ (description "LIBANTLR3C provides run-time C libraries for ANTLR3 (ANother
+Tool for Language Recognition v3).")
+ (home-page "https://www.antlr3.org/")
+ (license license:bsd-3)))
+
+(define-public drip
+ ;; Last release is from 2014, with a few important commits afterwards.
+ (let ((commit "a4bd00df0199e78243847f06cc04ecaea31f8f08"))
+ (package
+ (name "drip")
+ (version (git-version "0.2.4" "1" commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ninjudd/drip")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0wzmjwfyldr3jn49517xd8yn7dgdk8h88qkga3kjyg1zc375ylg2"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("jdk" ,icedtea "jdk")))
+ (arguments
+ `(#:tests? #f ; No tests.
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (add-before 'install 'fix-wrapper
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((jps (search-input-file inputs "/bin/jps")))
+ (substitute* "bin/drip"
+ (("jps") jps)
+ (("brew update && brew upgrade drip") "guix pull && guix install drip")
+ ;; No need to make:
+ (("\\(cd -- \"\\$drip_dir\" && make -s\\) \\|\\| exit 1") "")
+ ;; No need to include source:
+ (("\\[\\[ -r \\$drip_dir/src/org/flatland/drip/Main\\.java \\]\\]")
+ "true"))
+ #t)))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin"))
+ (share (string-append out "/share/drip")))
+ (mkdir-p bin)
+ (for-each
+ (lambda (file)
+ (install-file (string-append "bin/" file) bin))
+ '("drip" "drip_daemon" "drip_proxy"))
+ (install-file "drip.jar" share)
+ (substitute* (string-append bin "/drip")
+ (("drip_dir=\\$bin_dir/..")
+ (string-append "drip_dir=" share)))
+ #t))))))
+ (home-page "https://github.com/ninjudd/drip")
+ (synopsis "Faster Java Virtual Machine launching")
+ (description "Drip is a launcher for the Java Virtual Machine that
+provides much faster startup times than the @command{java} command. The @command{drip}
+script is intended to be a drop-in replacement for the @command{java} command,
+only faster.")
+ (license license:epl1.0))))
+
(define-public java-openjfx-build
(package
(name "java-openjfx-build")
@@ -6390,7 +6067,7 @@ these scripting language engines.")
(native-inputs
(list java-junit))
(home-page "https://commons.apache.org/jxpath/")
- (synopsis "Simple interpreter of an expression language called XPath.")
+ (synopsis "Simple interpreter of an expression language called XPath")
(description "The org.apache.commons.jxpath package defines a simple
interpreter of an expression language called XPath. JXPath applies XPath
expressions to graphs of objects of all kinds: JavaBeans, Maps, Servlet
@@ -7812,14 +7489,14 @@ JavaMail API.")
(define-public java-log4j-api
(package
(name "java-log4j-api")
- (version "2.16.0")
+ (version "2.17.0")
(source (origin
(method url-fetch)
(uri (string-append "mirror://apache/logging/log4j/" version
"/apache-log4j-" version "-src.tar.gz"))
(sha256
(base32
- "1943lsqf3rywh11h6g5apyqm25am42cvrxpfc8sb9k8aqhlfvl0a"))))
+ "1bn9hrxyvw2d29z7mcd0frcqa8mbxmq59zb6b930zibkq68n1g01"))))
(build-system ant-build-system)
(arguments
`(#:tests? #f ; tests require unpackaged software
@@ -8147,6 +7824,7 @@ time.")
`(#:jar-name "slf4j-simple.jar"
#:source-dir "slf4j-simple/src/main"
#:test-dir "slf4j-simple/src/test"
+ #:test-exclude (list "**/*SimpleLoggerMultithreadedInitializationTest.java")
#:phases
(modify-phases %standard-phases
;; The tests need some test classes from slf4j-api
@@ -11175,7 +10853,7 @@ configuration and string construction.")
(native-inputs
(list java-junit java-hamcrest-core javacc-4))
(home-page "https://commons.apache.org/proper/commons-jexl/")
- (synopsis "Java Expression Language ")
+ (synopsis "Java Expression Language")
(description "JEXL is a library intended to facilitate the implementation
of dynamic and scripting features in applications and frameworks written in
Java. JEXL implements an Expression Language based on some extensions to the
@@ -11639,6 +11317,8 @@ application components to create, send, receive, and read messages.")
"**/DurationFilterTest.java"
"**/MailHandlerTest.java"
"**/GetLocalAddressTest.java"
+ ;; SSLHandshakeException: No appropriate protocol
+ "**/WriteTimeoutSocketTest.java"
;; FIXME: both end with:
;; java.lang.ClassNotFoundException:
;; javax.mail.internet.MimeMultipartParseTest
@@ -11649,16 +11329,13 @@ application components to create, send, receive, and read messages.")
(add-before 'configure 'move-version.java
(lambda _
(copy-file "mail/src/main/resources/javax/mail/Version.java"
- "mail/src/main/java/javax/mail/Version.java")
- #t))
+ "mail/src/main/java/javax/mail/Version.java")))
(add-before 'build 'copy-resources
(lambda _
(copy-recursively "mail/src/main/resources/META-INF"
- "build/classes/META-INF")
- #t)))))
+ "build/classes/META-INF"))))))
(native-inputs
- `(("junit" ,java-junit)
- ("hamcrest" ,java-hamcrest-core)))
+ (list java-junit java-hamcrest-core))
(home-page "https://javaee.github.io/javamail/")
(synopsis "Mail-related functionality in Java")
(description "The JavaMail API provides a platform-independent and
@@ -11715,14 +11392,14 @@ protocol-independent framework to build mail and messaging applications.")
(define-public java-kafka-clients
(package
(name "java-kafka-clients")
- (version "1.0.0")
+ (version "1.1.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://apache/kafka/" version "/kafka-"
version "-src.tgz"))
(sha256
(base32
- "1yxmnsmliwm7671q5yy9bl4jdqyyn00n26cggz9brwczx80w1vfq"))))
+ "1jn62q7z383nwhzv4ippsddf98sa1gnkszjjncj4ii3r8rzgw566"))))
(build-system ant-build-system)
(arguments
`(#:jar-name "java-kafka-clients.jar"
@@ -11735,6 +11412,10 @@ protocol-independent framework to build mail and messaging applications.")
"**/IntegrationTest.java"
;; Requires network
"**/ClientUtilsTest.java"
+ ;; This test fails on i686
+ "**/SerializationTest.java"
+ ;; "protocol is disabled or cipher suites are inappropriate"
+ "**/SslTransportLayerTest.java"
;; End with errors that seem related to our powermock
"**/KafkaProducerTest.java"
"**/BufferPoolTest.java"
@@ -11743,20 +11424,20 @@ protocol-independent framework to build mail and messaging applications.")
(inputs
(list java-slf4j-api java-lz4))
(native-inputs
- `(("junit" ,java-junit)
- ("hamcrest" ,java-hamcrest-all)
- ("objenesis" ,java-objenesis)
- ("asm" ,java-asm)
- ("cglib" ,java-cglib)
- ("javassist" ,java-jboss-javassist)
- ("snappy" ,java-snappy)
- ("easymock" ,java-easymock)
- ("powermock" ,java-powermock-core)
- ("powermock-easymock" ,java-powermock-api-easymock)
- ("powermock-junit4-common" ,java-powermock-modules-junit4-common)
- ("powermock-junit4" ,java-powermock-modules-junit4)
- ("powermock-support" ,java-powermock-api-support)
- ("java-bouncycastle" ,java-bouncycastle)))
+ (list java-asm
+ java-bouncycastle
+ java-cglib
+ java-easymock
+ java-hamcrest-all
+ java-jboss-javassist
+ java-junit
+ java-objenesis
+ java-powermock-api-easymock
+ java-powermock-api-support
+ java-powermock-core
+ java-powermock-modules-junit4
+ java-powermock-modules-junit4-common
+ java-snappy))
(home-page "https://kafka.apache.org")
(synopsis "Distributed streaming platform")
(description "Kafka is a distributed streaming platform, which means:
@@ -12554,7 +12235,7 @@ the DOM level 3 load/save API's are in use.")
(find-files "build" "^jakarta-regexp-.*\\.jar$"))
#t))))))
(home-page "https://attic.apache.org/projects/jakarta-regexp.html")
- (synopsis "Regular expression parser generator for Java.")
+ (synopsis "Regular expression parser generator for Java")
(description "@code{jakarta-regexp} is an old regular expression parser
generator for Java.")
(license license:asl2.0)))
diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index bc735d1c45..c453ac432a 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -343,7 +343,7 @@ be able to view it naturally and easily.")))
(home-page "https://github.com/tj/commander.js")
(synopsis "Library for node.js command-line interfaces")
(description "Commander.js aims to be the complete solution for node.js
-command-line interfaces. ")
+command-line interfaces.")
(license license:expat)))
(define-public js-xmldom-sre
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 2ad1c4cd5d..e30cf39dc9 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2020, 2021 Nicolò Balzarotti <nicolo@nixo.xyz>
-;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
+;;; Copyright © 2021, 2022 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 jgart <jgart@dismail.de>
@@ -166,7 +166,9 @@ provides functions to run a few automatable checks for Julia packages.")
;; Disable as stopgap.
`(#:tests? ,(not (target-x86-32?))))
(propagated-inputs
- (list julia-ifelse julia-requires julia-static))
+ (list julia-ifelse
+ julia-requires
+ julia-static))
(native-inputs
(list julia-aqua
julia-bandedmatrices
@@ -209,6 +211,34 @@ appropriate BLAS or optimised Julia linear algebra routines. This supports a
much wider class of matrix types than Julia's in-built @code{StridedArray}.")
(license license:expat)))
+(define-public julia-automa
+ (package
+ (name "julia-automa")
+ (version "0.8.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/BioJulia/Automa.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0hmwvk3qw54p7f63a2dnzlmvkynfs62x9n8x952bcmczp35csgq0"))))
+ (build-system julia-build-system)
+ (propagated-inputs
+ (list julia-scanbyte
+ julia-transcodingstreams))
+ (home-page "https://github.com/BioJulia/Automa.jl")
+ (synopsis "Validation, parsing, and tokenizing based on state machine compiler")
+ (description "This package compiles regular expressions into Julia code,
+which is then compiled into low-level machine code by the Julia compiler. The
+package is designed to generate very efficient code to scan large text data,
+which is often much faster than handcrafted code. @code{Automa.jl} can insert
+arbitrary Julia code that will be executed in state transitions. This makes
+it possible, for example, to extract substrings that match a part of a regular
+expression.")
+ (license license:expat)))
+
(define-public julia-axisalgorithms
(package
(name "julia-axisalgorithms")
@@ -248,9 +278,12 @@ axis (dimension).")
(base32 "03kzan1lm4fxfhzv1xjg3ysf6y7nagcc61vfz15kvdrp1dqxlynk"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-rangearrays julia-intervalsets julia-itertools))
+ (list julia-rangearrays
+ julia-intervalsets
+ julia-itertools))
(native-inputs
- (list julia-offsetarrays julia-unitful))
+ (list julia-offsetarrays
+ julia-unitful))
(home-page "http://juliaarrays.github.io/AxisArrays.jl/latest/")
(synopsis "Arrays where each dimension can have a named axis with values")
(description "This package for the Julia language provides an array type
@@ -276,7 +309,8 @@ axes, allowing column names or interval selections.")
(base32 "0rlfj9gr9ss621v5kw5b06206yaak21s2vq9vk7r8a7p2ylncism"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-arraylayouts julia-fillarrays))
+ (list julia-arraylayouts
+ julia-fillarrays))
(native-inputs
(list julia-genericlinearalgebra))
(home-page "https://github.com/JuliaMatrices/BandedMatrices.jl")
@@ -318,7 +352,8 @@ the entries on the bands.")
(("@test @ballocated\\(Ref\\(1\\)\\)")
"@test_broken @ballocated(Ref(1))"))))))
'(%standard-phases))))
- (propagated-inputs (list julia-json))
+ (propagated-inputs
+ (list julia-json))
(home-page "https://github.com/JuliaCI/BenchmarkTools.jl")
(synopsis "Benchmarking framework for the Julia language")
(description "@code{BenchmarkTools.jl} makes performance tracking of Julia
@@ -326,6 +361,129 @@ code easy by supplying a framework for writing and running groups of
benchmarks as well as comparing benchmark results.")
(license license:expat)))
+(define-public julia-bioalignments
+ (package
+ (name "julia-bioalignments")
+ (version "2.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/BioJulia/BioAlignments.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1wf6qgsada59r2fykxfj9hcr635wl8maqxbd3w8qpa01k9glxa0k"))))
+ (build-system julia-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'skip-test
+ (lambda _
+ ;; Test fails because an unexpected type representation from
+ ;; BioSequences. The aligned value is correct though.
+ (substitute* "test/runtests.jl"
+ (("@test sprint\\(show, aln\\)")
+ "@test_broken sprint(show, aln)")))))))
+ (propagated-inputs
+ (list julia-biogenerics
+ julia-biosequences
+ julia-biosymbols
+ julia-intervaltrees))
+ (home-page "https://github.com/BioJulia/BioAlignments.jl")
+ (synopsis "Sequence alignment algorithm and data structures")
+ (description "This package provides alignment algorithms and data
+structures for sequence of DNA, RNA, and amino acid sequences.")
+ (license license:expat)))
+
+(define-public julia-biogenerics
+ ;; No upstream release
+ (let ((commit "a75abaf459250e2b5e22b4d9adf25fd36d2acab6")
+ (revision "1"))
+ (package
+ (name "julia-biogenerics")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/BioJulia/BioGenerics.jl")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "17d222vi9nssjwr5l349fss7jnglnjimp1z62kmfmxa4fsn8lk8l"))))
+ (build-system julia-build-system)
+ (inputs
+ (list julia-transcodingstreams))
+ (home-page "https://github.com/BioJulia/BioGenerics.jl")
+ (synopsis "Generic methods used by BioJulia packages")
+ (description "This package provides generic methods and modules used in
+many of the other BioJulia packages. This package defines IO, exceptions, and
+other types or methods used by other BioJulia packages.")
+ (license license:expat))))
+
+(define-public julia-biosequences
+ (package
+ (name "julia-biosequences")
+ (version "2.0.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/BioJulia/BioSequences.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0ns6zk0zvnsf4hlsys9ck2xrn20qck0b0aghh484vc6n458zq2gw"))))
+ (build-system julia-build-system)
+ (propagated-inputs
+ (list julia-biogenerics
+ julia-biosymbols
+ julia-combinatorics
+ julia-indexablebitvectors
+ julia-stablerngs
+ julia-twiddle))
+ (native-inputs
+ (list julia-statsbase
+ julia-yaml))
+ (home-page "https://biojulia.net/BioSequences.jl/stable/")
+ (synopsis "Data types and methods for common operations with biological sequences")
+ (description "This package provides Data types and methods for common
+operations with biological sequences, including DNA, RNA, and amino acid
+sequences.")
+ (license license:expat)))
+
+(define-public julia-biosymbols
+ (package
+ (name "julia-biosymbols")
+ ;; Older release for compatibility with julia-biosequences.
+ (version "4.0.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/BioJulia/BioSymbols.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1222rwdndi777lai8a6dwrh35i5rgmj75kcrhn8si72sxgz0syjm"))))
+ (build-system julia-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'adjust-tests
+ (lambda _
+ (substitute* "test/runtests.jl"
+ (("\\@testset \\\"Range.*" all)
+ (string-append all " return\n"))))))))
+ (propagated-inputs
+ (list julia-automa))
+ (home-page "https://github.com/BioJulia/BioSymbols.jl")
+ (synopsis "Primitive types for nucleic acids and amino acids")
+ (description "This package defines the primitive types for nucleic acids
+and amino acids that are used ny otherBioJulia packages.")
+ (license license:expat)))
+
(define-public julia-blockarrays
(package
(name "julia-blockarrays")
@@ -350,9 +508,12 @@ benchmarks as well as comparing benchmark results.")
(substitute* "test/test_blockarrays.jl"
(("Int64") "Int32")))))))))
(propagated-inputs
- (list julia-arraylayouts julia-fillarrays))
+ (list julia-arraylayouts
+ julia-fillarrays))
(native-inputs
- (list julia-lazyarrays julia-offsetarrays julia-staticarrays))
+ (list julia-lazyarrays
+ julia-offsetarrays
+ julia-staticarrays))
(home-page "https://github.com/JuliaArrays/BlockArrays.jl")
(synopsis "BlockArrays for Julia")
(description "A block array is a partition of an array into blocks or
@@ -383,8 +544,11 @@ access to the full matrix to use in in for example a linear solver.")
(base32 "10n1r6kmmv2wa307jfg9y2m6p16j8hngjp3fjavpbdy1r5haasm9"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-arraylayouts julia-bandedmatrices julia-blockarrays
- julia-fillarrays julia-matrixfactorizations))
+ (list julia-arraylayouts
+ julia-bandedmatrices
+ julia-blockarrays
+ julia-fillarrays
+ julia-matrixfactorizations))
(home-page "https://github.com/JuliaMatrices/BlockBandedMatrices.jl")
(synopsis "Block-banded matrices and banded-block-banded matrices")
(description "This package supports representing block-banded and
@@ -437,7 +601,8 @@ structures.")
'(#:tests? #f
#:julia-package-name "BufferedStreams"
#:julia-package-uuid "e1450e63-4bb3-523b-b2a4-4ffa8c0fd77d"))
- (propagated-inputs (list julia-compat))
+ (propagated-inputs
+ (list julia-compat))
(home-page "https://github.com/BioJulia/BufferedStreams.jl")
(synopsis "Fast composable IO streams")
(description "@code{BufferedStreams.jl} provides buffering for IO
@@ -514,10 +679,14 @@ variables, both with unordered (nominal variables) and ordered categories
(base32 "0if93pd3b3scg2x3gmk1cbwjk0ax1n792vy8c38y3xl7jpd5cb70"))))
(build-system julia-build-system)
(inputs ;required for test
- (list julia-chainrulestestutils julia-finitedifferences julia-nanmath
+ (list julia-chainrulestestutils
+ julia-finitedifferences
+ julia-nanmath
julia-specialfunctions))
(propagated-inputs
- (list julia-chainrulescore julia-compat julia-reexport
+ (list julia-chainrulescore
+ julia-compat
+ julia-reexport
julia-requires))
(home-page "https://github.com/JuliaDiff/ChainRules.jl")
(synopsis "Common utilities for automatic differentiation")
@@ -541,7 +710,8 @@ execute forward-, reverse-, and mixed-mode primitives.")
(base32 "1866xv30h1bi7f2m993nljzf58wwmv8zlgn6ffn9j3wckch1nfpb"))))
(build-system julia-build-system)
(inputs ;required for tests
- (list julia-benchmarktools julia-staticarrays))
+ (list julia-benchmarktools
+ julia-staticarrays))
(propagated-inputs
(list julia-compat))
(home-page "https://github.com/JuliaDiff/ChainRulesCore.jl")
@@ -565,7 +735,9 @@ sensitivities for functions without the need to depend on ChainRules itself.")
(base32 "1vlkyp72d514gyb4k3yhjl1g7f24ncmz61j56p4sdi9f76rk9fx9"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-chainrulescore julia-compat julia-finitedifferences))
+ (list julia-chainrulescore
+ julia-compat
+ julia-finitedifferences))
(home-page "https://github.com/JuliaDiff/ChainRulesTestUtils.jl")
(synopsis "Common utilities used by downstream automatic differentiation tools")
(description "This package is designed to help in testing
@@ -604,7 +776,8 @@ dependencies, while keeping @code{ChainRulesCore.jl} as light-weight as possible
(find-files out "\\.gz$"))
#t))))))
(propagated-inputs
- (list julia-zlib-jll julia-transcodingstreams))
+ (list julia-transcodingstreams
+ julia-zlib-jll))
(home-page "https://github.com/JuliaIO/CodecZlib.jl")
(synopsis "Zlib codecs for @code{TranscodingStreams.jl}")
(description "This package provides zlib codecs for
@@ -626,7 +799,9 @@ dependencies, while keeping @code{ChainRulesCore.jl} as light-weight as possible
(base32 "0kx3hq7rf8p5zx6ly9k5j90zijmc7yrwmy96cgkl2ibdfbnhmya3"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-colortypes julia-fixedpointnumbers julia-reexport))
+ (list julia-colortypes
+ julia-fixedpointnumbers
+ julia-reexport))
(home-page "https://github.com/JuliaGraphics/Colors.jl")
(synopsis "Tools for dealing with color")
(description "This package provides a wide array of functions for dealing
@@ -650,7 +825,9 @@ color scales for graphics.")
(base32 "0kpjhmqd5cj8dh8bmh9b5g6bscyp7h23hzpr2s93pnrp57q1wvhq"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-colors julia-colortypes julia-fixedpointnumbers
+ (list julia-colors
+ julia-colortypes
+ julia-fixedpointnumbers
julia-staticarrays))
(home-page "https://github.com/JuliaGraphics/ColorSchemes.jl")
(synopsis "Colorschemes, colormaps, gradients, and palettes")
@@ -698,7 +875,9 @@ with.")
(base32 "02gk7f5g5wjxdasbjf8bvv1m7clksh7mw1xmygjdirjz1q0d6dwi"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-colortypes julia-specialfunctions julia-tensorcore))
+ (list julia-colortypes
+ julia-specialfunctions
+ julia-tensorcore))
(native-inputs
(list julia-colors))
(home-page "https://github.com/JuliaGraphics/ColorVectorSpace.jl")
@@ -810,7 +989,9 @@ way.")
(substitute* "test/runtests.jl"
(("Int64") "Int32")))))))))
(propagated-inputs
- (list julia-crayons julia-expronicon julia-orderedcollections))
+ (list julia-crayons
+ julia-expronicon
+ julia-orderedcollections))
(home-page "https://configurations.rogerluo.dev/stable/")
(synopsis "Tools for options and configurations in Julia")
(description "@code{Configurations.jl} provides a macro @code{@@option} to
@@ -855,7 +1036,9 @@ for construction of objects.")
(propagated-inputs
(list julia-staticarrays))
(native-inputs
- (list julia-documenter julia-forwarddiff julia-unitful))
+ (list julia-documenter
+ julia-forwarddiff
+ julia-unitful))
(home-page "https://github.com/JuliaGeometry/CoordinateTransformations.jl")
(synopsis "Coordinate transformations in Julia")
(description "@code{CoordinateTransformations} is a Julia package to manage
@@ -985,7 +1168,8 @@ Julia from R or Python.")
(sha256
(base32 "0hdqp8ipsqdw5bqqkdvz4j6n67x80sj5azr9vzyxwjfsgkfbnk2l"))))
(propagated-inputs
- (list julia-compat julia-orderedcollections))
+ (list julia-compat
+ julia-orderedcollections))
(build-system julia-build-system)
(arguments
`(#:phases
@@ -1136,7 +1320,8 @@ dictionaries in Julia, for improved productivity and performance.")
(propagated-inputs
(list julia-statsapi))
(native-inputs
- (list julia-offsetarrays julia-unitful))
+ (list julia-offsetarrays
+ julia-unitful))
(home-page "https://github.com/JuliaStats/Distances.jl")
(synopsis "Julia package for evaluating distances (metrics) between vectors")
(description "A Julia package for evaluating distances(metrics) between
@@ -1193,9 +1378,8 @@ valuable enough at this time.")
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "src/Deps.jl"
(("pip install")
- (string-append (assoc-ref inputs "python")
- "/bin/pip install")))
- #t))
+ (string-append (search-input-file inputs "bin/pip")
+ " install")))))
(add-after 'link-depot 'remove-javascript-downloads
(lambda _
(substitute* "src/Writers/HTMLWriter.jl"
@@ -1203,17 +1387,18 @@ valuable enough at this time.")
;; Removing the javascript downloads causes these tests fail.
(substitute* "test/examples/tests.jl"
((".*Main\\.examples_html_doc.*") "")
- ((".*Main\\.examples_html_mathjax3_doc.*") ""))
- #t)))))
+ ((".*Main\\.examples_html_mathjax3_doc.*") "")))))))
(propagated-inputs
- (list julia-ansicoloredprinters julia-docstringextensions
- julia-iocapture julia-json))
+ (list julia-ansicoloredprinters
+ julia-docstringextensions
+ julia-iocapture
+ julia-json))
(inputs
- `(("python" ,python-wrapper)))
+ (list python-wrapper))
(native-inputs
- `(("git" ,git-minimal)
- ("julia-documentermarkdown" ,julia-documentermarkdown)
- ("julia-documentertools" ,julia-documentertools)))
+ (list git-minimal
+ julia-documentermarkdown
+ julia-documentertools))
(home-page "https://juliadocs.github.io/Documenter.jl")
(synopsis "Documentation generator for Julia")
(description "This package provides a documentation generator for Julia.")
@@ -1276,9 +1461,11 @@ valuable enough at this time.")
(inputs
;; We don't want to propagate the bootstrap version.
;; Cycle with Documenter.jl in later versions.
- `(("julia-documenter" ,julia-documenter-bootstrap)))
+ (list julia-documenter-bootstrap))
(propagated-inputs
- (list julia-docstringextensions julia-gumbo julia-sass))
+ (list julia-docstringextensions
+ julia-gumbo
+ julia-sass))
(native-inputs
(list julia-example))
(home-page "https://github.com/JuliaDocs/DocumenterTools.jl")
@@ -1300,9 +1487,9 @@ generation with @code{Documenter.jl}.")
(file-name (git-file-name name version))
(sha256
(base32 "1w6p3yxajvclax5b9g7cr2jmbc7lvr5nk4gq0aljxdycdq1d2y3v"))))
+ (build-system julia-build-system)
(propagated-inputs
(list julia-staticarrays))
- (build-system julia-build-system)
(home-page "https://github.com/JuliaDiff/DiffResults.jl")
(synopsis "In-place differentiation methods of primal values at multi-order")
(description "This package provides the @code{DiffResult} type, which can
@@ -1322,9 +1509,10 @@ be passed to in-place differentiation methods instead of an output buffer.")
(file-name (git-file-name name version))
(sha256
(base32 "0cwjvj4gma7924fm3yas0nf0jlnwwx4v7fi79ii3s290lkdldzfl"))))
- (propagated-inputs
- (list julia-nanmath julia-specialfunctions))
(build-system julia-build-system)
+ (propagated-inputs
+ (list julia-nanmath
+ julia-specialfunctions))
(home-page "https://github.com/JuliaDiff/DiffRules.jl")
(synopsis "Primitive differentiation rules")
(description "This package provides primitive differentiation rules that
@@ -1376,7 +1564,9 @@ stressing the robustness of differentiation tools.")
;; Seems to not play nicely with SpecialFunctions
((".*isempty.*") "")))))))
(propagated-inputs
- (list julia-calculus julia-nanmath julia-specialfunctions))
+ (list julia-calculus
+ julia-nanmath
+ julia-specialfunctions))
(home-page "https://github.com/JuliaDiff/DualNumbers.jl")
(synopsis "Represent dual numbers and for perform dual algebra")
(description "The @code{DualNumbers} Julia package defines the @code{Dual}
@@ -1506,7 +1696,8 @@ performant tooling without requiring additional package dependencies.")
(base32 "1ldxbp0kq3ip67x7sp82dz56aq4p5i0chspbgx2zgskr6jcbjj1b"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-ffmpeg-jll julia-x264-jll))
+ (list julia-ffmpeg-jll
+ julia-x264-jll))
(home-page "https://github.com/JuliaIO/FFMPEG.jl")
(synopsis "Julia Package for ffmpeg")
(description "This package is made to be included into packages that just
@@ -1552,7 +1743,9 @@ need the ffmpeg binaries + executables, and don't want the overhead of
(propagated-inputs
(list julia-requires))
(native-inputs
- (list julia-colortypes julia-filepathsbase julia-http))
+ (list julia-colortypes
+ julia-filepathsbase
+ julia-http))
(home-page "https://github.com/JuliaIO/FileIO.jl")
(synopsis "Main Package for IO, loading all different kind of files")
(description "@code{FileIO} aims to provide a common framework for detecting
@@ -1632,9 +1825,12 @@ following types: @code{Eye}, @code{Fill}, @code{Ones}, @code{Zeros},
(setenv "GROUP" "Core")
#t)))))
(propagated-inputs
- (list julia-arrayinterface julia-requires julia-staticarrays))
+ (list julia-arrayinterface
+ julia-requires
+ julia-staticarrays))
(native-inputs
- (list julia-bandedmatrices julia-blockbandedmatrices
+ (list julia-bandedmatrices
+ julia-blockbandedmatrices
julia-safetestsets))
(home-page "https://github.com/JuliaDiff/FiniteDiff.jl")
(synopsis "Calculations of gradients, Jacobians, and Hessians")
@@ -1672,7 +1868,9 @@ types and sparsity.")
(inputs
(list julia-benchmarktools))
(propagated-inputs
- (list julia-chainrulescore julia-richardson julia-staticarrays))
+ (list julia-chainrulescore
+ julia-richardson
+ julia-staticarrays))
(home-page "https://github.com/JuliaDiff/FiniteDifferences.jl")
(synopsis "Estimates derivatives with finite differences")
(description "This package calculates approximate derivatives numerically
@@ -1702,7 +1900,8 @@ using finite difference.")
;; A deprecation warning is not thrown
(("@test_logs.*:warn" all) (string-append "# " all)))
#t)))))
- (propagated-inputs (list julia-compat))
+ (propagated-inputs
+ (list julia-compat))
(home-page "https://github.com/JuliaMath/FixedPointNumbers.jl")
(synopsis "Fixed point types for Julia")
(description "@code{FixedPointNumbers.jl} implements fixed-point number
@@ -1755,7 +1954,8 @@ c-style numerical formatting.")
;; Disable as stopgap.
`(#:tests? ,(not (target-x86-32?))))
(inputs ;required for tests
- (list julia-calculus julia-difftests))
+ (list julia-calculus
+ julia-difftests))
(propagated-inputs
(list julia-commonsubexpressions
julia-diffresults
@@ -1953,7 +2153,9 @@ matrices the Schur form is often more useful.")
(substitute* "test/runtests.jl"
(("Int64") "Int32")))))))))
(propagated-inputs
- (list julia-itertools julia-staticarrays julia-structarrays
+ (list julia-itertools
+ julia-staticarrays
+ julia-structarrays
julia-tables))
(native-inputs
(list julia-offsetarrays))
@@ -2003,7 +2205,8 @@ visualisation applications.")
(base32 "10h1s09v7qkvrjr6l678zamb1p248n8jv4rrwkf8g7d2bpfz9amn"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-colors julia-nanmath))
+ (list julia-colors
+ julia-nanmath))
(home-page "https://github.com/JuliaGraphics/Graphics.jl")
(synopsis "Base graphics in Julia")
(description "@code{Graphics.jl} is an abstraction layer for graphical
@@ -2025,7 +2228,8 @@ operations in Julia.")
(base32 "1g22dv3v7caakspv3pdahnqn937fzzsg9y87rj72hid9g8lxl1gm"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-abstracttrees julia-gumbo-jll))
+ (list julia-abstracttrees
+ julia-gumbo-jll))
(home-page "https://github.com/JuliaWeb/Gumbo.jl")
(synopsis "Julia wrapper around Google's gumbo C library for parsing HTML")
(description "@code{Gumbo.jl} is a Julia wrapper around Google's gumbo
@@ -2077,10 +2281,13 @@ library for parsing HTML.")
(string-append all "return\n")))
#t)))))
(propagated-inputs
- (list julia-inifile julia-mbedtls julia-uris))
+ (list julia-inifile
+ julia-mbedtls
+ julia-uris))
;; required for tests
(inputs
- (list julia-json julia-bufferedstreams))
+ (list julia-json
+ julia-bufferedstreams))
(home-page "https://juliaweb.github.io/HTTP.jl/")
(synopsis "HTTP support for Julia")
(description "@code{HTTP.jl} is a Julia library for HTTP Messages,
@@ -2148,7 +2355,9 @@ conditional ifelse. It is similar to @code{Core.ifelse} but it is extendable.")
(base32 "15zqxani1jjh8849s7rdps6b6prqdwv8yxx893y536vkpk7i07qd"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-axisarrays julia-imagecore julia-reexport
+ (list julia-axisarrays
+ julia-imagecore
+ julia-reexport
julia-simpletraits))
(native-inputs
(list julia-unitful))
@@ -2176,7 +2385,8 @@ such arrays easy via traits.")
(arguments
`(#:tests? #f)) ; Cycle with ImageMagick.jl.
(propagated-inputs
- (list julia-imagecore julia-reexport))
+ (list julia-imagecore
+ julia-reexport))
;(native-inputs
; `(("julia-imagemagick" ,julia-imagemagick)
; ("julia-offsetarrays" ,julia-offsetarrays)
@@ -2248,7 +2458,10 @@ of packages designed to support image processing and computer vision.")
(arguments
`(#:tests? #f)) ; Cycle with ReferenceTests.jl.
(propagated-inputs
- (list julia-crayons julia-imagebase julia-imagecore julia-requires))
+ (list julia-crayons
+ julia-imagebase
+ julia-imagecore
+ julia-requires))
;(native-inputs
; `(("julia-coordinatetransformations" ,julia-coordinatetransformations)
; ("julia-imagemagick" ,julia-imagemagick)
@@ -2294,7 +2507,9 @@ be downscaled to fit into the size of your active terminal session.")
(("test (B == map)" _ test) (string-append "test_nowarn " test)))
#t)))))
(propagated-inputs
- (list julia-fileio julia-imagecore julia-imagemagick-jll))
+ (list julia-fileio
+ julia-imagecore
+ julia-imagemagick-jll))
(native-inputs
(list julia-colors
julia-colorvectorspace
@@ -2325,10 +2540,14 @@ It was split off from @code{Images.jl} to make image I/O more modular.")
(base32 "0iv154ms370xgcr56bwsjl13iwmy671cbxjl9ld5yfj85pclcwi1"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-axisarrays julia-imageaxes julia-imagecore
+ (list julia-axisarrays
+ julia-imageaxes
+ julia-imagecore
julia-indirectarrays))
(native-inputs
- (list julia-offsetarrays julia-simpletraits julia-unitful))
+ (list julia-offsetarrays
+ julia-simpletraits
+ julia-unitful))
(home-page "https://github.com/JuliaImages/ImageMetadata.jl")
(synopsis "Julia package for images having metadata")
(description "@code{ImageMetadata} is a simple package providing utilities
@@ -2355,8 +2574,11 @@ information about the detector used to acquire the image.")
(arguments
`(#:tests? #f)) ; cycle with ImageMagick.jl.
(propagated-inputs
- (list julia-fileio julia-imagebase julia-imagecore
- julia-offsetarrays julia-stackviews))
+ (list julia-fileio
+ julia-imagebase
+ julia-imagecore
+ julia-offsetarrays
+ julia-stackviews))
;(native-inputs
; `(("julia-imagedistances" ,julia-imagedistances)
; ("julia-imagemagick" ,julia-imagemagick)
@@ -2406,6 +2628,39 @@ inline presentation of greyscale or color images.")
rotation, and other spatial transformations of arrays.")
(license license:expat)))
+(define-public julia-indexablebitvectors
+ (package
+ (name "julia-indexablebitvectors")
+ (version "1.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/BioJulia/IndexableBitVectors.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1khaycydwa31sxwvrrvvlylpzdb77kkxfmb8cax3i22ix0c2nmlc"))))
+ (build-system julia-build-system)
+ ;; Package without Project.toml
+ (arguments
+ '(#:julia-package-name "IndexableBitVectors"
+ #:julia-package-uuid "1cb3b9ac-1ffd-5777-9e6b-a3d42300664d"))
+ (home-page "https://github.com/BioJulia/IndexableBitVectors.jl")
+ (synopsis "Bit vectors operations with extremely fast speed")
+ (description "This package exports following operations over bit vectors
+with extremely fast speed while keeping extra memory usage small:
+@itemize
+@item @code{getindex(bv::IndexableBitVectors, i::Integer)}: @code{i}-th
+element of @code{bv}
+@item @code{rank(b::Bool, bv::AbstractIndexableBitVector, i::Integer)}: the
+number of occurrences of bit @code{b} in @code{bv[1:i]}
+@item @code{select(b::Bool, bv::AbstractIndexableBitVector, i::Integer)}: the
+index of i-th occurrence of @code{b} in @code{bv}.
+@end itemize
+and other shortcuts or types.")
+ (license license:expat)))
+
(define-public julia-indexing
(package
(name "julia-indexing")
@@ -2442,7 +2697,9 @@ out of dictionaries, tuples, etc, extending this ability beyond
(base32 "0l0jq0jnr9z3k431ni82xycq7mqapgxrbrx4yyk6lycvi41ipm4s"))))
(build-system julia-build-system)
(native-inputs
- (list julia-colors julia-fixedpointnumbers julia-mappedarrays))
+ (list julia-colors
+ julia-fixedpointnumbers
+ julia-mappedarrays))
(home-page "https://github.com/JuliaArrays/IndirectArrays.jl")
(synopsis "Julia implementation of indexed arrays")
(description "An @code{IndirectArray} is one that encodes data using a
@@ -2534,7 +2791,9 @@ interfaces with @file{.ini} files.")
julia-staticarrays
julia-woodburymatrices))
(native-inputs
- (list julia-dualnumbers julia-forwarddiff julia-offsetarrays
+ (list julia-dualnumbers
+ julia-forwarddiff
+ julia-offsetarrays
julia-unitful julia-zygote))
(home-page "https://github.com/JuliaMath/Interpolations.jl")
(synopsis "Continuous interpolation of discrete datasets")
@@ -2583,6 +2842,31 @@ encourage type-piracy for the reason that only one interval package can
unambiguously define the @code{..} and @code{±} operators.")
(license license:expat)))
+(define-public julia-intervaltrees
+ ;; Last upstream release on May 2020 and this last release does not contain
+ ;; the file Project.toml.
+ (let ((commit "e37edab61568d08141a3e9c25ec55caac21e5aa5")
+ (revision "1"))
+ (package
+ (name "julia-intervaltrees")
+ (version (git-version "1.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/BioJulia/IntervalTrees.jl")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "01x48a5zrx0833s1kjhf0ml4x9xz8xja4ymran770akmf6968yl9"))))
+ (build-system julia-build-system)
+ (home-page "https://github.com/BioJulia/IntervalTrees.jl")
+ (synopsis "Interval Trees for Julia")
+ (description "This package provides an implementation of an associative
+container mapping @code{(K,V)} pairs via the type @code{IntervalTree{K, V}}.
+The type @code{K} may be any ordered type.")
+ (license license:expat))))
+
(define-public julia-invertedindices
(package
(name "julia-invertedindices")
@@ -2727,7 +3011,9 @@ extensions to the iterator interface.")
(base32 "1f9k613kbknmp4fgjxvjaw4d5sfbx8a5hmcszmp1w9rqfqngjx9m"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-datastructures julia-fixedpointnumbers julia-parsers
+ (list julia-datastructures
+ julia-fixedpointnumbers
+ julia-parsers
julia-offsetarrays))
(home-page "https://github.com/JuliaIO/JSON.jl")
(synopsis "JSON parsing and printing library for Julia")
@@ -2750,7 +3036,8 @@ and printing JSON documents.")
(base32 "11z5maz7v50wd99id8z7838higza0cllh2amkdkrlskbri3v2f17"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-parsers julia-structtypes))
+ (list julia-parsers
+ julia-structtypes))
(home-page "https://github.com/quinnj/JSON3.jl")
(synopsis "JSON package for Julia")
(description "This package provides another JSON package for Julia, with a
@@ -2803,8 +3090,11 @@ equations in string literals in the Julia language.")
(substitute* "test/multests.jl"
(("Int64") "Int32")))))))))
(propagated-inputs
- (list julia-arraylayouts julia-fillarrays julia-macrotools
- julia-matrixfactorizations julia-staticarrays))
+ (list julia-arraylayouts
+ julia-fillarrays
+ julia-macrotools
+ julia-matrixfactorizations
+ julia-staticarrays))
(native-inputs
(list julia-tracker))
(home-page "https://github.com/JuliaArrays/LazyArrays.jl")
@@ -2887,7 +3177,9 @@ that let you do deep transformations of code.")
(propagated-inputs
(list julia-fixedpointnumbers))
(native-inputs
- (list julia-colortypes julia-fixedpointnumbers julia-offsetarrays))
+ (list julia-colortypes
+ julia-fixedpointnumbers
+ julia-offsetarrays))
(home-page "https://github.com/JuliaArrays/MappedArrays.jl")
(synopsis "Lazy in-place transformations of arrays")
(description "This package implements \"lazy\" in-place elementwise
@@ -2956,7 +3248,8 @@ may include other factorizations such as the LQ factorization.")
(substitute* "test/runtests.jl"
(("testhost =") "return #"))
#t)))))
- (propagated-inputs (list julia-mbedtls-jll))
+ (propagated-inputs
+ (list julia-mbedtls-jll))
(home-page "https://github.com/JuliaLang/MbedTLS.jl")
(synopsis "Apache's mbed TLS library wrapper")
(description "@code{MbedTLS.jl} provides a wrapper around the @code{mbed
@@ -2978,9 +3271,13 @@ TLS} and cryptography C library for Julia.")
(base32 "05p3f0gr4sv4maq8cix5fi8ldq0zagswqsd43xn6fhy046f936mz"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-calculus julia-recipesbase julia-requires))
+ (list julia-calculus
+ julia-recipesbase
+ julia-requires))
(native-inputs
- (list julia-quadgk julia-specialfunctions julia-unitful))
+ (list julia-quadgk
+ julia-specialfunctions
+ julia-unitful))
(home-page "https://juliaphysics.github.io/Measurements.jl/stable/")
(synopsis "Error propagation calculator and library")
(description "@code{Measurements.jl} is an error propagation calculator and
@@ -3121,7 +3418,8 @@ programming infrastructures, and metaprogramming facilities.")
(base32 "1cg2is83bjmrchmmxcgx57k8c9b9vlamrw38v4fdhbb6d4six5cg"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-compat julia-exprtools))
+ (list julia-compat
+ julia-exprtools))
(home-page "https://github.com/invenia/Mocking.jl")
(synopsis "Overload Julia function calls")
(description "The purpose of this package is to allow Julia function calls
@@ -3145,7 +3443,9 @@ to be temporarily overloaded for the purpose of testing.")
(arguments
`(#:tests? #f)) ; Cycle with ImageCore.jl
(propagated-inputs
- (list julia-mappedarrays julia-paddedviews julia-stackviews))
+ (list julia-mappedarrays
+ julia-paddedviews
+ julia-stackviews))
;(native-inputs
; `(("julia-colorvectorspace" ,julia-colorvectorspace)
; ("julia-imagecore" ,julia-imagecore)))
@@ -3255,9 +3555,12 @@ still being completely generic
(base32 "0n8qh5a2ghjx1j70zxn0hmh8gzpa46kmjg8di879y9974bfk0f98"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-diffresults julia-finitediff julia-forwarddiff))
+ (list julia-diffresults
+ julia-finitediff
+ julia-forwarddiff))
(native-inputs
- (list julia-optimtestproblems julia-recursivearraytools))
+ (list julia-optimtestproblems
+ julia-recursivearraytools))
(home-page "https://github.com/JuliaNLSolvers/NLSolversBase.jl")
(synopsis "Optimization and equation solver software in JuliaNLSolvers")
(description "This package aims at establishing common ground for Optim.jl,
@@ -3290,9 +3593,13 @@ interface to interact with these types.")
(("&& CUDA\\.functional\\(\\)") ""))
(setenv "NNLIB_TEST_CUDA" "false"))))))
(propagated-inputs
- (list julia-adapt julia-chainrulescore julia-requires))
+ (list julia-adapt
+ julia-chainrulescore
+ julia-requires))
(native-inputs
- (list julia-chainrulestestutils julia-stablerngs julia-zygote))
+ (list julia-chainrulestestutils
+ julia-stablerngs
+ julia-zygote))
(home-page "https://github.com/FluxML/NNlib.jl")
(synopsis "Neural Network primitives with multiple backends")
(description "This package will provide a library of functions useful for
@@ -3412,7 +3719,8 @@ Multiple arrays may be \"promoted\" to have common indices using the
(base32 "0b8lawi7kcws4axfsdf023gyxca15irl648ciyi1kw3wghz3pfi2"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-orderedcollections julia-unpack))
+ (list julia-orderedcollections
+ julia-unpack))
(home-page "https://github.com/mauro3/Parameters.jl")
(synopsis "Numerical-model parameter helpers")
(description "This package contains types with default field values, keyword
@@ -3480,7 +3788,8 @@ actual computation.")
(base32 "1fd27w9z1vhz0d1bzrs5vcavpb5r5jviyh27d9c4ka37phz4xvmh"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-plotutils julia-requires))
+ (list julia-plotutils
+ julia-requires))
(home-page "https://github.com/JuliaPlots/PlotThemes.jl")
(synopsis "Themes for the Julia plotting package Plots.jl")
(description
@@ -3502,7 +3811,9 @@ actual computation.")
(base32 "12aw5gkkcfhpczv2w510k65w1j0hjnh825ihimi223v8plsi5105"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-colors julia-colorschemes julia-reexport))
+ (list julia-colors
+ julia-colorschemes
+ julia-reexport))
(native-inputs
(list julia-stablerngs))
(home-page "https://github.com/JuliaPlots/PlotUtils.jl")
@@ -3548,7 +3859,8 @@ purposes of compression when there are few unique elements.")
(base32 "1wxy6ak7f3hvibcgc8q88cgkf9zvi649mmjy1zlkx1qk80hgvz23"))))
(build-system julia-build-system)
(native-inputs
- (list julia-forwarddiff julia-reversediff))
+ (list julia-forwarddiff
+ julia-reversediff))
(home-page "https://github.com/timholy/PositiveFactorizations.jl")
(synopsis "Positive-definite \"approximations\" to matrices")
(description "@code{PositiveFactorizations} is a package for computing a
@@ -3607,7 +3919,10 @@ everything from run time algorithm choice to code generation at compile time.")
((".*colors\\.jl.*") ""))
#t)))))
(propagated-inputs
- (list julia-crayons julia-formatting julia-reexport julia-tables))
+ (list julia-crayons
+ julia-formatting
+ julia-reexport
+ julia-tables))
(home-page "https://github.com/ronisbr/PrettyTables.jl")
(synopsis "Print data in formatted tables")
(description "This package has the purpose to print data in matrices in a
@@ -3674,7 +3989,8 @@ human-readable format.")
(setenv "JULIA_PKGEVAL" "true")
#t)))))
(propagated-inputs
- (list julia-macrotools julia-versionparsing))
+ (list julia-macrotools
+ julia-versionparsing))
(inputs
(list python))
(native-inputs
@@ -3817,7 +4133,8 @@ extension of complex numbers.")
(base32 "06zm4cbn3x49lbpgshhdfvvmgz066qkc8q0d57igm5p8bcp6js22"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-datastructures julia-iteratorinterfaceextensions
+ (list julia-datastructures
+ julia-iteratorinterfaceextensions
julia-tableshowutils))
(home-page "https://github.com/queryverse/QueryOperators.jl")
(synopsis "Query operators for Julia")
@@ -3907,7 +4224,9 @@ more complex visualizations.")
(arguments
`(#:tests? #f)) ; Cycle with Plots.jl.
(propagated-inputs
- (list julia-nanmath julia-plotutils julia-recipesbase))
+ (list julia-nanmath
+ julia-plotutils
+ julia-recipesbase))
(home-page "http://juliaplots.org/RecipesPipeline.jl/dev/")
(synopsis "Utilities for processing recipes")
(description "This package was factored out of @code{Plots.jl} to allow any
@@ -3990,7 +4309,10 @@ recursive arrays like arrays of arrays.")
(arguments
`(#:tests? #f)) ; Cycle with ImageCore.jl through ImageMagick.jl.
(propagated-inputs
- (list julia-deepdiffs julia-distances julia-fileio julia-imagecore
+ (list julia-deepdiffs
+ julia-distances
+ julia-fileio
+ julia-imagecore
julia-imageinterminal))
;(native-inputs
; `(("julia-csvfiles" ,julia-csvfiles)
@@ -4066,7 +4388,8 @@ can be avoided.")
julia-specialfunctions
julia-staticarrays))
(native-inputs
- (list julia-difftests julia-fillarrays))
+ (list julia-difftests
+ julia-fillarrays))
(home-page "https://github.com/JuliaDiff/ReverseDiff.jl")
(synopsis "Reverse Mode Automatic Differentiation for Julia")
(description "@code{ReverseDiff.jl} is a fast and compile-able tape-based
@@ -4122,7 +4445,9 @@ other power series in @code{h}.")
(propagated-inputs
(list julia-staticarrays))
(native-inputs
- (list julia-benchmarktools julia-forwarddiff julia-unitful))
+ (list julia-benchmarktools
+ julia-forwarddiff
+ julia-unitful))
(home-page "https://github.com/JuliaGeometry/Rotations.jl")
(synopsis "Julia implementations for different rotation parameterisations")
(description "This package implements various 3D rotation parameterizations
@@ -4182,6 +4507,29 @@ a loadable module.")
@code{libsass} library to compile scss and sass files to css.")
(license license:expat)))
+(define-public julia-scanbyte
+ (package
+ (name "julia-scanbyte")
+ (version "0.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jakobnissen/ScanByte.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0dqqa3d7c87358144pji6ik8xlki2hj0hkvjs72j5aypfms8rwn3"))))
+ (build-system julia-build-system)
+ (propagated-inputs
+ (list julia-simd))
+ (home-page "https://github.com/jakobnissen/ScanByte.jl")
+ (synopsis "Find the first occurrence of set of bytes in a chunk of memory")
+ (description "This package finds the first occurrence of a byte or set of
+bytes in a chunk of memory. Think of it like a much faster version of
+@code{findfirst} that only iterates over bytes in memory.")
+ (license license:expat)))
+
(define-public julia-scratch
(package
(name "julia-scratch")
@@ -4231,6 +4579,31 @@ formatting an array of n things, e.g. numbers, dates, unitful values. It's used
in @code{Gadfly}, @code{Plots} and @code{Makie} to label axes and keys.")
(license license:expat)))
+(define-public julia-simd
+ (package
+ (name "julia-simd")
+ (version "3.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/eschnett/SIMD.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0z7m5fykc6r4bxz4hfm6d3v1h7gg0c322l4zv8r3vrb8hrd6h263"))))
+ (build-system julia-build-system)
+ (home-page "https://github.com/eschnett/SIMD.jl")
+ (synopsis "Explicit SIMD vectorization")
+ (description "This package allows programmers to explicitly SIMD-vectorize
+their Julia code. By exposing SIMD vector types and corresponding operations,
+the programmer can explicitly vectorize their code. While this does not
+guarantee that the generated machine code is efficient, it relieves the
+compiler from determining whether it is legal to vectorize the code, deciding
+whether it is beneficial to do so, and rearranging the code to synthesize
+vector instructions.")
+ (license license:expat)))
+
(define-public julia-simpletraits
(package
(name "julia-simpletraits")
@@ -4323,7 +4696,8 @@ timsort and radixsort.")
(inputs
(list julia-chainrulestestutils))
(propagated-inputs
- (list julia-chainrulescore julia-logexpfunctions
+ (list julia-chainrulescore
+ julia-logexpfunctions
julia-openspecfun-jll))
(home-page "https://github.com/JuliaMath/SpecialFunctions.jl")
(synopsis "Special mathematical functions")
@@ -4348,7 +4722,8 @@ polygamma functions.")
(base32 "1qzaqvk57b0s5krzn8bxkzmr5kz6hi9dm3jbf2sl7z4vznsgbn9x"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-dictionaries julia-indexing))
+ (list julia-dictionaries
+ julia-indexing))
(home-page "https://github.com/JuliaData/SplitApplyCombine.jl")
(synopsis "Split-apply-combine strategies for Julia")
(description "@code{SplitApplyCombine.jl} provides high-level, generic tools
@@ -4406,7 +4781,8 @@ some performance improvements).")
(propagated-inputs
(list julia-offsetarrays))
(native-inputs
- (list julia-aqua julia-documenter))
+ (list julia-aqua
+ julia-documenter))
(home-page "https://github.com/JuliaArrays/StackViews.jl")
(synopsis "No more catcat")
(description "StackViews provides only one array type: @code{StackView}.
@@ -4506,8 +4882,11 @@ dependency on it.")
(base32 "02y4pm5yvg713a2pn970bbcfkrn2h133rxbxk1da18svhqw3czhi"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-dataapi julia-datastructures julia-missings
- julia-sortingalgorithms julia-statsapi))
+ (list julia-dataapi
+ julia-datastructures
+ julia-missings
+ julia-sortingalgorithms
+ julia-statsapi))
(native-inputs
(list julia-stablerngs))
(home-page "https://github.com/JuliaStats/StatsBase.jl")
@@ -4542,6 +4921,38 @@ are defined for @code{AbstractStrings}, and any iterator that define
applied to any distance.")
(license license:expat)))
+(define-public julia-stringencodings
+ (package
+ (name "julia-stringencodings")
+ (version "0.3.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaStrings/StringEncodings.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1qwc5ll68ng80b5921ww6fvifxbsmiylakfgsbsjbzg7lzyb5i67"))))
+ (build-system julia-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'skip-failing-test
+ (lambda _
+ ;; https://github.com/JuliaStrings/StringEncodings.jl/issues/49
+ (substitute* "test/runtests.jl"
+ (("\"SHIFT_JIS\", \"SHIFT_JISX0213\"")
+ " ")))))))
+ (propagated-inputs
+ (list julia-libiconv-jll))
+ (home-page "https://github.com/JuliaStrings/StringEncodings.jl")
+ (synopsis "Support for decoding and encoding texts")
+ (description "This package provides support for decoding and encoding
+texts between multiple character encodings. It is currently based on the
+@code{iconv} interface, and supports all major platforms using GNU libiconv.")
+ (license license:expat)))
+
(define-public julia-structarrays
(package
(name "julia-structarrays")
@@ -4567,10 +4978,15 @@ applied to any distance.")
"test/runtests.jl")
(("Int64") "Int32")))))))))
(propagated-inputs
- (list julia-dataapi julia-staticarrays julia-tables))
+ (list julia-dataapi
+ julia-staticarrays
+ julia-tables))
(native-inputs
- (list julia-documenter julia-offsetarrays julia-pooledarrays
- julia-typedtables julia-weakrefstrings))
+ (list julia-documenter
+ julia-offsetarrays
+ julia-pooledarrays
+ julia-typedtables
+ julia-weakrefstrings))
(home-page "https://github.com/JuliaArrays/StructArrays.jl")
(synopsis "Efficient implementation of struct arrays in Julia")
(description "This package introduces the type @code{StructArray} which is
@@ -4659,10 +5075,13 @@ the @code{Pluto.jl} tabular data import functionality.")
(base32 "1sqqagzqvav8b1rv5ywwbgy9ixvlmipq95fkwfwn0m8769i8jwzb"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-dataapi julia-datavalueinterfaces
- julia-iteratorinterfaceextensions julia-tabletraits))
+ (list julia-dataapi
+ julia-datavalueinterfaces
+ julia-iteratorinterfaceextensions
+ julia-tabletraits))
(native-inputs
- (list julia-datavalues julia-queryoperators))
+ (list julia-datavalues
+ julia-queryoperators))
(home-page "https://github.com/JuliaData/Tables.jl")
(synopsis "Interface for tables in Julia")
(description "The @code{Tables.jl} package provides simple, yet powerful
@@ -4687,7 +5106,8 @@ interface functions for working with all kinds tabular data.")
(base32 "0gp3hpj3jvzfhkp9r345vfic2j2n2s60729wv38hwn75csp74cg5"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-datavalues julia-json))
+ (list julia-datavalues
+ julia-json))
(home-page "https://github.com/queryverse/TableShowUtils.jl")
(synopsis "Implement show for TableTraits.jl types")
(description "This package provides some common helper functions that make
@@ -4756,8 +5176,11 @@ dimensions}.")
(arguments
`(#:tests? #f)) ; cycle with ImageMagick.jl
(propagated-inputs
- (list julia-axisarrays julia-colortypes julia-fileio
- julia-offsetarrays julia-stringdistances))
+ (list julia-axisarrays
+ julia-colortypes
+ julia-fileio
+ julia-offsetarrays
+ julia-stringdistances))
;(native-inputs
; `(("julia-colors" ,julia-colors)
; ("julia-fixedpointnumbers" ,julia-fixedpointnumbers)
@@ -4833,6 +5256,27 @@ which are:
@end itemize")
(license license:expat)))
+(define-public julia-twiddle
+ (package
+ (name "julia-twiddle")
+ (version "1.1.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/SabrinaJaye/Twiddle.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1c2gdv7sy4n1d8687w2q0yzwmwmanf4p6mvzvkz5gm4baxyzmbh2"))))
+ (build-system julia-build-system)
+ (home-page "https://ben-ward.science/Twiddle.jl/stable")
+ (synopsis "Ready to use bit-twiddling tricks")
+ (description "This package provides a collection of useful bit-twiddling
+tricks, ready to use as functions, with detailed documentation and example
+real-world use cases.")
+ (license license:expat)))
+
(define-public julia-typedtables
(package
(name "julia-typedtables")
@@ -4848,7 +5292,9 @@ which are:
(base32 "0nk6zhqvl2r8yhjdhb59kxq0srd3vy4ysg4d8rszj9a43dnn3w3i"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-adapt julia-splitapplycombine julia-tables))
+ (list julia-adapt
+ julia-splitapplycombine
+ julia-tables))
(home-page "https://github.com/JuliaData/TypedTables.jl")
(synopsis "Column-based storage for data analysis in Julia")
(description "@code{TypedTables.jl} provides two column-based storage
@@ -4976,7 +5422,8 @@ useful in order to support @code{VersionNumber} comparisons applied to
(base32 "14h1vdnc3rx87w6v2rr59lgb4kai2hd1wzqpxhmzsi8karg2z219"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-dataapi julia-parsers))
+ (list julia-dataapi
+ julia-parsers))
(home-page "https://github.com/JuliaData/WeakRefStrings.jl")
(synopsis "Efficient string representation and transfer in Julia")
(description "This package provides a minimal String type for Julia that
@@ -5016,6 +5463,31 @@ for floating-point roundoff errors, so be prepared for a certain amount of
inaccuracy in the result.")
(license license:expat)))
+(define-public julia-yaml
+ (package
+ (name "julia-yaml")
+ (version "0.4.7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaData/YAML.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "00k8456ffldbf75k2q5yxim7cgz3p0pbshsvmpm1331g8qy6liin"))))
+ (build-system julia-build-system)
+ (propagated-inputs
+ (list julia-stringencodings))
+ (native-inputs
+ (list julia-datastructures
+ julia-orderedcollections))
+ (home-page "https://github.com/JuliaData/YAML.jl")
+ (synopsis "Parses YAML documents into native Julia types")
+ (description "This package parses YAML documents into native Julia types
+and dumps them back into YAML documents.")
+ (license license:expat)))
+
(define-public julia-zipfile
(package
(name "julia-zipfile")
@@ -5078,17 +5550,17 @@ Zygote, without depending on Zygote itself.")
(arguments
`(#:tests? #f)) ;require CUDA, not packaged yet
(propagated-inputs
- `(("julia-abstractffs" ,julia-abstractffts)
- ("julia-chainrules" ,julia-chainrules)
- ("julia-diffrules" ,julia-diffrules)
- ("julia-fillarrays" ,julia-fillarrays)
- ("julia-forwarddiff" ,julia-forwarddiff)
- ("julia-irtools" ,julia-irtools)
- ("julia-macrotools" ,julia-macrotools)
- ("julia-nanmath" ,julia-nanmath)
- ("julia-requires" ,julia-requires)
- ("julia-specialfunctions" ,julia-specialfunctions)
- ("julia-zygote-rules" ,julia-zygoterules)))
+ (list julia-abstractffts
+ julia-chainrules
+ julia-diffrules
+ julia-fillarrays
+ julia-forwarddiff
+ julia-irtools
+ julia-macrotools
+ julia-nanmath
+ julia-requires
+ julia-specialfunctions
+ julia-zygoterules))
(home-page "https://fluxml.ai/Zygote.jl")
(synopsis "Automatic differentiation in Julia")
(description "Zygote provides source-to-source automatic
diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm
index 56ced35204..dd5d2a5a55 100644
--- a/gnu/packages/jupyter.scm
+++ b/gnu/packages/jupyter.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2019 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2021 Hugo Lecomte <hugo.lecomte@inria.fr>
+;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -370,16 +371,16 @@ nbconvert's @code{ExecutePreprocessor.}")
(define-public repo2docker
(package
(name "repo2docker")
- (version "2021.03.0")
+ (version "2021.08.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/jupyterhub/repo2docker/")
- (commit "2021.03.0")))
+ (commit version)))
(file-name (git-file-name name version))
(sha256
(base32
- "18w8rgf7fpf79kx36y2c3xi3d52i41z112l3sz719d8kg0bir16m"))))
+ "111irpghzys0s5ixs8paskz7465cls1sm9d5bg45a15jklcw84a9"))))
(outputs '("out" "doc"))
(build-system python-build-system)
(arguments
@@ -399,10 +400,14 @@ nix-shell-wrapper|repo2docker-entrypoint)")
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "doc"))
(doc (string-append out "/share/doc/"
- ,name)))
- (setenv "GUIX_PYTHONPATH"
+ ,(package-name this-package))))
+ (setenv "PYTHONPATH"
(string-append (getcwd) ":"
(getenv "GUIX_PYTHONPATH")))
+ ;; Don't treat warnings as errors.
+ (substitute* "docs/Makefile"
+ (("(SPHINXOPTS[[:blank:]]+= )-W" _ group)
+ group))
(with-directory-excursion "docs"
(invoke "make" "html")
(copy-recursively "build/html"
@@ -418,7 +423,7 @@ nix-shell-wrapper|repo2docker-entrypoint)")
python-escapism
python-docker))
(native-inputs
- (list python-sphinx python-recommonmark
+ (list python-sphinx python-entrypoints python-recommonmark
python-sphinxcontrib-autoprogram python-pydata-sphinx-theme))
(home-page "https://repo2docker.readthedocs.io/en/latest/index.html#")
(synopsis "Generate docker images from repositories")
diff --git a/gnu/packages/kde-multimedia.scm b/gnu/packages/kde-multimedia.scm
index 7537ac1ddd..e7a2b943e0 100644
--- a/gnu/packages/kde-multimedia.scm
+++ b/gnu/packages/kde-multimedia.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2017, 2019 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2020 Timotej Lazar <timotej.lazar@araneo.si>
;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2022 Vinicius Monego <monego@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -21,6 +22,7 @@
(define-module (gnu packages kde-multimedia)
#:use-module (guix build-system qt)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
@@ -30,6 +32,7 @@
#:use-module (gnu packages base)
#:use-module (gnu packages compression)
#:use-module (gnu packages cdrom)
+ #:use-module (gnu packages docbook)
#:use-module (gnu packages glib)
#:use-module (gnu packages gtk)
#:use-module (gnu packages gnome)
@@ -40,10 +43,13 @@
#:use-module (gnu packages mp3)
#:use-module (gnu packages music)
#:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages python)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages qt)
+ #:use-module (gnu packages readline)
#:use-module (gnu packages video)
#:use-module (gnu packages xiph)
+ #:use-module (gnu packages xml)
#:use-module (gnu packages xorg))
(define-public audiocd-kio
@@ -282,6 +288,64 @@ Some of JuK's features include:
This package is part of the KDE multimedia module.")
(license license:gpl2+)))
+(define-public kid3
+ (package
+ (name "kid3")
+ (version "3.9.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://invent.kde.org/multimedia/kid3.git/")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "02r3cnwr05mcxjawzip3jl1lfijvzfbbafq3saipjjjp4kiq9bk4"))))
+ (build-system qt-build-system)
+ (arguments
+ (list
+ #:configure-flags
+ #~(list (string-append "-DDOCBOOK_XSL_DIR="
+ #$(this-package-native-input "docbook-xsl")))
+ #:phases
+ `(modify-phases %standard-phases
+ ;; FIXME: Documentation build scripts use unix pipes, which will fail
+ ;; in the build environment.
+ (add-after 'unpack 'skip-docs
+ (lambda _
+ (substitute* "CMakeLists.txt"
+ (("add_subdirectory\\(doc\\)") "")))))))
+ (native-inputs
+ (list docbook-xsl
+ extra-cmake-modules
+ ffmpeg
+ kdoctools
+ libxslt
+ python-wrapper
+ qttools))
+ (inputs
+ (list chromaprint
+ flac
+ id3lib
+ kconfig
+ kconfigwidgets
+ kcoreaddons
+ kio
+ kwidgetsaddons
+ kxmlgui
+ libvorbis
+ qtbase-5
+ qtdeclarative
+ qtmultimedia
+ readline
+ taglib
+ zlib))
+ (home-page "https://kid3.kde.org/")
+ (synopsis "Audio tag editor")
+ (description "Kid3 is an audio tag editor for KDE that supports a large
+variety of formats.")
+ (license license:gpl2+)))
+
(define-public k3b
(package
(name "k3b")
diff --git a/gnu/packages/kde-pim.scm b/gnu/packages/kde-pim.scm
index dd18a95062..b17b18bd12 100644
--- a/gnu/packages/kde-pim.scm
+++ b/gnu/packages/kde-pim.scm
@@ -943,7 +943,7 @@ easier to do so.")
(synopsis "Library for accessing LDAP")
(description " This is a library for accessing LDAP with a convenient Qt
style C++ API. LDAP (Lightweight Directory Access Protocol) is an application
-protocol for querying and modifying directory services running over TCP/IP. ")
+protocol for querying and modifying directory services running over TCP/IP.")
(license license:lgpl2.0+)))
(define-public kleopatra
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 851a3495b7..8dfcba1388 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -11,7 +11,7 @@
;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
;;; Copyright © 2020, 2021 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2020 Prafulla Giri <pratheblackdiamond@gmail.com>
-;;; Copyright © 2020, 2021 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2020, 2021, 2022 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2021 Alexandros Theodotou <alex@zrythm.org>
;;; Copyright © 2021 la snesne <lasnesne@lagunposprasihopre.org>
;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
@@ -47,6 +47,7 @@
#:use-module (gnu packages audio)
#:use-module (gnu packages bison)
#:use-module (gnu packages boost)
+ #:use-module (gnu packages check)
#:use-module (gnu packages code)
#:use-module (gnu packages cpp)
#:use-module (gnu packages compression)
@@ -60,11 +61,13 @@
#:use-module (gnu packages geo)
#:use-module (gnu packages gettext)
#:use-module (gnu packages ghostscript)
+ #:use-module (gnu packages gimp)
#:use-module (gnu packages gl)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gps)
#:use-module (gnu packages graphics)
#:use-module (gnu packages image)
+ #:use-module (gnu packages image-processing)
#:use-module (gnu packages kde-frameworks)
#:use-module (gnu packages kde-pim)
#:use-module (gnu packages kde-plasma)
@@ -442,41 +445,48 @@ a module for implementing ODF Gantt charts, which are bar charts that
illustrate project schedules.")
(license license:gpl2+)))
+(define-public kseexpr
+ (package
+ (name "kseexpr")
+ (version "4.0.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://invent.kde.org/graphics/kseexpr")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "088q3kkv2wq426w000iq14wy3a45rrnn0bmsdks6caz4vq04ccay"))))
+ (build-system qt-build-system)
+ (arguments
+ `(#:configure-flags (list "-DBUILD_TESTS=ON"))) ; disabled by default
+ (native-inputs
+ (list bison doxygen extra-cmake-modules flex googletest))
+ (inputs
+ (list ki18n libpng qtbase-5))
+ (home-page "https://invent.kde.org/graphics/kseexpr")
+ (synopsis "Embeddable expression evaluation engine")
+ (description "This package contains the fork of Disney Animation's SeExpr
+expression library, that is used in Krita.")
+ (license license:gpl3+)))
+
(define-public krita
(package
(name "krita")
- (version "4.4.8")
- (source (origin
- (method url-fetch)
- (uri (string-append
- "mirror://kde/stable/krita/" version
- "/krita-" version ".tar.gz"))
- (sha256
- (base32
- "1y0d8gnxfdg5nfwk8dgx8fc2bwskvnys049napb1a9fr25bqmimw"))))
- (build-system cmake-build-system)
+ (version "5.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://kde/stable/krita/" version "/krita-" version
+ ".tar.gz"))
+ (sha256
+ (base32 "1gww95fyd5r3x2260j2ls7d8fp4rsfxnwdqai2j7fjahxg3iyxg6"))))
+ (build-system qt-build-system)
(arguments
`(#:tests? #f
- #:configure-flags
- (list "-DBUILD_TESTING=OFF"
- (string-append "-DCMAKE_CXX_FLAGS=-I"
- (assoc-ref %build-inputs "openexr")
- "/include/OpenEXR"))
- #:phases
- (modify-phases %standard-phases
- ;; Ensure that icons are found at runtime.
- ;; This works around <https://bugs.gnu.org/22138>.
- (add-after 'install 'wrap-executable
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out"))
- (qt '("qtbase" "qtsvg")))
- (wrap-program (string-append out "/bin/krita")
- `("QT_PLUGIN_PATH" ":" prefix
- ,(map (lambda (label)
- (string-append (assoc-ref inputs label)
- "/lib/qt5/plugins/"))
- qt)))
- #t))))))
+ #:configure-flags (list "-DBUILD_TESTING=OFF")))
(native-inputs
(list curl
eigen
@@ -490,8 +500,9 @@ illustrate project schedules.")
(list boost
exiv2
fftw
+ giflib
gsl
- ilmbase
+ imath
karchive
kcompletion
kconfig
@@ -502,18 +513,24 @@ illustrate project schedules.")
kiconthemes
kio
kitemviews
+ kseexpr
kwidgetsaddons
kwindowsystem
kxmlgui
lcms
libjpeg-turbo
+ libheif
+ libmypaint
libpng
libraw-0.18
libtiff
+ libwebp
libx11
libxcb
libxi
- openexr-2
+ opencolorio
+ openexr
+ openjpeg
perl
poppler-qt5
qtbase-5
diff --git a/gnu/packages/kerberos.scm b/gnu/packages/kerberos.scm
index bf87a066a5..dec09ca791 100644
--- a/gnu/packages/kerberos.scm
+++ b/gnu/packages/kerberos.scm
@@ -217,32 +217,26 @@ After installation, the system administrator should generate keys using
#:phases (modify-phases %standard-phases
(add-before 'configure 'pre-configure
(lambda* (#:key inputs #:allow-other-keys)
- ,@(if (%current-target-system)
- `((substitute* "configure"
- ;; The e2fsprogs input is included for libcom_err,
- ;; let's use it even if cross-compiling.
- (("test \"\\$\\{krb_cv_com_err\\}\" = \"yes\"")
- ":")
- ;; Our 'compile_et' is not in --with-cross-tools,
- ;; which confuses heimdal.
- (("ac_cv_prog_COMPILE_ET=\\$\\{with_cross_tools\\}compile_et")
- "ac_cv_PROG_COMPILE_ET=compile_et")))
- '())
- ,@(if (%current-target-system)
- '((substitute* '("appl/afsutil/pagsh.c" "appl/su/su.c")
- (("/bin/sh")
- (search-input-file inputs "bin/sh"))
- ;; Use the cross-compiled bash instead of the
- ;; native bash (XXX shouldn't _PATH_BSHELL point
- ;; to a cross-compiled bash?).
- (("_PATH_BSHELL")
- (string-append
- "\"" (search-input-file inputs "bin/sh") "\"")))
- (substitute* '("tools/Makefile.in")
- (("/bin/sh") (which "sh"))))
- '((substitute* '("appl/afsutil/pagsh.c"
- "tools/Makefile.in")
- (("/bin/sh") (which "sh")))))))
+ (substitute* "configure"
+ ;; The e2fsprogs input is included for libcom_err,
+ ;; let's use it even if cross-compiling.
+ (("test \"\\$\\{krb_cv_com_err\\}\" = \"yes\"")
+ ":")
+ ;; Our 'compile_et' is not in --with-cross-tools,
+ ;; which confuses heimdal.
+ (("ac_cv_prog_COMPILE_ET=\\$\\{with_cross_tools\\}compile_et")
+ "ac_cv_PROG_COMPILE_ET=compile_et"))
+ (substitute* '("appl/afsutil/pagsh.c" "appl/su/su.c")
+ (("/bin/sh")
+ (search-input-file inputs "bin/sh"))
+ ;; Use the cross-compiled bash instead of the
+ ;; native bash (XXX shouldn't _PATH_BSHELL point
+ ;; to a cross-compiled bash?).
+ (("_PATH_BSHELL")
+ (string-append
+ "\"" (search-input-file inputs "bin/sh") "\"")))
+ (substitute* '("tools/Makefile.in")
+ (("/bin/sh") (which "sh")))))
(add-before 'check 'pre-check
(lambda _
;; For 'getxxyyy-test'.
diff --git a/gnu/packages/libffi.scm b/gnu/packages/libffi.scm
index 286620882d..2efec07e1d 100644
--- a/gnu/packages/libffi.scm
+++ b/gnu/packages/libffi.scm
@@ -4,7 +4,7 @@
;;; Copyright © 2015, 2019 Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
;;; Copyright © 2016, 2017, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016, 2017 Ben Woodcroft <donttrustben@gmail.com>
-;;; Copyright © 2017, 2019, 2020 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2017, 2019, 2020, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2020 John Doe <dftxbs3e@free.fr>
@@ -140,6 +140,18 @@ conversions for values passed between the two languages.")
(description "Foreign Function Interface for Python calling C code.")
(license expat)))
+;; TODO(staging): Merge with the above.
+(define-public python-cffi-1.15
+ (package
+ (inherit python-cffi)
+ (version "1.15.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "cffi" version))
+ (sha256
+ (base32 "0m3rz2pqfmyfagx0bhj2jlbr2h58j3wr3cyv1agxkhlnm1k0s3wj"))))))
+
(define-public python2-cffi
(package-with-python2 python-cffi))
diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm
index db7ae86cc7..01771dffca 100644
--- a/gnu/packages/libusb.scm
+++ b/gnu/packages/libusb.scm
@@ -223,17 +223,17 @@ implementing @code{javax.usb} (JSR-80).")
(define-public python-libusb1
(package
(name "python-libusb1")
- (version "1.9.3")
+ (version "2.0.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "libusb1" version))
(sha256
(base32
- "0j8p7jb7sibiiib18vyv3w5rrk0f4d2dl99bs18nwkq6pqvwxrk0"))))
+ "0ikc7z7mdyr8pm0mk3ibab1hqrq4cpi9frmc3p94hsmbyzn85fnk"))))
(build-system python-build-system)
(arguments
- `(#:modules ((srfi srfi-1)
+ '(#:modules ((srfi srfi-1)
(guix build utils)
(guix build python-build-system))
#:phases
@@ -242,19 +242,17 @@ implementing @code{javax.usb} (JSR-80).")
(lambda* (#:key out #:allow-other-keys)
;; Was relicensed to LGPL 2.1+, but old COPYING file still left
;; in source. Remove it so it does not get installed.
- (delete-file "COPYING")
- #t))
+ (delete-file "COPYING")))
(add-after 'unpack 'fix-libusb-reference
(lambda* (#:key inputs #:allow-other-keys)
- (substitute* "usb1/libusb1.py"
- (("libusb_path = ctypes.util.find_library\\(base_name\\)")
+ (substitute* "usb1/_libusb1.py"
+ (("libusb_path = ctypes\\.util\\.find_library\\(base_name\\)")
(string-append
"libusb_path = \""
(find (negate symbolic-link?)
(find-files (assoc-ref inputs "libusb")
"^libusb.*\\.so\\..*"))
- "\"")))
- #t)))))
+ "\""))))))))
(propagated-inputs (list libusb))
(home-page "https://github.com/vpelletier/python-libusb1")
(synopsis "Pure-python wrapper for libusb-1.0")
diff --git a/gnu/packages/license.scm b/gnu/packages/license.scm
index 79ad3df4c8..cc6b03b412 100644
--- a/gnu/packages/license.scm
+++ b/gnu/packages/license.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020, 2021 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2021 Tanguy Le Carrour <tanguy@bioneland.org>
+;;; Copyright © 2022 Felix Gruber <felgru@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -167,13 +168,13 @@ belonging to various licenses.")
(define-public reuse
(package
(name "reuse")
- (version "0.13.0")
+ (version "0.14.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "reuse" version))
(sha256
- (base32 "00gqpw124lz6kf3gi6m2i1bnxp3k5n3id0bgqff0bj08jga7pj49"))))
+ (base32 "1q84qv982y67inqb67iy3r6z7339593w7zdaaxswjqxfrd1by7bp"))))
(build-system python-build-system)
(native-inputs
(list python-pytest python-setuptools-scm))
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 97b2120cd0..94eff5d5c8 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -5,14 +5,14 @@
;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
-;;; Copyright © 2015, 2016, 2017, 2018, 2020 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2015, 2016, 2017, 2018, 2020, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Christine Lemmer-Webber <cwebber@dustycloud.org>
;;; Copyright © 2016–2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2016, 2017 Alex Kost <alezost@gmail.com>
;;; Copyright © 2016 Raymond Nicholson <rain1@openmailbox.org>
;;; Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
-;;; Copyright © 2016, 2018, 2019, 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
-;;; Copyright © 2016, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2016, 2018–2022 Nicolas Goaziou <mail@nicolasgoaziou.fr>
+;;; Copyright © 2016, 2018, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016 David Craven <david@craven.ch>
;;; Copyright © 2016 John Darrington <jmd@gnu.org>
;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Marius Bakke <marius@gnu.org>
@@ -50,6 +50,7 @@
;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com>
;;; Copyright © 2020 David Dashyan <mail@davie.li>
;;; Copyright © 2020 pukkamustard <pukkamustard@posteo.net>
+;;; Copyright © 2021 Solene Rapenne <solene@perso.pw>
;;; Copyright © 2021 B. Wilson <elaexuotee@wilsonb.com>
;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
@@ -59,6 +60,7 @@
;;; Copyright © 2021 Josselin Poiret <josselin.poiret@protonmail.ch>
;;; Copyright © 2021 Olivier Dion <olivier.dion@polymtl.ca>
;;; Copyright © 2021 Solene Rapenne <solene@perso.pw>
+;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -140,6 +142,7 @@
#:use-module (gnu packages slang)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages texinfo)
+ #:use-module (gnu packages textutils)
#:use-module (gnu packages tls)
#:use-module (gnu packages valgrind)
#:use-module (gnu packages video)
@@ -354,7 +357,13 @@ 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.15-version "5.15.10")
+
+;; Currently, no stable kernels are packaged.
+
+;; The "longterm" kernels — the older releases with long-term upstream support.
+;; Here are the support timelines:
+;; <https://www.kernel.org/category/releases.html>
+(define-public linux-libre-5.15-version "5.15.16")
(define-public linux-libre-5.15-gnu-revision "gnu")
(define deblob-scripts-5.15
(linux-libre-deblob-scripts
@@ -364,15 +373,12 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS."
(base32 "04fj1x3zmi310cr3m9hxpi26gdcmwfsqciv5yb6q6rrnqjqs1pc0")))
(define-public linux-libre-5.15-pristine-source
(let ((version linux-libre-5.15-version)
- (hash (base32 "0jsv8lialjwp91qg9c9rh8rhn49a70ryyhzl19bxq3fhz1fwyks8")))
+ (hash (base32 "150pzxra564z9xaaclmbbd29x4x9il8y78zz7szi50lzx0a0l2ms")))
(make-linux-libre-source version
(%upstream-linux-source version hash)
deblob-scripts-5.15)))
-;; The "longterm" kernels — the older releases with long-term upstream support.
-;; Here are the support timelines:
-;; <https://www.kernel.org/category/releases.html>
-(define-public linux-libre-5.10-version "5.10.87")
+(define-public linux-libre-5.10-version "5.10.93")
(define-public linux-libre-5.10-gnu-revision "gnu1")
(define deblob-scripts-5.10
(linux-libre-deblob-scripts
@@ -382,12 +388,12 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS."
(base32 "024rz0bp3n3r5nkwbib7byx10d72c2fh5cw9iv00diyzgnp819g7")))
(define-public linux-libre-5.10-pristine-source
(let ((version linux-libre-5.10-version)
- (hash (base32 "0jz6xhph7x0x11cjmypaw5gh8z4d53dcgx2gmg7k6d06ydq8n4h3")))
+ (hash (base32 "1jxv7can60rc5i2yjgj8frcjvwi1jnba1jl8i3070xmb1d1qqy56")))
(make-linux-libre-source version
(%upstream-linux-source version hash)
deblob-scripts-5.10)))
-(define-public linux-libre-5.4-version "5.4.167")
+(define-public linux-libre-5.4-version "5.4.173")
(define-public linux-libre-5.4-gnu-revision "gnu1")
(define deblob-scripts-5.4
(linux-libre-deblob-scripts
@@ -397,12 +403,12 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS."
(base32 "1a0k9i8gnzkyvfr80f8xw2fnxfwddhz1pzicz9fh0y3jzzkzk45p")))
(define-public linux-libre-5.4-pristine-source
(let ((version linux-libre-5.4-version)
- (hash (base32 "19x5f3s5f4nqzjb61g22rs0hnmk43q4b7sm7mc4j1q3y44b33r5l")))
+ (hash (base32 "0ff2jvwxj55547wvwp94a8bsd610s72906d4nsyhiirrn9sy5s4r")))
(make-linux-libre-source version
(%upstream-linux-source version hash)
deblob-scripts-5.4)))
-(define-public linux-libre-4.19-version "4.19.221")
+(define-public linux-libre-4.19-version "4.19.225")
(define-public linux-libre-4.19-gnu-revision "gnu1")
(define deblob-scripts-4.19
(linux-libre-deblob-scripts
@@ -412,12 +418,12 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS."
(base32 "1a0k9i8gnzkyvfr80f8xw2fnxfwddhz1pzicz9fh0y3jzzkzk45p")))
(define-public linux-libre-4.19-pristine-source
(let ((version linux-libre-4.19-version)
- (hash (base32 "1yg1cibyn53gpjnxfgj2qxxi8k3l7gv1ri6kywvp6sk5bygx8jd3")))
+ (hash (base32 "15k7b04zx5ggfjagp8sfrylr9xgwgz3hb2bygdml7ka1jnbv76jb")))
(make-linux-libre-source version
(%upstream-linux-source version hash)
deblob-scripts-4.19)))
-(define-public linux-libre-4.14-version "4.14.258")
+(define-public linux-libre-4.14-version "4.14.262")
(define-public linux-libre-4.14-gnu-revision "gnu1")
(define deblob-scripts-4.14
(linux-libre-deblob-scripts
@@ -427,12 +433,12 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS."
(base32 "1a0k9i8gnzkyvfr80f8xw2fnxfwddhz1pzicz9fh0y3jzzkzk45p")))
(define-public linux-libre-4.14-pristine-source
(let ((version linux-libre-4.14-version)
- (hash (base32 "162bzhm0k8kipgk0ma745rjcl33rqhpwxdfdz3q6rkp48b82kbvi")))
+ (hash (base32 "05yl51r5n3q9l8pq6azx3bbl69l79lk8vkdivy3cvgzdh59pizac")))
(make-linux-libre-source version
(%upstream-linux-source version hash)
deblob-scripts-4.14)))
-(define-public linux-libre-4.9-version "4.9.293")
+(define-public linux-libre-4.9-version "4.9.297")
(define-public linux-libre-4.9-gnu-revision "gnu1")
(define deblob-scripts-4.9
(linux-libre-deblob-scripts
@@ -442,12 +448,12 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS."
(base32 "1a0k9i8gnzkyvfr80f8xw2fnxfwddhz1pzicz9fh0y3jzzkzk45p")))
(define-public linux-libre-4.9-pristine-source
(let ((version linux-libre-4.9-version)
- (hash (base32 "0l64rz6ly5ls23lqq0cv98xb4z2mimp2jrsjrs6kq3zm4k2mm4gs")))
+ (hash (base32 "17yqnr6p0prgcw8nikjmi49ll4s77ylaixcja5m15cq9x36shfz4")))
(make-linux-libre-source version
(%upstream-linux-source version hash)
deblob-scripts-4.9)))
-(define-public linux-libre-4.4-version "4.4.295")
+(define-public linux-libre-4.4-version "4.4.299")
(define-public linux-libre-4.4-gnu-revision "gnu1")
(define deblob-scripts-4.4
(linux-libre-deblob-scripts
@@ -457,7 +463,7 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS."
(base32 "1a0k9i8gnzkyvfr80f8xw2fnxfwddhz1pzicz9fh0y3jzzkzk45p")))
(define-public linux-libre-4.4-pristine-source
(let ((version linux-libre-4.4-version)
- (hash (base32 "1h3i2lgm2sy325f58jildip7m6sb4hr2n9pm3gc3h2gash65kc2r")))
+ (hash (base32 "019hmplv1zhghl840qky9awziba3gx7jm80khny44gjfbyzf7d4v")))
(make-linux-libre-source version
(%upstream-linux-source version hash)
deblob-scripts-4.4)))
@@ -802,101 +808,105 @@ for ARCH and optionally VARIANT, or #f if there is no such configuration."
((? string? config)
`(("kconfig" ,config))))))
(arguments
- `(#:modules ((guix build gnu-build-system)
- (guix build utils)
- (srfi srfi-1)
- (srfi srfi-26)
- (ice-9 ftw)
- (ice-9 match))
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-/bin/pwd
- (lambda _
- (substitute* (find-files "." "^Makefile(\\.include)?$")
- (("/bin/pwd") "pwd"))))
- (replace 'configure
- (lambda* (#:key inputs native-inputs target #:allow-other-keys)
- ;; Avoid introducing timestamps.
- (setenv "KCONFIG_NOTIMESTAMP" "1")
- (setenv "KBUILD_BUILD_TIMESTAMP" (getenv "SOURCE_DATE_EPOCH"))
-
- ;; Other variables useful for reproducibility.
- (setenv "KBUILD_BUILD_USER" "guix")
- (setenv "KBUILD_BUILD_HOST" "guix")
-
- ;; Set ARCH and CROSS_COMPILE.
- (let ((arch ,(system->linux-architecture
- (or (%current-target-system)
- (%current-system)))))
- (setenv "ARCH" arch)
- (format #t "`ARCH' set to `~a'~%" (getenv "ARCH"))
-
- (when target
- (setenv "CROSS_COMPILE" (string-append target "-"))
- (format #t "`CROSS_COMPILE' set to `~a'~%"
- (getenv "CROSS_COMPILE"))))
-
- (setenv "EXTRAVERSION" ,(and extra-version
- (string-append "-" extra-version)))
-
- (let ((build (assoc-ref %standard-phases 'build))
- (config (assoc-ref (or native-inputs inputs) "kconfig")))
-
- ;; Use a custom kernel configuration file or a default
- ;; configuration file.
- (if config
- (begin
- (copy-file config ".config")
- (chmod ".config" #o666))
- (invoke "make" ,defconfig))
-
- ;; Appending works even when the option wasn't in the
- ;; file. The last one prevails if duplicated.
- (let ((port (open-file ".config" "a"))
- (extra-configuration ,(config->string extra-options)))
- (display extra-configuration port)
- (close-port port))
-
- (invoke "make" "oldconfig"))))
- (replace 'install
- (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (moddir (string-append out "/lib/modules"))
- (dtbdir (string-append out "/lib/dtbs")))
- ;; Install kernel image, kernel configuration and link map.
- (for-each (lambda (file) (install-file file out))
- (find-files "." "^(\\.config|bzImage|zImage|Image|vmlinuz|System\\.map|Module\\.symvers)$"))
- ;; Install device tree files
- (unless (null? (find-files "." "\\.dtb$"))
- (mkdir-p dtbdir)
- (invoke "make" (string-append "INSTALL_DTBS_PATH=" dtbdir)
- "dtbs_install"))
- ;; Install kernel modules
- (mkdir-p moddir)
- (invoke "make"
- ;; Disable depmod because the Guix system's module directory
- ;; is an union of potentially multiple packages. It is not
- ;; possible to use depmod to usefully calculate a dependency
- ;; graph while building only one of those packages.
- "DEPMOD=true"
- (string-append "MODULE_DIR=" moddir)
- (string-append "INSTALL_PATH=" out)
- (string-append "INSTALL_MOD_PATH=" out)
- "INSTALL_MOD_STRIP=1"
- "modules_install")
- (let* ((versions (filter (lambda (name)
- (not (string-prefix? "." name)))
- (scandir moddir)))
- (version (match versions
- ((x) x))))
- ;; There are symlinks to the build and source directory,
- ;; both of which will point to target /tmp/guix-build*
- ;; and thus not be useful in a profile. Delete the symlinks.
- (false-if-file-not-found
- (delete-file (string-append moddir "/" version "/build")))
- (false-if-file-not-found
- (delete-file (string-append moddir "/" version "/source"))))))))
- #:tests? #f))
+ (list #:modules '((guix build gnu-build-system)
+ (guix build utils)
+ (srfi srfi-1)
+ (srfi srfi-26)
+ (ice-9 ftw)
+ (ice-9 match))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-/bin/pwd
+ (lambda _
+ (substitute* (find-files "." "^Makefile(\\.include)?$")
+ (("/bin/pwd") "pwd"))))
+ (replace 'configure
+ (lambda* (#:key inputs target #:allow-other-keys)
+ ;; Avoid introducing timestamps.
+ (setenv "KCONFIG_NOTIMESTAMP" "1")
+ (setenv "KBUILD_BUILD_TIMESTAMP"
+ (getenv "SOURCE_DATE_EPOCH"))
+
+ ;; Other variables useful for reproducibility.
+ (setenv "KBUILD_BUILD_USER" "guix")
+ (setenv "KBUILD_BUILD_HOST" "guix")
+
+ ;; Set ARCH and CROSS_COMPILE.
+ (let ((arch #$(system->linux-architecture
+ (or (%current-target-system)
+ (%current-system)))))
+ (setenv "ARCH" arch)
+ (format #t "`ARCH' set to `~a'~%" (getenv "ARCH"))
+
+ (when target
+ (setenv "CROSS_COMPILE" (string-append target "-"))
+ (format #t "`CROSS_COMPILE' set to `~a'~%"
+ (getenv "CROSS_COMPILE"))))
+
+ (setenv "EXTRAVERSION"
+ #$(and extra-version
+ (string-append "-" extra-version)))
+
+ (let ((build (assoc-ref %standard-phases 'build))
+ (config (assoc-ref inputs "kconfig")))
+
+ ;; Use a custom kernel configuration file or a default
+ ;; configuration file.
+ (if config
+ (begin
+ (copy-file config ".config")
+ (chmod ".config" #o666))
+ (invoke "make" #$defconfig))
+
+ ;; Appending works even when the option wasn't in the
+ ;; file. The last one prevails if duplicated.
+ (let ((port (open-file ".config" "a"))
+ (extra-configuration #$(config->string extra-options)))
+ (display extra-configuration port)
+ (close-port port))
+
+ (invoke "make" "oldconfig"))))
+ (replace 'install
+ (lambda* (#:key inputs native-inputs #:allow-other-keys)
+ (let ((moddir (string-append #$output "/lib/modules"))
+ (dtbdir (string-append #$output "/lib/dtbs")))
+ ;; Install kernel image, kernel configuration and link map.
+ (for-each (lambda (file) (install-file file #$output))
+ (find-files "." "^(\\.config|bzImage|zImage|Image|vmlinuz|System\\.map|Module\\.symvers)$"))
+ ;; Install device tree files
+ (unless (null? (find-files "." "\\.dtb$"))
+ (mkdir-p dtbdir)
+ (invoke "make" (string-append "INSTALL_DTBS_PATH=" dtbdir)
+ "dtbs_install"))
+ ;; Install kernel modules
+ (mkdir-p moddir)
+ (invoke "make"
+ ;; Disable depmod because the Guix system's
+ ;; module directory is an union of potentially
+ ;; multiple packages. It is not possible to use
+ ;; depmod to usefully calculate a dependency
+ ;; graph while building only one of them.
+ "DEPMOD=true"
+ (string-append "MODULE_DIR=" moddir)
+ (string-append "INSTALL_PATH=" #$output)
+ (string-append "INSTALL_MOD_PATH=" #$output)
+ "INSTALL_MOD_STRIP=1"
+ "modules_install")
+ (let* ((versions (filter (lambda (name)
+ (not (string-prefix? "." name)))
+ (scandir moddir)))
+ (version (match versions
+ ((x) x))))
+ ;; There are symlinks to the build and source directory.
+ ;; Both will point to target /tmp/guix-build* and thus
+ ;; not be useful in a profile. Delete the symlinks.
+ (false-if-file-not-found
+ (delete-file
+ (string-append moddir "/" version "/build")))
+ (false-if-file-not-found
+ (delete-file
+ (string-append moddir "/" version "/source"))))))))
+ #:tests? #f))
(home-page "https://www.gnu.org/software/linux-libre/")
(synopsis "100% free redistribution of a cleaned Linux kernel")
(description
@@ -975,11 +985,11 @@ It has been modified to remove all non-free binary blobs.")
;; Linux-Libre.
;; Reference: https://jxself.org/linux-libre/
-(define-public linux-libre-lts-version linux-libre-5.10-version)
-(define-public linux-libre-lts-gnu-revision linux-libre-5.10-gnu-revision)
-(define-public linux-libre-lts-pristine-source linux-libre-5.10-pristine-source)
-(define-public linux-libre-lts-source linux-libre-5.10-source)
-(define-public linux-libre-lts linux-libre-5.10)
+(define-public linux-libre-lts-version linux-libre-5.15-version)
+(define-public linux-libre-lts-gnu-revision linux-libre-5.15-gnu-revision)
+(define-public linux-libre-lts-pristine-source linux-libre-5.15-pristine-source)
+(define-public linux-libre-lts-source linux-libre-5.15-source)
+(define-public linux-libre-lts linux-libre-5.15)
;;;
@@ -1188,25 +1198,25 @@ It has been modified to remove all non-free binary blobs.")
(base32 "1s7h9y3adyfhw7cjldlfmid79lrwz3vqlvziw9nwd6x5qdj4w9vp"))))
(build-system linux-module-build-system)
(arguments
- `(#:tests? #f ; no tests
- #:phases
- (modify-phases %standard-phases
- (add-before 'install 'patch-shebangs-harder
- ;; The (only) shebangs in examples/ don't justify a reference.
- ;; However, do substitute a more portable one than the original.
- (lambda _
- (substitute* (find-files "examples" ".")
- (("^(#! *)/[^ ]*/" _ shebang)
- (string-append shebang "/usr/bin/env ")))))
- (add-after 'install 'install-documentation
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (doc (string-append out "/share/doc/" ,name "-" ,version)))
- (for-each (lambda (file)
- (let ((target (string-append doc "/" file)))
- (mkdir-p (dirname target))
- (copy-recursively file target)))
- (list "README.md" "examples"))))))))
+ (list #:tests? #f ; no tests
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'install 'patch-shebangs-harder
+ ;; The (only) shebangs in examples/ don't justify a reference.
+ ;; However, do substitute a slightly more portable one.
+ (lambda _
+ (substitute* (find-files "examples" ".")
+ (("^(#! *)/[^ ]*/" _ shebang)
+ (string-append shebang "/usr/bin/env ")))))
+ (add-after 'install 'install-documentation
+ (lambda _
+ (let* ((doc (string-append #$output "/share/doc/"
+ #$name "-" #$version)))
+ (for-each (lambda (file)
+ (let ((target (string-append doc "/" file)))
+ (mkdir-p (dirname target))
+ (copy-recursively file target)))
+ (list "README.md" "examples"))))))))
(home-page "https://github.com/nix-community/acpi_call")
(synopsis "Linux kernel module to perform ACPI method calls")
(description
@@ -1323,7 +1333,7 @@ This package provides the @command{corefreqd} data collection daemon, the
(base32 "1qnbfj60i8nn2ahgj2zp5ixd79bb0wl1ld36x3igws2f3c0f5pfi"))))
(build-system linux-module-build-system)
(arguments
- `(#:tests? #f)) ; no test suite
+ (list #:tests? #f)) ; no test suite
(home-page "https://source.puri.sm/nicole.faerber/librem-ec-acpi-dkms")
(synopsis "Linux kernel module to control the Librem Embedded Controller")
(description
@@ -1352,22 +1362,23 @@ and the notification, WiFi, and Bluetooth LED.")
"18ma8a8h1l90dss0k6al7q6plwr57jc9g67p22g9917k1jfbhm97"))))
(build-system linux-module-build-system)
(arguments
- `(#:make-flags
- (list (string-append "CC=" ,(cc-for-target))
- (string-append "KSRC="
- (assoc-ref %build-inputs "linux-module-builder")
- "/lib/modules/build"))
- #:phases
- (modify-phases %standard-phases
- (replace 'build
- (lambda* (#:key (make-flags '()) (parallel-build? #t)
- #:allow-other-keys)
- (apply invoke "make"
- `(,@(if parallel-build?
- `("-j" ,(number->string (parallel-job-count)))
- '())
- ,@make-flags)))))
- #:tests? #f)) ; no test suite
+ (list #:make-flags
+ #~(list (string-append "CC=" #$(cc-for-target))
+ (string-append "KSRC="
+ (assoc-ref %build-inputs
+ "linux-module-builder")
+ "/lib/modules/build"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'build
+ (lambda* (#:key (make-flags '()) (parallel-build? #t)
+ #:allow-other-keys)
+ (apply invoke "make"
+ `(,@(if parallel-build?
+ `("-j" ,(number->string (parallel-job-count)))
+ '())
+ ,@make-flags)))))
+ #:tests? #f)) ; no test suite
(home-page "https://github.com/tomaspinho/rtl8821ce")
(synopsis "Linux driver for Realtek RTL8821CE wireless network adapters")
(description "This is Realtek's RTL8821CE Linux driver for wireless
@@ -1392,12 +1403,12 @@ network adapters.")
(base32 "1g2zga7jqzp4azwqpgxxx3lg07ijaaqw3zqnaa3i2brycwlnf8l9"))
(modules '((guix build utils)))
(snippet
- '(begin
- ;; Remove bundled tarballs, APKs, word lists, speadsheets,
- ;; and other unnecessary unlicenced things.
- (for-each delete-file-recursively (list "android"
- "docs"
- "tools"))))))
+ #~(begin
+ ;; Remove bundled tarballs, APKs, word lists, speadsheets,
+ ;; and other unnecessary unlicenced things.
+ (for-each delete-file-recursively (list "android"
+ "docs"
+ "tools"))))))
(supported-systems '("x86_64-linux" "i686-linux"))
(home-page "https://github.com/aircrack-ng/rtl8812au")
(synopsis "Linux driver for Realtek USB wireless network adapters")
@@ -1411,7 +1422,7 @@ RTL8812AU, RTL8821AU, and RTL8814AU chips.")
(define-public vhba-module
(package
(name "vhba-module")
- (version "20211023")
+ (version "20211218")
(source
(origin
(method url-fetch)
@@ -1419,10 +1430,10 @@ RTL8812AU, RTL8821AU, and RTL8814AU chips.")
"http://downloads.sourceforge.net/cdemu/vhba-module/vhba-module-"
version ".tar.xz"))
(sha256
- (base32 "045zvsdb2yjhzhmb6b7rzsn151ylygz0civ8sl3gmki8m6m7n230"))))
+ (base32 "1dkprnnya0i8121p7ip4g8cww99drk7fzbwcxx65x02jqk0siibj"))))
(build-system linux-module-build-system)
(arguments
- `(#:tests? #f)) ; no test suite
+ (list #:tests? #f)) ; no test suite
(home-page "https://cdemu.sourceforge.io/")
(synopsis "Linux kernel module that emulates SCSI devices")
(description
@@ -1451,8 +1462,7 @@ emulate optical devices such as DVD and CD-ROM drives.")
"1pgldnza7mzd0flrxg4q69dwbq1fhl58m5c62ary5drb0xyf3lqb"))))
(build-system linux-module-build-system)
(arguments
- ;; No tests.
- `(#:tests? #f))
+ (list #:tests? #f)) ; no test suite
(home-page "https://github.com/Bumblebee-Project/bbswitch")
(synopsis "Kernel module that disables discrete Nvidia graphics cards")
(description "The bbswitch module provides a way to toggle the Nvidia
@@ -1462,38 +1472,36 @@ graphics card on Optimus laptops.")
(define-public ddcci-driver-linux
(package
(name "ddcci-driver-linux")
- ;; Use an as-yet unmerged commit to fix the build with Linux-Libre 5.15:
- ;; https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux/-/merge_requests/8
- (version "0.4.1-0.bf9d798")
+ (version "0.4.2")
(source
(origin
(method git-fetch)
(uri
(git-reference
(url "https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux.git")
- (commit "bf9d79852cbd0aa5c2e288ce51b8280f74a1f5d2")))
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1lww3mnqhxqzj0qbxzbwbq93v9zw49myp7p9ib873a5izbq8nadi"))))
(build-system linux-module-build-system)
(arguments
- `(#:tests? #f ; no tests
- #:phases
- (modify-phases %standard-phases
- (replace 'build
- (lambda args
- (for-each
- (lambda (module)
- (with-directory-excursion module
- (apply (assoc-ref %standard-phases 'build) args)))
- '("ddcci" "ddcci-backlight"))))
- (replace 'install
- (lambda args
- (for-each
- (lambda (module)
- (with-directory-excursion module
- (apply (assoc-ref %standard-phases 'install) args)))
- '("ddcci" "ddcci-backlight")))))))
+ (list #:tests? #f ; no tests
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'build
+ (lambda args
+ (for-each
+ (lambda (module)
+ (with-directory-excursion module
+ (apply (assoc-ref %standard-phases 'build) args)))
+ '("ddcci" "ddcci-backlight"))))
+ (replace 'install
+ (lambda args
+ (for-each
+ (lambda (module)
+ (with-directory-excursion module
+ (apply (assoc-ref %standard-phases 'install) args)))
+ '("ddcci" "ddcci-backlight")))))))
(home-page "https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux")
(synopsis "Pair of Linux kernel drivers for DDC/CI monitors")
(description "This package provides two Linux kernel drivers, ddcci and
@@ -1519,7 +1527,7 @@ supported under @file{/sys/class/backlight/}.")
"1qi4l6yam8nrlmc3zwkrz9vph0xsj1cgmkqci4652mbpbzigg7vn"))))
(build-system linux-module-build-system)
(arguments
- `(#:tests? #f)) ; no test suite
+ (list #:tests? #f)) ; no test suite
(home-page "https://github.com/umlaeute/v4l2loopback")
(synopsis "Linux kernel module to create virtual V4L2 video devices")
(description
@@ -1548,26 +1556,26 @@ application by hooking GStreamer into the loopback device.")
"0xr0zx134s56h4ij6c3fh8ki0h58h61minbfxcl3sgpgxkh14ism"))))
(build-system linux-module-build-system)
(arguments
- `(#:tests? #f ; no `check' target
- #:source-directory "hid-xpadneo/src"
- #:phases
- (modify-phases %standard-phases
- (add-after 'install 'post-install
- (lambda* (#:key outputs #:allow-other-keys #:rest args)
- (let ((out (assoc-ref outputs "out")))
- (copy-recursively "hid-xpadneo/etc-modprobe.d"
- (string-append out "/etc/modprobe.d"))
- ;; udev-service-type takes its rules from /lib rather than
- ;; /etc, so copy it there instead
- (copy-recursively "hid-xpadneo/etc-udev-rules.d"
- (string-append out "/lib/udev/rules.d"))))))))
+ (list #:tests? #f ; no `check' target
+ #:source-directory "hid-xpadneo/src"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'post-install
+ (lambda _
+ (copy-recursively "hid-xpadneo/etc-modprobe.d"
+ (string-append #$output "/etc/modprobe.d"))
+ ;; udev-service-type takes its rules from /lib rather than
+ ;; /etc, so copy it there instead
+ (copy-recursively "hid-xpadneo/etc-udev-rules.d"
+ (string-append #$output
+ "/lib/udev/rules.d")))))))
(home-page "https://atar-axis.github.io/xpadneo/")
- (synopsis "Xbox One Wireless Controller driver")
+ (synopsis "Xbox One Wireless Controller driver for the kernel Linux")
(description
"This package provides a driver for the XBox One S Wireless controller
-and some newer models when connected via bluetooth. In addition to the kernel
-module provided itself, it also contains a modprobe configuration and udev
-rules, which need to be installed separately.")
+and some newer models when connected via Bluetooth. In addition to the included
+Linux kernel module, it also contains a modprobe configuration and udev rules,
+which need to be installed separately.")
(license license:gpl3+)))
@@ -1720,7 +1728,7 @@ GnuPG-based password manager like @code{pass}.")
(define-public powercap
(package
(name "powercap")
- (version "0.4.0")
+ (version "0.5.0")
(source
(origin
(method git-fetch)
@@ -1729,11 +1737,11 @@ GnuPG-based password manager like @code{pass}.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1hp2i1d195v0n4jgvgaymkxlpgyhn07ic273gkda95lz65cdfcgm"))))
+ (base32 "1vs84fmhdc3w1541vp0f5ydvdsbg0amjdv2g2f8xdvaw01nakxsn"))))
(build-system cmake-build-system)
(arguments
- '(#:configure-flags
- '("-DBUILD_SHARED_LIBS=ON")))
+ (list #:configure-flags
+ #~(list "-DBUILD_SHARED_LIBS=ON")))
(home-page "https://github.com/powercap/powercap")
(synopsis "Utilities for accessing the powercap Linux kernel feature")
(description "This package contains utilities for accessing the powercap
@@ -1813,7 +1821,7 @@ providing the system administrator with some help in common tasks.")
(define-public util-linux
(package
(name "util-linux")
- (version "2.37.1")
+ (version "2.37.2")
(source (origin
(method url-fetch)
(uri (string-append "mirror://kernel.org/linux/utils/"
@@ -1821,7 +1829,7 @@ providing the system administrator with some help in common tasks.")
"util-linux-" version ".tar.xz"))
(sha256
(base32
- "0xkb7vw2040zi4m0sbhs5qn5l8nrq4xsf4sdxf3cy9mpachd8jwf"))
+ "1ng9517c37mdp858425a4zyybma7dh7jrpd6z1z61yz7mb0n81va"))
(patches (search-patches "util-linux-tests.patch"))
(modules '((guix build utils)))
(snippet
@@ -2339,7 +2347,7 @@ Zerofree requires the file system to be unmounted or mounted read-only.")
(define-public strace
(package
(name "strace")
- (version "5.13")
+ (version "5.15")
(home-page "https://strace.io")
(source (origin
(method url-fetch)
@@ -2347,7 +2355,7 @@ Zerofree requires the file system to be unmounted or mounted read-only.")
"/strace-" version ".tar.xz"))
(sha256
(base32
- "0mmns22bjjvakxj29si0x4dcylcgy26llpcimkb0llcxif439k2s"))
+ "1p3jipp6mj5fwfcjdnp6xhxk84z07jy5qhjlqr6jjdbk54pw5jpb"))
(patches (search-patches "strace-readlink-tests.patch"))))
(build-system gnu-build-system)
(arguments
@@ -2356,8 +2364,7 @@ Zerofree requires the file system to be unmounted or mounted read-only.")
(add-after 'unpack 'patch-/bin/sh
(lambda _
(substitute* "src/strace.c"
- (("/bin/sh") (which "sh")))
- #t))
+ (("/bin/sh") (which "sh")))))
(add-after 'unpack 'disable-failing-tests
(lambda _
(substitute* "tests/Makefile.in"
@@ -2365,8 +2372,9 @@ Zerofree requires the file system to be unmounted or mounted read-only.")
;; extended.
(("^\tstrace-DD?D?\\.test \\\\.*") "")
(("^\tpidns-cache.test \\\\.*") "")
- (("^\t.*--pidns-translation.test \\\\.*") ""))
- #t)))
+ (("^\t.*--pidns-translation.test \\\\.*") "")
+ ;; This one fails with an encoding error.
+ (("^\t.*net-yy-unix.test \\\\.*") "")))))
;; Don't fail if the architecture doesn't support different
;; personalities.
#:configure-flags '("--enable-mpers=check")
@@ -2640,9 +2648,13 @@ external rate conversion.")
(inputs
(list libmnl libnftnl/fixed))
(arguments
- '(#:tests? #f ; no test suite
- #:configure-flags ; add $libdir to the RUNPATH of executables
- (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))))
+ (list #:tests? #f ; no test suite
+ #:configure-flags ; add $libdir to the RUNPATH of executables
+ ;; XXX TODO: Replace with simply #$OUTPUT on core-updates.
+ #~(list (string-append "LDFLAGS=-Wl,-rpath="
+ #$(if (%current-target-system)
+ #~#$output
+ #~%output) "/lib"))))
(home-page "https://www.netfilter.org/projects/iptables/index.html")
(synopsis "Programs to configure Linux IP packet filtering rules")
(description
@@ -2897,37 +2909,33 @@ configuration (iptunnel, ipmaddr).")
(define-public libcap
(package
(name "libcap")
- (version "2.51")
+ (version "2.62")
(source (origin
- (method url-fetch)
- (uri (string-append
- "mirror://kernel.org/linux/libs/security/linux-privs/"
- "libcap2/libcap-" version ".tar.xz"))
- (sha256
- (base32
- "1ych13qc1mvzv8iscbims5b317vxcmy5ffpmfy98zk7bgamz62b6"))))
- (build-system gnu-build-system)
- (arguments `(#:phases
- ,#~(modify-phases %standard-phases
- (replace 'configure
- ;; Add $libdir to the RUNPATH of executables.
- (lambda _
- (substitute* "Make.Rules"
- (("LDFLAGS \\?= #-g")
- (string-append "LDFLAGS ?= -Wl,-rpath="
- #$output "/lib"))))))
- #:test-target "test"
- #:make-flags
- (list "lib=lib"
- (string-append "prefix=" (assoc-ref %outputs "out"))
- "RAISE_SETFCAP=no"
- ;; Tell the makefile to use TARGET-gcc and friends
- ;; when cross-compiling.
- ,@(if (%current-target-system)
- `(,(string-append "CROSS_COMPILE="
- (%current-target-system) "-")
- "BUILD_CC=gcc")
- '()))))
+ (method url-fetch)
+ (uri (string-append
+ "mirror://kernel.org/linux/libs/security/linux-privs/"
+ "libcap2/libcap-" version ".tar.xz"))
+ (sha256
+ (base32
+ "18l3pngsbaahdjzz01rmzrjgcqny4zld685fkq96mq5yr6m5n30r"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure))
+ #:test-target "test"
+ #:make-flags
+ #~(list "lib=lib"
+ (string-append "prefix=" #$output)
+ (string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib")
+ "RAISE_SETFCAP=no"
+ ;; Tell the makefile to use TARGET-gcc and friends
+ ;; when cross-compiling.
+ #$@(if (%current-target-system)
+ `((list (string-append "CROSS_COMPILE="
+ ,(%current-target-system) "-")
+ "BUILD_CC=gcc"))
+ '()))))
(native-inputs (list perl))
(supported-systems (delete "i586-gnu" %supported-systems))
(home-page "https://sites.google.com/site/fullycapable/")
@@ -3074,18 +3082,14 @@ configuration and monitoring interfaces.")
(native-inputs (list pkg-config))
(inputs (list libnl))
(arguments
- `(#:make-flags
- (let* ((target ,(%current-target-system))
- (pkg-config (if target
- (string-append target "-pkg-config")
- "pkg-config")))
- (list
- ,(string-append "CC=" (cc-for-target))
- (string-append "PKG_CONFIG="
- (assoc-ref %build-inputs "pkg-config")
- "/bin/" pkg-config)
- (string-append "PREFIX=" (assoc-ref %outputs "out"))))
- #:phases (modify-phases %standard-phases (delete 'configure))))
+ (list #:make-flags
+ #~(list
+ (string-append "CC=" #$(cc-for-target))
+ (string-append "PKG_CONFIG=" #$(pkg-config-for-target))
+ (string-append "PREFIX=" (assoc-ref %outputs "out")))
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure)))) ; no configure script
(home-page "https://wireless.wiki.kernel.org/")
(synopsis "Tool for configuring wireless devices")
(description
@@ -3725,38 +3729,39 @@ from the module-init-tools project.")
(file-name (git-file-name name version))
(sha256
(base32
- "16iyn51xlrsbshc7p5xl2338yyfzknaqc538sa7mamgccqwgyvvq"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- (substitute* "Makefile"
- (("go test -v")
- "GO111MODULE=off go test -v"))
- #t))))
+ "16iyn51xlrsbshc7p5xl2338yyfzknaqc538sa7mamgccqwgyvvq"))))
(build-system gnu-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (delete 'configure) ; no configure script
- (add-before 'check 'set-go-HOME
- (lambda _
- (setenv "HOME" (getcwd))
- #t))
- (add-before 'check 'disable-failing-test
- (lambda _
- ;; This test relies on writing to /proc/%d/oom_score_adj.
- (substitute* "testsuite_cli_test.go"
- (("TestI" match)
- (string-append "skipped" match)))
- #t)))
- #:make-flags (let* ((prefix (assoc-ref %outputs "out")))
- (list ,(string-append "CC=" (cc-for-target))
- (string-append "VERSION=v" ,version)
- (string-append "PREFIX=" prefix)
- (string-append "SYSCONFDIR=" prefix "/etc")))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure) ; no configure script
+ (add-before 'check 'set-go-HOME
+ (lambda _
+ (setenv "HOME" (getcwd))))
+ (add-before 'check 'disable-failing-test
+ (lambda _
+ ;; This test relies on writing to /proc/%d/oom_score_adj.
+ (substitute* "testsuite_cli_test.go"
+ (("TestI" match)
+ (string-append "skipped" match))))))
+ #:make-flags
+ #~(list (string-append "CC=" #$(cc-for-target))
+ (string-append "VERSION=v" #$version)
+ (string-append "PREFIX=" #$output)
+ (string-append "SYSCONFDIR=" #$output "/etc")
+ "GO111MODULE=off")
#:test-target "test"))
- (native-inputs (list go ;for the test suite
- pandoc)) ;to generate the manpage
+ (native-inputs
+ (append
+ ;; To generate the manpage.
+ (if (or (target-x86-64?) (target-x86-32?))
+ (list pandoc)
+ '())
+ (list
+ ;; For the test suite.
+ cppcheck
+ go)))
(home-page "https://github.com/rfjakob/earlyoom")
(synopsis "Simple out of memory (OOM) daemon for the Linux kernel")
(description "Early OOM is a minimalist out of memory (OOM) daemon that
@@ -3768,7 +3773,7 @@ to the in-kernel OOM killer.")
;; The post-systemd fork, maintained by Gentoo.
(package
(name "eudev")
- (version "3.2.9")
+ (version "3.2.11")
(source (origin
(method git-fetch)
(uri (git-reference (url "https://github.com/gentoo/eudev")
@@ -3776,36 +3781,19 @@ to the in-kernel OOM killer.")
(file-name (git-file-name name version))
(sha256
(base32
- "1g9z3d33m0i3hmbhm0wxpvkzf6ac7xj1drwcfrhzlfhhi63sg9h7"))
+ "0dzaqwjnl55f69ird57wb6skahc6l7zs1slsrzqqfhww33icp6av"))
(patches (search-patches "eudev-rules-directory.patch"))))
(build-system gnu-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
- (add-after 'unpack 'make-source-writable
- (lambda _
- ;; XXX: Git checkouts are read-only, but this package needs to
- ;; modify some of its files.
- (for-each make-file-writable (find-files "."))
- #t))
(add-before 'bootstrap 'patch-file-names
(lambda* (#:key inputs native-inputs #:allow-other-keys)
(substitute* "man/make.sh"
(("/usr/bin/xsltproc")
(string-append (assoc-ref
(or native-inputs inputs) "xsltproc")
- "/bin/xsltproc")))
- #t))
- (add-before 'configure 'patch-bindir-in-btrfs-rules
- (lambda* (#:key outputs #:allow-other-keys)
- ;; The "@bindir@" substitution incorrectly expands to a literal
- ;; "${exec_prefix}" (see <https://bugs.gnu.org/39926>). Work
- ;; around it.
- (let ((out (assoc-ref outputs "out")))
- (substitute* "rules/64-btrfs.rules.in"
- (("@bindir@")
- (string-append out "/bin")))
- #t)))
+ "/bin/xsltproc")))))
(add-after 'install 'move-static-library
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
@@ -3819,8 +3807,7 @@ to the in-kernel OOM killer.")
;; such that Libtool looks for it in the usual places.
(substitute* (string-append out "/lib/libudev.la")
(("old_library=.*")
- "old_library=''\n"))
- #t)))
+ "old_library=''\n")))))
(add-after 'install 'build-hwdb
(lambda* (#:key outputs #:allow-other-keys)
;; Build OUT/etc/udev/hwdb.bin. This allows 'lsusb' and
@@ -4117,46 +4104,67 @@ dm-thin, dm-cache and dm-era device-mapper targets.")
(home-page "https://github.com/jthornber/thin-provisioning-tools")
(license license:gpl3+)))
-(define-public wireless-tools
+(define-public watchdogd
(package
- (name "wireless-tools")
- (version "30.pre9")
+ (name "watchdogd")
+ (version "3.5")
(source (origin
- (method url-fetch)
- (uri (string-append "http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools."
- version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/troglobit/watchdogd")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "0qscyd44jmhs4k32ggp107hlym1pcyjzihiai48xs7xzib4wbndb"))
- (snippet
- '(begin
- ;; Remove the older header files that are not free software.
- (for-each (lambda (n)
- (delete-file (format #f "wireless.~a.h" n)))
- '(10 11 12 13 14 15 16 17 18 19 20))
- #t))))
+ "05f7igavzimfgbh39fflbkmpya12r854n03dkyimwashcqwchx8f"))))
+ (build-system gnu-build-system)
+ (native-inputs (list autoconf automake libtool pkg-config))
+ (inputs (list libconfuse libite libuev))
+ (synopsis "Advanced system & process supervisor for Linux")
+ (description "This package provides an advanced monitor of critical system
+resources, supervises the heartbeat of processes, records deadline
+transgressions, and initiates a controlled reset if needed.")
+ (home-page "https://troglobit.com/projects/watchdogd/")
+ (license license:isc)))
+
+(define-public wireless-tools
+ (package
+ (name "wireless-tools")
+ (version "30.pre9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "http://www.hpl.hp.com/personal/Jean_Tourrilhes/"
+ "Linux/wireless_tools." version ".tar.gz"))
+ (sha256
+ (base32 "0qscyd44jmhs4k32ggp107hlym1pcyjzihiai48xs7xzib4wbndb"))
+ (snippet
+ #~(begin
+ ;; Remove the older header files that are not free software.
+ (for-each (lambda (n)
+ (delete-file (format #f "wireless.~a.h" n)))
+ '(10 11 12 13 14 15 16 17 18 19 20))))))
(build-system gnu-build-system)
(arguments
- `(#:make-flags
- (list (string-append "PREFIX=" %output)
- (string-append "INSTALL_MAN=" %output "/share/man")
- (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")
- "BUILD_STATIC=")
- #:phases
- (modify-phases %standard-phases
- (replace 'configure
- (lambda* (#:key target #:allow-other-keys)
- (when ,(%current-target-system)
- ;; Cross-compilation: use the cross tools.
- (substitute* (find-files "." "Makefile")
- (("CC = .*$")
- (string-append "CC = " target "-gcc\n"))
- (("AR = .*$")
- (string-append "AR = " target "-ar\n"))
- (("RANLIB = .*$")
- (string-append "RANLIB = " target "-ranlib\n"))))
- #t)))
- #:tests? #f))
+ (list #:make-flags
+ #~(list (string-append "PREFIX=" #$output)
+ (string-append "INSTALL_MAN=" #$output "/share/man")
+ (string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib")
+ "BUILD_STATIC=")
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'configure
+ (lambda* (#:key target #:allow-other-keys)
+ (when target
+ ;; Cross-compilation: use the cross tools.
+ (substitute* (find-files "." "Makefile")
+ (("CC = .*$")
+ (string-append "CC = " target "-gcc\n"))
+ (("AR = .*$")
+ (string-append "AR = " target "-ar\n"))
+ (("RANLIB = .*$")
+ (string-append "RANLIB = " target "-ranlib\n")))))))
+ #:tests? #f))
(synopsis "Tools for manipulating Linux Wireless Extensions")
(description "Wireless Tools are used to manipulate the now-deprecated
Linux Wireless Extensions; consider using @code{iw} instead. The Wireless
@@ -4435,8 +4443,9 @@ create a firmware image suitable for the Linux kernel, and more.")
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; no 'check' target
- #:make-flags (list (string-append "prefix=" %output)
- ,(string-append "CC=" (cc-for-target)))
+ #:make-flags
+ ,#~(list (string-append "prefix=" #$output)
+ (string-append "CC=" #$(cc-for-target)))
;; No configure script.
#:phases (modify-phases %standard-phases (delete 'configure))))
(inputs
@@ -4656,27 +4665,26 @@ isolation or root privileges.")
(define-public hdparm
(package
(name "hdparm")
- (version "9.62")
+ (version "9.63")
(source (origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/hdparm/hdparm/"
"hdparm-" version ".tar.gz"))
(sha256
(base32
- "0zvppv8qw0y1shlhn34iq1g4883i1cywsa514n595nmyrmsrs3rc"))))
+ "14cni5r116k07zqj0565byjhv6gf3ns6hd8jkjl7fn5sxgm5sy3h"))))
(build-system gnu-build-system)
(arguments
- `(#:make-flags
- (let ((out (assoc-ref %outputs "out")))
- (list (string-append "binprefix=" out)
- (string-append "manprefix=" out)
- ,(string-append "CC=" (cc-for-target))
- ;; Let Guix strip the binaries and not break cross-compilation.
- "STRIP=true"))
- #:phases
- (modify-phases %standard-phases
- (delete 'configure)) ; no configure script
- #:tests? #f)) ; no test suite
+ (list #:make-flags
+ #~(list (string-append "binprefix=" #$output)
+ (string-append "manprefix=" #$output)
+ (string-append "CC=" #$(cc-for-target))
+ ;; Let Guix strip binaries and not break cross-compilation.
+ "STRIP=true")
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure)) ; no configure script
+ #:tests? #f)) ; no test suite
(home-page "https://sourceforge.net/projects/hdparm/")
(synopsis "View and tune ATA disk drive parameters")
(description
@@ -4695,7 +4703,7 @@ Translation (@dfn{SAT}) are also supported.")
(define-public nvme-cli
(package
(name "nvme-cli")
- (version "1.15")
+ (version "1.16")
(home-page "https://github.com/linux-nvme/nvme-cli")
(source (origin
(method git-fetch)
@@ -4703,21 +4711,22 @@ Translation (@dfn{SAT}) are also supported.")
(url home-page)
(commit (string-append "v" version))))
(sha256
- (base32 "0qr1wa163cb7z6g083nl3zcc28mmlbxh1m97pd54bp3gyrhmdhhr"))
+ (base32 "130x5cf6kkcnyg5qd35igii249ysfjnbxp1pxfwkickmqg3d007z"))
(file-name (git-file-name name version))))
(build-system gnu-build-system)
(arguments
- `(#:make-flags
- (list ,(string-append "CC=" (cc-for-target)))
- #:phases (modify-phases %standard-phases
- (delete 'configure) ; no ./configure script
- (replace 'install
- (lambda _
- (invoke "make" "install-spec" "PREFIX="
- (string-append "DESTDIR=" %output)))))
- ;; The tests require sysfs, which is not accessible from from the build
- ;; environment
- #:tests? #f))
+ (list #:make-flags
+ #~(list (string-append "CC=" #$(cc-for-target)))
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure) ; no ./configure script
+ (replace 'install
+ (lambda _
+ (invoke "make" "install-spec" "PREFIX="
+ (string-append "DESTDIR=" #$output)))))
+ ;; The tests require sysfs, which is not accessible from from the
+ ;; build environment.
+ #:tests? #f))
(synopsis "NVM-Express user space tooling for Linux")
(description "Nvme-cli is a utility to provide standards compliant tooling
for NVM-Express drives. It was made specifically for Linux as it relies on the
@@ -4860,6 +4869,65 @@ information, and set the CPU frequency if supported, using the cpufreq
capabilities of the Linux kernel.")
(license license:gpl2)))
+(define-public libite
+ (package
+ (name "libite")
+ (version "2.5.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/troglobit/libite")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "14i0q0nxns6g4zh86zdqy97dwljkqdr5l85ammljzccsrijg9m8v"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-tests
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; replace paths to the executables
+ (substitute* "test/which.c"
+ (("/usr/bin/which")
+ (search-input-file inputs "/bin/which"))
+ (("ls\"")
+ (string-append
+ (search-input-file inputs "/bin/ls") "\"")))
+ ;; create pidfile in /tmp instead of /var
+ (substitute* "test/pidfile.c" (("/var/tmp") "/tmp")))))))
+ (native-inputs (list autoconf automake libtool which))
+ (synopsis "Library providing missing pieces in GNU libc")
+ (description "This package provides many of the missing pieces in GNU
+libc. Most notably the string functions: strlcpy(3), strlcat(3) and the *BSD
+sys/queue.h and sys/tree.h API's.")
+ (home-page "https://troglobit.com/projects/libite/")
+ (license license:expat)))
+
+(define-public libuev
+ (package
+ (name "libuev")
+ (version "2.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/troglobit/libuev")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0ih82lxfdcq179kknzdl5c8vi1l0n5j7yh68y8f6kwsrm457paf7"))))
+ (build-system gnu-build-system)
+ (native-inputs (list autoconf automake libtool))
+ (synopsis "Lightweight event loop library for epoll family APIs")
+ (description "This package provides small event loop that wraps the
+epoll family of APIs.")
+ (home-page "https://troglobit.com/projects/libuev/")
+ (license license:expat)))
+
(define-public libraw1394
(package
(name "libraw1394")
@@ -4933,7 +5001,7 @@ MPEG-2 and audio over Linux IEEE 1394.")
(define-public mdadm
(package
(name "mdadm")
- (version "4.1")
+ (version "4.2")
(source (origin
(method url-fetch)
(uri (string-append
@@ -4941,40 +5009,38 @@ MPEG-2 and audio over Linux IEEE 1394.")
version ".tar.xz"))
(sha256
(base32
- "0jjgjgqijpdp7ijh8slzzjjw690kydb1jjadf0x5ilq85628hxmb"))))
+ "07ghmibmbnkdy91ng87zdllzicm299l20dhs9m5bfjw6f1b22726"))))
(build-system gnu-build-system)
+ (arguments
+ (list #:make-flags
+ #~(list (string-append "CC=" #$(cc-for-target))
+ "INSTALL=install"
+ "CHECK_RUN_DIR=0"
+ ;; TODO: tell it where to find 'sendmail'
+ ;; (string-append "MAILCMD=" <???> "/sbin/sendmail")
+ (string-append "BINDIR=" #$output "/sbin")
+ (string-append "MANDIR=" #$output "/share/man")
+ (string-append "UDEVDIR=" #$output "/lib/udev"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'patch-program-paths
+ (lambda* (#:key native-inputs inputs #:allow-other-keys)
+ (let ((coreutils (assoc-ref (or native-inputs inputs)
+ "coreutils")))
+ (substitute* "udev-md-raid-arrays.rules"
+ (("/usr/bin/(readlink|basename)" all program)
+ (string-append coreutils "/bin/" program))))))
+ (add-before 'build 'remove-W-error
+ (lambda _
+ ;; We cannot build with -Werror on i686 due to a
+ ;; 'sign-compare' warning in util.c.
+ (substitute* "Makefile"
+ (("-Werror") ""))))
+ (delete 'configure))
+ ;; Tests must be run as root.
+ #:tests? #f))
(inputs
- `(("udev" ,eudev)))
- (arguments
- `(#:make-flags (let ((out (assoc-ref %outputs "out")))
- (list ,(string-append "CC=" (cc-for-target))
- "INSTALL=install"
- "CHECK_RUN_DIR=0"
- ;; TODO: tell it where to find 'sendmail'
- ;; (string-append "MAILCMD=" <???> "/sbin/sendmail")
- (string-append "BINDIR=" out "/sbin")
- (string-append "MANDIR=" out "/share/man")
- (string-append "UDEVDIR=" out "/lib/udev")))
- #:phases
- (modify-phases %standard-phases
- (add-before 'build 'patch-program-paths
- (lambda* (#:key native-inputs inputs #:allow-other-keys)
- (let ((coreutils (assoc-ref (or native-inputs inputs)
- "coreutils")))
- (substitute* "udev-md-raid-arrays.rules"
- (("/usr/bin/(readlink|basename)" all program)
- (string-append coreutils "/bin/" program))))
- #t))
- (add-before 'build 'remove-W-error
- (lambda _
- ;; We cannot build with -Werror on i686 due to a
- ;; 'sign-compare' warning in util.c.
- (substitute* "Makefile"
- (("-Werror") ""))
- #t))
- (delete 'configure))
- ;;tests must be done as root
- #:tests? #f))
+ (list eudev))
(supported-systems (delete "i586-gnu" %supported-systems))
(home-page "http://neil.brown.name/blog/mdadm")
(synopsis "Tool for managing Linux Software RAID arrays")
@@ -4991,20 +5057,21 @@ arrays when needed.")
(arguments
(substitute-keyword-arguments (package-arguments mdadm)
((#:make-flags flags)
- `(cons "LDFLAGS = -static" ,flags))
+ #~(cons* "LDFLAGS = -static"
+ "CXFLAGS = -DNO_LIBUDEV"
+ #$flags))
((#:phases phases)
- `(modify-phases ,phases
- (add-after 'install 'remove-cruft
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (precious? (lambda (file)
- (member file '("." ".." "sbin"))))
- (directories (scandir out (negate precious?))))
- (with-directory-excursion out
- (for-each delete-file-recursively directories)
- (remove-store-references "sbin/mdadm")
- (delete-file "sbin/mdmon")
- #t))))))
+ #~(modify-phases #$phases
+ (add-after 'install 'remove-cruft
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (precious? (lambda (file)
+ (member file '("." ".." "sbin"))))
+ (directories (scandir out (negate precious?))))
+ (with-directory-excursion out
+ (for-each delete-file-recursively directories)
+ (remove-store-references "sbin/mdadm")
+ (delete-file "sbin/mdmon")))))))
((#:modules modules %gnu-build-system-modules)
`((ice-9 ftw) ,@modules))
((#:strip-flags _ '())
@@ -5136,17 +5203,22 @@ Linux Device Mapper multipathing driver:
"14mlqdapjqq1dhpkdgy5z83mvsaz36fcxca7a4z6hinmr7r6415b"))))
(build-system gnu-build-system)
(arguments
- `(#:make-flags
- (let ((target ,(%current-target-system)))
- (list (string-append "prefix=" %output)
- (string-append
- "CC=" (if target
- (string-append (assoc-ref %build-inputs "cross-gcc")
- "/bin/" target "-gcc")
- "gcc"))))
- #:test-target "partcheck" ; need root for a full 'check'
- #:phases
- (modify-phases %standard-phases (delete 'configure)))) ; no configure script
+ (list #:make-flags
+ #~(let ((target #$(%current-target-system)))
+ ;; XXX TODO: Replace with simply #$OUTPUT on core-updates.
+ (list (string-append "prefix=" #$(if (%current-target-system)
+ #~#$output
+ #~%output))
+ (string-append
+ "CC=" (if target
+ (string-append (assoc-ref %build-inputs
+ "cross-gcc")
+ "/bin/" target "-gcc")
+ "gcc"))))
+ #:test-target "partcheck" ; need root for a full 'check'
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure)))) ; no configure script
(home-page "https://pagure.io/libaio")
(synopsis "Linux-native asynchronous I/O access library")
(description
@@ -6259,7 +6331,7 @@ cpufreq sub-system is enabled or not.")
(define-public haveged
(package
(name "haveged")
- (version "1.9.15")
+ (version "1.9.17")
(source
(origin
(method git-fetch)
@@ -6268,7 +6340,7 @@ cpufreq sub-system is enabled or not.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1zb790adsmqq3r26zlaxfrk2hpgxjcjz8l73hn3hli3l3javykvd"))))
+ (base32 "119iy8qrvdjkfwnzn1nfjzh2bbihb1vl44qhd6yzzcacjm6pwndr"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags
@@ -6437,7 +6509,7 @@ the default @code{nsswitch} and the experimental @code{umich_ldap}.")
(define-public mcelog
(package
(name "mcelog")
- (version "179")
+ (version "180")
(source
(origin
(method git-fetch)
@@ -6446,7 +6518,7 @@ the default @code{nsswitch} and the experimental @code{umich_ldap}.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0fz9j0p8jyp4m09wshl8cdhdvrdidf29bjp9hgwvv6xvg8lma06g"))
+ (base32 "1xy1082c67yd48idg5vwvrw7yx74gn6jj2d9c67d0rh6yji091ki"))
(modules '((guix build utils)))
(snippet
`(begin
@@ -6465,6 +6537,8 @@ the default @code{nsswitch} and the experimental @code{umich_ldap}.")
"etcprefix=$(DOCDIR)/examples"))
;; The tests will only run as root on certain supported CPU models.
#:tests? #f))
+ (native-inputs
+ (list python-wrapper)) ; to generate example mcelog.conf
(supported-systems (list "i686-linux" "x86_64-linux"))
(home-page "https://mcelog.org/")
(synopsis "Machine check monitor for x86 Linux systems")
@@ -6668,14 +6742,14 @@ running boot option, and more.")
(define-public sysstat
(package
(name "sysstat")
- (version "12.4.3")
+ (version "12.4.4")
(source
(origin
(method url-fetch)
(uri (string-append "http://pagesperso-orange.fr/sebastien.godard/"
"sysstat-" version ".tar.xz"))
(sha256
- (base32 "1z8bdyj92q0capbrdscwzb51bqh54ng15gpvmjmvrb2syhqj8hxf"))))
+ (base32 "091xjip7l52dxal8dsfh5chksr4g9gclnssw3hjjxy84kr3yf4lm"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; no test suite.
@@ -6692,8 +6766,7 @@ running boot option, and more.")
(lambda _
(substitute* "Makefile"
(("mkdir -p \\$\\(DESTDIR\\)\\$\\(SA_DIR\\)")
- ""))
- #t)))))
+ "")))))))
(home-page "http://sebastien.godard.pagesperso-orange.fr/")
(synopsis "Performance monitoring tools for Linux")
(description "The sysstat utilities are a collection of performance
@@ -6796,7 +6869,7 @@ interface in sysfs, which can be accomplished with the included udev rules.")
(define-public tlp
(package
(name "tlp")
- (version "1.4.0")
+ (version "1.5.0")
(source
(origin
(method git-fetch)
@@ -6805,7 +6878,7 @@ interface in sysfs, which can be accomplished with the included udev rules.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0bnsz9bw9rj1apl80jwz39zj5mnlps3jbckihvl8bbdbrbhj6p06"))))
+ (base32 "0cssclk2brhwvn9dm7h5snm2svwy0c8cfr4z2cgkdkac2pfaaxw4"))))
(native-inputs
(list shellcheck))
(inputs
@@ -6864,15 +6937,13 @@ interface in sysfs, which can be accomplished with the included udev rules.")
(setenv "TLP_SHCPL"
(string-append out "/share/bash-completion/completions"))
(setenv "TLP_MAN" (string-append out "/share/man"))
- (setenv "TLP_META" (string-append out "/share/metainfo"))
- #t)))
+ (setenv "TLP_META" (string-append out "/share/metainfo")))))
(add-before 'install 'fix-installation
(lambda _
;; Stop the Makefile from trying to create system directories.
(substitute* "Makefile"
(("\\[ -f \\$\\(_CONFUSR\\) \\]") "#")
- (("install -d -m 755 \\$\\(_VAR\\)") "#"))
- #t))
+ (("install -d -m 755 \\$\\(_VAR\\)") "#"))))
(replace 'install
(lambda _ (invoke "make" "install-tlp" "install-man-tlp")))
(add-after 'install 'wrap
@@ -6908,8 +6979,7 @@ interface in sysfs, which can be accomplished with the included udev rules.")
"pciutils"
"rfkill"
"wireless-tools"))))))
- bin-files)
- #t))))))
+ bin-files)))))))
(home-page "https://linrunner.de/en/tlp/tlp.html")
(synopsis "Power management tool for Linux")
(description "TLP is a power management tool for Linux. It comes with
@@ -6920,6 +6990,70 @@ every time the power supply source is changed.")
;; rest is GPLv2+.
(license (list license:gpl2+ license:gpl3+))))
+(define-public tlpui
+ (package
+ (name "tlpui")
+ (version "1.5.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/d4nj1/TLPUI")
+ (commit (string-append "tlpui-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0ca18hazxksx516nkh28f6rd0l1039nkn7mszqfy68c461061q1h"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-setup.py
+ ;; Install data_files to $out/share instead of /usr/share.
+ (lambda _
+ (substitute* "setup.py"
+ (("/usr/") ""))))
+ (add-after 'unpack 'use-tlp-input
+ ;; Hard-code tlp-stat filename to avoid propagating "tlp".
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((tlp-stat (search-input-file inputs "/bin/tlp-stat")))
+ (with-directory-excursion "tlpui"
+ (substitute* '("file.py" "settingshelper.py" "statui.py")
+ (("which\\(\"tlp-stat\"\\)")
+ (string-append "'" tlp-stat "'"))
+ (("\"tlp-stat\"")
+ (string-append "'" tlp-stat "'")))))))
+ (add-before 'check 'fix-home-directory
+ (lambda _
+ ;; Tests fail with "Permission denied:
+ ;; '/homeless-shelter'".
+ (setenv "HOME" "/tmp")))
+ ;; `sanity-check' phase errors out with the following
+ ;; messages: "Unable to init server: Could not connect:
+ ;; Connection refused" and "Error: cannot read user
+ ;; configuration from /etc/tlp.conf or /etc/default/tlp".
+ (delete 'sanity-check)
+ (replace 'check
+ (lambda _
+ (invoke "python" "-m" "discover")))
+ (add-after 'install 'wrap-gi-python
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out"))
+ (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
+ (wrap-program (string-append out "/bin/tlpui")
+ `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))))))))
+ (native-inputs
+ (list `(,glib "bin") gobject-introspection python-discover))
+ (inputs
+ (list gtk+ python-pygobject tlp))
+ (home-page "https://github.com/d4nj1/TLPUI")
+ (synopsis "User interface for TLP written in Python")
+ (description
+ "The Python scripts in this project generate a GTK-UI to change
+TLP configuration files easily. It aims to protect users from setting
+bad configuration and to deliver a basic overview of all the valid
+configuration values.")
+ (license license:gpl2+)))
+
(define-public lshw
(package
(name "lshw")
@@ -7231,11 +7365,8 @@ available in the kernel Linux.")
(add-before 'install 'fix-makefile
(lambda* (#:key outputs #:allow-other-keys)
(substitute* "Makefile"
- (("\\$\\(BUILDROOT\\)/usr") (assoc-ref outputs "out")))
- ;; Make the compressed manpages writable so that the
- ;; reset-gzip-timestamps phase does not error out.
- (substitute* "Makefile"
- (("-m 444") "-m 644")))))))
+ (("\\$\\(BUILDROOT\\)/usr")
+ (assoc-ref outputs "out"))))))))
(inputs (list perl))
(supported-systems '("i686-linux" "x86_64-linux"))
(home-page "http://www.etallen.com/cpuid.html")
@@ -7742,7 +7873,7 @@ compatible with Python's ConfigParser style of .INI files, including RFC
(define-public xfsprogs
(package
(name "xfsprogs")
- (version "5.14.0")
+ (version "5.14.2")
(source (origin
(method url-fetch)
(uri (string-append
@@ -7750,7 +7881,7 @@ compatible with Python's ConfigParser style of .INI files, including RFC
"xfsprogs-" version ".tar.gz"))
(sha256
(base32
- "1kfglkilc8msgbb1168zj7mxs71pypz9rvl4jhiam5qy786difh8"))))
+ "0368dacdjq55ip38yizs9spdyl7b0b1c0vz3gr1gvcb9rw3a6dnp"))))
(build-system gnu-build-system)
(outputs (list "out" "python"))
(arguments
@@ -8106,7 +8237,7 @@ of Linux application development.")
(package
(inherit pipewire)
(name "pipewire")
- (version "0.3.40")
+ (version "0.3.43")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -8115,7 +8246,7 @@ of Linux application development.")
(file-name (git-file-name name version))
(sha256
(base32
- "1c6gni23l5w3ghwqnfs712kjj6l1825f0ib8a6r2xc1ymr0sx3kr"))))
+ "0gp2h0sidapcqmnifl0iipdmbzb18bdh8zdi7pfywr9gsksh0cxy"))))
(arguments
'(#:configure-flags
(list (string-append "-Dudevrulesdir=" (assoc-ref %outputs "out")
@@ -8126,20 +8257,49 @@ of Linux application development.")
(modify-phases %standard-phases
;; Skip shrink-runpath, otherwise validate-runpath fails.
(delete 'shrink-runpath))))
- (inputs
- (append (package-inputs pipewire)
- `(("avahi" ,avahi)
- ("bluez" ,bluez)
- ("jack" ,jack-2)
- ("ldacbt" ,ldacbt)
- ("pulseaudio" ,pulseaudio)
- ("vulkan-loader" ,vulkan-loader)
- ("vulkan-headers" ,vulkan-headers))))))
+ (inputs (modify-inputs (package-inputs pipewire)
+ (prepend avahi
+ bluez
+ jack-2
+ ldacbt
+ pulseaudio
+ vulkan-loader
+ vulkan-headers)))))
+
+(define-public wireplumber
+ (package
+ (name "wireplumber")
+ (version "0.4.6")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url
+ "https://gitlab.freedesktop.org/pipewire/wireplumber.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0g7xkgkjlxrhs49hqkwrjk2hb478gq55wwydafvvbsv78vsa7qfb"))))
+ (build-system meson-build-system)
+ (arguments
+ `(#:configure-flags '("-Dsystemd=disabled"
+ "-Dsystem-lua=true")))
+ (native-inputs
+ (list `(,glib "bin")
+ pkg-config))
+ (inputs (list dbus elogind glib lua pipewire-0.3))
+ (home-page "https://gitlab.freedesktop.org/pipewire/wireplumber")
+ (synopsis "Session / policy manager implementation for PipeWire")
+ (description "WirePlumber is a modular session / policy manager for
+PipeWire and a GObject-based high-level library that wraps PipeWire's API,
+providing convenience for writing the daemon's modules as well as external
+tools for managing PipeWire.")
+ (license license:expat)))
(define-public ell
(package
(name "ell")
- (version "0.41")
+ (version "0.46")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -8148,7 +8308,7 @@ of Linux application development.")
(file-name (git-file-name name version))
(sha256
(base32
- "14scs8vqpcf2810gvabsplg9yzh9y4sz47407bjy6vd604z3w8ah"))))
+ "15hwqicmll23cbrj13h3wd4lgrby416ap7l6w0434jsza4s4yv82"))))
(build-system gnu-build-system)
(arguments
`(#:phases
@@ -8194,8 +8354,8 @@ platforms, it is not limited to resource-constrained systems.")
;; This variant of binutils is used for the 64 bit support needed to
;; assemble the `purgatory/arch/i386/compat_x86_64.S' program on i686-linux.
(native-inputs (list (make-ld-wrapper "ld-wrapper"
- #:binutils binutils-next)
- binutils-next))
+ #:binutils binutils)
+ binutils))
(home-page "https://projects.horms.net/projects/kexec/")
(synopsis "Tools for booting directly into different kernels")
(description "This package provides the @code{kexec} program and ancillary
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 407d44e156..25fa21f70f 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -27,7 +27,7 @@
;;; Copyright © 2021 Cage <cage-dev@twistfold.it>
;;; Copyright © 2021 Cameron Chaparro <cameron@cameronchaparro.com>
;;; Copyright © 2021 Charles Jackson <charles.b.jackson@protonmail.com>
-;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo@hotmail.com>
+;;; Copyright © 2021, 2022 Foo Chuan Wei <chuanwei.foo@hotmail.com>
;;; Copyright © 2021 jgart <jgart@dismail.de>
;;; Copyright © 2021 Aleksandr Vityazev <avityazev@posteo.org>
;;; Copyright © 2021 Jacob MacDonald <jaccarmac@gmail.com>
@@ -85,6 +85,7 @@
#:use-module (gnu packages lisp-check)
#:use-module (gnu packages maths)
#:use-module (gnu packages mp3)
+ #:use-module (gnu packages mpi)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages networking)
#:use-module (gnu packages pkg-config)
@@ -1727,7 +1728,7 @@ In addition to regular Packrat / Parsing Grammar / TDPL features ESRAP supports:
(define-public sbcl-split-sequence
(package
(name "sbcl-split-sequence")
- (version "2.0.0")
+ (version "2.0.1")
(source
(origin
(method git-fetch)
@@ -1736,7 +1737,7 @@ In addition to regular Packrat / Parsing Grammar / TDPL features ESRAP supports:
(commit (string-append "v" version))))
(sha256
(base32
- "0jcpnx21hkfwqj5fvp7kc6pn1qcz9hk7g2s5x8h0349x1j2irln0"))
+ "172k7iv775kwism6304p6z7mqpjvipl57nq1bgvmbk445943fmhq"))
(file-name (git-file-name "split-sequence" version))))
(build-system asdf-build-system/sbcl)
(native-inputs
@@ -3211,7 +3212,7 @@ is a library for creating graphical user interfaces.")
(define-public sbcl-cl-webkit
(package
(name "sbcl-cl-webkit")
- (version "3.4.0")
+ (version "3.5.0")
(source
(origin
(method git-fetch)
@@ -3221,7 +3222,7 @@ is a library for creating graphical user interfaces.")
(file-name (git-file-name "cl-webkit" version))
(sha256
(base32
- "0l6ml7g0r0kzbgf49bsgj2yxhgralh8fc0h9vpc79fvw20qgsd56"))))
+ "1a16dka15lqzpli0f0qd3afmi14vgdxnfkn9z9d1r4cw9p11s71l"))))
(build-system asdf-build-system/sbcl)
(inputs
`(("cffi" ,sbcl-cffi)
@@ -3739,7 +3740,7 @@ backtrace portably.")
(base32 "0phh5n3clhl9ji8jaxrajidn22d3f0aq87mlbfkkxlnx2pnw694k"))))
(build-system asdf-build-system/sbcl)
(home-page "https://github.com/jdz/rfc2388/")
- (synopsis "An implementation of RFC 2388 in Common Lisp")
+ (synopsis "Implementation of RFC 2388 in Common Lisp")
(description
"This package contains an implementation of RFC 2388, which is used to
process form data posted with HTTP POST method using enctype
@@ -3784,8 +3785,8 @@ RFC 1321 by R. Rivest, published April 1992.")
(list ecl-flexi-streams))))
(define-public sbcl-cl+ssl
- (let ((commit "701e645081e6533a3f0f0b3ac86389d6f506c4b5")
- (revision "1"))
+ (let ((commit "09e896b04c112e7eb0f9d443a5801d557fbcd3ea")
+ (revision "2"))
(package
(name "sbcl-cl+ssl")
(version (git-version "0.0.0" revision commit))
@@ -3797,7 +3798,7 @@ RFC 1321 by R. Rivest, published April 1992.")
(commit commit)))
(file-name (git-file-name "cl+ssl" version))
(sha256
- (base32 "0nfl275nwhff3m25872y388cydz14kqb6zbwywa6nj85r9k8bgs0"))))
+ (base32 "1ynvk8rbd5zvbdrl8mr49jwmg9fh94clzkagkza9jmpj0p1qvynd"))))
(build-system asdf-build-system/sbcl)
(arguments
'(#:phases
@@ -3807,6 +3808,9 @@ RFC 1321 by R. Rivest, published April 1992.")
(substitute* "src/reload.lisp"
(("libssl.so" all)
(string-append
+ (assoc-ref inputs "openssl") "/lib/" all))
+ (("libcrypto.so" all)
+ (string-append
(assoc-ref inputs "openssl") "/lib/" all))))))))
(inputs
(list openssl
@@ -3816,7 +3820,8 @@ RFC 1321 by R. Rivest, published April 1992.")
sbcl-bordeaux-threads
sbcl-trivial-garbage
sbcl-alexandria
- sbcl-trivial-features))
+ sbcl-trivial-features
+ sbcl-usocket))
(home-page "https://common-lisp.net/project/cl-plus-ssl/")
(synopsis "Common Lisp bindings to OpenSSL")
(description
@@ -4131,7 +4136,7 @@ PROPER-LIST, ASSOCIATION-LIST, PROPERTY-LIST and TUPLE.")
(inputs
(list sbcl-alexandria))
(home-page "https://github.com/m2ym/cl-annot")
- (synopsis "Python-like Annotation Syntax for Common Lisp.")
+ (synopsis "Python-like Annotation Syntax for Common Lisp")
(description
"@code{cl-annot} is an general annotation library for Common Lisp.")
(license license:llgpl))))
@@ -4202,7 +4207,7 @@ PROPER-LIST, ASSOCIATION-LIST, PROPERTY-LIST and TUPLE.")
(("in-package :cl-utilities)" all)
"in-package :cl-utilities)\n\n#+sbcl\n(require :sb-rotate-byte)")))))))
(home-page "http://common-lisp.net/project/cl-utilities")
- (synopsis "A collection of semi-standard utilities")
+ (synopsis "Collection of semi-standard utilities")
(description
"On Cliki.net <http://www.cliki.net/Common%20Lisp%20Utilities>, there
is a collection of Common Lisp Utilities, things that everybody writes since
@@ -8103,57 +8108,58 @@ sacrificing much in the way of power.")
(sbcl-package->ecl-package sbcl-external-program))
(define-public sbcl-cl-ana
- (let ((commit "fa7cee4c50aa1c859652813049ba0da7c18a0df9")
- (revision "1"))
+ (let ((commit "848185eed1ed65bab3a124870c122f761ce0d87e")
+ (revision "2"))
(package
- (name "sbcl-cl-ana")
- (version (git-version "0.0.0" revision commit))
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/ghollisjr/cl-ana")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32 "0mr47l57m276dbpap7irr4fcnk5fgknhf6mgv4043s8h73amk5qh"))))
- (build-system asdf-build-system/sbcl)
- (native-inputs
- (list sbcl-cl-fad))
- (inputs
- `(("alexandria" ,sbcl-alexandria)
- ("antik" ,sbcl-antik)
- ("cffi" ,sbcl-cffi)
- ("cl-csv" ,sbcl-cl-csv)
- ("closer-mop" ,sbcl-closer-mop)
- ("external-program" ,sbcl-external-program)
- ("gsl" ,gsl)
- ("gsll" ,sbcl-gsll)
- ("hdf5" ,hdf5-parallel-openmpi)
- ("iterate" ,sbcl-iterate)
- ("libffi" ,libffi)
- ("split-sequence" ,sbcl-split-sequence)))
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-paths
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "hdf-cffi/hdf-cffi.lisp"
- (("/usr/lib/i386-linux-gnu/hdf5/serial/libhdf5.so")
- (search-input-file inputs "/lib/libhdf5.so")))
- (substitute* "gsl-cffi/gsl-cffi.lisp"
- (("define-foreign-library gsl-cffi" all)
- (string-append all " (:unix "
- (assoc-ref inputs "gsl")
- "/lib/libgsl.so)")))
- #t)))))
- (synopsis "Common Lisp data analysis library")
- (description
- "CL-ANA is a data analysis library in Common Lisp providing tabular and
+ (name "sbcl-cl-ana")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ghollisjr/cl-ana")
+ (commit commit)))
+ (file-name (git-file-name "cl-ana" version))
+ (sha256
+ (base32 "026agqsxq3pg2k9jmy2wysil2z0yn5rykzzhr8rqxsspdwz51z1y"))))
+ (build-system asdf-build-system/sbcl)
+ (native-inputs
+ (list openmpi ;; for hdf-cffi
+ pkg-config
+ sbcl-cl-fad))
+ (inputs
+ (list gsl
+ hdf5-parallel-openmpi
+ libffi
+ sbcl-antik
+ sbcl-cffi
+ sbcl-cl-csv
+ sbcl-closer-mop
+ sbcl-external-program
+ sbcl-gsll
+ sbcl-iterate
+ sbcl-alexandria
+ sbcl-split-sequence))
+ (propagated-inputs
+ (list gnuplot)) ;; for gnuplot-interface
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "hdf-cffi/src/library.lisp"
+ (("libhdf5.so")
+ (search-input-file inputs "/lib/libhdf5.so")))
+ (substitute* "gsl-cffi/gsl-cffi.lisp"
+ (("libgsl.so")
+ (search-input-file inputs "/lib/libgsl.so"))))))))
+ (synopsis "Common Lisp data analysis library")
+ (description
+ "CL-ANA is a data analysis library in Common Lisp providing tabular and
binned data analysis along with nonlinear least squares fitting and
visualization.")
- (home-page "https://github.com/ghollisjr/cl-ana")
- (license license:gpl3))))
+ (home-page "https://github.com/ghollisjr/cl-ana")
+ (license license:gpl3))))
(define-public cl-ana
(sbcl-package->cl-source-package sbcl-cl-ana))
@@ -10576,7 +10582,7 @@ accompaniment to the standard ANSI facilities.")
`(#:asd-systems '("xembed")))
(inputs
(list sbcl-clx))
- (synopsis "CL(x) xembed protocol implementation ")
+ (synopsis "CL(x) xembed protocol implementation")
(description "CL(x) xembed protocol implementation")
;; MIT License
(license license:expat))))
@@ -11957,7 +11963,7 @@ overview article about COP which also contains some ContextL examples:
(home-page "http://dwim.hu/project/hu.dwim.common-lisp")
(synopsis "Redefine some standard Common Lisp names")
(description "This library is a redefinition of the standard Common Lisp
-package that includes a number of renames and shadows. ")
+package that includes a number of renames and shadows.")
(license license:public-domain))))
(define-public cl-hu.dwim.common-lisp
@@ -12116,7 +12122,7 @@ carrys on from the end of the body.")
;; Component ENVY-ASD::ENVY-TEST not found, required by #<SYSTEM "envy">
;; like xsubseq. Why?
#:tests? #f))
- (synopsis "Common Lisp configuration switcher inspired by Perl's Config::ENV.")
+ (synopsis "Common Lisp configuration switcher inspired by Perl's Config::ENV")
(description "Envy is a configuration manager for various applications.
Envy uses an environment variable to determine a configuration to use. This
can separate configuration system from an implementation.")
@@ -13700,7 +13706,7 @@ for debugging and profiling real world applications.")
statistical data for it. On SBCL this includes the data from @code{time}, for
all other implementations just the @code{real-time} and @code{run-time} data.
However, you can extend the system by adding your own @code{metrics} to it, or
-even by adding additional statistical @code{compute}ations. ")
+even by adding additional statistical @code{compute}ations.")
(license license:zlib))))
(define-public cl-trivial-benchmark
@@ -16053,8 +16059,8 @@ application fail and be unable to do so using its standard UI.")
(home-page "https://shirakumo.github.io/glsl-toolkit/")
(synopsis "Parser for OpenGL Shader Language source files")
(description
- "This package provides a Common Lisp system collecting tools written to
-allow to wrangle OpenGL Shader Language (GLSL) source files.")
+ "This package provides Common Lisp system collecting tools written to
+wrangle OpenGL Shader Language (GLSL) source files.")
(license license:zlib))))
(define-public ecl-glsl-toolkit
@@ -18106,10 +18112,10 @@ bound to whatever value was in the same place in the URL (as a string).")
(define-public sbcl-spinneret
;; No release since 2019, no tags.
- (let ((commit "02451b32648eda4e6e4022bbb7f91d9ea71bebbc"))
+ (let ((commit "52709ab953c46b24cbc2f0e3a50ae362916e730c"))
(package
(name "sbcl-spinneret")
- (version (git-version "3.0" "4" commit))
+ (version (git-version "3.0" "5" commit))
(source
(origin
(method git-fetch)
@@ -18118,7 +18124,7 @@ bound to whatever value was in the same place in the URL (as a string).")
(commit commit)))
(file-name (git-file-name name version))
(sha256
- (base32 "0jllnsi2ibw0gax9szpdrjxvw9qqibydpdbnkf683yfb1d5jlci1"))))
+ (base32 "1wzs0hzlwf0vzk4gb66psqz6gqcf3x7yfpi9gghbil97iz6fyc7z"))))
(build-system asdf-build-system/sbcl)
(inputs
(list sbcl-alexandria
@@ -19992,6 +19998,38 @@ available for use in Lisp programs.")
(define-public cl-https-everywhere
(sbcl-package->cl-source-package sbcl-cl-https-everywhere))
+(define-public sbcl-magic-ed
+ (let ((commit "30bb27832d4e3e362578e7320934638f9889a8c4")
+ (revision "1"))
+ (package
+ (name "sbcl-magic-ed")
+ (version (git-version "0.2" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sanel/magic-ed")
+ (commit commit)))
+ (file-name (git-file-name "cl-magic-ed" version))
+ (sha256
+ (base32 "1j6il4lif0dy6hqiz6n91yl8dvii9pk1i9vz0faq5mnr42mr7i5f"))))
+ (build-system asdf-build-system/sbcl)
+ (home-page "https://github.com/sanel/magic-ed")
+ (synopsis "Editing facility for Common Lisp REPL")
+ (description
+ "Magic (ed) is a tiny editing facility for Common Lisp, where you can
+directly load, edit, manipulate and evaluate file or file content from REPL.
+This package also can be a starting point for people who are not accustomed to
+Emacs or SLIME and would like to continue using their default terminal/console
+editor with Common Lisp.")
+ (license license:expat))))
+
+(define-public cl-magic-ed
+ (sbcl-package->cl-source-package sbcl-magic-ed))
+
+(define-public ecl-magic-ed
+ (sbcl-package->ecl-package sbcl-magic-ed))
+
(define-public sbcl-maxpc
(let ((commit "e5e58d053039517d30fd59ab2d128256b87790d5")
(revision "1"))
@@ -20179,3 +20217,162 @@ APL.")
(define-public ecl-april
(sbcl-package->ecl-package sbcl-april))
+
+(define-public sbcl-cl-sxml
+ (let ((commit "e5542b1d9bd6cee03ae27547d00660ccfbb60109")
+ (revision "1"))
+ (package
+ (name "sbcl-cl-sxml")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/eadmund/cl-sxml")
+ (commit commit)))
+ (file-name (git-file-name "cl-sxml" version))
+ (sha256
+ (base32 "1105s9whidq1lf0lli2wdhcfcs5gwzxa0h1x3izx4mp2p7psvciz"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs (list sbcl-cxml))
+ (native-inputs
+ (list sbcl-fiveam
+ sbcl-flexi-streams))
+ (home-page "https://github.com/eadmund/cl-sxml")
+ (synopsis "SXML parsing for Common Lisp")
+ (description
+ "@code{CL-SXML} implements Oleg Kiselyov’s SXML, an S-expression-based
+rendering of the XML Infoset.")
+ (license license:gpl3+))))
+
+(define-public cl-sxml
+ (sbcl-package->cl-source-package sbcl-cl-sxml))
+
+(define-public ecl-cl-sxml
+ (sbcl-package->ecl-package sbcl-cl-sxml))
+
+(define-public sbcl-cl-gopher
+ (let ((commit "62cfd180378f56e7e8b57e4302b183810c86e337")
+ (revision "2"))
+ (package
+ (name "sbcl-cl-gopher")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/knusbaum/cl-gopher")
+ (commit commit)))
+ (file-name (git-file-name "cl-gopher" version))
+ (sha256
+ (base32 "0szz29d83fk2cxn5j1zlf4v0154qnf9cy1ix5p4jjpsql1a8xiwg"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ (list sbcl-bordeaux-threads
+ sbcl-drakma
+ sbcl-flexi-streams
+ sbcl-quri
+ sbcl-split-sequence
+ sbcl-usocket))
+ (home-page "https://github.com/knusbaum/cl-gopher")
+ (synopsis "Gopher protocol library in Common Lisp")
+ (description
+ "@code{cl-gopher} is a Common Lisp library for interacting with the
+Gopher protocol.
+
+It is suitable for building both clients and servers, and provides a sample
+client.")
+ (license license:bsd-2))))
+
+(define-public cl-gopher
+ (sbcl-package->cl-source-package sbcl-cl-gopher))
+
+(define-public ecl-cl-gopher
+ (sbcl-package->ecl-package sbcl-cl-gopher))
+
+(define-public sbcl-phos
+ (let ((commit "6620b82b091cdfed655e1093ef045dbe518d5474"))
+ (package
+ (name "sbcl-phos")
+ (version (git-version "0.0.1" "1" commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/omar-polo/phos")
+ (commit commit)))
+ (file-name (git-file-name "phos" version))
+ (sha256
+ (base32
+ "1zwci86rkbaiix0w2gd5q6nr8v2vv945pkvwp0j240iyzd4hfxr3"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ (list sbcl-quri sbcl-cl-ppcre sbcl-trivia sbcl-usocket sbcl-cl+ssl
+ ;; For the experimental GUI:
+ sbcl-nodgui))
+ (native-inputs
+ (list sbcl-clunit2))
+ (home-page "https://github.com/omar-polo/phos")
+ (synopsis "Gemini client library and experimental GUI")
+ (description "This package contains a Gemini client library for Common
+Lisp. A subsystem offers an experimental GUI Gemini client.")
+ (license license:isc))))
+
+(define-public cl-phos
+ (sbcl-package->cl-source-package sbcl-phos))
+
+(define-public ecl-phos
+ (sbcl-package->ecl-package sbcl-phos))
+
+(define-public sbcl-nhooks
+ (package
+ (name "sbcl-nhooks")
+ (version "1.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/atlas-engineer/nhooks")
+ (commit version)))
+ (file-name (git-file-name "nhooks" version))
+ (sha256
+ (base32
+ "1v3gh9jf4hbpl1hnyzhkrcj3jdh3q0mlp1n6ci2cbn2rsc65baff"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ (list sbcl-serapeum))
+ (native-inputs
+ (list sbcl-fiveam))
+ (home-page "https://github.com/atlas-engineer/nhooks")
+ (synopsis "Hook facility for Common Lisp")
+ (description "This package holds an enhanced implementation of
+hooks (extension points). It works similarly to Emacs hooks with crucial
+improvements:
+
+@itemize
+
+@item If the compiler allows it (such as SBCL), type-checking is performed at
+compile-time and at run-time when adding handlers to a hook.
+
+@item On failure, multiple restarts are offered, such as disabling the
+offending handler or simply continuing to the next function.
+
+@item The hook handler execution order and combination can be customized.
+
+@item Anonymous functions (lambdas) can be added to hooks as handler objects.
+When inspecting hooks, readable names are thus exposed instead of lambda
+blackboxes. Handlers are compared through their names (through the mandatory
+name slot). A hook can not contain multiple handlers with the same name.
+
+@item A special provision is taken for “setters”, handlers that are meant to
+set a given place to a given values. Such handler objects can be compared and
+identified uniquely.
+
+@end itemize\n")
+ (license license:expat)))
+
+(define-public cl-nhooks
+ (sbcl-package->cl-source-package sbcl-nhooks))
+
+(define-public ecl-nhooks
+ (sbcl-package->ecl-package sbcl-nhooks))
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 8c1a5f90a0..82fbd15381 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -7,7 +7,7 @@
;;; Copyright © 2016, 2017 Andy Patterson <ajpatter@uwaterloo.ca>
;;; Copyright © 2017, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
-;;; Copyright © 2017, 2019–2021 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2017, 2019–2022 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Benjamin Slade <slade@jnanam.net>
;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
;;; Copyright © 2018, 2019, 2020 Pierre Neidhardt <mail@ambrevar.xyz>
@@ -158,9 +158,9 @@ Definition Facility.")
#$(this-package-input "libtirpc")
"/lib")
"LIBS=-ltirpc")
- #:make-flags ,#~(list
- (string-append "GCL_CC=" #$gcc "/bin/gcc")
- (string-append "CC="#$gcc "/bin/gcc"))
+ #:make-flags ,#~(let ((gcc (search-input-file %build-inputs "/bin/gcc")))
+ (list (string-append "GCL_CC=" gcc)
+ (string-append "CC=" gcc)))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'realpath-workaround
@@ -235,7 +235,7 @@ Definition Facility.")
(native-inputs
(list m4 texinfo))
(home-page "https://www.gnu.org/software/gcl/")
- (synopsis "A Common Lisp implementation")
+ (synopsis "Common Lisp implementation")
(description "GCL is an implementation of the Common Lisp language. It
features the ability to compile to native object code and to load native
object code modules directly into its lisp core. It also features a
@@ -407,7 +407,7 @@ supporting ASDF, Sockets, Gray streams, MOP, and other useful components.")
(variable "XDG_CONFIG_DIRS")
(files '("etc")))))
(home-page "https://clisp.sourceforge.io/")
- (synopsis "A Common Lisp implementation")
+ (synopsis "Common Lisp implementation")
(description
"GNU CLISP is an implementation of ANSI Common Lisp. Common Lisp is a
high-level, object-oriented functional programming language. CLISP includes
@@ -915,7 +915,7 @@ the HTML documentation of TXR.")
(define-public txr
(package
(name "txr")
- (version "270")
+ (version "273")
(source
(origin
(method git-fetch)
@@ -924,16 +924,8 @@ the HTML documentation of TXR.")
(commit (string-append "txr-" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1kp64h3ls8mddvrlaqqylrb3brckfrqvkk8049xn15mimfggg0xv"))))
+ (base32 "1m4akw64458qcrfbqv71z9y8q9dszj26d7jfqblcn6nn8akx2jyb"))))
(build-system gnu-build-system)
- (native-inputs
- ;; Required to build the documentation.
- `(("ghostscript" ,ghostscript)
- ("groff" ,groff)
- ("man2html" ,man-for-txr)))
- (inputs
- `(("bash" ,bash-minimal)
- ("libffi" ,libffi)))
(arguments
`(#:configure-flags
(list ,(string-append "cc=" (cc-for-target))
@@ -947,8 +939,7 @@ the HTML documentation of TXR.")
(("INSTALL(,.*LICENSE,.*)\\$\\(datadir\\)" _ match)
(string-append "INSTALL" match
(assoc-ref outputs "out")
- "/share/doc/" ,name "-" ,version)))
- #t))
+ "/share/doc/" ,name "-" ,version)))))
(delete 'install-license-files)
(add-after 'unpack 'inhibit-doc-syms-generation
(lambda _
@@ -958,8 +949,7 @@ the HTML documentation of TXR.")
;; each release (and is already compiled to stdlib/doc-syms.tlo
;; when genman.txr is run).
(("^@\\(output \"stdlib/doc-syms\\.tl\"\\).*" line)
- (string-append "@(do (exit))\n" line)))
- #t))
+ (string-append "@(do (exit))\n" line)))))
(add-after 'unpack 'fix-paths
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "stream.c"
@@ -975,20 +965,25 @@ the HTML documentation of TXR.")
;; autotools arguments like CONFIG_SHELL.
(lambda* (#:key configure-flags #:allow-other-keys)
(setenv "txr_shell" (which "bash"))
- (apply invoke "./configure" configure-flags)
- #t))
+ (apply invoke "./configure" configure-flags)))
(add-after 'build 'build-doc
(lambda _
(setenv "GS_GENERATE_UUIDS" "0")
- (invoke "make" "txr-manpage.html" "txr-manpage.pdf")
- #t))
+ (invoke "make" "txr-manpage.html" "txr-manpage.pdf")))
(add-after 'install 'install-doc
(lambda* (#:key outputs #:allow-other-keys)
(let ((doc (string-append (assoc-ref outputs "out")
"/share/doc/" ,name "-" ,version)))
(for-each (lambda (f) (install-file f doc))
- '("txr-manpage.html" "txr-manpage.pdf")))
- #t)))))
+ '("txr-manpage.html" "txr-manpage.pdf"))))))))
+ (native-inputs
+ ;; Required to build the documentation.
+ (list ghostscript
+ groff
+ man-for-txr))
+ (inputs
+ (list bash-minimal
+ libffi))
(synopsis "General-purpose, multi-paradigm programming language")
(description
"TXR is a general-purpose, multi-paradigm programming language. It
@@ -1161,7 +1156,7 @@ including a built-in database engine and a GUI system.")
(define-public janet
(package
(name "janet")
- (version "1.19.0")
+ (version "1.19.2")
(source
(origin
(method git-fetch)
@@ -1170,18 +1165,18 @@ including a built-in database engine and a GUI system.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1gpwhgnkwxjp95gs3i5dcdpsmv1pa7a299m8hccyy92jxd15pym6"))))
+ (base32 "0waj22rzxmc0yx1yr0pzw9lwp6my5abfpfi6vq932bmli8y9prpd"))))
(build-system gnu-build-system)
(arguments
- `(#:make-flags
- (list
- (string-append "DESTDIR=" (assoc-ref %outputs "out"))
- (string-append "PREFIX=")
- (string-append "CC=" ,(cc-for-target)))
- #:test-target "test"
- #:phases
- (modify-phases %standard-phases
- (delete 'configure))))
+ (list #:make-flags
+ #~(list
+ (string-append "DESTDIR=" #$output)
+ (string-append "PREFIX=")
+ (string-append "CC=" #$(cc-for-target)))
+ #:test-target "test"
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure))))
(home-page "https://janet-lang.org/")
(synopsis "Functional, imperative and embeddable programming language")
(description
@@ -1278,5 +1273,5 @@ and make for REPLs that start blazing fast.
(synopsis "Makes easy to build application executables with SBCL")
(description
"Buildapp is an application for SBCL or CCL that configures and saves an
-executable Common Lisp image. It is similar to cl-launch and hu.dwim.build. ")
+executable Common Lisp image. It is similar to cl-launch and hu.dwim.build.")
(license license:bsd-2)))
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 051bbfeab5..83f57ec28e 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -5,7 +5,7 @@
;;; Copyright © 2016 Dennis Mungai <dmngaie@gmail.com>
;;; Copyright © 2016, 2018, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017 Roel Janssen <roel@gnu.org>
-;;; Copyright © 2018, 2019, 2020 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2018–2022 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
@@ -155,7 +155,9 @@ compiler. In LLVM this library is called \"compiler-rt\".")
(supported-systems (delete "mips64el-linux" %supported-systems))))
(define* (clang-from-llvm llvm clang-runtime hash
- #:key (patches '()) tools-extra)
+ #:key (patches '()) tools-extra
+ (properties
+ (clang-properties (package-version llvm))))
"Produce Clang with dependencies on LLVM and CLANG-RUNTIME, and applying the
given PATCHES. When TOOLS-EXTRA is given, it must point to the
'clang-tools-extra' tarball, which contains code for 'clang-tidy', 'pp-trace',
@@ -362,26 +364,28 @@ given PATCHES. When TOOLS-EXTRA is given, it must point to the
#t))))
'())
,@(if (version>? version "3.8")
- `((add-after 'install 'symlink-cfi_blacklist
+ `((add-after 'install 'symlink-cfi_ignorelist
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(lib-share (string-append out "/lib/clang/"
,version "/share"))
(compiler-rt (assoc-ref inputs "clang-runtime"))
+ (file-name ,(if (version>=? version "13")
+ "cfi_ignorelist.txt"
+ "cfi_blacklist.txt"))
;; The location varies between Clang versions.
- (cfi-blacklist
+ (cfi-ignorelist
(cond
((file-exists?
- (string-append compiler-rt "/cfi_blacklist.txt"))
- (string-append compiler-rt "/cfi_blacklist.txt"))
+ (string-append compiler-rt "/" file-name))
+ (string-append compiler-rt "/" file-name))
(else (string-append compiler-rt
- "/share/cfi_blacklist.txt")))))
+ "/share/" file-name)))))
(mkdir-p lib-share)
- ;; Symlink cfi_blacklist.txt to where Clang expects
+ ;; Symlink the ignorelist to where Clang expects
;; to find it.
- (symlink cfi-blacklist
- (string-append lib-share "/cfi_blacklist.txt"))
- #t))))
+ (symlink cfi-ignorelist
+ (string-append lib-share "/" file-name))))))
'())
(add-after 'install 'install-clean-up-/share/clang
(lambda* (#:key outputs #:allow-other-keys)
@@ -426,10 +430,76 @@ given PATCHES. When TOOLS-EXTRA is given, it must point to the
Objective-C++ programming languages. It uses LLVM as its back end. The Clang
project includes the Clang front end, the Clang static analyzer, and several
code analysis tools.")
+ (properties properties)
(license (if (version>=? version "9.0")
license:asl2.0 ;with LLVM exceptions
license:ncsa))))
+(define (clang-properties version)
+ "Return package properties for Clang VERSION."
+ `((compiler-cpu-architectures
+ ("x86_64"
+ ;; This list was obtained by running:
+ ;;
+ ;; guix shell clang -- llc -march=x86-64 -mattr=help
+ ;;
+ ;; filtered from uninteresting entries such as "i686" and "pentium".
+ ,@(if (version>=? version "10.0") ;TODO: refine
+ '("atom"
+ "barcelona"
+ "bdver1"
+ "bdver2"
+ "bdver3"
+ "bdver4"
+ "bonnell"
+ "broadwell"
+ "btver1"
+ "btver2"
+ "c3"
+ "c3-2"
+ "cannonlake"
+ "cascadelake"
+ "cooperlake"
+ "core-avx-i"
+ "core-avx2"
+ "core2"
+ "corei7"
+ "corei7-avx"
+ "generic"
+ "geode"
+ "goldmont"
+ "goldmont-plus"
+ "haswell"
+ "icelake-client"
+ "icelake-server"
+ "ivybridge"
+ "k8"
+ "k8-sse3"
+ "knl"
+ "knm"
+ "lakemont"
+ "nehalem"
+ "nocona"
+ "opteron"
+ "opteron-sse3"
+ "sandybridge"
+ "silvermont"
+ "skx"
+ "skylake"
+ "skylake-avx512"
+ "slm"
+ "tigerlake"
+ "tremont"
+ "westmere"
+ "x86-64"
+ "x86-64-v2"
+ "x86-64-v3"
+ "x86-64-v4"
+ "znver1"
+ "znver2"
+ "znver3")
+ '())))))
+
(define (make-clang-toolchain clang)
(package
(name (string-append (package-name clang) "-toolchain"))
@@ -471,6 +541,7 @@ code analysis tools.")
(search-paths (package-search-paths clang))
(license (package-license clang))
+ (properties (package-properties clang)) ;for 'compiler-cpu-architectures'
(home-page "https://clang.llvm.org")
(synopsis "Complete Clang toolchain for C/C++ development")
(description "This package provides a complete Clang toolchain for C/C++
@@ -486,17 +557,17 @@ output), and Binutils.")
("libc-debug" ,glibc "debug")
("libc-static" ,glibc "static")))))
-(define-public llvm-12
+(define-public llvm-13
(package
(name "llvm")
- (version "12.0.1")
+ (version "13.0.0")
(source
(origin
(method url-fetch)
(uri (llvm-uri "llvm" version))
(sha256
(base32
- "1pzx9zrmd7r3481sbhwvkms68fwhffpp4mmz45dgrkjpyl2q96kx"))))
+ "081h2vw757j5xjg2441539j2vhfzzihrgxwza5pq5sj3hrq133a0"))))
(build-system cmake-build-system)
(outputs '("out" "opt-viewer"))
(native-inputs
@@ -507,6 +578,84 @@ output), and Binutils.")
(propagated-inputs
(list zlib)) ;to use output from llvm-config
(arguments
+ `(#:configure-flags
+ ,#~(quasiquote
+ ;; These options are required for cross-compiling LLVM according to
+ ;; https://llvm.org/docs/HowToCrossCompileLLVM.html.
+ (#$@(if (%current-target-system)
+ #~(,(string-append "-DLLVM_TABLEGEN="
+ #+(file-append this-package
+ "/bin/llvm-tblgen"))
+ #$(string-append "-DLLVM_DEFAULT_TARGET_TRIPLE="
+ (%current-target-system))
+ #$(string-append "-DLLVM_TARGET_ARCH="
+ (system->llvm-target))
+ #$(string-append "-DLLVM_TARGETS_TO_BUILD="
+ (system->llvm-target)))
+ #~())
+ "-DCMAKE_SKIP_BUILD_RPATH=FALSE"
+ "-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE"
+ "-DBUILD_SHARED_LIBS:BOOL=TRUE"
+ "-DLLVM_ENABLE_FFI:BOOL=TRUE"
+ "-DLLVM_REQUIRES_RTTI=1" ; For some third-party utilities
+ "-DLLVM_INSTALL_UTILS=ON")) ; Needed for rustc.
+ ;; Don't use '-g' during the build, to save space.
+ #:build-type "Release"
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'install-opt-viewer
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (opt-viewer-out (assoc-ref outputs "opt-viewer"))
+ (opt-viewer-share-dir (string-append opt-viewer-out "/share"))
+ (opt-viewer-dir (string-append opt-viewer-share-dir "/opt-viewer")))
+ (mkdir-p opt-viewer-share-dir)
+ (rename-file (string-append out "/share/opt-viewer")
+ opt-viewer-dir)))))))
+ (home-page "https://www.llvm.org")
+ (synopsis "Optimizing compiler infrastructure")
+ (description
+ "LLVM is a compiler infrastructure designed for compile-time, link-time,
+runtime, and idle-time optimization of programs from arbitrary programming
+languages. It currently supports compilation of C and C++ programs, using
+front-ends derived from GCC 4.0.1. A new front-end for the C family of
+languages is in development. The compiler infrastructure includes mirror sets
+of programming tools as well as libraries with equivalent functionality.")
+ (license license:asl2.0)))
+
+(define-public clang-runtime-13
+ (clang-runtime-from-llvm
+ llvm-13
+ "0gyvfhnypfmlf7hdgkiz2wh2lgk4nz26aqf361msjs3qdkbh4djc"))
+
+(define-public clang-13
+ (clang-from-llvm llvm-13 clang-runtime-13
+ "0zp1p6syii5iajm8v2c207s80arv00yz5ckfwimn5dng0sxiqqax"
+ #:patches '("clang-13.0-libc-search-path.patch")
+ #:tools-extra
+ (origin
+ (method url-fetch)
+ (uri (llvm-uri "clang-tools-extra"
+ (package-version llvm-13)))
+ (sha256
+ (base32
+ "1mgalgdgxlxi08yxw7k6yh4iia1bpjmjgn7mrpqas8lbl9h612s2")))))
+
+(define-public clang-toolchain-13
+ (make-clang-toolchain clang-13))
+
+(define-public llvm-12
+ (package
+ (inherit llvm-13)
+ (version "12.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (llvm-uri "llvm" version))
+ (sha256
+ (base32
+ "1pzx9zrmd7r3481sbhwvkms68fwhffpp4mmz45dgrkjpyl2q96kx"))))
+ (arguments
;; TODO(core-updates): Unconditionally use quasiquote
`(#:configure-flags
,#~(#$(if (%current-target-system)
@@ -553,17 +702,7 @@ output), and Binutils.")
(mkdir-p opt-viewer-share-dir)
(rename-file (string-append out "/share/opt-viewer")
opt-viewer-dir))
- #t)))))
- (home-page "https://www.llvm.org")
- (synopsis "Optimizing compiler infrastructure")
- (description
- "LLVM is a compiler infrastructure designed for compile-time, link-time,
-runtime, and idle-time optimization of programs from arbitrary programming
-languages. It currently supports compilation of C and C++ programs, using
-front-ends derived from GCC 4.0.1. A new front-end for the C family of
-languages is in development. The compiler infrastructure includes mirror sets
-of programming tools as well as libraries with equivalent functionality.")
- (license license:asl2.0))) ;with LLVM exceptions, see LICENSE.txt
+ #t)))))))
(define-public clang-runtime-12
(clang-runtime-from-llvm
@@ -945,13 +1084,13 @@ of programming tools as well as libraries with equivalent functionality.")
(define-public libunwind-headers
(package
(name "libunwind-headers")
- (version "12.0.1")
+ (version "13.0.0")
(source (origin
(method url-fetch)
(uri (llvm-uri "libunwind" version))
(sha256
(base32
- "192ww6n81lj2mb9pj4043z79jp3cf58a9c2qrxjwm5c3a64n1shb"))))
+ "1qb5ickp7qims5q7sxacj3fwq1kklvnl94k3v9hpl5qn284iky1n"))))
(build-system cmake-build-system)
(arguments
'(#:phases (modify-phases (map (lambda (phase)
@@ -972,20 +1111,20 @@ of programming tools as well as libraries with equivalent functionality.")
(define-public lld
(package
(name "lld")
- (version "12.0.1")
+ (version "13.0.0")
(source (origin
(method url-fetch)
(uri (llvm-uri "lld" version))
(sha256
(base32
- "0qg3fgc7wj34hdkqn21y03zcmsdd01szhhm1hfki63iifrm3y2v9"))))
+ "11lkwv4jy35z2f3zcpv7hbbk9v9gpavfvxlif8265zv4rl5r1l90"))))
(build-system cmake-build-system)
(native-inputs
;; Note: check <https://bugs.llvm.org/show_bug.cgi?id=49228> to see
;; whether this is still necessary.
(list libunwind-headers))
(inputs
- (list llvm-12))
+ (list llvm-13))
(arguments
`(#:build-type "Release"
;; TODO: Tests require the lit tool, which isn't installed by the LLVM
@@ -997,6 +1136,19 @@ of programming tools as well as libraries with equivalent functionality.")
components which highly leverage existing libraries in the larger LLVM Project.")
(license license:asl2.0))) ; With LLVM exception
+(define-public lld-12
+ (package
+ (inherit lld)
+ (version "12.0.1")
+ (source (origin
+ (method url-fetch)
+ (uri (llvm-uri "lld" version))
+ (sha256
+ (base32
+ "0qg3fgc7wj34hdkqn21y03zcmsdd01szhhm1hfki63iifrm3y2v9"))))
+ (inputs (modify-inputs (package-inputs lld)
+ (replace "llvm" llvm-12)))))
+
(define* (make-lld-wrapper lld #:key lld-as-ld?)
"Return a LLD wrapper. When LLD-AS-LD? is true, create a 'ld' symlink that
points to 'lld'."
@@ -1053,16 +1205,15 @@ misuse of libraries outside of the store.")
(native-inputs
(list pkg-config swig))
(inputs
- `(("clang" ,clang-12)
- ("llvm" ,llvm-12)
-
- ;; Optional (but recommended) inputs.
- ("curses" ,ncurses)
- ("editline" ,libedit)
- ("liblzma" ,xz)
- ("libxml2" ,libxml2)
- ("lua" ,lua)
- ("python" ,python)))
+ (list clang-12
+ llvm-12
+ ;; Optional (but recommended) inputs.
+ ncurses
+ libedit
+ xz
+ libxml2
+ lua
+ python))
(home-page "https://lldb.llvm.org/")
(synopsis "Low level debugger")
(description
@@ -1322,110 +1473,46 @@ with that of libgomp, the GNU Offloading and Multi Processing Library.")
(setenv "LDFLAGS" (string-append "-Wl,-rpath="
llvm "/lib"))))))))
(inputs
- (list (let* ((patches-commit
- "a4a19e8af2c5ef9b9901f20193e4be070726da97") (
- patch-uri (
- lambda (
- name)
- (
- string-append
- "https://raw.githubusercontent.com/numba/"
- "llvmlite/"
- patches-commit
- "/conda-recipes/"
- name)))
- (
- patch-origin (
- lambda (
- name
- hash)
- (
- origin (
- method
- url-fetch)
- (
- uri (
- patch-uri
- name))
- (
- sha256 (
- base32
- hash)))))
- (
- arch-independent-patches (
- list (
- patch-origin
- "partial-testing.patch"
- "0g3nkci87knvmn7piqhmh4bcc65ff8r921cvfcibyiv65klv3syg")
- (
- patch-origin
- "0001-Revert-Limit-size-of-non-GlobalValue-name.patch"
- "0n4k7za0smx6qwdipsh6x5lm7bfvzzb3p9r8q1zq1dqi4na21295"))))
- (package (inherit llvm-11)
- (source (origin (inherit (package-source
- llvm-11))
- (patches (if (string=?
- "aarch64-linux"
- (
- %current-system))
- `(,(patch-origin
- "intel-D47188-svml-VF_LLVM9.patch"
- "0gnnlfxr8p1a7ls93hzcpfqpa8r0icypfwj8l9cmkslq5sz8p64r") (
- unquote-splicing
- arch-independent-patches)
- (
- unquote-splicing (
- origin-patches (
- package-source
- llvm-11))))
- `(,(patch-origin
- "intel-D47188-svml-VF.patch"
- "0gnnlfxr8p1a7ls93hzcpfqpa8r0icypfwj8l9cmkslq5sz8p64r") ,(
- patch-origin
- "expect-fastmath-entrypoints-in-add-TLI-mappings.ll.patch"
- "0jxhjkkwwi1cy898l2n57l73ckpw0v73lqnrifp7r1mwpsh624nv")
- (
- unquote-splicing
- arch-independent-patches)
- (
- unquote-splicing (
- origin-patches (
- package-source
- llvm-11))))))))
- (arguments (substitute-keyword-arguments (
- package-arguments
- llvm-11)
- ((#:phases
- phases) `(
- modify-phases ,
- phases
- (
- add-after '
- unpack
- '
- patch-round-two
- ;; We have to do the patching in two rounds because we can't
- ;; pass '-p1' and '-p2' in the source field.
- (
- lambda* (
- #:key
- inputs
- #:allow-other-keys)
- (
- invoke
- "patch"
- (
- assoc-ref
- inputs
- "llvm_11_consecutive_registers")
- "-p2")))))))
- (native-inputs `(("llvm_11_consecutive_registers" ,(
- patch-origin
- "llvm_11_consecutive_registers.patch"
- "04msd34dnpr3lpss0pam3mckwnvzrab266z6sml1hya0akv0m3f3")) (
- unquote-splicing (
- package-native-inputs
- llvm-11))))))))
+ (list
+ (let* ((patches-commit
+ "a4a19e8af2c5ef9b9901f20193e4be070726da97")
+ (patch-uri (lambda (name)
+ (string-append
+ "https://raw.githubusercontent.com/numba/"
+ "llvmlite/"
+ patches-commit
+ "/conda-recipes/"
+ name)))
+ (patch-origin (lambda (name hash)
+ (origin (method url-fetch)
+ (uri (patch-uri name))
+ (sha256 (base32 hash)))))
+ (arch-independent-patches
+ (list (patch-origin
+ "partial-testing.patch"
+ "0g3nkci87knvmn7piqhmh4bcc65ff8r921cvfcibyiv65klv3syg")
+ (patch-origin
+ "0001-Revert-Limit-size-of-non-GlobalValue-name.patch"
+ "0n4k7za0smx6qwdipsh6x5lm7bfvzzb3p9r8q1zq1dqi4na21295"))))
+ (package
+ (inherit llvm-11)
+ (source
+ (origin
+ (inherit (package-source llvm-11))
+ (patches (if (string=? "aarch64-linux" (%current-system))
+ `(,(patch-origin
+ "intel-D47188-svml-VF_LLVM9.patch"
+ "0gnnlfxr8p1a7ls93hzcpfqpa8r0icypfwj8l9cmkslq5sz8p64r")
+ ,@arch-independent-patches
+ ,@(origin-patches (package-source llvm-11)))
+ `(,(patch-origin
+ "intel-D47188-svml-VF.patch"
+ "0gnnlfxr8p1a7ls93hzcpfqpa8r0icypfwj8l9cmkslq5sz8p64r")
+ ,(patch-origin
+ "expect-fastmath-entrypoints-in-add-TLI-mappings.ll.patch"
+ "0jxhjkkwwi1cy898l2n57l73ckpw0v73lqnrifp7r1mwpsh624nv")
+ ,@arch-independent-patches
+ ,@(origin-patches (package-source llvm-11)))))))))))
(home-page "https://llvmlite.pydata.org")
(synopsis "Wrapper around basic LLVM functionality")
(description
@@ -1455,10 +1542,10 @@ setup(name=\"clang\", packages=[\"clang\"])\n")))))
(add-before 'build 'set-libclang-file-name
(lambda* (#:key inputs #:allow-other-keys)
;; Record the absolute file name of libclang.so.
- (let ((clang (assoc-ref inputs "clang")))
+ (let ((libclang (search-input-file inputs
+ "/lib/libclang.so")))
(substitute* "clang/cindex.py"
- (("libclang\\.so")
- (string-append clang "/lib/libclang.so")))))))))
+ (("libclang\\.so") libclang))))))))
(inputs (list clang))
(synopsis "Python bindings to libclang")))
@@ -1471,6 +1558,9 @@ setup(name=\"clang\", packages=[\"clang\"])\n")))))
(define-public python-clang-12
(clang-python-bindings clang-12))
+(define-public python-clang-13
+ (clang-python-bindings clang-13))
+
(define-public emacs-clang-format
(package
(inherit clang)
@@ -1483,12 +1573,11 @@ setup(name=\"clang\", packages=[\"clang\"])\n")))))
(modify-phases %standard-phases
(add-after 'unpack 'configure
(lambda* (#:key inputs #:allow-other-keys)
- (let ((clang (assoc-ref inputs "clang")))
+ (let ((clang-format (search-input-file inputs "/bin/clang-format")))
(copy-file "tools/clang-format/clang-format.el" "clang-format.el")
(emacs-substitute-variables "clang-format.el"
("clang-format-executable"
- (string-append clang "/bin/clang-format"))))
- #t)))))
+ clang-format))))))))
(synopsis "Format code using clang-format")
(description "This package filters code through @code{clang-format}
to fix its formatting. @code{clang-format} is a tool that formats
@@ -1507,12 +1596,11 @@ C/C++/Obj-C code according to a set of style options, see
(modify-phases %standard-phases
(add-after 'unpack 'configure
(lambda* (#:key inputs #:allow-other-keys)
- (let ((clang (assoc-ref inputs "clang")))
+ (let ((clang-rename (search-input-file inputs "/bin/clang-rename")))
(copy-file "tools/clang-rename/clang-rename.el" "clang-rename.el")
(emacs-substitute-variables "clang-rename.el"
("clang-rename-binary"
- (string-append clang "/bin/clang-rename"))))
- #t)))))
+ clang-rename))))))))
(synopsis "Rename every occurrence of a symbol using clang-rename")
(description "This package renames every occurrence of a symbol at point
using @code{clang-rename}.")))
diff --git a/gnu/packages/logging.scm b/gnu/packages/logging.scm
index 7e07f4dd67..8c518de07d 100644
--- a/gnu/packages/logging.scm
+++ b/gnu/packages/logging.scm
@@ -34,12 +34,27 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system python)
#:use-module (gnu packages)
+ #:use-module (gnu packages autotools)
+ #:use-module (gnu packages bison)
+ #:use-module (gnu packages c)
+ #:use-module (gnu packages compression)
+ #:use-module (gnu packages curl)
+ #:use-module (gnu packages cyrus-sasl)
+ #:use-module (gnu packages databases)
+ #:use-module (gnu packages flex)
+ #:use-module (gnu packages geo)
+ #:use-module (gnu packages gnupg)
+ #:use-module (gnu packages kerberos)
+ #:use-module (gnu packages linux)
#:use-module (gnu packages ncurses)
+ #:use-module (gnu packages networking)
#:use-module (gnu packages perl)
+ #:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
- #:use-module (gnu packages autotools))
+ #:use-module (gnu packages tcl)
+ #:use-module (gnu packages tls))
(define-public log4cpp
(package
@@ -193,6 +208,7 @@ output in multiple windows in a terminal.")
(arguments
'(#:configure-flags
(list "-DSPDLOG_BUILD_BENCH=OFF"
+ "-DSPDLOG_BUILD_SHARED=ON"
"-DSPDLOG_BUILD_TESTS=ON")))
(home-page "https://github.com/gabime/spdlog")
(synopsis "Fast C++ logging library")
@@ -201,3 +217,144 @@ library.")
;; spdlog is under Expat license, but the bundled fmt library in
;; "include/spdlog/fmt/bundled" is under BSD 2 clause license.
(license (list license:expat license:bsd-2))))
+
+(define-public rsyslog
+ (package
+ (name "rsyslog")
+ (version "8.2112.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rsyslog/rsyslog.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0bp124w2qv8hix5i0p04d8yvsipy18dhqm7zw8i6cwdgnhdadq96"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:phases
+ '(modify-phases %standard-phases
+ ;; autogen.sh calls configure at the end of the script.
+ (replace 'bootstrap
+ (lambda _ (invoke "autoreconf" "-vfi"))))
+ #:configure-flags
+ ;; Rsyslog comes with a plethora of optional modules. We enable most of
+ ;; them for a full-featured build.
+ '(list "--enable-kmsg"
+ "--enable-liblogging_stdlog"
+ "--enable-mmanon"
+ "--enable-mmcount"
+ "--enable-unlimited_select"
+
+ ;; Input plugins
+ "--enable-imbatchreport"
+ "--enable-imczmq"
+ "--enable-imdiag" ;for full tests
+ "--enable-imdocker"
+ "--enable-imfile"
+ "--enable-imkafka"
+ "--enable-improg"
+ "--enable-impstats"
+ "--enable-imptcp"
+ "--enable-imtuxedoulog"
+
+ ;; Output plugins
+ "--enable-clickhouse"
+ "--enable-elasticsearch"
+ "--enable-mail"
+ "--enable-omczmq"
+ "--enable-omfile_hardened"
+ "--enable-omhttp"
+ "--enable-omhttpfs"
+ "--enable-omkafka"
+ "--enable-omprog"
+ "--enable-omruleset"
+ "--enable-omstdout"
+ "--enable-omtcl"
+ "--enable-omudpspoof"
+ "--enable-omuxsock"
+
+ ;; Parser Modules
+ "--enable-pmaixforwardedfrom"
+ "--enable-pmciscoios"
+ "--enable-pmcisconames"
+ "--enable-pmdb2diag"
+ "--enable-pmlastmsg"
+ "--enable-pmnormalize"
+ "--enable-pmnull"
+ "--enable-pmpanngfw"
+ "--enable-pmsnare"
+
+ ;; Message Modification Modules
+ "--enable-mmaudit"
+ "--enable-mmdarwin"
+ "--enable-mmdblookup"
+ "--enable-mmfields"
+ "--enable-mmjsonparse"
+ "--enable-mmkubernetes"
+ "--enable-mmnormalize"
+ "--enable-mmpstrucdata"
+ "--enable-mmrfc5424addhmac"
+ "--enable-mmrm1stspace"
+ "--enable-mmsequence"
+ "--enable-mmsnmptrapd"
+ "--enable-mmtaghostname"
+ "--enable-mmutf8fix"
+
+ ;; Database Support
+ "--enable-libdbi"
+ "--enable-mysql"
+ "--enable-pgsql"
+
+ ;; Protocol Support
+ "--enable-openssl"
+ "--enable-gnutls"
+ "--enable-gssapi-krb5"
+ "--enable-snmp"
+
+ ;; Function modules
+ "--enable-fmhash_xxhash")))
+ (native-inputs
+ (list autoconf automake bison flex libtool pkg-config))
+ (inputs
+ (list curl
+ cyrus-sasl
+ czmq
+ gnutls
+ libdbi
+ libestr
+ libfastjson
+ libgcrypt
+ liblogging
+ liblognorm
+ libmaxminddb
+ libnet
+ librdkafka
+ lz4
+ (list mariadb "dev")
+ (list mariadb "lib")
+ mit-krb5
+ net-snmp
+ openssl
+ postgresql
+ tcl
+ (list util-linux "lib")
+ zeromq
+ zlib))
+ (home-page "https://www.rsyslog.com/")
+ (synopsis "RSYSLOG is a flexible and fast system for log processing")
+ (description
+ "Rsyslog offers high-performance, great security features and a modular
+design. While it started as a regular syslogd, rsyslog has evolved into a
+kind of swiss army knife of logging, being able to accept inputs from a wide
+variety of sources, transform them, and output the results to diverse
+destinations.")
+ ;; Most of the source code is licensed under the LGPL3+ with many source
+ ;; files licensed under the terms of the ASL2.0. Some modules are
+ ;; licensed under GPL3+.
+ (license (list license:lgpl3+
+ license:gpl3+
+ license:asl2.0))))
diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm
index ff4d4824eb..c828ded1a5 100644
--- a/gnu/packages/lua.scm
+++ b/gnu/packages/lua.scm
@@ -105,6 +105,18 @@ automatic memory management with incremental garbage collection, making it ideal
for configuration, scripting, and rapid prototyping.")
(license license:x11)))
+(define-public lua-5.4
+ (package (inherit lua)
+ (version "5.4.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://www.lua.org/ftp/lua-"
+ version ".tar.gz"))
+ (sha256
+ (base32 "1yxvjvnbg4nyrdv10bq42gz6dr66pyan28lgzfygqfwy2rv24qgq"))
+ (patches (search-patches "lua-5.4-pkgconfig.patch"
+ "lua-5.4-liblua-so.patch"))))))
+
(define-public lua-5.2
(package (inherit lua)
(version "5.2.4")
@@ -159,6 +171,9 @@ for configuration, scripting, and rapid prototyping.")
#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))))
(home-page "https://www.luajit.org/")
(synopsis "Just in time compiler for Lua programming language version 5.1")
+ ;; On powerpc64le-linux, the build fails with an error: "No support for
+ ;; PowerPC 64 bit mode (yet)". See: https://issues.guix.gnu.org/49220
+ (supported-systems (delete "powerpc64le-linux" %supported-systems))
(description
"LuaJIT is a Just-In-Time Compiler (JIT) for the Lua
programming language. Lua is a powerful, dynamic and light-weight programming
diff --git a/gnu/packages/lxde.scm b/gnu/packages/lxde.scm
index e3cdd6a1c6..55deae26ea 100644
--- a/gnu/packages/lxde.scm
+++ b/gnu/packages/lxde.scm
@@ -566,14 +566,14 @@ in LXDE.")
(define-public lxpanel
(package
(name "lxpanel")
- (version "0.10.0")
+ (version "0.10.1")
(source
(origin
(method url-fetch)
(uri (string-append "https://downloads.sourceforge.net/lxde/"
"lxpanel-" version ".tar.xz"))
(sha256
- (base32 "0zis3b815p375s6mymhf5sn1a0c1xv0ixxzb0mh3fqhrby6cqy26"))))
+ (base32 "1s0y8jjkw6qz0r8l90618b8xly0c8g906kah7b162sz3sxbqyc8y"))))
(build-system gnu-build-system)
(arguments
`(#:phases
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 1cd2fd1308..aac5b81a06 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -15,7 +15,7 @@
;;; Copyright © 2019 Brett Gilio <brettg@gnu.org>
;;; Copyright © 2020 Konrad Hinsen <konrad.hinsen@fastmail.net>
;;; Copyright © 2020 Edouard Klein <edk@beaver-labs.com>
-;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2020, 2021, 2022 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
@@ -35,6 +35,7 @@
(define-module (gnu packages machine-learning)
#:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (guix download)
@@ -53,6 +54,7 @@
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages boost)
+ #:use-module (gnu packages bdw-gc)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
#:use-module (gnu packages cmake)
@@ -61,10 +63,16 @@
#:use-module (gnu packages databases)
#:use-module (gnu packages dejagnu)
#:use-module (gnu packages gcc)
+ #:use-module (gnu packages gettext)
+ #:use-module (gnu packages gl)
#:use-module (gnu packages glib)
#:use-module (gnu packages graphviz)
#:use-module (gnu packages gstreamer)
+ #:use-module (gnu packages guile)
+ #:use-module (gnu packages haskell-xyz)
#:use-module (gnu packages image)
+ #:use-module (gnu packages image-processing)
+ #:use-module (gnu packages imagemagick)
#:use-module (gnu packages libffi)
#:use-module (gnu packages linux)
#:use-module (gnu packages llvm)
@@ -77,6 +85,7 @@
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages protobuf)
+ #:use-module (gnu packages pulseaudio)
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-check)
@@ -90,6 +99,7 @@
#:use-module (gnu packages sqlite)
#:use-module (gnu packages swig)
#:use-module (gnu packages tls)
+ #:use-module (gnu packages video)
#:use-module (gnu packages web)
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg)
@@ -281,6 +291,149 @@ Markov Models} (HMM) and algorithms: discrete, continuous emissions, basic
training, HMM clustering, HMM mixtures.")
(license license:lgpl2.0+))))
+(define-public guile-aiscm
+ (package
+ (name "guile-aiscm")
+ (version "0.23.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/wedesoft/aiscm")
+ (commit "c78b91edb7c17c6fbf3b294452f44e91d75e3c67")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "09rdbcr8dinzijyx9h940ann91yjlbg0fangx365llhvy354n840"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:make-flags
+ #~(list (string-append "GUILE_CACHE=" #$output "/lib/guile/3.0/site-ccache")
+ (string-append "GUILE_EXT=" #$output "/lib/guile/3.0/extensions")
+ (string-append "GUILE_SITE=" #$output "/share/guile/site/3.0"))
+ #:phases
+ '(modify-phases %standard-phases
+ (add-after 'unpack 'build-reproducibly
+ (lambda _
+ (substitute* "doc/Makefile.am"
+ (("\\$\\(DATE\\)") "1970-01-01"))))
+ (add-after 'unpack 'use-llvm-config
+ (lambda _
+ (substitute* "m4/ax_llvmc.m4"
+ (("llvm-config-13") "llvm-config")
+ ;; For some reason this library is not on the link list.
+ (("(LLVM_LIBS=\"\\$\\(\\$ac_llvm_config_path --libs \\$1\\))\"" _ m)
+ (string-append m " -lLLVMMCJIT\"")))
+
+ ;; Because of this message:
+ ;; symbol lookup error: ./.libs/libguile-aiscm-core.so: undefined symbol: LLVMInitializeX86TargetInfo
+ ;; This probably needs to differ when building on architectures
+ ;; other than x86_64p
+ (substitute* "aiscm/Makefile.am"
+ (("LLVM_LIBS\\)") "LLVM_LIBS) \
+-lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMX86Desc -lLLVMX86Info"))))
+ ;; Use Clang instead of GCC.
+ (add-before 'configure 'prepare-build-environment
+ (lambda _
+ (setenv "AR" "llvm-ar")
+ (setenv "NM" "llvm-nm")
+ (setenv "CC" "clang")
+ (setenv "CXX" "clang++"))))))
+ (inputs
+ (list ffmpeg
+ freeglut
+ guile-3.0
+ imagemagick
+ libjpeg-turbo
+ libomp
+ libxi
+ libxmu
+ libxpm
+ libxt
+ libxv
+ mesa
+ mjpegtools
+ pandoc
+ pulseaudio))
+ (native-inputs
+ (list clang-13
+ llvm-13
+ pkg-config
+ autoconf
+ automake
+ gettext-minimal
+ libtool
+ which))
+ (home-page "https://wedesoft.github.io/aiscm/")
+ (synopsis "Guile extension for numerical arrays and tensors")
+ (description "AIscm is a Guile extension for numerical arrays and tensors.
+Performance is achieved by using the LLVM JIT compiler.")
+ (license license:gpl3+)))
+
+(define-public guile-aiscm-next
+ (let ((commit "b17ed538c303badc419a7c358d91f266d2a8c354")
+ (revision "1"))
+ (package
+ (inherit guile-aiscm)
+ (name "guile-aiscm-next")
+ (version (git-version "0.23.1" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/wedesoft/aiscm")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0px7r7lfskbp1prdrfrcvrsc4wjrk3ahkigsw4pqvny6zs7jnvc0"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments guile-aiscm)
+ ((#:configure-flags flags '())
+ #~(list (string-append "OPENCV_CFLAGS=-I" #$(this-package-input "opencv")
+ "/include/opencv4")
+ (let ((modules
+ (list "aruco" "barcode" "bgsegm" "bioinspired"
+ "calib3d" "ccalib" "core" "datasets" "dnn"
+ "dnn_objdetect" "dnn_superres" "dpm" "face"
+ "features2d" "flann" "freetype" "fuzzy" "hdf"
+ "hfs" "highgui" "img_hash" "imgcodecs" "imgproc"
+ "intensity_transform" "line_descriptor" "mcc"
+ "ml" "objdetect" "optflow" "phase_unwrapping"
+ "photo" "plot" "quality" "rapid" "reg" "rgbd"
+ "saliency" "shape" "stereo" "stitching"
+ "structured_light" "superres" "surface_matching"
+ "text" "tracking" "video" "videoio" "videostab"
+ "wechat_qrcode" "ximgproc" "xobjdetect" "xphoto")))
+ (format #false "OPENCV_LIBS=~{-lopencv_~a~^ ~}" modules))))
+ ((#:phases phases '%standard-phases)
+ `(modify-phases ,phases
+ (add-after 'unpack 'find-clearsilver
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "configure.ac"
+ (("/usr/local/include/ClearSilver")
+ (string-append (assoc-ref inputs "clearsilver")
+ "/include/ClearSilver")))
+ (substitute* "aiscm/Makefile.am"
+ (("-lneo_utl" m)
+ (string-append m " -lstreamhtmlparser")))
+ (setenv "C_INCLUDE_PATH"
+ (string-append (assoc-ref inputs "clearsilver")
+ "/include/ClearSilver:"
+ (or (getenv "C_INCLUDE_PATH") "")))))
+ ;; This test fails because our version of tensorflow is too old
+ ;; to provide tf-string-length.
+ (add-after 'unpack 'disable-broken-test
+ (lambda _
+ (substitute* "tests/test_tensorflow.scm"
+ (("\\(test-eqv \"determine string length" m)
+ (string-append "#;" m)))))))))
+ (inputs
+ (modify-inputs (package-inputs guile-aiscm)
+ (append clearsilver opencv tensorflow libgc)))
+ (native-inputs
+ (modify-inputs (package-native-inputs guile-aiscm)
+ (append protobuf-c))))))
+
(define-public mcl
(package
(name "mcl")
@@ -927,7 +1080,7 @@ computing environments.")
(define-public python-scikit-learn
(package
(name "python-scikit-learn")
- (version "1.0.1")
+ (version "1.0.2")
(source
(origin
(method git-fetch)
@@ -937,7 +1090,7 @@ computing environments.")
(file-name (git-file-name name version))
(sha256
(base32
- "07k92y78sk4074vh5hp8y63pwl592wgl8azrfp0q84chxk8igfx9"))))
+ "1rli53544vlsnmx4v4xcb8fdqcy5n3zksl4plwp76gsmrppb2lig"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -955,14 +1108,7 @@ computing environments.")
(invoke "pytest" "sklearn" "-m" "not network"
;; This test tries to access the internet.
- "-k" "not test_load_boston_alternative"))))
- (add-before 'reset-gzip-timestamps 'make-files-writable
- (lambda* (#:key outputs #:allow-other-keys)
- ;; Make sure .gz files are writable so that the
- ;; 'reset-gzip-timestamps' phase can do its work.
- (let ((out (assoc-ref outputs "out")))
- (for-each make-file-writable
- (find-files out "\\.gz$"))))))))
+ "-k" "not test_load_boston_alternative")))))))
(inputs
(list openblas))
(native-inputs
@@ -1057,16 +1203,24 @@ for scientific computing and data science (e.g. BLAS and OpenMP).")
(define-public python-pynndescent
(package
(name "python-pynndescent")
- (version "0.5.2")
+ (version "0.5.5")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pynndescent" version))
(sha256
- (base32 "0w87c2v0li2rdbx6qfc2lb6y6bxpdy3jwfgzfs1kcr4d1chj5zfr"))))
+ (base32 "10pqqqc3jkpw03cyzy04slxmpgyhqnlgbyk0c1cv7kqr5d0zhzbs"))))
(build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "-m" "pytest" "--pyargs" "pynndescent")))))))
(native-inputs
- (list python-nose))
+ (list python-pytest))
(propagated-inputs
(list python-joblib python-llvmlite python-numba python-scikit-learn
python-scipy))
@@ -1080,17 +1234,16 @@ for k-neighbor-graph construction and approximate nearest neighbor search.")
(define-public python-opentsne
(package
(name "python-opentsne")
- (version "0.5.2")
+ (version "0.6.1")
(source
(origin
- ;; No tests in the PyPI tarball.
- (method git-fetch)
+ (method git-fetch) ; no tests in PyPI release
(uri (git-reference
(url "https://github.com/pavlin-policar/openTSNE")
(commit (string-append "v" version))))
- (file-name (string-append name "-" version "-checkout"))
+ (file-name (git-file-name name version))
(sha256
- (base32 "1hl42wmafydk4fxdx05l180k3canmqw8h9r20fsqq2aq440b09gh"))))
+ (base32 "124nid27lfq1ipfjd2gkynqcmb4khisjb4r05jv42ckfkk4dbsxs"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -1098,13 +1251,15 @@ for k-neighbor-graph construction and approximate nearest neighbor search.")
;; Benchmarks require the 'macosko2015' data files.
(add-after 'unpack 'delete-benchmark
(lambda _
- (delete-file-recursively "benchmarks")
- #t))
+ (delete-file-recursively "benchmarks")))
+ (add-after 'unpack 'skip-test
+ (lambda _ ;; TODO: figure out why this test fails.
+ (substitute* "tests/test_correctness.py"
+ (("def test_iris\\(self\\)") "def _test_iris(self)"))))
;; Numba needs a writable dir to cache functions.
(add-before 'check 'set-numba-cache-dir
(lambda _
- (setenv "NUMBA_CACHE_DIR" "/tmp")
- #t)))))
+ (setenv "NUMBA_CACHE_DIR" "/tmp"))))))
(native-inputs
(list python-cython))
(inputs
@@ -1123,17 +1278,15 @@ visualizing high-dimensional data sets.")
(define-public python-scikit-rebate
(package
(name "python-scikit-rebate")
- (version "0.6")
+ (version "0.62")
(source (origin
(method url-fetch)
(uri (pypi-uri "skrebate" version))
(sha256
(base32
- "1h7qs9gjxpzqabzhb8rmpv3jpmi5iq41kqdibg48299h94iikiw7"))))
+ "0n55ghvnv7rxqa5agq6a4892ad0ghha165b0g4ghwr9gqm6ss3dj"))))
(build-system python-build-system)
- ;; Pandas is only needed to run the tests.
- (native-inputs
- (list python-pandas))
+ (arguments '(#:tests? #f)) ;no tests on PyPI and no tags in repo
(propagated-inputs
(list python-numpy python-scipy python-scikit-learn python-joblib))
(home-page "https://epistasislab.github.io/scikit-rebate/")
@@ -1679,7 +1832,9 @@ Python.")
(file-name (string-append "tensorflow-" version "-checkout"))
(sha256
(base32
- "0a9kwha395g3wgxfwln5j8vn9nkspmd75xldrlqdq540w996g8xa"))))
+ "0a9kwha395g3wgxfwln5j8vn9nkspmd75xldrlqdq540w996g8xa"))
+ (patches
+ (search-patches "tensorflow-c-api-fix.patch"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f ; no "check" target
@@ -1862,7 +2017,7 @@ set(eigen_INCLUDE_DIRS ${CMAKE_CURRENT_BINARY_DIR}/external/eigen_archive "
;; This directory is a dependency of many targets.
(mkdir-p "protobuf")))
(add-after 'configure 'unpack-third-party-sources
- (lambda* (#:key inputs #:allow-other-keys)
+ (lambda* (#:key inputs outputs #:allow-other-keys)
;; This is needed to configure bundled packages properly.
(setenv "CONFIG_SHELL" (which "bash"))
(for-each
@@ -1900,7 +2055,11 @@ set(eigen_INCLUDE_DIRS ${CMAKE_CURRENT_BINARY_DIR}/external/eigen_archive "
"re2"))
(rename-file "../build/cub/src/cub/cub-1.8.0/"
- "../build/cub/src/cub/cub/")))
+ "../build/cub/src/cub/cub/")
+
+ (setenv "LDFLAGS"
+ (string-append "-Wl,-rpath="
+ (assoc-ref outputs "out") "/lib"))))
(add-after 'unpack 'fix-python-build
(lambda* (#:key inputs outputs #:allow-other-keys)
(mkdir-p "protobuf-src")
@@ -1936,11 +2095,21 @@ set(eigen_INCLUDE_DIRS ${CMAKE_CURRENT_BINARY_DIR}/external/eigen_archive "
COMPILE_FLAGS ${target_compile_flags} \
INSTALL_RPATH_USE_LINK_PATH TRUE \
INSTALL_RPATH " (assoc-ref outputs "out") "/lib)\n")))))
- (add-after 'build 'build-pip-package
+ (add-after 'unpack 'patch-cmake-file-to-install-c-headers
+ (lambda _
+ (substitute* "tensorflow/contrib/cmake/tf_c.cmake"
+ (("if\\(tensorflow_BUILD_PYTHON_BINDINGS" m)
+ (string-append
+ "install(DIRECTORY ${tensorflow_source_dir}/tensorflow/c/ \
+DESTINATION include/tensorflow/c FILES_MATCHING PATTERN \"*.h\")\n" m)))))
+ (add-after 'build 'build-c-bindings
+ (lambda* (#:key outputs parallel-build? #:allow-other-keys)
+ (invoke "make" "-j" (if parallel-build?
+ (number->string (parallel-job-count))
+ "1")
+ "tf_c")))
+ (add-after 'install 'build-pip-package
(lambda* (#:key outputs parallel-build? #:allow-other-keys)
- (setenv "LDFLAGS"
- (string-append "-Wl,-rpath="
- (assoc-ref outputs "out") "/lib"))
(invoke "make" "-j" (if parallel-build?
(number->string (parallel-job-count))
"1")
@@ -2321,7 +2490,7 @@ learning libraries.")
(define-public xgboost
(package
(name "xgboost")
- (version "1.4.2")
+ (version "1.5.2")
(source
(origin
(method git-fetch)
@@ -2331,7 +2500,7 @@ learning libraries.")
(file-name (git-file-name name version))
(patches (search-patches "xgboost-use-system-dmlc-core.patch"))
(sha256
- (base32 "00liz816ahk9zj3jv3m2fqwlf6xxfbgvpmpl72iklx32vl192w5d"))))
+ (base32 "0qx04y7cz8z7qv6bk9q7d7ba9b7xzj53l83l2x9ykdwhzacc3dn0"))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags (list "-DGOOGLE_TEST=ON")))
@@ -2404,8 +2573,6 @@ in a fast and accurate way.")
" and not test_cv_no_shuffle"
" and not test_cv"
" and not test_training"
- ;; FIXME: May pass in the next version.
- " and not test_pandas"
;; "'['./runexp.sh']' returned non-zero exit status 1"
" and not test_cli_binary_classification"))))))))
(native-inputs
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 22dbdcf4ef..d601a6e4bc 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -8,7 +8,7 @@
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
;;; Copyright © 2015, 2016, 2018 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
-;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Christine Lemmer-Webber <cwebber@dustycloud.org>
;;; Copyright © 2016 Al McElrath <hello@yrns.org>
;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Leo Famulari <leo@famulari.name>
@@ -17,12 +17,12 @@
;;; Copyright © 2016, 2017 Troy Sankey <sankeytms@gmail.com>
;;; Copyright © 2016, 2017, 2018 Nikita <nikita@n0.is>
;;; Copyright © 2016 Clément Lassieur <clement@lassieur.org>
-;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2016–2022 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2016 John Darrington <jmd@gnu.org>
;;; Copyright © 2016, 2018 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
;;; Copyright © 2017 Kyle Meyer <kyle@kyleam.com>
-;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2017–2022 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2017, 2018, 2020 Rene Saavedra <pacoon@protonmail.com>
;;; Copyright © 2018, 2019, 2020, 2021 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
@@ -62,6 +62,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages mail)
+ #:use-module (guix gexp)
#:use-module (guix utils)
#:use-module (gnu packages)
#:use-module (gnu packages admin)
@@ -261,88 +262,88 @@ example, modify the message headers or body, or encrypt or sign the message.")
(define-public mailutils
(package
(name "mailutils")
- (version "3.13")
+ (version "3.14")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/mailutils/mailutils-"
version ".tar.xz"))
(sha256
(base32
- "1iwl82d6aa2acsdxbqh1s5xx44sg83b4yxqik408m1s9rcfrf86r"))
+ "0fbi2b144mgblq9qhdyhj9855mbglzr8fr23rnps8icbxa7v7if0"))
(patches
(search-patches "mailutils-variable-lookup.patch"))))
(build-system gnu-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-before 'check 'prepare-test-suite
- (lambda _
- ;; Use the right file name for `cat'.
- (substitute* "testsuite/lib/mailutils.exp"
- (("/bin/cat")
- (which "cat")))
-
- ;; Tests try to invoke 'mda' such that it looks up the
- ;; 'root' user, which does not exist in the build
- ;; environment.
- (substitute* '("mda/mda/tests/testsuite"
- "mda/lmtpd/tests/testsuite")
- (("root <") "nobody <")
- (("spool/root") "spool/nobody")
- (("root@localhost") "nobody@localhost"))
-
- ;; The 'pipeact.at' tests generate a shell script; make
- ;; sure it uses the right shell.
- (substitute* '("sieve/tests/testsuite"
- "mh/tests/testsuite"
- "libmailutils/tests/lock.at")
- (("#! ?/bin/sh")
- (string-append "#!" (which "sh"))))
-
- (substitute* "mh/tests/testsuite"
- (("moreproc: /bin/cat")
- (string-append "moreproc: " (which "cat"))))
-
- ;; XXX: The comsatd tests rely on being able to open
- ;; /dev/tty, but that gives ENODEV in the build
- ;; environment. Thus, ignore test failures here.
- (substitute* "comsat/tests/Makefile.in"
- (("\\$\\(SHELL\\) \\$\\(TESTSUITE\\)" all)
- (string-append "-" all)))
-
- ;; XXX: The ‘moderator: program discard’ test does not specify
- ;; an explicit From: but does expect an exact match. But why are
- ;; all other tests unaffected?
- (substitute* "sieve/tests/testsuite"
- (("gray@")
- "nixbld@"))
-
- ;; 'frm' tests expect write access to $HOME.
- (setenv "HOME" (getcwd))
-
- ;; Avoid the message "I'm going to create the standard MH path
- ;; for you", which would lead to one test failure (when diffing
- ;; stdout of 'fmtcheck'.)
- (call-with-output-file ".mh_profile"
- (lambda (port)
- (format port "Path: ~a/Mail-for-tests~%"
- (getcwd))))
-
- (substitute* "imap4d/tests/testclient.c"
- (("\"/bin/sh\"")
- (string-append "\"" (which "sh") "\""))))))
- #:configure-flags
- (list "--sysconfdir=/etc"
-
- ;; Add "/X.Y" to the installation directory.
- (string-append "--with-guile-site-dir="
- (assoc-ref %outputs "out")
- "/share/guile/site/"
- ,(match (assoc "guile"
- (package-inputs this-package))
- (("guile" guile)
- (version-major+minor
- (package-version guile))))))))
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'prepare-test-suite
+ (lambda _
+ ;; Use the right file name for `cat'.
+ (substitute* "testsuite/lib/mailutils.exp"
+ (("/bin/cat")
+ (which "cat")))
+
+ ;; Tests try to invoke 'mda' such that it looks up the
+ ;; 'root' user, which does not exist in the build
+ ;; environment.
+ (substitute* '("mda/mda/tests/testsuite"
+ "mda/lmtpd/tests/testsuite")
+ (("root <") "nobody <")
+ (("spool/root") "spool/nobody")
+ (("root@localhost") "nobody@localhost"))
+
+ ;; The 'pipeact.at' tests generate a shell script; make
+ ;; sure it uses the right shell.
+ (substitute* '("sieve/tests/testsuite"
+ "mh/tests/testsuite"
+ "libmailutils/tests/lock.at")
+ (("#! ?/bin/sh")
+ (string-append "#!" (which "sh"))))
+
+ (substitute* "mh/tests/testsuite"
+ (("moreproc: /bin/cat")
+ (string-append "moreproc: " (which "cat"))))
+
+ ;; XXX: The comsatd tests rely on being able to open
+ ;; /dev/tty, but that gives ENODEV in the build
+ ;; environment. Thus, ignore test failures here.
+ (substitute* "comsat/tests/Makefile.in"
+ (("\\$\\(SHELL\\) \\$\\(TESTSUITE\\)" all)
+ (string-append "-" all)))
+
+ ;; XXX: The ‘moderator: program discard’ test does not
+ ;; specify an explicit From: but does expect an exact
+ ;; match. But why are all other tests unaffected?
+ (substitute* "sieve/tests/testsuite"
+ (("gray@")
+ "nixbld@"))
+
+ ;; 'frm' tests expect write access to $HOME.
+ (setenv "HOME" (getcwd))
+
+ ;; Avoid the message "I'm going to create the standard MH
+ ;; path for you", which would lead to one test failure
+ ;; (when diffing stdout of 'fmtcheck'.)
+ (call-with-output-file ".mh_profile"
+ (lambda (port)
+ (format port "Path: ~a/Mail-for-tests~%"
+ (getcwd))))
+
+ (substitute* "imap4d/tests/testclient.c"
+ (("\"/bin/sh\"")
+ (string-append "\"" (which "sh") "\""))))))
+ #:configure-flags
+ #~(list "--sysconfdir=/etc"
+
+ ;; Add "/X.Y" to the installation directory.
+ (string-append "--with-guile-site-dir="
+ (assoc-ref %outputs "out")
+ "/share/guile/site/"
+ #$(match (assoc "guile"
+ (package-inputs this-package))
+ (("guile" guile)
+ (version-major+minor
+ (package-version guile))))))))
(native-inputs
;; Regeneration of the build system is triggered by touching the
;; 'libmailutils/tests/lock.at' file.
@@ -418,7 +419,7 @@ software. GNU Mailutils provides the following commands:
go-github-com-emersion-go-imap-idle
go-github-com-emersion-go-sasl go-github-com-sirupsen-logrus
go-golang-org-x-text))
- (synopsis "Execute scripts on IMAP mailbox changes.")
+ (synopsis "Execute scripts on IMAP mailbox changes")
(description
"Script to execute scripts on IMAP mailbox changes (new/deleted/updated
messages) using IDLE. Implemented in Go.")
@@ -552,7 +553,7 @@ aliasing facilities to work just as they would on normal mail.")
(define-public mutt
(package
(name "mutt")
- (version "2.1.4")
+ (version "2.1.5")
(source (origin
(method url-fetch)
(uri (list
@@ -562,7 +563,7 @@ aliasing facilities to work just as they would on normal mail.")
version ".tar.gz")))
(sha256
(base32
- "0yfvnjqw9l99kdcr995by3mx5vwad6b530x93yb8ipr3xa1bcq9k"))
+ "1q1bq5qfv67s6ynbqga19ifaprgavhdbgg154kb9ffingvj0k8wj"))
(patches (search-patches "mutt-store-references.patch"))))
(build-system gnu-build-system)
(inputs
@@ -911,19 +912,19 @@ mailpack. What can alterMIME do?
pkg-config
ronn
w3m
- xorg-server))
+ xorg-server-for-tests))
(inputs
- `(("boost" ,boost)
- ("gmime" ,gmime)
- ("gobject-introspection" ,gobject-introspection) ; it is referenced
- ("gtkmm" ,gtkmm-3)
- ("libpeas" ,libpeas)
- ("libsass" ,libsass)
- ("notmuch" ,notmuch)
- ("protobuf" ,protobuf)
- ("python" ,python-wrapper)
- ("python-pygobject" ,python-pygobject)
- ("webkitgtk" ,webkitgtk)))
+ (list boost
+ gmime
+ gobject-introspection ; it is referenced
+ gtkmm-3
+ libpeas
+ libsass
+ notmuch
+ protobuf
+ python-wrapper
+ python-pygobject
+ webkitgtk-with-libsoup2))
(propagated-inputs
(list adwaita-icon-theme)) ; Required for the thread view
(home-page "https://astroidmail.github.io/")
@@ -1334,14 +1335,14 @@ invoking @command{notifymuch} from the post-new hook.")
(define-public notmuch
(package
(name "notmuch")
- (version "0.34.2")
+ (version "0.34.3")
(source
(origin
(method url-fetch)
(uri (string-append "https://notmuchmail.org/releases/notmuch-"
version ".tar.xz"))
(sha256
- (base32 "1ls7dbgqhvyn9arf1r1jijfllypylgr5l86p489732gn8zpcxwn1"))))
+ (base32 "1278r8x8l2hsxg8plbfk7w2md0fagdm243lm7df5m0gx7d411s9z"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags
@@ -1369,20 +1370,19 @@ invoking @command{notifymuch} from the post-new hook.")
(substitute* (find-files "test" "\\.sh$")
(("/bin/sh") (which "sh"))))))))
(native-inputs
- `(("bash-completion" ,bash-completion)
- ("pkg-config" ,pkg-config)
- ("python" ,python)
- ("python-docutils" ,python-docutils)
- ("sphinx" ,python-sphinx)
- ("texinfo" ,texinfo)
-
- ;; The following are required for tests only.
- ("emacs" ,emacs-no-x) ; -minimal lacks libxml, needed for some tests
- ("which" ,which)
- ("dtach" ,dtach)
- ("gnupg" ,gnupg)
- ("man" ,man-db)
- ("perl" ,perl)))
+ (list bash-completion
+ pkg-config
+ python
+ python-docutils
+ python-sphinx
+ texinfo
+ ;; The following are required for tests only.
+ emacs-no-x ; -minimal lacks libxml, needed for some tests
+ which
+ dtach
+ gnupg
+ man-db
+ perl))
(inputs
(list glib gmime talloc xapian zlib))
(home-page "https://notmuchmail.org/")
@@ -1537,19 +1537,19 @@ pairs have previously synchronized.")
(define-public getmail
(package
(name "getmail")
- (version "5.15")
+ (version "5.16")
(source
(origin
(method url-fetch)
- (uri (string-append "http://pyropus.ca/software/getmail/old-versions/"
+ (uri (string-append "https://pyropus.ca/software/getmail/old-versions/"
"getmail-" version ".tar.gz"))
(sha256
- (base32 "0ahn2jyj4ka996qzs99id59pwxv6sqxp61g7drcf53rzzigq0lyl"))))
+ (base32 "1yk7lrndbfsrbdxikwzdqvadryqsldalxdn3a184dg4sxzmgis3a"))))
(build-system python-build-system)
(arguments
- `(#:tests? #f ; no tests
- #:python ,python-2))
- (home-page "http://pyropus.ca/software/getmail/")
+ (list #:tests? #f ; no tests
+ #:python python-2))
+ (home-page "https://pyropus.ca/software/getmail/")
(synopsis "Mail retriever")
(description
"A flexible, extensible mail retrieval system with support for
@@ -1642,13 +1642,11 @@ compresses it.")
(add-after 'unpack 'patch-source
(lambda* (#:key inputs #:allow-other-keys)
;; Use absolute paths to referenced programs.
- (let* ((mailutils (assoc-ref inputs "mailutils"))
- (inc (string-append mailutils "/bin/mu-mh/inc"))
- (send-mail (assoc-ref inputs "sendmail"))
- (sendmail (string-append send-mail "/sbin/sendmail")))
- (substitute* "src/common/defs.h"
- (("/usr/bin/mh/inc") inc)
- (("/usr/sbin/sendmail") sendmail)))))
+ (substitute* "src/common/defs.h"
+ (("/usr/bin/mh/inc")
+ (search-input-file inputs "/bin/mu-mh/inc"))
+ (("/usr/sbin/sendmail")
+ (search-input-file inputs "/sbin/sendmail")))))
(add-before 'build 'patch-mime
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "src/procmime.c"
@@ -1663,49 +1661,48 @@ compresses it.")
intltool
pkg-config))
(inputs
- `(("bogofilter" ,bogofilter)
- ("cairo" ,cairo)
- ("compface" ,compface)
- ("curl" ,curl)
- ("dbus" ,dbus)
- ("dbus-glib" ,dbus-glib)
- ("enchant" ,enchant)
- ("expat" ,expat)
- ("fontconfig" ,fontconfig)
- ("librsvg" ,librsvg)
- ("ghostscript" ,ghostscript)
- ("glib" ,glib)
- ("gnupg" ,gnupg)
- ("gnutls" ,gnutls)
- ("gpgme" ,gpgme)
- ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
- ("gtk+" ,gtk+)
- ("gumbo-parser" ,gumbo-parser)
- ;;("j-pilot" ,j-pilot)
- ("libarchive" ,libarchive)
- ("libcanberra" ,libcanberra)
- ("libetpan" ,libetpan)
- ("libgdata" ,libgdata)
- ("libical" ,libical)
- ("libindicator" ,libindicator)
- ("libnotify" ,libnotify)
- ("librsvg" ,librsvg)
- ("libsm" ,libsm)
- ("libsoup" ,libsoup)
- ("libxml2" ,libxml2)
- ("mailutils" ,mailutils)
- ("nettle" ,nettle)
- ("network-manager" ,network-manager)
- ("openldap" ,openldap)
- ("perl" ,perl)
- ("poppler" ,poppler)
- ("python" ,python)
- ("python-pygobject" ,python-pygobject)
- ("sendmail" ,sendmail)
- ("shared-mime-info" ,shared-mime-info)
- ("startup-notification" ,startup-notification)
- ;;("webkitgtk" ,webkitgtk)
- ("ytnef" ,ytnef)))
+ (list bogofilter
+ cairo
+ compface
+ curl
+ dbus
+ dbus-glib
+ enchant
+ expat
+ fontconfig
+ ghostscript
+ glib
+ gnupg
+ gnutls
+ gpgme
+ gsettings-desktop-schemas
+ gtk+
+ gumbo-parser
+ ;;j-pilot
+ libarchive
+ libcanberra
+ libetpan
+ libgdata
+ libical
+ libindicator
+ libnotify
+ (librsvg-for-system)
+ libsm
+ libsoup
+ libxml2
+ mailutils
+ nettle
+ network-manager
+ openldap
+ perl
+ poppler
+ python
+ python-pygobject
+ sendmail
+ shared-mime-info
+ startup-notification
+ ;;webkitgtk
+ ytnef))
(propagated-inputs
(list dconf))
(synopsis "GTK-based Email client")
@@ -2720,7 +2717,7 @@ converts them to maildir format directories.")
(define-public mblaze
(package
(name "mblaze")
- (version "1.1")
+ (version "1.2")
(source
(origin
(method git-fetch)
@@ -2729,7 +2726,7 @@ converts them to maildir format directories.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1bir977vnqs76g8jgv1yivqw0wk2kn56l3l5r4w2ipix3fir138y"))))
+ (base32 "0fa8s9dp5ilwmfcwkx72x2b5i0maa5sl97hv2cdknqmc27gv0b1c"))))
(build-system gnu-build-system)
(native-inputs
(list perl))
@@ -3523,8 +3520,8 @@ some configuration.")
#t))))
#:tests? #f)) ; Tests try to run a mailman instance to test against.
(inputs
- (list python-django python-django-mailman3 python-mailmanclient
- python-readme-renderer))
+ (list python-readme-renderer python-mailmanclient
+ python-django-2.2 python-django-mailman3))
(native-inputs
(list python-beautifulsoup4 python-isort python-mock python-vcrpy))
(home-page "https://gitlab.com/mailman/postorius")
@@ -3780,29 +3777,30 @@ killed threads.")
(define-public pan
(package
(name "pan")
- (version "0.147")
+ (version "0.149")
(source
(origin
(method url-fetch)
(uri (string-append "http://pan.rebelbase.com/download/releases/"
version "/source/" name "-" version ".tar.bz2"))
(sha256
- (base32 "0960siaf0r6m18kv0d8aqpf36x2xbsfcvk07kswlany7jbxrhylr"))))
+ (base32 "1sl5rdgalswxya61vhkf28r0fb4b3pq77qgzhhsfagmpvgbx0d2x"))))
(arguments
- `(#:configure-flags '("--with-gtk3" "--with-gtkspell" "--with-gnutls"
- "--enable-libnotify" "--enable-manual"
- "--enable-gkr")
- #:phases
- (modify-phases %standard-phases
- (add-before 'configure 'patch-gpg2
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "pan/usenet-utils/gpg.cc"
- (("\"gpg2\"") (string-append "\""
- (assoc-ref inputs "gnupg")
- "/bin/gpg\"")))
- #t)))))
+ (list #:configure-flags
+ #~(list "--with-gtk3" "--with-gtkspell" "--with-gnutls"
+ "--enable-libnotify" "--enable-manual"
+ "--enable-gkr")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'configure 'patch-gpg2
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "pan/usenet-utils/gpg.cc"
+ (("\"gpg2\"")
+ (string-append "\""
+ (search-input-file inputs "/bin/gpg")
+ "\""))))))))
(inputs
- (list gmime-2.6
+ (list gmime
gnupg
gnutls
gtk+
@@ -3858,13 +3856,13 @@ servers. The 4rev1 and 4 versions of IMAP are supported.")
(define-public urlscan
(package
(name "urlscan")
- (version "0.9.7")
+ (version "0.9.8")
(source
(origin
(method url-fetch)
(uri (pypi-uri "urlscan" version))
(sha256
- (base32 "0sqaplcrz0lj40x20s2mv3gkzsmawpi9h2kx0rmk342k5240il81"))))
+ (base32 "1imrg2r9cshfvdwkdkm9y4i58qzkgnnwkswmh3kgy38m334mlcyf"))))
(build-system python-build-system)
(propagated-inputs
(list python-urwid))
@@ -4454,7 +4452,12 @@ ex-like commands on it.")
;; Inline functions can only be used from the same compilation
;; unit. This causes the build to fail.
(substitute* "crm_svm_matrix.c"
- (("^inline ") ""))))
+ (("^inline ") ""))
+ ;; Building with gcc 10 fails without the -fcommon flag. Add it
+ ;; to CFLAGS.
+ (substitute* "Makefile"
+ (("CFLAGS \\+= -DVERSION")
+ "CFLAGS += -fcommon -DVERSION"))))
(add-before 'install 'pre-install
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm
index 53ffc4ac62..a434c70576 100644
--- a/gnu/packages/man.scm
+++ b/gnu/packages/man.scm
@@ -4,7 +4,7 @@
;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015 Alex Kost <alezost@gmail.com>
;;; Copyright © 2015, 2016, 2020 Efraim Flashner <efraim@flashner.co.il>
-;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2017–2022 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018, 2019 Rutger Helling <rhelling@mykolab.com>
;;; Copyright © 2018, 2019 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
@@ -27,6 +27,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages man)
+ #:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix git-download)
#:use-module (guix download)
@@ -134,70 +135,78 @@ a flexible and convenient way.")
"0mk7n7yn6scy785jhg1j14b3q9l0cgvpry49r0ldjsnizbnrjv5n"))))
(build-system gnu-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'patch-source-shebangs 'patch-test-shebangs
- (lambda* (#:key outputs #:allow-other-keys)
- ;; Patch shebangs in test scripts.
- (let ((out (assoc-ref outputs "out")))
- (for-each (lambda (file)
- (substitute* file
- (("#! /bin/sh")
- (string-append "#!" (which "sh")))))
- (remove file-is-directory?
- (find-files "src/tests" ".*")))
- #t)))
- (add-after 'unpack 'patch-absolute-paths
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "src/man.c"
- (("\"iconv\"")
- (string-append "\"" (which "iconv") "\"")))
- ;; Embed an absolute reference to "preconv", otherwise it
- ;; falls back to searching in PATH and ultimately fails
- ;; to render unicode data (see <https://bugs.gnu.org/30785>).
- (substitute* "lib/encodings.c"
- (("groff_preconv = NULL")
- (string-append "groff_preconv = \""
- (assoc-ref inputs "groff-minimal")
- "/bin/preconv\"")))
- #t)))
- #:configure-flags
- (let ((groff (assoc-ref %build-inputs "groff"))
- (groff-minimal (assoc-ref %build-inputs "groff-minimal"))
- (less (assoc-ref %build-inputs "less"))
- (gzip (assoc-ref %build-inputs "gzip"))
- (bzip2 (assoc-ref %build-inputs "bzip2"))
- (xz (assoc-ref %build-inputs "xz"))
- (util (assoc-ref %build-inputs "util-linux")))
- ;; Invoke groff, less, gzip, bzip2, and xz directly from the store.
- (append (list ;; Disable setuid man user.
- "--disable-setuid"
- ;; Don't constrain ownership of system-wide cache files.
- ;; Otherwise creating the manpage database fails with
- ;; man-db > 2.7.5.
- "--disable-cache-owner"
- (string-append "--with-pager=" less "/bin/less")
- (string-append "--with-gzip=" gzip "/bin/gzip")
- (string-append "--with-bzip2=" bzip2 "/bin/gzip")
- (string-append "--with-xz=" xz "/bin/xz")
- (string-append "--with-col=" util "/bin/col")
- ;; The default systemd directories ignore --prefix.
- (string-append "--with-systemdsystemunitdir="
- %output "/lib/systemd/system")
- (string-append "--with-systemdtmpfilesdir="
- %output "/lib/tmpfiles.d"))
- (map (lambda (prog)
- (string-append "--with-" prog "=" groff-minimal
- "/bin/" prog))
- '("nroff" "eqn" "neqn" "tbl" "refer" "pic"))))
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'patch-source-shebangs 'patch-test-shebangs
+ (lambda* (#:key outputs #:allow-other-keys)
+ ;; Patch shebangs in test scripts.
+ (let ((out (assoc-ref outputs "out")))
+ (for-each (lambda (file)
+ (substitute* file
+ (("#! /bin/sh")
+ (string-append "#!" (which "sh")))))
+ (remove file-is-directory?
+ (find-files "src/tests" ".*")))
+ #t)))
+ (add-after 'unpack 'patch-absolute-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "src/man.c"
+ (("\"iconv\"")
+ (string-append "\"" (which "iconv") "\"")))
+ ;; Embed an absolute reference to "preconv", otherwise it
+ ;; falls back to searching in PATH and ultimately fails
+ ;; to render unicode data (see <https://bugs.gnu.org/30785>).
+ (substitute* "lib/encodings.c"
+ (("groff_preconv = NULL")
+ (string-append "groff_preconv = \""
+ (assoc-ref inputs "groff-minimal")
+ "/bin/preconv\"")))
+ #t)))
+ #:configure-flags
+ #~(let ((groff (assoc-ref %build-inputs "groff"))
+ (groff-minimal (assoc-ref %build-inputs "groff-minimal"))
+ (less (assoc-ref %build-inputs "less"))
+ (gzip (assoc-ref %build-inputs "gzip"))
+ (bzip2 (assoc-ref %build-inputs "bzip2"))
+ (xz (assoc-ref %build-inputs "xz"))
+ (util (assoc-ref %build-inputs "util-linux")))
+ ;; Invoke groff, less, gzip, bzip2, & xz directly from the store.
+ (append (list ;; Disable setuid man user.
+ "--disable-setuid"
+ ;; Don't constrain ownership of system-wide cache files.
+ ;; Otherwise creating the manpage database fails with
+ ;; man-db > 2.7.5.
+ "--disable-cache-owner"
+ (string-append "--with-pager=" less "/bin/less")
+ (string-append "--with-gzip=" gzip "/bin/gzip")
+ (string-append "--with-bzip2=" bzip2 "/bin/gzip")
+ (string-append "--with-xz=" xz "/bin/xz")
+ (string-append "--with-col=" util "/bin/col")
+ ;; The default systemd directories ignore --prefix.
+ ;; XXX TODO: Replace with simply #$OUTPUT on staging.
+ (string-append "--with-systemdsystemunitdir="
+ #$(if (%current-target-system)
+ #~#$output
+ #~%output)
+ "/lib/systemd/system")
+ (string-append "--with-systemdtmpfilesdir="
+ #$(if (%current-target-system)
+ #~#$output
+ #~%output)
+ "/lib/tmpfiles.d"))
+ (map (lambda (prog)
+ (string-append "--with-" prog "=" groff-minimal
+ "/bin/" prog))
+ '("nroff" "eqn" "neqn" "tbl" "refer" "pic"))))
- ;; At run time we should refer to GROFF-MINIMAL, not GROFF (the latter
- ;; pulls in Perl.)
- #:disallowed-references (,groff)
+ ;; At run time we should refer to GROFF-MINIMAL, not GROFF (the latter
+ ;; pulls in Perl.)
+ #:disallowed-references
+ (list groff)
- #:modules ((guix build gnu-build-system)
- (guix build utils)
- (srfi srfi-1))))
+ #:modules '((guix build gnu-build-system)
+ (guix build utils)
+ (srfi srfi-1))))
(native-inputs
(list pkg-config flex groff)) ;needed at build time (troff, grops, soelim, etc.)
(inputs
@@ -310,7 +319,7 @@ Linux kernel and C library interfaces employed by user-space programs.")
;; input "locales" contain the original (English) text.
(package
(name "help2man")
- (version "1.48.3")
+ (version "1.48.5")
(source
(origin
(method url-fetch)
@@ -318,7 +327,7 @@ Linux kernel and C library interfaces employed by user-space programs.")
version ".tar.xz"))
(sha256
(base32
- "1b58s40dh2lflrkgbyxg1s48p8icb5a5yzp9ch83kg9zchygyqc3"))))
+ "1gl24n9am3ivhql1gs9lffb415irg758fhxyk4ryssiflk5f8fb7"))))
(build-system gnu-build-system)
(arguments `(;; There's no `check' target.
#:tests? #f
diff --git a/gnu/packages/markup.scm b/gnu/packages/markup.scm
index cee3207ee5..bc8476e056 100644
--- a/gnu/packages/markup.scm
+++ b/gnu/packages/markup.scm
@@ -4,7 +4,7 @@
;;; Copyright © 2016, 2019 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017 Nikita <nikita@n0.is>
;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr>
-;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2020, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2020 EuAndreh <eu@euandre.org>
;;; Copyright © 2021 Noisytoot <noisytoot@disroot.org>
;;; Copyright © 2021 Zhu Zihao <all_but_last@163.com>
@@ -29,6 +29,7 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix download)
#:use-module (guix git-download)
+ #:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix build-system gnu)
#:use-module (guix build-system trivial)
@@ -36,12 +37,16 @@
#:use-module (guix build-system perl)
#:use-module (guix build-system python)
#:use-module (guix utils)
+ #:use-module (guix gexp)
+ #:use-module (gnu packages)
#:use-module (gnu packages base)
+ #:use-module (gnu packages check)
#:use-module (gnu packages compression)
- #:use-module (gnu packages)
+ #:use-module (gnu packages libffi)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-xyz)
#:use-module (gnu packages web))
(define-public hoedown
@@ -117,34 +122,39 @@ convert it to structurally valid XHTML (or HTML).")
"See License.text in the distribution."))))
(define-public lowdown
- (package
- (name "lowdown")
- (version "0.10.0")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://kristaps.bsd.lv/lowdown/snapshots/lowdown-"
- version ".tar.gz"))
- (sha256
- (base32 "15v2kk4ffqw3n6y6n9plch4qcib3ynnhw0ih8wn2v9qgn4jssp5p"))))
- (build-system gnu-build-system)
- (arguments
- `(#:test-target "regress"
- #:phases
- (modify-phases %standard-phases
- (replace 'configure
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (invoke "./configure"
- (string-append "PREFIX=" out)
- (string-append "MANDIR=" out "/share/man"))))))))
- (native-inputs
- (list which))
- (home-page "https://kristaps.bsd.lv/lowdown/")
- (synopsis "Simple Markdown translator")
- (description "Lowdown is a Markdown translator producing HTML5,
+ (let ((commit "1de10c1d71bfb4348ae0beaec8b1547d5e114969")
+ (revision "1"))
+ (package
+ (name "lowdown")
+ (version (git-version "0.10.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/kristapsdz/lowdown")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1wh07nkiihvp1m79sj4qlnqklnn0rfp3hwls8sqcp0bfd96wpa1h"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:test-target "regress"
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'configure
+ (lambda _
+ (invoke "./configure"
+ (string-append "PREFIX=" #$output)
+ (string-append "MANDIR=" #$output "/share/man")))))
+ #:make-flags #~(list "CFLAGS=-fPIC")))
+ (native-inputs
+ (list which))
+ (home-page "https://kristaps.bsd.lv/lowdown/")
+ (synopsis "Simple Markdown translator")
+ (description "Lowdown is a Markdown translator producing HTML5,
roff documents in the ms and man formats, LaTeX, gemini, and terminal output.")
- (license license:isc)))
+ (license license:isc))))
(define-public discount
(package
@@ -237,10 +247,83 @@ implementation.
@end example")
(license license:perl-license)))
+(define-public python-cmarkgfm
+ (package
+ (name "python-cmarkgfm")
+ (version "0.7.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "cmarkgfm" version))
+ (sha256
+ (base32
+ "06cw49bzxl3k7m8993cyi5zqxvk817z8ghhr9xqq5gx8klpiap56"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Delete bundled cmark and generated headers.
+ (for-each delete-file-recursively
+ '("third_party/cmark" "generated"))))))
+ (build-system python-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'copy-cmark-gfm
+ (lambda _
+ ;; This package needs the cmark-gfm source files
+ ;; to generate FFI bindings.
+ (copy-recursively #+(package-source (this-package-input
+ "cmark-gfm"))
+ "third_party/cmark")))
+ (add-after 'unpack 'install-cmark-headers
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; XXX: Loosely based on 'regenerate' from noxfile.py.
+ (let ((version.h (search-input-file
+ inputs "/include/cmark-gfm_version.h")))
+ (for-each (lambda (file)
+ (install-file file "generated/unix/"))
+ (cons version.h
+ (find-files (dirname version.h)
+ "_export\\.h$"))))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests? (invoke "pytest" "-vv" "tests")))))))
+ (native-inputs (list python-pytest))
+ (inputs (list cmark-gfm))
+ (propagated-inputs (list python-cffi-1.15))
+ (home-page "https://github.com/theacodes/cmarkgfm")
+ (synopsis "Python bindings for GitHub's fork of cmark")
+ (description
+ "This package provides a minimal set of Python bindings for the
+GitHub cmark fork (@code{cmark-gfm}).")
+ (license license:expat)))
+
+(define-public python-markdownify
+ (package
+ (name "python-markdownify")
+ (version "0.10.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "markdownify" version))
+ (sha256
+ (base32
+ "0msvrsgq9jigbgg7r7iq7ql5bgslmbxd8sq0nmpbxrjwqypgs7w2"))))
+ (build-system python-build-system)
+ (native-inputs
+ (list python-pytest))
+ (propagated-inputs
+ (list python-flake8 python-beautifulsoup4 python-six))
+ (home-page
+ "https://github.com/matthewwithanm/python-markdownify")
+ (synopsis "Converts HTML to Markdown")
+ (description "This package provides @code{markdownify} a Python library to
+convert HTML to Markdown.")
+ (license license:expat)))
+
(define-public cmark
(package
(name "cmark")
- (version "0.29.0")
+ (version "0.30.2")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -249,16 +332,7 @@ implementation.
(file-name (git-file-name name version))
(sha256
(base32
- "0r7jpqhgnssq444i8pwji2g36058vfzwkl70wbiwj13h4w5rfc8f"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- ;; Mimic upstream commit 68c3a91166347 to fix a test failure
- ;; when using Python 3.8. Remove for versions > 0.29.
- ;; See <https://github.com/commonmark/cmark/issues/313>.
- (substitute* "test/normalize.py"
- (("cgi") "html"))
- #t))))
+ "1426snw3mq8qmpdxznkhsyy75xd9v9nwlc7sph08qpdz8xnp4hr2"))))
(build-system cmake-build-system)
(arguments
'(#:test-target "test"))
@@ -277,6 +351,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 cmark-gfm
+ (package
+ (inherit cmark)
+ (name "cmark-gfm")
+ (version "0.29.0.gfm.2")
+ (home-page "https://github.com/github/cmark-gfm")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference (url home-page) (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0vz6zs3m22k7jzfj4782lahciwfjlbi4m3qz5crsmssip3rwdy7h"))))
+ (arguments
+ '(#:test-target "test"
+ #:phases (modify-phases %standard-phases
+ (add-after 'install 'install-config
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ ;; XXX: cmark-gfm-core-extensions.h includes this file.
+ (install-file "src/config.h"
+ (string-append out "/include"))))))))
+ (synopsis "GitHub flavored CommonMark")
+ (description
+ "This package is a fork of @code{cmark}, with GitHub-specific Markdown
+additions.")))
+
(define-public smu
(package
(name "smu")
diff --git a/gnu/packages/mastodon.scm b/gnu/packages/mastodon.scm
index 8a8e2e7786..d6fd1db2b6 100644
--- a/gnu/packages/mastodon.scm
+++ b/gnu/packages/mastodon.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2021 Taiju HIGASHI <higashi@taiju.info>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -24,6 +25,7 @@
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module ((guix licenses) #:prefix license:)
+ #:use-module (gnu packages)
#:use-module (gnu packages check)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gettext)
@@ -79,15 +81,21 @@ Features include:
(name "tootle")
(version "1.0")
(source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/bleakgrey/tootle")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1nm57239mhdq462an6bnhdlijpijxmjs9mqbyirwxwa048d3n4rm"))))
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/bleakgrey/tootle")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1nm57239mhdq462an6bnhdlijpijxmjs9mqbyirwxwa048d3n4rm"))
+ (patches
+ (search-patches
+ ;; https://github.com/bleakgrey/tootle/pull/339
+ "tootle-glib-object-naming.patch"
+ ;; https://github.com/bleakgrey/tootle/pull/322
+ "tootle-reason-phrase.patch"))))
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
@@ -97,8 +105,7 @@ Features include:
;; Don't create 'icon-theme.cache'.
(lambda _
(substitute* "meson/post_install.py"
- (("gtk-update-icon-cache") "true"))
- #t))
+ (("gtk-update-icon-cache") "true"))))
(add-after 'unpack 'patch-source
(lambda _
(substitute* "src/Dialogs/NewAccount.vala"
@@ -107,25 +114,23 @@ Features include:
(substitute* "src/Build.vala"
(("(os_name = ).*" _ first) (string-append first "\"GNU\";\n"))
(("(os_ver = ).*" _ first) (string-append first "\"Guix\";\n"))
- (("GLib.Environment.get_os_info.*") "\"unknown\";\n"))
- #t))
+ (("GLib.Environment.get_os_info.*") "\"unknown\";\n"))))
(add-after 'install 'symlink-package
(lambda* (#:key outputs #:allow-other-keys)
(symlink "com.github.bleakgrey.tootle"
- (string-append (assoc-ref outputs "out") "/bin/tootle"))
- #t)))))
+ (string-append (assoc-ref outputs "out")
+ "/bin/tootle")))))))
(native-inputs
- `(("gettext" ,gettext-minimal)
- ("glib:bin" ,glib "bin") ; for glib-compile-resources
- ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
- ("pkg-config" ,pkg-config)))
+ (list gettext-minimal
+ `(,glib "bin") ; for glib-compile-resources
+ gsettings-desktop-schemas pkg-config))
(inputs
(list glib-networking
gtk+
json-glib
libgee
libhandy
- libsoup
+ libsoup-minimal-2
vala
xdg-utils))
(home-page "https://github.com/bleakgrey/tootle")
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 3bac086666..9a0f913c5a 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -12,7 +12,7 @@
;;; Copyright © 2015 Fabian Harfert <fhmgufs@web.de>
;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
;;; Copyright © 2016, 2018, 2020, 2021 Kei Kebreau <kkebreau@posteo.net>
-;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2016-2022 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
;;; Copyright © 2016, 2017 Thomas Danckaert <post@thomasdanckaert.be>
;;; Copyright © 2017, 2018, 2019, 2020, 2021 Paul Garlick <pgarlick@tourbillion-technology.com>
@@ -34,7 +34,7 @@
;;; Copyright © 2019 Steve Sprang <scs@stevesprang.com>
;;; Copyright © 2019 Robert Smith <robertsmith@posteo.net>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
-;;; Copyright © 2020, 2021 Felix Gruber <felgru@posteo.net>
+;;; Copyright © 2020–2022 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2020 R Veera Kumar <vkor@vkten.in>
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2020 Nicolò Balzarotti <nicolo@nixo.xyz>
@@ -79,7 +79,9 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system meson)
#:use-module (guix build-system ocaml)
+ #:use-module (guix build-system perl)
#:use-module (guix build-system python)
#:use-module (guix build-system ruby)
#:use-module (gnu packages algebra)
@@ -95,6 +97,7 @@
#:use-module (gnu packages coq)
#:use-module (gnu packages curl)
#:use-module (gnu packages cyrus-sasl)
+ #:use-module (gnu packages datamash)
#:use-module (gnu packages dbm)
#:use-module (gnu packages documentation)
#:use-module (gnu packages elf)
@@ -270,7 +273,7 @@ interactive dialogs to guide them.")
(arguments
'(#:configure-flags '("--with-hdf4" "--with-hdf5" "--enable-python"
"LIBS= -lz -lpcre -lexpat")))
- (synopsis "A common interface to various earth observation data formats")
+ (synopsis "Common interface to various earth observation data formats")
(description
"The Common Data Access toolbox (CODA) provides a set of interfaces for
reading remote sensing data from earth observation data files. It consists of
@@ -316,7 +319,7 @@ triangulations.")
(define-public python-cvxopt
(package
(name "python-cvxopt")
- (version "1.2.3")
+ (version "1.2.7")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -325,7 +328,7 @@ triangulations.")
(file-name (git-file-name name version))
(sha256
(base32
- "1kiy2m62xgs2d5id6dnnwy4vap85cd70p7pgkb9nh23qf9xnak7b"))))
+ "114z34wwx1bsv4q6xj9p5q99dffgnj9s4i4arx10g191xq9q8i5y"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -354,9 +357,6 @@ extensive standard library and on the strengths of Python as a high-level
programming language.")
(license license:gpl3+)))
-(define-public python2-cvxopt
- (package-with-python2 python-cvxopt))
-
(define-public units
(package
(name "units")
@@ -576,6 +576,10 @@ and C++. It includes a wide range of mathematical routines, with over 1000
functions in total. Subject areas covered by the library include:
differential equations, linear algebra, Fast Fourier Transforms and random
numbers.")
+
+ ;; Linear algebra routines should benefit from SIMD optimizations.
+ (properties `((tunable? . #t)))
+
(license license:gpl3+)))
;; TODO: Merge back into the gsl package as a separate output.
@@ -1011,6 +1015,67 @@ singular value problems.")
(license (license:non-copyleft "file://LICENSE"
"See LICENSE in the distribution."))))
+(define-public feedgnuplot
+ (package
+ (name "feedgnuplot")
+ (version "1.60")
+ (home-page "https://github.com/dkogan/feedgnuplot")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0403hwlian2s431m36qdzcczhvfjvh7128m64hmmwbbrgh0n7md7"))))
+ (build-system perl-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'adjust-tests
+ (lambda _
+ (substitute* "t/plots.t"
+ ;; XXX: The vnlog tests uses 'echo' with escaped strings,
+ ;; but does not enable escape interpretation.
+ (("echo -n ")
+ "echo -ne "))))
+ (add-after 'install 'install-documentation
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (doc (string-append out "/share/doc/feedgnuplot")))
+ (mkdir-p doc)
+ (invoke "pod2html" "--title=feedgnuplot" "bin/feedgnuplot"
+ "--outfile" (string-append doc "/feedgnuplot.html")))))
+ (add-after 'install 'wrap
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (gnuplot (search-input-file inputs "/bin/gnuplot"))
+ ;; XXX: We need List::MoreUtils as well as its supporting
+ ;; (propagated) modules; for now just refer to labels.
+ (modules '("perl-list-moreutils" "perl-exporter-tiny"))
+ (PERL5LIB (string-join
+ (map (lambda (input)
+ (string-append (assoc-ref inputs input)
+ "/lib/perl5/site_perl"))
+ modules)
+ ":")))
+ (wrap-program (string-append out "/bin/feedgnuplot")
+ `("PERL5LIB" ":" suffix (,PERL5LIB))
+ `("PATH" ":" suffix (,(dirname gnuplot))))))))))
+ (inputs
+ (list gnuplot perl-list-moreutils vnlog))
+ (native-inputs
+ ;; For tests.
+ (list perl-ipc-run perl-string-shellquote))
+ (synopsis "Pipe-oriented plotting tool")
+ (description
+ "@command{feedgnuplot} is a tool to plot realtime and stored data
+from the command line, using @command{gnuplot}. It can read data from
+a pipe or file, make a variety of transformations, and render the result
+in the terminal or with an external viewer.")
+ (license license:gpl1+))) ;any version
+
(define-public gnuplot
(package
(name "gnuplot")
@@ -2369,7 +2434,7 @@ satisfiability checking (SAT).")
(define-public ceres
(package
(name "ceres-solver")
- (version "1.14.0")
+ (version "2.0.0")
(home-page "http://ceres-solver.org/")
(source (origin
(method url-fetch)
@@ -2377,7 +2442,7 @@ satisfiability checking (SAT).")
version ".tar.gz"))
(sha256
(base32
- "13lfxy8x58w8vprr0nkbzziaijlh0vvqshgahvcgw0mrqdgh0i27"))))
+ "00vng9vnmdb1qga01m0why90m0041w7bn6kxa2h4m26aflfqla8h"))))
(build-system cmake-build-system)
(arguments
;; TODO: Build HTML user documentation and install separately.
@@ -2396,11 +2461,11 @@ satisfiability checking (SAT).")
(propagated-inputs
(list glog)) ;for #include <glog/glog.h>
(inputs
- `(("eigen" ,eigen)
- ("blas" ,openblas)
- ("lapack" ,lapack)
- ("suitesparse" ,suitesparse)
- ("gflags" ,gflags)))
+ (list eigen
+ openblas
+ lapack
+ suitesparse
+ gflags))
(synopsis "C++ library for solving large optimization problems")
(description
"Ceres Solver is a C++ library for modeling and solving large,
@@ -2411,7 +2476,56 @@ can solve two kinds of problems:
@item non-linear least squares problems with bounds constraints;
@item general unconstrained optimization problems.
@end enumerate\n")
- (license license:bsd-3)))
+ (license license:bsd-3)
+
+ ;; Mark as tunable to take advantage of SIMD code in Eigen.
+ (properties `((tunable? . #t)))))
+
+(define-public ceres-solver-benchmarks
+ (package
+ (inherit ceres)
+ (name "ceres-solver-benchmarks")
+ (arguments
+ '(#:modules ((ice-9 popen)
+ (ice-9 rdelim)
+ (guix build utils)
+ (guix build cmake-build-system))
+
+ #:phases (modify-phases %standard-phases
+ (delete 'configure)
+ (replace 'build
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin")))
+ (define flags
+ (string-tokenize
+ (read-line (open-pipe* OPEN_READ
+ "pkg-config" "eigen3"
+ "--cflags"))))
+
+ (define (compile-file top-dir)
+ (lambda (file)
+ (let ((source (string-append file ".cc")))
+ (format #t "building '~a'...~%" file)
+ (apply invoke "c++" "-fopenmp" "-O2" "-g" "-DNDEBUG"
+ source "-lceres" "-lbenchmark" "-lglog"
+ "-pthread"
+ "-o" (string-append bin "/" file)
+ "-I" top-dir flags))))
+
+ (mkdir-p bin)
+ (with-directory-excursion "internal/ceres"
+ (for-each (compile-file "..")
+ '("schur_eliminator_benchmark"
+ "small_blas_gemm_benchmark"
+ "small_blas_gemv_benchmark"))
+ (with-directory-excursion "autodiff_benchmarks"
+ ((compile-file "../..") "autodiff_benchmarks"))))))
+ (delete 'check)
+ (delete 'install))))
+ (inputs (modify-inputs (package-inputs ceres)
+ (prepend googlebenchmark ceres)))
+ (synopsis "Benchmarks of the Ceres optimization problem solver")))
;; For a fully featured Octave, users are strongly recommended also to install
;; the following packages: less, ghostscript, gnuplot.
@@ -4859,7 +4973,7 @@ Failure to do so will result in a library with poor performance.")
(define-public cglm
(package
(name "cglm")
- (version "0.8.2")
+ (version "0.8.4")
(source
(origin
(method git-fetch)
@@ -4868,11 +4982,10 @@ Failure to do so will result in a library with poor performance.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1lcfl9ph4bnl3hckpx4hzwh8r4llnw94ik75igc5qy38wk468gmk"))))
- (build-system cmake-build-system)
+ (base32 "0zgckh56vcdar3a4n51r84wrizyd2ssqal4nsvxd4qdjm0rvb4h0"))))
+ (build-system meson-build-system)
(arguments
- `(#:configure-flags
- (list "-DCGLM_USE_TEST=ON")))
+ `(#:configure-flags '("-Dbuild_tests=true")))
(home-page "https://github.com/recp/cglm")
(synopsis "Mathematics C library for graphics programming")
(description
@@ -5155,14 +5268,16 @@ A unique design feature of Trilinos is its focus on packages.")
(define-public dealii
(package
(name "dealii")
- (version "9.3.1")
+ (version "9.3.2")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/dealii/dealii/releases/"
"download/v" version "/dealii-" version ".tar.gz"))
(sha256
- (base32 "1f0sqvlxvl0myqcn0q6xrn1vnp5pgx143lai4a4jkh1dmdv4cbx6"))
+ (base32 "1s0kawnljg24jj6nibwrif5gxdgg2daqfylhqqpl1lvmzmmxfhak"))
+ (patches (search-patches "dealii-fix-compiliation-with-boost-1.78.patch"
+ "dealii-fix-sundials.patch"))
(modules '((guix build utils)))
(snippet
'(begin
@@ -5173,16 +5288,14 @@ A unique design feature of Trilinos is its focus on packages.")
(outputs '("out" "doc"))
(native-inputs
;; Required to build the documentation.
- `(("dot" ,graphviz)
- ("doxygen" ,doxygen)
- ("perl" ,perl)))
+ (list graphviz doxygen perl))
(inputs
- `(("arpack" ,arpack-ng)
- ("blas" ,openblas)
- ("gfortran" ,gfortran)
- ("lapack" ,lapack)
- ("muparser" ,muparser)
- ("zlib" ,zlib)))
+ (list arpack-ng
+ openblas
+ gfortran
+ lapack
+ muparser
+ zlib))
(propagated-inputs
;; Some scripts are installed into share/deal.II/scripts that require
;; perl and python, but they are not executable (and some are missing the
@@ -5676,15 +5789,14 @@ Longest Commons Subsequence of a set of strings.")
(define-public jacal
(package
(name "jacal")
- (version "1c4")
+ (version "1c7")
(source (origin
(method url-fetch)
(uri (string-append
"http://groups.csail.mit.edu/mac/ftpdir/scm/jacal-"
version ".zip"))
- (sha256 (base32
- "055zrn12a1dmy0dqkwrkq3fklbhg3yir6vn0lacp4mvbg8573a3q"))
- (patches (search-patches "jacal-fix-texinfo.patch"))))
+ (sha256
+ (base32 "06a5sx9ikd62bpnd898g3yk818b020b1a27mk7dbfla2zizib4xz"))))
(build-system gnu-build-system)
(arguments
`(#:phases
@@ -5710,7 +5822,7 @@ Longest Commons Subsequence of a set of strings.")
(chmod wrapper #o555))))
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
- (invoke "./configure"
+ (invoke "sh" "configure"
(string-append "--prefix="
(assoc-ref outputs "out"))))))))
(inputs (list scm))
@@ -6249,7 +6361,7 @@ linear algebra primitives specifically targeting graph analytics.")
(define-public dune-common
(package
(name "dune-common")
- (version "2.7.0")
+ (version "2.7.1")
(source
(origin
(method url-fetch)
@@ -6257,14 +6369,18 @@ linear algebra primitives specifically targeting graph analytics.")
version "/dune-common-" version ".tar.gz"))
(sha256
(base32
- "140q1zh44cr5yrjwg4b5ga803rkqv55vk30l2cqm29aklj1wb0rw"))))
+ "0sidwdkyrrqjkqhpvrlc991pzi5xzlvxk91s2n7qk3widwy7fch2"))))
(build-system cmake-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'build 'build-tests
- (lambda* (#:key make-flags #:allow-other-keys)
- (apply invoke "make" "build_tests" make-flags))))))
+ (lambda* (#:key make-flags parallel-build? #:allow-other-keys)
+ (apply invoke "make" "build_tests"
+ `(,@(if parallel-build?
+ `("-j" ,(number->string (parallel-job-count)))
+ '())
+ ,@make-flags)))))))
(inputs
(list gmp metis openblas python superlu))
(native-inputs
@@ -6282,7 +6398,7 @@ Differences} (FD).")
(define-public dune-geometry
(package
(name "dune-geometry")
- (version "2.7.0")
+ (version "2.7.1")
(source
(origin
(method url-fetch)
@@ -6290,14 +6406,18 @@ Differences} (FD).")
version "/dune-geometry-" version ".tar.gz"))
(sha256
(base32
- "1cicvlwbyyw76npicnblxckyvhbfn3ip8isydiv3hlrlz8zcg5nr"))))
+ "068mh3fd110xl27rwxqlqy4d9cpqw2vqm2pzfrripiaqscb3byfy"))))
(build-system cmake-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'build 'build-tests
- (lambda* (#:key make-flags #:allow-other-keys)
- (apply invoke "make" "build_tests" make-flags))))))
+ (lambda* (#:key make-flags parallel-build? #:allow-other-keys)
+ (apply invoke "make" "build_tests"
+ `(,@(if parallel-build?
+ `("-j" ,(number->string (parallel-job-count)))
+ '())
+ ,@make-flags)))))))
(inputs
(list dune-common
;; Optional
@@ -6319,7 +6439,7 @@ This package contains the basic DUNE geometry classes.")
(define-public dune-uggrid
(package
(name "dune-uggrid")
- (version "2.7.0")
+ (version "2.7.1")
(source
(origin
(method git-fetch)
@@ -6329,14 +6449,18 @@ This package contains the basic DUNE geometry classes.")
(file-name (git-file-name name version))
(sha256
(base32
- "192miqgmfj6jwk969gydzpbv9ki7jg5nky3ydnrwa2nq29b5xkh0"))))
+ "11qz52g9d5k96fqik2lyi80xryw174rnny074pj70ardl6zzz83p"))))
(build-system cmake-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'build 'build-tests
- (lambda* (#:key make-flags #:allow-other-keys)
- (apply invoke "make" "build_tests" make-flags))))))
+ (lambda* (#:key make-flags parallel-build? #:allow-other-keys)
+ (apply invoke "make" "build_tests"
+ `(,@(if parallel-build?
+ `("-j" ,(number->string (parallel-job-count)))
+ '())
+ ,@make-flags)))))))
(inputs
(list dune-common))
(native-inputs
@@ -6355,7 +6479,7 @@ This package contains the DUNE UG grid classes.")
(define-public dune-grid
(package
(name "dune-grid")
- (version "2.7.0")
+ (version "2.7.1")
(source
(origin
(method url-fetch)
@@ -6363,14 +6487,18 @@ This package contains the DUNE UG grid classes.")
version "/dune-grid-" version ".tar.gz"))
(sha256
(base32
- "17fjz30qazjgl11sryyxnw9klai4yz1ji4bs68013xcxc5hdv27s"))))
+ "15iws03hkbmr4a4rqqb0rriz1m8szl96wdr7gw0jmrcnlzbdbbx5"))))
(build-system cmake-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'build 'build-tests
- (lambda* (#:key make-flags #:allow-other-keys)
- (apply invoke "make" "build_tests" make-flags))))))
+ (lambda* (#:key make-flags parallel-build? #:allow-other-keys)
+ (apply invoke "make" "build_tests"
+ `(,@(if parallel-build?
+ `("-j" ,(number->string (parallel-job-count)))
+ '())
+ ,@make-flags)))))))
(inputs
(list dune-common
dune-geometry
@@ -6397,7 +6525,7 @@ This package contains the basic DUNE grid classes.")
(define-public dune-istl
(package
(name "dune-istl")
- (version "2.7.0")
+ (version "2.7.1")
(source
(origin
(method url-fetch)
@@ -6405,8 +6533,7 @@ This package contains the basic DUNE grid classes.")
version "/dune-istl-" version ".tar.gz"))
(sha256
(base32
- "0gl3wgz5rs6sb4m83440ny45sbx7z7lnbi3gx6r9nm3rvy5j33f9"))
- (patches (search-patches "dune-istl-2.7-fix-non-mpi-tests.patch"))))
+ "1cy69s1266hvnh8blznlvvkrf8i2g640rc3mf7kp872wgvdz4nb9"))))
(build-system cmake-build-system)
(arguments
`(#:phases
@@ -6424,8 +6551,12 @@ This package contains the basic DUNE grid classes.")
":"))
#t)))
(add-after 'build 'build-tests
- (lambda* (#:key make-flags #:allow-other-keys)
- (apply invoke "make" "build_tests" make-flags))))))
+ (lambda* (#:key make-flags parallel-build? #:allow-other-keys)
+ (apply invoke "make" "build_tests"
+ `(,@(if parallel-build?
+ `("-j" ,(number->string (parallel-job-count)))
+ '())
+ ,@make-flags)))))))
(inputs
(list dune-common
;; Optional
@@ -6455,7 +6586,7 @@ aggregation-based algebraic multigrid.")
(define-public dune-localfunctions
(package
(name "dune-localfunctions")
- (version "2.7.0")
+ (version "2.7.1")
(source
(origin
(method url-fetch)
@@ -6463,7 +6594,7 @@ aggregation-based algebraic multigrid.")
version "/dune-localfunctions-" version ".tar.gz"))
(sha256
(base32
- "1yih59h6vngii696bx1c2vil02lriij4kz0nc583mjn9kiaqxfqd"))))
+ "031i42anrhi0ngpvp42rdjbkic7v3008fwild9xg7flffwvnpshg"))))
(build-system cmake-build-system)
(arguments
`(#:phases
@@ -6481,8 +6612,12 @@ aggregation-based algebraic multigrid.")
":"))
#t)))
(add-after 'build 'build-tests
- (lambda* (#:key make-flags #:allow-other-keys)
- (apply invoke "make" "build_tests" make-flags))))))
+ (lambda* (#:key make-flags parallel-build? #:allow-other-keys)
+ (apply invoke "make" "build_tests"
+ `(,@(if parallel-build?
+ `("-j" ,(number->string (parallel-job-count)))
+ '())
+ ,@make-flags)))))))
(inputs
(list dune-common
dune-geometry
@@ -6507,97 +6642,111 @@ assemble global function spaces on finite-element grids.")
(license license:gpl2)))
(define-public dune-alugrid
- (package
- (name "dune-alugrid")
- (version "2.7.0-git-81d35682")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://gitlab.dune-project.org/extensions/dune-alugrid.git")
- (commit "81d356827c84454b971937db02c02b90bbcd7fe5")))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0z54lwfp53prcrs94k8gwh047l9z642jll3l56xlyfr69z0b2zz1"))))
- (build-system cmake-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-include
- (lambda _
- (substitute* "dune/alugrid/test/test-alugrid.cc"
- (("doc/grids/gridfactory/testgrids")
- "doc/dune-grid/grids/gridfactory/testgrids"))
- #t))
- (add-after 'build 'build-tests
- (lambda* (#:key inputs make-flags #:allow-other-keys)
- (setenv "CPLUS_INCLUDE_PATH"
- (string-append (assoc-ref inputs "dune-grid") "/share"))
- (apply invoke "make" "build_tests" make-flags))))))
- (inputs
- (list dune-common
- dune-geometry
- dune-grid
- ;; Optional
- metis
- openblas
- python
- superlu
- gmp
- zlib))
- (native-inputs
- (list gfortran pkg-config))
- (home-page "https://dune-project.org/")
- (synopsis "Distributed and Unified Numerics Environment")
- (description "ALUGrid is an adaptive, loadbalancing, unstructured
+ ;; This was the last commit on the releases/2.7 branch as of 2021-12-17,
+ ;; unfortunately there was no tag for any 2.7 release.
+ (let ((commit "51bde29a2dfa7cfac4fb73d40ffd42b9c1eb1d3d"))
+ (package
+ (name "dune-alugrid")
+ (version (git-version "2.7.1" "0" commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.dune-project.org/extensions/dune-alugrid.git")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0z16wg6llzxs7vjg2yilg31vwnkz8k050j6bspg3blbym0razy15"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-include
+ (lambda _
+ (substitute* "dune/alugrid/test/test-alugrid.cc"
+ (("doc/grids/gridfactory/testgrids")
+ "doc/dune-grid/grids/gridfactory/testgrids"))
+ #t))
+ (add-after 'build 'build-tests
+ (lambda* (#:key make-flags parallel-build? #:allow-other-keys)
+ (setenv "CPLUS_INCLUDE_PATH"
+ (string-append (assoc-ref inputs "dune-grid") "/share"))
+ (apply invoke "make" "build_tests"
+ `(,@(if parallel-build?
+ `("-j" ,(number->string (parallel-job-count)))
+ '())
+ ,@make-flags)))))))
+ (inputs
+ (list dune-common
+ dune-geometry
+ dune-grid
+ ;; Optional
+ metis
+ openblas
+ python
+ superlu
+ gmp
+ zlib))
+ (native-inputs
+ (list gfortran pkg-config))
+ (home-page "https://dune-project.org/")
+ (synopsis "Distributed and Unified Numerics Environment")
+ (description "ALUGrid is an adaptive, loadbalancing, unstructured
implementation of the DUNE grid interface supporting either simplices or
cubes.")
- (license license:gpl2+)))
+ (license license:gpl2+))))
(define-public dune-subgrid
- (package
- (name "dune-subgrid")
- (version "2.7.0-git-2103a363")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://git.imp.fu-berlin.de/agnumpde/dune-subgrid")
- (commit "2103a363f32e8d7b60e66eee7ddecf969f6cf762")))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1wsjlypd3835c3arqjkw836cxx5q67zy447wa65q634lf6f6v9ia"))))
- (build-system cmake-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'build 'build-tests
- (lambda* (#:key make-flags #:allow-other-keys)
- (apply invoke "make" "build_tests" make-flags))))))
- (inputs
- (list dune-common
- dune-geometry
- dune-grid
- ;; Optional
- metis
- openblas
- gmp))
- (native-inputs
- (list gfortran pkg-config))
- (home-page "http://numerik.mi.fu-berlin.de/dune-subgrid/index.php")
- (synopsis "Distributed and Unified Numerics Environment")
- (description "The dune-subgrid module marks elements of
+ ;; This was the last commit on the releases/2.7 branch as of 2021-12-17.
+ ;; Unfortunately the dune-subgrid repository contains no release tags.
+ (let ((commit "45d1ee9f3f711e209695deee97912f4954f7f280"))
+ (package
+ (name "dune-subgrid")
+ (version (git-version "2.7.1" "0" commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.imp.fu-berlin.de/agnumpde/dune-subgrid")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0xjf7865wil7kzym608kv3nc3ff3m3nlqich4k9wjyvy3lz6panh"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'build 'build-tests
+ (lambda* (#:key make-flags parallel-build? #:allow-other-keys)
+ (apply invoke "make" "build_tests"
+ `(,@(if parallel-build?
+ `("-j" ,(number->string (parallel-job-count)))
+ '())
+ ,@make-flags)))))))
+ (inputs
+ (list dune-common
+ dune-geometry
+ dune-grid
+ ;; Optional
+ metis
+ openblas
+ gmp))
+ (native-inputs
+ (list gfortran pkg-config))
+ (home-page "http://numerik.mi.fu-berlin.de/dune-subgrid/index.php")
+ (synopsis "Distributed and Unified Numerics Environment")
+ (description "The dune-subgrid module marks elements of
another hierarchical dune grid. The set of marked elements can then be
accessed as a hierarchical dune grid in its own right. Dune-Subgrid
provides the full grid interface including adaptive mesh refinement.")
- (license license:gpl2+)))
+ (license license:gpl2+))))
(define-public dune-typetree
(package
(name "dune-typetree")
- (version "2.7.0")
+ (version "2.7.1")
(source
(origin
(method git-fetch)
@@ -6607,14 +6756,18 @@ provides the full grid interface including adaptive mesh refinement.")
(file-name (git-file-name name version))
(sha256
(base32
- "1rhv25yg0q1hw50c8wlfqhgwrjl4mh62zq9v14ilwgzbfgxmpiy7"))))
+ "1kx9k8i7pdw6l6ny6nq85v5p1nd6yxldzaj8k3nizaz3q1j407pv"))))
(build-system cmake-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'build 'build-tests
- (lambda* (#:key make-flags #:allow-other-keys)
- (apply invoke "make" "build_tests" make-flags))))))
+ (lambda* (#:key make-flags parallel-build? #:allow-other-keys)
+ (apply invoke "make" "build_tests"
+ `(,@(if parallel-build?
+ `("-j" ,(number->string (parallel-job-count)))
+ '())
+ ,@make-flags)))))))
(inputs
(list dune-common
;; Optional
@@ -6635,7 +6788,7 @@ operating on statically typed trees of objects.")
(define-public dune-functions
(package
(name "dune-functions")
- (version "2.7.0")
+ (version "2.7.1")
(source
(origin
(method git-fetch)
@@ -6645,7 +6798,7 @@ operating on statically typed trees of objects.")
(file-name (git-file-name name version))
(sha256
(base32
- "1na4gcih0kin37ksj2xj07ds04v7zx53pjdhm1hzy55jjfqdjk8h"))))
+ "04dhr4asnl38bf1gp8hrk31maav33m7q71lhl2n5yk1q1x6i77nw"))))
(build-system cmake-build-system)
(arguments
`(#:phases
@@ -6657,8 +6810,12 @@ operating on statically typed trees of objects.")
"--exclude-regex gridviewfunctionspacebasistest")
#t))
(add-after 'build 'build-tests
- (lambda* (#:key make-flags #:allow-other-keys)
- (apply invoke "make" "build_tests" make-flags))))))
+ (lambda* (#:key make-flags parallel-build? #:allow-other-keys)
+ (apply invoke "make" "build_tests"
+ `(,@(if parallel-build?
+ `("-j" ,(number->string (parallel-job-count)))
+ '())
+ ,@make-flags)))))))
(inputs
(list dune-common
dune-istl
@@ -6682,44 +6839,47 @@ implemented as callable objects, and bases of finite element spaces.")
(license (list license:lgpl3+ license:gpl2))))
(define-public dune-pdelab
- (package
- (name "dune-pdelab")
- (version "2.7.0-git-476fe437")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://gitlab.dune-project.org/pdelab/dune-pdelab")
- (commit "476fe43763fa6f459c5e4658e2a2b4b5582db834")))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0cs36piqzn6rq0j2ih3ab3q3q9yg199wk72k5qi86pkzh7i7fdn1"))))
- (build-system cmake-build-system)
- (arguments '(#:tests? #f)) ; XXX: the tests cannot be compiled
- (inputs
- (list dune-common
- dune-istl
- dune-localfunctions
- dune-geometry
- dune-grid
- dune-typetree
- dune-functions
- ;; Optional
- openblas
- eigen
- metis
- python
- superlu
- gmp))
- (native-inputs
- (list gfortran pkg-config))
- (home-page "https://dune-project.org/")
- (synopsis "Differential equations solver toolbox")
- (description "PDELab is a partial differential equations solver toolbox
+ ;; This was the last commit on the releases/2.7 branch as of 2021-12-17,
+ ;; unfortunately there was no tag for any 2.7 release.
+ (let ((commit "09aef74d95661d18a7789d2f517ae77797eec738"))
+ (package
+ (name "dune-pdelab")
+ (version (git-version "2.7.1" "0" commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.dune-project.org/pdelab/dune-pdelab")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0nv69ayr4gln9m1s94z9zkrxqi8nzar3z6awnvgqz595nmjf82ac"))))
+ (build-system cmake-build-system)
+ (arguments '(#:tests? #f)) ; XXX: the tests cannot be compiled
+ (inputs
+ (list dune-common
+ dune-istl
+ dune-localfunctions
+ dune-geometry
+ dune-grid
+ dune-typetree
+ dune-functions
+ ;; Optional
+ openblas
+ eigen
+ metis
+ python
+ superlu
+ gmp))
+ (native-inputs
+ (list gfortran pkg-config))
+ (home-page "https://dune-project.org/")
+ (synopsis "Differential equations solver toolbox")
+ (description "PDELab is a partial differential equations solver toolbox
built on top of DUNE, the Distributed and Unified Numerics Environment.")
- ;; Either GPL version 2 with "runtime exception" or LGPLv3+.
- (license (list license:lgpl3+ license:gpl2))))
+ ;; Either GPL version 2 with "runtime exception" or LGPLv3+.
+ (license (list license:lgpl3+ license:gpl2)))))
(define add-openmpi-to-dune-package
(let ((dune-package?
@@ -6729,8 +6889,8 @@ built on top of DUNE, the Distributed and Unified Numerics Environment.")
(if (dune-package? p)
(package (inherit p)
(name (string-append (package-name p) "-openmpi"))
- (inputs `(,@(package-inputs p)
- ("openmpi" ,openmpi)))
+ (inputs (modify-inputs (package-inputs p)
+ (append openmpi)))
(arguments
(substitute-keyword-arguments (package-arguments p)
((#:phases phases '%standard-phases)
@@ -7195,14 +7355,14 @@ of C, Java, or Ada programs.")
(define-public frama-c
(package
(name "frama-c")
- (version "23.1")
+ (version "24.0")
(source (origin
(method url-fetch)
(uri (string-append "http://frama-c.com/download/frama-c-"
- version "-Vanadium.tar.gz"))
+ version "-Chromium.tar.gz"))
(sha256
(base32
- "1rgkq9sg436smw005ag0j6y3xryhjn18a07m5wjfrfp0s1438nnj"))))
+ "0x1xgip50jdz1phsb9rzwf2ra8lshn1hmd9g967xia402wrg3sjf"))))
(build-system ocaml-build-system)
(arguments
`(#:tests? #f; no test target in Makefile
diff --git a/gnu/packages/matrix.scm b/gnu/packages/matrix.scm
index 8cdfa38b32..5f94eb2075 100644
--- a/gnu/packages/matrix.scm
+++ b/gnu/packages/matrix.scm
@@ -3,6 +3,8 @@
;;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020, 2021 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
+;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
+;;; Copyright © 2022 Morgan Smith <Morgan.J.Smith@outlook.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -24,6 +26,7 @@
#:use-module (gnu packages check)
#:use-module (gnu packages crypto)
#:use-module (gnu packages databases)
+ #:use-module (gnu packages glib)
#:use-module (gnu packages monitoring)
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-check)
@@ -72,7 +75,10 @@
(build-system python-build-system)
(arguments
;; tests require synapse, creating a circular dependency.
- '(#:tests? #f))
+ '(#:tests? #f
+ #:phases (modify-phases %standard-phases
+ ;; Also, auth_provider.py attempts to import synapse.
+ (delete 'sanity-check))))
(propagated-inputs
(list python-twisted python-ldap3 python-service-identity))
(home-page "https://github.com/matrix-org/matrix-synapse-ldap3")
@@ -256,20 +262,26 @@ fledged batteries-included asyncio layer using aiohttp.")
(add-installed-pythonpath inputs outputs)
(invoke "pytest" "-vv" "tests")))))))
(native-inputs
- (list python-pytest python-faker python-pytest-aiohttp
- python-aioresponses))
+ (list python-aioresponses
+ python-faker
+ python-pytest
+ python-pytest-aiohttp))
(propagated-inputs
(list python-aiohttp
python-appdirs
python-attrs
python-cachetools
python-click
+ python-dbus
python-janus
python-keyring
python-logbook
python-matrix-nio
+ python-notify2
python-peewee
- python-prompt-toolkit))
+ python-prompt-toolkit
+ python-pydbus
+ python-pygobject))
(home-page "https://github.com/matrix-org/pantalaimon")
(synopsis "Matrix proxy daemon that adds E2E encryption capabilities")
(description
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index 479746639a..0e9b99fa1c 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -312,6 +312,103 @@ for repositories using URI-based layouts.")))
(description "This package contains a transport implementation based on
Maven Wagon, for use in Maven.")))
+(define-public maven-resolver-transport-file
+ (package
+ (inherit maven-resolver-api)
+ (name "maven-resolver-transport-file")
+ (arguments
+ `(#:jar-name "maven-resolver-transport-file.jar"
+ #:source-dir "maven-resolver-transport-file/src/main/java"
+ #:test-dir "maven-resolver-transport-file/src/test"
+ #:jdk ,icedtea-8
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'generate-sisu
+ (lambda _
+ (mkdir-p "build/classes/META-INF/sisu")
+ (with-output-to-file "build/classes/META-INF/sisu/javax.inject.Named"
+ (lambda _
+ (display "org.eclipse.aether.transport.file.FileTransporterFactory\n"))))))))
+ (inputs
+ (list java-eclipse-sisu-inject
+ java-eclipse-sisu-plexus
+ java-javax-inject
+ java-plexus-classworlds
+ java-plexus-component-annotations
+ java-plexus-utils
+ java-slf4j-api
+ maven-resolver-api
+ maven-resolver-spi
+ maven-resolver-util
+ maven-wagon-provider-api))
+ (native-inputs
+ (list java-asm
+ java-aopalliance
+ java-cglib
+ java-guava
+ java-guice
+ java-hamcrest-core
+ java-junit
+ maven-resolver-test-util))
+ (synopsis "Transport implementation for Maven")
+ (description "This package contains a transport implementation based on
+files, for use in Maven.")))
+
+(define-public maven-resolver-transport-http
+ (package
+ (inherit maven-resolver-api)
+ (name "maven-resolver-transport-http")
+ (arguments
+ `(#:jar-name "maven-resolver-transport-http.jar"
+ #:source-dir "maven-resolver-transport-http/src/main/java"
+ #:test-dir "maven-resolver-transport-http/src/test"
+ #:jdk ,icedtea-8
+ ;; Tests all fail because
+ ;; org.eclipse.aether.transport.http.SslSocketFactory is not available.
+ #:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'generate-sisu
+ (lambda _
+ (mkdir-p "build/classes/META-INF/sisu")
+ (with-output-to-file "build/classes/META-INF/sisu/javax.inject.Named"
+ (lambda _
+ (display "org.eclipse.aether.transport.http.HttpTransporterFactory\n"))))))))
+ (inputs
+ (list java-eclipse-sisu-inject
+ java-eclipse-sisu-plexus
+ java-javax-inject
+ java-plexus-classworlds
+ java-plexus-component-annotations
+ java-plexus-utils
+ java-slf4j-api
+ maven-resolver-api
+ maven-resolver-spi
+ maven-resolver-util
+ maven-wagon-provider-api))
+ (propagated-inputs
+ (list java-httpcomponents-httpclient
+ java-httpcomponents-httpcore))
+ (native-inputs
+ (list java-aopalliance
+ java-asm
+ java-cglib
+ java-eclipse-aether-api
+ java-eclipse-jetty-http
+ java-eclipse-jetty-io
+ java-eclipse-jetty-server
+ java-eclipse-jetty-servlet
+ java-eclipse-jetty-util
+ java-guava
+ java-guice
+ java-hamcrest-core
+ java-javaee-servletapi
+ java-junit
+ maven-resolver-test-util))
+ (synopsis "Transport implementation for Maven")
+ (description "This package contains a transport implementation based on
+HTTP, for use in Maven.")))
+
;; aether is the parent project that was forked into maven-resolver. It used
;; to be used with older versions of Maven, and is still required for some
;; plugins and their dependencies. This version is required for the plugins,
@@ -845,7 +942,7 @@ Test Compatibility Kit.")))
("java-asm" ,java-asm)
("java-geronimo-xbean-reflect" ,java-geronimo-xbean-reflect)
,@(package-native-inputs maven-wagon-provider-api)))
- (synopsis "Shared Library for wagon providers supporting HTTP.")
+ (synopsis "Shared Library for wagon providers supporting HTTP")
(description "Maven Wagon is a transport abstraction that is used in Maven's
artifact and repository handling code. It uses providers, that are tools to
manage artifacts and deployment. This package contains a shared library for
@@ -3565,7 +3662,7 @@ MOJO.")))
(list maven-surefire-common maven-core))
(native-inputs
(list maven-plugin-annotations unzip))
- (synopsis "SureFire Maven plugin that runs tests.")
+ (synopsis "SureFire Maven plugin that runs tests")
(description "The Surefire Plugin is used during the test phase of the
build lifecycle to execute the unit tests of an application. It generates
reports in two different file formats, plain text and xml.")))
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 68d95bd5fa..768642f119 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -31,6 +31,7 @@
;;; Copyright © 2021 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 jgart <jgart@dismail.de>
+;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -88,6 +89,7 @@
#:use-module (gnu packages kerberos)
#:use-module (gnu packages less)
#:use-module (gnu packages libcanberra)
+ #:use-module (gnu packages libevent)
#:use-module (gnu packages libffi)
#:use-module (gnu packages libidn)
#:use-module (gnu packages libreoffice)
@@ -549,31 +551,31 @@ your private keys, no previous conversation is compromised.")
(define-public libsignal-protocol-c
(package
- (name "libsignal-protocol-c")
- (version "2.3.3")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/WhisperSystems/libsignal-protocol-c")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0z5p03vk15i6h870azfjgyfgxhv31q2vq6rfhnybrnkxq2wqzwhk"))))
- (arguments
- `(;; Required for proper linking and for tests to run.
- #:configure-flags '("-DBUILD_SHARED_LIBS=on" "-DBUILD_TESTING=1")))
- (build-system cmake-build-system)
- (inputs (list ;; Required for tests:
- check openssl))
- (native-inputs (list pkg-config))
- (home-page "https://github.com/WhisperSystems/libsignal-protocol-c")
- (synopsis "Implementation of a ratcheting forward secrecy protocol")
- (description "libsignal-protocol-c is an implementation of a ratcheting
+ (name "libsignal-protocol-c")
+ (version "2.3.3")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/WhisperSystems/libsignal-protocol-c")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0z5p03vk15i6h870azfjgyfgxhv31q2vq6rfhnybrnkxq2wqzwhk"))))
+ (arguments
+ `(;; Required for proper linking and for tests to run.
+ #:configure-flags '("-DBUILD_SHARED_LIBS=on" "-DBUILD_TESTING=1")))
+ (build-system cmake-build-system)
+ (inputs (list ;; Required for tests:
+ check openssl))
+ (native-inputs (list pkg-config))
+ (home-page "https://github.com/WhisperSystems/libsignal-protocol-c")
+ (synopsis "Implementation of a ratcheting forward secrecy protocol")
+ (description "libsignal-protocol-c is an implementation of a ratcheting
forward secrecy protocol that works in synchronous and asynchronous
messaging environments. It can be used with messaging software to provide
end-to-end encryption.")
- (license license:gpl3+)))
+ (license license:gpl3+)))
(define-public axc
(package
@@ -1253,6 +1255,7 @@ of xmpppy.")
("gst-plugins-base" ,gst-plugins-base)
("gtk+" ,gtk+)
("gupnp-igd" ,gupnp-igd)
+ ("libnice" ,libnice)
("libsecret" ,libsecret)
("libsoup" ,libsoup)
("libxss" ,libxscrnsaver)
@@ -1663,9 +1666,9 @@ messenger protocol.")
(wrap-program (string-append (assoc-ref outputs "out")
"/bin/utox")
;; For GtkFileChooserDialog.
- `("GSETTINGS_SCHEMA_DIR" =
- (,(string-append (assoc-ref inputs "gtk+")
- "/share/glib-2.0/schemas")))))))))
+ `("GSETTINGS_SCHEMA_DIR" =
+ (,(string-append (assoc-ref inputs "gtk+")
+ "/share/glib-2.0/schemas")))))))))
(inputs
`(("dbus" ,dbus)
("filteraudio" ,filteraudio)
@@ -2286,7 +2289,7 @@ QMatrixClient project.")
(define-public mtxclient
(package
(name "mtxclient")
- (version "0.5.1")
+ (version "0.6.1")
(source
(origin
(method git-fetch)
@@ -2295,7 +2298,7 @@ QMatrixClient project.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1xznfx2bhw0ahwmkxm0rs05vz05ijk5k4190rj6qp3bvb9byiajh"))))
+ (base32 "1a3ki45rf1fm7y4b74li76aqd4qc4y5ga5r163s0cwcpj9mp8c45"))))
(arguments
`(#:configure-flags
(list
@@ -2306,13 +2309,15 @@ QMatrixClient project.")
(add-before 'configure 'disable-network-tests
(lambda _
(substitute* "CMakeLists.txt"
- (("add_test\\((BasicConnectivity|ClientAPI|MediaAPI|Encryption|Pushrules)")
- "# add_test"))
- #t)))))
+ (("add_test\\((BasicConnectivity|ClientAPI|Devices|MediaAPI|Encryption|Pushrules)")
+ "# add_test")))))))
(build-system cmake-build-system)
(inputs
(list boost
+ coeurl
+ curl
json-modern-cxx
+ libevent
libolm
libsodium
openssl
@@ -2329,7 +2334,7 @@ for the Matrix protocol. It is built on to of @code{Boost.Asio}.")
(define-public nheko
(package
(name "nheko")
- (version "0.8.2")
+ (version "0.9.0")
(source
(origin
(method git-fetch)
@@ -2338,80 +2343,81 @@ for the Matrix protocol. It is built on to of @code{Boost.Asio}.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0362hkbprc6jqlgmvzwxyvify4b1ldjakyqdz55m25xsypbpv2f3"))
+ (base32 "1akhnngxkxbjwjkg5ispl6j5s2ylbcj92r3zxqqry4gbfxbjpx8k"))
(modules '((guix build utils)))
(snippet
'(begin
(delete-file-recursively "third_party")))))
(arguments
- `(#:tests? #f ;no test target
- #:configure-flags
- '("-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
- ;; it, when you update Qt. That's fine for us.
- "-DCOMPILE_QML=ON")
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'unbundle-dependencies
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((single-app (assoc-ref inputs "single-application")))
- (substitute* "CMakeLists.txt"
- ;; Remove include and source dirs,replace with the correct one
- (("third_party/blurhash/blurhash.cpp") "")
- (("third_party/cpp-httplib-0.5.12")
- (string-append "\"" single-app "/include\""))
- (("add_subdirectory.*third_party/SingleApplication.*") "")
- ;; Link using the correct static/shared libs
- (("SingleApplication::SingleApplication")
- (string-append
- ;; Dynamic libraries
- "httplib" "\n" "blurhash" "\n"
- ;; Static library
- single-app "/lib/libSingleApplication.a"))))))
- (add-after 'unpack 'fix-determinism
- (lambda _
- ;; Make Qt deterministic.
- (setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1")))
- (add-after 'install 'wrap-program
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out"))
- (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
- (wrap-program (string-append out "/bin/nheko")
- `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))))))))
+ (list
+ #: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
+ ;; it, when you update Qt. That's fine for us.
+ "-DCOMPILE_QML=ON")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'unbundle-dependencies
+ (lambda _
+ (let ((single-app #$(this-package-input "single-application-qt5")))
+ (substitute* "CMakeLists.txt"
+ ;; Remove include and source dirs,replace with the correct one
+ (("third_party/blurhash/blurhash.cpp") "")
+ (("third_party/cpp-httplib-0.5.12")
+ (string-append "\"" single-app "/include\""))
+ (("add_subdirectory.*third_party/SingleApplication.*") "")
+ ;; Link using the correct static/shared libs
+ (("SingleApplication::SingleApplication")
+ (string-append
+ ;; Dynamic libraries
+ "httplib" "\n" "blurhash" "\n"
+ ;; Static library
+ single-app "/lib/libSingleApplication.a"))))))
+ (add-after 'unpack 'fix-determinism
+ (lambda _
+ ;; Make Qt deterministic.
+ (setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1")))
+ (add-after 'install 'wrap-program
+ (lambda _
+ (let ((gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
+ (wrap-program (string-append #$output "/bin/nheko")
+ `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))))))))
(build-system qt-build-system)
(inputs
- `(("boost" ,boost)
- ("blurhash" ,blurhash)
- ("cpp-httplib" ,cpp-httplib)
- ("cmark" ,cmark)
- ("gst-plugins-base" ,gst-plugins-base)
- ("gst-plugins-bad" ,gst-plugins-bad) ; sdp & webrtc for voip
- ("gst-plugins-good" ,gst-plugins-good) ; rtpmanager for voip
- ("json-modern-cxx" ,json-modern-cxx)
- ("libnice" ,libnice) ; for voip
- ("libolm" ,libolm)
- ("lmdb" ,lmdb)
- ("lmdbxx" ,lmdbxx)
- ("mtxclient" ,mtxclient)
- ("openssl" ,openssl)
- ("qtbase" ,qtbase-5)
- ("qtdeclarative" ,qtdeclarative)
- ("qtkeychain" ,qtkeychain)
- ("qtgraphicaleffects" ,qtgraphicaleffects)
- ("qtmultimedia" ,qtmultimedia)
- ("qtquickcontrols2" ,qtquickcontrols2)
- ("qtsvg" ,qtsvg)
- ("spdlog" ,spdlog)
- ("single-application" ,single-application-qt5)
- ("zlib" ,zlib)))
+ (list boost
+ blurhash
+ cpp-httplib
+ cmark
+ coeurl
+ curl
+ gst-plugins-base
+ gst-plugins-bad ; sdp & webrtc for voip
+ gst-plugins-good ; rtpmanager for voip
+ json-modern-cxx
+ libevent
+ libnice ; for voip
+ libolm
+ lmdb
+ lmdbxx
+ mtxclient
+ openssl
+ qtbase-5
+ qtdeclarative
+ qtkeychain
+ qtgraphicaleffects
+ qtmultimedia
+ qtquickcontrols2
+ qtsvg
+ spdlog
+ single-application-qt5
+ xcb-util-wm
+ zlib))
(native-inputs
- `(("doxygen" ,doxygen)
- ("graphviz" ,graphviz)
- ("pkg-config" ,pkg-config)
- ("qtlinguist" ,qttools)))
+ (list doxygen graphviz pkg-config qttools))
(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
@@ -2461,13 +2467,13 @@ QMatrixClient project.")
(define-public hangups
(package
(name "hangups")
- (version "0.4.15")
+ (version "0.4.16")
(source
(origin
(method url-fetch)
(uri (pypi-uri "hangups" version))
(sha256
- (base32 "1fa58m6zgvsawp2h1maj82wn6lpdllhbficmcjm78n5bg1hv7f4m"))))
+ (base32 "11szzszwfszc28xvlsh0bahxy3cgibzsirbfjh5m8vj60lzipqm3"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -2488,7 +2494,7 @@ QMatrixClient project.")
python-async-timeout
python-configargparse
python-mechanicalsoup
- python-protobuf-3.6
+ python-protobuf
python-readlike
python-reparser
python-requests
@@ -2592,45 +2598,43 @@ replacement.")
(license license:gpl2+)))
(define-public tdlib
- (let ((commit "34ba9b21f365b8d3bdc36808c2d665ca5cd128f6"))
- (package
- (name "tdlib")
- (version "1.7.10")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/tdlib/td")
- (commit commit)))
- (sha256
- (base32 "06fbdh1jypz0p1rf6xbpias4kx7xplq9xjd9vz177vwj9icq3wki"))
- (file-name (git-file-name name version))))
- (build-system cmake-build-system)
- (arguments
- `(#:tests? #t
- #:configure-flags
- (list "-DCMAKE_BUILD_TYPE=Release"
- "-DTD_ENABLE_LTO=OFF") ; FIXME: Get LTO to work.
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'remove-failing-tests
- (lambda _
- (substitute* "test/CMakeLists.txt"
- ;; The test cases are compiled into a distinct binary
- ;; which uses mtproto.cpp to attempt to connect to
- ;; a remote server. Removing this file from the sources
- ;; list disables those specific test cases.
- (("\\$\\{CMAKE_CURRENT_SOURCE_DIR\\}/mtproto.cpp") ""))
- #t)))))
- (native-inputs
- (list gperf openssl zlib php doxygen))
- (synopsis "Cross-platform library for building Telegram clients")
- (description "Tdlib is a cross-platform library for creating custom
+ (package
+ (name "tdlib")
+ (version "1.8.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tdlib/td")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32 "19psqpyh9a2kzfdhgqkirpif4x8pzy89phvi59dq155y30a3661q"))
+ (file-name (git-file-name name version))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:tests? #t
+ #:configure-flags
+ (list "-DCMAKE_BUILD_TYPE=Release"
+ "-DTD_ENABLE_LTO=OFF") ; FIXME: Get LTO to work.
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'remove-failing-tests
+ (lambda _
+ (substitute* "test/CMakeLists.txt"
+ ;; The test cases are compiled into a distinct binary
+ ;; which uses mtproto.cpp to attempt to connect to
+ ;; a remote server. Removing this file from the sources
+ ;; list disables those specific test cases.
+ (("\\$\\{CMAKE_CURRENT_SOURCE_DIR\\}/mtproto.cpp") "")))))))
+ (native-inputs
+ (list gperf openssl zlib php doxygen))
+ (synopsis "Cross-platform library for building Telegram clients")
+ (description "Tdlib is a cross-platform library for creating custom
Telegram clients following the official Telegram API. It can be easily used
from almost any programming language with a C-FFI and features first-class
support for high performance Telegram Bot creation.")
- (home-page "https://core.telegram.org/tdlib")
- (license license:boost1.0))))
+ (home-page "https://core.telegram.org/tdlib")
+ (license license:boost1.0)))
(define-public purple-mm-sms
(package
diff --git a/gnu/packages/minetest.scm b/gnu/packages/minetest.scm
index f48addf247..c431942473 100644
--- a/gnu/packages/minetest.scm
+++ b/gnu/packages/minetest.scm
@@ -212,15 +212,15 @@ as swords and tools made of different materials. It also adds copper rails.")
(package
(name "minetest-basic-materials")
;; Upstream uses dates as version numbers.
- (version "2021-01-30")
+ (version "2021-12-26")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://gitlab.com/VanessaE/basic_materials.git")
- (commit "e72665b2ed98d7be115779a32d35e6d9ffa231bd")))
+ (url "https://github.com/mt-mods/basic_materials")
+ (commit "0893974b054a2191b5e2d5447ee4fc73f9c35f6a")))
(sha256
- (base32 "0v6l3lrjgshy4sccjhfhmfxc3gk0cdy73qb02i9wd2vw506v5asx"))
+ (base32 "0p4nnfsjv7284zmgr781zkyjbp049wp1jy1l7n585zzj181ns57p"))
(file-name (git-file-name name version))))
(build-system minetest-mod-build-system)
(propagated-inputs
@@ -299,15 +299,15 @@ special items, intending to make an interesting adventure.")
(name "minetest-homedecor-modpack")
;; Upstream doesn't tag releases, so use the release title from
;; ContentDB as version.
- (version "2021-03-27-1")
+ (version "2021-12-26")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://gitlab.com/VanessaE/homedecor_modpack")
- (commit "9ffe2b7d691133e1a067546574fbe7364fd02f32")))
+ (url "https://github.com/mt-mods/homedecor_modpack")
+ (commit "a8fceb249d63f081855cfba1fbd6e2aa86365224")))
(sha256
- (base32 "1lfajqvc2adf9hqskghky4arccqzpjw4i9a01hv4qcckvivm04ag"))
+ (base32 "1lqcycgkykd86853jjr50m1qv2as2dlqf52gbds4mhiafslnp9mi"))
(file-name (git-file-name name version))))
(build-system minetest-mod-build-system)
(propagated-inputs
@@ -389,15 +389,15 @@ closely as the engine allows.")
(name "minetest-mobs")
;; Upstream does not tag release, so use the ContentDB release
;; title instead.
- (version "2021-07-22")
+ (version "2021-12-12")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://notabug.org/TenPlus1/mobs_redo")
- (commit "9f46182bb4b1a390f9a140bc2b443f3cda702332")))
+ (commit "6a4a02f3fbf1038c69e72aaafa52a1e7d6106da8")))
(sha256
- (base32 "026kqjis4lipgskjivb3jh9ris3iz80vy2q1jvgxhxmfghjjzp4j"))
+ (base32 "0vgv7jpm9v3dwq4l9jxdd5z14yq164w8kin1d05jfv3ck4hwlwvr"))
(file-name (git-file-name name version))))
(build-system minetest-mod-build-system)
(home-page (minetest-topic 9917))
@@ -418,15 +418,15 @@ add some mobs, a mod like e.g. @code{mobs_animal} provided by the
(name "minetest-mobs-animal")
;; Upstream does not use version numbers, so use the release title
;; from ContentDB instead;
- (version "2021-07-24")
+ (version "2021-11-14")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://notabug.org/TenPlus1/mobs_animal")
- (commit "c2fa3e300c79c7dd80b6fe91a8b5082bb6b3d934")))
+ (commit "3e15456bce7779aa0dc09a8890f7b5180c1ac771")))
(sha256
- (base32 "1j719f079ia9vjxrmjrcj8s6jvaz5kgs1r4dh66z8ql6s70kx7vh"))
+ (base32 "08686mj3jh8fsziqp878jpaj5267s4n6i86dr1gnxyxbsrjraqpn"))
(file-name (git-file-name name version))))
(build-system minetest-mod-build-system)
(propagated-inputs
@@ -476,15 +476,15 @@ breakers simulate a player punching a node.")
(name "minetest-technic")
;; Upstream doesn't keep version numbers, so use the release
;; date on ContentDB instead.
- (version "2021-04-15")
+ (version "2021-09-11")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/minetest-mods/technic")
- (commit "1c219487d3f4dd03c01ff9aa1f298c7c18c7e189")))
+ (commit "140701c99efb60d81bf63c9a9087720b21c414ca")))
(sha256
- (base32 "1k9hdgzp7jnhsk6rgrlrv1lr5xrmh8ln4wv6r25v6f0fwbyj57sf"))
+ (base32 "1fkhcv8sg3kxfadc2jnfdw6bxxkkkcczsh4bf62rgwwmv2ky7zrx"))
(file-name (git-file-name name version))))
(build-system minetest-mod-build-system)
(propagated-inputs
@@ -618,15 +618,15 @@ for general colour handling.")
(name "minetest-unified-inventory")
;; Upstream doesn't keep version numbers, so use the release title
;; on ContentDB instead.
- (version "2021-03-25-1")
+ (version "2021-12-26")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/minetest-mods/unified_inventory")
- (commit "c044f5e3b08f0c68ab028d757b2fa63d9a1b0370")))
+ (commit "d6688872c84417d2f61d6f5e607aea39d78920aa")))
(sha256
- (base32 "198g945gzbfl0kps46gwjw0c601l3b3wvn4c7dw8manskri1jr4g"))
+ (base32 "1rlw96s2yyxdbz0h9byayyx9nsbqdr4ric91w0k3dkjr71aj8a3b"))
(file-name (git-file-name name version))))
(build-system minetest-mod-build-system)
(home-page (minetest-topic 12767))
diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm
index 69cddfceb1..e9d2934ca1 100644
--- a/gnu/packages/monitoring.scm
+++ b/gnu/packages/monitoring.scm
@@ -311,7 +311,7 @@ through a text-based interface.")
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(if tests?
- (invoke "python" "setup.py" "nosetests")
+ (invoke "nosetests")
(format #t "test suite not run~%")))))))
(native-inputs
;; For tests.
diff --git a/gnu/packages/moreutils.scm b/gnu/packages/moreutils.scm
index 8738418a21..aaa787c1d9 100644
--- a/gnu/packages/moreutils.scm
+++ b/gnu/packages/moreutils.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
;;; Copyright © 2016, 2017, 2019 Efraim Flashner <efraim@flashner.co.il>
-;;; Copyright © 2016–2018, 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2016–2018, 2020–2022 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -19,6 +19,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages moreutils)
+ #:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix l:)
#:use-module (guix packages)
#:use-module (guix download)
@@ -31,7 +32,7 @@
(define-public moreutils
(package
(name "moreutils")
- (version "0.66")
+ (version "0.67")
(source
(origin
(method url-fetch)
@@ -39,7 +40,7 @@
"https://git.joeyh.name/index.cgi/moreutils.git/snapshot/"
name "-" version ".tar.gz"))
(sha256
- (base32 "0k91dvqy3jb070bkmhkdxhi05fr7hqlwpv1nrx329wmgi80rw1yw"))))
+ (base32 "045d2dfvsd4sxxr2i2qvkpgvi912qj9vc4gpc8fb4hr9q912z1q3"))))
(build-system gnu-build-system)
;; For building the manual pages.
(native-inputs
@@ -47,22 +48,22 @@
(inputs
(list perl perl-timedate perl-time-duration))
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'install 'wrap-program
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out")))
- (wrap-program
- (string-append out "/bin/ts")
- `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB")))))))
- (delete 'configure)) ; no configure script
- #:make-flags
- (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
- (string-append "DOCBOOKXSL="
- (assoc-ref %build-inputs "docbook-xsl") "/xml/xsl/"
- ,(package-name docbook-xsl) "-"
- ,(package-version docbook-xsl))
- (string-append "CC=" ,(cc-for-target)))))
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'wrap-program
+ (lambda _
+ (wrap-program
+ (string-append #$output "/bin/ts")
+ `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB"))))))
+ (delete 'configure)) ; no configure script
+ #:make-flags
+ #~(list (string-append "PREFIX=" #$output)
+ (string-append "DOCBOOKXSL="
+ #$(this-package-native-input "docbook-xsl")
+ "/xml/xsl/docbook-xsl-"
+ #$(package-version (this-package-native-input
+ "docbook-xsl")))
+ (string-append "CC=" #$(cc-for-target)))))
(home-page "https://joeyh.name/code/moreutils/")
(synopsis "Miscellaneous general-purpose command-line tools")
(description
diff --git a/gnu/packages/mp3.scm b/gnu/packages/mp3.scm
index ef5db3ebd2..b95de712b0 100644
--- a/gnu/packages/mp3.scm
+++ b/gnu/packages/mp3.scm
@@ -585,15 +585,14 @@ command-line tool.")
(define-public chromaprint
(package
(name "chromaprint")
- (version "1.5.0")
+ (version "1.5.1")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/acoustid/chromaprint/releases/download/v"
version "/chromaprint-" version ".tar.gz"))
(sha256
- (base32
- "0sknmyl5254rc55bvkhfwpl4dfvz45xglk1rq8zq5crmwq058fjp"))))
+ (base32 "072y6c7ijkm6r674f6z089rbdazrmxzpdcsm6y6vf64b7gxdiam1"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f ; tests require googletest *sources*
diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm
index 16c42378fb..d1686f9afa 100644
--- a/gnu/packages/mpi.scm
+++ b/gnu/packages/mpi.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014, 2015, 2018, 2019 Eric Bavier <bavier@member.fsf.org>
-;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2014-2022 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
;;; Copyright © 2016 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2017 Dave Love <fx@gnu.org>
@@ -448,12 +448,12 @@ arrays) that expose a buffer interface.")
"1farz5zfx4cd0c3a0wb9pgfypzw0xxql1j1294z1sxslga1ziyjb"))))
(build-system gnu-build-system)
(inputs
- `(("zlib" ,zlib)
- ("hwloc" ,hwloc-2 "lib")
- ("slurm" ,slurm)
+ `(,zlib
+ (,hwloc-2 "lib")
+ ,slurm
,@(if (and (not (%current-target-system))
(member (%current-system) (package-supported-systems ucx)))
- `(("ucx" ,ucx))
+ (list ucx)
'())))
(native-inputs
(list perl which gfortran))
@@ -490,8 +490,7 @@ arrays) that expose a buffer interface.")
(substitute* (find-files "." "f77tof90")
(("/usr/bin/env") (which "env")))
(substitute* (find-files "." "\\.sh$")
- (("/bin/sh") (which "sh")))
- #t))
+ (("/bin/sh") (which "sh")))))
(add-before 'configure 'fix-makefile
(lambda _
;; Remove "@hwloclib@" from 'pmpi_convenience_libs'.
@@ -501,8 +500,30 @@ arrays) that expose a buffer interface.")
(("^pmpi_convenience_libs = (.*) @hwloclib@ (.*)$" _
before after)
(string-append "pmpi_convenience_libs = "
- before " " after)))
- #t)))))
+ before " " after)))))
+ (add-before 'configure 'define-gfortran-wrapper
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; 'configure' checks whether the Fortran compiler
+ ;; allows argument type mismatch. Since gfortran >= 10
+ ;; does not, provide a wrapper that passes
+ ;; '-fallow-argument-mismatch' to get the desired
+ ;; behavior.
+ (mkdir-p ".gfortran-wrapper/bin")
+ (call-with-output-file ".gfortran-wrapper/bin/gfortran"
+ (lambda (port)
+ (display (string-append "#!" (which "sh") "\n")
+ port)
+ (display
+ (string-append "exec \"" (which "gfortran")
+ "\" -fallow-argument-mismatch"
+ " \"$@\"\n")
+ port)
+ (chmod port #o755)))
+
+ (setenv "PATH"
+ (string-append (getcwd) "/"
+ ".gfortran-wrapper/bin:"
+ (getenv "PATH"))))))))
(home-page "https://www.mpich.org/")
(synopsis "Implementation of the Message Passing Interface (MPI)")
(description
diff --git a/gnu/packages/mtools.scm b/gnu/packages/mtools.scm
index f3539e5d27..6aafa1eb48 100644
--- a/gnu/packages/mtools.scm
+++ b/gnu/packages/mtools.scm
@@ -29,14 +29,14 @@
(define-public mtools
(package
(name "mtools")
- (version "4.0.36")
+ (version "4.0.37")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/mtools/mtools-"
version ".tar.bz2"))
(sha256
(base32
- "1x20a82wbg4ibnbs4c43kwk3zdvgzycq4flxcir9zfyzyanybh75"))
+ "0hl3zbj0lyx2m0fyydv0wcgpmyqfg4khp098jqjn2yz44dz1k6vr"))
(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 82a0e56947..43b1059304 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -4,13 +4,13 @@
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
;;; Copyright © 2016 Al McElrath <hello@yrns.org>
;;; Copyright © 2016, 2017, 2019, 2021 Efraim Flashner <efraim@flashner.co.il>
-;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
+;;; Copyright © 2016, 2018, 2021 Leo Famulari <leo@famulari.name>
;;; Copyright © 2016, 2017, 2019 Kei Kebreau <kkebreau@posteo.net>
;;; Copyright © 2016 John J. Foerch <jjfoerch@earthlink.net>
;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
;;; Copyright © 2017 nikita <nikita@n0.is>
;;; Copyright © 2017 Rodger Fox <thylakoid@openmailbox.org>
-;;; Copyright © 2017, 2018, 2019, 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
+;;; Copyright © 2017–2022 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2017, 2018, 2019, 2021 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr>
@@ -28,9 +28,9 @@
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2020 Lars-Dominik Braun <lars@6xq.net>
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
-;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
+;;; Copyright © 2020, 2022 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org>
-;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2020, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2019 Riku Viitanen <riku.viitanen0@gmail.com>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
;;; Copyright © 2021 Liliana Marie Prikler <liliana.prikler@gmail.com>
@@ -40,7 +40,7 @@
;;; Copyright © 2021 Frank Pursel <frank.pursel@gmail.com>
;;; Copyright © 2021 Rovanion Luckey <rovanion.luckey@gmail.com>
;;; Copyright © 2021 Justin Veilleux <terramorpha@cock.li>
-;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
+;;; Copyright © 2021, 2022 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2021 Simon Streit <simon@netpanic.org>
;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
;;; Copyright © 2021 Thomas Albers Raviola <thomas@thomaslabs.org>
@@ -61,6 +61,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages music)
+ #:use-module (guix gexp)
#:use-module (guix utils)
#:use-module (guix packages)
#:use-module (guix download)
@@ -120,6 +121,7 @@
#:use-module (gnu packages gl)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
+ #:use-module (gnu packages gnunet)
#:use-module (gnu packages gpodder)
#:use-module (gnu packages graphics)
#:use-module (gnu packages graphviz)
@@ -131,6 +133,7 @@
#:use-module (gnu packages imagemagick)
#:use-module (gnu packages java)
#:use-module (gnu packages libffi)
+ #:use-module (gnu packages libevent)
#:use-module (gnu packages libusb)
#:use-module (gnu packages linux) ; for alsa-utils
#:use-module (gnu packages lirc)
@@ -143,6 +146,7 @@
#:use-module (gnu packages pcre)
#:use-module (gnu packages pdf)
#:use-module (gnu packages perl)
+ #:use-module (gnu packages perl-check)
#:use-module (gnu packages perl-web)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages protobuf)
@@ -465,7 +469,7 @@ playing your music.")
(define-public strawberry
(package
(name "strawberry")
- (version "0.9.3")
+ (version "1.0.1")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -474,7 +478,7 @@ playing your music.")
(file-name (git-file-name name version))
(sha256
(base32
- "0lby5zi66i08s0mcygja8l3rbd97inhaxqbhahj8lfxs52r4grrq"))
+ "077dlj0kjcrj4g1h4w8finzykizaar67ik6yng6c8zjp2i5bam1j"))
(modules '((guix build utils)
(ice-9 regex)))
(snippet
@@ -730,7 +734,7 @@ settings (aliasing, linear interpolation and cubic interpolation).")
(define-public hydrogen
(package
(name "hydrogen")
- (version "1.0.2")
+ (version "1.1.1")
(source
(origin
(method git-fetch)
@@ -739,7 +743,7 @@ settings (aliasing, linear interpolation and cubic interpolation).")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0nhn2njs8yyxcijxv5zgymf3211y6anzm0v9kn4vnd8kai7zwxxp"))))
+ (base32 "12mwkglyz88hwb16fb3fahn95janim2mrvnxkzp8pcsw3wybi3dn"))))
(build-system cmake-build-system)
(arguments
`(#:test-target "tests"
@@ -1560,26 +1564,35 @@ listeners answer questions about music quickly and simply.")
(arguments
`(#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'loosen-requirements
+ (lambda _
+ (substitute* "setup.py"
+ ;; Permit newer versions of uqbar. Remove for >3.4.
+ ((", <0\\.5\\.0")
+ ""))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
;; See: https://stackoverflow.com/a/34140498
- (invoke "python" "-m" "pytest" "tests")
- #t))))))
- (native-inputs
- (list python-black
+ (invoke "python" "-m" "pytest" "tests")))))))
+ (inputs
+ (list lilypond))
+ (propagated-inputs
+ (list python-ply
+ python-quicktions
+ python-roman
+ python-six
+ python-uqbar
+ ;; XXX: These test dependencies(?) are listed as install_requires
+ ;; in setup.py. Propagate accordingly.
+ python-black
python-flake8
- python-iniconfig
python-isort
python-mypy
python-pytest
python-pytest-cov
+ python-pytest-helpers-namespace
python-sphinx-autodoc-typehints))
- (inputs
- (list lilypond))
- (propagated-inputs
- (list python-ply python-quicktions python-roman python-six
- python-uqbar))
(home-page "https://abjad.github.io")
(synopsis "Python API for building LilyPond files")
(description
@@ -1698,6 +1711,12 @@ music theorist Paul Nauert's quantization grids or Q-Grids, for short.")
`(#:tests? #f
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'loosen-requirements
+ (lambda _
+ (substitute* "setup.py"
+ ;; Don't require a specific version of abjad.
+ (("abjad==")
+ "abjad>="))))
(replace 'check
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
(when tests?
@@ -2142,15 +2161,7 @@ Editor. It is compatible with Power Tab Editor 1.7 and Guitar Pro.")
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "jalv.select.cpp"
(("echo \\$PATH.*tr ':'.*xargs ls")
- (string-append "ls -1 " (assoc-ref inputs "jalv") "/bin")))
- #t))
- (add-before 'reset-gzip-timestamps 'make-manpages-writable
- (lambda* (#:key outputs #:allow-other-keys)
- (for-each make-file-writable
- (find-files (string-append (assoc-ref outputs "out")
- "/share/man")
- ".*\\.gz$"))
- #t)))))
+ (string-append "ls -1 " (assoc-ref inputs "jalv") "/bin"))))))))
(inputs
(list lilv lv2 jalv gtkmm-2))
(native-inputs
@@ -2271,7 +2282,7 @@ perform creative live mixes with digital music files.")
(define-public synthv1
(package
(name "synthv1")
- (version "0.9.23")
+ (version "0.9.24")
(source (origin
(method url-fetch)
(uri
@@ -2279,8 +2290,8 @@ perform creative live mixes with digital music files.")
"/synthv1-" version ".tar.gz"))
(sha256
(base32
- "03lvq84pg0agdn16i7ng6j7lp1ii3inf4pzjypnkywb2km7zcpni"))))
- (build-system gnu-build-system)
+ "0m9xpl7kq0zlain8598q5cqrh1c7ima2w8jrpq7ds8vh97r7p1bl"))))
+ (build-system cmake-build-system)
(arguments
`(#:tests? #f)) ; there are no tests
(inputs
@@ -2302,7 +2313,7 @@ oscillators and stereo effects.")
(define-public drumkv1
(package
(name "drumkv1")
- (version "0.9.23")
+ (version "0.9.24")
(source (origin
(method url-fetch)
(uri
@@ -2310,8 +2321,8 @@ oscillators and stereo effects.")
"/drumkv1-" version ".tar.gz"))
(sha256
(base32
- "1jgsml9wxzwnqyb6wjn9zk94qvxs6c898hyj10sza4d9l6r1rnw0"))))
- (build-system gnu-build-system)
+ "04k0mkvlz9ka0mlck4g7c86s1rhb9pkhml6j6n9b5hwlbq8a9mxk"))))
+ (build-system cmake-build-system)
(arguments
`(#:tests? #f)) ; there are no tests
(inputs
@@ -2334,7 +2345,7 @@ effects.")
(define-public samplv1
(package
(name "samplv1")
- (version "0.9.23")
+ (version "0.9.24")
(source (origin
(method url-fetch)
(uri
@@ -2342,8 +2353,8 @@ effects.")
"/samplv1-" version ".tar.gz"))
(sha256
(base32
- "1bgyz530mpmlabvy592zickrzk4x4rm2i0ixf3z6plgn265km43q"))))
- (build-system gnu-build-system)
+ "1c3ksd02dfqvzc3zk4x282b6gxr1l4ya9c4l04dcn55mrymgn2zz"))))
+ (build-system cmake-build-system)
(arguments
`(#:tests? #f)) ; there are no tests
(inputs
@@ -2366,7 +2377,7 @@ effects.")
(define-public padthv1
(package
(name "padthv1")
- (version "0.9.23")
+ (version "0.9.24")
(source (origin
(method url-fetch)
(uri
@@ -2374,8 +2385,8 @@ effects.")
"/padthv1-" version ".tar.gz"))
(sha256
(base32
- "0222n74kykirkhq4va09hr37rybxs0nxjbmamp38jf94bfz5y8gp"))))
- (build-system gnu-build-system)
+ "0p3qp2lzhmj8i17bcqzsi0782nz7s90hx3s8vax6bxl4mqxsvnxb"))))
+ (build-system cmake-build-system)
(arguments
`(#:tests? #f)) ; there are no tests
(inputs
@@ -2399,7 +2410,7 @@ special variant of additive synthesis.")
(define-public amsynth
(package
(name "amsynth")
- (version "1.12.2")
+ (version "1.12.4")
(source
(origin
(method url-fetch)
@@ -2407,21 +2418,19 @@ special variant of additive synthesis.")
"download/release-" version
"/amsynth-" version ".tar.gz"))
(sha256
- (base32
- "0lhp7fymm2fids02y43cy422jzmdiraszll1mk3gzlbfwg33ds1i"))))
+ (base32 "1fabxx4nv5rsi4kjqachzh2r6zb40lszbv09gcz41ql8qslrw842"))))
(build-system gnu-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-file-names
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "src/GUI/editor_pane.c"
- (("/usr/bin/unzip")
- (string-append (assoc-ref inputs "unzip") "/bin/unzip")))
- (substitute* "src/GUI/MainMenu.cpp"
- (("/usr/bin/which")
- (string-append (assoc-ref inputs "which") "/bin/which")))
- #t)))))
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-file-names
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "src/GUI/editor_pane.c"
+ (("/usr/bin/unzip")
+ (search-input-file inputs "bin/unzip")))
+ (substitute* "src/GUI/MainMenu.cpp"
+ (("/usr/bin/which")
+ (search-input-file inputs "bin/which"))))))))
(inputs
(list alsa-lib
gtk+-2
@@ -3318,15 +3327,15 @@ from the command line.")
(define-public qtractor
(package
(name "qtractor")
- (version "0.9.24")
+ (version "0.9.25")
(source (origin
(method url-fetch)
(uri (string-append "https://downloads.sourceforge.net/qtractor/"
"qtractor-" version ".tar.gz"))
(sha256
(base32
- "0bkr3ahpz54ssrvgkg3dw1jxp3hh7ayxr51jy3csm327is9gnd31"))))
- (build-system gnu-build-system)
+ "0x99yjabznr2pl867j3h9zdsjzkxzxm2c0xk1xwk50gfp8gwg9bh"))))
+ (build-system cmake-build-system)
(arguments
`(#:tests? #f)) ; no "check" target
(inputs
@@ -3871,8 +3880,17 @@ your music.")
(build-system python-build-system)
(arguments '(#:tests? #f)) ; there are no tests
(propagated-inputs
- (list beets python-isodate python-beautifulsoup4 python-requests
- python-six))
+ (list beets
+ python-beautifulsoup4
+ python-confuse
+ python-isodate
+ python-jellyfish
+ python-mediafile
+ python-munkres
+ python-musicbrainzngs
+ python-requests
+ python-six
+ python-unidecode))
(home-page "https://github.com/unrblt/beets-bandcamp")
(synopsis "Bandcamp plugin for beets")
(description
@@ -4721,16 +4739,7 @@ are a C compiler and glib. Full API documentation and examples are included.")
(assoc-ref outputs "out") "/lib/lmms"
":"
(assoc-ref outputs "out") "/lib/lmms/ladspa"
- "\""))
- #t))
- (add-before 'reset-gzip-timestamps 'make-manpages-writable
- (lambda* (#:key outputs #:allow-other-keys)
- (map (lambda (file)
- (make-file-writable file))
- (find-files (string-append (assoc-ref outputs "out")
- "/share/man")
- ".*\\.gz$"))
- #t)))))
+ "\"")))))))
(native-inputs
`(("pkg-config" ,pkg-config)
("qttools" ,qttools)
@@ -4793,7 +4802,7 @@ audio samples and various soft sythesizers. It can receive input from a MIDI ke
`(("jack" ,jack-2)
("lv2" ,lv2)
("readline" ,readline)
- ("libsndfile" ,libsndfile/fixed)))
+ ("libsndfile" ,libsndfile)))
(home-page "https://github.com/swesterfeld/liquidsfz")
(synopsis "Sampler library")
(description "The main goal of liquidsfz is to provide an SFZ sampler
@@ -4867,8 +4876,7 @@ includes LV2 plugins and a JACK standalone client.")
'("thirdparty/freetype"
"thirdparty/openssl"
"thirdparty/portmidi"
- "thirdparty/qt-google-analytics"))
- #t))))
+ "thirdparty/qt-google-analytics"))))))
(build-system qt-build-system)
(arguments
`(#:configure-flags
@@ -4887,24 +4895,24 @@ includes LV2 plugins and a JACK standalone client.")
;; So we simply skip them.
#:tests? #f))
(inputs
- `(("alsa-lib" ,alsa-lib)
- ("freetype" ,freetype)
- ("gtk+-bin" ,gtk+ "bin") ;for gtk-update-icon-cache
- ("jack" ,jack-1)
- ("lame" ,lame)
- ("libogg" ,libogg)
- ("libsndfile" ,libsndfile)
- ("libvorbis" ,libvorbis)
- ("portaudio" ,portaudio)
- ("portmidi" ,portmidi)
- ("pulseaudio" ,pulseaudio)
- ("qtbase" ,qtbase-5)
- ("qtdeclarative" ,qtdeclarative)
- ("qtgraphicaleffects" ,qtgraphicaleffects)
- ("qtquickcontrols2" ,qtquickcontrols2)
- ("qtscript" ,qtscript)
- ("qtsvg" ,qtsvg)
- ("qtxmlpatterns" ,qtxmlpatterns)))
+ (list alsa-lib
+ freetype
+ `(,gtk+ "bin") ;for gtk-update-icon-cache
+ jack-1
+ lame
+ libogg
+ libsndfile
+ libvorbis
+ portaudio
+ portmidi
+ pulseaudio
+ qtbase-5
+ qtdeclarative
+ qtgraphicaleffects
+ qtquickcontrols2
+ qtscript
+ qtsvg
+ qtxmlpatterns))
(native-inputs
(list pkg-config qttools))
(synopsis "Music composition and notation software")
@@ -4992,16 +5000,16 @@ studio.")
(define-public gsequencer
(package
(name "gsequencer")
- (version "3.10.18")
+ (version "3.14.5")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://git.savannah.gnu.org/git/gsequencer.git/")
+ (url "https://git.savannah.gnu.org/git/gsequencer")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "126kbvdkxy82mmkl19qhp9k6iz5xclar06chbj7lf580x96c899c"))))
+ (base32 "18pfv4w30nng1p0vgmrnkfm38522iq1x1bj8iz4qfiffiv56dsnz"))))
(build-system glib-or-gtk-build-system)
(arguments
`(#:phases
@@ -5011,34 +5019,34 @@ studio.")
(system "Xvfb &")
(setenv "DISPLAY" ":0"))))))
(native-inputs
- `(("autoconf" ,autoconf)
- ("automake" ,automake)
- ("cunit" ,cunit)
- ("gettext" ,gettext-minimal)
- ("gobject-introspection" ,gobject-introspection)
- ("gtk-doc" ,gtk-doc)
- ("libtool" ,libtool)
- ("libxslt" ,libxslt)
- ("pkg-config" ,pkg-config)
- ("xorg-server" ,xorg-server-for-tests)))
+ (list autoconf
+ automake
+ cunit
+ gettext-minimal
+ gobject-introspection
+ gtk-doc
+ libtool
+ libxslt
+ pkg-config
+ xorg-server-for-tests))
(inputs
- `(("alsa-lib" ,alsa-lib)
- ("dssi" ,dssi)
- ("fftw" ,fftw)
- ("gst-plugins-base" ,gst-plugins-base)
- ("gstreamer" ,gstreamer)
- ("gtk+" ,gtk+)
- ("jack" ,jack-1)
- ("ladspa" ,ladspa)
- ("libinstpatch" ,libinstpatch)
- ("libsamplerate" ,libsamplerate)
- ("libsndfile" ,libsndfile)
- ("libsoup" ,libsoup)
- ("libuuid" ,util-linux "lib")
- ("libxml2" ,libxml2)
- ("lv2" ,lv2)
- ("pulseaudio" ,pulseaudio)
- ("webkitgtk" ,webkitgtk)))
+ (list alsa-lib
+ dssi
+ fftw
+ gst-plugins-base
+ gstreamer
+ gtk+
+ jack-1
+ ladspa
+ libinstpatch
+ libsamplerate
+ libsndfile
+ libsoup-minimal-2
+ libxml2
+ lv2
+ pulseaudio
+ `(,util-linux "lib")
+ webkitgtk-with-libsoup2))
(home-page "https://nongnu.org/gsequencer/")
(synopsis "Advanced Gtk+ Sequencer")
(description
@@ -6255,12 +6263,6 @@ MIDI drums and comes as two separate drumkits: Black Pearl and Red Zeppelin.")
(substitute* "Makefile"
(("/usr") ""))
#t))
- (add-before 'reset-gzip-timestamps 'make-gz-files-writable
- (lambda* (#:key outputs #:allow-other-keys)
- (for-each make-file-writable
- (find-files (string-append (assoc-ref outputs "out"))
- ".*\\.gz$"))
- #t))
(delete 'configure))))
(inputs
`(("alsa-lib" ,alsa-lib)
@@ -6776,3 +6778,98 @@ It is provided as an LV2 plugin and as a standalone Jack application.")
midi devices to JACK midi devices.")
(home-page "https://github.com/jackaudio/a2jmidid")
(license license:gpl2)))
+
+(define-public opustags
+ (package
+ (name "opustags")
+ (version "1.6.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/fmang/opustags")
+ (commit version)))
+ (sha256
+ (base32 "1wsfw713rhi2gg5xc04cx5i31hlw0l3wdflj3r1y8w45bdk6ag1z"))
+ (file-name (git-file-name name version))))
+ (arguments
+ (list
+ #:test-target "check"
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; This package does not use the perl-build-system, so we have to
+ ;; manually set up the Perl environment used by the test suite.
+ (add-before 'check 'setup-perl-environment
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let* ((perl-list-moreutils-lib
+ (string-append #$(this-package-native-input "perl-list-moreutils")
+ "/lib/perl5/site_perl/"
+ #$(package-version perl)))
+ (perl-exporter-tiny-lib
+ (string-append #$(this-package-native-input "perl-exporter-tiny")
+ "/lib/perl5/site_perl/"
+ #$(package-version perl))))
+ (setenv "PERL5LIB" (string-append perl-list-moreutils-lib ":"
+ perl-exporter-tiny-lib))))))))
+ (build-system cmake-build-system)
+ (inputs
+ (list libogg))
+ (native-inputs
+ (list pkg-config
+ ffmpeg
+ perl-exporter-tiny
+ perl-list-moreutils
+ perl-test-harness))
+ (synopsis "Ogg Opus tags editor")
+ (description "@code{opustags} is an Ogg Opus tag editor. It reads and edits
+the comment header of an Ogg Opus audio file, offering both read-only and
+editing modes. Tags can be edited interactively with an editor of your
+choice.")
+ (home-page "https://github.com/fmang/opustags")
+ (license license:bsd-3)))
+
+(define-public musikcube
+ (package
+ (name "musikcube")
+ (version "0.96.10")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/clangen/musikcube/")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "06myr83x8jvzlzchg3jsw1163n2lcsbmb176zgnx7xxa26jpdbh1"))))
+ (build-system cmake-build-system)
+ (arguments
+ '(#:tests? #f ; No test suite
+ #:configure-flags
+ '("-DCMAKE_BUILD_TYPE=Release"
+ "-DENABLE_BUNDLED_TAGLIB=false"
+ ;; Use the "wide" ncurses headers but don't look for them in an
+ ;; ncursesw directory. For more info:
+ ;; https://github.com/clangen/musikcube/wiki/building#compiler-cannot-find-ncurseswcursesh
+ "-DNO_NCURSESW=true"
+ ;; We will strip the binaries ourselves in the 'strip' phase.
+ "-DDISABLE_STRIP=true")))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list alsa-lib
+ boost
+ curl
+ ffmpeg
+ lame
+ libev
+ libmicrohttpd
+ libopenmpt
+ ncurses
+ openssl
+ pulseaudio
+ taglib
+ zlib))
+ (synopsis "Terminal-based music player, library, and streaming audio server")
+ (description "Musikcube is a terminal-based music player, library, and
+streaming audio server.")
+ (home-page "https://musikcube.com/")
+ (license license:bsd-3)))
diff --git a/gnu/packages/myrddin.scm b/gnu/packages/myrddin.scm
new file mode 100644
index 0000000000..897276f57d
--- /dev/null
+++ b/gnu/packages/myrddin.scm
@@ -0,0 +1,65 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2021 Guix Together <jgart@dismail.de>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages myrddin)
+ #:use-module (guix build-system gnu)
+ #:use-module (guix utils)
+ #:use-module (guix download)
+ #:use-module (guix gexp)
+ #:use-module (guix git-download)
+ #:use-module (gnu packages bison)
+ #:use-module (gnu packages pkg-config)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix packages))
+
+(define-public myrddin
+ (package
+ (name "myrddin")
+ (version "0.3.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/oridb/mc")
+ (commit (string-append "r" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0acqqz74ypmjvi1yqz7g1ymyk3mmkzwqgmdd3s7s287bdy4a72gc"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list #:make-flags
+ #~(list (string-append "CC=" #$(cc-for-target))
+ (string-append "PREFIX=" #$output))
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'build
+ (lambda* (#:key make-flags #:allow-other-keys)
+ (apply invoke "make" "bootstrap" make-flags)
+ (apply invoke "make" make-flags))))))
+ (native-inputs
+ (list bison pkg-config))
+ (home-page "https://myrlang.org")
+ (synopsis "Compiler and tools for the Myrddin programming language")
+ (description
+ "Myrddin is a programming language. It features strong type checking,
+generics, type inference, closures, and traits. It aims for C like low level
+control. This combination makes Myrddin suitable for anything ranging from
+desktop applications, to embedded systems and potentially even kernel
+development.")
+ (license license:expat)))
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 1eb6bffcb6..760b23f977 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -23,10 +23,10 @@
;;; Copyright © 2018, 2019 Tonton <tonton@riseup.net>
;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
;;; Copyright © 2018 Theodoros Foradis <theodoros@foradis.org>
-;;; Copyright © 2018, 2020, 2021 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2018, 2020-2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2018, 2020, 2021 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
-;;; Copyright © 2019, 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2019, 2020, 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2019 Vasile Dumitrascu <va511e@yahoo.com>
;;; Copyright © 2019 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2019 Timotej Lazar <timotej.lazar@araneo.si>
@@ -67,6 +67,7 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix build-system cmake)
#:use-module (guix build-system glib-or-gtk)
@@ -127,6 +128,7 @@
#:use-module (gnu packages pretty-print)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages qt)
@@ -179,7 +181,7 @@ runs on top of IP or UDP, and supports both v4 and v6 versions.")
(define-public axel
(package
(name "axel")
- (version "2.17.10")
+ (version "2.17.11")
(source
(origin
(method url-fetch)
@@ -187,7 +189,7 @@ runs on top of IP or UDP, and supports both v4 and v6 versions.")
"releases/download/v" version "/"
"axel-" version ".tar.xz"))
(sha256
- (base32 "0kmlqk04sgkshsll4r9w3k0rvrgz0gpk987618r50khwl484zss6"))))
+ (base32 "1yfcsi0zv07bvhj8klgna3y1ycc4jhaija1b3rzzv0i4d4c2q2sq"))))
(build-system gnu-build-system)
(native-inputs
(list gettext-minimal pkg-config))
@@ -909,6 +911,42 @@ addresses used in the wired Ethernet networks. This daemon can also be
useful for making transparent firewalls.")
(license license:gpl2)))
+(define-public pproxy
+ (package
+ (name "pproxy")
+ (version "2.7.8")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "pproxy" version))
+ (sha256
+ (base32
+ "1j4nv72i77i2j5nl9ymzpk4m98qih3naihfrqjghrc9b7g0krdzs"))))
+ (build-system python-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion "tests"
+ (for-each (lambda (file)
+ (invoke "python" file))
+ ;; XXX: The api_ tests require network access
+ ;; so we only run the cipher tests for now.
+ (find-files "." "^cipher_.*\\.py$")))))))))
+ (inputs
+ (list python-asyncssh
+ python-daemon
+ python-pycryptodome
+ python-uvloop))
+ (home-page "https://github.com/qwj/python-proxy")
+ (synopsis "Multi-protocol network proxy")
+ (description
+ "@command{pproxy} is an asynchronuous proxy server implemented with
+Python 3 @code{asyncio}. Among the supported protocols are HTTP, SOCKS
+and SSH, and it can use both TCP and UDP as transport mechanisms.")
+ (license license:expat)))
+
(define-public socat
(package
(name "socat")
@@ -1439,7 +1477,7 @@ and up to 1 Mbit/s downstream.")
(define-public whois
(package
(name "whois")
- (version "5.5.10")
+ (version "5.5.11")
(source
(origin
(method git-fetch)
@@ -1448,7 +1486,7 @@ and up to 1 Mbit/s downstream.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "179hgmh9yqk8jq26ybik4cr3lgryd5p6kdwccc3r7mfssk3yp8lz"))))
+ (base32 "0wys0aixzq6mzvg7p6jb0d5rkkg23pjcgcsx86p7hjidxdvnbwzr"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; no test suite
@@ -1484,14 +1522,14 @@ of the same name.")
(define-public wireshark
(package
(name "wireshark")
- (version "3.6.0")
+ (version "3.6.1")
(source
(origin
(method url-fetch)
(uri (string-append "https://www.wireshark.org/download/src/wireshark-"
version ".tar.xz"))
(sha256
- (base32 "01nzzqig1z7ix4xb7ycs7wq3qqwq3ipdwp7rznynzmmibgyggj4w"))))
+ (base32 "0f2sjbbwmmz9zr8vphxy0panfji5vv8vazm688mqxy3bzflfsd04"))))
(build-system cmake-build-system)
(arguments
`(#:phases
@@ -1518,37 +1556,37 @@ of the same name.")
;; For now, we disable this phase.
#:validate-runpath? #f))
(inputs
- `(("c-ares" ,c-ares)
- ("glib" ,glib)
- ("gnutls" ,gnutls)
- ("brotli" ,brotli)
- ("libcap" ,libcap)
- ("libgcrypt" ,libgcrypt)
- ("libnl" ,libnl)
- ("libpcap" ,libpcap)
- ("libssh" ,libssh)
- ("libxml2" ,libxml2)
- ("lz4" ,lz4)
- ("lua" ,lua-5.2) ;Lua 5.3 unsupported
- ("krb5" ,mit-krb5)
- ("nghttp2:lib" ,nghttp2 "lib")
- ("minizip" ,minizip)
- ("qtbase" ,qtbase-5)
- ("qtmultimedia" ,qtmultimedia)
- ("qtsvg" ,qtsvg)
- ("sbc" ,sbc)
- ("snappy" ,snappy)
- ("zlib" ,zlib)
- ("zstd:lib" ,zstd "lib")))
+ (list c-ares
+ glib
+ gnutls
+ brotli
+ libcap
+ libgcrypt
+ libnl
+ libpcap
+ libssh
+ libxml2
+ lz4
+ lua-5.2 ;Lua 5.3 unsupported
+ mit-krb5
+ `(,nghttp2 "lib")
+ minizip
+ qtbase-5
+ qtmultimedia
+ qtsvg
+ sbc
+ snappy
+ zlib
+ `(,zstd "lib")))
(native-inputs
- `(("bison" ,bison)
- ("doxygen" ,doxygen)
- ("flex" ,flex)
- ("gettext" ,gettext-minimal)
- ("perl" ,perl)
- ("pkg-config" ,pkg-config)
- ("python" ,python-wrapper)
- ("qttools" ,qttools)))
+ (list bison
+ doxygen
+ flex
+ gettext-minimal
+ perl
+ pkg-config
+ python-wrapper
+ qttools))
(synopsis "Network traffic analyzer")
(description "Wireshark is a network protocol analyzer, or @dfn{packet
sniffer}, that lets you capture and interactively browse the contents of
@@ -2620,7 +2658,10 @@ speedtest.net.")
(base32
"12vidchglhyc20znq5wdsbhi9mqg90jnl7qr9qs8hbvaz4fkdvmg"))))
(build-system gnu-build-system)
- (arguments `(#:tests? #f)) ; no test target
+ (arguments
+ (list #:tests? #f ; no test target
+ #:configure-flags
+ #~(list "CFLAGS=-fcommon"))) ; XXX fix 5.2 build with GCC 10
(synopsis "HPA's tftp client")
(description
"This is a tftp client derived from OpenBSD tftp with some extra options
@@ -2824,14 +2865,14 @@ can be whipped up with little effort.")
(define-public mtr
(package
(name "mtr")
- (version "0.94")
+ (version "0.95")
(source
(origin
(method url-fetch)
(uri (string-append "ftp://ftp.bitwizard.nl/mtr/"
"mtr-" version ".tar.gz"))
(sha256
- (base32 "1glxvlqskcmjkxlqk9i12hcfaxb389cx2n8ji7776gmix3aq4z1z"))))
+ (base32 "0haanralbvd12pvkyihgkmx9ld74dnzm1s7mzparfandl416ibff"))))
(build-system gnu-build-system)
(inputs
(list libcap ncurses))
@@ -3357,11 +3398,14 @@ and targeted primarily for asynchronous processing of HTTP-requests.")
(license license:bsd-3)))
(define-public opendht
- (let ((commit "6c58d4f2e9b7f1de15db8d3a736c8cf1ea5f2886")
- (revision "1"))
+ ;; The version/commit is kept in sync with what Jami uses in its daemon
+ ;; contrib build system (see:
+ ;; https://review.jami.net/plugins/gitiles/jami-daemon/+/refs/heads/master/contrib/src/opendht/rules.mak).
+ (let ((commit "dbbfdaab0f4119abf79646313e0dbc52881dcd56")
+ (revision "0"))
(package
(name "opendht")
- (version (git-version "2.3.0" revision commit))
+ (version (git-version "2.3.1" revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
@@ -3370,21 +3414,65 @@ and targeted primarily for asynchronous processing of HTTP-requests.")
(file-name (git-file-name name version))
(sha256
(base32
- "06l0z1dmxyjh8gdrmxyq4vnfnv3x400bhx0lxm7l90f8zc5r2bim"))))
- ;; Since 2.0, the gnu-build-system does not seem to work anymore, upstream bug?
+ "07x8vw999qpfl6qwj5k5l2mcjy1vp32sd567f6imbsnh9vlx2bdv"))))
(outputs '("out" "tools" "debug"))
- (build-system cmake-build-system)
- (inputs
- (list argon2
- nettle
- readline
- jsoncpp
- openssl ;required for the DHT proxy
- fmt))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:imported-modules `((guix build python-build-system) ;for site-packages
+ ,@%gnu-build-system-modules)
+ #:modules '(((guix build python-build-system) #:prefix python:)
+ (guix build gnu-build-system)
+ (guix build utils))
+ #:tests? #f ;tests require networking
+ #:configure-flags
+ #~(list "--enable-tests"
+ "--enable-proxy-server"
+ "--enable-push-notifications"
+ "--enable-proxy-server-identity"
+ "--enable-proxy-client")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-python-installation-prefix
+ ;; Specify the installation prefix for the compiled Python module
+ ;; that would otherwise attempt to installs itself to Python's own
+ ;; site-packages directory.
+ (lambda _
+ (substitute* "python/Makefile.am"
+ (("--root=\\$\\(DESTDIR)/")
+ (string-append "--root=/ --single-version-externally-managed "
+ "--prefix=" #$output)))))
+ (add-after 'unpack 'specify-runpath-for-python-module
+ (lambda _
+ (substitute* "python/setup.py.in"
+ (("extra_link_args=\\[(.*)\\]" _ args)
+ (string-append "extra_link_args=[" args
+ ", '-Wl,-rpath=" #$output "/lib']")))))
+ (add-after 'install 'move-and-wrap-tools
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let* ((tools (assoc-ref outputs "tools"))
+ (dhtcluster (string-append tools "/bin/dhtcluster"))
+ (site-packages (python:site-packages inputs outputs)))
+ (mkdir tools)
+ (rename-file (string-append #$output "/bin")
+ (string-append tools "/bin"))
+ ;; TODO: Contribute a patch to python/Makefile.am to
+ ;; automate this.
+ (copy-file "python/tools/dhtcluster.py" dhtcluster)
+ (chmod dhtcluster #o555)
+ (wrap-program dhtcluster
+ `("GUIX_PYTHONPATH" prefix (,site-packages)))))))))
+ (inputs (list bash-minimal fmt readline))
(propagated-inputs
- (list gnutls ;included in opendht/crypto.h
- msgpack ;included in several installed headers
- restinio)) ;included in opendht/http.h
+ (list msgpack ;included in several installed headers
+ restinio ;included in opendht/http.h
+ ;; The following are listed in the 'Requires.private' field of
+ ;; opendht.pc:
+ argon2
+ gnutls
+ jsoncpp
+ nettle
+ openssl)) ;required for the DHT proxy
(native-inputs
(list autoconf
automake
@@ -3393,50 +3481,6 @@ and targeted primarily for asynchronous processing of HTTP-requests.")
python-cython
libtool
cppunit))
- (arguments
- `(#:imported-modules ((guix build python-build-system) ;for site-packages
- ,@%cmake-build-system-modules)
- #:modules (((guix build python-build-system) #:prefix python:)
- (guix build cmake-build-system)
- (guix build utils))
- #:tests? #f ; Tests require network connection.
- #:configure-flags
- '( ;;"-DOPENDHT_TESTS=on"
- "-DOPENDHT_STATIC=off"
- "-DOPENDHT_TOOLS=on"
- "-DOPENDHT_PYTHON=on"
- "-DOPENDHT_PROXY_SERVER=on"
- "-DOPENDHT_PUSH_NOTIFICATIONS=on"
- "-DOPENDHT_PROXY_SERVER_IDENTITY=on"
- "-DOPENDHT_PROXY_CLIENT=on")
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-python-installation-prefix
- ;; Specify the installation prefix for the compiled Python module
- ;; that would otherwise attempt to installs itself to Python's own
- ;; site-packages directory.
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (substitute* "python/CMakeLists.txt"
- (("--root=\\\\\\$ENV\\{DESTDIR\\}")
- (string-append "--root=/ --single-version-externally-managed "
- "--prefix=${CMAKE_INSTALL_PREFIX}")))))
- (add-after 'unpack 'specify-runpath-for-python-module
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (substitute* "python/setup.py.in"
- (("extra_link_args=\\[(.*)\\]" _ args)
- (string-append "extra_link_args=[" args
- ", '-Wl,-rpath=" out "/lib']"))))))
- (add-after 'install 'move-and-wrap-tools
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out"))
- (tools (assoc-ref outputs "tools"))
- (site-packages (python:site-packages inputs outputs)))
- (mkdir tools)
- (rename-file (string-append out "/bin")
- (string-append tools "/bin"))
- (wrap-program (string-append tools "/bin/dhtcluster")
- `("GUIX_PYTHONPATH" prefix (,site-packages)))))))))
(home-page "https://github.com/savoirfairelinux/opendht/")
(synopsis "Lightweight Distributed Hash Table (DHT) library")
(description "OpenDHT provides an easy to use distributed in-memory data
@@ -3484,7 +3528,7 @@ A very simple IM client working over the DHT.
(home-page "https://frrouting.org/")
(synopsis "IP routing protocol suite")
(description "FRRouting (FRR) is an IP routing protocol suite which includes
-protocol daemons for BGP, IS-IS, LDP, OSPF, PIM, and RIP. ")
+protocol daemons for BGP, IS-IS, LDP, OSPF, PIM, and RIP.")
(license license:gpl2+)))
(define-public bird
@@ -3521,7 +3565,7 @@ powerful route filtering syntax and an easy-to-use configuration interface.")
(define-public iwd
(package
(name "iwd")
- (version "1.15")
+ (version "1.20")
(source (origin
;; FIXME: We're using the bootstrapped sources because
;; otherwise using an external ell library is impossible.
@@ -3531,7 +3575,7 @@ powerful route filtering syntax and an easy-to-use configuration interface.")
"/wireless/iwd-" version ".tar.xz"))
(sha256
(base32
- "0ngng9a9ra5w0mp2813yy2ihfibyx10ns6v5icdcp99db608xax7"))))
+ "03q5scahyg86h4bdxqxm32shyssgpmfp5b3183j01ig7mg6f4lbx"))))
(build-system gnu-build-system)
(inputs
(list dbus ell readline))
@@ -3973,14 +4017,14 @@ stamps.")
(define-public nbd
(package
(name "nbd")
- (version "3.22")
+ (version "3.23")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/nbd/nbd/" version
"/nbd-" version ".tar.xz"))
(sha256
- (base32 "1ljx6vb3lja5p0lr28vmjp27n9d6krlvq49bhqbcm2ns8vxd1vh6"))))
+ (base32 "1d2phi0m9x32p9zddv9fpkhj1rbhlvq93wsn9niy7i3aavn71x6y"))))
(build-system gnu-build-system)
(inputs
(list glib))
diff --git a/gnu/packages/nim.scm b/gnu/packages/nim.scm
index 0830a6106a..f0f958b215 100644
--- a/gnu/packages/nim.scm
+++ b/gnu/packages/nim.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org>
+;;; Copyright © 2022 (unmatched parenthesis <paren@disroot.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -28,14 +29,14 @@
(define-public nim
(package
(name "nim")
- (version "1.4.6")
+ (version "1.6.2")
(source
(origin
(method url-fetch)
(uri (string-append "https://nim-lang.org/download/"
name "-" version ".tar.xz"))
(sha256
- (base32 "1gfkk15q022s31ffbsm2lbfrsnsjfslbyixwk7g8bzngha90zg0g"))))
+ (base32 "0wz3jccdbhi7wd19fz9r6zad945iq50qjpbzva8xc5f3lr7p3i4s"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; No tests.
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 9a0be96852..87892410f9 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2021 Noisytoot <noisytoot@disroot.org>
;;; Copyright © 2021 Charles <charles.b.jackson@protonmail.com>
+;;; Copyright © 2021 Philip McGrath <philip@philipmcgrath.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -21,6 +22,10 @@
(define-module (gnu packages node-xyz)
#:use-module ((guix licenses) #:prefix license:)
+ #:use-module (gnu packages sqlite)
+ #:use-module (gnu packages python)
+ #:use-module (gnu packages web)
+ #:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix git-download)
#:use-module (guix build-system node))
@@ -167,7 +172,7 @@ user-land JavaScript.")
(arguments '(#:tests? #f)) ; No tests.
(home-page "http://www.enchantedage.com/node-mersenne")
(synopsis "Node.js module for generating Mersenne Twister random numbers")
- (description "Thix package provides a node.js port of the Mersenne Twister
+ (description "This package provides a node.js port of the Mersenne Twister
random number generator.")
(license license:bsd-3)))
@@ -288,11 +293,13 @@ function with browser support.")
"06biknqb05r9xsmcflm3ygh50pjvdk84x6r79w43kmck4fn3qn5p"))))
(build-system node-build-system)
(arguments
- '(#:tests? #f ; FIXME: Tests depend on node-tap
- #:phases
+ '(#:phases
(modify-phases %standard-phases
- ;; The only dependency to check for is tap, which we don't have.
- (delete 'configure))))
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies '("tap")))))
+ ;; FIXME: Tests depend on node-tap
+ #:tests? #f))
(home-page "https://github.com/npm/node-semver")
(synopsis "Parses semantic versions strings")
(description
@@ -318,8 +325,9 @@ function with browser support.")
'(#:tests? #f ; FIXME: Tests depend on node-tap
#:phases
(modify-phases %standard-phases
- ;; The only dependency to check for is tap, which we don't have.
- (delete 'configure))))
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies '("tap")))))))
(home-page "https://github.com/npm/wrappy")
(synopsis "Callback wrapping utility")
(description "@code{wrappy} is a utility for Node.js to wrap callbacks.")
@@ -340,13 +348,13 @@ function with browser support.")
"1z8dcbf28dqdcp4wb0c53wrs90a07nkrax2c9kk26dsk1dhrnxav"))))
(build-system node-build-system)
(arguments
- '(#:tests? #f ; FIXME: tests depend on node-tap
- #:phases
+ '(#:phases
(modify-phases %standard-phases
- ;; The default configure phase fails due to tap being missing, as we do
- ;; not have tap packaged yet. It is used only for tests. This package
- ;; still works as a dependency of node-glob and node-inflight.
- (delete 'configure))))
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies '("tap")))))
+ ;; FIXME: Tests depend on node-tap
+ #:tests? #f))
(inputs
(list node-wrappy))
(home-page "https://github.com/isaacs/once")
@@ -357,6 +365,147 @@ Subsequent calls will either return the cached previous value or throw an error
if desired.")
(license license:isc)))
+(define-public node-inherits
+ (package
+ (name "node-inherits")
+ (version "2.0.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/isaacs/inherits")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0cpsr5yqwkxpbbbbl0rwk4mcby6zbx841k2zb4c3gb1579i5wq9p"))))
+ (build-system node-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies '("tap")))))
+ ;; FIXME: Tests depend on node-tap
+ #:tests? #f))
+ (home-page "https://github.com/isaacs/inherits")
+ (synopsis "Browser-friendly object inheritance")
+ (description "This package provides an alternative implementation of
+Node's @code{inherits} constructer that can be used in browsers, while
+defaulting to Node's implementation otherwise.")
+ (license license:isc)))
+
+(define-public node-safe-buffer
+ (package
+ (name "node-safe-buffer")
+ (version "5.2.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/feross/safe-buffer")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0r26m0nl41h90ihnl2xf0cqs6z9z7jb87dl5j8yqb7887r9jlbpi"))))
+ (build-system node-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies '("tape" "standard")))))
+ #:tests? #f))
+ (home-page "https://github.com/feross/safe-buffer")
+ (synopsis "Buffer creation with explicit semantics")
+ (description "This package provides a drop-in replacement for Node.js
+@code{Buffer} API, which provides newer, explicit constructors (such as
+@code{Buffer.alloc(SIZE)}) in older versions.")
+ (license license:expat)))
+
+(define-public node-string-decoder
+ (package
+ (name "node-string-decoder")
+ (version "1.3.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/nodejs/string_decoder")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0xxvyya9fl9rlkqwmxzqzbz4rdr3jgw4vf37hff7cgscxkhg266k"))))
+ (build-system node-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies
+ '("tap" "core-util-is" "babel-polyfill")))))
+ ;; FIXME: Tests depend on node-tap
+ #:tests? #f))
+ (inputs (list node-safe-buffer node-inherits))
+ (home-page "https://github.com/nodejs/string_decoder")
+ (synopsis "Decode buffers while preserving multi-byte sequences ")
+ (description "This package provides a user-land implementation of
+Node-core's @code{string_decoder}, which serves to decode buffers to
+strings so that the decoded string does not contain incomplete multibyte
+sequences.")
+ (license license:expat)))
+
+(define-public node-readable-stream
+ (package
+ (name "node-readable-stream")
+ (version "3.6.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/nodejs/readable-stream")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0ybl4cdgsm9c5jq3xq8s01201jk8w0yakh63hlclsfbcdfqhd9ri"))))
+ (build-system node-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies `("@babel/cli"
+ "@babel/core"
+ "@babel/polyfill"
+ "@babel/preset-env"
+ "airtap"
+ "assert"
+ "bl"
+ "deep-strict-equal"
+ "events.once"
+ "glob"
+ "gunzip-maybe"
+ "hyperquest"
+ "lolex"
+ "nyc"
+ "pump"
+ "rimraf"
+ "tap"
+ "tape"
+ "tar-fs"
+ "util-promisify")))))
+ #:tests? #f))
+ (inputs (list node-util-deprecate node-string-decoder node-inherits))
+ (home-page "https://github.com/nodejs/readable-stream")
+ (synopsis "Node.js core streams for userland")
+ (description
+ "@code{readable-stream} provides an implementation of Node.js core streams
+that behaves the same across different versions.")
+ (license license:expat)))
+
(define-public node-irc-colors
(package
(name "node-irc-colors")
@@ -372,12 +521,12 @@ if desired.")
"0q3y34rbnlc55jcakmdxkicwazyvyph9r6gaf6hi8k7wj2nfwfli"))))
(build-system node-build-system)
(arguments
- '(#:tests? #f ; FIXME: tests depend on node-istanbul
- #:phases
+ '(#:phases
(modify-phases %standard-phases
- ;; The default configure phase fails due to various packages
- ;; being missing, as we don't have them packaged yet.
- (delete 'configure))))
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies `("istanbul" "vows")))))
+ #:tests? #f))
(home-page "https://github.com/fent/irc-colors.js")
(synopsis "Node.js module providing color and formatting for IRC")
(description "@code{node-irc-colors} is a Node.js module that
@@ -401,12 +550,13 @@ such as rainbows.")
"1ln4qfx20jbwg4cp8lp0vf27m5281z2sz16d15xd6150n26cbi4x"))))
(build-system node-build-system)
(arguments
- '(#:tests? #f ; FIXME: tests depend on node-faucet
- #:phases
+ '(#:phases
(modify-phases %standard-phases
- ;; The default configure phase fails due to various packages
- ;; being missing, as we don't have them packaged yet.
- (delete 'configure))))
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies
+ `("ansi-color" "faucet" "jscs" "tape")))))
+ #:tests? #f))
(inputs
(list node-irc-colors))
(home-page "https://github.com/martynsmith/node-irc")
@@ -414,3 +564,742 @@ such as rainbows.")
(description "@code{node-irc} is an IRC client library for Node.js.
It has functions for joining, parting, talking, and many other IRC commands.")
(license license:gpl3+)))
+
+(define-public node-nan
+ (package
+ (name "node-nan")
+ (version "2.15.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/nodejs/nan")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "18xslh9va5ld872scrp5y4251ax9s3c6qh0lnl1200lpzbsxy7yd"))))
+ (build-system node-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies
+ '("bindings"
+ "commander"
+ "glob"
+ "request"
+ "node-gyp" ;; would be needed for tests
+ "tap"
+ "xtend")))))
+ ;; tests need tap and other dependencies
+ #:tests? #f))
+ (inputs
+ (list node-readable-stream))
+ (home-page "https://github.com/nodejs/nan")
+ (synopsis "Native Abstractions for Node.js")
+ (description "Native Abstractions for Node.js (``NaN'') provides a header
+file filled with macros and utilities for making add-on development for Node.js
+easier across versions. The goal is to provide all logic necessary to develop
+native Node.js addons without having to inspect @code{NODE_MODULE_VERSION}.")
+ (license license:expat)))
+
+(define-public node-addon-api
+ (package
+ (name "node-addon-api")
+ (version "4.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/nodejs/node-addon-api")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1bhvfi2m9nxfz418s619914vmidcnrzbjv6l9nid476c3zlpazch"))))
+ (inputs
+ (list python node-safe-buffer))
+ (build-system node-build-system)
+ (arguments
+ `(#:modules
+ ((guix build node-build-system)
+ (srfi srfi-1)
+ (ice-9 match)
+ (guix build utils))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies
+ `("benchmark"
+ "bindings"
+ "clang-format"
+ "eslint"
+ "eslint-config-semistandard"
+ "eslint-config-standard"
+ "eslint-plugin-import"
+ "eslint-plugin-node"
+ "eslint-plugin-promise"
+ "fs-extra"
+ "path"
+ "pre-commit"))))
+ (add-after 'unpack 'skip-js-tests
+ ;; We can't run the js-based tests,
+ ;; but we can still do the C++ parts
+ (lambda args
+ (define new-test-script
+ "echo stopping after pretest on Guix")
+ (with-atomic-json-file-replacement "package.json"
+ (match-lambda
+ (('@ . pkg-meta-alist)
+ (cons
+ '@
+ (map (match-lambda
+ (("scripts" '@ . scripts-alist)
+ `("scripts" @ ,@(map (match-lambda
+ (("test" . _)
+ (cons "test"
+ new-test-script))
+ (other
+ other))
+ scripts-alist)))
+ (other
+ other))
+ pkg-meta-alist))))))))))
+ (home-page "https://github.com/nodejs/node-addon-api")
+ (synopsis "Node.js API (Node-API) header-only C++ wrappers")
+ (description "This module contains header-only C++ wrapper classes which
+simplify the use of the C based Node-API provided by Node.js when using C++.
+It provides a C++ object model and exception handling semantics with low
+overhead.
+
+Node-API is an ABI stable C interface provided by Node.js for building native
+addons. It is intended to insulate native addons from changes in the
+underlying JavaScript engine and allow modules compiled for one version to run
+on later versions of Node.js without recompilation. The @code{node-addon-api}
+module, which is not part of Node.js, preserves the benefits of the Node-API
+as it consists only of inline code that depends only on the stable API
+provided by Node-API.
+
+It is important to remember that @emph{other} Node.js interfaces such as
+@code{libuv} (included in a project via @code{#include <uv.h>}) are not
+ABI-stable across Node.js major versions.")
+ (license license:expat)))
+
+(define-public node-sqlite3
+ (package
+ (name "node-sqlite3")
+ (version "5.0.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mapbox/node-sqlite3")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0sbbzzli282nxyfha10zx0k5m8hdp0sf3ipl59khjb7wm449j86h"))
+ (snippet
+ (with-imported-modules '((guix build utils))
+ #~(begin
+ (use-modules (guix build utils))
+ ;; unbundle sqlite
+ (for-each delete-file-recursively
+ (find-files "deps"
+ (lambda (pth stat)
+ (gzip-file? pth)))))))))
+ (inputs
+ (list node-addon-api python sqlite))
+ (build-system node-build-system)
+ (arguments
+ `(#:modules
+ ((guix build node-build-system)
+ (srfi srfi-1)
+ (ice-9 match)
+ (guix build utils))
+ #:tests? #f ; FIXME: tests depend on node-mocha
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies
+ `(;; Normally, this is "built" using @mapbox/node-pre-gyp,
+ ;; which publishes or downloads pre-built binaries or
+ ;; falls back to building from source. Here, we patch out
+ ;; all of that and just build directly. It might be
+ ;; better to patch a version of @mapbox/node-pre-gyp that
+ ;; always builds from source, as Debian does, but there
+ ;; are a number of dependencies that need to be packaged
+ ;; or removed.
+ "@mapbox/node-pre-gyp"
+ "node-pre-gyp" ;; deprecated name still used in some places
+ "aws-sdk"
+ "@mapbox/cloudfriend"
+ ;; Confusingly, this is only a dependency because of
+ ;; @mapbox/node-pre-gyp: with that removed,
+ ;; npm will use its own copy:
+ "node-gyp"
+ ;; These we'd like, we just don't have them yet:
+ "eslint"
+ "mocha"))))
+ (add-before 'configure 'npm-config-sqlite
+ ;; We need this step even if we do replace @mapbox/node-pre-gyp
+ ;; because the package expects to build its bundled sqlite
+ (lambda* (#:key inputs #:allow-other-keys)
+ (setenv "npm_config_sqlite" (assoc-ref inputs "sqlite"))))
+ (add-after 'install 'patch-binding-path
+ ;; We replace a file that dynamic searches for the addon using
+ ;; node-pre-gyp (which we don't have) with a version that
+ ;; simply uses the path to the addon we built directly.
+ ;; The exact path is supposed to depend on things like the
+ ;; architecture and napi_build_version, so, to avoid having
+ ;; hard-code the details accurately, we do this after the addon
+ ;; has been built so we can just find where it ended up.
+ (lambda* (#:key outputs #:allow-other-keys)
+ (with-directory-excursion
+ (search-input-directory outputs
+ "lib/node_modules/sqlite3/lib")
+ (match (find-files "binding" "\\.node$")
+ ((rel-path)
+ (with-atomic-file-replacement "sqlite3-binding.js"
+ (lambda (in out)
+ (format out "var binding = require('./~a');\n" rel-path)
+ (display "module.exports = exports = binding;\n"
+ out))))))))
+ (add-after 'patch-dependencies 'avoid-node-pre-gyp
+ (lambda args
+ ;; We need to patch .npmignore before the 'repack phase
+ ;; so that the built addon is installed with in the package.
+ ;; (Upstream assumes node-pre-gyp will download a pre-built
+ ;; version when this package is installed.)
+ (substitute* ".npmignore"
+ (("lib/binding")
+ "#lib/binding # <- patched for Guix"))
+ (with-atomic-json-file-replacement "package.json"
+ (match-lambda
+ (('@ . pkg-meta-alist)
+ (match (assoc-ref pkg-meta-alist "binary")
+ (('@ . binary-alist)
+ ;; When it builds from source, node-pre-gyp supplies
+ ;; module_name and module_path based on the entries under
+ ;; "binary" from "package.json", so this package's
+ ;; "binding.gyp" doesn't define them. Thus, we also need
+ ;; to supply them. The GYP_DEFINES environment variable
+ ;; turns out to be the easiest way to make sure they are
+ ;; propagated from npm to node-gyp to gyp.
+ (setenv "GYP_DEFINES"
+ (string-append
+ "module_name="
+ (assoc-ref binary-alist "module_name")
+ " "
+ "module_path="
+ (assoc-ref binary-alist "module_path")))))
+ ;; We need to remove the install script from "package.json",
+ ;; as it would try to use node-pre-gyp and would block the
+ ;; automatic building performed by `npm install`.
+ (cons '@ (map (match-lambda
+ (("scripts" @ . scripts-alist)
+ `("scripts" @ ,@(filter (match-lambda
+ (("install" . _)
+ #f)
+ (_
+ #t))
+ scripts-alist)))
+ (other
+ other))
+ pkg-meta-alist))))))))))
+ (home-page "https://github.com/mapbox/node-sqlite3")
+ (synopsis "Node.js bindings for SQLite3")
+ (description
+ "@code{node-sqlite3} provides a set of a Node.js bindings for interacting
+with SQLite3 databases.")
+ (license license:bsd-3)))
+
+(define-public node-file-uri-to-path
+ (package
+ (name "node-file-uri-to-path")
+ (version "2.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/TooTallNate/file-uri-to-path")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "08l779az44czm12xdhgcrnzpqw34s59hbrlfphs7g9y2k26drqav"))))
+ (native-inputs
+ (list esbuild))
+ (build-system node-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies `("@types/mocha"
+ "@types/node"
+ "@typescript-eslint/eslint-plugin"
+ "@typescript-eslint/parser"
+ "cpy-cli"
+ "eslint"
+ "eslint-config-airbnb"
+ "eslint-config-prettier"
+ "eslint-import-resolver-typescript"
+ "eslint-plugin-import"
+ "eslint-plugin-jsx-a11y"
+ "eslint-plugin-react"
+ "mocha"
+ "rimraf"
+ "typescript"))))
+ (replace 'build
+ (lambda* (#:key inputs native-inputs #:allow-other-keys)
+ (copy-recursively "src" "dist")
+ (invoke (search-input-file (or native-inputs inputs)
+ "/bin/esbuild")
+ "dist/index.ts"
+ "--outfile=dist/src/index.js"
+ "--format=cjs"
+ "--sourcemap"
+ "--platform=node"))))
+ #:tests? #f))
+ (home-page "https://github.com/TooTallNate/file-uri-to-path")
+ (synopsis "Convert a @code{file:} URI to a file path")
+ (description "This package provides a function to convert a @code{file:}
+URI to a file path. It accepts a @code{file:} URI and returns a file path
+suitable for use with the @code{fs} module functions.")
+ (license license:expat)))
+
+(define-public node-bindings
+ (package
+ (name "node-bindings")
+ (version "1.5.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/TooTallNate/node-bindings")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "100gp6kpjvd4j1dqnp0sbjr1hqx5mz7r61q9qy527jyhk9mj47wk"))))
+ (inputs
+ (list node-file-uri-to-path))
+ (build-system node-build-system)
+ (arguments
+ ;; there are no tests
+ `(#:tests? #f))
+ (home-page "https://github.com/TooTallNate/node-bindings")
+ (synopsis "Locate native addons")
+ (description "This package provides a helper module to locate native
+addons in a wide array of potential locations.")
+ (license license:expat)))
+
+(define-public node-segfault-handler
+ (package
+ (name "node-segfault-handler")
+ (version "1.3.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ddopson/node-segfault-handler")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "07nbw35wvrr18kmh8f388v4k5mpjgyy0260bx0xzjdv795i3xvfv"))))
+ (native-inputs
+ (list python))
+ (inputs
+ (list node-bindings node-nan))
+ (build-system node-build-system)
+ (arguments
+ ;; there are no tests
+ `(#:tests? #f))
+ (home-page "https://github.com/ddopson/node-segfault-handler")
+ (synopsis "Catches @code{SIGSEGV} and prints diagnostic information")
+ (description "This package is a tool for debugging Node.js C/C++ native
+code modules and getting stack traces when things go wrong. If a
+@code{SIGSEGV} signal is raised, the module will print a native stack trace to
+both @file{stderr} and to a timestamped file.")
+ (license license:bsd-3)))
+
+(define-public node-ms
+ (package
+ (name "node-ms")
+ (version "2.1.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/vercel/ms")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1l74kmmwffmzdz38lli0v5mdb9p9jmsjxpb48ncknqw2n74cgf08"))))
+ (build-system node-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies `("eslint"
+ "expect.js"
+ "husky"
+ "lint-staged"
+ "mocha"
+ "prettier")))))
+ #:tests? #f))
+ (home-page "https://github.com/vercel/ms")
+ (synopsis "Convert time to milliseconds")
+ (description "Use this package to easily convert various time formats to
+milliseconds. A number supplied as integer or string is returned as-is, while
+a string consisting of a number and a time unit is converted to milliseconds.")
+ (license license:expat)))
+
+(define-public node-debug
+ (package
+ (name "node-debug")
+ (version "4.3.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/debug-js/debug")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0ji0dmdl2xkgxqxvd6xjy7k3mmknmhvqjgc40vyly9ka1mpf20vb"))))
+ (inputs
+ (list node-ms))
+ (build-system node-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies `("brfs"
+ "browserify"
+ "coveralls"
+ "istanbul"
+ "karma"
+ "karma-browserify"
+ "karma-chrome-launcher"
+ "karma-mocha"
+ "mocha"
+ "mocha-lcov-reporter"
+ "xo"
+ "supports-color")))))
+ #:tests? #f))
+ (home-page "https://github.com/debug-js/debug")
+ (synopsis "Debugging utility for Node.js")
+ (description "The @code{debug} module exposes a function, which if called
+with a module name as argument provides a function that writes debug output to
+@code{console.error} under that module name. This output can be controlled in
+a more fine-grained manner by binding the @env{DEBUG} variable.")
+ (license license:expat)))
+
+(define-public node-serialport-binding-abstract
+ (package
+ (name "node-serialport-binding-abstract")
+ (version "9.2.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/serialport/node-serialport")
+ (commit "v9.2.7")))
+ (file-name (git-file-name "serialport-monorepo" version))
+ (sha256
+ (base32 "0x7zm59a5ff5yygjyw15xs3r5m3rb8av1yfrh4snn44mrwq87yg8"))))
+ (inputs
+ (list node-debug))
+ (build-system node-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda args
+ (chdir "packages/binding-abstract"))))
+ #:tests? #f))
+ (home-page "https://serialport.io")
+ (synopsis "Abstract base class for Node SerialPort bindings")
+ (description "Node SerialPort is a modular suite of Node.js packages for
+accessing serial ports. The Guix package @code{node-serialport} provides the
+recommended high-level interface.
+
+This package provides the @code{AbstractBinding} class, the base for all Node
+SerialPort bindings. You wouldn't use this class directly, but instead extend
+it to make a new binding for a different platform or underling technology.")
+ (license license:expat)))
+
+(define-public node-serialport-parser-delimiter
+ (package
+ (inherit node-serialport-binding-abstract)
+ (name "node-serialport-parser-delimiter")
+ (version "9.2.4")
+ (inputs `())
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda args
+ (chdir "packages/parser-delimiter"))))
+ #:tests? #f))
+ (synopsis "Node SerialPort parser to split data on a delimiter")
+ (description "Node SerialPort is a modular suite of Node.js packages for
+accessing serial ports. The Guix package @code{node-serialport} provides the
+recommended high-level interface.
+
+Parsers are used to take raw binary data and transform them into usable
+messages. This package provides @code{Delimiter}, a parser that emits data
+each time a specified byte sequence is received.")))
+
+(define-public node-serialport-parser-readline
+ (package
+ (inherit node-serialport-binding-abstract)
+ (name "node-serialport-parser-readline")
+ (version "9.2.4")
+ (inputs
+ (list node-serialport-parser-delimiter))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda args
+ (chdir "packages/parser-readline"))))
+ #:tests? #f))
+ (synopsis "Node SerialPort parser to split data on newlines")
+ (description "Node SerialPort is a modular suite of Node.js packages for
+accessing serial ports. The Guix package @code{node-serialport} provides the
+recommended high-level interface.
+
+Parsers are used to take raw binary data and transform them into usable
+messages. This package provides @code{Readline}, a parser that emits data
+after a (configurable) newline delimiter is received.")))
+
+(define-public node-serialport-bindings
+ (package
+ (inherit node-serialport-binding-abstract)
+ (name "node-serialport-bindings")
+ (version "9.2.7")
+ (native-inputs
+ (list python))
+ (inputs
+ (list node-nan node-bindings node-serialport-binding-abstract
+ node-serialport-parser-readline node-debug))
+ (arguments
+ `(#:modules
+ ((guix build node-build-system)
+ (srfi srfi-1)
+ (ice-9 match)
+ (guix build utils))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda args
+ (chdir "packages/bindings")))
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies `("prebuild-install"
+ ;; devDependencies
+ "@serialport/binding-mock"
+ "node-abi"))))
+ (add-after 'chdir 'avoid-prebuild-install
+ (lambda args
+ (with-atomic-json-file-replacement "package.json"
+ (match-lambda
+ (('@ . pkg-meta-alist)
+ (cons '@ (map (match-lambda
+ (("scripts" @ . scripts-alist)
+ `("scripts" @ ,@(filter (match-lambda
+ (("install" . _)
+ #f)
+ (_
+ #t))
+ scripts-alist)))
+ (other
+ other))
+ pkg-meta-alist))))))))
+ #:tests? #f))
+ (synopsis "Abstract base class for Node SerialPort bindings")
+ (description "Node SerialPort is a modular suite of Node.js packages for
+accessing serial ports. The Guix package @code{node-serialport} provides the
+recommended high-level interface.
+
+This package provides the @code{Binding} class, which uses a native addon to
+talk to the underlying system. You never have to use @code{Binding} objects
+directly. There is also a @code{MockBinding} available (but not yet packaged
+for Guix) to assist with testing.")))
+
+(define-public node-serialport-parser-regex
+ (package
+ (inherit node-serialport-binding-abstract)
+ (name "node-serialport-parser-regex")
+ (version "9.2.4")
+ (inputs `())
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda args
+ (chdir "packages/parser-regex"))))
+ #:tests? #f))
+ (synopsis "Node SerialPort parser to split data on a regular expression")
+ (description "Node SerialPort is a modular suite of Node.js packages for
+accessing serial ports. The Guix package @code{node-serialport} provides the
+recommended high-level interface.
+
+Parsers are used to take raw binary data and transform them into usable
+messages. This package provides @code{Regex}, a parser that uses a regular
+expression to split the incoming text.")))
+
+(define-public node-serialport-parser-ready
+ (package
+ (inherit node-serialport-binding-abstract)
+ (name "node-serialport-parser-ready")
+ (version "9.2.4")
+ (inputs `())
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda args
+ (chdir "packages/parser-ready"))))
+ #:tests? #f))
+ (synopsis "Node SerialPort parser to wait for specified byte sequence")
+ (description "Node SerialPort is a modular suite of Node.js packages for
+accessing serial ports. The Guix package @code{node-serialport} provides the
+recommended high-level interface.
+
+Parsers are used to take raw binary data and transform them into usable
+messages. This package provides @code{Ready}, a parser that waits for a
+specified sequence of ``ready'' bytes before emitting a ready event and
+emitting data events.")))
+
+(define-public node-serialport-parser-inter-byte-timeout
+ (package
+ (inherit node-serialport-binding-abstract)
+ (name "node-serialport-parser-inter-byte-timeout")
+ (version "9.2.4")
+ (inputs `())
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda args
+ (chdir "packages/parser-inter-byte-timeout"))))
+ #:tests? #f))
+ (synopsis "Node SerialPort parser to detect pauses in data")
+ (description "Node SerialPort is a modular suite of Node.js packages for
+accessing serial ports. The Guix package @code{node-serialport} provides the
+recommended high-level interface.
+
+Parsers are used to take raw binary data and transform them into usable
+messages. This package provides @code{InterByteTimeout}, a parser that emits
+data if there is a pause between packets for the specified amount of time.")))
+
+(define-public node-serialport-parser-cctalk
+ (package
+ (inherit node-serialport-binding-abstract)
+ (name "node-serialport-parser-cctalk")
+ (version "9.2.4")
+ (inputs `())
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda args
+ (chdir "packages/parser-cctalk"))))
+ #:tests? #f))
+ (synopsis "Node SerialPort parser for the ccTalk protocol")
+ (description "Node SerialPort is a modular suite of Node.js packages for
+accessing serial ports. The Guix package @code{node-serialport} provides the
+recommended high-level interface.
+
+Parsers are used to take raw binary data and transform them into usable
+messages. This package provides @code{CCTalk}, which emits packets for the
+ccTalk protocol (an open standard for currency detectors) as they are
+received.")))
+
+(define-public node-serialport-parser-byte-length
+ (package
+ (inherit node-serialport-binding-abstract)
+ (name "node-serialport-parser-byte-length")
+ (version "9.2.4")
+ (inputs `())
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda args
+ (chdir "packages/parser-byte-length"))))
+ #:tests? #f))
+ (synopsis "Node SerialPort parser for fixed-length buffers")
+ (description "Node SerialPort is a modular suite of Node.js packages for
+accessing serial ports. The Guix package @code{node-serialport} provides the
+recommended high-level interface.
+
+Parsers are used to take raw binary data and transform them into usable
+messages. This package provides @code{ByteLength}, a parser that emits data
+as a buffer every time a specified number of bytes are received.")))
+
+(define-public node-serialport-stream
+ (package
+ (inherit node-serialport-binding-abstract)
+ (name "node-serialport-stream")
+ (version "9.2.4")
+ (inputs
+ (list node-debug))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies `(;; devDependencies
+ "@serialport/binding-mock"))))
+ (add-after 'unpack 'chdir
+ (lambda args
+ (chdir "packages/stream"))))
+ #:tests? #f))
+ (synopsis "Node.js stream interface for Node SerialPort")
+ (description "Node SerialPort is a modular suite of Node.js packages for
+accessing serial ports. The Guix package @code{node-serialport} provides the
+recommended high-level interface.
+
+This package provides an interface for using Node SerialPort bindings via the
+Node.js Stream API. The stream is a duplex stream, allowing for reading and
+writing. It has additional methods for managing the SerialPort
+connection.")))
+
+(define-public node-serialport
+ (package
+ (inherit node-serialport-binding-abstract)
+ (name "node-serialport")
+ (version "9.2.7")
+ (inputs
+ (list node-serialport-bindings
+ node-serialport-parser-delimiter
+ node-serialport-parser-readline
+ node-serialport-parser-regex
+ node-serialport-parser-ready
+ node-serialport-parser-inter-byte-timeout
+ node-serialport-parser-cctalk
+ node-serialport-parser-byte-length
+ node-serialport-stream
+ node-debug))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies `("@serialport/binding-mock"))
+ ))
+ (add-after 'unpack 'chdir
+ (lambda args
+ (chdir "packages/serialport"))))
+ #:tests? #f))
+ (synopsis "Node.js package to access serial ports")
+ (description "Node SerialPort is a modular suite of Node.js packages for
+accessing serial ports. This package is the recommended entry point for most
+projects. It combines a high-level Node.js stream interface with a useful
+default set of parsers and bindings.")))
diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index 6b543acf6f..ce94557a8c 100644
--- a/gnu/packages/node.scm
+++ b/gnu/packages/node.scm
@@ -5,11 +5,12 @@
;;; Copyright © 2016, 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2017 Mike Gerwitz <mtg@gnu.org>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
-;;; Copyright © 2018, 2019, 2020, 2021 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2018-2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2020, 2021 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2020 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
+;;; Copyright © 2021, 2022 Philip McGrath <philip@philipmcgrath.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -57,17 +58,17 @@
(define-public node
(package
(name "node")
- (version "10.24.0")
+ (version "10.24.1")
(source (origin
(method url-fetch)
(uri (string-append "https://nodejs.org/dist/v" version
"/node-v" version ".tar.xz"))
(sha256
(base32
- "1k1srdis23782hnd1ymgczs78x9gqhv77v0am7yb54gqcspp70hm"))
+ "032801kg24j04xmf09m0vxzlcz86sv21s24lv9l4cfv08k1c4byp"))
(modules '((guix build utils)))
(snippet
- `(begin
+ '(begin
;; Patch for compatibility with ICU 68 and newer, which
;; removed the public TRUE and FALSE macros.
(substitute* '("deps/v8/src/objects/intl-objects.cc"
@@ -89,8 +90,7 @@
(("deps/http_parser/http_parser.gyp") "")
(("deps/uv/include/\\*.h") "")
(("deps/uv/uv.gyp") "")
- (("deps/zlib/zlib.gyp") ""))
- #t))))
+ (("deps/zlib/zlib.gyp") ""))))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags '("--shared-cares"
@@ -104,16 +104,29 @@
;; Run only the CI tests. The default test target requires additional
;; add-ons from NPM that are not distributed with the source.
#:test-target "test-ci-js"
+ #:modules
+ ((guix build gnu-build-system)
+ (guix build utils)
+ (srfi srfi-1)
+ (ice-9 match))
#:phases
(modify-phases %standard-phases
- (add-before 'configure 'patch-files
+ (add-before 'configure 'patch-hardcoded-program-references
(lambda* (#:key inputs #:allow-other-keys)
+
;; Fix hardcoded /bin/sh references.
- (substitute* '("lib/child_process.js"
- "lib/internal/v8_prof_polyfill.js"
- "test/parallel/test-child-process-spawnsync-shell.js"
- "test/parallel/test-stdio-closed.js"
- "test/sequential/test-child-process-emfile.js")
+ (substitute*
+ (let ((common
+ '("lib/child_process.js"
+ "lib/internal/v8_prof_polyfill.js"
+ "test/parallel/test-child-process-spawnsync-shell.js"
+ "test/parallel/test-stdio-closed.js"
+ "test/sequential/test-child-process-emfile.js"))
+ ;; not in bootstap node:
+ (sigxfsz "test/parallel/test-fs-write-sigxfsz.js"))
+ (if (file-exists? sigxfsz)
+ (cons sigxfsz common)
+ common))
(("'/bin/sh'")
(string-append "'" (assoc-ref inputs "bash") "/bin/sh'")))
@@ -123,7 +136,10 @@
"test/parallel/test-child-process-exec-env.js")
(("'/usr/bin/env'")
(string-append "'" (assoc-ref inputs "coreutils")
- "/bin/env'")))
+ "/bin/env'")))))
+ (add-after 'patch-hardcoded-program-references
+ 'delete-problematic-tests
+ (lambda* (#:key inputs #:allow-other-keys)
;; FIXME: These tests fail in the build container, but they don't
;; seem to be indicative of real problems in practice.
@@ -136,6 +152,10 @@
;; This requires a DNS resolver.
(delete-file "test/parallel/test-dns.js")
+ ;; This test is timing-sensitive, and fails sporadically on
+ ;; slow, busy, or even very fast machines.
+ (delete-file "test/parallel/test-fs-utimes.js")
+
;; FIXME: This test fails randomly:
;; https://github.com/nodejs/node/issues/31213
(delete-file "test/parallel/test-net-listen-after-destroying-stdin.js")
@@ -218,45 +238,71 @@
(setenv "CXX" ,(cxx-for-target))
(setenv "PKG_CONFIG" ,(pkg-config-for-target))
(apply invoke
- (search-input-file (or native-inputs inputs)
- "/bin/python")
- "configure" flags))))
- (add-after 'patch-shebangs 'patch-npm-shebang
+ (let ((inpts (or native-inputs inputs)))
+ (with-exception-handler
+ (lambda (e)
+ (if (search-error? e)
+ (search-input-file inpts "/bin/python3")
+ (raise-exception e)))
+ (lambda ()
+ (search-input-file inpts "/bin/python"))))
+ "configure"
+ flags))))
+ (add-after 'patch-shebangs 'patch-nested-shebangs
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ ;; Based on the implementation of patch-shebangs
+ ;; from (guix build gnu-build-system).
+ (let ((path (append-map (match-lambda
+ ((_ . dir)
+ (list (string-append dir "/bin")
+ (string-append dir "/sbin")
+ (string-append dir "/libexec"))))
+ (append outputs inputs))))
+ (for-each
+ (lambda (file)
+ (patch-shebang file path))
+ (find-files (search-input-directory outputs "lib/node_modules")
+ (lambda (file stat)
+ (executable-file? file))
+ #:stat lstat)))))
+ (add-after 'install 'install-npmrc
+ ;; Note: programs like node-gyp only receive these values if
+ ;; they are started via `npm` or `npx`.
+ ;; See: https://github.com/nodejs/node-gyp#npm-configuration
(lambda* (#:key outputs #:allow-other-keys)
- (let* ((bindir (string-append (assoc-ref outputs "out")
- "/bin"))
- (npm (string-append bindir "/npm"))
- (target (readlink npm)))
- (with-directory-excursion bindir
- (patch-shebang target (list bindir))))))
- (add-after 'install 'patch-node-shebang
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((bindir (string-append (assoc-ref outputs "out")
- "/bin"))
- (npx (readlink (string-append bindir "/npx"))))
- (with-directory-excursion bindir
- (patch-shebang npx (list bindir)))))))))
+ (let* ((out (assoc-ref outputs "out")))
+ (with-output-to-file
+ ;; Use the config file "primarily for distribution
+ ;; maintainers" rather than "{prefix}/etc/npmrc",
+ ;; especially because node-build-system uses --prefix
+ ;; to install things to their store paths:
+ (string-append out "/lib/node_modules/npm/npmrc")
+ (lambda ()
+ ;; Tell npm (mostly node-gyp) where to find our
+ ;; installed headers so it doesn't try to
+ ;; download them from the internet:
+ (format #t "nodedir=~a\n" out)))))))))
(native-inputs
- `(;; Runtime dependencies for binaries used as a bootstrap.
- ("c-ares" ,c-ares)
- ("http-parser" ,http-parser)
- ("icu4c" ,icu4c)
- ("libuv" ,libuv)
- ("nghttp2" ,nghttp2 "lib")
- ("openssl" ,openssl)
- ("zlib" ,zlib)
- ;; Regular build-time dependencies.
- ("perl" ,perl)
- ("pkg-config" ,pkg-config)
- ("procps" ,procps)
- ("python" ,python-2)
- ("util-linux" ,util-linux)))
+ ;; Runtime dependencies for binaries used as a bootstrap.
+ (list c-ares
+ http-parser
+ icu4c
+ libuv
+ `(,nghttp2 "lib")
+ openssl
+ zlib
+ ;; Regular build-time dependencies.
+ perl
+ pkg-config
+ procps
+ python-2
+ util-linux))
(native-search-paths
(list (search-path-specification
(variable "NODE_PATH")
(files '("lib/node_modules")))))
(inputs
- (list bash
+ (list bash-minimal
coreutils
c-ares
http-parser
@@ -264,9 +310,11 @@
libuv
`(,nghttp2 "lib")
openssl
+ python-wrapper ;for node-gyp (supports python3)
zlib))
(synopsis "Evented I/O for V8 JavaScript")
- (description "Node.js is a platform built on Chrome's JavaScript runtime
+ (description
+ "Node.js is a platform built on Chrome's JavaScript runtime
for easily building fast, scalable network applications. Node.js uses an
event-driven, non-blocking I/O model that makes it lightweight and efficient,
perfect for data-intensive real-time applications that run across distributed
@@ -302,7 +350,9 @@ devices.")
#:tests? #f
#:phases
(modify-phases %standard-phases
- (delete 'configure))))
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies '("tap")))))))
(home-page "https://github.com/npm/node-semver")
(properties '((hidden? . #t)))
(synopsis "Parses semantic versions strings")
@@ -331,7 +381,13 @@ devices.")
#:tests? #f
#:phases
(modify-phases %standard-phases
- (delete 'configure))))
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies '("eslint"
+ "expect.js"
+ "husky"
+ "lint-staged"
+ "mocha")))))))
(home-page "https://github.com/zeit/ms#readme")
(properties '((hidden? . #t)))
(synopsis "Tiny millisecond conversion utility")
@@ -359,7 +415,9 @@ formats to milliseconds.")
#:tests? #f
#:phases
(modify-phases %standard-phases
- (delete 'configure))))
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies `("chai" "mocha")))))))
(home-page "https://github.com/darkskyapp/binary-search#readme")
(properties '((hidden? . #t)))
(synopsis "Tiny binary search function with comparators")
@@ -386,7 +444,19 @@ formats to milliseconds.")
#:tests? #f
#:phases
(modify-phases %standard-phases
- (delete 'configure))))
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies `("brfs"
+ "browserify"
+ "coveralls"
+ "istanbul"
+ "karma"
+ "karma-browserify"
+ "karma-chrome-launcher"
+ "karma-mocha"
+ "mocha"
+ "mocha-lcov-reporter"
+ "xo")))))))
(inputs (list node-ms-bootstrap))
(home-page "https://github.com/visionmedia/debug#readme")
(properties '((hidden? . #t)))
@@ -440,7 +510,14 @@ Node.js and web browsers.")
#:tests? #f
#:phases
(modify-phases %standard-phases
- (delete 'configure)
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda _
+ (delete-dependencies `("@types/mocha"
+ "@types/node"
+ "mocha"
+ "ts-node"
+ "tslint"
+ "typescript"))))
(replace 'build
(lambda* (#:key inputs #:allow-other-keys)
(let ((esbuild (search-input-file inputs "/bin/esbuild")))
@@ -494,7 +571,15 @@ Node.js and web browsers.")
#:tests? #f
#:phases
(modify-phases %standard-phases
- (delete 'configure)
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies `("@types/debug"
+ "@types/mocha"
+ "@types/node"
+ "mocha"
+ "ts-node"
+ "tslint"
+ "typescript"))))
(replace 'build
(lambda* (#:key inputs #:allow-other-keys)
(let ((esbuild (search-input-file inputs "/bin/esbuild")))
@@ -547,7 +632,17 @@ Node.js and web browsers.")
#:tests? #f
#:phases
(modify-phases %standard-phases
- (delete 'configure)
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies `("@types/debug"
+ "@types/mocha"
+ "@types/node"
+ "esm"
+ "llparse-test-fixture"
+ "mocha"
+ "ts-node"
+ "tslint"
+ "typescript"))))
(replace 'build
(lambda* (#:key inputs #:allow-other-keys)
(let ((esbuild (search-input-file inputs "/bin/esbuild")))
@@ -640,14 +735,14 @@ source files.")
(define-public node-lts
(package
(inherit node)
- (version "14.18.1")
+ (version "14.18.3")
(source (origin
(method url-fetch)
(uri (string-append "https://nodejs.org/dist/v" version
"/node-v" version ".tar.xz"))
(sha256
(base32
- "1vc9rypkgr5i5y946jnyr9jjpydxvm74p1s17rg2zayzvlddg89z"))
+ "026nd6vihjdqz4jn0slg89m8m5vvkvjzgg1aip3dcg9lrm1w8fkq"))
(modules '((guix build utils)))
(snippet
`(begin
@@ -705,65 +800,8 @@ source files.")
libuv "/lib:"
zlib "/lib"
"'],"))))))
- (replace 'configure
- ;; Node's configure script is actually a python script, so we can't
- ;; run it with bash.
- (lambda* (#:key outputs (configure-flags '()) native-inputs inputs
- #:allow-other-keys)
- (let* ((prefix (assoc-ref outputs "out"))
- (xflags ,(if (%current-target-system)
- `'("--cross-compiling"
- ,(string-append
- "--dest-cpu="
- (match (%current-target-system)
- ((? (cut string-prefix? "arm" <>))
- "arm")
- ((? (cut string-prefix? "aarch64" <>))
- "arm64")
- ((? (cut string-prefix? "i686" <>))
- "ia32")
- ((? (cut string-prefix? "x86_64" <>))
- "x64")
- ((? (cut string-prefix? "powerpc64" <>))
- "ppc64")
- (_ "unsupported"))))
- ''()))
- (flags (cons
- (string-append "--prefix=" prefix)
- (append xflags configure-flags))))
- (format #t "build directory: ~s~%" (getcwd))
- (format #t "configure flags: ~s~%" flags)
- ;; Node's configure script expects the CC environment variable to
- ;; be set.
- (setenv "CC_host" "gcc")
- (setenv "CXX_host" "g++")
- (setenv "CC" ,(cc-for-target))
- (setenv "CXX" ,(cxx-for-target))
- (setenv "PKG_CONFIG" ,(pkg-config-for-target))
- (apply invoke
- (search-input-file (or native-inputs inputs)
- "/bin/python3")
- "configure" flags))))
- (replace 'patch-files
+ (replace 'delete-problematic-tests
(lambda* (#:key inputs #:allow-other-keys)
- ;; Fix hardcoded /bin/sh references.
- (substitute* '("lib/child_process.js"
- "lib/internal/v8_prof_polyfill.js"
- "test/parallel/test-child-process-spawnsync-shell.js"
- "test/parallel/test-fs-write-sigxfsz.js"
- "test/parallel/test-stdio-closed.js"
- "test/sequential/test-child-process-emfile.js")
- (("'/bin/sh'")
- (string-append "'" (assoc-ref inputs "bash") "/bin/sh'")))
-
- ;; Fix hardcoded /usr/bin/env references.
- (substitute* '("test/parallel/test-child-process-default-options.js"
- "test/parallel/test-child-process-env.js"
- "test/parallel/test-child-process-exec-env.js")
- (("'/usr/bin/env'")
- (string-append "'" (assoc-ref inputs "coreutils")
- "/bin/env'")))
-
;; FIXME: These tests fail in the build container, but they don't
;; seem to be indicative of real problems in practice.
(for-each delete-file
@@ -778,6 +816,10 @@ source files.")
;; These tests require networking.
(delete-file "test/parallel/test-https-agent-unref-socket.js")
+ ;; This test is timing-sensitive, and fails sporadically on
+ ;; slow, busy, or even very fast machines.
+ (delete-file "test/parallel/test-fs-utimes.js")
+
;; FIXME: This test fails randomly:
;; https://github.com/nodejs/node/issues/31213
(delete-file "test/parallel/test-net-listen-after-destroying-stdin.js")
@@ -802,8 +844,9 @@ source files.")
;; TODO: Regenerate certs instead.
(for-each delete-file
'("test/parallel/test-tls-passphrase.js"
- "test/parallel/test-tls-server-verify.js"))
-
+ "test/parallel/test-tls-server-verify.js"))))
+ (add-after 'delete-problematic-tests 'replace-llhttp-sources
+ (lambda* (#:key inputs #:allow-other-keys)
;; Replace pre-generated llhttp sources
(let ((llhttp (assoc-ref inputs "llhttp")))
(copy-file (string-append llhttp "/src/llhttp.c")
@@ -830,7 +873,7 @@ source files.")
python
util-linux))
(inputs
- (list bash
+ (list bash-minimal
coreutils
c-ares-for-node
icu4c-67
@@ -839,6 +882,7 @@ source files.")
brotli
`(,nghttp2 "lib")
openssl
+ python-wrapper ;; for node-gyp (supports python3)
zlib))))
(define-public libnode
@@ -850,5 +894,5 @@ source files.")
`(cons* "--shared" "--without-npm" ,flags))
((#:phases phases '%standard-phases)
`(modify-phases ,phases
- (delete 'patch-npm-shebang)
- (delete 'patch-node-shebang)))))))
+ (delete 'install-npmrc)
+ (delete 'patch-nested-shebangs)))))))
diff --git a/gnu/packages/notcurses.scm b/gnu/packages/notcurses.scm
new file mode 100644
index 0000000000..9da298dce8
--- /dev/null
+++ b/gnu/packages/notcurses.scm
@@ -0,0 +1,77 @@
+;;; Copyright © 2021 Blake Shaw <blake@nonconstructivism.com>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages notcurses)
+ #:use-module (guix utils)
+ #:use-module (gnu packages)
+ #:use-module (guix packages)
+ #:use-module (guix build utils)
+ #:use-module (guix git-download)
+ #:use-module (guix build-system cmake)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (gnu packages check)
+ #:use-module (gnu packages haskell-xyz)
+ #:use-module (gnu packages video)
+ #:use-module (gnu packages ncurses)
+ #:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages compression)
+ #:use-module (gnu packages libunistring))
+
+(define-public notcurses
+ (package
+ (name "notcurses")
+ (version "3.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/dankamongmen/notcurses")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1y9s77m1pp6syfml559d8dvif61y6zjldrdx1zri18q9sr0zqm9m"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:make-flags
+ (list (string-append "CC=" ,(cc-for-target)))
+ ;; These flags are documented in 'INSTALL.md' in the source distribution.
+ #:configure-flags
+ '(;; Do not build "coverage"
+ "-DUSE_COVERAGE=off"
+ ;; Do not build HTML documentation
+ "-DUSE_DOXYGEN=off"
+ ;; Don't include mouse support
+ "-DUSE_GPM=off"
+ ;; Use FFmpeg for multimedia support
+ "-DUSE_MULTIMEDIA=ffmpeg"
+ ;; Follow the Debian Free Software Guidelines, omitting nonfree content.
+ "-DFSG_BUILD=ON")))
+ (native-inputs
+ (list pkg-config
+ pandoc
+ doctest))
+ (inputs
+ (list ffmpeg
+ libdeflate
+ libunistring
+ ncurses
+ zlib))
+ (synopsis "Textual user interfaces")
+ (description "Notcurses is a library for building complex textual user
+interfaces on modern terminals.")
+ (home-page "https://notcurses.com")
+ (license license:asl2.0)))
diff --git a/gnu/packages/nss.scm b/gnu/packages/nss.scm
index 7dc12b6cbe..92f23bf166 100644
--- a/gnu/packages/nss.scm
+++ b/gnu/packages/nss.scm
@@ -104,7 +104,7 @@ in the Mozilla clients.")
(name "nss")
;; Also update and test the nss-certs package, which duplicates version and
;; source to avoid a top-level variable reference & module cycle.
- (version "3.71")
+ (version "3.72")
(source (origin
(method url-fetch)
(uri (let ((version-with-underscores
@@ -115,7 +115,7 @@ in the Mozilla clients.")
"nss-" version ".tar.gz")))
(sha256
(base32
- "0ly2l3dv6z5hlxs72h5x6796ni3x1bq60saavaf42ddgv4ax7b4r"))
+ "0bnh683nij6s0gvjcgwhyw5d3yx9fpm42pxj5bm97r0ky6ghm9kf"))
;; Create nss.pc and nss-config.
(patches (search-patches "nss-3.56-pkgconfig.patch"
"nss-getcwd-nonnull.patch"
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 624637dd8a..6c1ac057a4 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -182,10 +182,10 @@ OCaml and can effectively bootstrap OCaml 4.07.
This package produces a native @command{ocamlc} and a bytecode @command{ocamllex}.")
(license license:expat))))
-(define-public ocaml-4.11
+(define-public ocaml-4.13
(package
(name "ocaml")
- (version "4.11.1")
+ (version "4.13.1")
(source (origin
(method url-fetch)
(uri (string-append
@@ -194,7 +194,7 @@ This package produces a native @command{ocamlc} and a bytecode @command{ocamllex
"/ocaml-" version ".tar.xz"))
(sha256
(base32
- "0k4521c0p10c5ams6vjv5qkkjhmpkb0bfn04llcz46ah0f3r2jpa"))))
+ "1s7xwqidpjwfhnpfma4nb93gxfr7g9jfn03s1j03iyavmpgph7ck"))))
(build-system gnu-build-system)
(native-search-paths
(list (search-path-specification
@@ -210,7 +210,10 @@ This package produces a native @command{ocamlc} and a bytecode @command{ocamllex
(list libx11 libiberty ;needed for objdump support
zlib)) ;also needed for objdump support
(arguments
- `(#:phases
+ `(#:configure-flags '("--enable-ocamltest")
+ #:test-target "tests"
+ #:make-flags '("world.opt")
+ #:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-/bin/sh-references
(lambda* (#:key inputs #:allow-other-keys)
@@ -226,16 +229,7 @@ This package produces a native @command{ocamlc} and a bytecode @command{ocamllex
patch-/bin/sh-references: ~a: changing `\"/bin/sh\"' to `~a'~%"
file quoted-sh)
quoted-sh))))
- (find-files "." "\\.ml$"))
- #t))))
- (replace 'build
- (lambda _
- (invoke "make" "-j" (number->string (parallel-job-count))
- "world.opt")))
- (replace 'check
- (lambda _
- (with-directory-excursion "testsuite"
- (invoke "make" "all")))))))
+ (find-files "." "\\.ml$")))))))))
(home-page "https://ocaml.org/")
(synopsis "The OCaml programming language")
(description
@@ -250,7 +244,7 @@ functional, imperative and object-oriented styles of programming.")
(define-public ocaml-4.09
(package
- (inherit ocaml-4.11)
+ (inherit ocaml-4.13)
(version "4.09.0")
(source (origin
(method url-fetch)
@@ -261,7 +255,33 @@ functional, imperative and object-oriented styles of programming.")
(patches (search-patches "ocaml-4.09-multiple-definitions.patch"))
(sha256
(base32
- "1v3z5ar326f3hzvpfljg4xj8b9lmbrl53fn57yih1bkbx3gr3yzj"))))))
+ "1v3z5ar326f3hzvpfljg4xj8b9lmbrl53fn57yih1bkbx3gr3yzj"))))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-/bin/sh-references
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let* ((sh (search-input-file inputs "/bin/sh"))
+ (quoted-sh (string-append "\"" sh "\"")))
+ (with-fluids ((%default-port-encoding #f))
+ (for-each
+ (lambda (file)
+ (substitute* file
+ (("\"/bin/sh\"")
+ (begin
+ (format (current-error-port) "\
+patch-/bin/sh-references: ~a: changing `\"/bin/sh\"' to `~a'~%"
+ file quoted-sh)
+ quoted-sh))))
+ (find-files "." "\\.ml$"))))))
+ (replace 'build
+ (lambda _
+ (invoke "make" "-j" (number->string (parallel-job-count))
+ "world.opt")))
+ (replace 'check
+ (lambda _
+ (with-directory-excursion "testsuite"
+ (invoke "make" "all")))))))))
;; This package is a bootstrap package for ocaml-4.07. It builds from camlboot,
;; using the upstream sources for ocaml 4.07. It installs a bytecode ocamllex
@@ -440,7 +460,7 @@ depend: $(STDLIB_MLIS) $(STDLIB_DEPS)"))
("perl" ,perl)
("pkg-config" ,pkg-config)))))
-(define-public ocaml ocaml-4.11)
+(define-public ocaml ocaml-4.13)
(define-public ocamlbuild
(package
@@ -882,19 +902,17 @@ Git-friendly development workflow.")
(define-public camlp5
(package
(name "camlp5")
- (version "7.13")
+ (version "8.00.02")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/camlp5/camlp5")
- (commit (string-append "rel" (string-delete #\. version)))))
+ (commit (string-append "rel" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1d9spy3f5ahixm8nxxk086kpslzva669a5scn49am0s7vx4i71kp"))))
+ (base32 "03qm99h2380x0y69sppg10yz1mwx7smkscia7pa175wmilifx8vy"))))
(build-system gnu-build-system)
- (inputs
- (list ocaml))
(arguments
`(#:tests? #f ; XXX TODO figure out how to run the tests
#:phases
@@ -924,6 +942,10 @@ Git-friendly development workflow.")
(install-file "etc/META" (string-append (assoc-ref outputs "out")
"/lib/ocaml/camlp5/"))
#t)))))
+ (inputs
+ (list ocaml))
+ (native-inputs
+ (list perl))
(home-page "https://camlp5.github.io/")
(synopsis "Pre-processor Pretty Printer for OCaml")
(description
@@ -1251,14 +1273,14 @@ to the other.")
(define-public ocaml-findlib
(package
(name "ocaml-findlib")
- (version "1.8.1")
+ (version "1.9.1")
(source (origin
(method url-fetch)
(uri (string-append "http://download.camlcity.org/download/"
"findlib" "-" version ".tar.gz"))
(sha256
(base32
- "00s3sfb02pnjmkax25pcnljcnhcggiliccfz69a72ic7gsjwz1cf"))))
+ "1qhgk25avmz4l4g47g8jvk0k1g9p9d5hbdrwpz2693a8ajyvhhib"))))
(build-system gnu-build-system)
(native-inputs
(list m4 ocaml))
@@ -1808,57 +1830,59 @@ module of this library is parameterised by the type of S-expressions.")
(propagated-inputs
(list ocaml-ppx-derivers ocamlbuild ocaml-result))
(properties `((upstream-name . "ocaml-migrate-parsetree")
- ;; OCaml 4.07 packages require version 1.*
- (ocaml4.07-variant . ,(delay (package-with-ocaml4.07 ocaml-migrate-parsetree-1)))))
+ (ocaml4.07-variant . ,(delay ocaml4.07-migrate-parsetree))))
(synopsis "OCaml parsetree converter")
(description "This library converts between parsetrees of different OCaml
versions. For each version, there is a snapshot of the parsetree and conversion
functions to the next and/or previous version.")
(license license:lgpl2.1+)))
-(define-public ocaml-migrate-parsetree-1
- (package
- (inherit ocaml-migrate-parsetree)
- (name "ocaml-migrate-parsetree-1")
- (version "1.8.0")
- (home-page "https://github.com/ocaml-ppx/ocaml-migrate-parsetree")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url home-page)
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "16x8sxc4ygxrr1868qpzfqyrvjf3hfxvjzmxmf6ibgglq7ixa2nq"))))
- (properties '((upstream-name . "ocaml-migrate-parsetree")))))
+;; OCaml 4.07 packages require version 1.*
+(define-public ocaml4.07-migrate-parsetree
+ (package-with-ocaml4.07
+ (package
+ (inherit ocaml-migrate-parsetree)
+ (name "ocaml-migrate-parsetree")
+ (version "1.8.0")
+ (home-page "https://github.com/ocaml-ppx/ocaml-migrate-parsetree")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "16x8sxc4ygxrr1868qpzfqyrvjf3hfxvjzmxmf6ibgglq7ixa2nq"))))
+ (properties '((upstream-name . "ocaml-migrate-parsetree"))))))
-(define-public ocaml-ppx-tools-versioned
- (package
- (name "ocaml-ppx-tools-versioned")
- (version "5.4.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/ocaml-ppx/ppx_tools_versioned")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "07lnj4yzwvwyh5fhpp1dxrys4ddih15jhgqjn59pmgxinbnddi66"))))
- (build-system dune-build-system)
- (arguments
- `(#:test-target "."
- #:package "ppx_tools_versioned"))
- (propagated-inputs
- `(("ocaml-migrate-parsetree" ,ocaml-migrate-parsetree-1)))
- (properties `((upstream-name . "ppx_tools_versioned")))
- (home-page "https://github.com/let-def/ppx_tools_versioned")
- (synopsis "Variant of ppx_tools")
- (description "This package is a variant of ppx_tools based on
+(define-public ocaml4.07-ppx-tools-versioned
+ (package-with-ocaml4.07
+ (package
+ (name "ocaml-ppx-tools-versioned")
+ (version "5.4.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ocaml-ppx/ppx_tools_versioned")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "07lnj4yzwvwyh5fhpp1dxrys4ddih15jhgqjn59pmgxinbnddi66"))))
+ (build-system dune-build-system)
+ (arguments
+ `(#:test-target "."
+ #:package "ppx_tools_versioned"))
+ (propagated-inputs
+ (list ocaml-migrate-parsetree))
+ (properties `((upstream-name . "ppx_tools_versioned")))
+ (home-page "https://github.com/let-def/ppx_tools_versioned")
+ (synopsis "Variant of ppx_tools")
+ (description "This package is a variant of ppx_tools based on
ocaml-migrate-parsetree")
- (license license:expat)))
+ (license license:expat))))
(define-public ocaml-bitstring
(package
@@ -1911,7 +1935,7 @@ powerful.")
(base32
"15jjk2pq1vx311gl49s5ag6x5y0654x35w75z07g7kr2q334hqps"))))
(propagated-inputs
- `(("ocaml-ppx-tools-versioned" ,ocaml-ppx-tools-versioned)))
+ `(("ocaml-ppx-tools-versioned" ,ocaml4.07-ppx-tools-versioned)))
(properties '()))))
(define-public ocaml-result
@@ -2549,14 +2573,14 @@ message report is decoupled from logging and is handled by a reporter.")
(define-public ocaml-fpath
(package
(name "ocaml-fpath")
- (version "0.7.2")
+ (version "0.7.3")
(source (origin
(method url-fetch)
(uri (string-append "http://erratique.ch/software/fpath/releases/"
"fpath-" version ".tbz"))
(sha256
(base32
- "1hr05d8bpqmqcfdavn4rjk9rxr7v2zl84866f5knjifrm60sxqic"))))
+ "03z7mj0sqdz465rc4drj1gr88l9q3nfs374yssvdjdyhjbqqzc0j"))))
(build-system ocaml-build-system)
(arguments
`(#:tests? #f
@@ -2749,7 +2773,7 @@ and consumable.")
(base32
"05f6qa8x3vhpdz1fcnpqk37fpnyyq13icqsk2gww5idjnh6kng26"))))
(propagated-inputs
- `(("ocaml-ppx-tools-versioned" ,ocaml-ppx-tools-versioned)
+ `(("ocaml-ppx-tools-versioned" ,ocaml4.07-ppx-tools-versioned)
,@(package-propagated-inputs ocaml-sedlex)))
(properties '()))))
@@ -3146,7 +3170,7 @@ is used to determine whether the results truly differ.")
(define-public ocaml-batteries
(package
(name "ocaml-batteries")
- (version "3.3.0")
+ (version "3.4.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -3155,7 +3179,7 @@ is used to determine whether the results truly differ.")
(file-name (git-file-name name version))
(sha256
(base32
- "1h03nkc3vajaijqhj1dy5hw85j2hwwxdkg8rvs2fc00qaf44ad1d"))))
+ "1cd7475n1mxhq482aidmhh27mq5p2vmb8d9fkb1mlza9pz5z66yq"))))
(build-system ocaml-build-system)
(propagated-inputs (list ocaml-num))
(native-inputs
@@ -4733,7 +4757,7 @@ format}. @code{craml} is released as a single binary (called @code{craml}).")
(define-public ocaml-dot-merlin-reader
(package
(name "ocaml-dot-merlin-reader")
- (version "4.3.1-411")
+ (version "4.4-413")
(source
(origin
(method git-fetch)
@@ -4743,7 +4767,7 @@ format}. @code{craml} is released as a single binary (called @code{craml}).")
(file-name (git-file-name name version))
(sha256
(base32
- "1nwgc9nyy80dc9cgkskyfwv9c785yjyg39s005d4wiagj4fy68v8"))))
+ "0wijg1vh2q6yr46vkv34vvksligd0ajl4hv7m6qbz3ywqr8akg23"))))
(build-system dune-build-system)
(arguments '(#:package "dot-merlin-reader"
#:tests? #f)) ; no tests
@@ -5840,7 +5864,7 @@ ocaml values.")
("ocaml-ppxlib" ,(package-with-ocaml4.07 ocaml-ppxlib))))
(properties `((upstream-name . "ppx_sexp_message")))
(home-page "https://github.com/janestreet/ppx_sexp_message")
- (synopsis "A ppx rewriter for easy construction of s-expressions")
+ (synopsis "Ppx rewriter for easy construction of s-expressions")
(description "Ppx_sexp_message aims to ease the creation of s-expressions
in OCaml. This is mainly motivated by writing error and debugging messages,
where one needs to construct a s-expression based on various element of the
@@ -6726,7 +6750,7 @@ then run the Bisect_ppx report tool on the generated visitation files.")
"1njs8xc108rrpx5am5zhhcn6vjva7rsphm8034qp5lgyvnhfgh7q"))))
(propagated-inputs
`(("ocaml-migrate-parsetree" ,ocaml-migrate-parsetree)
- ("ocaml-ppx-tools-versioned" ,ocaml-ppx-tools-versioned)
+ ("ocaml-ppx-tools-versioned" ,ocaml4.07-ppx-tools-versioned)
,@(package-propagated-inputs ocaml-bisect-ppx)))
(native-inputs
`(("ocaml-ounit2" ,ocaml-ounit2)))
@@ -6739,7 +6763,7 @@ then run the Bisect_ppx report tool on the generated visitation files.")
(define-public ocaml-odoc
(package
(name "ocaml-odoc")
- (version "2.0.0")
+ (version "2.0.2")
(source
(origin
(method git-fetch)
@@ -6748,7 +6772,7 @@ then run the Bisect_ppx report tool on the generated visitation files.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0lkmanfn8pc0rgcn9cc4mv48i29q2w1nl01n21qqxpyyfavgc98s"))))
+ (base32 "06rm1bhfp2yvkvidksndwii9v074r0lc9sqfp60q8mfcfd7pj7rx"))))
(build-system dune-build-system)
(arguments
`(#:phases
@@ -7615,7 +7639,7 @@ libraries.")
(define-public js-of-ocaml
(package
(name "js-of-ocaml")
- (version "3.9.1")
+ (version "3.11.0")
(source
(origin
(method git-fetch)
@@ -7624,9 +7648,20 @@ libraries.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "00hdjaj94j3nc6f6wbbpx59h4yc79siphs34i1hry11r56paaqyk"))))
+ (base32 "1x5f1ph9wgx0mgyibssssnrcwp69ihw66gzhsnz9h79czgzyjpp2"))))
(build-system dune-build-system)
- (arguments `(#:test-target "."))
+ (arguments
+ `(#:test-target "."
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'fix-failing-test
+ (lambda _
+ ;; Formating difference
+ (with-output-to-file "compiler/tests-jsoo/bin/error2.expected"
+ (lambda _
+ (format #t
+ "Fatal error: exception Match_failure(\
+\"compiler/tests-jsoo/bin/error2.ml\", 11, 2)\n\n"))))))))
(propagated-inputs
(list ocaml-ppxlib
ocaml-uchar
diff --git a/gnu/packages/openldap.scm b/gnu/packages/openldap.scm
index b0ce899696..c8a47e45d5 100644
--- a/gnu/packages/openldap.scm
+++ b/gnu/packages/openldap.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2020 Lars-Dominik Braun <ldb@leibniz-psychology.org>
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -54,6 +55,7 @@
#:use-module (gnu packages)
#:use-module ((guix licenses) #:select (openldap2.8 lgpl2.1+ gpl3+ psfl expat))
#:use-module (guix packages)
+ #:use-module (guix gexp)
#:use-module (guix utils)
#:use-module (guix download)
#:use-module (guix build-system gnu)
@@ -120,6 +122,48 @@
(license openldap2.8)
(home-page "https://www.openldap.org/")))
+;; TODO: Update the main package in the next rebuild cycle.
+(define-public openldap-2.6
+ (package
+ (inherit openldap)
+ (version "2.6.1")
+ (source (origin
+ (method url-fetch)
+ ;; See <http://www.openldap.org/software/download/> for a list of
+ ;; mirrors.
+ (uri (list (string-append
+ "http://mirror.eu.oneandone.net/software/openldap"
+ "/openldap-release/openldap-" version ".tgz")
+ (string-append
+ "https://www.openldap.org/software/download/OpenLDAP/"
+ "openldap-release/openldap-" version ".tgz")
+ (string-append
+ "ftp://ftp.dti.ad.jp/pub/net/OpenLDAP/"
+ "openldap-release/openldap-" version ".tgz")))
+ (sha256
+ (base32
+ "1wz6f3g3bbqgbbxs20zlappmmhapqbl791c0waibhz9djsk6wmwx"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments openldap)
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (replace 'patch-sasl-path
+ ;; Give -L arguments for cyrus-sasl to avoid propagation.
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((krb5 (search-input-file inputs "/lib/libkrb5.so")))
+ (substitute* (string-append #$output "/lib/libldap.la")
+ (("-lkrb5" lib)
+ (string-append "-L" (dirname krb5) "/lib " lib))))))
+ (add-after 'install 'provide-ldap_r
+ (lambda _
+ ;; The re-entrant libldap_r no longer exists since 2.6
+ ;; as it has become the default: provide a linker alias
+ ;; for now.
+ (call-with-output-file (string-append #$output
+ "/lib/libldap_r.so")
+ (lambda (port)
+ (format port "INPUT ( libldap.so )~%")))))))))))
+
(define-public nss-pam-ldapd
(package
(name "nss-pam-ldapd")
@@ -167,30 +211,27 @@ an LDAP server.")
(define-public python-ldap
(package
(name "python-ldap")
- (version "3.3.1")
+ (version "3.4.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "python-ldap" version))
(sha256
(base32
- "198as30xy6p760niqps2zdvq2xcmr765h06pmda8fa9y077wl4a7"))))
+ "04hd7rdm59i7wrykx0nggzxx1p42wkm296j483yy0wayqa7lqik0"))))
(build-system python-build-system)
(arguments
- `(#:phases
+ '(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'configure-openldap-locations
(lambda* (#:key inputs #:allow-other-keys)
- (let ((openldap (assoc-ref inputs "openldap")))
- (setenv "SLAPD"
- (string-append openldap
- "/libexec/slapd"))
- (setenv "SCHEMA"
- (string-append openldap
- "/etc/openldap/schema/")))
- #t)))))
+ (let ((slapd (search-input-file inputs "libexec/slapd"))
+ (schema (search-input-directory
+ inputs "etc/openldap/schema")))
+ (setenv "SLAPD" slapd)
+ (setenv "SCHEMA" schema)))))))
(inputs
- (list openldap cyrus-sasl mit-krb5))
+ (list openldap-2.6 cyrus-sasl mit-krb5))
(propagated-inputs
(list python-pyasn1 python-pyasn1-modules))
(home-page "https://www.python-ldap.org/")
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index b0395fd7d0..4c28bb9283 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -3,9 +3,10 @@
;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016, 2017, 2019, 2021 Clément Lassieur <clement@lassieur.org>
;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
-;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2018, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2022 Tanguy Le Carrour <tanguy@bioneland.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -253,14 +254,14 @@ to docs.openstack.org and developer.openstack.org.")
(define-public python-os-testr
(package
(name "python-os-testr")
- (version "0.8.0")
+ (version "2.0.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "os-testr" version))
(sha256
(base32
- "0mknd9hlmxmihr755gjkxyjp180380jajq5i3zm34q7y7bi62lss"))))
+ "10xaqg3wxly13652hdvh9c69y4s12ird0ircffya3kvpl5pky0pz"))))
(build-system python-build-system)
(arguments
;; os-testr uses itself to run the tests. It seems like pbr writes the
@@ -268,9 +269,9 @@ to docs.openstack.org and developer.openstack.org.")
;; when building the package. Skip the tests for now.
`(#:tests? #f))
(propagated-inputs
- (list python-subunit))
+ (list python-stestr))
(native-inputs
- (list python-pbr python-testtools python-babel))
+ (list python-babel python-pbr python-testrepository python-testtools))
(home-page "https://www.openstack.org/")
(synopsis "Testr wrapper to provide functionality for OpenStack projects")
(description
@@ -363,35 +364,24 @@ common features used in Tempest.")
(define-public python-oslo.config
(package
(name "python-oslo.config")
- (version "5.2.0")
+ (version "8.7.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "oslo.config" version))
(sha256
(base32
- "0ymf7jxbq29fifyvkwhfiys1qvljqfxdw8ajwzwaf3yiqidgpxqd"))))
+ "0q3v4yicqls9zsfxkmh5mrgz9dailaz3ir25p458gj6dg3bldhx0"))))
(build-system python-build-system)
+ (arguments '(#:tests? #f)) ;XXX circular dependency on oslo.log
(propagated-inputs
(list python-debtcollector
python-netaddr
python-oslo.i18n
- python-pbr
python-rfc3986
- python-six
+ python-requests
python-stevedore
python-pyyaml))
- (native-inputs
- (list python-bandit
- python-coverage
- python-mock
- python-openstackdocstheme
- python-oslotest
- python-reno
- python-sphinx
- python-testrepository
- python-testscenarios
- python-testtools))
(home-page "https://launchpad.net/oslo")
(synopsis "Oslo Configuration API")
(description
@@ -449,15 +439,12 @@ pipeline and used by various modules such as logging.")
(base32
"0kjcdw4bk3mi4vqmqwhhq053kxbbbj05si6nwxd1pzx33z067ky3"))))
(build-system python-build-system)
+ (arguments
+ '(#:tests? #f)) ;avoid circular dependency on oslo.config
(propagated-inputs
(list python-babel python-six))
(native-inputs
- (list python-pbr
- ;; Tests
- python-mock
- python-mox3
- python-oslotest
- python-testscenarios))
+ (list python-pbr))
(home-page "https://launchpad.net/oslo")
(synopsis "Oslo internationalization (i18n) library")
(description
@@ -469,19 +456,23 @@ in an application or library.")
(define-public python-oslo.log
(package
(name "python-oslo.log")
- (version "3.36.0")
+ (version "4.6.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "oslo.log" version))
(sha256
(base32
- "0h7hplf1h8k24v75m3mq1jlrl74x5ynyr4hwgffsg5campxnza4x"))))
+ "0dlnxjci9mpwhgfv19fy1z7xrdp8m95skrj5dr60all3pr7n22f6"))))
(build-system python-build-system)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests? (invoke "stestr" "run")))))))
(propagated-inputs
(list python-dateutil
python-debtcollector
- python-monotonic
python-oslo.config
python-oslo.context
python-oslo.i18n
@@ -491,8 +482,7 @@ in an application or library.")
python-pyinotify
python-six))
(native-inputs
- (list python-mock python-oslotest python-subunit
- python-testrepository python-testtools))
+ (list python-fixtures python-oslotest python-stestr python-testtools))
(home-page "https://launchpad.net/oslo")
(synopsis "Python logging library of the Oslo project")
(description
@@ -504,22 +494,25 @@ handlers and support for context specific logging (like resource id’s etc).")
(define-public python-oslo.serialization
(package
(name "python-oslo.serialization")
- (version "2.24.0")
+ (version "4.2.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "oslo.serialization" version))
(sha256
(base32
- "08bxkp98c617y58x630xq44iiffm7f0f3cwh6zbnlkgq0zgh7jk1"))))
+ "10sdgvyb0d3lcmb8b4l5gs40bkfbai08kvsdwp658dxd2yqf21rh"))))
(build-system python-build-system)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests? (invoke "stestr" "run")))))))
(propagated-inputs
- (list python-msgpack python-netaddr python-oslo.utils python-six
- python-pytz))
+ (list python-msgpack python-oslo.utils python-pbr python-pytz))
(native-inputs
- (list python-pbr
- ;; Tests.
- python-mock python-oslo.i18n python-oslotest))
+ ;; For tests.
+ (list python-netaddr python-oslo.i18n python-oslotest python-stestr))
(home-page "https://launchpad.net/oslo")
(synopsis "Oslo serialization library")
(description
@@ -620,35 +613,37 @@ for debugging, and better support for mocking results.")
(define-public python-oslo.utils
(package
(name "python-oslo.utils")
- (version "3.36.2")
+ (version "4.12.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "oslo.utils" version))
(sha256
(base32
- "1ipjcgg9z697wmibhcbg5lqpk5gafakdx4qkff3w255zr0mvw04r"))))
+ "0kfgr6lr3r34nzmkvnyywr0x3lkwpwy35m1dj4rkk3ydqvi1xaip"))))
(build-system python-build-system)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests? (invoke "stestr" "run")))))))
(propagated-inputs
(list python-debtcollector
python-oslo.i18n
python-iso8601
- python-monotonic
python-netaddr
python-netifaces
+ python-pbr
+ python-packaging-next
python-pyparsing
- python-pytz
- python-six))
+ python-pytz))
(native-inputs
- (list python-pbr
- ;; Tests.
- python-bandit
- python-ddt
+ ;; For tests.
+ (list python-ddt
+ python-eventlet
python-fixtures
- python-oslo.config
python-oslotest
- python-mock
- python-testrepository
+ python-stestr
python-testscenarios
python-testtools))
(home-page "https://launchpad.net/oslo")
diff --git a/gnu/packages/orange.scm b/gnu/packages/orange.scm
index efdafe3d45..2b6fc00abc 100644
--- a/gnu/packages/orange.scm
+++ b/gnu/packages/orange.scm
@@ -34,13 +34,13 @@
(define-public python-orange-canvas-core
(package
(name "python-orange-canvas-core")
- (version "0.1.19")
+ (version "0.1.24")
(source
(origin
(method url-fetch)
(uri (pypi-uri "orange-canvas-core" version))
(sha256
- (base32 "03wav2msfm32y8zwq69v1v6qyh1ld76xla2z60avf49yhbwjgwal"))))
+ (base32 "0m3dszdkc5bc80ahcvrqxz8jahs33js9cx1mc6rc9ihysq2ddnfz"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -51,15 +51,13 @@
(substitute* "orangecanvas/application/tests/test_mainwindow.py"
(("test_help_requests") "_test_help_requests"))
(setenv "HOME" "/tmp")
- (setenv "QT_QPA_PLATFORM" "offscreen")
- #t)))))
+ (setenv "QT_QPA_PLATFORM" "offscreen"))))))
(propagated-inputs
(list python-anyqt
python-cachecontrol
python-commonmark
python-dictdiffer
python-docutils
- python-pyqt
python-qasync
python-requests))
(home-page "https://github.com/biolab/orange-canvas-core")
@@ -73,13 +71,13 @@ data-mining application.")
(define-public python-orange-widget-base
(package
(name "python-orange-widget-base")
- (version "4.12.0")
+ (version "4.16.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "orange-widget-base" version))
(sha256
- (base32 "13sy3s8rdqs3i3ghixljpqvnfz81qmbb0kqlasw39zvf39qc22kz"))))
+ (base32 "0a0sijsvzijj71sxq8ckpgz59z1cq9sxn4fya3z23ibdzjzwrsi7"))))
(build-system python-build-system)
(arguments
`(;; unittest fails to load one test, all other tests are passing:
@@ -90,11 +88,10 @@ data-mining application.")
(add-before 'check 'check-setup
(lambda _
(setenv "HOME" "/tmp")
- (setenv "QT_QPA_PLATFORM" "offscreen")
- #t)))))
+ (setenv "QT_QPA_PLATFORM" "offscreen"))))))
(propagated-inputs
(list python-anyqt python-matplotlib python-orange-canvas-core
- python-pyqtgraph))
+ python-pyqtgraph python-typing-extensions))
(home-page "https://github.com/biolab/orange-widget-base")
(synopsis "Base Widget for Orange Canvas")
(description
@@ -105,13 +102,13 @@ GUI based workflow. It is primarily used in the Orange framework.")
(define-public orange
(package
(name "orange")
- (version "3.28.0")
+ (version "3.31.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "Orange3" version))
(sha256
- (base32 "1ac4xjjkx06z10hl7k0zh1z3qhkl5vng15l9jkpkmck9spinbzil"))))
+ (base32 "0jqay46nysgfxldik7f6mfi8iylai2gwfpq60vklrfi1rhqf3pn6"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -128,11 +125,12 @@ GUI based workflow. It is primarily used in the Orange framework.")
;; We use a correct version of PyQtWebEngine, but the build scripts
;; consider it incorrect anyways. Remove the constraint entirely to
;; work around this bug.
- (substitute* "requirements-gui.txt" (("PyQtWebEngine>=5.12") ""))
- #t))
- (add-before 'check 'set-HOME
+ (substitute* "requirements-pyqt.txt" (("PyQtWebEngine>=5.12") ""))))
+ (add-before 'check 'pre-check
;; Tests need a writable home.
- (lambda _ (setenv "HOME" "/tmp") #t))
+ (lambda _
+ (setenv "HOME" "/tmp")
+ (setenv "QT_QPA_PLATFORM" "offscreen")))
(add-after 'install 'wrap-executable
;; Ensure that icons are found at runtime.
(lambda* (#:key inputs outputs #:allow-other-keys)
@@ -140,8 +138,7 @@ GUI based workflow. It is primarily used in the Orange framework.")
(wrap-program (string-append out "/bin/orange-canvas")
`("QT_PLUGIN_PATH" prefix
,(list (string-append (assoc-ref inputs "qtsvg")
- "/lib/qt5/plugins/")))))
- #t)))))
+ "/lib/qt5/plugins/"))))))))))
(native-inputs
(list python-cython))
(inputs
@@ -162,10 +159,12 @@ GUI based workflow. It is primarily used in the Orange framework.")
python-orange-canvas-core
python-orange-widget-base
python-pandas
+ python-pygments
python-pyqt
python-pyqtgraph
python-pyqtwebengine
python-pyyaml
+ python-qtconsole
python-requests
python-scikit-learn
python-scipy
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index 12736c6caf..05795824b5 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -20,6 +20,7 @@
;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 John Kehayias <john.kehayias@protonmail.com>
+;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -62,6 +63,8 @@
#:use-module (gnu packages dbm)
#:use-module (gnu packages docbook)
#:use-module (gnu packages file)
+ #:use-module (gnu packages flex)
+ #:use-module (gnu packages gcc)
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
@@ -70,6 +73,7 @@
#:use-module (gnu packages gtk)
#:use-module (gnu packages guile)
#:use-module (gnu packages guile-xyz)
+ #:use-module (gnu packages hardware)
#:use-module (gnu packages hurd)
#:use-module (gnu packages imagemagick)
#:use-module (gnu packages less)
@@ -77,6 +81,7 @@
#:use-module (gnu packages linux)
#:use-module (gnu packages lisp)
#:use-module (gnu packages man)
+ #:use-module (gnu packages markup)
#:use-module (gnu packages nettle)
#:use-module (gnu packages networking)
#:use-module (gnu packages ninja)
@@ -142,13 +147,17 @@
;; Instead, please push one commit that rolls back Guix to before the mistake,
;; and then another that points to the first one. That way, the faulty commit
;; won't appear on the linked list.
+;;
+;; If you are updating this package because it fails to build, you need to
+;; actually update it *twice*, as the installer is pointing to the N-1 guix
+;; package revision.
(define-public guix
;; Latest version of Guix, which may or may not correspond to a release.
;; Note: the 'update-guix-package.scm' script expects this definition to
;; start precisely like this.
(let ((version "1.3.0")
- (commit "10ceb3e84654e024f14a4b048e7d68492ed9dc7c")
- (revision 16))
+ (commit "a27e47f9d1e22dc32bb250cfeef88cfacb930e23")
+ (revision 23))
(package
(name "guix")
@@ -164,7 +173,7 @@
(commit commit)))
(sha256
(base32
- "13gdj1fdjx4i0ylijv3qz5q0mmf4wbdhayifxrhzh2ng9idqhd0j"))
+ "12jmvagbw05hmmlrb82i0qazhlv7mcfnl4dmknwx3a9hd760g9y1"))
(file-name (string-append "guix-" version "-checkout"))))
(build-system gnu-build-system)
(arguments
@@ -328,10 +337,11 @@ $(prefix)/etc/openrc\n")))
(ssh (assoc-ref inputs "guile-ssh"))
(gnutls (assoc-ref inputs "gnutls"))
(disarchive (assoc-ref inputs "disarchive"))
+ (lzma (assoc-ref inputs "guile-lzma"))
(locales (assoc-ref inputs "glibc-utf8-locales"))
(deps (list gcrypt json sqlite gnutls git
bs ssh zlib lzlib zstd guile-lib
- disarchive))
+ disarchive lzma))
(deps* (if avahi (cons avahi deps) deps))
(effective
(read-line
@@ -434,6 +444,7 @@ $(prefix)/etc/openrc\n")))
("bootstrap/xz" ,(bootstrap-executable "xz" (%current-system)))
("disarchive" ,disarchive) ;for 'guix perform-download'
+ ("guile-lzma" ,guile-lzma) ;for Disarchive
("glibc-utf8-locales" ,glibc-utf8-locales)))
(propagated-inputs
@@ -651,41 +662,62 @@ GTK icon cache for instance.")))
(define-public nix
(package
(name "nix")
- (version "2.3.16")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://releases.nixos.org/nix/nix-"
- version "/nix-" version ".tar.xz"))
- (sha256
- (base32
- "1g5aqavr6i3c1xln53w1pdh1kvlxrpnknb105m4jbd85kyv83rky"))))
+ (version "2.5.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "http://github.com/NixOS/nix")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1m8rmv8i6lg83pmalvjlq1fn8mcghn3ngjv3kw1kqsa45ymj5sqq"))
+ (patches
+ (search-patches "nix-dont-build-html-doc.diff"))))
(build-system gnu-build-system)
(arguments
- `(#:configure-flags '("--sysconfdir=/etc" "--enable-gc")
- #:phases
- (modify-phases %standard-phases
- (replace 'install
- ;; Don't try & fail to create subdirectories in /etc, but keep them
- ;; in the output as examples.
- (lambda* (#:key (make-flags '()) outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (etc (string-append out "/etc")))
- (apply invoke "make" "install"
- (string-append "sysconfdir=" etc)
- (string-append "profiledir=" etc "/profile.d")
- make-flags)))))))
- (native-inputs (list pkg-config))
- (inputs (list boost
- brotli
- bzip2
- curl
- editline
- libgc
- libseccomp
- libsodium
- openssl
- sqlite
- xz))
+ (list
+ #:configure-flags #~(list "--sysconfdir=/etc" "--enable-gc")
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'install
+ ;; Don't try & fail to create subdirectories in /etc, but keep them
+ ;; in the output as examples.
+ (lambda* (#:key (make-flags '()) outputs #:allow-other-keys)
+ (let ((etc (string-append #$output "/etc")))
+ (apply invoke "make" "install"
+ (string-append "sysconfdir=" etc)
+ (string-append "profiledir=" etc "/profile.d")
+ make-flags)))))))
+ (native-inputs
+ (list autoconf
+ autoconf-archive
+ automake
+ bison
+ flex
+ googletest
+ jq
+ libtool
+ pkg-config))
+ (inputs
+ (append (list boost
+ brotli
+ bzip2
+ curl
+ editline
+ libarchive
+ libgc
+ libseccomp
+ libsodium
+ lowdown
+ openssl
+ sqlite
+ xz
+ zlib)
+ (if (or (target-x86-64?)
+ (target-x86-32?))
+ (list libcpuid)
+ '())))
(home-page "https://nixos.org/nix/")
(synopsis "The Nix package manager")
(description
@@ -1228,8 +1260,8 @@ environments.")
(license (list license:gpl3+ license:agpl3+ license:silofl1.1))))
(define-public guix-build-coordinator
- (let ((commit "226ec0f0f8a10842ffdd50dd464be33b2db45563")
- (revision "40"))
+ (let ((commit "048c609667f1690fe0a8d8c9b772f9bc6dd412e0")
+ (revision "47"))
(package
(name "guix-build-coordinator")
(version (git-version "0" revision commit))
@@ -1240,7 +1272,7 @@ environments.")
(commit commit)))
(sha256
(base32
- "1sxvp7j5xypk6zlrs5y21lwx12h5r0c35ia9wqf0cyq8wjjaagh8"))
+ "13sf3gv1jdaq6ncyw4s58zw0l2xjnksqjynlbqzx08i45xpj5yv8"))
(file-name (string-append name "-" version "-checkout"))))
(build-system gnu-build-system)
(arguments
@@ -1317,41 +1349,41 @@ environments.")
#t))
(delete 'strip)))) ; As the .go files aren't compatible
(native-inputs
- `(("pkg-config" ,pkg-config)
- ("autoconf" ,autoconf)
- ("automake" ,automake)
- ("gnutls" ,gnutls)
-
- ;; Guile libraries are needed here for cross-compilation.
- ("guile-json" ,guile-json-4)
- ("guile-gcrypt" ,guile-gcrypt)
- ("guix" ,guix)
- ("guile-prometheus" ,guile-prometheus)
- ("guile-fibers" ,guile-fibers)
- ("guile-lib" ,guile-lib)
- ("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))))
+ (list pkg-config
+ autoconf
+ automake
+ gnutls
+
+ ;; Guile libraries are needed here for cross-compilation.
+ guile-json-4
+ guile-gcrypt
+ guix
+ guile-prometheus
+ guile-fibers
+ guile-lib
+ (first (assoc-ref (package-native-inputs guix) "guile"))))
(inputs
- `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
- ,@(if (%current-target-system)
- `(("bash" ,bash-minimal))
- '())
- ("sqlite" ,sqlite)
- ,@(if (hurd-target?)
- '()
- `(("sqitch" ,sqitch)))))
+ (append
+ (list (first (assoc-ref (package-native-inputs guix) "guile"))
+ sqlite
+ bash-minimal)
+ (if (hurd-target?)
+ '()
+ (list sqitch))))
(propagated-inputs
- `(,@(if (hurd-target?)
- '()
- `(("guile-fibers" ,guile-fibers)))
- ("guile-prometheus" ,guile-prometheus)
- ("guile-gcrypt" ,guile-gcrypt)
- ("guile-json" ,guile-json-4)
- ("guile-lib" ,guile-lib)
- ("guile-lzlib" ,guile-lzlib)
- ("guile-zlib" ,guile-zlib)
- ("guile-sqlite3" ,guile-sqlite3)
- ("guix" ,guix)
- ("gnutls" ,gnutls)))
+ (append
+ (list guile-prometheus
+ guile-gcrypt
+ guile-json-4
+ guile-lib
+ guile-lzlib
+ guile-zlib
+ guile-sqlite3
+ guix
+ gnutls)
+ (if (hurd-target?)
+ '()
+ (list guile-fibers))))
(home-page "https://git.cbaines.net/guix/build-coordinator/")
(synopsis "Tool to help build derivations")
(description
@@ -1360,6 +1392,100 @@ potentially many machines, and with doing something with the results and
outputs of those builds.")
(license license:gpl3+))))
+(define-public guix-build-coordinator/agent-only
+ (package
+ (inherit guix-build-coordinator)
+ (name "guix-build-coordinator-agent-only")
+ (arguments
+ `(#:modules (((guix build guile-build-system)
+ #:select (target-guile-effective-version))
+ ,@%gnu-build-system-modules)
+ #:imported-modules ((guix build guile-build-system)
+ ,@%gnu-build-system-modules)
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'set-GUILE_AUTO_COMPILE
+ (lambda _
+ ;; To avoid warnings relating to 'guild'.
+ (setenv "GUILE_AUTO_COMPILE" "0")
+ #t))
+ (add-after 'install 'wrap-executable
+ (lambda* (#:key inputs outputs target #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin"))
+ (guile (assoc-ref inputs "guile"))
+ (version (target-guile-effective-version))
+ (scm (string-append out "/share/guile/site/" version))
+ (go (string-append out "/lib/guile/" version "/site-ccache")))
+ (for-each
+ (lambda (file)
+ (simple-format (current-error-port) "wrapping: ~A\n" file)
+ (let ((guile-inputs (list
+ "guile-json"
+ "guile-gcrypt"
+ "guix"
+ "guile-prometheus"
+ "guile-lib"
+ "guile-lzlib"
+ "guile-zlib"
+ "guile-sqlite3"
+ "gnutls")))
+ (wrap-program file
+ `("PATH" ":" prefix (,bin))
+ `("GUILE_LOAD_PATH" ":" prefix
+ (,scm ,(string-join
+ (map (lambda (input)
+ (simple-format
+ #f "~A/share/guile/site/~A"
+ (assoc-ref inputs input)
+ version))
+ guile-inputs)
+ ":")))
+ `("GUILE_LOAD_COMPILED_PATH" ":" prefix
+ (,go ,(string-join
+ (map (lambda (input)
+ (simple-format
+ #f "~A/lib/guile/~A/site-ccache"
+ (assoc-ref inputs input)
+ version))
+ guile-inputs)
+ ":"))))))
+ (find-files bin)))
+ #t))
+ (delete 'strip)))) ; As the .go files aren't compatible
+ (native-inputs
+ (list pkg-config
+ autoconf
+ automake
+ gnutls
+
+ ;; Guile libraries are needed here for cross-compilation.
+ guile-json-4
+ guile-gcrypt
+ guix
+ guile-prometheus
+ guile-lib
+ (first (assoc-ref (package-native-inputs guix) "guile"))))
+ (inputs
+ (list (first (assoc-ref (package-native-inputs guix) "guile"))
+ bash-minimal))
+ (propagated-inputs
+ (append
+ (list guile-prometheus
+ guile-gcrypt
+ guile-json-4
+ guile-lib
+ guile-lzlib
+ guile-zlib
+ guix
+ gnutls)))
+ (description
+ "The Guix Build Coordinator helps with performing lots of builds across
+potentially many machines, and with doing something with the results and
+outputs of those builds.
+
+This package just includes the agent component.")))
+
(define-public guix-jupyter
(package
(name "guix-jupyter")
@@ -1441,6 +1567,113 @@ such as @code{python-ipykernel} on behalf of the notebook user and runs them
in an isolated environment, in separate namespaces.")
(license license:gpl3+)))
+(define-public nar-herder
+ (let ((commit "049dfec287fa948cac6682d0a047bc0ed356f0bf")
+ (revision "1"))
+ (package
+ (name "nar-herder")
+ (version (git-version "0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.cbaines.net/git/guix/nar-herder")
+ (commit commit)))
+ (sha256
+ (base32
+ "1bkn6avcyp2rcrqaync65b8yn9dvxlkjpk3mdk5nsy527dzhs5ws"))
+ (file-name (string-append name "-" version "-checkout"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:modules (((guix build guile-build-system)
+ #:select (target-guile-effective-version))
+ ,@%gnu-build-system-modules)
+ #:imported-modules ((guix build guile-build-system)
+ ,@%gnu-build-system-modules)
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'set-GUILE_AUTO_COMPILE
+ (lambda _
+ ;; To avoid warnings relating to 'guild'.
+ (setenv "GUILE_AUTO_COMPILE" "0")))
+ (add-after 'install 'wrap-executable
+ (lambda* (#:key inputs outputs target #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin"))
+ (guile (assoc-ref inputs "guile"))
+ (version (target-guile-effective-version))
+ (scm (string-append out "/share/guile/site/" version))
+ (go (string-append out "/lib/guile/" version "/site-ccache")))
+ (for-each
+ (lambda (file)
+ (simple-format (current-error-port) "wrapping: ~A\n" file)
+ (let ((guile-inputs (list
+ "guile-json"
+ "guile-gcrypt"
+ "guix"
+ "guile-lib"
+ "guile-sqlite3"
+ "gnutls"
+ "guile-fibers")))
+ (wrap-program file
+ `("GUILE_LOAD_PATH" ":" prefix
+ (,scm ,(string-join
+ (map (lambda (input)
+ (string-append
+ (assoc-ref inputs input)
+ "/share/guile/site/"
+ version))
+ guile-inputs)
+ ":")))
+ `("GUILE_LOAD_COMPILED_PATH" ":" prefix
+ (,go ,(string-join
+ (map (lambda (input)
+ (string-append
+ (assoc-ref inputs input)
+ "/lib/guile/" version "/site-ccache"))
+ guile-inputs)
+ ":"))))))
+ (find-files bin)))
+ #t))
+ (delete 'strip)))) ; As the .go files aren't compatible
+ (native-inputs
+ (list pkg-config
+ autoconf
+ automake
+ gnutls
+
+ ;; Guile libraries are needed here for cross-compilation.
+ guile-3.0
+ guile-json-4
+ guile-gcrypt
+ guix
+ guile-fibers
+ guile-lib
+ guile-sqlite3))
+ (inputs
+ (list bash-minimal
+ guile-3.0))
+ (propagated-inputs
+ (list guile-json-4
+ guile-gcrypt
+ guix
+ guile-fibers
+ guile-lib
+ guile-sqlite3
+ gnutls))
+ (home-page "https://git.cbaines.net/guix/nar-herder")
+ (synopsis "Utility for managing and serving nars")
+ (description
+ "The Nar Herder is a utility for managing a collection of
+nars (normalized archives, in the context of Guix) along with the
+corresponding narinfo files which contain some signed metadata.
+
+It can assist in serving a collection of nars, moving them between machines,
+or mirroring an existing collection of nars.
+
+It's currently a working prototype, many designed features aren't implemented,
+and the error handling is very rough.")
+ (license license:agpl3+))))
+
(define-public gcab
(package
(name "gcab")
@@ -1502,7 +1735,7 @@ for packaging and deployment of cross-compiled Windows applications.")
(define-public libostree
(package
(name "libostree")
- (version "2021.6")
+ (version "2022.1")
(source
(origin
(method url-fetch)
@@ -1510,7 +1743,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 "0cgmnjf4mr4wn4fliq6ncs0q9qwblrlizjfhx57p7m332g5k21p8"))))
+ (base32 "1mfakwm0sjvb1vvl3jhc451yyf723k7c4vv1yqs8law4arw0x823"))))
(build-system gnu-build-system)
(arguments
'(#:phases
@@ -1527,23 +1760,23 @@ for packaging and deployment of cross-compiled Windows applications.")
;; tap-driver.sh: fatal: I/O or internal error
#:tests? #f))
(native-inputs
- `(("attr" ,attr) ; for tests
- ("bison" ,bison)
- ("glib:bin" ,glib "bin") ; for 'glib-mkenums'
- ("gobject-introspection" ,gobject-introspection)
- ("pkg-config" ,pkg-config)
- ("xsltproc" ,libxslt)))
+ (list attr ; for tests
+ bison
+ `(,glib "bin") ; for 'glib-mkenums'
+ gobject-introspection
+ pkg-config
+ libxslt))
(inputs
- `(("avahi" ,avahi)
- ("docbook-xml" ,docbook-xml-4.2)
- ("docbook-xsl" ,docbook-xsl)
- ("e2fsprogs" ,e2fsprogs)
- ("fuse" ,fuse)
- ("glib" ,glib)
- ("gpgme" ,gpgme)
- ("libarchive" ,libarchive)
- ("libsoup" ,libsoup-minimal-2) ; needs libsoup-2.4
- ("util-linux" ,util-linux)))
+ (list avahi
+ docbook-xml
+ docbook-xsl
+ e2fsprogs
+ fuse
+ glib
+ gpgme
+ libarchive
+ libsoup-minimal-2 ; needs libsoup-2.4
+ util-linux))
(home-page "https://ostree.readthedocs.io/en/latest/")
(synopsis "Operating system and container binary deployment and upgrades")
(description
@@ -1556,14 +1789,14 @@ the boot loader configuration.")
(define-public flatpak
(package
(name "flatpak")
- (version "1.12.1")
+ (version "1.12.3")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/flatpak/flatpak/releases/download/"
version "/flatpak-" version ".tar.xz"))
(sha256
- (base32 "0my82ijg1ipa4lwrvh88jlrxbabfqfz2ssfb8cn6k0pfgz53p293"))
+ (base32 "0sbvywfc57sb58maxins4sg7rfwrm1wcgw68069qbsyp8wrz45fp"))
(patches (search-patches "flatpak-fix-path.patch"))))
;; Wrap 'flatpak' so that GIO_EXTRA_MODULES is set, thereby allowing GIO to
@@ -1601,8 +1834,7 @@ cp -r /tmp/locale/*/en_US.*")))
#t))
(add-after 'unpack 'p11-kit-fix
(lambda* (#:key inputs #:allow-other-keys)
- (let ((p11-path (string-append (assoc-ref inputs "p11-kit-next")
- "/bin/p11-kit")))
+ (let ((p11-path (search-input-file inputs "/bin/p11-kit")))
(substitute* "session-helper/flatpak-session-helper.c"
(("\"p11-kit\",")
(string-append "\"" p11-path "\","))
@@ -1616,38 +1848,37 @@ cp -r /tmp/locale/*/en_US.*")))
(setenv "HOME" "/tmp")
(invoke "make" "check"
"TESTS=tests/test-basic.sh tests/test-config.sh testcommon"))))))
- (native-inputs
- `(("bison" ,bison)
- ("dbus" ,dbus) ; for dbus-daemon
- ("gettext" ,gettext-minimal)
- ("glib:bin" ,glib "bin") ; for glib-mkenums + gdbus-codegen
- ("glibc-utf8-locales" ,glibc-utf8-locales)
- ("gobject-introspection" ,gobject-introspection)
- ("libcap" ,libcap)
- ("pkg-config" ,pkg-config)
- ("python" ,python)
- ("python-pyparsing" ,python-pyparsing)
- ("socat" ,socat)
- ("which" ,which)))
- (propagated-inputs (list glib-networking gnupg
- gsettings-desktop-schemas))
+ (native-inputs
+ (list bison
+ dbus ; for dbus-daemon
+ gettext-minimal
+ `(,glib "bin") ; for glib-mkenums + gdbus-codegen
+ glibc-utf8-locales
+ gobject-introspection
+ libcap
+ pkg-config
+ python
+ python-pyparsing
+ socat
+ which))
(inputs
- `(("appstream-glib" ,appstream-glib)
- ("bubblewrap" ,bubblewrap)
- ("dconf" ,dconf)
- ("fuse" ,fuse)
- ("gdk-pixbuf" ,gdk-pixbuf)
- ("gpgme" ,gpgme)
- ("json-glib" ,json-glib)
- ("libarchive" ,libarchive)
- ("libostree" ,libostree)
- ("libseccomp" ,libseccomp)
- ("libsoup" ,libsoup-minimal-2)
- ("libxau" ,libxau)
- ("libxml2" ,libxml2)
- ("p11-kit-next" ,p11-kit-next)
- ("util-linux" ,util-linux)
- ("xdg-dbus-proxy" ,xdg-dbus-proxy)))
+ (list appstream-glib
+ bubblewrap
+ dconf
+ fuse
+ gdk-pixbuf
+ gpgme
+ json-glib
+ libarchive
+ libostree
+ libseccomp
+ libsoup-minimal-2
+ libxau
+ libxml2
+ p11-kit-next
+ util-linux
+ xdg-dbus-proxy))
+ (propagated-inputs (list glib-networking gnupg gsettings-desktop-schemas))
(home-page "https://flatpak.org")
(synopsis "System for building, distributing, and running sandboxed desktop
applications")
diff --git a/gnu/packages/pantheon.scm b/gnu/packages/pantheon.scm
index 87d292d2c7..756db94144 100644
--- a/gnu/packages/pantheon.scm
+++ b/gnu/packages/pantheon.scm
@@ -26,6 +26,7 @@
#:use-module (gnu packages gtk)
#:use-module (gnu packages package-management)
#:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages python)
#:use-module (gnu packages xml)
#:use-module (gnu packages)
#:use-module (guix build-system meson)
@@ -37,7 +38,7 @@
(define-public granite
(package
(name "granite")
- (version "5.5.0")
+ (version "6.2.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -46,24 +47,16 @@
(file-name (git-file-name name version))
(sha256
(base32
- "13qfhq8xndikk6kmybibs6a4ddyp6mhvbsp2yy4qr7aiiyxf7mna"))))
+ "0ilslmg63hh2x7h5rvs3mhzw1y9ixhhkqnn1j1lzwm12v2iidkaq"))))
(build-system meson-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'disable-icon-cache
- (lambda _
- (setenv "DESTDIR" "/")
- #t)))))
- (inputs
- `(("glib" ,glib)
- ("gtk" ,gtk+)
- ("libgee" ,libgee)))
- (native-inputs
- `(("gettext" ,gettext-minimal)
- ("gobject-introspection" ,gobject-introspection)
- ("pkg-config" ,pkg-config)
- ("vala" ,vala)))
+ `(#:phases (modify-phases %standard-phases
+ (add-after 'unpack 'disable-icon-cache
+ (lambda _
+ (setenv "DESTDIR" "/"))))))
+ (inputs (list glib gtk+ libgee))
+ (native-inputs (list gettext-minimal gobject-introspection pkg-config
+ python vala))
(home-page "https://github.com/elementary/granite")
(synopsis "Library that extends GTK with common widgets and utilities")
(description "Granite is a companion library for GTK+ and GLib. Among other
diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm
index a31d64f66b..a6bee71aec 100644
--- a/gnu/packages/parallel.scm
+++ b/gnu/packages/parallel.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014, 2020 Eric Bavier <bavier@posteo.net>
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
-;;; Copyright © 2015, 2016, 2017, 2018, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2015, 2016, 2017, 2018, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Pjotr Prins <pjotr.guix@thebird.nl>
;;; Copyright © 2016 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2016, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
@@ -61,14 +61,14 @@
(define-public parallel
(package
(name "parallel")
- (version "20211122")
+ (version "20220122")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://gnu/parallel/parallel-"
version ".tar.bz2"))
(sha256
- (base32 "0blnv1mpnlc949m5r4hg1smmsmyyzna0izhqg0dcp92n5hr5dcj8"))))
+ (base32 "003y6f3bidfzd2jcswl7sk3a69fnvy0pjns4v0m5gjib84hil8mq"))))
(build-system gnu-build-system)
(arguments
`(#:phases
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 0ff8608c9c..83066bb8ce 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Steve Sprang <scs@stevesprang.com>
-;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2015 Aljosha Papsch <misc@rpapsch.de>
;;; Copyright © 2016 Christine Lemmer-Webber <cwebber@dustycloud.org>
;;; Copyright © 2016 Jessica Tallon <tsyesika@tsyesika.se>
@@ -15,7 +15,7 @@
;;; Copyright © 2017, 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2017 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
-;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2018, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2018 Konrad Hinsen <konrad.hinsen@fastmail.net>
;;; Copyright © 2018 Thomas Sigurdsen <tonton@riseup.net>
;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
@@ -29,6 +29,7 @@
;;; Copyright © 2020 Jean-Baptiste Note <jean-baptiste.note@m4x.org>
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at>
;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
@@ -177,6 +178,8 @@ manage your passwords in a secure way. You can put all your passwords in one
database, which is locked with one master key or a key-file which can be stored
on an external storage device. The databases are encrypted using the
algorithms AES or Twofish.")
+ (properties
+ '((release-monitoring-url . "https://github.com/keepassxreboot/keepassxc/releases")))
;; While various parts of the software are licensed under different licenses,
;; the combined work falls under the GPLv3.
(license license:gpl3)))
@@ -482,6 +485,7 @@ any X11 window.")
(sha256
(base32
"17zp9pnb3i9sd2zn9qanngmsywrb7y495ngcqs6313pv3gb83v53"))
+ (patches (search-patches "password-store-tree-compat.patch"))
(file-name (git-file-name name version))))
(build-system gnu-build-system)
(arguments
@@ -500,8 +504,7 @@ any X11 window.")
(string-append " SYSTEM_EXTENSION_DIR=\""
"${PASSWORD_STORE_SYSTEM_EXTENSION_DIR:-"
extension-dir
- "}\"\n"))))
- #t))
+ "}\"\n"))))))
(add-before 'install 'patch-passmenu-path
;; FIXME Wayland support requires ydotool and dmenu-wl packages
;; We are ignoring part of the script that gets executed if
@@ -520,18 +523,18 @@ any X11 window.")
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin")))
- (install-file "contrib/dmenu/passmenu" bin)
- #t)))
+ (install-file "contrib/dmenu/passmenu" bin))))
(add-after 'install 'wrap-path
(lambda* (#:key inputs outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out"))
- (path (map (lambda (pkg)
- (string-append (assoc-ref inputs pkg) "/bin"))
- '("coreutils" "getopt" "git" "gnupg" "qrencode"
- "sed" "tree" "which" "wl-clipboard" "xclip"))))
+ (let* ((out (assoc-ref outputs "out"))
+ (requisites '("getopt" "git" "gpg" "qrencode" "sed"
+ "tree" "which" "wl-copy" "xclip"))
+ (path (map (lambda (pkg)
+ (dirname (search-input-file
+ inputs (string-append "/bin/" pkg))))
+ requisites)))
(wrap-program (string-append out "/bin/pass")
- `("PATH" ":" prefix (,(string-join path ":"))))
- #t))))
+ `("PATH" ":" prefix (,(string-join path ":"))))))))
#:make-flags (list "CC=gcc" (string-append "PREFIX=" %output)
"WITH_ALLCOMP=yes"
(string-append "BASHCOMPDIR="
@@ -546,17 +549,17 @@ any X11 window.")
(separator #f) ;single entry
(files '("lib/password-store/extensions")))))
(inputs
- `(("dmenu" ,dmenu)
- ("getopt" ,util-linux)
- ("git" ,git)
- ("gnupg" ,gnupg)
- ("qrencode" ,qrencode)
- ("sed" ,sed)
- ("tree" ,tree)
- ("which" ,which)
- ("wl-clipboard" ,wl-clipboard)
- ("xclip" ,xclip)
- ("xdotool" ,xdotool)))
+ (list dmenu
+ util-linux
+ git
+ gnupg
+ qrencode
+ sed
+ tree
+ which
+ wl-clipboard
+ xclip
+ xdotool))
(home-page "https://www.passwordstore.org/")
(synopsis "Encrypted password manager")
(description "Password-store is a password manager which uses GnuPG to
diff --git a/gnu/packages/patches/audacity-add-include.patch b/gnu/packages/patches/audacity-add-include.patch
deleted file mode 100644
index a7f27918e7..0000000000
--- a/gnu/packages/patches/audacity-add-include.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Without <sys/time.h>, gettimeofday is undefined.
-
-diff --git a/src/AudioIO.cpp b/src/AudioIO.cpp
-index 0187e3962..e15d55f4c 100644
---- a/src/AudioIO.cpp
-+++ b/src/AudioIO.cpp
-@@ -479,6 +479,8 @@ time warp info and AudioIOListener and whether the playback is looped.
- #include "../lib-src/portmidi/porttime/porttime.h"
- #include "../lib-src/header-substitutes/allegro.h"
-
-+#include <sys/time.h>
-+
- #define MIDI_SLEEP 10 /* milliseconds */
- // how long do we think the thread that fills MIDI buffers,
- // if it is separate from the portaudio thread,
diff --git a/gnu/packages/patches/audacity-build-with-system-portaudio.patch b/gnu/packages/patches/audacity-build-with-system-portaudio.patch
deleted file mode 100644
index 05325a1493..0000000000
--- a/gnu/packages/patches/audacity-build-with-system-portaudio.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-Downloaded from here:
-https://sourceforge.net/p/audacity/mailman/message/36106562/
-
-Modified for use on later versions of audacity.
-
->From 5f9482a191359f2c477763a36d2c865c5f186602 Mon Sep 17 00:00:00 2001
-From: Antonio Ospite <ao2@ao2.it>
-Date: Tue, 7 Nov 2017 13:06:33 +0100
-Subject: [PATCH] Fix building against the system portaudio library
-
-Building against the system portaudio results in this error:
-
-./src/AudioIO.cpp:983: undefined reference to `PaUtil_GetTime'
-audacity-AudioIO.o: In function `audacityAudioCallback(void const*, void*,
-unsigned long, PaStreamCallbackTimeInfo const*, unsigned long, void*)':
-./src/AudioIO.cpp:4630: undefined reference to `PaUtil_GetTime'
-collect2: error: ld returned 1 exit status
-Makefile:2349: recipe for target 'audacity' failed
-make[3]: *** [audacity] Error 1
-
-This is because PaUtil_GetTime is declared as a C symbol in pa_util.h
-but is resolved as a C++ symbol at link time.
-
-Audacity fixes this in the local tree with this change:
-https://github.com/audacity/audacity/commit/38fd97b8e26060332ab3e9e000a8882326a70ba7
-
-However this is not general enough for the portaudio debian package.
-
-Since PaUtil_GetTime() is the only function causing problems, just copy
-over the code where it's used.
----
- src/AudioIO.cpp | 17 ++++++++++++++++-
- 1 file changed, 16 insertions(+), 1 deletion(-)
-
-diff --git a/src/AudioIO.cpp b/src/AudioIO.cpp
-index 48715869c..bb4bf472c 100644
---- a/src/AudioIO.cpp
-+++ b/src/AudioIO.cpp
-@@ -480,9 +480,22 @@ time warp info and AudioIOListener and whether the playback is looped.
- #define ROUND(x) (int) ((x)+0.5)
- //#include <string.h>
- // #include "../lib-src/portmidi/pm_common/portmidi.h"
-- #include "../lib-src/portaudio-v19/src/common/pa_util.h"
- #include "NoteTrack.h"
- #endif
-+PaTime PaUtil_GetTime( void )
-+{
-+#ifdef HAVE_MACH_ABSOLUTE_TIME
-+ return mach_absolute_time() * machSecondsConversionScaler_;
-+#elif defined(HAVE_CLOCK_GETTIME)
-+ struct timespec tp;
-+ clock_gettime(CLOCK_REALTIME, &tp);
-+ return (PaTime)(tp.tv_sec + tp.tv_nsec * 1e-9);
-+#else
-+ struct timeval tv;
-+ gettimeofday( &tv, NULL );
-+ return (PaTime) tv.tv_usec * 1e-6 + tv.tv_sec;
-+#endif
-+}
-
- #ifdef EXPERIMENTAL_AUTOMATED_INPUT_LEVEL_ADJUSTMENT
- #define LOWER_BOUND 0.0
diff --git a/gnu/packages/patches/behave-skip-a-couple-of-tests.patch b/gnu/packages/patches/behave-skip-a-couple-of-tests.patch
deleted file mode 100644
index e3d4e15241..0000000000
--- a/gnu/packages/patches/behave-skip-a-couple-of-tests.patch
+++ /dev/null
@@ -1,462 +0,0 @@
-Fix build with Python 3.8, this is a patch based on upstream commit [1].
-
-1: c000c88eb5239b87f299c85e83b349b0ef387ae7
-
-
-diff --git a/behave.ini b/behave.ini
-index 45c0f0d7..952240d6 100644
---- a/behave.ini
-+++ b/behave.ini
-@@ -15,8 +15,9 @@ show_skipped = false
- format = rerun
- progress3
- outfiles = rerun.txt
-- reports/report_progress3.txt
-+ build/behave.reports/report_progress3.txt
- junit = true
-+junit_directory = build/behave.reports
- logging_level = INFO
- # logging_format = LOG.%(levelname)-8s %(name)-10s: %(message)s
- # logging_format = LOG.%(levelname)-8s %(asctime)s %(name)-10s: %(message)s
-diff --git a/features/environment.py b/features/environment.py
-index 4744e89a..3769ee40 100644
---- a/features/environment.py
-+++ b/features/environment.py
-@@ -1,5 +1,7 @@
- # -*- coding: UTF-8 -*-
-+# FILE: features/environemnt.py
-
-+from __future__ import absolute_import, print_function
- from behave.tag_matcher import ActiveTagMatcher, setup_active_tag_values
- from behave4cmd0.setup_command_shell import setup_command_shell_processors4behave
- import platform
-@@ -20,6 +22,15 @@
- }
- active_tag_matcher = ActiveTagMatcher(active_tag_value_provider)
-
-+
-+def print_active_tags_summary():
-+ active_tag_data = active_tag_value_provider
-+ print("ACTIVE-TAG SUMMARY:")
-+ print("use.with_python.version=%s" % active_tag_data.get("python.version"))
-+ # print("use.with_os=%s" % active_tag_data.get("os"))
-+ print()
-+
-+
- # -----------------------------------------------------------------------------
- # HOOKS:
- # -----------------------------------------------------------------------------
-@@ -30,11 +41,14 @@ def before_all(context):
- setup_python_path()
- setup_context_with_global_params_test(context)
- setup_command_shell_processors4behave()
-+ print_active_tags_summary()
-+
-
- def before_feature(context, feature):
- if active_tag_matcher.should_exclude_with(feature.tags):
- feature.skip(reason=active_tag_matcher.exclude_reason)
-
-+
- def before_scenario(context, scenario):
- if active_tag_matcher.should_exclude_with(scenario.effective_tags):
- scenario.skip(reason=active_tag_matcher.exclude_reason)
-diff --git a/features/step.duplicated_step.feature b/features/step.duplicated_step.feature
-index 59888b0f..396cca27 100644
---- a/features/step.duplicated_step.feature
-+++ b/features/step.duplicated_step.feature
-@@ -32,11 +32,11 @@ Feature: Duplicated Step Definitions
- AmbiguousStep: @given('I call Alice') has already been defined in
- existing step @given('I call Alice') at features/steps/alice_steps.py:3
- """
-- And the command output should contain:
-- """
-- File "features/steps/alice_steps.py", line 7, in <module>
-- @given(u'I call Alice')
-- """
-+ # -- DISABLED: Python 3.8 traceback line numbers differ w/ decorators (+1).
-+ # And the command output should contain:
-+ # """
-+ # File "features/steps/alice_steps.py", line 7, in <module>
-+ # """
-
-
- Scenario: Duplicated Step Definition in another File
-@@ -70,11 +70,11 @@ Feature: Duplicated Step Definitions
- AmbiguousStep: @given('I call Bob') has already been defined in
- existing step @given('I call Bob') at features/steps/bob1_steps.py:3
- """
-- And the command output should contain:
-- """
-- File "features/steps/bob2_steps.py", line 3, in <module>
-- @given('I call Bob')
-- """
-+ # -- DISABLED: Python 3.8 traceback line numbers differ w/ decorators (+1).
-+ # And the command output should contain:
-+ # """
-+ # File "features/steps/bob2_steps.py", line 3, in <module>
-+ # """
-
- @xfail
- Scenario: Duplicated Same Step Definition via import from another File
-diff --git a/issue.features/environment.py b/issue.features/environment.py
-index 2dfec751..7e48ee03 100644
---- a/issue.features/environment.py
-+++ b/issue.features/environment.py
-@@ -1,5 +1,5 @@
- # -*- coding: UTF-8 -*-
--# FILE: features/environment.py
-+# FILE: issue.features/environemnt.py
- # pylint: disable=unused-argument
- """
- Functionality:
-@@ -7,17 +7,20 @@
- * active tags
- """
-
--from __future__ import print_function
-+
-+from __future__ import absolute_import, print_function
- import sys
- import platform
- import os.path
- import six
- from behave.tag_matcher import ActiveTagMatcher
- from behave4cmd0.setup_command_shell import setup_command_shell_processors4behave
--# PREPARED:
--# from behave.tag_matcher import setup_active_tag_values
-+# PREPARED: from behave.tag_matcher import setup_active_tag_values
-
-
-+# ---------------------------------------------------------------------------
-+# TEST SUPPORT: For Active Tags
-+# ---------------------------------------------------------------------------
- def require_tool(tool_name):
- """Check if a tool (an executable program) is provided on this platform.
-
-@@ -45,12 +48,14 @@ def require_tool(tool_name):
- # print("TOOL-NOT-FOUND: %s" % tool_name)
- return False
-
-+
- def as_bool_string(value):
- if bool(value):
- return "yes"
- else:
- return "no"
-
-+
- def discover_ci_server():
- # pylint: disable=invalid-name
- ci_server = "none"
-@@ -67,11 +72,17 @@ def discover_ci_server():
- return ci_server
-
-
-+# ---------------------------------------------------------------------------
-+# BEHAVE SUPPORT: Active Tags
-+# ---------------------------------------------------------------------------
- # -- MATCHES ANY TAGS: @use.with_{category}={value}
- # NOTE: active_tag_value_provider provides category values for active tags.
-+python_version = "%s.%s" % sys.version_info[:2]
- active_tag_value_provider = {
-+ "platform": sys.platform,
- "python2": str(six.PY2).lower(),
- "python3": str(six.PY3).lower(),
-+ "python.version": python_version,
- # -- python.implementation: cpython, pypy, jython, ironpython
- "python.implementation": platform.python_implementation().lower(),
- "pypy": str("__pypy__" in sys.modules).lower(),
-@@ -82,17 +92,33 @@ def discover_ci_server():
- }
- active_tag_matcher = ActiveTagMatcher(active_tag_value_provider)
-
-+
-+def print_active_tags_summary():
-+ active_tag_data = active_tag_value_provider
-+ print("ACTIVE-TAG SUMMARY:")
-+ print("use.with_python.version=%s" % active_tag_data.get("python.version"))
-+ # print("use.with_platform=%s" % active_tag_data.get("platform"))
-+ # print("use.with_os=%s" % active_tag_data.get("os"))
-+ print()
-+
-+
-+# ---------------------------------------------------------------------------
-+# BEHAVE HOOKS:
-+# ---------------------------------------------------------------------------
- def before_all(context):
- # -- SETUP ACTIVE-TAG MATCHER (with userdata):
- # USE: behave -D browser=safari ...
-- # NOT-NEEDED: setup_active_tag_values(active_tag_value_provider,
-- # context.config.userdata)
-+ # NOT-NEEDED:
-+ # setup_active_tag_values(active_tag_value_provider, context.config.userdata)
- setup_command_shell_processors4behave()
-+ print_active_tags_summary()
-+
-
- def before_feature(context, feature):
- if active_tag_matcher.should_exclude_with(feature.tags):
- feature.skip(reason=active_tag_matcher.exclude_reason)
-
-+
- def before_scenario(context, scenario):
- if active_tag_matcher.should_exclude_with(scenario.effective_tags):
- scenario.skip(reason=active_tag_matcher.exclude_reason)
-diff --git a/issue.features/issue0330.feature b/issue.features/issue0330.feature
-index dc1ebe75..81cb6e29 100644
---- a/issue.features/issue0330.feature
-+++ b/issue.features/issue0330.feature
-@@ -70,6 +70,7 @@ Feature: Issue #330: Skipped scenarios are included in junit reports when --no-s
- And note that "bob.feature is skipped"
-
-
-+ @not.with_python.version=3.8
- Scenario: Junit report for skipped feature is created with --show-skipped
- When I run "behave --junit -t @tag1 --show-skipped @alice_and_bob.featureset"
- Then it should pass with:
-@@ -83,6 +84,23 @@ Feature: Issue #330: Skipped scenarios are included in junit reports when --no-s
- <testsuite errors="0" failures="0" name="bob.Bob" skipped="1" tests="1" time="0.0">
- """
-
-+ @use.with_python.version=3.8
-+ Scenario: Junit report for skipped feature is created with --show-skipped
-+ When I run "behave --junit -t @tag1 --show-skipped @alice_and_bob.featureset"
-+ Then it should pass with:
-+ """
-+ 1 feature passed, 0 failed, 1 skipped
-+ """
-+ And a file named "test_results/TESTS-alice.xml" exists
-+ And a file named "test_results/TESTS-bob.xml" exists
-+ And the file "test_results/TESTS-bob.xml" should contain:
-+ """
-+ <testsuite name="bob.Bob" tests="1" errors="0" failures="0" skipped="1" time="0.0">
-+ """
-+ # -- HINT FOR: Python < 3.8
-+ # <testsuite errors="0" failures="0" name="bob.Bob" skipped="1" tests="1" time="0.0">
-+
-+ @not.with_python.version=3.8
- Scenario: Junit report for skipped scenario is neither shown nor counted with --no-skipped
- When I run "behave --junit -t @tag1 --no-skipped"
- Then it should pass with:
-@@ -102,7 +120,30 @@ Feature: Issue #330: Skipped scenarios are included in junit reports when --no-s
- """
- And note that "Charly2 is the skipped scenarion in charly.feature"
-
-+ @use.with_python.version=3.8
-+ Scenario: Junit report for skipped scenario is neither shown nor counted with --no-skipped
-+ When I run "behave --junit -t @tag1 --no-skipped"
-+ Then it should pass with:
-+ """
-+ 2 features passed, 0 failed, 1 skipped
-+ 2 scenarios passed, 0 failed, 2 skipped
-+ """
-+ And a file named "test_results/TESTS-alice.xml" exists
-+ And a file named "test_results/TESTS-charly.xml" exists
-+ And the file "test_results/TESTS-charly.xml" should contain:
-+ """
-+ <testsuite name="charly.Charly" tests="1" errors="0" failures="0" skipped="0"
-+ """
-+ # -- HINT FOR: Python < 3.8
-+ # <testsuite errors="0" failures="0" name="charly.Charly" skipped="0" tests="1"
-+ And the file "test_results/TESTS-charly.xml" should not contain:
-+ """
-+ <testcase classname="charly.Charly" name="Charly2"
-+ """
-+ And note that "Charly2 is the skipped scenarion in charly.feature"
-+
-
-+ @not.with_python.version=3.8
- Scenario: Junit report for skipped scenario is shown and counted with --show-skipped
- When I run "behave --junit -t @tag1 --show-skipped"
- Then it should pass with:
-@@ -122,3 +163,26 @@ Feature: Issue #330: Skipped scenarios are included in junit reports when --no-s
- """
- And note that "Charly2 is the skipped scenarion in charly.feature"
-
-+
-+ @use.with_python.version=3.8
-+ Scenario: Junit report for skipped scenario is shown and counted with --show-skipped
-+ When I run "behave --junit -t @tag1 --show-skipped"
-+ Then it should pass with:
-+ """
-+ 2 features passed, 0 failed, 1 skipped
-+ 2 scenarios passed, 0 failed, 2 skipped
-+ """
-+ And a file named "test_results/TESTS-alice.xml" exists
-+ And a file named "test_results/TESTS-charly.xml" exists
-+ And the file "test_results/TESTS-charly.xml" should contain:
-+ """
-+ <testsuite name="charly.Charly" tests="2" errors="0" failures="0" skipped="1"
-+ """
-+ # HINT: Python < 3.8
-+ # <testsuite errors="0" failures="0" name="charly.Charly" skipped="1" tests="2"
-+ And the file "test_results/TESTS-charly.xml" should contain:
-+ """
-+ <testcase classname="charly.Charly" name="Charly2" status="skipped"
-+ """
-+ And note that "Charly2 is the skipped scenarion in charly.feature"
-+
-diff --git a/issue.features/issue0446.feature b/issue.features/issue0446.feature
-index a2ed892d..901bdec5 100644
---- a/issue.features/issue0446.feature
-+++ b/issue.features/issue0446.feature
-@@ -58,6 +58,7 @@ Feature: Issue #446 -- Support scenario hook-errors with JUnitReporter
- behave.reporter.junit.show_hostname = False
- """
-
-+ @not.with_python.version=3.8
- Scenario: Hook error in before_scenario()
- When I run "behave -f plain --junit features/before_scenario_failure.feature"
- Then it should fail with:
-@@ -86,6 +87,40 @@ Feature: Issue #446 -- Support scenario hook-errors with JUnitReporter
- And note that "the traceback is contained in the XML element <error/>"
-
-
-+ @use.with_python.version=3.8
-+ Scenario: Hook error in before_scenario()
-+ When I run "behave -f plain --junit features/before_scenario_failure.feature"
-+ Then it should fail with:
-+ """
-+ 0 scenarios passed, 1 failed, 0 skipped
-+ """
-+ And the command output should contain:
-+ """
-+ HOOK-ERROR in before_scenario: RuntimeError: OOPS
-+ """
-+ And the file "reports/TESTS-before_scenario_failure.xml" should contain:
-+ """
-+ <testsuite name="before_scenario_failure.Alice" tests="1" errors="1" failures="0" skipped="0"
-+ """
-+ # -- HINT FOR: Python < 3.8
-+ # <testsuite errors="1" failures="0" name="before_scenario_failure.Alice" skipped="0" tests="1"
-+ And the file "reports/TESTS-before_scenario_failure.xml" should contain:
-+ """
-+ <error type="RuntimeError" message="HOOK-ERROR in before_scenario: RuntimeError: OOPS">
-+ """
-+ # -- HINT FOR: Python < 3.8
-+ # <error message="HOOK-ERROR in before_scenario: RuntimeError: OOPS" type="RuntimeError">
-+ And the file "reports/TESTS-before_scenario_failure.xml" should contain:
-+ """
-+ File "features/environment.py", line 6, in before_scenario
-+ cause_hook_failure()
-+ File "features/environment.py", line 2, in cause_hook_failure
-+ raise RuntimeError("OOPS")
-+ """
-+ And note that "the traceback is contained in the XML element <error/>"
-+
-+
-+ @not.with_python.version=3.8
- Scenario: Hook error in after_scenario()
- When I run "behave -f plain --junit features/after_scenario_failure.feature"
- Then it should fail with:
-@@ -114,3 +149,38 @@ Feature: Issue #446 -- Support scenario hook-errors with JUnitReporter
- raise RuntimeError("OOPS")
- """
- And note that "the traceback is contained in the XML element <error/>"
-+
-+
-+ @use.with_python.version=3.8
-+ Scenario: Hook error in after_scenario()
-+ When I run "behave -f plain --junit features/after_scenario_failure.feature"
-+ Then it should fail with:
-+ """
-+ 0 scenarios passed, 1 failed, 0 skipped
-+ """
-+ And the command output should contain:
-+ """
-+ Scenario: B1
-+ Given another step passes ... passed
-+ HOOK-ERROR in after_scenario: RuntimeError: OOPS
-+ """
-+ And the file "reports/TESTS-after_scenario_failure.xml" should contain:
-+ """
-+ <testsuite name="after_scenario_failure.Bob" tests="1" errors="1" failures="0" skipped="0"
-+ """
-+ # -- HINT FOR: Python < 3.8
-+ # <testsuite errors="1" failures="0" name="after_scenario_failure.Bob" skipped="0" tests="1"
-+ And the file "reports/TESTS-after_scenario_failure.xml" should contain:
-+ """
-+ <error type="RuntimeError" message="HOOK-ERROR in after_scenario: RuntimeError: OOPS">
-+ """
-+ # -- HINT FOR: Python < 3.8
-+ # <error message="HOOK-ERROR in after_scenario: RuntimeError: OOPS" type="RuntimeError">
-+ And the file "reports/TESTS-after_scenario_failure.xml" should contain:
-+ """
-+ File "features/environment.py", line 10, in after_scenario
-+ cause_hook_failure()
-+ File "features/environment.py", line 2, in cause_hook_failure
-+ raise RuntimeError("OOPS")
-+ """
-+ And note that "the traceback is contained in the XML element <error/>"
-diff --git a/issue.features/issue0457.feature b/issue.features/issue0457.feature
-index f80640e9..46f96e9c 100644
---- a/issue.features/issue0457.feature
-+++ b/issue.features/issue0457.feature
-@@ -24,6 +24,7 @@ Feature: Issue #457 -- Double-quotes in error messages of JUnit XML reports
- """
-
-
-+ @not.with_python.version=3.8
- Scenario: Use failing assertation in a JUnit XML report
- Given a file named "features/fails1.feature" with:
- """
-@@ -44,6 +45,31 @@ Feature: Issue #457 -- Double-quotes in error messages of JUnit XML reports
- <failure message="FAILED: My name is &quot;Alice&quot;"
- """
-
-+ @use.with_python.version=3.8
-+ Scenario: Use failing assertation in a JUnit XML report
-+ Given a file named "features/fails1.feature" with:
-+ """
-+ Feature:
-+ Scenario: Alice
-+ Given a step fails with message:
-+ '''
-+ My name is "Alice"
-+ '''
-+ """
-+ When I run "behave --junit features/fails1.feature"
-+ Then it should fail with:
-+ """
-+ 0 scenarios passed, 1 failed, 0 skipped
-+ """
-+ And the file "reports/TESTS-fails1.xml" should contain:
-+ """
-+ <failure type="AssertionError" message="FAILED: My name is &quot;Alice&quot;">
-+ """
-+ # -- HINT FOR: Python < 3.8
-+ # <failure message="FAILED: My name is &quot;Alice&quot;"
-+
-+
-+ @not.with_python.version=3.8
- Scenario: Use exception in a JUnit XML report
- Given a file named "features/fails2.feature" with:
- """
-@@ -63,3 +89,26 @@ Feature: Issue #457 -- Double-quotes in error messages of JUnit XML reports
- """
- <error message="My name is &quot;Bob&quot; and &lt;here&gt; I am"
- """
-+
-+ @use.with_python.version=3.8
-+ Scenario: Use exception in a JUnit XML report
-+ Given a file named "features/fails2.feature" with:
-+ """
-+ Feature:
-+ Scenario: Bob
-+ Given a step fails with error and message:
-+ '''
-+ My name is "Bob" and <here> I am
-+ '''
-+ """
-+ When I run "behave --junit features/fails2.feature"
-+ Then it should fail with:
-+ """
-+ 0 scenarios passed, 1 failed, 0 skipped
-+ """
-+ And the file "reports/TESTS-fails2.xml" should contain:
-+ """
-+ <error type="RuntimeError" message="My name is &quot;Bob&quot; and &lt;here&gt; I am">
-+ """
-+ # -- HINT FOR: Python < 3.8
-+ # <error message="My name is &quot;Bob&quot; and &lt;here&gt; I am"
diff --git a/gnu/packages/patches/bind-re-add-attr-constructor-priority.patch b/gnu/packages/patches/bind-re-add-attr-constructor-priority.patch
index 5d6765dd92..33e4f183f6 100644
--- a/gnu/packages/patches/bind-re-add-attr-constructor-priority.patch
+++ b/gnu/packages/patches/bind-re-add-attr-constructor-priority.patch
@@ -8,7 +8,7 @@ This reverts commit 0340df46ec5897636dd071bc8b5c4272cfa7d7be. It works
around an irrelevant operating system and breaks compilation on Guix:
mem.c:873: fatal error: RUNTIME_CHECK(((pthread_mutex_lock(((&contextslock))) == 0) ? 0 : 34) == 0) failed
-/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash: line 1: 13768 Aborted ./${fuzzer}
+/gnu/store/…-bash-minimal-5.0.16/bin/bash: line 1: 13768 Aborted ./${fuzzer}
Let's simply revert it for now---there are securities at stake!
---
diff --git a/gnu/packages/patches/binutils-CVE-2021-45078.patch b/gnu/packages/patches/binutils-CVE-2021-45078.patch
new file mode 100644
index 0000000000..fca692bdb5
--- /dev/null
+++ b/gnu/packages/patches/binutils-CVE-2021-45078.patch
@@ -0,0 +1,257 @@
+Fix CVE-2021-45078 (incomplete fix for CVE-2018-12699):
+
+https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-45078
+https://sourceware.org/bugzilla/show_bug.cgi?id=28694
+
+Patch copied from upstream source repository:
+
+https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=161e87d12167b1e36193385485c1f6ce92f74f02
+
+From 161e87d12167b1e36193385485c1f6ce92f74f02 Mon Sep 17 00:00:00 2001
+From: Alan Modra <amodra@gmail.com>
+Date: Wed, 15 Dec 2021 11:48:42 +1030
+Subject: [PATCH] PR28694, Out-of-bounds write in stab_xcoff_builtin_type
+
+ PR 28694
+ * stabs.c (stab_xcoff_builtin_type): Make typenum unsigned.
+ Negate typenum earlier, simplifying bounds checking. Correct
+ off-by-one indexing. Adjust switch cases.
+---
+ binutils/stabs.c | 87 ++++++++++++++++++++++++------------------------
+ 1 file changed, 43 insertions(+), 44 deletions(-)
+
+diff --git a/binutils/stabs.c b/binutils/stabs.c
+index 274bfb0e7fa..83ee3ea5fa4 100644
+--- a/binutils/stabs.c
++++ b/binutils/stabs.c
+@@ -202,7 +202,7 @@ static debug_type stab_find_type (void *, struct stab_handle *, const int *);
+ static bool stab_record_type
+ (void *, struct stab_handle *, const int *, debug_type);
+ static debug_type stab_xcoff_builtin_type
+- (void *, struct stab_handle *, int);
++ (void *, struct stab_handle *, unsigned int);
+ static debug_type stab_find_tagged_type
+ (void *, struct stab_handle *, const char *, int, enum debug_type_kind);
+ static debug_type *stab_demangle_argtypes
+@@ -3496,166 +3496,167 @@ stab_record_type (void *dhandle ATTRIBUTE_UNUSED, struct stab_handle *info,
+
+ static debug_type
+ stab_xcoff_builtin_type (void *dhandle, struct stab_handle *info,
+- int typenum)
++ unsigned int typenum)
+ {
+ debug_type rettype;
+ const char *name;
+
+- if (typenum >= 0 || typenum < -XCOFF_TYPE_COUNT)
++ typenum = -typenum - 1;
++ if (typenum >= XCOFF_TYPE_COUNT)
+ {
+- fprintf (stderr, _("Unrecognized XCOFF type %d\n"), typenum);
++ fprintf (stderr, _("Unrecognized XCOFF type %d\n"), -typenum - 1);
+ return DEBUG_TYPE_NULL;
+ }
+- if (info->xcoff_types[-typenum] != NULL)
+- return info->xcoff_types[-typenum];
++ if (info->xcoff_types[typenum] != NULL)
++ return info->xcoff_types[typenum];
+
+- switch (-typenum)
++ switch (typenum)
+ {
+- case 1:
++ case 0:
+ /* The size of this and all the other types are fixed, defined
+ by the debugging format. */
+ name = "int";
+ rettype = debug_make_int_type (dhandle, 4, false);
+ break;
+- case 2:
++ case 1:
+ name = "char";
+ rettype = debug_make_int_type (dhandle, 1, false);
+ break;
+- case 3:
++ case 2:
+ name = "short";
+ rettype = debug_make_int_type (dhandle, 2, false);
+ break;
+- case 4:
++ case 3:
+ name = "long";
+ rettype = debug_make_int_type (dhandle, 4, false);
+ break;
+- case 5:
++ case 4:
+ name = "unsigned char";
+ rettype = debug_make_int_type (dhandle, 1, true);
+ break;
+- case 6:
++ case 5:
+ name = "signed char";
+ rettype = debug_make_int_type (dhandle, 1, false);
+ break;
+- case 7:
++ case 6:
+ name = "unsigned short";
+ rettype = debug_make_int_type (dhandle, 2, true);
+ break;
+- case 8:
++ case 7:
+ name = "unsigned int";
+ rettype = debug_make_int_type (dhandle, 4, true);
+ break;
+- case 9:
++ case 8:
+ name = "unsigned";
+ rettype = debug_make_int_type (dhandle, 4, true);
+ break;
+- case 10:
++ case 9:
+ name = "unsigned long";
+ rettype = debug_make_int_type (dhandle, 4, true);
+ break;
+- case 11:
++ case 10:
+ name = "void";
+ rettype = debug_make_void_type (dhandle);
+ break;
+- case 12:
++ case 11:
+ /* IEEE single precision (32 bit). */
+ name = "float";
+ rettype = debug_make_float_type (dhandle, 4);
+ break;
+- case 13:
++ case 12:
+ /* IEEE double precision (64 bit). */
+ name = "double";
+ rettype = debug_make_float_type (dhandle, 8);
+ break;
+- case 14:
++ case 13:
+ /* This is an IEEE double on the RS/6000, and different machines
+ with different sizes for "long double" should use different
+ negative type numbers. See stabs.texinfo. */
+ name = "long double";
+ rettype = debug_make_float_type (dhandle, 8);
+ break;
+- case 15:
++ case 14:
+ name = "integer";
+ rettype = debug_make_int_type (dhandle, 4, false);
+ break;
+- case 16:
++ case 15:
+ name = "boolean";
+ rettype = debug_make_bool_type (dhandle, 4);
+ break;
+- case 17:
++ case 16:
+ name = "short real";
+ rettype = debug_make_float_type (dhandle, 4);
+ break;
+- case 18:
++ case 17:
+ name = "real";
+ rettype = debug_make_float_type (dhandle, 8);
+ break;
+- case 19:
++ case 18:
+ /* FIXME */
+ name = "stringptr";
+ rettype = NULL;
+ break;
+- case 20:
++ case 19:
+ /* FIXME */
+ name = "character";
+ rettype = debug_make_int_type (dhandle, 1, true);
+ break;
+- case 21:
++ case 20:
+ name = "logical*1";
+ rettype = debug_make_bool_type (dhandle, 1);
+ break;
+- case 22:
++ case 21:
+ name = "logical*2";
+ rettype = debug_make_bool_type (dhandle, 2);
+ break;
+- case 23:
++ case 22:
+ name = "logical*4";
+ rettype = debug_make_bool_type (dhandle, 4);
+ break;
+- case 24:
++ case 23:
+ name = "logical";
+ rettype = debug_make_bool_type (dhandle, 4);
+ break;
+- case 25:
++ case 24:
+ /* Complex type consisting of two IEEE single precision values. */
+ name = "complex";
+ rettype = debug_make_complex_type (dhandle, 8);
+ break;
+- case 26:
++ case 25:
+ /* Complex type consisting of two IEEE double precision values. */
+ name = "double complex";
+ rettype = debug_make_complex_type (dhandle, 16);
+ break;
+- case 27:
++ case 26:
+ name = "integer*1";
+ rettype = debug_make_int_type (dhandle, 1, false);
+ break;
+- case 28:
++ case 27:
+ name = "integer*2";
+ rettype = debug_make_int_type (dhandle, 2, false);
+ break;
+- case 29:
++ case 28:
+ name = "integer*4";
+ rettype = debug_make_int_type (dhandle, 4, false);
+ break;
+- case 30:
++ case 29:
+ /* FIXME */
+ name = "wchar";
+ rettype = debug_make_int_type (dhandle, 2, false);
+ break;
+- case 31:
++ case 30:
+ name = "long long";
+ rettype = debug_make_int_type (dhandle, 8, false);
+ break;
+- case 32:
++ case 31:
+ name = "unsigned long long";
+ rettype = debug_make_int_type (dhandle, 8, true);
+ break;
+- case 33:
++ case 32:
+ name = "logical*8";
+ rettype = debug_make_bool_type (dhandle, 8);
+ break;
+- case 34:
++ case 33:
+ name = "integer*8";
+ rettype = debug_make_int_type (dhandle, 8, false);
+ break;
+@@ -3664,9 +3665,7 @@ stab_xcoff_builtin_type (void *dhandle, struct stab_handle *info,
+ }
+
+ rettype = debug_name_type (dhandle, name, rettype);
+-
+- info->xcoff_types[-typenum] = rettype;
+-
++ info->xcoff_types[typenum] = rettype;
+ return rettype;
+ }
+
+--
+2.27.0
+
diff --git a/gnu/packages/patches/blender-2.79-gcc8.patch b/gnu/packages/patches/blender-2.79-gcc8.patch
deleted file mode 100644
index 6a9186323b..0000000000
--- a/gnu/packages/patches/blender-2.79-gcc8.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff --git a/intern/itasc/kdl/tree.hpp b/intern/itasc/kdl/tree.hpp
-index c8a253fc901..bd35f82d185 100644
---- a/intern/itasc/kdl/tree.hpp
-+++ b/intern/itasc/kdl/tree.hpp
-@@ -34,7 +34,7 @@ namespace KDL
- //Forward declaration
- class TreeElement;
- // Eigen allocator is needed for alignment of Eigen data types
-- typedef std::map<std::string,TreeElement, std::less<std::string>, Eigen::aligned_allocator<std::pair<std::string, TreeElement> > > SegmentMap;
-+ typedef std::map<std::string,TreeElement, std::less<std::string>, Eigen::aligned_allocator<std::pair<const std::string, TreeElement> > > SegmentMap;
-
- class TreeElement
- {
-diff --git a/intern/cycles/util/util_sseb.h b/intern/cycles/util/util_sseb.h
-index 6e669701f3b..977976c3fc0 100644
---- a/intern/cycles/util/util_sseb.h
-+++ b/intern/cycles/util/util_sseb.h
-@@ -22,6 +22,9 @@ CCL_NAMESPACE_BEGIN
-
- #ifdef __KERNEL_SSE2__
-
-+struct ssei;
-+struct ssef;
-+
- /*! 4-wide SSE bool type. */
- struct sseb
- {
-@@ -116,7 +119,7 @@ __forceinline const sseb unpacklo( const sseb& a, const sseb& b ) { return _mm_u
- __forceinline const sseb unpackhi( const sseb& a, const sseb& b ) { return _mm_unpackhi_ps(a, b); }
-
- template<size_t i0, size_t i1, size_t i2, size_t i3> __forceinline const sseb shuffle( const sseb& a ) {
-- return _mm_shuffle_epi32(a, _MM_SHUFFLE(i3, i2, i1, i0));
-+ return _mm_castsi128_ps(_mm_shuffle_epi32(a, _MM_SHUFFLE(i3, i2, i1, i0)));
- }
-
- template<> __forceinline const sseb shuffle<0, 1, 0, 1>( const sseb& a ) {
diff --git a/gnu/packages/patches/blender-2.79-gcc9.patch b/gnu/packages/patches/blender-2.79-gcc9.patch
deleted file mode 100644
index d538a02620..0000000000
--- a/gnu/packages/patches/blender-2.79-gcc9.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-commit e6d803fd4a383cecf8c643095f093a31c944b785
-Author: Robert-André Mauchin <zebob.m@gmail.com>
-Date: Wed Apr 3 01:36:52 2019 +0200
-
- Fix for GCC9 new OpenMP data sharing
-
- GCC 9 started implementing the OpenMP 4.0 and later behavior. When not using
- default clause or when using default(shared), this makes no difference, but
- if using default(none), previously the choice was not specify the const
- qualified variables on the construct at all, or specify in firstprivate
- clause. In GCC 9 as well as for OpenMP 4.0 compliance, those variables need
- to be specified on constructs in which they are used, either in shared or
- in firstprivate clause. Specifying them in firstprivate clause is one way to
- achieve compatibility with both older GCC versions and GCC 9,
- another option is to drop the default(none) clause.
-
- This patch thus drops the default(none) clause.
-
- See https://gcc.gnu.org/gcc-9/porting_to.html#ompdatasharing
-
- Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
-
-diff --git a/intern/elbeem/intern/solver_main.cpp b/intern/elbeem/intern/solver_main.cpp
-index 68f7c04cd54..514087b6130 100644
---- a/intern/elbeem/intern/solver_main.cpp
-+++ b/intern/elbeem/intern/solver_main.cpp
-@@ -381,7 +381,7 @@ LbmFsgrSolver::mainLoop(const int lev)
- GRID_REGION_INIT();
- #if PARALLEL==1
- const int gDebugLevel = ::gDebugLevel;
--#pragma omp parallel default(none) num_threads(mNumOMPThreads) \
-+#pragma omp parallel num_threads(mNumOMPThreads) \
- reduction(+: \
- calcCurrentMass,calcCurrentVolume, \
- calcCellsFilled,calcCellsEmptied, \
-@@ -1126,7 +1126,7 @@ LbmFsgrSolver::preinitGrids()
- GRID_REGION_INIT();
- #if PARALLEL==1
- const int gDebugLevel = ::gDebugLevel;
--#pragma omp parallel default(none) num_threads(mNumOMPThreads) \
-+#pragma omp parallel num_threads(mNumOMPThreads) \
- reduction(+: \
- calcCurrentMass,calcCurrentVolume, \
- calcCellsFilled,calcCellsEmptied, \
-@@ -1164,7 +1164,7 @@ LbmFsgrSolver::standingFluidPreinit()
- GRID_REGION_INIT();
- #if PARALLEL==1
- const int gDebugLevel = ::gDebugLevel;
--#pragma omp parallel default(none) num_threads(mNumOMPThreads) \
-+#pragma omp parallel num_threads(mNumOMPThreads) \
- reduction(+: \
- calcCurrentMass,calcCurrentVolume, \
- calcCellsFilled,calcCellsEmptied, \
diff --git a/gnu/packages/patches/blender-2.79-newer-ffmpeg.patch b/gnu/packages/patches/blender-2.79-newer-ffmpeg.patch
deleted file mode 100644
index 363489bc70..0000000000
--- a/gnu/packages/patches/blender-2.79-newer-ffmpeg.patch
+++ /dev/null
@@ -1,80 +0,0 @@
-https://sources.debian.org/data/main/b/blender/2.79.b+dfsg0-4/debian/patches/0008-fix_building_with_latest_versions_of_FFmpeg.patch
-
-From: Bastien Montagne <montagne29@wanadoo.fr>
-Date: Tue, 8 May 2018 16:00:52 +0200
-Subject: fix_building_with_latest_versions_of_FFmpeg
-
-Some years-old deprecated stuff has now been removed.
-
-Correct solution is probably to use valid defines etc. in own code, but
-this is more FFMEPG maintainer task (since it also may change how old
-FFMPEG we do support...).
----
- intern/ffmpeg/ffmpeg_compat.h | 39 ++++++++++++++++++++++++++
- source/blender/blenkernel/intern/writeffmpeg.c | 3 +-
- 2 files changed, 41 insertions(+), 1 deletion(-)
-
-diff --git a/intern/ffmpeg/ffmpeg_compat.h b/intern/ffmpeg/ffmpeg_compat.h
-index 9c06c8a..f7f437c 100644
---- a/intern/ffmpeg/ffmpeg_compat.h
-+++ b/intern/ffmpeg/ffmpeg_compat.h
-@@ -109,6 +109,45 @@ int av_sample_fmt_is_planar(enum AVSampleFormat sample_fmt)
-
- #endif
-
-+/* XXX TODO Probably fix to correct modern flags in code? Not sure how old FFMPEG we want to support though,
-+ * so for now this will do. */
-+
-+#ifndef FF_MIN_BUFFER_SIZE
-+# ifdef AV_INPUT_BUFFER_MIN_SIZE
-+# define FF_MIN_BUFFER_SIZE AV_INPUT_BUFFER_MIN_SIZE
-+# endif
-+#endif
-+
-+#ifndef FF_INPUT_BUFFER_PADDING_SIZE
-+# ifdef AV_INPUT_BUFFER_PADDING_SIZE
-+# define FF_INPUT_BUFFER_PADDING_SIZE AV_INPUT_BUFFER_PADDING_SIZE
-+# endif
-+#endif
-+
-+#ifndef CODEC_FLAG_GLOBAL_HEADER
-+# ifdef AV_CODEC_FLAG_GLOBAL_HEADER
-+# define CODEC_FLAG_GLOBAL_HEADER AV_CODEC_FLAG_GLOBAL_HEADER
-+# endif
-+#endif
-+
-+#ifndef CODEC_FLAG_GLOBAL_HEADER
-+# ifdef AV_CODEC_FLAG_GLOBAL_HEADER
-+# define CODEC_FLAG_GLOBAL_HEADER AV_CODEC_FLAG_GLOBAL_HEADER
-+# endif
-+#endif
-+
-+#ifndef CODEC_FLAG_INTERLACED_DCT
-+# ifdef AV_CODEC_FLAG_INTERLACED_DCT
-+# define CODEC_FLAG_INTERLACED_DCT AV_CODEC_FLAG_INTERLACED_DCT
-+# endif
-+#endif
-+
-+#ifndef CODEC_FLAG_INTERLACED_ME
-+# ifdef AV_CODEC_FLAG_INTERLACED_ME
-+# define CODEC_FLAG_INTERLACED_ME AV_CODEC_FLAG_INTERLACED_ME
-+# endif
-+#endif
-+
- /* FFmpeg upstream 1.0 is the first who added AV_ prefix. */
- #if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(54, 59, 100)
- # define AV_CODEC_ID_NONE CODEC_ID_NONE
-diff --git a/source/blender/blenkernel/intern/writeffmpeg.c b/source/blender/blenkernel/intern/writeffmpeg.c
-index a19e414..04d508a 100644
---- a/source/blender/blenkernel/intern/writeffmpeg.c
-+++ b/source/blender/blenkernel/intern/writeffmpeg.c
-@@ -605,7 +605,8 @@ static AVStream *alloc_video_stream(FFMpegContext *context, RenderData *rd, int
- c->rc_buffer_aggressivity = 1.0;
- #endif
-
-- c->me_method = ME_EPZS;
-+ /* Deprecated and not doing anything since July 2015, deleted in recent ffmpeg */
-+ //c->me_method = ME_EPZS;
-
- codec = avcodec_find_encoder(c->codec_id);
- if (!codec)
diff --git a/gnu/packages/patches/blender-2.79-oiio2.patch b/gnu/packages/patches/blender-2.79-oiio2.patch
deleted file mode 100644
index 1c3606a940..0000000000
--- a/gnu/packages/patches/blender-2.79-oiio2.patch
+++ /dev/null
@@ -1,284 +0,0 @@
-From: Sergey Sharybin <sergey@blender.org>
-Date: Fri, 28 Dec 2018 11:25:35 +0100
-Subject: adapt_build_against_OIIO2
-
----
- intern/cycles/blender/blender_python.cpp | 2 +-
- intern/cycles/graph/node_xml.cpp | 2 +-
- intern/cycles/render/buffers.cpp | 4 ++--
- intern/cycles/render/image.cpp | 15 ++++--------
- intern/cycles/render/image.h | 3 ++-
- intern/cycles/util/util_unique_ptr.h | 28 ++++++++++++++++++++++
- .../blender/imbuf/intern/oiio/openimageio_api.cpp | 19 +++++++--------
- 7 files changed, 48 insertions(+), 25 deletions(-)
- create mode 100644 intern/cycles/util/util_unique_ptr.h
-
-diff --git a/intern/cycles/blender/blender_python.cpp b/intern/cycles/blender/blender_python.cpp
-index 54973fd..bee6dd1 100644
---- a/intern/cycles/blender/blender_python.cpp
-+++ b/intern/cycles/blender/blender_python.cpp
-@@ -493,7 +493,7 @@ static PyObject *osl_update_node_func(PyObject * /*self*/, PyObject *args)
- socket_type = "NodeSocketString";
- data_type = BL::NodeSocket::type_STRING;
- if(param->validdefault)
-- default_string = param->sdefault[0];
-+ default_string = param->sdefault[0].string();
- }
- else
- continue;
-diff --git a/intern/cycles/graph/node_xml.cpp b/intern/cycles/graph/node_xml.cpp
-index d26b3b2..2a24104 100644
---- a/intern/cycles/graph/node_xml.cpp
-+++ b/intern/cycles/graph/node_xml.cpp
-@@ -250,7 +250,7 @@ void xml_read_node(XMLReader& reader, Node *node, xml_node xml_node)
- }
- }
-
-- if(node->name)
-+ if(!node->name.empty())
- reader.node_map[node->name] = node;
- }
-
-diff --git a/intern/cycles/render/buffers.cpp b/intern/cycles/render/buffers.cpp
-index cf402c3..f84a37a 100644
---- a/intern/cycles/render/buffers.cpp
-+++ b/intern/cycles/render/buffers.cpp
-@@ -27,6 +27,7 @@
- #include "util/util_opengl.h"
- #include "util/util_time.h"
- #include "util/util_types.h"
-+#include "util/util_unique_ptr.h"
-
- CCL_NAMESPACE_BEGIN
-
-@@ -453,7 +454,7 @@ void DisplayBuffer::write(Device *device, const string& filename)
- device->pixels_copy_from(rgba, 0, w, h);
-
- /* write image */
-- ImageOutput *out = ImageOutput::create(filename);
-+ unique_ptr<ImageOutput> out = unique_ptr<ImageOutput>(ImageOutput::create(filename));
- ImageSpec spec(w, h, 4, TypeDesc::UINT8);
- int scanlinesize = w*4*sizeof(uchar);
-
-@@ -468,7 +469,6 @@ void DisplayBuffer::write(Device *device, const string& filename)
-
- out->close();
-
-- delete out;
- }
-
- device_memory& DisplayBuffer::rgba_data()
-diff --git a/intern/cycles/render/image.cpp b/intern/cycles/render/image.cpp
-index 595eb46..a143b02 100644
---- a/intern/cycles/render/image.cpp
-+++ b/intern/cycles/render/image.cpp
-@@ -23,6 +23,7 @@
- #include "util/util_path.h"
- #include "util/util_progress.h"
- #include "util/util_texture.h"
-+#include "util/util_unique_ptr.h"
-
- #ifdef WITH_OSL
- #include <OSL/oslexec.h>
-@@ -148,7 +149,7 @@ ImageDataType ImageManager::get_image_metadata(const string& filename,
- return IMAGE_DATA_TYPE_BYTE4;
- }
-
-- ImageInput *in = ImageInput::create(filename);
-+ unique_ptr<ImageInput> in(ImageInput::create(filename));
-
- if(in) {
- ImageSpec spec;
-@@ -194,7 +195,6 @@ ImageDataType ImageManager::get_image_metadata(const string& filename,
- in->close();
- }
-
-- delete in;
- }
-
- if(is_half) {
-@@ -449,7 +449,7 @@ void ImageManager::tag_reload_image(const string& filename,
- }
-
- bool ImageManager::file_load_image_generic(Image *img,
-- ImageInput **in,
-+ unique_ptr<ImageInput> *in,
- int &width,
- int &height,
- int &depth,
-@@ -465,7 +465,7 @@ bool ImageManager::file_load_image_generic(Image *img,
- }
-
- /* load image from file through OIIO */
-- *in = ImageInput::create(img->filename);
-+ *in = unique_ptr<ImageInput>(ImageInput::create(img->filename));
-
- if(!*in)
- return false;
-@@ -477,8 +477,6 @@ bool ImageManager::file_load_image_generic(Image *img,
- config.attribute("oiio:UnassociatedAlpha", 1);
-
- if(!(*in)->open(img->filename, spec, config)) {
-- delete *in;
-- *in = NULL;
- return false;
- }
-
-@@ -500,8 +498,6 @@ bool ImageManager::file_load_image_generic(Image *img,
- if(!(components >= 1 && components <= 4)) {
- if(*in) {
- (*in)->close();
-- delete *in;
-- *in = NULL;
- }
-
- return false;
-@@ -519,7 +515,7 @@ bool ImageManager::file_load_image(Image *img,
- device_vector<DeviceType>& tex_img)
- {
- const StorageType alpha_one = (FileFormat == TypeDesc::UINT8)? 255 : 1;
-- ImageInput *in = NULL;
-+ unique_ptr<ImageInput> in = NULL;
- int width, height, depth, components;
- if(!file_load_image_generic(img, &in, width, height, depth, components)) {
- return false;
-@@ -575,7 +571,6 @@ bool ImageManager::file_load_image(Image *img,
- }
- cmyk = strcmp(in->format_name(), "jpeg") == 0 && components == 4;
- in->close();
-- delete in;
- }
- else {
- if(FileFormat == TypeDesc::FLOAT) {
-diff --git a/intern/cycles/render/image.h b/intern/cycles/render/image.h
-index db7e28a..f4a14f4 100644
---- a/intern/cycles/render/image.h
-+++ b/intern/cycles/render/image.h
-@@ -23,6 +23,7 @@
- #include "util/util_image.h"
- #include "util/util_string.h"
- #include "util/util_thread.h"
-+#include "util/util_unique_ptr.h"
- #include "util/util_vector.h"
-
- CCL_NAMESPACE_BEGIN
-@@ -133,7 +134,7 @@ private:
- bool pack_images;
-
- bool file_load_image_generic(Image *img,
-- ImageInput **in,
-+ unique_ptr<ImageInput> *in,
- int &width,
- int &height,
- int &depth,
-diff --git a/intern/cycles/util/util_unique_ptr.h b/intern/cycles/util/util_unique_ptr.h
-new file mode 100644
-index 0000000..1ceae73
---- /dev/null
-+++ b/intern/cycles/util/util_unique_ptr.h
-@@ -0,0 +1,28 @@
-+/*
-+ * Copyright 2011-2013 Blender Foundation
-+ *
-+ * Licensed under the Apache License, Version 2.0 (the "License");
-+ * you may not use this file except in compliance with the License.
-+ * You may obtain a copy of the License at
-+ *
-+ * http://www.apache.org/licenses/LICENSE-2.0
-+ *
-+ * Unless required by applicable law or agreed to in writing, software
-+ * distributed under the License is distributed on an "AS IS" BASIS,
-+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-+ * See the License for the specific language governing permissions and
-+ * limitations under the License.
-+ */
-+
-+#ifndef __UTIL_UNIQUE_PTR_H__
-+#define __UTIL_UNIQUE_PTR_H__
-+
-+#include <memory>
-+
-+CCL_NAMESPACE_BEGIN
-+
-+using std::unique_ptr;
-+
-+CCL_NAMESPACE_END
-+
-+#endif /* __UTIL_UNIQUE_PTR_H__ */
-diff --git a/source/blender/imbuf/intern/oiio/openimageio_api.cpp b/source/blender/imbuf/intern/oiio/openimageio_api.cpp
-index b123d50..7f2fac9 100644
---- a/source/blender/imbuf/intern/oiio/openimageio_api.cpp
-+++ b/source/blender/imbuf/intern/oiio/openimageio_api.cpp
-@@ -35,6 +35,11 @@
- #include "utfconv.h"
- #endif
-
-+// NOTE: Keep first, BLI_path_util conflicts with OIIO's format.
-+#include <memory>
-+#include <openimageio_api.h>
-+#include <OpenImageIO/imageio.h>
-+
- extern "C"
- {
- #include "MEM_guardedalloc.h"
-@@ -48,12 +53,10 @@ extern "C"
- #include "IMB_colormanagement_intern.h"
- }
-
--#include <openimageio_api.h>
--#include <OpenImageIO/imageio.h>
--
- OIIO_NAMESPACE_USING
-
- using std::string;
-+using std::unique_ptr;
-
- typedef unsigned char uchar;
-
-@@ -197,7 +200,6 @@ int imb_save_photoshop(struct ImBuf *ibuf, const char * /*name*/, int flags)
-
- struct ImBuf *imb_load_photoshop(const char *filename, int flags, char colorspace[IM_MAX_SPACE])
- {
-- ImageInput *in = NULL;
- struct ImBuf *ibuf = NULL;
- int width, height, components;
- bool is_float, is_alpha;
-@@ -210,7 +212,7 @@ struct ImBuf *imb_load_photoshop(const char *filename, int flags, char colorspac
-
- colorspace_set_default_role(colorspace, IM_MAX_SPACE, COLOR_ROLE_DEFAULT_BYTE);
-
-- in = ImageInput::create(filename);
-+ unique_ptr<ImageInput> in(ImageInput::create(filename));
- if (!in) {
- std::cerr << __func__ << ": ImageInput::create() failed:" << std::endl
- << OIIO_NAMESPACE::geterror() << std::endl;
-@@ -223,7 +225,6 @@ struct ImBuf *imb_load_photoshop(const char *filename, int flags, char colorspac
- if (!in->open(filename, spec, config)) {
- std::cerr << __func__ << ": ImageInput::open() failed:" << std::endl
- << in->geterror() << std::endl;
-- delete in;
- return NULL;
- }
-
-@@ -249,19 +250,17 @@ struct ImBuf *imb_load_photoshop(const char *filename, int flags, char colorspac
- if (!(components >= 1 && components <= 4)) {
- if (in) {
- in->close();
-- delete in;
- }
- return NULL;
- }
-
- if (is_float)
-- ibuf = imb_oiio_load_image_float(in, width, height, components, flags, is_alpha);
-+ ibuf = imb_oiio_load_image_float(in.get(), width, height, components, flags, is_alpha);
- else
-- ibuf = imb_oiio_load_image(in, width, height, components, flags, is_alpha);
-+ ibuf = imb_oiio_load_image(in.get(), width, height, components, flags, is_alpha);
-
- if (in) {
- in->close();
-- delete in;
- }
-
- if (!ibuf)
diff --git a/gnu/packages/patches/blender-2.79-python-3.7-fix.patch b/gnu/packages/patches/blender-2.79-python-3.7-fix.patch
deleted file mode 100644
index fd1d8ba437..0000000000
--- a/gnu/packages/patches/blender-2.79-python-3.7-fix.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-Copied from https://git.blender.org/gitweb/gitweb.cgi/blender.git/patch/1db47a2ccd1e68994bf8140eba6cc2a26a2bc91f
-Fixes <https://bugs.gnu.org/33608>.
-
-From 1db47a2ccd1e68994bf8140eba6cc2a26a2bc91f Mon Sep 17 00:00:00 2001
-From: Campbell Barton <ideasman42@gmail.com>
-Date: Thu, 12 Jul 2018 08:28:06 +0200
-Subject: [PATCH] Fix PyRNA class registration w/ Python 3.7
-
-In Python3.7 this now raises an error.
----
- source/blender/python/intern/bpy_rna.c | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c
-index 9052b6f580a..80b0aa7a51b 100644
---- a/source/blender/python/intern/bpy_rna.c
-+++ b/source/blender/python/intern/bpy_rna.c
-@@ -7577,10 +7577,12 @@ static int bpy_class_validate_recursive(PointerRNA *dummyptr, StructRNA *srna, v
- if (!(flag & PROP_REGISTER))
- continue;
-
-+ /* TODO(campbell): Use Python3.7x _PyObject_LookupAttr(), also in the macro below. */
- identifier = RNA_property_identifier(prop);
- item = PyObject_GetAttrString(py_class, identifier);
-
- if (item == NULL) {
-+ PyErr_Clear();
- /* Sneaky workaround to use the class name as the bl_idname */
-
- #define BPY_REPLACEMENT_STRING(rna_attr, py_attr) \
-@@ -7596,6 +7598,9 @@ static int bpy_class_validate_recursive(PointerRNA *dummyptr, StructRNA *srna, v
- } \
- Py_DECREF(item); \
- } \
-+ else { \
-+ PyErr_Clear(); \
-+ } \
- } /* intentionally allow else here */
-
- if (false) {} /* needed for macro */
---
-2.20.1
-
diff --git a/gnu/packages/patches/blender-2.79-python-3.8-fix.patch b/gnu/packages/patches/blender-2.79-python-3.8-fix.patch
deleted file mode 100644
index 18d25449ee..0000000000
--- a/gnu/packages/patches/blender-2.79-python-3.8-fix.patch
+++ /dev/null
@@ -1,204 +0,0 @@
-From 4b663ecf264020b1d7003a137ce84b06d7ec4ce6 Mon Sep 17 00:00:00 2001
-From: bartus <szczepaniak.bartek+github@gmail.com>
-Date: Sat, 16 Nov 2019 20:29:30 +0100
-Subject: [PATCH] Add python 3.8 support.
-
----
- source/blender/python/generic/py_capi_utils.c | 27 +++++++++++++++----
- 1 file changed, 22 insertions(+), 5 deletions(-)
-
-diff --git a/source/blender/python/generic/py_capi_utils.c b/source/blender/python/generic/py_capi_utils.c
-index 545e0506f84..a7eab70600b 100644
---- a/source/blender/python/generic/py_capi_utils.c
-+++ b/source/blender/python/generic/py_capi_utils.c
-@@ -696,9 +696,16 @@ PyObject *PyC_UnicodeFromByte(const char *str)
- ****************************************************************************/
- PyObject *PyC_DefaultNameSpace(const char *filename)
- {
-+ #if PY_VERSION_HEX >= 0x03080000
-+ PyObject *modules = PyImport_GetModuleDict();
-+ PyObject *builtins = PyEval_GetBuiltins();
-+ #else
- PyInterpreterState *interp = PyThreadState_GET()->interp;
-+ PyObject *modules = interp->modules;
-+ PyObject *builtins = interp->builtins;
-+ #endif
- PyObject *mod_main = PyModule_New("__main__");
-- PyDict_SetItemString(interp->modules, "__main__", mod_main);
-+ PyDict_SetItemString(modules, "__main__", mod_main);
- Py_DECREF(mod_main); /* sys.modules owns now */
- PyModule_AddStringConstant(mod_main, "__name__", "__main__");
- if (filename) {
-@@ -706,8 +713,8 @@ PyObject *PyC_DefaultNameSpace(const char *filename)
- * note: this wont map to a real file when executing text-blocks and buttons. */
- PyModule_AddObject(mod_main, "__file__", PyC_UnicodeFromByte(filename));
- }
-- PyModule_AddObject(mod_main, "__builtins__", interp->builtins);
-- Py_INCREF(interp->builtins); /* AddObject steals a reference */
-+ PyModule_AddObject(mod_main, "__builtins__", builtins);
-+ Py_INCREF(builtins); /* AddObject steals a reference */
- return PyModule_GetDict(mod_main);
- }
-
-@@ -734,15 +741,25 @@ bool PyC_NameSpace_ImportArray(PyObject *py_dict, const char *imports[])
- /* restore MUST be called after this */
- void PyC_MainModule_Backup(PyObject **main_mod)
- {
-+ #if PY_VERSION_HEX >= 0x03080000
-+ PyObject *modules = PyImport_GetModuleDict();
-+ #else
- PyInterpreterState *interp = PyThreadState_GET()->interp;
-- *main_mod = PyDict_GetItemString(interp->modules, "__main__");
-+ PyObject *modules = interp->modules;
-+ #endif
-+ *main_mod = PyDict_GetItemString(modules, "__main__");
- Py_XINCREF(*main_mod); /* don't free */
- }
-
- void PyC_MainModule_Restore(PyObject *main_mod)
- {
-+ #if PY_VERSION_HEX >= 0x03080000
-+ PyObject *modules = PyImport_GetModuleDict();
-+ #else
- PyInterpreterState *interp = PyThreadState_GET()->interp;
-- PyDict_SetItemString(interp->modules, "__main__", main_mod);
-+ PyObject *modules = interp->modules;
-+ #endif
-+ PyDict_SetItemString(modules, "__main__", main_mod);
- Py_XDECREF(main_mod);
- }
-
---
-2.24.0
-
-From 44f719b63238503ef8f933f55383c6d4798995cc Mon Sep 17 00:00:00 2001
-From: Campbell Barton <ideasman42@gmail.com>
-Date: Thu, 13 Sep 2018 17:06:07 +1000
-Subject: [PATCH] Cleanup: use PyImport_GetModuleDict
-
-Replace direct access using PyThreadState_GET
----
- source/blender/python/bmesh/bmesh_py_api.c | 2 +-
- source/blender/python/generic/idprop_py_api.c | 2 +-
- source/blender/python/intern/bpy_interface.c | 2 +-
- source/blender/python/intern/gpu.c | 4 ++--
- source/blender/python/mathutils/mathutils.c | 2 +-
- source/blender/python/mathutils/mathutils_noise.c | 5 +++--
- source/gameengine/Ketsji/KX_PythonInit.cpp | 2 +-
- 7 files changed, 10 insertions(+), 9 deletions(-)
-
-diff --git a/source/blender/python/bmesh/bmesh_py_api.c b/source/blender/python/bmesh/bmesh_py_api.c
-index d5973baeadb..d7324eabb6c 100644
---- a/source/blender/python/bmesh/bmesh_py_api.c
-+++ b/source/blender/python/bmesh/bmesh_py_api.c
-@@ -196,7 +196,7 @@ PyObject *BPyInit_bmesh(void)
- {
- PyObject *mod;
- PyObject *submodule;
-- PyObject *sys_modules = PyThreadState_GET()->interp->modules;
-+ PyObject *sys_modules = PyImport_GetModuleDict();
-
- BPy_BM_init_types();
- BPy_BM_init_types_select();
-diff --git a/source/blender/python/generic/idprop_py_api.c b/source/blender/python/generic/idprop_py_api.c
-index 4d4d5232800..8bed0f28cba 100644
---- a/source/blender/python/generic/idprop_py_api.c
-+++ b/source/blender/python/generic/idprop_py_api.c
-@@ -1795,7 +1795,7 @@ PyObject *BPyInit_idprop(void)
- {
- PyObject *mod;
- PyObject *submodule;
-- PyObject *sys_modules = PyThreadState_GET()->interp->modules;
-+ PyObject *sys_modules = PyImport_GetModuleDict();
-
- mod = PyModule_Create(&IDProp_module_def);
-
-diff --git a/source/blender/python/intern/bpy_interface.c b/source/blender/python/intern/bpy_interface.c
-index 7ca087e4993..123c938b921 100644
---- a/source/blender/python/intern/bpy_interface.c
-+++ b/source/blender/python/intern/bpy_interface.c
-@@ -537,7 +537,7 @@ static bool python_script_exec(
-
- if (py_dict) {
- #ifdef PYMODULE_CLEAR_WORKAROUND
-- PyModuleObject *mmod = (PyModuleObject *)PyDict_GetItemString(PyThreadState_GET()->interp->modules, "__main__");
-+ PyModuleObject *mmod = (PyModuleObject *)PyDict_GetItemString(PyImport_GetModuleDict(), "__main__");
- PyObject *dict_back = mmod->md_dict;
- /* freeing the module will clear the namespace,
- * gives problems running classes defined in this namespace being used later. */
-diff --git a/source/blender/python/intern/gpu.c b/source/blender/python/intern/gpu.c
-index 43796dc9474..d902b6838f4 100644
---- a/source/blender/python/intern/gpu.c
-+++ b/source/blender/python/intern/gpu.c
-@@ -326,7 +326,7 @@ PyObject *GPU_initPython(void)
- {
- PyObject *module;
- PyObject *submodule;
-- PyObject *sys_modules = PyThreadState_GET()->interp->modules;
-+ PyObject *sys_modules = PyImport_GetModuleDict();
-
- module = PyInit_gpu();
-
-@@ -337,6 +337,6 @@ PyObject *GPU_initPython(void)
- PyDict_SetItem(sys_modules, PyModule_GetNameObject(submodule), submodule);
- Py_INCREF(submodule);
-
-- PyDict_SetItem(PyImport_GetModuleDict(), PyModule_GetNameObject(module), module);
-+ PyDict_SetItem(sys_modules, PyModule_GetNameObject(module), module);
- return module;
- }
-diff --git a/source/blender/python/mathutils/mathutils.c b/source/blender/python/mathutils/mathutils.c
-index a3a4e7f313b..f021d456b3a 100644
---- a/source/blender/python/mathutils/mathutils.c
-+++ b/source/blender/python/mathutils/mathutils.c
-@@ -615,7 +615,7 @@ PyMODINIT_FUNC PyInit_mathutils(void)
- {
- PyObject *mod;
- PyObject *submodule;
-- PyObject *sys_modules = PyThreadState_GET()->interp->modules;
-+ PyObject *sys_modules = PyImport_GetModuleDict();
-
- if (PyType_Ready(&vector_Type) < 0)
- return NULL;
-diff --git a/source/blender/python/mathutils/mathutils_noise.c b/source/blender/python/mathutils/mathutils_noise.c
-index 839d1ffc588..834322c0aed 100644
---- a/source/blender/python/mathutils/mathutils_noise.c
-+++ b/source/blender/python/mathutils/mathutils_noise.c
-@@ -845,6 +845,7 @@ static struct PyModuleDef M_Noise_module_def = {
- /*----------------------------MODULE INIT-------------------------*/
- PyMODINIT_FUNC PyInit_mathutils_noise(void)
- {
-+ PyObject *sys_modules = PyImport_GetModuleDict();
- PyObject *submodule = PyModule_Create(&M_Noise_module_def);
- PyObject *item_types, *item_metrics;
-
-@@ -852,11 +853,11 @@ PyMODINIT_FUNC PyInit_mathutils_noise(void)
- setRndSeed(0);
-
- PyModule_AddObject(submodule, "types", (item_types = PyInit_mathutils_noise_types()));
-- PyDict_SetItemString(PyThreadState_GET()->interp->modules, "noise.types", item_types);
-+ PyDict_SetItemString(sys_modules, "noise.types", item_types);
- Py_INCREF(item_types);
-
- PyModule_AddObject(submodule, "distance_metrics", (item_metrics = PyInit_mathutils_noise_metrics()));
-- PyDict_SetItemString(PyThreadState_GET()->interp->modules, "noise.distance_metrics", item_metrics);
-+ PyDict_SetItemString(sys_modules, "noise.distance_metrics", item_metrics);
- Py_INCREF(item_metrics);
-
- return submodule;
-diff --git a/source/gameengine/Ketsji/KX_PythonInit.cpp b/source/gameengine/Ketsji/KX_PythonInit.cpp
-index 251273cf7a8..9611a4ea49b 100644
---- a/source/gameengine/Ketsji/KX_PythonInit.cpp
-+++ b/source/gameengine/Ketsji/KX_PythonInit.cpp
-@@ -2234,7 +2234,7 @@ PyMODINIT_FUNC initBGE(void)
- {
- PyObject *mod;
- PyObject *submodule;
-- PyObject *sys_modules = PyThreadState_GET()->interp->modules;
-+ PyObject *sys_modules = PyImport_GetModuleDict();
- const char *mod_full;
-
- mod = PyModule_Create(&BGE_module_def);
---
-2.25.0
-
diff --git a/gnu/packages/patches/bubblewrap-fix-locale-in-tests.patch b/gnu/packages/patches/bubblewrap-fix-locale-in-tests.patch
new file mode 100644
index 0000000000..bd5924ef87
--- /dev/null
+++ b/gnu/packages/patches/bubblewrap-fix-locale-in-tests.patch
@@ -0,0 +1,34 @@
+From 9282223de4b511aeda3b7d2caf3810a56a865710 Mon Sep 17 00:00:00 2001
+From: kiasoc5 <kiasoc5@tutanota.com>
+Date: Mon, 10 Jan 2022 14:16:32 -0500
+Subject: [PATCH] Use C locale unconditionally for tests.
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+The ‘en_US.utf8’ locale is available. However, the ‘locale -a’ command won’t list it.
+---
+ tests/libtest-core.sh | 7 +------
+ 1 file changed, 1 insertion(+), 6 deletions(-)
+
+diff --git a/tests/libtest-core.sh b/tests/libtest-core.sh
+index 9632e90..82951dd 100644
+--- a/tests/libtest-core.sh
++++ b/tests/libtest-core.sh
+@@ -41,12 +41,7 @@ assert_not_reached () {
+ #
+ # If we can't find the locale command assume we have support for C.UTF-8
+ # (e.g. musl based systems)
+-if type -p locale >/dev/null; then
+- export LC_ALL=$(locale -a | grep -iEe '^(C|en_US)\.(UTF-8|utf8)$' | head -n1 || true)
+- if [ -z "${LC_ALL}" ]; then fatal "Can't find suitable UTF-8 locale"; fi
+-else
+- export LC_ALL=C.UTF-8
+-fi
++export LC_ALL=en_US.utf8
+ # A GNU extension, used whenever LC_ALL is not C
+ unset LANGUAGE
+
+--
+2.34.1
+
diff --git a/gnu/packages/patches/calibre-fix-zeroconf.patch b/gnu/packages/patches/calibre-fix-zeroconf.patch
new file mode 100644
index 0000000000..d7d0f18667
--- /dev/null
+++ b/gnu/packages/patches/calibre-fix-zeroconf.patch
@@ -0,0 +1,38 @@
+Fix a build failure when upgrading zeroconf from 0.28.8 to 0.38.1:
+
+https://issues.guix.gnu.org/53247
+
+Patch copied from Gentoo:
+
+https://bugs.gentoo.org/800233#c5
+
+diff --color -Naru a/src/calibre/devices/smart_device_app/driver.py b/src/calibre/devices/smart_device_app/driver.py
+--- a/src/calibre/devices/smart_device_app/driver.py 2021-08-08 08:32:03.104016444 +0200
++++ b/src/calibre/devices/smart_device_app/driver.py 2021-08-08 08:33:30.699018403 +0200
+@@ -2040,13 +2040,6 @@
+ # Function to monkeypatch zeroconf to remove the 15 character name length restriction.
+ # Copied from https://github.com/jstasiak/python-zeroconf version 0.28.1
+
+-
+-from zeroconf import (BadTypeInNameException, _HAS_A_TO_Z,
+- _HAS_ONLY_A_TO_Z_NUM_HYPHEN_UNDERSCORE,
+- _HAS_ASCII_CONTROL_CHARS,
+- _HAS_ONLY_A_TO_Z_NUM_HYPHEN)
+-
+-
+ def service_type_name(type_: str, *, allow_underscores: bool = False) -> str:
+ """
+ Validate a fully qualified service name, instance or subtype. [rfc6763]
+@@ -2087,6 +2080,12 @@
+ :param type_: Type, SubType or service name to validate
+ :return: fully qualified service name (eg: _http._tcp.local.)
+ """
++
++ from zeroconf import (BadTypeInNameException, _HAS_A_TO_Z,
++ _HAS_ONLY_A_TO_Z_NUM_HYPHEN_UNDERSCORE,
++ _HAS_ASCII_CONTROL_CHARS,
++ _HAS_ONLY_A_TO_Z_NUM_HYPHEN)
++
+ if not (type_.endswith('._tcp.local.') or type_.endswith('._udp.local.')):
+ raise BadTypeInNameException("Type '%s' must end with '._tcp.local.' or '._udp.local.'" % type_)
+
diff --git a/gnu/packages/patches/chez-scheme-build-util-paths-backport.patch b/gnu/packages/patches/chez-scheme-build-util-paths-backport.patch
deleted file mode 100644
index aad2d99996..0000000000
--- a/gnu/packages/patches/chez-scheme-build-util-paths-backport.patch
+++ /dev/null
@@ -1,780 +0,0 @@
-From 2447e047b750c3371778beb487f881641a582e66 Mon Sep 17 00:00:00 2001
-From: Philip McGrath <philip@philipmcgrath.com>
-Date: Thu, 11 Mar 2021 18:17:47 -0500
-Subject: [PATCH] avoid hard-coded paths for utilities in build scripts
-
-Backported from
-https://github.com/cisco/ChezScheme/commit/8f4633ce24ac6425b2ab13cc78026b1c9bb5361e
-
-Specific changes:
- - `cc` -> `$(CC)`
- - `/bin/rm` -> `rm`
- - `/bin/ln` -> `ln`
- - `/bin/cp` -> `cp`
- - `/bin/echo` -> `echo`
- - in `makefiles/installsh`, add a case to find `true`
- at an unusual path or as a shell builtin
-
-Co-authored-by: Andy Keep <akeep@robotman.org>
----
- LOG | 12 ++++++++++++
- csug/gifs/Makefile | 8 ++++----
- csug/math/Makefile | 4 ++--
- examples/Makefile | 2 +-
- makefiles/Makefile-csug.in | 6 +++---
- makefiles/Makefile-release_notes.in | 2 +-
- makefiles/Mf-install.in | 4 ++--
- makefiles/installsh | 3 ++-
- mats/6.ms | 2 +-
- mats/Mf-a6fb | 4 ++--
- mats/Mf-a6le | 4 ++--
- mats/Mf-a6nb | 4 ++--
- mats/Mf-a6ob | 4 ++--
- mats/Mf-a6osx | 4 ++--
- mats/Mf-arm32le | 4 ++--
- mats/Mf-i3fb | 4 ++--
- mats/Mf-i3le | 4 ++--
- mats/Mf-i3nb | 4 ++--
- mats/Mf-i3ob | 4 ++--
- mats/Mf-i3osx | 4 ++--
- mats/Mf-i3qnx | 4 ++--
- mats/Mf-ppc32le | 4 ++--
- mats/Mf-ta6fb | 4 ++--
- mats/Mf-ta6le | 4 ++--
- mats/Mf-ta6nb | 4 ++--
- mats/Mf-ta6ob | 4 ++--
- mats/Mf-ta6osx | 4 ++--
- mats/Mf-ti3fb | 4 ++--
- mats/Mf-ti3le | 4 ++--
- mats/Mf-ti3nb | 4 ++--
- mats/Mf-ti3ob | 4 ++--
- mats/Mf-ti3osx | 4 ++--
- mats/Mf-tppc32le | 4 ++--
- mats/unix.ms | 4 ++--
- newrelease | 22 +++++++++++-----------
- pkg/Makefile | 2 +-
- release_notes/gifs/Makefile | 6 +++---
- release_notes/math/Makefile | 4 ++--
- s/Mf-base | 2 +-
- workarea | 10 +++++-----
- 40 files changed, 101 insertions(+), 88 deletions(-)
-
-diff --git a/LOG b/LOG
-index e1631df..399104d 100644
---- a/LOG
-+++ b/LOG
-@@ -2119,3 +2119,15 @@
- bintar/Makefile rpm/Makefile pkg/Makefile wininstall/Makefile
- wininstall/a6nt.wxs wininstall/i3nt.wxs wininstall/ta6nt.wxs
- wininstall/ti3nt.wxs
-+9.5.5 changes:
-+- avoid hard-coded paths for utilities in build scripts
-+ checkin csug/gifs/Makefile csug/math/Makefile examples/Makefile
-+ makefiles/Makefile-csug.in makefiles/Makefile-release_notes.in
-+ makefiles/Mf-install.in makefiles/installsh mats/6.ms mats/Mf-a6fb
-+ mats/Mf-a6le mats/Mf-a6nb mats/Mf-a6ob mats/Mf-a6osx mats/Mf-arm32le
-+ mats/Mf-i3fb mats/Mf-i3le mats/Mf-i3nb mats/Mf-i3ob mats/Mf-i3osx
-+ mats/Mf-i3qnx mats/Mf-ppc32le mats/Mf-ta6fb mats/Mf-ta6le mats/Mf-ta6nb
-+ mats/Mf-ta6ob mats/Mf-ta6osx mats/Mf-ti3fb mats/Mf-ti3le mats/Mf-ti3nb
-+ mats/Mf-ti3ob mats/Mf-ti3osx mats/Mf-tppc32le mats/unix.ms newrelease
-+ pkg/Makefile release_notes/gifs/Makefile release_notes/math/Makefile
-+ s/Mf-base workarea
-diff --git a/csug/gifs/Makefile b/csug/gifs/Makefile
-index 8676e4c..4253ffd 100644
---- a/csug/gifs/Makefile
-+++ b/csug/gifs/Makefile
-@@ -18,7 +18,7 @@ density=-r90x90
- ${density} - |\
- pnmcrop |\
- ppmtogif -transparent white > $*.gif
-- /bin/rm -f $*.dvi $*.log *.aux
-+ rm -f $*.dvi $*.log *.aux
- test -f $*.gif && chmod 644 $*.gif
-
- # translate ps file to gif w/o transparent white background
-@@ -28,7 +28,7 @@ density=-r90x90
- ${density} - |\
- pnmcrop |\
- ppmtogif > $*.gif
-- /bin/rm -f $*.dvi $*.log *.aux
-+ rm -f $*.dvi $*.log *.aux
- test -f $*.gif && chmod 644 $*.gif
-
- all: ${gifs}
-@@ -57,7 +57,7 @@ ghostRightarrow.gif: Rightarrow.tex
- giftrans -g '#000000=#ffffff' |\
- giftopnm |\
- ppmtogif -transparent white > $*.gif
-- /bin/rm -f Rightarrow.dvi Rightarrow.log Rightarrow.aux
-+ rm -f Rightarrow.dvi Rightarrow.log Rightarrow.aux
- test -f $*.gif && chmod 644 $*.gif
-
--clean: ; /bin/rm -f *.gif Make.out
-+clean: ; rm -f *.gif Make.out
-diff --git a/csug/math/Makefile b/csug/math/Makefile
-index 3385fdb..3392ea8 100644
---- a/csug/math/Makefile
-+++ b/csug/math/Makefile
-@@ -15,11 +15,11 @@ density=-r90x90
- ${density} - |\
- pnmcrop |\
- ppmtogif -transparent white > $*.gif
-- /bin/rm -f $*.dvi $*.log $*.aux
-+ rm -f $*.dvi $*.log $*.aux
- test -f $*.gif && chmod 644 $*.gif
-
- all: ${gifs}
-
- ${gifs}: mathmacros
-
--clean: ; /bin/rm -f *.gif Make.out
-+clean: ; rm -f *.gif Make.out
-diff --git a/examples/Makefile b/examples/Makefile
-index b1b4e1d..3edfdd0 100644
---- a/examples/Makefile
-+++ b/examples/Makefile
-@@ -25,4 +25,4 @@ needed: ${obj}
-
- all: ; echo "(time (for-each compile-file (map symbol->string '(${src}))))" | ${Scheme}
-
--clean: ; /bin/rm -f $(obj) expr.md
-+clean: ; rm -f $(obj) expr.md
-diff --git a/makefiles/Makefile-csug.in b/makefiles/Makefile-csug.in
-index df24092..6f8a8d9 100644
---- a/makefiles/Makefile-csug.in
-+++ b/makefiles/Makefile-csug.in
-@@ -29,7 +29,7 @@ install: target
- # thrice is not enough when starting from scratch
- logcheck1: $(x).thirdrun
- @if [ -n "`grep 'Warning: Label(s) may have changed' $(x).log`" ] ; then\
-- /bin/rm -f $(x).thirdrun ;\
-+ rm -f $(x).thirdrun ;\
- $(MAKE) $(x).thirdrun;\
- fi
-
-@@ -55,7 +55,7 @@ stexsrc = csug.stex title.stex copyright.stex contents.stex\
- texsrc = ${stexsrc:%.stex=%.tex}
-
- title.tex contents.tex bibliography.tex:
-- /bin/rm -f $*.tex
-+ rm -f $*.tex
- echo "%%% DO NOT EDIT THIS FILE" > $*.tex
- echo "%%% Edit the .stex version instead" >> $*.tex
- echo "" >> $*.tex
-@@ -147,7 +147,7 @@ code: $(stexsrc)
- echo '(load "code" pretty-print)' | $(Scheme) -q
-
- $(x).clean:
-- -/bin/rm -f $(x).rfm $(x).sfm $(x).prefirstrun $(x).presecondrun\
-+ -rm -f $(x).rfm $(x).sfm $(x).prefirstrun $(x).presecondrun\
- $(x).prethirdrun $(x).ans\
- $(x).hprefirstrun $(x).hpresecondrun $(x).hprethirdrun\
- tspl.aux tspl.haux tspl.rfm tspl.idx in.hidx\
-diff --git a/makefiles/Makefile-release_notes.in b/makefiles/Makefile-release_notes.in
-index 4435b6f..64348a4 100644
---- a/makefiles/Makefile-release_notes.in
-+++ b/makefiles/Makefile-release_notes.in
-@@ -38,7 +38,7 @@ install: $x.pdf $x.html
- $(INSTALL) -m 2755 -d $(installdir)/gifs
- $(INSTALL) -m 0644 --ifdiff gifs/*.gif $(installdir)/gifs
- $(INSTALL) -m 2755 -d $(installdir)/math
-- -/bin/rm -rf $(installdir)/$(mathdir)
-+ -rm -rf $(installdir)/$(mathdir)
- $(INSTALL) -m 2755 -d $(installdir)/$(mathdir)
- if [ -e $(mathdir)/0.gif ] ; then $(INSTALL) -m 0644 $(mathdir)/*.gif $(installdir)/$(mathdir) ; fi
-
-diff --git a/makefiles/Mf-install.in b/makefiles/Mf-install.in
-index a702c34..c09043d 100644
---- a/makefiles/Mf-install.in
-+++ b/makefiles/Mf-install.in
-@@ -114,12 +114,12 @@ bininstall: ${Bin}
- libbininstall: ${LibBin}
- $I -m 444 ${PetiteBoot} ${LibBin}/petite.boot
- if [ "${InstallPetiteName}" != "petite" ]; then\
-- /bin/rm -f ${LibBin}/${InstallPetiteName}.boot;\
-+ rm -f ${LibBin}/${InstallPetiteName}.boot;\
- ln -f ${LibBin}/petite.boot ${LibBin}/${InstallPetiteName}.boot;\
- fi
- $I -m 444 ${SchemeBoot} ${LibBin}/scheme.boot;\
- if [ "${InstallSchemeName}" != "scheme" ]; then\
-- /bin/rm -f ${LibBin}/${InstallSchemeName}.boot;\
-+ rm -f ${LibBin}/${InstallSchemeName}.boot;\
- ln -f ${LibBin}/scheme.boot ${LibBin}/${InstallSchemeName}.boot;\
- fi
- ln -f ${LibBin}/scheme.boot ${LibBin}/${InstallScriptName}.boot;
-diff --git a/makefiles/installsh b/makefiles/installsh
-index 48f1e46..95d85fb 100755
---- a/makefiles/installsh
-+++ b/makefiles/installsh
-@@ -1,7 +1,8 @@
- #! /bin/sh
- if [ -x /bin/true ]; then TRUE=/bin/true;
- elif [ -x /usr/bin/true ]; then TRUE=/usr/bin/true;
--else echo "Can't find /bin/true or /usr/bin/true" ; exit 1;
-+elif command -v true &> /dev/null; then TRUE=true;
-+else echo "Can't find /bin/true or /usr/bin/true and no true command" ; exit 1;
- fi
-
- while ${TRUE} ; do
-diff --git a/mats/6.ms b/mats/6.ms
-index 102f84b..e504230 100644
---- a/mats/6.ms
-+++ b/mats/6.ms
-@@ -2685,7 +2685,7 @@
- (begin
- (system "ln -s ../examples .")
- (load "examples/fatfib.ss" compile)
-- (system "/bin/rm examples")
-+ (system "rm -f examples")
- #t))
- (or (windows?) (embedded?)
- (equal?
-diff --git a/mats/Mf-a6fb b/mats/Mf-a6fb
-index b16d1b6..ff9e687 100644
---- a/mats/Mf-a6fb
-+++ b/mats/Mf-a6fb
-@@ -21,7 +21,7 @@ fobj = foreign1.so
- include Mf-base
-
- foreign1.so: ${fsrc} ../boot/$m/scheme.h
-- cc -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-+ $(CC) -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-
- cat_flush: cat_flush.c
-- cc -o cat_flush cat_flush.c
-+ $(CC) -o cat_flush cat_flush.c
-diff --git a/mats/Mf-a6le b/mats/Mf-a6le
-index d6fee09..a3bda76 100644
---- a/mats/Mf-a6le
-+++ b/mats/Mf-a6le
-@@ -21,7 +21,7 @@ fobj = foreign1.so
- include Mf-base
-
- foreign1.so: ${fsrc} ../boot/$m/scheme.h
-- cc -m64 -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-+ $(CC) -m64 -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-
- cat_flush: cat_flush.c
-- cc -o cat_flush cat_flush.c
-+ $(CC) -o cat_flush cat_flush.c
-diff --git a/mats/Mf-a6nb b/mats/Mf-a6nb
-index 48187ef..0f7ac17 100644
---- a/mats/Mf-a6nb
-+++ b/mats/Mf-a6nb
-@@ -21,7 +21,7 @@ fobj = foreign1.so
- include Mf-base
-
- foreign1.so: ${fsrc} ../boot/$m/scheme.h
-- cc -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-+ $(CC) -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-
- cat_flush: cat_flush.c
-- cc -o cat_flush cat_flush.c
-+ $(CC) -o cat_flush cat_flush.c
-diff --git a/mats/Mf-a6ob b/mats/Mf-a6ob
-index 12758f3..0ffcccc 100644
---- a/mats/Mf-a6ob
-+++ b/mats/Mf-a6ob
-@@ -21,7 +21,7 @@ fobj = foreign1.so
- include Mf-base
-
- foreign1.so: ${fsrc} ../boot/$m/scheme.h
-- cc -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-+ $(CC) -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-
- cat_flush: cat_flush.c
-- cc -o cat_flush cat_flush.c
-+ $(CC) -o cat_flush cat_flush.c
-diff --git a/mats/Mf-a6osx b/mats/Mf-a6osx
-index f1dbf85..57bac22 100644
---- a/mats/Mf-a6osx
-+++ b/mats/Mf-a6osx
-@@ -21,7 +21,7 @@ fobj = foreign1.so
- include Mf-base
-
- foreign1.so: ${fsrc} ../boot/$m/scheme.h
-- cc -m64 -dynamiclib -undefined dynamic_lookup -I${Include} -o foreign1.so ${fsrc}
-+ $(CC) -m64 -dynamiclib -undefined dynamic_lookup -I${Include} -o foreign1.so ${fsrc}
-
- cat_flush: cat_flush.c
-- cc -o cat_flush cat_flush.c
-+ $(CC) -o cat_flush cat_flush.c
-diff --git a/mats/Mf-arm32le b/mats/Mf-arm32le
-index f33a665..83896eb 100644
---- a/mats/Mf-arm32le
-+++ b/mats/Mf-arm32le
-@@ -21,7 +21,7 @@ fobj = foreign1.so
- include Mf-base
-
- foreign1.so: ${fsrc} ../boot/$m/scheme.h
-- cc -fPIC -fomit-frame-pointer -shared -I${Include} -o foreign1.so ${fsrc}
-+ $(CC) -fPIC -fomit-frame-pointer -shared -I${Include} -o foreign1.so ${fsrc}
-
- cat_flush: cat_flush.c
-- cc -o cat_flush cat_flush.c
-+ $(CC) -o cat_flush cat_flush.c
-diff --git a/mats/Mf-i3fb b/mats/Mf-i3fb
-index 150cedb..1e4e8fc 100644
---- a/mats/Mf-i3fb
-+++ b/mats/Mf-i3fb
-@@ -21,7 +21,7 @@ fobj = foreign1.so
- include Mf-base
-
- foreign1.so: ${fsrc} ../boot/$m/scheme.h
-- cc -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-+ $(CC) -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-
- cat_flush: cat_flush.c
-- cc -o cat_flush cat_flush.c
-+ $(CC) -o cat_flush cat_flush.c
-diff --git a/mats/Mf-i3le b/mats/Mf-i3le
-index 8f521c8..b248620 100644
---- a/mats/Mf-i3le
-+++ b/mats/Mf-i3le
-@@ -21,7 +21,7 @@ fobj = foreign1.so
- include Mf-base
-
- foreign1.so: ${fsrc} ../boot/$m/scheme.h
-- cc -m32 -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-+ $(CC) -m32 -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-
- cat_flush: cat_flush.c
-- cc -o cat_flush cat_flush.c
-+ $(CC) -o cat_flush cat_flush.c
-diff --git a/mats/Mf-i3nb b/mats/Mf-i3nb
-index e81f6ff..8afeb5c 100644
---- a/mats/Mf-i3nb
-+++ b/mats/Mf-i3nb
-@@ -21,7 +21,7 @@ fobj = foreign1.so
- include Mf-base
-
- foreign1.so: ${fsrc} ../boot/$m/scheme.h
-- cc -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-+ $(CC) -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-
- cat_flush: cat_flush.c
-- cc -o cat_flush cat_flush.c
-+ $(CC) -o cat_flush cat_flush.c
-diff --git a/mats/Mf-i3ob b/mats/Mf-i3ob
-index 4e3ee1b..fcd4dee 100644
---- a/mats/Mf-i3ob
-+++ b/mats/Mf-i3ob
-@@ -21,7 +21,7 @@ fobj = foreign1.so
- include Mf-base
-
- foreign1.so: ${fsrc} ../boot/$m/scheme.h
-- cc -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-+ $(CC) -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-
- cat_flush: cat_flush.c
-- cc -o cat_flush cat_flush.c
-+ $(CC) -o cat_flush cat_flush.c
-diff --git a/mats/Mf-i3osx b/mats/Mf-i3osx
-index 53c7d4a..a55f6ee 100644
---- a/mats/Mf-i3osx
-+++ b/mats/Mf-i3osx
-@@ -21,7 +21,7 @@ fobj = foreign1.so
- include Mf-base
-
- foreign1.so: ${fsrc} ../boot/$m/scheme.h
-- cc -m32 -dynamiclib -undefined dynamic_lookup -I${Include} -o foreign1.so ${fsrc}
-+ $(CC) -m32 -dynamiclib -undefined dynamic_lookup -I${Include} -o foreign1.so ${fsrc}
-
- cat_flush: cat_flush.c
-- cc -o cat_flush cat_flush.c
-+ $(CC) -o cat_flush cat_flush.c
-diff --git a/mats/Mf-i3qnx b/mats/Mf-i3qnx
-index 724f2db..3e1437a 100644
---- a/mats/Mf-i3qnx
-+++ b/mats/Mf-i3qnx
-@@ -21,7 +21,7 @@ fobj = foreign1.so
- include Mf-base
-
- foreign1.so: ${fsrc} ../boot/$m/scheme.h
-- cc -m32 -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-+ $(CC) -m32 -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-
- cat_flush: cat_flush.c
-- cc -o cat_flush cat_flush.c
-+ $(CC) -o cat_flush cat_flush.c
-diff --git a/mats/Mf-ppc32le b/mats/Mf-ppc32le
-index 28151a8..547ca00 100644
---- a/mats/Mf-ppc32le
-+++ b/mats/Mf-ppc32le
-@@ -21,7 +21,7 @@ fobj = foreign1.so
- include Mf-base
-
- foreign1.so: ${fsrc} ../boot/$m/scheme.h
-- cc -m32 -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-+ $(CC) -m32 -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-
- cat_flush: cat_flush.c
-- cc -o cat_flush cat_flush.c
-+ $(CC) -o cat_flush cat_flush.c
-diff --git a/mats/Mf-ta6fb b/mats/Mf-ta6fb
-index 921d609..5ed233e 100644
---- a/mats/Mf-ta6fb
-+++ b/mats/Mf-ta6fb
-@@ -21,7 +21,7 @@ fobj = foreign1.so
- include Mf-base
-
- foreign1.so: ${fsrc} ../boot/$m/scheme.h
-- cc -pthread -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-+ $(CC) -pthread -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-
- cat_flush: cat_flush.c
-- cc -o cat_flush cat_flush.c
-+ $(CC) -o cat_flush cat_flush.c
-diff --git a/mats/Mf-ta6le b/mats/Mf-ta6le
-index cd014ec..21c686a 100644
---- a/mats/Mf-ta6le
-+++ b/mats/Mf-ta6le
-@@ -21,7 +21,7 @@ fobj = foreign1.so
- include Mf-base
-
- foreign1.so: ${fsrc} ../boot/$m/scheme.h
-- cc -m64 -pthread -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-+ $(CC) -m64 -pthread -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-
- cat_flush: cat_flush.c
-- cc -o cat_flush cat_flush.c
-+ $(CC) -o cat_flush cat_flush.c
-diff --git a/mats/Mf-ta6nb b/mats/Mf-ta6nb
-index 6b1929d..9b9b898 100644
---- a/mats/Mf-ta6nb
-+++ b/mats/Mf-ta6nb
-@@ -21,7 +21,7 @@ fobj = foreign1.so
- include Mf-base
-
- foreign1.so: ${fsrc} ../boot/$m/scheme.h
-- cc -pthread -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-+ $(CC) -pthread -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-
- cat_flush: cat_flush.c
-- cc -o cat_flush cat_flush.c
-+ $(CC) -o cat_flush cat_flush.c
-diff --git a/mats/Mf-ta6ob b/mats/Mf-ta6ob
-index a7aee91..8f25aed 100644
---- a/mats/Mf-ta6ob
-+++ b/mats/Mf-ta6ob
-@@ -21,7 +21,7 @@ fobj = foreign1.so
- include Mf-base
-
- foreign1.so: ${fsrc} ../boot/$m/scheme.h
-- cc -pthread -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-+ $(CC) -pthread -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-
- cat_flush: cat_flush.c
-- cc -o cat_flush cat_flush.c
-+ $(CC) -o cat_flush cat_flush.c
-diff --git a/mats/Mf-ta6osx b/mats/Mf-ta6osx
-index 42da5d7..0dd386f 100644
---- a/mats/Mf-ta6osx
-+++ b/mats/Mf-ta6osx
-@@ -21,7 +21,7 @@ fobj = foreign1.so
- include Mf-base
-
- foreign1.so: ${fsrc} ../boot/$m/scheme.h
-- cc -m64 -pthread -dynamiclib -undefined dynamic_lookup -I${Include} -o foreign1.so ${fsrc}
-+ $(CC) -m64 -pthread -dynamiclib -undefined dynamic_lookup -I${Include} -o foreign1.so ${fsrc}
-
- cat_flush: cat_flush.c
-- cc -o cat_flush cat_flush.c
-+ $(CC) -o cat_flush cat_flush.c
-diff --git a/mats/Mf-ti3fb b/mats/Mf-ti3fb
-index c891145..56bf7d3 100644
---- a/mats/Mf-ti3fb
-+++ b/mats/Mf-ti3fb
-@@ -21,7 +21,7 @@ fobj = foreign1.so
- include Mf-base
-
- foreign1.so: ${fsrc} ../boot/$m/scheme.h
-- cc -pthread -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-+ $(CC) -pthread -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-
- cat_flush: cat_flush.c
-- cc -o cat_flush cat_flush.c
-+ $(CC) -o cat_flush cat_flush.c
-diff --git a/mats/Mf-ti3le b/mats/Mf-ti3le
-index 12e77b8..22b4148 100644
---- a/mats/Mf-ti3le
-+++ b/mats/Mf-ti3le
-@@ -21,7 +21,7 @@ fobj = foreign1.so
- include Mf-base
-
- foreign1.so: ${fsrc} ../boot/$m/scheme.h
-- cc -m32 -pthread -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-+ $(CC) -m32 -pthread -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-
- cat_flush: cat_flush.c
-- cc -o cat_flush cat_flush.c
-+ $(CC) -o cat_flush cat_flush.c
-diff --git a/mats/Mf-ti3nb b/mats/Mf-ti3nb
-index 028c652..573946e 100644
---- a/mats/Mf-ti3nb
-+++ b/mats/Mf-ti3nb
-@@ -21,7 +21,7 @@ fobj = foreign1.so
- include Mf-base
-
- foreign1.so: ${fsrc} ../boot/$m/scheme.h
-- cc -pthread -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-+ $(CC) -pthread -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-
- cat_flush: cat_flush.c
-- cc -o cat_flush cat_flush.c
-+ $(CC) -o cat_flush cat_flush.c
-diff --git a/mats/Mf-ti3ob b/mats/Mf-ti3ob
-index 8a4741c..4472b60 100644
---- a/mats/Mf-ti3ob
-+++ b/mats/Mf-ti3ob
-@@ -21,7 +21,7 @@ fobj = foreign1.so
- include Mf-base
-
- foreign1.so: ${fsrc} ../boot/$m/scheme.h
-- cc -pthread -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-+ $(CC) -pthread -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-
- cat_flush: cat_flush.c
-- cc -o cat_flush cat_flush.c
-+ $(CC) -o cat_flush cat_flush.c
-diff --git a/mats/Mf-ti3osx b/mats/Mf-ti3osx
-index 6913c34..9273b44 100644
---- a/mats/Mf-ti3osx
-+++ b/mats/Mf-ti3osx
-@@ -21,7 +21,7 @@ fobj = foreign1.so
- include Mf-base
-
- foreign1.so: ${fsrc} ../boot/$m/scheme.h
-- cc -m32 -pthread -dynamiclib -undefined dynamic_lookup -I${Include} -o foreign1.so ${fsrc}
-+ $(CC) -m32 -pthread -dynamiclib -undefined dynamic_lookup -I${Include} -o foreign1.so ${fsrc}
-
- cat_flush: cat_flush.c
-- cc -o cat_flush cat_flush.c
-+ $(CC) -o cat_flush cat_flush.c
-diff --git a/mats/Mf-tppc32le b/mats/Mf-tppc32le
-index a12b515..8b9d9f0 100644
---- a/mats/Mf-tppc32le
-+++ b/mats/Mf-tppc32le
-@@ -21,7 +21,7 @@ fobj = foreign1.so
- include Mf-base
-
- foreign1.so: ${fsrc} ../boot/$m/scheme.h
-- cc -m32 -pthread -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-+ $(CC) -m32 -pthread -fPIC -shared -I${Include} -o foreign1.so ${fsrc}
-
- cat_flush: cat_flush.c
-- cc -o cat_flush cat_flush.c
-+ $(CC) -o cat_flush cat_flush.c
-diff --git a/mats/unix.ms b/mats/unix.ms
-index cfba3e7..db7f6f9 100644
---- a/mats/unix.ms
-+++ b/mats/unix.ms
-@@ -72,8 +72,8 @@
- (mat system
- (eqv? (with-output-to-file "testfile.ss" void '(replace)) (void))
- (begin
-- (system (format "~:[~;/pkg~]/bin/rm testfile.ss" (embedded?)))
-- (system (format "~:[~;/pkg~]/bin/echo hello > testfile.ss" (embedded?)))
-+ (system "rm -f testfile.ss")
-+ (system "echo hello > testfile.ss")
- (let ([p (open-input-file "testfile.ss")])
- (and (eq? (read p) 'hello)
- (begin (close-input-port p) #t))))
-diff --git a/newrelease b/newrelease
-index e903956..2d06740 100755
---- a/newrelease
-+++ b/newrelease
-@@ -75,13 +75,13 @@ if ($status != 0) exit 1
-
- cd $W
-
--/bin/rm -f BUILDING
-+rm -f BUILDING
- sed -e "s/Chez Scheme Version [^ ]*/Chez Scheme Version $R/" \
- -e "s/Copyright 1984-.... /Copyright 1984-`date +%Y` /" \
- ../BUILDING > BUILDING
- set updatedfiles = ($updatedfiles BUILDING)
-
--/bin/rm -f NOTICE
-+rm -f NOTICE
- sed -e "s/Chez Scheme Version [^ ]*/Chez Scheme Version $R/" \
- -e "s/Copyright 1984-.... /Copyright 1984-`date +%Y` /" \
- ../NOTICE > NOTICE
-@@ -92,19 +92,19 @@ sed -e "s/csv[0-9]\.[0-9]\(\.[0-9]\)*/csv$R/" ../makefiles/Mf-install.in > makef
- sed -e "s/csug[0-9]\.[0-9]/csug$MR.$mR/" -e "s/csug[0-9]_[0-9]/csug$MR""_$mR/" ../makefiles/Makefile-csug.in > makefiles/Makefile-csug.in
- set updatedfiles = ($updatedfiles makefiles/Mf-install.in makefiles/Makefile-csug.in)
-
--/bin/rm scheme.1.in
-+rm -f scheme.1.in
- sed -e "s/Chez Scheme Version [0-9]\.[0-9]\(\.[0-9]\)* .* [0-9][0-9]*/Chez Scheme Version $R `date +'%B %Y'`/" \
- -e "s/Copyright .* Cisco Systems, Inc./Copyright `date +%Y` Cisco Systems, Inc./" \
- ../scheme.1.in > scheme.1.in
- set updatedfiles = ($updatedfiles scheme.1.in)
-
--/bin/rm -f c/Makefile.{,t}{i3,a6}nt
-+rm -f c/Makefile.{,t}{i3,a6}nt
- foreach fn (c/Makefile.{,t}{a6,i3}nt)
- set updatedfiles = ($updatedfiles $fn)
- sed -e "s/csv[0-9][0-9][0-9]*/csv$ZR/g" ../$fn > $fn
- end
-
--/bin/rm -f mats/Mf-{,t}{i3,a6}nt
-+rm -f mats/Mf-{,t}{i3,a6}nt
- foreach fn (mats/Mf-{,t}{a6,i3}nt)
- set updatedfiles = ($updatedfiles $fn)
- sed -e "s/csv[0-9][0-9][0-9]*/csv$ZR/g" ../$fn > $fn
-@@ -123,11 +123,11 @@ sed -e "s/FILEVERSION .*/FILEVERSION $RCVERSION/"\
- -e "s/Copyright 1984-..../Copyright 1984-`date +%Y`/g" ../c/scheme.rc > c/scheme.rc
- set updatedfiles = ($updatedfiles c/scheme.rc)
-
--/bin/rm -f s/7.ss
-+rm -f s/7.ss
- sed -e "s/nCopyright 1984-..../nCopyright 1984-`date +%Y`/g" ../s/7.ss > s/7.ss
- set updatedfiles = ($updatedfiles s/7.ss)
-
--/bin/rm -f s/cmacros.ss
-+rm -f s/cmacros.ss
- set VNUM = `printf "%04x%02x%02x" $MR $mR $bR`
- sed -e "s/scheme-version #x......../scheme-version #x$VNUM/" ../s/cmacros.ss > s/cmacros.ss
- set updatedfiles = ($updatedfiles s/cmacros.ss)
-@@ -146,17 +146,17 @@ sed -e "s/Revised\(.*\)for Chez Scheme Version [^ ]*<br>/Revised\1for Chez Schem
- ../csug/csug.stex > csug/csug.stex
- set updatedfiles = ($updatedfiles csug/copyright.stex csug/csug.stex)
-
--/bin/rm bintar/Makefile
-+rm -f bintar/Makefile
- sed -e "s/^version = .*/version = $R/" \
- -e "s/csv[0-9][0-9][0-9]*/csv$ZR/g" \
- ../bintar/Makefile > bintar/Makefile
- set updatedfiles = ($updatedfiles bintar/Makefile)
-
--/bin/rm rpm/Makefile
-+rm -f rpm/Makefile
- sed -e "s/^version = .*/version = $R/" ../rpm/Makefile > rpm/Makefile
- set updatedfiles = ($updatedfiles rpm/Makefile)
-
--/bin/rm pkg/Makefile
-+rm -f pkg/Makefile
- sed -e "s/^version = .*/version = $R/" \
- -e "s/&copy; .* Cisco Systems/\&copy; `date +%Y` Cisco Systems/" \
- ../pkg/Makefile > pkg/Makefile
-@@ -170,7 +170,7 @@ foreach fn (wininstall/{,t}{a6,i3}nt.wxs)
- sed -e "s/csv[0-9][0-9][0-9]*/csv$ZR/" ../$fn > $fn
- end
-
--/bin/rm LOG
-+rm -f LOG
- cat ../LOG > LOG
- echo "" >> LOG
- echo "$R changes:" >> LOG
-diff --git a/pkg/Makefile b/pkg/Makefile
-index e0eef67..a3fe83f 100644
---- a/pkg/Makefile
-+++ b/pkg/Makefile
-@@ -39,7 +39,7 @@ $(PKG): $(BUILDROOT)/$(PKG)
- --package-path $(BUILDROOT)\
- $(PKG)
- sudo chown $(DOTUSER):$(DOTGROUP) $(PKG)
-- sudo /bin/rm -rf $(RELEASE) $(BUILDROOT)
-+ sudo rm -rf $(RELEASE) $(BUILDROOT)
-
- $(BUILDROOT)/$(PKG): $(PKGCONTENT)
- sudo /usr/bin/pkgbuild\
-diff --git a/release_notes/gifs/Makefile b/release_notes/gifs/Makefile
-index 9572965..701d53a 100644
---- a/release_notes/gifs/Makefile
-+++ b/release_notes/gifs/Makefile
-@@ -15,7 +15,7 @@ density=-r90x90
- ${density} - |\
- pnmcrop |\
- ppmtogif -transparent white > $*.gif
-- /bin/rm -f $*.dvi $*.log *.aux
-+ rm -f $*.dvi $*.log *.aux
- test -f $*.gif && chmod 644 $*.gif
-
- all: ${gifs}
-@@ -44,7 +44,7 @@ ghostRightarrow.gif: Rightarrow.tex
- giftrans -g '#000000=#ffffff' |\
- giftopnm |\
- ppmtogif -transparent white > $*.gif
-- /bin/rm -f Rightarrow.dvi Rightarrow.log Rightarrow.aux
-+ rm -f Rightarrow.dvi Rightarrow.log Rightarrow.aux
- test -f $*.gif && chmod 644 $*.gif
-
--clean: ; /bin/rm -f *.gif Make.out
-+clean: ; rm -f *.gif Make.out
-diff --git a/release_notes/math/Makefile b/release_notes/math/Makefile
-index b3ffae3..9eca430 100644
---- a/release_notes/math/Makefile
-+++ b/release_notes/math/Makefile
-@@ -16,11 +16,11 @@ density=-r90x90
- ${density} - |\
- pnmcrop |\
- ppmtogif -transparent white > $*.gif
-- /bin/rm -f $*.dvi $*.log $*.aux
-+ rm -f $*.dvi $*.log $*.aux
- test -f $*.gif && chmod 644 $*.gif
-
- all: ${gifs}
-
- ${gifs}: mathmacros
-
--clean: ; /bin/rm -f *.gif Make.out
-+clean: ; rm -f *.gif Make.out
-diff --git a/s/Mf-base b/s/Mf-base
-index c709608..40d816c 100644
---- a/s/Mf-base
-+++ b/s/Mf-base
-@@ -206,7 +206,7 @@ profiled:
- $(MAKE) all loadspd=t bp=t PetiteBoot=../boot/$m/xpetite.boot SchemeBoot=../boot/$m/xscheme.boot
- $(MAKE) prettyclean
- $(MAKE) io.$m loadspd=t dumpbpd=t Scheme="../bin/$m/scheme -b ../boot/$m/xpetite.boot -b ../boot/$m/xscheme.boot"
-- /bin/rm -f ../boot/$m/xpetite.boot ../boot/$m/xscheme.boot
-+ rm -f ../boot/$m/xpetite.boot ../boot/$m/xscheme.boot
- $(MAKE) prettyclean
- $(MAKE) all loadspd=t loadbpd=t
-
-diff --git a/workarea b/workarea
-index bacc712..0461919 100755
---- a/workarea
-+++ b/workarea
-@@ -70,9 +70,9 @@ esac
-
- if [ "$OS" = "Windows_NT" ]
- then
-- ln="/bin/cp -R"
-+ ln="cp -R"
- else
-- ln="/bin/ln -s"
-+ ln="ln -s"
- fi
-
- # This shell script creates a workarea for local modifications to the
-@@ -102,7 +102,7 @@ workln()
- forceworkln()
- {
- if [ ! -e $2 ] ; then
-- /bin/ln -s $1 $2 2> /dev/null
-+ ln -s $1 $2 2> /dev/null
- fi
- }
-
-@@ -168,13 +168,13 @@ done
- # deep copy submodules where builds occur so changes don't propagate through symlinks
- for dir in `echo zlib` ; do
- if [ ! -e $W/$dir ] ; then
-- /bin/cp -R $dir $W/$dir
-+ cp -R $dir $W/$dir
- fi
- done
-
- for dir in `echo lz4` ; do
- if [ ! -e $W/$dir ] ; then
-- /bin/cp -R $dir $W/$dir
-+ cp -R $dir $W/$dir
- fi
- done
-
---
-2.21.1 (Apple Git-122.3)
-
diff --git a/gnu/packages/patches/clang-13.0-libc-search-path.patch b/gnu/packages/patches/clang-13.0-libc-search-path.patch
new file mode 100644
index 0000000000..77303e636d
--- /dev/null
+++ b/gnu/packages/patches/clang-13.0-libc-search-path.patch
@@ -0,0 +1,96 @@
+Clang attempts to guess file names based on the OS and distro (yes!),
+but unfortunately, that doesn't work for us.
+
+This patch makes it easy to insert libc's $libdir so that Clang passes the
+correct absolute file name of crt1.o etc. to 'ld'. It also disables all
+the distro-specific stuff and removes the hard-coded FHS directory names
+to make sure Clang also works on foreign distros.
+
+diff --git a/lib/Driver/Distro.cpp b/lib/Driver/Distro.cpp
+index ee4fe841..f0313bbe 100644
+--- a/lib/Driver/Distro.cpp
++++ b/lib/Driver/Distro.cpp
+@@ -93,6 +93,10 @@ static Distro::DistroType DetectLsbRelease(llvm::vfs::FileSystem &VFS) {
+ }
+
+ static Distro::DistroType DetectDistro(llvm::vfs::FileSystem &VFS) {
++ // The compiler should always behave the same, even when used via Guix on a
++ // foreign distro.
++ return Distro::UnknownDistro;
++
+ Distro::DistroType Version = Distro::UnknownDistro;
+
+ // Newer freedesktop.org's compilant systemd-based systems
+diff --git a/lib/Driver/ToolChains/Cuda.cpp b/lib/Driver/ToolChains/Cuda.cpp
+index d14776c5..88bc3ccd 100644
+--- a/lib/Driver/ToolChains/Cuda.cpp
++++ b/lib/Driver/ToolChains/Cuda.cpp
+@@ -119,6 +119,9 @@ CudaInstallationDetector::CudaInstallationDetector(
+ const Driver &D, const llvm::Triple &HostTriple,
+ const llvm::opt::ArgList &Args)
+ : D(D) {
++ // Don't look for CUDA in /usr.
++ return;
++
+ struct Candidate {
+ std::string Path;
+ bool StrictChecking;
+diff --git a/lib/Driver/ToolChains/Linux.cpp b/lib/Driver/ToolChains/Linux.cpp
+--- a/lib/Driver/ToolChains/Linux.cpp
++++ b/lib/Driver/ToolChains/Linux.cpp
+@@ -186,6 +186,10 @@
+
+ Generic_GCC::PushPPaths(PPaths);
+
++ // Comment out the distro-specific tweaks so that they don't bite when
++ // using Guix on a foreign distro.
++#if 0
++
+ Distro Distro(D.getVFS(), Triple);
+
+ if (Distro.IsAlpineLinux() || Triple.isAndroid()) {
+@@ -251,6 +255,7 @@
+
+ if (IsAndroid || Distro.IsOpenSUSE())
+ ExtraOpts.push_back("--enable-new-dtags");
++#endif
+
+ // The selection of paths to try here is designed to match the patterns which
+ // the GCC driver itself uses, as this is part of the GCC-compatible driver.
+@@ -264,6 +269,7 @@
+
+ Generic_GCC::AddMultilibPaths(D, SysRoot, OSLibDir, MultiarchTriple, Paths);
+
++#if 0
+ addPathIfExists(D, SysRoot + "/lib/" + MultiarchTriple, Paths);
+ addPathIfExists(D, SysRoot + "/lib/../" + OSLibDir, Paths);
+
+@@ -295,9 +301,11 @@
+ addPathIfExists(D, SysRoot + "/" + OSLibDir + "/" + ABIName, Paths);
+ addPathIfExists(D, SysRoot + "/usr/" + OSLibDir + "/" + ABIName, Paths);
+ }
++#endif
+
+ Generic_GCC::AddMultiarchPaths(D, SysRoot, OSLibDir, Paths);
+
++#if 0
+ // Similar to the logic for GCC above, if we are currently running Clang
+ // inside of the requested system root, add its parent library path to those
+ // searched.
+@@ -305,9 +313,14 @@
+ // directory ('Dir' below) or the ResourceDir.
+ if (StringRef(D.Dir).startswith(SysRoot))
+ addPathIfExists(D, D.Dir + "/../lib", Paths);
++#endif
++
++ // Add libc's lib/ directory to the search path, so that crt1.o, crti.o,
++ // and friends can be found.
++ addPathIfExists(D, "@GLIBC_LIBDIR@", Paths);
+
+- addPathIfExists(D, SysRoot + "/lib", Paths);
+- addPathIfExists(D, SysRoot + "/usr/lib", Paths);
++ // Add GCC's lib/ directory so libstdc++.so can be found.
++ addPathIfExists(D, GCCInstallation.getParentLibPath(), Paths);
+ }
+
+ ToolChain::RuntimeLibType Linux::GetDefaultRuntimeLibType() const {
diff --git a/gnu/packages/patches/cool-retro-term-wctype.patch b/gnu/packages/patches/cool-retro-term-wctype.patch
new file mode 100644
index 0000000000..790b0c4453
--- /dev/null
+++ b/gnu/packages/patches/cool-retro-term-wctype.patch
@@ -0,0 +1,13 @@
+Submitted upstream at https://github.com/Swordfish90/cool-retro-term/issues/692
+
+--- a/qmltermwidget/lib/TerminalCharacterDecoder.cpp 1969-12-31 18:00:01.000000000 -0600
++++ b/qmltermwidget/lib/TerminalCharacterDecoder.cpp 2021-12-27 22:07:04.452256118 -0600
+@@ -19,6 +19,8 @@
+ 02110-1301 USA.
+ */
+
++#include <cwctype>
++
+ // Own
+ #include "TerminalCharacterDecoder.h"
+
diff --git a/gnu/packages/patches/dealii-fix-compiliation-with-boost-1.78.patch b/gnu/packages/patches/dealii-fix-compiliation-with-boost-1.78.patch
new file mode 100644
index 0000000000..1937aa9afc
--- /dev/null
+++ b/gnu/packages/patches/dealii-fix-compiliation-with-boost-1.78.patch
@@ -0,0 +1,40 @@
+From cbef761731627cece2a6f0276b87dacabbdc8a72 Mon Sep 17 00:00:00 2001
+From: David Wells <drwells@email.unc.edu>
+Date: Tue, 4 Jan 2022 12:46:30 -0500
+Subject: [PATCH] Fix compilation with boost 1.78.
+
+I bisected (fortunately Boost.Geometry a header-only library so adding the
+include directory sufficed) and
+https://github.com/boostorg/geometry/commit/6eb9e238bcb37e26dc31d16acf826784a2ba30f4
+is where this problem starts for us. See also
+https://github.com/boostorg/geometry/issues/792 - the easiest fix for all such
+issues is to just include the project header `boost/geometry/geometry.hpp`.
+
+In this particular case, if you look at the commit which causes grid_tools.cc
+fails to compile, its because we were relying on some implicit includes. In
+particular, we need the distance header to find the distance between points and
+boxes, but that was previously included in another file.
+
+This patch has been adapted from
+e0e76835519d122fd12b5858e16d08641a641c6a to apply to dealii 9.3.2.
+
+See https://github.com/dealii/dealii/pull/13165.
+---
+ include/deal.II/numerics/rtree.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/include/deal.II/numerics/rtree.h b/include/deal.II/numerics/rtree.h
+index 1b9d04dacd..1e1bfd2932 100644
+--- a/include/deal.II/numerics/rtree.h
++++ b/include/deal.II/numerics/rtree.h
+@@ -26,6 +26,7 @@
+ #include <deal.II/boost_adaptors/segment.h>
+
+ DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
++#include <boost/geometry/algorithms/distance.hpp>
+ #include <boost/geometry/index/rtree.hpp>
+ #include <boost/geometry/strategies/strategies.hpp>
+ DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
+--
+2.30.2
+
diff --git a/gnu/packages/patches/dealii-fix-sundials.patch b/gnu/packages/patches/dealii-fix-sundials.patch
new file mode 100644
index 0000000000..7dd5df45da
--- /dev/null
+++ b/gnu/packages/patches/dealii-fix-sundials.patch
@@ -0,0 +1,60 @@
+From af73f368f7f9d4a00df075d1a9f50fc495f8e87a Mon Sep 17 00:00:00 2001
+From: Timo Heister <timo.heister@gmail.com>
+Date: Sat, 25 Dec 2021 12:30:45 -0500
+Subject: [PATCH] fix sundials compilation
+
+---
+ include/deal.II/sundials/n_vector.templates.h | 11 ++++++-----
+ 1 file changed, 6 insertions(+), 5 deletions(-)
+
+diff --git a/include/deal.II/sundials/n_vector.templates.h b/include/deal.II/sundials/n_vector.templates.h
+index 2b49e3efc9..746f63a03b 100644
+--- a/include/deal.II/sundials/n_vector.templates.h
++++ b/include/deal.II/sundials/n_vector.templates.h
+@@ -253,13 +253,13 @@ namespace SUNDIALS
+ template <
+ typename VectorType,
+ typename std::enable_if_t<!IsBlockVector<VectorType>::value, int> = 0>
+- MPI_Comm
++ const MPI_Comm &
+ get_communicator(N_Vector v);
+
+ template <
+ typename VectorType,
+ typename std::enable_if_t<IsBlockVector<VectorType>::value, int> = 0>
+- MPI_Comm
++ const MPI_Comm &
+ get_communicator(N_Vector v);
+
+ /**
+@@ -481,7 +481,7 @@ SUNDIALS::internal::NVectorOperations::destroy(N_Vector v)
+
+ template <typename VectorType,
+ std::enable_if_t<IsBlockVector<VectorType>::value, int>>
+-MPI_Comm
++const MPI_Comm &
+ SUNDIALS::internal::NVectorOperations::get_communicator(N_Vector v)
+ {
+ return unwrap_nvector_const<VectorType>(v)->block(0).get_mpi_communicator();
+@@ -491,7 +491,7 @@ SUNDIALS::internal::NVectorOperations::get_communicator(N_Vector v)
+
+ template <typename VectorType,
+ std::enable_if_t<!IsBlockVector<VectorType>::value, int>>
+-MPI_Comm
++const MPI_Comm &
+ SUNDIALS::internal::NVectorOperations::get_communicator(N_Vector v)
+ {
+ return unwrap_nvector_const<VectorType>(v)->get_mpi_communicator();
+@@ -519,7 +519,8 @@ SUNDIALS::internal::NVectorOperations::get_communicator_as_void_ptr(N_Vector v)
+ (void)v;
+ return nullptr;
+ # else
+- return get_communicator<VectorType>(v);
++ // We need to cast away const here, as SUNDIALS demands a pure `void *`.
++ return &(const_cast<MPI_Comm &>(get_communicator<VectorType>(v)));
+ # endif
+ }
+
+--
+2.30.2
+
diff --git a/gnu/packages/patches/dune-istl-2.7-fix-non-mpi-tests.patch b/gnu/packages/patches/dune-istl-2.7-fix-non-mpi-tests.patch
deleted file mode 100644
index ee2bb8f676..0000000000
--- a/gnu/packages/patches/dune-istl-2.7-fix-non-mpi-tests.patch
+++ /dev/null
@@ -1,82 +0,0 @@
-Fix build of dune-istl's tests
-
-Patch copied from upstream source repository:
-
-https://gitlab.dune-project.org/core/dune-istl/-/commit/9eee3462df5a64881c08574f9291e76db398de0a
-
-From 9eee3462df5a64881c08574f9291e76db398de0a Mon Sep 17 00:00:00 2001
-From: Felix Gruber <felgru@posteo.net>
-Date: Sat, 4 Apr 2020 15:27:09 +0200
-Subject: [PATCH] make tests succeed when MPI is disabled
-
-When MPI is not available or explicitly disabled with the CMake build
-option -DCMAKE_IDSABLE_FIND_PACKAGE_MPI=TRUE, some tests were unable to
-build.
-
-The tests created from solverfactorytest.cc.in and part of
-scalarproductstest.cc use Dune::OwnerOverlapCopyCommunication which is
-defined behind `#if HAVE_MPI` and is thus not available in a non-MPI
-build. I've thus disabled those tests when MPI is unavailable.
-
-The matrixmarkettest did not work without MPI, as it contained some code
-using the wrong template parameters when HAVE_MPI was not set. Those
-template paramters have been fixed now.
-
-I've confirmed, that after my changes `make build_tests` succeeds to
-build all tests and that those tests run without failure.
----
- dune/istl/test/CMakeLists.txt | 3 ++-
- dune/istl/test/matrixmarkettest.cc | 2 +-
- dune/istl/test/scalarproductstest.cc | 2 ++
- 3 files changed, 5 insertions(+), 2 deletions(-)
-
-diff --git a/dune/istl/test/CMakeLists.txt b/dune/istl/test/CMakeLists.txt
-index ffd87969..2c7b2387 100644
---- a/dune/istl/test/CMakeLists.txt
-+++ b/dune/istl/test/CMakeLists.txt
-@@ -77,7 +77,8 @@ set(DUNE_TEST_FACTORY_BLOCK_SIZES
- function(add_factory_test BLOCK)
- STRING(REGEX REPLACE "[^a-zA-Z0-9]" "" BLOCK_CLEAN ${BLOCK})
- configure_file(solverfactorytest.cc.in solverfactorytest_${BLOCK_CLEAN}.cc)
-- dune_add_test(SOURCES ${CMAKE_CURRENT_BINARY_DIR}/solverfactorytest_${BLOCK_CLEAN}.cc)
-+ dune_add_test(SOURCES ${CMAKE_CURRENT_BINARY_DIR}/solverfactorytest_${BLOCK_CLEAN}.cc
-+ CMAKE_GUARD HAVE_MPI)
- endfunction(add_factory_test)
-
- foreach(FIELD_TYPE ${DUNE_TEST_FACTORY_FIELD_TYPES})
-diff --git a/dune/istl/test/matrixmarkettest.cc b/dune/istl/test/matrixmarkettest.cc
-index b335afe6..ce30e8ae 100644
---- a/dune/istl/test/matrixmarkettest.cc
-+++ b/dune/istl/test/matrixmarkettest.cc
-@@ -52,7 +52,7 @@ int testMatrixMarket(int N)
- storeMatrixMarket(mat, std::string("testmat"), comm);
- storeMatrixMarket(bv, std::string("testvec"), comm, false);
- #else
-- typedef Dune::MatrixAdapter<BCRSMat,BVector,BVector> Operator;
-+ typedef Dune::MatrixAdapter<Matrix,Vector,Vector> Operator;
- Operator op(mat);
- op.apply(bv, cv);
-
-diff --git a/dune/istl/test/scalarproductstest.cc b/dune/istl/test/scalarproductstest.cc
-index 452b1d89..f46ce2a9 100644
---- a/dune/istl/test/scalarproductstest.cc
-+++ b/dune/istl/test/scalarproductstest.cc
-@@ -115,6 +115,7 @@ int main(int argc, char** argv)
- scalarProductTest<ScalarProduct, Vector>(scalarProduct,numBlocks);
- }
-
-+#if HAVE_MPI
- // Test the ParallelScalarProduct class
- {
- using Vector = BlockVector<FieldVector<double,BlockSize> >;
-@@ -139,6 +140,7 @@ int main(int argc, char** argv)
- ScalarProduct scalarProduct(communicator,SolverCategory::nonoverlapping);
- scalarProductTest<ScalarProduct, Vector>(scalarProduct,numBlocks);
- }
-+#endif
-
- return t.exit();
- }
---
-2.25.1
-
diff --git a/gnu/packages/patches/enlightenment-fix-setuid-path.patch b/gnu/packages/patches/enlightenment-fix-setuid-path.patch
index a0efb29857..e4f98de7c8 100644
--- a/gnu/packages/patches/enlightenment-fix-setuid-path.patch
+++ b/gnu/packages/patches/enlightenment-fix-setuid-path.patch
@@ -1,9 +1,11 @@
+This diff was generated against enlightenment-0.25.0, targeting all the occurances of 'suid_exes'.
+
diff --git a/src/bin/e_auth.c b/src/bin/e_auth.c
-index 8b0aa6641..3dff0ad84 100644
+index 6d07a0ac3..31e0e728f 100644
--- a/src/bin/e_auth.c
+++ b/src/bin/e_auth.c
-@@ -12,8 +12,7 @@ e_auth_begin(char *passwd)
- if (pwlen == 0) goto out;
+@@ -38,8 +38,7 @@ e_auth_begin(char *passwd)
+ pwlen = strlen(passwd);
snprintf(buf, sizeof(buf),
- "%s/enlightenment/utils/enlightenment_ckpasswd pw",
@@ -11,9 +13,9 @@ index 8b0aa6641..3dff0ad84 100644
+ "/run/setuid-programs/enlightenment_ckpasswd pw");
exe = ecore_exe_pipe_run(buf, ECORE_EXE_PIPE_WRITE, NULL);
if (!exe) goto out;
- if (ecore_exe_send(exe, passwd, pwlen) != EINA_TRUE) goto out;
-@@ -47,8 +46,7 @@ e_auth_polkit_begin(char *passwd, const char *cookie, unsigned int uid)
- if (pwlen == 0) goto out;
+ snprintf(buf, sizeof(buf), "pw %s", passwd);
+@@ -75,8 +74,7 @@ e_auth_polkit_begin(char *passwd, const char *cookie, unsigned int uid)
+ pwlen = strlen(passwd);
snprintf(buf, sizeof(buf),
- "%s/enlightenment/utils/enlightenment_ckpasswd pk",
@@ -54,23 +56,24 @@ index 9b10b3117..74e6b72ad 100644
}
v->guard = ecore_timer_loop_add(E_FM_MOUNT_TIMEOUT, (Ecore_Task_Cb)_e_fm_main_eeze_vol_mount_timeout, v);
diff --git a/src/bin/e_start_main.c b/src/bin/e_start_main.c
-index b2c439455..cb16c7bd4 100644
+index 722063339..2da2d5a23 100644
--- a/src/bin/e_start_main.c
+++ b/src/bin/e_start_main.c
-@@ -710,7 +710,7 @@ main(int argc, char **argv)
- "E_ALERT_FONT_DIR=%s/data/fonts", eina_prefix_data_get(pfx));
+@@ -596,8 +596,7 @@ main(int argc, char **argv)
+ eina_prefix_data_get(pfx));
putenv(buf2);
- snprintf(buf3, sizeof(buf3),
-- "E_ALERT_SYSTEM_BIN=%s/enlightenment/utils/enlightenment_system", eina_prefix_lib_get(pfx));
-+ "E_ALERT_SYSTEM_BIN=/run/setuid-programs/enlightenment_system");
+ myasprintf(&buf3,
+- "E_ALERT_SYSTEM_BIN=%s/enlightenment/utils/enlightenment_system",
+- eina_prefix_lib_get(pfx));
++ "E_ALERT_SYSTEM_BIN=/run/setuid-programs/enlightenment_system");
putenv(buf3);
- if ((valgrind_mode || valgrind_tool) &&
+ home = getenv("HOME");
diff --git a/src/bin/e_system.c b/src/bin/e_system.c
-index 1e7aabb64..dc0173219 100644
+index bfd43e7e2..45d78b7ed 100644
--- a/src/bin/e_system.c
+++ b/src/bin/e_system.c
-@@ -132,7 +132,7 @@ _system_spawn(void)
+@@ -133,7 +133,7 @@ _system_spawn(void)
else _respawn_count = 0;
if (_respawn_count > 5) return;
snprintf(buf, sizeof(buf),
diff --git a/gnu/packages/patches/eog-update-libportal-usage.patch b/gnu/packages/patches/eog-update-libportal-usage.patch
new file mode 100644
index 0000000000..220a16ddc4
--- /dev/null
+++ b/gnu/packages/patches/eog-update-libportal-usage.patch
@@ -0,0 +1,40 @@
+Fix eog to work with libportal-0.5
+
+This patch is extracted from upstream, see here
+https://gitlab.gnome.org/GNOME/eog/-/commit/a06e6325907e136678b0bbe7058c25d688034afd
+
+diff --git a/meson.build b/meson.build
+index 9a32e4bb..9d49aa45 100644
+--- a/meson.build
++++ b/meson.build
+@@ -165,10 +165,14 @@ config_h.set('HAVE_EXEMPI', enable_xmp)
+ # xdg-desktop-portal support with libportal (optional)
+ enable_libportal = get_option('libportal')
+ if enable_libportal
+- libportal_dep = dependency('libportal', version: '>= 0.3', required: false)
++ libportal_dep = dependency('libportal', version: '>= 0.5', required: false)
+ assert(libportal_dep.found() and cc.has_header('libportal/portal.h', dependencies: libportal_dep),
+ 'xdg-desktop-portal support requested but library not found. Please use -Dlibportal=false')
+
+- common_deps += libportal_dep
++ libportal_gtk3_dep = dependency('libportal-gtk3', version: '>= 0.5', required: false)
++ assert(libportal_gtk3_dep.found() and cc.has_header('libportal-gtk3/portal-gtk3.h', dependencies: libportal_gtk3_dep),
++ 'xdg-desktop-portal support requested but library not found. Please use -Dlibportal=false')
++
++ common_deps += [libportal_dep, libportal_gtk3_dep]
+ endif
+ config_h.set('HAVE_LIBPORTAL', enable_libportal)
+
+diff --git a/src/eog-util.c b/src/eog-util.c
+index 90b9768e..56d23472 100644
+--- a/src/eog-util.c
++++ b/src/eog-util.c
+@@ -45,7 +45,7 @@
+ #include <glib/gi18n.h>
+ #ifdef HAVE_LIBPORTAL
+ #include <libportal/portal.h>
+-#include <libportal/portal-gtk3.h>
++#include <libportal-gtk3/portal-gtk3.h>
+ #endif
+
+ void
diff --git a/gnu/packages/patches/epiphany-update-libportal-usage.patch b/gnu/packages/patches/epiphany-update-libportal-usage.patch
new file mode 100644
index 0000000000..0d8ea045fb
--- /dev/null
+++ b/gnu/packages/patches/epiphany-update-libportal-usage.patch
@@ -0,0 +1,53 @@
+Fix for epiphany with libportal-0.5.
+
+This patch was adapted from upstream
+https://gitlab.gnome.org/GNOME/epiphany/-/commit/e4d259f614f75c26ad0d2094f4f569ffd1bc06d1
+
+diff --git a/lib/ephy-flatpak-utils.c b/lib/ephy-flatpak-utils.c
+index 6fc9a5dec17a63c0660cbc1d95103c8f77231d30..0fd90b3f178392930e812a8391fd81bf1371b8bf 100644
+--- a/lib/ephy-flatpak-utils.c
++++ b/lib/ephy-flatpak-utils.c
+@@ -29,7 +29,7 @@
+ #include <gio/gio.h>
+ #include <gio/gunixfdlist.h>
+ #if USE_LIBPORTAL
+-#include <libportal/portal-gtk3.h>
++#include <libportal-gtk3/portal-gtk3.h>
+ #endif
+ #include <string.h>
+ #include <sys/stat.h>
+diff --git a/lib/meson.build b/lib/meson.build
+index 264f9c5fb66268fc248f780b8d1c06c8291f856d..db0a0557f0ae634d7fb95e57aba0cd901ca4d6c1 100644
+--- a/lib/meson.build
++++ b/lib/meson.build
+@@ -66,6 +66,7 @@ libephymisc_deps = [
+ libxml_dep,
+ m_dep,
+ portal_dep,
++ portal_gtk_dep,
+ sqlite3_dep,
+ webkit2gtk_dep
+ ]
+diff --git a/meson.build b/meson.build
+index 0b9f862b22a23619289342ec39fa0a0274558c25..4285a975004e48366789a4e66f8b23f3af05a636 100644
+--- a/meson.build
++++ b/meson.build
+@@ -95,7 +95,8 @@ libhandy_dep = dependency('libhandy-1', version: '>= 1.5.0')
+ libsecret_dep = dependency('libsecret-1', version: '>= 0.19.0')
+ libxml_dep = dependency('libxml-2.0', version: '>= 2.6.12')
+ nettle_dep = dependency('nettle', version: nettle_requirement)
+-portal_dep = dependency('libportal', version: '>= 0.0.2', required: get_option('libportal'))
++portal_dep = dependency('libportal', version: '>= 0.5', required: get_option('libportal'))
++portal_gtk_dep = dependency('libportal-gtk3', version: '>= 0.5', required: get_option('libportal'))
+ sqlite3_dep = dependency('sqlite3', version: '>= 3.22')
+
+ if get_option('soup2').enabled()
+@@ -108,7 +109,7 @@ else
+ webkit2gtk_web_extension_dep = dependency('webkit2gtk-web-extension-4.1', version: webkitgtk_requirement)
+ endif
+
+-conf.set10('USE_LIBPORTAL', portal_dep.found())
++conf.set10('USE_LIBPORTAL', portal_dep.found() and portal_gtk_dep.found())
+
+ webkit_revision = webkit2gtk_dep.get_variable(pkgconfig : 'revision', default_value : '')
+ if webkit_revision == 'tarball'
diff --git a/gnu/packages/patches/fifengine-boost-compat.patch b/gnu/packages/patches/fifengine-boost-compat.patch
new file mode 100644
index 0000000000..dcbf923297
--- /dev/null
+++ b/gnu/packages/patches/fifengine-boost-compat.patch
@@ -0,0 +1,17 @@
+Fix build with newer Boost.
+
+Taken from upstream:
+
+ https://github.com/fifengine/fifengine/commit/8072f18a9bf4e75c3e1b197b6ccda11e82954460
+
+diff --git a/engine/core/vfs/zip/zipnode.cpp b/engine/core/vfs/zip/zipnode.cpp
+--- a/engine/core/vfs/zip/zipnode.cpp
++++ b/engine/core/vfs/zip/zipnode.cpp
+@@ -28,6 +28,7 @@
+ #include "vfs/fife_boost_filesystem.h"
+
+ #include "zipnode.h"
++#include <algorithm>
+
+ namespace {
+ /** helper function to find a value in a ZipNodeContainer
diff --git a/gnu/packages/patches/gnome-builder-update-libportal.patch b/gnu/packages/patches/gnome-builder-update-libportal.patch
new file mode 100644
index 0000000000..1cf7f32132
--- /dev/null
+++ b/gnu/packages/patches/gnome-builder-update-libportal.patch
@@ -0,0 +1,93 @@
+From b3bfa0df53a3749c3b73cb6c4bad5cab3fa549a1 Mon Sep 17 00:00:00 2001
+From: Abderrahim Kitouni <akitouni@gnome.org>
+Date: Sat, 25 Dec 2021 16:25:43 +0100
+Subject: [PATCH] build: use libportal 0.5
+
+This partly reverts 2aea4bd7d0ced77a7d0778517b4505af5dea2dac
+---
+ build-aux/flatpak/org.gnome.Builder.json | 7 ++++---
+ meson.build | 2 +-
+ src/gstyle/gstyle-color-panel.c | 2 +-
+ src/plugins/devhelp/gbp-devhelp-page.c | 2 +-
+ src/plugins/open-with-external/gbp-owe-workbench-addin.c | 2 +-
+ 5 files changed, 8 insertions(+), 7 deletions(-)
+
+diff --git a/build-aux/flatpak/org.gnome.Builder.json b/build-aux/flatpak/org.gnome.Builder.json
+index 02ac31ede..a32d29b92 100644
+--- a/build-aux/flatpak/org.gnome.Builder.json
++++ b/build-aux/flatpak/org.gnome.Builder.json
+@@ -601,15 +601,16 @@
+ "name" : "libportal",
+ "config-opts" : [
+ "--libdir=/app/lib",
+- "--buildtype=debugoptimized"
++ "--buildtype=debugoptimized",
++ "-Dbackends=gtk3"
+ ],
+ "buildsystem" : "meson",
+ "builddir" : true,
+ "sources" : [
+ {
+ "type" : "archive",
+- "url" : "https://github.com/flatpak/libportal/releases/download/0.4/libportal-0.4.tar.xz",
+- "sha256" : "3cd5f50907831cf236b40aa14c5a14ccbbf08828cecb3286efa82ce03cacef28"
++ "url" : "https://github.com/flatpak/libportal/releases/download/0.5/libportal-0.5.tar.xz",
++ "sha256" : "d8c8cb18a34e5eeb26a39c94044c955995b01de0e139caac5e18c076cf821b3b"
+ }
+ ]
+ },
+diff --git a/meson.build b/meson.build
+index 01737034b..494e0d752 100644
+--- a/meson.build
++++ b/meson.build
+@@ -284,7 +284,7 @@ libjsonrpc_glib_dep = dependency('jsonrpc-glib-1.0', version: '>= 3.41.0')
+ libm_dep = cc.find_library('m', required: false)
+ libpangoft2_dep = dependency('pangoft2', version: '>= 1.38.0')
+ libpeas_dep = dependency('libpeas-1.0', version: '>= 1.22.0')
+-libportal_dep = dependency('libportal', version: '>= 0.3', required: false)
++libportal_dep = dependency('libportal-gtk3', required: false)
+ libtemplate_glib_dep = dependency('template-glib-1.0', version: '>= 3.28.0')
+ libvte_dep = dependency('vte-2.91', version: '>= 0.65.0')
+ libwebkit_dep = dependency('webkit2gtk-4.0', version: '>= 2.26', required: false)
+diff --git a/src/gstyle/gstyle-color-panel.c b/src/gstyle/gstyle-color-panel.c
+index 15742a7be..a6295c168 100644
+--- a/src/gstyle/gstyle-color-panel.c
++++ b/src/gstyle/gstyle-color-panel.c
+@@ -30,7 +30,7 @@
+ #include "gstyle-color.h"
+
+ #include <libportal/portal.h>
+-#include <libportal/portal-gtk3.h>
++#include <libportal-gtk3/portal-gtk3.h>
+
+ #define HSV_TO_SCALE_FACTOR (1.0 / 256.0)
+ #define CIELAB_L_TO_SCALE_FACTOR (100.0 / 256.0)
+diff --git a/src/plugins/devhelp/gbp-devhelp-page.c b/src/plugins/devhelp/gbp-devhelp-page.c
+index 5d5c52b0d..2ac788414 100644
+--- a/src/plugins/devhelp/gbp-devhelp-page.c
++++ b/src/plugins/devhelp/gbp-devhelp-page.c
+@@ -25,7 +25,7 @@
+ #include <webkit2/webkit2.h>
+
+ #include <libportal/portal.h>
+-#include <libportal/portal-gtk3.h>
++#include <libportal-gtk3/portal-gtk3.h>
+
+ #include "gbp-devhelp-page.h"
+ #include "gbp-devhelp-search.h"
+diff --git a/src/plugins/open-with-external/gbp-owe-workbench-addin.c b/src/plugins/open-with-external/gbp-owe-workbench-addin.c
+index 51d2da844..816fe643f 100644
+--- a/src/plugins/open-with-external/gbp-owe-workbench-addin.c
++++ b/src/plugins/open-with-external/gbp-owe-workbench-addin.c
+@@ -23,7 +23,7 @@
+ #include "gbp-owe-workbench-addin.h"
+
+ #include <libportal/portal.h>
+-#include <libportal/portal-gtk3.h>
++#include <libportal-gtk3/portal-gtk3.h>
+
+ struct _GbpOweWorkbenchAddin
+ {
+--
+GitLab
+
diff --git a/gnu/packages/patches/gnome-control-center-libexecdir.patch b/gnu/packages/patches/gnome-control-center-libexecdir.patch
new file mode 100644
index 0000000000..a5f4988e34
--- /dev/null
+++ b/gnu/packages/patches/gnome-control-center-libexecdir.patch
@@ -0,0 +1,58 @@
+This reverts commit 2007a5b2, which broke installation of the package.
+See: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1579.
+
+diff --git a/meson.build b/meson.build
+index 734810d01..b4a45c60d 100644
+--- a/meson.build
++++ b/meson.build
+@@ -259,6 +259,13 @@ config_h.set('HAVE_WACOM', host_is_linux_not_s390,
+ config_h.set('BUILD_THUNDERBOLT', host_is_linux_not_s390,
+ description: 'Define to 1 to build the Thunderbolt panel')
+
++# Check for info panel
++gnome_session_libexecdir = get_option('gnome_session_libexecdir')
++if gnome_session_libexecdir == ''
++ gnome_session_libexecdir = control_center_libexecdir
++endif
++
++
+ gnome = import('gnome')
+ i18n = import('i18n')
+ pkg = import('pkgconfig')
+diff --git a/meson_options.txt b/meson_options.txt
+index 1b7b54810..910226c56 100644
+--- a/meson_options.txt
++++ b/meson_options.txt
+@@ -1,5 +1,6 @@
+ option('cheese', type: 'boolean', value: true, description: 'build with cheese webcam support')
+ option('documentation', type: 'boolean', value: false, description: 'build documentation')
++option('gnome_session_libexecdir', type: 'string', value: '', description: 'Directory for gnome-session\'s libexecdir')
+ option('ibus', type: 'boolean', value: true, description: 'build with IBus support')
+ option('privileged_group', type: 'string', value: 'wheel', description: 'name of group that has elevated permissions')
+ option('snap', type: 'boolean', value: false, description: 'build with Snap support')
+diff --git a/panels/info-overview/cc-info-overview-panel.c b/panels/info-overview/cc-info-overview-panel.c
+index 6e832eb35..b34030c8c 100644
+--- a/panels/info-overview/cc-info-overview-panel.c
++++ b/panels/info-overview/cc-info-overview-panel.c
+@@ -236,7 +236,7 @@ static char *
+ get_renderer_from_helper (const char **env)
+ {
+ int status;
+- char *argv[] = { LIBEXECDIR "/gnome-control-center-print-renderer", NULL };
++ char *argv[] = { GNOME_SESSION_DIR "/gnome-session-check-accelerated", NULL };
+ g_auto(GStrv) envp = NULL;
+ g_autofree char *renderer = NULL;
+ g_autoptr(GError) error = NULL;
+diff --git a/panels/info-overview/meson.build b/panels/info-overview/meson.build
+index 2fe10b32c..506b7274e 100644
+--- a/panels/info-overview/meson.build
++++ b/panels/info-overview/meson.build
+@@ -19,7 +19,7 @@ i18n.merge_file(
+
+ cflags += [
+ '-DDATADIR="@0@"'.format(control_center_datadir),
+- '-DLIBEXECDIR="@0@"'.format(control_center_libexecdir),
++ '-DGNOME_SESSION_DIR="@0@"'.format(gnome_session_libexecdir)
+ ]
+
+ sources = files(
diff --git a/gnu/packages/patches/gnome-todo-libportal.patch b/gnu/packages/patches/gnome-todo-libportal.patch
new file mode 100644
index 0000000000..380c628592
--- /dev/null
+++ b/gnu/packages/patches/gnome-todo-libportal.patch
@@ -0,0 +1,54 @@
+From 3e1f4da8c0e536c09ffaf3b43fe2eb5dc17cc23e Mon Sep 17 00:00:00 2001
+From: Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
+Date: Thu, 18 Nov 2021 19:46:13 -0300
+Subject: [PATCH] flatpak: Adjust to libportal changes
+
+---
+ build-aux/flatpak/org.gnome.Todo.json | 3 +++
+ src/plugins/background/gtd-plugin-background.c | 2 +-
+ src/plugins/background/meson.build | 2 +-
+ 3 files changed, 5 insertions(+), 2 deletions(-)
+
+diff --git a/build-aux/flatpak/org.gnome.Todo.json b/build-aux/flatpak/org.gnome.Todo.json
+index 034e200c..44b83d66 100644
+--- a/build-aux/flatpak/org.gnome.Todo.json
++++ b/build-aux/flatpak/org.gnome.Todo.json
+@@ -143,6 +143,9 @@
+ {
+ "name" : "libportal",
+ "buildsystem" : "meson",
++ "config-opts" : [
++ "-Dbackends=gtk4"
++ ],
+ "sources" : [
+ {
+ "type" : "git",
+diff --git a/src/plugins/background/gtd-plugin-background.c b/src/plugins/background/gtd-plugin-background.c
+index cf48786c..f64d07aa 100644
+--- a/src/plugins/background/gtd-plugin-background.c
++++ b/src/plugins/background/gtd-plugin-background.c
+@@ -28,7 +28,7 @@
+ #include <gtk/gtk.h>
+
+ #include <libportal/portal.h>
+-#include <libportal/portal-gtk4.h>
++#include <libportal-gtk4/portal-gtk4.h>
+
+ #define AUTOSTART_NOTIFICATION_ID "Gtd::BackgroundPlugin::autostart_notification"
+ #define AUTOSTART_NOTIFICATION_TIMEOUT 3 /* seconds */
+diff --git a/src/plugins/background/meson.build b/src/plugins/background/meson.build
+index a671a4f3..59d3635f 100644
+--- a/src/plugins/background/meson.build
++++ b/src/plugins/background/meson.build
+@@ -1,7 +1,7 @@
+ plugins_ldflags += ['-Wl,--undefined=gtd_plugin_background_register_types']
+
+ plugins_deps += [
+- dependency('libportal'),
++ dependency('libportal-gtk4'),
+ ]
+
+ plugins_sources += files(
+--
+GitLab
+
diff --git a/gnu/packages/patches/gpaste-fix-paths.patch b/gnu/packages/patches/gpaste-fix-paths.patch
new file mode 100644
index 0000000000..be63878fe6
--- /dev/null
+++ b/gnu/packages/patches/gpaste-fix-paths.patch
@@ -0,0 +1,24 @@
+This is copied from NixOS, which is under MIT licence.
+https://github.com/NixOS/nixpkgs/blob/master/pkgs/desktops/gnome/misc/gpaste/
+--- a/src/gnome-shell/extension.js
++++ b/src/gnome-shell/extension.js
+@@ -6,6 +6,8 @@
+
+ const Config = imports.misc.config;
+
++imports.gi.GIRepository.Repository.prepend_search_path('@typelibPath@');
++
+ imports.gi.versions.Clutter = Config.LIBMUTTER_API_VERSION;
+ imports.gi.versions.GLib = '2.0';
+ imports.gi.versions.GPaste = '1.0';
+--- a/src/gnome-shell/prefs.js
++++ b/src/gnome-shell/prefs.js
+@@ -6,6 +6,8 @@
+
+ const Gettext = imports.gettext;
+
++imports.gi.GIRepository.Repository.prepend_search_path('@typelibPath@');
++
+ //const { GPaste } = imports.gi;
+
+ const ExtensionUtils = imports.misc.extensionUtils;
diff --git a/gnu/packages/patches/gtk-introspection-test.patch b/gnu/packages/patches/gtk-introspection-test.patch
new file mode 100644
index 0000000000..570ea806a9
--- /dev/null
+++ b/gnu/packages/patches/gtk-introspection-test.patch
@@ -0,0 +1,22 @@
+# Extend rather than stomp environment variables.
+# Upstream status: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4268
+diff --git a/testsuite/introspection/meson.build b/testsuite/introspection/meson.build
+index 6202fb7446..b59191eb0f 100644
+--- a/testsuite/introspection/meson.build
++++ b/testsuite/introspection/meson.build
+@@ -1,9 +1,10 @@
++env = environment()
++env.prepend('GI_TYPELIB_PATH',
++ join_paths(project_build_root, 'gtk'),
++ gi_dep.get_pkgconfig_variable('typelibdir'))
++env.prepend('LD_PRELOAD', join_paths(project_build_root, 'gtk', 'libgtk-4.so'))
+
+ test('api',
+ find_program('api.py', dirs: meson.current_source_dir()),
+ suite: ['introspection'],
+- env: [
+- 'GI_TYPELIB_PATH=@0@/gtk:@1@'.format(project_build_root,
+- gi_dep.get_pkgconfig_variable('typelibdir')),
+- 'LD_PRELOAD=@0@/gtk/libgtk-4.so'.format(project_build_root),
+- ])
++ env: env)
diff --git a/gnu/packages/patches/htslib-for-stringtie.patch b/gnu/packages/patches/htslib-for-stringtie.patch
new file mode 100644
index 0000000000..3e6cd5bb63
--- /dev/null
+++ b/gnu/packages/patches/htslib-for-stringtie.patch
@@ -0,0 +1,26 @@
+These changes are commits d7e357946ead219b81cc1becbe0de8a99d96ca84 and
+8ed0daa39bc662defa99507f926815431056543a in
+https://github.com/samtools/htscodecs. The stringtie package expects these
+changes to have been applied.
+
+diff -ru htslib-1.12/htscodecs/htscodecs/tokenise_name3.c stringtie-2.2.0/htslib/htscodecs/htscodecs/tokenise_name3.c
+--- a/htscodecs/htscodecs/tokenise_name3.c 2021-02-22 13:07:06.000000000 +0100
++++ b/htscodecs/htscodecs/tokenise_name3.c 2021-12-04 19:27:39.000000000 +0100
+@@ -211,7 +211,7 @@
+ if (!ctx) return NULL;
+ ctx->max_names = max_names;
+ pthread_setspecific(tok_key, ctx);
+- } else if (ctx->max_names < max_names) {
++ } else if (ctx->max_names < max_names+1) {
+ ctx = realloc(ctx, sizeof(*ctx) + ++max_names*sizeof(*ctx->lc));
+ if (!ctx) return NULL;
+ ctx->max_names = max_names;
+@@ -1058,6 +1058,8 @@
+ tok = decode_token_type(ctx, ntok);
+ //fprintf(stderr, "Tok %d = %d\n", ntok, tok);
+
++ ctx->lc[cnum].last_ntok = 0;
++
+ switch (tok) {
+ case N_CHAR:
+ if (len+1 >= name_len) return -1; \ No newline at end of file
diff --git a/gnu/packages/patches/hueplusplus-mbedtls.patch b/gnu/packages/patches/hueplusplus-mbedtls.patch
new file mode 100644
index 0000000000..894590af8d
--- /dev/null
+++ b/gnu/packages/patches/hueplusplus-mbedtls.patch
@@ -0,0 +1,20 @@
+Remove references to bundled mbedtls library to use the one from inputs.
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 1e27d21..f0eb1a5 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -85,13 +85,6 @@ endif()
+
+ set(USE_STATIC_MBEDTLS_LIBRARY ON)
+ set(USE_SHARED_MBEDTLS_LIBRARY OFF)
+-add_subdirectory("lib/mbedtls" EXCLUDE_FROM_ALL)
+-
+-# Compile the mbedtls library as a static with position independent code,
+-# because we need it for both a shared and static library
+-set_property(TARGET mbedtls PROPERTY POSITION_INDEPENDENT_CODE ON)
+-set_property(TARGET mbedcrypto PROPERTY POSITION_INDEPENDENT_CODE ON)
+-set_property(TARGET mbedx509 PROPERTY POSITION_INDEPENDENT_CODE ON)
+
+ add_subdirectory(src)
+
diff --git a/gnu/packages/patches/icedtea-6-extend-hotspot-aarch64-support.patch b/gnu/packages/patches/icedtea-6-extend-hotspot-aarch64-support.patch
deleted file mode 100644
index 9dc112a344..0000000000
--- a/gnu/packages/patches/icedtea-6-extend-hotspot-aarch64-support.patch
+++ /dev/null
@@ -1,1831 +0,0 @@
-From d51cb8c0f7966ac0b870e90e421cc8a796d98abf Mon Sep 17 00:00:00 2001
-From: Simon South <simon@simonsouth.net>
-Date: Tue, 9 Jun 2020 13:48:42 -0400
-Subject: [PATCH] Extend AArch64 support
-
-This adds to IcedTea 6 a patch that extends the support for AArch64 in
-its version of HotSpot, allowing the portable Zero virtual machine to
-be built for that platform.
-
-The patch added is a backport of the one prepared for JDK 9 by the
-OpenJDK AArch64 Porting Project, available (as of 11 June 2020) for
-download from https://openjdk.java.net/jeps/237.
----
- Makefile.am | 3 +-
- Makefile.in | 12 +-
- .../hs23/aarch64-extended-support.patch | 1766 +++++++++++++++++
- 3 files changed, 1775 insertions(+), 6 deletions(-)
- create mode 100644 patches/hotspot/hs23/aarch64-extended-support.patch
-
-diff --git a/Makefile.am b/Makefile.am
-index 97dac85..f5c917b 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -621,7 +621,8 @@ ICEDTEA_PATCHES = \
- patches/openjdk/6260348-pr3068.patch \
- patches/openjdk/6961123-pr2975.patch \
- patches/pr2800-missing_resources.patch \
-- patches/pr3213-conditional_arm32jit.patch
-+ patches/pr3213-conditional_arm32jit.patch \
-+ patches/hotspot/hs23/aarch64-extended-support.patch
-
- if WITH_RHINO
- ICEDTEA_PATCHES += \
-diff --git a/Makefile.in b/Makefile.in
-index aced7c2..e3545ee 100644
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -1049,11 +1049,13 @@ ICEDTEA_PATCHES = $(DROP_PATCHES) $(SECURITY_PATCHES) \
- patches/openjdk/6260348-pr3068.patch \
- patches/openjdk/6961123-pr2975.patch \
- patches/pr2800-missing_resources.patch \
-- patches/pr3213-conditional_arm32jit.patch $(am__append_21) \
-- $(am__append_22) $(am__append_23) $(am__append_24) \
-- $(am__append_25) $(am__append_26) $(am__append_27) \
-- $(am__append_28) $(am__append_29) $(am__append_30) \
-- $(am__append_31) $(am__append_32) $(DISTRIBUTION_PATCHES)
-+ patches/pr3213-conditional_arm32jit.patch \
-+ patches/hotspot/hs23/aarch64-extended-support.patch \
-+ $(am__append_21) $(am__append_22) $(am__append_23) \
-+ $(am__append_24) $(am__append_25) $(am__append_26) \
-+ $(am__append_27) $(am__append_28) $(am__append_29) \
-+ $(am__append_30) $(am__append_31) $(am__append_32) \
-+ $(DISTRIBUTION_PATCHES)
- @ENABLE_NSS_FALSE@NSS_PATCHES = patches/nss-not-enabled-config.patch
- @ENABLE_NSS_TRUE@NSS_PATCHES = patches/nss-config.patch
-
-diff --git a/patches/hotspot/hs23/aarch64-extended-support.patch b/patches/hotspot/hs23/aarch64-extended-support.patch
-new file mode 100644
-index 0000000..7817f4d
---- /dev/null
-+++ b/patches/hotspot/hs23/aarch64-extended-support.patch
-@@ -0,0 +1,1766 @@
-+diff --git openjdk.orig/hotspot/agent/src/os/linux/LinuxDebuggerLocal.c openjdk/hotspot/agent/src/os/linux/LinuxDebuggerLocal.c
-+index 5771fdd..b23cc17 100644
-+--- openjdk.orig/hotspot/agent/src/os/linux/LinuxDebuggerLocal.c
-++++ openjdk/hotspot/agent/src/os/linux/LinuxDebuggerLocal.c
-+@@ -304,6 +304,9 @@ JNIEXPORT jlongArray JNICALL Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLo
-+ #ifdef amd64
-+ #define NPRGREG sun_jvm_hotspot_debugger_amd64_AMD64ThreadContext_NPRGREG
-+ #endif
-++#ifdef aarch64
-++#define NPRGREG 32
-++#endif
-+ #if defined(sparc) || defined(sparcv9)
-+ #define NPRGREG sun_jvm_hotspot_debugger_sparc_SPARCThreadContext_NPRGREG
-+ #endif
-+@@ -406,6 +409,12 @@ JNIEXPORT jlongArray JNICALL Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLo
-+ regs[REG_INDEX(R_O7)] = gregs.u_regs[14];
-+ #endif /* sparc */
-+
-++#if defined(aarch64)
-++
-++#define REG_INDEX(reg) sun_jvm_hotspot_debugger_aarch64_AARCH64ThreadContext_##reg
-++
-++#endif /* aarch64 */
-++
-+
-+ (*env)->ReleaseLongArrayElements(env, array, regs, JNI_COMMIT);
-+ return array;
-+diff --git openjdk.orig/hotspot/agent/src/os/linux/libproc.h openjdk/hotspot/agent/src/os/linux/libproc.h
-+index e4d77f7..c02b841 100644
-+--- openjdk.orig/hotspot/agent/src/os/linux/libproc.h
-++++ openjdk/hotspot/agent/src/os/linux/libproc.h
-+@@ -54,6 +54,10 @@ struct pt_regs {
-+
-+ #endif //sparc or sparcv9
-+
-++#if defined(aarch64)
-++#include "asm/ptrace.h"
-++#endif
-++
-+ /************************************************************************************
-+
-+ 0. This is very minimal subset of Solaris libproc just enough for current application.
-+@@ -97,6 +101,9 @@ unsigned long regs[IA64_REG_COUNT]; /* integer and fp regs */
-+ #if defined(sparc) || defined(sparcv9)
-+ #define user_regs_struct pt_regs
-+ #endif
-++#if defined(aarch64)
-++#define user_regs_struct user_pt_regs
-++#endif
-+
-+ // This C bool type must be int for compatibility with Linux calls and
-+ // it would be a mistake to equivalence it to C++ bool on many platforms
-+diff --git openjdk.orig/hotspot/make/defs.make openjdk/hotspot/make/defs.make
-+index 44f21f8..4e8d00b 100644
-+--- openjdk.orig/hotspot/make/defs.make
-++++ openjdk/hotspot/make/defs.make
-+@@ -232,7 +232,7 @@ ifneq ($(OSNAME),windows)
-+
-+ # Use uname output for SRCARCH, but deal with platform differences. If ARCH
-+ # is not explicitly listed below, it is treated as x86.
-+- SRCARCH = $(ARCH/$(filter sparc sparc64 ia64 amd64 x86_64 arm ppc zero,$(ARCH)))
-++ SRCARCH = $(ARCH/$(filter sparc sparc64 ia64 amd64 x86_64 arm ppc aarch64 zero,$(ARCH)))
-+ ARCH/ = x86
-+ ARCH/sparc = sparc
-+ ARCH/sparc64= sparc
-+@@ -242,6 +242,7 @@ ifneq ($(OSNAME),windows)
-+ ARCH/ppc64 = ppc
-+ ARCH/ppc = ppc
-+ ARCH/arm = arm
-++ ARCH/aarch64= aarch64
-+ ARCH/zero = zero
-+
-+ # BUILDARCH is usually the same as SRCARCH, except for sparcv9
-+@@ -267,11 +268,12 @@ ifneq ($(OSNAME),windows)
-+ LIBARCH/sparcv9 = sparcv9
-+ LIBARCH/ia64 = ia64
-+ LIBARCH/ppc64 = ppc
-++ LIBARCH/aarch64 = aarch64
-+ LIBARCH/ppc = ppc
-+ LIBARCH/arm = arm
-+ LIBARCH/zero = $(ZERO_LIBARCH)
-+
-+- LP64_ARCH = sparcv9 amd64 ia64 zero
-++ LP64_ARCH = sparcv9 amd64 ia64 aarch64 zero
-+ endif
-+
-+ # Required make macro settings for all platforms
-+diff --git openjdk.orig/hotspot/make/linux/makefiles/buildtree.make openjdk/hotspot/make/linux/makefiles/buildtree.make
-+index 7c3d4f9..3bc7e8a 100644
-+--- openjdk.orig/hotspot/make/linux/makefiles/buildtree.make
-++++ openjdk/hotspot/make/linux/makefiles/buildtree.make
-+@@ -385,6 +385,7 @@ DATA_MODE/sparc = 32
-+ DATA_MODE/sparcv9 = 64
-+ DATA_MODE/amd64 = 64
-+ DATA_MODE/ia64 = 64
-++DATA_MODE/aarch64 = 64
-+ DATA_MODE/zero = $(ARCH_DATA_MODEL)
-+
-+ JAVA_FLAG/32 = -d32
-+diff --git openjdk.orig/hotspot/make/linux/makefiles/defs.make openjdk/hotspot/make/linux/makefiles/defs.make
-+index 7bb3149..39ffda4 100644
-+--- openjdk.orig/hotspot/make/linux/makefiles/defs.make
-++++ openjdk/hotspot/make/linux/makefiles/defs.make
-+@@ -118,6 +118,15 @@ ifeq ($(ARCH), ppc)
-+ HS_ARCH = ppc
-+ endif
-+
-++# AARCH64
-++ifeq ($(ARCH), aarch64)
-++ ARCH_DATA_MODEL = 64
-++ MAKE_ARGS += LP64=1
-++ PLATFORM = linux-aarch64
-++ VM_PLATFORM = linux_aarch64
-++ HS_ARCH = aarch64
-++endif
-++
-+ # determine if HotSpot is being built in JDK6 or earlier version
-+ JDK6_OR_EARLIER=0
-+ ifeq "$(shell expr \( '$(JDK_MAJOR_VERSION)' != '' \& '$(JDK_MINOR_VERSION)' != '' \& '$(JDK_MICRO_VERSION)' != '' \))" "1"
-+diff --git openjdk.orig/hotspot/make/linux/makefiles/gcc.make openjdk/hotspot/make/linux/makefiles/gcc.make
-+index 897e3a6..44f1673 100644
-+--- openjdk.orig/hotspot/make/linux/makefiles/gcc.make
-++++ openjdk/hotspot/make/linux/makefiles/gcc.make
-+@@ -104,6 +104,7 @@ endif
-+ ARCHFLAG = $(ARCHFLAG/$(BUILDARCH))
-+ ARCHFLAG/i486 = -m32 -march=i586
-+ ARCHFLAG/amd64 = -m64
-++ARCHFLAG/aarch64 =
-+ ARCHFLAG/ia64 =
-+ ARCHFLAG/sparc = -m32 -mcpu=v9
-+ ARCHFLAG/sparcv9 = -m64 -mcpu=v9
-+diff --git openjdk.orig/hotspot/src/os/linux/vm/os_linux.cpp openjdk/hotspot/src/os/linux/vm/os_linux.cpp
-+index c1b0e5c..9f7cda0 100644
-+--- openjdk.orig/hotspot/src/os/linux/vm/os_linux.cpp
-++++ openjdk/hotspot/src/os/linux/vm/os_linux.cpp
-+@@ -296,6 +296,8 @@ static char cpu_arch[] = "sparcv9";
-+ # else
-+ static char cpu_arch[] = "sparc";
-+ # endif
-++#elif defined(AARCH64)
-++static char cpu_arch[] = "aarch64";
-+ #else
-+ #error Add appropriate cpu_arch setting
-+ #endif
-+@@ -1442,7 +1444,7 @@ void os::Linux::clock_init() {
-+ #ifndef SYS_clock_getres
-+
-+ #if defined(IA32) || defined(AMD64)
-+-#define SYS_clock_getres IA32_ONLY(266) AMD64_ONLY(229)
-++#define SYS_clock_getres IA32_ONLY(266) AMD64_ONLY(229) AARCH64_ONLY(114)
-+ #define sys_clock_getres(x,y) ::syscall(SYS_clock_getres, x, y)
-+ #else
-+ #warning "SYS_clock_getres not defined for this platform, disabling fast_thread_cpu_time"
-+@@ -1930,7 +1932,7 @@ void * os::dll_load(const char *filename, char *ebuf, int ebuflen)
-+ static Elf32_Half running_arch_code=EM_AARCH64;
-+ #else
-+ #error Method os::dll_load requires that one of following is defined:\
-+- IA32, AMD64, IA64, __sparc, __powerpc__, ARM, S390, ALPHA, MIPS, MIPSEL, PARISC, M68K, SH
-++ IA32, AMD64, IA64, __sparc, __powerpc__, ARM, S390, ALPHA, MIPS, MIPSEL, PARISC, M68K, SH, AARCH64
-+ #endif
-+
-+ // Identify compatability class for VM's architecture and library's architecture
-+@@ -3056,7 +3058,7 @@ void os::large_page_init() {
-+
-+ #ifndef ZERO
-+ _large_page_size = IA32_ONLY(4 * M) AMD64_ONLY(2 * M) IA64_ONLY(256 * M) SPARC_ONLY(4 * M)
-+- ARM_ONLY(2 * M) PPC_ONLY(4 * M);
-++ ARM_ONLY(2 * M) PPC_ONLY(4 * M) AARCH64_ONLY(2 * M);
-+ #endif // ZERO
-+
-+ FILE *fp = fopen("/proc/meminfo", "r");
-+@@ -5378,11 +5380,11 @@ void Parker::unpark() {
-+ extern char** environ;
-+
-+ #ifndef __NR_fork
-+-#define __NR_fork IA32_ONLY(2) IA64_ONLY(not defined) AMD64_ONLY(57)
-++#define __NR_fork IA32_ONLY(2) IA64_ONLY(not defined) AMD64_ONLY(57) AARCH64_ONLY(1079)
-+ #endif
-+
-+ #ifndef __NR_execve
-+-#define __NR_execve IA32_ONLY(11) IA64_ONLY(1033) AMD64_ONLY(59)
-++#define __NR_execve IA32_ONLY(11) IA64_ONLY(1033) AMD64_ONLY(59) AARCH64_ONLY(221)
-+ #endif
-+
-+ // Run the specified command in a separate process. Return its exit value,
-+diff --git openjdk.orig/hotspot/src/share/vm/adlc/main.cpp openjdk/hotspot/src/share/vm/adlc/main.cpp
-+index 47e207a..b93504e 100644
-+--- openjdk.orig/hotspot/src/share/vm/adlc/main.cpp
-++++ openjdk/hotspot/src/share/vm/adlc/main.cpp
-+@@ -244,6 +244,11 @@ int main(int argc, char *argv[])
-+ AD.addInclude(AD._CPP_file, "assembler_arm.inline.hpp");
-+ AD.addInclude(AD._CPP_file, "nativeInst_arm.hpp");
-+ AD.addInclude(AD._CPP_file, "vmreg_arm.inline.hpp");
-++#endif
-++#ifdef TARGET_ARCH_aarch64
-++ AD.addInclude(AD._CPP_file, "assembler_aarch64.inline.hpp");
-++ AD.addInclude(AD._CPP_file, "nativeInst_aarch64.hpp");
-++ AD.addInclude(AD._CPP_file, "vmreg_aarch64.inline.hpp");
-+ #endif
-+ AD.addInclude(AD._HPP_file, "memory/allocation.hpp");
-+ AD.addInclude(AD._HPP_file, "opto/machnode.hpp");
-+diff --git openjdk.orig/hotspot/src/share/vm/asm/assembler.cpp openjdk/hotspot/src/share/vm/asm/assembler.cpp
-+index 2bcdcbc..57787ac 100644
-+--- openjdk.orig/hotspot/src/share/vm/asm/assembler.cpp
-++++ openjdk/hotspot/src/share/vm/asm/assembler.cpp
-+@@ -43,6 +43,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "assembler_ppc.inline.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "assembler_aarch64.inline.hpp"
-++#endif
-+
-+
-+ // Implementation of AbstractAssembler
-+diff --git openjdk.orig/hotspot/src/share/vm/asm/assembler.hpp openjdk/hotspot/src/share/vm/asm/assembler.hpp
-+index c25aa3f..4f77825 100644
-+--- openjdk.orig/hotspot/src/share/vm/asm/assembler.hpp
-++++ openjdk/hotspot/src/share/vm/asm/assembler.hpp
-+@@ -51,6 +51,10 @@
-+ # include "register_ppc.hpp"
-+ # include "vm_version_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "register_aarch64.hpp"
-++# include "vm_version_aarch64.hpp"
-++#endif
-+
-+ // This file contains platform-independent assembler declarations.
-+
-+@@ -459,6 +463,9 @@ class AbstractAssembler : public ResourceObj {
-+ #ifdef TARGET_ARCH_ppc
-+ # include "assembler_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "assembler_aarch64.hpp"
-++#endif
-+
-+
-+ #endif // SHARE_VM_ASM_ASSEMBLER_HPP
-+diff --git openjdk.orig/hotspot/src/share/vm/asm/codeBuffer.hpp openjdk/hotspot/src/share/vm/asm/codeBuffer.hpp
-+index 685297a..002faef 100644
-+--- openjdk.orig/hotspot/src/share/vm/asm/codeBuffer.hpp
-++++ openjdk/hotspot/src/share/vm/asm/codeBuffer.hpp
-+@@ -573,6 +573,9 @@ class CodeBuffer: public StackObj {
-+ #ifdef TARGET_ARCH_ppc
-+ # include "codeBuffer_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "codeBuffer_aarch64.hpp"
-++#endif
-+
-+ };
-+
-+diff --git openjdk.orig/hotspot/src/share/vm/c1/c1_Canonicalizer.cpp openjdk/hotspot/src/share/vm/c1/c1_Canonicalizer.cpp
-+index c95a23c..2ec31e5 100644
-+--- openjdk.orig/hotspot/src/share/vm/c1/c1_Canonicalizer.cpp
-++++ openjdk/hotspot/src/share/vm/c1/c1_Canonicalizer.cpp
-+@@ -877,6 +877,13 @@ static bool match(UnsafeRawOp* x,
-+ return false;
-+ }
-+
-++// AARCH64 cannot handle shifts which are not either 0, or log2 of the type size
-++#ifdef AARCH64
-++ if (*log2_scale != 0 &&
-++ (1 << *log2_scale) != type2aelembytes(x->basic_type(), true))
-++ return false;
-++#endif
-++
-+ // If the value is pinned then it will be always be computed so
-+ // there's no profit to reshaping the expression.
-+ return !root->is_pinned();
-+diff --git openjdk.orig/hotspot/src/share/vm/c1/c1_Defs.hpp openjdk/hotspot/src/share/vm/c1/c1_Defs.hpp
-+index bebb3b0..ddaceb7 100644
-+--- openjdk.orig/hotspot/src/share/vm/c1/c1_Defs.hpp
-++++ openjdk/hotspot/src/share/vm/c1/c1_Defs.hpp
-+@@ -41,6 +41,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "register_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "register_aarch64.hpp"
-++#endif
-+
-+ // set frame size and return address offset to these values in blobs
-+ // (if the compiled frame uses ebp as link pointer on IA; otherwise,
-+@@ -62,6 +65,9 @@ enum {
-+ #ifdef TARGET_ARCH_ppc
-+ # include "c1_Defs_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "c1_Defs_aarch64.hpp"
-++#endif
-+
-+
-+ // native word offsets from memory address
-+diff --git openjdk.orig/hotspot/src/share/vm/c1/c1_FpuStackSim.hpp openjdk/hotspot/src/share/vm/c1/c1_FpuStackSim.hpp
-+index a1e4c38..491b064 100644
-+--- openjdk.orig/hotspot/src/share/vm/c1/c1_FpuStackSim.hpp
-++++ openjdk/hotspot/src/share/vm/c1/c1_FpuStackSim.hpp
-+@@ -44,6 +44,9 @@ class FpuStackSim;
-+ #ifdef TARGET_ARCH_ppc
-+ # include "c1_FpuStackSim_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "c1_FpuStackSim_aarch64.hpp"
-++#endif
-+
-+
-+ #endif // SHARE_VM_C1_C1_FPUSTACKSIM_HPP
-+diff --git openjdk.orig/hotspot/src/share/vm/c1/c1_FrameMap.cpp openjdk/hotspot/src/share/vm/c1/c1_FrameMap.cpp
-+index ea50b27..6a3dc63 100644
-+--- openjdk.orig/hotspot/src/share/vm/c1/c1_FrameMap.cpp
-++++ openjdk/hotspot/src/share/vm/c1/c1_FrameMap.cpp
-+@@ -41,6 +41,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "vmreg_ppc.inline.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "vmreg_aarch64.inline.hpp"
-++#endif
-+
-+
-+
-+diff --git openjdk.orig/hotspot/src/share/vm/c1/c1_FrameMap.hpp openjdk/hotspot/src/share/vm/c1/c1_FrameMap.hpp
-+index 288fc5c..e9a0250 100644
-+--- openjdk.orig/hotspot/src/share/vm/c1/c1_FrameMap.hpp
-++++ openjdk/hotspot/src/share/vm/c1/c1_FrameMap.hpp
-+@@ -93,6 +93,9 @@ class FrameMap : public CompilationResourceObj {
-+ #endif
-+ #ifdef TARGET_ARCH_ppc
-+ # include "c1_FrameMap_ppc.hpp"
-++#endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "c1_FrameMap_aarch64.hpp"
-+ #endif
-+
-+
-+diff --git openjdk.orig/hotspot/src/share/vm/c1/c1_LIR.cpp openjdk/hotspot/src/share/vm/c1/c1_LIR.cpp
-+index 776a6a3..6e1a362 100644
-+--- openjdk.orig/hotspot/src/share/vm/c1/c1_LIR.cpp
-++++ openjdk/hotspot/src/share/vm/c1/c1_LIR.cpp
-+@@ -67,7 +67,7 @@ FloatRegister LIR_OprDesc::as_double_reg() const {
-+
-+ #endif
-+
-+-#ifdef ARM
-++#if defined(ARM) || defined (TARGET_ARCH_aarch64)
-+
-+ FloatRegister LIR_OprDesc::as_float_reg() const {
-+ return as_FloatRegister(fpu_regnr());
-+@@ -147,7 +147,11 @@ void LIR_Address::verify() const {
-+ #endif
-+ #ifdef _LP64
-+ assert(base()->is_cpu_register(), "wrong base operand");
-++#ifndef TARGET_ARCH_aarch64
-+ assert(index()->is_illegal() || index()->is_double_cpu(), "wrong index operand");
-++#else
-++ assert(index()->is_illegal() || index()->is_double_cpu() || index()->is_single_cpu(), "wrong index operand");
-++#endif
-+ assert(base()->type() == T_OBJECT || base()->type() == T_LONG,
-+ "wrong type for addresses");
-+ #else
-+@@ -545,7 +549,7 @@ void LIR_OpVisitState::visit(LIR_Op* op) {
-+ assert(opConvert->_info == NULL, "must be");
-+ if (opConvert->_opr->is_valid()) do_input(opConvert->_opr);
-+ if (opConvert->_result->is_valid()) do_output(opConvert->_result);
-+-#ifdef PPC
-++#if defined(PPC) || defined(TARGET_ARCH_aarch64)
-+ if (opConvert->_tmp1->is_valid()) do_temp(opConvert->_tmp1);
-+ if (opConvert->_tmp2->is_valid()) do_temp(opConvert->_tmp2);
-+ #endif
-+@@ -1468,6 +1472,11 @@ void LIR_OprDesc::print(outputStream* out) const {
-+ out->print("fpu%d", fpu_regnr());
-+ } else if (is_double_fpu()) {
-+ out->print("fpu%d", fpu_regnrLo());
-++#elif defined(AARCH64)
-++ } else if (is_single_fpu()) {
-++ out->print("fpu%d", fpu_regnr());
-++ } else if (is_double_fpu()) {
-++ out->print("fpu%d", fpu_regnrLo());
-+ #elif defined(ARM)
-+ } else if (is_single_fpu()) {
-+ out->print("s%d", fpu_regnr());
-+@@ -1836,7 +1845,7 @@ void LIR_OpConvert::print_instr(outputStream* out) const {
-+ print_bytecode(out, bytecode());
-+ in_opr()->print(out); out->print(" ");
-+ result_opr()->print(out); out->print(" ");
-+-#ifdef PPC
-++#if defined(PPC) || defined(TARGET_ARCH_aarch64)
-+ if(tmp1()->is_valid()) {
-+ tmp1()->print(out); out->print(" ");
-+ tmp2()->print(out); out->print(" ");
-+diff --git openjdk.orig/hotspot/src/share/vm/c1/c1_LIR.hpp openjdk/hotspot/src/share/vm/c1/c1_LIR.hpp
-+index f8589c3..eb3383f 100644
-+--- openjdk.orig/hotspot/src/share/vm/c1/c1_LIR.hpp
-++++ openjdk/hotspot/src/share/vm/c1/c1_LIR.hpp
-+@@ -437,8 +437,8 @@ class LIR_OprDesc: public CompilationResourceObj {
-+ XMMRegister as_xmm_double_reg() const;
-+ // for compatibility with RInfo
-+ int fpu () const { return lo_reg_half(); }
-+-#endif // X86
-+-#if defined(SPARC) || defined(ARM) || defined(PPC)
-++#endif
-++#if defined(SPARC) || defined(ARM) || defined(PPC) || defined(AARCH64)
-+ FloatRegister as_float_reg () const;
-+ FloatRegister as_double_reg () const;
-+ #endif
-+@@ -526,7 +526,7 @@ class LIR_Address: public LIR_OprPtr {
-+ , _type(type)
-+ , _disp(0) { verify(); }
-+
-+-#if defined(X86) || defined(ARM)
-++#if defined(X86) || defined(ARM) || defined(AARCH64)
-+ LIR_Address(LIR_Opr base, LIR_Opr index, Scale scale, intx disp, BasicType type):
-+ _base(base)
-+ , _index(index)
-+@@ -601,7 +601,7 @@ class LIR_OprFact: public AllStatic {
-+ LIR_OprDesc::fpu_register |
-+ LIR_OprDesc::double_size); }
-+ #endif
-+-#ifdef X86
-++#if defined(X86) || defined(AARCH64)
-+ static LIR_Opr double_fpu(int reg) { return (LIR_Opr)(intptr_t)((reg << LIR_OprDesc::reg1_shift) |
-+ (reg << LIR_OprDesc::reg2_shift) |
-+ LIR_OprDesc::double_type |
-+@@ -1398,7 +1398,7 @@ class LIR_OpConvert: public LIR_Op1 {
-+ private:
-+ Bytecodes::Code _bytecode;
-+ ConversionStub* _stub;
-+-#ifdef PPC
-++#if defined(PPC) || defined(TARGET_ARCH_aarch64)
-+ LIR_Opr _tmp1;
-+ LIR_Opr _tmp2;
-+ #endif
-+@@ -1413,7 +1413,7 @@ class LIR_OpConvert: public LIR_Op1 {
-+ #endif
-+ , _bytecode(code) {}
-+
-+-#ifdef PPC
-++#if defined(PPC) || defined(TARGET_ARCH_aarch64)
-+ LIR_OpConvert(Bytecodes::Code code, LIR_Opr opr, LIR_Opr result, ConversionStub* stub
-+ ,LIR_Opr tmp1, LIR_Opr tmp2)
-+ : LIR_Op1(lir_convert, opr, result)
-+@@ -1425,7 +1425,7 @@ class LIR_OpConvert: public LIR_Op1 {
-+
-+ Bytecodes::Code bytecode() const { return _bytecode; }
-+ ConversionStub* stub() const { return _stub; }
-+-#ifdef PPC
-++#if defined(PPC) || defined(TARGET_ARCH_aarch64)
-+ LIR_Opr tmp1() const { return _tmp1; }
-+ LIR_Opr tmp2() const { return _tmp2; }
-+ #endif
-+@@ -1973,7 +1973,14 @@ class LIR_List: public CompilationResourceObj {
-+ #ifdef PPC
-+ void convert(Bytecodes::Code code, LIR_Opr left, LIR_Opr dst, LIR_Opr tmp1, LIR_Opr tmp2) { append(new LIR_OpConvert(code, left, dst, NULL, tmp1, tmp2)); }
-+ #endif
-++#if defined (TARGET_ARCH_aarch64)
-++ void convert(Bytecodes::Code code, LIR_Opr left, LIR_Opr dst,
-++ ConversionStub* stub = NULL, LIR_Opr tmp1 = LIR_OprDesc::illegalOpr()) {
-++ append(new LIR_OpConvert(code, left, dst, stub, tmp1, LIR_OprDesc::illegalOpr()));
-++ }
-++#else
-+ void convert(Bytecodes::Code code, LIR_Opr left, LIR_Opr dst, ConversionStub* stub = NULL/*, bool is_32bit = false*/) { append(new LIR_OpConvert(code, left, dst, stub)); }
-++#endif
-+
-+ void logical_and (LIR_Opr left, LIR_Opr right, LIR_Opr dst) { append(new LIR_Op2(lir_logic_and, left, right, dst)); }
-+ void logical_or (LIR_Opr left, LIR_Opr right, LIR_Opr dst) { append(new LIR_Op2(lir_logic_or, left, right, dst)); }
-+diff --git openjdk.orig/hotspot/src/share/vm/c1/c1_LIRAssembler.cpp openjdk/hotspot/src/share/vm/c1/c1_LIRAssembler.cpp
-+index 528f21e..4d83fca 100644
-+--- openjdk.orig/hotspot/src/share/vm/c1/c1_LIRAssembler.cpp
-++++ openjdk/hotspot/src/share/vm/c1/c1_LIRAssembler.cpp
-+@@ -50,6 +50,10 @@
-+ # include "nativeInst_ppc.hpp"
-+ # include "vmreg_ppc.inline.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "nativeInst_aarch64.hpp"
-++# include "vmreg_aarch64.inline.hpp"
-++#endif
-+
-+
-+ void LIR_Assembler::patching_epilog(PatchingStub* patch, LIR_PatchCode patch_code, Register obj, CodeEmitInfo* info) {
-+diff --git openjdk.orig/hotspot/src/share/vm/c1/c1_LIRAssembler.hpp openjdk/hotspot/src/share/vm/c1/c1_LIRAssembler.hpp
-+index 58adf59..f4a49b3 100644
-+--- openjdk.orig/hotspot/src/share/vm/c1/c1_LIRAssembler.hpp
-++++ openjdk/hotspot/src/share/vm/c1/c1_LIRAssembler.hpp
-+@@ -261,6 +261,9 @@ class LIR_Assembler: public CompilationResourceObj {
-+ #ifdef TARGET_ARCH_ppc
-+ # include "c1_LIRAssembler_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "c1_LIRAssembler_aarch64.hpp"
-++#endif
-+
-+ };
-+
-+diff --git openjdk.orig/hotspot/src/share/vm/c1/c1_LinearScan.cpp openjdk/hotspot/src/share/vm/c1/c1_LinearScan.cpp
-+index aaae71d..93f9f5f 100644
-+--- openjdk.orig/hotspot/src/share/vm/c1/c1_LinearScan.cpp
-++++ openjdk/hotspot/src/share/vm/c1/c1_LinearScan.cpp
-+@@ -47,6 +47,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "vmreg_ppc.inline.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "vmreg_aarch64.inline.hpp"
-++#endif
-+
-+
-+ #ifndef PRODUCT
-+@@ -2190,7 +2193,7 @@ LIR_Opr LinearScan::color_lir_opr(LIR_Opr opr, int op_id, LIR_OpVisitState::OprM
-+
-+ LIR_Opr res = operand_for_interval(interval);
-+
-+-#ifdef X86
-++#if defined(X86) || defined(AARCH64)
-+ // new semantic for is_last_use: not only set on definite end of interval,
-+ // but also before hole
-+ // This may still miss some cases (e.g. for dead values), but it is not necessary that the
-+diff --git openjdk.orig/hotspot/src/share/vm/c1/c1_LinearScan.hpp openjdk/hotspot/src/share/vm/c1/c1_LinearScan.hpp
-+index 0c06f1b..a152328 100644
-+--- openjdk.orig/hotspot/src/share/vm/c1/c1_LinearScan.hpp
-++++ openjdk/hotspot/src/share/vm/c1/c1_LinearScan.hpp
-+@@ -985,6 +985,9 @@ class LinearScanTimers : public StackObj {
-+ #ifdef TARGET_ARCH_ppc
-+ # include "c1_LinearScan_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "c1_LinearScan_aarch64.hpp"
-++#endif
-+
-+
-+ #endif // SHARE_VM_C1_C1_LINEARSCAN_HPP
-+diff --git openjdk.orig/hotspot/src/share/vm/c1/c1_MacroAssembler.hpp openjdk/hotspot/src/share/vm/c1/c1_MacroAssembler.hpp
-+index 55d9803..eda2174 100644
-+--- openjdk.orig/hotspot/src/share/vm/c1/c1_MacroAssembler.hpp
-++++ openjdk/hotspot/src/share/vm/c1/c1_MacroAssembler.hpp
-+@@ -41,6 +41,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "assembler_ppc.inline.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "assembler_aarch64.inline.hpp"
-++#endif
-+
-+ class CodeEmitInfo;
-+
-+@@ -73,6 +76,9 @@ class C1_MacroAssembler: public MacroAssembler {
-+ #ifdef TARGET_ARCH_ppc
-+ # include "c1_MacroAssembler_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "c1_MacroAssembler_aarch64.hpp"
-++#endif
-+
-+ };
-+
-+diff --git openjdk.orig/hotspot/src/share/vm/c1/c1_Runtime1.cpp openjdk/hotspot/src/share/vm/c1/c1_Runtime1.cpp
-+index 765dec4..f0b3aae 100644
-+--- openjdk.orig/hotspot/src/share/vm/c1/c1_Runtime1.cpp
-++++ openjdk/hotspot/src/share/vm/c1/c1_Runtime1.cpp
-+@@ -1103,6 +1103,7 @@ JRT_END
-+ // completes we can check for deoptimization. This simplifies the
-+ // assembly code in the cpu directories.
-+ //
-++#ifndef TARGET_ARCH_aarch64
-+ int Runtime1::move_klass_patching(JavaThread* thread) {
-+ //
-+ // NOTE: we are still in Java
-+@@ -1150,6 +1151,7 @@ int Runtime1::access_field_patching(JavaThread* thread) {
-+
-+ return caller_is_deopted();
-+ JRT_END
-++#endif
-+
-+
-+ JRT_LEAF(void, Runtime1::trace_block_entry(jint block_id))
-+diff --git openjdk.orig/hotspot/src/share/vm/c1/c1_Runtime1.hpp openjdk/hotspot/src/share/vm/c1/c1_Runtime1.hpp
-+index 2032564..19261be 100644
-+--- openjdk.orig/hotspot/src/share/vm/c1/c1_Runtime1.hpp
-++++ openjdk/hotspot/src/share/vm/c1/c1_Runtime1.hpp
-+@@ -159,6 +159,9 @@ class Runtime1: public AllStatic {
-+ static int move_klass_patching(JavaThread* thread);
-+
-+ static void patch_code(JavaThread* thread, StubID stub_id);
-++#ifdef TARGET_ARCH_aarch64
-++ static void patch_code_aarch64(JavaThread* thread, StubID stub_id);
-++#endif
-+
-+ public:
-+ // initialization
-+diff --git openjdk.orig/hotspot/src/share/vm/c1/c1_globals.hpp openjdk/hotspot/src/share/vm/c1/c1_globals.hpp
-+index 15f3cc1..4143a87 100644
-+--- openjdk.orig/hotspot/src/share/vm/c1/c1_globals.hpp
-++++ openjdk/hotspot/src/share/vm/c1/c1_globals.hpp
-+@@ -38,6 +38,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "c1_globals_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "c1_globals_aarch64.hpp"
-++#endif
-+ #ifdef TARGET_OS_FAMILY_linux
-+ # include "c1_globals_linux.hpp"
-+ #endif
-+diff --git openjdk.orig/hotspot/src/share/vm/classfile/classFileStream.hpp openjdk/hotspot/src/share/vm/classfile/classFileStream.hpp
-+index cf6f0e5..b128b3a 100644
-+--- openjdk.orig/hotspot/src/share/vm/classfile/classFileStream.hpp
-++++ openjdk/hotspot/src/share/vm/classfile/classFileStream.hpp
-+@@ -41,6 +41,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "bytes_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "bytes_aarch64.hpp"
-++#endif
-+
-+ // Input stream for reading .class file
-+ //
-+diff --git openjdk.orig/hotspot/src/share/vm/classfile/stackMapTable.hpp openjdk/hotspot/src/share/vm/classfile/stackMapTable.hpp
-+index f876029..ac415b6 100644
-+--- openjdk.orig/hotspot/src/share/vm/classfile/stackMapTable.hpp
-++++ openjdk/hotspot/src/share/vm/classfile/stackMapTable.hpp
-+@@ -46,6 +46,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "bytes_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "bytes_aarch64.hpp"
-++#endif
-+
-+ class StackMapReader;
-+
-+diff --git openjdk.orig/hotspot/src/share/vm/classfile/verifier.cpp openjdk/hotspot/src/share/vm/classfile/verifier.cpp
-+index c5c5e11..9c22a21 100644
-+--- openjdk.orig/hotspot/src/share/vm/classfile/verifier.cpp
-++++ openjdk/hotspot/src/share/vm/classfile/verifier.cpp
-+@@ -60,6 +60,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "bytes_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "bytes_aarch64.hpp"
-++#endif
-+
-+ #define NOFAILOVER_MAJOR_VERSION 51
-+
-+diff --git openjdk.orig/hotspot/src/share/vm/code/codeBlob.cpp openjdk/hotspot/src/share/vm/code/codeBlob.cpp
-+index 244c320..429e0be 100644
-+--- openjdk.orig/hotspot/src/share/vm/code/codeBlob.cpp
-++++ openjdk/hotspot/src/share/vm/code/codeBlob.cpp
-+@@ -54,6 +54,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "nativeInst_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "nativeInst_aarch64.hpp"
-++#endif
-+ #ifdef COMPILER1
-+ #include "c1/c1_Runtime1.hpp"
-+ #endif
-+diff --git openjdk.orig/hotspot/src/share/vm/code/compiledIC.hpp openjdk/hotspot/src/share/vm/code/compiledIC.hpp
-+index fe1cfb3..c9f6a2e 100644
-+--- openjdk.orig/hotspot/src/share/vm/code/compiledIC.hpp
-++++ openjdk/hotspot/src/share/vm/code/compiledIC.hpp
-+@@ -44,6 +44,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "nativeInst_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "nativeInst_aarch64.hpp"
-++#endif
-+
-+ //-----------------------------------------------------------------------------
-+ // The CompiledIC represents a compiled inline cache.
-+diff --git openjdk.orig/hotspot/src/share/vm/code/icBuffer.cpp openjdk/hotspot/src/share/vm/code/icBuffer.cpp
-+index ed70457..d022482 100644
-+--- openjdk.orig/hotspot/src/share/vm/code/icBuffer.cpp
-++++ openjdk/hotspot/src/share/vm/code/icBuffer.cpp
-+@@ -52,6 +52,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "assembler_ppc.inline.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "assembler_aarch64.inline.hpp"
-++#endif
-+
-+
-+ DEF_STUB_INTERFACE(ICStub);
-+diff --git openjdk.orig/hotspot/src/share/vm/code/relocInfo.cpp openjdk/hotspot/src/share/vm/code/relocInfo.cpp
-+index 4fd82df..78310e6 100644
-+--- openjdk.orig/hotspot/src/share/vm/code/relocInfo.cpp
-++++ openjdk/hotspot/src/share/vm/code/relocInfo.cpp
-+@@ -49,6 +49,10 @@
-+ # include "assembler_ppc.inline.hpp"
-+ # include "nativeInst_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "assembler_aarch64.inline.hpp"
-++# include "nativeInst_aarch64.hpp"
-++#endif
-+
-+
-+ const RelocationHolder RelocationHolder::none; // its type is relocInfo::none
-+diff --git openjdk.orig/hotspot/src/share/vm/code/relocInfo.hpp openjdk/hotspot/src/share/vm/code/relocInfo.hpp
-+index 1d14b44..3823889 100644
-+--- openjdk.orig/hotspot/src/share/vm/code/relocInfo.hpp
-++++ openjdk/hotspot/src/share/vm/code/relocInfo.hpp
-+@@ -435,6 +435,9 @@ class relocInfo VALUE_OBJ_CLASS_SPEC {
-+ #endif
-+ #ifdef TARGET_ARCH_ppc
-+ # include "relocInfo_ppc.hpp"
-++#endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "relocInfo_aarch64.hpp"
-+ #endif
-+
-+
-+diff --git openjdk.orig/hotspot/src/share/vm/code/vmreg.hpp openjdk/hotspot/src/share/vm/code/vmreg.hpp
-+index d57e6f8..1c18e47 100644
-+--- openjdk.orig/hotspot/src/share/vm/code/vmreg.hpp
-++++ openjdk/hotspot/src/share/vm/code/vmreg.hpp
-+@@ -42,6 +42,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "register_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "register_aarch64.hpp"
-++#endif
-+ #ifdef COMPILER2
-+ #include "opto/adlcVMDeps.hpp"
-+ #include "utilities/ostream.hpp"
-+@@ -63,6 +66,9 @@
-+ #ifdef TARGET_ARCH_MODEL_ppc
-+ # include "adfiles/adGlobals_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_MODEL_aarch64
-++# include "adfiles/adGlobals_aarch64.hpp"
-++#endif
-+ #endif
-+
-+ //------------------------------VMReg------------------------------------------
-+@@ -182,6 +188,9 @@ public:
-+ #ifdef TARGET_ARCH_ppc
-+ # include "vmreg_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "vmreg_aarch64.hpp"
-++#endif
-+
-+
-+ };
-+diff --git openjdk.orig/hotspot/src/share/vm/compiler/disassembler.cpp openjdk/hotspot/src/share/vm/compiler/disassembler.cpp
-+index 9603e86..3a67259 100644
-+--- openjdk.orig/hotspot/src/share/vm/compiler/disassembler.cpp
-++++ openjdk/hotspot/src/share/vm/compiler/disassembler.cpp
-+@@ -47,6 +47,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "depChecker_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "depChecker_aarch64.hpp"
-++#endif
-+ #ifdef SHARK
-+ #include "shark/sharkEntry.hpp"
-+ #endif
-+diff --git openjdk.orig/hotspot/src/share/vm/compiler/disassembler.hpp openjdk/hotspot/src/share/vm/compiler/disassembler.hpp
-+index a70b8cc..4c90c9a 100644
-+--- openjdk.orig/hotspot/src/share/vm/compiler/disassembler.hpp
-++++ openjdk/hotspot/src/share/vm/compiler/disassembler.hpp
-+@@ -78,6 +78,9 @@ class Disassembler {
-+ #endif
-+ #ifdef TARGET_ARCH_ppc
-+ # include "disassembler_ppc.hpp"
-++#endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "disassembler_aarch64.hpp"
-+ #endif
-+
-+
-+diff --git openjdk.orig/hotspot/src/share/vm/interpreter/abstractInterpreter.hpp openjdk/hotspot/src/share/vm/interpreter/abstractInterpreter.hpp
-+index d23f37a..24ca30e 100644
-+--- openjdk.orig/hotspot/src/share/vm/interpreter/abstractInterpreter.hpp
-++++ openjdk/hotspot/src/share/vm/interpreter/abstractInterpreter.hpp
-+@@ -44,6 +44,9 @@
-+ #ifdef TARGET_ARCH_MODEL_ppc
-+ # include "interp_masm_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_MODEL_aarch64
-++# include "interp_masm_aarch64.hpp"
-++#endif
-+ #ifdef TARGET_OS_FAMILY_linux
-+ # include "thread_linux.inline.hpp"
-+ #endif
-+diff --git openjdk.orig/hotspot/src/share/vm/interpreter/bytecode.hpp openjdk/hotspot/src/share/vm/interpreter/bytecode.hpp
-+index 107161a..205d0f7 100644
-+--- openjdk.orig/hotspot/src/share/vm/interpreter/bytecode.hpp
-++++ openjdk/hotspot/src/share/vm/interpreter/bytecode.hpp
-+@@ -43,6 +43,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "bytes_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "bytes_aarch64.hpp"
-++#endif
-+
-+ class ciBytecodeStream;
-+
-+diff --git openjdk.orig/hotspot/src/share/vm/interpreter/bytecodeInterpreter.hpp openjdk/hotspot/src/share/vm/interpreter/bytecodeInterpreter.hpp
-+index e637414..308ad3b 100644
-+--- openjdk.orig/hotspot/src/share/vm/interpreter/bytecodeInterpreter.hpp
-++++ openjdk/hotspot/src/share/vm/interpreter/bytecodeInterpreter.hpp
-+@@ -47,6 +47,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "bytes_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "bytes_aarch64.hpp"
-++#endif
-+
-+ #ifdef CC_INTERP
-+
-+@@ -618,6 +621,9 @@ void print();
-+ #ifdef TARGET_ARCH_ppc
-+ # include "bytecodeInterpreter_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "bytecodeInterpreter_aarch64.hpp"
-++#endif
-+
-+
-+ }; // BytecodeInterpreter
-+diff --git openjdk.orig/hotspot/src/share/vm/interpreter/bytecodeInterpreter.inline.hpp openjdk/hotspot/src/share/vm/interpreter/bytecodeInterpreter.inline.hpp
-+index 3715a52..0d6a8aa 100644
-+--- openjdk.orig/hotspot/src/share/vm/interpreter/bytecodeInterpreter.inline.hpp
-++++ openjdk/hotspot/src/share/vm/interpreter/bytecodeInterpreter.inline.hpp
-+@@ -58,6 +58,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "bytecodeInterpreter_ppc.inline.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "bytecodeInterpreter_aarch64.inline.hpp"
-++#endif
-+
-+ #endif // CC_INTERP
-+
-+diff --git openjdk.orig/hotspot/src/share/vm/interpreter/bytecodeStream.hpp openjdk/hotspot/src/share/vm/interpreter/bytecodeStream.hpp
-+index 6106eac..f3dee0a 100644
-+--- openjdk.orig/hotspot/src/share/vm/interpreter/bytecodeStream.hpp
-++++ openjdk/hotspot/src/share/vm/interpreter/bytecodeStream.hpp
-+@@ -43,6 +43,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "bytes_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "bytes_aarch64.hpp"
-++#endif
-+
-+ // A BytecodeStream is used for fast iteration over the bytecodes
-+ // of a methodOop.
-+diff --git openjdk.orig/hotspot/src/share/vm/interpreter/bytecodes.cpp openjdk/hotspot/src/share/vm/interpreter/bytecodes.cpp
-+index 04f3f64..48ef30e 100644
-+--- openjdk.orig/hotspot/src/share/vm/interpreter/bytecodes.cpp
-++++ openjdk/hotspot/src/share/vm/interpreter/bytecodes.cpp
-+@@ -41,6 +41,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "bytes_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "bytes_aarch64.hpp"
-++#endif
-+
-+
-+ #if defined(WIN32) && (defined(_MSC_VER) && (_MSC_VER < 1600))
-+diff --git openjdk.orig/hotspot/src/share/vm/interpreter/cppInterpreter.hpp openjdk/hotspot/src/share/vm/interpreter/cppInterpreter.hpp
-+index e3a9f2e..8347473 100644
-+--- openjdk.orig/hotspot/src/share/vm/interpreter/cppInterpreter.hpp
-++++ openjdk/hotspot/src/share/vm/interpreter/cppInterpreter.hpp
-+@@ -101,6 +101,9 @@ class CppInterpreter: public AbstractInterpreter {
-+ #ifdef TARGET_ARCH_ppc
-+ # include "cppInterpreter_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "cppInterpreter_aarch64.hpp"
-++#endif
-+
-+
-+ };
-+diff --git openjdk.orig/hotspot/src/share/vm/interpreter/cppInterpreterGenerator.hpp openjdk/hotspot/src/share/vm/interpreter/cppInterpreterGenerator.hpp
-+index c27805e..272f6e8 100644
-+--- openjdk.orig/hotspot/src/share/vm/interpreter/cppInterpreterGenerator.hpp
-++++ openjdk/hotspot/src/share/vm/interpreter/cppInterpreterGenerator.hpp
-+@@ -59,6 +59,9 @@ class CppInterpreterGenerator: public AbstractInterpreterGenerator {
-+ #ifdef TARGET_ARCH_ppc
-+ # include "cppInterpreterGenerator_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "cppInterpreterGenerator_aarch64.hpp"
-++#endif
-+
-+ };
-+
-+diff --git openjdk.orig/hotspot/src/share/vm/interpreter/interpreter.hpp openjdk/hotspot/src/share/vm/interpreter/interpreter.hpp
-+index 0ab0be7..6a6822f 100644
-+--- openjdk.orig/hotspot/src/share/vm/interpreter/interpreter.hpp
-++++ openjdk/hotspot/src/share/vm/interpreter/interpreter.hpp
-+@@ -158,6 +158,9 @@ class Interpreter: public CC_INTERP_ONLY(CppInterpreter) NOT_CC_INTERP(TemplateI
-+ #ifdef TARGET_ARCH_ppc
-+ # include "interpreter_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "interpreter_aarch64.hpp"
-++#endif
-+
-+ };
-+
-+diff --git openjdk.orig/hotspot/src/share/vm/interpreter/interpreterGenerator.hpp openjdk/hotspot/src/share/vm/interpreter/interpreterGenerator.hpp
-+index 7bc43ec..0434ca3 100644
-+--- openjdk.orig/hotspot/src/share/vm/interpreter/interpreterGenerator.hpp
-++++ openjdk/hotspot/src/share/vm/interpreter/interpreterGenerator.hpp
-+@@ -56,6 +56,9 @@ InterpreterGenerator(StubQueue* _code);
-+ #ifdef TARGET_ARCH_ppc
-+ # include "interpreterGenerator_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "interpreterGenerator_aarch64.hpp"
-++#endif
-+
-+
-+ };
-+diff --git openjdk.orig/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp openjdk/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp
-+index e451c04..37700fb 100644
-+--- openjdk.orig/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp
-++++ openjdk/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp
-+@@ -71,6 +71,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "vm_version_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "vm_version_aarch64.hpp"
-++#endif
-+ #ifdef COMPILER2
-+ #include "opto/runtime.hpp"
-+ #endif
-+diff --git openjdk.orig/hotspot/src/share/vm/interpreter/interpreterRuntime.hpp openjdk/hotspot/src/share/vm/interpreter/interpreterRuntime.hpp
-+index 93c1a9e..425400e 100644
-+--- openjdk.orig/hotspot/src/share/vm/interpreter/interpreterRuntime.hpp
-++++ openjdk/hotspot/src/share/vm/interpreter/interpreterRuntime.hpp
-+@@ -164,6 +164,9 @@ class InterpreterRuntime: AllStatic {
-+ #endif
-+ #ifdef TARGET_ARCH_ppc
-+ # include "interpreterRT_ppc.hpp"
-++#endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "interpreterRT_aarch64.hpp"
-+ #endif
-+
-+
-+diff --git openjdk.orig/hotspot/src/share/vm/interpreter/templateInterpreter.hpp openjdk/hotspot/src/share/vm/interpreter/templateInterpreter.hpp
-+index 25d74f7..f78a16e 100644
-+--- openjdk.orig/hotspot/src/share/vm/interpreter/templateInterpreter.hpp
-++++ openjdk/hotspot/src/share/vm/interpreter/templateInterpreter.hpp
-+@@ -198,6 +198,9 @@ class TemplateInterpreter: public AbstractInterpreter {
-+ #ifdef TARGET_ARCH_ppc
-+ # include "templateInterpreter_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "templateInterpreter_aarch64.hpp"
-++#endif
-+
-+
-+ };
-+diff --git openjdk.orig/hotspot/src/share/vm/interpreter/templateInterpreterGenerator.hpp openjdk/hotspot/src/share/vm/interpreter/templateInterpreterGenerator.hpp
-+index fb7bdc5..6007630 100644
-+--- openjdk.orig/hotspot/src/share/vm/interpreter/templateInterpreterGenerator.hpp
-++++ openjdk/hotspot/src/share/vm/interpreter/templateInterpreterGenerator.hpp
-+@@ -101,6 +101,9 @@ class TemplateInterpreterGenerator: public AbstractInterpreterGenerator {
-+ #ifdef TARGET_ARCH_ppc
-+ # include "templateInterpreterGenerator_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "templateInterpreterGenerator_aarch64.hpp"
-++#endif
-+
-+
-+ };
-+diff --git openjdk.orig/hotspot/src/share/vm/interpreter/templateTable.hpp openjdk/hotspot/src/share/vm/interpreter/templateTable.hpp
-+index 5d2a7e8..c5e0f0a 100644
-+--- openjdk.orig/hotspot/src/share/vm/interpreter/templateTable.hpp
-++++ openjdk/hotspot/src/share/vm/interpreter/templateTable.hpp
-+@@ -43,6 +43,9 @@
-+ #ifdef TARGET_ARCH_MODEL_ppc
-+ # include "interp_masm_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_MODEL_aarch64
-++# include "interp_masm_aarch64.hpp"
-++#endif
-+
-+ #ifndef CC_INTERP
-+ // All the necessary definitions used for (bytecode) template generation. Instead of
-+@@ -373,6 +376,9 @@ class TemplateTable: AllStatic {
-+ #ifdef TARGET_ARCH_MODEL_ppc
-+ # include "templateTable_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_MODEL_aarch64
-++# include "templateTable_aarch64.hpp"
-++#endif
-+
-+ };
-+ #endif /* !CC_INTERP */
-+diff --git openjdk.orig/hotspot/src/share/vm/oops/constantPoolOop.hpp openjdk/hotspot/src/share/vm/oops/constantPoolOop.hpp
-+index c2f985d..3d0d0fc 100644
-+--- openjdk.orig/hotspot/src/share/vm/oops/constantPoolOop.hpp
-++++ openjdk/hotspot/src/share/vm/oops/constantPoolOop.hpp
-+@@ -45,6 +45,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "bytes_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "bytes_aarch64.hpp"
-++#endif
-+
-+ // A constantPool is an array containing class constants as described in the
-+ // class file.
-+diff --git openjdk.orig/hotspot/src/share/vm/oops/oop.inline.hpp openjdk/hotspot/src/share/vm/oops/oop.inline.hpp
-+index db14b2e..c8b326f 100644
-+--- openjdk.orig/hotspot/src/share/vm/oops/oop.inline.hpp
-++++ openjdk/hotspot/src/share/vm/oops/oop.inline.hpp
-+@@ -58,6 +58,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "bytes_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "bytes_aarch64.hpp"
-++#endif
-+
-+ // Implementation of all inlined member functions defined in oop.hpp
-+ // We need a separate file to avoid circular references
-+diff --git openjdk.orig/hotspot/src/share/vm/opto/buildOopMap.cpp openjdk/hotspot/src/share/vm/opto/buildOopMap.cpp
-+index fc73160..2c5ec41 100644
-+--- openjdk.orig/hotspot/src/share/vm/opto/buildOopMap.cpp
-++++ openjdk/hotspot/src/share/vm/opto/buildOopMap.cpp
-+@@ -47,6 +47,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "vmreg_ppc.inline.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "vmreg_aarch64.inline.hpp"
-++#endif
-+
-+ // The functions in this file builds OopMaps after all scheduling is done.
-+ //
-+diff --git openjdk.orig/hotspot/src/share/vm/opto/c2_globals.hpp openjdk/hotspot/src/share/vm/opto/c2_globals.hpp
-+index f73dcbd..462c875 100644
-+--- openjdk.orig/hotspot/src/share/vm/opto/c2_globals.hpp
-++++ openjdk/hotspot/src/share/vm/opto/c2_globals.hpp
-+@@ -35,6 +35,9 @@
-+ #ifdef TARGET_ARCH_arm
-+ # include "c2_globals_arm.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "c2_globals_aarch64.hpp"
-++#endif
-+ #ifdef TARGET_OS_FAMILY_linux
-+ # include "c2_globals_linux.hpp"
-+ #endif
-+diff --git openjdk.orig/hotspot/src/share/vm/opto/c2compiler.cpp openjdk/hotspot/src/share/vm/opto/c2compiler.cpp
-+index 713e3f1..948e447 100644
-+--- openjdk.orig/hotspot/src/share/vm/opto/c2compiler.cpp
-++++ openjdk/hotspot/src/share/vm/opto/c2compiler.cpp
-+@@ -43,6 +43,9 @@
-+ #ifdef TARGET_ARCH_MODEL_ppc
-+ # include "adfiles/ad_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_MODEL_aarch64
-++# include "adfiles/ad_aarch64.hpp"
-++#endif
-+
-+
-+ volatile int C2Compiler::_runtimes = uninitialized;
-+diff --git openjdk.orig/hotspot/src/share/vm/opto/compile.cpp openjdk/hotspot/src/share/vm/opto/compile.cpp
-+index a7ee07a..91dc290 100644
-+--- openjdk.orig/hotspot/src/share/vm/opto/compile.cpp
-++++ openjdk/hotspot/src/share/vm/opto/compile.cpp
-+@@ -80,6 +80,9 @@
-+ #ifdef TARGET_ARCH_MODEL_ppc
-+ # include "adfiles/ad_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_MODEL_aarch64
-++# include "adfiles/ad_aarch64.hpp"
-++#endif
-+
-+
-+ // -------------------- Compile::mach_constant_base_node -----------------------
-+diff --git openjdk.orig/hotspot/src/share/vm/opto/gcm.cpp openjdk/hotspot/src/share/vm/opto/gcm.cpp
-+index 8b8f311..4deb0b4 100644
-+--- openjdk.orig/hotspot/src/share/vm/opto/gcm.cpp
-++++ openjdk/hotspot/src/share/vm/opto/gcm.cpp
-+@@ -53,6 +53,9 @@
-+ #ifdef TARGET_ARCH_MODEL_ppc
-+ # include "adfiles/ad_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_MODEL_aarch64
-++# include "adfiles/ad_aarch64.hpp"
-++#endif
-+
-+ // Portions of code courtesy of Clifford Click
-+
-+diff --git openjdk.orig/hotspot/src/share/vm/opto/lcm.cpp openjdk/hotspot/src/share/vm/opto/lcm.cpp
-+index aee6123..4b9aaed 100644
-+--- openjdk.orig/hotspot/src/share/vm/opto/lcm.cpp
-++++ openjdk/hotspot/src/share/vm/opto/lcm.cpp
-+@@ -48,6 +48,9 @@
-+ #ifdef TARGET_ARCH_MODEL_ppc
-+ # include "adfiles/ad_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_MODEL_aarch64
-++# include "adfiles/ad_aarch64.hpp"
-++#endif
-+
-+ // Optimization - Graph Style
-+
-+diff --git openjdk.orig/hotspot/src/share/vm/opto/locknode.hpp openjdk/hotspot/src/share/vm/opto/locknode.hpp
-+index 91b99bc..665594f 100644
-+--- openjdk.orig/hotspot/src/share/vm/opto/locknode.hpp
-++++ openjdk/hotspot/src/share/vm/opto/locknode.hpp
-+@@ -46,6 +46,9 @@
-+ #ifdef TARGET_ARCH_MODEL_ppc
-+ # include "adfiles/ad_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_MODEL_aarch64
-++# include "adfiles/ad_aarch64.hpp"
-++#endif
-+
-+ //------------------------------BoxLockNode------------------------------------
-+ class BoxLockNode : public Node {
-+diff --git openjdk.orig/hotspot/src/share/vm/opto/matcher.cpp openjdk/hotspot/src/share/vm/opto/matcher.cpp
-+index ca2d4e3..d0f55c5 100644
-+--- openjdk.orig/hotspot/src/share/vm/opto/matcher.cpp
-++++ openjdk/hotspot/src/share/vm/opto/matcher.cpp
-+@@ -55,6 +55,9 @@
-+ #ifdef TARGET_ARCH_MODEL_ppc
-+ # include "adfiles/ad_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_MODEL_aarch64
-++# include "adfiles/ad_aarch64.hpp"
-++#endif
-+
-+ OptoReg::Name OptoReg::c_frame_pointer;
-+
-+diff --git openjdk.orig/hotspot/src/share/vm/opto/output.hpp openjdk/hotspot/src/share/vm/opto/output.hpp
-+index 50b6e76..6a920b2 100644
-+--- openjdk.orig/hotspot/src/share/vm/opto/output.hpp
-++++ openjdk/hotspot/src/share/vm/opto/output.hpp
-+@@ -45,6 +45,9 @@
-+ #ifdef TARGET_ARCH_MODEL_ppc
-+ # include "adfiles/ad_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_MODEL_aarch64
-++# include "adfiles/ad_aarch64.hpp"
-++#endif
-+
-+ class Arena;
-+ class Bundle;
-+diff --git openjdk.orig/hotspot/src/share/vm/opto/regmask.cpp openjdk/hotspot/src/share/vm/opto/regmask.cpp
-+index ce220f0..20c6028 100644
-+--- openjdk.orig/hotspot/src/share/vm/opto/regmask.cpp
-++++ openjdk/hotspot/src/share/vm/opto/regmask.cpp
-+@@ -43,6 +43,9 @@
-+ #ifdef TARGET_ARCH_MODEL_ppc
-+ # include "adfiles/ad_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_MODEL_aarch64
-++# include "adfiles/ad_aarch64.hpp"
-++#endif
-+
-+ #define RM_SIZE _RM_SIZE /* a constant private to the class RegMask */
-+
-+diff --git openjdk.orig/hotspot/src/share/vm/opto/regmask.hpp openjdk/hotspot/src/share/vm/opto/regmask.hpp
-+index e50ff84..26c6854 100644
-+--- openjdk.orig/hotspot/src/share/vm/opto/regmask.hpp
-++++ openjdk/hotspot/src/share/vm/opto/regmask.hpp
-+@@ -46,6 +46,9 @@
-+ #ifdef TARGET_ARCH_MODEL_ppc
-+ # include "adfiles/adGlobals_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_MODEL_aarch64
-++# include "adfiles/adGlobals_aarch64.hpp"
-++#endif
-+
-+ // Some fun naming (textual) substitutions:
-+ //
-+diff --git openjdk.orig/hotspot/src/share/vm/opto/runtime.cpp openjdk/hotspot/src/share/vm/opto/runtime.cpp
-+index d315f10..11a58b1 100644
-+--- openjdk.orig/hotspot/src/share/vm/opto/runtime.cpp
-++++ openjdk/hotspot/src/share/vm/opto/runtime.cpp
-+@@ -86,6 +86,9 @@
-+ #ifdef TARGET_ARCH_MODEL_ppc
-+ # include "adfiles/ad_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_MODEL_aarch64
-++# include "adfiles/ad_aarch64.hpp"
-++#endif
-+
-+
-+ // For debugging purposes:
-+diff --git openjdk.orig/hotspot/src/share/vm/prims/jniCheck.cpp openjdk/hotspot/src/share/vm/prims/jniCheck.cpp
-+index 3bf4ecd..2ad9014 100644
-+--- openjdk.orig/hotspot/src/share/vm/prims/jniCheck.cpp
-++++ openjdk/hotspot/src/share/vm/prims/jniCheck.cpp
-+@@ -51,6 +51,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "jniTypes_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "jniTypes_aarch64.hpp"
-++#endif
-+
-+
-+ // Heap objects are allowed to be directly referenced only in VM code,
-+diff --git openjdk.orig/hotspot/src/share/vm/prims/jni_md.h openjdk/hotspot/src/share/vm/prims/jni_md.h
-+index 7fa5829..3bd4e31 100644
-+--- openjdk.orig/hotspot/src/share/vm/prims/jni_md.h
-++++ openjdk/hotspot/src/share/vm/prims/jni_md.h
-+@@ -39,6 +39,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "jni_ppc.h"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "jni_aarch64.h"
-++#endif
-+
-+
-+ /*
-+diff --git openjdk.orig/hotspot/src/share/vm/prims/jvmtiClassFileReconstituter.cpp openjdk/hotspot/src/share/vm/prims/jvmtiClassFileReconstituter.cpp
-+index 97dd154..fd1fa43 100644
-+--- openjdk.orig/hotspot/src/share/vm/prims/jvmtiClassFileReconstituter.cpp
-++++ openjdk/hotspot/src/share/vm/prims/jvmtiClassFileReconstituter.cpp
-+@@ -43,6 +43,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "bytes_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "bytes_aarch64.hpp"
-++#endif
-+ // FIXME: add Deprecated, LVTT attributes
-+ // FIXME: fix Synthetic attribute
-+ // FIXME: per Serguei, add error return handling for constantPoolOopDesc::copy_cpool_bytes()
-+diff --git openjdk.orig/hotspot/src/share/vm/prims/methodHandles.hpp openjdk/hotspot/src/share/vm/prims/methodHandles.hpp
-+index 514ba6a..ea747d0 100644
-+--- openjdk.orig/hotspot/src/share/vm/prims/methodHandles.hpp
-++++ openjdk/hotspot/src/share/vm/prims/methodHandles.hpp
-+@@ -738,6 +738,9 @@ public:
-+ #ifdef TARGET_ARCH_ppc
-+ # include "methodHandles_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "methodHandles_aarch64.hpp"
-++#endif
-+ };
-+
-+
-+diff --git openjdk.orig/hotspot/src/share/vm/runtime/atomic.cpp openjdk/hotspot/src/share/vm/runtime/atomic.cpp
-+index 80780d7..5a34f15 100644
-+--- openjdk.orig/hotspot/src/share/vm/runtime/atomic.cpp
-++++ openjdk/hotspot/src/share/vm/runtime/atomic.cpp
-+@@ -60,6 +60,9 @@
-+ #ifdef TARGET_OS_ARCH_linux_ppc
-+ # include "atomic_linux_ppc.inline.hpp"
-+ #endif
-++#ifdef TARGET_OS_ARCH_linux_aarch64
-++# include "atomic_linux_aarch64.inline.hpp"
-++#endif
-+ #ifdef TARGET_OS_ARCH_bsd_x86
-+ # include "atomic_bsd_x86.inline.hpp"
-+ #endif
-+diff --git openjdk.orig/hotspot/src/share/vm/runtime/deoptimization.cpp openjdk/hotspot/src/share/vm/runtime/deoptimization.cpp
-+index 4735588..4e7958a 100644
-+--- openjdk.orig/hotspot/src/share/vm/runtime/deoptimization.cpp
-++++ openjdk/hotspot/src/share/vm/runtime/deoptimization.cpp
-+@@ -65,6 +65,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "vmreg_ppc.inline.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "vmreg_aarch64.inline.hpp"
-++#endif
-+ #ifdef COMPILER2
-+ #ifdef TARGET_ARCH_MODEL_x86_32
-+ # include "adfiles/ad_x86_32.hpp"
-+@@ -84,6 +87,9 @@
-+ #ifdef TARGET_ARCH_MODEL_ppc
-+ # include "adfiles/ad_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_MODEL_aarch64
-++# include "adfiles/ad_aarch64.hpp"
-++#endif
-+ #endif
-+
-+ bool DeoptimizationMarker::_is_active = false;
-+diff --git openjdk.orig/hotspot/src/share/vm/runtime/dtraceJSDT.hpp openjdk/hotspot/src/share/vm/runtime/dtraceJSDT.hpp
-+index bff4310..1129cd6 100644
-+--- openjdk.orig/hotspot/src/share/vm/runtime/dtraceJSDT.hpp
-++++ openjdk/hotspot/src/share/vm/runtime/dtraceJSDT.hpp
-+@@ -41,6 +41,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "nativeInst_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "nativeInst_aarch64.hpp"
-++#endif
-+
-+ class RegisteredProbes;
-+ typedef jlong OpaqueProbes;
-+diff --git openjdk.orig/hotspot/src/share/vm/runtime/frame.cpp openjdk/hotspot/src/share/vm/runtime/frame.cpp
-+index 7ae9aa8..6654714 100644
-+--- openjdk.orig/hotspot/src/share/vm/runtime/frame.cpp
-++++ openjdk/hotspot/src/share/vm/runtime/frame.cpp
-+@@ -59,6 +59,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "nativeInst_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "nativeInst_aarch64.hpp"
-++#endif
-+
-+ RegisterMap::RegisterMap(JavaThread *thread, bool update_map) {
-+ _thread = thread;
-+diff --git openjdk.orig/hotspot/src/share/vm/runtime/frame.hpp openjdk/hotspot/src/share/vm/runtime/frame.hpp
-+index c55380e..c13caae 100644
-+--- openjdk.orig/hotspot/src/share/vm/runtime/frame.hpp
-++++ openjdk/hotspot/src/share/vm/runtime/frame.hpp
-+@@ -50,6 +50,9 @@
-+ #ifdef TARGET_ARCH_MODEL_ppc
-+ # include "adfiles/adGlobals_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_MODEL_aarch64
-++# include "adfiles/adGlobals_aarch64.hpp"
-++#endif
-+ #endif
-+ #ifdef ZERO
-+ #ifdef TARGET_ARCH_zero
-+@@ -491,6 +494,9 @@ class frame VALUE_OBJ_CLASS_SPEC {
-+ #ifdef TARGET_ARCH_ppc
-+ # include "frame_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "frame_aarch64.hpp"
-++#endif
-+
-+ };
-+
-+diff --git openjdk.orig/hotspot/src/share/vm/runtime/frame.inline.hpp openjdk/hotspot/src/share/vm/runtime/frame.inline.hpp
-+index b80b042..f6e1b0e 100644
-+--- openjdk.orig/hotspot/src/share/vm/runtime/frame.inline.hpp
-++++ openjdk/hotspot/src/share/vm/runtime/frame.inline.hpp
-+@@ -46,6 +46,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "jniTypes_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "jniTypes_aarch64.hpp"
-++#endif
-+ #ifdef ZERO
-+ #ifdef TARGET_ARCH_zero
-+ # include "entryFrame_zero.hpp"
-+@@ -100,6 +103,9 @@ inline bool frame::is_first_frame() const {
-+ #ifdef TARGET_ARCH_ppc
-+ # include "frame_ppc.inline.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "frame_aarch64.inline.hpp"
-++#endif
-+
-+
-+ #endif // SHARE_VM_RUNTIME_FRAME_INLINE_HPP
-+diff --git openjdk.orig/hotspot/src/share/vm/runtime/globals.hpp openjdk/hotspot/src/share/vm/runtime/globals.hpp
-+index 10d74cd..4cc5dfb 100644
-+--- openjdk.orig/hotspot/src/share/vm/runtime/globals.hpp
-++++ openjdk/hotspot/src/share/vm/runtime/globals.hpp
-+@@ -52,6 +52,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "globals_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "globals_aarch64.hpp"
-++#endif
-+ #ifdef TARGET_OS_FAMILY_linux
-+ # include "globals_linux.hpp"
-+ #endif
-+@@ -88,6 +91,9 @@
-+ #ifdef TARGET_OS_ARCH_linux_ppc
-+ # include "globals_linux_ppc.hpp"
-+ #endif
-++#ifdef TARGET_OS_ARCH_linux_aarch64
-++# include "globals_linux_aarch64.hpp"
-++#endif
-+ #ifdef TARGET_OS_ARCH_bsd_x86
-+ # include "globals_bsd_x86.hpp"
-+ #endif
-+@@ -107,6 +113,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "c1_globals_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "c1_globals_aarch64.hpp"
-++#endif
-+ #ifdef TARGET_OS_FAMILY_linux
-+ # include "c1_globals_linux.hpp"
-+ #endif
-+@@ -130,6 +139,9 @@
-+ #ifdef TARGET_ARCH_arm
-+ # include "c2_globals_arm.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "c2_globals_aarch64.hpp"
-++#endif
-+ #ifdef TARGET_OS_FAMILY_linux
-+ # include "c2_globals_linux.hpp"
-+ #endif
-+diff --git openjdk.orig/hotspot/src/share/vm/runtime/icache.hpp openjdk/hotspot/src/share/vm/runtime/icache.hpp
-+index d460a0f..9a3b9c8 100644
-+--- openjdk.orig/hotspot/src/share/vm/runtime/icache.hpp
-++++ openjdk/hotspot/src/share/vm/runtime/icache.hpp
-+@@ -83,6 +83,9 @@ class AbstractICache : AllStatic {
-+ #ifdef TARGET_ARCH_ppc
-+ # include "icache_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "icache_aarch64.hpp"
-++#endif
-+
-+
-+
-+diff --git openjdk.orig/hotspot/src/share/vm/runtime/java.cpp openjdk/hotspot/src/share/vm/runtime/java.cpp
-+index fc3b67a..46794b0 100644
-+--- openjdk.orig/hotspot/src/share/vm/runtime/java.cpp
-++++ openjdk/hotspot/src/share/vm/runtime/java.cpp
-+@@ -78,6 +78,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "vm_version_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "vm_version_aarch64.hpp"
-++#endif
-+ #ifdef TARGET_OS_FAMILY_linux
-+ # include "thread_linux.inline.hpp"
-+ #endif
-+diff --git openjdk.orig/hotspot/src/share/vm/runtime/javaCalls.hpp openjdk/hotspot/src/share/vm/runtime/javaCalls.hpp
-+index d4f8595..bc2ca9b 100644
-+--- openjdk.orig/hotspot/src/share/vm/runtime/javaCalls.hpp
-++++ openjdk/hotspot/src/share/vm/runtime/javaCalls.hpp
-+@@ -45,6 +45,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "jniTypes_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "jniTypes_aarch64.hpp"
-++#endif
-+ #ifdef TARGET_OS_FAMILY_linux
-+ # include "thread_linux.inline.hpp"
-+ #endif
-+diff --git openjdk.orig/hotspot/src/share/vm/runtime/javaFrameAnchor.hpp openjdk/hotspot/src/share/vm/runtime/javaFrameAnchor.hpp
-+index 8374aa2..6be5f79 100644
-+--- openjdk.orig/hotspot/src/share/vm/runtime/javaFrameAnchor.hpp
-++++ openjdk/hotspot/src/share/vm/runtime/javaFrameAnchor.hpp
-+@@ -47,6 +47,9 @@
-+ #ifdef TARGET_OS_ARCH_linux_arm
-+ # include "orderAccess_linux_arm.inline.hpp"
-+ #endif
-++#ifdef TARGET_OS_ARCH_linux_aarch64
-++# include "orderAccess_linux_aarch64.inline.hpp"
-++#endif
-+ #ifdef TARGET_OS_ARCH_linux_ppc
-+ # include "orderAccess_linux_ppc.inline.hpp"
-+ #endif
-+@@ -121,6 +124,9 @@ friend class JavaCallWrapper;
-+ #ifdef TARGET_ARCH_ppc
-+ # include "javaFrameAnchor_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "javaFrameAnchor_aarch64.hpp"
-++#endif
-+
-+
-+ public:
-+diff --git openjdk.orig/hotspot/src/share/vm/runtime/os.hpp openjdk/hotspot/src/share/vm/runtime/os.hpp
-+index 5867deb..0f1fbb4 100644
-+--- openjdk.orig/hotspot/src/share/vm/runtime/os.hpp
-++++ openjdk/hotspot/src/share/vm/runtime/os.hpp
-+@@ -719,6 +719,9 @@ class os: AllStatic {
-+ #ifdef TARGET_OS_ARCH_linux_ppc
-+ # include "os_linux_ppc.hpp"
-+ #endif
-++#ifdef TARGET_OS_ARCH_linux_aarch64
-++# include "os_linux_aarch64.hpp"
-++#endif
-+ #ifdef TARGET_OS_ARCH_bsd_x86
-+ # include "os_bsd_x86.hpp"
-+ #endif
-+diff --git openjdk.orig/hotspot/src/share/vm/runtime/registerMap.hpp openjdk/hotspot/src/share/vm/runtime/registerMap.hpp
-+index 5dd677a..7bd425f 100644
-+--- openjdk.orig/hotspot/src/share/vm/runtime/registerMap.hpp
-++++ openjdk/hotspot/src/share/vm/runtime/registerMap.hpp
-+@@ -42,6 +42,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "register_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "register_aarch64.hpp"
-++#endif
-+
-+ class JavaThread;
-+
-+@@ -150,6 +153,9 @@ class RegisterMap : public StackObj {
-+ #ifdef TARGET_ARCH_ppc
-+ # include "registerMap_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "registerMap_aarch64.hpp"
-++#endif
-+
-+ };
-+
-+diff --git openjdk.orig/hotspot/src/share/vm/runtime/relocator.hpp openjdk/hotspot/src/share/vm/runtime/relocator.hpp
-+index c34866f..790bd80 100644
-+--- openjdk.orig/hotspot/src/share/vm/runtime/relocator.hpp
-++++ openjdk/hotspot/src/share/vm/runtime/relocator.hpp
-+@@ -42,6 +42,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "bytes_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "bytes_aarch64.hpp"
-++#endif
-+
-+ // This code has been converted from the 1.1E java virtual machine
-+ // Thanks to the JavaTopics group for using the code
-+diff --git openjdk.orig/hotspot/src/share/vm/runtime/safepoint.cpp openjdk/hotspot/src/share/vm/runtime/safepoint.cpp
-+index c29d257..a842bb3 100644
-+--- openjdk.orig/hotspot/src/share/vm/runtime/safepoint.cpp
-++++ openjdk/hotspot/src/share/vm/runtime/safepoint.cpp
-+@@ -70,6 +70,10 @@
-+ # include "nativeInst_ppc.hpp"
-+ # include "vmreg_ppc.inline.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "nativeInst_aarch64.hpp"
-++# include "vmreg_aarch64.inline.hpp"
-++#endif
-+ #ifdef TARGET_OS_FAMILY_linux
-+ # include "thread_linux.inline.hpp"
-+ #endif
-+diff --git openjdk.orig/hotspot/src/share/vm/runtime/sharedRuntime.cpp openjdk/hotspot/src/share/vm/runtime/sharedRuntime.cpp
-+index c25dcfe..aa7caff 100644
-+--- openjdk.orig/hotspot/src/share/vm/runtime/sharedRuntime.cpp
-++++ openjdk/hotspot/src/share/vm/runtime/sharedRuntime.cpp
-+@@ -76,6 +76,10 @@
-+ # include "nativeInst_ppc.hpp"
-+ # include "vmreg_ppc.inline.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "nativeInst_aarch64.hpp"
-++# include "vmreg_aarch64.inline.hpp"
-++#endif
-+ #ifdef COMPILER1
-+ #include "c1/c1_Runtime1.hpp"
-+ #endif
-+diff --git openjdk.orig/hotspot/src/share/vm/runtime/stackValueCollection.cpp openjdk/hotspot/src/share/vm/runtime/stackValueCollection.cpp
-+index 110f712..779f994 100644
-+--- openjdk.orig/hotspot/src/share/vm/runtime/stackValueCollection.cpp
-++++ openjdk/hotspot/src/share/vm/runtime/stackValueCollection.cpp
-+@@ -39,6 +39,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "jniTypes_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "jniTypes_aarch64.hpp"
-++#endif
-+
-+ jint StackValueCollection::int_at(int slot) const {
-+ intptr_t val = at(slot)->get_int();
-+diff --git openjdk.orig/hotspot/src/share/vm/runtime/statSampler.cpp openjdk/hotspot/src/share/vm/runtime/statSampler.cpp
-+index 0b24def..c82a214 100644
-+--- openjdk.orig/hotspot/src/share/vm/runtime/statSampler.cpp
-++++ openjdk/hotspot/src/share/vm/runtime/statSampler.cpp
-+@@ -48,6 +48,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "vm_version_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "vm_version_aarch64.hpp"
-++#endif
-+
-+ // --------------------------------------------------------
-+ // StatSamplerTask
-+diff --git openjdk.orig/hotspot/src/share/vm/runtime/stubCodeGenerator.cpp openjdk/hotspot/src/share/vm/runtime/stubCodeGenerator.cpp
-+index b6068a5..4ef7e38 100644
-+--- openjdk.orig/hotspot/src/share/vm/runtime/stubCodeGenerator.cpp
-++++ openjdk/hotspot/src/share/vm/runtime/stubCodeGenerator.cpp
-+@@ -42,6 +42,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "assembler_ppc.inline.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "assembler_aarch64.inline.hpp"
-++#endif
-+
-+
-+ // Implementation of StubCodeDesc
-+diff --git openjdk.orig/hotspot/src/share/vm/runtime/stubRoutines.hpp openjdk/hotspot/src/share/vm/runtime/stubRoutines.hpp
-+index 8481dce..f233b56 100644
-+--- openjdk.orig/hotspot/src/share/vm/runtime/stubRoutines.hpp
-++++ openjdk/hotspot/src/share/vm/runtime/stubRoutines.hpp
-+@@ -46,6 +46,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "nativeInst_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "nativeInst_aarch64.hpp"
-++#endif
-+
-+ // StubRoutines provides entry points to assembly routines used by
-+ // compiled code and the run-time system. Platform-specific entry
-+@@ -116,6 +119,9 @@ class StubRoutines: AllStatic {
-+ #endif
-+ #ifdef TARGET_ARCH_MODEL_ppc
-+ # include "stubRoutines_ppc.hpp"
-++#endif
-++#ifdef TARGET_ARCH_MODEL_aarch64
-++# include "stubRoutines_aarch64.hpp"
-+ #endif
-+
-+
-+diff --git openjdk.orig/hotspot/src/share/vm/runtime/thread.hpp openjdk/hotspot/src/share/vm/runtime/thread.hpp
-+index 7846cc0..6964c22 100644
-+--- openjdk.orig/hotspot/src/share/vm/runtime/thread.hpp
-++++ openjdk/hotspot/src/share/vm/runtime/thread.hpp
-+@@ -1651,6 +1651,9 @@ public:
-+ #ifdef TARGET_OS_ARCH_linux_ppc
-+ # include "thread_linux_ppc.hpp"
-+ #endif
-++#ifdef TARGET_OS_ARCH_linux_aarch64
-++# include "thread_linux_aarch64.hpp"
-++#endif
-+ #ifdef TARGET_OS_ARCH_bsd_x86
-+ # include "thread_bsd_x86.hpp"
-+ #endif
-+diff --git openjdk.orig/hotspot/src/share/vm/runtime/threadLocalStorage.hpp openjdk/hotspot/src/share/vm/runtime/threadLocalStorage.hpp
-+index c2f7a9e..26ef559 100644
-+--- openjdk.orig/hotspot/src/share/vm/runtime/threadLocalStorage.hpp
-++++ openjdk/hotspot/src/share/vm/runtime/threadLocalStorage.hpp
-+@@ -68,6 +68,9 @@ class ThreadLocalStorage : AllStatic {
-+ #ifdef TARGET_OS_ARCH_linux_ppc
-+ # include "threadLS_linux_ppc.hpp"
-+ #endif
-++#ifdef TARGET_OS_ARCH_linux_aarch64
-++# include "threadLS_linux_aarch64.hpp"
-++#endif
-+ #ifdef TARGET_OS_ARCH_bsd_x86
-+ # include "threadLS_bsd_x86.hpp"
-+ #endif
-+diff --git openjdk.orig/hotspot/src/share/vm/runtime/vmStructs.cpp openjdk/hotspot/src/share/vm/runtime/vmStructs.cpp
-+index 8afd933..359f9fc 100644
-+--- openjdk.orig/hotspot/src/share/vm/runtime/vmStructs.cpp
-++++ openjdk/hotspot/src/share/vm/runtime/vmStructs.cpp
-+@@ -125,6 +125,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "vmStructs_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "vmStructs_aarch64.hpp"
-++#endif
-+ #ifdef TARGET_OS_FAMILY_linux
-+ # include "thread_linux.inline.hpp"
-+ #endif
-+@@ -161,6 +164,9 @@
-+ #ifdef TARGET_OS_ARCH_linux_ppc
-+ # include "vmStructs_linux_ppc.hpp"
-+ #endif
-++#ifdef TARGET_OS_ARCH_linux_aarch64
-++# include "vmStructs_linux_aarch64.hpp"
-++#endif
-+ #ifdef TARGET_OS_ARCH_bsd_x86
-+ # include "vmStructs_bsd_x86.hpp"
-+ #endif
-+@@ -221,6 +227,9 @@
-+ #ifdef TARGET_ARCH_MODEL_ppc
-+ # include "adfiles/adGlobals_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_MODEL_aarch64
-++# include "adfiles/adGlobals_aarch64.hpp"
-++#endif
-+ #endif
-+
-+ // Note: the cross-product of (c1, c2, product, nonproduct, ...),
-+diff --git openjdk.orig/hotspot/src/share/vm/runtime/vm_version.cpp openjdk/hotspot/src/share/vm/runtime/vm_version.cpp
-+index 2d51b67..bba9b01 100644
-+--- openjdk.orig/hotspot/src/share/vm/runtime/vm_version.cpp
-++++ openjdk/hotspot/src/share/vm/runtime/vm_version.cpp
-+@@ -41,6 +41,9 @@
-+ #ifdef TARGET_ARCH_ppc
-+ # include "vm_version_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "vm_version_aarch64.hpp"
-++#endif
-+
-+ const char* Abstract_VM_Version::_s_vm_release = Abstract_VM_Version::vm_release();
-+ const char* Abstract_VM_Version::_s_internal_vm_info_string = Abstract_VM_Version::internal_vm_info_string();
-+@@ -185,6 +188,7 @@ const char* Abstract_VM_Version::jre_release_version() {
-+ AMD64_ONLY("amd64") \
-+ ARM_ONLY("arm") \
-+ PPC_ONLY("ppc") \
-++ AARCH64_ONLY("aarch64") \
-+ SPARC_ONLY("sparc")
-+ #endif // ZERO
-+
-+diff --git openjdk.orig/hotspot/src/share/vm/utilities/copy.hpp openjdk/hotspot/src/share/vm/utilities/copy.hpp
-+index 3dcbfee..198590f 100644
-+--- openjdk.orig/hotspot/src/share/vm/utilities/copy.hpp
-++++ openjdk/hotspot/src/share/vm/utilities/copy.hpp
-+@@ -337,6 +337,9 @@ class Copy : AllStatic {
-+ #ifdef TARGET_ARCH_ppc
-+ # include "copy_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "copy_aarch64.hpp"
-++#endif
-+
-+ };
-+
-+diff --git openjdk.orig/hotspot/src/share/vm/utilities/globalDefinitions.hpp openjdk/hotspot/src/share/vm/utilities/globalDefinitions.hpp
-+index b55b0ac..5d11e26 100644
-+--- openjdk.orig/hotspot/src/share/vm/utilities/globalDefinitions.hpp
-++++ openjdk/hotspot/src/share/vm/utilities/globalDefinitions.hpp
-+@@ -346,6 +346,9 @@ extern int LogMinObjAlignmentInBytes;
-+ #ifdef TARGET_ARCH_ppc
-+ # include "globalDefinitions_ppc.hpp"
-+ #endif
-++#ifdef TARGET_ARCH_aarch64
-++# include "globalDefinitions_aarch64.hpp"
-++#endif
-+
-+
-+ // The byte alignment to be used by Arena::Amalloc. See bugid 4169348.
-+diff --git openjdk.orig/hotspot/src/share/vm/utilities/macros.hpp openjdk/hotspot/src/share/vm/utilities/macros.hpp
-+index 003f2af..2aa7f87 100644
-+--- openjdk.orig/hotspot/src/share/vm/utilities/macros.hpp
-++++ openjdk/hotspot/src/share/vm/utilities/macros.hpp
-+@@ -261,6 +261,14 @@
-+ #define NOT_ARM(code) code
-+ #endif
-+
-++#ifdef AARCH64
-++#define AARCH64_ONLY(code) code
-++#define NOT_AARCH64(code)
-++#else
-++#define AARCH64_ONLY(code)
-++#define NOT_AARCH64(code) code
-++#endif
-++
-+ #ifdef JAVASE_EMBEDDED
-+ #define EMBEDDED_ONLY(code) code
-+ #define NOT_EMBEDDED(code)
---
-2.26.2
-
diff --git a/gnu/packages/patches/jacal-fix-texinfo.patch b/gnu/packages/patches/jacal-fix-texinfo.patch
deleted file mode 100644
index 83e44a3164..0000000000
--- a/gnu/packages/patches/jacal-fix-texinfo.patch
+++ /dev/null
@@ -1,92 +0,0 @@
-Fix the broken Texinfo in the Jacal package documentation
-
---- jacal/jacal.texi,orig 2017-02-23 20:35:55.303980444 +0100
-+++ jacal/jacal.texi 2017-02-23 20:53:14.539024674 +0100
-@@ -343,7 +343,7 @@
-
- With the standard input grammar, the precedence of @samp{-} as a prefix
- behaves strangely. @code{a^-b*c} becomes @code{a^(-b*c)} while
--@code{@result{a^b*c} (a^b)*c}.
-+@code{a^b*c @result{} (a^b)*c}.
-
- Using @code{divide} to divide a polynomial by an integer does not work.
-
-@@ -675,8 +675,9 @@
- e1: ---------
- a
- @end example
-+@end deffn
-
--@deffnx Command suchthat var exp
-+@deffn Command suchthat var exp
-
- If an expression rather than an equation is given to @code{suchthat}, it
- is as though the equation @code{@var{exp}=0} was given.
-@@ -688,8 +689,9 @@
- e2: ---------
- a
- @end example
-+@end deffn
-
--@deffnx Operator | var exp_or_eqn
-+@deffn Operator | var exp_or_eqn
-
- An alternative infix notation is also available for @code{suchthat}.
-
-@@ -857,8 +859,9 @@
-
- Returns the degree of polynomial or equation @var{poly} in variable
- @var{var}.
-+@end deffn
-
--@deffnx Operator degree poly
-+@deffn Operator degree poly
-
- Returns the total-degree, the degree of its highest degree monomial,
- of polynomial or equation @var{poly}.
-@@ -1016,10 +1019,12 @@
- Returns @var{poly1} reduced with respect to @var{poly2} (or @var{eqn})
- and @var{var}. If @var{poly2} is univariate, the third argument is not
- needed.
-+@end deffn
-
--@deffnx Command mod poly1 n
-+@deffn Command mod poly1 n
- Returns @var{poly1} with all the coefficients taken modulo @var{n}.
--@deffnx Command mod poly1
-+@end deffn
-+@deffn Command mod poly1
- Returns @var{poly1} with all the coefficients taken modulo the
- current modulus.
-
-@@ -1220,8 +1225,9 @@
- e1: -1 2 3 5
- @end group
- @end example
-+@end deffn
-
--@deffnx Command factor polyratio
-+@deffn Command factor polyratio
- Given a univariate ratio of polynomials @var{polyratio}, returns a
- matrix of factors and exponents.
-
-@@ -2028,7 +2034,7 @@
- formed from the pair-wise products of components of the inputs. For
- example, for the input tensors @code{x[a,b]} and @code{y[c]}
- @example
--@result{z:tmult(x,y);} z[a,b,c] = x[a,b]*y[c]
-+z:tmult(x,y); @result{} z[a,b,c] = x[a,b]*y[c]
- @end example
-
- With an additional argument, @code{tmult} will produce the inner product
-@@ -2464,8 +2470,9 @@
- If you do not wish to return to Jacal but really want to terminate the
- session and return to the operating system, then after typing
- @code{qed();}, type @code{(slib:exit)} or use @code{quit}.
-+@end deffn
-
--@deffnx Command quit
-+@deffn Command quit
- Exit directly from Jacal to the operating system. You will not be able
- to continue your Jacal session.
-
diff --git a/gnu/packages/patches/jami-fix-crash-on-quit.patch b/gnu/packages/patches/jami-fix-crash-on-quit.patch
new file mode 100644
index 0000000000..c25bce588a
--- /dev/null
+++ b/gnu/packages/patches/jami-fix-crash-on-quit.patch
@@ -0,0 +1,34 @@
+Retrieved from:
+https://git.jami.net/savoirfairelinux/jami-client-qt/-/commit/83f68573324a453a6d26e025fd6439f175a79d1b.diff.
+
+With the 'client-qt' prefix added to match the file hierarchy of the release tarball.
+
+diff --git a/client-qt/src/mainapplication.cpp b/client-qt/src/mainapplication.cpp
+index 0c3209fc6fa7c528bec197f1cf9332758170441c..278f19287b86dd2c916935ab0930cbe0abb35d26 100644
+--- a/client-qt/src/mainapplication.cpp
++++ b/client-qt/src/mainapplication.cpp
+@@ -155,7 +155,11 @@ MainApplication::MainApplication(int& argc, char** argv)
+ QObject::connect(this, &QApplication::aboutToQuit, [this] { cleanup(); });
+ }
+
+-MainApplication::~MainApplication() {}
++MainApplication::~MainApplication()
++{
++ engine_.reset();
++ lrcInstance_.reset();
++}
+
+ bool
+ MainApplication::init()
+diff --git a/src/mainapplication.h b/src/mainapplication.h
+index 51306be829478b9fbc1c61a08aeb96938be26dac..4047e3abb3cfd3e6250387a37fa5a896e9bc4161 100644
+--- a/client-qt/src/mainapplication.h
++++ b/client-qt/src/mainapplication.h
+@@ -80,7 +80,6 @@ private:
+ private:
+ QScopedPointer<QFile> debugFile_;
+ QScopedPointer<QQmlApplicationEngine> engine_;
+-
+ QScopedPointer<LRCInstance> lrcInstance_;
+
+ QScopedPointer<ConnectivityMonitor> connectivityMonitor_;
diff --git a/gnu/packages/patches/libsequoia-fix-ffi-Makefile.patch b/gnu/packages/patches/libsequoia-fix-ffi-Makefile.patch
new file mode 100644
index 0000000000..21f5a1e4df
--- /dev/null
+++ b/gnu/packages/patches/libsequoia-fix-ffi-Makefile.patch
@@ -0,0 +1,32 @@
+From ed641d2048d131e077f54043764741b7e7b7fe03 Mon Sep 17 00:00:00 2001
+From: Hartmut Goebel <hartmut.goebel@pep.security>
+Date: Tue, 7 Dec 2021 16:42:43 +0100
+Subject: [PATCH] ffi: Update Makefile, remove rule remaining from store
+ removal.
+
+---
+ ffi/Makefile | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/ffi/Makefile b/ffi/Makefile
+index a5540db3..07328589 100644
+--- a/ffi/Makefile
++++ b/ffi/Makefile
+@@ -62,7 +62,6 @@ build-release:
+ $(CARGO) build $(CARGO_FLAGS) --release --package sequoia-ffi
+ $(MAKE) -Clang/python build-release
+ $(call sequoia_pc,$(CARGO_TARGET_DIR)/release,true)
+- $(MAKE) -C../store build-release
+
+ .PHONY: install
+ install: build-release
+@@ -82,7 +82,6 @@ install: build-release
+ $(DESTDIR)$(PREFIX)/lib/libsequoia_ffi.$(_SEQ_LIB_EXT)
+ $(INSTALL) $(CARGO_TARGET_DIR)/release/libsequoia_ffi.a \
+ $(DESTDIR)$(PREFIX)/lib/libsequoia_ffi.a
+- $(MAKE) -C../store install
+ # Now the bindings.
+ $(MAKE) -Clang/python install
+
+--
+
diff --git a/gnu/packages/patches/libsequoia-remove-store.patch b/gnu/packages/patches/libsequoia-remove-store.patch
new file mode 100644
index 0000000000..e7e1a91ee3
--- /dev/null
+++ b/gnu/packages/patches/libsequoia-remove-store.patch
@@ -0,0 +1,432 @@
+Shortend version of
+From 351ad5e5e2dd67f427b7eb2e4d5d0b35d90ffaf7 Mon Sep 17 00:00:00 2001
+From: Justus Winter <justus@sequoia-pgp.org>
+Date: Wed, 24 Nov 2021 15:09:34 +0100
+Subject: [PATCH] store: Drop crate.
+
+ - The store has never been really used, and never reached a maturity
+ where it was useful. And, we're on the verge of replacing it with
+ the Shared PGP Certificate Directory.
+---
+ Cargo.toml | 1 -
+ ffi/Cargo.toml | 4 +-
+ ffi/include/sequoia.h | 1 -
+ ffi/include/sequoia/store.h | 409 ------
+ ffi/lang/python/sequoia/__init__.py | 1 -
+ ffi/lang/python/sequoia/prelude.py | 1 -
+ ffi/lang/python/sequoia/sequoia_build.py | 3 +-
+ ffi/lang/python/sequoia/store.py | 246 ----
+ ffi/lang/python/tests/test_store.py | 47 -
+ ffi/src/lib.rs | 2 -
+ ffi/src/store.rs | 659 ----------
+ 25 files changed, 3 insertions(+), 5064 deletions(-)
+ delete mode 100644 ffi/include/sequoia/store.h
+ delete mode 100644 ffi/lang/python/sequoia/store.py
+ delete mode 100644 ffi/lang/python/tests/test_store.py
+ delete mode 100644 ffi/src/store.rs
+
+diff --git a/Cargo.toml b/Cargo.toml
+index a4f48520..a573ddbf 100644
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -10,7 +10,6 @@ members = [
+ "openpgp",
+ "openpgp-ffi",
+ "sq",
+- "store",
+ ]
+
+ [profile.release]
+diff --git a/ffi/Cargo.toml b/ffi/Cargo.toml
+index 53ddaf68..2ec84e6e 100644
+--- a/ffi/Cargo.toml
++++ b/ffi/Cargo.toml
+@@ -24,7 +24,6 @@ maintenance = { status = "actively-developed" }
+ [dependencies]
+ sequoia-ffi-macros = { path = "../ffi-macros", version = "0.22" }
+ sequoia-openpgp = { path = "../openpgp", version = "1.0.0", default-features = false }
+-sequoia-store = { path = "../store", version = "0.22", default-features = false }
+ sequoia-net = { path = "../net", version = "0.23", default-features = false }
+ sequoia-ipc = { path = "../ipc", version = "0.26", default-features = false }
+ anyhow = "1.0.18"
+@@ -42,10 +41,9 @@ crate-type = ["cdylib", "staticlib"]
+ bench = false
+
+ [features]
+-default = ["sequoia-openpgp/default", "sequoia-store/default"]
++default = ["sequoia-openpgp/default"]
+ crypto-nettle = ["sequoia-openpgp/crypto-nettle"]
+ crypto-cng = ["sequoia-openpgp/crypto-cng"]
+ compression = ["sequoia-openpgp/compression"]
+ compression-deflate = ["sequoia-openpgp/compression-deflate"]
+ compression-bzip2 = ["sequoia-openpgp/compression-bzip2"]
+-background-services = ["sequoia-store/background-services"]
+diff --git a/ffi/include/sequoia.h b/ffi/include/sequoia.h
+index 8c62ba8f..c32a2f3e 100644
+--- a/ffi/include/sequoia.h
++++ b/ffi/include/sequoia.h
+@@ -5,6 +5,5 @@
+ #include <sequoia/core.h>
+ #include <sequoia/openpgp.h>
+ #include <sequoia/net.h>
+-#include <sequoia/store.h>
+
+ #endif
+diff --git a/ffi/lang/python/sequoia/__init__.py b/ffi/lang/python/sequoia/__init__.py
+index 4f84346e..fc170e20 100644
+--- a/ffi/lang/python/sequoia/__init__.py
++++ b/ffi/lang/python/sequoia/__init__.py
+@@ -4,5 +4,4 @@ from . import (
+ openpgp,
+ core,
+ net,
+- store,
+ )
+diff --git a/ffi/lang/python/sequoia/prelude.py b/ffi/lang/python/sequoia/prelude.py
+index 42b0156a..61efbab0 100644
+--- a/ffi/lang/python/sequoia/prelude.py
++++ b/ffi/lang/python/sequoia/prelude.py
+@@ -3,4 +3,3 @@ from .error import *
+ from .openpgp import *
+ from .core import *
+ from .net import *
+-from .store import *
+diff --git a/ffi/lang/python/sequoia/sequoia_build.py b/ffi/lang/python/sequoia/sequoia_build.py
+index a3ce2786..058f1380 100644
+--- a/ffi/lang/python/sequoia/sequoia_build.py
++++ b/ffi/lang/python/sequoia/sequoia_build.py
+@@ -14,8 +14,7 @@ defs = "".join(l
+ open(join(pgp_inc, "openpgp/serialize.h")).readlines(),
+ open(join(pgp_inc, "openpgp.h")).readlines(),
+ open(join(sq_inc, "core.h")).readlines(),
+- open(join(sq_inc, "net.h")).readlines(),
+- open(join(sq_inc, "store.h")).readlines())
++ open(join(sq_inc, "net.h")).readlines())
+ if not l.startswith('#'))
+
+ defs = defs.replace("INT_MAX", "{}".format(1<<31))
+diff --git a/ffi/lang/python/sequoia/store.py b/ffi/lang/python/sequoia/store.py
+deleted file mode 100644
+index 57d1b18f..00000000
+--- a/ffi/lang/python/sequoia/store.py
++++ /dev/null
+@@ -1,246 +0,0 @@
+-from _sequoia import ffi, lib
+-
+-from .error import Error
+-from .glue import _str, _static_str, SQObject, sq_iterator, sq_time
+-from .net import NetworkPolicy
+-from .openpgp import Fingerprint, Cert
+-
+-class Store(object):
+- @classmethod
+- def log(cls, ctx):
+- yield from sq_iterator(
+- ffi.gc(
+- lib.sq_store_server_log(ctx.ref()),
+- lib.sq_log_iter_free),
+- lib.sq_log_iter_next,
+- lambda x: Log(x, context=ctx))
+-
+- @classmethod
+- def list_keys(cls, ctx):
+- def next_fn(i):
+- fpp = ffi.new("pgp_fingerprint_t[1]")
+- key = lib.sq_key_iter_next(i, fpp)
+- if key == ffi.NULL:
+- return ffi.NULL
+- else:
+- return (Fingerprint(fpp[0], ctx),
+- Key(key, ctx))
+-
+- yield from sq_iterator(
+- ffi.gc(
+- lib.sq_store_list_keys(ctx.ref()),
+- lib.sq_key_iter_free),
+- next_fn)
+-
+-class Mapping(SQObject):
+- _del = lib.sq_mapping_free
+-
+- # Keys used for communications.
+- REALM_CONTACTS = _static_str(lib.SQ_REALM_CONTACTS)
+-
+- # Keys used for signing software updates.
+- REALM_SOFTWARE_UPDATES = _static_str(lib.SQ_REALM_SOFTWARE_UPDATES)
+-
+- @classmethod
+- def open(cls, ctx, network_policy=NetworkPolicy.Encrypted, realm=REALM_CONTACTS, name="default"):
+- return Mapping(lib.sq_mapping_open(ctx.ref(), network_policy.value,
+- realm.encode(), name.encode()),
+- context=ctx)
+-
+-
+- def add(self, label, fingerprint):
+- return Binding(lib.sq_mapping_add(self.context().ref(), self.ref(),
+- label.encode(), fingerprint.ref()),
+- context=self.context())
+-
+- def import_(self, label, cert):
+- return Cert(lib.sq_mapping_import(self.context().ref(), self.ref(),
+- label.encode(), cert.ref()),
+- context=self.context())
+-
+- def lookup(self, label):
+- return Binding(lib.sq_mapping_lookup(self.context().ref(), self.ref(),
+- label.encode()),
+- self.context())
+-
+- def delete(self):
+- if lib.sq_mapping_delete(self.ref()):
+- raise Error._last(self.context())
+- super(Mapping, self)._delete(skip_free=True)
+-
+- def iter(self):
+- def next_fn(i):
+- labelp = ffi.new("char *[1]")
+- fpp = ffi.new("pgp_fingerprint_t[1]")
+- binding = lib.sq_binding_iter_next(i, labelp, fpp)
+- if binding == ffi.NULL:
+- return ffi.NULL
+- else:
+- return (_str(labelp[0]),
+- Fingerprint(fpp[0], self.context()),
+- Binding(binding, self.context()))
+-
+- yield from sq_iterator(
+- ffi.gc(
+- lib.sq_mapping_iter(self.context().ref(), self.ref()),
+- lib.sq_binding_iter_free),
+- next_fn)
+-
+- def log(self):
+- yield from sq_iterator(
+- ffi.gc(
+- lib.sq_mapping_log(self.context().ref(), self.ref()),
+- lib.sq_log_iter_free),
+- lib.sq_log_iter_next,
+- lambda x: Log(x, context=self.context()))
+-
+-class Binding(SQObject):
+- _del = lib.sq_binding_free
+-
+- def stats(self):
+- return Stats(lib.sq_binding_stats(self.context().ref(), self.ref()),
+- self.context())
+-
+- def key(self):
+- return Key(lib.sq_binding_key(self.context().ref(), self.ref()),
+- self.context())
+-
+- def cert(self):
+- return Cert(lib.sq_binding_cert(self.context().ref(), self.ref()),
+- self.context())
+-
+- def import_(self, cert):
+- return Cert(lib.sq_binding_import(self.context().ref(), self.ref(), cert),
+- self.context())
+-
+- def rotate(self, cert):
+- return Cert(lib.sq_binding_rotate(self.context().ref(), self.ref(), cert),
+- self.context())
+-
+- def delete(self):
+- if lib.sq_binding_delete(self.ref()):
+- raise Error._last(self.context())
+- super(Binding, self)._delete(skip_free=True)
+-
+- def log(self):
+- yield from sq_iterator(
+- ffi.gc(
+- lib.sq_binding_log(self.context().ref(), self.ref()),
+- lib.sq_log_iter_free),
+- lib.sq_log_iter_next,
+- lambda x: Log(x, context=self.context()))
+-
+-class Key(SQObject):
+- _del = lib.sq_key_free
+-
+- def stats(self):
+- return Stats(lib.sq_key_stats(self.context().ref(), self.ref()),
+- self.context())
+-
+- def cert(self):
+- return Cert(lib.sq_key_cert(self.context().ref(), self.ref()),
+- self.context())
+-
+- def import_(self, cert):
+- return Cert(lib.sq_key_import(self.context().ref(), self.ref(), cert),
+- self.context())
+-
+- def log(self):
+- yield from sq_iterator(
+- ffi.gc(
+- lib.sq_key_log(self.context().ref(), self.ref()),
+- lib.sq_log_iter_free),
+- lib.sq_log_iter_next)
+-
+-
+-class Stats(SQObject):
+- _del = lib.sq_stats_free
+- def __init__(self, o, context=None):
+- super(Stats, self).__init__(o, context=context)
+- self.encryption = Stamps(ffi.addressof(o, "encryption"))
+- self.verification = Stamps(ffi.addressof(o, "verification"))
+-
+- @property
+- def created(self):
+- return sq_time(self.ref().created)
+-
+- @property
+- def updated(self):
+- return sq_time(self.ref().updated)
+-
+- def __str__(self):
+- return \
+- "Stats{{created={}, updated={}, encryption={}, verification={}}}" \
+- .format(self.created, self.updated, self.encryption,
+- self.verification)
+-
+-class Stamps(SQObject):
+- @property
+- def count(self):
+- return self.ref().count
+-
+- @property
+- def first(self):
+- return sq_time(self.ref().first)
+-
+- @property
+- def last(self):
+- return sq_time(self.ref().last)
+-
+- def __str__(self):
+- return "Stamps{{count={}, first={}, last={}}}".format(
+- self.count, self.first, self.last)
+-
+-class Log(SQObject):
+- _del = lib.sq_log_free
+-
+- @property
+- def timestamp(self):
+- return sq_time(self.ref().timestamp)
+-
+- @property
+- def store(self):
+- if self.ref().store == ffi.NULL:
+- return None
+- else:
+- return Store(self.ref().store, context=self.context(),
+- owner=self)
+-
+- @property
+- def binding(self):
+- if self.ref().binding == ffi.NULL:
+- return None
+- else:
+- return Binding(self.ref().binding, context=self.context(),
+- owner=self)
+-
+- @property
+- def key(self):
+- if self.ref().key == ffi.NULL:
+- return None
+- else:
+- return Key(self.ref().key, context=self.context(),
+- owner=self)
+-
+- @property
+- def slug(self):
+- return ffi.string(self.ref().slug).decode()
+-
+- @property
+- def status(self):
+- return ffi.string(self.ref().status).decode()
+-
+- @property
+- def error(self):
+- if self.ref().error == ffi.NULL:
+- return None
+- else:
+- return ffi.string(self.ref().error).decode()
+-
+- def __str__(self):
+- if self.error:
+- return "{}: {}: {}: {}".format(
+- self.timestamp, self.slug, self.status, self.error)
+- else:
+- return "{}: {}: {}".format(
+- self.timestamp, self.slug, self.status)
+diff --git a/ffi/lang/python/tests/test_store.py b/ffi/lang/python/tests/test_store.py
+deleted file mode 100644
+index 7b06cc1a..00000000
+--- a/ffi/lang/python/tests/test_store.py
++++ /dev/null
+@@ -1,47 +0,0 @@
+-from sequoia.prelude import Context, Store, Mapping, Fingerprint
+-
+-def test_open():
+- c = Context(ephemeral=True)
+- Mapping.open(c)
+-
+-def test_add():
+- c = Context(ephemeral=True)
+- s = Mapping.open(c)
+- fp = Fingerprint.from_hex("7DCA58B54EB143169DDEE15F247F6DABC84914FE")
+- s.add("Ἀριστοτέλης", fp)
+-
+-def test_iterate():
+- c = Context(ephemeral=True)
+- s = Mapping.open(c)
+- fp = Fingerprint.from_hex("7DCA58B54EB143169DDEE15F247F6DABC84914FE")
+- s.add("Ἀριστοτέλης", fp)
+- l = list(s.iter())
+- assert len(l) == 1
+- l = list(Store.list_keys(c))
+- assert len(l) == 1
+- fpi, key = l[0]
+- assert fpi == fp
+-
+-def test_logs():
+- c = Context(ephemeral=True)
+- s = Mapping.open(c)
+- fp = Fingerprint.from_hex("7DCA58B54EB143169DDEE15F247F6DABC84914FE")
+- b = s.add("Ἀριστοτέλης", fp)
+- l = list(s.iter())
+- assert len(l) == 1
+-
+- # global logs
+- logs = list(Store.log(c))
+- assert len(logs) > 0
+-
+- # per store logs
+- logs = list(s.log())
+- assert len(logs) > 0
+-
+- # per binding logs
+- logs = list(b.log())
+- assert len(logs) > 0
+-
+- # per key logs
+- logs = list(b.key().log())
+- assert len(logs) > 0
+diff --git a/ffi/src/lib.rs b/ffi/src/lib.rs
+index 40e3672e..9b4577eb 100644
+--- a/ffi/src/lib.rs
++++ b/ffi/src/lib.rs
+@@ -130,7 +130,6 @@ pub(crate) use crate::openpgp::{
+ MoveResultIntoRaw,
+ Maybe,
+ maybe_time,
+- to_time_t,
+ };
+
+ /* Error handling with implicit context. */
+@@ -146,5 +145,4 @@ macro_rules! ffi_make_fry_from_ctx {
+ pub mod core;
+ pub mod error;
+ pub mod net;
+-pub mod store;
+
+GitLab
+
diff --git a/gnu/packages/patches/libsigrokdecode-python3.9-fix.patch b/gnu/packages/patches/libsigrokdecode-python3.9-fix.patch
new file mode 100644
index 0000000000..4a6e1223ec
--- /dev/null
+++ b/gnu/packages/patches/libsigrokdecode-python3.9-fix.patch
@@ -0,0 +1,19 @@
+From: Dan Horák <dan@danny.cz>
+Subject: Add support for Python 3.9
+
+Origin: upstream, https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=commitdiff;h=9b0ad5177bd692f7556a4756bdbd2da81d9c34ce
+Bug-Debian: https://bugs.debian.org/972769
+
+diff --git a/configure.ac b/configure.ac
+index f9958b3..2917cb3 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -100,7 +100,7 @@ SR_PKG_CHECK_SUMMARY([srd_pkglibs_summary])
+ # first, since usually only that variant will add "-lpython3.8".
+ # https://docs.python.org/3/whatsnew/3.8.html#debug-build-uses-the-same-abi-as-release-build
+ SR_PKG_CHECK([python3], [SRD_PKGLIBS],
+- [python-3.8-embed], [python-3.8 >= 3.8], [python-3.7 >= 3.7], [python-3.6 >= 3.6], [python-3.5 >= 3.5], [python-3.4 >= 3.4], [python-3.3 >= 3.3], [python-3.2 >= 3.2], [python3 >= 3.2])
++ [python-3.9-embed], [python-3.8-embed], [python-3.8 >= 3.8], [python-3.7 >= 3.7], [python-3.6 >= 3.6], [python-3.5 >= 3.5], [python-3.4 >= 3.4], [python-3.3 >= 3.3], [python-3.2 >= 3.2], [python3 >= 3.2])
+ AS_IF([test "x$sr_have_python3" = xno],
+ [AC_MSG_ERROR([Cannot find Python 3 development headers.])])
+
diff --git a/gnu/packages/patches/libtool-skip-tests2.patch b/gnu/packages/patches/libtool-skip-tests2.patch
index c9d61e3b41..3f86191b4f 100644
--- a/gnu/packages/patches/libtool-skip-tests2.patch
+++ b/gnu/packages/patches/libtool-skip-tests2.patch
@@ -1,4 +1,4 @@
-Skip the nopic test on ARM and MIPS systems.
+Skip the nopic test on ARM, MIPS and RISC-V systems.
--- libtool-2.4.6/tests/demo.at.orig 2015-01-16 13:52:04.000000000 -0500
+++ libtool-2.4.6/tests/demo.at 2015-02-16 10:48:51.435851966 -0500
@@ -7,7 +7,7 @@ Skip the nopic test on ARM and MIPS systems.
AT_CHECK([case $host in
-hppa*|x86_64*|s390*)
-+hppa*|x86_64*|s390*|arm*|mips*)
++hppa*|x86_64*|s390*|arm*|mips*|riscv*)
# These hosts cannot use non-PIC shared libs
exit 77 ;;
*-solaris*|*-sunos*)
@@ -18,7 +18,7 @@ Skip the nopic test on ARM and MIPS systems.
{ set +x
$as_echo "$at_srcdir/demo.at:535: case \$host in
-hppa*|x86_64*|s390*)
-+hppa*|x86_64*|s390*|arm*|mips*)
++hppa*|x86_64*|s390*|arm*|mips*|riscv*)
# These hosts cannot use non-PIC shared libs
exit 77 ;;
*-solaris*|*-sunos*)
@@ -27,7 +27,7 @@ Skip the nopic test on ARM and MIPS systems.
at_fn_check_prepare_notrace 'a `...` command substitution' "demo.at:535"
( $at_check_trace; case $host in
-hppa*|x86_64*|s390*)
-+hppa*|x86_64*|s390*|arm*|mips*)
++hppa*|x86_64*|s390*|arm*|mips*|riscv*)
# These hosts cannot use non-PIC shared libs
exit 77 ;;
*-solaris*|*-sunos*)
diff --git a/gnu/packages/patches/linuxdcpp-openssl-1.1.patch b/gnu/packages/patches/linuxdcpp-openssl-1.1.patch
new file mode 100644
index 0000000000..6f9912afd8
--- /dev/null
+++ b/gnu/packages/patches/linuxdcpp-openssl-1.1.patch
@@ -0,0 +1,26 @@
+--- a/dcpp/CryptoManager.cpp.orig 2011-04-17 17:57:09 UTC
++++ b/dcpp/CryptoManager.cpp
+@@ -107,12 +107,20 @@ CryptoManager::CryptoManager()
+ };
+
+ if(dh) {
+- dh->p = BN_bin2bn(dh4096_p, sizeof(dh4096_p), 0);
+- dh->g = BN_bin2bn(dh4096_g, sizeof(dh4096_g), 0);
++ BIGNUM *p, *g;
+
+- if (!dh->p || !dh->g) {
++ p = BN_bin2bn(dh4096_p, sizeof(dh4096_p), 0);
++ g = BN_bin2bn(dh4096_g, sizeof(dh4096_g), 0);
++
++ if (!p || !g) {
+ dh.reset();
+ } else {
++#if OPENSSL_VERSION_NUMBER < 0x10100005L
++ dh->p = p;
++ dh->g = g;
++#else
++ DH_set0_pqg(dh, p, NULL, g);
++#endif
+ SSL_CTX_set_options(serverContext, SSL_OP_SINGLE_DH_USE);
+ SSL_CTX_set_options(serverVerContext, SSL_OP_SINGLE_DH_USE);
+ SSL_CTX_set_tmp_dh(serverContext, (DH*)dh);
diff --git a/gnu/packages/patches/lua-5.4-liblua-so.patch b/gnu/packages/patches/lua-5.4-liblua-so.patch
new file mode 100644
index 0000000000..93dd011143
--- /dev/null
+++ b/gnu/packages/patches/lua-5.4-liblua-so.patch
@@ -0,0 +1,33 @@
+Patch the makefile to create liblua.so.
+
+--- a/src/Makefile 2021-02-09 18:47:17.000000000 +0000
++++ b/src/Makefile 2022-01-03 11:30:36.964501941 +0000
+@@ -33,6 +33,7 @@
+ PLATS= guess aix bsd c89 freebsd generic linux linux-readline macosx mingw posix solaris
+
+ LUA_A= liblua.a
++LUA_SO= liblua.so
+ CORE_O= lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o
+ LIB_O= lauxlib.o lbaselib.o lcorolib.o ldblib.o liolib.o lmathlib.o loadlib.o loslib.o lstrlib.o ltablib.o lutf8lib.o linit.o
+ BASE_O= $(CORE_O) $(LIB_O) $(MYOBJS)
+@@ -44,7 +45,7 @@
+ LUAC_O= luac.o
+
+ ALL_O= $(BASE_O) $(LUA_O) $(LUAC_O)
+-ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T)
++ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T) $(LUA_SO)
+ ALL_A= $(LUA_A)
+
+ # Targets start here.
+@@ -56,6 +57,11 @@
+
+ a: $(ALL_A)
+
++$(LUA_SO): $(CORE_O) $(LIB_O)
++ $(CC) -shared -ldl -Wl,-soname,$(LUA_SO).$(V) -o $@.$(R) $? -lm $(MYLDFLAGS)
++ ln -sf $(LUA_SO).$(R) $(LUA_SO).$(V)
++ ln -sf $(LUA_SO).$(R) $(LUA_SO)
++
+ $(LUA_A): $(BASE_O)
+ $(AR) $@ $(BASE_O)
+ $(RANLIB) $@
diff --git a/gnu/packages/patches/lua-5.4-pkgconfig.patch b/gnu/packages/patches/lua-5.4-pkgconfig.patch
new file mode 100644
index 0000000000..eb42633585
--- /dev/null
+++ b/gnu/packages/patches/lua-5.4-pkgconfig.patch
@@ -0,0 +1,110 @@
+Enables generating Lua's pkg-config file.
+
+http://lua-users.org/lists/lua-l/2015-03/msg00338.html
+
+--- a/Makefile 2022-01-03 12:06:37.760402709 +0000
++++ b/Makefile 2022-01-03 12:06:49.568402167 +0000
+@@ -14,6 +14,7 @@
+ INSTALL_BIN= $(INSTALL_TOP)/bin
+ INSTALL_INC= $(INSTALL_TOP)/include
+ INSTALL_LIB= $(INSTALL_TOP)/lib
++INSTALL_PC= $(INSTALL_LIB)/pkgconfig
+ INSTALL_MAN= $(INSTALL_TOP)/man/man1
+ INSTALL_LMOD= $(INSTALL_TOP)/share/lua/$V
+ INSTALL_CMOD= $(INSTALL_TOP)/lib/lua/$V
+@@ -39,9 +40,12 @@
+ PLATS= guess aix bsd c89 freebsd generic linux linux-readline macosx mingw posix solaris
+
+ # What to install.
+-TO_BIN= lua luac
++INTERPRETER= lua
++COMPILER= luac
++TO_BIN= $(INTERPRETER) $(COMPILER)
+ TO_INC= lua.h luaconf.h lualib.h lauxlib.h lua.hpp
+-TO_LIB= liblua.a
++TO_LIB= liblua.a liblua.so liblua.so.${V}
++TO_PC= lua-$(V).pc
+ TO_MAN= lua.1 luac.1
+
+ # Lua version and release.
+@@ -51,20 +55,26 @@
+ # Targets start here.
+ all: $(PLAT)
+
+-$(PLATS) help test clean:
+- @cd src && $(MAKE) $@
++$(PLATS):
++ @cd src && $(MAKE) $@ V=$(V) R=$(R)
+
+-install: dummy
+- cd src && $(MKDIR) $(INSTALL_BIN) $(INSTALL_INC) $(INSTALL_LIB) $(INSTALL_MAN) $(INSTALL_LMOD) $(INSTALL_CMOD)
++clean:
++ cd src && $(MAKE) $@
++ $(RM) $(TO_PC)
++
++install: dummy $(TO_PC)
++ cd src && $(MKDIR) $(INSTALL_BIN) $(INSTALL_INC) $(INSTALL_LIB) $(INSTALL_PC) $(INSTALL_MAN) $(INSTALL_LMOD) $(INSTALL_CMOD)
+ cd src && $(INSTALL_EXEC) $(TO_BIN) $(INSTALL_BIN)
+ cd src && $(INSTALL_DATA) $(TO_INC) $(INSTALL_INC)
+- cd src && $(INSTALL_DATA) $(TO_LIB) $(INSTALL_LIB)
++ cd src && $(INSTALL_EXEC) $(TO_LIB) $(INSTALL_LIB)
++ cd src && $(INSTALL_DATA) ../$(TO_PC) $(INSTALL_PC)
+ cd doc && $(INSTALL_DATA) $(TO_MAN) $(INSTALL_MAN)
+
+ uninstall:
+ cd src && cd $(INSTALL_BIN) && $(RM) $(TO_BIN)
+ cd src && cd $(INSTALL_INC) && $(RM) $(TO_INC)
+ cd src && cd $(INSTALL_LIB) && $(RM) $(TO_LIB)
++ cd src && cd $(INSTALL_PC) && $(RM) $(TO_PC)
+ cd doc && cd $(INSTALL_MAN) && $(RM) $(TO_MAN)
+
+ local:
+@@ -82,11 +92,13 @@
+ @echo "TO_BIN= $(TO_BIN)"
+ @echo "TO_INC= $(TO_INC)"
+ @echo "TO_LIB= $(TO_LIB)"
++ @echo "TO_PC= $(TO_PC)"
+ @echo "TO_MAN= $(TO_MAN)"
+ @echo "INSTALL_TOP= $(INSTALL_TOP)"
+ @echo "INSTALL_BIN= $(INSTALL_BIN)"
+ @echo "INSTALL_INC= $(INSTALL_INC)"
+ @echo "INSTALL_LIB= $(INSTALL_LIB)"
++ @echo "INSTALL_PC= $(INSTALL_PC)"
+ @echo "INSTALL_MAN= $(INSTALL_MAN)"
+ @echo "INSTALL_LMOD= $(INSTALL_LMOD)"
+ @echo "INSTALL_CMOD= $(INSTALL_CMOD)"
+@@ -95,12 +107,29 @@
+
+ # Echo pkg-config data.
+ pc:
+- @echo "version=$R"
+- @echo "prefix=$(INSTALL_TOP)"
+- @echo "libdir=$(INSTALL_LIB)"
+- @echo "includedir=$(INSTALL_INC)"
++ @echo 'prefix=$(INSTALL_TOP)'
++ @echo 'libdir=$(INSTALL_LIB)'
++ @echo 'includedir=$(INSTALL_INC)'
++ @echo 'bindir=$(INSTALL_BIN)'
++ @echo
++ @echo 'INSTALL_LMOD=$(INSTALL_LMOD)'
++ @echo 'INSTALL_CMOD=$(INSTALL_CMOD)'
++ @echo 'INTERPRETER=$${bindir}/$(INTERPRETER)'
++ @echo 'COMPILER=$${bindir}/$(COMPILER)'
++ @echo
++ @echo 'Name: Lua'
++ @echo 'Description: A powerful, fast, lightweight, embeddable scripting language'
++ @echo 'Version: $(R)'
++ @echo
++ @echo 'Libs: -L$${libdir} -llua -lm'
++ @echo 'Cflags: -I$${includedir}'
++
++pkg-config: $(TO_PC)
++$(TO_PC):
++ @$(MAKE) -s pc > $@
++
+
+ # Targets that do not create files (not all makes understand .PHONY).
+-.PHONY: all $(PLATS) help test clean install uninstall local dummy echo pc
++.PHONY: all $(PLATS) help test clean install uninstall local dummy echo pc pkg-config
+
+ # (end of Makefile)
diff --git a/gnu/packages/patches/nautilus-add-libportal-gtk3.patch b/gnu/packages/patches/nautilus-add-libportal-gtk3.patch
new file mode 100644
index 0000000000..cefa47cc64
--- /dev/null
+++ b/gnu/packages/patches/nautilus-add-libportal-gtk3.patch
@@ -0,0 +1,61 @@
+From 55cfd66ccca391fc144f5863ff6bfc1f3b137e2d Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ant=C3=B3nio=20Fernandes?= <antoniojpfernandes@gmail.com>
+Date: Tue, 21 Dec 2021 17:42:27 +0000
+Subject: [PATCH] general: Add libportal-gtk3 dependency
+
+The portal-gtk3.h header has been moved into a separate library which
+binds gtk3 explicitly.
+
+https://github.com/flatpak/libportal/pull/53
+---
+ build-aux/flatpak/org.gnome.Nautilus.json | 5 +++-- ;; Changes removed in Guix
+ build-aux/flatpak/org.gnome.Nautilus.yml | 3 ++- ;; Changes removed in Guix
+ meson.build | 4 +++-
+ src/meson.build | 1 +
+ src/nautilus-files-view.c | 2 +-
+ 5 files changed, 10 insertions(+), 5 deletions(-)
+
+diff --git a/meson.build b/meson.build
+index 927216636..4626fa0bb 100644
+--- a/meson.build
++++ b/meson.build
+@@ -122,8 +122,10 @@ gnome_desktop = dependency('gnome-desktop-3.0', version: '>= 3.0.0')
+ gtk = dependency('gtk+-3.0', version: '>= 3.22.27')
+ libhandy = dependency('libhandy-1', version: '>= 1.1.90')
+ libportal = []
++libportal_gtk3 = []
+ if get_option('libportal')
+- libportal = dependency('libportal', version: '>= 0.3')
++ libportal = dependency('libportal', version: '>= 0.5')
++ libportal_gtk3 = dependency('libportal-gtk3', version: '>= 0.5')
+ endif
+ selinux = []
+ if get_option('selinux')
+diff --git a/src/meson.build b/src/meson.build
+index 682d6f3a3..d7fb76d53 100644
+--- a/src/meson.build
++++ b/src/meson.build
+@@ -285,6 +285,7 @@ nautilus_deps = [
+ libgd_dep,
+ libhandy,
+ libportal,
++ libportal_gtk3,
+ nautilus_extension,
+ selinux,
+ tracker_sparql,
+diff --git a/src/nautilus-files-view.c b/src/nautilus-files-view.c
+index dfb7fb26c..a24005a11 100644
+--- a/src/nautilus-files-view.c
++++ b/src/nautilus-files-view.c
+@@ -93,7 +93,7 @@
+
+ #ifdef HAVE_LIBPORTAL
+ #include <libportal/portal.h>
+-#include <libportal/portal-gtk3.h>
++#include <libportal-gtk3/portal-gtk3.h>
+ #endif
+
+ /* Minimum starting update inverval */
+--
+GitLab
+
diff --git a/gnu/packages/patches/nix-dont-build-html-doc.diff b/gnu/packages/patches/nix-dont-build-html-doc.diff
new file mode 100644
index 0000000000..79142bc215
--- /dev/null
+++ b/gnu/packages/patches/nix-dont-build-html-doc.diff
@@ -0,0 +1,26 @@
+"--enable-doc-gen" configure flag will enable HTML document generation that requires mdbook.
+We can't simply disable it because we need manpages.
+
+Author: Zhu Zihao <all_but_last@163.com>
+
+diff --git a/doc/manual/local.mk b/doc/manual/local.mk
+index e43d9f2fb..c323d1847 100644
+--- a/doc/manual/local.mk
++++ b/doc/manual/local.mk
+@@ -69,8 +69,6 @@ $(d)/builtins.json: $(bindir)/nix
+ $(trace-gen) $(dummy-env) NIX_PATH=nix/corepkgs=corepkgs $(bindir)/nix __dump-builtins > $@.tmp
+ @mv $@.tmp $@
+
+-# Generate the HTML manual.
+-install: $(docdir)/manual/index.html
+
+ # Generate 'nix' manpages.
+ install: $(mandir)/man1/nix3-manpages
+@@ -94,7 +92,5 @@ doc/manual/generated/man1/nix3-manpages: $(d)/src/command-ref/new-cli
+ done
+ @touch $@
+
+-$(docdir)/manual/index.html: $(MANUAL_SRCS) $(d)/book.toml $(d)/custom.css $(d)/src/SUMMARY.md $(d)/src/command-ref/new-cli $(d)/src/command-ref/conf-file.md $(d)/src/expressions/builtins.md $(call rwildcard, $(d)/src, *.md)
+- $(trace-gen) RUST_LOG=warn mdbook build doc/manual -d $(DESTDIR)$(docdir)/manual
+
+ endif
diff --git a/gnu/packages/patches/opencv-fix-build-of-grfmt_jpeg2000.cpp.patch b/gnu/packages/patches/opencv-fix-build-of-grfmt_jpeg2000.cpp.patch
deleted file mode 100644
index 8deb60296a..0000000000
--- a/gnu/packages/patches/opencv-fix-build-of-grfmt_jpeg2000.cpp.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From: Tobias Geerinckx-Rice <me@tobias.gr>
-Date: Thu, 13 Aug 2020 15:21:30 +0200
-Subject: [PATCH] gnu: opencv: Fix build with Jasper 2.0.19.
-
-Taken verbatim from upstream: <https://github.com/opencv/opencv/issues/17984>.
-
-From f66fc199a20882c546fa31142e9c0f5a8b3cf983 Mon Sep 17 00:00:00 2001
-From: Florian Jung <flo@windfis.ch>
-Date: Wed, 29 Jul 2020 18:51:55 +0200
-Subject: [PATCH] Fix build of grfmt_jpeg2000.cpp
-
-libjasper has recently changed `jas_matrix_get` from a macro to an inline function
-(389951d071 in https://github.com/jasper-software/jasper), causing the build to fail.
----
- modules/imgcodecs/src/grfmt_jpeg2000.cpp | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/modules/imgcodecs/src/grfmt_jpeg2000.cpp b/modules/imgcodecs/src/grfmt_jpeg2000.cpp
-index fe69f80c86f..0f4d28d6f4d 100644
---- a/modules/imgcodecs/src/grfmt_jpeg2000.cpp
-+++ b/modules/imgcodecs/src/grfmt_jpeg2000.cpp
-@@ -377,7 +377,7 @@ bool Jpeg2KDecoder::readComponent8u( uchar *data, void *_buffer,
-
- for( y = 0; y < yend - ystart; )
- {
-- jas_seqent_t* pix_row = &jas_matrix_get( buffer, y / ystep, 0 );
-+ jas_seqent_t* pix_row = jas_matrix_getref( buffer, y / ystep, 0 );
- uchar* dst = data + (y - yoffset) * step - xoffset;
-
- if( xstep == 1 )
-@@ -443,7 +443,7 @@ bool Jpeg2KDecoder::readComponent16u( unsigned short *data, void *_buffer,
-
- for( y = 0; y < yend - ystart; )
- {
-- jas_seqent_t* pix_row = &jas_matrix_get( buffer, y / ystep, 0 );
-+ jas_seqent_t* pix_row = jas_matrix_getref( buffer, y / ystep, 0 );
- ushort* dst = data + (y - yoffset) * step - xoffset;
-
- if( xstep == 1 )
diff --git a/gnu/packages/patches/opencv-rgbd-aarch64-test-fix.patch b/gnu/packages/patches/opencv-rgbd-aarch64-test-fix.patch
deleted file mode 100644
index 7792f8d1bf..0000000000
--- a/gnu/packages/patches/opencv-rgbd-aarch64-test-fix.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-https://github.com/opencv/opencv_contrib/commit/8aaa91c3dc835690477d7777e66948dbf5a87edc.patch
-
-From 8aaa91c3dc835690477d7777e66948dbf5a87edc Mon Sep 17 00:00:00 2001
-From: Tomoaki Teshima <tomoaki.teshima@gmail.com>
-Date: Mon, 5 Nov 2018 20:32:23 +0900
-Subject: [PATCH] avoid test failing on Aarch64 * loosen the threshold in
- Rgbd_Normals.compute * make the minimum tvec larger in
- RGBD_Odometry_Rgbd.algorithmic
-
----
- modules/rgbd/test/test_normal.cpp | 2 +-
- modules/rgbd/test/test_odometry.cpp | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/modules/rgbd/test/test_normal.cpp b/modules/rgbd/test/test_normal.cpp
-index f2233553a7..ed54f2cd98 100644
---- a/modules/rgbd/test/test_normal.cpp
-+++ b/modules/rgbd/test/test_normal.cpp
-@@ -211,7 +211,7 @@ class CV_RgbdNormalsTest: public cvtest::BaseTest
- std::cout << std::endl << "*** FALS" << std::endl;
- errors[0][0] = 0.006f;
- errors[0][1] = 0.03f;
-- errors[1][0] = 0.00008f;
-+ errors[1][0] = 0.0001f;
- errors[1][1] = 0.02f;
- break;
- case 1:
-diff --git a/modules/rgbd/test/test_odometry.cpp b/modules/rgbd/test/test_odometry.cpp
-index 62b654a1ec..f5a2084504 100644
---- a/modules/rgbd/test/test_odometry.cpp
-+++ b/modules/rgbd/test/test_odometry.cpp
-@@ -213,7 +213,7 @@ void CV_OdometryTest::generateRandomTransformation(Mat& rvec, Mat& tvec)
- normalize(rvec, rvec, rng.uniform(0.007f, maxRotation));
-
- randu(tvec, Scalar(-1000), Scalar(1000));
-- normalize(tvec, tvec, rng.uniform(0.007f, maxTranslation));
-+ normalize(tvec, tvec, rng.uniform(0.008f, maxTranslation));
- }
-
- void CV_OdometryTest::run(int)
diff --git a/gnu/packages/patches/openrgb-unbundle-hueplusplus.patch b/gnu/packages/patches/openrgb-unbundle-hueplusplus.patch
new file mode 100644
index 0000000000..7454e1efbe
--- /dev/null
+++ b/gnu/packages/patches/openrgb-unbundle-hueplusplus.patch
@@ -0,0 +1,58 @@
+Remove references to hueplusplus in order to unbundle and use the input package.
+
+diff --git a/OpenRGB.pro b/OpenRGB.pro
+index 61758892..8702d998 100644
+--- a/OpenRGB.pro
++++ b/OpenRGB.pro
+@@ -493,35 +493,6 @@ SOURCES +=
+ dependencies/Swatches/swatches.cpp \
+ dependencies/dmiinfo.cpp \
+ dependencies/ColorWheel/ColorWheel.cpp \
+- dependencies/hueplusplus-1.0.0/src/Action.cpp \
+- dependencies/hueplusplus-1.0.0/src/APICache.cpp \
+- dependencies/hueplusplus-1.0.0/src/BaseDevice.cpp \
+- dependencies/hueplusplus-1.0.0/src/BaseHttpHandler.cpp \
+- dependencies/hueplusplus-1.0.0/src/Bridge.cpp \
+- dependencies/hueplusplus-1.0.0/src/BridgeConfig.cpp \
+- dependencies/hueplusplus-1.0.0/src/CLIPSensors.cpp \
+- dependencies/hueplusplus-1.0.0/src/ColorUnits.cpp \
+- dependencies/hueplusplus-1.0.0/src/EntertainmentMode.cpp \
+- dependencies/hueplusplus-1.0.0/src/ExtendedColorHueStrategy.cpp \
+- dependencies/hueplusplus-1.0.0/src/ExtendedColorTemperatureStrategy.cpp \
+- dependencies/hueplusplus-1.0.0/src/Group.cpp \
+- dependencies/hueplusplus-1.0.0/src/HueCommandAPI.cpp \
+- dependencies/hueplusplus-1.0.0/src/HueDeviceTypes.cpp \
+- dependencies/hueplusplus-1.0.0/src/HueException.cpp \
+- dependencies/hueplusplus-1.0.0/src/Light.cpp \
+- dependencies/hueplusplus-1.0.0/src/ModelPictures.cpp \
+- dependencies/hueplusplus-1.0.0/src/NewDeviceList.cpp \
+- dependencies/hueplusplus-1.0.0/src/Scene.cpp \
+- dependencies/hueplusplus-1.0.0/src/Schedule.cpp \
+- dependencies/hueplusplus-1.0.0/src/Sensor.cpp \
+- dependencies/hueplusplus-1.0.0/src/SimpleBrightnessStrategy.cpp \
+- dependencies/hueplusplus-1.0.0/src/SimpleColorHueStrategy.cpp \
+- dependencies/hueplusplus-1.0.0/src/SimpleColorTemperatureStrategy.cpp \
+- dependencies/hueplusplus-1.0.0/src/StateTransaction.cpp \
+- dependencies/hueplusplus-1.0.0/src/TimePattern.cpp \
+- dependencies/hueplusplus-1.0.0/src/UPnP.cpp \
+- dependencies/hueplusplus-1.0.0/src/Utils.cpp \
+- dependencies/hueplusplus-1.0.0/src/ZLLSensors.cpp \
+ dependencies/libe131/src/e131.c \
+ dependencies/libcmmk/src/libcmmk.c \
+ main.cpp \
+@@ -1188,6 +1159,7 @@ unix:!macx {
+ -lmbedx509 \
+ -lmbedtls \
+ -lmbedcrypto \
++ -lhueplusplusshared \
+
+ COMPILER_VERSION = $$system($$QMAKE_CXX " -dumpversion")
+ if (!versionAtLeast(COMPILER_VERSION, "9")) {
+@@ -1218,7 +1190,6 @@ unix:!macx {
+ }
+
+ SOURCES += \
+- dependencies/hueplusplus-1.0.0/src/LinHttpHandler.cpp \
+ i2c_smbus/i2c_smbus_linux.cpp \
+ serial_port/find_usb_serial_port_linux.cpp \
+ AutoStart/AutoStart-Linux.cpp \
diff --git a/gnu/packages/patches/password-store-tree-compat.patch b/gnu/packages/patches/password-store-tree-compat.patch
new file mode 100644
index 0000000000..ce8de8f27c
--- /dev/null
+++ b/gnu/packages/patches/password-store-tree-compat.patch
@@ -0,0 +1,29 @@
+Tree 2.0 and later will unconditionally ignore all options and write
+JSON data on file descriptor 3 when available, which causes problems
+for the test harness and other scripts that use FD 3. Work around by
+closing descriptor 3 for the 'tree' command.
+
+Taken from upstream:
+ https://git.zx2c4.com/password-store/commit/?id=eea24967a002a2a81ae9b97a1fe972b5287f3a09
+
+diff --git a/src/password-store.sh b/src/password-store.sh
+--- a/src/password-store.sh
++++ b/src/password-store.sh
+@@ -402,7 +402,7 @@ cmd_show() {
+ else
+ echo "${path%\/}"
+ fi
+- tree -N -C -l --noreport "$PREFIX/$path" | tail -n +2 | sed -E 's/\.gpg(\x1B\[[0-9]+m)?( ->|$)/\1\2/g' # remove .gpg at end of line, but keep colors
++ tree -N -C -l --noreport "$PREFIX/$path" 3>&- | tail -n +2 | sed -E 's/\.gpg(\x1B\[[0-9]+m)?( ->|$)/\1\2/g' # remove .gpg at end of line, but keep colors
+ elif [[ -z $path ]]; then
+ die "Error: password store is empty. Try \"pass init\"."
+ else
+@@ -414,7 +414,7 @@ cmd_find() {
+ [[ $# -eq 0 ]] && die "Usage: $PROGRAM $COMMAND pass-names..."
+ IFS="," eval 'echo "Search Terms: $*"'
+ local terms="*$(printf '%s*|*' "$@")"
+- tree -N -C -l --noreport -P "${terms%|*}" --prune --matchdirs --ignore-case "$PREFIX" | tail -n +2 | sed -E 's/\.gpg(\x1B\[[0-9]+m)?( ->|$)/\1\2/g'
++ tree -N -C -l --noreport -P "${terms%|*}" --prune --matchdirs --ignore-case "$PREFIX" 3>&- | tail -n +2 | sed -E 's/\.gpg(\x1B\[[0-9]+m)?( ->|$)/\1\2/g'
+ }
+
+ cmd_grep() {
diff --git a/gnu/packages/patches/passwordsafe-meson-remove-extra-argument.patch b/gnu/packages/patches/passwordsafe-meson-remove-extra-argument.patch
new file mode 100644
index 0000000000..3cb61a364a
--- /dev/null
+++ b/gnu/packages/patches/passwordsafe-meson-remove-extra-argument.patch
@@ -0,0 +1,20 @@
+diff --git a/data/meson.build b/data/meson.build
+index 46f6373..26a2c18 100644
+--- a/data/meson.build
++++ b/data/meson.build
+@@ -35,7 +35,6 @@ if get_option('profile') == 'development'
+ endif
+ desktop_conf.set('ICON', application_id)
+ desktop = i18n.merge_file(
+- 'desktop',
+ input: configure_file(
+ input: files('org.gnome.PasswordSafe.desktop.in.in'),
+ output: 'org.gnome.PasswordSafe.desktop.in',
+@@ -65,7 +64,6 @@ if get_option('profile') == 'development'
+ endif
+ appdata_conf.set('APPID', application_id)
+ appdata = i18n.merge_file(
+- 'appdata',
+ input: configure_file(
+ input: files('org.gnome.PasswordSafe.appdata.xml.in.in'),
+ output: 'org.gnome.PasswordSafe.appdata.xml.in',
diff --git a/gnu/packages/patches/pjproject-correct-the-cflags-field.patch b/gnu/packages/patches/pjproject-correct-the-cflags-field.patch
deleted file mode 100644
index 8bc503580d..0000000000
--- a/gnu/packages/patches/pjproject-correct-the-cflags-field.patch
+++ /dev/null
@@ -1,121 +0,0 @@
-From 44f8f6c1c71bec6bf00269b075a2dc801ae6fd45 Mon Sep 17 00:00:00 2001
-From: Vladimir Stoiakin <VStoiakin@lavabit.com>
-Date: Thu, 23 Apr 2020 14:06:40 +0300
-Subject: [PATCH 1/2] libpjproject.pc: correct the field 'cflags'
-
----
- Makefile | 6 ++----
- aconfigure | 4 ++++
- aconfigure.ac | 3 +++
- build.mak.in | 7 +++----
- libpjproject.pc.in | 4 ++--
- 5 files changed, 14 insertions(+), 10 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index ffaf638dd..3fd5cab40 100644
---- a/Makefile
-+++ b/Makefile
-@@ -132,10 +132,8 @@ install:
- sed -e "s!@INCLUDEDIR@!$(includedir)!" | \
- sed -e "s!@LIBDIR@!$(libdir)!" | \
- sed -e "s/@PJ_VERSION@/$(PJ_VERSION)/" | \
-- sed -e "s!@PJ_LDLIBS@!!" | \
-- sed -e "s!@PJ_LDXXLIBS@!$(PJ_LDXXLIBS)!" | \
-- sed -e "s!@PJ_INSTALL_CFLAGS@!!" | \
-- sed -e "s!@PJ_INSTALL_CXXFLAGS@!$(PJ_INSTALL_CXXFLAGS)!" > $(DESTDIR)/$(libdir)/pkgconfig/libpjproject.pc
-+ sed -e "s!@PJ_INSTALL_LDFLAGS@!$(PJ_INSTALL_LDFLAGS)!" | \
-+ sed -e "s!@PJ_INSTALL_CFLAGS@!$(PJ_INSTALL_CFLAGS)!" > $(DESTDIR)/$(libdir)/pkgconfig/libpjproject.pc
-
- uninstall:
- $(RM) $(DESTDIR)$(libdir)/pkgconfig/libpjproject.pc
-diff --git a/aconfigure b/aconfigure
-index 2abbcf533..1ab932bda 100755
---- a/aconfigure
-+++ b/aconfigure
-@@ -706,6 +706,7 @@ GREP
- CPP
- ac_cross_compile
- ac_shlib_suffix
-+ac_cflags
- ac_build_mak_vars
- ac_pjdir
- CC_CFLAGS
-@@ -3952,6 +3953,7 @@ if test "$CC_CFLAGS" = ""; then CC_CFLAGS="-Wall"; fi
-
-
-
-+
- case $host in
- *mingw* | *cygw* | *win32* | *w32* )
- if pwd -W 2&> /dev/null; then
-@@ -5138,8 +5140,10 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
-
- if test "x$ac_cv_c_bigendian" = "xyes"; then
- CFLAGS="$CFLAGS -DPJ_IS_BIG_ENDIAN=1 -DPJ_IS_LITTLE_ENDIAN=0"
-+ ac_cflags="$ac_cflags -DPJ_IS_BIG_ENDIAN=1 -DPJ_IS_LITTLE_ENDIAN=0"
- else
- CFLAGS="$CFLAGS -DPJ_IS_BIG_ENDIAN=0 -DPJ_IS_LITTLE_ENDIAN=1"
-+ ac_cflags="$ac_cflags -DPJ_IS_BIG_ENDIAN=0 -DPJ_IS_LITTLE_ENDIAN=1"
- fi
-
-
-diff --git a/aconfigure.ac b/aconfigure.ac
-index 83d3559ed..b1d493c08 100644
---- a/aconfigure.ac
-+++ b/aconfigure.ac
-@@ -71,6 +71,7 @@ AC_SUBST(CC_CFLAGS)
-
- AC_SUBST(ac_pjdir)
- AC_SUBST(ac_build_mak_vars)
-+AC_SUBST(ac_cflags)
-
- case $host in
- *mingw* | *cygw* | *win32* | *w32* )
-@@ -144,8 +145,10 @@ AC_C_BIGENDIAN
-
- if test "x$ac_cv_c_bigendian" = "xyes"; then
- CFLAGS="$CFLAGS -DPJ_IS_BIG_ENDIAN=1 -DPJ_IS_LITTLE_ENDIAN=0"
-+ ac_cflags="$ac_cflags -DPJ_IS_BIG_ENDIAN=1 -DPJ_IS_LITTLE_ENDIAN=0"
- else
- CFLAGS="$CFLAGS -DPJ_IS_BIG_ENDIAN=0 -DPJ_IS_LITTLE_ENDIAN=1"
-+ ac_cflags="$ac_cflags -DPJ_IS_BIG_ENDIAN=0 -DPJ_IS_LITTLE_ENDIAN=1"
- fi
-
- dnl
-diff --git a/build.mak.in b/build.mak.in
-index abc0c4fa0..a9078bb25 100644
---- a/build.mak.in
-+++ b/build.mak.in
-@@ -299,7 +299,7 @@ export APP_LDXXLIBS := $(PJSUA2_LIB_LDLIB) \
- -lstdc++ \
- $(APP_LDLIBS)
-
--# Here are the variabels to use if application is using the library
-+# Here are the variables to use if application is using the library
- # from within the source distribution
- export PJ_CC := $(APP_CC)
- export PJ_CXX := $(APP_CXX)
-@@ -317,6 +317,5 @@ export PJ_LIBXX_FILES := $(APP_LIBXX_FILES)
- export PJ_INSTALL_DIR := @prefix@
- export PJ_INSTALL_INC_DIR := @includedir@
- export PJ_INSTALL_LIB_DIR := @libdir@
--export PJ_INSTALL_CFLAGS := -I$(PJ_INSTALL_INC_DIR) -DPJ_AUTOCONF=1 @CFLAGS@
--export PJ_INSTALL_CXXFLAGS := @CXXFLAGS@ $(PJ_INSTALL_CFLAGS)
--export PJ_INSTALL_LDFLAGS := -L$(PJ_INSTALL_LIB_DIR) $(APP_LDLIBS)
-+export PJ_INSTALL_CFLAGS := -I$(PJ_INSTALL_INC_DIR) -DPJ_AUTOCONF=1 @ac_cflags@
-+export PJ_INSTALL_LDFLAGS := -L$(PJ_INSTALL_LIB_DIR) $(APP_LDXXLIBS)
-diff --git a/libpjproject.pc.in b/libpjproject.pc.in
-index fa8d39114..30ea05c07 100644
---- a/libpjproject.pc.in
-+++ b/libpjproject.pc.in
-@@ -9,5 +9,5 @@ Name: libpjproject
- Description: Multimedia communication library
- URL: http://www.pjsip.org
- Version: @PJ_VERSION@
--Libs: -L${libdir} @PJ_LDXXLIBS@
--Cflags: -I${includedir} @PJ_INSTALL_CXXFLAGS@
-+Libs: @PJ_INSTALL_LDFLAGS@
-+Cflags: @PJ_INSTALL_CFLAGS@
---
-2.27.0
-
diff --git a/gnu/packages/patches/pjproject-fix-pkg-config-ldflags.patch b/gnu/packages/patches/pjproject-fix-pkg-config-ldflags.patch
deleted file mode 100644
index 1199d82f1e..0000000000
--- a/gnu/packages/patches/pjproject-fix-pkg-config-ldflags.patch
+++ /dev/null
@@ -1,79 +0,0 @@
-From 9bcba7fb28055550961b134e517b695a8cd05b2a Mon Sep 17 00:00:00 2001
-From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
-Date: Mon, 3 Aug 2020 17:43:19 -0400
-Subject: [PATCH] libpjproject.pc: Move external libraries to Libs.private.
-
-This is done so users of a shared pjproject library do not get link
-directives (provided via pkg-config file of pjproject) to link against
-pjproject's own library dependencies.
-
-Static linking with pjproject is preserved by moving the external
-libraries link directives to the Libs.private field, which is
-specifically intended for this purpose, via for example:
-
- $ pkg-config --static --libs libpjproject
-
-* build.mak.in (PJ_INSTALL_LDFLAGS_PRIVATE): New variable.
-(PJ_INSTALL_LDFLAGS): Filter out PJ_INSTALL_LDFLAGS_PRIVATE entries.
-* libpjproject.pc.in (Libs.private): New field.
-* Makefile: Substitute PJ_INSTALL_LDFLAGS_PRIVATE as the value for the
-Libs.private field.
----
- Makefile | 5 +++--
- build.mak.in | 3 ++-
- libpjproject.pc.in | 1 +
- 3 files changed, 6 insertions(+), 3 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index 3fd5cab40..d67badfa4 100644
---- a/Makefile
-+++ b/Makefile
-@@ -54,14 +54,14 @@ doc:
- exit 1; \
- fi; \
- done
--
-+
- LIBS = pjlib/lib/libpj-$(TARGET_NAME).a \
- pjlib-util/lib/libpjlib-util-$(TARGET_NAME).a \
- pjnath/lib/libpjnath-$(TARGET_NAME).a \
- pjmedia/lib/libpjmedia-$(TARGET_NAME).a \
- pjmedia/lib/libpjmedia-audiodev-$(TARGET_NAME).a \
- pjmedia/lib/libpjmedia-codec-$(TARGET_NAME).a \
-- pjsip/lib/libpjsip-$(TARGET_NAME).a \
-+ pjsip/lib/libpjsip-$(TARGET_NAME).a \
- pjsip/lib/libpjsip-ua-$(TARGET_NAME).a \
- pjsip/lib/libpjsip-simple-$(TARGET_NAME).a \
- pjsip/lib/libpjsua-$(TARGET_NAME).a
-@@ -133,6 +133,7 @@ install:
- sed -e "s!@LIBDIR@!$(libdir)!" | \
- sed -e "s/@PJ_VERSION@/$(PJ_VERSION)/" | \
- sed -e "s!@PJ_INSTALL_LDFLAGS@!$(PJ_INSTALL_LDFLAGS)!" | \
-+ sed -e "s!@PJ_INSTALL_LDFLAGS_PRIVATE@!$(PJ_INSTALL_LDFLAGS_PRIVATE)!" | \
- sed -e "s!@PJ_INSTALL_CFLAGS@!$(PJ_INSTALL_CFLAGS)!" > $(DESTDIR)/$(libdir)/pkgconfig/libpjproject.pc
-
- uninstall:
-diff --git a/build.mak.in b/build.mak.in
-index a9078bb25..1a18a8513 100644
---- a/build.mak.in
-+++ b/build.mak.in
-@@ -318,4 +318,5 @@ export PJ_INSTALL_DIR := @prefix@
- export PJ_INSTALL_INC_DIR := @includedir@
- export PJ_INSTALL_LIB_DIR := @libdir@
- export PJ_INSTALL_CFLAGS := -I$(PJ_INSTALL_INC_DIR) -DPJ_AUTOCONF=1 @ac_cflags@
--export PJ_INSTALL_LDFLAGS := -L$(PJ_INSTALL_LIB_DIR) $(APP_LDXXLIBS)
-+export PJ_INSTALL_LDFLAGS_PRIVATE := $(APP_THIRD_PARTY_LIBS) $(APP_THIRD_PARTY_EXT) @LIBS@
-+export PJ_INSTALL_LDFLAGS := -L$(PJ_INSTALL_LIB_DIR) $(filter-out $(PJ_INSTALL_LDFLAGS_PRIVATE),$(APP_LDXXLIBS))
-diff --git a/libpjproject.pc.in b/libpjproject.pc.in
-index 30ea05c07..4372d5016 100644
---- a/libpjproject.pc.in
-+++ b/libpjproject.pc.in
-@@ -10,4 +10,5 @@ Description: Multimedia communication library
- URL: http://www.pjsip.org
- Version: @PJ_VERSION@
- Libs: @PJ_INSTALL_LDFLAGS@
-+Libs.private: @PJ_INSTALL_LDFLAGS_PRIVATE@
- Cflags: @PJ_INSTALL_CFLAGS@
---
-2.27.0
-
diff --git a/gnu/packages/patches/pjproject-install-libpjsua2.patch b/gnu/packages/patches/pjproject-install-libpjsua2.patch
new file mode 100644
index 0000000000..ef9b0de91f
--- /dev/null
+++ b/gnu/packages/patches/pjproject-install-libpjsua2.patch
@@ -0,0 +1,19 @@
+# Retrieved from upstream:
+# https://github.com/pjsip/pjproject/commit/742f7dc252ded778a8b677937791c02e2fbc0dde
+diff --git a/Makefile b/Makefile
+index 31a6d39d4..74e246a44 100644
+--- a/Makefile
++++ b/Makefile
+@@ -121,9 +121,10 @@ cmp_wav:
+
+ install:
+ mkdir -p $(DESTDIR)$(libdir)/
+- cp -af $(APP_LIB_FILES) $(DESTDIR)$(libdir)/
+ if [ "$(PJ_EXCLUDE_PJSUA2)x" = "x" ] ; then \
+- cp -af $(PJ_DIR)/pjsip/lib/libpjsua2-$(LIB_SUFFIX) $(DESTDIR)$(libdir)/; \
++ cp -af $(APP_LIBXX_FILES) $(DESTDIR)$(libdir)/; \
++ else \
++ cp -af $(APP_LIB_FILES) $(DESTDIR)$(libdir)/; \
+ fi
+ mkdir -p $(DESTDIR)$(includedir)/
+ for d in pjlib pjlib-util pjnath pjmedia pjsip; do \
diff --git a/gnu/packages/patches/ppsspp-disable-upgrade-and-gold.patch b/gnu/packages/patches/ppsspp-disable-upgrade-and-gold.patch
index 3a5ae1a2cd..93996b52a7 100644
--- a/gnu/packages/patches/ppsspp-disable-upgrade-and-gold.patch
+++ b/gnu/packages/patches/ppsspp-disable-upgrade-and-gold.patch
@@ -1,4 +1,4 @@
-From 942730ce7148cd54a30d4a606ce71a2654c8a2e0 Mon Sep 17 00:00:00 2001
+From debc32a287209e1d1bb6fedb479bd923fd016399 Mon Sep 17 00:00:00 2001
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
Date: Sat, 5 Jun 2021 22:47:00 -0400
Subject: [PATCH] ppsspp: Remove upgrade code and gold support.
@@ -6,27 +6,46 @@ Subject: [PATCH] ppsspp: Remove upgrade code and gold support.
Original patch from Liliana Marie Prikler.
Rebased on master (commit 69fa20744958aef8da9ca052ba7675fdc1636e46) by
Maxim Cournoyer.
+Revised once again by Liliana Marie Prikler for version 1.12.3.
---
- Core/Config.cpp | 11 ------
+ Common/System/System.h | 1 -
+ Core/Config.cpp | 12 -------
Core/Config.h | 2 --
Qt/QtMain.cpp | 6 ----
+ Qt/mainwindow.cpp | 6 ----
+ Qt/mainwindow.h | 1 -
SDL/SDLMain.cpp | 6 ----
UI/DevScreens.cpp | 3 --
- UI/GameSettingsScreen.cpp | 2 --
+ UI/GameSettingsScreen.cpp | 4 +--
UI/MainScreen.cpp | 70 +------------------------------------
+ UI/MemStickScreen.cpp | 8 -----
UI/MiscScreens.cpp | 31 ++--------------
UWP/PPSSPP_UWPMain.cpp | 6 ----
- Windows/MainWindowMenu.cpp | 2 +-
+ Windows/MainWindowMenu.cpp | 8 +----
+ Windows/WindowsHost.cpp | 4 ---
Windows/main.cpp | 6 ----
+ Windows/resource.h | 1 -
android/jni/app-android.cpp | 6 ----
ios/main.mm | 6 ----
- 13 files changed, 5 insertions(+), 152 deletions(-)
+ 19 files changed, 6 insertions(+), 181 deletions(-)
+diff --git a/Common/System/System.h b/Common/System/System.h
+index 09560191e..5df68a120 100644
+--- a/Common/System/System.h
++++ b/Common/System/System.h
+@@ -83,7 +83,6 @@ enum SystemProperty {
+ SYSPROP_DISPLAY_SAFE_INSET_BOTTOM,
+
+ SYSPROP_DEVICE_TYPE,
+- SYSPROP_APP_GOLD, // To avoid having #ifdef GOLD other than in main.cpp and similar.
+
+ // Exposed on Android. Choosing the optimal sample rate for audio
+ // will result in lower latencies. Buffer size is automatically matched
diff --git a/Core/Config.cpp b/Core/Config.cpp
-index 74be99d75..b14aa22c7 100644
+index 305098f47..9c28a3315 100644
--- a/Core/Config.cpp
+++ b/Core/Config.cpp
-@@ -467,7 +467,6 @@ static ConfigSetting generalSettings[] = {
+@@ -512,7 +512,6 @@ static ConfigSetting generalSettings[] = {
ConfigSetting("IgnoreBadMemAccess", &g_Config.bIgnoreBadMemAccess, true, true),
ConfigSetting("CurrentDirectory", &g_Config.currentDirectory, ""),
ConfigSetting("ShowDebuggerOnLoad", &g_Config.bShowDebuggerOnLoad, false),
@@ -34,7 +53,7 @@ index 74be99d75..b14aa22c7 100644
ConfigSetting("Language", &g_Config.sLanguageIni, &DefaultLangRegion),
ConfigSetting("ForceLagSync2", &g_Config.bForceLagSync, false, true, true),
ConfigSetting("DiscordPresence", &g_Config.bDiscordPresence, true, true, false), // Or maybe it makes sense to have it per-game? Race conditions abound...
-@@ -1323,16 +1322,6 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename) {
+@@ -1395,17 +1394,6 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename) {
upgradeMessage = "";
}
@@ -43,8 +62,9 @@ index 74be99d75..b14aa22c7 100644
- // splash screen quickly), but then we'll just show the notification next time instead, we store the
- // upgrade number in the ini.
- if (iRunCount % 10 == 0 && bCheckForNewVersion) {
-- std::shared_ptr<http::Download> dl = g_DownloadManager.StartDownloadWithCallback(
-- "http://www.ppsspp.org/version.json", Path(), &DownloadCompletedCallback);
+- const char *versionUrl = "http://www.ppsspp.org/version.json";
+- const char *acceptMime = "application/json, text/*; q=0.9, */*; q=0.8";
+- auto dl = g_DownloadManager.StartDownloadWithCallback(versionUrl, Path(), &DownloadCompletedCallback, acceptMime);
- dl->SetHidden(true);
- }
-
@@ -52,10 +72,10 @@ index 74be99d75..b14aa22c7 100644
bSaveSettings = true;
diff --git a/Core/Config.h b/Core/Config.h
-index 79323eefc..d47bec0c7 100644
+index 7bbbf2798..1bc1c2296 100644
--- a/Core/Config.h
+++ b/Core/Config.h
-@@ -103,7 +103,6 @@ struct Config {
+@@ -109,7 +109,6 @@ struct Config {
bool bFastMemory;
int iCpuCore;
@@ -63,7 +83,7 @@ index 79323eefc..d47bec0c7 100644
bool bForceLagSync;
bool bFuncReplacements;
bool bHideSlowWarnings;
-@@ -542,4 +541,3 @@ std::string CreateRandMAC();
+@@ -562,4 +561,3 @@ std::string CreateRandMAC();
// TODO: Find a better place for this.
extern http::Downloader g_DownloadManager;
extern Config g_Config;
@@ -85,6 +105,42 @@ index b642f7442..a880d7c94 100644
case SYSPROP_CAN_JIT:
return true;
default:
+diff --git a/Qt/mainwindow.cpp b/Qt/mainwindow.cpp
+index 1f56e0e76..0b7680427 100644
+--- a/Qt/mainwindow.cpp
++++ b/Qt/mainwindow.cpp
+@@ -413,11 +413,6 @@ void MainWindow::forumAct()
+ QDesktopServices::openUrl(QUrl("https://forums.ppsspp.org/"));
+ }
+
+-void MainWindow::goldAct()
+-{
+- QDesktopServices::openUrl(QUrl("https://central.ppsspp.org/buygold"));
+-}
+-
+ void MainWindow::gitAct()
+ {
+ QDesktopServices::openUrl(QUrl("https://github.com/hrydgard/ppsspp/"));
+@@ -666,7 +661,6 @@ void MainWindow::createMenus()
+ MenuTree* helpMenu = new MenuTree(this, menuBar(), QT_TR_NOOP("&Help"));
+ helpMenu->add(new MenuAction(this, SLOT(websiteAct()), QT_TR_NOOP("Visit www.&ppsspp.org")));
+ helpMenu->add(new MenuAction(this, SLOT(forumAct()), QT_TR_NOOP("PPSSPP &forums")));
+- helpMenu->add(new MenuAction(this, SLOT(goldAct()), QT_TR_NOOP("Buy &Gold")));
+ helpMenu->add(new MenuAction(this, SLOT(gitAct()), QT_TR_NOOP("Git&Hub")));
+ helpMenu->add(new MenuAction(this, SLOT(discordAct()), QT_TR_NOOP("Discord")));
+ helpMenu->addSeparator();
+diff --git a/Qt/mainwindow.h b/Qt/mainwindow.h
+index 99c9fc3ad..8cd6cbf79 100644
+--- a/Qt/mainwindow.h
++++ b/Qt/mainwindow.h
+@@ -197,7 +197,6 @@ private slots:
+ // Help
+ void websiteAct();
+ void forumAct();
+- void goldAct();
+ void gitAct();
+ void discordAct();
+ void aboutAct();
diff --git a/SDL/SDLMain.cpp b/SDL/SDLMain.cpp
index f0f74f979..f963f36e9 100644
--- a/SDL/SDLMain.cpp
@@ -103,10 +159,10 @@ index f0f74f979..f963f36e9 100644
return true;
default:
diff --git a/UI/DevScreens.cpp b/UI/DevScreens.cpp
-index 29baf2f2e..926692363 100644
+index 389fdf096..8442ee8c6 100644
--- a/UI/DevScreens.cpp
+++ b/UI/DevScreens.cpp
-@@ -635,9 +635,6 @@ void SystemInfoScreen::CreateViews() {
+@@ -649,9 +649,6 @@ void SystemInfoScreen::CreateViews() {
#ifdef _M_SSE
buildConfig->Add(new InfoItem("_M_SSE", StringFromFormat("0x%x", _M_SSE)));
#endif
@@ -117,23 +173,32 @@ index 29baf2f2e..926692363 100644
ViewGroup *cpuExtensionsScroll = new ScrollView(ORIENT_VERTICAL, new LinearLayoutParams(FILL_PARENT, FILL_PARENT));
cpuExtensionsScroll->SetTag("DevSystemInfoCPUExt");
diff --git a/UI/GameSettingsScreen.cpp b/UI/GameSettingsScreen.cpp
-index 393e33cd9..d07d00d45 100644
+index 99fb151b9..90f26d5dc 100644
--- a/UI/GameSettingsScreen.cpp
+++ b/UI/GameSettingsScreen.cpp
-@@ -922,8 +922,6 @@ void GameSettingsScreen::CreateViews() {
+@@ -1023,7 +1023,6 @@ void GameSettingsScreen::CreateViews() {
}
}
#endif
- systemSettings->Add(new CheckBox(&g_Config.bCheckForNewVersion, sy->T("VersionCheck", "Check for new versions of PPSSPP")));
--
+
systemSettings->Add(new Choice(sy->T("Restore Default Settings")))->OnClick.Handle(this, &GameSettingsScreen::OnRestoreDefaultSettings);
systemSettings->Add(new CheckBox(&g_Config.bEnableStateUndo, sy->T("Savestate slot backups")));
- static const char *autoLoadSaveStateChoices[] = { "Off", "Oldest Save", "Newest Save", "Slot 1", "Slot 2", "Slot 3", "Slot 4", "Slot 5" };
+@@ -2076,8 +2075,7 @@ void GestureMappingScreen::CreateViews() {
+ vert->Add(new PopupMultiChoice(&g_Config.iSwipeRight, mc->T("Swipe Right"), gestureButton, 0, ARRAY_SIZE(gestureButton), mc->GetName(), screenManager()))->SetEnabledPtr(&g_Config.bGestureControlEnabled);
+ vert->Add(new PopupSliderChoiceFloat(&g_Config.fSwipeSensitivity, 0.01f, 1.0f, co->T("Swipe sensitivity"), 0.01f, screenManager(), "x"))->SetEnabledPtr(&g_Config.bGestureControlEnabled);
+ vert->Add(new PopupSliderChoiceFloat(&g_Config.fSwipeSmoothing, 0.0f, 0.95f, co->T("Swipe smoothing"), 0.05f, screenManager(), "x"))->SetEnabledPtr(&g_Config.bGestureControlEnabled);
+-
++
+ vert->Add(new ItemHeader(co->T("Double tap")));
+ vert->Add(new PopupMultiChoice(&g_Config.iDoubleTapGesture, mc->T("Double tap button"), gestureButton, 0, ARRAY_SIZE(gestureButton), mc->GetName(), screenManager()))->SetEnabledPtr(&g_Config.bGestureControlEnabled);
+ }
+-
diff --git a/UI/MainScreen.cpp b/UI/MainScreen.cpp
-index f88509276..51b21b640 100644
+index 4e86ac1ab..be49c3add 100644
--- a/UI/MainScreen.cpp
+++ b/UI/MainScreen.cpp
-@@ -1080,11 +1080,7 @@ void MainScreen::CreateViews() {
+@@ -1100,11 +1100,7 @@ void MainScreen::CreateViews() {
sprintf(versionString, "%s", PPSSPP_GIT_VERSION);
rightColumnItems->SetSpacing(0.0f);
AnchorLayout *logos = new AnchorLayout(new AnchorLayoutParams(FILL_PARENT, 60.0f, false));
@@ -146,19 +211,19 @@ index f88509276..51b21b640 100644
logos->Add(new ImageView(ImageID("I_LOGO"), "PPSSPP", IS_DEFAULT, new AnchorLayoutParams(180, 64, 64, -5.0f, NONE, NONE, false)));
#if !defined(MOBILE_DEVICE)
-@@ -1107,11 +1103,6 @@ void MainScreen::CreateViews() {
+@@ -1127,11 +1123,6 @@ void MainScreen::CreateViews() {
rightColumnItems->Add(new Choice(mm->T("Game Settings", "Settings")))->OnClick.Handle(this, &MainScreen::OnGameSettings);
rightColumnItems->Add(new Choice(mm->T("Credits")))->OnClick.Handle(this, &MainScreen::OnCredits);
rightColumnItems->Add(new Choice(mm->T("www.ppsspp.org")))->OnClick.Handle(this, &MainScreen::OnPPSSPPOrg);
- if (!System_GetPropertyBool(SYSPROP_APP_GOLD)) {
- Choice *gold = rightColumnItems->Add(new Choice(mm->T("Buy PPSSPP Gold")));
- gold->OnClick.Handle(this, &MainScreen::OnSupport);
-- gold->SetIcon(ImageID("I_ICONGOLD"));
+- gold->SetIcon(ImageID("I_ICONGOLD"), 0.5f);
- }
#if !PPSSPP_PLATFORM(UWP)
// Having an exit button is against UWP guidelines.
-@@ -1136,32 +1127,6 @@ void MainScreen::CreateViews() {
+@@ -1156,32 +1147,6 @@ void MainScreen::CreateViews() {
} else if (tabHolder_->GetVisibility() != V_GONE) {
root_->SetDefaultFocusView(tabHolder_);
}
@@ -191,7 +256,7 @@ index f88509276..51b21b640 100644
}
UI::EventReturn MainScreen::OnAllowStorage(UI::EventParams &e) {
-@@ -1169,30 +1134,6 @@ UI::EventReturn MainScreen::OnAllowStorage(UI::EventParams &e) {
+@@ -1189,30 +1154,6 @@ UI::EventReturn MainScreen::OnAllowStorage(UI::EventParams &e) {
return UI::EVENT_DONE;
}
@@ -222,7 +287,7 @@ index f88509276..51b21b640 100644
void MainScreen::sendMessage(const char *message, const char *value) {
// Always call the base class method first to handle the most common messages.
UIScreenWithBackground::sendMessage(message, value);
-@@ -1396,15 +1337,6 @@ UI::EventReturn MainScreen::OnCredits(UI::EventParams &e) {
+@@ -1386,15 +1327,6 @@ UI::EventReturn MainScreen::OnCredits(UI::EventParams &e) {
return UI::EVENT_DONE;
}
@@ -238,11 +303,47 @@ index f88509276..51b21b640 100644
UI::EventReturn MainScreen::OnPPSSPPOrg(UI::EventParams &e) {
LaunchBrowser("https://www.ppsspp.org");
return UI::EVENT_DONE;
+diff --git a/UI/MemStickScreen.cpp b/UI/MemStickScreen.cpp
+index ef617c5b5..664614c62 100644
+--- a/UI/MemStickScreen.cpp
++++ b/UI/MemStickScreen.cpp
+@@ -157,23 +157,16 @@ static void AddExplanation(UI::ViewGroup *viewGroup, MemStickScreen::Choice choi
+ case MemStickScreen::CHOICE_STORAGE_ROOT:
+ // Old school choice
+ holder->Add(new TextView(iz->T("DataWillStay", "Data will stay even if you uninstall PPSSPP"), flags, false))->SetBullet(true);
+- holder->Add(new TextView(iz->T("DataCanBeShared", "Data can be shared between PPSSPP regular/Gold"), flags, false))->SetBullet(true);
+ holder->Add(new TextView(iz->T("EasyUSBAccess", "Easy USB access"), flags, false))->SetBullet(true);
+ break;
+ case MemStickScreen::CHOICE_BROWSE_FOLDER:
+ holder->Add(new TextView(iz->T("DataWillStay", "Data will stay even if you uninstall PPSSPP"), flags, false))->SetBullet(true);
+- holder->Add(new TextView(iz->T("DataCanBeShared", "Data can be shared between PPSSPP regular/Gold"), flags, false))->SetBullet(true);
+ holder->Add(new TextView(iz->T("EasyUSBAccess", "Easy USB access"), flags, false))->SetBullet(true);
+ break;
+ case MemStickScreen::CHOICE_PRIVATE_DIRECTORY:
+ // Consider https://www.compart.com/en/unicode/U+26A0 (unicode warning sign?)? or a graphic?
+ holder->Add(new TextView(iz->T("DataWillBeLostOnUninstall", "Warning! Data will be lost when you uninstall PPSSPP!"), flags, false))->SetBullet(true);
+- holder->Add(new TextView(iz->T("DataCannotBeShared", "Data CANNOT be shared between PPSSPP regular/Gold!"), flags, false))->SetBullet(true);
+-#if GOLD
+- holder->Add(new TextView(iz->T("USBAccessThroughGold", "USB access through Android/data/org.ppsspp.ppssppgold/files"), flags, false))->SetBullet(true);
+-#else
+ holder->Add(new TextView(iz->T("USBAccessThrough", "USB access through Android/data/org.ppsspp.ppsspp/files"), flags, false))->SetBullet(true);
+-#endif
+ break;
+ case MemStickScreen::CHOICE_SET_MANUAL:
+ default:
+@@ -243,7 +236,6 @@ void MemStickScreen::CreateViews() {
+ } else {
+ leftColumn->Add(new RadioButton(&choice_, CHOICE_SET_MANUAL, iz->T("Manually specify PSP folder")))->OnClick.Handle(this, &MemStickScreen::OnChoiceClick);
+ leftColumn->Add(new TextView(iz->T("DataWillStay", "Data will stay even if you uninstall PPSSPP.")))->SetBullet(true);
+- leftColumn->Add(new TextView(iz->T("DataCanBeShared", "Data can be shared between PPSSPP regular/Gold.")))->SetBullet(true);
+ // TODO: Show current folder here if we have one set.
+ }
+ if (choice_ == CHOICE_BROWSE_FOLDER || choice_ == CHOICE_SET_MANUAL) {
diff --git a/UI/MiscScreens.cpp b/UI/MiscScreens.cpp
-index 901a5fb09..9d067aee6 100644
+index 04e5df6c3..fb6c29725 100644
--- a/UI/MiscScreens.cpp
+++ b/UI/MiscScreens.cpp
-@@ -661,11 +661,7 @@ void LogoScreen::render() {
+@@ -769,11 +769,7 @@ void LogoScreen::render() {
char temp[256];
// Manually formatting UTF-8 is fun. \xXX doesn't work everywhere.
snprintf(temp, sizeof(temp), "%s Henrik Rydg%c%crd", cr->T("created", "Created by"), 0xC3, 0xA5);
@@ -255,7 +356,7 @@ index 901a5fb09..9d067aee6 100644
dc.Draw()->DrawImage(ImageID("I_LOGO"), bounds.centerX() + 40, bounds.centerY() - 30, 1.5f, textColor, ALIGN_CENTER);
//dc.Draw()->DrawTextShadow(UBUNTU48, "PPSSPP", bounds.w / 2, bounds.h / 2 - 30, textColor, ALIGN_CENTER);
dc.SetFontScale(1.0f, 1.0f);
-@@ -701,10 +697,6 @@ void CreditsScreen::CreateViews() {
+@@ -809,10 +805,6 @@ void CreditsScreen::CreateViews() {
// Really need to redo this whole layout with some linear layouts...
int rightYOffset = 0;
@@ -266,7 +367,7 @@ index 901a5fb09..9d067aee6 100644
root_->Add(new Button(cr->T("PPSSPP Forums"), new AnchorLayoutParams(260, 64, 10, NONE, NONE, 158, false)))->OnClick.Handle(this, &CreditsScreen::OnForums);
root_->Add(new Button(cr->T("Discord"), new AnchorLayoutParams(260, 64, 10, NONE, NONE, 232, false)))->OnClick.Handle(this, &CreditsScreen::OnDiscord);
root_->Add(new Button("www.ppsspp.org", new AnchorLayoutParams(260, 64, 10, NONE, NONE, 10, false)))->OnClick.Handle(this, &CreditsScreen::OnPPSSPPOrg);
-@@ -713,20 +705,7 @@ void CreditsScreen::CreateViews() {
+@@ -821,20 +813,7 @@ void CreditsScreen::CreateViews() {
#if PPSSPP_PLATFORM(ANDROID) || PPSSPP_PLATFORM(IOS)
root_->Add(new Button(cr->T("Share PPSSPP"), new AnchorLayoutParams(260, 64, NONE, NONE, 10, rightYOffset + 158, false)))->OnClick.Handle(this, &CreditsScreen::OnShare);
#endif
@@ -288,7 +389,7 @@ index 901a5fb09..9d067aee6 100644
}
UI::EventReturn CreditsScreen::OnTwitter(UI::EventParams &e) {
-@@ -916,11 +895,7 @@ void CreditsScreen::render() {
+@@ -1024,11 +1003,7 @@ void CreditsScreen::render() {
// TODO: This is kinda ugly, done on every frame...
char temp[256];
@@ -319,10 +420,37 @@ index 29afda806..b7028fc0c 100644
return true;
default:
diff --git a/Windows/MainWindowMenu.cpp b/Windows/MainWindowMenu.cpp
-index c0d790e06..e8de4f956 100644
+index 006fed4f4..4761171ff 100644
--- a/Windows/MainWindowMenu.cpp
+++ b/Windows/MainWindowMenu.cpp
-@@ -1395,7 +1395,7 @@ namespace MainWindow {
+@@ -136,7 +136,6 @@ namespace MainWindow {
+
+ const std::wstring visitMainWebsite = ConvertUTF8ToWString(des->T("www.ppsspp.org"));
+ const std::wstring visitForum = ConvertUTF8ToWString(des->T("PPSSPP Forums"));
+- const std::wstring buyGold = ConvertUTF8ToWString(des->T("Buy Gold"));
+ const std::wstring gitHub = ConvertUTF8ToWString(des->T("GitHub"));
+ const std::wstring discord = ConvertUTF8ToWString(des->T("Discord"));
+ const std::wstring aboutPPSSPP = ConvertUTF8ToWString(des->T("About PPSSPP..."));
+@@ -147,7 +146,6 @@ namespace MainWindow {
+ AppendMenu(helpMenu, MF_STRING | MF_BYCOMMAND, ID_HELP_OPENWEBSITE, visitMainWebsite.c_str());
+ AppendMenu(helpMenu, MF_STRING | MF_BYCOMMAND, ID_HELP_OPENFORUM, visitForum.c_str());
+ // Repeat the process for other languages, if necessary.
+- AppendMenu(helpMenu, MF_STRING | MF_BYCOMMAND, ID_HELP_BUYGOLD, buyGold.c_str());
+ AppendMenu(helpMenu, MF_STRING | MF_BYCOMMAND, ID_HELP_GITHUB, gitHub.c_str());
+ AppendMenu(helpMenu, MF_STRING | MF_BYCOMMAND, ID_HELP_DISCORD, discord.c_str());
+ AppendMenu(helpMenu, MF_SEPARATOR, 0, 0);
+@@ -1015,10 +1013,6 @@ namespace MainWindow {
+ ShellExecute(NULL, L"open", L"https://www.ppsspp.org/", NULL, NULL, SW_SHOWNORMAL);
+ break;
+
+- case ID_HELP_BUYGOLD:
+- ShellExecute(NULL, L"open", L"https://central.ppsspp.org/buygold", NULL, NULL, SW_SHOWNORMAL);
+- break;
+-
+ case ID_HELP_OPENFORUM:
+ ShellExecute(NULL, L"open", L"https://forums.ppsspp.org/", NULL, NULL, SW_SHOWNORMAL);
+ break;
+@@ -1397,7 +1391,7 @@ namespace MainWindow {
{
W32Util::CenterWindow(hDlg);
HWND versionBox = GetDlgItem(hDlg, IDC_VERSION);
@@ -331,8 +459,24 @@ index c0d790e06..e8de4f956 100644
windowText.append(PPSSPP_GIT_VERSION);
SetWindowText(versionBox, ConvertUTF8ToWString(windowText).c_str());
}
+diff --git a/Windows/WindowsHost.cpp b/Windows/WindowsHost.cpp
+index 610b79890..3d5926fce 100644
+--- a/Windows/WindowsHost.cpp
++++ b/Windows/WindowsHost.cpp
+@@ -155,11 +155,7 @@ void WindowsHost::ShutdownGraphics() {
+ }
+
+ void WindowsHost::SetWindowTitle(const char *message) {
+-#ifdef GOLD
+- const char *name = "PPSSPP Gold ";
+-#else
+ const char *name = "PPSSPP ";
+-#endif
+ std::wstring winTitle = ConvertUTF8ToWString(std::string(name) + PPSSPP_GIT_VERSION);
+ if (message != nullptr) {
+ winTitle.append(ConvertUTF8ToWString(" - "));
diff --git a/Windows/main.cpp b/Windows/main.cpp
-index ecfe18fa4..3261151d2 100644
+index 9395233e2..90abec570 100644
--- a/Windows/main.cpp
+++ b/Windows/main.cpp
@@ -304,12 +304,6 @@ bool System_GetPropertyBool(SystemProperty prop) {
@@ -348,13 +492,25 @@ index ecfe18fa4..3261151d2 100644
case SYSPROP_CAN_JIT:
return true;
default:
+diff --git a/Windows/resource.h b/Windows/resource.h
+index ce21b3a85..1f8002c10 100644
+--- a/Windows/resource.h
++++ b/Windows/resource.h
+@@ -322,7 +322,6 @@
+ // Dummy option to let the buffered rendering hotkey cycle through all the options.
+ #define ID_OPTIONS_BUFFEREDRENDERINGDUMMY 40500
+ #define IDC_STEPOUT 40501
+-#define ID_HELP_BUYGOLD 40502
+
+ #define IDC_STATIC -1
+
diff --git a/android/jni/app-android.cpp b/android/jni/app-android.cpp
-index 2fad16224..8ed6dd9cd 100644
+index df395e304..cebdf5804 100644
--- a/android/jni/app-android.cpp
+++ b/android/jni/app-android.cpp
-@@ -490,12 +490,6 @@ bool System_GetPropertyBool(SystemProperty prop) {
- case SYSPROP_HAS_FOLDER_BROWSER:
- // Uses OPEN_DOCUMENT_TREE to let you select a folder.
+@@ -458,12 +458,6 @@ bool System_GetPropertyBool(SystemProperty prop) {
+ // Doesn't actually mean it's usable though, in many early versions of Android
+ // this dialog is complete garbage and only lets you select subfolders of the Downloads folder.
return androidVersion >= 21; // when ACTION_OPEN_DOCUMENT_TREE was added
- case SYSPROP_APP_GOLD:
-#ifdef GOLD
@@ -383,5 +539,5 @@ index e53b7c7ab..fe69647ed 100644
return g_jitAvailable;
--
-2.31.1
+2.34.0
diff --git a/gnu/packages/patches/pulseview-glib-2.68.patch b/gnu/packages/patches/pulseview-glib-2.68.patch
new file mode 100644
index 0000000000..bb49b3656f
--- /dev/null
+++ b/gnu/packages/patches/pulseview-glib-2.68.patch
@@ -0,0 +1,54 @@
+Taken from upstream:
+https://github.com/sigrokproject/pulseview/pull/39/commits/fb89dd11f2a4a08b73c498869789e38677181a8d.
+
+From fb89dd11f2a4a08b73c498869789e38677181a8d Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
+Date: Wed, 28 Apr 2021 02:14:47 +0200
+Subject: [PATCH] Fix broken build due to C++ template behind C linkage
+
+glib/gatomic.h since 2.68 includes type_traits, which causes a compilation
+error:
+In file included from /usr/include/glib-2.0/glib/gatomic.h:31,
+ from /usr/include/glib-2.0/glib/gthread.h:32,
+ from /usr/include/glib-2.0/glib/gasyncqueue.h:32,
+ from /usr/include/glib-2.0/glib.h:32,
+ from /usr/include/libsigrokdecode/libsigrokdecode.h:25,
+ from /home/abuild/rpmbuild/BUILD/pulseview-0.4.2/pv/data/decode/annotation.cpp:21:
+/usr/include/c++/10/type_traits:2308:3: error: template with C linkage
+2308 | template<typename _CTp, typename _Rp>
+
+As libsigrokdecode.h declares extern C linkage itself where necessary,
+remove it from pulseviews include statements from the last two occasions.
+---
+ pv/data/decode/annotation.cpp | 2 --
+ pv/views/trace/decodetrace.cpp | 2 --
+ 2 files changed, 4 deletions(-)
+
+diff --git a/pv/data/decode/annotation.cpp b/pv/data/decode/annotation.cpp
+index 7f233478..f8a5c47b 100644
+--- a/pv/data/decode/annotation.cpp
++++ b/pv/data/decode/annotation.cpp
+@@ -17,9 +17,7 @@
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ */
+
+-extern "C" {
+ #include <libsigrokdecode/libsigrokdecode.h>
+-}
+
+ #include <cassert>
+ #include <vector>
+diff --git a/pv/views/trace/decodetrace.cpp b/pv/views/trace/decodetrace.cpp
+index 409f1d28..888064d0 100644
+--- a/pv/views/trace/decodetrace.cpp
++++ b/pv/views/trace/decodetrace.cpp
+@@ -17,9 +17,7 @@
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ */
+
+-extern "C" {
+ #include <libsigrokdecode/libsigrokdecode.h>
+-}
+
+ #include <limits>
+ #include <mutex>
diff --git a/gnu/packages/patches/python-pdoc3-tests.patch b/gnu/packages/patches/python-pdoc3-tests.patch
new file mode 100644
index 0000000000..a411b300ee
--- /dev/null
+++ b/gnu/packages/patches/python-pdoc3-tests.patch
@@ -0,0 +1,42 @@
+Taken from upstream: https://github.com/pdoc3/pdoc/commit/4aa70de2221a34a3003a7e5f52a9b91965f0e359.patch.
+
+From 4aa70de2221a34a3003a7e5f52a9b91965f0e359 Mon Sep 17 00:00:00 2001
+From: Spencer Baugh <sbaugh@catern.com>
+Date: Thu, 23 Sep 2021 09:00:25 -0400
+Subject: [PATCH] TST: use explicit ClassWithNew instead of typing.Generic
+
+typing.Generic doesn't have a __new__ method in 3.9.
+
+Fixes https://github.com/pdoc3/pdoc/issues/355
+---
+ pdoc/test/__init__.py | 10 +++++++---
+ 1 file changed, 7 insertions(+), 3 deletions(-)
+
+diff --git a/pdoc/test/__init__.py b/pdoc/test/__init__.py
+index e8c3d94..8b67ab7 100644
+--- a/pdoc/test/__init__.py
++++ b/pdoc/test/__init__.py
+@@ -1043,16 +1043,20 @@ class C2:
+
+ self.assertEqual(pdoc.Class('C2', mod, C2).params(), ['a', 'b', 'c=None', '*', 'd=1', 'e'])
+
+- class G(typing.Generic[T]):
++ class ClassWithNew:
++ def __new__(self, arg):
++ pass
++
++ class G(ClassWithNew):
+ def __init__(self, a, b, c=100):
+ pass
+
+ self.assertEqual(pdoc.Class('G', mod, G).params(), ['a', 'b', 'c=100'])
+
+- class G2(typing.Generic[T]):
++ class G2(ClassWithNew):
+ pass
+
+- self.assertEqual(pdoc.Class('G2', mod, G2).params(), ['*args', '**kwds'])
++ self.assertEqual(pdoc.Class('G2', mod, G2).params(), ['arg'])
+
+ def test_url(self):
+ mod = pdoc.Module(EXAMPLE_MODULE)
diff --git a/gnu/packages/patches/python-piexif-fix-tests-with-pillow-7.2.patch b/gnu/packages/patches/python-piexif-fix-tests-with-pillow-7.2.patch
new file mode 100644
index 0000000000..874264dc25
--- /dev/null
+++ b/gnu/packages/patches/python-piexif-fix-tests-with-pillow-7.2.patch
@@ -0,0 +1,44 @@
+From 5209b53e9689ce28dcd045f384633378d619718f Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jan=20Wi=C5=9Bniewski?= <vuko@vuko.pl>
+Date: Thu, 5 Nov 2020 16:18:52 +0100
+Subject: [PATCH] convert IFDRational to tuples in tests
+
+This fixes tests with Pillow version >= 7.2.0
+---
+ tests/s_test.py | 12 ++++++++++++
+ 1 file changed, 12 insertions(+)
+
+diff --git a/tests/s_test.py b/tests/s_test.py
+index 5d105de..a7cad54 100644
+--- a/tests/s_test.py
++++ b/tests/s_test.py
+***************
+*** 9,14 ****
+--- 9,15 ----
+ import time
+ import unittest
+
++ import PIL
+ from PIL import Image
+ import piexif
+ from piexif import _common, ImageIFD, ExifIFD, GPSIFD, TAGS, InvalidImageDataError
+***************
+*** 580,585 ****
+--- 581,597 ----
+ # test utility methods----------------------------------------------
+
+ def _compare_value(self, v1, v2):
++ if isinstance(v2, PIL.TiffImagePlugin.IFDRational):
++ v2 = (v2.numerator, v2.denominator)
++ if isinstance(v2, tuple):
++ converted_v2 = []
++ for el in v2:
++ if isinstance(el, PIL.TiffImagePlugin.IFDRational):
++ converted_v2.append((el.numerator, el.denominator))
++ else:
++ converted_v2.append(el)
++ v2 = tuple(converted_v2)
++
+ if type(v1) != type(v2):
+ if isinstance(v1, tuple):
+ self.assertEqual(pack_byte(*v1), v2)
diff --git a/gnu/packages/patches/python-pydot-regression-test.patch b/gnu/packages/patches/python-pydot-regression-test.patch
deleted file mode 100644
index d2f0f5996e..0000000000
--- a/gnu/packages/patches/python-pydot-regression-test.patch
+++ /dev/null
@@ -1,79 +0,0 @@
-This patch is taken from the upstream repository
-https://github.com/pydot/pydot/commit/a10ced4d132361027a545a471af4541dea8c5cf5.patch
-It should be included in the 1.4.2 release.
-
-
-From a10ced4d132361027a545a471af4541dea8c5cf5 Mon Sep 17 00:00:00 2001
-From: Peter Nowee <peter@peternowee.com>
-Date: Wed, 26 Jun 2019 15:43:38 +0800
-Subject: [PATCH] Fix multi.dot Graphviz regression test
-
-Commit d6602ad of 2018-12-01 fixed the regression test broken by commit
-2d55978 of 2016-07-01. This revealed that `test/graphs/multi.dot` was
-failing.
-
-`multi.dot` was introduced in commit 2b3f088 of 2010-11-07 together
-with many of the other tests still here today. It has not been touched
-since. It is a DOT-file containing two digraphs. The regression test
-compares the JPEG images rendered from the DOT-file by pydot with those
-rendered by Graphviz's dot directly.
-
-Commit 66734d2 of 2016-07-01 is the actual cause of the failure. It
-changed one of the render methods of the regression test,
-`_render_with_pydot`, from calculating a single hash for all the JPEG
-images to calculating separate hashes for each JPEG image and then
-concatenating those hashes in one long string. The other render method,
-`_render_with_graphviz`, still calculates a single hash over all data.
-For DOT-files that generate only one image the end result is the same,
-but because `multi.dot` has two graphs, it produces two images and this
-leads to comparing a string of two hashes with one single hash.
-
-I do not think the change in generating the hash was intentional, for
-the following reasons:
-- Commit 66734d2 states that its purpose was to adapt the test to an
- API change in pydot. It does not mention a deliberate choice to
- change the testing method.
-- There was no effort to change `_render_with_graphviz` to also produce
- multiple hashes.
-- Except for easier debugging in case of a failing test with multiple
- images (AFAICT, only `multi.dot`), I do not see much added benefit in
- checking a concatenation of the hashes of all images vs. checking one
- hash of all images together: In both cases the test will fail if one
- or more images is rendered differently.
-- Given that there were many commits authored that same hour, including
- commit 2d55978 which broke the regression tests, I suspect the author
- did not run the tests for each individual commit, but only at the end
- of that batch, and was therefore also not alerted of this change by
- the test suite.
-
-Assuming that the change was not intended, this commit will now revert
-`_render_with_pydot` to the old behavior of calculating a single hash
-from all JPEG image data.
-
-Tested with Debian 9.9, Graphviz 2.38.0-17, Python 2.7.13-2 and 3.5.3-1.
-
-Fixes https://github.com/pydot/pydot/issues/204.
----
- test/pydot_unittest.py | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/test/pydot_unittest.py b/test/pydot_unittest.py
-index 881ee16..64aa856 100644
---- a/test/pydot_unittest.py
-+++ b/test/pydot_unittest.py
-@@ -194,11 +194,11 @@ def _render_with_graphviz(self, filename, encoding):
-
- def _render_with_pydot(self, filename, encoding):
- c = pydot.graph_from_dot_file(filename, encoding=encoding)
-- sha = ''
-+ jpe_data = bytearray()
- for g in c:
-- jpe_data = g.create(prog=TEST_PROGRAM, format='jpe', encoding=encoding)
-- sha += sha256(jpe_data).hexdigest()
-- return sha
-+ jpe_data.extend(g.create(prog=TEST_PROGRAM, format='jpe',
-+ encoding=encoding))
-+ return sha256(jpe_data).hexdigest()
-
- def test_my_regression_tests(self):
- path = os.path.join(test_dir, TESTS_DIR_1)
diff --git a/gnu/packages/patches/qemu-CVE-2021-20203.patch b/gnu/packages/patches/qemu-CVE-2021-20203.patch
deleted file mode 100644
index 9d2ceaa649..0000000000
--- a/gnu/packages/patches/qemu-CVE-2021-20203.patch
+++ /dev/null
@@ -1,172 +0,0 @@
-From mboxrd@z Thu Jan 1 00:00:00 1970
-Return-Path: <SRS0=i+5i=HB=nongnu.org=qemu-devel-bounces+qemu-devel=archiver.kernel.org@kernel.org>
-X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
- aws-us-west-2-korg-lkml-1.web.codeaurora.org
-X-Spam-Level:
-X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_INVALID,
- DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH,
- MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNWANTED_LANGUAGE_BODY,
- URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0
-Received: from mail.kernel.org (mail.kernel.org [198.145.29.99])
- by smtp.lore.kernel.org (Postfix) with ESMTP id 87556C433E0
- for <qemu-devel@archiver.kernel.org>; Sat, 30 Jan 2021 13:20:40 +0000 (UTC)
-Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
- (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
- (No client certificate requested)
- by mail.kernel.org (Postfix) with ESMTPS id EF26964DE1
- for <qemu-devel@archiver.kernel.org>; Sat, 30 Jan 2021 13:20:39 +0000 (UTC)
-DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EF26964DE1
-Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com
-Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org
-Received: from localhost ([::1]:42488 helo=lists1p.gnu.org)
- by lists.gnu.org with esmtp (Exim 4.90_1)
- (envelope-from <qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org>)
- id 1l5qB3-0008CX-02
- for qemu-devel@archiver.kernel.org; Sat, 30 Jan 2021 08:20:37 -0500
-Received: from eggs.gnu.org ([2001:470:142:3::10]:45174)
- by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
- (Exim 4.90_1) (envelope-from <ppandit@redhat.com>)
- id 1l5q9q-0007ld-1c
- for qemu-devel@nongnu.org; Sat, 30 Jan 2021 08:19:22 -0500
-Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:42898)
- by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256)
- (Exim 4.90_1) (envelope-from <ppandit@redhat.com>)
- id 1l5q9k-0007Ia-TV
- for qemu-devel@nongnu.org; Sat, 30 Jan 2021 08:19:21 -0500
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
- s=mimecast20190719; t=1612012753;
- h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
- to:to:cc:cc:mime-version:mime-version:content-type:content-type:
- content-transfer-encoding:content-transfer-encoding;
- bh=7vu4z8M+bFjhFzEuAYsQG4i3APx7aMqv7tFxRRO5+8Q=;
- b=egCsTdgVBnRlHnVN84HsSpNOUl/NkqEnGuv9rRdG2AZ1Fee5ZatpJm5zJ7YUW2HvzB4rtO
- EaDIKaN1wzf/yHf0CsJ60TPGG3DqQSC/EsTSr2l/GNGq4prDYTXVrS3rXFu9ofByUVvzwU
- q9Iy1X1Bh3S21m7jXY0AYx4Tu9Ikq9w=
-Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com
- [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id
- us-mta-588-1JF7mzMfP1KpRpNKj4cAWQ-1; Sat, 30 Jan 2021 08:19:08 -0500
-X-MC-Unique: 1JF7mzMfP1KpRpNKj4cAWQ-1
-Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com
- [10.5.11.22])
- (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
- (No client certificate requested)
- by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8F0F439380;
- Sat, 30 Jan 2021 13:19:07 +0000 (UTC)
-Received: from localhost.localdomain (unknown [10.33.36.2])
- by smtp.corp.redhat.com (Postfix) with ESMTPS id 17D581002C11;
- Sat, 30 Jan 2021 13:19:04 +0000 (UTC)
-From: P J P <ppandit@redhat.com>
-To: Dmitry Fleytman <dmitry.fleytman@gmail.com>
-Subject: [PATCH] net: vmxnet3: validate configuration values during activate
- (CVE-2021-20203)
-Date: Sat, 30 Jan 2021 18:46:52 +0530
-Message-Id: <20210130131652.954143-1-ppandit@redhat.com>
-MIME-Version: 1.0
-X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22
-Authentication-Results: relay.mimecast.com;
- auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=ppandit@redhat.com
-X-Mimecast-Spam-Score: 0
-X-Mimecast-Originator: redhat.com
-Content-Transfer-Encoding: 8bit
-Content-Type: text/plain; charset="US-ASCII"
-Received-SPF: pass client-ip=63.128.21.124; envelope-from=ppandit@redhat.com;
- helo=us-smtp-delivery-124.mimecast.com
-X-Spam_score_int: -30
-X-Spam_score: -3.1
-X-Spam_bar: ---
-X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.255,
- DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
- RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001,
- SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
-X-Spam_action: no action
-X-BeenThere: qemu-devel@nongnu.org
-X-Mailman-Version: 2.1.23
-Precedence: list
-List-Id: <qemu-devel.nongnu.org>
-List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>,
- <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>
-List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel>
-List-Post: <mailto:qemu-devel@nongnu.org>
-List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help>
-List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>,
- <mailto:qemu-devel-request@nongnu.org?subject=subscribe>
-Cc: Gaoning Pan <pgn@zju.edu.cn>, QEMU Developers <qemu-devel@nongnu.org>,
- Prasad J Pandit <pjp@fedoraproject.org>
-Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org
-Sender: "Qemu-devel"
- <qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org>
-Archived-At: <https://lore.kernel.org/qemu-devel/20210130131652.954143-1-ppandit@redhat.com/>
-List-Archive: <https://lore.kernel.org/qemu-devel/>
-
-From: Prasad J Pandit <pjp@fedoraproject.org>
-
-While activating device in vmxnet3_acticate_device(), it does not
-validate guest supplied configuration values against predefined
-minimum - maximum limits. This may lead to integer overflow or
-OOB access issues. Add checks to avoid it.
-
-Fixes: CVE-2021-20203
-Buglink: https://bugs.launchpad.net/qemu/+bug/1913873
-Reported-by: Gaoning Pan <pgn@zju.edu.cn>
-Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
----
- hw/net/vmxnet3.c | 13 +++++++++++++
- 1 file changed, 13 insertions(+)
-
-diff --git a/hw/net/vmxnet3.c b/hw/net/vmxnet3.c
-index eff299f629..4a910ca971 100644
---- a/hw/net/vmxnet3.c
-+++ b/hw/net/vmxnet3.c
-@@ -1420,6 +1420,7 @@ static void vmxnet3_activate_device(VMXNET3State *s)
- vmxnet3_setup_rx_filtering(s);
- /* Cache fields from shared memory */
- s->mtu = VMXNET3_READ_DRV_SHARED32(d, s->drv_shmem, devRead.misc.mtu);
-+ assert(VMXNET3_MIN_MTU <= s->mtu && s->mtu < VMXNET3_MAX_MTU);
- VMW_CFPRN("MTU is %u", s->mtu);
-
- s->max_rx_frags =
-@@ -1473,6 +1474,9 @@ static void vmxnet3_activate_device(VMXNET3State *s)
- /* Read rings memory locations for TX queues */
- pa = VMXNET3_READ_TX_QUEUE_DESCR64(d, qdescr_pa, conf.txRingBasePA);
- size = VMXNET3_READ_TX_QUEUE_DESCR32(d, qdescr_pa, conf.txRingSize);
-+ if (size > VMXNET3_TX_RING_MAX_SIZE) {
-+ size = VMXNET3_TX_RING_MAX_SIZE;
-+ }
-
- vmxnet3_ring_init(d, &s->txq_descr[i].tx_ring, pa, size,
- sizeof(struct Vmxnet3_TxDesc), false);
-@@ -1483,6 +1487,9 @@ static void vmxnet3_activate_device(VMXNET3State *s)
- /* TXC ring */
- pa = VMXNET3_READ_TX_QUEUE_DESCR64(d, qdescr_pa, conf.compRingBasePA);
- size = VMXNET3_READ_TX_QUEUE_DESCR32(d, qdescr_pa, conf.compRingSize);
-+ if (size > VMXNET3_TC_RING_MAX_SIZE) {
-+ size = VMXNET3_TC_RING_MAX_SIZE;
-+ }
- vmxnet3_ring_init(d, &s->txq_descr[i].comp_ring, pa, size,
- sizeof(struct Vmxnet3_TxCompDesc), true);
- VMXNET3_RING_DUMP(VMW_CFPRN, "TXC", i, &s->txq_descr[i].comp_ring);
-@@ -1524,6 +1531,9 @@ static void vmxnet3_activate_device(VMXNET3State *s)
- /* RX rings */
- pa = VMXNET3_READ_RX_QUEUE_DESCR64(d, qd_pa, conf.rxRingBasePA[j]);
- size = VMXNET3_READ_RX_QUEUE_DESCR32(d, qd_pa, conf.rxRingSize[j]);
-+ if (size > VMXNET3_RX_RING_MAX_SIZE) {
-+ size = VMXNET3_RX_RING_MAX_SIZE;
-+ }
- vmxnet3_ring_init(d, &s->rxq_descr[i].rx_ring[j], pa, size,
- sizeof(struct Vmxnet3_RxDesc), false);
- VMW_CFPRN("RX queue %d:%d: Base: %" PRIx64 ", Size: %d",
-@@ -1533,6 +1543,9 @@ static void vmxnet3_activate_device(VMXNET3State *s)
- /* RXC ring */
- pa = VMXNET3_READ_RX_QUEUE_DESCR64(d, qd_pa, conf.compRingBasePA);
- size = VMXNET3_READ_RX_QUEUE_DESCR32(d, qd_pa, conf.compRingSize);
-+ if (size > VMXNET3_RC_RING_MAX_SIZE) {
-+ size = VMXNET3_RC_RING_MAX_SIZE;
-+ }
- vmxnet3_ring_init(d, &s->rxq_descr[i].comp_ring, pa, size,
- sizeof(struct Vmxnet3_RxCompDesc), true);
- VMW_CFPRN("RXC queue %d: Base: %" PRIx64 ", Size: %d", i, pa, size);
---
-2.29.2
-
-
-
diff --git a/gnu/packages/patches/quassel-qt-514-compat.patch b/gnu/packages/patches/quassel-qt-514-compat.patch
deleted file mode 100644
index 7a0c42e8aa..0000000000
--- a/gnu/packages/patches/quassel-qt-514-compat.patch
+++ /dev/null
@@ -1,130 +0,0 @@
-https://github.com/quassel/quassel/commit/579e559a6322209df7cd51c34801fecff5fe734b.patch
-
-Based on the above patch, with some changes due to how the code has changed
-in the time since 0.13.1 was released.
-
-https://git.archlinux.org/svntogit/community.git/plain/trunk/quassel-0.13.1-qt5.14.patch?h=packages/quassel
-
-From 579e559a6322209df7cd51c34801fecff5fe734b Mon Sep 17 00:00:00 2001
-From: Manuel Nickschas <sputnick@quassel-irc.org>
-Date: Tue, 7 Jan 2020 18:34:54 +0100
-Subject: [PATCH] common: Disable enum type stream operators for Qt >= 5.14
-
-Starting from version 5.14, Qt provides stream operators for enum
-types, which collide with the ones we ship in types.h. Disable
-Quassel's stream operators when compiling against Qt 5.14 or later.
-
-Add a unit test that ensures that enum serialization honors the width
-of the underlying type.
----
- src/common/types.h | 2 +
- tests/common/CMakeLists.txt | 2 +
- tests/common/typestest.cpp | 79 +++++++++++++++++++++++++++++++++++++
- 3 files changed, 83 insertions(+)
- create mode 100644 tests/common/typestest.cpp
-
-diff --git a/src/common/types.h b/src/common/types.h
-index d3742b788..e2a9aab5e 100644
---- a/src/common/types.h
-+++ b/src/common/types.h
-@@ -140,6 +140,7 @@ Q_DECLARE_METATYPE(QHostAddress)
- typedef QList<MsgId> MsgIdList;
- typedef QList<BufferId> BufferIdList;
-
-+#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
- /**
- * Catch-all stream serialization operator for enum types.
- *
-@@ -169,6 +170,7 @@ QDataStream &operator>>(QDataStream &in, T &value) {
- value = static_cast<T>(v);
- return in;
- }
-+#endif
-
- // Exceptions
-
-diff --git a/tests/common/typestest.cpp b/tests/common/typestest.cpp
-new file mode 100644
-index 000000000..04031c299
---- /dev/null
-+++ b/tests/common/typestest.cpp
-@@ -0,0 +1,79 @@
-+/***************************************************************************
-+ * Copyright (C) 2005-2020 by the Quassel Project *
-+ * devel@quassel-irc.org *
-+ * *
-+ * This program is free software; you can redistribute it and/or modify *
-+ * it under the terms of the GNU General Public License as published by *
-+ * the Free Software Foundation; either version 2 of the License, or *
-+ * (at your option) version 3. *
-+ * *
-+ * This program is distributed in the hope that it will be useful, *
-+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
-+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
-+ * GNU General Public License for more details. *
-+ * *
-+ * You should have received a copy of the GNU General Public License *
-+ * along with this program; if not, write to the *
-+ * Free Software Foundation, Inc., *
-+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
-+ ***************************************************************************/
-+
-+#include <cstdint>
-+
-+#include <QByteArray>
-+#include <QDataStream>
-+#include <QObject>
-+
-+#include "testglobal.h"
-+#include "types.h"
-+
-+using namespace ::testing;
-+
-+class EnumHolder
-+{
-+ Q_GADGET
-+
-+public:
-+ enum class Enum16 : uint16_t {};
-+ enum class Enum32 : uint32_t {};
-+
-+ enum class EnumQt16 : uint16_t {};
-+ Q_ENUM(EnumQt16)
-+ enum class EnumQt32 : uint32_t {};
-+ Q_ENUM(EnumQt32)
-+};
-+
-+// Verify that enums are (de)serialized as their underlying type
-+TEST(TypesTest, enumSerialization)
-+{
-+ QByteArray data;
-+ QDataStream out(&data, QIODevice::WriteOnly);
-+
-+ // Serialize
-+ out << EnumHolder::Enum16(0xabcd);
-+ ASSERT_THAT(data.size(), Eq(2));
-+ out << EnumHolder::Enum32(0x123456);
-+ ASSERT_THAT(data.size(), Eq(6));
-+ out << EnumHolder::EnumQt16(0x4321);
-+ ASSERT_THAT(data.size(), Eq(8));
-+ out << EnumHolder::Enum32(0xfedcba);
-+ ASSERT_THAT(data.size(), Eq(12));
-+ ASSERT_THAT(out.status(), Eq(QDataStream::Status::Ok));
-+
-+ // Deserialize
-+ QDataStream in(data);
-+ EnumHolder::Enum16 enum16;
-+ EnumHolder::Enum32 enum32;
-+ EnumHolder::EnumQt16 enumQt16;
-+ EnumHolder::EnumQt32 enumQt32;
-+ in >> enum16 >> enum32 >> enumQt16 >> enumQt32;
-+ ASSERT_THAT(in.status(), Eq(QDataStream::Status::Ok));
-+ EXPECT_TRUE(in.atEnd());
-+
-+ EXPECT_THAT((int)enum16, Eq(0xabcd));
-+ EXPECT_THAT((int)enum32, Eq(0x123456));
-+ EXPECT_THAT((int)enumQt16, Eq(0x4321));
-+ EXPECT_THAT((int)enumQt32, Eq(0xfedcba));
-+}
-+
-+#include "typestest.moc"
diff --git a/gnu/packages/patches/r-httpuv-1.5.5-unvendor-libuv.patch b/gnu/packages/patches/r-httpuv-1.5.5-unvendor-libuv.patch
index 0947718059..30c6425477 100644
--- a/gnu/packages/patches/r-httpuv-1.5.5-unvendor-libuv.patch
+++ b/gnu/packages/patches/r-httpuv-1.5.5-unvendor-libuv.patch
@@ -20,7 +20,7 @@ Removes references to bundled libuv.
# To avoid spurious warnings from `R CMD check --as-cran`, about compiler
# warning flags like -Werror.
-@@ -43,35 +43,5 @@
+@@ -43,49 +43,5 @@
# PKG_CPPFLAGS += -D_GLIBCXX_ASSERTIONS
@@ -32,10 +32,18 @@ Removes references to bundled libuv.
-libuv/m4/lt~obsolete.m4: libuv/m4/lt_obsolete.m4
- cp -p -f libuv/m4/lt_obsolete.m4 libuv/m4/lt~obsolete.m4
-
--# Run ./configure. We need to touch various autotools-related files to avoid
--# it trying to run autotools programs again. We also need to make sure
--# configure is executable, because on some platforms, calling unzip() in R
--# does not preserve the executable bit.
+-# Run ./configure to create the Makefile.
+-#
+-# On systems that do _not_ have automake installed, we need to make sure that
+-# configure does not try to run automake, because it will fail. To do that, we
+-# we need to touch various autotools-related files so it doesn't try to run
+-# autotools programs again. We also need to make sure configure is executable,
+-# because on some platforms, calling unzip() in R does not preserve the
+-# executable bit.
+-#
+-# If the system does have automake, then we'll run autogen.sh before configure,
+-# as per the official build instructions for libuv. autogen.sh will in turn run
+-# aclocal, autoconf, and automake.
-#
-# It's VERY IMPORTANT that mtime(aclocal.m4) <= mtime(configure), and also
-# mtime(aclocal.m4) <= mtime(Makefile.in). On some platforms, passing multiple
@@ -45,11 +53,17 @@ Removes references to bundled libuv.
-# use "-r aclocal.m4" to ensure that all three files are guaranteed to have
-# precisely the same timestamp value.
-libuv/Makefile: libuv/m4/lt~obsolete.m4
-- (cd libuv \
-- && touch aclocal.m4 \
-- && touch -r aclocal.m4 configure Makefile.in \
-- && chmod +x configure \
-- && CC="$(CC)" CFLAGS="$(CFLAGS) $(CPICFLAGS) $(C_VISIBILITY)" AR="$(AR)" RANLIB="$(RANLIB)" LDFLAGS="$(LDFLAGS)" ./configure $(CONFIGURE_FLAGS))
+- cd libuv; \
+- if ! command -v automake >/dev/null 2>&1 ; then \
+- echo "automake not found. Touching files so configure will not try to run automake."; \
+- touch aclocal.m4; \
+- touch -r aclocal.m4 configure Makefile.in; \
+- else \
+- echo "automake found. Running autogen.sh."; \
+- sh autogen.sh; \
+- fi; \
+- chmod +x configure; \
+- CC="$(CC)" CFLAGS="$(CFLAGS) $(CPICFLAGS) $(C_VISIBILITY)" AR="$(AR)" RANLIB="$(RANLIB)" LDFLAGS="$(LDFLAGS)" ./configure $(CONFIGURE_FLAGS)
-
-libuv/.libs/libuv.a: libuv/Makefile
- $(MAKE) --directory=libuv \
diff --git a/gnu/packages/patches/ragel-char-signedness.patch b/gnu/packages/patches/ragel-char-signedness.patch
new file mode 100644
index 0000000000..b3b2bf958a
--- /dev/null
+++ b/gnu/packages/patches/ragel-char-signedness.patch
@@ -0,0 +1,42 @@
+From 2e638fccd81e96ce09841adc4b295b5ce694ea73 Mon Sep 17 00:00:00 2001
+From: Adrian Thurston <thurston@colm.net>
+Date: Sat, 6 Nov 2021 12:20:05 -0700
+Subject: [PATCH] C char type: decide signedness of char based on CHAR_MIN
+
+Previously had char fixed to signed char, this is not useful on ARM as it does
+not align with the host type. Instead, decide at runtime (or probably compile
+time) if char is signed or not.
+---
+ ragel/common.cpp | 16 ++++++++--------
+ 1 file changed, 8 insertions(+), 8 deletions(-)
+
+diff --git a/ragel/common.cpp b/ragel/common.cpp
+index 8e9f8ed0..55875c06 100644
+--- a/ragel/common.cpp
++++ b/ragel/common.cpp
+@@ -27,14 +27,14 @@
+
+ HostType hostTypesC[] =
+ {
+- { "char", 0, "char", true, true, false, CHAR_MIN, CHAR_MAX, 0, 0, sizeof(char) },
+- { "unsigned", "char", "uchar", false, true, false, 0, 0, 0, UCHAR_MAX, sizeof(unsigned char) },
+- { "short", 0, "short", true, true, false, SHRT_MIN, SHRT_MAX, 0, 0, sizeof(short) },
+- { "unsigned", "short", "ushort", false, true, false, 0, 0, 0, USHRT_MAX, sizeof(unsigned short) },
+- { "int", 0, "int", true, true, false, INT_MIN, INT_MAX, 0, 0, sizeof(int) },
+- { "unsigned", "int", "uint", false, true, false, 0, 0, 0, UINT_MAX, sizeof(unsigned int) },
+- { "long", 0, "long", true, true, false, LONG_MIN, LONG_MAX, 0, 0, sizeof(long) },
+- { "unsigned", "long", "ulong", false, true, false, 0, 0, 0, ULONG_MAX, sizeof(unsigned long) }
++ { "char", 0, "char", (CHAR_MIN != 0), true, false, SCHAR_MIN, SCHAR_MAX, 0, UCHAR_MAX, sizeof(char) },
++ { "unsigned", "char", "uchar", false, true, false, 0, 0, 0, UCHAR_MAX, sizeof(unsigned char) },
++ { "short", 0, "short", true, true, false, SHRT_MIN, SHRT_MAX, 0, 0, sizeof(short) },
++ { "unsigned", "short", "ushort", false, true, false, 0, 0, 0, USHRT_MAX, sizeof(unsigned short) },
++ { "int", 0, "int", true, true, false, INT_MIN, INT_MAX, 0, 0, sizeof(int) },
++ { "unsigned", "int", "uint", false, true, false, 0, 0, 0, UINT_MAX, sizeof(unsigned int) },
++ { "long", 0, "long", true, true, false, LONG_MIN, LONG_MAX, 0, 0, sizeof(long) },
++ { "unsigned", "long", "ulong", false, true, false, 0, 0, 0, ULONG_MAX, sizeof(unsigned long) }
+ };
+
+ #define S8BIT_MIN -128
+--
+2.33.1
+
diff --git a/gnu/packages/patches/shadow-hurd-pctrl.patch b/gnu/packages/patches/shadow-hurd-pctrl.patch
deleted file mode 100644
index 2e376e19a9..0000000000
--- a/gnu/packages/patches/shadow-hurd-pctrl.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Avoid including sys/prctl.h on the Hurd.
-
-Upstream status: Not submitted.
-
---- shadow-4.8.1/libmisc/idmapping.c.orig 2020-03-07 16:32:05.000000000 -0500
-+++ shadow-4.8.1/libmisc/idmapping.c 2020-03-07 16:32:27.000000000 -0500
-@@ -36,8 +36,8 @@
- #include <stdio.h>
- #include "prototypes.h"
- #include "idmapping.h"
--#include <sys/prctl.h>
- #if HAVE_SYS_CAPABILITY_H
-+#include <sys/prctl.h>
- #include <sys/capability.h>
- #endif
-
diff --git a/gnu/packages/patches/sssd-fix-samba-4.15.3.patch b/gnu/packages/patches/sssd-fix-samba-4.15.3.patch
new file mode 100644
index 0000000000..731daa0ed9
--- /dev/null
+++ b/gnu/packages/patches/sssd-fix-samba-4.15.3.patch
@@ -0,0 +1,523 @@
+From 3ba88c317fd64b69b000adbdf881c88383f325d1 Mon Sep 17 00:00:00 2001
+From: Noel Power <noel.power@suse.com>
+Date: Tue, 24 Mar 2020 13:37:07 +0000
+Subject: [PATCH] Use ndr_pull_steal_switch_value for modern samba versions
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+commit bc56b10aea999284458dcc293b54cf65288e325d attempted to
+fix the build error resulting from removal of 'ndr_pull_get_switch'
+
+This change uses the new replacement method
+'ndr_pull_steal_switch_value' however depending on the samba version
+the ndr_pull_steal_switch_value abi is different.
+
+Note: ndr_pull_steal_switch_value is used since samba 4.10 for
+ the affected methods
+
+Note: the following methods have been refreshed from samba-4.12 generated
+ code;
+
+ o ndr_pull_security_ace_object_type
+ o ndr_pull_security_ace_object_inherited_type
+ o ndr_pull_security_ace_object_ctr
+
+Signed-off-by: Noel Power <noel.power@suse.com>
+
+Reviewed-by: Pavel Březina <pbrezina@redhat.com>
+(cherry picked from commit 1fdd8fa2fded1985fbfc6aa67394eebcdbb6a2fc)
+
+Reviewed-by: Pavel Březina <pbrezina@redhat.com>
+---
+ src/external/samba.m4 | 9 ++++++-
+ src/providers/ad/ad_gpo_ndr.c | 45 ++++++++++++++++++++---------------
+ 2 files changed, 34 insertions(+), 20 deletions(-)
+
+diff --git a/src/external/samba.m4 b/src/external/samba.m4
+index 089f602a60..8e06174ead 100644
+--- a/src/external/samba.m4
++++ b/src/external/samba.m4
+@@ -132,8 +132,15 @@ int main(void)
+ AC_DEFINE_UNQUOTED(SMB_IDMAP_DOMAIN_HAS_DOM_SID, 1,
+ [Samba's struct idmap_domain has dom_sid member])
+ AC_MSG_NOTICE([Samba's struct idmap_domain has dom_sid member])
++ if test $samba_minor_version -ge 12 ; then
++ AC_DEFINE_UNQUOTED(SMB_HAS_NEW_NDR_PULL_STEAL_SWITCH, 1,
++ [Samba's new push/pull switch functions])
++ AC_MSG_NOTICE([Samba has support for new ndr_push_steal_switch_value and ndr_pull_steal_switch_value functions])
++ else
++ AC_MSG_NOTICE([Samba supports old ndr_pull_steal_switch_value and ndr_pull_steal_switch_value functions])
++ fi
+ else
+ AC_MSG_NOTICE([Samba's struct idmap_domain does not have dom_sid member])
++ AC_MSG_NOTICE([Samba supports old ndr_pull_steal_switch_value and ndr_pull_steal_switch_value functions])
+ fi
+-
+ fi
+
+ SAVE_CFLAGS=$CFLAGS
+diff --git a/src/providers/ad/ad_gpo_ndr.c b/src/providers/ad/ad_gpo_ndr.c
+index 49c49d71b2..3d389e513d 100644
+--- a/src/providers/ad/ad_gpo_ndr.c
++++ b/src/providers/ad/ad_gpo_ndr.c
+@@ -105,9 +105,14 @@ ndr_pull_security_ace_object_type(struct ndr_pull *ndr,
+ union security_ace_object_type *r)
+ {
+ uint32_t level;
+- level = ndr_token_peek(&ndr->switch_list, r);
+ NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
+ if (ndr_flags & NDR_SCALARS) {
++ /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
++#ifdef SMB_HAS_NEW_NDR_PULL_STEAL_SWITCH
++ NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
++#else
++ level = ndr_pull_steal_switch_value(ndr, r);
++#endif
+ NDR_CHECK(ndr_pull_union_align(ndr, 4));
+ switch (level) {
+ case SEC_ACE_OBJECT_TYPE_PRESENT: {
+@@ -117,14 +122,6 @@ ndr_pull_security_ace_object_type(struct ndr_pull *ndr,
+ break; }
+ }
+ }
+- if (ndr_flags & NDR_BUFFERS) {
+- switch (level) {
+- case SEC_ACE_OBJECT_TYPE_PRESENT:
+- break;
+- default:
+- break;
+- }
+- }
+ return NDR_ERR_SUCCESS;
+ }
+
+@@ -135,9 +132,14 @@ ndr_pull_security_ace_object_inherited_type(struct ndr_pull *ndr,
+ union security_ace_object_inherited_type *r)
+ {
+ uint32_t level;
+- level = ndr_token_peek(&ndr->switch_list, r);
+ NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
+ if (ndr_flags & NDR_SCALARS) {
++ /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
++#ifdef SMB_HAS_NEW_NDR_PULL_STEAL_SWITCH
++ NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
++#else
++ level = ndr_pull_steal_switch_value(ndr, r);
++#endif
+ NDR_CHECK(ndr_pull_union_align(ndr, 4));
+ switch (level) {
+ case SEC_ACE_INHERITED_OBJECT_TYPE_PRESENT: {
+@@ -149,14 +151,6 @@ ndr_pull_security_ace_object_inherited_type(struct ndr_pull *ndr,
+ break; }
+ }
+ }
+- if (ndr_flags & NDR_BUFFERS) {
+- switch (level) {
+- case SEC_ACE_INHERITED_OBJECT_TYPE_PRESENT:
+- break;
+- default:
+- break;
+- }
+- }
+ return NDR_ERR_SUCCESS;
+ }
+
+@@ -198,9 +192,14 @@ ndr_pull_security_ace_object_ctr(struct ndr_pull *ndr,
+ union security_ace_object_ctr *r)
+ {
+ uint32_t level;
+- level = ndr_token_peek(&ndr->switch_list, r);
+ NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
+ if (ndr_flags & NDR_SCALARS) {
++ /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
++#ifdef SMB_HAS_NEW_NDR_PULL_STEAL_SWITCH
++ NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
++#else
++ level = ndr_pull_steal_switch_value(ndr, r);
++#endif
+ NDR_CHECK(ndr_pull_union_align(ndr, 4));
+ switch (level) {
+ case SEC_ACE_TYPE_ACCESS_ALLOWED_OBJECT: {
+@@ -224,6 +223,14 @@ ndr_pull_security_ace_object_ctr(struct ndr_pull *ndr,
+ }
+ }
+ if (ndr_flags & NDR_BUFFERS) {
++ if (!(ndr_flags & NDR_SCALARS)) {
++ /* We didn't get it above, and the token is not needed after this. */
++#ifdef SMB_HAS_NEW_NDR_PULL_STEAL_SWITCH
++ NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
++#else
++ level = ndr_pull_steal_switch_value(ndr, r);
++#endif
++ }
+ switch (level) {
+ case SEC_ACE_TYPE_ACCESS_ALLOWED_OBJECT:
+ NDR_CHECK(ndr_pull_security_ace_object
+From 5285a1896ee19bb8f1ff752380547bc6d7a43334 Mon Sep 17 00:00:00 2001
+From: Noel Power <noel.power@suse.com>
+Date: Tue, 24 Mar 2020 18:14:34 +0000
+Subject: [PATCH] ad_gpo_ndr.c: refresh ndr_ methods from samba-4.12
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Noel Power <noel.power@suse.com>
+
+Reviewed-by: Pavel Březina <pbrezina@redhat.com>
+(cherry picked from commit c031adde4f532f39845a0efd78693600f1f8b2f4)
+
+Reviewed-by: Pavel Březina <pbrezina@redhat.com>
+---
+ src/providers/ad/ad_gpo_ndr.c | 201 ++++++++++++++++++----------------
+ 1 file changed, 106 insertions(+), 95 deletions(-)
+
+diff --git a/src/providers/ad/ad_gpo_ndr.c b/src/providers/ad/ad_gpo_ndr.c
+index 3d389e513d..a64b1a0f84 100644
+--- a/src/providers/ad/ad_gpo_ndr.c
++++ b/src/providers/ad/ad_gpo_ndr.c
+@@ -177,8 +177,16 @@ ndr_pull_security_ace_object(struct ndr_pull *ndr,
+ NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
+ }
+ if (ndr_flags & NDR_BUFFERS) {
++ NDR_CHECK(ndr_pull_set_switch_value
++ (ndr,
++ &r->type,
++ r->flags & SEC_ACE_OBJECT_TYPE_PRESENT));
+ NDR_CHECK(ndr_pull_security_ace_object_type
+ (ndr, NDR_BUFFERS, &r->type));
++ NDR_CHECK(ndr_pull_set_switch_value
++ (ndr,
++ &r->inherited_type,
++ r->flags & SEC_ACE_INHERITED_OBJECT_TYPE_PRESENT));
+ NDR_CHECK(ndr_pull_security_ace_object_inherited_type
+ (ndr, NDR_BUFFERS, &r->inherited_type));
+ }
+@@ -342,7 +350,7 @@ ndr_pull_security_acl(struct ndr_pull *ndr,
+ (ndr, NDR_SCALARS, &r->revision));
+ NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->size));
+ NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->num_aces));
+- if (r->num_aces > 1000) {
++ if (r->num_aces > 2000) {
+ return ndr_pull_error(ndr, NDR_ERR_RANGE, "value out of range");
+ }
+ size_aces_0 = r->num_aces;
+@@ -408,107 +416,110 @@ ad_gpo_ndr_pull_security_descriptor(struct ndr_pull *ndr,
+ TALLOC_CTX *_mem_save_sacl_0;
+ uint32_t _ptr_dacl;
+ TALLOC_CTX *_mem_save_dacl_0;
+- uint32_t _flags_save_STRUCT = ndr->flags;
+- uint32_t _relative_save_offset;
+-
+- ndr_set_flags(&ndr->flags, LIBNDR_FLAG_LITTLE_ENDIAN);
+- NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
+- if (ndr_flags & NDR_SCALARS) {
+- NDR_CHECK(ndr_pull_align(ndr, 5));
+- NDR_CHECK(ndr_pull_security_descriptor_revision(ndr,
++ {
++ uint32_t _flags_save_STRUCT = ndr->flags;
++ ndr_set_flags(&ndr->flags, LIBNDR_FLAG_LITTLE_ENDIAN);
++ NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
++ if (ndr_flags & NDR_SCALARS) {
++ NDR_CHECK(ndr_pull_align(ndr, 5));
++ NDR_CHECK(ndr_pull_security_descriptor_revision(ndr,
++ NDR_SCALARS,
++ &r->revision));
++ NDR_CHECK(ndr_pull_security_descriptor_type(ndr,
+ NDR_SCALARS,
+- &r->revision));
+- NDR_CHECK(ndr_pull_security_descriptor_type(ndr,
+- NDR_SCALARS,
+- &r->type));
+- NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_owner_sid));
+- if (_ptr_owner_sid) {
+- NDR_PULL_ALLOC(ndr, r->owner_sid);
+- NDR_CHECK(ndr_pull_relative_ptr1(ndr,
+- r->owner_sid,
+- _ptr_owner_sid));
+- } else {
+- r->owner_sid = NULL;
+- }
+- NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_group_sid));
+- if (_ptr_group_sid) {
+- NDR_PULL_ALLOC(ndr, r->group_sid);
+- NDR_CHECK(ndr_pull_relative_ptr1(ndr,
+- r->group_sid,
+- _ptr_group_sid));
+- } else {
+- r->group_sid = NULL;
+- }
+- NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_sacl));
+- if (_ptr_sacl) {
+- NDR_PULL_ALLOC(ndr, r->sacl);
+- NDR_CHECK(ndr_pull_relative_ptr1(ndr, r->sacl, _ptr_sacl));
+- } else {
+- r->sacl = NULL;
+- }
+- NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_dacl));
+- if (_ptr_dacl) {
+- NDR_PULL_ALLOC(ndr, r->dacl);
+- NDR_CHECK(ndr_pull_relative_ptr1(ndr, r->dacl, _ptr_dacl));
+- } else {
+- r->dacl = NULL;
+- }
+- NDR_CHECK(ndr_pull_trailer_align(ndr, 5));
+- }
+- if (ndr_flags & NDR_BUFFERS) {
+- if (r->owner_sid) {
+- _relative_save_offset = ndr->offset;
+- NDR_CHECK(ndr_pull_relative_ptr2(ndr, r->owner_sid));
+- _mem_save_owner_sid_0 = NDR_PULL_GET_MEM_CTX(ndr);
+- NDR_PULL_SET_MEM_CTX(ndr, r->owner_sid, 0);
+- NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_SCALARS, r->owner_sid));
+- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_owner_sid_0, 0);
+- if (ndr->offset > ndr->relative_highest_offset) {
+- ndr->relative_highest_offset = ndr->offset;
++ &r->type));
++ NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_owner_sid));
++ if (_ptr_owner_sid) {
++ NDR_PULL_ALLOC(ndr, r->owner_sid);
++ NDR_CHECK(ndr_pull_relative_ptr1(ndr,
++ r->owner_sid,
++ _ptr_owner_sid));
++ } else {
++ r->owner_sid = NULL;
+ }
+- ndr->offset = _relative_save_offset;
+- }
+- if (r->group_sid) {
+- _relative_save_offset = ndr->offset;
+- NDR_CHECK(ndr_pull_relative_ptr2(ndr, r->group_sid));
+- _mem_save_group_sid_0 = NDR_PULL_GET_MEM_CTX(ndr);
+- NDR_PULL_SET_MEM_CTX(ndr, r->group_sid, 0);
+- NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_SCALARS, r->group_sid));
+- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_group_sid_0, 0);
+- if (ndr->offset > ndr->relative_highest_offset) {
+- ndr->relative_highest_offset = ndr->offset;
++ NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_group_sid));
++ if (_ptr_group_sid) {
++ NDR_PULL_ALLOC(ndr, r->group_sid);
++ NDR_CHECK(ndr_pull_relative_ptr1(ndr,
++ r->group_sid,
++ _ptr_group_sid));
++ } else {
++ r->group_sid = NULL;
+ }
+- ndr->offset = _relative_save_offset;
+- }
+- if (r->sacl) {
+- _relative_save_offset = ndr->offset;
+- NDR_CHECK(ndr_pull_relative_ptr2(ndr, r->sacl));
+- _mem_save_sacl_0 = NDR_PULL_GET_MEM_CTX(ndr);
+- NDR_PULL_SET_MEM_CTX(ndr, r->sacl, 0);
+- NDR_CHECK(ndr_pull_security_acl(ndr,
+- NDR_SCALARS|NDR_BUFFERS,
+- r->sacl));
+- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_sacl_0, 0);
+- if (ndr->offset > ndr->relative_highest_offset) {
+- ndr->relative_highest_offset = ndr->offset;
++ NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_sacl));
++ if (_ptr_sacl) {
++ NDR_PULL_ALLOC(ndr, r->sacl);
++ NDR_CHECK(ndr_pull_relative_ptr1(ndr, r->sacl, _ptr_sacl));
++ } else {
++ r->sacl = NULL;
+ }
+- ndr->offset = _relative_save_offset;
++ NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_dacl));
++ if (_ptr_dacl) {
++ NDR_PULL_ALLOC(ndr, r->dacl);
++ NDR_CHECK(ndr_pull_relative_ptr1(ndr, r->dacl, _ptr_dacl));
++ } else {
++ r->dacl = NULL;
++ }
++ NDR_CHECK(ndr_pull_trailer_align(ndr, 5));
+ }
+- if (r->dacl) {
+- _relative_save_offset = ndr->offset;
+- NDR_CHECK(ndr_pull_relative_ptr2(ndr, r->dacl));
+- _mem_save_dacl_0 = NDR_PULL_GET_MEM_CTX(ndr);
+- NDR_PULL_SET_MEM_CTX(ndr, r->dacl, 0);
+- NDR_CHECK(ndr_pull_security_acl(ndr,
+- NDR_SCALARS|NDR_BUFFERS,
+- r->dacl));
+- NDR_PULL_SET_MEM_CTX(ndr, _mem_save_dacl_0, 0);
+- if (ndr->offset > ndr->relative_highest_offset) {
+- ndr->relative_highest_offset = ndr->offset;
++ if (ndr_flags & NDR_BUFFERS) {
++ if (r->owner_sid) {
++ uint32_t _relative_save_offset;
++ _relative_save_offset = ndr->offset;
++ NDR_CHECK(ndr_pull_relative_ptr2(ndr, r->owner_sid));
++ _mem_save_owner_sid_0 = NDR_PULL_GET_MEM_CTX(ndr);
++ NDR_PULL_SET_MEM_CTX(ndr, r->owner_sid, 0);
++ NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_SCALARS, r->owner_sid));
++ NDR_PULL_SET_MEM_CTX(ndr, _mem_save_owner_sid_0, 0);
++ if (ndr->offset > ndr->relative_highest_offset) {
++ ndr->relative_highest_offset = ndr->offset;
++ }
++ ndr->offset = _relative_save_offset;
++ }
++ if (r->group_sid) {
++ uint32_t _relative_save_offset;
++ _relative_save_offset = ndr->offset;
++ NDR_CHECK(ndr_pull_relative_ptr2(ndr, r->group_sid));
++ _mem_save_group_sid_0 = NDR_PULL_GET_MEM_CTX(ndr);
++ NDR_PULL_SET_MEM_CTX(ndr, r->group_sid, 0);
++ NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_SCALARS, r->group_sid));
++ NDR_PULL_SET_MEM_CTX(ndr, _mem_save_group_sid_0, 0);
++ if (ndr->offset > ndr->relative_highest_offset) {
++ ndr->relative_highest_offset = ndr->offset;
++ }
++ ndr->offset = _relative_save_offset;
++ }
++ if (r->sacl) {
++ uint32_t _relative_save_offset;
++ _relative_save_offset = ndr->offset;
++ NDR_CHECK(ndr_pull_relative_ptr2(ndr, r->sacl));
++ _mem_save_sacl_0 = NDR_PULL_GET_MEM_CTX(ndr);
++ NDR_PULL_SET_MEM_CTX(ndr, r->sacl, 0);
++ NDR_CHECK(ndr_pull_security_acl(ndr,
++ NDR_SCALARS|NDR_BUFFERS,
++ r->sacl));
++ NDR_PULL_SET_MEM_CTX(ndr, _mem_save_sacl_0, 0);
++ if (ndr->offset > ndr->relative_highest_offset) {
++ ndr->relative_highest_offset = ndr->offset;
++ }
++ ndr->offset = _relative_save_offset;
++ }
++ if (r->dacl) {
++ uint32_t _relative_save_offset;
++ _relative_save_offset = ndr->offset;
++ NDR_CHECK(ndr_pull_relative_ptr2(ndr, r->dacl));
++ _mem_save_dacl_0 = NDR_PULL_GET_MEM_CTX(ndr);
++ NDR_PULL_SET_MEM_CTX(ndr, r->dacl, 0);
++ NDR_CHECK(ndr_pull_security_acl(ndr,
++ NDR_SCALARS|NDR_BUFFERS,
++ r->dacl));
++ NDR_PULL_SET_MEM_CTX(ndr, _mem_save_dacl_0, 0);
++ if (ndr->offset > ndr->relative_highest_offset) {
++ ndr->relative_highest_offset = ndr->offset;
++ }
++ ndr->offset = _relative_save_offset;
+ }
+- ndr->offset = _relative_save_offset;
+ }
+-
+ ndr->flags = _flags_save_STRUCT;
+ }
+ return NDR_ERR_SUCCESS;
+From d5809f6f41ec0dc3fd38f9e4ae917a38bf7dfa43 Mon Sep 17 00:00:00 2001
+From: Sumit Bose <sbose@redhat.com>
+Date: Thu, 28 May 2020 15:02:43 +0200
+Subject: [PATCH] ad_gpo_ndr.c: more ndr updates
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+This patch add another update to the ndr code which was previously
+updated by commit c031adde4f532f39845a0efd78693600f1f8b2f4 and
+1fdd8fa2fded1985fbfc6aa67394eebcdbb6a2fc.
+
+As missing update in ndr_pull_security_ace() cased
+a failure in ad_gpo_parse_sd(). A unit-test for ad_gpo_parse_sd() was
+added to prevent similar issues in future.
+
+Resolves: https://github.com/SSSD/sssd/issues/5183
+
+Reviewed-by: Pavel Březina <pbrezina@redhat.com>
+(cherry picked from commit a7c755672cd277497da3df4714f6d9457b6ac5ae)
+
+Reviewed-by: Pavel Březina <pbrezina@redhat.com>
+---
+ src/providers/ad/ad_gpo_ndr.c | 1 +
+ src/tests/cmocka/test_ad_gpo.c | 57 ++++++++++++++++++++++++++++++++++
+ 2 files changed, 58 insertions(+)
+
+diff --git a/src/providers/ad/ad_gpo_ndr.c b/src/providers/ad/ad_gpo_ndr.c
+index a64b1a0f84..9f040dfb03 100644
+--- a/src/providers/ad/ad_gpo_ndr.c
++++ b/src/providers/ad/ad_gpo_ndr.c
+@@ -317,6 +317,7 @@ ndr_pull_security_ace(struct ndr_pull *ndr,
+ ndr->offset += pad;
+ }
+ if (ndr_flags & NDR_BUFFERS) {
++ NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->object, r->type));
+ NDR_CHECK(ndr_pull_security_ace_object_ctr
+ (ndr, NDR_BUFFERS, &r->object));
+ }
+diff --git a/src/tests/cmocka/test_ad_gpo.c b/src/tests/cmocka/test_ad_gpo.c
+index 0589adcc3d..97dbe01794 100644
+--- a/src/tests/cmocka/test_ad_gpo.c
++++ b/src/tests/cmocka/test_ad_gpo.c
+@@ -329,6 +329,60 @@ void test_ad_gpo_ace_includes_client_sid_false(void **state)
+ ace_dom_sid, false);
+ }
+
++uint8_t test_sid_data[] = {
++0x01, 0x00, 0x04, 0x9c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
++0x14, 0x00, 0x00, 0x00, 0x04, 0x00, 0x34, 0x01, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x24, 0x00,
++0xbd, 0x00, 0x0e, 0x00, 0x01, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x15, 0x00, 0x00, 0x00,
++0xda, 0x0e, 0xba, 0x60, 0x0f, 0xa2, 0xf4, 0x55, 0xb5, 0x57, 0x47, 0xf8, 0x00, 0x02, 0x00, 0x00,
++0x00, 0x0a, 0x24, 0x00, 0xff, 0x00, 0x0f, 0x00, 0x01, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05,
++0x15, 0x00, 0x00, 0x00, 0xda, 0x0e, 0xba, 0x60, 0x0f, 0xa2, 0xf4, 0x55, 0xb5, 0x57, 0x47, 0xf8,
++0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x24, 0x00, 0xbd, 0x00, 0x0e, 0x00, 0x01, 0x05, 0x00, 0x00,
++0x00, 0x00, 0x00, 0x05, 0x15, 0x00, 0x00, 0x00, 0xda, 0x0e, 0xba, 0x60, 0x0f, 0xa2, 0xf4, 0x55,
++0xb5, 0x57, 0x47, 0xf8, 0x07, 0x02, 0x00, 0x00, 0x00, 0x0a, 0x24, 0x00, 0xff, 0x00, 0x0f, 0x00,
++0x01, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x15, 0x00, 0x00, 0x00, 0xda, 0x0e, 0xba, 0x60,
++0x0f, 0xa2, 0xf4, 0x55, 0xb5, 0x57, 0x47, 0xf8, 0x07, 0x02, 0x00, 0x00, 0x00, 0x00, 0x24, 0x00,
++0xbd, 0x00, 0x0e, 0x00, 0x01, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x15, 0x00, 0x00, 0x00,
++0xda, 0x0e, 0xba, 0x60, 0x0f, 0xa2, 0xf4, 0x55, 0xb5, 0x57, 0x47, 0xf8, 0x00, 0x02, 0x00, 0x00,
++0x00, 0x0a, 0x14, 0x00, 0xff, 0x00, 0x0f, 0x00, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03,
++0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x14, 0x00, 0xff, 0x00, 0x0f, 0x00, 0x01, 0x01, 0x00, 0x00,
++0x00, 0x00, 0x00, 0x05, 0x12, 0x00, 0x00, 0x00, 0x00, 0x02, 0x14, 0x00, 0x94, 0x00, 0x02, 0x00,
++0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x0b, 0x00, 0x00, 0x00, 0x05, 0x02, 0x28, 0x00,
++0x00, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x8f, 0xfd, 0xac, 0xed, 0xb3, 0xff, 0xd1, 0x11,
++0xb4, 0x1d, 0x00, 0xa0, 0xc9, 0x68, 0xf9, 0x39, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05,
++0x0b, 0x00, 0x00, 0x00, 0x00, 0x02, 0x14, 0x00, 0x94, 0x00, 0x02, 0x00, 0x01, 0x01, 0x00, 0x00,
++0x00, 0x00, 0x00, 0x05, 0x09, 0x00, 0x00, 0x00
++};
++
++void test_ad_gpo_parse_sd(void **state)
++{
++ int ret;
++ struct security_descriptor *sd = NULL;
++
++ ret = ad_gpo_parse_sd(test_ctx, NULL, 0, &sd);
++ assert_int_equal(ret, EINVAL);
++
++ ret = ad_gpo_parse_sd(test_ctx, test_sid_data, sizeof(test_sid_data), &sd);
++ assert_int_equal(ret, EOK);
++ assert_non_null(sd);
++ assert_int_equal(sd->revision, 1);
++ assert_int_equal(sd->type, 39940);
++ assert_null(sd->owner_sid);
++ assert_null(sd->group_sid);
++ assert_null(sd->sacl);
++ assert_non_null(sd->dacl);
++ assert_int_equal(sd->dacl->revision, 4);
++ assert_int_equal(sd->dacl->size, 308);
++ assert_int_equal(sd->dacl->num_aces, 10);
++ assert_int_equal(sd->dacl->aces[0].type, 0);
++ assert_int_equal(sd->dacl->aces[0].flags, 0);
++ assert_int_equal(sd->dacl->aces[0].size, 36);
++ assert_int_equal(sd->dacl->aces[0].access_mask, 917693);
++ /* There are more components and ACEs in the security_descriptor struct
++ * which are not checked here. */
++
++ talloc_free(sd);
++}
++
+ int main(int argc, const char *argv[])
+ {
+ poptContext pc;
+@@ -364,6 +418,9 @@ int main(int argc, const char *argv[])
+ cmocka_unit_test_setup_teardown(test_ad_gpo_ace_includes_client_sid_false,
+ ad_gpo_test_setup,
+ ad_gpo_test_teardown),
++ cmocka_unit_test_setup_teardown(test_ad_gpo_parse_sd,
++ ad_gpo_test_setup,
++ ad_gpo_test_teardown),
+ };
+
+ /* Set debug level to invalid value so we can decide if -d 0 was used. */
diff --git a/gnu/packages/patches/supertux-unbundle-squirrel.patch b/gnu/packages/patches/supertux-unbundle-squirrel.patch
index 054183b75f..f504aacfdd 100644
--- a/gnu/packages/patches/supertux-unbundle-squirrel.patch
+++ b/gnu/packages/patches/supertux-unbundle-squirrel.patch
@@ -1,9 +1,8 @@
-diff -ur a/CMakeLists.txt b/CMakeLists.txt
---- a/CMakeLists.txt 2019-05-24 17:58:19.693090158 -0400
-+++ b/CMakeLists.txt 2019-05-24 17:57:43.349473252 -0400
-@@ -375,44 +375,15 @@
-
- include(ConfigureChecks)
+--- a/CMakeLists.txt 2022-01-05 18:51:17.828392874 +0100
++++ b/CMakeLists.txt 2022-01-05 18:54:50.826717830 +0100
+@@ -487,48 +487,15 @@
+ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/ppc)
+ endif()
-
-## Also build external/squirrel
@@ -15,6 +14,9 @@ diff -ur a/CMakeLists.txt b/CMakeLists.txt
set(SQUIRREL_PREFIX ${CMAKE_BINARY_DIR}/squirrel/ex)
-ExternalProject_Add(squirrel
- SOURCE_DIR "${CMAKE_SOURCE_DIR}/external/squirrel/"
+- BUILD_BYPRODUCTS
+- "${SQUIRREL_PREFIX}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}sqstdlib_static${CMAKE_STATIC_LIBRARY_SUFFIX}"
+- "${SQUIRREL_PREFIX}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}squirrel_static${CMAKE_STATIC_LIBRARY_SUFFIX}"
- CMAKE_ARGS
- -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
- -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
@@ -22,7 +24,8 @@ diff -ur a/CMakeLists.txt b/CMakeLists.txt
- -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
- -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS}
- -DCMAKE_INSTALL_PREFIX=${SQUIRREL_PREFIX}
-- -DINSTALL_INC_DIR=include)
+- -DINSTALL_INC_DIR=include
+- -DCMAKE_POSITION_INDEPENDENT_CODE=ON)
-
-if(WIN32)
- add_library(squirrel_lib SHARED IMPORTED)
diff --git a/gnu/packages/patches/tensorflow-c-api-fix.patch b/gnu/packages/patches/tensorflow-c-api-fix.patch
new file mode 100644
index 0000000000..7f39b9f60f
--- /dev/null
+++ b/gnu/packages/patches/tensorflow-c-api-fix.patch
@@ -0,0 +1,312 @@
+From eb61daae91432be0b07bb2f6854887bedfa6fc95 Mon Sep 17 00:00:00 2001
+From: Asim Shankar <ashankar@google.com>
+Date: Tue, 26 Jun 2018 00:57:33 -0700
+Subject: [PATCH] [C API]: Bugfix for TF_AddGradients.
+
+TF_AddGradients could create nodes in the graph with names that conflicted with
+other nodes in the graph. This would most clearly happen if TF_AddGradients()
+was called twice on the same graph, and could also happen if there were other
+nodes in the graph that happened to have "gradients" as a prefix of their name.
+
+Fix that.
+
+The added test in c_api_test.cc would fail in the call to TF_SessionRun() with
+ Node 'gradients/OnesLike' is not unique
+without the changes to c_api.cc and c_api_internal.h
+
+While at it, also fixed a possible name collision bug when using the C++ API
+to constructor graphs (using Scope).
+
+Thanks @karllessard for pointing this out.
+
+PiperOrigin-RevId: 202087996
+---
+ tensorflow/c/c_api.cc | 13 ++++-
+ tensorflow/c/c_api_test.cc | 65 ++++++++++++++++++++++--
+ tensorflow/c/c_test_util.cc | 7 +++
+ tensorflow/c/c_test_util.h | 3 ++
+ tensorflow/cc/framework/scope.cc | 30 ++++++++---
+ tensorflow/cc/framework/scope_internal.h | 3 +-
+ tensorflow/cc/framework/scope_test.cc | 10 ++++
+ 7 files changed, 116 insertions(+), 15 deletions(-)
+
+diff --git a/tensorflow/c/c_api.cc b/tensorflow/c/c_api.cc
+index 09a03639d6fa3..37c8302e08bc3 100644
+--- a/tensorflow/c/c_api.cc
++++ b/tensorflow/c/c_api.cc
+@@ -2414,7 +2414,18 @@ void TF_AddGradients(TF_Graph* g, TF_Output* y, int ny, TF_Output* x, int nx,
+ for (int i = first_new_node_id; i < g->graph.num_node_ids(); ++i) {
+ Node* n = g->graph.FindNodeId(i);
+ if (n == nullptr) continue;
+- g->name_map[n->name()] = n;
++ // We have a convoluted scheme here: Using the C++ graph construction API
++ // to add potentially many nodes to the graph without running the checks
++ // (such as uniqueness of the names of nodes) we run with other functions
++ // that add a node to the graph (like TF_FinishOperation).
++ if (!g->name_map.insert(std::make_pair(n->name(), n)).second) {
++ status->status = tensorflow::errors::Internal(
++ "BUG: The API allowed construction of a graph with duplicate node "
++ "names (",
++ n->name(),
++ "). This is a bug. Please file an issue at "
++ "https://github.com/tensorflow/tensorflow/issues.");
++ }
+ }
+ }
+
+diff --git a/tensorflow/c/c_api_test.cc b/tensorflow/c/c_api_test.cc
+index 577f10c5e69ea..bc04b53fbb7fa 100644
+--- a/tensorflow/c/c_api_test.cc
++++ b/tensorflow/c/c_api_test.cc
+@@ -1160,7 +1160,7 @@ TEST(CAPI, GetOpDef) {
+ }
+
+ void StringVectorToArrays(const std::vector<string>& v,
+- std::unique_ptr<const void* []>* ptrs,
++ std::unique_ptr<const void*[]>* ptrs,
+ std::unique_ptr<size_t[]>* lens) {
+ ptrs->reset(new const void*[v.size()]);
+ lens->reset(new size_t[v.size()]);
+@@ -1196,7 +1196,7 @@ class CApiColocationTest : public ::testing::Test {
+
+ void SetViaStringList(TF_OperationDescription* desc,
+ const std::vector<string>& list) {
+- std::unique_ptr<const void* []> list_ptrs;
++ std::unique_ptr<const void*[]> list_ptrs;
+ std::unique_ptr<size_t[]> list_lens;
+ StringVectorToArrays(list, &list_ptrs, &list_lens);
+ TF_SetAttrStringList(desc, tensorflow::kColocationAttrName, list_ptrs.get(),
+@@ -1700,6 +1700,61 @@ TEST_F(CApiGradientsTest, OpWithNoGradientRegistered_NoGradInputs) {
+ TestGradientsError(false);
+ }
+
++void ScalarFloatFromTensor(const TF_Tensor* t, float* f) {
++ ASSERT_TRUE(t != nullptr);
++ ASSERT_EQ(TF_FLOAT, TF_TensorType(t));
++ ASSERT_EQ(0, TF_NumDims(t));
++ ASSERT_EQ(4, TF_TensorByteSize(t));
++ float* p = static_cast<float*>(TF_TensorData(t));
++ *f = *p;
++}
++
++TEST_F(CApiGradientsTest, MultipleCallsToAddGradients) {
++ const float X = 3.0f, Y = 7.0f;
++ TF_Operation* x = Placeholder(graph_, s_, "x", TF_FLOAT);
++ TF_Operation* y = Placeholder(graph_, s_, "y", TF_FLOAT);
++ TF_Operation* xy = Mul(x, y, graph_, s_, "xy");
++ TF_Output dxy_dx, dxy_dy;
++
++ TF_Output outputs[1] = {{xy, 0}};
++ TF_Output inputs[1] = {{x, 0}};
++ TF_AddGradients(graph_, outputs, 1, inputs, 1, nullptr, s_, &dxy_dx);
++ ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
++
++ inputs[0] = {y, 0};
++ TF_AddGradients(graph_, outputs, 1, inputs, 1, nullptr, s_, &dxy_dy);
++ ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
++
++ TF_SessionOptions* opts = TF_NewSessionOptions();
++ TF_Session* sess = TF_NewSession(graph_, opts, s_);
++ TF_DeleteSessionOptions(opts);
++ ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
++
++ TF_Output feeds[] = {{x, 0}, {y, 0}};
++ TF_Tensor* feedValues[] = {FloatTensor(X), FloatTensor(Y)};
++ TF_Output fetches[] = {dxy_dx, dxy_dy};
++ TF_Tensor* fetchValues[] = {nullptr, nullptr};
++
++ TF_SessionRun(sess, nullptr /* run_options */, feeds, feedValues, 2, fetches,
++ fetchValues, 2, nullptr /* target_opers */, 0,
++ nullptr /* run_metadata */, s_);
++ TF_DeleteTensor(feedValues[0]);
++ TF_DeleteTensor(feedValues[1]);
++ ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
++ TF_DeleteSession(sess, s_);
++ ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
++
++ float dxy_dxValue = 0.0f, dxy_dyValue = 0.0f;
++ ScalarFloatFromTensor(fetchValues[0], &dxy_dxValue);
++ EXPECT_EQ(Y, dxy_dxValue);
++
++ ScalarFloatFromTensor(fetchValues[1], &dxy_dyValue);
++ EXPECT_EQ(X, dxy_dyValue);
++
++ TF_DeleteTensor(fetchValues[0]);
++ TF_DeleteTensor(fetchValues[1]);
++}
++
+ // REGISTER_OP for CApiAttributesTest test cases.
+ // Registers two ops, each with a single attribute called 'v'.
+ // The attribute in one op will have a type 'type', the other
+@@ -1784,7 +1839,7 @@ TEST_F(CApiAttributesTest, String) {
+
+ TEST_F(CApiAttributesTest, StringList) {
+ std::vector<string> list = {"bugs", "bunny", "duck"};
+- std::unique_ptr<const void* []> list_ptrs;
++ std::unique_ptr<const void*[]> list_ptrs;
+ std::unique_ptr<size_t[]> list_lens;
+ StringVectorToArrays(list, &list_ptrs, &list_lens);
+ int list_total_size = 0;
+@@ -1800,7 +1855,7 @@ TEST_F(CApiAttributesTest, StringList) {
+ ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
+
+ EXPECT_TF_META("v", list.size(), TF_ATTR_STRING, list_total_size);
+- std::unique_ptr<void* []> values(new void*[list.size()]);
++ std::unique_ptr<void*[]> values(new void*[list.size()]);
+ std::unique_ptr<size_t[]> lens(new size_t[list.size()]);
+ std::unique_ptr<char[]> storage(new char[list_total_size]);
+ TF_OperationGetAttrStringList(oper, "v", values.get(), lens.get(),
+@@ -2025,7 +2080,7 @@ TEST_F(CApiAttributesTest, TensorShapeProtoList) {
+ tensorflow::PartialTensorShape(pts2).AsProto(&proto);
+ proto.SerializeToString(&bytes2);
+
+- std::unique_ptr<const void* []> list_ptrs;
++ std::unique_ptr<const void*[]> list_ptrs;
+ std::unique_ptr<size_t[]> list_lens;
+ const std::vector<string> list = {bytes1, bytes2};
+ StringVectorToArrays(list, &list_ptrs, &list_lens);
+diff --git a/tensorflow/c/c_test_util.cc b/tensorflow/c/c_test_util.cc
+index f3b28c1708129..24eb6c069b213 100644
+--- a/tensorflow/c/c_test_util.cc
++++ b/tensorflow/c/c_test_util.cc
+@@ -216,6 +216,13 @@ TF_Operation* Min(TF_Operation* l, TF_Operation* r, TF_Graph* graph,
+ return MinWithDevice(l, r, graph, /*op_device=*/"", s, name);
+ }
+
++TF_Operation* Mul(TF_Operation* l, TF_Operation* r, TF_Graph* graph,
++ TF_Status* s, const char* name) {
++ TF_Operation* op;
++ BinaryOpHelper("Mul", l, r, graph, s, name, &op, "", true);
++ return op;
++}
++
+ TF_Operation* Add(TF_Output l, TF_Output r, TF_Graph* graph, TF_Status* s,
+ const char* name) {
+ TF_OperationDescription* desc = TF_NewOperation(graph, "AddN", name);
+diff --git a/tensorflow/c/c_test_util.h b/tensorflow/c/c_test_util.h
+index c16aba666ee69..38313d647ca93 100644
+--- a/tensorflow/c/c_test_util.h
++++ b/tensorflow/c/c_test_util.h
+@@ -80,6 +80,9 @@ TF_Operation* Add(TF_Output l, TF_Output r, TF_Graph* graph, TF_Status* s,
+ TF_Operation* Min(TF_Operation* l, TF_Operation* r, TF_Graph* graph,
+ TF_Status* s, const char* name = "min");
+
++TF_Operation* Mul(TF_Operation* l, TF_Operation* r, TF_Graph* graph,
++ TF_Status* s, const char* name = "mul");
++
+ // If `op_device` is non-empty, set the created op on that device.
+ TF_Operation* MinWithDevice(TF_Operation* l, TF_Operation* r, TF_Graph* graph,
+ const string& op_device, TF_Status* s,
+diff --git a/tensorflow/cc/framework/scope.cc b/tensorflow/cc/framework/scope.cc
+index 62a889181e787..8c886f31711eb 100644
+--- a/tensorflow/cc/framework/scope.cc
++++ b/tensorflow/cc/framework/scope.cc
+@@ -37,6 +37,11 @@ Scope& Scope::operator=(const Scope& other) {
+ return *this;
+ }
+
++namespace {
++const char kScopeSeparator[] = "/";
++const char kSuffixSeparator[] = "_";
++} // namespace
++
+ Scope::Impl::Impl(Graph* graph, Status* status, NameMap* name_map,
+ ShapeRefiner* refiner, bool disable_shape_inference)
+ : graph_(graph),
+@@ -308,19 +313,23 @@ string Scope::Impl::GetUniqueName(const string& prefix,
+ return prefix;
+ }
+ auto entry = name_map_->find(prefix);
+- string unique_name = prefix;
+ if (entry == name_map_->end()) {
+ name_map_->insert({prefix, 0});
+- } else {
+- unique_name = strings::StrCat(unique_name, "_", ++entry->second);
++ return prefix;
+ }
++ string unique_name;
++ do {
++ unique_name = strings::StrCat(prefix, kSuffixSeparator, ++entry->second);
++ } while (name_map_->find(unique_name) != name_map_->end());
++ name_map_->insert({unique_name, 0});
+ return unique_name;
+ }
+
+ string Scope::Impl::GetNameForOp(const string& default_name) const {
+ const string unique_name =
+ GetUniqueName(default_name, true /* check_single_use */);
+- const string sep = name_.empty() || unique_name.empty() ? "" : "/";
++ const string sep =
++ name_.empty() || unique_name.empty() ? "" : kScopeSeparator;
+ return strings::StrCat(name_, sep, unique_name);
+ }
+
+@@ -345,7 +354,8 @@ Scope Scope::NewSubScope(const string& child_scope_name) const {
+ }
+ const string unique_name =
+ impl()->GetUniqueName(child_scope_name, false /* check_single_use */);
+- const string sep = impl()->name_.empty() || unique_name.empty() ? "" : "/";
++ const string sep =
++ impl()->name_.empty() || unique_name.empty() ? "" : kScopeSeparator;
+ return Scope(new Impl(*this, Impl::Tags::ScopeName(),
+ strings::StrCat(impl()->name_, sep, unique_name),
+ false /* copy_names */));
+@@ -412,7 +422,7 @@ CompositeOpScopes Scope::GetCompositeOpScopes(
+ if (!impl()->single_use_scope()) {
+ Scope child = NewSubScope(impl()->op_name_.empty() ? composite_op_name
+ : impl()->op_name_);
+- const string child_op_sep = impl()->name_.empty() ? "" : "_";
++ const string child_op_sep = impl()->name_.empty() ? "" : kSuffixSeparator;
+ const string child_name =
+ strings::StrCat(impl()->name_, child_op_sep, child.impl()->name_);
+ return {child,
+@@ -435,7 +445,13 @@ class InternalScope {
+ static Scope NewScope(Graph* graph, Status* status, ShapeRefiner* refiner) {
+ Scope::Impl::NameMap* name_map = new Scope::Impl::NameMap;
+ for (const Node* node : graph->nodes()) {
+- (*name_map)[node->name()] = 0;
++ const string& name = node->name();
++ (*name_map)[name] = 0;
++ // Add all name prefixes ('/' separated).
++ size_t idx = -1;
++ while ((idx = name.find(kScopeSeparator, idx + 1)) != string::npos) {
++ (*name_map)[name.substr(0, idx)] = 0;
++ }
+ }
+ // We provide null destructors for these shared ptrs (except for name_map)
+ // since the caller owns them and doesn't want the scope to destroy them.
+diff --git a/tensorflow/cc/framework/scope_internal.h b/tensorflow/cc/framework/scope_internal.h
+index 8efcfed20d0b8..58adaef2e942a 100644
+--- a/tensorflow/cc/framework/scope_internal.h
++++ b/tensorflow/cc/framework/scope_internal.h
+@@ -34,8 +34,7 @@ class Scope::Impl {
+ // name that has not been used so far in a scope will get no suffix. Later
+ // uses of the same name will get suffixes _1, _2, _3, etc. Multiple scopes
+ // can share the same NameMap. For instance, a new scope created using
+- // WithControlDependencies() should would share the same NameMap with the
+- // parent.
++ // WithControlDependencies() would share the same NameMap with the parent.
+ typedef std::unordered_map<string, int> NameMap;
+
+ Impl(const std::shared_ptr<Graph>& graph,
+diff --git a/tensorflow/cc/framework/scope_test.cc b/tensorflow/cc/framework/scope_test.cc
+index 9eca9d3face34..b40b345eb8423 100644
+--- a/tensorflow/cc/framework/scope_test.cc
++++ b/tensorflow/cc/framework/scope_test.cc
+@@ -26,6 +26,16 @@ TEST(ScopeTest, BasicNames) {
+ EXPECT_EQ(root.GetUniqueNameForOp("mul"), "mul");
+ }
+
++TEST(ScopeTest, OpAndScopeNameCollision) {
++ Scope root = Scope::NewRootScope();
++ EXPECT_EQ(root.GetUniqueNameForOp("foo"), "foo");
++ EXPECT_EQ(root.GetUniqueNameForOp("foo"), "foo_1");
++ EXPECT_EQ(root.GetUniqueNameForOp("foo_1"), "foo_1_1");
++ EXPECT_EQ(root.GetUniqueNameForOp("foo_2"), "foo_2");
++ EXPECT_EQ(root.GetUniqueNameForOp("foo"), "foo_3");
++ EXPECT_EQ(root.GetUniqueNameForOp("foo_2"), "foo_2_1");
++}
++
+ TEST(ScopeTest, HierarchicalNames) {
+ Scope root = Scope::NewRootScope();
+ Scope child = root.NewSubScope("child");
diff --git a/gnu/packages/patches/tootle-glib-object-naming.patch b/gnu/packages/patches/tootle-glib-object-naming.patch
new file mode 100644
index 0000000000..08ee23dd8f
--- /dev/null
+++ b/gnu/packages/patches/tootle-glib-object-naming.patch
@@ -0,0 +1,66 @@
+From 0816105028c26965e37c9afc7c598854f3fecde1 Mon Sep 17 00:00:00 2001
+From: Clayton Craft <clayton@craftyguy.net>
+Date: Tue, 26 Oct 2021 15:03:25 -0700
+Subject: [PATCH] Adhere to GLib.Object naming conventions for properties
+
+Vala now validates property names against GLib.Object conventions, this
+fixes a compilation error as a result of this enforcement:
+
+../src/API/Status.vala:27.5-27.23: error: Name `_url' is not valid for a GLib.Object property
+ public string? _url { get; set; }
+ ^^^^^^^^^^^^^^^^^^^
+
+Relevant Vala change:
+https://gitlab.gnome.org/GNOME/vala/-/commit/38d61fbff037687ea4772e6df85c7e22a74b335e
+
+fixes #337
+
+Signed-off-by: Clayton Craft <clayton@craftyguy.net>
+---
+ src/API/Attachment.vala | 6 +++---
+ src/API/Status.vala | 8 ++++----
+ 2 files changed, 7 insertions(+), 7 deletions(-)
+
+diff --git a/src/API/Attachment.vala b/src/API/Attachment.vala
+index 88bc5bb..35c4018 100644
+--- a/src/API/Attachment.vala
++++ b/src/API/Attachment.vala
+@@ -4,10 +4,10 @@ public class Tootle.API.Attachment : Entity, Widgetizable {
+ public string kind { get; set; default = "unknown"; }
+ public string url { get; set; }
+ public string? description { get; set; }
+- public string? _preview_url { get; set; }
++ private string? t_preview_url { get; set; }
+ public string? preview_url {
+- set { this._preview_url = value; }
+- get { return (this._preview_url == null || this._preview_url == "") ? url : _preview_url; }
++ set { this.t_preview_url = value; }
++ get { return (this.t_preview_url == null || this.t_preview_url == "") ? url : t_preview_url; }
+ }
+
+ public File? source_file { get; set; }
+diff --git a/src/API/Status.vala b/src/API/Status.vala
+index 4f92cdb..00e8a9f 100644
+--- a/src/API/Status.vala
++++ b/src/API/Status.vala
+@@ -28,16 +28,16 @@ public class Tootle.API.Status : Entity, Widgetizable {
+ public ArrayList<API.Mention>? mentions { get; set; default = null; }
+ public ArrayList<API.Attachment>? media_attachments { get; set; default = null; }
+
+- public string? _url { get; set; }
++ private string? t_url { get; set; }
+ public string url {
+ owned get { return this.get_modified_url (); }
+- set { this._url = value; }
++ set { this.t_url = value; }
+ }
+ string get_modified_url () {
+- if (this._url == null) {
++ if (this.t_url == null) {
+ return this.uri.replace ("/activity", "");
+ }
+- return this._url;
++ return this.t_url;
+ }
+
+ public Status formal {
diff --git a/gnu/packages/patches/tootle-reason-phrase.patch b/gnu/packages/patches/tootle-reason-phrase.patch
new file mode 100644
index 0000000000..72a1d1ecfa
--- /dev/null
+++ b/gnu/packages/patches/tootle-reason-phrase.patch
@@ -0,0 +1,48 @@
+From 858ee78fbebe161a4cdd707a469dc0f045211a51 Mon Sep 17 00:00:00 2001
+From: Max Harmathy <harmathy@mailbox.org>
+Date: Wed, 25 Aug 2021 13:05:58 +0200
+Subject: [PATCH] Use reason_phrase instead of get_phrase
+
+---
+ src/Services/Cache.vala | 2 +-
+ src/Services/Network.vala | 7 +------
+ 2 files changed, 2 insertions(+), 7 deletions(-)
+
+diff --git a/src/Services/Cache.vala b/src/Services/Cache.vala
+index 2251697..2ed314e 100644
+--- a/src/Services/Cache.vala
++++ b/src/Services/Cache.vala
+@@ -88,7 +88,7 @@ public class Tootle.Cache : GLib.Object {
+ try {
+ var code = msg.status_code;
+ if (code != Soup.Status.OK) {
+- var error = network.describe_error (code);
++ var error = msg.reason_phrase;
+ throw new Oopsie.INSTANCE (@"Server returned $error");
+ }
+
+diff --git a/src/Services/Network.vala b/src/Services/Network.vala
+index fa2839c..d0143b0 100644
+--- a/src/Services/Network.vala
++++ b/src/Services/Network.vala
+@@ -56,7 +56,7 @@ public class Tootle.Network : GLib.Object {
+ else if (status == Soup.Status.CANCELLED)
+ debug ("Message is cancelled. Ignoring callback invocation.");
+ else
+- ecb ((int32) status, describe_error ((int32) status));
++ ecb ((int32) status, msg.reason_phrase);
+ });
+ }
+ catch (Error e) {
+@@ -65,11 +65,6 @@ public class Tootle.Network : GLib.Object {
+ }
+ }
+
+- public string describe_error (uint code) {
+- var reason = Soup.Status.get_phrase (code);
+- return @"$code: $reason";
+- }
+-
+ public void on_error (int32 code, string message) {
+ warning (message);
+ app.toast (message);
diff --git a/gnu/packages/patches/tremc-fix-decodestring.patch b/gnu/packages/patches/tremc-fix-decodestring.patch
new file mode 100644
index 0000000000..346f65e611
--- /dev/null
+++ b/gnu/packages/patches/tremc-fix-decodestring.patch
@@ -0,0 +1,25 @@
+From 79995bc82e81f0429222aab4d90a03440feef057 Mon Sep 17 00:00:00 2001
+From: Matan Ziv-Av <matan@svgalib.org>
+Date: Mon, 29 Jun 2020 15:18:03 +0300
+Subject: [PATCH] Use base64.decodebytes.
+
+Based on upstream commit 79995bc82e81f0429222aab4d90a03440feef057 which
+confuses several unrelated changes.
+
+---
+ tremc | 29 ++++++++++++++++++++++++++++-
+ 1 file changed, 28 insertions(+), 1 deletion(-)
+
+diff --git a/tremc b/tremc
+index b47f012..c626fde 100755
+--- a/tremc
++++ b/tremc
+@@ -440,7 +443,7 @@ class Transmission(object):
+ # TAG_TORRENT_DETAILS, but just passing seems to help.(?)
+ try:
+ torrent_details = response['arguments']['torrents'][0]
+- torrent_details['pieces'] = base64.decodestring(bytes(torrent_details['pieces'], ENCODING))
++ torrent_details['pieces'] = base64.decodebytes(bytes(torrent_details['pieces'], ENCODING))
+ self.torrent_details_cache = torrent_details
+ self.upgrade_peerlist()
+ except IndexError:
diff --git a/gnu/packages/patches/ungoogled-chromium-system-ffmpeg.patch b/gnu/packages/patches/ungoogled-chromium-system-ffmpeg.patch
new file mode 100644
index 0000000000..1472206b02
--- /dev/null
+++ b/gnu/packages/patches/ungoogled-chromium-system-ffmpeg.patch
@@ -0,0 +1,18 @@
+Alias the av_stream_get_first_dts definition added by Chromium in
+their bundled fork.
+
+Taken from Arch Linux:
+
+ https://github.com/archlinux/svntogit-packages/blob/38fd5d2f2e0ade932aa7a80b7dea26215fc41854/trunk/unbundle-ffmpeg-av_stream_get_first_dts.patch
+
+diff --git a/build/linux/unbundle/ffmpeg.gn b/build/linux/unbundle/ffmpeg.gn
+--- a/build/linux/unbundle/ffmpeg.gn
++++ b/build/linux/unbundle/ffmpeg.gn
+@@ -12,6 +12,7 @@ pkg_config("system_ffmpeg") {
+ "libavformat",
+ "libavutil",
+ ]
++ defines = [ "av_stream_get_first_dts(stream)=stream->first_dts" ]
+ }
+
+ buildflag_header("ffmpeg_features") {
diff --git a/gnu/packages/patches/widelands-add-missing-map-include.patch b/gnu/packages/patches/widelands-add-missing-map-include.patch
new file mode 100644
index 0000000000..633731bea2
--- /dev/null
+++ b/gnu/packages/patches/widelands-add-missing-map-include.patch
@@ -0,0 +1,28 @@
+From 316eaea209754368a57f445ea4dd016ecf8eded6 Mon Sep 17 00:00:00 2001
+From: matthiakl <t-m.42@mailpost.spdns.org>
+Date: Sat, 14 Aug 2021 19:24:08 +0200
+Subject: [PATCH] Added missing direct incude (#5025)
+
+---
+This patch is from
+https://github.com/widelands/widelands/pull/5025
+which has been merged after the release of Widelands 1.0.
+
+ src/network/bufferedconnection.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/network/bufferedconnection.h b/src/network/bufferedconnection.h
+index fe974b9e..7e1ecf87 100644
+--- a/src/network/bufferedconnection.h
++++ b/src/network/bufferedconnection.h
+@@ -20,6 +20,7 @@
+ #ifndef WL_NETWORK_BUFFEREDCONNECTION_H
+ #define WL_NETWORK_BUFFEREDCONNECTION_H
+
++#include <map>
+ #include <memory>
+ #include <mutex>
+ #include <thread>
+--
+2.30.2
+
diff --git a/gnu/packages/patches/wpa-supplicant-CVE-2021-27803.patch b/gnu/packages/patches/wpa-supplicant-CVE-2021-27803.patch
deleted file mode 100644
index 1942bb3d55..0000000000
--- a/gnu/packages/patches/wpa-supplicant-CVE-2021-27803.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From 8460e3230988ef2ec13ce6b69b687e941f6cdb32 Mon Sep 17 00:00:00 2001
-From: Jouni Malinen <jouni@codeaurora.org>
-Date: Tue, 8 Dec 2020 23:52:50 +0200
-Subject: [PATCH] P2P: Fix a corner case in peer addition based on PD Request
-
-p2p_add_device() may remove the oldest entry if there is no room in the
-peer table for a new peer. This would result in any pointer to that
-removed entry becoming stale. A corner case with an invalid PD Request
-frame could result in such a case ending up using (read+write) freed
-memory. This could only by triggered when the peer table has reached its
-maximum size and the PD Request frame is received from the P2P Device
-Address of the oldest remaining entry and the frame has incorrect P2P
-Device Address in the payload.
-
-Fix this by fetching the dev pointer again after having called
-p2p_add_device() so that the stale pointer cannot be used.
-
-Fixes: 17bef1e97a50 ("P2P: Add peer entry based on Provision Discovery Request")
-Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
----
- src/p2p/p2p_pd.c | 12 +++++-------
- 1 file changed, 5 insertions(+), 7 deletions(-)
-
-diff --git a/src/p2p/p2p_pd.c b/src/p2p/p2p_pd.c
-index 3994ec03f86b..05fd593494ef 100644
---- a/src/p2p/p2p_pd.c
-+++ b/src/p2p/p2p_pd.c
-@@ -595,14 +595,12 @@ void p2p_process_prov_disc_req(struct p2p_data *p2p, const u8 *sa,
- goto out;
- }
-
-+ dev = p2p_get_device(p2p, sa);
- if (!dev) {
-- dev = p2p_get_device(p2p, sa);
-- if (!dev) {
-- p2p_dbg(p2p,
-- "Provision Discovery device not found "
-- MACSTR, MAC2STR(sa));
-- goto out;
-- }
-+ p2p_dbg(p2p,
-+ "Provision Discovery device not found "
-+ MACSTR, MAC2STR(sa));
-+ goto out;
- }
- } else if (msg.wfd_subelems) {
- wpabuf_free(dev->info.wfd_subelems);
---
-2.25.1
-
diff --git a/gnu/packages/patches/wpa-supplicant-CVE-2021-30004.patch b/gnu/packages/patches/wpa-supplicant-CVE-2021-30004.patch
deleted file mode 100644
index 8c8ba93355..0000000000
--- a/gnu/packages/patches/wpa-supplicant-CVE-2021-30004.patch
+++ /dev/null
@@ -1,115 +0,0 @@
-From a0541334a6394f8237a4393b7372693cd7e96f15 Mon Sep 17 00:00:00 2001
-From: Jouni Malinen <j@w1.fi>
-Date: Sat, 13 Mar 2021 18:19:31 +0200
-Subject: ASN.1: Validate DigestAlgorithmIdentifier parameters
-
-The supported hash algorithms do not use AlgorithmIdentifier parameters.
-However, there are implementations that include NULL parameters in
-addition to ones that omit the parameters. Previous implementation did
-not check the parameters value at all which supported both these cases,
-but did not reject any other unexpected information.
-
-Use strict validation of digest algorithm parameters and reject any
-unexpected value when validating a signature. This is needed to prevent
-potential forging attacks.
-
-Signed-off-by: Jouni Malinen <j@w1.fi>
----
- src/tls/pkcs1.c | 21 +++++++++++++++++++++
- src/tls/x509v3.c | 20 ++++++++++++++++++++
- 2 files changed, 41 insertions(+)
-
-diff --git a/src/tls/pkcs1.c b/src/tls/pkcs1.c
-index bbdb0d7..5761dfe 100644
---- a/src/tls/pkcs1.c
-+++ b/src/tls/pkcs1.c
-@@ -244,6 +244,8 @@ int pkcs1_v15_sig_ver(struct crypto_public_key *pk,
- os_free(decrypted);
- return -1;
- }
-+ wpa_hexdump(MSG_MSGDUMP, "PKCS #1: DigestInfo",
-+ hdr.payload, hdr.length);
-
- pos = hdr.payload;
- end = pos + hdr.length;
-@@ -265,6 +267,8 @@ int pkcs1_v15_sig_ver(struct crypto_public_key *pk,
- os_free(decrypted);
- return -1;
- }
-+ wpa_hexdump(MSG_MSGDUMP, "PKCS #1: DigestAlgorithmIdentifier",
-+ hdr.payload, hdr.length);
- da_end = hdr.payload + hdr.length;
-
- if (asn1_get_oid(hdr.payload, hdr.length, &oid, &next)) {
-@@ -273,6 +277,23 @@ int pkcs1_v15_sig_ver(struct crypto_public_key *pk,
- os_free(decrypted);
- return -1;
- }
-+ wpa_hexdump(MSG_MSGDUMP, "PKCS #1: Digest algorithm parameters",
-+ next, da_end - next);
-+
-+ /*
-+ * RFC 5754: The correct encoding for the SHA2 algorithms would be to
-+ * omit the parameters, but there are implementation that encode these
-+ * as a NULL element. Allow these two cases and reject anything else.
-+ */
-+ if (da_end > next &&
-+ (asn1_get_next(next, da_end - next, &hdr) < 0 ||
-+ !asn1_is_null(&hdr) ||
-+ hdr.payload + hdr.length != da_end)) {
-+ wpa_printf(MSG_DEBUG,
-+ "PKCS #1: Unexpected digest algorithm parameters");
-+ os_free(decrypted);
-+ return -1;
-+ }
-
- if (!asn1_oid_equal(&oid, hash_alg)) {
- char txt[100], txt2[100];
-diff --git a/src/tls/x509v3.c b/src/tls/x509v3.c
-index a8944dd..df337ec 100644
---- a/src/tls/x509v3.c
-+++ b/src/tls/x509v3.c
-@@ -1964,6 +1964,7 @@ int x509_check_signature(struct x509_certificate *issuer,
- os_free(data);
- return -1;
- }
-+ wpa_hexdump(MSG_MSGDUMP, "X509: DigestInfo", hdr.payload, hdr.length);
-
- pos = hdr.payload;
- end = pos + hdr.length;
-@@ -1985,6 +1986,8 @@ int x509_check_signature(struct x509_certificate *issuer,
- os_free(data);
- return -1;
- }
-+ wpa_hexdump(MSG_MSGDUMP, "X509: DigestAlgorithmIdentifier",
-+ hdr.payload, hdr.length);
- da_end = hdr.payload + hdr.length;
-
- if (asn1_get_oid(hdr.payload, hdr.length, &oid, &next)) {
-@@ -1992,6 +1995,23 @@ int x509_check_signature(struct x509_certificate *issuer,
- os_free(data);
- return -1;
- }
-+ wpa_hexdump(MSG_MSGDUMP, "X509: Digest algorithm parameters",
-+ next, da_end - next);
-+
-+ /*
-+ * RFC 5754: The correct encoding for the SHA2 algorithms would be to
-+ * omit the parameters, but there are implementation that encode these
-+ * as a NULL element. Allow these two cases and reject anything else.
-+ */
-+ if (da_end > next &&
-+ (asn1_get_next(next, da_end - next, &hdr) < 0 ||
-+ !asn1_is_null(&hdr) ||
-+ hdr.payload + hdr.length != da_end)) {
-+ wpa_printf(MSG_DEBUG,
-+ "X509: Unexpected digest algorithm parameters");
-+ os_free(data);
-+ return -1;
-+ }
-
- if (x509_sha1_oid(&oid)) {
- if (signature->oid.oid[6] != 5 /* sha-1WithRSAEncryption */) {
---
-cgit v0.12
-
diff --git a/gnu/packages/patches/xdg-desktop-portal-wlr-harcoded-length.patch b/gnu/packages/patches/xdg-desktop-portal-wlr-harcoded-length.patch
new file mode 100644
index 0000000000..b499a039e8
--- /dev/null
+++ b/gnu/packages/patches/xdg-desktop-portal-wlr-harcoded-length.patch
@@ -0,0 +1,28 @@
+From 3121eeb5e68bedd6e2398f35b9bd60b69709a47e Mon Sep 17 00:00:00 2001
+From: Josselin Poiret <dev@jpoiret.xyz>
+Date: Tue, 14 Dec 2021 18:49:54 +0100
+Subject: [PATCH] Replace hardcoded command length
+
+---
+ src/screenshot/screenshot.c | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/src/screenshot/screenshot.c b/src/screenshot/screenshot.c
+index 9df0ea7..5f27681 100644
+--- a/src/screenshot/screenshot.c
++++ b/src/screenshot/screenshot.c
+@@ -42,8 +42,9 @@ static bool exec_screenshooter_interactive(const char *path) {
+ perror("fork");
+ return false;
+ } else if (pid == 0) {
+- char cmd[strlen(path) + 25];
+- snprintf(cmd, sizeof(cmd), "grim -g \"$(slurp)\" -- %s", path);
++ const char cmd_fmt[] = "grim -g \"$(slurp)\" -- %s";
++ char cmd[strlen(path) + sizeof(cmd_fmt)];
++ snprintf(cmd, sizeof(cmd), cmd_fmt, path);
+ execl("/bin/sh", "/bin/sh", "-c", cmd, NULL);
+ perror("execl");
+ exit(127);
+--
+2.34.0
+
diff --git a/gnu/packages/patches/xgboost-use-system-dmlc-core.patch b/gnu/packages/patches/xgboost-use-system-dmlc-core.patch
index c654694fec..6b2a1651a5 100644
--- a/gnu/packages/patches/xgboost-use-system-dmlc-core.patch
+++ b/gnu/packages/patches/xgboost-use-system-dmlc-core.patch
@@ -1,34 +1,35 @@
-From 34167cc105e47589b86b6f62da76e0ab744002dd Mon Sep 17 00:00:00 2001
-From: Vinicius Monego <monego@posteo.net>
-Date: Tue, 11 May 2021 19:35:30 -0300
-Subject: [PATCH] Use dmlc-core from Guix.
-
----
-This patch is a subset of the following Debian patch: https://sources.debian.org/src/xgboost/1.2.1-1/debian/patches/cmake.patch/
-
-Rabit is now developed as part of xgboost, so we don't build it separately.
-
- CMakeLists.txt | 8 +++-----
- 1 file changed, 3 insertions(+), 5 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 6cc19fbd..3b42bc17 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -150,11 +150,9 @@ endif (USE_OPENMP)
+# This patch was imported from Debian: https://sources.debian.org/src/xgboost/1.5.1-1/debian/patches/cmake-dmlc-core.patch/
+Index: xgboost/CMakeLists.txt
+===================================================================
+--- xgboost.orig/CMakeLists.txt
++++ xgboost/CMakeLists.txt
+@@ -164,7 +164,9 @@ endif (USE_NCCL)
+
# dmlc-core
msvc_use_static_runtime()
-add_subdirectory(${xgboost_SOURCE_DIR}/dmlc-core)
--set_target_properties(dmlc PROPERTIES
-- CXX_STANDARD 14
-- CXX_STANDARD_REQUIRED ON
-- POSITION_INDEPENDENT_CODE ON)
+add_library(dmlc SHARED IMPORTED)
+find_library(DMLC_LIBRARY dmlc)
+set_property(TARGET dmlc PROPERTY IMPORTED_LOCATION "${DMLC_LIBRARY}")
+
if (MSVC)
- target_compile_options(dmlc PRIVATE
- -D_CRT_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE)
---
-2.31.1
+ if (TARGET dmlc_unit_tests)
+@@ -222,7 +224,7 @@ set_target_properties(runxgboost PROPERT
+ #-- End CLI for xgboost
+
+ # Common setup for all targets
+-foreach(target xgboost objxgboost dmlc runxgboost)
++foreach(target xgboost objxgboost runxgboost)
+ xgboost_target_properties(${target})
+ xgboost_target_link_libraries(${target})
+ xgboost_target_defs(${target})
+@@ -273,7 +275,7 @@ install(DIRECTORY ${xgboost_SOURCE_DIR}/
+ #
+ # https://github.com/dmlc/xgboost/issues/6085
+ if (BUILD_STATIC_LIB)
+- set(INSTALL_TARGETS xgboost runxgboost objxgboost dmlc)
++ set(INSTALL_TARGETS xgboost runxgboost objxgboost)
+ else (BUILD_STATIC_LIB)
+ set(INSTALL_TARGETS xgboost runxgboost)
+ endif (BUILD_STATIC_LIB)
diff --git a/gnu/packages/patches/xmonad-next-dynamic-linking.patch b/gnu/packages/patches/xmonad-next-dynamic-linking.patch
new file mode 100644
index 0000000000..a1d71825b6
--- /dev/null
+++ b/gnu/packages/patches/xmonad-next-dynamic-linking.patch
@@ -0,0 +1,16 @@
+This patch is required for xmonad to make use of shared libraries.
+Without it, xmonad will not work since we do not (by default) use
+statically linked Haskell libraries.
+
+index 46a0939..5ad4f8f 100644
+--- a/src/XMonad/Core.hs
++++ b/src/XMonad/Core.hs
+@@ -664,6 +664,8 @@ compile dirs method =
+ where
+ ghcArgs = [ "--make"
+ , "xmonad.hs"
++ , "-dynamic"
++ , "-fPIC"
+ , "-i" -- only look in @lib@
+ , "-ilib"
+ , "-fforce-recomp"
diff --git a/gnu/packages/patches/xpra-4.2-install_libs.patch b/gnu/packages/patches/xpra-4.2-install_libs.patch
new file mode 100644
index 0000000000..65d489a3b8
--- /dev/null
+++ b/gnu/packages/patches/xpra-4.2-install_libs.patch
@@ -0,0 +1,29 @@
+This workaround for Gentoo interferes with our use of --no-compile during
+the 'install stage.
+
+--- a/setup.py 2022-01-04 10:10:05.039825000 +0100
++++ b/setup.py 2022-01-06 15:10:31.952656039 +0100
+@@ -589,8 +589,6 @@
+ })
+
+ def add_cython_ext(*args, **kwargs):
+- if "--no-compile" in sys.argv and not ("build" in sys.argv and "install" in sys.argv):
+- return
+ assert cython_ENABLED, "cython compilation is disabled"
+ if cython_tracing_ENABLED:
+ kwargs["define_macros"] = [
+@@ -1703,14 +1701,6 @@
+ if uinput_ENABLED:
+ add_data_files("lib/udev/rules.d/", ["fs/lib/udev/rules.d/71-xpra-virtual-pointer.rules"])
+
+- #gentoo does weird things, calls --no-compile with build *and* install
+- #then expects to find the cython modules!? ie:
+- #> python2.7 setup.py build -b build-2.7 install --no-compile \
+- # --root=/var/tmp/portage/x11-wm/xpra-0.7.0/temp/images/2.7
+- #otherwise we use the flags to skip pkgconfig
+- if ("--no-compile" in sys.argv or "--skip-build" in sys.argv) and not ("build" in sys.argv and "install" in sys.argv):
+- pkgconfig = no_pkgconfig
+-
+ if OSX and "py2app" in sys.argv:
+ import py2app #@UnresolvedImport
+ assert py2app is not None
diff --git a/gnu/packages/patches/zig-disable-libc-note-test.patch b/gnu/packages/patches/zig-disable-libc-note-test.patch
index 4d76139efb..4508cee200 100644
--- a/gnu/packages/patches/zig-disable-libc-note-test.patch
+++ b/gnu/packages/patches/zig-disable-libc-note-test.patch
@@ -1,14 +1,14 @@
This test fails with "error.CompilationIncorrectlySucceeded".
diff --git a/test/compile_errors.zig b/test/compile_errors.zig
-index fd1255c..20d5548 100644
+index b1eaa0302..621f9db0a 100644
--- a/test/compile_errors.zig
+++ b/test/compile_errors.zig
-@@ -2751,15 +2751,15 @@ pub fn addCases(cases: *tests.CompileErrorContext) void {
+@@ -2943,15 +2943,15 @@ pub fn addCases(ctx: *TestContext) !void {
"tmp.zig:3:5: error: dependency on libc must be explicitly specified in the build command",
});
-
-- cases.addTest("libc headers note",
+
+- ctx.testErrStage1("libc headers note",
- \\const c = @cImport(@cInclude("stdio.h"));
- \\export fn entry() void {
- \\ _ = c.printf("hello, world!\n");
@@ -17,15 +17,15 @@ index fd1255c..20d5548 100644
- "tmp.zig:1:11: error: C import failed",
- "tmp.zig:1:11: note: libc headers not available; compilation does not link against libc",
- });
-+// cases.addTest("libc headers note",
-+// \\const c = @cImport(@cInclude("stdio.h"));
-+// \\export fn entry() void {
-+// \\ _ = c.printf("hello, world!\n");
-+// \\}
-+// , &[_][]const u8{
-+// "tmp.zig:1:11: error: C import failed",
-+// "tmp.zig:1:11: note: libc headers not available; compilation does not link against libc",
-+// });
++ // ctx.testErrStage1("libc headers note",
++ // \\const c = @cImport(@cInclude("stdio.h"));
++ // \\export fn entry() void {
++ // \\ _ = c.printf("hello, world!\n");
++ // \\}
++ // , &[_][]const u8{
++ // "tmp.zig:1:11: error: C import failed",
++ // "tmp.zig:1:11: note: libc headers not available; compilation does not link against libc",
++ // });
}
-
- cases.addTest("comptime vector overflow shows the index",
+
+ ctx.testErrStage1("comptime vector overflow shows the index",
diff --git a/gnu/packages/patches/zig-use-system-paths.patch b/gnu/packages/patches/zig-use-system-paths.patch
index 33b7da1e0d..a008beafc2 100644
--- a/gnu/packages/patches/zig-use-system-paths.patch
+++ b/gnu/packages/patches/zig-use-system-paths.patch
@@ -2,142 +2,147 @@ This patch replaces the OS-specific detection mechanism by one that solely
relies on environment variables. This has the benefit that said environment
variables can be used as search paths in Guix.
-Index: zig-0.8.1/lib/std/zig/system.zig
-===================================================================
---- zig-0.8.1.orig/lib/std/zig/system.zig
-+++ zig-0.8.1/lib/std/zig/system.zig
-@@ -39,101 +39,57 @@ pub const NativePaths = struct {
- };
- errdefer self.deinit();
-
-- var is_nix = false;
-- if (process.getEnvVarOwned(allocator, "NIX_CFLAGS_COMPILE")) |nix_cflags_compile| {
-- defer allocator.free(nix_cflags_compile);
+diff --git a/lib/std/zig/system/NativePaths.zig b/lib/std/zig/system/NativePaths.zig
+index 8e3e46e48..1ed9d3206 100644
+--- a/lib/std/zig/system/NativePaths.zig
++++ b/lib/std/zig/system/NativePaths.zig
+@@ -26,73 +26,42 @@ pub fn detect(allocator: Allocator, native_info: NativeTargetInfo) !NativePaths
+ };
+ errdefer self.deinit();
+
+- var is_nix = false;
+- if (process.getEnvVarOwned(allocator, "NIX_CFLAGS_COMPILE")) |nix_cflags_compile| {
+- defer allocator.free(nix_cflags_compile);
-
-- is_nix = true;
-- var it = mem.tokenize(nix_cflags_compile, " ");
-+ // TODO: Support cross-compile paths?
-+ if (process.getEnvVarOwned(allocator, "C_INCLUDE_PATH")) |c_include_path| {
-+ defer allocator.free(c_include_path);
-+ var it = mem.tokenize(c_include_path, ":");
- while (true) {
-- const word = it.next() orelse break;
-- if (mem.eql(u8, word, "-isystem")) {
-- const include_path = it.next() orelse {
-- try self.addWarning("Expected argument after -isystem in NIX_CFLAGS_COMPILE");
-- break;
-- };
-- try self.addIncludeDir(include_path);
-- } else {
-- if (mem.startsWith(u8, word, "-frandom-seed=")) {
-- continue;
-- }
-- try self.addWarningFmt("Unrecognized C flag from NIX_CFLAGS_COMPILE: {s}", .{word});
+- is_nix = true;
+- var it = mem.tokenize(u8, nix_cflags_compile, " ");
++ // TODO: Support cross-compile paths?
++ if (process.getEnvVarOwned(allocator, "C_INCLUDE_PATH")) |c_include_path| {
++ defer allocator.free(c_include_path);
++ var it = mem.tokenize(u8, c_include_path, ":");
+ while (true) {
+- const word = it.next() orelse break;
+- if (mem.eql(u8, word, "-isystem")) {
+- const include_path = it.next() orelse {
+- try self.addWarning("Expected argument after -isystem in NIX_CFLAGS_COMPILE");
+- break;
+- };
+- try self.addIncludeDir(include_path);
+- } else {
+- if (mem.startsWith(u8, word, "-frandom-seed=")) {
+- continue;
- }
-+ const dir = it.next() orelse break;
-+ try self.addIncludeDir(dir);
- }
- } else |err| switch (err) {
- error.InvalidUtf8 => {},
- error.EnvironmentVariableNotFound => {},
- error.OutOfMemory => |e| return e,
+- try self.addWarningFmt("Unrecognized C flag from NIX_CFLAGS_COMPILE: {s}", .{word});
+- }
++ const dir = it.next() orelse break;
++ try self.addIncludeDir(dir);
}
-- if (process.getEnvVarOwned(allocator, "NIX_LDFLAGS")) |nix_ldflags| {
-- defer allocator.free(nix_ldflags);
-
-- is_nix = true;
-- var it = mem.tokenize(nix_ldflags, " ");
-+ if (process.getEnvVarOwned(allocator, "CPLUS_INCLUDE_PATH")) |cplus_include_path| {
-+ defer allocator.free(cplus_include_path);
-+ var it = mem.tokenize(cplus_include_path, ":");
- while (true) {
-- const word = it.next() orelse break;
-- if (mem.eql(u8, word, "-rpath")) {
-- const rpath = it.next() orelse {
-- try self.addWarning("Expected argument after -rpath in NIX_LDFLAGS");
-- break;
-- };
-- try self.addRPath(rpath);
-- } else if (word.len > 2 and word[0] == '-' and word[1] == 'L') {
-- const lib_path = word[2..];
-- try self.addLibDir(lib_path);
-- } else {
-- try self.addWarningFmt("Unrecognized C flag from NIX_LDFLAGS: {s}", .{word});
+ } else |err| switch (err) {
+ error.InvalidUtf8 => {},
+ error.EnvironmentVariableNotFound => {},
+ error.OutOfMemory => |e| return e,
+ }
+- if (process.getEnvVarOwned(allocator, "NIX_LDFLAGS")) |nix_ldflags| {
+- defer allocator.free(nix_ldflags);
+-
+- is_nix = true;
+- var it = mem.tokenize(u8, nix_ldflags, " ");
++ if (process.getEnvVarOwned(allocator, "CPLUS_INCLUDE_PATH")) |cplus_include_path| {
++ defer allocator.free(cplus_include_path);
++ var it = mem.tokenize(u8, cplus_include_path, ":");
+ while (true) {
+- const word = it.next() orelse break;
+- if (mem.eql(u8, word, "-rpath")) {
+- const rpath = it.next() orelse {
+- try self.addWarning("Expected argument after -rpath in NIX_LDFLAGS");
- break;
-- }
-+ const dir = it.next() orelse break;
-+ try self.addIncludeDir(dir);
- }
- } else |err| switch (err) {
- error.InvalidUtf8 => {},
- error.EnvironmentVariableNotFound => {},
- error.OutOfMemory => |e| return e,
+- };
+- try self.addRPath(rpath);
+- } else if (word.len > 2 and word[0] == '-' and word[1] == 'L') {
+- const lib_path = word[2..];
+- try self.addLibDir(lib_path);
+- } else {
+- try self.addWarningFmt("Unrecognized C flag from NIX_LDFLAGS: {s}", .{word});
+- break;
+- }
++ const dir = it.next() orelse break;
++ try self.addIncludeDir(dir);
}
-- if (is_nix) {
-- return self;
-- }
+ } else |err| switch (err) {
+ error.InvalidUtf8 => {},
+ error.EnvironmentVariableNotFound => {},
+ error.OutOfMemory => |e| return e,
+ }
+- if (is_nix) {
+- return self;
+- }
-
-- if (comptime Target.current.isDarwin()) {
-- try self.addIncludeDir("/usr/include");
-- try self.addIncludeDir("/usr/local/include");
-
-- try self.addLibDir("/usr/lib");
-- try self.addLibDir("/usr/local/lib");
+- if (comptime builtin.target.isDarwin()) {
+- try self.addIncludeDir("/usr/include");
+- try self.addIncludeDir("/usr/local/include");
-
-- try self.addFrameworkDir("/Library/Frameworks");
-- try self.addFrameworkDir("/System/Library/Frameworks");
+- try self.addLibDir("/usr/lib");
+- try self.addLibDir("/usr/local/lib");
-
-- return self;
-+ if (process.getEnvVarOwned(allocator, "LIBRARY_PATH")) |library_path| {
-+ defer allocator.free(library_path);
-+ var it = mem.tokenize(library_path, ":");
-+ while (true) {
-+ const dir = it.next() orelse break;
-+ try self.addLibDir(dir);
-+ }
-+ } else |err| switch (err) {
-+ error.InvalidUtf8 => {},
-+ error.EnvironmentVariableNotFound => {},
-+ error.OutOfMemory => |e| return e,
- }
-
-- if (native_target.os.tag != .windows) {
-- const triple = try native_target.linuxTriple(allocator);
-- const qual = native_target.cpu.arch.ptrBitWidth();
+- try self.addFrameworkDir("/Library/Frameworks");
+- try self.addFrameworkDir("/System/Library/Frameworks");
-
-- // TODO: $ ld --verbose | grep SEARCH_DIR
-- // the output contains some paths that end with lib64, maybe include them too?
-- // TODO: what is the best possible order of things?
-- // TODO: some of these are suspect and should only be added on some systems. audit needed.
+- return self;
++ if (process.getEnvVarOwned(allocator, "LIBRARY_PATH")) |library_path| {
++ defer allocator.free(library_path);
++ var it = mem.tokenize(u8, library_path, ":");
++ while (true) {
++ const dir = it.next() orelse break;
++ try self.addLibDir(dir);
++ }
++ } else |err| switch (err) {
++ error.InvalidUtf8 => {},
++ error.EnvironmentVariableNotFound => {},
++ error.OutOfMemory => |e| return e,
+ }
+
+ if (comptime native_target.os.tag == .solaris) {
+@@ -106,32 +75,17 @@ pub fn detect(allocator: Allocator, native_info: NativeTargetInfo) !NativePaths
+ return self;
+ }
+
+- if (native_target.os.tag != .windows) {
+- const triple = try native_target.linuxTriple(allocator);
+- const qual = native_target.cpu.arch.ptrBitWidth();
-
-- try self.addIncludeDir("/usr/local/include");
-- try self.addLibDirFmt("/usr/local/lib{d}", .{qual});
-- try self.addLibDir("/usr/local/lib");
+- // TODO: $ ld --verbose | grep SEARCH_DIR
+- // the output contains some paths that end with lib64, maybe include them too?
+- // TODO: what is the best possible order of things?
+- // TODO: some of these are suspect and should only be added on some systems. audit needed.
-
-- try self.addIncludeDirFmt("/usr/include/{s}", .{triple});
-- try self.addLibDirFmt("/usr/lib/{s}", .{triple});
+- try self.addIncludeDir("/usr/local/include");
+- try self.addLibDirFmt("/usr/local/lib{d}", .{qual});
+- try self.addLibDir("/usr/local/lib");
-
-- try self.addIncludeDir("/usr/include");
-- try self.addLibDirFmt("/lib{d}", .{qual});
-- try self.addLibDir("/lib");
-- try self.addLibDirFmt("/usr/lib{d}", .{qual});
-- try self.addLibDir("/usr/lib");
+- try self.addIncludeDirFmt("/usr/include/{s}", .{triple});
+- try self.addLibDirFmt("/usr/lib/{s}", .{triple});
-
-- // example: on a 64-bit debian-based linux distro, with zlib installed from apt:
-- // zlib.h is in /usr/include (added above)
-- // libz.so.1 is in /lib/x86_64-linux-gnu (added here)
-- try self.addLibDirFmt("/lib/{s}", .{triple});
-+ if (process.getEnvVarOwned(allocator, "DYLD_FRAMEWORK_PATH")) |dyld_framework_path| {
-+ defer allocator.free(dyld_framework_path);
-+ var it = mem.tokenize(dyld_framework_path, ":");
-+ while (true) {
-+ const dir = it.next() orelse break;
-+ try self.addFrameworkDir(dir);
-+ }
-+ } else |err| switch (err) {
-+ error.InvalidUtf8 => {},
-+ error.EnvironmentVariableNotFound => {},
-+ error.OutOfMemory => |e| return e,
- }
-
- return self;
+- try self.addIncludeDir("/usr/include");
+- try self.addLibDirFmt("/lib{d}", .{qual});
+- try self.addLibDir("/lib");
+- try self.addLibDirFmt("/usr/lib{d}", .{qual});
+- try self.addLibDir("/usr/lib");
+-
+- // example: on a 64-bit debian-based linux distro, with zlib installed from apt:
+- // zlib.h is in /usr/include (added above)
+- // libz.so.1 is in /lib/x86_64-linux-gnu (added here)
+- try self.addLibDirFmt("/lib/{s}", .{triple});
++ if (process.getEnvVarOwned(allocator, "DYLD_FRAMEWORK_PATH")) |dyld_framework_path| {
++ defer allocator.free(dyld_framework_path);
++ var it = mem.tokenize(u8, dyld_framework_path, ":");
++ while (true) {
++ const dir = it.next() orelse break;
++ try self.addFrameworkDir(dir);
++ }
++ } else |err| switch (err) {
++ error.InvalidUtf8 => {},
++ error.EnvironmentVariableNotFound => {},
++ error.OutOfMemory => |e| return e,
+ }
+
+ return self;
diff --git a/gnu/packages/patchutils.scm b/gnu/packages/patchutils.scm
index 9ac10dc8e4..5f16deaffa 100644
--- a/gnu/packages/patchutils.scm
+++ b/gnu/packages/patchutils.scm
@@ -322,7 +322,7 @@ you to figure out what is going on in that merge you keep avoiding.")
(define-public patchwork
(package
(name "patchwork")
- (version "3.0.1")
+ (version "3.0.4")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -331,7 +331,7 @@ you to figure out what is going on in that merge you keep avoiding.")
(file-name (git-file-name name version))
(sha256
(base32
- "049ih1fbbbmj11v5m9ilahifl8x7gi6wyba58552y9n9djzs8csc"))))
+ "0dl0prsyzsnlq6g0jw05mxx00bq9y2rpc3vrbfxfiblyyydrn2xn"))))
(build-system python-build-system)
(arguments
`(;; TODO: Tests require a running database
@@ -455,7 +455,7 @@ if __name__ == \"__main__\":
(inputs
(list python-wrapper))
(propagated-inputs
- (list python-django-2.2
+ (list python-django-3.2
;; TODO: Make this configurable
python-psycopg2
python-mysqlclient
diff --git a/gnu/packages/pciutils.scm b/gnu/packages/pciutils.scm
index 47275a8ff0..b6b1e3ad85 100644
--- a/gnu/packages/pciutils.scm
+++ b/gnu/packages/pciutils.scm
@@ -87,8 +87,7 @@
(("^IDSDIR=.*$")
;; Installation directory of 'pci.ids.gz'.
- "IDSDIR = $(SHAREDIR)/hwdata\n"))
- #t))
+ "IDSDIR = $(SHAREDIR)/hwdata\n"))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
;; Install the commands, library, and .pc files.
@@ -111,9 +110,7 @@
(native-inputs
(list which pkg-config))
(inputs
- `(,@(if (member (or (%current-target-system)
- (%current-system))
- (package-supported-systems kmod))
+ `(,@(if (not (hurd-target?))
`(("kmod" ,kmod))
'())
,@(if (hurd-target?)
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index bd7a98c136..c79d941b20 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -633,8 +633,7 @@ by using the poppler rendering engine.")
(files '("lib/zathura")))))
(build-system meson-build-system)
(arguments
- `(#:meson ,meson-0.59
- #:phases (modify-phases %standard-phases
+ `(#:phases (modify-phases %standard-phases
(add-before 'check 'start-xserver
;; Tests require a running X server.
(lambda* (#:key inputs #:allow-other-keys)
@@ -1248,7 +1247,7 @@ python-pypdf2 instead.")
(define-public pdfarranger
(package
(name "pdfarranger")
- (version "1.8.1")
+ (version "1.8.2")
(source
(origin
(method git-fetch)
@@ -1257,7 +1256,7 @@ python-pypdf2 instead.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1lcmlr7x4143f7wcn0m1ijlvch07nww2qfp3jfnacgy889ijvbfx"))))
+ (base32 "18bpnnwjx72d5ps06dr89mkixiwzc9hf5gr75k8qcnrkshl038v2"))))
(build-system python-build-system)
(arguments
'(#:tests? #f ;no tests
@@ -1275,7 +1274,10 @@ python-pypdf2 instead.")
(inputs
(list gtk+ poppler))
(propagated-inputs
- (list img2pdf python-dateutil python-pikepdf python-pycairo
+ (list img2pdf
+ python-dateutil
+ python-pikepdf
+ python-pycairo
python-pygobject))
(home-page "https://github.com/jeromerobert/pdfarranger")
(synopsis "Merge, split and re-arrange pages from PDF documents")
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index c6d63ce041..d2c9d0d24e 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -52,6 +52,7 @@
#:use-module (srfi srfi-1)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages)
+ #:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
@@ -76,11 +77,13 @@
#:use-module (gnu packages perl-maths)
#:use-module (gnu packages perl-web)
#:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages python)
#:use-module (gnu packages readline)
#:use-module (gnu packages sdl)
#:use-module (gnu packages textutils)
#:use-module (gnu packages video)
#:use-module (gnu packages web)
+ #:use-module (gnu packages xml)
#:use-module (gnu packages xorg))
;;;
@@ -398,6 +401,54 @@ users can force the decision of which backend to use by setting the environment
variable ANY_MOOSE to be Moose or Mouse.")
(license (package-license perl))))
+(define-public perl-app-xml-docbook-builder
+ (package
+ (name "perl-app-xml-docbook-builder")
+ (version "0.1003")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/S/SH/SHLOMIF/"
+ "App-XML-DocBook-Builder-" version ".tar.gz"))
+ (sha256
+ (base32 "12423lk4r7m5pkm1dvk1ci6s1d6rsnnl4chnavckpmja18jyay3j"))))
+ (build-system perl-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'refer-to-xsltproc
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* (list "lib/App/XML/DocBook/Docmake.pm"
+ "t/01-use.t")
+ (("\"xsltproc\"")
+ (format #f "\"~a\""
+ (search-input-file inputs "bin/xsltproc")))))))))
+ (native-inputs
+ (list perl-module-build python))
+ (inputs
+ (list libxslt))
+ (propagated-inputs
+ (list perl-class-xsaccessor perl-test-trap))
+ (native-search-paths
+ ;; xsltproc's search paths, to avoid propagating libxslt.
+ (list (search-path-specification
+ (variable "XML_CATALOG_FILES")
+ (separator " ")
+ (files '("xml"))
+ (file-pattern "^catalog\\.xml$")
+ (file-type 'regular))))
+ (home-page "https://www.shlomifish.org/open-source/projects/docmake/")
+ (synopsis "Translate DocBook/XML documentation into other file formats")
+ (description
+ "This package provides the @command{docmake} command-line tool, and the
+@code{App::XML::DocBook::Docmake} and @code{App::XML::DocBook::Builder} Perl
+modules.
+
+It translates DocBook/XML mark-up into various other documentation formats such
+as XHTML, RTF, PDF, and XSL-FO, using the more low-level tools. It aims to be a
+replacement for @command{xmlto}.")
+ (license license:expat)))
+
(define-public perl-appconfig
(package
(name "perl-appconfig")
@@ -11617,6 +11668,8 @@ arduous to type for one-liners.")
(base32
"1njgr2zly9nrwvfrjhgk9dqq48as1pmbb2rs4bh3irvla75v7azg"))))
(build-system perl-build-system)
+ (propagated-inputs
+ (list perl-pod-parser))
(home-page "https://metacpan.org/release/Pod-Constants")
(synopsis "Include constants from POD")
(description "This module allows you to specify those constants that
@@ -11644,7 +11697,7 @@ lookup in %INC or by assuming it is $0 if the caller is @code{main}
(build-system perl-build-system)
(home-page
"https://metacpan.org/release/Text-Soundex")
- (synopsis "Implementation of the soundex algorithm.")
+ (synopsis "Implementation of the soundex algorithm")
(description "Soundex is a phonetic algorithm for indexing names by sound,
as pronounced in English. The goal is for names with the same pronunciation to
be encoded to the same representation so that they can be matched despite
diff --git a/gnu/packages/perl6.scm b/gnu/packages/perl6.scm
index 5c28df054f..dab9dd477b 100644
--- a/gnu/packages/perl6.scm
+++ b/gnu/packages/perl6.scm
@@ -298,7 +298,7 @@ have profiling information collected when the grammar is used.")
(build-system rakudo-build-system)
(arguments '(#:with-zef? #f))
(home-page "https://github.com/moritz/json")
- (synopsis "A minimal JSON (de)serializer")
+ (synopsis "Minimal JSON (de)serializer")
(description "This module is a simple Perl 6 module for serializing and
deserializing JSON.")
(license license:artistic2.0)))
diff --git a/gnu/packages/phabricator.scm b/gnu/packages/phabricator.scm
index b0d5a04a24..df9b369506 100644
--- a/gnu/packages/phabricator.scm
+++ b/gnu/packages/phabricator.scm
@@ -62,13 +62,7 @@
`("PATH" ":" prefix
(,@(map (lambda (i)
(string-append (assoc-ref %build-inputs i) "/bin"))
- '("php" "git" "mercurial" "subversion"))))))
- #t))
- (add-before 'reset-gzip-timestamps 'make-compressed-files-writable
- (lambda _
- (for-each make-file-writable
- (find-files %output ".*\\.t?gz$"))
- #t)))))
+ '("php" "git" "mercurial" "subversion")))))))))))
(inputs
(list php git mercurial subversion))
(home-page "https://github.com/phacility/arcanist")
diff --git a/gnu/packages/photo.scm b/gnu/packages/photo.scm
index fa603a60be..26295207c6 100644
--- a/gnu/packages/photo.scm
+++ b/gnu/packages/photo.scm
@@ -239,14 +239,14 @@ data as produced by digital cameras.")
(define-public libgphoto2
(package
(name "libgphoto2")
- (version "2.5.27")
+ (version "2.5.28")
(source (origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/gphoto/libgphoto/"
version "/libgphoto2-" version ".tar.bz2"))
(sha256
(base32
- "1ms06b3dj1p33aypcb16gg5pn7fylbylsk9cnnqa0j29qiw59f7q"))))
+ "1gayf81nzi8gxmwhgs4k1p0dwqajsx0h9lzjfvnib3100dm5j04n"))))
(build-system gnu-build-system)
(native-inputs (list pkg-config))
(inputs
@@ -267,14 +267,14 @@ from digital cameras.")
(define-public gphoto2
(package
(name "gphoto2")
- (version "2.5.27")
+ (version "2.5.28")
(source (origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/gphoto/gphoto/" version
"/gphoto2-" version ".tar.bz2"))
(sha256
(base32
- "0f4d3q381jnnkcqkb2dj1k709skp65qihl5xm80zandvl69lw19h"))))
+ "0xbki37q9ja34igidr2vj0ps1lp7sfz4xpsmh8h9x89dy76qsr1a"))))
(build-system gnu-build-system)
(native-inputs
(list pkg-config))
@@ -287,13 +287,10 @@ from digital cameras.")
(lambda* (#:key inputs #:allow-other-keys)
(substitute* (find-files "tests/data" "\\.param$")
(("/usr/bin/env")
- (which "env")))
- #t)))
-
+ (which "env"))))))
;; FIXME: There is 1 test failure, most likely related to the build
;; environment.
#:tests? #f))
-
(home-page "http://www.gphoto.org/")
(synopsis "Command-line tools to access digital cameras")
(description
@@ -460,7 +457,7 @@ photographic equipment.")
(define-public darktable
(package
(name "darktable")
- (version "3.6.1")
+ (version "3.8.0")
(source
(origin
(method url-fetch)
@@ -468,7 +465,7 @@ photographic equipment.")
"https://github.com/darktable-org/darktable/releases/"
"download/release-" version "/darktable-" version ".tar.xz"))
(sha256
- (base32 "051dwhdqa9q3zyrvr78g0cfzl1zhaagfvgx9axa9895q0g0wggx2"))))
+ (base32 "01gp9dg5wr2rg1k8cqs0l3s7ism8a4q8qypgwccd4jh7ip3wfr9f"))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags '("-DBINARY_PACKAGE_BUILD=On"
@@ -521,42 +518,42 @@ photographic equipment.")
("python" ,python-wrapper)
("ruby" ,ruby)))
(inputs
- `(("cairo" ,cairo)
- ("colord-gtk" ,colord-gtk) ;optional, for color profile support
- ("cups" ,cups) ;optional, for printing support
- ("curl" ,curl)
- ("dbus-glib" ,dbus-glib)
- ("exiv2" ,exiv2)
- ("freeimage" ,freeimage)
- ("gmic" ,gmic) ;optional, for HaldcLUT support
- ("graphicsmagick" ,graphicsmagick)
- ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
- ("gtk+" ,gtk+)
- ("imath" ,imath)
- ("iso-codes" ,iso-codes) ;optional, for language names in the preferences
- ("json-glib" ,json-glib)
- ("lcms" ,lcms)
- ("lensfun" ,lensfun) ;optional, for the lens distortion plugin
- ("libgphoto2" ,libgphoto2) ;optional, for camera tethering
- ("libavif" ,libavif) ;optional, for AVIF support
- ("libjpeg" ,libjpeg-turbo)
- ("libomp" ,libomp)
- ("libpng" ,libpng)
- ("librsvg" ,librsvg)
- ("libsecret" ,libsecret) ;optional, for storing passwords
- ("libsoup" ,libsoup-minimal-2)
- ("libtiff" ,libtiff)
- ("libwebp" ,libwebp) ;optional, for WebP support
- ("libxml2" ,libxml2)
- ("libxslt" ,libxslt)
- ("lua" ,lua) ;optional, for plugins
- ("opencl-icd-loader" ,opencl-icd-loader) ;optional, for OpenCL support
- ("openexr" ,openexr) ;optional, for EXR import/export
- ("openjpeg" ,openjpeg) ;optional, for JPEG2000 export
- ("osm-gps-map" ,osm-gps-map) ;optional, for geotagging view
- ("pugixml" ,pugixml)
- ("python-jsonschema" ,python-jsonschema)
- ("sqlite" ,sqlite)))
+ (list cairo
+ colord-gtk ;optional, for color profile support
+ cups ;optional, for printing support
+ curl
+ dbus-glib
+ exiv2
+ freeimage
+ gmic ;optional, for HaldcLUT support
+ graphicsmagick
+ gsettings-desktop-schemas
+ gtk+
+ imath
+ iso-codes ;optional, for language names in the preferences
+ json-glib
+ lcms
+ lensfun ;optional, for the lens distortion plugin
+ libgphoto2 ;optional, for camera tethering
+ libavif ;optional, for AVIF support
+ libjpeg-turbo
+ libomp
+ libpng
+ librsvg
+ libsecret ;optional, for storing passwords
+ libsoup-minimal-2
+ libtiff
+ libwebp ;optional, for WebP support
+ libxml2
+ libxslt
+ lua-5.4 ;optional, for plugins
+ opencl-icd-loader ;optional, for OpenCL support
+ openexr ;optional, for EXR import/export
+ openjpeg ;optional, for JPEG2000 export
+ osm-gps-map ;optional, for geotagging view
+ pugixml
+ python-jsonschema
+ sqlite))
(home-page "https://www.darktable.org")
(synopsis "Virtual lighttable and darkroom for photographers")
(description "Darktable is a photography workflow application and RAW
@@ -625,7 +622,6 @@ such as Batch image processing.")
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
- #:meson ,meson-0.59 ;fails to build with Meson 0.60
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'skip-gtk-update-icon-cache
@@ -770,7 +766,8 @@ a complete panorama and stitch any series of overlapping pictures.")
"-DPROC_TARGET_NUMBER=1"
;; These flags are recommended by upstream for distributed packages.
;; See the file 'RELEASE_NOTES.txt' in the source distribution.
- "-O3"
+ "-DCMAKE_CXX_FLAGS=-O3 -fPIC"
+ "-DCMAKE_C_FLAGS=-O3 -fPIC"
"-DCACHE_NAME_SUFFIX=\"\"")))
(native-inputs
(list pkg-config))
diff --git a/gnu/packages/plotutils.scm b/gnu/packages/plotutils.scm
index ecee057913..c0cbd24c9d 100644
--- a/gnu/packages/plotutils.scm
+++ b/gnu/packages/plotutils.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org>
-;;; Copyright © 2016, 2017, 2019, 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
+;;; Copyright © 2016-2022 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
@@ -31,6 +31,7 @@
#:use-module (gnu packages algebra)
#:use-module (gnu packages autotools)
#:use-module (gnu packages bdw-gc)
+ #:use-module (gnu packages boost)
#:use-module (gnu packages emacs)
#:use-module (gnu packages xorg)
#:use-module (gnu packages image)
@@ -39,6 +40,7 @@
#:use-module (gnu packages gl)
#:use-module (gnu packages gtk)
#:use-module (gnu packages maths)
+ #:use-module (gnu packages onc-rpc)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
@@ -47,6 +49,7 @@
#:use-module (gnu packages qt)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages tex)
+ #:use-module (gnu packages web)
#:use-module (gnu packages compression)
#:use-module (gnu packages))
@@ -265,41 +268,47 @@ colors, styles, options and details.")
(define-public asymptote
(package
(name "asymptote")
- (version "2.70")
+ (version "2.77")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/asymptote/"
version "/asymptote-" version ".src.tgz"))
(sha256
- (base32 "0gqcm0m916kjzyfswlplhyyvmqhg9hsishmbg4pyjcwchlx93k7m"))))
+ (base32 "0v5r8g3b7f2dxsiba4f3yrgfkigr5nsdhg6jrdsnqrmf6y7dqgdf"))))
(build-system gnu-build-system)
;; Note: The 'asy' binary retains a reference to docdir for use with its
;; "help" command in interactive mode, so adding a "doc" output is not
;; currently useful.
(native-inputs
- `(("emacs" ,emacs-minimal)
- ("gs" ,ghostscript) ;For tests
- ("perl" ,perl)
- ("texinfo" ,texinfo) ;For generating documentation
- ;; For the manual and the tests.
- ("texlive" ,(texlive-updmap.cfg
- (list texlive-amsfonts
- texlive-dvips-l3backend
- texlive-epsf
- texlive-etoolbox
- texlive-fonts-ec
- texlive-generic-infwarerr
- texlive-generic-kvdefinekeys
- texlive-grfext
- texlive-latex-base
- texlive-latex-geometry
- texlive-latex-graphics
- texlive-latex-kvoptions
- texlive-latex-pdftexcmds
- texlive-oberdiek ;for ifluatex
- texlive-latex-parskip
- texlive-tex-texinfo)))))
+ (list autoconf
+ automake
+ boost
+ emacs-minimal
+ ghostscript ;for tests
+ perl
+ rapidjson
+ texinfo ;for generating documentation
+ (texlive-updmap.cfg
+ (list texlive-amsfonts
+ texlive-dvips-l3backend
+ texlive-epsf
+ texlive-etoolbox
+ texlive-fonts-ec
+ texlive-generic-infwarerr
+ texlive-generic-kvdefinekeys
+ texlive-grfext
+ texlive-hyperref
+ texlive-latex-base
+ texlive-latex-geometry
+ texlive-latex-graphics
+ texlive-latex-kvoptions
+ texlive-latex-media9
+ texlive-latex-ocgx2
+ texlive-latex-pdftexcmds
+ texlive-oberdiek ;for ifluatex
+ texlive-latex-parskip
+ texlive-tex-texinfo))))
(inputs
(list fftw
freeglut
@@ -307,6 +316,7 @@ colors, styles, options and details.")
glm
gsl
libgc
+ libtirpc
python
python-cson
python-numpy
@@ -314,29 +324,42 @@ colors, styles, options and details.")
readline
zlib))
(arguments
- `(#:modules ((guix build emacs-utils)
+ (list
+ #:modules '((guix build emacs-utils)
(guix build gnu-build-system)
(guix build utils)
(srfi srfi-26))
- #:imported-modules (,@%gnu-build-system-modules
+ #:imported-modules `(,@%gnu-build-system-modules
(guix build emacs-utils))
- #:configure-flags
- (list (string-append "--enable-gc=" (assoc-ref %build-inputs "libgc"))
- (string-append "--with-latex="
- (assoc-ref %outputs "out")
- "/share/texmf/tex/latex")
- (string-append "--with-context="
- (assoc-ref %outputs "out")
- "/share/texmf/tex/context/third"))
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-build
- ;; XXX: Build process complains about missing "config.h"
- ;; and "primitives.h" files.
+ #:configure-flags
+ #~(list (string-append "--enable-gc=" #$(this-package-input "libgc"))
+ (string-append "--with-latex=" #$output "/share/texmf/tex/latex")
+ (string-append "--with-context="
+ #$output
+ "/share/texmf/tex/context/third"))
+ #:phases
+ `(modify-phases %standard-phases
+ (add-after 'unpack 'locate-tirpc
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* (list "configure.ac")
+ (("/usr/include/tirpc")
+ (search-input-directory inputs "include/tirpc")))))
+ (add-after 'unpack 'fix-includes
(lambda _
(substitute* (find-files "." "\\.in$")
(("#include <primitives.h>") "#include \"primitives.h\""))
- (invoke "touch" "prc/config.h")))
+ (substitute* (find-files "prc" "\\.h$")
+ (("#include \"config.h\"") "#include \"../config.h\""))
+ (substitute* "prc/oPRCFile.h"
+ (("#include \"xstream.h\"") "#include \"../xstream.h\""))
+ (substitute* "v3dfile.h"
+ (("#include <prc/oPRCFile.h>") "#include \"prc/oPRCFile.h\""))
+ (substitute* "LspCpp/LibLsp/lsp/ParentProcessWatcher.cpp"
+ (("#include <boost/process.hpp>" all)
+ (string-append "#include <algorithm>\n" all)))))
+ (replace 'bootstrap
+ (lambda _
+ (invoke "autoreconf" "-vfi")))
(add-after 'unpack 'move-info-location
;; Build process installs info file in the unusual
;; "%out/share/info/asymptote/" location. Move it to
@@ -345,21 +368,18 @@ colors, styles, options and details.")
(substitute* "doc/png/Makefile.in"
(("(\\$\\(infodir\\))/asymptote" _ infodir) infodir))
(substitute* "doc/asymptote.texi"
- (("asymptote/asymptote") "asymptote"))
- #t))
+ (("asymptote/asymptote") "asymptote"))))
(add-before 'build 'patch-pdf-viewer
(lambda _
;; Default to a free pdf viewer.
(substitute* "settings.cc"
(("defaultPDFViewer=\"acroread\"")
- "defaultPDFViewer=\"gv\""))
- #t))
+ "defaultPDFViewer=\"gv\""))))
(add-before 'check 'set-HOME
;; Some tests require write access to $HOME, otherwise leading to
;; "failed to create directory /homeless-shelter/.asy" error.
(lambda _
- (setenv "HOME" "/tmp")
- #t))
+ (setenv "HOME" "/tmp")))
(add-after 'install 'install-Emacs-data
(lambda* (#:key outputs #:allow-other-keys)
;; Install related Emacs libraries into an appropriate location.
@@ -367,16 +387,14 @@ colors, styles, options and details.")
(lisp-dir (string-append out "/share/emacs/site-lisp")))
(for-each (cut install-file <> lisp-dir)
(find-files "." "\\.el$"))
- (emacs-generate-autoloads ,name lisp-dir))
- #t))
+ (emacs-generate-autoloads ,name lisp-dir))))
(add-after 'install-Emacs-data 'wrap-python-script
(lambda* (#:key inputs outputs #:allow-other-keys)
;; Make sure 'xasy' runs with the correct PYTHONPATH.
(let* ((out (assoc-ref outputs "out"))
(path (getenv "GUIX_PYTHONPATH")))
(wrap-program (string-append out "/share/asymptote/GUI/xasy.py")
- `("GUIX_PYTHONPATH" ":" prefix (,path))))
- #t)))))
+ `("GUIX_PYTHONPATH" ":" prefix (,path)))))))))
(home-page "http://asymptote.sourceforge.net")
(synopsis "Script-based vector graphics language")
(description
diff --git a/gnu/packages/profiling.scm b/gnu/packages/profiling.scm
index 3cfe89d963..2740644448 100644
--- a/gnu/packages/profiling.scm
+++ b/gnu/packages/profiling.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2017 Dave Love <fx@gnu.org>
;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2022 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -19,6 +20,7 @@
(define-module (gnu packages profiling)
#:use-module (guix packages)
+ #:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:) ; avoid zlib, expat clashes
#:use-module (guix download)
#:use-module (guix utils)
@@ -48,71 +50,75 @@
(define-public papi
(package
(name "papi")
- (version "5.5.1")
+ (version "6.0.0")
(source
(origin
(method url-fetch)
(uri (string-append "http://icl.utk.edu/projects/papi/downloads/papi-"
version ".tar.gz"))
- (sha256 (base32 "1m62s8fkjjgq04ayf18jcxc33rqfd7nrkdw1gr54q5pn4cijrp29"))))
+ (sha256 (base32
+ "0pq5nhy105fpnk78k6l9ygsfr5akn6l0ck1hbf2c419lmsfp0hil"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Remove bundled software.
+ (for-each delete-file-recursively
+ '("src/libpfm-3.y" "src/libpfm4"
+ "src/perfctr-2.6.x"
+ "src/perfctr-2.7.x"))
+
+ ;; Adjust include directives.
+ (substitute* "src/components/lmsensors/linux-lmsensors.c"
+ (("<sensors.h>")
+ "<sensors/sensors.h>"))))))
(build-system gnu-build-system)
(inputs
(list ncurses
- `(,lm-sensors "lib") rdma-core
- `(,infiniband-diags "lib") net-tools))
+ rdma-core
+ libpfm4
+ `(,lm-sensors "lib")
+ `(,infiniband-diags "lib")
+ net-tools))
(native-inputs
- (list autoconf gfortran))
+ (list gfortran))
(arguments
- `(#:tests? #f ; no check target
- #:configure-flags
- ;; These are roughly per Fedora, but elide mx (assumed to be dead, even
- ;; Open-MX) and add and powercap -- I don't know the pros/cons of
- ;; infiniband and infiniband_mad, but you can't use them together, and
- ;; the umad version needs at least one patch.
- ;; Implicit enabled components: perf_event perf_event_uncore
- `("--with-perf-events" "--with-shared-lib=yes" "--with-shlib"
- "--with-static-lib=no"
- "--with-components=appio coretemp example lustre micpower net rapl \
+ (list #:tests? #f ;no check target
+ #:configure-flags
+ ;; These are roughly per Fedora, but elide mx (assumed to be dead, even
+ ;; Open-MX) and add and powercap -- I don't know the pros/cons of
+ ;; infiniband and infiniband_mad, but you can't use them together, and
+ ;; the umad version needs at least one patch.
+ ;; Implicit enabled components: perf_event perf_event_uncore
+ #~`("--with-perf-events" "--with-shared-lib=yes" "--with-shlib"
+ "--with-static-lib=no" "--with-shlib-tools"
+ "--with-components=appio coretemp example lustre micpower net rapl \
stealtime lmsensors infiniband powercap"
- ;; So utils get rpath set correctly:
- ,(string-append "LDFLAGS=-Xlinker -rpath -Xlinker "
- (assoc-ref %outputs "out") "/lib"))
- #:phases
- (modify-phases %standard-phases
- (add-before 'configure 'autoconf
- (lambda _
- (chdir "src")
- (invoke "autoconf")
- #t))
- ;; Amalgamating with the following clause gives double substitution.
- (add-before 'patch-source-shebangs 'patch-components
- (lambda _
- (with-directory-excursion "src/components"
- (substitute* '("lmsensors/configure" "infiniband_umad/configure")
- (("/bin/sh") (which "sh"))))
- #t))
- (add-after 'configure 'components
- (lambda* (#:key inputs #:allow-other-keys)
- (with-directory-excursion "components"
- (with-directory-excursion "infiniband_umad"
- (invoke "./configure"))
- (with-directory-excursion "lmsensors"
- (let ((base (assoc-ref inputs "lm-sensors")))
- (invoke "./configure"
- (string-append "--with-sensors_incdir="
- base "/include/sensors")
- (string-append "--with-sensors_libdir="
- base "/lib")))))
- #t))
- (add-after 'install 'extra-doc
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((doc (string-append (assoc-ref outputs "out")
- "/share/doc/" ,name "-" ,version)))
- (chdir "..") ; we went into src above
- (for-each (lambda (file)
- (install-file file doc))
- '("README" "RELEASENOTES.txt"))
- #t))))))
+ ;; So utils get rpath set correctly:
+ ,(string-append "LDFLAGS=-Xlinker -rpath -Xlinker "
+ #$output "/lib")
+ ,(string-append "--with-pfm-prefix="
+ #$(this-package-input "libpfm4")))
+
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'change-directory
+ (lambda _
+ (chdir "src")
+
+ ;; Work around a mistake whereby 'configure' would always error
+ ;; out when passing '--with-static-lib=no'.
+ (substitute* "configure"
+ (("test \"\\$static_lib\" = \"no\"")
+ "false"))))
+ (add-after 'install 'extra-doc
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((doc (string-append (assoc-ref outputs "out")
+ "/share/doc/"
+ #$name "-" #$version)))
+ (chdir "..") ; we went into src above
+ (for-each (lambda (file)
+ (install-file file doc))
+ '("README.md" "RELEASENOTES.txt"))))))))
(home-page "https://icl.utk.edu/papi/")
(synopsis "Performance Application Programming Interface")
(description
@@ -123,14 +129,14 @@ real time, the relation between software performance and processor events.
In addition, PAPI provides access to a collection of components that expose
performance measurement opportunites across the hardware and software stack.")
+ (properties
+ '((release-monitoring-url
+ . "http://icl.cs.utk.edu/papi/software/")))
;; See Debian papi copyright file.
(license (list license:bsd-3
- license:lgpl2.1+ ;src/components/infiniband/pscanf.h
+ license:lgpl2.1+ ;src/components/infiniband/pscanf.h
;; not used in output
license:gpl2+ ;src/components/appio/tests/iozone/gengnuplot.sh
- ;src/libpfm-3.y/*/multiplex*
- ;; "BSD-like": src/libpfm-3.y/*, src/libpfm4/*
- ;; lgpl2.1+: src/perfctr-2.*/*
))))
;; NB. there's a potential name clash with libotf.
diff --git a/gnu/packages/protobuf.scm b/gnu/packages/protobuf.scm
index b08c049717..3a74a4c613 100644
--- a/gnu/packages/protobuf.scm
+++ b/gnu/packages/protobuf.scm
@@ -210,7 +210,7 @@ code.")
(define-public protozero
(package
(name "protozero")
- (version "1.7.0")
+ (version "1.7.1")
(source
(origin
(method git-fetch)
@@ -219,7 +219,7 @@ code.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0fdihfl5j68wayjjxvpvhvnjq1anzcfnfl09f68wpzbkg3zmhblz"))))
+ (base32 "052cq5mdjjgcsgk612zkqi8k08p3ikl22r59dk6i6fq41dxldja7"))))
(build-system cmake-build-system)
(home-page "https://github.com/mapbox/protozero")
(synopsis "Minimalistic protocol buffer decoder and encoder in C++")
diff --git a/gnu/packages/pulseaudio.scm b/gnu/packages/pulseaudio.scm
index 5cda29789f..fe028b5202 100644
--- a/gnu/packages/pulseaudio.scm
+++ b/gnu/packages/pulseaudio.scm
@@ -121,14 +121,6 @@ SPARC. Hopefully the design of the library will also make it easy to extend
for reading and writing new sound file formats.")
(license l:gpl2+)))
-;; Remove this on core-updates
-(define-public libsndfile/fixed
- (package
- (inherit libsndfile)
- (inputs '())
- (propagated-inputs
- (list libvorbis libogg flac opus))))
-
(define-public libsamplerate
(package
(name "libsamplerate") ; aka. Secret Rabbit Code (SRC)
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index 1db5a6b335..2abb781f76 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -26,6 +26,7 @@
#:use-module (gnu packages)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix build-system python)
+ #:use-module (guix gexp)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix packages))
@@ -41,14 +42,14 @@
(define-public python-wheel
(package
(name "python-wheel")
- (version "0.33.6")
+ (version "0.37.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "wheel" version))
(sha256
(base32
- "0ii6f34rvpjg3nmw4bc2h7fhdsy38y1h93hghncfs5akfrldmj8h"))))
+ "1bbga5i49rj1cwi4sjpkvfhl1f8vl9lfky2lblsy768nk4wp5vz2"))))
(build-system python-build-system)
(arguments
;; FIXME: The test suite runs "python setup.py bdist_wheel", which in turn
@@ -92,6 +93,38 @@ installed with a newer @code{pip} or with wheel's own command line utility.")
Language (TOML) configuration files.")
(license license:expat)))
+(define-public python-tomli-w
+ (package
+ (name "python-tomli-w")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "tomli_w" version))
+ (sha256
+ (base32 "1fg13bfq5qy1ym4x77815nhxh1xpfs0drhn9r9464cz00m1l6qzl"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:tests? #f ;to avoid extra dependencies
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; 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-pypa-build python-flit-core))
+ (home-page "https://github.com/hukkin/tomli-w")
+ (synopsis "Minimal TOML writer")
+ (description "Tomli-W is a Python library for writing TOML. It is a
+write-only counterpart to Tomli, which is a read-only TOML parser.")
+ (license license:expat)))
+
(define-public python-pytoml
(package
(name "python-pytoml")
@@ -138,13 +171,13 @@ Python file, so it can be easily copied into your project.")
(define-public python-tomli
(package
(name "python-tomli")
- (version "1.2.2")
+ (version "2.0.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "tomli" version))
(sha256
- (base32 "1vjg44narb7hdiazdmbv8bfv7pi6phnq7nxm6aphx0iqxcah1kn6"))))
+ (base32 "1q8lrh9ypa6zpgbc5f7z23p7phzblp4vpxdrpfr1wajhb17w74n2"))))
(build-system python-build-system)
(arguments
`(#:tests? #f ;disabled to avoid extra dependencies
@@ -163,7 +196,7 @@ Python file, so it can be easily copied into your project.")
(invoke "pip" "--no-cache-dir" "--no-input"
"install" "--no-deps" "--prefix" out whl)))))))
(native-inputs
- `(("python-flit-core" ,python-flit-core)
+ `(("python-flit-core-bootstrap" ,python-flit-core-bootstrap)
("python-pypa-build" ,python-pypa-build)
("python-six", python-six-bootstrap)))
(home-page "https://github.com/hukkin/tomli")
@@ -199,13 +232,13 @@ Python file, so it can be easily copied into your project.")
(define-public python-pyparsing
(package
(name "python-pyparsing")
- (version "2.4.7")
+ (version "3.0.6")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pyparsing" version))
(sha256
- (base32 "1hgc8qrbq1ymxbwfbjghv01fm3fbpjwpjwi0bcailxxzhf3yq0y2"))))
+ (base32 "109b9r802wb472hgmxclljprh5cid0w3p6mk9alba7pg2c0frgfr"))))
(build-system python-build-system)
(outputs '("out" "doc"))
(arguments
@@ -234,8 +267,10 @@ Python file, so it can be easily copied into your project.")
executing simple grammars, vs. the traditional lex/yacc approach, or the use
of regular expressions. The pyparsing module provides a library of classes
that client code uses to construct the grammar directly in Python code.")
- (license license:expat)))
+ (license license:expat)
+ (properties `((python2-variant . ,(delay python2-pyparsing))))))
+;;; This is the last release compatible with Python 2.
(define-public python-pyparsing-2.4.7
(package
(inherit python-pyparsing)
@@ -248,22 +283,19 @@ that client code uses to construct the grammar directly in Python code.")
(base32 "1hgc8qrbq1ymxbwfbjghv01fm3fbpjwpjwi0bcailxxzhf3yq0y2"))))))
(define-public python2-pyparsing
- (package-with-python2 python-pyparsing))
+ (package-with-python2 (strip-python2-variant python-pyparsing-2.4.7)))
(define-public python-packaging-bootstrap
(package
(name "python-packaging-bootstrap")
- (version "20.0")
+ (version "21.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "packaging" version))
- ;; XXX: The URL in the patch file is wrong, it should be
- ;; <https://github.com/pypa/packaging/pull/256>.
- (patches (search-patches "python-packaging-test-arch.patch"))
(sha256
(base32
- "1y2ip3a4ykkpgnwgn85j6hkspcl0cg3mzms97f40mk57vwqq67gy"))))
+ "1sygirdrqgv4f1ckh9nhpcw1yfidrh3qjl86wq8vk6nq4wlw8iyx"))))
(build-system python-build-system)
(arguments `(#:tests? #f)) ;disabled to avoid extra dependencies
(propagated-inputs
@@ -280,7 +312,19 @@ information.")
(license (list license:asl2.0 license:bsd-2))))
(define-public python2-packaging-bootstrap
- (package-with-python2 python-packaging-bootstrap))
+ (let ((base (package-with-python2 python-packaging-bootstrap)))
+ (package/inherit base
+ (version "20.0") ;last version with Python 2 support
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "packaging" version))
+ ;; XXX: The URL in the patch file is wrong, it should be
+ ;; <https://github.com/pypa/packaging/pull/256>.
+ (patches (search-patches "python-packaging-test-arch.patch"))
+ (sha256
+ (base32
+ "1y2ip3a4ykkpgnwgn85j6hkspcl0cg3mzms97f40mk57vwqq67gy")))))))
;;; The name 'python-pypa-build' is chosen rather than 'python-build' to avoid
;;; a name clash with python-build from (guix build-system python).
@@ -336,16 +380,17 @@ a light weight, fully compliant, self-contained package allowing PEP 517
compatible build front-ends to build Poetry managed projects.")
(license license:expat)))
-(define-public python-flit-core
+;;; This package exists to bootstrap python-tomli.
+(define-public python-flit-core-bootstrap
(package
- (name "python-flit-core")
- (version "3.4.0")
+ (name "python-flit-core-bootstrap")
+ (version "3.5.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "flit" version))
(sha256
- (base32 "10vjqnybvjdqdbmyc0asbhhvq51yjnnj00645yiq9849gnr8h0ir"))))
+ (base32 "04152qj46sqbnlrj7ch9p7svjrrlpzbk0qr39g2yr0s4f5vp6frf"))))
(build-system python-build-system)
(propagated-inputs
(list python-toml))
@@ -376,3 +421,10 @@ compatible build front-ends to build Poetry managed projects.")
backend for packages using Flit. The only public interface is the API
specified by PEP 517, @code{flit_core.buildapi}.")
(license license:bsd-3)))
+
+(define-public python-flit-core
+ (package/inherit python-flit-core-bootstrap
+ (name "python-flit-core")
+ (propagated-inputs
+ (modify-inputs (package-propagated-inputs python-flit-core-bootstrap)
+ (replace "python-toml" python-tomli)))))
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 6bd86d451f..f971dae5b4 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -5,7 +5,7 @@
;;; Copyright © 2019, 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2019, 2021 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2020 Julien Lepiller <julien@lepiller.eu>
-;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2020, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2020 Edouard Klein <edk@beaver-labs.com>
;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org>
@@ -44,6 +44,7 @@
#:use-module (guix utils)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
+ #:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix download)
#:use-module (guix build-system python))
@@ -144,6 +145,35 @@ are useful when writing automated tests in Python.")
(home-page "https://testfixtures.readthedocs.io/en/latest/")
(license license:expat)))
+(define-public python-cucumber-tag-expressions
+ (package
+ (name "python-cucumber-tag-expressions")
+ (version "4.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "cucumber-tag-expressions" version))
+ (sha256
+ (base32 "0q7rn4l4ppjd1zsglr37ccc5xccg4iigaw827282zfzfsvzda573"))))
+ (build-system python-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; Ignore the configuration file since we don't
+ ;; need HTML reports, etc.
+ (invoke "pytest" "-c" "/dev/null" "-vv")))))))
+ (native-inputs
+ (list python-invoke python-pathpy python-pytest))
+ (home-page "https://github.com/cucumber/tag-expressions-python")
+ (synopsis "Tag-expression parser for cucumber/behave")
+ (description
+ "This package provides a tag-expression parser for Cucumber and
+@command{behave}.")
+ (license license:expat)))
+
(define-public python-coveralls
(package
(name "python-coveralls")
@@ -387,6 +417,8 @@ astropy related packages.")
;; Tests require python-astropy, which itself requires this package.
;; Disable tests to avoid the circular dependency problem.
'(#:tests? #f))
+ (native-inputs
+ (list python-pytest)) ; for sanity-check
(propagated-inputs
(list python-numpy python-six))
(home-page "https://github.com/astropy/pytest-arraydiff")
@@ -400,24 +432,32 @@ are too large to conveniently hard-code them in the tests.")
(define-public python-pytest-doctestplus
(package
(name "python-pytest-doctestplus")
- (version "0.7.0")
+ (version "0.11.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pytest-doctestplus" version))
(sha256
- (base32 "1ai9kvd7xbq2jg2h8gmkb8lqzyrxvdh4zg3vxndg149iwd1hyi7d"))))
+ (base32 "0j1lvlj3ps975q9hmg8i6rpqm0313j3r18bc3l8mz6khb7vav4zk"))))
(build-system python-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda* (#:key inputs outputs #:allow-other-keys)
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
;; Make the installed plugin discoverable by Pytest.
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest" "-vv"))))))
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "-m" "pytest" "-k"
+ (string-append ; skip tests that require remote data
+ "not test_remote_data_url"
+ " and not test_remote_data_float_cmp"
+ " and not test_remote_data_ignore_whitespace"
+ " and not test_remote_data_ellipsis"
+ " and not test_remote_data_requires"
+ " and not test_remote_data_ignore_warnings"))))))))
(native-inputs
- (list python-pytest))
+ (list python-pytest python-setuptools-scm))
(home-page "https://github.com/astropy/pytest-doctestplus")
(synopsis "Pytest plugin with advanced doctest features")
(description
@@ -514,6 +554,32 @@ namespace which can be used to register helper functions without requiring
someone to import them in their actual tests to use them.")
(license license:asl2.0)))
+(define-public python-pytest-metadata
+ (package
+ (name "python-pytest-metadata")
+ (version "1.11.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-metadata" version))
+ (sha256
+ (base32 "1wgcz0w053lnjln0081kjmfflaq7bwncxdzx7k63kr9lkpa0ddbi"))))
+ (build-system python-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv")))))))
+ (native-inputs (list python-pytest python-setuptools-scm))
+ (home-page "https://github.com/pytest-dev/pytest-metadata")
+ (synopsis "Access test session metadata with Pytest")
+ (description
+ "@code{pytest-metadata} is a @command{pytest} plugin that provides
+access to test session metadata.")
+ (license license:mpl2.0)))
+
(define-public python-pytest-openfiles
(package
(name "python-pytest-openfiles")
@@ -676,6 +742,31 @@ framework and makes it easy to undo any monkey patching. The fixtures are:
in Pytest.")
(license license:bsd-3)))
+(define-public python-pytest-pydocstyle
+ (package
+ (name "python-pytest-pydocstyle")
+ (version "2.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/henry0312/pytest-pydocstyle")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0w6fivz4nb4b70wzmi5sk17qs9pd05rnh03fmch6v00r3dmfpk39"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f)) ; test requires the package itself
+ (propagated-inputs
+ (list python-pydocstyle
+ python-pytest)) ;apparently required
+ (home-page "https://github.com/henry0312/pytest-pydocstyle")
+ (synopsis "Pytest plugin to run @command{pydocstyle}")
+ (description "This package provides a Pytest plugin to run
+@command{pydocstyle}.")
+ (license license:expat)))
+
(define-public python-covdefaults
(package
(name "python-covdefaults")
@@ -706,6 +797,33 @@ in Pytest.")
settings.")
(license license:expat)))
+(define-public python-pytest-subtests
+ (package
+ (name "python-pytest-subtests")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-subtests" version))
+ (sha256
+ (base32 "087i03nmkmfnrpc7mmizvr40ijnjw4lfxc22rnk8jk6s1szy9lav"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "-m" "pytest")))))))
+ (native-inputs
+ (list python-pytest python-setuptools-scm))
+ (home-page "https://github.com/pytest-dev/pytest-subtests")
+ (synopsis "Unittest subTest() support and subtests fixture")
+ (description "This Pytest plugin provides unittest @code{subTest()}
+support and @code{subtests} fixture.")
+ (license license:expat)))
+
(define-public python-pytest-vcr
;; This commit fixes integration with pytest-5
(let ((commit "4d6c7b3e379a6a7cba0b8f9d20b704dc976e9f05")
@@ -739,6 +857,35 @@ in Pytest.")
"Plugin for managing VCR.py cassettes.")
(license license:expat))))
+(define-public python-pytest-doctest-custom
+ (package
+ (name "python-pytest-doctest-custom")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-doctest-custom" version))
+ (sha256
+ (base32 "0kxkdd6q9c3h31kc88lbyfll4c45b0zjd24cbr4c083fcvcy7lip"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "test_pytest_doctest_custom.py")))))))
+ (native-inputs
+ (list python-pytest))
+ (home-page "https://github.com/danilobellini/pytest-doctest-custom")
+ (synopsis
+ "Pytest plugin to customize string representations of doctest results")
+ (description "This package provides a Pytest plugin for customizing string
+representations of doctest results. It can change the display hook used by
+doctest to render the object representations.")
+ (license license:expat)))
+
(define-public python-pytest-checkdocs
(package
(name "python-pytest-checkdocs")
@@ -983,14 +1130,14 @@ framework.")
(define-public python-pytest-pycodestyle
(package
(name "python-pytest-pycodestyle")
- (version "2.0.0") ;later versions require python-pytest~=5.4
+ (version "2.2.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pytest-pycodestyle" version))
(sha256
(base32
- "02i5gl7pm9cwxk15sn29inz3n8flpj1r3p1l110h43f2na5w8h7z"))))
+ "1clyjypn93hwvz17f4i6n2688835d4y8qsq2aw17d6fkbqiy8mg7"))))
(build-system python-build-system)
(propagated-inputs
(list python-pycodestyle))
@@ -1265,6 +1412,28 @@ fixtures for testing Tornado (version 5.0 or newer) apps and easy handling of
plain (undecoratored) native coroutine tests.")
(license license:expat)))
+(define-public python-pytest-celery
+ (package
+ (name "python-pytest-celery")
+ (version "0.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-celery" version))
+ (sha256
+ (base32 "01pli108qqiiyrn8qsqqabcpazrzj27r7cji9wgglsk76by61l6g"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f ; no tests and circular dependency on python-celery
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'sanity-check)))) ; checks for celery
+ (home-page "https://github.com/graingert/pytest-celery")
+ (synopsis "Shim pytest plugin to enable @code{celery.contrib.pytest}")
+ (description
+ "This package provides a shim Pytest plugin to enable a Celery marker.")
+ (license license:bsd-3)))
+
(define-public python-pytest-env
(package
(name "python-pytest-env")
@@ -1379,7 +1548,7 @@ analysing code quality.")
(propagated-inputs
(list python-requests))
(home-page "https://github.com/patrys/httmock")
- (synopsis "Mocking library for requests.")
+ (synopsis "Mocking library for requests")
(description "This package provides a library for replying fake data to
Python software under test, when they make an HTTP query.")
(license license:asl2.0)))
@@ -1472,7 +1641,7 @@ supported by the MyPy typechecker.")
(define-public python-mypy
(package
(name "python-mypy")
- (version "0.910")
+ (version "0.931")
(source
(origin
;; Because of https://github.com/python/mypy/issues/9584, the
@@ -1489,7 +1658,7 @@ supported by the MyPy typechecker.")
(file-name (git-file-name name version))
(sha256
(base32
- "16ryn9d48ilcs3yrkrm9ynx36qnv0gkdkc4sbafpagcqgr2f0mrg"))))
+ "1v83flrdxh8grcp40qw04q4hzjflih9xwib64078vsxv2w36f817"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -1500,20 +1669,14 @@ supported by the MyPy typechecker.")
(invoke "pytest" "mypyc")))))))
(native-inputs
(list python-attrs
- python-flake8
- python-flake8-bugbear
- python-flake8-pyi
- python-importlib-metadata
python-lxml
python-psutil
python-pytest
- python-pytest-cov
python-pytest-forked
python-pytest-xdist
python-virtualenv))
(propagated-inputs
- (list python-mypy-extensions python-toml python-typing-extensions
- python-typed-ast))
+ (list python-mypy-extensions python-tomli python-typing-extensions))
(home-page "http://www.mypy-lang.org/")
(synopsis "Static type checker for Python")
(description "Mypy is an optional static type checker for Python that aims
diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm
index afb2caf13b..e7f008e112 100644
--- a/gnu/packages/python-compression.scm
+++ b/gnu/packages/python-compression.scm
@@ -28,6 +28,7 @@
#:use-module (guix utils)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix gexp)
#:use-module (guix build-system gnu)
#:use-module (guix build-system python)
#:use-module (gnu packages)
@@ -416,6 +417,38 @@ wrapper. It provides a backport of the @code{Path} object.")
(native-inputs
`(("python-setuptools-scm" ,python2-setuptools-scm))))))
+(define-public python-zopfli
+ (package
+ (name "python-zopfli")
+ (version "0.1.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "zopfli" version ".zip"))
+ (sha256
+ (base32 "0yqdwvlpbvhhri0qmzag076ddi0sv43qjlk17l0siylfib03rpkq"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'use-system-zopfli
+ (lambda _
+ (setenv "USE_SYSTEM_ZOPFLI" "1")))
+ (add-before 'build 'set-version
+ (lambda _
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "tests/tests.py" "-v")))))))
+ (native-inputs (list unzip python-setuptools-scm))
+ (inputs (list zopfli))
+ (home-page "https://github.com/fonttools/py-zopfli")
+ (synopsis "Python bindings for Zopfli")
+ (description "@code{pyzopfli} is a straight forward wrapper around the
+@code{ZlibCompress} method of the the @code{zopfli} library.")
+ (license license:asl2.0)))
+
(define-public python-zstandard
(package
(name "python-zstandard")
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 2072e4e164..e49ccdf1f2 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -2,7 +2,7 @@
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2015, 2016, 2017, 2019 Leo Famulari <leo@famulari.name>
-;;; Copyright © 2016, 2017, 2020 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2016, 2017, 2020, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2017 Ben Sturmfels <ben@sturm.com.au>
;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2015 Cyril Roelandt <tipecaml@gmail.com>
@@ -47,9 +47,11 @@
#:use-module (guix download)
#:use-module (guix gexp)
#:use-module (guix git-download)
+ #:use-module (guix build-system cargo)
#:use-module (guix build-system python)
#:use-module (gnu packages)
#:use-module (gnu packages check)
+ #:use-module (gnu packages crates-io)
#:use-module (gnu packages crypto)
#:use-module (gnu packages kerberos)
#:use-module (gnu packages libffi)
@@ -62,6 +64,7 @@
#:use-module (gnu packages python-compression)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
+ #:use-module (gnu packages rust)
#:use-module (gnu packages swig)
#:use-module (gnu packages time)
#:use-module (gnu packages tls)
@@ -96,17 +99,22 @@ Python. It does not bind to libotr.")
(define-public python-base58
(package
(name "python-base58")
- (version "2.0.1")
+ (version "2.1.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "base58" version))
(sha256
(base32
- "0yfaqp76kbdb62hikr5n4jkkfjfmii89grwfy6sw3fmsv5hrap1n"))))
+ "1317ly0db7nnjg5k58f6nqa0svfcvn446xd5bpiyi0bfbczwpl65"))))
(build-system python-build-system)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests? (invoke "pytest" "-vv")))))))
(native-inputs
- (list python-pyhamcrest))
+ (list python-pyhamcrest python-pytest python-pytest-benchmark))
(home-page "https://github.com/keis/base58")
(synopsis "Base58 and Base58Check implementation")
(description "Base58 and Base58Check implementation compatible
@@ -222,19 +230,23 @@ Python interface around SSH networking concepts.")
(define-public python-ecdsa
(package
(name "python-ecdsa")
- (version "0.14.1")
+ (version "0.17.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "ecdsa" version))
(sha256
- (base32 "13nx5cbfxc0gnax5zwdmp9xc40qd1llk62mv85jyrvqkbw017ik4"))))
+ (base32 "1ak8xa2r660d85abrlffp0bqvwdadg9ga4066g856hcy8fxh1xdr"))))
(build-system python-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda _ (invoke "pytest"))))))
+ (lambda _ (invoke
+ "pytest"
+ "-vv"
+ "-k"
+ "not test_multithreading_with_interrupts"))))))
(propagated-inputs
(list python-six))
(native-inputs
@@ -538,6 +550,129 @@ message digests and key derivation functions.")
("python2-enum34" ,python2-enum34)
,@(package-propagated-inputs crypto))))))
+;; TODO: Make this the default in the next staging cycle.
+(define-public python-cryptography-vectors-next
+ (package
+ (inherit python-cryptography-vectors)
+ (version "36.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "cryptography_vectors" version))
+ (sha256
+ (base32
+ "166mvhhmgglqai1sjkkb76mpdkad2yykam11d2w44hs2snpr117w"))))))
+
+(define-public python-cryptography-next
+ (package
+ (inherit python-cryptography)
+ (version "36.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "cryptography" version))
+ (sha256
+ (base32
+ "0f1n8bvngarhsssm60xc59xfzkh7yqpyyyypaph3v5bs7pfc3rak"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:imported-modules (append %cargo-build-system-modules
+ %python-build-system-modules)
+ #:modules `(((guix build cargo-build-system) #:prefix cargo:)
+ ,@%python-build-system-modules
+ (srfi srfi-1)
+ (ice-9 match))
+ #:phases
+ #~(modify-phases (@ (guix build python-build-system) %standard-phases)
+ (add-after 'unpack 'loosen-ouroboros-version
+ (lambda _
+ (substitute* "src/rust/Cargo.toml"
+ (("ouroboros = \"0\\.13\"")
+ "ouroboros = \"0.14\""))))
+ (add-before 'build 'configure-cargo
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; Hide irrelevant inputs from cargo-build-system so it does
+ ;; not try to unpack sanity-check.py, etc.
+ (let ((cargo-inputs (filter (match-lambda
+ ((name . path)
+ (or (string-prefix? "rust-" name)
+ (string=? "gcc" name))))
+ inputs)))
+ (with-directory-excursion "src/rust"
+ ((assoc-ref cargo:%standard-phases 'unpack-rust-crates)
+ #:inputs cargo-inputs
+ #:vendor-dir "guix-vendor")
+ ((assoc-ref cargo:%standard-phases 'configure)
+ #:inputs cargo-inputs)
+ ((assoc-ref cargo:%standard-phases 'patch-cargo-checksums)
+ #:vendor-dir "guix-vendor"))
+ (rename-file "src/rust/.cargo" ".cargo"))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv" "tests")))))))
+ (inputs
+ (list openssl
+ rust-aliasable-0.1
+ rust-asn1-0.8
+ rust-asn1-derive-0.8
+ rust-autocfg-1
+ rust-base64-0.13
+ rust-bitflags-1
+ rust-cfg-if-0.1
+ rust-cfg-if-1
+ rust-chrono-0.4
+ rust-cloudabi-0.1
+ rust-lazy-static-1
+ rust-libc-0.2
+ rust-indoc-0.3
+ rust-indoc-impl-0.3
+ rust-inflector-0.11
+ rust-instant-0.1
+ rust-lock-api-0.4
+ rust-num-integer-0.1
+ rust-num-traits-0.2
+ rust-once-cell-1
+ rust-ouroboros-0.14
+ rust-ouroboros-macro-0.14
+ rust-parking-lot-0.11
+ rust-parking-lot-core-0.8
+ rust-paste-0.1
+ rust-paste-impl-0.1
+ rust-pem-1
+ rust-proc-macro-error-1
+ rust-proc-macro-error-attr-1
+ rust-proc-macro-hack-0.5
+ rust-proc-macro2-1
+ rust-pyo3-0.15
+ rust-pyo3-build-config-0.15
+ rust-pyo3-macros-0.15
+ rust-pyo3-macros-backend-0.15
+ rust-quote-1
+ rust-redox-syscall-0.1
+ rust-scopeguard-1
+ rust-smallvec-1
+ rust-stable-deref-trait-1
+ rust-syn-1
+ rust-unicode-xid-0.2
+ rust-unindent-0.1
+ rust-version-check-0.9
+ rust-winapi-0.3))
+ (propagated-inputs
+ (list python-asn1crypto python-cffi python-six python-idna
+ python-iso8601))
+ (native-inputs
+ (list python-cryptography-vectors-next
+ python-hypothesis
+ python-pretend
+ python-pytz
+ python-pytest
+ python-pytest-subtests
+ python-setuptools-rust
+ rust `(,rust "cargo")))
+ (properties '())))
+
(define-public python-pyopenssl
(package
(name "python-pyopenssl")
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 393e59896d..8df311baea 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -4,9 +4,9 @@
;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
-;;; Copyright © 2016, 2017, 2018, 2019, 2020 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2016-2020, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
-;;; Copyright © 2019 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2019, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2020 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
@@ -66,13 +66,13 @@
(define-public python-scipy
(package
(name "python-scipy")
- (version "1.6.0")
+ (version "1.7.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "scipy" version))
(sha256
- (base32 "0rh5b1rwdcvvagld8vpxnpaibszy1skpx39a0fwzd5gx5pwcjvfb"))))
+ (base32 "1gxsnw6viz2j3sm8ak2a8l7fcn4b2zm3kzfm8w57xxyyrzx7an5b"))))
(build-system python-build-system)
(propagated-inputs
(list python-numpy python-matplotlib python-pyparsing))
@@ -80,8 +80,10 @@
(list openblas pybind11))
(native-inputs
(list python-cython
+ python-pydata-sphinx-theme
python-pytest
python-sphinx
+ python-sphinx-panels
python-numpydoc
gfortran
perl
@@ -90,11 +92,13 @@
(arguments
`(#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'disable-pythran
+ (lambda _
+ (setenv "SCIPY_USE_PYTHRAN" "0")))
(add-before 'build 'change-home-dir
(lambda _
;; Change from /homeless-shelter to /tmp for write permission.
- (setenv "HOME" "/tmp")
- #t))
+ (setenv "HOME" "/tmp")))
(add-after 'unpack 'disable-broken-tests
(lambda _
(substitute* "scipy/sparse/linalg/dsolve/tests/test_linsolve.py"
@@ -105,8 +109,7 @@
(substitute* "scipy/sparse/linalg/eigen/arpack/tests/test_arpack.py"
(("^def test_parallel_threads\\(\\):" m)
(string-append "@pytest.mark.skip(reason=\"Disabled by Guix\")\n"
- m)))
- #t))
+ m)))))
(add-before 'build 'configure-openblas
(lambda* (#:key inputs #:allow-other-keys)
(call-with-output-file "site.cfg"
@@ -124,8 +127,7 @@ atlas_libs = openblas
"
(assoc-ref inputs "openblas")
(assoc-ref inputs "openblas")
- (assoc-ref inputs "openblas"))))
- #t))
+ (assoc-ref inputs "openblas"))))))
(add-after 'install 'install-doc
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((data (string-append (assoc-ref outputs "doc") "/share"))
@@ -151,8 +153,7 @@ atlas_libs = openblas
(let* ((dir (dirname file))
(tgt-dir (string-append html "/" dir)))
(install-file file html)))
- (find-files "." ".*")))))
- #t))
+ (find-files ".")))))))
;; Tests can only be run after the library has been installed and not
;; within the source directory.
(delete 'check)
@@ -238,13 +239,7 @@ Cython.")
(sha256
(base32 "0bp1n771fj44kdp7a00bcvfwirvv2rc803b7g6yf3va7v0j29c8s"))))
(build-system python-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda _
- (invoke "nosetests" "-s" "-v" "skfuzzy")
- #t)))))
+ (arguments '(#:tests? #f)) ;XXX: not compatible with newer numpy.testing
(native-inputs
(list python-nose))
(propagated-inputs
@@ -335,13 +330,13 @@ of the SGP4 satellite tracking algorithm.")
(define-public python-pandas
(package
(name "python-pandas")
- (version "1.3.4")
+ (version "1.3.5")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pandas" version))
(sha256
- (base32 "1z3gm521wpm3j13rwhlb4f2x0645zvxkgxij37i3imdpy39iiam2"))))
+ (base32 "1wd92ra8xcjgigbypid53gvby89myg68ica6r8hdw4hhvvsqahhy"))))
(build-system python-build-system)
(arguments
`(#:modules ((guix build utils)
@@ -378,23 +373,23 @@ of the SGP4 satellite tracking algorithm.")
(invoke "pytest" "-vv" "pandas" "--skip-slow"
"--skip-network"
"-k"
- ;; These tets access the internet:
- ;; pandas/tests/io/xml/test_xml.py::test_wrong_url[lxml]
- ;; pandas/tests/io/xml/test_xml.py::test_wrong_url[etree]
- ;; TODO: the excel tests fail for unknown reasons
- (string-append "not test_wrong_url"
- " and not test_excelwriter_fspath"
- " and not test_ExcelWriter_dispatch"
- ;; TODO: Missing input
- " and not TestS3"
- " and not s3"))))))))))
+ (string-append
+ ;; These test access the internet (see:
+ ;; https://github.com/pandas-dev/pandas/issues/45085).:
+ ;; pandas/tests/io/xml/test_xml.py::test_wrong_url[lxml]
+ ;; pandas/tests/io/xml/test_xml.py::test_wrong_url[etree]
+ "not test_wrong_url"
+ ;; TODO: Missing input
+ " and not TestS3"
+ " and not s3"))))))))))
(propagated-inputs
(list python-jinja2
python-numpy
python-openpyxl
python-pytz
python-dateutil
- python-xlrd))
+ python-xlrd
+ python-xlsxwriter))
(inputs
(list which xclip xsel))
(native-inputs
@@ -402,7 +397,6 @@ of the SGP4 satellite tracking algorithm.")
python-beautifulsoup4
python-lxml
python-html5lib
- python-nose
python-pytest
python-pytest-mock
;; Needed to test clipboard support.
@@ -418,33 +412,10 @@ doing practical, real world data analysis in Python.")
(properties `((python2-variant . ,(delay python2-pandas))))
(license license:bsd-3)))
-(define-public python-pandas-0.25
- (package
- (inherit python-pandas)
- (version "0.25.3")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "pandas" version))
- (sha256
- (base32
- "191048m6kdc6yfvqs9w412lq60cfvigrsb57y0x116lwibgp9njj"))))
- (arguments
- (substitute-keyword-arguments (package-arguments python-pandas)
- ((#:phases phases)
- `(modify-phases ,phases
- (replace 'patch-which
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((which (assoc-ref inputs "which")))
- (substitute* "pandas/io/clipboard/__init__.py"
- (("^CHECK_CMD = .*")
- (string-append "CHECK_CMD = \"" which "\"\n"))))
- #t))
- (delete 'prepare-x)))))))
-
;; Pandas 0.24.x are the last versions that support Python 2.
(define-public python2-pandas
(let ((pandas (package-with-python2
- (strip-python2-variant python-pandas-0.25))))
+ (strip-python2-variant python-pandas))))
(package
(inherit pandas)
(version "0.24.2")
@@ -704,26 +675,31 @@ annotations on an existing boxplots and barplots generated by seaborn.")
(define-public python-upsetplot
(package
(name "python-upsetplot")
- (version "0.4.1")
+ (version "0.6.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "UpSetPlot" version))
(sha256
(base32
- "0kwljcmsvrxm33y3ssham2bwv4a5m31mv96y9h18va0cv7s3mqn1"))))
+ "11zrykwnb00w5spx4mnsnm0f9gwrphdczainpmwkyyi50vipaa2l"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; Patch for compatibility with newer setuptools:
+ ;; https://github.com/jnothman/UpSetPlot/pull/178
+ '(substitute* "upsetplot/data.py"
+ (("import distutils")
+ "from distutils.version import LooseVersion")
+ (("if distutils\\.version\\.LooseVersion")
+ "if LooseVersion")))))
(build-system python-build-system)
(arguments
- `(#:phases
+ '(#:phases
(modify-phases %standard-phases
- (add-after 'unpack 'fix-versioning
- (lambda _
- (substitute* "setup.py"
- (("pytest-cov<2.6") "pytest-cov"))))
(replace 'check
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest" "-v" "--doctest-modules"))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-v" "--doctest-modules")))))))
(propagated-inputs
(list python-matplotlib python-pandas))
(native-inputs
@@ -992,6 +968,12 @@ computing in Python. It extends both the @code{concurrent.futures} and
(add-after 'unpack 'make-files-writable
(lambda _
(for-each make-file-writable (find-files "."))))
+ (add-after 'unpack 'loosen-requirements
+ (lambda _
+ (substitute* "setup.py"
+ ;; Don't depend on a specific version of Pandas.
+ (("pandas==")
+ "pandas>="))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 61a34bfc63..406c6cb51b 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1,10 +1,10 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
-;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017 Christopher Baines <mail@cbaines.net>
;;; Copyright © 2016, 2017 Danny Milosavljevic <dannym+a@scratchpost.org>
;;; Copyright © 2013, 2014, 2015, 2016, 2020 Andreas Enge <andreas@enge.fr>
-;;; Copyright © 2016, 2017, 2019, 2020, 2021 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2016, 2017, 2019-2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017, 2021 Roel Janssen <roel@gnu.org>
;;; Copyright © 2016, 2017, 2020 Julien Lepiller <julien@lepiller.eu>
@@ -26,7 +26,7 @@
;;; Copyright © 2018 Tomáš Čech <sleep_walker@gnu.org>
;;; Copyright © 2018, 2019, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2018 Mathieu Othacehe <m.othacehe@gmail.com>
-;;; Copyright © 2018, 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2018, 2020, 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2019 Vagrant Cascadian <vagrant@debian.org>
;;; Copyright © 2019 Brendan Tildesley <mail@brendan.scot>
;;; Copyright © 2019 Pierre Langlois <pierre.langlois@gmx.com>
@@ -37,9 +37,9 @@
;;; Copyright © 2020 Holger Peters <holger.peters@posteo.de>
;;; Copyright © 2020 Noisytoot <noisytoot@gmail.com>
;;; Copyright © 2020 Edouard Klein <edk@beaver-labs.com>
-;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2020, 2021, 2022 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020 Konrad Hinsen <konrad.hinsen@fastmail.net>
-;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
+;;; Copyright © 2020, 2022 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2021 Ekaitz Zarraga <ekaitz@elenq.tech>
;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
@@ -47,6 +47,7 @@
;;; Copyright © 2021 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2021 jgart <jgart@dismail.de>
;;; Copyright © 2021 Alice Brenon <alice.brenon@ens-lyon.fr>
+;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -82,6 +83,7 @@
#:use-module (gnu packages libevent)
#:use-module (gnu packages libffi)
#:use-module (gnu packages node)
+ #:use-module (gnu packages pcre)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
@@ -165,25 +167,74 @@ API rules.")
(home-page "https://praw.readthedocs.io/en/latest/")
(license license:bsd-2)))
+(define-public python-frozenlist
+ (package
+ (name "python-frozenlist")
+ (version "1.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "frozenlist" version))
+ (sha256
+ (base32 "1pkr23by7pk9lsmsh0wiqirpkq3f1f08b0615nbzysn51bk1n838"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "tests")))))))
+ (native-inputs (list python-pytest))
+ (home-page "https://github.com/aio-libs/frozenlist")
+ (synopsis "List-like data structure for Python")
+ (description "@code{frozenlist.FrozenList} is a list-like structure which
+implements @code{collections.abc.MutableSequence}. It can be made immutable
+by calling @code{FrozenList.freeze}.")
+ (license license:asl2.0)))
+
+(define-public python-aiosignal
+ (package
+ (name "python-aiosignal")
+ (version "1.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "aiosignal" version))
+ (sha256
+ (base32 "1wkxbdgw07ay8yzx3pg1jcm46p3d21rfb5g4k17ysz3vdkdngvbq"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "tests")))))))
+ (propagated-inputs (list python-frozenlist))
+ (native-inputs (list python-pytest python-pytest-asyncio))
+ (home-page "https://github.com/aio-libs/aiosignal")
+ (synopsis "Callback manager for Python @code{asyncio} projects")
+ (description "This Python module provides @code{Signal}, an abstraction to
+register asynchronous callbacks. The @code{Signal} abstraction can be used
+for adding, removing and dropping callbacks.")
+ (license license:asl2.0)))
+
(define-public python-aiohttp
(package
(name "python-aiohttp")
- (version "3.7.4")
+ (version "3.8.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "aiohttp" version))
(sha256
- (base32 "1pn79h8fng4xi5gl1f6saw31nxgmgyxl41yf3vba1l21673yr12x"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- (for-each delete-file
- '("aiohttp/_frozenlist.c"
- "aiohttp/_helpers.c"
- "aiohttp/_http_parser.c"
- "aiohttp/_http_writer.c"
- "aiohttp/_websocket.c"))))))
+ (base32 "0y3m1dzl4h6frg8vys0fc3m83ijd1plfpihv3kvmxqadlphp2m7w"))
+ ;; TODO: Unbundle the llhttp sources.
+ ;; (modules '((guix build utils)))
+ ;; (snippet
+ ;; '((delete-file-recursively "vendor")))
+ ))
(build-system python-build-system)
(arguments
'(#:phases
@@ -211,24 +262,40 @@ API rules.")
;; Adapted from the Makefile.
(with-directory-excursion "aiohttp"
(for-each
- (lambda (file)
- (invoke "cython" "-3"
- file "-I" "."))
- (find-files "." "_.*\\.pyx$")))))
+ (lambda (file)
+ (invoke "cython" "-3"
+ file "-I" "."))
+ (find-files "." "_.*\\.pyx$")))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
- (if tests?
- (invoke "pytest" "-vv"
- ;; Disable loading the aiohttp coverage plugin
- ;; to avoid a circular dependency (code coverage
- ;; is not very interesting to us anyway).
- "-o" "addopts=''" "--ignore=aiohttp")
- (format #t "test suite not run~%")))))))
+ (when tests?
+ ;; This tests requires the 'proxy.py' module, not yet
+ ;; packaged.
+ (delete-file "tests/test_proxy_functional.py")
+ (invoke "pytest" "-vv"
+ ;; Disable loading the aiohttp coverage plugin
+ ;; to avoid a circular dependency (code coverage
+ ;; is not very interesting to us anyway).
+ "-o" "addopts=''" "--ignore=aiohttp"
+ "-n" (number->string (parallel-job-count))
+ "-k" (string-append
+ ;; This test probably requires to be run with the
+ ;; library loaded from the the build directory.
+ "not test_c_parser_loaded and "
+ ;; Disable the following tests as they require
+ ;; networking.
+ "not TestDeflateBuffer and "
+ "not test_client_session_timeout_zero and "
+ "not test_empty_body and "
+ "not test_mark_formdata_as_processed[pyloop] and "
+ "not test_receive_runtime_err[pyloop]"))))))))
(propagated-inputs
(list python-aiodns
+ python-aiosignal
+ python-attrs
python-async-timeout
- python-attrs ;note: remove for > 3.7
- python-chardet
+ python-charset-normalizer
+ python-frozenlist
python-idna-ssl
python-multidict
python-typing-extensions
@@ -238,8 +305,9 @@ API rules.")
python-async-generator
python-cython
python-freezegun
- python-pytest-6.1
+ python-pytest
python-pytest-mock
+ python-pytest-xdist
python-re-assert))
(home-page "https://github.com/aio-libs/aiohttp/")
(synopsis "Async HTTP client/server framework (asyncio)")
@@ -687,7 +755,7 @@ other HTTP libraries.")
'(#:tests? #f))
(propagated-inputs
(list python-colorama python-pygments python-requests
- python-requests-toolbelt-0.9.1))
+ python-requests-toolbelt))
(home-page "https://httpie.io")
(synopsis "cURL-like tool for humans")
(description
@@ -726,23 +794,10 @@ which is also valid markdown. html2text was originally written by Aaron
Swartz.")
(license license:gpl3+)))
-(define-public python2-html2text
- (let ((base (package-with-python2 python-html2text)))
- (package
- (inherit base)
- ;; This is the last version with support for Python 2.
- (version "2019.8.11")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "html2text" version))
- (sha256
- (base32
- "0ppgjplg06kmv9sj0x8p7acczcq2mcfgk1jdjwm4w5w40b0vj5pm")))))))
-
(define-public python-jose
(package
(name "python-jose")
- (version "3.2.0")
+ (version "3.3.0")
(home-page "https://github.com/mpdavis/python-jose")
(source (origin
(method git-fetch)
@@ -750,7 +805,7 @@ Swartz.")
(file-name (git-file-name name version))
(sha256
(base32
- "1xmnf8whzv2gnkkdv0fqcn9qwmcc7y647p4kw9fi3lvcp9kch8vi"))))
+ "18whsdpllg8574ma4r0qawkgw4nam6lsf63pi6761j38rvl84lg9"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -775,6 +830,40 @@ JSON Web Algorithms (JWA) - collectively can be used to encrypt and/or sign
content using a variety of algorithms.")
(license license:expat)))
+(define-public python-pyscss
+ (package
+ (name "python-pyscss")
+ (version "1.3.7")
+ (source
+ (origin
+ (method git-fetch) ; no tests in PyPI release
+ (uri (git-reference
+ (url "https://github.com/Kronuz/pyScss")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0701hziiiw67blafgpmjhzspmrss8mfvif7fw0rs8fikddwwc9g6"))))
+ (build-system python-build-system)
+ (arguments
+ ;; XXX: error in test collection, possible incompatibility with Pytest 6.
+ `(#:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "-m" "pytest" "--pyargs" "scss")))))))
+ (native-inputs
+ (list python-pytest python-pytest-cov))
+ (inputs
+ (list pcre))
+ (home-page "https://github.com/Kronuz/pyScss")
+ (synopsis "Scss compiler for Python")
+ (description "@code{pyScss} is a compiler for Sass, a superset language of
+CSS3 that adds programming capabilities and some other syntactic sugar.")
+ (license license:expat)))
+
(define-public python-jsonpickle
(package
(name "python-jsonpickle")
@@ -992,6 +1081,28 @@ between a web browser and web server.")
(define-public python2-sockjs-tornado
(package-with-python2 python-sockjs-tornado))
+(define-public python-flask-assets
+ (package
+ (name "python-flask-assets")
+ (version "2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "Flask-Assets" version))
+ (sha256
+ (base32 "1hmqldxc7zciksmcl35jx0wbyrrxc7vk2a57mmmd8i07whsymz8x"))))
+ (build-system python-build-system)
+ (arguments
+ ;; Tests require python-flask-script which is incompatible with Flask2.
+ `(#:tests? #f))
+ (propagated-inputs
+ (list python-flask python-webassets))
+ (home-page "https://github.com/miracle2k/flask-assets")
+ (synopsis "Asset management for Flask")
+ (description "This package integrates @code{webassets} with Flask, adding
+support for merging, minifying and compiling CSS and Javascript files.")
+ (license license:bsd-2)))
+
(define-public python-flask-babel
(package
(name "python-flask-babel")
@@ -1022,13 +1133,13 @@ both of which are installed automatically if you install this library.")
(define-public python-flask-cors
(package
(name "python-flask-cors")
- (version "3.0.9")
+ (version "3.0.10")
(source (origin
(method url-fetch)
(uri (pypi-uri "Flask-Cors" version))
(sha256
(base32
- "1f36hkaxc92zn12f88fkzwifdvlvsnmlp1dv3p5inpcc500c3kvb"))))
+ "1pl16615fn1pc5n0vdrqlxm45mqsdjjxqv3gfkrs111v7wwkj25n"))))
(build-system python-build-system)
(native-inputs
(list python-flask python-nose python-packaging))
@@ -1092,19 +1203,19 @@ the Misaka Markdown parser.")
(define-public python-flask-session
(package
(name "python-flask-session")
- (version "0.3.2")
+ (version "0.4.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "Flask-Session" version))
(sha256
(base32
- "08s4msg8jzb8vgb9bd491zvrzhrdldxdw6vimb0kx5kgy2xy4s07"))))
+ "0ihzlhdhss8f93p3njzva9rdm7kmhaakdlzz680wmi583wr59vf9"))))
(build-system python-build-system)
(arguments
'(#:tests? #f)) ; Tests require the various storage backends to be present
(propagated-inputs
- (list python-flask))
+ (list python-cachelib python-flask))
(home-page "https://github.com/fengsp/flask-session")
(synopsis "Adds server-side session support to your Flask application")
(description
@@ -1186,9 +1297,6 @@ C, yielding parse times that can be a thirtieth of the html5lib parse times.")
;; indicate ASL2.0, including the LICENSE file for the whole project.
(license (list license:asl2.0 license:gpl3))))
-(define-public python2-html5-parser
- (package-with-python2 python-html5-parser))
-
(define-public python-minio
(package
(name "python-minio")
@@ -1315,10 +1423,10 @@ is Python’s.")
`(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda _
- (invoke "coverage" "run" "-m"
- "unittest" "openid.test.test_suite"))))))
- (properties `((python2-variant . ,(delay python2-openid))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "coverage" "run" "-m"
+ "unittest" "openid.test.test_suite")))))))
(propagated-inputs
(list python-defusedxml))
(native-inputs
@@ -1329,29 +1437,6 @@ is Python’s.")
for clients and servers.")
(license license:asl2.0)))
-(define-public python2-openid
- (package
- (name "python2-openid")
- (version "2.2.5")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "python-openid" version))
- (sha256
- (base32
- "1vvhxlghjan01snfdc4k7ykd80vkyjgizwgg9bncnin8rqz1ricj"))))
- (build-system python-build-system)
- (arguments
- ;; Python 3 support is in `python3-openid`, a separate package.
- `(#:python ,python-2
- ;; Tests aren't initialized correctly.
- #:tests? #f))
- (home-page "https://github.com/openid/python-openid")
- (synopsis "OpenID support for servers and consumers")
- (description "This library provides OpenID authentication for Python, both
-for clients and servers.")
- (license license:asl2.0)))
-
(define-public python-cssutils
(package
(name "python-cssutils")
@@ -1377,9 +1462,6 @@ Cascading Style Sheets. Currently it provides a DOM only and no rendering
options.")
(license license:lgpl3+)))
-(define-public python2-cssutils
- (package-with-python2 python-cssutils))
-
(define-public python-css-parser
(package
(inherit python-cssutils)
@@ -1402,9 +1484,6 @@ It's a fork of cssutils 1.0.2, updated and modified for parsing ebooks, due to
cssutils not receiving updates as of 1.0.2.")
(license license:lgpl3+)))
-(define-public python2-css-parser
- (package-with-python2 python-css-parser))
-
(define-public python-cssselect
(package
(name "python-cssselect")
@@ -1435,9 +1514,6 @@ them to XPath 1.0 expressions. Such expressions can be used in lxml or
another XPath engine to find the matching elements in an XML or HTML document.")
(license license:bsd-3)))
-(define-public python2-cssselect
- (package-with-python2 python-cssselect))
-
(define-public python-databricks-cli
(package
(name "python-databricks-cli")
@@ -1491,9 +1567,6 @@ Databricks REST APIs.")
contributor license agreement extension for python-openid.")
(license license:bsd-3)))
-(define-public python2-openid-cla
- (package-with-python2 python-openid-cla))
-
(define-public python-openid-teams
(package
(name "python-openid-teams")
@@ -1514,9 +1587,6 @@ contributor license agreement extension for python-openid.")
teams extension for python-openid.")
(license license:bsd-3)))
-(define-public python2-openid-teams
- (package-with-python2 python-openid-teams))
-
(define-public python-priority
(package
(name "python-priority")
@@ -2342,46 +2412,47 @@ verification of the SSL peer.")
(home-page "https://github.com/cedadev/ndg_httpsclient/")
(license license:bsd-3)))
-;; python2-openssl requires special care, so package-with-python2 is
-;; insufficient.
-(define-public python2-ndg-httpsclient
- (package/inherit python-ndg-httpsclient
- (name "python2-ndg-httpsclient")
- (arguments
- (substitute-keyword-arguments (package-arguments python-ndg-httpsclient)
- ((#:python _) python-2)))
- (propagated-inputs
- `(("python2-pyopenssl" ,python2-pyopenssl)))))
-
(define-public python-websocket-client
(package
(name "python-websocket-client")
- (version "0.54.0")
+ (version "1.2.3")
(source
(origin
(method url-fetch)
- (uri (pypi-uri "websocket_client" version))
+ (uri (pypi-uri "websocket-client" version))
(sha256
- (base32
- "0j88zmikaypf38lvpkf4aaxrjp9j07dmy5ghj7kli0fv3p4n45g5"))))
+ (base32 "1xba9z6b211pandrlk2l5p8wj6gn7yfkpq1sxfbqjl6c19n8258k"))))
(build-system python-build-system)
- (propagated-inputs
- (list python-six))
- (home-page "https://github.com/liris/websocket-client")
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'skip-network-test
+ (lambda _
+ ;; This test requires networking.
+ (substitute* "websocket/tests/test_http.py"
+ (("def testConnect") "def _testConnect"))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv" "websocket/tests")))))))
+ (native-inputs
+ (list python-pysocks python-pytest python-websockets))
+ (home-page "https://github.com/websocket-client/websocket-client")
(synopsis "WebSocket client for Python")
(description "The Websocket-client module provides the low level APIs for
WebSocket usage in Python programs.")
- (properties `((python2-variant . ,(delay python2-websocket-client))))
(license license:lgpl2.1+)))
-(define-public python2-websocket-client
- (let ((base (package-with-python2
- (strip-python2-variant python-websocket-client))))
- (package/inherit base
- (native-inputs
- `(("python2-backport-ssl-match-hostname"
- ,python2-backport-ssl-match-hostname)
- ,@(package-native-inputs base))))))
+(define-public python-websocket-client-0.59
+ (package
+ (inherit python-websocket-client)
+ (version "0.59.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "websocket-client" version))
+ (sha256
+ (base32 "0p0cz2mdissq7iw1n7jrmsfir0jfmgs1dvnpnrx477ffx9hbsxnk"))))))
(define-public python-purl
(package
@@ -2597,14 +2668,23 @@ portions of your testing code.")
(define-public python-requests-toolbelt
(package
(name "python-requests-toolbelt")
- (version "0.8.0")
+ (version "0.9.1")
(source (origin
(method url-fetch)
(uri (pypi-uri "requests-toolbelt" version))
(sha256
(base32
- "1dc7l42i4080r8i4m9fj51jx367lqkai170vrv7wd93gdj9k39gn"))))
+ "1h3gm88dcjbd7gm229a7x5qkkhnsqsjz0m0l2xyavm2ab3a8k04n"))))
(build-system python-build-system)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (add-after 'unpack 'delete-problematic-tests
+ (lambda _
+ ;; Fails because of expired certificate.
+ (delete-file "tests/test_x509_adapter.py")
+ ;; Fails due to networking (socket.gaierror: [Errno -2]
+ ;; Name or service not known).
+ (delete-file "tests/test_multipart_encoder.py"))))))
(native-inputs
(list python-betamax python-mock python-pytest))
(propagated-inputs
@@ -2612,26 +2692,9 @@ portions of your testing code.")
(synopsis "Extensions to python-requests")
(description "This is a toolbelt of useful classes and functions to be used
with python-requests.")
- (home-page "https://github.com/sigmavirus24/requests-toolbelt")
+ (home-page "https://github.com/requests/toolbelt/")
(license license:asl2.0)))
-(define-public python2-requests-toolbelt
- (package-with-python2 python-requests-toolbelt))
-
-(define-public python-requests-toolbelt-0.9.1
- (package
- (inherit python-requests-toolbelt)
- (version "0.9.1")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "requests-toolbelt" version))
- (sha256
- (base32
- "1h3gm88dcjbd7gm229a7x5qkkhnsqsjz0m0l2xyavm2ab3a8k04n"))))
- (arguments
- `(;; FIXME: Some tests require network access.
- #:tests? #f))))
-
(define-public python-requests-ftp
(package
(name "python-requests-ftp")
@@ -2866,19 +2929,16 @@ without starting an HTTP server. It supports anything that supports the
minimum of WSGI.")
(license license:expat)))
-(define-public python2-webtest
- (package-with-python2 python-webtest))
-
(define-public python-flask
(package
(name "python-flask")
- (version "2.0.1")
+ (version "2.0.2")
(source (origin
(method url-fetch)
(uri (pypi-uri "Flask" version))
(sha256
(base32
- "0mcgwq7b4qd99mf5bsvs3wphchxarf8kgil4hwww3blj31xjak0w"))))
+ "1qilnrdakhbw5k951kczdy8ia0wczh0dpp1vi4qhgmfx6klvhbvv"))))
(build-system python-build-system)
(arguments
'(#:phases
@@ -3042,13 +3102,13 @@ for the basic TCP/IP protocols.")
(define-public python-geventhttpclient
(package
(name "python-geventhttpclient")
- (version "1.4.4")
+ (version "1.5.3")
(source (origin
(method url-fetch)
(uri (pypi-uri "geventhttpclient" version))
(sha256
(base32
- "1hy4qm9d3r69n5199i7qjji1v7718n7cxbj8ggi0njify99m37pm"))
+ "104p14p67xa5gch8dy2zqmzmjra31fflk1c1alrry8dp8bzwj3nq"))
(modules '((guix build utils)))
(snippet
'(begin
@@ -3069,19 +3129,16 @@ for the basic TCP/IP protocols.")
((".*sock.last_seen_sni = None.*")
""))))
(replace 'check
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (add-installed-pythonpath inputs outputs)
- (invoke "py.test" "src/geventhttpclient/tests" "-v"
- ;; Append the test modules to sys.path to avoid
- ;; namespace conflict which breaks SSL tests.
- "--import-mode=append"
- ;; XXX: This test fails with Python 3.8:
- ;; https://github.com/gwik/geventhttpclient/issues/119
- "-k" "not test_cookielib_compatibility"))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "src/geventhttpclient/tests" "-v"
+ ;; Append the test modules to sys.path to avoid
+ ;; namespace conflict which breaks SSL tests.
+ "--import-mode=append")))))))
(native-inputs
(list python-dpkt python-pytest))
(propagated-inputs
- (list python-certifi python-gevent python-six))
+ (list python-brotli python-certifi python-gevent python-six))
(home-page "https://github.com/gwik/geventhttpclient")
(synopsis "HTTP client library for gevent")
(description "@code{python-geventhttpclient} is a high performance,
@@ -3141,19 +3198,12 @@ provide an easy-to-use Python interface for building OAuth1 and OAuth2 clients."
(home-page "https://github.com/seomoz/url-py")
(synopsis "URL Parsing")
(description "Library for parsing urls.")
- (license license:expat)
- (properties `((python2-variant . ,(delay python2-url))))))
-
-(define-public python2-url
- (let ((base (package-with-python2 (strip-python2-variant python-url))))
- (package/inherit base
- (propagated-inputs
- `(("python2-publicsuffix" ,python2-publicsuffix))))))
+ (license license:expat)))
(define-public python-cachecontrol
(package
(name "python-cachecontrol")
- (version "0.12.5")
+ (version "0.12.10")
(source
(origin
(method git-fetch)
@@ -3164,7 +3214,7 @@ provide an easy-to-use Python interface for building OAuth1 and OAuth2 clients."
(file-name (git-file-name name version))
(sha256
(base32
- "03lgc65sl04n0cgzmmgg99bk83f9i6k8yrmcd4hpl46q1pymn0kz"))))
+ "0fviacb13h72l5c77p35lgr6kvlidfdb9xsicg3v6lblmp9cn2ws"))))
(build-system python-build-system)
(arguments
;; Versions > 0.11.6 depend on CherryPy for testing.
@@ -3237,9 +3287,6 @@ replay them during future tests. It is designed to work with python-requests.")
Betamax.")
(license license:asl2.0)))
-(define-public python2-betamax-matchers
- (package-with-python2 python-betamax-matchers))
-
(define-public python-betamax-serializers
(package
(name "python-betamax-serializers")
@@ -3287,15 +3334,7 @@ Betamax that may possibly end up in the main package.")
(description "S3transfer is a Python library for managing Amazon S3
transfers.")
(home-page "https://github.com/boto/s3transfer")
- (license license:asl2.0)
- (properties `((python2-variant . ,(delay python2-s3transfer))))))
-
-(define-public python2-s3transfer
- (let ((base (package-with-python2 (strip-python2-variant python-s3transfer))))
- (package/inherit base
- (native-inputs
- `(("python2-futures" ,python2-futures)
- ,@(package-native-inputs base))))))
+ (license license:asl2.0)))
(define-public python-slimit
(package
@@ -3427,39 +3466,6 @@ applications.")
"This package adds SQLAlchemy support to your Flask application.")
(license license:bsd-3)))
-(define-public python-flask-restplus
- (package
- (name "python-flask-restplus")
- (version "0.9.2")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "flask-restplus" version))
- (sha256
- (base32
- "11his6ii5brpkhld0d5bwzjjw4q3vmplpd6fmgzjrvvklsbk0cf4"))))
- (build-system python-build-system)
- (arguments
- '(#:tests? #f)) ; FIXME: 35/882 tests failing.
- ;; #:phases
- ;; (modify-phases %standard-phases
- ;; (replace 'check
- ;; (lambda _
- ;; (invoke "nosetests")
- ;; #t)))))
- (propagated-inputs
- (list python-aniso8601 python-flask python-jsonschema python-pytz
- python-six))
- (native-inputs
- (list python-tzlocal python-blinker python-nose python-rednose))
- (home-page "https://github.com/noirbizarre/flask-restplus")
- (synopsis "Framework for documented API development with Flask")
- (description "This package provides a framework for API development with
-the Flask web framework in Python. It is similar to package
-@code{python-flask-restful} but supports the @code{python-swagger}
-documentation builder.")
- (license license:expat)))
-
(define-public python-flask-restful-swagger
(package
(name "python-flask-restful-swagger")
@@ -3501,9 +3507,6 @@ specs from your Flask-Restful projects.")
It comes with safe defaults and easily configurable options.")
(license license:bsd-3)))
-(define-public python2-htmlmin
- (package-with-python2 python-htmlmin))
-
(define-public python-flask-htmlmin
(package
(name "python-flask-htmlmin")
@@ -3527,14 +3530,14 @@ It comes with safe defaults and easily configurable options.")
(define-public python-jsmin
(package
(name "python-jsmin")
- (version "2.2.2")
+ (version "3.0.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "jsmin" version))
(sha256
(base32
- "0fsmqbjvpxvff0984x7c0y8xmf49ax9mncz48b9xjx8wrnr9kpxn"))))
+ "1z1brjsvni0260bypldkl8a05sgp0qk18x560zl44igr3q99m5f0"))))
(build-system python-build-system)
(home-page "https://github.com/tikitu/jsmin/")
(synopsis "Python JavaScript minifier")
@@ -3606,15 +3609,22 @@ library for Python")
(define-public python-flask-oidc
(package
(name "python-flask-oidc")
- (version "1.1.1")
+ (version "1.4.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "flask-oidc" version))
(sha256
(base32
- "1ay5j0mf174bix7i67hclr95gv16z81fpx0dijvi0gydvdj3ddy2"))))
+ "0klgwpn2iy5y7011xh2c8zkryxdwkpxh7qjs3hp5cynl748ia4hc"))))
(build-system python-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "nosetests")))))))
(propagated-inputs
(list python-flask python-itsdangerous python-oauth2client
python-six))
@@ -3678,9 +3688,6 @@ CSS tidy. Also supports URL rewriting in CSS files.")
(description "Python port of the YUI CSS Compressor.")
(license (list license:expat license:bsd-3))))
-(define-public python2-cssmin
- (package-with-python2 python-cssmin))
-
(define-public python-elasticsearch
(package
(name "python-elasticsearch")
@@ -3705,9 +3712,6 @@ provide common ground for all Elasticsearch-related code in Python; because of
this it tries to be opinion-free and very extendable.")
(license license:expat)))
-(define-public python2-elasticsearch
- (package-with-python2 python-elasticsearch))
-
(define-public python-engineio
(package
(name "python-engineio")
@@ -3729,61 +3733,26 @@ this it tries to be opinion-free and very extendable.")
server.")
(license license:expat)))
-(define-public python-flask-script
- (package
- (name "python-flask-script")
- (version "2.0.6")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "Flask-Script" version))
- (sha256
- (base32
- "0r8w2v89nj6b9p91p495cga5m72a673l2wc0hp0zqk05j4yrc9b4"))))
- (build-system python-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-tests
- (lambda _
- (substitute* "tests.py"
- (("flask\\.ext\\.script") "flask_script"))
- #t)))))
- (propagated-inputs
- (list python-flask python-argcomplete python-werkzeug))
- (native-inputs
- (list python-pytest))
- (home-page
- "https://github.com/smurfix/flask-script")
- (synopsis "Scripting support for Flask")
- (description "The Flask-Script extension provides support for writing
-external scripts in Flask. This includes running a development server,
-a customised Python shell, scripts to set up your database, cronjobs,
-and other command-line tasks that belong outside the web application
-itself.")
- (license license:bsd-3)))
-
(define-public python-flask-migrate
(package
- (name "python-flask-migrate")
- (version "2.5.3")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "Flask-Migrate" version))
- (sha256
- (base32
- "1vip9ww6l18dxffjsggm83k71zkvihxpnhaswpv8klh95s6517d6"))))
- (build-system python-build-system)
- (propagated-inputs
- (list python-flask python-alembic python-sqlalchemy
- python-flask-script python-flask-sqlalchemy))
- (home-page "https://github.com/miguelgrinberg/flask-migrate/")
- (synopsis "SQLAlchemy database migrations for Flask programs using
+ (name "python-flask-migrate")
+ (version "3.1.0")
+ (home-page "https://github.com/miguelgrinberg/flask-migrate/")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference (url home-page)
+ (commit (string-append "v" version))))
+ (sha256
+ (base32
+ "0zj7qpknvlhrh4fsp5sx4fwyx3sp41ynclka992zympm3xym9zyq"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ (list python-flask python-alembic python-flask-sqlalchemy))
+ (synopsis "SQLAlchemy database migrations for Flask programs using
Alembic")
- (description "This package contains SQLAlchemy database migration tools
+ (description "This package contains SQLAlchemy database migration tools
for Flask programs that are using @code{python-alembic}.")
- (license license:expat)))
+ (license license:expat)))
(define-public python-genshi
(package
@@ -3894,9 +3863,6 @@ Templates.")
List.")
(license license:expat)))
-(define-public python2-publicsuffix
- (package-with-python2 python-publicsuffix))
-
(define-public python-publicsuffix2
(package
(name "python-publicsuffix2")
@@ -3926,20 +3892,17 @@ List.")
List. Forked from and using the same API as the publicsuffix package.")
(license (list license:expat license:mpl2.0))))
-(define-public python2-publicsuffix2
- (package-with-python2 python-publicsuffix2))
-
(define-public python-werkzeug
(package
(name "python-werkzeug")
- (version "2.0.1")
+ (version "2.0.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "Werkzeug" version))
(sha256
(base32
- "0hlwawnn8c41f254qify5jnjj8xb97n294h09bqimzqhs0qdpq8x"))))
+ "16nvv9dh37ssf5pkny9yj2li0n6wyzsygh8a9i86r3gfipybcaxa"))))
(build-system python-build-system)
(arguments
'(#:phases
@@ -4000,7 +3963,7 @@ addon modules.")
(base32 "0b6s50vc4iad97b6bb3xnyrgajb3nj6n6jbr5p54a4vapky3zmx9"))))
(build-system python-build-system)
(home-page "https://bottlepy.org/")
- (synopsis "WSGI framework for small web-applications.")
+ (synopsis "WSGI framework for small web-applications")
(description "@code{python-bottle} is a WSGI framework for small web-applications.")
(license license:expat)))
@@ -4078,9 +4041,6 @@ can be nested together to build web applications. Paste's design closely
follows ideas flowing from WSGI (Web Standard Gateway Interface).")
(license license:expat)))
-(define-public python2-paste
- (package-with-python2 python-paste))
-
(define-public python-pastescript
(package
(name "python-pastescript")
@@ -4114,27 +4074,33 @@ variety of features, from launching web applications to bootstrapping project
layouts.")
(license license:expat)))
-(define-public python2-pastescript
- (package-with-python2 python-pastescript))
-
-(define-public python2-urlgrabber
+(define-public python-urlgrabber
(package
- (name "python2-urlgrabber")
- (version "3.10.2")
+ (name "python-urlgrabber")
+ (version "4.1.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "urlgrabber" version))
(sha256
- (base32 "0w1h7hlsq406bxfy2pn4i9bd003bwl0q9b7p03z3g6yl0d21ddq5"))))
+ (base32 "0fg16zlw49cw7pjq9dhpc5vd35d5zz1mlki55m464qxfmfpzhnh7"))))
(build-system python-build-system)
- (arguments `(#:python ,python-2)) ; urlgrabber supports python2 only
- (home-page "http://urlgrabber.baseurl.org")
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "test/runtests.py")))))))
+ (propagated-inputs
+ (list python-pycurl python-setuptools python-six))
+ (home-page "http://urlgrabber.baseurl.org/") ; no HTTPS
(synopsis "High-level cross protocol url-grabber")
- (description "@code{urlgrabber} is Python2 library that unifies access to
-files available on web, FTP or locally. It supports HTTP, FTP and file://
-protocols, it supports features like HTTP keep-alive, reget, throttling and
-more.")
+ (description
+ "@code{urlgrabber} is a library that unifies access to files available on
+the web, FTP or locally. It supports HTTP, FTP and file:// protocols, it
+supports features like HTTP keep-alive, reget, throttling and more.")
(license license:lgpl2.1+)))
(define-public python-pycares
@@ -4198,6 +4164,30 @@ name resolutions asynchronously.")
for URL parsing and changing.")
(license license:asl2.0)))
+(define-public python-canvasapi
+ (package
+ (name "python-canvasapi")
+ (version "2.2.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ucfopen/canvasapi")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0i13wrq2czcaz3h98pvnsl237104v611y9636jf32b1nn76sbp0p"))))
+ (build-system python-build-system)
+ (propagated-inputs (list python-pytz python-requests))
+ (native-inputs (list python-requests-mock))
+ (home-page "https://github.com/ucfopen/canvasapi")
+ (synopsis "API wrapper for the Canvas LMS")
+ (description
+ "CanvasAPI is a Python library for accessing Instructure’s Canvas LMS API.
+The library enables developers to programmatically manage Canvas courses,
+users, gradebooks, and more.")
+ (license license:expat)))
+
(define-public python-google
(package
(name "python-google")
@@ -4582,13 +4572,22 @@ in various CSS modules.")
(arguments
`(#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'disable-linters
+ ;; Their check fails; none of our business.
+ (lambda _
+ (substitute* '("setup.py" "pyproject.toml")
+ (("'pytest-flake8',") "")
+ (("'pytest-isort',") "")
+ (("--flake8") "")
+ (("--isort") ""))))
(replace 'check
- (lambda _ (invoke "pytest"))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (lambda _ (invoke "pytest"))))))))
(propagated-inputs
(list python-tinycss2))
(native-inputs
- (list python-pytest-cov python-pytest-flake8 python-pytest-isort
- python-pytest-runner))
+ (list python-pytest-cov python-pytest-runner))
(home-page "https://cssselect2.readthedocs.io/")
(synopsis "CSS selectors for Python ElementTree")
(description "@code{cssselect2} is a straightforward implementation of
@@ -4603,31 +4602,56 @@ hard or impossible to fix in cssselect.")
(define-public python-uvloop
(package
(name "python-uvloop")
- (version "0.14.0")
+ (version "0.16.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "uvloop" version))
(sha256
- (base32 "07j678z9gf41j98w72ysrnb5sa41pl5yxd7ib17lcwfxqz0cjfhj"))))
+ (base32 "0a0jzwrhkszknh14alflrp1db6dyjp7ph730f9yc5lb7gc6c4jzp"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin (delete-file-recursively "vendor")
+ (delete-file "uvloop/loop.c")))))
(build-system python-build-system)
(arguments
- '(#:tests? #f ;FIXME: tests hang and with some errors in the way
- #:phases
+ `(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'preparations
(lambda _
;; Use packaged libuv.
(substitute* "setup.py" (("self.use_system_libuv = False")
"self.use_system_libuv = True"))
- #t)))))
+ ;; Replace hardcoded shell command.
+ (substitute* "uvloop/loop.pyx"
+ (("b'/bin/sh'") (string-append "b'" (which "sh") "'")))
+ #t))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; Remove Python module, which conflicts with the installed version,
+ ;; but lacks the built C module.
+ (delete-file-recursively "uvloop")
+ ;; The tests are prone to get stuck. Use pytest-timeout’s --timeout
+ ;; flag to get a meaningful idea about where.
+ (invoke "pytest" "-vv" "--timeout=300"
+ "-k" ,(string-append
+ ;; Timeout, because SIGINT cannot be sent to child.
+ "not test_signals_sigint_pycode_continue "
+ "and not test_signals_sigint_pycode_stop "
+ "and not test_signals_sigint_uvcode "
+ "and not test_signals_sigint_uvcode_two_loop_runs "
+ ;; It looks like pytest is preventing
+ ;; custom stdout/stderr redirection,
+ ;; even with -s.
+ "and not test_process_streams_redirect "))))))))
(native-inputs
(list python-aiohttp
python-cython
- python-flake8
python-psutil
python-pyopenssl
- python-twine))
+ python-pytest
+ python-pytest-timeout))
(inputs
(list libuv))
(home-page "https://github.com/MagicStack/uvloop")
@@ -5456,7 +5480,7 @@ be registered via an entrypoint.")
(description
"This plugin for @code{python-plaster} adds support for PasteDeploy
syntax, it provides a plaster @code{Loader} object that can parse ini files
-according to the standard set by PasteDeploy ")
+according to the standard set by PasteDeploy")
(license license:expat)))
(define-public python-hupper
@@ -5536,7 +5560,7 @@ based on filters.")
(define-public python-flask-restx
(package
(name "python-flask-restx")
- (version "0.2.0")
+ (version "0.5.1")
(source
;; We fetch from the Git repo because there are no tests in the PyPI
;; archive.
@@ -5547,7 +5571,7 @@ based on filters.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0xf2vkmdngp9cv9klznizai4byxjcf0iqh1pr4b83nann0jxqwy7"))))
+ (base32 "18vrmknyxw6adn62pz3kr9kvazfgjgl4pgimdf8527fyyiwcqy15"))))
(build-system python-build-system)
(propagated-inputs
(list python-aniso8601 python-flask python-jsonschema python-pytz))
@@ -5565,7 +5589,8 @@ based on filters.")
(lambda _
(invoke "pytest" "--benchmark-skip" "-k"
;; Those tests need internet access
- "not test_check and not test_valid_value_check"))))))
+ "not test_check and not test_valid_value_check \
+and not test_override_app_level"))))))
(home-page "https://github.com/python-restx/flask-restx")
(synopsis
"Framework for fast, easy and documented API development with Flask")
@@ -5577,6 +5602,9 @@ decorators and tools to describe your API and expose its documentation properly
Swagger.")
(license license:bsd-3)))
+(define-public python-flask-restplus
+ (deprecated-package "python-flask-restplus" python-flask-restx))
+
(define-public python-flask-socketio
(package
(name "python-flask-socketio")
@@ -5816,6 +5844,7 @@ Encoding for HTTP.")
(url "https://github.com/VeNoMouS/cloudscraper")
;; Corresponds to 1.2.58
(commit "f3a3d067ea8b5238e9a0948aed0c3fa0d9c29b96")))
+ (file-name (git-file-name name version))
(sha256
(base32 "18fbp086imabjxly04rrchbf6n6m05bpd150zxbw7z2w3mjnpsqd"))
(modules '((guix build utils)))
@@ -5855,7 +5884,7 @@ Encoding for HTTP.")
(list python-js2py
python-polling2
python-requests
- python-requests-toolbelt-0.9.1
+ python-requests-toolbelt
python-responses
python-pyparsing-2.4.7))
(native-inputs
@@ -6205,12 +6234,24 @@ provides well-defined APIs to talk to websites lacking one.")
(sha256
(base32 "07fhcjiyif80z1vyh35za29sqx1mmqh568jrbrrs675j4a797sj1"))))
(build-system python-build-system)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (add-after 'unpack 'loosen-requirements
+ (lambda _
+ ;; Don't pin specific versions of dependencies.
+ (substitute* "requirements.txt"
+ (("^sqlalchemy[=<>].*") "sqlalchemy\n")
+ (("^marshmallow[=<>].*") "marshmallow\n")
+ (("^Flask[=<>].*") "Flask\n"))))
+ (replace 'check
+ (lambda _
+ (invoke "pytest" "-vv"))))))
(propagated-inputs
(list python-flask
- python-marshmallow-3.2
+ python-marshmallow
python-marshmallow-jsonapi
python-simplejson
- python-sqlalchemy-1.3
+ python-sqlalchemy
python-apispec
python-simplejson
python-six))
@@ -6255,3 +6296,36 @@ purely formal level.
Full documentation may be found at
@uref{https://mwparserfromhell.readthedocs.io, ReadTheDocs}")
(license license:expat)))
+
+(define-public python-tweepy
+ (package
+ (name "python-tweepy")
+ (version "4.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/tweepy/tweepy")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0jl3j20iqvzqqw5q5ldval5wrc2pdx94zff3b6b87j51yjx3qjhr"))))
+ (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")))))))
+ (propagated-inputs
+ (list python-aiohttp python-requests python-requests-oauthlib))
+ (native-inputs
+ (list python-vcrpy))
+ (home-page "https://www.tweepy.org/")
+ (synopsis "Twitter library for Python")
+ (description "This package provides @code{Tweepy}, an easy-to-use Python
+library for accessing the Twitter API.")
+ (license license:expat)))
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2af4794019..c8ba314d38 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14,7 +14,7 @@
;;; Copyright © 2015, 2016, 2017, 2019 Leo Famulari <leo@famulari.name>
;;; Copyright © 2015, 2017 Ben Woodcroft <donttrustben@gmail.com>
;;; Copyright © 2015, 2016 Erik Edrosa <erik.edrosa@gmail.com>
-;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2015, 2017, 2020 Kyle Meyer <kyle@kyleam.com>
;;; Copyright © 2015, 2016 Chris Marusich <cmmarusich@gmail.com>
;;; Copyright © 2016 Danny Milosavljevic <dannym+a@scratchpost.org>
@@ -26,7 +26,7 @@
;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
;;; Copyright © 2016 Dylan Jeffers <sapientech@sapientech@openmailbox.org>
;;; Copyright © 2016 David Craven <david@craven.ch>
-;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2016-2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2016, 2017, 2021 Stefan Reichör <stefan@xsteve.at>
;;; Copyright © 2016, 2017, 2019 Alex Vong <alexvong1995@gmail.com>
;;; Copyright © 2016, 2017, 2018, 2021 Arun Isaac <arunisaac@systemreboot.net>
@@ -37,7 +37,7 @@
;;; Copyright © 2017 Frederick M. Muriithi <fredmanglis@gmail.com>
;;; Copyright © 2017, 2018 Adriano Peluso <catonano@gmail.com>
;;; Copyright © 2017 Ben Sturmfels <ben@sturm.com.au>
-;;; Copyright © 2017, 2018, 2019, 2021 Mathieu Othacehe <m.othacehe@gmail.com>
+;;; Copyright © 2017, 2018, 2019, 2021, 2022 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2017 José Miguel Sánchez García <jmi2k@openmailbox.org>
;;; Copyright © 2017, 2020, 2021 Roel Janssen <roel@gnu.org>
;;; Copyright © 2017, 2018, 2019 Kei Kebreau <kkebreau@posteo.net>
@@ -49,10 +49,10 @@
;;; Copyright © 2018 Mathieu Lirzin <mthl@gnu.org>
;;; Copyright © 2018 Adam Massmann <massmannak@gmail.com>
;;; Copyright © 2016, 2018 Tomáš Čech <sleep_walker@gnu.org>
-;;; Copyright © 2018, 2019, 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
+;;; Copyright © 2018-2022 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2018, 2019, 2021 Clément Lassieur <clement@lassieur.org>
-;;; Copyright © 2018, 2019, 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2018, 2019, 2020, 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2018 Luther Thompson <lutheroto@gmail.com>
;;; Copyright © 2018 Vagrant Cascadian <vagrant@debian.org>
;;; Copyright © 2015, 2018 Pjotr Prins <pjotr.guix@thebird.nl>
@@ -65,7 +65,7 @@
;;; Copyright © 2019 Jacob MacDonald <jaccarmac@gmail.com>
;;; Copyright © 2019, 2020, 2021 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2019 Wiktor Żelazny <wzelazny@vurv.cz>
-;;; Copyright © 2019, 2020, 2021 Tanguy Le Carrour <tanguy@bioneland.org>
+;;; Copyright © 2019, 2020, 2021, 2022 Tanguy Le Carrour <tanguy@bioneland.org>
;;; Copyright © 2019, 2021 Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>
;;; Copyright © 2020 Riku Viitanen <riku.viitanen@protonmail.com>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
@@ -80,7 +80,7 @@
;;; Copyright © 2020 Josh Holland <josh@inv.alid.pw>
;;; Copyright © 2020 Yuval Kogman <nothingmuch@woobling.org>
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
-;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2020, 2021, 2022 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020 Guy Fleury Iteriteka <gfleury@disroot.org>
;;; Copyright © 2020 Hendursaga <hendursaga@yahoo.com>
;;; Copyright © 2020 Malte Frank Gerdes <malte.f.gerdes@gmail.com>
@@ -92,8 +92,8 @@
;;; Copyright © 2020 Liliana Marie Prikler <liliana.prikler@gmail.com>
;;; Copyright © 2019 Kristian Trandem <kristian@devup.no>
;;; Copyright © 2020, 2021 Zheng Junjie <873216071@qq.com>
-;;; Copyright © 2021 Morgan Smith <Morgan.J.Smith@outlook.com>
;;; Copyright © 2020 EuAndreh <eu@euandre.org>
+;;; Copyright © 2021, 2022 Morgan Smith <Morgan.J.Smith@outlook.com>
;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2021 Ellis Kenyő <me@elken.dev>
;;; Copyright © 2021 LibreMiami <packaging-guix@libremiami.org>
@@ -112,6 +112,10 @@
;;; Copyright © 2021 Sébastien Lerique <sl@eauchat.org>
;;; Copyright © 2021 Raphaël Mélotte <raphael.melotte@mind.be>
;;; Copyright © 2021 ZmnSCPxj <ZmnSCPxj@protonmail.com>
+;;; Copyright © 2021 Filip Lajszczak <filip@lajszczak.dev>
+;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
+;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
+;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -273,6 +277,34 @@ asynchronous one follows
design}.")
(license license:asl2.0)))
+(define-public python-logzero
+ (package
+ (name "python-logzero")
+ (version "1.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "logzero" version))
+ (sha256
+ (base32 "10nh186vk6hpnpfycym44gja4fja0jyzw7q8dwimfd1rmv9xswvz"))))
+ (build-system python-build-system)
+ (native-inputs
+ (list python-pytest python-pytest-runner))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "pytest")))))))
+ (home-page "https://github.com/metachris/logzero")
+ (synopsis "Robust and effective logging for Python")
+ (description
+ "@code{logzero} provides a fully configured Python logger object for
+easy logging and rotating to a console or a file.")
+ (license license:expat)))
+
(define-public python-logbook
(package
(name "python-logbook")
@@ -678,25 +710,22 @@ threads.")
(define-public python-tenacity
(package
(name "python-tenacity")
- (version "6.1.0")
+ (version "8.0.1")
(source (origin
(method url-fetch)
(uri (pypi-uri "tenacity" version))
(sha256
(base32
- "1j36v9fcpmmd4985ix0cwnvcq71rkrn5cjiiv0id9vkl4kpxh0gv"))))
+ "0bwkvjpjfyi9dgszzad9aww2vc00w3bczjnbifi92cp7wch2l923"))))
(build-system python-build-system)
(native-inputs
- (list python-setuptools-scm python-sphinx python-tornado
+ (list python-setuptools-scm python-tornado python-typeguard
python-pytest))
- (propagated-inputs
- (list python-six))
(arguments
- `(#:phases (modify-phases %standard-phases
- (replace 'check
- (lambda _
- (invoke "pytest")
- #t)))))
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda _ (invoke "pytest" "-vv"))))))
(home-page "https://github.com/jd/tenacity")
(synopsis "Retrying library for python")
(description "Tenacity is a general-purpose python library to simplify the
@@ -739,21 +768,24 @@ implementation for the Telegram Bot API.")
(define-public python-colorlog
(package
(name "python-colorlog")
- (version "4.1.0")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "colorlog" version))
- (sha256
- (base32
- "1lpk8zmfv8vz090h5d0hzb4n39wgasxdd3x3bpn3v1x1n9dfzaih"))))
+ (version "6.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "colorlog" version))
+ (sha256
+ (base32 "1s7x0v872h8aks8xp01wmv6hzisxqjrh1svbbcycir0980h76krl"))))
(build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "-m" "pytest")))))))
(native-inputs
(list python-pytest))
- (arguments
- `(#:phases (modify-phases %standard-phases
- (replace 'check
- (lambda _
- (invoke "pytest" "-p" "no:logging"))))))
(home-page "https://github.com/borntyping/python-colorlog")
(synopsis "Log formatting with colors for python")
(description "The @code{colorlog.ColoredFormatter} is a formatter for use
@@ -1138,7 +1170,7 @@ by @code{binstar}, @code{binstar-build}, and @code{chalmers}.")
- tools to build and work with gettext message catalogs
- a Python interface to the CLDR (Common Locale Data Repository), providing
access to various locale display names, localized number and date formatting,
-etc. ")
+etc.")
(license license:bsd-3)))
(define-public python2-babel
@@ -1371,7 +1403,7 @@ approximate nearest neighbor search with Python bindings.")
(define-public python-pyls-black
(package
(name "python-pyls-black")
- (version "0.4.6")
+ (version "0.4.7")
(source
(origin
;; There are no tests in the PyPI tarball.
@@ -1381,12 +1413,27 @@ approximate nearest neighbor search with Python bindings.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0cjf0mjn156qp0x6md6mncs31hdpzfim769c2lixaczhyzwywqnj"))))
+ (base32 "0bkhfnlik89j3yamr20br4wm8975f20v33wabi2nyxvj10whr5dj"))
+ ;; Patch to work with python-lsp-server. Taken from
+ ;; <https://github.com/rupert/pyls-black/pull/37>.
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (substitute* "setup.cfg"
+ (("python-language-server")
+ "python-lsp-server"))
+ (substitute* '("pyls_black/plugin.py" "tests/test_plugin.py")
+ (("pyls_format_document")
+ "pylsp_format_document")
+ (("pyls_format_range")
+ "pylsp_format_range")
+ (("from pyls([ \\.])" _ char)
+ (string-append "from pylsp" char)))))))
(build-system python-build-system)
(arguments
`(#:test-target "pytest"))
(propagated-inputs
- (list python-black python-language-server python-toml))
+ (list python-black python-lsp-server python-tomli))
(native-inputs
(list python-flake8 python-isort python-mypy python-pytest
python-pytest-runner))
@@ -1426,26 +1473,31 @@ approximate nearest neighbor search with Python bindings.")
(define-public python-cftime
(package
(name "python-cftime")
- (version "1.0.4.2")
+ (version "1.5.1.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "cftime" version))
(sha256
- (base32 "0w0gi6jnch38hiygl62j4xkcirv4y3dcwrvxl9p7bsk6j27lzihs"))))
+ (base32 "0l1a22zlhdpgaisibvvm7dhij4vzfm661rnv00y2snpyqxpdgi3d"))))
(build-system python-build-system)
(propagated-inputs
(list python-numpy))
(native-inputs
- (list python-coveralls python-cython python-pytest-cov))
- (home-page "https://github.com/Unidata/cftime")
+ (list python-check-manifest
+ python-coverage
+ python-coveralls
+ python-cython
+ python-pytest-cov
+ python-sphinx
+ python-twine
+ python-wheel))
+ (home-page "https://unidata.github.io/cftime/")
(synopsis "Library for time handling")
(description
"This package provides time-handling functionality that used to be part
of the netcdf4 package before.")
- ;; This package claims to include code under the GPLv3 but is released
- ;; under ISC.
- (license (list license:isc license:gpl3+))))
+ (license license:expat)))
(define-public python-netcdf4
(package
@@ -2345,7 +2397,7 @@ of @code{xmlfile}.")
(define-public python-openpyxl
(package
(name "python-openpyxl")
- (version "3.0.5")
+ (version "3.0.9")
(source
(origin
;; We use the upstream repository, as the tests are not included in the
@@ -2356,7 +2408,7 @@ of @code{xmlfile}.")
(changeset version)))
(file-name (string-append name "-" version "-checkout"))
(sha256
- (base32 "0s6fgwwkcfz1bnrp5gjd4g2lcbl4a76147ylkrmkbabi2nf4xlli"))))
+ (base32 "1p8xvc2gjw6zyzbd7qdvc3x178sm00ymrbyh9539l4fpzgxh0j9c"))))
(build-system python-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
@@ -2816,19 +2868,21 @@ backported for previous versions of Python from 2.4 to 3.3.")
(define-public python-parse-type
(package
(name "python-parse-type")
- (version "0.4.2")
+ (version "0.5.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "parse_type" version))
(sha256
(base32
- "0g3b6gsdwnm8dpkh2vn34q6dzxm9gl908ggyzcv31n9xbp3vv5pm"))))
+ "02wclgiqky06y36b3q07b7ngpks5j0gmgl6n71ac2j2hscc0nsbz"))))
(build-system python-build-system)
(propagated-inputs
(list python-six python-parse))
(native-inputs
- (list python-pytest python-pytest-runner))
+ ;; Use setuptools < 58 to work around
+ ;; https://github.com/jenisys/parse_type/issues/17
+ (list python-pytest python-pytest-runner python-setuptools))
(home-page "https://github.com/jenisys/parse_type")
(synopsis "Extended parse module")
(description
@@ -3803,14 +3857,13 @@ provides Python-specific tags that represent an arbitrary Python object.")
(define-public python-vine
(package
(name "python-vine")
- (version "1.1.4")
+ (version "5.0.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "vine" version))
(sha256
- (base32
- "0wkskb2hb494v9gixqnf4bl972p4ibcmxdykzpwjlfa5picns4aj"))))
+ (base32 "0zk3pm0g7s4qfn0gk28lfmsyplvisaxi6826cgpq5njkm4j1cfvx"))))
(build-system python-build-system)
(native-inputs
(list python-pytest python-case))
@@ -3966,13 +4019,13 @@ templates. A format string can be provided to control the output.")
(define-public python-pystache
(package
(name "python-pystache")
- (version "0.5.4")
+ (version "0.6.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "pystache" version))
(sha256
(base32
- "0nmqsfmiw4arjxqkmf9z66ml950pcdjk6aq4gin4sywmzdjw5fzp"))))
+ "03a73ppf5vxnsk6az5ackvc0hp6xqv2f4hi1s5c4nk4s2jr95gwk"))))
(build-system python-build-system)
(arguments
'(#:tests? #f)) ; FIXME: Python 3 tests are failing.
@@ -3996,6 +4049,33 @@ logic-free templating system Mustache.")
(lambda _
(invoke "python" "test_pystache.py")))))))))
+(define-public python-pystitcher
+ (package
+ (name "python-pystitcher")
+ (version "1.0.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/captn3m0/pystitcher")
+ (commit
+ (string-append "v" version))))
+ (file-name
+ (git-file-name name version))
+ (sha256
+ (base32 "03yrzqhcsjdj5zprrk3bh5bbyqfy3vfhxra9974vmkir3m121394"))))
+ (build-system python-build-system)
+ (inputs
+ (list python-html5lib python-importlib-metadata python-markdown
+ python-pypdf3 python-validators))
+ (home-page "https://github.com/captn3m0/pystitcher")
+ (synopsis "Declaratively stitch together a PDF file from multiple sources")
+ (description
+ "This package stitches your PDF files together, generating customizable
+bookmarks using a declarative input in the form of a markdown file.")
+ (license license:expat)))
+
(define-public python-joblib
(package
(name "python-joblib")
@@ -4121,6 +4201,77 @@ important tasks for becoming a daemon process:
structure for Python.")
(license license:asl2.0)))
+(define-public autokey
+ (package
+ (name "autokey")
+ (version "0.95.10")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/autokey/autokey")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0f0cqfnb49wwdy7zl2f2ypcnd5pc8r8n7z7ssxkq20d4xfxlgamr"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ ;; Tests are deprecated and broken until next version, see
+ ;; https://github.com/autokey/autokey/issues/327
+ #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "lib/autokey/scripting.py"
+ (("\"wmctrl\"")
+ (string-append "\"" (search-input-file inputs "bin/wmctrl") "\""))
+ (("\"zenity\"")
+ (string-append "\"" (search-input-file inputs "bin/zenity") "\"")))
+ (substitute* "autokey-shell"
+ (("'ipython3'")
+ (string-append "'" (search-input-file inputs "bin/ipython3") "'"))
+ (("'python3'")
+ (string-append "'" (search-input-file inputs "bin/python3") "'")))))
+ ;; Use 'prefix' instead of '=' to allow the user to use additional
+ ;; GI paths from their autokey scripts. GUIX_PYTHONPATH is already
+ ;; wrapped with prefix in python-build-system's wrap.
+ (add-before 'wrap 'wrap-autokey-gi
+ (lambda _
+ (let ((gi-typelib-path (getenv "GI_TYPELIB_PATH")))
+ (for-each
+ (lambda (program)
+ (wrap-program program
+ `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
+ (map (lambda (name)
+ (string-append #$output "/bin/" name))
+ '("autokey-gtk"
+ "autokey-shell")))))))))
+ (inputs
+ (list bash-minimal ; for wrap-program
+ gtksourceview-3
+ libappindicator
+ libnotify
+ python-dbus
+ python-ipython
+ python-pygobject
+ python-pyinotify
+ python-pyqt+qscintilla
+ python-xlib
+ wmctrl
+ zenity))
+ (home-page "https://github.com/autokey/autokey")
+ (synopsis
+ "Keyboard and GUI automation utility")
+ (description
+ "AutoKey is a desktop automation utility for X11. It allows the automation of
+virtually any task by responding to typed abbreviations and hotkeys. It
+offers a full-featured GUI (GTK and QT versions) that makes it highly
+accessible for novices, as well as a scripting interface offering the full
+flexibility and power of the Python language.")
+ (license license:gpl3+)))
+
(define-public python-docutils
(package
(name "python-docutils")
@@ -4215,6 +4366,37 @@ via commands such as @command{rst2man}, as well as supporting Python code.")
format.")
(license license:unlicense)))
+(define-public python-click-repl
+ (package
+ (name "python-click-repl")
+ (version "0.2.0")
+ (source
+ (origin
+ (method git-fetch) ; no tests in PyPI release
+ (uri (git-reference
+ (url "https://github.com/click-contrib/click-repl")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "16ybsnwlj2jlqcfxflky8jz7i3nhrd3f6mvkpgs95618l8lx994i"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "-m" "pytest")))))))
+ (native-inputs
+ (list python-pytest))
+ (propagated-inputs
+ (list python-click python-prompt-toolkit python-six))
+ (home-page "https://github.com/untitaker/click-repl")
+ (synopsis "REPL plugin for Click")
+ (description "This package provides a REPL plugin for Click.")
+ (license license:expat)))
+
(define-public python-doc8
(package
(name "python-doc8")
@@ -4966,14 +5148,14 @@ Server (PLS).")
(define-public python-lsp-server
(package
(name "python-lsp-server")
- (version "1.3.1")
+ (version "1.3.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "python-lsp-server" version))
(sha256
(base32
- "15075a5irjxh55wcdf25hllz9c42byxc4770cmwgb480k1dm8scq"))))
+ "0h6wxzmm6qjfwkkn3mnzn1fpmcp23fpbk74bi8p540q1nzccqj0v"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -5010,7 +5192,7 @@ Server (PLS).")
python-pytest
python-pytest-cov
python-versioneer))
- (home-page "https://github.com/palantir/python-language-server")
+ (home-page "https://github.com/python-lsp/python-lsp-server")
(synopsis "Python implementation of the Language Server Protocol")
(description
"The Python Language Server @command{pylsp} is an implementation of the
@@ -5025,14 +5207,14 @@ and integrated feature-set for programming Python effectively.")
(define-public python-pathspec
(package
(name "python-pathspec")
- (version "0.7.0")
+ (version "0.9.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pathspec" version))
(sha256
(base32
- "15lvs4awlg8xzl0l4gk9y53xx4yqmqvsv44pglv39m70y85afajn"))))
+ "1cdbdb3s6ldnjpwbi0bgl0xlmw4mbfxk08bbdxc3srx26na4jr75"))))
(build-system python-build-system)
(home-page "https://github.com/cpburnz/python-path-specification")
(synopsis "Utility library for gitignore style pattern matching of file paths")
@@ -5044,74 +5226,73 @@ matching of file paths.")
(define-public python-black
(package
(name "python-black")
- (version "20.8b1")
+ (version "21.12b0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "black" version))
(sha256
(base32
- "1spv6sldp3mcxr740dh3ywp25lly9s8qlvs946fin44rl1x5a0hw"))))
+ "1czjwr1bx9ax5l64xfi54sxb1ycdy4s9ciaqg592x7jn79lhzf3p"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
- (add-after 'patch-source-shebangs 'patch-extra-shebangs
+ (add-after 'unpack 'relax-version-requirements
(lambda _
- (let ((python3 (which "python3")))
- (substitute* '("tests/data/fmtonoff.py"
- "tests/data/string_prefixes.py"
- "tests/data/function.py"
- "tests/data/python37.py")
+ (substitute* "setup.py"
+ (("tomli[^\"]*\",")
+ "tomli\","))))
+ (add-after 'patch-source-shebangs 'use-absolute-file-names
+ (lambda* (#:key native-inputs inputs #:allow-other-keys)
+ (let* ((inpts (or native-inputs inputs))
+ (python3 (search-input-file inpts "/bin/python3"))
+ (/bin/false (search-input-file inpts "/bin/false"))
+ (/bin/sleep (search-input-file inpts "/bin/sleep")))
+ (substitute* (find-files "tests" "\\.py$")
(("#!/usr/bin/env python3(\\.[0-9]+)?" _ minor-version)
(string-append "#!" python3 (if (string? minor-version)
minor-version
- "")))))
- #t))
+ ""))))
+ (substitute* "tests/test_primer.py"
+ (("/bin/false") /bin/false)
+ (("/bin/sleep") /bin/sleep)))))
(add-after 'unpack 'disable-broken-tests
(lambda* (#:key outputs inputs #:allow-other-keys)
;; Make installed package available for running the tests
(setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
":" (getenv "PATH")))
- ;; These tests are supposed to be skipped when the blackd
- ;; dependencies are missing, but this doesn't quite work.
- (substitute* "tests/test_black.py"
- (("( *)class BlackDTestCase.*" match indent)
- (string-append indent "@unittest.skip(\"no blackd deps\")\n"
- indent "class BlackDTestCase(unittest.TestCase):\n"))
- (("web.Application") "False")
- (("@unittest_run_loop") ""))
-
- ;; Patching the above file breaks the self test
- (substitute* "tests/test_black.py"
- (("( *)def test_self" match indent)
- (string-append indent "@unittest.skip(\"guix\")\n" match)))
-
- (substitute* "tests/test_black.py"
- (("( *)def test_python38" match indent)
- (string-append indent "@unittest.skip(\"guix\")\n" match)))
- #t))
+ ;; The source formatting test fails because we patch various
+ ;; files; just disable it.
+ (substitute* "tests/test_format.py"
+ (("def test_source_is_formatted" all)
+ (format #f "@pytest.mark.skip(\"Disabled by Guix.\")\n~a"
+ all)))))
;; Remove blackd, because it depends on python-aiohttp and
;; python-aiohttp-cors.
(add-after 'unpack 'remove-entrypoint
(lambda _
(substitute* "setup.py"
(("\\s*\"blackd=blackd:patched_main \\[d\\]\",\n") "")
- (("\"blackd\", ") "")))))))
+ (("\"blackd\", ") ""))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests? (invoke "pytest" "-vv")))))))
(propagated-inputs
(list python-click
python-attrs
python-appdirs
python-pathspec
python-mypy-extensions
+ python-platformdirs
python-regex
- python-toml
+ python-tomli
python-typed-ast
python-typing-extensions))
(native-inputs
- (list python-setuptools-scm))
- (home-page "https://github.com/ambv/black")
+ (list python-pytest python-pytest-aiohttp python-setuptools-scm))
+ (home-page "https://github.com/psf/black")
(synopsis "The uncompromising code formatter")
(description "Black is the uncompromising Python code formatter.")
(license license:expat)))
@@ -5162,14 +5343,13 @@ interested parties to subscribe to events, or \"signals\".")
(define-public pelican
(package
(name "pelican")
- (version "4.7.0")
+ (version "4.7.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pelican" version))
(sha256
- (base32
- "0g1sbzlz5mfc70gwgnj3lz4kf4psdjl96n6ywklv8z817m1khxdd"))))
+ (base32 "1sfckd3fhgnj305002fi3fdhkynric1ck7a5i8qany7k3vdsbasv"))))
(build-system python-build-system)
(inputs
(list python-blinker
@@ -5308,11 +5488,24 @@ writing C extensions for Python as easy as Python itself.")
""))
#t)))))))))
-;; NOTE: when upgrading numpy please make sure that python-pandas and
-;; python-scipy still build, as these three packages are often used together.
+(define-public python-cython-3
+ (package
+ (inherit python-cython)
+ ;; Cython 3 is not officially released yet, so distinguish the name
+ ;; for now.
+ (name "python-cython-next")
+ (version "3.0.0a10")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "Cython" version))
+ (sha256
+ (base32
+ "17fqacrpis05w1rpi7d7sbimrk20xf8h6d3vrz5nf6ix3899abil"))))
+ (properties '())))
+
(define-public python-numpy-next
(package
- (name "python-numpy")
+ (name "python-numpy-next")
(version "1.21.3")
(source
(origin
@@ -5382,6 +5575,7 @@ capabilities.")
(strip-python2-variant python-numpy-next))))
(package
(inherit numpy)
+ (name "python-numpy")
(version "1.16.5")
(source (origin
(method url-fetch)
@@ -5408,6 +5602,7 @@ capabilities.")
(define-public python-numpy-1.20
(package
(inherit python-numpy-next)
+ (name "python-numpy")
(version "1.20.3")
(source (origin
(method url-fetch)
@@ -5423,6 +5618,8 @@ capabilities.")
(substitute-keyword-arguments (package-arguments python-numpy-next)
((#:tests? _ #t) #f)))))
+;; NOTE: when upgrading numpy please make sure that python-pandas and
+;; python-scipy still build, as these three packages are often used together.
(define-public python-numpy python-numpy-1.20)
;; NOTE: NumPy 1.8 is packaged only for Python 2 because it is of
@@ -6155,17 +6352,19 @@ comparison.
(define-public python-matplotlib
(package
(name "python-matplotlib")
- (version "3.4.3")
+ (version "3.5.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "matplotlib" version))
(sha256
- (base32 "06032j0ccjxldx4z9kf97qps2g36mfgvy1nap3b9n75kzmnm4kzw"))))
+ (base32 "076f8qi265x8jy89c03r3vv5h4is4ir5mawwrrrpp96314783sdj"))))
(build-system python-build-system)
- (propagated-inputs ; the following packages are all needed at run time
+ (propagated-inputs ; the following packages are all needed at run time
`(("python-cycler" ,python-cycler)
+ ("python-fonttools" ,python-fonttools)
("python-kiwisolver" ,python-kiwisolver)
+ ("python-packaging" ,python-packaging)
("python-pyparsing" ,python-pyparsing)
("python-pygobject" ,python-pygobject)
("python-certifi" ,python-certifi)
@@ -6176,6 +6375,7 @@ comparison.
("python-pillow" ,python-pillow)
("python-pytz" ,python-pytz)
("python-six" ,python-six)
+ ("python-wxpython" ,python-wxpython)
;; From version 1.4.0 'matplotlib' makes use of 'cairocffi' instead of
;; 'pycairo'. However, 'pygobject' makes use of a 'pycairo' 'context'
;; object. For this reason we need to import both libraries.
@@ -6188,101 +6388,87 @@ comparison.
qhull
cairo
glib
- ;; FIXME: Add backends when available.
- ;("python-wxpython" ,python-wxpython)
tcl
tk))
(native-inputs
`(("pkg-config" ,pkg-config)
("python-pytest" ,python-pytest)
- ("python-mock" ,python-mock)
- ("python-wheel" ,python-wheel)
- ("unzip" ,unzip)
- ("jquery-ui"
- ,(origin
- (method url-fetch)
- (uri "https://jqueryui.com/resources/download/jquery-ui-1.12.1.zip")
- (sha256
- (base32
- "0kb21xf38diqgxcdi1z3s9ssq36pldvyqxy56hn6pcva6rs3c8zq"))))))
+ ("python-pytest-timeout" ,python-pytest-timeout)
+ ("python-pytest-xdist" ,python-pytest-xdist)
+ ("python-setuptools-scm" ,python-setuptools-scm)
+ ("python-setuptools-scm-git-archive" ,python-setuptools-scm-git-archive)))
(arguments
- `(#:phases
- (modify-phases %standard-phases
- ;; XXX We disable all image comparison tests because we're using a
- ;; newer version of FreeType than matplotlib expects. This leads to
- ;; minor differences throughout the tests.
- (add-after 'unpack 'fix-and-disable-failing-tests
- (lambda _
- (substitute* (append (find-files "lib/matplotlib/tests/"
- "test_.*\\.py$")
- (find-files "lib/mpl_toolkits/tests"
- "test_.*\\.py$"))
- (("^from matplotlib" match)
- (string-append "import pytest\n" match))
- (("( *)@([^_]+_)*(image_comparison|check_figures_equal)" match
- indent)
- (string-append indent
- "@pytest.mark.skip(reason=\"unknown minor image differences\")\n"
- match)))
- (substitute* "lib/matplotlib/tests/test_animation.py"
- (("/bin/sh") (which "sh")))
- (for-each delete-file
- ;; test_normal_axes, test_get_tightbbox_polar
- '("lib/matplotlib/tests/test_axes.py"
- "lib/matplotlib/tests/test_polar.py"
- ;; We don't use the webagg backend and this test
- ;; forces it.
- "lib/matplotlib/tests/test_backend_webagg.py"
- ;; test_outward_ticks
- "lib/matplotlib/tests/test_tightlayout.py"
- ;; test_hidden_axes fails with minor extent
- ;; differences, possibly due to the use of a
- ;; different version of FreeType.
- "lib/matplotlib/tests/test_constrainedlayout.py"
- ;; Fontconfig returns no fonts.
- "lib/matplotlib/tests/test_font_manager.py"))
- #t))
- (add-before 'install 'install-jquery-ui
- (lambda* (#:key outputs inputs #:allow-other-keys)
- (let* ((python-version (python-version
- (assoc-ref inputs "python")))
- (dir
- (string-append (assoc-ref outputs "out")
- "/lib/python" python-version
- "/site-packages"
- "/matplotlib/backends/web_backend/")))
- (mkdir-p dir)
- (invoke "unzip"
- (assoc-ref inputs "jquery-ui")
- "-d" dir))
- #t))
- (replace 'check
- (lambda* (#:key outputs inputs #:allow-other-keys)
- (add-installed-pythonpath inputs outputs)
- (invoke "python" "tests.py" "-v"
- "-m" "not network and not webagg")))
- (add-before 'build 'configure-environment
- (lambda* (#:key outputs inputs #:allow-other-keys)
- (let ((cairo (assoc-ref inputs "cairo")))
- ;; Setting this directory in the 'basedirlist' of 'setup.cfg'
- ;; has not effect.
- (setenv "LD_LIBRARY_PATH" (string-append cairo "/lib"))
- (setenv "HOME" (getcwd))
- ;; Fix rounding errors when using the x87 FPU.
- (when (string-prefix? "i686" ,(%current-system))
- (setenv "CFLAGS" "-ffloat-store"))
- (call-with-output-file "setup.cfg"
- (lambda (port)
- (format port "[libs]~%
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'pretend-version
+ ;; The version string is usually derived via setuptools-scm, but
+ ;; without the git metadata available, the version string is set to
+ ;; '0.0.0'.
+ (lambda _
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
+ (add-after 'unpack 'fix-and-disable-failing-tests
+ ;; XXX: Disable all image comparison tests because we're using a
+ ;; newer version of FreeType than matplotlib expects. This leads
+ ;; to minor differences throughout the tests.
+ (lambda _
+ (substitute* (append (find-files "lib/matplotlib/tests/"
+ "test_.*\\.py$")
+ (find-files "lib/mpl_toolkits/tests"
+ "test_.*\\.py$"))
+ (("^from matplotlib" match)
+ (string-append "import pytest\n" match))
+ (("( *)@([^_]+_)*(image_comparison|check_figures_equal)" match
+ indent)
+ (string-append indent "@pytest.mark.skip(\
+reason=\"unknown minor image differences\")\n" match)))
+ (substitute* "lib/matplotlib/tests/test_animation.py"
+ (("/bin/sh") (which "sh")))
+ (for-each delete-file
+ ;; test_normal_axes, test_get_tightbbox_polar
+ '("lib/matplotlib/tests/test_axes.py"
+ "lib/matplotlib/tests/test_polar.py"
+ ;; We don't use the webagg backend and this test
+ ;; forces it.
+ "lib/matplotlib/tests/test_backend_webagg.py"
+ ;; test_outward_ticks
+ "lib/matplotlib/tests/test_tightlayout.py"
+ ;; test_hidden_axes fails with minor extent
+ ;; differences, possibly due to the use of a
+ ;; different version of FreeType.
+ "lib/matplotlib/tests/test_constrainedlayout.py"
+ ;; Fontconfig returns no fonts.
+ "lib/matplotlib/tests/test_font_manager.py"))))
+ (add-before 'build 'configure-environment
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; Fix rounding errors when using the x87 FPU.
+ (when (string-prefix? "i686" #$(%current-system))
+ (setenv "CFLAGS" "-ffloat-store"))
+ (call-with-output-file "mplsetup.cfg"
+ (lambda (port)
+ (format port "\
+[libs]
system_freetype = true
system_qhull = true
-[directories]~%
-basedirlist = ~a,~a~%
-[packages]~%
-tests = True~%"
- (assoc-ref inputs "tcl")
- (assoc-ref inputs "tk")))))
- #t)))))
+
+[rc_options]
+backend=Agg
+
+[directories]
+basedirlist = ~a,~a
+
+[packages]
+tests = True~%" (assoc-ref inputs "tcl") (assoc-ref inputs "tk"))))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; Step out of the source directory to avoid interference.
+ (with-directory-excursion "/tmp"
+ ;; Run the installed tests, which is what we want since not
+ ;; everything gets built in the source directory.
+ (invoke "pytest"
+ "-n" (number->string (parallel-job-count))
+ "-m" "not network" "--pyargs" "matplotlib"))))))))
(home-page "https://matplotlib.org/")
(synopsis "2D plotting library for Python")
(description
@@ -6297,53 +6483,47 @@ toolkits.")
(define-public python2-matplotlib
(let ((matplotlib (package-with-python2
(strip-python2-variant python-matplotlib))))
- (package (inherit matplotlib)
- (version "2.2.4")
+ (package/inherit matplotlib
+ (version "2.2.5")
(source
(origin
(method url-fetch)
(uri (pypi-uri "matplotlib" version))
(sha256
(base32
- "09i1gnrra1590brc1f8d5rh2zvnknmfgzp613ab0462qkrwj15h2"))))
+ "1sk05fdai9rw35l983rw2ymvz0nafs7szs7yz4nxrpyr1j27l0x3"))))
(arguments
(substitute-keyword-arguments (package-arguments matplotlib)
((#:phases phases)
- `(modify-phases ,phases
- (replace 'install-jquery-ui
- (lambda* (#:key outputs inputs #:allow-other-keys)
- (let ((dir (string-append (assoc-ref outputs "out")
- "/lib/python2.7/site-packages/"
- "matplotlib/backends/web_backend/")))
- (mkdir-p dir)
- (invoke "unzip"
- (assoc-ref inputs "jquery-ui")
- "-d" dir))))
- ;; Without this file mpl_toolkits cannot be imported.
- (add-after 'install 'create-init-file
- (lambda* (#:key outputs #:allow-other-keys)
- (with-output-to-file
- (string-append
- (assoc-ref outputs "out")
- "/lib/python2.7/site-packages/mpl_toolkits/__init__.py")
- (lambda _ (display "")))))
- (delete 'fix-and-disable-failing-tests)
- (delete 'check))))) ; These tests weren't run the the past.
- ;; Make sure to use special packages for Python 2 instead
- ;; of those automatically rewritten by package-with-python2.
+ #~(modify-phases #$phases
+ (add-after 'install 'create-init-file
+ (lambda _
+ (with-output-to-file
+ (string-append
+ #$output
+ "/lib/python2.7/site-packages/mpl_toolkits/__init__.py")
+ (lambda _ (display "")))))
+ (delete 'fix-and-disable-failing-tests)
+ (delete 'check))))) ; These tests weren't run the the past.
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
(propagated-inputs
- `(("python2-pycairo" ,python2-pycairo)
- ("python2-backports-functools-lru-cache"
- ,python2-backports-functools-lru-cache)
+ `(("gobject-introspection" ,gobject-introspection)
+ ("python2-backports-functools-lru-cache" ,python2-backports-functools-lru-cache)
+ ("python2-certifi" ,python2-certifi)
+ ("python2-cycler" ,python2-cycler)
+ ("python2-dateutil" ,python2-dateutil)
("python2-functools32" ,python2-functools32)
+ ("python2-kiwisolver" ,python2-kiwisolver)
+ ("python2-numpy" ,python2-numpy)
+ ("python2-pillow" ,python2-pillow)
+ ("python2-pycairo" ,python2-pycairo)
("python2-pygobject-2" ,python2-pygobject-2)
+ ("python2-pyparsing" ,python2-pyparsing)
+ ("python2-pytz" ,python2-pytz)
+ ("python2-six" ,python2-six)
("python2-subprocess32" ,python2-subprocess32)
- ("python2-tkinter" ,python-2 "tk")
- ,@(fold alist-delete (package-propagated-inputs matplotlib)
- '("python-cairocffi"
- "python-pycairo"
- "python-pygobject"
- "python-tkinter")))))))
+ ("python2-tkinter" ,python-2 "tk"))))))
(define-public python-matplotlib-documentation
(package
@@ -6845,7 +7025,7 @@ services for your Python modules and applications.")
"1kjxh4gr651hpqkjfv89cfzr40hyvf3vjlda7mifiail83j7j07m"))))
(build-system python-build-system)
(home-page "https://www.decalage.info/python/olefileio")
- (synopsis "Read and write Microsoft OLE2 files.")
+ (synopsis "Read and write Microsoft OLE2 files")
(description
"@code{olefile} can parse, read and write Microsoft OLE2 files (Structured
Storage or Compound Document, Microsoft Office). It is an improved version of
@@ -6855,6 +7035,27 @@ the OleFileIO module from PIL, the Python Image Library.")
(define-public python2-olefile
(package-with-python2 python-olefile))
+(define-public python-pypdf3
+ (package
+ (name "python-pypdf3")
+ (version "1.0.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "PyPDF3" version))
+ (sha256
+ (base32 "018hlq9q2qa96vw4j7ppq352znykldwy98h2w9qcpkvpi93sjqhc"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ (list python-tqdm))
+ (home-page "https://github.com/sfneal/PyPDF3")
+ (synopsis "Utility to read and write PDFs with Python")
+ (description "PyPDF3 is a pure-python PDF library capable of splitting,
+merging together, cropping, and transforming the pages of PDF files. It can
+also add custom data, viewing options, and passwords to PDF files. It can
+retrieve text and metadata from PDFs as well as merge entire files together.")
+ (license license:bsd-3)))
+
(define-public python-pikepdf
(package
(name "python-pikepdf")
@@ -6888,25 +7089,29 @@ the OleFileIO module from PIL, the Python Image Library.")
(define-public python-pillow
(package
(name "python-pillow")
- (version "8.1.1")
+ (version "9.0.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "Pillow" version))
(sha256
(base32
- "086g7nhv52wclrwnzbzs2x3nvyzs2hfq1bvgivsrp5f7r7wiiz7n"))))
+ "0gjry0yqryd2678sm47jhdnbghzxn5wk8pgyaqwr4qi7x5ijjvpf"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (delete-file-recursively "src/thirdparty")))))
(build-system python-build-system)
(native-inputs
(list python-pytest))
(inputs
- `(("freetype" ,freetype)
- ("lcms" ,lcms)
- ("libjpeg" ,libjpeg-turbo)
- ("libtiff" ,libtiff)
- ("libwebp" ,libwebp)
- ("openjpeg" ,openjpeg)
- ("zlib" ,zlib)))
+ (list freetype
+ lcms
+ libjpeg-turbo
+ libtiff
+ libwebp
+ openjpeg
+ zlib))
(propagated-inputs
(list python-olefile))
(arguments
@@ -6918,14 +7123,12 @@ the OleFileIO module from PIL, the Python Image Library.")
(("\\['/sbin/ldconfig', '-p'\\]") "['true']"))))
(replace 'check
(lambda* (#:key outputs inputs tests? #:allow-other-keys)
- (if tests?
- (begin
- (setenv "HOME" (getcwd))
- ;; Make installed package available for running the tests.
- (add-installed-pythonpath inputs outputs)
- (invoke "python" "selftest.py" "--installed")
- (invoke "python" "-m" "pytest" "-vv"))
- #t))))))
+ (when tests?
+ (setenv "HOME" (getcwd))
+ ;; Make installed package available for running the tests.
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "selftest.py" "--installed")
+ (invoke "python" "-m" "pytest" "-vv")))))))
(home-page "https://python-pillow.org")
(synopsis "Fork of the Python Imaging Library")
(description
@@ -6935,7 +7138,8 @@ efficient internal representation, and fairly powerful image processing
capabilities. The core image library is designed for fast access to data
stored in a few basic pixel formats. It should provide a solid foundation for
a general image processing tool.")
- (properties `((python2-variant . ,(delay python2-pillow))))
+ (properties `((python2-variant . ,(delay python2-pillow))
+ (cpe-name . "pillow")))
(license (license:x11-style
"http://www.pythonware.com/products/pil/license.htm"
"The PIL Software License"))))
@@ -6978,7 +7182,7 @@ a general image processing tool.")
(package
(inherit python-pillow)
(name "python-pillow-simd")
- (version "7.1.2")
+ (version "9.0.0")
;; The PyPI tarball does not include test files.
(source
(origin
@@ -6988,16 +7192,7 @@ a general image processing tool.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0w11np4cybamry3jsg70x747c79zwjzfq0xiprfp6c186rd6nzp9"))))
- (arguments
- (substitute-keyword-arguments
- (package-arguments python-pillow)
- ((#:phases phases)
- `(modify-phases ,phases
- (add-after 'unpack 'make-tests-writable
- (lambda _
- (for-each make-file-writable (find-files "Tests"))
- #t))))))
+ (base32 "0pxvfyzxzgk18mhm7xh5n19s88bpwaah5cm60p4c239phspzprdb"))))
(inputs
(modify-inputs (package-inputs python-pillow)
(prepend libraqm libimagequant)))
@@ -7054,8 +7249,10 @@ def customize_build(EXTENSIONS, OPTIONS):
del EXTENSIONS['zfp']
del EXTENSIONS['zopfli']
OPTIONS['cythonize']
-")))
- #t)))))
+")))))
+ ;; XXX: The installed scripts import packages that depend on
+ ;; this package; disable import check to avoid the cycle.
+ (delete 'sanity-check))))
(inputs
(list c-blosc
giflib
@@ -7070,6 +7267,7 @@ def customize_build(EXTENSIONS, OPTIONS):
zlib
`(,zstd "lib")))
(propagated-inputs
+ ;; For the Python library.
(list python-numpy))
(native-inputs
;; For building.
@@ -7088,6 +7286,27 @@ buffer transformation, compression, and decompression functions for use in the
tifffile, czifile, and other scientific image input/output modules.")
(license license:bsd-3)))
+(define-public python-executing
+ (package
+ (name "python-executing")
+ (version "0.8.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "executing" version))
+ (sha256
+ (base32 "08q0xh9fd8k41sqpp23q6fb9bf7yj4y2q6sv30pj36vvk8pg8fy2"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f)) ; TODO: tests require python-asttokens
+ (native-inputs
+ (list python-setuptools-scm python-toml))
+ (home-page "https://github.com/alexmojaki/executing")
+ (synopsis "Get information about what a Python frame is currently doing")
+ (description "This package lets you get information about what a frame is
+currently doing, particularly the AST node being executed.")
+ (license license:expat)))
+
(define-public python-roifile
(package
(name "python-roifile")
@@ -7272,14 +7491,14 @@ formulas and hyperlinks to multiple worksheets in an Excel 2007+ XLSX file.")
(define-public python-pywavelets
(package
(name "python-pywavelets")
- (version "1.1.1")
+ (version "1.2.0")
(home-page "https://github.com/PyWavelets/pywt")
(source (origin
(method url-fetch)
(uri (pypi-uri "PyWavelets" version))
(sha256
(base32
- "1j88c0r4j1d4mb3f8qhz6nalyx21qrzmsm70rjngnkybd87v8r0s"))))
+ "13csbr6ls9q9ww53z2xwwsj0hpsz88rj2iwp623h0kmv8yq6kgbc"))))
(build-system python-build-system)
(arguments
'(#:modules ((ice-9 ftw)
@@ -7342,6 +7561,27 @@ in an image. It then applies the colors system-wide and on-the-fly in all of
your favourite programs.")
(license license:expat)))
+(define-public python-click-didyoumean
+ (package
+ (name "python-click-didyoumean")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "click-didyoumean" version))
+ (sha256
+ (base32 "0dc0xrmqbw0idpx843ahzzvivmvx3fcfsm3k54lnssyra7cg117i"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f)) ; no tests in PyPI and no setup.py in github
+ (propagated-inputs
+ (list python-click))
+ (home-page "https://github.com/timofurrer/click-didyoumean")
+ (synopsis "Git-like did-you-mean feature in Click")
+ (description
+ "This plugin enables git-like did-you-mean feature in Click.")
+ (license license:expat)))
+
(define-public python-pywinrm
(package
(name "python-pywinrm")
@@ -8255,6 +8495,41 @@ profile, launches a cluster and returns a view. On program exit it shuts the
cluster down and deletes the throwaway profile.")
(license license:expat)))
+(define-public python-ipython-sql
+ (package
+ (name "python-ipython-sql")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "ipython-sql" version))
+ (sha256
+ (base32 "0v74ayc6vw98f4jljmwy45qpqbcbhlrb4g1qdyypq9sppxcqx21y"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-build
+ (lambda _
+ ;; The "NEWS.rst" file is missing from the PyPI distribution.
+ ;; (see: https://github.com/catherinedevlin/ipython-sql/issues/164)
+ (substitute* "setup.py"
+ (("NEWS = [^\n]*") "")
+ (("long_description=README \\+ '\\\\n\\\\n' \\+ NEWS,")
+ "long_description=README,")))))))
+ (propagated-inputs
+ (list python-ipython
+ python-ipython-genutils
+ python-prettytable
+ python-six
+ python-sqlalchemy
+ python-sqlparse))
+ (home-page "https://github.com/catherinedevlin/ipython-sql")
+ (synopsis "RDBMS access via IPython")
+ (description "This library connects to a database, using SQLAlchemy URL
+connect strings, then issue SQL commands within IPython or IPython Notebook.")
+ (license license:expat)))
+
(define-public python-traitlets
(package
(name "python-traitlets")
@@ -8470,24 +8745,22 @@ installing @code{kernelspec}s for use with Jupyter frontends.")
(define-public python-pari-jupyter
(package
(name "python-pari-jupyter")
- (version "1.3.2")
+ (version "1.4.0")
(source
(origin
(method url-fetch)
- (uri (pypi-uri "pari_jupyter" version))
+ (uri (pypi-uri "pari-jupyter" version))
(sha256
(base32
- "1yash0p422nnin7z58b99d0p23nx79f5m0mainc9hsjg72jhdhr6"))))
+ "1hwjr66vfjsx28qmxrgsp3z0px1xqwxv53byvsrbwbjp4pbp79sz"))))
(build-system python-build-system)
+ (arguments '(#:tests? #f)) ;no test suite
(propagated-inputs
(list python-ipykernel))
(inputs
(list pari-gp readline))
- (arguments
- `(#:tests? #f)) ; no test suite
- (home-page
- "https://github.com/jdemeyer/pari_jupyter")
- (synopsis "A Jupyter kernel for PARI/GP")
+ (home-page "https://github.com/jdemeyer/pari-jupyter")
+ (synopsis "Jupyter kernel for PARI/GP")
(description "The package provides a PARI/GP kernel for Jupyter.")
(license license:gpl3+)))
@@ -8811,6 +9084,7 @@ distance between two or more sequences by many algorithms.")
(arguments
'(#:tests? #f)) ; no tests
(propagated-inputs (list python-urwid))
+ (native-inputs (list python-mock))
(home-page "https://github.com/pazz/urwidtrees")
(synopsis "Tree widgets for urwid")
(description "Urwidtrees is a Widget Container API for the @code{urwid}
@@ -8871,6 +9145,26 @@ parsing (browser/HTTP) user agent strings.")
(define-public python2-user-agents
(package-with-python2 python-user-agents))
+(define-public python-pydbus
+ (package
+ (name "python-pydbus")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pydbus" version))
+ (sha256
+ (base32 "0b0gipvz7vcfa9ddmwq2jrx16d4apb0hdnl5q4i3h8jlzwp1c1s2"))))
+ (build-system python-build-system)
+ (propagated-inputs (list python-pygobject))
+ (home-page "https://github.com/LEW21/pydbus")
+ (synopsis "Pythonic D-Bus library")
+ (description "Pydbus provides a pythonic interface to the D-Bus
+message bus system. Pydbus can be used to access remote objects and
+also for object publication. It is based on PyGI, the Python GObject
+Introspection bindings, which is the recommended way to use GLib from Python.")
+ (license license:lgpl2.1+)))
+
(define-public python-dbus
(package
(name "python-dbus")
@@ -8961,27 +9255,17 @@ the GObject Introspection bindings to libnotify for non-GTK applications.")
(define-public python-beautifulsoup4
(package
(name "python-beautifulsoup4")
- (version "4.9.3")
+ (version "4.10.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "beautifulsoup4" version))
(sha256
(base32
- "09gbd49mwz86k572r1231x2rdp82p42zlnw0bz9b9mfi58r9wwl4"))))
+ "14c8z4gh9bi38agx9ls8ym5rscc02pc6f6hmliaqk08xa8yd4fn2"))))
(build-system python-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- ;; The Python 2 source is the definitive source of beautifulsoup4. We
- ;; must use this conversion script when building with Python 3. The
- ;; conversion script also runs the tests.
- ;; For more information, see the file 'convert-py3k' in the source
- ;; distribution.
- (replace 'check
- (lambda _ (invoke "./convert-py3k"))))))
(propagated-inputs
- (list python-soupsieve))
+ (list python-soupsieve python-html5lib python-lxml))
(home-page
"https://www.crummy.com/software/BeautifulSoup/bs4/")
(synopsis
@@ -8998,8 +9282,16 @@ converts incoming documents to Unicode and outgoing documents to UTF-8.")
(define-public python2-beautifulsoup4
(let ((base (package-with-python2
(strip-python2-variant python-beautifulsoup4))))
- (package/inherit base
- (arguments `(#:python ,python-2)))))
+ (package/inherit base
+ (version "4.9.3") ;last version to support Python 2
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "beautifulsoup4" version))
+ (sha256
+ (base32
+ "09gbd49mwz86k572r1231x2rdp82p42zlnw0bz9b9mfi58r9wwl4"))))
+ (arguments `(#:python ,python-2)))))
(define-public python-soupsieve
(package
@@ -9053,14 +9345,14 @@ some are not yet implemented).")
(define-public python-netifaces
(package
(name "python-netifaces")
- (version "0.10.9")
+ (version "0.11.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "netifaces" version))
(sha256
(base32
- "1wxby874kcr3pp4ygzk5aiarbzhg1yi093d56s1qg4k2s7yrzvid"))))
+ "0cnajf5rl4w1sa72j921scbigr6zndig56cq8ggpx45jdqa7jfh4"))))
(build-system python-build-system)
(home-page "https://github.com/al45tair/netifaces")
(synopsis
@@ -9680,13 +9972,13 @@ applications.")
(define-public python-pyzmq
(package
(name "python-pyzmq")
- (version "22.1.0")
+ (version "22.3.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pyzmq" version))
(sha256
- (base32 "0pa1y97z75xqyca9xfp9zrzksydbgzsxf8yh0hwp0rgahpfxch3h"))))
+ (base32 "0737kizh53n4rjq1xbm6nhr0bq65xflg04i1d8fcky0nwwrw1pcf"))))
(build-system python-build-system)
(arguments
`(#:configure-flags
@@ -9757,6 +10049,113 @@ entire set of Emoji codes as defined by the Unicode Consortium is supported in
addition to a bunch of aliases.")
(license license:bsd-3)))
+(define-public python-sarge
+ (package
+ (name "python-sarge")
+ (version "0.1.7.post1") ; post release only to correct errors in metadata
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "sarge" version))
+ (sha256
+ (base32 "0g9a53mfnp96877n1yq2jdk1mcv3xm0d93iisvgcn2prdsp45zv4"))))
+ (build-system python-build-system)
+ (home-page "https://docs.red-dove.com/sarge/")
+ (synopsis "Subprocess wrapper with command pipeline functionality")
+ (description "@code{sarge} is a wrapper for subprocess which provides
+command pipeline functionality.")
+ (license license:bsd-3)))
+
+(define-public python-zipstream-new
+ (package
+ (name "python-zipstream-new")
+ (version "1.1.8")
+ (source
+ (origin
+ (method git-fetch) ; no tests in PyPI release
+ (uri (git-reference
+ (url "https://github.com/arjan-s/python-zipstream")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "14vhgg8mcjqi8cpzrw8qzbij2fr2a63l2a8fhil21k2r8vzv92cv"))))
+ (build-system python-build-system)
+ (native-inputs
+ (list python-nose))
+ (home-page "https://github.com/arjan-s/python-zipstream")
+ (synopsis "Zipfile generator that takes input files as well as streams")
+ (description "@code{zipstream.py} is a zip archive generator based on
+@code{zipfile.py}. It was created to generate a zip file generator for
+streaming. This is beneficial for when you want to provide a downloadable
+archive of a large collection of regular files, which would be infeasible
+to generate the archive prior to downloading or of a very large file that
+you do not want to store entirely on disk or on memory.")
+ ;; No copyright headers in the source. The LICENSE file indicates GPL3.
+ (license license:gpl3)))
+
+(define-public python-sentry-sdk
+ (package
+ (name "python-sentry-sdk")
+ (version "1.5.1")
+ (source
+ (origin
+ (method git-fetch) ; no tests in PyPI release
+ (uri (git-reference
+ (url "https://github.com/getsentry/sentry-python")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "128bm136l5zprr3sqqb8j3d6k5i1fhz853mzvh3w8g0w1dw763mx"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "-m" "pytest" "-k"
+ (string-append
+ ;; This test requires extra dependencies.
+ "not test_auto_enabling_integrations"
+ "_catches_import_error"
+ ;; Tests below run pip command.
+ " and not test_unhandled_exception"
+ " and not test_timeout_error"
+ " and not test_performance_no_error"
+ " and not test_performance_error"
+ " and not test_traces_sampler_gets_correct"
+ "_values_in_sampling_context"
+ " and not test_handled_exception"
+ ;; Tests below require network.
+ " and not test_crumb_capture"
+ " and not test_crumb_capture"
+ " and not test_crumb_capture_hint"
+ " and not test_httplib_misuse"
+ ;; Fails with IndexError.
+ " and not test_session_mode_defaults_to"
+ "_request_mode_in_wsgi_handler"))))))))
+ (native-inputs
+ (list python-django
+ python-executing
+ python-gevent
+ python-jsonschema
+ python-mock
+ python-pyrsistent
+ python-pytest
+ python-pytest-cov
+ python-pytest-django
+ python-pytest-forked
+ python-pytest-localserver
+ python-werkzeug))
+ (propagated-inputs
+ (list python-certifi python-urllib3))
+ (home-page "https://github.com/getsentry/sentry-python")
+ (synopsis "Python SDK for Sentry")
+ (description "This package provides a Python SDK for the Sentry
+application monitoring and error tracking software.")
+ (license license:bsd-2)))
+
(define-public python-pep8
;; This package has been renamed to ‘pycodestyle’ and is no longer updated.
;; Its last release (1.7.1) adds only a scary warning to this effect, breaking
@@ -10017,6 +10416,14 @@ These should be used in preference to using a backslash for line continuation.
(sha256
(base32 "1v0y29xlmbr2q12a4nnpm1dm9aw1mjiys1x8jif4z8c90d63cqm6"))))
(build-system python-build-system)
+ (arguments
+ '(#:tests? #f ;no tests
+ #:phases (modify-phases %standard-phases
+ (add-after 'unpack 'loosen-requirements
+ (lambda _
+ ;; Permit newer versions of attrs. Remove for >0.2.
+ (substitute* "setup.py"
+ ((", <21") "")))))))
(propagated-inputs
(list python-attrs python-more-itertools))
(home-page "https://github.com/keisheiled/flake8-implicit-str-concat")
@@ -10421,28 +10828,181 @@ add functionality and customization to your projects with their own plugins.")
(define-public python2-straight-plugin
(package-with-python2 python-straight-plugin))
-(define-public python-fonttools
+(define-public python-pysendfile
(package
- (name "python-fonttools")
- (version "4.6.0")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "fonttools" version ".zip"))
- (sha256
- (base32
- "1mq9kdzhcsp96bhv7smnrpdg1s4z5wh70bsl99c0jmcrahqdisqq"))))
+ (name "python-pysendfile")
+ (version "2.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pysendfile" version))
+ (sha256
+ (base32 "05qf0m32isflln1zjgxlpw0wf469lj86vdwwqyizp1h94x5l22ji"))))
(build-system python-build-system)
- (native-inputs
- (list unzip python-pytest python-pytest-runner))
- (home-page "https://github.com/fonttools/fonttools")
- (synopsis "Tools to manipulate font files")
- (description
- "FontTools/TTX is a library to manipulate font files from Python. It
+ (arguments
+ (list
+ #:phases #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (setenv "HOME" "/tmp")
+ (invoke "make" "test")))))))
+ (home-page "https://github.com/giampaolo/pysendfile")
+ (synopsis "Python interface to sendfile(2)")
+ (description "The @{pysendfile} Python library provides an interface to
+the @code{sendfile(2)} system call.")
+ (license license:expat)))
+
+(define-public python-pyftpdlib
+ (package
+ (name "python-pyftpdlib")
+ (version "1.5.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pyftpdlib" version))
+ (sha256
+ (base32 "0pnv2byzmzg84q5nmmhn1xafvfil85qa5y52bj455br93zc5b9px"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke
+ "pytest"
+ ;; Deselect failing tests.
+ "-k" (string-append
+ ;; Using Pytest instead of the Makefile causes the
+ ;; command line tests to fail on unknown Pytest
+ ;; arguments.
+ "not TestCommandLineParser "
+ ;; https://github.com/giampaolo/pyftpdlib/issues/478
+ "and not test_use_gmt_times "
+ ;; https://github.com/giampaolo/pyftpdlib/issues/550
+ "and not test_masquerade_address "
+ ;; https://github.com/giampaolo/pyftpdlib/issues/500
+ "and not test_rest_on_stor "
+ "and not test_stor_ascii"))))))))
+ (native-inputs (list python-psutil python-pytest))
+ (propagated-inputs (list python-pyopenssl python-pysendfile))
+ (home-page "https://github.com/giampaolo/pyftpdlib/")
+ (synopsis "Asynchronous and scalable Python FTP server library")
+ (description "The Python FTP server library provides a high-level
+interface to write efficient, scalable and asynchronous FTP servers with
+Python. It is the most complete @url{http://www.faqs.org/rfcs/rfc959.html,
+RFC-959} FTP server implementation available for Python, and has the following
+traits:
+@itemize
+@item
+It is lightweight, fast and scalable.
+@item
+It uses the @code{sendfile(2)} system call for uploads.
+@item
+It uses @code{epoll}, @code{kqueue} and @code{select} to handle concurrency
+asynchronously.
+@item
+It supports FTPS (@url{http://tools.ietf.org/html/rfc4217, RFC-4217}),
+IPv6 (RFC-2428), Unicode file names (@url{http://tools.ietf.org/html/rfc2640,
+RFC-2640}) and MLSD/MLST commands (RFC-3659).
+@item
+It has a flexible system of @samp{authorizers} able to manage both
+@samp{virtual} and @samp{real} users.
+@end itemize")
+ (license license:expat)))
+
+(define-public python-fs
+ (package
+ (name "python-fs")
+ (version "2.4.14")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "fs" version))
+ (sha256
+ (base32 "0v5kqzi0vd8ar4j4qf5440nzwa9dcagpxb3q6k0cln4cqlmxqmcm"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:phases #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (setenv "HOME" "/tmp")
+ (invoke "pytest" "-m" "not slow")))))))
+ (propagated-inputs
+ (list python-appdirs python-pytz python-six))
+ (native-inputs
+ (list python-mock python-parameterized python-pyftpdlib python-pytest))
+ (home-page "https://github.com/PyFilesystem/pyfilesystem2/")
+ (synopsis "File system abstraction layer for Python")
+ (description "PyFilesystem's @code{FS} object is a file system abstraction
+sharing similarities with Python's own @code{file} object for single files.
+It allows opening all the files under a given directory recursively, as a
+single @code{FS} object. This enables, for example, counting the combined
+number of lines in the contained files easily.")
+ (license license:expat)))
+
+;;; Tests are left out in the main package to avoid cycles.
+(define-public python-fonttools
+ (hidden-package
+ (package
+ (name "python-fonttools")
+ (version "4.28.5")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "fonttools" version ".zip"))
+ (sha256
+ (base32
+ "1jhl5n3rfqq7fznvsh6r80n7ylap1a7ppq1040y8cflhyz80ap2l"))))
+ (build-system python-build-system)
+ (native-inputs
+ (list unzip))
+ (arguments '(#:tests? #f))
+ (home-page "https://github.com/fonttools/fonttools")
+ (synopsis "Tools to manipulate font files")
+ (description
+ "FontTools/TTX is a library to manipulate font files from Python. It
supports reading and writing of TrueType/OpenType fonts, reading and writing
of AFM files, reading (and partially writing) of PS Type 1 fonts. The package
also contains a tool called “TTX” which converts TrueType/OpenType fonts to and
from an XML-based format.")
- (license license:expat)))
+ (license license:expat)
+ (properties `((python2-variant . ,(delay python2-fonttools)))))))
+
+(define-public python-fonttools-with-tests
+ (package/inherit python-fonttools
+ (arguments
+ (substitute-keyword-arguments (package-arguments python-fonttools)
+ ((#:tests? _ #f)
+ #t)
+ ((#:phases phases '%standard-phases)
+ `(modify-phases ,phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv"
+ "-k"
+ ;; XXX: These tests need .trm files that are
+ ;; not shipped with the PyPI release.
+ (format #f "not ~a"
+ (string-join
+ '("test_read_fontdimens_mathsy"
+ "test_read_fontdimens_mathex"
+ "test_read_fontdimens_vanilla"
+ "test_read_boundary_char"
+ "fontTools.tfmLib")
+ " and not "))))))))))
+ (native-inputs
+ (modify-inputs (package-native-inputs python-fonttools)
+ (append python-pytest ;FIXME: indentation is broken
+ python-brotli
+ python-fs
+ python-scipy
+ python-zopfli)))
+ (properties (alist-delete 'hidden? (package-properties python-fonttools)))))
;; Fonttools 4.x dropped support for Python 2, so stick with 3.x here.
(define-public python2-fonttools
@@ -10553,13 +11113,13 @@ third-party code.")
(define-public python-msgpack
(package
(name "python-msgpack")
- (version "1.0.0")
+ (version "1.0.3")
(source (origin
(method url-fetch)
(uri (pypi-uri "msgpack" version))
(sha256
(base32
- "1h5mxh84rcw04dvxy1qbfn2hisavfqgilh9k09rgyjhd936dad4m"))))
+ "07m84yisf8m6gr68ip9v6vzxax7kqbn8qxg7ir18clk1jgxwgzai"))))
(build-system python-build-system)
(arguments
`(#:modules ((guix build utils)
@@ -10605,6 +11165,11 @@ reading and writing MessagePack data.")
(substitute* "setup.py"
(("TRANSITIONAL = False")
"TRANSITIONAL = 1"))
+ ;; This old version is not compatible with Python 3.9
+ (substitute* '("test/test_buffer.py" "test/test_extension.py")
+ ((".tostring\\(") ".tobytes("))
+ (substitute* '("test/test_buffer.py" "test/test_extension.py")
+ ((".fromstring\\(") ".frombytes("))
#t))))))))
(define-public python2-msgpack
@@ -10826,23 +11391,20 @@ native modules.")
(define-public python-xlrd
(package
(name "python-xlrd")
- (version "1.2.0")
+ (version "2.0.1")
(source (origin
- (method url-fetch)
- (uri (pypi-uri "xlrd" version))
+ ;; The tests are not included in the PyPI archive.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/python-excel/xlrd")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1ci93fda4n67qhdvfl16zasyxrpygzk53hs6m8z0rd4dxrnb6vjl"))))
+ "170asszffvf6rh5w169ic4h5kxgjkmdl3060vw737d4g1qfifvzz"))))
(build-system python-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- ;; Some tests depend on writing a temporary file to the user's home
- ;; directory.
- (add-after 'unpack 'fix-tests
- (lambda _
- (delete-file "tests/test_open_workbook.py")
- #t)))))
+ (native-inputs
+ (list python-pytest))
(home-page "http://www.python-excel.org/")
(synopsis "Library for extracting data from Excel files")
(description "This package provides a library to extract data from
@@ -10854,6 +11416,7 @@ Unicode-aware. It is not intended as an end-user tool.")
(define-public python2-xlrd
(package-with-python2 python-xlrd))
+;;; Note: this package is unmaintained since 2018 (archived on GitHub).
(define-public python-xlwt
(package
(name "python-xlwt")
@@ -10943,11 +11506,16 @@ printing of sub-tables by specifying a row range.")
`(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest" "-vv" "-k"
- ;; Tries to open an outgoing connection.
- "not test_ssl_outgoing"))))))
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "pytest" "-vv" "-k"
+ (string-append
+ ;; Tries to open an outgoing connection.
+ "not test_ssl_outgoing "
+ ;; This test fails since Python 3.9.9 (see:
+ ;; https://github.com/dabeaz/curio/issues/347).
+ "and not test_timeout"))))))))
(native-inputs
(list python-pytest))
(home-page "https://github.com/dabeaz/curio")
@@ -11161,6 +11729,35 @@ signature of a file or buffer.")
provides a collection of cache libraries in the same API interface.")
(license license:bsd-3)))
+(define-public python-pylru
+ (package
+ (name "python-pylru")
+ (version "1.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pylru" version))
+ (sha256
+ (base32 "15yj46307sw703vjfkgnr04dqvaicmfcj0hc6yrciildp55r6bs9"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "test.py")))))))
+ (home-page "https://github.com/jlhutch/pylru")
+ (synopsis "Least recently used (LRU) cache implementation")
+ (description
+ "Pylru implements a true LRU cache along with several support classes.
+Pylru provides a cache class with a simple dict interface. It also provides
+classes to wrap any object that has a dict interface with a cache. Both
+write-through and write-back semantics are supported. Pylru also provides
+classes to wrap functions in a similar way, including a function decorator.")
+ (license license:gpl2+)))
+
(define-public python-legacy-api-wrap
(package
(name "python-legacy-api-wrap")
@@ -11776,29 +12373,52 @@ drafts 04, 06 and 07.")
Jupyter Notebook format and Python APIs for working with notebooks.")
(license license:bsd-3)))
+(define-public python-nb-clean
+ (package
+ (name "python-nb-clean")
+ (version "2.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "nb-clean" version))
+ (sha256
+ (base32 "01qvk9n7rx15dhc23m8bj9bw5wdyxh6y18c5fm8hllmrd3ndsx14"))))
+ (build-system python-build-system)
+ (propagated-inputs (list python-nbformat))
+ (home-page "https://github.com/srstevenson/nb-clean")
+ (synopsis "Clean Jupyter notebooks for versioning")
+ (description "This package cleans Jupyter notebooks of cell execution
+counts, metadata, outputs, and empty cells, preparing them for committing to
+version control. It provides a Git filter to automatically clean notebooks
+before they're staged, and can also be used with other version control
+systems, as a command line tool, and as a Python library.")
+ (license license:isc)))
+
(define-public python-bleach
(package
(name "python-bleach")
- (version "3.1.5")
+ (version "4.1.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "bleach" version))
(sha256
- (base32 "0jqa8f1ni10cyf4h7sjpf8mbqlcbkyvmsnli77qrxdcxvc7m4k1w"))))
+ (base32 "1nkibazmw1ry4cfxs9qrkkidxdf2z1hh1b20xq1ahqdsgsrxh009"))))
(build-system python-build-system)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests? (invoke "pytest" "-vv")))))))
(propagated-inputs
- (list python-webencodings python-six))
+ (list python-packaging python-six python-webencodings))
(native-inputs
- (list python-datrie python-genshi python-lxml python-pytest))
+ (list python-pytest))
(home-page "https://github.com/mozilla/bleach")
(synopsis "Whitelist-based HTML-sanitizing tool")
(description "Bleach is an easy whitelist-based HTML-sanitizing tool.")
(license license:asl2.0)))
-(define-public python2-bleach
- (package-with-python2 python-bleach))
-
(define-public python-entrypoints
(package
(name "python-entrypoints")
@@ -11904,13 +12524,13 @@ Features:
(define-public python-simpleeval
(package
(name "python-simpleeval")
- (version "0.9.10")
+ (version "0.9.12")
(source
(origin
(method url-fetch)
(uri (pypi-uri "simpleeval" version))
(sha256
- (base32 "1skvl467kj83rzkhk01i0wm8m5vmh6j5znrfdizn6r18ii45a839"))))
+ (base32 "0diysdzvx865yy2rjfah75ha2qfxaxz7r108kp7j2kkd903ya2ry"))))
(build-system python-build-system)
(home-page "https://github.com/danthedeckie/simpleeval")
(synopsis "Simple, safe single expression evaluator library")
@@ -12223,32 +12843,30 @@ Jupyter kernels such as IJulia and IRKernel.")
(define-public python-qtconsole
(package
(name "python-qtconsole")
- (version "4.4.3")
+ (version "4.7.7")
(source
(origin
(method url-fetch)
(uri (pypi-uri "qtconsole" version))
(sha256
- (base32
- "1b03n1ixzscm0jw97l4dq5iy4fslnqxq5bb8287xb7n2a1gs26xw"))))
+ (base32 "013qgpsm8jzcz3prhq7sxs36l8f7fgagmn3xa010gfhxf7cfldpj"))))
(build-system python-build-system)
(arguments
- ;; XXX: Tests are disabled, because this package needs python-ipython 7,
- ;; but we only have the LTS version 5.x. This means that there might be
- ;; runtime errors, but since this is a dependency of the Jupyter package,
- ;; and Jupyter can be used without the qtconsole we can overlook this for
- ;; now.
- `(#:tests? #f
- #:phases
+ `(#:phases
(modify-phases %standard-phases
(add-before 'check 'pre-check
(lambda _
(setenv "QT_QPA_PLATFORM" "offscreen")
- #t)))))
+ (setenv "HOME" "/tmp")
+ ;; FIXME: skip a failing test.
+ (substitute* "qtconsole/tests/test_jupyter_widget.py"
+ (("def test_other_output") "def _test_other_output")))))))
(propagated-inputs
- (list python-ipykernel python-ipython python-pyqt))
+ (list python-ipykernel python-ipython-genutils python-jupyter-client
+ python-jupyter-core python-pygments python-pyqt python-pyzmq
+ python-qtpy python-traitlets))
(native-inputs
- (list python-pytest))
+ (list python-flaky python-pytest))
(home-page "https://jupyter.org")
(synopsis "Jupyter Qt console")
(description "This package provides a Qt-based console for Jupyter with
@@ -12406,6 +13024,54 @@ programmatically with command-line parsers like @code{getopt} and
(define-public python2-docopt
(package-with-python2 python-docopt))
+(define-public python-pythonanywhere
+ (package
+ (name "python-pythonanywhere")
+ (version "0.9.10")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pythonanywhere/helper_scripts")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0vzzc1g8pl7cb9yvm3n1j5zlzxf0jd423rzspc2kvpb8yhvydklx"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'change-home
+ (lambda _
+ (setenv "HOME" "/tmp")))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; Exclude tests marked as slowtest that assume running
+ ;; inside Git repository on system with virtualenvwrapper
+ ;; installed.
+ (invoke "pytest" "-m" "not slowtest")))))))
+ (native-inputs
+ (list python-pytest
+ python-psutil
+ python-responses
+ python-pytest-mock))
+ (propagated-inputs
+ (list python-dateutil
+ python-docopt
+ python-packaging
+ python-requests
+ python-schema
+ python-tabulate
+ python-typer))
+ (home-page "https://github.com/pythonanywhere/helper_scripts/")
+ (synopsis "PythonAnywhere helper tools for users")
+ (description "PythonAnywhere provides a command-line interface and an
+application programming interface that allows managing Web apps and scheduled
+tasks. It includes single-command deployment for the Django Girls tutorial.")
+ (license license:expat)))
+
(define-public python-pythondialog
(package
(name "python-pythondialog")
@@ -12580,20 +13246,21 @@ the standard library.")
(define-public python-texttable
(package
(name "python-texttable")
- (version "1.6.2")
+ (version "1.6.4")
(source
(origin
(method url-fetch)
(uri (pypi-uri "texttable" version))
(sha256
(base32
- "1x5l77akfc20x52jma9573qp8l8r07q103pm4l0pbizvh4vp1wzg"))))
+ "1sbn821394rix6xgj3zqk743pj6nqm1qz81zgis2bcpp2ng7pvj2"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda _ (invoke "pytest" "tests.py"))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests? (invoke "pytest" "-vv" "tests.py")))))))
(native-inputs
(list python-pytest))
(home-page "https://github.com/foutaise/texttable/")
@@ -12928,30 +13595,33 @@ with a new public API, and RPython support.")
(define-public python-hy
(package
(name "python-hy")
- (version "0.18.0")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "hy" version))
- (sha256
- (base32
- "04dfwm336gw61fmgwikvh0cnxk682p19b4w555wl5d7mlym4rwj2"))))
+ (version "0.20.0")
+ (source
+ (origin
+ (method git-fetch) ; no tests in PyPI release
+ (uri (git-reference
+ (url "https://github.com/hylang/hy")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1g7djra9z7b0wyqyfrk2n4z3zamp2xkahv00jwdv35xmwwn09hq4"))))
(build-system python-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
- (add-before 'install 'set-HOME
- (lambda _
- (setenv "HOME" "/tmp") #t))
(replace 'check
- (lambda _
- ;; Tests require write access to HOME.
- (setenv "HOME" "/tmp")
- (invoke "nosetests"))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "-m" "pytest" "-k"
+ (string-append ; skip some failed tests
+ "not test_bin_hy_sys_executable"
+ " and not test_bin_hy_circular_macro_require"
+ " and not test_macro_from_module"))))))))
(native-inputs
- (list python-coverage python-nose))
+ (list python-pytest))
(propagated-inputs
- (list python-astor python-colorama python-rply python-funcparserlib))
- (home-page "http://hylang.org/")
+ (list python-astor python-colorama python-funcparserlib python-rply))
+ (home-page "https://docs.hylang.org/en/stable/")
(synopsis "Lisp frontend to Python")
(description
"Hy is a dialect of Lisp that's embedded in Python. Since Hy transforms
@@ -13660,10 +14330,15 @@ in pure Python.")
(lambda* (#:key inputs #:allow-other-keys)
(let ((libxdo (string-append
(assoc-ref inputs "xdotool")
- "/lib/libxdo.so")))
+ "/lib/libxdo.so"))
+ (libc (string-append
+ (assoc-ref inputs "libc")
+ "/lib/libc.so.6")))
(substitute* "xdo/_xdo.py"
(("find_library\\(\"xdo\"\\)")
- (simple-format #f "\"~a\"" libxdo)))
+ (simple-format #f "\"~a\"" libxdo))
+ (("ctypes\\.util\\.find_library\\('libc'\\)")
+ (simple-format #f "\"~a\"" libc)))
#t))))
#:tests? #f)) ; no tests provided
(propagated-inputs
@@ -13855,38 +14530,25 @@ and provides a uniform API regardless of which JSON implementation is used.")
(define-public python-amqp
(package
(name "python-amqp")
- (version "2.3.2")
+ (version "5.0.7")
(source
(origin
(method url-fetch)
(uri (pypi-uri "amqp" version))
(sha256
- (base32
- "1sv600dgqwpimr6i1g59y9hpn50mc236gdqkr7zin13kvlpx0g87"))))
+ (base32 "0p9alyinl24z699w4gpd8wvn90sm2il1p0gfwdhbpinksy7vfmyp"))))
(build-system python-build-system)
- (native-inputs
- (list python-case python-pytest-sugar python-mock))
+ (arguments
+ `(#:tests? #f)) ; not compatible with pytest>=6 as of 5.0.7
(propagated-inputs
(list python-vine))
(home-page "https://github.com/celery/py-amqp")
- (synopsis
- "Low-level AMQP client for Python (fork of amqplib)")
+ (synopsis "Low-level AMQP client for Python (fork of amqplib)")
(description
"This is a fork of amqplib which was originally written by Barry Pederson.
It is maintained by the Celery project, and used by kombu as a pure python
alternative when librabbitmq is not available.")
- (license license:lgpl2.1+)
- (properties `((python2-variant . ,(delay python2-amqp))))))
-
-(define-public python2-amqp
- (let ((amqp (package-with-python2
- (strip-python2-variant python-amqp))))
- (package/inherit amqp
- (arguments `(;; Tries to run coverage tests with nose-cover3, which seems
- ;; unmaintained. Weirdly, does not do this on the python 3
- ;; version?
- #:tests? #f
- ,@(package-arguments amqp))))))
+ (license license:lgpl2.1+)))
(define-public python-txamqp
(package
@@ -13916,20 +14578,25 @@ applications.")
(define-public python-kombu
(package
(name "python-kombu")
- (version "4.2.2")
+ (version "5.2.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "kombu" version))
(sha256
- (base32
- "15k8f7mzqr049sg9vi48m19vjykviafk3f0p5xzgw9by0x0kyxjj"))))
+ (base32 "0256915q3z4pjrkqxw16a31np3p25dxnk1mq2zv0hs4izdihfp8g"))))
(build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'delete-transport-tests
+ (lambda _ ; this tests message passing to many different databases
+ (delete-file-recursively "t/unit/transport"))))))
(native-inputs
- (list python-mock python-case python-pyro4 python-pytest-sugar
+ (list python-case python-mock python-pyro4 python-pytest-sugar
python-pytz))
(propagated-inputs
- (list python-anyjson python-amqp python-redis))
+ (list python-amqp python-cached-property python-vine))
(home-page "https://kombu.readthedocs.io")
(synopsis "Message passing library for Python")
(description "The aim of Kombu is to make messaging in Python as easy as
@@ -13938,81 +14605,89 @@ and also provide proven and tested solutions to common messaging problems.
AMQP is the Advanced Message Queuing Protocol, an open standard protocol for
message orientation, queuing, routing, reliability and security, for which the
RabbitMQ messaging server is the most popular implementation.")
- (license license:bsd-3)
- (properties `((python2-variant . ,(delay python2-kombu))))))
-
-(define-public python2-kombu
- (let ((kombu (package-with-python2
- (strip-python2-variant python-kombu))))
- (package/inherit kombu
- (arguments `(;; FIXME: 'TestTransport.test_del_sync' fails on python2.
- ;; It works fine on the python3 variant.
- #:tests? #f
- ,@(package-arguments kombu)))
- (native-inputs `(("python2-unittest2" ,python2-unittest2)
- ,@(package-native-inputs kombu))))))
+ (license license:bsd-3)))
(define-public python-billiard
(package
(name "python-billiard")
- (version "3.5.0.5")
+ (version "3.6.4.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "billiard" version))
(sha256
- (base32
- "03msmapj3s5zgqk87d646mafz7a01h5bm2wijalgpi0s80ks5na2"))))
+ (base32 "0ismj2p8c66ykpss94rs0bfra5agxxmljz8r3gaq79r8valfb799"))))
(build-system python-build-system)
- (native-inputs
- (list python-case python-pytest))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'remove-win-files
+ (lambda _
+ (for-each delete-file-recursively
+ ;; test_multiprocessing seem to be written in Python2.
+ '("t/integration/tests/test_multiprocessing.py"
+ "t/unit/test_win32.py"
+ "billiard/popen_spawn_win32.py"
+ "billiard/_win.py")))))))
+ (native-inputs
+ (list python-case python-psutil python-pytest))
(home-page "https://github.com/celery/billiard")
- (synopsis
- "Python multiprocessing fork with improvements and bugfixes")
+ (synopsis "Python multiprocessing fork with improvements and bugfixes")
(description
"Billiard is a fork of the Python 2.7 multiprocessing package. The
multiprocessing package itself is a renamed and updated version of R Oudkerk's
pyprocessing package. This standalone variant is intended to be compatible with
Python 2.4 and 2.5, and will draw its fixes/improvements from python-trunk.")
- (license license:bsd-3)
- (properties `((python2-variant . ,(delay python2-billiard))))))
-
-(define-public python2-billiard
- (let ((billiard (package-with-python2
- (strip-python2-variant python-billiard))))
- (package/inherit billiard
- (native-inputs `(("python2-unittest2" ,python2-unittest2)
- ("python2-mock" ,python2-mock)
- ,@(package-native-inputs billiard))))))
+ (license license:bsd-3)))
(define-public python-celery
(package
(name "python-celery")
- (version "4.2.1")
+ (version "5.1.2") ;newer versions require python-click>=8
(source
(origin
(method url-fetch)
(uri (pypi-uri "celery" version))
(sha256
- (base32
- "0y66rz7z8dfcgs3s0qxmdddlaq57bzbgxgfz896nbp14grkv9nkp"))))
+ (base32 "1c6lw31i3v81fyj4yn37lbvv70xdgb389iccirzyjr992vlkv6ld"))))
(build-system python-build-system)
(arguments
- '(;; TODO The tests fail with Python 3.7
- ;; https://github.com/celery/celery/issues/4849
- #:tests? #f
+ '(#:tests? #f
#:phases
(modify-phases %standard-phases
- (add-after 'unpack 'patch-requirements
+ (add-after 'unpack 'delete-integration-tests
(lambda _
- (substitute* "requirements/test.txt"
- (("pytest>=3\\.0,<3\\.3")
- "pytest>=3.0"))
- #t)))))
+ (delete-file-recursively "t/integration"))) ;hangs tests
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "-m" "pytest" "t" "-k"
+ (string-append ; AssertionErrors
+ "not test_check_privileges_no_fchown"
+ " and not test_all_reqs_enabled_in_tests"))))))))
(native-inputs
- (list python-case python-pytest))
+ (list python-case
+ python-flaky
+ python-iniconfig
+ python-moto
+ python-msgpack
+ python-pytest
+ python-pytest-celery
+ python-pytest-subtests
+ python-pytest-timeout
+ python-toml))
(propagated-inputs
- (list python-pytz python-billiard python-kombu))
+ (list python-billiard
+ python-boto3
+ python-click
+ python-click-didyoumean
+ python-click-plugins
+ python-click-repl
+ python-cryptography
+ python-kombu
+ python-pytz
+ python-vine))
(home-page "https://celeryproject.org")
(synopsis "Distributed Task Queue")
(description "Celery is an asynchronous task queue/job queue based on
@@ -14021,16 +14696,7 @@ supports scheduling as well. The execution units, called tasks, are executed
concurrently on a single or more worker servers using multiprocessing,
Eventlet, or gevent. Tasks can execute asynchronously (in the background) or
synchronously (wait until ready).")
- (license license:bsd-3)
- (properties `((python2-variant . ,(delay python2-celery))))))
-
-(define-public python2-celery
- (let ((celery (package-with-python2
- (strip-python2-variant python-celery))))
- (package/inherit celery
- (native-inputs `(("python2-unittest2" ,python2-unittest2)
- ("python2-mock" ,python2-mock)
- ,@(package-native-inputs celery))))))
+ (license license:bsd-3)))
(define-public python-translitcodec
(package
@@ -14062,13 +14728,13 @@ ISO 8859, etc.).")
(define-public python-anyqt
(package
(name "python-anyqt")
- (version "0.0.11")
+ (version "0.0.13")
(source
(origin
(method url-fetch)
(uri (pypi-uri "AnyQt" version))
(sha256
- (base32 "0gl2czirzjvhbq963i2awxp8kwbc1grh67lpcwfipyn9w3kdwdj4"))))
+ (base32 "0z7myf0mp1qx4gza6ncqyq9whk67vblmh9n3klk19dv4aakjml2f"))))
(build-system python-build-system)
(arguments
`(#:tests? #f ;there are no tests
@@ -14078,8 +14744,7 @@ ISO 8859, etc.).")
;; Delete files related to other operating systems.
(lambda _
(delete-file "AnyQt/QtMacExtras.py")
- (delete-file "AnyQt/QtWinExtras.py")
- #t)))))
+ (delete-file "AnyQt/QtWinExtras.py"))))))
(home-page "https://github.com/ales-erjavec/anyqt")
(synopsis "PyQt4/PyQt5 compatibility layer")
(description "AnyQt is a PyQt4/PyQt5 compatibility layer.")
@@ -14140,7 +14805,7 @@ applications.")
(define-public python-qasync
(package
(name "python-qasync")
- (version "0.15.0")
+ (version "0.22.0")
(source
(origin
;; There are no tests in the PyPI tarball.
@@ -14150,7 +14815,7 @@ applications.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0va9h6v102d7mxz608banjc0l0v02dq3ywhr5i4nqaxx3qkazc2l"))))
+ (base32 "1q9cllrwf94whr0f6mipa0hdq1rcyqvklwx19g35g2dav8f3xkjl"))))
(build-system python-build-system)
(arguments
`(#:test-target "pytest"
@@ -14158,8 +14823,7 @@ applications.")
(modify-phases %standard-phases
(add-before 'check 'set-qpa
(lambda _
- (setenv "QT_QPA_PLATFORM" "offscreen")
- #t)))))
+ (setenv "QT_QPA_PLATFORM" "offscreen"))))))
(native-inputs
(list python-pytest python-pytest-runner))
(propagated-inputs
@@ -14502,13 +15166,7 @@ module, adding support for Unicode strings.")
#t))
(replace 'check
(lambda _
- (invoke "make" "test")))
- (add-before 'reset-gzip-timestamps 'make-files-writable
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (for-each make-file-writable
- (find-files out "\\.gz$"))
- #t))))))
+ (invoke "make" "test"))))))
(propagated-inputs
(list python-chardet python-cryptography python-sortedcontainers))
(native-inputs
@@ -14780,7 +15438,24 @@ development version of CPython that are not available in older releases.")
;; Many tests connect to the network or are otherwise flawed.
;; https://github.com/PythonCharmers/python-future/issues/210
(arguments
- `(#:tests? #f))
+ `(#:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'sanity-check
+ (let ((sanity-check (assoc-ref %standard-phases 'sanity-check)))
+ (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
+ (let* ((files (find-files (site-packages inputs outputs)
+ "top_level\\.txt"))
+ (backups (map (lambda (f) (string-append f ".bak"))
+ files)))
+ (for-each copy-file files backups)
+ (substitute* files
+ ;; Nobody be usin' winreg on Guix
+ ;; Also, don't force users to have tkinter when they don't
+ ;; need it
+ (("(winreg|tkinter)") ""))
+ (apply sanity-check args)
+ (for-each rename-file backups files))))))))
(home-page "https://python-future.org")
(synopsis "Single-source support for Python 3 and 2")
(description
@@ -15042,13 +15717,13 @@ graphviz.")
(define-public python-gevent
(package
(name "python-gevent")
- (version "21.1.2")
+ (version "21.12.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "gevent" version))
(sha256
(base32
- "10f9y899y9nmq51pv4r1zb51b4w5yxx00sz5whvg9vm956hc432j"))
+ "0kh9mmq811mzfgj60n64icybjp4ryjmfmy1vg7x92yrniibn92zl"))
(modules '((guix build utils)))
(snippet
'(begin
@@ -15139,14 +15814,10 @@ graphviz.")
(invoke "python" "-m" "gevent.tests" "-unone" "--config"
"known_failures.py" "--ignore" "skipped_tests.txt"))))))
(propagated-inputs
- `(("python-greenlet" ,python-greenlet)
- ("python-objgraph" ,python-objgraph)
- ("python-zope.event" ,python-zope-event)
- ("python-zope.interface" ,python-zope-interface)))
+ (list python-greenlet python-zope-event python-zope-interface))
(native-inputs
- (list python-six
- ;; For tests.
- python-dnspython python-psutil))
+ ;; For tests.
+ (list python-dnspython python-psutil python-objgraph))
(inputs
(list c-ares libev))
(home-page "https://www.gevent.org/")
@@ -15301,14 +15972,14 @@ data in Python.")
(define-public python-kazoo
(package
(name "python-kazoo")
- (version "2.4.0")
+ (version "2.8.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "kazoo" version))
(sha256
(base32
- "16y213k7r8shyn2zw1k6lkzjgcrvm441pqv8scvcjixhvpbx3hm7"))))
+ "1zpj5cc8624w6i0pxgcxqkjwbkm4pkrv19d7wh5df3jais32g3jq"))))
(build-system python-build-system)
(arguments '(#:tests? #f)) ; XXX: needs zookeeper
(propagated-inputs
@@ -15646,36 +16317,35 @@ database, file, dict stores. Cachy supports python versions 2.7+ and 3.2+.")
(define-public poetry
(package
(name "poetry")
- (version "1.1.11")
- ;; Poetry can only be built from source with Poetry.
+ (version "1.1.12")
(source
(origin
(method url-fetch)
(uri (pypi-uri "poetry" version))
(sha256
(base32
- "17pnf2j4adlm9fhyg5jkkvs8bzcigb6nj72vr0687fxybzsj4zbx"))))
+ "0rr54mvcfcv9cv6vw2122y28xvd2pwqpv2x8c8j5ayz3gwsy4rjw"))))
(build-system python-build-system)
(arguments
- `(#:tests? #f ;; Pypi does not have tests.
+ `(#:tests? #f ;PyPI does not have tests
#:phases
(modify-phases %standard-phases
(add-before 'build 'patch-setup-py
(lambda _
(substitute* "setup.py"
- ;; Allow newer versions of python-keyring.
+ ;; Relax some of the requirements.
(("(keyring>=21.2.0),<22.0.0" _ keyring) keyring)
- ;; TODO: remove after the next release cycle,
- ;; when packaging has been updated.
- (("packaging>=20.4,<21.0") "packaging>=20.0,<21.0"))
- #t)))))
+ (("(packaging>=20.4),<21.0" _ packaging) packaging)))))))
(propagated-inputs
(list python-cachecontrol
python-cachy
python-cleo
- python-clikit
+ python-crashtest
+ python-entrypoints
python-html5lib
python-keyring
+ ; Use of deprecated version of msgpack reported upstream:
+ ; https://github.com/python-poetry/poetry/issues/3607
python-msgpack-transitional
python-packaging
python-pexpect
@@ -15683,7 +16353,7 @@ database, file, dict stores. Cachy supports python versions 2.7+ and 3.2+.")
python-pkginfo
python-poetry-core
python-requests
- python-requests-toolbelt-0.9.1
+ python-requests-toolbelt
python-shellingham
python-tomlkit
python-virtualenv))
@@ -16592,9 +17262,6 @@ multitouch applications.")
(base32 "153x2clrnigs74jdgnn3qmljdjj4gprmvpdvh49i18ls4m8mbm5y"))))
(propagated-inputs (list python-six))))
-(define-public python2-nltk
- (package-with-python2 python-nltk))
-
(define-public python-pymongo
(package
(name "python-pymongo")
@@ -16613,9 +17280,6 @@ multitouch applications.")
(description "Python driver for MongoDB.")
(license license:asl2.0)))
-(define-public python2-pymongo
- (package-with-python2 python-pymongo))
-
(define-public python-consul
(package
(name "python-consul")
@@ -17344,7 +18008,7 @@ multitouch applications.")
(define-public python-dulwich
(package
(name "python-dulwich")
- (version "0.19.16")
+ (version "0.20.30")
(source
(origin
(method url-fetch)
@@ -17353,29 +18017,24 @@ multitouch applications.")
(pypi-uri "dulwich" version)))
(sha256
(base32
- "0l589jl0lxx59yq0p6vmgw0q0hmfh48iqwyy0x6g1dmz93262igp"))))
+ "0hafaff30bmkj30b8pwpwsy3fz5h6c1pn98ihqcvl5zndflr1h22"))))
(build-system python-build-system)
(arguments
- `(#:phases
+ '(#:phases
(modify-phases %standard-phases
(add-before 'check 'fix-tests
(lambda* (#:key inputs #:allow-other-keys)
- ;; The tests use Popen with a custom environment which doesn't
- ;; include PATH.
- (substitute* "dulwich/tests/compat/utils.py"
- (("'git'") (string-append "'"
- (which "git")
- "'")))
(substitute* '("dulwich/tests/test_repository.py"
+ "dulwich/tests/test_porcelain.py"
"dulwich/tests/test_hooks.py")
- (("#!/bin/sh") (string-append "#!" (which "sh"))))
+ (("/bin/sh") (search-input-file inputs "/bin/sh")))
(setenv "TEST_RUNNER" "unittest")
- (setenv "PYTHONHASHSEED" "random")
- #t)))))
+ (setenv "PYTHONHASHSEED" "random"))))))
(propagated-inputs
(list python-fastimport python-urllib3))
(native-inputs
- (list python-mock python-geventhttpclient git))
+ (list python-mock python-geventhttpclient python-gpg
+ git gnupg))
(home-page "https://www.dulwich.io/")
(synopsis "Git implementation in Python")
(description "Dulwich is an implementation of the Git file formats and
@@ -17952,7 +18611,7 @@ multitouch applications.")
(define-public python-astroid
(package
(name "python-astroid")
- (version "2.6.6")
+ (version "2.9.0")
(source
(origin
(method git-fetch)
@@ -17961,12 +18620,12 @@ multitouch applications.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1amzf996inwmh4r3mlpzmch60xs6lrg86vppfnwl1y0l8r0y7zxh"))))
+ (base32 "19iiys4233cicpm48fd7lrkm31kk47qiv44wvk952rqbcn4rd2dh"))))
(build-system python-build-system)
(propagated-inputs
(list python-lazy-object-proxy python-wrapt))
(native-inputs
- (list python-pytest python-pytest-runner))
+ (list python-pytest python-pytest-runner python-typing-extensions))
(home-page "https://github.com/PyCQA/astroid")
(synopsis "Common base representation of python source code for pylint and
other projects")
@@ -17979,43 +18638,7 @@ multitouch applications.")
additional methods and attributes for different usages. They include some
support for static inference and local name scopes. Furthermore, astroid
builds partial trees by inspecting living objects.")
- (license license:lgpl2.1+)
- (properties `((python2-variant . ,(delay python2-astroid))))))
-
-(define-public python2-astroid
- (let ((base (package-with-python2
- (strip-python2-variant python-astroid))))
- (package (inherit base)
- ;; Version 2.x removes python2 support.
- (version "1.6.5")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "astroid" version))
- (sha256
- (base32
- "0fir4b67sm7shcacah9n61pvq313m523jb4q80sycrh3p8nmi6zw"))))
- (arguments
- `(#:python ,python-2
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'remove-spurious-test
- (lambda _
- ;; https://github.com/PyCQA/astroid/issues/276
- (delete-file "astroid/tests/unittest_brain.py")))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "python" "-m" "unittest" "discover"
- "-p" "unittest*.py")))))))
- (native-inputs `())
- (propagated-inputs
- (list python2-backports-functools-lru-cache
- python2-enum34
- python2-lazy-object-proxy
- python2-singledispatch
- python2-six
- python2-wrapt)))))
+ (license license:lgpl2.1+)))
(define-public python-isbnlib
(package
@@ -18041,7 +18664,7 @@ multitouch applications.")
(define-public python-isort
(package
(name "python-isort")
- (version "5.7.0")
+ (version "5.10.1")
(source
(origin
(method git-fetch)
@@ -18054,11 +18677,17 @@ multitouch applications.")
(snippet '(for-each delete-file (find-files "." "\\.whl$")))
(sha256
(base32
- "0phq4s911mjjdyr5h5siz93jnpkqb2qgphgcfk6axncgxr8i7vi1"))))
+ "09spgl2k9xrprr5gbpfc91a8p7mx7a0c64ydgc91b3jhrmnd9jg1"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'loosen-requirements
+ (lambda _
+ ;; Permit newer versions of black.
+ (substitute* "example_isort_formatting_plugin/pyproject.toml"
+ (("\\^20\\.08b1")
+ ">= 20.08b1"))))
;; A foretaste of what our future python-build-system will need to
;; do.
(replace 'build
@@ -18075,6 +18704,7 @@ multitouch applications.")
(let ((out (assoc-ref outputs "out")))
;; Patch to use the core poetry API.
(substitute* '("example_isort_formatting_plugin/pyproject.toml"
+ "example_isort_sorting_plugin/pyproject.toml"
"example_shared_isort_profile/pyproject.toml")
(("poetry>=0.12")
"poetry-core>=1.0.0")
@@ -18086,6 +18716,7 @@ multitouch applications.")
"--no-isolation" "--outdir=dist"
source-directory))
'("example_isort_formatting_plugin"
+ "example_isort_sorting_plugin"
"example_shared_isort_profile"))
;; Install them to temporary storage, for the test.
(setenv "HOME" (getcwd))
@@ -18099,18 +18730,19 @@ multitouch applications.")
(setenv "PATH" (string-append (getenv "PATH") ":" bin)))
(add-installed-pythonpath inputs outputs)
(invoke "pytest" "-vv" "tests/unit/"
+ "-k" "not test_gitignore" ;requires git
"--ignore=tests/unit/test_deprecated_finders.py")))))))
(native-inputs
- `(("git" ,git-minimal)
- ("python-black" ,python-black)
- ("python-colorama" ,python-colorama)
- ("python-hypothesmith" ,python-hypothesmith)
- ("python-libcst" ,python-libcst-minimal)
- ("python-poetry-core" ,python-poetry-core)
- ("python-pylama" ,python-pylama)
- ("python-pypa-build" ,python-pypa-build)
- ("python-pytest-mock" ,python-pytest-mock)
- ("python-pytest" ,python-pytest)))
+ (list python-black
+ python-colorama
+ python-hypothesmith
+ python-libcst-minimal
+ python-natsort
+ python-poetry-core
+ python-pylama
+ python-pypa-build
+ python-pytest-mock
+ python-pytest))
(home-page "https://github.com/PyCQA/isort")
(synopsis "Python utility/library to sort python imports")
(description "@code{python-isort} is a python utility/library to sort
@@ -18556,6 +19188,19 @@ multitouch applications.")
(define-public python2-packaging
(package-with-python2 python-packaging))
+;; TODO(staging): merge with python-packaging-bootstrap.
+(define-public python-packaging-next
+ (package
+ (inherit python-packaging)
+ (version "21.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "packaging" version))
+ (sha256
+ (base32
+ "1sygirdrqgv4f1ckh9nhpcw1yfidrh3qjl86wq8vk6nq4wlw8iyx"))))))
+
(define-public python-relatorio
(package
(name "python-relatorio")
@@ -18936,7 +19581,7 @@ multitouch applications.")
"1vi2fj31vygfcqrkimdmk52q2ldw08g9fn4v4zlgdfgcjlhqyhxn"))))
(build-system python-build-system)
(propagated-inputs
- (list python-dateutil python-lxml python-networkx python-rdflib))
+ (list python-dateutil python-lxml python-networkx python-rdflib-5))
(native-inputs
(list graphviz python-pydot))
(home-page "https://github.com/trungdong/prov")
@@ -19018,13 +19663,13 @@ multitouch applications.")
(define-public python-validators
(package
(name "python-validators")
- (version "0.14.2")
+ (version "0.18.2")
(source (origin
(method url-fetch)
(uri (pypi-uri "validators" version))
(sha256
(base32
- "024m15j33szd0v8k5l4ccish6n0b4knq81gmb4fq25ynwyyyd4mi"))))
+ "19lypf7hm7p203ay3v8zmckc5rv6889zkfdm16nki1972f99mk9p"))))
(build-system python-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
@@ -19117,17 +19762,6 @@ multitouch applications.")
complex datatypes to and from native Python datatypes.")
(license license:expat)))
-(define-public python-marshmallow-3.2
- (package
- (inherit python-marshmallow)
- (version "3.2.1")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "marshmallow" version))
- (sha256
- (base32 "1w18klwj0z9bqxj252qpj1hz8l46nl27sbc89rkajc7mln73wbws"))))))
-
(define-public python-marshmallow-jsonapi
(package
(name "python-marshmallow-jsonapi")
@@ -19140,7 +19774,7 @@ multitouch applications.")
(base32 "1d9pxcgmln4gls99vwj1h24qv0lz7fb2jqmqrsiv1pid1snc125x"))))
(build-system python-build-system)
(propagated-inputs
- (list python-marshmallow-3.2))
+ (list python-marshmallow))
(native-inputs
(list python-faker
python-flake8
@@ -19265,26 +19899,24 @@ multitouch applications.")
"1b28j265kvibgxrgxx0gwfm6cmv252c8ph1j2vb0cpms8ph5if5v"))))
(build-system python-build-system)
(arguments
- `(#:phases
+ '(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-ssh
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "libcloud/compute/ssh.py"
- (("'ssh'") (string-append "'" (assoc-ref inputs "openssh")
- "/bin/ssh" "'")))
- #t))
+ (("'ssh'")
+ (string-append "'" (search-input-file inputs "/bin/ssh")
+ "'")))))
(add-after 'unpack 'patch-tests
(lambda _
(substitute* "libcloud/test/compute/test_ssh_client.py"
- (("class ShellOutSSHClientTests")
+ (("^class ShellOutSSHClientTests")
"@unittest.skip(\"Guix container doesn't have ssh service\")
- class ShellOutSSHClientTests"))
- #t))
+class ShellOutSSHClientTests"))))
(add-before 'check 'copy-secret
(lambda _
(copy-file "libcloud/test/secrets.py-dist"
- "libcloud/test/secrets.py")
- #t)))))
+ "libcloud/test/secrets.py"))))))
(inputs
(list openssh))
(propagated-inputs
@@ -19535,14 +20167,14 @@ ignoring formatting changes.")
(define-public python-pydub
(package
(name "python-pydub")
- (version "0.24.1")
+ (version "0.25.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pydub" version))
(sha256
(base32
- "0sfwfq7yjv4bl3yqbmizszscafvwf4zr40hzbsy7rclvzyznh333"))))
+ "03ykn2kp6qglsrzqi5h79z5cp3kl9mknasv0d6jv5jj9k77362lq"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -19573,20 +20205,22 @@ ignoring formatting changes.")
(define-public python-tqdm
(package
(name "python-tqdm")
- (version "4.60.0")
+ (version "4.62.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "tqdm" version))
(sha256
(base32
- "1bjpy4mjg6ryp0ijvqi77vgs76l5hh3zrv3x4vmcwxrlbswvvppb"))))
+ "03cjj8jl8iybvfjbpvdql5qfslzfv043g7w6nx8rhv2h2xrdwnfk"))))
(build-system python-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
(replace 'check
(lambda _
- (invoke "pytest" "-vv" "-k" "not perf"))))))
+ (invoke "pytest" "-vv"
+ "-o" "asyncio_mode=auto"
+ "-k" "not perf"))))))
(native-inputs
(list python-pytest python-pytest-asyncio python-pytest-timeout
python-setuptools-scm python-toml))
@@ -19598,20 +20232,16 @@ iterable with @code{|tqdm(iterable)|}. Offers many options to define
design and layout.")
(license (list license:mpl2.0 license:expat))))
-(define-public python2-tqdm
- (package-with-python2 python-tqdm))
-
(define-public python-pkginfo
(package
(name "python-pkginfo")
- (version "1.7.0")
+ (version "1.8.2")
(source
- (origin
- (method url-fetch)
- (uri (pypi-uri "pkginfo" version))
- (sha256
- (base32
- "1d1xn1xmfvz0jr3pj8irdwnwby3r13g0r2gwklr1q5y68p5p16h2"))))
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pkginfo" version))
+ (sha256
+ (base32 "1zrbn2gblb1q1rx0jlbd0vc9h1dm1bj0760p40ff5qjhcw5hsbjl"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -19620,14 +20250,13 @@ design and layout.")
(lambda _
(substitute* "pkginfo/tests/test_installed.py"
(("test_ctor_w_package_no_PKG_INFO")
- "_test_ctor_w_package_no_PKG_INFO"))
- #t)))))
- (home-page
- "https://code.launchpad.net/~tseaver/pkginfo/trunk")
- (synopsis
- "Query metadatdata from sdists, bdists, and installed packages")
+ "_test_ctor_w_package_no_PKG_INFO")))))))
+ (native-inputs
+ (list python-wheel))
+ (home-page "https://code.launchpad.net/~tseaver/pkginfo/trunk")
+ (synopsis "Query metadatdata from sdists, bdists, and installed packages")
(description
- "API to query the distutils metadata written in @file{PKG-INFO} inside a
+ "API to query the distutils metadata written in @file{PKG-INFO} inside a
source distriubtion (an sdist) or a binary distribution (e.g., created by
running bdist_egg). It can also query the EGG-INFO directory of an installed
distribution, and the *.egg-info stored in a \"development checkout\" (e.g,
@@ -19663,9 +20292,6 @@ distributions. It authenticates the user over HTTPS, allows them to pre-sign
their files and supports any packaging format (including wheels).")
(license license:asl2.0)))
-(define-public python2-twine
- (package-with-python2 python-twine))
-
(define-public python-linecache2
(package
(name "python-linecache2")
@@ -19870,6 +20496,29 @@ belong to tagged versions.")
Git.")
(license license:bsd-3)))
+(define-public python-setuptools-rust
+ (package
+ (name "python-setuptools-rust")
+ (version "1.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "setuptools-rust" version))
+ (sha256
+ (base32 "1lb57qx1azklgzmalflq960agvwci4bwddw0zvlc9zy00fsvkbd0"))))
+ (build-system python-build-system)
+ (arguments '(#:tests? #f)) ;no tests
+ (native-inputs
+ (list python-setuptools-scm))
+ (propagated-inputs
+ (list python-semantic-version python-typing-extensions))
+ (home-page "https://github.com/PyO3/setuptools-rust")
+ (synopsis "Setuptools plugin for Rust extensions")
+ (description
+ "@code{setuptools-rust} is a plugin for @code{setuptools} to build
+Rust Python extensions implemented with @code{PyO3} or @code{rust-cpython}.")
+ (license license:expat)))
+
(define-public python-pyclipper
(package
(name "python-pyclipper")
@@ -20605,7 +21254,7 @@ Features:
"1yjvbz7rvrz31zjyax1cgy3xhf4wb3j18jwnj4bnl77ca4gliyiw"))))
(build-system python-build-system)
(home-page "https://github.com/asottile/tokenize-rt")
- (synopsis "Wrapper around the stdlib tokenize which roundtrips.")
+ (synopsis "Wrapper around the stdlib tokenize which roundtrips")
(description
"This Python library is a wrapper around @code{tokenize} from the Python
standard library. It provides two additional tokens @code{ESCAPED_NL} and
@@ -20639,7 +21288,7 @@ source bytes using the UTF-8 encoding and then rewrites Python 3.6 style
(define-public python-typed-ast
(package
(name "python-typed-ast")
- (version "1.4.2")
+ (version "1.5.1")
(source
(origin
(method git-fetch)
@@ -20647,7 +21296,7 @@ source bytes using the UTF-8 encoding and then rewrites Python 3.6 style
(url "https://github.com/python/typed_ast")
(commit version)))
(sha256
- (base32 "1wr6pkvvrq6rzjjw88pd5xy8fy06msam4hlxbkglvdmwh4c083l0"))
+ (base32 "1xfcs5246c8v5600aaa8zs7ii4sxb62q6r3sb2fgazyjx97wrxd9"))
(file-name (git-file-name name version))))
(build-system python-build-system)
(arguments
@@ -20724,17 +21373,49 @@ Python 3.6+ type hints.")
;; MIT license
(license license:expat)))
-(define-public python-typing
+(define-public python-typeguard
+ (package
+ (name "python-typeguard")
+ (version "2.13.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "typeguard" version))
+ (sha256
+ (base32 "1i5qzcyw2715h1g1hvj7fxykck2bkxyshpngjr3nfcx1lf6smv80"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv" "-k"
+ ;; XXX: These fail when installed as a library:
+ ;; https://github.com/agronholm/typeguard/issues/176
+ "not usefixtures and not test_cached_module")))))))
+ (native-inputs
+ (list python-mypy python-pytest python-typing-extensions))
+ (home-page "https://github.com/agronholm/typeguard")
+ (synopsis "Run-time type checker for Python")
+ (description
+ "@code{typeguard} provides run-time type checking for functions defined
+with PEP 484 argument (and return) type annotations.")
+ (license license:expat)))
+
+(define-public python2-typing
(package
- (name "python-typing")
- (version "3.7.4.3")
+ (name "python2-typing")
+ (version "3.10.0.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "typing" version))
(sha256
- (base32 "1j8wnz8c9s049w9xbf7ssr1dmgg4rz7vdfq7m880srzxhafgp1qi"))))
+ (base32 "0c5il4d68fd4qrm5k3dps70j0xz0n5krj6lhwn9vzpal3whsvd0k"))))
(build-system python-build-system)
+ (arguments (list #:python python-2))
(home-page "https://docs.python.org/3/library/typing.html")
(synopsis "Type hints for Python")
(description "This is a backport of the standard library @code{typing}
@@ -20745,23 +21426,44 @@ to also be used by static and runtime type checkers, static analyzers, IDEs
and other tools.")
(license license:psfl)))
-(define-public python2-typing
- (package-with-python2 python-typing))
-
(define-public python-typing-extensions
(package
(name "python-typing-extensions")
- (version "3.7.4.3")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "typing_extensions" version))
- (sha256
- (base32
- "0356ljrrplm917dqgpn8wjkw6j3mpp916gwxas7jhc3xc4xhgm4r"))))
+ (version "4.0.1")
+ (source (origin
+ ;; The test script is missing from the PyPI archive.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/python/typing")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0a35fh5wk9s538x0w3dz95y0avnhd2srzyv9s1a372711n8hdl4p"))))
(build-system python-build-system)
- (home-page
- "https://github.com/python/typing/blob/master/typing_extensions/README.rst")
+ (arguments
+ (list
+ #:tests? #f ;requires Python's test module, not available in Guix
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'enter-source-directory
+ (lambda _
+ (chdir "typing_extensions")))
+ ;; XXX: PEP 517 manual build copied from python-isort.
+ (replace 'build
+ (lambda _
+ (invoke "python" "-m" "build" "--wheel" "--no-isolation" ".")))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "src/test_typing_extensions.py"))))
+ (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-pypa-build python-flit-core))
+ (home-page "https://github.com/python/typing/typing_extensions")
(synopsis "Experimental type hints for Python")
(description
"The typing_extensions module contains additional @code{typing} hints not
@@ -21071,16 +21773,16 @@ generators and Python 3.7's context managers into Python 3.5.")
(define-public python-async-timeout
(package
(name "python-async-timeout")
- (version "3.0.1")
+ (version "4.0.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "async-timeout" version))
(sha256
(base32
- "0pscbyr840m7fyfc3r8zv9kgkwdcn9f78p7zsrczciwd09m82g0c"))))
+ "05bbjz16n1a7m1s3lmcwri2x5rc7hnh6f2hdr2lbflnv1mjf2qr1"))))
(build-system python-build-system)
- (home-page "https://github.com/aio-libs/async_timeout/")
+ (home-page "https://github.com/aio-libs/async-timeout")
(synopsis "Timeout context manager for asyncio programs")
(description "@code{async-timeout} provides a timeout timeout context
manager compatible with @code{asyncio}.")
@@ -22423,7 +23125,7 @@ consists of two components: dynamic task scheduling optimized for computation,
and large data collections like parallel arrays, dataframes, and lists that
extend common interfaces like NumPy, Pandas, or Python iterators to
larger-than-memory or distributed environments. These parallel collections
-run on top of the dynamic task schedulers. ")
+run on top of the dynamic task schedulers.")
(license license:bsd-3)))
(define-public python-ilinkedlist
@@ -23039,7 +23741,7 @@ access the system cron automatically and simply using a direct API.")
"074anvhyjgsv2iby2ql1ixfvjgmhnvcwjbdz8gk70xzkzcm1fx5q"))))
(build-system python-build-system)
(home-page "https://www.joachim-bauch.de/projects/pylzma/")
- (synopsis "Python bindings for the LZMA library by Igor Pavlov.")
+ (synopsis "Python bindings for the LZMA library by Igor Pavlov")
(description "This package provides Python bindings for the LZMA library
by Igor Pavlov.")
(license license:lgpl2.1+)))
@@ -23075,34 +23777,40 @@ enumeration library in Python.")
(define-public python-zeroconf
(package
(name "python-zeroconf")
- (version "0.28.8")
+ (version "0.38.1")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "zeroconf" version))
+ (method git-fetch) ; no tests in PyPI release
+ (uri (git-reference
+ (url "https://github.com/jstasiak/python-zeroconf")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "0narq8haa3b375vfblbyil77n8bw0wxqnanl91pl0wwwm884mqjb"))))
+ (base32 "1p1a0ywlg5sq0ilcphmz9h4kayscz0q1lyfk57j7mwxyx4gl9cpi"))))
(build-system python-build-system)
- (native-inputs
- (list python-nose))
- (propagated-inputs
- (list python-ifaddr))
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda _ ;; Networking isn't available for these tests.
- (invoke "nosetests" "-v"
- "--exclude" "test_integration_with_listener_ipv6"
- "--exclude" "test_launch_and_close_v6_only"
- "--exclude" "test_launch_and_close_v4_v6"
- "--exclude" "test_launch_and_close"))))))
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "-m" "pytest" "-k"
+ (string-append
+ ;; Networking isn't available for these tests.
+ "not test_integration_with_listener_ipv6"
+ " and not test_launch_and_close_v4_v6"
+ " and not test_launch_and_close_context_manager"
+ " and not test_launch_and_close"
+ " and not test_close_multiple_times"))))))))
+ (native-inputs
+ (list python-pytest))
+ (propagated-inputs
+ (list python-ifaddr))
(home-page "https://github.com/jstasiak/python-zeroconf")
(synopsis "Pure Python mDNS service discovery")
- (description
- "Pure Python multicast DNS (mDNS) service discovery library (Bonjour/Avahi
-compatible).")
+ (description "Pure Python multicast DNS (mDNS) service discovery library
+(Bonjour/Avahi compatible).")
(license license:lgpl2.1+)))
(define-public python2-zeroconf
@@ -23410,16 +24118,15 @@ existing Hunspell hyphenation dictionaries.")
(define-public python-intelhex
(package
(name "python-intelhex")
- (version "2.2.1")
+ (version "2.3.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "intelhex" version))
(sha256
(base32
- "0ckqjbxd8gwcg98gfzpn4vq1qxzfvq3rdbrr1hikj1nmw08qb780"))))
+ "14q04p6qs47ab9w55232ylrdn4wm9rswz36s6x999x0rlxhp6aw9"))))
(build-system python-build-system)
- (arguments '(#:tests? #f)) ;issue with version
(home-page "https://pypi.org/project/IntelHex/")
(synopsis "Python library for Intel HEX files manipulations")
(description "The Intel HEX file format is widely used in microprocessors
@@ -23457,17 +24164,23 @@ for YAML and JSON.")
(define-public python-dbusmock
(package
(name "python-dbusmock")
- (version "0.24.1")
+ (version "0.25.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "python-dbusmock" version))
(sha256
(base32
- "0kvjwn5sdp3rqcbclvxljkmk988l12dvppzfn3ldy3jxbyyn1mjn"))))
+ "1nwl0gzzds2g1w1gfxfzlgrkb5hr1rrdyn619ml25c6b1rjyfk3g"))))
(build-system python-build-system)
(arguments
- '(#:phases
+ `(#:imported-modules (,@%python-build-system-modules
+ (guix build syscalls))
+ #:modules ((guix build python-build-system)
+ (guix build syscalls)
+ (guix build utils)
+ (ice-9 match))
+ #:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-paths
(lambda* (#:key inputs #:allow-other-keys)
@@ -23476,11 +24189,26 @@ for YAML and JSON.")
(substitute* "dbusmock/testcase.py"
(("'dbus-daemon'")
(string-append "'" (assoc-ref inputs "dbus")
- "/bin/dbus-daemon'"))))))))
- (native-inputs
- (list ;; For tests.
- dbus ; for dbus-daemon
- python-nose which))
+ "/bin/dbus-daemon'")))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (match (primitive-fork)
+ (0 ;child process
+ (set-child-subreaper!)
+ ;; Use tini so that signals are properly handled and
+ ;; doubly-forked processes get reaped; otherwise,
+ ;; python-dbusmock would waste time polling for the dbus
+ ;; processes it spawns to be reaped, in vain.
+ (execlp "tini" "--" "pytest" "-vv"))
+ (pid
+ (match (waitpid pid)
+ ((_ . status)
+ (unless (zero? status)
+ (error "`pytest' exited with status"
+ status))))))))))))
+ (native-inputs
+ (list dbus python-pytest tini which))
(inputs
(list dbus))
(propagated-inputs
@@ -23806,92 +24534,52 @@ the syntactic logic to configure and launch jobs in an execution environment.")
(define-public python-flit
(package
(name "python-flit")
- (version "3.3.0")
- ;; We fetch the sources via git because on pypi the package is split into
- ;; two parts: flit and flit_core; flit_core cannot be built without flit.
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/takluyver/flit")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0mvyymw3zqsnip4x4ca6anr5rbx30hcmpqwrnhjwcm7s8mycd01x"))))
+ (version "3.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "flit" version))
+ (sha256
+ (base32 "04152qj46sqbnlrj7ch9p7svjrrlpzbk0qr39g2yr0s4f5vp6frf"))))
(build-system python-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-before 'build 'bootstrap
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((home (string-append (getcwd) "/home")))
- (mkdir-p home)
- (setenv "HOME" home))
- (for-each make-file-writable (find-files "."))
- (copy-recursively (assoc-ref inputs "python-testpath")
- (string-append (getcwd) "/testpath"))
- (substitute* "pyproject.toml"
- (("\"testpath\",") ""))
- (invoke "python" "bootstrap_dev.py")))
- (replace 'build
- (lambda _
- ;; A ZIP archive should be generated, but it fails with "ZIP does
- ;; not support timestamps before 1980". Luckily,
- ;; SOURCE_DATE_EPOCH is respected, which we set to some time in
- ;; 1980.
- (setenv "SOURCE_DATE_EPOCH" "315532800")
- (for-each (lambda (toml)
- (invoke "python3" "-m" "flit"
- "--debug" "--ini-file" toml
- "build"))
- '("testpath/pyproject.toml"
- "pyproject.toml"))
- (with-directory-excursion "flit_core"
- (invoke "python" "build_dists.py"))))
- (replace 'install
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (add-installed-pythonpath inputs outputs)
- (let ((out (assoc-ref outputs "out")))
- (delete-file-recursively "./home")
- (for-each (lambda (wheel)
- (format #true wheel)
- (invoke "python" "-m" "pip" "install"
- wheel (string-append "--prefix=" out)))
- (append
- (find-files "flit_core/dist" "\\.whl$")
- (find-files "dist" "\\.whl$")))))))
- #:tests? #f)) ; XXX: Check requires network access.
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; XXX: PEP 517 manual build copied from python-isort.
+ (replace 'build
+ (lambda _
+ (invoke "python" "-m" "build" "--wheel" "--no-isolation" ".")))
+ (replace 'check
+ (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+ (when tests?
+ (setenv "HOME" "/tmp")
+ (setenv "FLIT_NO_NETWORK" "1"))))
+ (replace 'install
+ (lambda _
+ (let ((whl (car (find-files "dist" "\\.whl$"))))
+ (invoke "pip" "--no-cache-dir" "--no-input"
+ "install" "--no-deps" "--prefix" #$output whl)))))))
(propagated-inputs
- (list python-pytoml python-toml))
+ (list python-pypa-build
+ python-tomli-w
+ python-flit-core
+ python-docutils
+ python-requests))
(native-inputs
- `(("python-docutils" ,python-docutils)
- ("python-responses" ,python-responses)
- ("python-pygments-github-lexers" ,python-pygments-github-lexers)
- ("python-pytest" ,python-pytest)
- ("python-pytest-cov" ,python-pytest-cov)
- ("python-sphinx" ,python-sphinx)
- ("python-sphinxcontrib-github-alt" ,python-sphinxcontrib-github-alt)
- ;; This package needs testpath, but testpath also needs flit...
- ("python-testpath"
- ,(let ((name "python-testpath")
- (version "0.4.4"))
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/jupyter/testpath")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1fwv4d3p54xx1x942s104irr35lszvv6jnr4nn1scsfvc0m1qmbk")))))))
+ (list python-responses
+ python-pygments-github-lexers
+ python-pytest
+ python-pytest-cov
+ python-sphinx
+ python-sphinxcontrib-github-alt
+ python-testpath))
(home-page "https://flit.readthedocs.io/")
- (synopsis
- "Simple packaging tool for simple packages")
- (description
- "Flit is a simple way to put Python packages and modules on PyPI. Flit
-packages a single importable module or package at a time, using the import
-name as the name on PyPI. All subpackages and data files within a package
-are included automatically.")
+ (synopsis "Simple packaging tool for simple packages")
+ (description "Flit is a simple way to put Python packages and modules on
+PyPI. Flit packages a single importable module or package at a time, using
+the import name as the name on PyPI. All subpackages and data files within a
+package are included automatically.")
(license license:bsd-3)))
(define-public python-pathtools
@@ -23938,25 +24626,17 @@ scripts to load entry points more quickly.")
(define-public python-funcparserlib
(package
(name "python-funcparserlib")
- (version "0.3.6")
+ (version "1.0.0a0") ; last stable release was in 2013
(source
(origin
(method url-fetch)
(uri (pypi-uri "funcparserlib" version))
(sha256
- (base32
- "07f9cgjr3h4j2m67fhwapn8fja87vazl58zsj4yppf9y3an2x6dp"))))
- (native-inputs
- (list python-tox))
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda _
- (invoke "tox"))))))
+ (base32 "0ama5w5lswxlp3l4qfqq3zlg7i6qkw45jfl1f7p8w1vnj8m47yz6"))))
(build-system python-build-system)
- (home-page
- "https://github.com/vlasovskikh/funcparserlib")
+ (arguments
+ `(#:tests? #f)) ; no tests in PyPI and no setup.py in GitHub
+ (home-page "https://github.com/vlasovskikh/funcparserlib")
(synopsis
"Recursive descent parsing library based on functional combinators")
(description
@@ -24165,25 +24845,26 @@ files. These files are used to translate strings in android apps.")
(define-public python-watchdog
(package
(name "python-watchdog")
- (version "0.9.0")
+ (version "2.1.6")
(source
- (origin
- (method url-fetch)
- (uri (pypi-uri "watchdog" version))
- (sha256
- (base32
- "07cnvvlpif7a6cg4rav39zq8fxa5pfqawchr46433pij0y6napwn"))))
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "watchdog" version))
+ (sha256
+ (base32 "1rx2nyl0cyj0v4ja795cl3gi26577c5wg48syr3byz3ndkgpavm3"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
- (add-before 'check 'remove-failing
- (lambda _
- (delete-file "tests/test_inotify_buffer.py")
- (delete-file "tests/test_snapshot_diff.py")
- #t)))))
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "-m" "pytest" "-k"
+ ;; This test failed.
+ "not test_kill_auto_restart")))))))
(propagated-inputs
- (list python-argh python-pathtools python-pyyaml))
+ (list python-pathtools python-pyyaml))
(native-inputs
(list python-pytest-cov python-pytest-timeout))
(home-page "https://github.com/gorakhargosh/watchdog")
@@ -24214,7 +24895,8 @@ but portable.")
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
- (invoke "pytest" "-vv")))))))
+ (invoke "pytest" "-vv"
+ "-o" "asyncio_mode=auto")))))))
(native-inputs
(list python-coverage
python-pygments
@@ -24471,14 +25153,14 @@ content models.")
(define-public python-xattr
(package
(name "python-xattr")
- (version "0.9.7")
+ (version "0.9.9")
(source
(origin
(method url-fetch)
(uri (pypi-uri "xattr" version))
(sha256
(base32
- "0i4xyiqbhjz2g16zbim17zjdbjkw79xsw8k59942vvq4is1cmfxh"))))
+ "0ipkfblyvp5hylahjkw9zss1ii9xnwjypr3b3ncv989szcg7xjq9"))))
(build-system python-build-system)
(propagated-inputs
(list python-cffi))
@@ -24537,14 +25219,14 @@ logging in Python. It also provides some custom formatters and handlers.")
(define-public python-pifpaf
(package
(name "python-pifpaf")
- (version "2.5.0")
+ (version "3.1.5")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pifpaf" version))
(sha256
(base32
- "1gy9p4nqf70fh38wn4icyfm7i9wrvx22wnjpg71g89wxbz27igaa"))))
+ "19bdmxldc2m570isl7hbqgbb20si4sin7pi5fw8sv9py8dyv2s4n"))))
(build-system python-build-system)
(arguments
'(#:phases
@@ -24560,7 +25242,6 @@ logging in Python. It also provides some custom formatters and handlers.")
python-jinja2
python-pbr
python-psutil
- python-six
python-xattr))
(native-inputs
(list python-mock python-os-testr python-requests
@@ -25105,27 +25786,20 @@ cryptographically signed ones).")
(define-public python-dictdiffer
(package
(name "python-dictdiffer")
- (version "0.8.1")
+ (version "0.9.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "dictdiffer" version))
(sha256
(base32
- "1lk3qmy1hkaphk4n7ayfk0wl6m2yvd6r7qkam6yncqfzgkbc1phs"))))
+ "0y3mk74qm2q9hsm37892i1wzn8bbdrvbs4nmnvqwq4z6pxgwzfhp"))))
(build-system python-build-system)
+ (arguments
+ ;; XXX: The PyPI tarball lacks tests and the git repository
+ ;; fails to determine version.
+ '(#:tests? #f))
(native-inputs
- (list python-check-manifest
- python-coverage
- python-isort
- python-mock
- python-pydocstyle
- python-pytest-cache
- python-pytest-cov
- python-pytest-pep8
- python-pytest-runner
- python-pytest
- python-setuptools-scm
- python-tox))
+ (list python-pytest-runner python-setuptools-scm))
(home-page "https://github.com/inveniosoftware/dictdiffer")
(synopsis "Diff and patch Python dictionary objects")
(description
@@ -25136,13 +25810,17 @@ dictionaries.")
(define-public pyzo
(package
(name "pyzo")
- (version "4.11.7")
+ (version "4.12.0")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "pyzo" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pyzo/pyzo.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "1qa007nw464r7jw8y8fqf17jx473q55p5ay5bh8kq55v0zyi27yn"))))
+ (base32
+ "0ndiplnz2d5qc6ppjhfwl4zswn79q6732s4vlkaw8xwc3kjrql5b"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -25214,34 +25892,35 @@ intended for validating data coming into Python as JSON, YAML, etc.")
(define-public python-cmd2
(package
(name "python-cmd2")
- (version "1.0.2")
+ (version "2.3.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "cmd2" version))
(sha256
(base32
- "1f18plbc9yyvhn0js3d2bii9yld8zfl775gxsaw9jza5pmlg9ss2"))))
+ "0h1naik558qh48gx2iyy0a0khvw5fz0in69y84mbrhsm9nq7w3bm"))))
(build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (if tests?
+ (invoke "pytest" "-vv" "-k"
+ ;; These tests fail because no EDITOR is in PATH.
+ "not test_find_editor_not_specified \
+and not test_transcript")
+ (format #t "test suite not run~%")))))))
(propagated-inputs
(list python-attrs python-colorama python-pyperclip python-wcwidth))
(native-inputs
- (list python-codecov
- python-coverage
- python-doc8
- python-flake8
- python-invoke
+ (list python-invoke
python-mock
python-pytest
python-pytest-cov
python-pytest-mock
- python-setuptools-scm
- python-sphinx
- python-sphinx-autobuild
- python-sphinx-rtd-theme
- python-tox
- python-twine
- which))
+ python-setuptools-scm))
(home-page "https://github.com/python-cmd2/cmd2")
(synopsis "Tool for building interactive command line applications")
(description
@@ -25423,17 +26102,31 @@ positioning, and keyboard input.")
(define-public python-readme-renderer
(package
(name "python-readme-renderer")
- (version "26.0")
+ (version "32.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "readme_renderer" version))
(sha256
(base32
- "13fnrv7z3y0yfafzcjbl55cqxncvbxadr72ql4l29pgyvrqxpsfb"))))
+ "11av194kgq6mvp2afpapkb6vyn3y14gingmgsp3n10krlspvw4mm"))))
(build-system python-build-system)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (add-after 'unpack 'loosen-cmarkgfm-dependency
+ (lambda _
+ ;; Permit newer versions of cmarkgfm.
+ (substitute* "setup.py"
+ (("cmarkgfm>=0\\.5\\.0,<0\\.7\\.0")
+ "cmarkgfm>=0.5.0"))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests? (invoke "pytest" "-vv")))))))
(propagated-inputs
- (list python-bleach python-docutils python-pygments python-six))
+ (list python-bleach python-docutils python-pygments
+
+ ;; Optional dependencies.
+ python-cmarkgfm)) ;required by postorius
(native-inputs
(list python-mock python-pytest))
(home-page "https://github.com/pypa/readme_renderer")
@@ -25461,8 +26154,8 @@ and plain text.")
'(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda _
- (invoke "python" "setup.py" "nosetests"))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests? (invoke "nosetests")))))))
(native-inputs
(list python-nose))
(propagated-inputs
@@ -25512,19 +26205,28 @@ validation.")
(define-public python-flufl-bounce
(package
(name "python-flufl-bounce")
- (version "3.0.1")
+ (version "4.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "flufl.bounce" version))
(sha256
(base32
- "01lg1b0jpf8605mzaz9miq3nray6s7a7gc8n4wzg5nsxl8fglcp4"))))
+ "0c9qc2l47lyqnpwskp6vvi7m3jqh6hx42v6d35dgxh3fjzmlll15"))))
(build-system python-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion
+ (string-append (site-packages inputs outputs) "/flufl")
+ (invoke "python" "-m" "nose2" "-v"))))))))
(propagated-inputs
(list python-atpublic python-zope-interface))
(native-inputs
- (list python-nose2))
+ (list python-flufl-testing python-nose2))
(home-page "https://fluflbounce.readthedocs.io/en/latest/")
(synopsis "Email bounce detectors")
(description "The @code{flufl.bounce} library provides a set of heuristics
@@ -25596,8 +26298,7 @@ and have a maximum lifetime built-in.")
(base32
"1nkm95mhcfhl4x5jgs6y97ikszaxsfh07nyawsih6cxxm6l62641"))))
(build-system python-build-system)
- (native-inputs
- (list python-nose2))
+ (arguments '(#:tests? #f)) ;no tests
(home-page "https://gitlab.com/warsaw/flufl.testing")
(synopsis "Collection of test tool plugins")
(description
@@ -26214,6 +26915,24 @@ backport of the @code{dataclasses} module for Python 3.6.")
query Watchman to discover file changes.")
(license license:bsd-3)))
+(define-public python-roundrobin
+ (package
+ (name "python-roundrobin")
+ (version "0.0.2")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "roundrobin" version))
+ (sha256
+ (base32 "1akwhvfyi0120zg2xkhfc6jwfkirz5x90yyvw06bndhaaxwcnc5c"))))
+ (build-system python-build-system)
+ (arguments '(#:tests? #f)) ;no tests on PyPI and no tags in repo
+ (home-page "https://github.com/linnik/roundrobin")
+ (synopsis "Collection of roundrobin utilities")
+ (description
+ "This package provides a collection of utilities for round-robin
+distribution in Python.")
+ (license license:expat)))
+
(define-public python-helpdev
(package
(name "python-helpdev")
@@ -26433,6 +27152,31 @@ integration, human-readable errors, and standard OS-specific locations.")
implementations.")
(license license:expat)))
+(define-public python-retry
+ (package
+ (name "python-retry")
+ (version "0.9.2")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "retry" version))
+ (sha256
+ (base32 "197v6qrh6858bhzzrjgk2zdqrybppymb1lsvdxnm1i39kfwsigzq"))))
+ (build-system python-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests? (invoke "pytest" "-vv")))))))
+ (native-inputs (list python-pbr python-pytest))
+ (propagated-inputs (list python-decorator python-py))
+ (home-page "https://github.com/invl/retry")
+ (synopsis "Retry decorator")
+ (description
+ "@code{retry} is an easy to use retry decorator for Python. It can be
+used to retry a function a given number of times.")
+ (license license:asl2.0)))
+
(define-public python-pivy
(package
(name "python-pivy")
@@ -26923,9 +27667,9 @@ and BMI2).")
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
- (invoke "python" "setup.py" "nosetests")))))))
+ (invoke "nosetests")))))))
(native-inputs
- (list python-nose python-rednose))
+ (list python-nose python-rednose python-setuptools))
(propagated-inputs
(list python-six python-opcodes))
(synopsis "Efficient assembly code generation in Python")
@@ -26960,7 +27704,7 @@ supports x86_64 instructions up to AVX-512 and SHA.")
(build-system python-build-system)
(home-page "https://github.com/hsoft/sgmllib")
(synopsis "Python 3 port of sgmllib")
- (description "This packages provides an unmaintained port of sgmllib to
+ (description "This package provides an unmaintained port of sgmllib to
Python 3. It is used to parse text files formatted in @acronym{SGML,Standard
Generalized Mark-up Language}.")
(license license:bsd-3))))
@@ -27265,7 +28009,7 @@ Braintree Gateway. Braintree is a US-based payments service provider.")
(base32 "0pqdmpxbr8iq22b4css2gz5z6s01ddpzyj25x27kgbs2lp0f5phs"))))
(build-system python-build-system)
(home-page "https://github.com/tylerbakke/MarkupPy")
- (synopsis "A pythonic HTML/XML generator")
+ (synopsis "Pythonic HTML/XML generator")
(description "This Python module attempts to make it easier to generate
HTML/XML from a Python program in an intuitive, lightweight, customizable and
pythonic way.")
@@ -27353,7 +28097,7 @@ spreadsheet), CSV, TSV, XLS, XLSX (Microsoft Excel spreadsheet), and YAML.")
(base32 "10nf4hdwldqgdmh4g613vx55sbsw1x1yzpvs3crwlggbp75fjjfi"))))
(build-system python-build-system)
(home-page "https://coda.b2ck.com/")
- (synopsis "A module to parse Belgian CODA files")
+ (synopsis "Module to parse Belgian CODA files")
(description "This package provides a module to parse Coded statement of
account (CODA) files as defined be the Belgian Febelfin bank standard.")
(license license:bsd-3)))
@@ -27416,17 +28160,23 @@ compatible with a wide range of versions of the Stripe API.")
(define-public python-platformdirs
(package
(name "python-platformdirs")
- (version "2.2.0")
+ (version "2.4.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "platformdirs" version))
(sha256
- (base32 "07hq5qrp7pqj63iczg01wbf5ii6f0ncd0dq5mzkdhsslmg9slbb3"))))
+ (base32 "1njz0h4iky8iglrb85cd07hpa3lp1a2dfr934dj65hxwzvfk61j4"))))
(build-system python-build-system)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv")))))))
(native-inputs
- (list python-appdirs python-pytest python-pytest-cov
- python-pytest-mock))
+ (list python-appdirs python-pytest python-pytest-mock
+ python-setuptools-scm))
(home-page "https://github.com/platformdirs/platformdirs")
(synopsis "Determine the appropriate platform-specific directories")
(description "When writing applications, finding the right location to
@@ -27782,3 +28532,257 @@ keyboard-friendly package.")
(description
"This package provides a Python interface to iw wireless tools.")
(license license:gpl2)))
+
+(define-public python-pdoc3
+ (package
+ (name "python-pdoc3")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pdoc3" version))
+ (sha256
+ (base32 "1dz4hw10ngidzg9cjvflc8nlrwrjbb3ijhmaw4w6f039p6yff8jz"))
+ (patches
+ (search-patches "python-pdoc3-tests.patch"))))
+ (build-system python-build-system)
+ (native-inputs
+ (list python-setuptools-git python-setuptools-scm))
+ (propagated-inputs (list python-mako python-markdown))
+ (home-page "https://pdoc3.github.io/pdoc/")
+ (synopsis "Auto-generate API documentation for Python projects")
+ (description
+ "This package auto-generates API documentation from Python projects
+already existing modules and objects docstrings.")
+ (license license:agpl3+)))
+
+(define-public python-piexif
+ (package
+ (name "python-piexif")
+ (version "1.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "piexif" version ".zip"))
+ (sha256
+ (base32 "06sz58q4mrw472p8fbnq7wsj8zpi5js5r8phm2hiwfmz0v33bjw3"))
+ (patches
+ (search-patches "python-piexif-fix-tests-with-pillow-7.2.patch"))))
+ (build-system python-build-system)
+ (native-inputs
+ (list unzip python-pillow))
+ (home-page "https://github.com/hMatoba/Piexif")
+ (synopsis "Simplify exif manipulations with Python")
+ (description "Piexif simplifies interacting with EXIF data in
+Python. It includes the tools necessary for extracting, creating,
+manipulating, converting and writing EXIF data to JPEG, WebP and TIFF files.")
+ (license license:expat)))
+
+(define-public python-pyrss2gen
+ (package
+ (name "python-pyrss2gen")
+ (version "1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "PyRSS2Gen" version))
+ (sha256
+ (base32 "1rvf5jw9hknqz02rp1vg8abgb1lpa0bc65l7ylmlillqx7bswq3r"))))
+ (build-system python-build-system)
+ (home-page "http://dalkescientific.com/Python/PyRSS2Gen.html")
+ (synopsis "Generate RSS 2.0 feeds using a Python data structure")
+ (description "PyRSS2Gen is the interface to generate RSS 2.0 feeds.
+PyRSS2Gen builds the feed up by using a XML generator.")
+ (license license:bsd-3)))
+
+(define-public python-yapsy
+ (package
+ (name "python-yapsy")
+ (version "1.12.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "Yapsy" version))
+ (sha256
+ (base32 "12rznbnswfw0w7qfbvmmffr9r317gl1rqg36nijwzsklkjgks4fq"))))
+ (build-system python-build-system)
+ (home-page "http://yapsy.sourceforge.net")
+ (synopsis "Simple plugin system for Python applications")
+ (description "Yapsy, or Yet Another Plugin SYstem, is a small library
+implementing the core mechanisms needed to build a plugin system into a wider
+application.
+
+The main purpose is to depend only on Python's standard libraries and to
+implement only the basic functionalities needed to detect, load and keep track
+of several plugins.")
+ (license license:bsd-3)))
+
+(define-public python-doit
+ (package
+ (name "python-doit")
+ (version "0.34.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "doit" version))
+ (sha256
+ (base32 "0bf0m9n0hyjvjpv051zd26725j8jr23gyvc37v3kkadwbh8dxwcf"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ (list python-cloudpickle python-pyinotify))
+ (native-inputs
+ (list python-pytest))
+ (home-page "https://pydoit.org")
+ (synopsis "Automation tool to execute any kind of task in a build-tools
+fashion")
+ (description "doit is an automation tool that brings the power of
+build-tools to execute any kind of task.
+
+A task describes some computation to be done (actions), and contains some
+extra meta-data. The actions can be external programs or Python functions. A
+single task may define more than one action.doit uses the task’s meta-data
+to:
+
+@itemize
+@item cache task results
+@item correct execution order
+@item parallel execution
+@item powerful dependency system
+@end itemize")
+ (license license:expat)))
+
+(define-public python-phpserialize
+ (package
+ (name "python-phpserialize")
+ (version "1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "phpserialize" version))
+ (sha256
+ (base32 "19qgkb9z4zjbjxlpwh2w6pxkz2j3iymnydi69jl0jg905lqjsrxz"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ ;; tests missing in pypi archive, anhow they are quite simple and not worth any hassle
+ #:tests? #f))
+ (home-page "http://github.com/mitsuhiko/phpserialize")
+ (synopsis "Python port of the serialize and unserialize functions of PHP")
+ (description
+ "This package provides a port of the serialize and unserialize functions of PHP for Python")
+ (license license:bsd-3)))
+
+(define-public nikola
+ (package
+ (name "nikola")
+ (version "8.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "Nikola" version))
+ (sha256
+ (base32 "1vspzvi4039zgjc93bspqjb384r6c9ksvmidbp8csws2pdbc7sh5"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ (list python-babel
+ python-blinker
+ python-dateutil
+ python-docutils
+ python-doit
+ python-jinja2 ;; for themes
+ python-lxml
+ python-mako
+ python-markdown
+ python-natsort
+ python-notebook ;; for ipynb
+ python-phpserialize ;; for wordpress import
+ python-piexif
+ python-pillow
+ python-pygments
+ python-pyrss2gen
+ python-requests
+ python-ruamel.yaml ;; for YAML metadata
+ python-unidecode
+ python-yapsy))
+ (native-inputs
+ (list python-coverage
+ python-flake8
+ python-freezegun
+ python-pytest
+ python-pytest-cov))
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;;(add-installed-pythonpath inputs outputs)
+ (invoke "pytest" "tests" "--no-cov"
+ "-k" "not test_compiling_markdown[hilite]")))))))
+ (home-page "https://getnikola.com/")
+ (synopsis "Modular, fast and simple static website and blog generator")
+ (description "Nikola generates static websites and blogs. Out of the box,
+it supports reStructuredText, Markdown, IPython (Jupyter) Notebooks and HTML,
+and has plugins for many other formats.")
+ (license license:expat)))
+
+(define-public nbss-upload
+ (package
+ (name "nbss-upload")
+ (version "0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "nbss-upload" version))
+ (sha256
+ (base32 "0jhyfm7w2ssknmh9789fmpnf79xr7sxbdcjwak6hfha6qparvk38"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ (list python-requests))
+ (arguments
+ `(#:tests? #f)) ;no tests
+ (home-page "https://github.com/notebook-sharing-space/nbss-upload")
+ (synopsis "Upload notebooks to a notebooksharing.space instance")
+ (description
+"Upload notebooks as @code{.ipynb}, @code{.rmd}, and @code{.html} to a
+notebooksharing.space instance.")
+ (license license:bsd-3)))
+
+(define-public python-reedsolo
+ (package
+ (name "python-reedsolo")
+ (version "1.5.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "reedsolo" version))
+ (sha256
+ (base32 "09q15ji9iac3nmmxrcdvz8ynldvvqanqy3hs6q3cp327hgf5rcmq"))))
+ (build-system python-build-system)
+ (home-page "https://github.com/tomerfiliba/reedsolomon")
+ (synopsis "Pure-Python Reed Solomon encoder/decoder")
+ (description "A pure-python universal errors-and-erasures Reed-Solomon
+Codec, based on the tutorial at Wikiversity. This is a burst-type
+implementation, so that it supports any Galois field higher than 2^3,
+but not binary streams.")
+ (license license:public-domain)))
+
+(define-public python-esprima
+ (package
+ (name "python-esprima")
+ (version "4.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "esprima" version))
+ (sha256
+ (base32 "1vi32g991lxcxzmncfiszh8m9bwkh4887szskkdi0a9wdn3imnq8"))))
+ (build-system python-build-system)
+ (home-page "https://github.com/Kronuz/esprima-python")
+ (synopsis
+ "ECMAScript parsing infrastructure for analysis in Python")
+ (description
+ "This package provides ECMAScript parsing infrastructure for
+multipurpose analysis in Python.")
+ (license license:bsd-3)))
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index f0d2fd6eb8..3bc3346c21 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -431,7 +431,7 @@ data types.")
(package
(inherit python-2)
(name "python")
- (version "3.9.6")
+ (version "3.9.9")
(source (origin
(method url-fetch)
(uri (string-append "https://www.python.org/ftp/python/"
@@ -445,7 +445,7 @@ data types.")
"python-3-no-static-lib.patch"))
(sha256
(base32
- "12hhw2685i68pwfx5hdkqngzhbji4ccyjmqb5rzvkigg6fpj0y9r"))
+ "09vd7g71i11iz5ydqghwc8kaxr0vgji94hhwwnj77h3kll28r0h6"))
(modules '((guix build utils)))
(snippet
'(begin
@@ -780,6 +780,7 @@ ease from the desktop to a microcontroller or embedded system.")
`(#:tests? #f ;FIXME: 43 out of 364 tests are failing
#:modules ((ice-9 ftw) (ice-9 match)
(guix build utils) (guix build gnu-build-system))
+ #:disallowed-references (,nss-certs)
#:phases (modify-phases %standard-phases
(delete 'configure)
(add-after 'unpack 'patch-source
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 01bf961bbf..49d514503d 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -8,7 +8,7 @@
;;; Copyright © 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017 Quiliro <quiliro@fsfla.org>
;;; Copyright © 2017, 2018, 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
-;;; Copyright © 2018, 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
+;;; Copyright © 2018, 2020, 2022 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2018 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2018 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
@@ -70,6 +70,7 @@
#:use-module (gnu packages ghostscript)
#:use-module (gnu packages gl)
#:use-module (gnu packages glib)
+ #:use-module (gnu packages gnome)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages gperf)
#:use-module (gnu packages graphics)
@@ -1512,7 +1513,7 @@ message.")))
(define-public qtspell
(package
(name "qtspell")
- (version "0.9.0")
+ (version "1.0.1")
(source
(origin
(method git-fetch)
@@ -1521,7 +1522,7 @@ message.")))
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1081makirjxixz44ghwz362vgnk5wcks6ni6w01pl667x8wggsd2"))))
+ (base32 "19ff6jzm699wrxrk57w3d4kl9qxgdipdikpwls9n4aqv4mw7g969"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f)) ;no test
@@ -2402,7 +2403,7 @@ This package provides the Python bindings.")))
(define-public qtkeychain
(package
(name "qtkeychain")
- (version "0.9.1")
+ (version "0.13.2")
(source
(origin
(method git-fetch)
@@ -2412,12 +2413,12 @@ This package provides the Python bindings.")))
(file-name (git-file-name name version))
(sha256
(base32
- "0h4wgngn2yl35hapbjs24amkjfbzsvnna4ixfhn87snjnq5lmjbc"))))
+ "1zk6r2vc1q48qs7mw2h47bpgrfbb9r7lf9cwq4sb1a4nls87zznk"))))
(build-system cmake-build-system)
(native-inputs
(list pkg-config qttools))
(inputs
- (list qtbase-5))
+ (list libsecret qtbase-5))
(arguments
`(#:tests? #f ; No tests included
#:phases
@@ -2426,8 +2427,7 @@ This package provides the Python bindings.")))
(lambda _
(substitute* "CMakeLists.txt"
(("\\$\\{qt_translations_dir\\}")
- "${CMAKE_INSTALL_PREFIX}/share/qt5/translations"))
- #t)))))
+ "${CMAKE_INSTALL_PREFIX}/share/qt5/translations")))))))
(home-page "https://github.com/frankosterfeld/qtkeychain")
(synopsis "Qt API to store passwords")
(description
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index b40332aee8..bba064c672 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -822,7 +822,7 @@ satellites.")
(define-public gqrx
(package
(name "gqrx")
- (version "2.15")
+ (version "2.15.4")
(source
(origin
(method git-fetch)
@@ -831,7 +831,7 @@ satellites.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1a81wrsl3bj2g3dyd21mka45sfhygbncpkp29ggfvrzffvj1axlv"))))
+ (base32 "0r5pdj2l6zs2zvkc1bd7kg9vzx25pcgiw025n5yc841m8yg6n2c9"))))
(build-system qt-build-system)
(native-inputs
(list pkg-config))
diff --git a/gnu/packages/ragel.scm b/gnu/packages/ragel.scm
index 1d9b67a6e0..d4016ed5ba 100644
--- a/gnu/packages/ragel.scm
+++ b/gnu/packages/ragel.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2021 Simon South <simon@simonsouth.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -22,7 +23,9 @@
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
- #:use-module (gnu packages))
+ #:use-module (guix utils)
+ #:use-module (gnu packages)
+ #:use-module (gnu packages base))
(define-public ragel
(package
@@ -36,6 +39,30 @@
(base32
"0gvcsl62gh6sg73nwaxav4a5ja23zcnyxncdcdnqa2yjcpdnw5az"))))
(build-system gnu-build-system)
+ (arguments
+ (if (target-aarch64?)
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'apply-char-signedness-fix
+ ;; Apply a backported fix for aarch64-linux, where the C/C++
+ ;; "char" type is unsigned by default.
+ ;;
+ ;; The patch is applied in this custom phase and not via the
+ ;; "origin" object above to avoid rebuilding a large number of
+ ;; packages on other platforms.
+ (lambda _
+ (let ((patch
+ (search-input-file %build-inputs "/bin/patch"))
+ (char-signedness-patch
+ (assoc-ref %build-inputs "char-signedness-patch")))
+ (invoke patch "-p1" "-i" char-signedness-patch))))))
+ '()))
+ (native-inputs
+ (if (target-aarch64?)
+ `(("char-signedness-patch"
+ ,(search-patch "ragel-char-signedness.patch"))
+ ("patch" ,patch))
+ '()))
(home-page "https://www.colm.net/open-source/ragel/")
(synopsis "State machine compiler")
(description
diff --git a/gnu/packages/rdf.scm b/gnu/packages/rdf.scm
index 83e5912464..e3a26cf734 100644
--- a/gnu/packages/rdf.scm
+++ b/gnu/packages/rdf.scm
@@ -7,6 +7,7 @@
;;; Copyright © 2020 Pjotr Prins <pjotr.guix@thebird.nl>
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2020 pukkamustard <pukkamustard@posteo.net>
+;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -24,6 +25,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages rdf)
+ #:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix git-download)
@@ -124,7 +126,7 @@ Java Lucene text search engine API to C++.")
(define-public lucene++
(package
(name "lucene++")
- (version "3.0.7")
+ (version "3.0.8")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -133,19 +135,35 @@ Java Lucene text search engine API to C++.")
(file-name (git-file-name name version))
(sha256
(base32
- "06b37fly6l27zc6kbm93f6khfsv61w792j8xihfagpcm9cfz2zi1"))))
+ "12v7r62f7pqh5h210pb74sfx6h70lj4pgfpva8ya2d55fn0qxrr2"))
+ (modules '((guix build utils)))
+ (snippet
+ #~(begin
+ (substitute* (list "src/config/core/CMakeLists.txt"
+ "src/config/contrib/CMakeLists.txt")
+ (("include/pkgconfig")
+ "lib/pkgconfig")
+ (("include/cmake")
+ "share/cmake/lucene++"))))))
(build-system cmake-build-system)
(arguments
- `(#:configure-flags
- ;; CXX_FLAGS suggested in a closed issue on github:
- ;; https://github.com/luceneplusplus/LucenePlusPlus/issues/100
- (list "-Wno-dev" "-DCMAKE_CXX_FLAGS=-DBOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT"
- ;; Install in lib64 break rpath
- "-DCMAKE_INSTALL_LIBDIR:PATH=lib")))
+ (list #:configure-flags
+ #~(list (string-append "-DLIB_DESTINATION:PATH="
+ #$output "/lib")
+ "-DINSTALL_GTEST:BOOL=OFF")
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ ;; XXX Tests are built unconditionally during the 'build phase.
+ ;; There's no ‘test’ target. README.md suggests running this.
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "src/test/lucene++-tester"
+ "--test_dir=../source/src/test/testfiles")))))))
(native-inputs
(list pkg-config))
(inputs
- (list boost))
+ (list boost zlib))
(home-page "https://github.com/luceneplusplus/LucenePlusPlus")
(synopsis "Text search engine")
(description "Lucene++ is an up to date C++ port of the popular Java
@@ -328,27 +346,33 @@ ideal (e.g. in LV2 implementations or embedded applications).")
(define-public python-rdflib
(package
(name "python-rdflib")
- (version "4.2.2")
+ (version "6.1.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "rdflib" version))
(sha256
(base32
- "0398c714znnhaa2x7v51b269hk20iz073knq2mvmqp2ma92z27fs"))))
+ "0m7pyq771vl4zf9xd3pxjbg7x6ac97b3djfbv9qq9fch56ps1gwd"))))
(build-system python-build-system)
(arguments
- '(;; FIXME: Three test failures. Should be fixed next release.
- #:tests? #f))
- ;; #:phases
- ;; (modify-phases %standard-phases
- ;; (replace 'check
- ;; (lambda _
- ;; ;; Run tests from the build directory so python3 only
- ;; ;; sees the installed 2to3 version.
- ;; (invoke "nosetests" "--where=./build/src"))))))
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'adjust-tests
+ (lambda _
+ (for-each delete-file
+ '(;; This test needs a font that is not shipped.
+ "test/test_so_69984830.py"
+ ;; These tests need internet access.
+ "test/jsonld/test_onedotone.py"
+ "test/test_sparql_service.py"
+ "test/test_graph.py"))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv" "test/")))))))
(native-inputs
- (list python-nose))
+ (list python-pytest))
(propagated-inputs
(list python-html5lib python-isodate python-pyparsing))
(home-page "https://github.com/RDFLib/rdflib")
@@ -359,20 +383,37 @@ powerful language for representing information.")
(license (license:non-copyleft "file://LICENSE"
"See LICENSE in the distribution."))))
+(define-public python-rdflib-5
+ (package
+ (inherit python-rdflib)
+ (version "5.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "rdflib" version))
+ (sha256
+ (base32
+ "0mdi7xh4zcr3ngqwlgqdqf0i5bxghwfddyxdng1zwpiqkpa9s53q"))))
+ ;; XXX: Lazily disable tests because they require a lot of work
+ ;; and this package is only transitional.
+ (arguments '(#:tests? #f))))
+
(define-public python2-rdflib
- (package-with-python2 python-rdflib))
+ (package-with-python2 python-rdflib-5))
+;; Note: This package is only needed for rdflib < 6.0; supersede when
+;; the above are removed.
(define-public python-rdflib-jsonld
(package
(name "python-rdflib-jsonld")
- (version "0.5.0")
+ (version "0.6.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "rdflib-jsonld" version))
(sha256
(base32
- "1v85f4hdlrrk0l1najmqmm79ijrvcj259kwsrrxiq1q5chr5azag"))))
+ "0qrshlqzv5g5bign7kjja3xf7hyk7xgayr3yd0qlqda1kl0x6z0h"))))
(build-system python-build-system)
(native-inputs
(list python-nose))
@@ -446,7 +487,8 @@ C++ library as well as various command-line tools to to work with HDT.")
(arguments
'(#:tests? #f)) ; The test suite simply queries external HTTP endpoints.
(native-inputs
- (list python-nose))
+ ;; Build with setuptools <58 to get lib2to3 support.
+ (list python-nose python-setuptools))
(propagated-inputs
(list python-rdflib))
(home-page "https://rdflib.dev/sparqlwrapper/")
diff --git a/gnu/packages/rrdtool.scm b/gnu/packages/rrdtool.scm
index 4390c5b0ca..1fb642216d 100644
--- a/gnu/packages/rrdtool.scm
+++ b/gnu/packages/rrdtool.scm
@@ -53,7 +53,7 @@
("gtk" ,gtk+-2)
("libxml2" ,libxml2)
("pango" ,pango)
- ("python" ,python-2)))
+ ("python" ,python)))
(native-inputs
(list groff
pkg-config
@@ -62,7 +62,8 @@
perl ; will also build Perl bindings
tzdata-for-tests))
(arguments
- '(#:phases
+ `(#:disallowed-references (,tzdata-for-tests)
+ #:phases
(modify-phases %standard-phases
(add-before 'configure 'pre-configure
(lambda _
diff --git a/gnu/packages/rsync.scm b/gnu/packages/rsync.scm
index bce184da58..13717f0249 100644
--- a/gnu/packages/rsync.scm
+++ b/gnu/packages/rsync.scm
@@ -39,37 +39,6 @@
(define-public rsync
(package
(name "rsync")
- (version "3.1.3")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://rsync.samba.org/ftp/rsync/src/rsync-"
- version ".tar.gz"))
- (sha256
- (base32
- "1h0011dj6jgqpgribir4anljjv7bbrdcs8g91pbsmzf5zr75bk2m"))))
- (build-system gnu-build-system)
- (arguments
- `(#:configure-flags
- ;; The bundled copies are preferred by default.
- (list "--without-included-zlib"
- "--without-included-popt")))
- (native-inputs
- (list perl))
- (inputs
- (list acl popt zlib))
- (synopsis "Remote (and local) file copying tool")
- (description
- "Rsync is a fast and versatile file copying tool. It can copy locally,
-to/from another host over any remote shell, or to/from a remote rsync daemon.
-Its delta-transfer algorithm reduces the amount of data sent over the network
-by sending only the differences between the source files and the existing
-files in the destination.")
- (license license:gpl3+)
- (home-page "https://rsync.samba.org/")))
-
-(define-public rsync-next
- (package
- (name "rsync")
(version "3.2.3")
(source (origin
(method url-fetch)
@@ -89,12 +58,12 @@ files in the destination.")
(native-inputs
(list perl))
(inputs
- `(("acl" ,acl)
- ("lz4" ,lz4)
- ("popt" ,popt)
- ("xxhash" ,xxhash)
- ("zlib" ,zlib)
- ("zstd:lib" ,zstd "lib")))
+ (list acl
+ lz4
+ popt
+ xxhash
+ zlib
+ `(,zstd "lib")))
(synopsis "Remote (and local) file copying tool")
(description
"Rsync is a fast and versatile file copying tool. It can copy locally,
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 55af2beb8b..9d1a414914 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -6408,7 +6408,7 @@ decoding of JSON is implemented as a C extension to Ruby.")
"Optimized XML (Ox) is a fast XML parser and object serializer for Ruby
written as a native C extension. It was designed to be an alternative to
Nokogiri and other Ruby XML parsers for generic XML parsing and as an
-alternative to Marshal for Object serialization. ")
+alternative to Marshal for Object serialization.")
(home-page "http://www.ohler.com/ox")
(license license:expat)))
@@ -7080,7 +7080,7 @@ they match.")
#t)))))
(native-inputs
(list ragel ruby-regexp-property-values ruby-rspec))
- (synopsis "A regular expression parser library for Ruby ")
+ (synopsis "Regular expression parser library for Ruby")
(description "A Ruby gem for tokenizing, parsing, and transforming regular
expressions. It comprises the following components:
@itemize
diff --git a/gnu/packages/rush.scm b/gnu/packages/rush.scm
index f46bb50f57..fac00ee760 100644
--- a/gnu/packages/rush.scm
+++ b/gnu/packages/rush.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2016 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2022 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -26,14 +27,14 @@
(define-public rush
(package
(name "rush")
- (version "2.1")
+ (version "2.2")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/rush/rush-"
version ".tar.gz"))
(sha256
(base32
- "17i4mggr3rnfz0xbhqvd86jqva40c535fhlwkb2l4hjcbpg8blcf"))))
+ "1kcqilbcvxsh89196ryh3p9zh4b266517q9681mjmckvj5v57plm"))))
(build-system gnu-build-system)
(home-page "https://www.gnu.org/software/rush/")
(synopsis "Restricted user (login) shell")
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index e9bd4ebbd2..d2cc949667 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -6,14 +6,16 @@
;;; Copyright © 2020 Leo Famulari <leo@famulari.name>
;;; Copyright © 2020 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2020 Gabriel Arazas <foo.dogsquared@gmail.com>
-;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
+;;; Copyright © 2020–2022 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.ccom>
-;;; Copyright © 2021 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2021, 2022 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2021 Alexandru-Sergiu Marton <brown121407@posteo.ro>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2021 jgart <jgart@dismail.de>
+;;; Copyright © 2021 Nicolas Graves <ngraves@ngraves.fr>
+;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -63,6 +65,7 @@
#:use-module (gnu packages rust)
#:use-module (gnu packages tls)
#:use-module (gnu packages version-control)
+ #:use-module (gnu packages webkit)
#:use-module (gnu packages xorg))
(define-public agate
@@ -100,47 +103,134 @@ files. It uses async I/O, and should be quite efficient even when running on
low-end hardware and serving many concurrent requests.")
(license (list license:expat license:asl2.0))))
+(define-public alfis
+ (package
+ (name "alfis")
+ (version "0.6.10")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Revertron/Alfis")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1kgzz92mkyzn7mbsdpik1q21kl38i4almn01k99nww3p0vgx9514"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags
+ '("--release" "--"
+ "--skip=dns::client::tests::test_tcp_client"
+ "--skip=dns::client::tests::test_udp_client")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'configure 'relax-requirements
+ (lambda _
+ (substitute*
+ "guix-vendor/rust-x25519-dalek-1.2.0.tar.gz/Cargo.toml"
+ (("version = \"=1.3\"") "version = \"^1.3\"")))))
+ #:cargo-inputs
+ (("rust-getopts" ,rust-getopts-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-simplelog" ,rust-simplelog-0.11)
+ ("rust-toml" ,rust-toml-0.5)
+ ("rust-digest" ,rust-digest-0.10)
+ ("rust-sha2" ,rust-sha2-0.10)
+ ("rust-ed25519-dalek" ,rust-ed25519-dalek-1)
+ ("rust-x25519-dalek" ,rust-x25519-dalek-1)
+ ("rust-ecies-ed25519" ,rust-ecies-ed25519-0.5)
+ ("rust-chacha20poly1305" ,rust-chacha20poly1305-0.9)
+ ("rust-signature" ,rust-signature-1)
+ ("rust-blakeout" ,rust-blakeout-0.3)
+ ("rust-num-cpus" ,rust-num-cpus-1)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-bincode" ,rust-bincode-1)
+ ("rust-serde-cbor" ,rust-serde-cbor-0.11)
+ ("rust-base64" ,rust-base64-0.13)
+ ("rust-num-bigint" ,rust-num-bigint-0.4)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-rand-0.7" ,rust-rand-0.7) ;For ed25519-dalek
+ ("rust-sqlite" ,rust-sqlite-0.26)
+ ("rust-uuid" ,rust-uuid-0.8)
+ ("rust-mio" ,rust-mio-0.8)
+ ("rust-ureq" ,rust-ureq-2)
+ ("rust-lru" ,rust-lru-0.7)
+ ("rust-derive-more" ,rust-derive-more-0.99)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-tinyfiledialogs" ,rust-tinyfiledialogs-3)
+ ("rust-web-view" ,rust-web-view-0.7)
+ ("rust-open" ,rust-open-2)
+ ("rust-thread-priority" ,rust-thread-priority-0.4)
+ ("rust-winres" ,rust-winres-0.1))
+ #:cargo-development-inputs
+ (("rust-serde-bytes" ,rust-serde-bytes-0.11)
+ ("rust-serde-derive" ,rust-serde-derive-1))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list atk
+ gtk
+ glib
+ pango
+ webkitgtk-with-libsoup2))
+ (home-page "https://github.com/Revertron/Alfis")
+ (synopsis "Alternative Free Identity System")
+ (description
+ "This project represents a minimal blockchain without cryptocurrency,
+capable of sustaining any number of domain names in a bunch of original
+alternative zones.")
+ (license license:agpl3+)))
+
(define-public bat
(package
(name "bat")
- (version "0.18.3")
+ (version "0.19.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "bat" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0qlk032dd6zxda1v7clah33nafxygaw3x7f73ajwlvk956nrn1js"))))
+ (base32 "0bvlgh2yf6f1ski86hd13lda4cr51wyyg1ycsxwjpn0dbb0a8wqq"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-ansi-colours" ,rust-ansi-colours-1)
("rust-ansi-term" ,rust-ansi-term-0.12)
("rust-atty" ,rust-atty-0.2)
+ ("rust-bincode" ,rust-bincode-1)
("rust-bugreport" ,rust-bugreport-0.4)
("rust-clap" ,rust-clap-2)
+ ("rust-clap" ,rust-clap-2)
("rust-clircle" ,rust-clircle-0.3)
- ("rust-console" ,rust-console-0.14)
+ ("rust-console" ,rust-console-0.15)
("rust-content-inspector" ,rust-content-inspector-0.2)
("rust-dirs-next" ,rust-dirs-next-2)
("rust-encoding" ,rust-encoding-0.2)
- ("rust-error-chain" ,rust-error-chain-0.12)
+ ("rust-flate2" ,rust-flate2-1)
("rust-git2" ,rust-git2-0.13)
("rust-globset" ,rust-globset-0.4)
("rust-grep-cli" ,rust-grep-cli-0.1)
- ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-once-cell" ,rust-once-cell-1)
("rust-path-abs" ,rust-path-abs-0.5)
- ("rust-semver" ,rust-semver-0.11)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-semver" ,rust-semver-1)
("rust-serde" ,rust-serde-1)
("rust-serde-yaml" ,rust-serde-yaml-0.8)
("rust-shell-words" ,rust-shell-words-1)
("rust-syntect" ,rust-syntect-4)
+ ("rust-thiserror" ,rust-thiserror-1)
("rust-unicode-width" ,rust-unicode-width-0.1)
+ ("rust-walkdir" ,rust-walkdir-2)
("rust-wild" ,rust-wild-2))
#:cargo-development-inputs
- (("rust-assert-cmd" ,rust-assert-cmd-1)
- ("rust-nix" ,rust-nix-0.21)
- ("rust-predicates" ,rust-predicates-1)
+ (("rust-assert-cmd" ,rust-assert-cmd-2)
+ ("rust-nix" ,rust-nix-0.23)
+ ("rust-predicates" ,rust-predicates-2)
("rust-serial-test" ,rust-serial-test-0.5)
("rust-tempfile" ,rust-tempfile-3)
("rust-wait-timeout" ,rust-wait-timeout-0.2))))
@@ -680,6 +770,51 @@ your current directory for a regex pattern while respecting your
gitignore rules.")
(license (list license:unlicense license:expat))))
+(define-public git-interactive-rebase-tool
+ (package
+ (name "git-interactive-rebase-tool")
+ (version "2.1.0")
+ (source
+ (origin
+ ;; crates.io does not provide the test data.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mitmaro/git-interactive-rebase-tool")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "173spqqpyc00kvfmldjmjfqizh9b4spq4xw4bskd4dny8qcpz28d"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags
+ ;; https://github.com/MitMaro/git-interactive-rebase-tool/issues/586
+ '("--release" "--" "--skip=tests::success")
+ #:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-clap" ,rust-clap-2)
+ ("rust-crossterm" ,rust-crossterm-0.19)
+ ("rust-git2" ,rust-git2-0.13)
+ ("rust-num-format" ,rust-num-format-0.4)
+ ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
+ ("rust-unicode-width" ,rust-unicode-width-0.1)
+ ("rust-xi-unicode" ,rust-xi-unicode-0.3))
+ #:cargo-development-inputs
+ (("rust-concat-idents" ,rust-concat-idents-1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-rstest" ,rust-rstest-0.6)
+ ("rust-serial-test" ,rust-serial-test-0.5)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (inputs
+ (list zlib))
+ (home-page "https://gitrebasetool.mitmaro.ca/")
+ (synopsis "Terminal based sequence editor for git interactive rebase")
+ (description
+ "This application is a terminal-based sequence editor for git interactive
+rebase.")
+ (license license:gpl3+)))
+
(define-public rust-cbindgen
(package
(name "rust-cbindgen")
@@ -1153,10 +1288,82 @@ older terminal emulators.")
runs a command whenever it detects modifications.")
(license license:asl2.0)))
+(define-public rbw
+ (package
+ (name "rbw")
+ (version "1.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rbw" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0zszp9hvilpikbd66b5zbvspks0spv8dh0yry0sxnc5yqvl2ixnf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'configure 'relax-requirements
+ (lambda _
+ (substitute*
+ "guix-vendor/rust-password-hash-0.3.2.tar.gz/Cargo.toml"
+ (("version = \">=1, <1.1.0\"") "version = \">=1\"")))))
+ #:cargo-inputs
+ (("rust-aes" ,rust-aes-0.7)
+ ("rust-anyhow" ,rust-anyhow-1)
+ ("rust-arrayvec" ,rust-arrayvec-0.7)
+ ("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-base32" ,rust-base32-0.4)
+ ("rust-base64" ,rust-base64-0.13)
+ ("rust-block-modes" ,rust-block-modes-0.8)
+ ("rust-block-padding" ,rust-block-padding-0.2)
+ ("rust-daemonize" ,rust-daemonize-0.4)
+ ("rust-directories" ,rust-directories-4)
+ ("rust-env-logger" ,rust-env-logger-0.9)
+ ("rust-hkdf" ,rust-hkdf-0.11)
+ ("rust-hmac" ,rust-hmac-0.11)
+ ("rust-humantime" ,rust-humantime-2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-nix" ,rust-nix-0.23)
+ ("rust-paw" ,rust-paw-1)
+ ("rust-pbkdf2" ,rust-pbkdf2-0.9)
+ ("rust-percent-encoding" ,rust-percent-encoding-2)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-region" ,rust-region-3)
+ ("rust-reqwest" ,rust-reqwest-0.11)
+ ("rust-rsa" ,rust-rsa-0.5)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-path-to-error" ,rust-serde-path-to-error-0.1)
+ ("rust-serde-repr" ,rust-serde-repr-0.1)
+ ("rust-sha-1" ,rust-sha-1-0.9)
+ ("rust-sha2" ,rust-sha2-0.9)
+ ("rust-structopt" ,rust-structopt-0.3)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-term-size" ,rust-term-size-0.3)
+ ("rust-textwrap" ,rust-textwrap-0.11)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-totp-lite" ,rust-totp-lite-1)
+ ("rust-url" ,rust-url-2)
+ ("rust-uuid" ,rust-uuid-0.8)
+ ("rust-zeroize" ,rust-zeroize-1))))
+ (home-page "https://git.tozt.net/rbw")
+ (synopsis "Unofficial Bitwarden CLI")
+ (description "This package is an unofficial command line client for
+Bitwarden. Although it does come with its own command line client, this client
+is limited by being stateless, which makes it very difficult to use. This
+client avoids this problem by maintaining a background process which is able
+to hold the keys in memory, similar to the way that ssh-agent or gpg-agent
+work. This allows the client to be used in a much simpler way, with the
+background agent taking care of maintaining the necessary state.")
+ (license license:expat)))
+
(define-public rust-analyzer
(package
(name "rust-analyzer")
- (version "2021-06-07")
+ (version "2022-01-10")
(source
(origin
;; The crate at "crates.io" is empty.
@@ -1167,35 +1374,52 @@ runs a command whenever it detects modifications.")
(file-name (git-file-name name version))
(sha256
(base32
- "06bc3s5kjwpyr2cq79p0306a9bqp3xp928d750ybby9npq2dvj3z"))))
+ "1ci85bp8xwqrk8nqr8sh6yj8njgd98nhgnhaks2g00c77wwyra41"))))
(build-system cargo-build-system)
(arguments
`(#:install-source? #f ; virtual manifest
#:cargo-test-flags
'("--release" "--"
- "--skip=tests::test_version_check" ;; It need rustc's version
- ;; FIXME: Guix's rust not install source in %out/lib/rustlib/src/rust
- ;; so "can't load standard library from sysroot"
+ "--skip=tests::test_version_check" ;it need rustc's version
+ ;; FIXME: Guix's rust does not install source in
+ ;; %out/lib/rustlib/src/rust so "can't load standard library from
+ ;; sysroot"
"--skip=tests::test_loading_rust_analyzer"
- "--skip=tidy::cargo_files_are_tidy" ;; Not need
- "--skip=tidy::check_licenses" ;; It run cargo metadata.
- "--skip=tidy::check_merge_commits" ;; It run git rev-list.
- "--skip=tidy::check_code_formatting" ;; Need rustfmt as cargo fmt
- "--skip=tidy::generate_grammar" ;; Same
- "--skip=tidy::generate_assists_tests") ;; Same
+ ;; Failed to run rustfmt from toolchain 'stable'. Please run `rustup
+ ;; component add rustfmt --toolchain stable` to install it
+ "--skip=tests::sourcegen::sourcegen_assists_docs" ;need rustfmt
+ "--skip=tests::sourcegen_ast::sourcegen_ast" ;same
+
+ "--skip=tidy::cargo_files_are_tidy" ;not needed
+ "--skip=tidy::check_licenses" ;it runs cargo metadata
+ "--skip=tidy::check_merge_commits" ;it runs git rev-list
+ "--skip=tidy::check_code_formatting" ;need rustfmt as cargo fmt
+ "--skip=tidy::generate_grammar" ;same
+ "--skip=tidy::generate_assists_tests") ;same
+ #:cargo-development-inputs
+ (("rust-arbitrary" ,rust-arbitrary-1)
+ ("rust-derive-arbitrary" ,rust-derive-arbitrary-1)
+ ("rust-expect-test" ,rust-expect-test-1)
+ ("rust-oorandom" ,rust-oorandom-11.1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)
+ ("rust-tracing-tree" ,rust-tracing-tree-0.2)
+ ("rust-ungrammar" ,rust-ungrammar-1))
#:cargo-inputs
(("rust-always-assert" ,rust-always-assert-0.1)
("rust-anyhow" ,rust-anyhow-1)
("rust-anymap" ,rust-anymap-0.12)
("rust-arrayvec" ,rust-arrayvec-0.7)
("rust-backtrace" ,rust-backtrace-0.3)
- ("rust-cargo-metadata" ,rust-cargo-metadata-0.13)
+ ("rust-cargo-metadata" ,rust-cargo-metadata-0.14)
("rust-cfg-if" ,rust-cfg-if-1)
- ("rust-chalk-ir" ,rust-chalk-ir-0.68)
- ("rust-chalk-recursive" ,rust-chalk-recursive-0.68)
- ("rust-chalk-solve" ,rust-chalk-solve-0.68)
- ("rust-countme" ,rust-countme-2)
- ("rust-cov-mark" ,rust-cov-mark-1)
+ ("rust-chalk-ir" ,rust-chalk-ir-0.75)
+ ("rust-chalk-recursive" ,rust-chalk-recursive-0.75)
+ ("rust-chalk-solve" ,rust-chalk-solve-0.75)
+ ("rust-countme" ,rust-countme-3)
+ ("rust-cov-mark" ,rust-cov-mark-2)
("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)
("rust-dashmap" ,rust-dashmap-4)
("rust-dissimilar" ,rust-dissimilar-1)
@@ -1204,7 +1428,6 @@ runs a command whenever it detects modifications.")
("rust-either" ,rust-either-1)
("rust-ena" ,rust-ena-0.14)
("rust-env-logger" ,rust-env-logger-0.8)
- ("rust-expect-test" ,rust-expect-test-1)
("rust-flate2" ,rust-flate2-1)
("rust-fst" ,rust-fst-0.4)
("rust-home" ,rust-home-0.5)
@@ -1215,29 +1438,27 @@ runs a command whenever it detects modifications.")
("rust-libloading" ,rust-libloading-0.7)
("rust-log" ,rust-log-0.4)
("rust-lsp-server" ,rust-lsp-server-0.5)
- ("rust-lsp-types" ,rust-lsp-types-0.89)
- ("rust-memmap2" ,rust-memmap2-0.2)
+ ("rust-lsp-types" ,rust-lsp-types-0.91)
+ ("rust-memmap2" ,rust-memmap2-0.5)
("rust-mimalloc" ,rust-mimalloc-0.1)
- ("rust-miow" ,rust-miow-0.3)
+ ("rust-miow" ,rust-miow-0.4)
("rust-notify" ,rust-notify-5)
- ("rust-object" ,rust-object-0.24)
+ ("rust-object" ,rust-object-0.28)
("rust-once-cell" ,rust-once-cell-1)
- ("rust-oorandom" ,rust-oorandom-11.1)
("rust-parking-lot" ,rust-parking-lot-0.11)
("rust-perf-event" ,rust-perf-event-0.4)
("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-pulldown-cmark" ,rust-pulldown-cmark-0.8)
- ("rust-pulldown-cmark-to-cmark" ,rust-pulldown-cmark-to-cmark-6)
- ("rust-quote" ,rust-quote-1)
- ("rust-rayon" ,rust-rayon-1)
- ("rust-rowan" ,rust-rowan-0.13)
- ("rust-rustc-ap-rustc-lexer" ,rust-rustc-ap-rustc-lexer-721)
+ ("rust-pulldown-cmark-to-cmark" ,rust-pulldown-cmark-to-cmark-7)
+ ("rust-rowan" ,rust-rowan-0.15)
+ ("rust-rustc-ap-rustc-lexer" ,rust-rustc-ap-rustc-lexer-725)
("rust-rustc-hash" ,rust-rustc-hash-1)
("rust-salsa" ,rust-salsa-0.17)
("rust-scoped-tls" ,rust-scoped-tls-1)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-serde-path-to-error" ,rust-serde-path-to-error-0.1)
+ ("rust-typed-arena" ,rust-typed-arena-2)
("rust-smallvec" ,rust-smallvec-1)
("rust-smol-str" ,rust-smol-str-0.1)
("rust-snap" ,rust-snap-1)
@@ -1245,10 +1466,6 @@ runs a command whenever it detects modifications.")
("rust-threadpool" ,rust-threadpool-1)
("rust-tikv-jemalloc-ctl" ,rust-tikv-jemalloc-ctl-0.4)
("rust-tikv-jemallocator" ,rust-tikv-jemallocator-0.4)
- ("rust-tracing" ,rust-tracing-0.1)
- ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.2)
- ("rust-tracing-tree" ,rust-tracing-tree-0.1)
- ("rust-ungrammar" ,rust-ungrammar-1)
("rust-url" ,rust-url-2)
("rust-walkdir" ,rust-walkdir-2)
("rust-winapi" ,rust-winapi-0.3)
@@ -1257,24 +1474,57 @@ runs a command whenever it detects modifications.")
("rust-xshell" ,rust-xshell-0.1))
#:phases
(modify-phases %standard-phases
- (add-after 'unpack 'patch-build-failures
- (lambda _
- (chmod ".cargo/config" 420)
- #t))
(add-before 'check 'fix-tests
- (lambda* (#:key inputs #:allow-other-keys)
+ (lambda _
(let ((bash (string-append "#!" (which "bash"))))
- (with-directory-excursion "crates/syntax/test_data/lexer/ok"
- (substitute* "0010_single_line_comments.txt"
+ (with-directory-excursion "crates/parser/test_data/lexer/ok"
+ (substitute* "single_line_comments.txt"
(("SHEBANG 19")
(string-append "SHEBANG "
(number->string (string-length bash))))
(("#!/usr/bin/env bash") bash))))))
- (replace 'install
+ (add-before 'install 'install-doc
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (doc (string-append out "/share/doc/rust-analyzer-"
+ ,version)))
+ (copy-recursively "docs" doc))))
+ (add-before 'install 'chdir
+ (lambda _
+ (chdir "crates/rust-analyzer")))
+ (add-after 'install 'wrap-program
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin"))
+ (rust-src-path (search-input-directory
+ inputs "/lib/rustlib/src/rust/library")))
+ ;; if environment variable RUST_SRC_PATH is not set, set it,
+ ;; make rust-analyzer work out of box.
+ (with-directory-excursion bin
+ (let* ((prog "rust-analyzer")
+ (wrapped-file (string-append (dirname prog)
+ "/." (basename prog) "-real"))
+ (prog-tmp (string-append wrapped-file "-tmp")))
+ (link prog wrapped-file)
+ (call-with-output-file prog-tmp
+ (lambda (port)
+ (format port "#!~a
+if test -z \"${RUST_SRC_PATH}\";then export RUST_SRC_PATH=~S;fi;
+exec -a \"$0\" \"~a\" \"$@\""
+ (which "bash")
+ rust-src-path
+ (canonicalize-path wrapped-file))))
+ (chmod prog-tmp #o755)
+ (rename-file prog-tmp prog))))))
+ (replace 'install-license-files
(lambda* (#:key outputs #:allow-other-keys)
- (install-file "target/release/rust-analyzer"
- (string-append (assoc-ref outputs "out")
- "/bin")))))))
+ (let* ((out (assoc-ref outputs "out"))
+ (doc (string-append out "/share/doc/rust-analyzer-"
+ ,version)))
+ (chdir "../..")
+ (install-file "LICENSE-MIT" doc)
+ (install-file "LICENSE-APACHE" doc)))))))
+ (native-inputs (list rust-src))
(home-page "https://rust-analyzer.github.io/")
(synopsis "Experimental Rust compiler front-end for IDEs")
(description "Rust-analyzer is a modular compiler frontend for the Rust
@@ -1323,6 +1573,31 @@ library and a dynamic library, and a C header to be used by any C (and
C-compatible) software.")
(license license:expat)))
+(define-public swayhide
+ (package
+ (name "swayhide")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "swayhide" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0x172ffj0lfmbv5nix708l1mfsizxzy74gpxp5amvx0bbaq0p78s"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-exitcode" ,rust-exitcode-1)
+ ("rust-swayipc" ,rust-swayipc-2))))
+ (home-page "https://github.com/NomisIV/swayhide/")
+ (synopsis "Swallow windows on swaywm")
+ (description "swayhide hides the currently active terminal (by moving it
+to the scratchpad), then it executes the supplied command. When the child
+process has finished, the terminal is moved back. This is useful if your
+workflow includes opening graphical programs from the terminal, as the locked
+terminal won't have to take up any space.")
+ (license license:gpl3+)))
+
(define-public tealdeer
(package
(name "tealdeer")
@@ -1432,6 +1707,7 @@ Full featured offline client with caching support.")
(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)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 2a43e88727..5a6d4a5c30 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -12,6 +12,8 @@
;;; Copyright © 2020 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2020 Matthew James Kraai <kraai@ftbfs.org>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2021 (unmatched parenthesis <paren@disroot.org>
+;;; Copyright © 2022 Zheng Junjie <873216071@qq.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -48,6 +50,7 @@
#:use-module (gnu packages tls)
#:use-module (gnu packages)
#:use-module (guix build-system cargo)
+ #:use-module (guix build-system copy)
#:use-module (guix build-system gnu)
#:use-module (guix build-system trivial)
#:use-module (guix download)
@@ -121,7 +124,7 @@
;;; to be used in source form. The latest support for bootstrapping from
;;; 1.39.0 is not yet released so use the latest commit (see:
;;; https://github.com/thepowersgang/mrustc/issues/185).
-(define %mrustc-commit "474bec9cfd7862a20e7288cecd7fcf5e18648b9a")
+(define %mrustc-commit "c7066542f8e93d320323749216bf3c82aecb67c2")
(define %mrustc-source
(let* ((version "0.9")
(commit %mrustc-commit)
@@ -135,7 +138,7 @@
(file-name (git-file-name name (git-version version revision commit)))
(sha256
(base32
- "1zacz5qia0r457mv74wvrvznnv4az5g2w9j8ji9ssy727wljhvz7")))))
+ "0zv1x6601s5fnnkcdlqkc4bknisqz569qb0iyb9rjsmaf1kh0na3")))))
;;; Rust 1.39 is special in that it is built with mrustc, which shortens the
;;; bootstrap path.
@@ -507,7 +510,7 @@ ar = \"" binutils "/bin/ar" "\"
(search-path-specification
(variable "LIBRARY_PATH")
(files '("lib" "lib64")))))
- (synopsis "Compiler for the Rust progamming language")
+ (synopsis "Compiler for the Rust programming language")
(description "Rust is a systems programming language that provides memory
safety and thread safety guarantees.")
(home-page "https://www.rust-lang.org")
@@ -622,14 +625,29 @@ safety and thread safety guarantees.")
(define rust-1.54
(let ((base-rust
(rust-bootstrapped-package
- rust-1.53 "1.54.0"
- "0xk9dhfff16caambmwij67zgshd8v9djw6ha0fnnanlv7rii31dc")))
- (package
- (inherit base-rust)
+ rust-1.53
+ "1.54.0" "0xk9dhfff16caambmwij67zgshd8v9djw6ha0fnnanlv7rii31dc")))
+ (package/inherit base-rust
(source
(origin
(inherit (package-source base-rust))
- (snippet '(delete-file-recursively "src/llvm-project"))))
+ (snippet '(delete-file-recursively "src/llvm-project")))))))
+
+(define rust-1.55
+ (rust-bootstrapped-package
+ rust-1.54 "1.55.0" "07l28f7grdmi65naq71pbmvdd61hwcpi40ry7kp7dy7m233rldxj"))
+
+(define rust-1.56
+ (rust-bootstrapped-package
+ rust-1.55 "1.56.1" "04cmqx7nn63hzz7z27b2b0dj2qx18rck9ifvip43s6dampx8v2f3"))
+
+(define rust-1.57
+ (let ((base-rust
+ (rust-bootstrapped-package
+ rust-1.56 "1.57.0"
+ "06jw8ka2p3kls8p0gd4p0chhhb1ia1mlvj96zn78n7qvp71zjiim")))
+ (package
+ (inherit base-rust)
(outputs (cons "rustfmt" (package-outputs base-rust)))
(arguments
(substitute-keyword-arguments (package-arguments base-rust)
@@ -717,11 +735,6 @@ safety and thread safety guarantees.")
((file) file))
(("fn ctrl_c_kills_everyone")
"#[ignore]\nfn ctrl_c_kills_everyone"))))
- (add-after 'configure 'enable-docs
- (lambda _
- (substitute* "config.toml"
- (("docs = false")
- "docs = true"))))
(add-after 'configure 'add-gdb-to-config
(lambda* (#:key inputs #:allow-other-keys)
(let ((gdb (assoc-ref inputs "gdb")))
@@ -775,4 +788,22 @@ safety and thread safety guarantees.")
;;; intermediate rusts are built for bootstrapping purposes and should not
;;; be relied upon. This is to ease maintenance and reduce the time
;;; required to build the full Rust bootstrap chain.
-(define-public rust rust-1.54)
+(define-public rust rust-1.57)
+
+(define-public rust-src
+ (hidden-package
+ (package
+ (inherit rust)
+ (name "rust-src")
+ (build-system copy-build-system)
+ (native-inputs '())
+ (inputs '())
+ (native-search-paths '())
+ (outputs '("out"))
+ (arguments
+ `(#:install-plan
+ '(("library" "lib/rustlib/src/rust/library")
+ ("src" "lib/rustlib/src/rust/src"))))
+ (synopsis "Source code for the Rust standard library")
+ (description "This package provide source code for the Rust standard
+library, only use by rust-analyzer, make rust-analyzer out of the box."))))
diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm
index bb5b402eee..4330b1b9af 100644
--- a/gnu/packages/samba.scm
+++ b/gnu/packages/samba.scm
@@ -9,7 +9,7 @@
;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2019 Rutger Helling <rhelling@mykolab.com>
;;; Copyright © 2020 Pierre Langlois <pierre.langlois@gmx.com>
-;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2020, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -27,6 +27,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages samba)
+ #:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
@@ -55,6 +56,7 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages popt)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages readline)
#:use-module (gnu packages time)
@@ -181,64 +183,58 @@ external dependencies.")
(define-public samba
(package
(name "samba")
- (version "4.13.14")
+ (version "4.15.3")
(source
(origin
(method url-fetch)
(uri (string-append "https://download.samba.org/pub/samba/stable/"
"samba-" version ".tar.gz"))
(sha256
- (base32 "103zy09mszjlfrsnm2vzrw5d9ph5jckddb9cxsrhrslkzblah4b6"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- ;; XXX: Some bundled libraries (e.g, popt, cmocka) are used from
- ;; the system, but their bundled sources must be kept as they
- ;; include the WAF scripts used for detecting them.
- (delete-file-recursively "third_party/pyiso8601")
- #t))))
+ (base32 "1nrp85aya0pbbqdqjaqcw82cnzzys16yls37hi2h6mci8d09k4si"))))
(build-system gnu-build-system)
(arguments
- `(#:make-flags '("TEST_OPTIONS=--quick") ;some tests are very long
- #:phases
- (modify-phases %standard-phases
- (add-before 'configure 'setup-docbook-stylesheets
- (lambda* (#:key inputs #:allow-other-keys)
- ;; Append Samba's own DTDs to XML_CATALOG_FILES
- ;; (c.f. docs-xml/build/README).
- (copy-file "docs-xml/build/catalog.xml.in"
- "docs-xml/build/catalog.xml")
- (substitute* "docs-xml/build/catalog.xml"
- (("/@abs_top_srcdir@")
- (string-append (getcwd) "/docs-xml")))
- ;; Honor XML_CATALOG_FILES.
- (substitute* "buildtools/wafsamba/wafsamba.py"
- (("XML_CATALOG_FILES=\"\\$\\{SAMBA_CATALOGS\\}" all)
- (string-append all " $XML_CATALOG_FILES")))
- #t))
- (replace 'configure
- ;; Samba uses a custom configuration script that runs WAF.
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (libdir (string-append out "/lib")))
- (invoke "./configure"
- "--enable-selftest"
- "--enable-fhs"
- (string-append "--prefix=" out)
- "--sysconfdir=/etc"
- "--localstatedir=/var"
- ;; Install public and private libraries into
- ;; a single directory to avoid RPATH issues.
- (string-append "--libdir=" libdir)
- (string-append "--with-privatelibdir=" libdir)))))
- (add-before 'install 'disable-etc,var-samba-directories-setup
- (lambda _
- (substitute* "dynconfig/wscript"
- (("bld\\.INSTALL_DIR.*") ""))
- #t)))
- ;; FIXME: The test suite seemingly hangs after failing to provision the
- ;; test environment.
- #:tests? #f))
+ (list
+ #:make-flags #~(list "TEST_OPTIONS=--quick") ;some tests are very long
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'configure 'setup-docbook-stylesheets
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; Append Samba's own DTDs to XML_CATALOG_FILES
+ ;; (c.f. docs-xml/build/README).
+ (copy-file "docs-xml/build/catalog.xml.in"
+ "docs-xml/build/catalog.xml")
+ (substitute* "docs-xml/build/catalog.xml"
+ (("/@abs_top_srcdir@")
+ (string-append (getcwd) "/docs-xml")))
+ ;; Honor XML_CATALOG_FILES.
+ (substitute* "buildtools/wafsamba/wafsamba.py"
+ (("XML_CATALOG_FILES=\"\\$\\{SAMBA_CATALOGS\\}" all)
+ (string-append all " $XML_CATALOG_FILES")))))
+ (replace 'configure
+ ;; Samba uses a custom configuration script that runs WAF.
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let* ((libdir (string-append #$output "/lib")))
+ (invoke "./configure"
+ "--enable-selftest"
+ "--enable-fhs"
+ (string-append "--prefix=" #$output)
+ "--sysconfdir=/etc"
+ "--localstatedir=/var"
+ ;; Install public and private libraries into
+ ;; a single directory to avoid RPATH issues.
+ (string-append "--libdir=" libdir)
+ (string-append "--with-privatelibdir=" libdir)
+ "--with-system-mitkrb5" ;#$(this-package-input "mit-krb5")
+ (string-append "--with-system-mitkdc="
+ (search-input-file inputs "sbin/krb5kdc"))
+ "--with-experimental-mit-ad-dc"))))
+ (add-before 'install 'disable-etc,var-samba-directories-setup
+ (lambda _
+ (substitute* "dynconfig/wscript"
+ (("bld\\.INSTALL_DIR.*") "")))))
+ ;; FIXME: The test suite seemingly hangs after failing to provision the
+ ;; test environment.
+ #:tests? #f))
(inputs
(list acl
cmocka
@@ -247,12 +243,12 @@ external dependencies.")
dbus
gpgme
gnutls
- heimdal
jansson
libarchive
libtirpc
linux-pam
lmdb
+ mit-krb5
openldap
perl
python
@@ -263,15 +259,19 @@ external dependencies.")
;; In Requires or Requires.private of pkg-config files.
(list ldb talloc tevent))
(native-inputs
- `(("perl-parse-yapp" ,perl-parse-yapp)
- ("pkg-config" ,pkg-config)
- ("python-iso8601" ,python-iso8601)
- ("rpcsvc-proto" ,rpcsvc-proto) ; for 'rpcgen'
- ;; For generating man pages.
- ("docbook-xml" ,docbook-xml-4.2)
- ("docbook-xsl" ,docbook-xsl)
- ("xsltproc" ,libxslt)
- ("libxml2" ,libxml2))) ;for XML_CATALOG_FILES
+ (list perl-parse-yapp
+ pkg-config
+ python-cryptography ;for krb5 tests
+ python-dnspython
+ python-iso8601
+ python-markdown
+ rpcsvc-proto ;for 'rpcgen'
+ python-pyasn1 ;for krb5 tests
+ ;; For generating man pages.
+ docbook-xml-4.2
+ docbook-xsl
+ libxslt
+ libxml2)) ;for XML_CATALOG_FILES
(home-page "https://www.samba.org/")
(synopsis
"The standard Windows interoperability suite of programs for GNU and Unix")
@@ -286,15 +286,16 @@ Desktops into Active Directory environments using the winbind daemon.")
(define-public samba/fixed
;; Version that rarely changes, depended on by libsoup.
- (package/inherit samba
- (version "4.13.10")
- (source
- (origin
- (inherit (package-source samba))
- (uri (string-append "https://download.samba.org/pub/samba/stable/"
- "samba-" version ".tar.gz"))
- (sha256
- (base32 "00q5hf2r71dyma785dckcyksv3082mqfgyy9q6k6rc6kqjwkirzh"))))))
+ (hidden-package
+ (package/inherit samba
+ (version "4.15.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://download.samba.org/pub/samba/stable/"
+ "samba-" version ".tar.gz"))
+ (sha256
+ (base32 "1nrp85aya0pbbqdqjaqcw82cnzzys16yls37hi2h6mci8d09k4si")))))))
(define-public talloc
(package
diff --git a/gnu/packages/scanner.scm b/gnu/packages/scanner.scm
index 02424f0da2..e7a5a2b210 100644
--- a/gnu/packages/scanner.scm
+++ b/gnu/packages/scanner.scm
@@ -2,7 +2,7 @@
;;; Copyright © 2014 John Darrington <jmd@gnu.org>
;;; Copyright © 2015 Andy Wingo <wingo@igalia.com>
;;; Copyright © 2016 Andy Patterson <ajpatter@uwaterloo.ca>
-;;; Copyright © 2017, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2017, 2019, 2020, 2022 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
@@ -23,6 +23,7 @@
(define-module (gnu packages scanner)
#:use-module (gnu packages)
#:use-module (gnu packages autotools)
+ #:use-module (gnu packages avahi)
#:use-module (gnu packages compression)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gettext)
@@ -35,15 +36,70 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages textutils)
+ #:use-module (gnu packages tls)
#:use-module (gnu packages xml)
#:use-module (guix build-system gnu)
#:use-module (guix download)
#:use-module (guix git-download)
+ #:use-module (guix gexp)
#:use-module ((guix licenses)
#:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils))
+(define-public sane-airscan
+ (package
+ (name "sane-airscan")
+ (version "0.99.27")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/alexpevzner/sane-airscan")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1syxsih1kdnz9slsg5a92bqnllagm4cybqk4n2y6mbkqn6h0zlnv"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list #:make-flags
+ #~(list (string-append "prefix=" #$output)
+ (string-append "libdir=$(prefix)/lib"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure )))) ; no configure script
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list avahi
+ gnutls
+ libjpeg-turbo
+ libpng
+ libxml2
+ sane-backends))
+ (home-page "https://github.com/alexpevzner/sane-airscan")
+ (synopsis "SANE backend for eSCL (AirScan) and WSD document scanners")
+ (description ; no @acronym{eSCL} because the meaning isn't officially known
+ "This SANE backend lets you scan documents and images from scanners and
+multi-function printers that speak eSCL (marketed as ``AirScan'') or
+@acronym{WSD, Web Services for Devices} (or ``WS-Scan'').
+
+Both are vendor-neutral protocols that allow ``driverless'' scanning over IPv4
+and IPv6 networks without the vendor-specific drivers that make up most of the
+sane-backends collection. This is similar to how most contemporary printers
+speak the universal @acronym{IPP, Internet Printing Protocol}.
+
+Only scanners that support eSCL will also work over USB. This requires a
+suitable IPP-over-USB daemon like ipp-usb to be installed and configured.
+
+Any eSCL or WSD-capable scanner should just work. sane-airscan automatically
+discovers and configures devices, including which protocol to use. It was
+successfully tested with many devices from Brother, Canon, Dell, Kyocera,
+Lexmark, Epson, HP, OKI, Panasonic, Pantum, Ricoh, Samsung, and Xerox, with both
+WSD and eSCL.")
+ (license (list license:gpl2+ ; the combined work
+ license:expat)))) ; http_parser.[ch]
+
(define-public sane-backends-minimal
(package
(name "sane-backends-minimal")
@@ -207,29 +263,29 @@ package contains the library and drivers.")))
(base32 "0pvy4qirfjdfm8aj6x5rkbgl7hk3jfa2s21qkk8ic5dqfjjab75n"))))
(build-system gnu-build-system)
(arguments
- `(#:configure-flags
- (list "--disable-debug"
- "--sysconfdir=/etc")
- #:phases
- (modify-phases %standard-phases
- (replace 'install
- (lambda* (#:key make-flags outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (conf (string-append out "/etc/scanbd")))
- (apply invoke "make" "install"
- ;; Install example configuration to the store, not /etc.
- ;; These don't inherit from each other, so we need both.
- (string-append "scanbdconfdir=" conf)
- (string-append "scannerconfdir=" conf "/scanner.d")
- make-flags))))
- (add-after 'install 'install-extra-documentation
- ;; The README provides more detailed set-up instructions than the
- ;; man page.
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (doc (string-append out "/share/doc/"
- ,name "-" ,version)))
- (install-file "doc/README.txt" doc)))))))
+ (list #:configure-flags
+ #~(list "--disable-debug"
+ "--sysconfdir=/etc"
+ "CFLAGS=-Wno-error") ; warnings should never be fatal
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'install
+ (lambda* (#:key make-flags #:allow-other-keys)
+ (let ((conf (string-append #$output "/etc/scanbd")))
+ (apply invoke "make" "install"
+ ;; Install example configuration to the store, not
+ ;; /etc. These don't inherit from each other, so
+ ;; we need both.
+ (string-append "scanbdconfdir=" conf)
+ (string-append "scannerconfdir=" conf "/scanner.d")
+ make-flags))))
+ (add-after 'install 'install-extra-documentation
+ ;; The README provides more detailed set-up instructions than
+ ;; the man page.
+ (lambda _
+ (let ((doc (string-append #$output "/share/doc/"
+ #$name "-" #$version)))
+ (install-file "doc/README.txt" doc)))))))
(native-inputs
(list pkg-config))
(inputs
diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
index f9ffa25f5a..378a5b4959 100644
--- a/gnu/packages/scheme.scm
+++ b/gnu/packages/scheme.scm
@@ -17,6 +17,7 @@
;;; Copyright © 2021 Philip McGrath <philip@philipmcgrath.com>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo@hotmail.com>
+;;; Copyright © 2022 Morgan Smith <Morgan.J.Smith@outlook.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -220,7 +221,7 @@
(supported-systems '("x86_64-linux" "i686-linux"))
(home-page "https://www.gnu.org/software/mit-scheme/")
- (synopsis "A Scheme implementation with integrated editor and debugger")
+ (synopsis "Scheme implementation with integrated editor and debugger")
(description
"GNU/MIT Scheme is an implementation of the Scheme programming
language. It provides an interpreter, a compiler and a debugger. It also
@@ -560,14 +561,14 @@ regular-expression notation.")
(define-public slib
(package
(name "slib")
- (version "3b5")
+ (version "3b6")
(source (origin
(method url-fetch)
(uri (string-append "http://groups.csail.mit.edu/mac/ftpdir/scm/slib-"
version ".zip"))
(sha256
(base32
- "0q0p2d53p8qw2592yknzgy2y1p5a9k7ppjx0cfrbvk6242c4mdpq"))))
+ "137dn2wwwwg0qbifgxfckjhzj4m4820crpg9kziv402l7f2b931f"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; There is no check target.
@@ -621,7 +622,7 @@ utility functions for all standard Scheme implementations.")
(replace 'build
(lambda* (#:key inputs outputs #:allow-other-keys)
(setenv "SCHEME_LIBRARY_PATH"
- (search-input-directory inputs "lib/slib"))
+ (search-input-directory inputs "lib/slib/"))
(invoke "make" "scmlit" "CC=gcc")
(invoke "make" "all")))
(add-after 'install 'post-install
@@ -631,7 +632,7 @@ utility functions for all standard Scheme implementations.")
(delete-file req)
(format (open req (logior O_WRONLY O_CREAT))
"(define (library-vicinity) ~s)\n"
- (search-input-directory inputs "lib/slib"))
+ (search-input-directory inputs "lib/slib/"))
;; We must generate the slibcat file.
(invoke (string-append out "/bin/scm")
diff --git a/gnu/packages/scribus.scm b/gnu/packages/scribus.scm
index 1da289c010..8669ed0db5 100644
--- a/gnu/packages/scribus.scm
+++ b/gnu/packages/scribus.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015, 2018 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
-;;; Copyright © 2017, 2018, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
+;;; Copyright © 2017, 2018, 2021, 2022 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
@@ -49,47 +49,47 @@
(define-public scribus
(package
(name "scribus")
- (version "1.5.7")
+ (version "1.5.8")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/scribus/scribus-devel/"
version "/scribus-" version ".tar.xz"))
(sha256
- (base32 "1kpq4vc95hj3w8l205kh0pmdlisi4v1gilz0sf8n39y7ryr1d0ri"))))
+ (base32 "0x3bw58v920akca8jxvsfwf468pzjyglk93ay67ph1bdry7nx0a7"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f ;no test target
#:configure-flags
'("-DWANT_GRAPHICSMAGICK=1")))
(inputs
- `(("boost" ,boost)
- ("cairo" ,cairo)
- ("cups" ,cups)
- ("fontconfig" ,fontconfig)
- ("freetype" ,freetype)
- ("graphicsmagick" ,graphicsmagick)
- ("harfbuzz" ,harfbuzz)
- ("hunspell" ,hunspell)
- ("icu4c" ,icu4c)
- ("lcms" ,lcms)
- ("libcdr" ,libcdr)
- ("libfreehand" ,libfreehand)
- ("libjpeg" ,libjpeg-turbo)
- ("libmspub" ,libmspub)
- ("libpagemaker" ,libpagemaker)
- ("librevenge" ,librevenge)
- ("libtiff" ,libtiff)
- ("libvisio" ,libvisio)
- ("libxml2" ,libxml2)
- ("libzmf" ,libzmf)
- ("openssl" ,openssl)
- ("podofo" ,podofo)
- ("poppler" ,poppler)
- ("python" ,python) ; need Python library
- ("qtbase" ,qtbase-5)
- ("qtdeclarative" ,qtdeclarative)
- ("zlib" ,zlib)))
+ (list boost
+ cairo
+ cups
+ fontconfig
+ freetype
+ graphicsmagick
+ harfbuzz
+ hunspell
+ icu4c
+ lcms
+ libcdr
+ libfreehand
+ libjpeg-turbo
+ libmspub
+ libpagemaker
+ librevenge
+ libtiff
+ libvisio
+ libxml2
+ libzmf
+ openssl
+ podofo
+ poppler
+ python ;need Python library
+ qtbase-5
+ qtdeclarative
+ zlib))
(native-inputs
(list pkg-config qttools util-linux))
(home-page "https://www.scribus.net")
diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm
index 5d860fb756..ea1c555201 100644
--- a/gnu/packages/search.scm
+++ b/gnu/packages/search.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 Alexandr Vityazev <avityazev@posteo.org>
+;;; Copyright © 2021, 2022 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -37,6 +38,7 @@
#:use-module (guix build-system meson)
#:use-module (gnu packages)
#:use-module (gnu packages aspell)
+ #:use-module (gnu packages autotools)
#:use-module (gnu packages base)
#:use-module (gnu packages compression)
#:use-module (gnu packages check)
@@ -44,7 +46,11 @@
#:use-module (gnu packages ebook)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gawk)
+ #:use-module (gnu packages gettext)
+ #:use-module (gnu packages glib)
#:use-module (gnu packages groff)
+ #:use-module (gnu packages gtk)
+ #:use-module (gnu packages icu4c)
#:use-module (gnu packages less)
#:use-module (gnu packages linux)
#:use-module (gnu packages pcre)
@@ -290,6 +296,37 @@ accounting for new lines and paragraph changes. It also has robust support
for parsing HTML files.")
(license gpl3+)))
+(define-public fsearch
+ (package
+ (name "fsearch")
+ (version "0.1.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/cboxdoerfer/fsearch")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0vfwnx83zs0jymmzjww1k597sj3wvc9xq0nbslwci58rjpk3d0lg"))))
+ (build-system meson-build-system)
+ (native-inputs
+ (list autoconf
+ automake
+ gettext-minimal
+ `(,glib "bin") ;for glib-compile-resources
+ intltool
+ libtool
+ pkg-config))
+ (inputs
+ (list gtk+ icu4c pcre))
+ (home-page "https://github.com/cboxdoerfer/fsearch")
+ (synopsis "Fast file search utility")
+ (description
+ "FSearch is a fast file search utility, inspired by Everything
+Search Engine. It is written in C and based on GTK3.")
+ (license gpl2+)))
+
(define-public recoll
(package
(name "recoll")
diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm
index 6a3e2d9179..8190e1e1e2 100644
--- a/gnu/packages/security-token.scm
+++ b/gnu/packages/security-token.scm
@@ -14,6 +14,7 @@
;;; Copyright © 2021 Sergey Trofimov <sarg@sarg.org.ru>
;;; Copyright © 2021 Dhruvin Gandhi <contact@dhruvin.dev>
;;; Copyright © 2021 Ahmad Jarara <git@ajarara.io>
+;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -53,6 +54,7 @@
#:use-module (gnu packages dns)
#:use-module (gnu packages gettext)
#:use-module (gnu packages graphviz)
+ #:use-module (gnu packages gnome)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages gtk)
#:use-module (gnu packages libbsd)
@@ -72,7 +74,9 @@
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages swig)
+ #:use-module (gnu packages suckless)
#:use-module (gnu packages web)
+ #:use-module (gnu packages xdisorg)
#:use-module (gnu packages xml))
(define-public ccid
@@ -443,6 +447,65 @@ PCSC API Python wrapper module.")
(define-public python2-pyscard
(package-with-python2 python-pyscard))
+(define-public yubikey-oath-dmenu
+ (package
+ (name "yubikey-oath-dmenu")
+ (version "0.13.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/emlun/yubikey-oath-dmenu")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1h6dr4l0gzgdg8zn2c39kx9cx1bgvwqxkz3z95qz9r70xfsghgwk"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:tests? #f ; there are no tests
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure) ; no configure script
+ (delete 'build) ; or build
+ (add-after 'unpack 'fix-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "yubikey-oath-dmenu.py"
+ (("'(dmenu|notify-send|wl-copy|xclip|xdotool)" _ tool)
+ (string-append
+ "'"
+ (search-input-file inputs
+ (string-append "/bin/" tool)))))))
+ (replace 'install
+ (lambda _
+ (invoke "make" "install"
+ (string-append "PREFIX=" #$output)))))))
+ (inputs
+ (list dmenu
+ libnotify
+ python-click
+ python-yubikey-manager
+ ;; TODO add wtype, once packaged, for type support for Wayland
+ wl-clipboard ; optional clipboard support for Wayland
+ xclip ; optional clipboard support for X11
+ xdotool)) ; optional type support for X11
+ (home-page
+ "https://github.com/emlun/yubikey-oath-dmenu/")
+ (synopsis "Interface for getting OATH codes from a YubiKey using dmenu")
+ (description
+ "Yubikey-oath-demenu lets you pick an OATH credential from your YubiKey using
+dmenu, and copies the corresponding OTP to the clipboard. Alternatively, it
+can \"type\" the OTP using @code{xdotool} on X11.
+
+Notable features:
+
+@itemize
+@item Pick between all credentials on all connected YubiKeys
+@item No mouse interaction required
+@end itemize\n")
+ (license license:gpl3+)))
+
(define-public libu2f-host
(package
(name "libu2f-host")
@@ -569,7 +632,7 @@ your existing infrastructure.")
(define-public python-fido2
(package
(name "python-fido2")
- (version "0.5.0")
+ (version "0.9.3")
(source (origin
(method url-fetch)
(uri
@@ -578,13 +641,17 @@ your existing infrastructure.")
version "/fido2-" version ".tar.gz"))
(sha256
(base32
- "1pl8d2pr6jzqj4y9qiaddhjgnl92kikjxy0bgzm2jshkzzic8mp3"))
+ "1v366h449f8q74jkmy1291ffj2345nm7cdsipgqvgz4w22k8jpml"))
(snippet
;; Remove bundled dependency.
- #~(delete-file "fido2/public_suffix_list.dat"))))
+ '(delete-file "fido2/public_suffix_list.dat"))))
(build-system python-build-system)
(arguments
- `(#:phases
+ `(;; This attempts to access
+ ;; /System/Library/Frameworks/IOKit.framework/IOKit
+ ;; The recommendation is to use tox for testing.
+ #:tests? #false
+ #:phases
(modify-phases %standard-phases
(add-after 'unpack 'install-public-suffix-list
(lambda* (#:key inputs #:allow-other-keys)
@@ -594,8 +661,7 @@ your existing infrastructure.")
"/share/public-suffix-list-"
,(package-version public-suffix-list)
"/public_suffix_list.dat"))
- "fido2/public_suffix_list.dat")
- #t)))))
+ "fido2/public_suffix_list.dat"))))))
(propagated-inputs
(list python-cryptography python-six))
(native-inputs
@@ -621,7 +687,7 @@ implementing a Relying Party.")
(define-public python-yubikey-manager
(package
(name "python-yubikey-manager")
- (version "2.1.0")
+ (version "4.0.7")
(source (origin
(method url-fetch)
(uri (string-append
@@ -629,25 +695,13 @@ implementing a Relying Party.")
"/yubikey-manager-" version ".tar.gz"))
(sha256
(base32
- "11rsmcaj60k3y5m5gdhr2nbbz0w5dm3m04klyxz0fh5hnpcmr7fm"))))
+ "0kzwal7i4kyywm4f5zh8b823mh0ih2nsh5c0c4dfn4vw3j5dnwlr"))))
(build-system python-build-system)
(arguments
- '(#:modules ((srfi srfi-1)
- (guix build utils)
- (guix build python-build-system))
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-libykpers-reference
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "ykman/driver_otp.py"
- (("Ykpers\\('ykpers-1', '1'\\)")
- (string-append
- "Ykpers('"
- (find (negate symbolic-link?)
- (find-files (assoc-ref inputs "yubikey-personalization")
- "^libykpers-.*\\.so\\..*"))
- "')")))
- #t)))))
+ '(;; This attempts to access
+ ;; /System/Library/Frameworks/IOKit.framework/IOKit
+ ;; The recommendation is to use tox for testing.
+ #:tests? #false))
(propagated-inputs
(list python-six
python-pyscard
@@ -657,7 +711,7 @@ implementing a Relying Party.")
python-pyopenssl
python-fido2))
(inputs
- (list yubikey-personalization pcsc-lite libusb))
+ (list pcsc-lite))
(native-inputs
(list swig python-mock))
(home-page "https://developers.yubico.com/yubikey-manager/")
diff --git a/gnu/packages/sequoia.scm b/gnu/packages/sequoia.scm
index 3757fdd971..a8d21ac1a4 100644
--- a/gnu/packages/sequoia.scm
+++ b/gnu/packages/sequoia.scm
@@ -19,12 +19,15 @@
(define-module (gnu packages sequoia)
#:use-module (guix build-system cargo)
+ #:use-module (guix build-system trivial)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
+ #:use-module (guix gexp)
#:use-module (guix utils)
#:use-module (gnu packages)
+ #:use-module (gnu packages base) ; glibc
#:use-module (gnu packages check) ;; python-pytest
#:use-module (gnu packages crates-io)
#:use-module (gnu packages libffi) ;; python-cffi
@@ -35,183 +38,518 @@
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz) ;; python-setuptools
#:use-module (gnu packages rust)
- #:use-module (gnu packages serialization)
- #:use-module (gnu packages sqlite)
#:use-module (gnu packages tls))
-(define-public sequoia
+(define-public rust-sequoia-autocrypt-0.23
(package
- (name "sequoia")
- (version "1.1.0")
+ (name "rust-sequoia-autocrypt")
+ (version "0.23.1")
(source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://gitlab.com/sequoia-pgp/sequoia.git")
- (commit (string-append "openpgp/v" version))))
- (sha256
- (base32 "0knkm0nw1h4ww51vks4jnnp1yc45llfi7j0i70f6vf2bcknnbmci"))
- (file-name (git-file-name name version))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sequoia-autocrypt" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0skj0dv15341v470g6w5pggsl0iy27qb8h24rr8k6rq7vxdjxl7g"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-base64" ,rust-base64-0.13)
+ ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'remove-other-crypto-features
+ (lambda _
+ (substitute* "Cargo.toml"
+ (("^crypto-cng =" line) (string-append "# " line))
+ (("^crypto-rust =" line) (string-append "# " line))))))))
+ (home-page "https://sequoia-pgp.org/")
+ (synopsis "Deal with Autocrypt encoded data")
+ (description "This crate implements low-level functionality like encoding
+and decoding of Autocrypt headers and setup messages. Note: Autocrypt is more
+than just headers; it requires tight integration with the MUA.")
+ (license license:lgpl2.0+)))
+
+(define-public rust-sequoia-ipc-0.26
+ (package
+ (name "rust-sequoia-ipc")
+ (version "0.26.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sequoia-ipc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0xyhz55g1igzjw46f667kqmbbk7pgqy2zf5p13zspr6bwv39s1yk"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-buffered-reader" ,rust-buffered-reader-1)
+ ("rust-capnp-rpc" ,rust-capnp-rpc-0.13)
+ ("rust-ctor" ,rust-ctor-0.1)
+ ("rust-dirs" ,rust-dirs-2)
+ ("rust-fs2" ,rust-fs2-0.4)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-lalrpop" ,rust-lalrpop-0.19)
+ ("rust-lalrpop-util" ,rust-lalrpop-util-0.19)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-memsec" ,rust-memsec-0.6)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
+ ("rust-socket2" ,rust-socket2-0.3)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-0.2)
+ ("rust-tokio-util" ,rust-tokio-util-0.3)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-clap" ,rust-clap-2)
+ ("rust-quickcheck" ,rust-quickcheck-0.9))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'remove-other-crypto-features
+ (lambda _
+ (substitute* "Cargo.toml"
+ (("^crypto-cng =" line) (string-append "# " line))
+ (("^crypto-rust =" line) (string-append "# " line))))))))
+ (home-page "https://sequoia-pgp.org/")
+ (synopsis "Interprocess communication infrastructure for Sequoia")
+ (description "Interprocess communication infrastructure for Sequoia")
+ (license license:lgpl2.0+)))
+
+(define-public rust-sequoia-net-0.23
+ (package
+ (name "rust-sequoia-net")
+ (version "0.23.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sequoia-net" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "05gv053zqnb00mrai5hva3i4909hn77bnh4z1g4b29cw5qb52cbl"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-http" ,rust-http-0.2)
+ ("rust-hyper" ,rust-hyper-0.13)
+ ("rust-hyper-tls" ,rust-hyper-tls-0.4)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-native-tls" ,rust-native-tls-0.2)
+ ("rust-percent-encoding" ,rust-percent-encoding-2)
+ ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-url" ,rust-url-2)
+ ("rust-zbase32" ,rust-zbase32-0.1))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'remove-other-crypto-features
+ (lambda _
+ (substitute* "Cargo.toml"
+ (("^crypto-cng =" line) (string-append "# " line))
+ (("^crypto-rust =" line) (string-append "# " line))))))))
+ (home-page "https://sequoia-pgp.org/")
+ (synopsis "Discover and publish OpenPGP certificates over the network")
+ (description "This package provides a crate to access keyservers using the
+HKP protocol, and searching and publishing Web Key Directories.")
+ (license license:lgpl2.0+)))
+
+(define-public rust-sequoia-openpgp-1
+ (package
+ (name "rust-sequoia-openpgp")
+ (version "1.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sequoia-openpgp" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1mdprsijszkg2j6jk1iq7q1z9yikq598y12m5zbv94fs37xlx3qm"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; Remove dependencies on rust-crypto and win32-cng
+ '(let* ((other-crypto-pkgs
+ (list ;; rust-crypto
+ "aes" "block-modes" "block-padding" "blowfish" "cast5"
+ "cipher" "des" "digest" "eax" "ed25519-dalek"
+ "generic-array" "idea" "md-5" "num-bigint-dig" "rand"
+ "ripemd160" "rsa" "sha-1" "sha2" "twofish" "typenum"
+ "x25519-dalek" "p256" "rand_core" "rand_core" "ecdsa"
+ ;; win32-cng
+ "eax" "winapi" "win-crypto-ng" "ed25519-dalek"
+ "num-bigint-dig"))
+ (pkgs-pattern (pk (string-join
+ (list "^\\[dependencies\\.("
+ (string-join other-crypto-pkgs "|")
+ ")\\]")
+ ""))))
+ (substitute* "Cargo.toml"
+ ((pkgs-pattern line name) (string-append "[off." name "]"))
+ (("^crypto-cng =" line) (string-append "# " line))
+ (("^crypto-rust =" line) (string-append "# " line))
+ (("^\\[(target\\.\"cfg\\(windows\\))" line name)
+ (string-append "[off." name)))))))
(build-system cargo-build-system)
- (outputs '("out" "python"))
(native-inputs
- (list clang pkg-config python-pytest python-pytest-runner
- python-wrapper))
+ (list clang pkg-config))
(inputs
- (list capnproto
- gmp
- nettle
- openssl
- python
- python-cffi
- sqlite))
+ (list gmp nettle))
(arguments
- `(#:tests? #f ;; building the tests requires 9.7GB total
- #:rust ,rust
+ `(#:skip-build? #t
#:cargo-inputs
(("rust-anyhow" ,rust-anyhow-1)
("rust-backtrace" ,rust-backtrace-0.3)
("rust-base64" ,rust-base64-0.13)
- ;;("rust-buffered-reader" included
+ ("rust-buffered-reader" ,rust-buffered-reader-1)
("rust-bzip2" ,rust-bzip2-0.4)
- ("rust-capnp" ,rust-capnp-0.13)
- ("rust-capnp-rpc" ,rust-capnp-rpc-0.13)
- ("rust-capnpc" ,rust-capnpc-0.13)
- ("rust-chrono" ,rust-chrono-0.4) ;; for sqv, sop
- ("rust-clap" ,rust-clap-2) ;; for sqv
- ("rust-colored" ,rust-colored-1.9.1)
- ("rust-crossterm" ,rust-crossterm-0.13)
- ("rust-ctor" ,rust-ctor-0.1)
- ("rust-dirs" ,rust-dirs-2)
+ ("rust-chrono" ,rust-chrono-0.4)
("rust-dyn-clone" ,rust-dyn-clone-1)
- ("rust-ed25519-dalek" ,rust-ed25519-dalek-1)
- ("rust-eax" ,rust-eax-0.3)
- ;;("rust-failure" included
- ("rust-filetime" ,rust-filetime-0.2)
("rust-flate2" ,rust-flate2-1)
- ("rust-fs2" ,rust-fs2-0.4)
- ("rust-futures" ,rust-futures-0.3)
- ("rust-futures-util" ,rust-futures-util-0.3)
- ("rust-http" ,rust-http-0.2)
- ("rust-hyper" ,rust-hyper-0.13)
- ("rust-hyper-tls" ,rust-hyper-tls-0.4)
("rust-idna" ,rust-idna-0.2)
- ("rust-itertools" ,rust-itertools-0.9) ;; for sq
+ ("rust-itertools" ,rust-itertools-0.10)
("rust-lalrpop" ,rust-lalrpop-0.19)
("rust-lalrpop-util" ,rust-lalrpop-util-0.19)
- ("rust-lazy-static" ,rust-lazy-static-1)
- ("rust-libc" ,rust-libc-0.2)
+ ("rust-lazy-static" ,rust-lazy-static-1) ;; 1.4.0
+ ("rust-libc" ,rust-libc-0.2) ;; 0.2.66
("rust-memsec" ,rust-memsec-0.6)
- ("rust-native-tls" ,rust-native-tls-0.2)
("rust-nettle" ,rust-nettle-7)
- ("rust-num-bigint-dig" ,rust-num-bigint-dig-0.6)
- ("rust-parity-tokio-ipc" ,rust-parity-tokio-ipc-0.4)
- ("rust-percent-encoding" ,rust-percent-encoding-2)
- ("rust-prettytable-rs" ,rust-prettytable-rs-0.8) ;; for sq
- ("rust-proc-macro2" ,rust-proc-macro2-1)
- ("rust-quickcheck" ,rust-quickcheck-0.9)
- ("rust-rand" ,rust-rand-0.7)
+ ("rust-plotters" ,rust-plotters-0.3)
("rust-regex" ,rust-regex-1)
- ("rust-rusqlite" ,rust-rusqlite-0.24)
+ ("rust-regex-syntax" ,rust-regex-syntax-0.6)
("rust-sha1collisiondetection" ,rust-sha1collisiondetection-0.2)
- ("rust-socket2", rust-socket2-0.3)
- ("rust-structopt" ,rust-structopt-0.3) ;; for sop
- ("rust-tempfile" ,rust-tempfile-3) ;; for sq
("rust-thiserror" ,rust-thiserror-1)
- ("rust-tokio" ,rust-tokio-0.2)
- ("rust-tokio-core" ,rust-tokio-core-0.1)
("rust-unicode-normalization" ,rust-unicode-normalization-0.1)
- ("rust-url" ,rust-url-2)
- ("rust-win-crypto-ng" ,rust-win-crypto-ng-0.4)
- ("rust-winapi" ,rust-winapi-0.3)
- ("rust-zbase32" ,rust-zbase32-0.1))
+ ("rust-xxhash-rust" ,rust-xxhash-rust-0.8))
#:cargo-development-inputs
- (("rust-assert-cli" ,rust-assert-cli-0.6) ;; dev-dep for for sq, sqv
- ("rust-bindgen" ,rust-bindgen-0.51) ;; FIXME for nettle-sys and rusqlite
- ;;("rust-lalrpop" ,rust-lalrpop-0.19)
+ ;; keep the development-inputs to allow running tests easily
+ (("rust-criterion" ,rust-criterion-0.3)
("rust-quickcheck" ,rust-quickcheck-0.9)
("rust-rand" ,rust-rand-0.7)
- ("rust-rpassword" ,rust-rpassword-5))
+ ("rust-rpassword" ,rust-rpassword-5))))
+ (home-page "https://sequoia-pgp.org/")
+ (synopsis "OpenPGP data types and associated machinery")
+ (description "This crate aims to provide a complete implementation of
+OpenPGP as defined by RFC 4880 as well as some extensions (e.g., RFC 6637,
+which describes ECC cryptography) for OpenPGP. This includes support for
+unbuffered message processing.
+
+A few features that the OpenPGP community considers to be deprecated (e.g.,
+version 3 compatibility) have been left out. The developers have also updated
+some OpenPGP defaults to avoid foot guns (e.g., they selected modern algorithm
+defaults).
+
+This Guix package is built to use the nettle cryptographic library.")
+ (license license:lgpl2.0+)))
+
+(define-public rust-sequoia-openpgp-0.9
+ (package
+ (inherit rust-sequoia-openpgp-1)
+ (name "rust-sequoia-openpgp")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sequoia-openpgp" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "007h2pi7lcph5jf5bxjydm7hjwjai33yk6dic3cxknki22lxlkfw"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-base64" ,rust-base64-0.9)
+ ("rust-buffered-reader" ,rust-buffered-reader-0.9)
+ ("rust-bzip2" ,rust-bzip2-0.3)
+ ("rust-failure" ,rust-failure-0.1)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-idna" ,rust-idna-0.1)
+ ("rust-lalrpop" ,rust-lalrpop-0.17)
+ ("rust-lalrpop-util" ,rust-lalrpop-util-0.17)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-memsec" ,rust-memsec-0.5)
+ ("rust-nettle" ,rust-nettle-5)
+ ("rust-quickcheck" ,rust-quickcheck-0.8)
+ ("rust-rand" ,rust-rand-0.6)
+ ("rust-sequoia-rfc2822" ,rust-sequoia-rfc2822-0.9)
+ ("rust-time" ,rust-time-0.1))))))
+
+(define-public rust-sequoia-rfc2822-0.9
+ (package
+ (name "rust-sequoia-rfc2822")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sequoia-rfc2822" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1aj34i6862718m162rqfv69fkmvdw063s6ws7hbp42n73gb08p5c"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-failure" ,rust-failure-0.1)
+ ("rust-lalrpop" ,rust-lalrpop-0.17)
+ ("rust-lalrpop-util" ,rust-lalrpop-util-0.17))))
+ (home-page "https://sequoia-pgp.org/")
+ (synopsis "RFC 2822 name-addr parser")
+ (description "Currently, this crate only recognizes the RFC 2822 name-addr
+and addr-spec productions, i.e., things of the form: @code{Name (Comment)
+<email@@example.org>} and @code{email@@example.org}
+
+Although the above appear simple to parse, RFC 2822's whitespace and comment
+rules are rather complex. This crate implements the whole grammar." )
+ (license license:gpl3)))
+
+(define-public sequoia-sq
+ (package
+ (name "sequoia-sq")
+ (version "0.25.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sequoia-sq" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0j26vpp98i7zwwhqsvwj0zknj4s0s0ilfqpynj1vgd5laanhyr0d"))))
+ (build-system cargo-build-system)
+ (inputs
+ (list nettle openssl))
+ (native-inputs
+ (list clang pkg-config))
+ (arguments
+ `(#:tests? #f ;; tests require data-files not provided in the package
+ #:install-source? #f
+ #:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-buffered-reader" ,rust-buffered-reader-1)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-clap" ,rust-clap-2)
+ ("rust-clap" ,rust-clap-2)
+ ("rust-itertools" ,rust-itertools-0.9)
+ ("rust-rpassword" ,rust-rpassword-5)
+ ("rust-sequoia-autocrypt" ,rust-sequoia-autocrypt-0.23)
+ ("rust-sequoia-net" ,rust-sequoia-net-0.23)
+ ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-term-size" ,rust-term-size-0.3)
+ ("rust-tokio" ,rust-tokio-0.2))
+ #:cargo-development-inputs
+ (("rust-assert-cli" ,rust-assert-cli-0.6))
#:phases
(modify-phases %standard-phases
- ;; Run make instead of using the rust build system, as
- ;; suggested by the installation instructions
- (replace 'build (lambda _ (invoke "make" "build-release") #t))
- (delete 'package) ;; cargo can't package a multi-crate workspace
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (if tests?
- (invoke "make" "check")
- #t)))
- (replace 'install (lambda _ (invoke "make" "install") #t))
- (add-after 'unpack 'fix-rand-dependency
+ (add-after 'unpack 'remove-other-crypto-features
(lambda _
- (substitute* "ipc/Cargo.toml"
- ;; required: enable rand::rngs::OsRng in rand >= 0.8
- (("(^rand =.*,) default-features = false(.*)" _ a b)
- (string-append a " features = [\"getrandom\"]" b)))
- #t))
- (add-after 'unpack 'fix-permissions
- (lambda _
- (chmod "sq/src/sq-usage.rs" #o644)
- (chmod "sqv/src/sqv-usage.rs" #o644)
- #t))
- (add-after 'unpack 'fix-environment
- (lambda* (#:key outputs #:allow-other-keys)
- ;; adjust prefix
- (setenv "PREFIX" (assoc-ref outputs "out"))
- ;; fix install script detection
- (setenv "INSTALL" "install")
- #t))
- (add-after 'unpack 'fix-fo-python-output
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out"))
- (pyout (assoc-ref outputs "python")))
- (substitute* "ffi/lang/python/Makefile"
- ;; adjust prefix for python package
- (("PREFIX\\s*\\??=.*")
- (string-append "PREFIX = " pyout "\n"))
- ;; fix rpath to include the main package
- (("\\WLDFLAGS=" text)
- (string-append text "'-Wl,-rpath=" out "/lib '"))
- ;; make setuptools install into the prefix, see
- ;; guix/build/python-build-system.scm for explanation
- (("\\ssetup.py\\s+install\\s")
- " setup.py install --root=/ --single-version-externally-managed "))
- #t)))
- (add-after 'unpack 'fix-pkgconfig-file-substitutes
- ;; preempt Makefiles replacing PREFIX by pwd
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (substitute* "ffi/sequoia.pc.in"
- (("PREFIX") out))
- (substitute* "openpgp-ffi/sequoia-openpgp.pc.in"
- (("PREFIX") out))
- #t)))
- (add-after 'unpack 'keep-SOURCE_DATE_EPOCH
+ (substitute* "Cargo.toml"
+ (("^crypto-cng =" line) (string-append "# " line))
+ (("^crypto-rust =" line) (string-append "# " line))))))))
+ (home-page "https://sequoia-pgp.org/")
+ (synopsis "Command-line frontend for Sequoia OpenPGP")
+ (description "This package provides the command-line frontend for Sequoia
+OpenPGP.
+
+This Guix package is built to use the nettle cryptographic library.")
+ (license license:lgpl2.0+)))
+
+(define-public sequoia-sqv
+ (package
+ (name "sequoia-sqv")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sequoia-sqv" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0nrfjn64fm038x5dssipf7jxi27z741m5n5a7zsa9768zab1hr9d"))))
+ (build-system cargo-build-system)
+ (inputs
+ (list nettle openssl))
+ (native-inputs
+ (list clang pkg-config))
+ (arguments
+ `(#:tests? #f ;; tests require data-files not provided in the package
+ #:install-source? #f
+ #:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-clap" ,rust-clap-2)
+ ("rust-clap" ,rust-clap-2)
+ ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1))
+ #:cargo-development-inputs
+ (("rust-assert-cli" ,rust-assert-cli-0.6))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'remove-other-crypto-features
(lambda _
- ;; preempt Makefiles replacing SOURCE_DATE_EPOCH
- (substitute* "Makefile"
- (("SOURCE_DATE_EPOCH\\s=" line)
- (string-append "#" line)))
- #t))
- (add-after 'unpack 'set-missing-env-vars
- (lambda* (#:key inputs #:allow-other-keys)
- ;; FIXME: why do we need to set this here?
- (setenv "LIBCLANG_PATH"
- (string-append (assoc-ref inputs "clang") "/lib"))
- #t))
- (add-after 'unpack 'unpin-deps
+ (substitute* "Cargo.toml"
+ (("^crypto-cng =" line) (string-append "# " line))
+ (("^crypto-rust =" line) (string-append "# " line))))))))
+ (home-page "https://sequoia-pgp.org/")
+ (synopsis "Simple OpenPGP signature verification program")
+ (description "@code{sqv} verifies detached OpenPGP signatures. It is a
+replacement for @code{gpgv}. Unlike @code{gpgv}, it can take additional
+constraints on the signature into account.
+
+This Guix package is built to use the nettle cryptographic library.")
+ (license license:lgpl2.0+)))
+
+(define (sequoia-package-origin version)
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/sequoia-pgp/sequoia.git")
+ (commit (string-append "openpgp/v" version))))
+ (sha256
+ (base32 "1cq1xgvllbpii5hfl3wlia2ayznpvhv8lq8g8ygwxga86ijg98lq"))
+ (file-name (git-file-name "sequoia" version))
+ (patches (search-patches "libsequoia-remove-store.patch"
+ "libsequoia-fix-ffi-Makefile.patch"))))
+
+(define-public libsequoia
+ (package
+ (name "libsequoia")
+ (version "0.22.0")
+ (source (sequoia-package-origin "1.6.0"))
+ (build-system cargo-build-system)
+ (outputs '("out" "python"))
+ (native-inputs
+ (list clang pkg-config python-pytest python-pytest-runner
+ python-wrapper))
+ (inputs
+ (list gmp nettle openssl python python-cffi))
+ (arguments
+ (list
+ #:tests? #f ;; TODO make python tests find the shared object file
+ #:cargo-inputs
+ `(("rust-anyhow" ,rust-anyhow-1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-memsec" ,rust-memsec-0.6)
+ ("rust-native-tls" ,rust-native-tls-0.2)
+ ("rust-proc-macro2" ,rust-proc-macro2-1) ;; for ffi-macros
+ ("rust-quote" ,rust-quote-1) ;; for ffi-macros
+ ("rust-sequoia-ipc" ,rust-sequoia-ipc-0.26)
+ ("rust-sequoia-net" ,rust-sequoia-net-0.23)
+ ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
+ ("rust-sha2" ,rust-sha2-0.8) ;; for ffi-macros
+ ("rust-tokio" ,rust-tokio-1.8))
+ #:cargo-development-inputs
+ `(("rust-filetime" ,rust-filetime-0.2))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'configure 'set-PREFIX
+ (lambda _
+ (setenv "PREFIX" #$output)))
+ (replace 'build
+ (lambda _
+ (invoke "make" "-C" "openpgp-ffi" "build-release")
+ (invoke "make" "-C" "ffi" "build-release")))
+ (delete 'package) ;; cargo can't package a multi-crate workspace
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (begin
+ (invoke "make" "-C" "openpgp-ffi" "check")
+ (invoke "make" "-C" "ffi" "check")))))
+ (replace 'install
+ (lambda _
+ (invoke "make" "-C" "openpgp-ffi" "install")
+ (invoke "make" "-C" "ffi" "install")))
+ (add-after 'configure 'fix-build-environment
+ (lambda _
+ (delete-file "Cargo.toml")
+ (symlink "../.cargo" "openpgp-ffi/.cargo")
+ (symlink "../.cargo" "ffi/.cargo")
+ (for-each delete-file-recursively
+ (find-files "guix-vendor" "^sequoia-[0-9]+\\.*"
+ #:directories? #t))))
+ (add-after 'unpack 'fix-for-python-output
+ (lambda _
+ (substitute* "ffi/lang/python/Makefile"
+ ;; adjust prefix for python package
+ (("PREFIX\\s*\\??=.*")
+ (string-append "PREFIX = " (pk #$output:python) "\n"))
+ ;; fix rpath to include the main package
+ (("\\WLDFLAGS=" text)
+ (string-append text "'-Wl,-rpath=" #$output "/lib '"))
+ ;; make setuptools install into the prefix, see
+ ;; guix/build/python-build-system.scm for explanation
+ (("\\ssetup.py\\s+install\\s")
+ " setup.py install --root=/ --single-version-externally-managed "))))
+ (add-after 'unpack 'fix-Makefiles
+ (lambda _
+ (substitute* '("openpgp-ffi/Makefile")
+ (("^check-headers: force-build") "check-headers:"))))
+ (add-after 'unpack 'remove-other-crypto-features
(lambda _
- ;; As the comment in that file explains, upstream encourages
- ;; unpinning, as the pinned version is only to make sure the crate
- ;; compiles on older versions of rustc
- (substitute* '("openpgp/Cargo.toml" "sq/Cargo.toml")
- (("= \"=") "= \""))
- #t)))))
+ (substitute* '("openpgp-ffi/Cargo.toml" "ffi/Cargo.toml")
+ (("^crypto-cng =" line) (string-append "# " line))
+ (("^crypto-rust =" line) (string-append "# " line)))))
+ (add-after 'unpack 'fix-missing-feature
+ (lambda _
+ (substitute* '("ffi/Cargo.toml")
+ (("^(tokio = .* features = \\[)" line)
+ (string-append line "\"net\", ")))))
+ (add-after 'unpack 'unbundle-crates
+ (lambda _
+ (substitute* '("openpgp-ffi/Cargo.toml" "ffi/Cargo.toml")
+ (("path = \"\\.\\./(openpgp|store|net|ipc)\",") "")))))))
+ (home-page "https://sequoia-pgp.org")
+ (synopsis "C/FFI interfaces for Sequoia-PGP")
+ (description "This package provides a C and FFI interface to both the
+low-level and a high-level API of Sequoia-PGP.
+
+Use with caution: This is an \"unofficial\" package, which are not officially
+released, but part of the Sequoia-PGP v1.6.0 archive. So this package might
+even go away.")
+ (license license:lgpl2.0+)))
+
+(define-public sequoia
+ (package
+ (name "sequoia")
+ (version "1.6.0")
+ (source #f)
+ (build-system trivial-build-system)
+ (outputs '("out" "python"))
+ (inputs
+ (list glibc ;; for ldconfig in make-dynamic-linker-cache
+ libsequoia
+ `(,libsequoia "python")
+ sequoia-sq
+ sequoia-sqv))
+ (arguments
+ (list
+ #:modules '((guix build utils) (guix build gnu-build-system)
+ (guix build gremlin) (guix elf))
+ #:builder
+ #~(begin
+ (use-modules (guix build utils) (guix build gnu-build-system))
+ (let ((make-dynamic-linker-cache
+ (assoc-ref %standard-phases 'make-dynamic-linker-cache))
+ (ld.so.cache
+ (string-append #$output "/etc/ld.so.cache")))
+ (copy-recursively #$libsequoia #$output)
+ (copy-recursively #$sequoia-sq #$output)
+ (delete-file ld.so.cache)
+ (copy-recursively #$sequoia-sqv #$output)
+ (delete-file ld.so.cache)
+ (copy-recursively #$libsequoia:python #$output:python)
+ (setenv "PATH"
+ (string-append (getenv "PATH") ":" #$glibc "/sbin"))
+ (make-dynamic-linker-cache #:outputs %outputs)))))
(home-page "https://sequoia-pgp.org")
- (synopsis "New OpenPGP implementation")
- (description "Sequoia is a new OpenPGP implementation. It consists of
-several crates, providing both a low-level and a high-level API for dealing
-with OpenPGP data.")
- (license license:gpl2+)))
+ (synopsis "New OpenPGP implementation (meta-package)")
+ (description "Sequoia is a new OpenPGP implementation, written in Rust,
+consisting of several Rust crates/packages. This Guix meta-package combines
+these packages into a single one for convenience. Anyhow, you should not
+depend other packages on this one avoid excessive compile-times for users.")
+ (license license:lgpl2.0+)))
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 346bb7cdbe..1652848705 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -17,7 +17,7 @@
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
-;;; Copyright © 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
+;;; Copyright © 2021, 2022 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
;;;
;;; This file is part of GNU Guix.
@@ -72,6 +72,7 @@
#:use-module (guix build-system trivial)
#:use-module (guix download)
#:use-module (guix git-download)
+ #:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils))
@@ -827,36 +828,35 @@ Shell (pdksh).")
(define-public oil
(package
(name "oil")
- (version "0.9.5")
+ (version "0.9.6")
(source
(origin
(method url-fetch)
(uri (string-append "https://www.oilshell.org/download/oil-"
version ".tar.gz"))
(sha256
- (base32 "0q29k500is2iif77dkpr7zncjg6ghzmmxs7c9pr2hjz8vvykv58x"))))
+ (base32 "01lmj4diqpla1gwwb1gh1shf4y74qhanpkzcsnb28458rxm1sq32"))))
(build-system gnu-build-system)
(arguments
- `(#:strip-binaries? #f ; strip breaks the binary
- #:phases
- (modify-phases %standard-phases
- (replace 'configure
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (setenv "CC" ,(cc-for-target))
- (substitute* "configure"
- ((" cc ") " $CC "))
- (invoke "./configure" (string-append "--prefix=" out)
- "--with-readline"))))
- (replace 'check
- ;; The tests are not distributed in the tarballs but upstream
- ;; recommends running this smoke test.
- ;; https://github.com/oilshell/oil/blob/release/0.8.0/INSTALL.txt#L38-L48
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (let* ((oil "_bin/oil.ovm"))
- (invoke/quiet oil "osh" "-c" "echo hi")
- (invoke/quiet oil "osh" "-n" "configure"))))))))
+ (list #:strip-binaries? #f ; strip breaks the binary
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'configure
+ (lambda _
+ (setenv "CC" #$(cc-for-target))
+ (substitute* "configure"
+ ((" cc ") " $CC "))
+ (invoke "./configure" (string-append "--prefix=" #$output)
+ "--with-readline")))
+ (replace 'check
+ ;; The tests are not distributed in the tarballs but upstream
+ ;; recommends running this smoke test.
+ ;; https://github.com/oilshell/oil/blob/release/0.8.0/INSTALL.txt#L38-L48
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (let* ((oil "_bin/oil.ovm"))
+ (invoke/quiet oil "osh" "-c" "echo hi")
+ (invoke/quiet oil "osh" "-n" "configure"))))))))
(inputs
(list readline))
(home-page "https://www.oilshell.org")
@@ -939,7 +939,7 @@ files and text.")
(define-public nushell
(package
(name "nushell")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method git-fetch)
@@ -948,7 +948,7 @@ files and text.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1db521jrs0yxwmvkkl8wssa8qyi0m62n69l7xxl2gpyz1v8nvw76"))))
+ (base32 "0d9nzfrmdal6vd1k35xmkj7hq1gwl3q0ivm31xks8p7641srs8id"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #false ;missing files
@@ -957,56 +957,37 @@ files and text.")
(("rust-ctrlc" ,rust-ctrlc-3)
("rust-futures" ,rust-futures-0.3)
("rust-itertools" ,rust-itertools-0.10)
- ("rust-mp4" ,rust-mp4-0.8)
- ("rust-nu-cli" ,rust-nu-cli-0.36)
- ("rust-nu-command" ,rust-nu-command-0.36)
- ("rust-nu-completion" ,rust-nu-completion-0.36)
- ("rust-nu-data" ,rust-nu-data-0.36)
- ("rust-nu-engine" ,rust-nu-engine-0.36)
- ("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-parser" ,rust-nu-parser-0.36)
- ("rust-nu-path" ,rust-nu-path-0.36)
- ("rust-nu-plugin" ,rust-nu-plugin-0.36)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
- ("rust-nu-value-ext" ,rust-nu-value-ext-0.36)
- ("rust-nu-plugin-binaryview"
- ,rust-nu-plugin-binaryview-0.36)
- ("rust-nu-plugin-chart"
- ,rust-nu-plugin-chart-0.36)
- ("rust-nu-plugin-fetch"
- ,rust-nu-plugin-fetch-0.36)
- ("rust-nu-plugin-from-bson"
- ,rust-nu-plugin-from-bson-0.36)
- ("rust-nu-plugin-from-sqlite"
- ,rust-nu-plugin-from-sqlite-0.36)
- ("rust-nu-plugin-inc" ,rust-nu-plugin-inc-0.36)
- ("rust-nu-plugin-match"
- ,rust-nu-plugin-match-0.36)
- ("rust-nu-plugin-post" ,rust-nu-plugin-post-0.36)
- ("rust-nu-plugin-ps" ,rust-nu-plugin-ps-0.36)
- ("rust-nu-plugin-query-json"
- ,rust-nu-plugin-query-json-0.36)
- ("rust-nu-plugin-s3" ,rust-nu-plugin-s3-0.36)
- ("rust-nu-plugin-selector"
- ,rust-nu-plugin-selector-0.36)
- ("rust-nu-plugin-start"
- ,rust-nu-plugin-start-0.36)
- ("rust-nu-plugin-sys" ,rust-nu-plugin-sys-0.36)
- ("rust-nu-plugin-textview"
- ,rust-nu-plugin-textview-0.36)
- ("rust-nu-plugin-to-bson"
- ,rust-nu-plugin-to-bson-0.36)
- ("rust-nu-plugin-to-sqlite"
- ,rust-nu-plugin-to-sqlite-0.36)
- ("rust-nu-plugin-tree" ,rust-nu-plugin-tree-0.36)
- ("rust-nu-plugin-xpath"
- ,rust-nu-plugin-xpath-0.36))
+ ("rust-mp4" ,rust-mp4-0.9)
+ ("rust-nu-cli" ,rust-nu-cli-0.43)
+ ("rust-nu-command" ,rust-nu-command-0.43)
+ ("rust-nu-completion" ,rust-nu-completion-0.43)
+ ("rust-nu-data" ,rust-nu-data-0.43)
+ ("rust-nu-engine" ,rust-nu-engine-0.43)
+ ("rust-nu-errors" ,rust-nu-errors-0.43)
+ ("rust-nu-parser" ,rust-nu-parser-0.43)
+ ("rust-nu-path" ,rust-nu-path-0.43)
+ ("rust-nu-plugin" ,rust-nu-plugin-0.43)
+ ("rust-nu-protocol" ,rust-nu-protocol-0.43)
+ ("rust-nu-source" ,rust-nu-source-0.43)
+ ("rust-nu-value-ext" ,rust-nu-value-ext-0.43)
+ ("rust-nu-plugin-binaryview" ,rust-nu-plugin-binaryview-0.43)
+ ("rust-nu-plugin-chart" ,rust-nu-plugin-chart-0.43)
+ ("rust-nu-plugin-from-bson" ,rust-nu-plugin-from-bson-0.43)
+ ("rust-nu-plugin-from-sqlite" ,rust-nu-plugin-from-sqlite-0.43)
+ ("rust-nu-plugin-inc" ,rust-nu-plugin-inc-0.43)
+ ("rust-nu-plugin-match" ,rust-nu-plugin-match-0.43)
+ ("rust-nu-plugin-query-json" ,rust-nu-plugin-query-json-0.43)
+ ("rust-nu-plugin-s3" ,rust-nu-plugin-s3-0.43)
+ ("rust-nu-plugin-selector" ,rust-nu-plugin-selector-0.43)
+ ("rust-nu-plugin-start" ,rust-nu-plugin-start-0.43)
+ ("rust-nu-plugin-textview" ,rust-nu-plugin-textview-0.43)
+ ("rust-nu-plugin-to-bson" ,rust-nu-plugin-to-bson-0.43)
+ ("rust-nu-plugin-to-sqlite" ,rust-nu-plugin-to-sqlite-0.43)
+ ("rust-nu-plugin-tree" ,rust-nu-plugin-tree-0.43)
+ ("rust-nu-plugin-xpath" ,rust-nu-plugin-xpath-0.43))
#:cargo-development-inputs
- (("rust-dunce" ,rust-dunce-1)
- ("rust-hamcrest2" ,rust-hamcrest2-0.3)
- ("rust-nu-test-support"
- ,rust-nu-test-support-0.36)
+ (("rust-hamcrest2" ,rust-hamcrest2-0.3)
+ ("rust-nu-test-support" ,rust-nu-test-support-0.43)
("rust-rstest" ,rust-rstest-0.10)
("rust-serial-test" ,rust-serial-test-0.5))))
(native-inputs
@@ -1030,22 +1011,22 @@ directory. These values can be piped through a series of steps, in a series
of commands called a ``pipeline''.")
(license license:expat)))
-(define-public rust-nu-ansi-term-0.36
+(define-public rust-nu-ansi-term-0.43
(package
(name "rust-nu-ansi-term")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu-ansi-term" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0p68s0djx4xr93vn7lh8774srazjw4dxsi3px8c8mbv0a4ixg5wr"))))
+ (base32 "08qrpysv98cn9hmqmvkzh9bax4220jnix17a6d5gn70ndrli6v53"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-itertools" ,rust-itertools-0.10)
+ (("rust-doc-comment" ,rust-doc-comment-0.3)
("rust-overload" ,rust-overload-0.1)
("rust-serde" ,rust-serde-1)
("rust-winapi" ,rust-winapi-0.3))))
@@ -1056,17 +1037,17 @@ of commands called a ``pipeline''.")
underline).")
(license license:expat)))
-(define-public rust-nu-cli-0.36
+(define-public rust-nu-cli-0.43
(package
(name "rust-nu-cli")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu-cli" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1zb6x6knn1hrpkyryniq73vkrgg9arqnxy50klm8963dnq49082v"))))
+ (base32 "10mfq3vd4bp286j2p3j0iqv4j9lfq3zj2jpab3bg2qwv9kislcv0"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -1075,141 +1056,118 @@ underline).")
("rust-indexmap" ,rust-indexmap-1)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-log" ,rust-log-0.4)
- ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.36)
- ("rust-nu-command" ,rust-nu-command-0.36)
- ("rust-nu-completion" ,rust-nu-completion-0.36)
- ("rust-nu-data" ,rust-nu-data-0.36)
- ("rust-nu-engine" ,rust-nu-engine-0.36)
- ("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-parser" ,rust-nu-parser-0.36)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
- ("rust-nu-stream" ,rust-nu-stream-0.36)
- ("rust-pretty-env-logger"
- ,rust-pretty-env-logger-0.4)
+ ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.43)
+ ("rust-nu-command" ,rust-nu-command-0.43)
+ ("rust-nu-completion" ,rust-nu-completion-0.43)
+ ("rust-nu-data" ,rust-nu-data-0.43)
+ ("rust-nu-engine" ,rust-nu-engine-0.43)
+ ("rust-nu-errors" ,rust-nu-errors-0.43)
+ ("rust-nu-parser" ,rust-nu-parser-0.43)
+ ("rust-nu-path" ,rust-nu-path-0.43)
+ ("rust-nu-protocol" ,rust-nu-protocol-0.43)
+ ("rust-nu-source" ,rust-nu-source-0.43)
+ ("rust-nu-stream" ,rust-nu-stream-0.43)
+ ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.4)
("rust-rustyline" ,rust-rustyline-9)
("rust-serde" ,rust-serde-1)
("rust-serde-yaml" ,rust-serde-yaml-0.8)
- ("rust-shadow-rs" ,rust-shadow-rs-0.6)
- ("rust-shadow-rs" ,rust-shadow-rs-0.6)
- ("rust-strip-ansi-escapes"
- ,rust-strip-ansi-escapes-0.1))))
+ ("rust-shadow-rs" ,rust-shadow-rs-0.8)
+ ("rust-shadow-rs" ,rust-shadow-rs-0.8)
+ ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.1))))
(home-page "https://www.nushell.sh")
(synopsis "CLI for nushell")
(description "CLI for nushell")
(license license:expat)))
-(define-public rust-nu-command-0.36
+(define-public rust-nu-command-0.43
(package
(name "rust-nu-command")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu-command" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0690iw3wn0jas04471dyvsqswbwxpab2qp2r3r5ma0za98s4p3ry"))))
+ (base32 "0zg9qgip9r831sj4y63p8js2pdl3cn1i1wly0kvad1wyn3wm67rr"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-arboard" ,rust-arboard-1)
- ("rust-base64" ,rust-base64-0.13)
- ("rust-bigdecimal-rs" ,rust-bigdecimal-rs-0.2)
- ("rust-byte-unit" ,rust-byte-unit-4)
- ("rust-bytes" ,rust-bytes-1)
+ (("rust-base64" ,rust-base64-0.13)
+ ("rust-bigdecimal" ,rust-bigdecimal-0.3)
("rust-calamine" ,rust-calamine-0.18)
("rust-chrono" ,rust-chrono-0.4)
("rust-chrono-tz" ,rust-chrono-tz-0.5)
- ("rust-codespan-reporting"
- ,rust-codespan-reporting-0.11)
("rust-crossterm" ,rust-crossterm-0.19)
("rust-csv" ,rust-csv-1)
("rust-ctrlc" ,rust-ctrlc-3)
("rust-derive-new" ,rust-derive-new-0.5)
("rust-digest" ,rust-digest-0.9)
- ("rust-directories-next"
- ,rust-directories-next-2)
("rust-dirs-next" ,rust-dirs-next-2)
("rust-dtparse" ,rust-dtparse-1)
- ("rust-dunce" ,rust-dunce-1)
("rust-eml-parser" ,rust-eml-parser-0.1)
("rust-encoding-rs" ,rust-encoding-rs-0.8)
("rust-filesize" ,rust-filesize-0.2)
- ("rust-fs-extra" ,rust-fs-extra-1)
("rust-futures" ,rust-futures-0.3)
- ("rust-getset" ,rust-getset-0.1)
("rust-glob" ,rust-glob-0.3)
+ ("rust-heck" ,rust-heck-0.4)
("rust-htmlescape" ,rust-htmlescape-0.3)
("rust-ical" ,rust-ical-0.7)
("rust-indexmap" ,rust-indexmap-1)
- ("rust-inflector" ,rust-inflector-0.11)
("rust-itertools" ,rust-itertools-0.10)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-log" ,rust-log-0.4)
("rust-md-5" ,rust-md-5-0.9)
("rust-meval" ,rust-meval-0.2)
- ("rust-minus" ,rust-minus-3)
- ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.36)
- ("rust-nu-data" ,rust-nu-data-0.36)
- ("rust-nu-engine" ,rust-nu-engine-0.36)
- ("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-json" ,rust-nu-json-0.36)
- ("rust-nu-parser" ,rust-nu-parser-0.36)
- ("rust-nu-path" ,rust-nu-path-0.36)
- ("rust-nu-plugin" ,rust-nu-plugin-0.36)
- ("rust-nu-pretty-hex" ,rust-nu-pretty-hex-0.36)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-serde" ,rust-nu-serde-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
- ("rust-nu-stream" ,rust-nu-stream-0.36)
- ("rust-nu-table" ,rust-nu-table-0.36)
- ("rust-nu-test-support"
- ,rust-nu-test-support-0.36)
- ("rust-nu-value-ext" ,rust-nu-value-ext-0.36)
- ("rust-num-bigint" ,rust-num-bigint-0.3)
+ ("rust-mime" ,rust-mime-0.3)
+ ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.43)
+ ("rust-nu-data" ,rust-nu-data-0.43)
+ ("rust-nu-engine" ,rust-nu-engine-0.43)
+ ("rust-nu-errors" ,rust-nu-errors-0.43)
+ ("rust-nu-json" ,rust-nu-json-0.43)
+ ("rust-nu-parser" ,rust-nu-parser-0.43)
+ ("rust-nu-path" ,rust-nu-path-0.43)
+ ("rust-nu-plugin" ,rust-nu-plugin-0.43)
+ ("rust-nu-pretty-hex" ,rust-nu-pretty-hex-0.43)
+ ("rust-nu-protocol" ,rust-nu-protocol-0.43)
+ ("rust-nu-serde" ,rust-nu-serde-0.43)
+ ("rust-nu-source" ,rust-nu-source-0.43)
+ ("rust-nu-stream" ,rust-nu-stream-0.43)
+ ("rust-nu-table" ,rust-nu-table-0.43)
+ ("rust-nu-test-support" ,rust-nu-test-support-0.43)
+ ("rust-nu-value-ext" ,rust-nu-value-ext-0.43)
+ ("rust-num-bigint" ,rust-num-bigint-0.4)
("rust-num-format" ,rust-num-format-0.4)
("rust-num-traits" ,rust-num-traits-0.2)
("rust-parking-lot" ,rust-parking-lot-0.11)
- ("rust-pin-utils" ,rust-pin-utils-0.1)
- ("rust-polars" ,rust-polars-0.15)
- ("rust-query-interface"
- ,rust-query-interface-0.3)
+ ("rust-polars" ,rust-polars-0.17)
("rust-quick-xml" ,rust-quick-xml-0.22)
- ("rust-quickcheck-macros"
- ,rust-quickcheck-macros-1)
+ ("rust-quickcheck-macros" ,rust-quickcheck-macros-1)
("rust-rand" ,rust-rand-0.8)
- ("rust-rayon" ,rust-rayon-1)
("rust-regex" ,rust-regex-1)
+ ("rust-reqwest" ,rust-reqwest-0.11)
("rust-roxmltree" ,rust-roxmltree-0.14)
- ("rust-rusqlite" ,rust-rusqlite-0.25)
("rust-rust-embed" ,rust-rust-embed-5)
("rust-rustyline" ,rust-rustyline-9)
("rust-serde" ,rust-serde-1)
- ("rust-serde-bytes" ,rust-serde-bytes-0.11)
("rust-serde-ini" ,rust-serde-ini-0.2)
("rust-serde-json" ,rust-serde-json-1)
- ("rust-serde-urlencoded"
- ,rust-serde-urlencoded-0.7)
+ ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7)
("rust-serde-yaml" ,rust-serde-yaml-0.8)
("rust-sha2" ,rust-sha2-0.9)
- ("rust-shadow-rs" ,rust-shadow-rs-0.6)
- ("rust-strip-ansi-escapes"
- ,rust-strip-ansi-escapes-0.1)
- ("rust-sxd-document" ,rust-sxd-document-0.3)
- ("rust-sxd-xpath" ,rust-sxd-xpath-0.4)
- ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-shadow-rs" ,rust-shadow-rs-0.8)
+ ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.1)
+ ("rust-sysinfo" ,rust-sysinfo-0.23)
("rust-term" ,rust-term-0.7)
("rust-term-size" ,rust-term-size-0.3)
- ("rust-termcolor" ,rust-termcolor-1)
("rust-thiserror" ,rust-thiserror-1)
("rust-titlecase" ,rust-titlecase-1)
+ ("rust-tokio" ,rust-tokio-1)
("rust-toml" ,rust-toml-0.5)
- ("rust-trash" ,rust-trash-1)
+ ("rust-trash" ,rust-trash-2)
("rust-umask" ,rust-umask-1)
- ("rust-unicode-segmentation"
- ,rust-unicode-segmentation-1)
+ ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
("rust-url" ,rust-url-2)
("rust-users" ,rust-users-0.11)
("rust-uuid" ,rust-uuid-0.8)
@@ -1220,10 +1178,10 @@ underline).")
(description "CLI for nushell")
(license license:expat)))
-(define-public rust-nu-completion-0.36
+(define-public rust-nu-completion-0.43
(package
(name "rust-nu-completion")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
@@ -1232,132 +1190,111 @@ underline).")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1kmn80cwpi8dd25vxm4r7ap35igfy4mqax20z31c51qwj2a8r6cx"))))
+ "1w04z9973zfv33lpbdjy3qn3nxkxc0a6y0zby6cwvg3vs0mkprdn"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-dirs-next" ,rust-dirs-next-2)
- ("rust-indexmap" ,rust-indexmap-1)
+ (("rust-indexmap" ,rust-indexmap-1)
("rust-is-executable" ,rust-is-executable-1)
- ("rust-nu-data" ,rust-nu-data-0.36)
- ("rust-nu-engine" ,rust-nu-engine-0.36)
- ("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-parser" ,rust-nu-parser-0.36)
- ("rust-nu-path" ,rust-nu-path-0.36)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
- ("rust-nu-test-support"
- ,rust-nu-test-support-0.36))))
+ ("rust-nu-data" ,rust-nu-data-0.43)
+ ("rust-nu-engine" ,rust-nu-engine-0.43)
+ ("rust-nu-parser" ,rust-nu-parser-0.43)
+ ("rust-nu-path" ,rust-nu-path-0.43)
+ ("rust-nu-protocol" ,rust-nu-protocol-0.43)
+ ("rust-nu-source" ,rust-nu-source-0.43)
+ ("rust-nu-test-support" ,rust-nu-test-support-0.43))))
(home-page "https://www.nushell.sh")
(synopsis "Completions for nushell")
(description "Completions for nushell")
(license license:expat)))
-(define-public rust-nu-data-0.36
+(define-public rust-nu-data-0.43
(package
(name "rust-nu-data")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu-data" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "02m4zyrgaxkpvvbknqang9cqbzqmbp8bvmvisxp5yijwadzjr66y"))))
+ (base32 "0fv4z61kp54jn03zkpv461im9cqdmd8xcl1j8pdpsglhbl1h6203"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-bigdecimal-rs" ,rust-bigdecimal-rs-0.2)
+ (("rust-bigdecimal" ,rust-bigdecimal-0.3)
("rust-byte-unit" ,rust-byte-unit-4)
("rust-chrono" ,rust-chrono-0.4)
("rust-common-path" ,rust-common-path-1)
("rust-derive-new" ,rust-derive-new-0.5)
- ("rust-directories-next"
- ,rust-directories-next-2)
- ("rust-dirs-next" ,rust-dirs-next-2)
+ ("rust-directories-next" ,rust-directories-next-2)
("rust-getset" ,rust-getset-0.1)
("rust-indexmap" ,rust-indexmap-1)
("rust-log" ,rust-log-0.4)
- ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.36)
- ("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
- ("rust-nu-table" ,rust-nu-table-0.36)
- ("rust-nu-test-support"
- ,rust-nu-test-support-0.36)
- ("rust-nu-value-ext" ,rust-nu-value-ext-0.36)
- ("rust-num-bigint" ,rust-num-bigint-0.3)
+ ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.43)
+ ("rust-nu-errors" ,rust-nu-errors-0.43)
+ ("rust-nu-path" ,rust-nu-path-0.43)
+ ("rust-nu-protocol" ,rust-nu-protocol-0.43)
+ ("rust-nu-source" ,rust-nu-source-0.43)
+ ("rust-nu-table" ,rust-nu-table-0.43)
+ ("rust-nu-test-support" ,rust-nu-test-support-0.43)
+ ("rust-nu-value-ext" ,rust-nu-value-ext-0.43)
+ ("rust-num-bigint" ,rust-num-bigint-0.4)
("rust-num-format" ,rust-num-format-0.4)
("rust-num-traits" ,rust-num-traits-0.2)
- ("rust-query-interface"
- ,rust-query-interface-0.3)
("rust-serde" ,rust-serde-1)
("rust-sha2" ,rust-sha2-0.9)
("rust-sys-locale" ,rust-sys-locale-0.1)
- ("rust-toml" ,rust-toml-0.5)
- ("rust-users" ,rust-users-0.11))))
+ ("rust-toml" ,rust-toml-0.5))))
(home-page "https://www.nushell.sh")
(synopsis "CLI for nushell")
(description "CLI for nushell")
(license license:expat)))
-(define-public rust-nu-engine-0.36
+(define-public rust-nu-engine-0.43
(package
(name "rust-nu-engine")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu-engine" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "03nngv2pcn10ydc1wq3chvd31rzgh4j7jrvkgmgps4ml1avn6yfr"))))
+ (base32 "0z2c06bmac992qyzrfa2b25z3zyg8laj9pxqfa51c6kqsyy41y28"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-ansi-term" ,rust-ansi-term-0.12)
- ("rust-async-recursion"
- ,rust-async-recursion-0.3)
- ("rust-async-trait" ,rust-async-trait-0.1)
- ("rust-bigdecimal-rs" ,rust-bigdecimal-rs-0.2)
- ("rust-bytes" ,rust-bytes-0.5)
+ (("rust-bigdecimal" ,rust-bigdecimal-0.3)
+ ("rust-bytes" ,rust-bytes-1)
("rust-chrono" ,rust-chrono-0.4)
- ("rust-codespan-reporting"
- ,rust-codespan-reporting-0.11)
+ ("rust-codespan-reporting" ,rust-codespan-reporting-0.11)
("rust-derive-new" ,rust-derive-new-0.5)
("rust-dirs-next" ,rust-dirs-next-2)
- ("rust-dunce" ,rust-dunce-1)
- ("rust-dyn-clone" ,rust-dyn-clone-1)
("rust-encoding-rs" ,rust-encoding-rs-0.8)
("rust-filesize" ,rust-filesize-0.2)
("rust-fs-extra" ,rust-fs-extra-1)
- ("rust-futures" ,rust-futures-0.3)
- ("rust-futures-util" ,rust-futures-util-0.3)
- ("rust-futures-codec" ,rust-futures-codec-0.4)
("rust-getset" ,rust-getset-0.1)
("rust-glob" ,rust-glob-0.3)
("rust-indexmap" ,rust-indexmap-1)
("rust-itertools" ,rust-itertools-0.10)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-log" ,rust-log-0.4)
- ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.36)
- ("rust-nu-data" ,rust-nu-data-0.36)
- ("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-parser" ,rust-nu-parser-0.36)
- ("rust-nu-path" ,rust-nu-path-0.36)
- ("rust-nu-plugin" ,rust-nu-plugin-0.36)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
- ("rust-nu-stream" ,rust-nu-stream-0.36)
- ("rust-nu-test-support"
- ,rust-nu-test-support-0.36)
- ("rust-nu-value-ext" ,rust-nu-value-ext-0.36)
- ("rust-num-bigint" ,rust-num-bigint-0.3)
- ("rust-num-format" ,rust-num-format-0.4)
- ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.43)
+ ("rust-nu-data" ,rust-nu-data-0.43)
+ ("rust-nu-errors" ,rust-nu-errors-0.43)
+ ("rust-nu-parser" ,rust-nu-parser-0.43)
+ ("rust-nu-path" ,rust-nu-path-0.43)
+ ("rust-nu-plugin" ,rust-nu-plugin-0.43)
+ ("rust-nu-protocol" ,rust-nu-protocol-0.43)
+ ("rust-nu-source" ,rust-nu-source-0.43)
+ ("rust-nu-stream" ,rust-nu-stream-0.43)
+ ("rust-nu-test-support" ,rust-nu-test-support-0.43)
+ ("rust-nu-value-ext" ,rust-nu-value-ext-0.43)
+ ("rust-num-bigint" ,rust-num-bigint-0.4)
("rust-parking-lot" ,rust-parking-lot-0.11)
("rust-rayon" ,rust-rayon-1)
("rust-serde" ,rust-serde-1)
@@ -1365,7 +1302,7 @@ underline).")
("rust-tempfile" ,rust-tempfile-3)
("rust-term-size" ,rust-term-size-0.3)
("rust-termcolor" ,rust-termcolor-1)
- ("rust-trash" ,rust-trash-1)
+ ("rust-trash" ,rust-trash-2)
("rust-umask" ,rust-umask-1)
("rust-users" ,rust-users-0.11)
("rust-which" ,rust-which-4))))
@@ -1374,30 +1311,29 @@ underline).")
(description "Core commands for nushell")
(license license:expat)))
-(define-public rust-nu-errors-0.36
+(define-public rust-nu-errors-0.43
(package
(name "rust-nu-errors")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu-errors" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0k5xpfl9igz99sf4czhc9zrgkzfza915a9isvkm0kda2zyy1fnwf"))))
+ (base32 "1a5wn3vimqi7j015by93s2i1jifdi2p45n5pp1gnvkp0kfs4kvlb"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-bigdecimal-rs" ,rust-bigdecimal-rs-0.2)
- ("rust-codespan-reporting"
- ,rust-codespan-reporting-0.11)
+ (("rust-bigdecimal" ,rust-bigdecimal-0.3)
+ ("rust-codespan-reporting" ,rust-codespan-reporting-0.11)
("rust-derive-new" ,rust-derive-new-0.5)
("rust-getset" ,rust-getset-0.1)
("rust-glob" ,rust-glob-0.3)
- ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
- ("rust-num-bigint" ,rust-num-bigint-0.3)
+ ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.43)
+ ("rust-nu-source" ,rust-nu-source-0.43)
+ ("rust-num-bigint" ,rust-num-bigint-0.4)
("rust-num-traits" ,rust-num-traits-0.2)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
@@ -1408,24 +1344,23 @@ underline).")
(description "Core error subsystem for Nushell")
(license license:expat)))
-(define-public rust-nu-json-0.36
+(define-public rust-nu-json-0.43
(package
(name "rust-nu-json")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu-json" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "145h7npb8j24x7a8mggqbvafssc0qmfh53azvp88a3svv4n5q16x"))))
+ (base32 "1kj331q3bmdhzl19x7x1c7rxcmawjyy77p0j7mc9x01idqwc2mvs"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-lazy-static" ,rust-lazy-static-1)
- ("rust-linked-hash-map"
- ,rust-linked-hash-map-0.5)
+ ("rust-linked-hash-map" ,rust-linked-hash-map-0.5)
("rust-num-traits" ,rust-num-traits-0.2)
("rust-regex" ,rust-regex-1)
("rust-serde" ,rust-serde-1))))
@@ -1434,72 +1369,64 @@ underline).")
(description "This package is a fork of @code{serde-hjson}.")
(license license:expat)))
-(define-public rust-nu-parser-0.36
+(define-public rust-nu-parser-0.43
(package
(name "rust-nu-parser")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu-parser" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1i3wyvpvv7xsdjlvl7c6hpic4dcsqbvvfppdb8z298wkk8v65hd4"))))
+ (base32 "0qdf76br7fn1ivhvdnxqd2jzarppkk94hz0frd08vlf4z2a257xv"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-bigdecimal-rs" ,rust-bigdecimal-rs-0.2)
- ("rust-codespan-reporting"
- ,rust-codespan-reporting-0.11)
+ (("rust-bigdecimal" ,rust-bigdecimal-0.3)
("rust-derive-new" ,rust-derive-new-0.5)
- ("rust-derive-is-enum-variant"
- ,rust-derive-is-enum-variant-0.1)
- ("rust-dunce" ,rust-dunce-1)
("rust-indexmap" ,rust-indexmap-1)
("rust-itertools" ,rust-itertools-0.10)
("rust-log" ,rust-log-0.4)
- ("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-path" ,rust-nu-path-0.36)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
- ("rust-nu-test-support"
- ,rust-nu-test-support-0.36)
- ("rust-num-bigint" ,rust-num-bigint-0.3)
- ("rust-num-traits" ,rust-num-traits-0.2)
- ("rust-serde" ,rust-serde-1)
+ ("rust-nu-data" ,rust-nu-data-0.43)
+ ("rust-nu-errors" ,rust-nu-errors-0.43)
+ ("rust-nu-path" ,rust-nu-path-0.43)
+ ("rust-nu-protocol" ,rust-nu-protocol-0.43)
+ ("rust-nu-source" ,rust-nu-source-0.43)
+ ("rust-nu-test-support" ,rust-nu-test-support-0.43)
+ ("rust-num-bigint" ,rust-num-bigint-0.4)
("rust-smart-default" ,rust-smart-default-0.6))))
(home-page "https://www.nushell.sh")
(synopsis "Nushell parser")
(description "Nushell parser")
(license license:expat)))
-(define-public rust-nu-path-0.36
+(define-public rust-nu-path-0.43
(package
(name "rust-nu-path")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu-path" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1pjx76zblqmpllkv3p6hrf5my85xf9jwds0v067a9d3nfpm2c46g"))))
+ (base32 "0girfz9yihrkps3zpzc1jgnwmfxqbnxpq0i6vxqrwyj7ipglc8z7"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-dirs-next" ,rust-dirs-next-2)
- ("rust-dunce" ,rust-dunce-1))))
+ (("rust-dirs-next" ,rust-dirs-next-2) ("rust-dunce" ,rust-dunce-1))))
(home-page "https://www.nushell.sh")
(synopsis "Nushell parser")
(description "Nushell parser")
(license license:expat)))
-(define-public rust-nu-plugin-0.36
+(define-public rust-nu-plugin-0.43
(package
(name "rust-nu-plugin")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
@@ -1507,20 +1434,17 @@ underline).")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32 "08qll1q26igfjkp6xc2gd6rkpw379x828wan4xsh1dmaspikvqh9"))))
+ (base32 "14l1g2pzf2cgk0y8walalzcsq6jp9817hip9m41bhfpiirs6vxgg"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-bigdecimal-rs" ,rust-bigdecimal-rs-0.2)
- ("rust-indexmap" ,rust-indexmap-1)
- ("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
- ("rust-nu-test-support"
- ,rust-nu-test-support-0.36)
- ("rust-nu-value-ext" ,rust-nu-value-ext-0.36)
- ("rust-num-bigint" ,rust-num-bigint-0.3)
+ (("rust-indexmap" ,rust-indexmap-1)
+ ("rust-nu-errors" ,rust-nu-errors-0.43)
+ ("rust-nu-protocol" ,rust-nu-protocol-0.43)
+ ("rust-nu-source" ,rust-nu-source-0.43)
+ ("rust-nu-test-support" ,rust-nu-test-support-0.43)
+ ("rust-nu-value-ext" ,rust-nu-value-ext-0.43)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1))))
(home-page "https://www.nushell.sh")
@@ -1528,30 +1452,30 @@ underline).")
(description "Nushell Plugin")
(license license:expat)))
-(define-public rust-nu-plugin-binaryview-0.36
+(define-public rust-nu-plugin-binaryview-0.43
(package
(name "rust-nu-plugin-binaryview")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu_plugin_binaryview" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1ma52kw575bq5552x6pz5dzfwj1n33c1z27p9md0iw1zl1zc79zm"))))
+ (base32 "0kdsw7xkmd2gxrnga4q1xc80mw9z0birpm049xw2ivs3n0aqza6x"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-crossterm" ,rust-crossterm-0.19)
- ("rust-image" ,rust-image-0.22)
+ ("rust-image" ,rust-image-0.23)
("rust-neso" ,rust-neso-0.5)
- ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.36)
- ("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-plugin" ,rust-nu-plugin-0.36)
- ("rust-nu-pretty-hex" ,rust-nu-pretty-hex-0.36)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
+ ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.43)
+ ("rust-nu-errors" ,rust-nu-errors-0.43)
+ ("rust-nu-plugin" ,rust-nu-plugin-0.43)
+ ("rust-nu-pretty-hex" ,rust-nu-pretty-hex-0.43)
+ ("rust-nu-protocol" ,rust-nu-protocol-0.43)
+ ("rust-nu-source" ,rust-nu-source-0.43)
("rust-rawkey" ,rust-rawkey-0.1))))
(home-page "https://www.nushell.sh")
(synopsis "Binary viewer plugin for Nushell")
@@ -1559,28 +1483,28 @@ underline).")
"This package provides a binary viewer plugin for Nushell.")
(license license:expat)))
-(define-public rust-nu-plugin-chart-0.36
+(define-public rust-nu-plugin-chart-0.43
(package
(name "rust-nu-plugin-chart")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu_plugin_chart" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0m8mvvnxipzxyigzfzb0xp4d8zb71lbxrs62k8jqkrb79j82rlfr"))))
+ (base32 "0lknhw3nc3nbqwyah161d2ksspbqfph2xaarxqiblzzlryg0kwvj"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-crossterm" ,rust-crossterm-0.19)
- ("rust-nu-data" ,rust-nu-data-0.36)
- ("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-plugin" ,rust-nu-plugin-0.36)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
- ("rust-nu-value-ext" ,rust-nu-value-ext-0.36)
+ ("rust-nu-data" ,rust-nu-data-0.43)
+ ("rust-nu-errors" ,rust-nu-errors-0.43)
+ ("rust-nu-plugin" ,rust-nu-plugin-0.43)
+ ("rust-nu-protocol" ,rust-nu-protocol-0.43)
+ ("rust-nu-source" ,rust-nu-source-0.43)
+ ("rust-nu-value-ext" ,rust-nu-value-ext-0.43)
("rust-tui" ,rust-tui-0.15))))
(home-page "https://www.nushell.sh")
(synopsis "Plugin to display charts")
@@ -1588,58 +1512,27 @@ underline).")
"This package provides a plugin to display charts in Nushell.")
(license license:expat)))
-(define-public rust-nu-plugin-fetch-0.36
- (package
- (name "rust-nu-plugin-fetch")
- (version "0.36.0")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "nu_plugin_fetch" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1zi86kcsj7ys103w9q9f59p7nmjpssbdrkmj6dh60n2nbwcc9i49"))))
- (build-system cargo-build-system)
- (arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-base64" ,rust-base64-0.13)
- ("rust-futures" ,rust-futures-0.3)
- ("rust-mime" ,rust-mime-0.3)
- ("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-plugin" ,rust-nu-plugin-0.36)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
- ("rust-surf" ,rust-surf-2)
- ("rust-url" ,rust-url-2))))
- (home-page "https://www.nushell.sh")
- (synopsis "URL fetch plugin for Nushell")
- (description "This package provides a URL fetch plugin for Nushell.")
- (license license:expat)))
-
-(define-public rust-nu-plugin-from-bson-0.36
+(define-public rust-nu-plugin-from-bson-0.43
(package
(name "rust-nu-plugin-from-bson")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu_plugin_from_bson" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "08pk0hcpkyg5i6z6k7bknwrn490sj9i7wn3cxpj53mxyb0lvjs06"))))
+ (base32 "1rdd5s82jdw1wr23s3020cm2gqm89zzbfb863bsysj88xa6mxr1s"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-bigdecimal-rs" ,rust-bigdecimal-rs-0.2)
- ("rust-bson" ,rust-bson-0.14)
- ("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-plugin" ,rust-nu-plugin-0.36)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
- ("rust-nu-value-ext" ,rust-nu-value-ext-0.36)
- ("rust-num-traits" ,rust-num-traits-0.2))))
+ (("rust-bigdecimal" ,rust-bigdecimal-0.3)
+ ("rust-bson" ,rust-bson-2)
+ ("rust-nu-errors" ,rust-nu-errors-0.43)
+ ("rust-nu-plugin" ,rust-nu-plugin-0.43)
+ ("rust-nu-protocol" ,rust-nu-protocol-0.43)
+ ("rust-nu-source" ,rust-nu-source-0.43))))
(home-page "https://www.nushell.sh")
(synopsis "Converter plugin to the bson format for Nushell")
(description
@@ -1647,29 +1540,27 @@ underline).")
Nushell.")
(license license:expat)))
-(define-public rust-nu-plugin-from-sqlite-0.36
+(define-public rust-nu-plugin-from-sqlite-0.43
(package
(name "rust-nu-plugin-from-sqlite")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu_plugin_from_sqlite" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1asbwimvj5fk9vafq67rfr13pg3sw53f97a56snspnlgx31v5zwn"))))
+ (base32 "0xfh4db0aap34aq9784zrprdk4cqqkf22v0z7mcw4a2jbranbz8z"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-bigdecimal-rs" ,rust-bigdecimal-rs-0.2)
- ("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-plugin" ,rust-nu-plugin-0.36)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
- ("rust-nu-value-ext" ,rust-nu-value-ext-0.36)
- ("rust-num-traits" ,rust-num-traits-0.2)
- ("rust-rusqlite" ,rust-rusqlite-0.25)
+ (("rust-bigdecimal" ,rust-bigdecimal-0.3)
+ ("rust-nu-errors" ,rust-nu-errors-0.43)
+ ("rust-nu-plugin" ,rust-nu-plugin-0.43)
+ ("rust-nu-protocol" ,rust-nu-protocol-0.43)
+ ("rust-nu-source" ,rust-nu-source-0.43)
+ ("rust-rusqlite" ,rust-rusqlite-0.26)
("rust-tempfile" ,rust-tempfile-3))))
(home-page "https://www.nushell.sh")
(synopsis "Converter plugin to the bson format for Nushell")
@@ -1678,28 +1569,27 @@ Nushell.")
Nushell.")
(license license:expat)))
-(define-public rust-nu-plugin-inc-0.36
+(define-public rust-nu-plugin-inc-0.43
(package
(name "rust-nu-plugin-inc")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu_plugin_inc" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1vrvrdyhb9rvrbdaq25b1b9ibpwr52hz3p60kl3xn0zs437vqhzs"))))
+ (base32 "12d2rrw3z0791vg44h87xprkcxksqrhjk6jx23f8hpxfh3mg4llg"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-plugin" ,rust-nu-plugin-0.36)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
- ("rust-nu-test-support"
- ,rust-nu-test-support-0.36)
- ("rust-nu-value-ext" ,rust-nu-value-ext-0.36)
+ (("rust-nu-errors" ,rust-nu-errors-0.43)
+ ("rust-nu-plugin" ,rust-nu-plugin-0.43)
+ ("rust-nu-protocol" ,rust-nu-protocol-0.43)
+ ("rust-nu-source" ,rust-nu-source-0.43)
+ ("rust-nu-test-support" ,rust-nu-test-support-0.43)
+ ("rust-nu-value-ext" ,rust-nu-value-ext-0.43)
("rust-semver" ,rust-semver-0.11))))
(home-page "https://www.nushell.sh")
(synopsis "Version incrementer plugin for Nushell")
@@ -1708,25 +1598,24 @@ Nushell.")
Nushell.")
(license license:expat)))
-(define-public rust-nu-plugin-match-0.36
+(define-public rust-nu-plugin-match-0.43
(package
(name "rust-nu-plugin-match")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu_plugin_match" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1lvmg155kriqgddhnmx2b7c2qsfsv75hdlb3wnrwlg8yqbl5kl9a"))))
+ (base32 "14ay1lwk1465dczpxk27silllv068l0gdyljwcbngz4y65ykh02y"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-plugin" ,rust-nu-plugin-0.36)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
+ (("rust-nu-errors" ,rust-nu-errors-0.43)
+ ("rust-nu-plugin" ,rust-nu-plugin-0.43)
+ ("rust-nu-protocol" ,rust-nu-protocol-0.43)
("rust-regex" ,rust-regex-1))))
(home-page "https://www.nushell.sh")
(synopsis "Regex match plugin for Nushell")
@@ -1734,165 +1623,105 @@ Nushell.")
"This package provides a regex match plugin for Nushell.")
(license license:expat)))
-(define-public rust-nu-plugin-post-0.36
- (package
- (name "rust-nu-plugin-post")
- (version "0.36.0")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "nu_plugin_post" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0f1nh4227a5if3sg9214nqkd0ry6x79xvz2pgwqnbcwmps98nc26"))))
- (build-system cargo-build-system)
- (arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-base64" ,rust-base64-0.13)
- ("rust-futures" ,rust-futures-0.3)
- ("rust-mime" ,rust-mime-0.3)
- ("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-plugin" ,rust-nu-plugin-0.36)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
- ("rust-num-traits" ,rust-num-traits-0.2)
- ("rust-serde-json" ,rust-serde-json-1)
- ("rust-surf" ,rust-surf-2)
- ("rust-url" ,rust-url-2))))
- (home-page "https://www.nushell.sh")
- (synopsis "HTTP POST plugin for Nushell")
- (description "This package is an HTTP POST plugin for Nushell.")
- (license license:expat)))
-
-(define-public rust-nu-plugin-ps-0.36
- (package
- (name "rust-nu-plugin-ps")
- (version "0.36.0")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "nu_plugin_ps" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1hw6adsvsl1hpxyw06r0g9x1n14nkfin44ckxpr5605wbv89yrbx"))))
- (build-system cargo-build-system)
- (arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-futures" ,rust-futures-0.3)
- ("rust-futures-timer" ,rust-futures-timer-3)
- ("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-plugin" ,rust-nu-plugin-0.36)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
- ("rust-num-bigint" ,rust-num-bigint-0.3)
- ("rust-sysinfo" ,rust-sysinfo-0.16))))
- (home-page "https://www.nushell.sh")
- (synopsis "Process list plugin for Nushell")
- (description
- "This package provides a process list plugin for Nushell.")
- (license license:expat)))
-
-(define-public rust-nu-plugin-query-json-0.36
+(define-public rust-nu-plugin-query-json-0.43
(package
(name "rust-nu-plugin-query-json")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu_plugin_query_json" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0ij135vx94gyaypryn24imgkq6r68j66d2nfymg98acn85ynv31q"))))
+ (base32 "0n30zp85kmy6diab79c6is1jvjw8y5g5bljh3fgq2nz42fvwng9y"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-gjson" ,rust-gjson-0.7)
- ("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-plugin" ,rust-nu-plugin-0.36)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36))))
+ (("rust-gjson" ,rust-gjson-0.8)
+ ("rust-nu-errors" ,rust-nu-errors-0.43)
+ ("rust-nu-plugin" ,rust-nu-plugin-0.43)
+ ("rust-nu-protocol" ,rust-nu-protocol-0.43)
+ ("rust-nu-source" ,rust-nu-source-0.43))))
(home-page "https://www.nushell.sh")
(synopsis "Query JSON files with Gjson")
(description "query json files with gjson")
(license license:expat)))
-(define-public rust-nu-plugin-s3-0.36
+(define-public rust-nu-plugin-s3-0.43
(package
(name "rust-nu-plugin-s3")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu_plugin_s3" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0yl1jkmr88ri22fzi78q5wqwv9j6589k0rsqydv5711dllkdgcp5"))))
+ (base32 "03ysj4zphwnyi537yia9ba706xn2ysv2jfm3z2w28flqb402jv0d"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-futures" ,rust-futures-0.3)
- ("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-plugin" ,rust-nu-plugin-0.36)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
+ ("rust-nu-errors" ,rust-nu-errors-0.43)
+ ("rust-nu-plugin" ,rust-nu-plugin-0.43)
+ ("rust-nu-protocol" ,rust-nu-protocol-0.43)
+ ("rust-nu-source" ,rust-nu-source-0.43)
("rust-s3handler" ,rust-s3handler-0.7))))
(home-page "https://www.nushell.sh")
(synopsis "S3 plugin for Nushell")
(description "This package is an S3 plugin for Nushell.")
(license license:expat)))
-(define-public rust-nu-plugin-selector-0.36
+(define-public rust-nu-plugin-selector-0.43
(package
(name "rust-nu-plugin-selector")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu_plugin_selector" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "02sx6mdwgnaixfrkglin2l5svly1mn58swp0c9zqvhqyp0k8f09r"))))
+ (base32 "1w886dcb5k96jryy64xmmsyay85nz2mshz4v3glpwvvqcrp2df1v"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-nipper" ,rust-nipper-0.1)
- ("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-plugin" ,rust-nu-plugin-0.36)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36))))
+ (("rust-nu-errors" ,rust-nu-errors-0.43)
+ ("rust-nu-plugin" ,rust-nu-plugin-0.43)
+ ("rust-nu-protocol" ,rust-nu-protocol-0.43)
+ ("rust-nu-source" ,rust-nu-source-0.43)
+ ("rust-scraper" ,rust-scraper-0.12))))
(home-page "https://www.nushell.sh")
(synopsis "Web scraping using CSS selector")
(description
"This package provides web scraping using CSS selector.")
(license license:expat)))
-(define-public rust-nu-plugin-start-0.36
+(define-public rust-nu-plugin-start-0.43
(package
(name "rust-nu-plugin-start")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu_plugin_start" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0qk32snivd4r4jbmbmvx457qfvb2cycsl8l2bnghashh0x6jyc8b"))))
+ (base32 "060mw4r5dr8wd4cpmh0by953yc2zgxqfbzras1gv67p9cxwmjpjz"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-glob" ,rust-glob-0.3)
- ("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-plugin" ,rust-nu-plugin-0.36)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
+ ("rust-nu-errors" ,rust-nu-errors-0.43)
+ ("rust-nu-errors" ,rust-nu-errors-0.43)
+ ("rust-nu-plugin" ,rust-nu-plugin-0.43)
+ ("rust-nu-protocol" ,rust-nu-protocol-0.43)
+ ("rust-nu-source" ,rust-nu-source-0.43)
+ ("rust-nu-source" ,rust-nu-source-0.43)
("rust-open" ,rust-open-1)
("rust-url" ,rust-url-2)
("rust-webbrowser" ,rust-webbrowser-0.5))))
@@ -1903,57 +1732,27 @@ Nushell.")
Nushell.")
(license license:expat)))
-(define-public rust-nu-plugin-sys-0.36
- (package
- (name "rust-nu-plugin-sys")
- (version "0.36.0")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "nu_plugin_sys" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "07jsg3a8s5aa9ykvfama7i3pkz947md7ryfvffpbrd66r0szxrag"))))
- (build-system cargo-build-system)
- (arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-futures" ,rust-futures-0.3)
- ("rust-futures-util" ,rust-futures-util-0.3)
- ("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-plugin" ,rust-nu-plugin-0.36)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
- ("rust-num-bigint" ,rust-num-bigint-0.3)
- ("rust-sysinfo" ,rust-sysinfo-0.18))))
- (home-page "https://www.nushell.sh")
- (synopsis "System info plugin for Nushell")
- (description "This package provides a system info plugin for Nushell.")
- (license license:expat)))
-
-(define-public rust-nu-plugin-textview-0.36
+(define-public rust-nu-plugin-textview-0.43
(package
(name "rust-nu-plugin-textview")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu_plugin_textview" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0bz6khgjvr8qbybg8hd8m26w5xd3g3xk9m2xpjmmgw5a5mvfdrck"))))
+ (base32 "1qhfyvrakqzngx824yrl94k71vzp6261z1ifp1nm8xmc09d63g1n"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("bat" ,bat)
- ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.36)
- ("rust-nu-data" ,rust-nu-data-0.36)
- ("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-plugin" ,rust-nu-plugin-0.36)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
+ (("rust-bat" ,rust-bat-0.18)
+ ("rust-nu-data" ,rust-nu-data-0.43)
+ ("rust-nu-errors" ,rust-nu-errors-0.43)
+ ("rust-nu-plugin" ,rust-nu-plugin-0.43)
+ ("rust-nu-protocol" ,rust-nu-protocol-0.43)
+ ("rust-nu-source" ,rust-nu-source-0.43)
("rust-term-size" ,rust-term-size-0.3)
("rust-url" ,rust-url-2))))
(home-page "https://www.nushell.sh")
@@ -1962,27 +1761,26 @@ Nushell.")
Nushell.")
(license license:expat)))
-(define-public rust-nu-plugin-to-bson-0.36
+(define-public rust-nu-plugin-to-bson-0.43
(package
(name "rust-nu-plugin-to-bson")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu_plugin_to_bson" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1kardsbic0wv8704m81cnbzlhs6qrb93130x30wfs89z400xfn43"))))
+ (base32 "04rlb6vajbhykx4wklfyffd0gfrpkdm0f59bz7vgnyw1wv7dgwln"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-bson" ,rust-bson-0.14)
- ("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-plugin" ,rust-nu-plugin-0.36)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
- ("rust-nu-value-ext" ,rust-nu-value-ext-0.36)
+ (("rust-bson" ,rust-bson-2)
+ ("rust-nu-errors" ,rust-nu-errors-0.43)
+ ("rust-nu-plugin" ,rust-nu-plugin-0.43)
+ ("rust-nu-protocol" ,rust-nu-protocol-0.43)
+ ("rust-nu-source" ,rust-nu-source-0.43)
("rust-num-traits" ,rust-num-traits-0.2))))
(home-page "https://www.nushell.sh")
(synopsis "Converter plugin to the bson format for Nushell")
@@ -1991,29 +1789,27 @@ Nushell.")
Nushell.")
(license license:expat)))
-(define-public rust-nu-plugin-to-sqlite-0.36
+(define-public rust-nu-plugin-to-sqlite-0.43
(package
(name "rust-nu-plugin-to-sqlite")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu_plugin_to_sqlite" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "193prp16msshw3n2nfmlckphhkm7bzwrc3qza2g7s4mnyh7d88x5"))))
+ (base32 "08zdydpqk9xidq9qkrhk76dy05h65m8jz1ynk60g9k8fqn872bda"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-hex" ,rust-hex-0.4)
- ("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-plugin" ,rust-nu-plugin-0.36)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
- ("rust-nu-value-ext" ,rust-nu-value-ext-0.36)
- ("rust-num-traits" ,rust-num-traits-0.2)
- ("rust-rusqlite" ,rust-rusqlite-0.25)
+ ("rust-nu-errors" ,rust-nu-errors-0.43)
+ ("rust-nu-plugin" ,rust-nu-plugin-0.43)
+ ("rust-nu-protocol" ,rust-nu-protocol-0.43)
+ ("rust-nu-source" ,rust-nu-source-0.43)
+ ("rust-rusqlite" ,rust-rusqlite-0.26)
("rust-tempfile" ,rust-tempfile-3))))
(home-page "https://www.nushell.sh")
(synopsis "Converter plugin to the bson format for Nushell")
@@ -2022,54 +1818,53 @@ Nushell.")
Nushell.")
(license license:expat)))
-(define-public rust-nu-plugin-tree-0.36
+(define-public rust-nu-plugin-tree-0.43
(package
(name "rust-nu-plugin-tree")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu_plugin_tree" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0vz8ncglzhq4nvbr3xi9zv3nqpgyf8vyxjnhjd9kjy91d0inj869"))))
+ (base32 "1mhk4vwrs0f70zya1dczkr1d366w32gj8y6byjrx0dpmqljm77w8"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-derive-new" ,rust-derive-new-0.5)
- ("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-plugin" ,rust-nu-plugin-0.36)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
- ("rust-ptree" ,rust-ptree-0.3))))
+ ("rust-nu-errors" ,rust-nu-errors-0.43)
+ ("rust-nu-plugin" ,rust-nu-plugin-0.43)
+ ("rust-nu-protocol" ,rust-nu-protocol-0.43)
+ ("rust-ptree" ,rust-ptree-0.4))))
(home-page "https://www.nushell.sh")
(synopsis "Tree viewer plugin for Nushell")
(description "This package provides a tree viewer plugin for
Nushell.")
(license license:expat)))
-(define-public rust-nu-plugin-xpath-0.36
+(define-public rust-nu-plugin-xpath-0.43
(package
(name "rust-nu-plugin-xpath")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu_plugin_xpath" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "19dqw28y5qfpd8a432qkjjf1hmjh7ghsyr1dpb7jr8b0dv68h4lb"))))
+ (base32 "0b84idjp4hp60x4i5x605i6jryqjdmw4sxz6ddapf2rciyxvh0wg"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-bigdecimal-rs" ,rust-bigdecimal-rs-0.2)
+ (("rust-bigdecimal" ,rust-bigdecimal-0.3)
("rust-indexmap" ,rust-indexmap-1)
- ("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-plugin" ,rust-nu-plugin-0.36)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
+ ("rust-nu-errors" ,rust-nu-errors-0.43)
+ ("rust-nu-plugin" ,rust-nu-plugin-0.43)
+ ("rust-nu-protocol" ,rust-nu-protocol-0.43)
+ ("rust-nu-source" ,rust-nu-source-0.43)
("rust-sxd-document" ,rust-sxd-document-0.3)
("rust-sxd-xpath" ,rust-sxd-xpath-0.4))))
(home-page "https://www.nushell.sh")
@@ -2077,23 +1872,23 @@ Nushell.")
(description "Traverses XML")
(license license:expat)))
-(define-public rust-nu-pretty-hex-0.36
+(define-public rust-nu-pretty-hex-0.43
(package
(name "rust-nu-pretty-hex")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu-pretty-hex" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1d4qvry8xknlsqr1dmqjsfwz3l2avxwwa5jg9p3rrbwcqxppvsq1"))))
+ (base32 "04zqqpadx55782s85xh32cb9iss0q8q3alk5n17ic49pxlk7c3jz"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-heapless" ,rust-heapless-0.6)
- ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.36)
+ (("rust-heapless" ,rust-heapless-0.7)
+ ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.43)
("rust-rand" ,rust-rand-0.8))))
(home-page "https://www.nushell.sh")
(synopsis "Pretty hex dump of bytes slice in the common style")
@@ -2102,65 +1897,61 @@ Nushell.")
style.")
(license license:expat)))
-(define-public rust-nu-protocol-0.36
+(define-public rust-nu-protocol-0.43
(package
(name "rust-nu-protocol")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu-protocol" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1r50ybwipk63ryq6zjkjym2dph84y7x26bmn679p9vcglys7rhn7"))))
+ (base32 "1z8kddg517ky85b22h1zm9wpka0p4838yn8s63iljpy67jyf4g04"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-bigdecimal-rs" ,rust-bigdecimal-rs-0.2)
+ (("rust-bigdecimal" ,rust-bigdecimal-0.3)
("rust-byte-unit" ,rust-byte-unit-4)
("rust-chrono" ,rust-chrono-0.4)
- ("rust-chrono-humanize"
- ,rust-chrono-humanize-0.2)
+ ("rust-chrono-humanize" ,rust-chrono-humanize-0.2)
("rust-derive-new" ,rust-derive-new-0.5)
("rust-getset" ,rust-getset-0.1)
("rust-indexmap" ,rust-indexmap-1)
("rust-log" ,rust-log-0.4)
- ("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
- ("rust-num-bigint" ,rust-num-bigint-0.3)
+ ("rust-nu-errors" ,rust-nu-errors-0.43)
+ ("rust-nu-source" ,rust-nu-source-0.43)
+ ("rust-num-bigint" ,rust-num-bigint-0.4)
("rust-num-integer" ,rust-num-integer-0.1)
("rust-num-traits" ,rust-num-traits-0.2)
- ("rust-polars" ,rust-polars-0.15)
+ ("rust-polars" ,rust-polars-0.17)
("rust-serde" ,rust-serde-1)
- ("rust-serde-bytes" ,rust-serde-bytes-0.11)
- ("rust-serde-json" ,rust-serde-json-1)
- ("rust-serde-yaml" ,rust-serde-yaml-0.8)
- ("rust-toml" ,rust-toml-0.5))))
+ ("rust-serde-bytes" ,rust-serde-bytes-0.11))))
(home-page "https://www.nushell.sh")
(synopsis "Core values and protocols for Nushell")
(description "Core values and protocols for Nushell")
(license license:expat)))
-(define-public rust-nu-serde-0.36
+(define-public rust-nu-serde-0.43
(package
(name "rust-nu-serde")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu-serde" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1271qkyphjd3w5as0kwkdzmhcv0fx5j2nak07mm476qf63naprhz"))))
+ (base32 "0iwwqyi4zq7m6v15kfdk7ywi816i4w400jm97a9w53jriyl4finl"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-bigdecimal-rs" ,rust-bigdecimal-rs-0.2)
+ (("rust-bigdecimal" ,rust-bigdecimal-0.3)
("rust-insta" ,rust-insta-1)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
+ ("rust-nu-protocol" ,rust-nu-protocol-0.43)
+ ("rust-nu-source" ,rust-nu-source-0.43)
("rust-serde" ,rust-serde-1)
("rust-thiserror" ,rust-thiserror-1))))
(home-page "https://www.nushell.sh")
@@ -2170,17 +1961,17 @@ style.")
Serde.")
(license license:expat)))
-(define-public rust-nu-source-0.36
+(define-public rust-nu-source-0.43
(package
(name "rust-nu-source")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu-source" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0vs05k2ld5big5byf083wnb2i0pvz0lpmgp34vmw8x5ca4aw4hij"))))
+ (base32 "1h5lwck4yfi3c0f4p94yl30qzhbii10flcksj5g1vrra6vlasaq2"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -2197,80 +1988,80 @@ Serde.")
Nushell.")
(license license:expat)))
-(define-public rust-nu-stream-0.36
+(define-public rust-nu-stream-0.43
(package
(name "rust-nu-stream")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu-stream" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0siqhyxdbl9zpyxkdlysrd1369lrvikp72awx7pii5dzvgv2aaaj"))))
+ (base32 "11v103gnwp4jxvwmk6dj93yrr6dqxl3r3yhfzlb0q416ai0x4h3k"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-futures" ,rust-futures-0.3)
- ("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36))))
+ (("rust-nu-errors" ,rust-nu-errors-0.43)
+ ("rust-nu-protocol" ,rust-nu-protocol-0.43)
+ ("rust-nu-source" ,rust-nu-source-0.43))))
(home-page "https://www.nushell.sh")
(synopsis "Nushell stream")
(description "This package provides Nushell stream.")
(license license:expat)))
-(define-public rust-nu-table-0.36
+(define-public rust-nu-table-0.43
(package
(name "rust-nu-table")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu-table" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1akxq806gix38b6663ijs02ma0zbzq9yvyvr39bgjyikyqahwkpw"))))
+ (base32 "1h2lh6px63bwxi5b9db5b7mgjdqdaj2yp1p0zrzdqj4i80h3dvww"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-nu-ansi-term" ,rust-nu-ansi-term-0.36)
+ (("rust-atty" ,rust-atty-0.2)
+ ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.43)
("rust-regex" ,rust-regex-1)
+ ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.1)
("rust-unicode-width" ,rust-unicode-width-0.1))))
(home-page "https://www.nushell.sh")
(synopsis "Nushell table printing")
(description "Nushell table printing")
(license license:expat)))
-(define-public rust-nu-test-support-0.36
+(define-public rust-nu-test-support-0.43
(package
(name "rust-nu-test-support")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu-test-support" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0ip2fm8r26s5y0qbfn8r7yhacg82aa998kyic70y60j9kmnwk4q1"))))
+ (base32 "10c4jwlvc2804afjdmpr30ml2h9f40g20gllz31lk1vz8ssr426m"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-bigdecimal-rs" ,rust-bigdecimal-rs-0.2)
+ (("rust-bigdecimal" ,rust-bigdecimal-0.3)
("rust-chrono" ,rust-chrono-0.4)
- ("rust-dunce" ,rust-dunce-1)
("rust-getset" ,rust-getset-0.1)
("rust-glob" ,rust-glob-0.3)
("rust-hamcrest2" ,rust-hamcrest2-0.3)
("rust-indexmap" ,rust-indexmap-1)
- ("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
- ("rust-nu-value-ext" ,rust-nu-value-ext-0.36)
- ("rust-num-bigint" ,rust-num-bigint-0.3)
+ ("rust-nu-errors" ,rust-nu-errors-0.43)
+ ("rust-nu-path" ,rust-nu-path-0.43)
+ ("rust-nu-protocol" ,rust-nu-protocol-0.43)
+ ("rust-nu-source" ,rust-nu-source-0.43)
+ ("rust-num-bigint" ,rust-num-bigint-0.4)
("rust-tempfile" ,rust-tempfile-3))))
(home-page "https://www.nushell.sh")
(synopsis "Support for writing Nushell tests")
@@ -2278,10 +2069,10 @@ Nushell.")
tests.")
(license license:expat)))
-(define-public rust-nu-value-ext-0.36
+(define-public rust-nu-value-ext-0.43
(package
(name "rust-nu-value-ext")
- (version "0.36.0")
+ (version "0.43.0")
(source
(origin
(method url-fetch)
@@ -2289,16 +2080,16 @@ tests.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1cd09378h4lfb58s0dl87mgiwldfk60h9z1a0vi4v7k10v9xhsis"))))
+ (base32 "03ix958321smsf5j57y36qv9k47isfwvh2aam9ar5qfy6sb1h5k9"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-indexmap" ,rust-indexmap-1)
("rust-itertools" ,rust-itertools-0.10)
- ("rust-nu-errors" ,rust-nu-errors-0.36)
- ("rust-nu-protocol" ,rust-nu-protocol-0.36)
- ("rust-nu-source" ,rust-nu-source-0.36)
+ ("rust-nu-errors" ,rust-nu-errors-0.43)
+ ("rust-nu-protocol" ,rust-nu-protocol-0.43)
+ ("rust-nu-source" ,rust-nu-source-0.43)
("rust-num-traits" ,rust-num-traits-0.2))))
(home-page "https://www.nushell.sh")
(synopsis "@code{Extension} traits for values in Nushell")
diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index 7a868f0789..3f9f8a27f4 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -32,6 +32,7 @@
(define-module (gnu packages shellutils)
#:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix gexp)
#:use-module (guix utils)
#:use-module (guix packages)
#:use-module (guix download)
@@ -42,6 +43,7 @@
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
#:use-module (gnu packages bison)
+ #:use-module (gnu packages check)
#:use-module (gnu packages flex)
#:use-module (gnu packages golang)
#:use-module (gnu packages libunistring)
@@ -49,6 +51,7 @@
#:use-module (gnu packages pcre)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-xyz)
#:use-module (gnu packages readline)
#:use-module (gnu packages ruby)
#:use-module (gnu packages shells)
@@ -307,19 +310,20 @@ between various shells or commands.")
(define-public trash-cli
(package
(name "trash-cli")
- (version "0.17.1.14")
+ (version "0.21.10.24")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "trash-cli" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/andreafrancia/trash-cli")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "01q0cl04ljf214z6s3g256gsxx3pqsgaf6ac1zh0vrq5bnhnr85h"))))
+ "01is32lk6prwhajvlmgn3xs4fcpmiqivizcqkj9k80jx6mqjifzs"))))
(build-system python-build-system)
(arguments
- `(#:python ,python-2
- #:tests? #f ; no tests
- #:phases
+ `(#:phases
(modify-phases %standard-phases
(add-before 'build 'patch-path-constants
(lambda* (#:key inputs #:allow-other-keys)
@@ -329,8 +333,22 @@ between various shells or commands.")
(("\"/lib/libc.so.6\".*")
(string-append "\"" libc "/lib/libc.so.6\"\n"))
(("\"df\"")
- (string-append "\"" coreutils "/bin/df\"")))))))))
+ (string-append "\"" coreutils "/bin/df\""))))))
+ (add-before 'build 'fix-setup.py
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin")))
+ (mkdir-p bin)
+ (substitute* "setup.py"
+ (("add_script\\('")
+ (string-append "add_script('" bin "/" )))))))))
+ (native-inputs
+ (list python-pytest
+ python-mock
+ python-six))
(inputs (list coreutils))
+ (propagated-inputs
+ (list python-psutil))
(home-page "https://github.com/andreafrancia/trash-cli")
(synopsis "Trash can management tool")
(description
@@ -543,6 +561,35 @@ site/BBS/person you are giving the information to tries to cross-check the
city, state, zip, or area code, it will check out.")
(license license:gpl2+)))
+(define-public conflict
+ (package
+ (name "conflict")
+ (version "20210108")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://invisible-mirror.net/archives/conflict/conflict-"
+ version ".tgz"))
+ (sha256
+ (base32
+ "0mls4climvp7v9hnc3zh01mh270kqcj797ng0xslwb027lipis4h"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-paths
+ (lambda _
+ (substitute* "run_test.sh"
+ (("PATH=\".:\\$BIN:/bin\"")
+ "PATH=\".:$BIN:$PATH\"")))))))
+ (home-page "https://invisible-island.net/conflict/conflict.html")
+ (synopsis "Displays conflicting filenames in your execution path")
+ (description
+ "@code{conflict} examines the user-specifiable list of programs, looking
+for instances in the user's path which conflict (i.e., the name appears in
+more than one point in the path).")
+ (license (license:x11-style "file://COPYING"))))
+
(define-public renameutils
(package
(name "renameutils")
@@ -570,3 +617,56 @@ set of programs designed to make renaming of files faster and less cumbersome.
The file renaming utilities consists of five programs: @command{qmv},
@command{qcp}, @command{imv}, @command{icp}, and @command{deurlname}.")
(license license:gpl3+)))
+
+(define-public grc
+ (package
+ (name "grc")
+ (version "1.13")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/garabik/grc")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1h0h88h484a9796hai0wasi1xmjxxhpyxgixn6fgdyc5h69gv8nl"))))
+ (build-system gnu-build-system)
+ (inputs
+ (list python))
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure)
+ (replace 'build
+ (lambda _
+ (substitute* "grc"
+ (("conffilenames = \\[.*\\]")
+ (string-append
+ "conffilenames = ["
+ "os.environ.get('GUIX_ENVIRONMENT', '" #$output "') "
+ "+ '/etc/grc.conf']")))
+ (substitute* "grcat"
+ (("conffilepath \\+= \\['/usr/.*\\]")
+ (string-append
+ "conffilepath += ["
+ "os.environ.get('GUIX_ENVIRONMENT', '" #$output "') "
+ "+ '/share/grc/']"))))) ;; trailing slash!
+ (delete 'check)
+ (replace 'install
+ (lambda _
+ (invoke "sh" "install.sh" #$output #$output))))))
+ (home-page "http://kassiopeia.juls.savba.sk/~garabik/software/grc.html")
+ (synopsis "Generic colouriser for everything")
+ (description "@code{grc} can be used to colourise logfiles, output of
+shell commands, arbitrary text, etc. Many shell commands are supported out of
+the box.
+
+You might want to add these lines you your @code{~/.bashrc}:
+@example
+GRC_ALIASES=true
+source ${GUIX_ENVIRONMENT:-$HOME/.guix-profile}/etc/profile.d/grc.sh
+@end example
+")
+ (license license:gpl2)))
diff --git a/gnu/packages/speech.scm b/gnu/packages/speech.scm
index e0927ca97c..f6ca6099de 100644
--- a/gnu/packages/speech.scm
+++ b/gnu/packages/speech.scm
@@ -235,7 +235,7 @@ efficiency through the use of a compact vector representation of n-grams.")
(define-public speech-dispatcher
(package
(name "speech-dispatcher")
- (version "0.10.2")
+ (version "0.11.1")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/brailcom/speechd/releases"
@@ -243,7 +243,7 @@ efficiency through the use of a compact vector representation of n-grams.")
version ".tar.gz"))
(sha256
(base32
- "1p72x9vsqvmhz1ym2bcpiqscn063rxdsylv65735cpp107r1jqxh"))))
+ "1inxqabbml2vhp0lvx4khhda4g1dp8wyr8mnk4vz315c7pni5nni"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags '("--disable-static"
@@ -252,17 +252,15 @@ efficiency through the use of a compact vector representation of n-grams.")
"--with-voxin=no" "--with-ibmtts=no"
"--with-kali=no" "--with-baratinoo=no")))
(native-inputs
- `(("gettext" ,gettext-minimal)
- ("pkg-config" ,pkg-config)
- ("texinfo" ,texinfo)))
+ (list gettext-minimal pkg-config texinfo))
(inputs
- `(("dotconf" ,dotconf)
- ("espeak" ,espeak-ng)
- ("glib" ,glib)
- ("libltdl" ,libltdl)
- ("libsndfile" ,libsndfile)
- ("pulseaudio" ,pulseaudio)
- ("python" ,python)))
+ (list dotconf
+ espeak-ng
+ glib
+ libltdl
+ libsndfile
+ pulseaudio
+ python))
(synopsis "Common interface to speech synthesizers")
(description "The Speech Dispatcher project provides a high-level
device independent layer for access to speech synthesis through a simple,
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 3ac5b5e22c..dfbc3194ea 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -9,13 +9,13 @@
;;; Copyright © 2017 Frederick M. Muriithi <fredmanglis@gmail.com>
;;; Copyright © 2017 Christine Lemmer-Webber <cwebber@dustycloud.org>
;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu>
-;;; Copyright © 2019 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2019, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2019, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2019 Alexandros Theodotou <alex@zrythm.org>
;;; Copyright © 2019 Brett Gilio <brettg@gnu.org>
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2021 Eric Bavier <bavier@posteo.net>
-;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2021, 2022 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 Hugo Lecomte <hugo.lecomte@inria.fr>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
@@ -156,6 +156,32 @@ sources.")
python2-six
python2-sphinxcontrib-websupport)))))
+(define-public python-sphinxcontrib-apidoc
+ (package
+ (name "python-sphinxcontrib-apidoc")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "sphinxcontrib-apidoc" version))
+ (sha256
+ (base32
+ "1f9zfzggs8a596jw51fpfmr149n05mrlyy859iydazbvry9gb6vj"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f)) ;requires python-pytest<4.0
+ (native-inputs
+ (list python-pbr
+ python-pre-commit
+ python-pytest
+ python-sphinx
+ python-testrepository))
+ (home-page "https://github.com/sphinx-contrib/apidoc")
+ (synopsis "Sphinx extension for running @code{sphinx-apidoc}")
+ (description "This package provides Sphinx extension for running
+@code{sphinx-apidoc} on each build.")
+ (license license:bsd-2)))
+
(define-public python-sphinxcontrib-applehelp
(package
(name "python-sphinxcontrib-applehelp")
@@ -176,6 +202,32 @@ sources.")
Apple help books.")
(license license:bsd-2)))
+(define-public python-sphinx-click
+ (package
+ (name "python-sphinx-click")
+ (version "3.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "sphinx-click" version))
+ (sha256
+ (base32
+ "118ppsymp1p2gn8v7mifika817qx6v07mja7kxizq9cg7dpw894v"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f)) ;requires python-coverage<5.0
+ (native-inputs
+ (list python-click
+ python-coverage
+ python-docutils
+ python-pbr
+ python-sphinx))
+ (home-page "https://github.com/click-contrib/sphinx-click")
+ (synopsis "Sphinx extension that documents click applications")
+ (description "This package provide sphinx extension that automatically
+documents click applications.")
+ (license license:expat)))
+
(define-public python-sphinx-copybutton
(package
(name "python-sphinx-copybutton")
@@ -300,6 +352,38 @@ Blog, News or Announcements section to a Sphinx website.")
(home-page "https://bitbucket.org/prometheus/sphinxcontrib-newsfeed")
(license license:bsd-2)))
+(define-public python-sphinx-panels
+ (package
+ (name "python-sphinx-panels")
+ (version "0.6.0")
+ (source
+ (origin
+ ;; Tests not included in the pypi release.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/executablebooks/sphinx-panels")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1ivqz6yv96a2jp59kylg1gbkrmzq6zwilppz3ij0zrkjn25zb97k"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest")))))))
+ (propagated-inputs (list python-docutils python-sphinx))
+ (native-inputs
+ (list python-pytest
+ python-pytest-regressions))
+ (home-page "https://github.com/executablebooks/sphinx-panels")
+ (synopsis "Sphinx extension for creating panels in a grid layout")
+ (description
+ "This package provides a sphinx extension for creating panels in a grid layout.")
+ (license license:expat)))
+
(define-public python-sphinxcontrib-programoutput
(package
(name "python-sphinxcontrib-programoutput")
@@ -322,9 +406,6 @@ commands into documents, helping you to keep your command examples up to date.")
(home-page "https://github.com/NextThought/sphinxcontrib-programoutput")
(license license:bsd-2)))
-(define-public python2-sphinxcontrib-programoutput
- (package-with-python2 python-sphinxcontrib-programoutput))
-
(define-public python-sphinxcontrib-qthelp
(package
(name "python-sphinxcontrib-qthelp")
@@ -368,17 +449,19 @@ documents.")
(define-public python-sphinxcontrib-svg2pdfconverter
(package
(name "python-sphinxcontrib-svg2pdfconverter")
- (version "1.0.1")
+ (version "1.2.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "sphinxcontrib-svg2pdfconverter" version))
(sha256
(base32
- "1hhaxmqc7wh8gnyw5jaqckliknvk0p21y12wk3bdmncgkaf9ar8f"))))
+ "07c5nmkyx2y0gwfjq66fhy68c24mclvs2qqv1z9ilvvypii4blb0"))))
(build-system python-build-system)
+ (arguments '(#:tests? #f)) ;no tests
(propagated-inputs
(list python-sphinx))
- (home-page "https://github.com/missinglinkelectronics/sphinxcontrib-svg2pdfconverter")
+ (home-page
+ "https://github.com/missinglinkelectronics/sphinxcontrib-svg2pdfconverter")
(synopsis "Sphinx SVG to PDF converter extension")
(description "A Sphinx extension to convert SVG images to PDF in case the
builder does not support SVG images natively (e.g. LaTeX).")
@@ -430,13 +513,13 @@ integrate Sphinx documents in web templates and to handle searches.")
(define-public python-sphinx-gallery
(package
(name "python-sphinx-gallery")
- (version "0.9.0")
+ (version "0.10.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "sphinx-gallery" version))
(sha256
- (base32 "14zyhr7m92nafhhnzfvnbgkf5m91krd9mjyi24zn59bjq6zyr8hl"))))
+ (base32 "1r07sa34511fbnwi2s32q00qdyv5d23d05imyfgnh2ivhfq34gwm"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -491,9 +574,6 @@ meta data such as the project name, author and version from your project for
use in your Sphinx docs.")
(license license:bsd-2)))
-(define-public python2-sphinx-me
- (package-with-python2 python-sphinx-me))
-
(define-public python-sphinx-repoze-autointerface
(package
(name "python-sphinx-repoze-autointerface")
@@ -515,9 +595,6 @@ introspection of @code{zope.interface} instances in code.")
(home-page "https://github.com/repoze/repoze.sphinx.autointerface")
(license license:repoze)))
-(define-public python2-sphinx-repoze-autointerface
- (package-with-python2 python-sphinx-repoze-autointerface))
-
(define-public python-sphinx-prompt
(package
(name "python-sphinx-prompt")
@@ -613,9 +690,6 @@ argparse commands and options")
related extensions.")
(license license:bsd-3)))
-(define-public python2-sphinx-cloud-sptheme
- (package-with-python2 python-sphinx-cloud-sptheme))
-
(define-public python-guzzle-sphinx-theme
(package
(name "python-guzzle-sphinx-theme")
@@ -637,9 +711,6 @@ Sphinx documentation system, used by @uref{http://docs.guzzlephp.org, Guzzle}
and several other projects.")
(license license:expat)))
-(define-public python2-guzzle-sphinx-theme
- (package-with-python2 python-guzzle-sphinx-theme))
-
(define-public python-sphinx-rtd-theme
(package
(name "python-sphinx-rtd-theme")
@@ -660,9 +731,6 @@ and several other projects.")
(description "A theme for Sphinx used by ReadTheDocs.org.")
(license license:expat)))
-(define-public python2-sphinx-rtd-theme
- (package-with-python2 python-sphinx-rtd-theme))
-
(define-public python-breathe
(package
(name "python-breathe")
@@ -737,39 +805,24 @@ translate and to apply translation to Sphinx generated document.")
(define-public python-sphinx-autobuild
(package
(name "python-sphinx-autobuild")
- (version "0.7.1")
+ (version "2021.3.14")
(source
(origin
(method url-fetch)
(uri (pypi-uri "sphinx-autobuild" version))
(sha256
(base32
- "0kn753dyh3b1s0h77lbk704niyqc7bamvq6v3s1f6rj6i20qyf36"))))
+ "019z8kvnaw11r41b6pfdy9iz4iwyr0s51hs0a5djn797dsva676y"))))
(build-system python-build-system)
(arguments
- `(#:phases
+ '(#:phases
(modify-phases %standard-phases
- ;; See https://github.com/GaretJax/sphinx-autobuild/pull/72
- (add-after 'unpack 'use-later-port-for
- (lambda _
- (substitute* "requirements.txt"
- (("port_for==.*") "port_for\n"))
- #t))
- (delete 'check)
- (add-after 'install 'check
- (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
(when tests?
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest" "-v"))
- #t)))))
+ (invoke "pytest" "-vv")))))))
(propagated-inputs
- (list python-argh
- python-livereload
- python-pathtools
- python-port-for
- python-pyyaml
- python-tornado
- python-watchdog))
+ (list python-colorama python-livereload python-sphinx))
(native-inputs
(list python-pytest))
(home-page "https://github.com/GaretJax/sphinx-autobuild")
@@ -806,14 +859,14 @@ documenting acceptable argument types and return value types of functions.")
(define-public python-nbsphinx
(package
(name "python-nbsphinx")
- (version "0.7.1")
+ (version "0.8.8")
(source
(origin
(method url-fetch)
(uri (pypi-uri "nbsphinx" version))
(sha256
(base32
- "0j56bxdj08vn3q1804qwb1ywhga1mdg1awgm7i64wfpfwi8df2zm"))))
+ "1v1lzkfx2lslhslqb110zxmm4dmdg6hs2rahf713c2rk9f10q2dm"))))
(build-system python-build-system)
(propagated-inputs
(list python-docutils
@@ -919,19 +972,16 @@ automated way to document command-line programs. It scans
(list python-beautifulsoup4))
(native-inputs
(list python-beautifulsoup4
- python-docutils
+ python-docutils-0.15
python-jupyter-sphinx
python-numpy
python-numpydoc
python-pandas
- python-plotly
python-pytest
python-pytest-regressions
python-recommonmark
python-sphinx
- python-xarray
- python-docutils
- python-sphinx))
+ python-xarray))
(home-page "https://github.com/pydata/pydata-sphinx-theme")
(synopsis "Bootstrap-based Sphinx theme")
(description
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index ae64e99948..4dd8bb6d96 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -2,7 +2,7 @@
;;; Copyright © 2012-2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
-;;; Copyright © 2015, 2016, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2015, 2016, 2018, 2019, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016, 2019 Leo Famulari <leo@famulari.name>
;;; Copyright © 2016, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2016 Christine Lemmer-Webber <cwebber@dustycloud.org>
@@ -294,6 +294,8 @@ TCP-forwarding. It provides a flow control service for these channels.
Additionally, various channel-specific options can be negotiated.")
(license (license:non-copyleft "file://LICENSE"
"See LICENSE in the distribution."))
+ (properties
+ '((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
diff --git a/gnu/packages/sssd.scm b/gnu/packages/sssd.scm
index 9d254d4b3c..5457991952 100644
--- a/gnu/packages/sssd.scm
+++ b/gnu/packages/sssd.scm
@@ -3,7 +3,7 @@
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Timotej Lazar <timotej.lazar@araneo.si>
-;;; Copyright © 2021 Remco van 't Veer <remco@remworks.net>
+;;; Copyright © 2021, 2022 Remco van 't Veer <remco@remworks.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -152,7 +152,8 @@ fundamental object types for C.")
"1h6hwibaf3xa2w6qpzjiiywmfj6zkgbz4r2isf3gd0xm6vq7n6if"))
(patches (search-patches "sssd-fix-samba.patch"
"sssd-system-directories.patch"
- "sssd-collision-with-external-nss-symbol.patch"))))
+ "sssd-collision-with-external-nss-symbol.patch"
+ "sssd-fix-samba-4.15.3.patch"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags
@@ -196,7 +197,19 @@ fundamental object types for C.")
(lambda _
(substitute* "src/tests/responder_socket_access-tests.c"
(("tcase_add_test\\(tc_utils, resp_str_to_array_test\\);") ""))
- #t)))))
+ #t))
+ (add-after 'unpack 'add-config-in
+ (lambda _
+ (let ((config.h (open-file "config.h.in" "a")))
+ (display (string-append "
+/* Missing in commits on original repo, dunno why but won't work without. */
+#undef SMB_HAS_NEW_NDR_PULL_STEAL_SWITCH
+")
+ config.h)
+ (close config.h))))
+ (add-before 'configure 'autoconf
+ (lambda _
+ (invoke "autoconf"))))))
(inputs
(list augeas
`(,isc-bind "utils")
@@ -225,7 +238,8 @@ fundamental object types for C.")
tdb
tevent))
(native-inputs
- (list check-0.14
+ (list autoconf-2.69
+ check-0.14
docbook-xsl
docbook-xml
libxml2 ; for xmllint
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index c2578c35a9..7fa31c59b4 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -1,8 +1,8 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015 Vicente Vera Parra <vicentemvp@gmail.com>
;;; Copyright © 2016 Andreas Enge <andreas@enge.fr>
-;;; Copyright © 2016, 2017, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016, 2017, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Pjotr Prins <pjotr.guix@thebird.nl>
;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
@@ -16,6 +16,7 @@
;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
;;; Copyright © 2021 Lars-Dominik Braun <lars@6xq.net>
;;; Copyright © 2021 Frank Pursel <frank.pursel@gmail.com>
+;;; Copyright © 2022 Simon Tournier <zimon.toutoune@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -483,14 +484,14 @@ D.V. Hinkley (1997, CUP), originally written by Angelo Canty for S.")
(define-public r-mass
(package
(name "r-mass")
- (version "7.3-54")
+ (version "7.3-55")
(source
(origin
(method url-fetch)
(uri (cran-uri "MASS" version))
(sha256
(base32
- "08g8ashbcas3ac98kxvchbwc8da9dq9anpngb4arnw62npawq05q"))))
+ "191i1iylvh2w2hi99fnm06731lma7z5snpjknfff1m9ziyy9qab5"))))
(properties `((upstream-name . "MASS")))
(build-system r-build-system)
(home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
@@ -504,14 +505,14 @@ Applied Statistics with S\" (4th edition, 2002) by Venables and Ripley.")
(define-public r-class
(package
(name "r-class")
- (version "7.3-19")
+ (version "7.3-20")
(source
(origin
(method url-fetch)
(uri (cran-uri "class" version))
(sha256
(base32
- "0dxyxk59fs90713qisanlvk4p0d3l8n8n7zdd4d5c290naaaw83q"))))
+ "10slys2jny4k2j8l8k97hwrwd6ryzajfnzywqpq2yc9bqxmh8nz6"))))
(build-system r-build-system)
(propagated-inputs
(list r-mass))
@@ -567,14 +568,14 @@ code for possible problems.")
(define-public r-foreign
(package
(name "r-foreign")
- (version "0.8-81")
+ (version "0.8-82")
(source
(origin
(method url-fetch)
(uri (cran-uri "foreign" version))
(sha256
(base32
- "0b4rca1bl8xxna05057hchbwfmgjgx0n140szabpc0raizqzks0s"))))
+ "1yw07yqzfm4w1h92ijyamrmf7rmkqxgamqfd74x7zv4vsn20dvgq"))))
(build-system r-build-system)
(home-page "https://cran.r-project.org/web/packages/foreign")
(synopsis "Read data stored by other statistics software")
@@ -631,14 +632,14 @@ also flexible enough to handle most nonstandard requirements.")
(define-public r-matrix
(package
(name "r-matrix")
- (version "1.3-4")
+ (version "1.4-0")
(source
(origin
(method url-fetch)
(uri (cran-uri "Matrix" version))
(sha256
(base32
- "0fbcbysp3vaivmp1yasmp8mdsldhr826vfs4vyxrjpjl8jfifhmb"))))
+ "1xh62bwcly1blpvnagbhjym1qgw87yir3c72ylhvcla05rq67d62"))))
(properties `((upstream-name . "Matrix")))
(build-system r-build-system)
(propagated-inputs
@@ -653,13 +654,13 @@ and operations on them using LAPACK and SuiteSparse.")
(define-public r-nlme
(package
(name "r-nlme")
- (version "3.1-153")
+ (version "3.1-155")
(source
(origin
(method url-fetch)
(uri (cran-uri "nlme" version))
(sha256
- (base32 "1qw0sq64iybyidj0s8m76z4i1gxb1fn27s29i63fw5hvvy7aj9rx"))))
+ (base32 "0kzzpl63l298yy18x62ypgbhdw61fgm30lc4nlhjjhjj5220yfcz"))))
(build-system r-build-system)
(propagated-inputs
(list r-lattice))
@@ -697,14 +698,14 @@ distributions beyond the exponential family.")
(define-public r-nnet
(package
(name "r-nnet")
- (version "7.3-16")
+ (version "7.3-17")
(source
(origin
(method url-fetch)
(uri (cran-uri "nnet" version))
(sha256
(base32
- "0smmyx4vhlz99vy4w238y913gq74845v0l1p0g1kgydsp9lijlcr"))))
+ "0rws3rkd7dz1maz2mkld29jfrixjgacay8rqz7nmi82a2sw0nxgf"))))
(build-system r-build-system)
(home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
(synopsis "Feed-forward neural networks and multinomial log-linear models")
@@ -735,14 +736,14 @@ classification, regression and survival trees.")
(define-public r-spatial
(package
(name "r-spatial")
- (version "7.3-14")
+ (version "7.3-15")
(source
(origin
(method url-fetch)
(uri (cran-uri "spatial" version))
(sha256
(base32
- "0dlafq744mahxpb13llmsrg54fzww8ld1nbxmr7m851gff11kk2j"))))
+ "1vwc7ingskdj1k4nq418x9yl3cw699pckb9xh5a1yp3g9plknqg5"))))
(build-system r-build-system)
(home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
(synopsis "Functions for kriging and point pattern analysis")
@@ -847,6 +848,58 @@ interactive data exploration and manipulation and optionally leverage
caching.")
(license license:gpl2)))
+(define-public r-chorddiag
+ (package
+ (name "r-chorddiag")
+ (version "0.1.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mattflor/chorddiag")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1bpy9q861l1hyyiqbx2f7qzp7j7im8bkcfdwgxzk5fm0250p359a"))
+ ;; Delete minified JavaScript file
+ (snippet
+ '(delete-file "inst/htmlwidgets/lib/d3/d3.min.js"))))
+ (build-system r-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'process-javascript
+ (lambda* (#:key inputs #:allow-other-keys)
+ (with-directory-excursion "inst/htmlwidgets/lib/d3"
+ (let ((source (assoc-ref inputs "d3.v4.js"))
+ (target "d3.min.js"))
+ (format #true "Processing ~a --> ~a~%"
+ source target)
+ (invoke "esbuild" source "--minify"
+ (string-append "--outfile=" target)))))))))
+ (propagated-inputs
+ (list r-htmlwidgets r-rcolorbrewer))
+ (native-inputs
+ `(("esbuild" ,esbuild)
+ ("r-knitr" ,r-knitr)
+ ("d3.v4.js"
+ ,(origin
+ (method url-fetch)
+ (uri "https://d3js.org/d3.v4.js")
+ (sha256
+ (base32
+ "0y7byf6kcinfz9ac59jxc4v6kppdazmnyqfav0dm4h550fzfqqlg"))))))
+ (home-page "https://github.com/mattflor/chorddiag")
+ (synopsis "Create D3 chord diagram")
+ (description
+ "This package provides tools to create interactive chords diagrams via
+the D3 Javascript library. Chord diagrams show directed relationships among a
+group of entities. This package is based on
+@url{http://bl.ocks.org/mbostock/4062006} with some modifications (fading) and
+additions (tooltips, bipartite diagram type).")
+ (license license:gpl3+)))
+
(define-public r-dichromat
(package
(name "r-dichromat")
@@ -868,13 +921,13 @@ effects of different types of color-blindness.")
(define-public r-digest
(package
(name "r-digest")
- (version "0.6.28")
+ (version "0.6.29")
(source
(origin
(method url-fetch)
(uri (cran-uri "digest" version))
(sha256
- (base32 "006vqwfrry84xn51lxlfalzn9yqr1k81s39r0zy251azx5sqqcja"))))
+ (base32 "1ncwc5fwsylwlcp9vhkhszw8m5sifg74apig2m2pf168lha1yb3r"))))
(build-system r-build-system)
;; Vignettes require r-knitr, which requires r-digest, so we have to
;; disable them and the tests.
@@ -946,7 +999,7 @@ algorithms.")
(native-inputs
`(("r-knitr" ,r-knitr)))
(home-page "https://cran.r-project.org/web/packages/magrittr/index.html")
- (synopsis "A forward-pipe operator for R")
+ (synopsis "Forward-pipe operator for R")
(description
"Magrittr provides a mechanism for chaining commands with a new
forward-pipe operator, %>%. This operator will forward a value, or the result
@@ -1083,14 +1136,14 @@ solution for sending email, including attachments, from within R.")
(define-public r-stringi
(package
(name "r-stringi")
- (version "1.7.5")
+ (version "1.7.6")
(source
(origin
(method url-fetch)
(uri (cran-uri "stringi" version))
(sha256
(base32
- "0r959gzyqkq9683qdfy95g9plwpj3c73n9lhf0a6byybw4scq519"))))
+ "1v0rj5svgvn1mlf69yzm6jm00fxmrsxazs9xymzrf0apxjpxb8qf"))))
(build-system r-build-system)
(inputs (list icu4c))
(native-inputs (list pkg-config))
@@ -1175,7 +1228,7 @@ using just two functions: melt and dcast (or acast).")
(native-inputs
(list r-knitr))
(home-page "https://ggplot2.tidyverse.org")
- (synopsis "An implementation of the grammar of graphics")
+ (synopsis "Implementation of the grammar of graphics")
(description
"Ggplot2 is an implementation of the grammar of graphics in R. It
combines the advantages of both base and lattice graphics: conditioning and
@@ -1304,13 +1357,13 @@ evaluation (NSE) in R.")
(define-public r-dbi
(package
(name "r-dbi")
- (version "1.1.1")
+ (version "1.1.2")
(source (origin
(method url-fetch)
(uri (cran-uri "DBI" version))
(sha256
(base32
- "0i0kfyg43nryyka2bjlgz4x75w965224qp36wz1hl7a2lswb6ajp"))))
+ "0n2gf5flmcrkad7p0pzsnsgwjl5006yi7lyz9lisqxhw8xykgv2n"))))
(build-system r-build-system)
(native-inputs
(list r-knitr))
@@ -1326,13 +1379,13 @@ R/DBMS implementations.")
(define-public r-bh
(package
(name "r-bh")
- (version "1.75.0-0")
+ (version "1.78.0-0")
(source (origin
(method url-fetch)
(uri (cran-uri "BH" version))
(sha256
(base32
- "0nkgvl5qjs2a7jv0ncsrl4fqaw2pdaj7a1pncdv6kp874sci0k5f"))))
+ "1cwc1q8w9d6i81nclgi7lycsnpj0dcbxlv9rdb0f04r0d03rv7iv"))))
(build-system r-build-system)
(home-page "https://github.com/eddelbuettel/bh")
(synopsis "R package providing subset of Boost headers")
@@ -1474,13 +1527,13 @@ emitter (http://pyyaml.org/wiki/LibYAML) for R.")
(define-public r-knitr
(package
(name "r-knitr")
- (version "1.36")
+ (version "1.37")
(source (origin
(method url-fetch)
(uri (cran-uri "knitr" version))
(sha256
(base32
- "0hcf5gii0qlvv15f86y6h08qp0hd9lcrykzj0mdfjdfi52sgbkkf"))))
+ "0qyp78v3hz4qimlc3w4hj5dzp44n2w085ay0l1zvxsxs9142mk9r"))))
(build-system r-build-system)
(propagated-inputs
(list r-evaluate r-highr r-stringr r-xfun r-yaml))
@@ -1557,13 +1610,13 @@ understand the language at a deeper level.")
(define-public r-memoise
(package
(name "r-memoise")
- (version "2.0.0")
+ (version "2.0.1")
(source (origin
(method url-fetch)
(uri (cran-uri "memoise" version))
(sha256
(base32
- "1bzcv7pmls3bx2w5ccv1pm20wycbfqba1v76k0fjgmjsm6hy76pz"))))
+ "1srdzv2bp0splislrabmf1sfbqfi3hn189nq7kxhgjn8k3p38l7q"))))
(build-system r-build-system)
(propagated-inputs
(list r-cachem r-rlang))
@@ -1617,13 +1670,13 @@ R packages that praise their users.")
(define-public r-testthat
(package
(name "r-testthat")
- (version "3.1.0")
+ (version "3.1.2")
(source (origin
(method url-fetch)
(uri (cran-uri "testthat" version))
(sha256
(base32
- "11s98q0gm37z1cqzwvdm9pq26v0zbdq9vc5ssl1nsxhsi42v2577"))))
+ "0ndnmv3gbhlsyqya382wqfkkhlrgpdjmh7mymsv6ja52ihbachgd"))))
(build-system r-build-system)
(propagated-inputs
(list r-brio
@@ -1752,7 +1805,7 @@ and printing capabilities than traditional data frames.")
(home-page "https://github.com/hadley/dplyr")
(synopsis "Tools for working with data frames in R")
(description
- "dplyr is the next iteration of plyr. It is focussed on tools for
+ "dplyr is the next iteration of plyr. It is focused on tools for
working with data frames. It has three main goals: 1) identify the most
important data manipulation tools needed for data analysis and make them easy
to use in R; 2) provide fast performance for in-memory data by writing key
@@ -1963,14 +2016,17 @@ building design matrices.")
(define-public python-statsmodels
(package
(name "python-statsmodels")
- (version "0.11.1")
+ (version "0.13.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "statsmodels" version))
(sha256
- (base32
- "1w6mf8b86vizi2895j11szqryr2v1ckjig3wp9fv94aslfh3zpjv"))))
+ (base32 "0sbsyxgpzhys5padhkhrj71z4i1q41sm938pz0x8ff6jjvcchvh0"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (for-each delete-file (find-files "." "\\.c$"))))))
(build-system python-build-system)
(arguments
`(;; The test suite is very large and rather brittle. Tests often fail
@@ -2069,14 +2125,14 @@ and environmental data in the framework of Euclidean exploratory methods.")
(define-public r-xml2
(package
(name "r-xml2")
- (version "1.3.2")
+ (version "1.3.3")
(source
(origin
(method url-fetch)
(uri (cran-uri "xml2" version))
(sha256
(base32
- "1kx400v62xkd5xal7rzz7jcarz94ac8g1sh4i2dqr78qwgkzj8nz"))))
+ "138w7hb487al9cbahmnk5rhi23k8a9g7nk7s5dyxd3k1646rqknb"))))
(build-system r-build-system)
(inputs
(list libxml2 zlib))
@@ -2157,14 +2213,14 @@ limited to R.")
(define-public r-backports
(package
(name "r-backports")
- (version "1.3.0")
+ (version "1.4.1")
(source
(origin
(method url-fetch)
(uri (cran-uri "backports" version))
(sha256
(base32
- "0bc14x4gyw4gnvm4hrvg5cmmrq449kfza3l14wdgp642ra8iw8sg"))))
+ "0x144hij0rzhrxdq3k5ph8fk7pdgl1avjca25j4mlpmhzdckqp44"))))
(build-system r-build-system)
(home-page "https://cran.r-project.org/web/packages/backports")
(synopsis "Reimplementations of functions introduced since R 3.0.0")
@@ -2375,17 +2431,26 @@ collation, and NAMESPACE files.")
(define-public r-openssl
(package
(name "r-openssl")
- (version "1.4.5")
+ (version "1.4.6")
(source
(origin
(method url-fetch)
(uri (cran-uri "openssl" version))
(sha256
(base32
- "1xy1w0rljzsgvsg91fh9hs6h9rx58mza1vg6rig9ykp9m2ml3hag"))))
+ "0na3yficxg0hjql9pvz96f66yh4g5k2hfwcricb705z7f2pk5f23"))))
(build-system r-build-system)
+ (arguments
+ (list
+ #:phases
+ '(modify-phases %standard-phases
+ (add-after 'unpack 'do-not-use-versioned-linking
+ (lambda _
+ (substitute* "configure"
+ (("PKG_LIBS=\"\\$\\{PKG_LIBS_VERSIONED\\}\"")
+ "PKG_LIBS=\"${PKG_LIBS}\"")))))))
(inputs
- (list libressl))
+ (list openssl))
(native-inputs
(list pkg-config r-knitr))
(propagated-inputs
@@ -2475,13 +2540,13 @@ informative error messages when it's not available.")
(define-public r-devtools
(package
(name "r-devtools")
- (version "2.4.2")
+ (version "2.4.3")
(source (origin
(method url-fetch)
(uri (cran-uri "devtools" version))
(sha256
(base32
- "01cg2ykg0av6z7bgl41njcxcii8vjj8ipch26xazp4yjai8abw3i"))))
+ "0kvbw218jp8pd2lgdjyn94v2iji75s385hkn1qbikcm0pjlmj8g4"))))
(build-system r-build-system)
(propagated-inputs
(list r-callr
@@ -2515,13 +2580,13 @@ tools to simplify the devolpment of R packages.")
(define-public r-withr
(package
(name "r-withr")
- (version "2.4.2")
+ (version "2.4.3")
(source (origin
(method url-fetch)
(uri (cran-uri "withr" version))
(sha256
(base32
- "1j5srffi748yxphwli56lkbh4cga0kmz38dyzganzkw0nx66mya8"))))
+ "0k4x2bd9wb24n3dyg7rdjicdjs5ay2kk5lfgkrcjsv6cki2wgnlv"))))
(build-system r-build-system)
(native-inputs
(list r-knitr))
@@ -2557,13 +2622,13 @@ time-of-day values, based on the @code{difftime} class.")
(define-public r-readr
(package
(name "r-readr")
- (version "2.1.0")
+ (version "2.1.1")
(source (origin
(method url-fetch)
(uri (cran-uri "readr" version))
(sha256
(base32
- "03d7y4k9w5vcm7fwlcaw715ff7d953i92jwbp7ynrqcr09kw6zm0"))))
+ "115w3hgp1w6hr0h2nz840i6mm1pnqzwfbxcmf9ca3qs7llc7k4q3"))))
(build-system r-build-system)
(propagated-inputs
(list r-cli
@@ -2647,13 +2712,13 @@ well as additional utilities such as panel and axis annotation functions.")
(define-public r-rcpparmadillo
(package
(name "r-rcpparmadillo")
- (version "0.10.7.3.0")
+ (version "0.10.7.5.0")
(source (origin
(method url-fetch)
(uri (cran-uri "RcppArmadillo" version))
(sha256
(base32
- "0qk25x8naci76fqcd8jkv8gnba6sj61vkv9yf8498fwff1kvf41p"))))
+ "0516j6n657kxm8sdbxf3jd9z40px9mv7zza4fz8nih63f5iiw1kw"))))
(properties `((upstream-name . "RcppArmadillo")))
(build-system r-build-system)
(propagated-inputs
@@ -2853,13 +2918,13 @@ a column in data frame.")
(define-public r-rsqlite
(package
(name "r-rsqlite")
- (version "2.2.8")
+ (version "2.2.9")
(source (origin
(method url-fetch)
(uri (cran-uri "RSQLite" version))
(sha256
(base32
- "1hscgi11px9hq0sx78c2lkfzq121rlvmhxmqf305xg6lgqdxr2hv"))))
+ "075vsnbkcwpwnn87b06mhbg2fflqhjvbylhbkg0d3v3rl7zg28s4"))))
(properties `((upstream-name . "RSQLite")))
(build-system r-build-system)
(propagated-inputs
@@ -3618,14 +3683,14 @@ flexible than the orphaned \"base64\" package.")
(define-public r-irlba
(package
(name "r-irlba")
- (version "2.3.3")
+ (version "2.3.5")
(source
(origin
(method url-fetch)
(uri (cran-uri "irlba" version))
(sha256
(base32
- "1h7mzrqdjc41814cf6c93sbyl7nxwvsf3x8apl9rhmydgdlk7qkf"))))
+ "1fcv4vazg2sbsda8qqjjsjn2wagcp2bsahvznwm443j66q6qrz16"))))
(build-system r-build-system)
(propagated-inputs
(list r-matrix))
@@ -5054,14 +5119,14 @@ models, generalized linear models and model-based clustering.")
(define-public r-mclust
(package
(name "r-mclust")
- (version "5.4.8")
+ (version "5.4.9")
(source
(origin
(method url-fetch)
(uri (cran-uri "mclust" version))
(sha256
(base32
- "0j79a1nidwxl62x8j97k09qjxladp9irw5z1x1q5gyy6zxskvh8i"))))
+ "0s4mva0n04f3pl41msmzhlh7pnk0zbmf06n826smxkw6mz327wb5"))))
(build-system r-build-system)
(native-inputs
(list gfortran r-knitr))
@@ -5100,14 +5165,14 @@ data for species delimitation, nearest neighbor based noise detection.")
(define-public r-deoptimr
(package
(name "r-deoptimr")
- (version "1.0-9")
+ (version "1.0-10")
(source
(origin
(method url-fetch)
(uri (cran-uri "DEoptimR" version))
(sha256
(base32
- "04k5gi0a5hbm6znzvjaipbmkacp694krkqs38dkbxx1gymsallb1"))))
+ "1m9ag073i7pbxsy74vkj0n4hjn6vmyc4n0k78nmslwwwmjh7nkvp"))))
(properties `((upstream-name . "DEoptimR")))
(build-system r-build-system)
(home-page "https://cran.r-project.org/web/packages/DEoptimR")
@@ -5546,13 +5611,13 @@ bootstrap test for generalized linear mixed models.")
(define-public r-cardata
(package
(name "r-cardata")
- (version "3.0-4")
+ (version "3.0-5")
(source
(origin
(method url-fetch)
(uri (cran-uri "carData" version))
(sha256
- (base32 "09270j39n4jpswxqps20b12zaj8dz4rrqpk2l2j5bnf1xzizb9nd"))))
+ (base32 "06j52rpbqi6fj7chfjwjbwbr6slrbb7i3aygv66gnfiyndcp3rq2"))))
(properties `((upstream-name . "carData")))
(build-system r-build-system)
(home-page "https://r-forge.r-project.org/projects/car/")
@@ -5691,14 +5756,14 @@ first and second order derivatives.")
(define-public r-sn
(package
(name "r-sn")
- (version "2.0.0")
+ (version "2.0.1")
(source
(origin
(method url-fetch)
(uri (cran-uri "sn" version))
(sha256
(base32
- "0sl8qzy9isy5fq8qxh1fg5285jzgy895nbgz8gdq5d0r6zdwrmmb"))))
+ "1z58kwvq8igjm3biyyjdlhs2qq8hfjq5d9x0lzy80yk5hw08kcw6"))))
(build-system r-build-system)
(propagated-inputs
(list r-mnormt r-numderiv r-quantreg))
@@ -5779,14 +5844,14 @@ genome-wide association studies can be analyzed efficiently.")
(define-public r-cairo
(package
(name "r-cairo")
- (version "1.5-12.2")
+ (version "1.5-14")
(source
(origin
(method url-fetch)
(uri (cran-uri "Cairo" version))
(sha256
(base32
- "14hgz5wmnhlbqkd1g662n1agmjnlj3pq69gfng1vb0ivr02l2lnx"))))
+ "0ysc40smkjwk8fmp5dk0q3nbp9xkxzz9pd4z5zkp2mrvrvx52xq6"))))
(properties `((upstream-name . "Cairo")))
(build-system r-build-system)
(inputs
@@ -6251,14 +6316,14 @@ mediation and estimating power.")
(define-public r-clubsandwich
(package
(name "r-clubsandwich")
- (version "0.5.3")
+ (version "0.5.5")
(source
(origin
(method url-fetch)
(uri (cran-uri "clubSandwich" version))
(sha256
(base32
- "0jazgka18bb5n58d5sn94q7rc9sac82qrpl2i5b4rkx9q2pb39cn"))))
+ "1ifnc2rg5agf7lpilmm27iq0af7ghfhkvwykajhvykgf6h4clvhf"))))
(properties `((upstream-name . "clubSandwich")))
(build-system r-build-system)
(propagated-inputs
@@ -6426,14 +6491,14 @@ interface). The recommended routine @code{logspline()} uses an algorithm from
(define-public r-effects
(package
(name "r-effects")
- (version "4.2-0")
+ (version "4.2-1")
(source
(origin
(method url-fetch)
(uri (cran-uri "effects" version))
(sha256
(base32
- "0iks79rd4knrd81x4kvcpgpclr69l0m0v6sfla8k3wzkcnydycv8"))))
+ "0h3n2kd43fddy29hlv1nckw3wglykwrgk1hp8khb0pnm2i12b5sk"))))
(properties `((upstream-name . "effects")))
(build-system r-build-system)
(propagated-inputs
@@ -6458,14 +6523,14 @@ various statistical models with linear predictors.")
(define-public r-bayesfactor
(package
(name "r-bayesfactor")
- (version "0.9.12-4.2")
+ (version "0.9.12-4.3")
(source
(origin
(method url-fetch)
(uri (cran-uri "BayesFactor" version))
(sha256
(base32
- "1z083v7is21gm0a458jm5ph3xfdm7mh29a6sg2r1njq82f8x3s3g"))))
+ "171hbr445v8mq4hqi1k8q3h8zqsccwjv0a2mj98h9b77667ziyfw"))))
(properties `((upstream-name . "BayesFactor")))
(build-system r-build-system)
(propagated-inputs
@@ -6629,13 +6694,13 @@ extreme-value distribution.")
(define-public r-gld
(package
(name "r-gld")
- (version "2.6.2")
+ (version "2.6.4")
(source
(origin
(method url-fetch)
(uri (cran-uri "gld" version))
(sha256
- (base32 "1wrw7i5bq7rb2ahadm57y9fmr697r7lp9ln7ajcd592b0nn60n4i"))))
+ (base32 "08rkv7g6ci969vh9fbyg3lrpfmjhbiwzdhcjs9j6s9bf3gpdmdhd"))))
(properties `((upstream-name . "gld")))
(build-system r-build-system)
(propagated-inputs (list r-e1071 r-lmom))
@@ -6662,13 +6727,13 @@ L-Moments and Distributional Least Absolutes.")
(define-public r-exact
(package
(name "r-exact")
- (version "3.0")
+ (version "3.1")
(source
(origin
(method url-fetch)
(uri (cran-uri "Exact" version))
(sha256
- (base32 "0acm01njg3arlzwknv5v1sdsz5ab0bdh04sn1bmf91hcg3li8qd7"))))
+ (base32 "1kz3hw11sl142mai4ly2r85rwdbjz8q7b38ybmjym6r0n5qmqzyn"))))
(properties `((upstream-name . "Exact")))
(build-system r-build-system)
(propagated-inputs (list r-rootsolve))
@@ -6691,13 +6756,13 @@ Calculates confidence intervals for the difference in proportion.")
(define-public r-desctools
(package
(name "r-desctools")
- (version "0.99.43")
+ (version "0.99.44")
(source
(origin
(method url-fetch)
(uri (cran-uri "DescTools" version))
(sha256
- (base32 "1zx4wwry7pph21q37r0r1vgx616pki232ych2wl9z2s2fmclwg4c"))))
+ (base32 "04wp3sp6sahgq167465y38y13h1ia5a4zqazysacpjxd1if0578j"))))
(properties `((upstream-name . "DescTools")))
(build-system r-build-system)
(propagated-inputs
diff --git a/gnu/packages/storage.scm b/gnu/packages/storage.scm
index 094d7ade74..d29486bd4b 100644
--- a/gnu/packages/storage.scm
+++ b/gnu/packages/storage.scm
@@ -59,14 +59,14 @@
(define-public ceph
(package
(name "ceph")
- (version "16.2.6")
+ (version "16.2.7")
(source (origin
(method url-fetch)
(uri (string-append "https://download.ceph.com/tarballs/ceph-"
version ".tar.gz"))
(sha256
(base32
- "104xmc84d4ycdn7f4z09kvzwl1vlywxp3hbfxhgq0kcmgikb4wad"))
+ "0n7vpdcxji49bqaa5b7zxif1r80rrkbh0dfacbibvf20kzzbn2fz"))
(patches
(search-patches
"ceph-disable-cpu-optimizations.patch"
@@ -74,22 +74,20 @@
"ceph-rocksdb-compat.patch"))
(modules '((guix build utils)))
(snippet
- '(begin
- (for-each delete-file-recursively
- '(;; TODO: Unbundle these:
- ;"src/isa-l"
- ;"src/lua"
- ;"src/xxHash"
- ;"src/zstd"
- ;"src/civetweb"
- "src/c-ares"
- "src/fmt"
- "src/googletest"
- "src/rapidjson"
- "src/spdk"
- "src/rocksdb"
- "src/boost"))
- #t))))
+ '(for-each delete-file-recursively
+ '(;; TODO: Unbundle these:
+ ;;"src/isa-l"
+ ;;"src/lua"
+ ;;"src/xxHash"
+ ;;"src/zstd"
+ ;;"src/civetweb"
+ "src/c-ares"
+ "src/fmt"
+ "src/googletest"
+ "src/rapidjson"
+ "src/spdk"
+ "src/rocksdb"
+ "src/boost")))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags
diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index 04803c8fd3..cfeb17e533 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -36,6 +36,7 @@
#:use-module (gnu packages fontutils)
#:use-module (gnu packages gawk)
#:use-module (gnu packages gnome)
+ #:use-module (gnu packages gtk)
#:use-module (gnu packages image)
#:use-module (gnu packages libbsd)
#:use-module (gnu packages linux)
@@ -393,6 +394,71 @@ antialiased fonts (using fontconfig), fallback fonts, resizing, and line
drawing.")
(license license:x11)))
+(define-public xst
+ (package
+ (inherit st)
+ (name "xst")
+ (version "0.8.4.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gnotclub/xst")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1q64x7czpbcg0v509qchn5v96zdnx7jmvy0zxhjmkk3d10x5rqlw"))))
+ (home-page "https://github.com/gnotclub/xst")
+ (synopsis "Fork of st that uses Xresources")
+ (description
+ "@command{xst} uses Xresources and applies the following patches to
+@command{st}:
+@itemize
+@item @uref{https://st.suckless.org/patches/alpha/, alpha}
+@item @uref{https://st.suckless.org/patches/boxdraw/, boxdraw}
+@item @uref{https://st.suckless.org/patches/clipboard/, clipboard}
+@item @uref{https://st.suckless.org/patches/disable_bold_italic_fonts/, disable_bold_italic_fonts}
+@item @uref{https://st.suckless.org/patches/externalpipe/, externalpipe}
+@item @uref{https://st.suckless.org/patches/scrollback/, scrollback}
+@item @uref{https://st.suckless.org/patches/spoiler/, spoiler}
+@item @uref{https://st.suckless.org/patches/vertcenter/, vertcenter}
+@end itemize")
+ (license license:expat)))
+
+(define-public lukesmithxyz-st
+ (let ((commit "e053bd6036331cc7d14f155614aebc20f5371d3a")
+ (revision "0"))
+ (package
+ (inherit st)
+ (name "lukesmithxyz-st")
+ (version "0.8.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/LukeSmithxyz/st")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "12avzzapkkj4mvd00zh8b6gynk6jysh84jcwlkliyyd82lvyw22v"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments st)
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (add-after 'unpack 'remove-calls-to-git
+ (lambda _
+ (substitute* "Makefile"
+ (("git submodule init") "")
+ (("git submodule update") ""))))))))
+ (inputs (modify-inputs (package-inputs st)
+ (prepend libxext harfbuzz)))
+ (home-page "https://github.com/LukeSmithxyz/st")
+ (synopsis "Luke Smith's fork of st")
+ (description
+ "This package is Luke's fork of the suckless simple terminal (st) with
+Vim bindings and Xresource compatibility.")
+ (license license:expat))))
+
(define-public surf
(package
(name "surf")
diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm
index ce815ed5c7..165be17e4c 100644
--- a/gnu/packages/sync.scm
+++ b/gnu/packages/sync.scm
@@ -71,7 +71,7 @@
(define-public nextcloud-client
(package
(name "nextcloud-client")
- (version "3.1.3")
+ (version "3.2.0")
(source
(origin
(method git-fetch)
@@ -82,7 +82,7 @@
(file-name
(git-file-name name version))
(sha256
- (base32 "15ymk3gvfmgwzmqbhlw7jjy9y65ib3391h1dlmpll65iaj2miajk"))
+ (base32 "137h65sn4ixspbblvn0r2ngg8234yk582bppkkr87c3krfp21gx4"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-1)))
diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm
index a957d7738b..c19cc97862 100644
--- a/gnu/packages/syncthing.scm
+++ b/gnu/packages/syncthing.scm
@@ -6,6 +6,7 @@
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -45,7 +46,7 @@
(define-public syncthing
(package
(name "syncthing")
- (version "1.18.5")
+ (version "1.18.6")
; XXX After the go-build-system can use "Go modules", stop using bundled
; dependencies for Syncthing.
(source (origin
@@ -55,7 +56,7 @@
"/syncthing-source-v" version ".tar.gz"))
(sha256
(base32
- "07yzhc8ilwv9r9cpqdzd1i1mcgi4875xbz9k4dfm5rkazvav8kf6"))))
+ "0hlyk2nvsnf4am1vqc4zl91acf2rhpr1gy4gppk2aa5x85h9qisc"))))
(build-system go-build-system)
;; The primary Syncthing executable goes to "out", while the auxiliary
;; server programs and utility tools go to "utils". This reduces the size
@@ -65,7 +66,6 @@
`(#:modules ((srfi srfi-26) ; for cut
(guix build utils)
(guix build go-build-system))
- #:go ,go-1.17
#:import-path "github.com/syncthing/syncthing"
;; We don't need to install the source code for end-user applications.
#:install-source? #f
@@ -172,6 +172,14 @@ Protocol.")
(substitute* "syncthing_gtk/configuration.py"
(("/usr/bin/syncthing") (string-append syncthing
"/bin/syncthing"))))))
+ (add-after 'unpack 'fix-autostart-path
+ ;; Change the autostart .desktop file 'Exec' command so it finds
+ ;; the Python wrapper of 'syncthing-gtk', rather than the unwrapped
+ ;; '.syncthing-gtk-real'.
+ (lambda _
+ (substitute* "syncthing_gtk/tools.py"
+ (("return executable")
+ "return \"syncthing-gtk\""))))
(add-after 'unpack 'remove-windows.py
(lambda _
;; A Windows-specific module that fails to load with
@@ -187,7 +195,6 @@ Protocol.")
(list gtk+
libappindicator
libnotify
- librsvg
python-bcrypt
python-dateutil
python-pycairo
@@ -886,15 +893,6 @@ message streaming.")
#:tests? #f
#:phases
(modify-phases %standard-phases
- (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
- (lambda* (#:key outputs #:allow-other-keys)
- (map (lambda (file)
- (make-file-writable file))
- (find-files
- (string-append (assoc-ref outputs "out")
- "/src/github.com/prometheus/common/expfmt/testdata/")
- ".*\\.gz$"))
- #t))
;; Source-only package
(delete 'build))))
(propagated-inputs
@@ -969,7 +967,7 @@ server tools for Prometheus metrics.")
(define-public go-github-com-go-asn1-ber-asn1-ber
(package
(name "go-github-com-go-asn1-ber-asn1-ber")
- (version "1.3.1")
+ (version "1.5.3")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -978,7 +976,7 @@ server tools for Prometheus metrics.")
(file-name (git-file-name name version))
(sha256
(base32
- "0dxfmgk84fn0p6pz3i0cspynh6rly5pfk9wghm1q07mx99npln02"))))
+ "15ygmfmdwwjda9xdq58rx6gnmsfc14m1qqhcj7cn7rm0mx4wk2vb"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/go-asn1-ber/asn1-ber"))
@@ -991,7 +989,7 @@ Go language.")
(define-public go-github-com-go-ldap-ldap
(package
(name "go-github-com-go-ldap-ldap")
- (version "3.1.7")
+ (version "3.4.1")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -999,20 +997,43 @@ Go language.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32
- "1z6wxia7a1jkmasa9mm6g4n8f0qqbp5rw6vk0zyh4vzk7azklnj2"))))
+ (base32 "1xf2jrwhgr06jy4liba48hrz4b7j27r7m9dnl7fj95vazsx2n5br"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/go-ldap/ldap/v3"
#:tests? #f)) ; test suite requires internet access
(propagated-inputs
- (list go-github-com-go-asn1-ber-asn1-ber))
+ (list go-github-com-go-asn1-ber-asn1-ber
+ go-github-com-azure-go-ntlmssp))
(home-page "https://github.com/go-ldap/ldap")
(synopsis "LDAP v3 functionality for Go")
(description "This package provides basic LDAP v3 functionality in the Go
language.")
(license expat)))
+(define-public go-github-com-azure-go-ntlmssp
+ (package
+ (name "go-github-com-azure-go-ntlmssp")
+ (version "0.0.0-20211209120228-48547f28849e")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Azure/go-ntlmssp")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0im28kp9p6ncdmh7qq5qwl85nmiwmp8jka2qgrjiqzc5n36q56np"))))
+ (build-system go-build-system)
+ (arguments '(#:import-path "github.com/Azure/go-ntlmssp"))
+ (propagated-inputs
+ (list go-golang-org-x-crypto))
+ (home-page "https://github.com/Azure/go-ntlmssp")
+ (synopsis "NTLM negotiation in Go")
+ (description
+ "This package provides NTLM/Negotiate authentication over HTTP.")
+ (license expat)))
+
(define-public go-github-com-flynn-archive-go-shlex
(let ((commit "3f9db97f856818214da2e1057f8ad84803971cff")
(revision "0"))
diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm
index 0c6d860f72..421751bed2 100644
--- a/gnu/packages/syndication.scm
+++ b/gnu/packages/syndication.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2016, 2017, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016, 2017, 2019, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018, 2019, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
@@ -217,14 +217,14 @@ cards.")
(define-public newsboat
(package
(name "newsboat")
- (version "2.25")
+ (version "2.26")
(source
(origin
(method url-fetch)
(uri (string-append "https://newsboat.org/releases/" version
"/newsboat-" version ".tar.xz"))
(sha256
- (base32 "0zh1lqgsfhz8cmn6ajvcrfbn9iq2ls3adi2g17syzj8xiwvspaj1"))))
+ (base32 "061w86jffyi49m4d9n974a3pd1svbw3azmh0qx8h2v7h0178791l"))))
(build-system cargo-build-system)
(native-inputs
`(("gettext" ,gettext-minimal)
@@ -247,14 +247,15 @@ cards.")
#:install-source? #f
#:cargo-inputs
(("rust-backtrace" ,rust-backtrace-0.3)
- ("rust-bitflags" ,rust-bitflags-1.3)
+ ("rust-bitflags" ,rust-bitflags-1)
("rust-chrono" ,rust-chrono-0.4)
- ("rust-clap" ,rust-clap-2)
("rust-curl-sys" ,rust-curl-sys-0.4)
("rust-cxx" ,rust-cxx-1)
("rust-fastrand" ,rust-fastrand-1)
("rust-gettext-rs" ,rust-gettext-rs-0.7)
+ ("rust-lexopt" ,rust-lexopt-0.2)
("rust-libc" ,rust-libc-0.2)
+ ("rust-md5" ,rust-md5-0.7)
("rust-natord" ,rust-natord-1)
("rust-nom" ,rust-nom-7)
("rust-once-cell" ,rust-once-cell-1)
@@ -301,6 +302,7 @@ interface that might look familiar to @command{mutt} or @command{slrn} users.
Newsboat supports OPML import/exports, HTML rendering, podcasts (with
@command{podboat}), off-line reading, searching and storing articles to your
file system, and many more features.")
+ (properties '((release-monitoring-url . "https://newsboat.org/news.atom")))
(license (list license:gpl2+ ; filter/*
license:expat)))) ; everything else
@@ -461,6 +463,7 @@ a simple interface that makes it easy to organize and browse feeds.")
(arguments
`(#:phases
(modify-phases %standard-phases
+ (delete 'sanity-check) ; Tries to read environment variables.
(replace 'check
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
(add-installed-pythonpath inputs outputs)
diff --git a/gnu/packages/task-management.scm b/gnu/packages/task-management.scm
index 296ddbd969..c349081f01 100644
--- a/gnu/packages/task-management.scm
+++ b/gnu/packages/task-management.scm
@@ -231,6 +231,7 @@ a task.")
gst-plugins-good ;for ScaleTempo plugin
gtk+
libhandy
+ python
python-gst
python-pygobject))
(home-page "https://github.com/rafaelmardojai/blanket")
diff --git a/gnu/packages/tbb.scm b/gnu/packages/tbb.scm
index 427f281686..e5d8394f5f 100644
--- a/gnu/packages/tbb.scm
+++ b/gnu/packages/tbb.scm
@@ -89,7 +89,8 @@ tasks, synchronization primitives, atomic operations, and more.")
(arguments
`(#:test-target "test"
#:make-flags (list (string-append "LDFLAGS=-Wl,-rpath="
- (assoc-ref %outputs "out") "/lib"))
+ (assoc-ref %outputs "out") "/lib")
+ "CFLAGS=-fuse-ld=gold")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fail-on-test-errors
@@ -121,6 +122,13 @@ tasks, synchronization primitives, atomic operations, and more.")
(copy-recursively "doc" doc)
(copy-recursively "examples" examples)
(copy-recursively "include" include)))))))
+ (native-inputs
+ ;; XXX: For some reason, since commit "gnu: binutils: Absorb
+ ;; binutils-next", the build of just this version of TBB crashes during
+ ;; tests. Workaround it by linking the binaries with ld.gold.
+ (list (module-ref (resolve-interface
+ '(gnu packages commencement))
+ 'ld-gold-wrapper)))
(home-page "https://www.threadingbuildingblocks.org")
(synopsis "C++ library for parallel programming")
(description
diff --git a/gnu/packages/tcl.scm b/gnu/packages/tcl.scm
index f05642a3f9..810095282e 100644
--- a/gnu/packages/tcl.scm
+++ b/gnu/packages/tcl.scm
@@ -5,7 +5,7 @@
;;; Copyright © 2016, 2018 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2017 Kei Kebreau <kkebreau@posteo.net>
-;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2018, 2022 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
;;;
@@ -25,6 +25,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages tcl)
+ #:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
@@ -96,7 +97,7 @@
(define-public itcl
(package
(name "itcl")
- (version "4.2.0")
+ (version "4.2.2")
(source
(origin
(method url-fetch)
@@ -105,33 +106,29 @@
version "/itcl" version ".tar.gz"))
(file-name (string-append "incrtcl-" version ".tar.gz"))
(sha256
- (base32 "0w28v0zaraxcq1s9pa6cihqqwqvvwfgz275lks7w4gl7hxjxmasw"))))
+ (base32 "0v0m1s3rlsbg7p366i6m5zcvnmixnch87jmczidjanqvmw76fk5c"))))
(build-system gnu-build-system)
(arguments
- `(#:configure-flags
- (list
- (string-append
- "--exec-prefix=" (assoc-ref %outputs "out"))
- (string-append
- "--with-tclinclude=" (assoc-ref %build-inputs "tcl") "/include")
- (string-append
- "--with-tcl=" (assoc-ref %build-inputs "tcl") "/lib"))
- #:test-target "test"
- #:phases
- (modify-phases %standard-phases
- (add-after 'install 'cleanup-bin-and-lib
- (lambda* (#:key outputs #:allow-other-keys)
- ;; NOTE: (Sharlatan-20210213T204336+0000): libraries appearer in
- ;; "out/lib/itcl{{version}}" and there are no binaries, some extra
- ;; rename and remove spells are to be applied.
- (let ((out (assoc-ref outputs "out")))
- (rmdir
- (string-append out "/bin"))
- (rename-file
- (string-append out "/lib/itcl" ,version) (string-append out "/libtmp"))
- (rename-file
- (string-append out "/libtmp") (string-append out "/lib")))
- #t)))))
+ (list #:configure-flags
+ #~(list
+ (string-append "--exec-prefix=" #$output)
+ (string-append "--with-tclinclude="
+ (assoc-ref %build-inputs "tcl") "/include")
+ (string-append "--with-tcl="
+ (assoc-ref %build-inputs "tcl") "/lib"))
+ #:test-target "test"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'clean-up-bin-and-lib
+ (lambda _
+ ;; NOTE: (Sharlatan-20210213T204336+0000): libraries appearer in
+ ;; "out/lib/itcl{{version}}" and there are no binaries, some extra
+ ;; rename and remove spells are to be applied.
+ (rmdir (string-append #$output "/bin"))
+ (rename-file (string-append #$output "/lib/itcl" #$version)
+ (string-append #$output "/libtmp"))
+ (rename-file (string-append #$output "/libtmp")
+ (string-append #$output "/lib")))))))
(native-inputs
(list tcl))
(inputs
diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 1f053c0bd0..5b036f4767 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -36,6 +36,7 @@
#:use-module (gnu packages gnupg)
#:use-module (gnu packages gtk)
#:use-module (gnu packages image)
+ #:use-module (gnu packages jemalloc)
#:use-module (gnu packages kde-frameworks)
#:use-module (gnu packages language)
#:use-module (gnu packages libevent)
@@ -72,8 +73,8 @@
#:use-module (guix build-system qt))
(define-public webrtc-for-telegram-desktop
- (let ((commit "a19877363082da634a3c851a4698376504d2eaee")
- (revision "83"))
+ (let ((commit "91d836dc84a16584c6ac52b36c04c0de504d9c34")
+ (revision "166"))
(hidden-package
(package
(name "webrtc-for-telegram-desktop")
@@ -89,7 +90,7 @@
(file-name
(git-file-name name version))
(sha256
- (base32 "0961zm1m1mc2kh54dx5ax95q8sw13impvpjvg9jv12bmfkgm17wr"))
+ (base32 "0plwdp6xgxi27hif5j7kpq425cidxyxbbga3z2f64dsninwy5p1x"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-1)))
@@ -137,6 +138,7 @@
`(("alsa" ,alsa-lib)
("ffmpeg" ,ffmpeg)
("libjpeg" ,libjpeg-turbo)
+ ("glib" ,glib)
("libvpx"
,(origin
(method git-fetch)
@@ -159,8 +161,13 @@
(git-file-name "libyuv-for-webrtc-for-telegram-desktop" version))
(sha256
(base32 "01knnk4h247rq536097n9n3s3brxlbby3nv3ppdgsqfda3k159ll"))))
+ ("libxcomposite" ,libxcomposite)
+ ("libxdamage" ,libxdamage)
+ ("libxrender" ,libxrender)
+ ("libxrandr" ,libxrandr)
("openssl" ,openssl)
("opus" ,opus)
+ ("pipewire" ,pipewire)
("protobuf" ,protobuf)
("pulseaudio" ,pulseaudio)
("x11" ,libx11)
@@ -263,7 +270,7 @@ Telegram project, for its use in telegram desktop client.")
(define-public telegram-desktop
(package
(name "telegram-desktop")
- (version "2.5.9")
+ (version "2.9.3")
(source
(origin
(method git-fetch)
@@ -275,7 +282,7 @@ Telegram project, for its use in telegram desktop client.")
(file-name
(git-file-name name version))
(sha256
- (base32 "1lqs06scqvzg37a2py8jk7nnlvk42jjifcpnhdd5rgd5biw70nyx"))
+ (base32 "0dzf1y3xhqvizg29bd1kya48cjbkq073d2x10ynwcmmx396l4nd8"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-1)))
@@ -310,6 +317,8 @@ Telegram project, for its use in telegram desktop client.")
;; Raghav Gururajan <rg@raghavgururajan.name>
"-DTDESKTOP_API_ID=2791056"
"-DTDESKTOP_API_HASH=582d6d0b44f7a2de949e99271fd8b3f2"
+ ;; Disable WebkitGTK support as it fails to link
+ "-DDESKTOP_APP_DISABLE_WEBKITGTK=ON"
;; Use bundled fonts as fallback.
"-DDESKTOP_APP_USE_PACKAGED_FONTS=OFF")
#:phases
@@ -341,7 +350,9 @@ Telegram project, for its use in telegram desktop client.")
,(assoc-ref inputs "lib-storage-source"))
("Telegram/lib_tl" ,(assoc-ref inputs "lib-tl-source"))
("Telegram/lib_ui" ,(assoc-ref inputs "lib-ui-source"))
+ ("Telegram/lib_waylandshells" ,(assoc-ref inputs "lib-waylandshells-source"))
("Telegram/lib_webrtc" ,(assoc-ref inputs "lib-webrtc-source"))
+ ("Telegram/lib_webview" ,(assoc-ref inputs "lib-webview-source"))
("Telegram/ThirdParty/tgcalls"
,(assoc-ref inputs "tgcalls-source"))))
#t))
@@ -361,11 +372,11 @@ Telegram project, for its use in telegram desktop client.")
(uri
(git-reference
(url "https://github.com/desktop-app/cmake_helpers.git")
- (commit "695fabda6830b58bdc02d09db70531d5dececcd0")))
+ (commit "4d44d822e01b3b5fbec3ce824e01f56aa35d7f72")))
(file-name
(git-file-name "cmake-helpers-for-telegram-desktop" version))
(sha256
- (base32 "1j3ppgfmihcjl22w5jk8jhwif10i9wbycq5zqnssn6pnhnj7di5i"))))
+ (base32 "0h6cjiqy014h2mz90h1z5a7plb3ihbnds4bja8994ybr1dy3m7m5"))))
("cmake-shared" ,cmake-shared)
("extra-cmake-modules" ,extra-cmake-modules)
("glib:bin" ,glib "bin")
@@ -384,20 +395,22 @@ Telegram project, for its use in telegram desktop client.")
(uri
(git-reference
(url "https://github.com/desktop-app/codegen.git")
- (commit "127968de8129e8ccfa6ac50721c70415a5a087c3")))
+ (commit "248614b49cd7d5aff69d75a737f2e35b79fbb119")))
(file-name
(git-file-name "codegen" version))
(sha256
- (base32 "036hzjrsk134ky62192nra43rsln5kh5gz20q1920s922661zky2"))))
+ (base32 "00f7g2z6xmkbkrmi3q27hscjl44mg66wf9q0mz3rhy3jaa6cfdrk"))))
("expected" ,libexpected)
("fcitx-qt5" ,fcitx-qt5)
("fcitx5-qt" ,fcitx5-qt)
("ffmpeg" ,ffmpeg)
("glib" ,glib)
+ ("glibmm" ,glibmm-2.64)
("gtk+" ,gtk+)
("hime" ,hime)
("hunspell" ,hunspell)
("iconv" ,libiconv)
+ ("jemalloc" ,jemalloc)
("kwayland" ,kwayland)
("lib-base-source"
,(origin
@@ -405,44 +418,44 @@ Telegram project, for its use in telegram desktop client.")
(uri
(git-reference
(url "https://github.com/desktop-app/lib_base.git")
- (commit "f1e4168081428fa451d2f50eee7b1c448268c43a")))
+ (commit "a23c05c44e4f01dc4428f4d75d4db98c59d313a6")))
(file-name
(git-file-name "lib-base-for-telegram-desktop" version))
(sha256
- (base32 "0piqp7llwi7sfy4c15g0p8ihr90rz1qps6q5fkl1iasrf5ysw8qc"))))
+ (base32 "0vh5zgxwalmbnvz8lzlnba87ch8vnpmcz6nvf56w09f3nlxvvq78"))))
("lib-crl-source"
,(origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/desktop-app/lib_crl.git")
- (commit "16150bf71d79382738114b913f137ec1a1a7630c")))
+ (commit "3ccf2ed5095442e5874bba8852cb7dc4efeae29f")))
(file-name
(git-file-name "lib-crl-for-telegram-desktop" version))
(sha256
- (base32 "0qhagdr26aqb9w7wnchcmk1j7ln28x3wbkkkm06b8h0mybksbj7q"))))
+ (base32 "11my7q54m4lvvlgma6pbdyjxi1cv1adk1gph2j50mh18sqlm8myz"))))
("lib-lottie-source"
,(origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/desktop-app/lib_lottie.git")
- (commit "fb40f379d82ffa1fc7506e9a8dddcf48847715ae")))
+ (commit "0770df009db7928df1d0cad0900dc5110106d229")))
(file-name
(git-file-name "lib-lottie-for-telegram-desktop" version))
(sha256
- (base32 "1vq0mqxcrrv7akcqk9cl4mm61zw6dcfmy8adl0pcp49kynm64saw"))))
+ (base32 "1gj56ymlbk5dnk82jw674808m511lv9dky8891a5wm4gp3pph5jb"))))
("lib-qr-source"
,(origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/desktop-app/lib_qr.git")
- (commit "92ce41a690a463eb462089a4eb1e51e019308018")))
+ (commit "2b08c71c6edcfc3e31f7d7f518cc963493b6e189")))
(file-name
(git-file-name "lib-qr-for-telegram-desktop" version))
(sha256
- (base32 "182939nv7xs9b3bgah3gl5y9hx5r59mabd2jw3z6717vc96qi2pj"))))
+ (base32 "05hrkmwgrczyjv87r507i2r7m1zr6k2i43mq3my0s6j4szr1rjq0"))))
("lib-rlottie-source"
,(origin
(method git-fetch)
@@ -460,66 +473,88 @@ Telegram project, for its use in telegram desktop client.")
(uri
(git-reference
(url "https://github.com/desktop-app/lib_rpl.git")
- (commit "e1b96399d9031c4ef0354631e6bb375029d29d9f")))
+ (commit "df721be3fa14a27dfc230d2e3c42bb1a7c9d0617")))
(file-name
(git-file-name "lib-rpl-for-telegram-desktop" version))
(sha256
- (base32 "1wvqazljd2kq1fxlj250jhjrig529499bym9p81dx33kh1l9dgss"))))
+ (base32 "15fnv3ssn7rn5d0j52gggdvyqc2wm464678dj7v2x9h8lka2jjxn"))))
("lib-spellcheck-source"
,(origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/desktop-app/lib_spellcheck.git")
- (commit "1b540b38ed78e9a3cba93e9ba4ce4525ab692277")))
+ (commit "68c9b788958904aea7de79f986a0f82ec8c5b094")))
(file-name
(git-file-name "lib-spellcheck-for-telegram-desktop" version))
(sha256
- (base32 "0a7042h5zrdvgs7v153ral2dh1zj84di5yjcmgcry5k4s1im9di7"))))
+ (base32 "0d8s4wwk6fxf536mhzq2vb9qw3j0m8nqia7ylvvpsbc4kh09dadn"))))
("lib-storage-source"
,(origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/desktop-app/lib_storage.git")
- (commit "cbe51722b73cfa9ff27bd59294b08aa5ee33c936")))
+ (commit "403df6c4a29562bd417c92d410e49819f5a48cc1")))
(file-name
(git-file-name "lib-storage-for-telegram-desktop" version))
(sha256
- (base32 "045l5xsyagyz17gbhmmvl2miss4nb92p0dmza7yfs9pkg9gs0f87"))))
+ (base32 "1zxvzfrxbj4d395fzyb5pm9wn3n8jyimxx88cyqjcdd46sx4h7r5"))))
("lib-tl-source"
,(origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/desktop-app/lib_tl.git")
- (commit "404c83d77e5edb8a39f8e9f56a6340960fe5070e")))
+ (commit "45faed44e7f4d11fec79b7a70e4a35dc91ef3fdb")))
(file-name
(git-file-name "lib-tl-for-telegram-desktop" version))
(sha256
- (base32 "1k34nkvvcjqw5q81n1qmklid60cvzjk4lmn9qjimk437m6wbii7f"))))
+ (base32 "0h43xvzklda02494d466jp52hl8c1kmav9f12dyld10dpf1w6c7m"))))
("lib-ui-source"
,(origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/desktop-app/lib_ui.git")
- (commit "e14bc4681d69c1b538b8c5af51501077ae5a8a86")))
+ (commit "1b590f9e16eb9571a039f072d6fea66c607e419f")))
(file-name
(git-file-name "lib-ui-for-telegram-desktop" version))
(sha256
- (base32 "04b1x4bswk3bxqrwpv5g7w4frkprrwf0px6aibh6z4drinv08wsv"))))
+ (base32 "0ighyhfp29h9h8c7vr70pnhcv2xnsr9ln084pssn8hb5z4pmb62f"))))
+ ("lib-waylandshells-source"
+ ,(origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/desktop-app/lib_waylandshells.git")
+ (commit "59b0ee55a68976d27f1bf7cec0e11d5939e185e7")))
+ (file-name
+ (git-file-name "lib-waylandshells-for-telegram-desktop" version))
+ (sha256
+ (base32 "0l2xrpc5mvvdlsj333pmkgfvn9wi1ijfdaaz8skfnw9icw52faaf"))))
("lib-webrtc-source"
,(origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/desktop-app/lib_webrtc.git")
- (commit "60d5c43daf882a6c03944a3e6198b5f35b654a0e")))
+ (commit "ef49f953f12b112008a094a719f40939aaf39db4")))
(file-name
(git-file-name "lib-webrtc-for-telegram-desktop" version))
(sha256
- (base32 "0mxmbw8i37axllg9h976p6np2gcfyci6xwwl9hc9mhs49vwwsw5s"))))
+ (base32 "15k4xs3462p3ddp5cn9im3nvdiaijmxir8wxsf5yrj70ghy26ibw"))))
+ ("lib-webview-source"
+ ,(origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/desktop-app/lib_webview.git")
+ (commit "e06427c624515485774e2e2181d4afeb05ad5a67")))
+ (file-name
+ (git-file-name "lib-webview-for-telegram-desktop" version))
+ (sha256
+ (base32 "148z7xzfscynwwwqssdsd97npax6yn8zrd64xw8qzbwff2g2r7k4"))))
("libdbusmenu-qt" ,libdbusmenu-qt)
("libjpeg" ,libjpeg-turbo)
("libtgvoip" ,libtgvoip-for-telegram-desktop)
@@ -533,22 +568,24 @@ Telegram project, for its use in telegram desktop client.")
("pulseaudio" ,pulseaudio)
("qrcodegen" ,qrcodegen-cpp)
("qt" ,qtbase-5)
+ ("qtsvg" ,qtsvg)
("qt5ct" ,qt5ct)
("qtimageformats" ,qtimageformats)
("qtwayland" ,qtwayland)
("range-v3" ,range-v3)
("rlottie" ,rlottie-for-telegram-desktop)
+ ("rnnoise" ,xiph-rnnoise)
("tgcalls-source"
,(origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/TelegramMessenger/tgcalls.git")
- (commit "71addf5b41cb6bb6844f75e977edae0020938930")))
+ (commit "81e97fa52e25b7775b62ce07bb653533d81e91b3")))
(file-name
(git-file-name "tgcalls-for-telegram-desktop" version))
(sha256
- (base32 "1zrjxf03n3ad8b95gwjarmq4gj5i5cwhlg93qcjv2232kksh29iy"))))
+ (base32 "0fvad87hyxli83xn19mgf8jjrrh6y6iaig14pckpbkg33vf4wqkj"))))
("webrtc" ,webrtc-for-telegram-desktop)
("x11" ,libx11)
("xcb" ,libxcb)
diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm
index 1cf2fa8edf..b4b2585935 100644
--- a/gnu/packages/telephony.scm
+++ b/gnu/packages/telephony.scm
@@ -107,6 +107,7 @@
(uri (git-reference
(url "https://git.kernel.org/pub/scm/network/ofono/phonesim")
(commit "a7c844d45b047b2dae5b0877816c346fce4c47b9")))
+ (file-name (git-file-name name version))
(sha256
(base32 "0rc1c2vr03dmi1dr3skj57v77ga9c22g29xs1qiphqms4isby9cq"))))
(build-system gnu-build-system)
@@ -658,7 +659,7 @@ address of one of the participants.")
(inputs
(list avahi
boost
- libsndfile/fixed
+ libsndfile
libxi
mesa ; avoid bundled
openssl
@@ -741,7 +742,7 @@ your calls and messages.")
(define-public pjproject
(package
(name "pjproject")
- (version "2.11")
+ (version "2.11.1")
(source
(origin
(method git-fetch)
@@ -751,7 +752,7 @@ your calls and messages.")
(file-name (git-file-name name version))
(sha256
(base32
- "1kn9g1x1vmh4130ghph8mldz5m89gsjs4vpdzlzm98m3808gk5an"))
+ "04s4bgr2d22ym2ajjk6q507hyqss1p59yp8avyyyf5f8032nbaws"))
(modules '((guix build utils)))
(snippet
'(begin
@@ -760,12 +761,12 @@ your calls and messages.")
(substitute* "aconfigure.ac"
(("third_party/build/os-auto.mak") ""))
(substitute* "Makefile"
- (("third_party/build") ""))))))
+ (("third_party/build") ""))))
+ (patches (search-patches "pjproject-install-libpjsua2.patch"))))
(build-system gnu-build-system)
(outputs '("out" "debug" "static"))
(arguments
- `(#:tests? #t
- #:test-target "selftest"
+ `(#:test-target "selftest"
#:configure-flags
(list "--enable-shared"
"--with-external-speex"
@@ -794,11 +795,6 @@ your calls and messages.")
"/lib"))
#:phases
(modify-phases %standard-phases
- (add-after 'unpack 'make-source-files-writable
- ;; Make all the files writable to prevent the following error:
- ;; "autom4te: cannot open aconfigure: Permission denied".
- (lambda _
- (for-each make-file-writable (find-files "."))))
(add-before 'build 'build-dep
(lambda _ (invoke "make" "dep")))
;; The check phases is moved after the install phase so to
diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index 16b33385bc..88923d5058 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -13,7 +13,7 @@
;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2018 Gabriel Hondet <gabrielhondet@gmail.com>
;;; Copyright © 2019 Rutger Helling <rhelling@mykolab.com>
-;;; Copyright © 2018, 2019 Eric Bavier <bavier@member.fsf.org>
+;;; Copyright © 2018, 2019, 2021 Eric Bavier <bavier@posteo.net>
;;; Copyright © 2019 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2019, 2021 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2019, 2020 Brett Gilio <brettg@gnu.org>
@@ -224,9 +224,12 @@ configurable through a graphical wizard.")
(files '("share/terminfo")))))
(home-page "https://github.com/thestinger/termite/")
(synopsis "Keyboard-centric, VTE-based terminal")
- (description "Termite is a minimal terminal emulator designed for use with
-tiling window managers. It is a modal application, similar to Vim, with an
-insert mode and command mode where keybindings have different functions.")
+ (description "Termite is a minimal terminal emulator. It is no longer
+maintained as the author considers it obsoleted by Alacritty.
+
+It was designed for use with tiling window managers. It is a modal
+application, similar to Vim, with an insert mode and command mode where
+keybindings have different functions.")
;; Files under util/ are under the Expat license; the rest is LGPLv2+.
(license license:lgpl2.0+)))
@@ -554,7 +557,7 @@ to all types of devices that provide serial consoles.")
(define-public beep
(package
(name "beep")
- (version "1.4.9")
+ (version "1.4.10")
(source
(origin
(method git-fetch)
@@ -567,16 +570,24 @@ to all types of devices that provide serial consoles.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0jmvqk6g5n0wzj9znw42njxq3mzw1769f4db99b83927hf4aidi4"))))
+ (base32 "05c2gxfqc12rgp88c65q7f5ha9gzh222vdh0qpdq1zmyhqj43pq1"))))
(build-system gnu-build-system)
(arguments
- `(#:tests? #f ; no tests
- #:make-flags
+ `(#:make-flags
(list (string-append "prefix=" (assoc-ref %outputs "out"))
(string-append "pkgdocdir=$(docdir)/" ,name "-" ,version))
#:phases
(modify-phases %standard-phases
- (delete 'configure)))) ; no configure script
+ (delete 'configure) ; no configure script
+ (add-before 'check 'patch-tests
+ (lambda _
+ (substitute* "GNUmakefile"
+ (("/bin/bash")
+ (which "bash")))
+ (substitute* (find-files "tests" "\\.expected")
+ ;; The build environment lacks /dev/{console,tty*}.
+ ((": Permission denied")
+ ": No such file or directory")))))))
(synopsis "Linux command-line utility to control the PC speaker")
(description "beep allows the user to control the PC speaker with precision,
allowing different sounds to indicate different events. While it can be run
@@ -673,6 +684,7 @@ embedded kernel situations.")
(srfi srfi-26)
(ice-9 rdelim)
(ice-9 regex)))
+ (patches (search-patches "cool-retro-term-wctype.patch"))
(snippet
'(let* ((fonts '(;"1971-ibm-3278" ; BSD 3-clause
"1977-apple2" ; Non-Free
@@ -875,7 +887,7 @@ a server/client mode.")
(inputs
(list libxft vte))
(home-page "https://launchpad.net/sakura")
- (synopsis "A simple but powerful libvte-based terminal emulator")
+ (synopsis "Simple but powerful libvte-based terminal emulator")
(description "@code{Sakura} is a terminal emulator based on GTK+ and VTE.
It's a terminal emulator with few dependencies, so you don't need a full GNOME
desktop installed to have a decent terminal emulator.")
@@ -1418,6 +1430,10 @@ basic input/output.")
("rust-xdg" ,rust-xdg-2))
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'use-new-nix
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (substitute* "alacritty_terminal/Cargo.toml"
+ (("0.22.0") "^0.23.0"))))
(add-after 'configure 'add-absolute-library-references
(lambda* (#:key inputs cargo-inputs vendor-dir #:allow-other-keys)
(let* ((glutin-name ,(package-name rust-glutin-0.26))
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index ebb7f86552..89f60f89d5 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -6,7 +6,7 @@
;;; Copyright © 2016, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Federico Beffa <beffa@fbengineering.ch>
;;; Copyright © 2016 Thomas Danckaert <post@thomasdanckaert.be>
-;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021, 2022 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
;;; Copyright © 2017, 2020, 2021 Marius Bakke <marius@gnu.org>
;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
@@ -254,19 +254,17 @@ files from LOCATIONS with expected checksum HASH. CODE is not currently in use.
(modules '((guix build utils)
(ice-9 ftw)))
(snippet
- '(begin
- (with-directory-excursion "libs"
- (let ((preserved-directories '("." ".." "lua53" "luajit" "pplib" "xpdf")))
- ;; Delete bundled software, except Lua which cannot easily be
- ;; used as an external dependency, pplib and xpdf which aren't
- ;; supported as system libraries (see m4/kpse-xpdf-flags.m4).
- (for-each delete-file-recursively
- (scandir "."
- (lambda (file)
- (and (not (member file preserved-directories))
- (eq? 'directory (stat:type (stat file)))))))))
- ;; TODO: Unbundle stuff in texk/dvisvgm/dvisvgm-src/libs too.
- #t))))
+ ;; TODO: Unbundle stuff in texk/dvisvgm/dvisvgm-src/libs too.
+ '(with-directory-excursion "libs"
+ (let ((preserved-directories '("." ".." "lua53" "luajit" "pplib" "xpdf")))
+ ;; Delete bundled software, except Lua which cannot easily be
+ ;; used as an external dependency, pplib and xpdf which aren't
+ ;; supported as system libraries (see m4/kpse-xpdf-flags.m4).
+ (for-each delete-file-recursively
+ (scandir "."
+ (lambda (file)
+ (and (not (member file preserved-directories))
+ (eq? 'directory (stat:type (stat file))))))))))))
(build-system gnu-build-system)
(inputs
`(("texlive-extra-src" ,texlive-extra-src)
@@ -368,24 +366,21 @@ files from LOCATIONS with expected checksum HASH. CODE is not currently in use.
(("gswin32c") "gs"))
(substitute* "texk/texlive/linked_scripts/epstopdf/epstopdf.pl"
(("\"gs\"")
- (string-append "\"" (assoc-ref inputs "ghostscript") "/bin/gs\"")))
- #t))
+ (string-append "\"" (assoc-ref inputs "ghostscript") "/bin/gs\"")))))
(add-after 'unpack 'patch-dvisvgm-build-files
(lambda _
;; XXX: Ghostscript is detected, but HAVE_LIBGS is never set, so
;; the appropriate linker flags are not added.
(substitute* "texk/dvisvgm/configure"
(("^have_libgs=yes" all)
- (string-append all "\nHAVE_LIBGS=1")))
- #t))
+ (string-append all "\nHAVE_LIBGS=1")))))
(add-after 'unpack 'disable-failing-test
(lambda _
;; FIXME: This test fails on 32-bit architectures since Glibc 2.28:
;; <https://bugzilla.redhat.com/show_bug.cgi?id=1631847>.
(substitute* "texk/web2c/omegafonts/check.test"
(("^\\./omfonts -ofm2opl \\$srcdir/tests/check tests/xcheck \\|\\| exit 1")
- "./omfonts -ofm2opl $srcdir/tests/check tests/xcheck || exit 77"))
- #t))
+ "./omfonts -ofm2opl $srcdir/tests/check tests/xcheck || exit 77"))))
,@(if (target-ppc32?)
;; Some mendex tests fail on some architectures.
`((add-after 'unpack 'skip-mendex-tests
@@ -430,9 +425,16 @@ files from LOCATIONS with expected checksum HASH. CODE is not currently in use.
iso-8859-1-encoded-scripts))
(with-fluids ((%default-port-encoding "ISO-8859-1"))
- (substitute-commands iso-8859-1-encoded-scripts))
-
- #t)))
+ (substitute-commands iso-8859-1-encoded-scripts)))))
+ ;; When ST_NLINK_TRICK is set, kpathsea attempts to avoid work when
+ ;; searching files by assuming that a directory with exactly two
+ ;; links has no subdirectories. This assumption does not hold in our
+ ;; case, so some directories with symlinked subdirectories would not
+ ;; be traversed.
+ (add-after 'patch-scripts 'patch-directory-traversal
+ (lambda _
+ (substitute* "texk/kpathsea/config.h"
+ (("#define ST_NLINK_TRICK") ""))))
(add-after 'check 'customize-texmf.cnf
;; The default texmf.cnf is provided by this package, texlive-bin.
;; Every variable of interest is set relatively to the GUIX_TEXMF
@@ -457,8 +459,7 @@ files from LOCATIONS with expected checksum HASH. CODE is not currently in use.
;; Don't truncate lines.
(("^error_line = .*$") "error_line = 254\n")
(("^half_error_line = .*$") "half_error_line = 238\n")
- (("^max_print_line = .*$") "max_print_line = 1000\n")))
- #t))
+ (("^max_print_line = .*$") "max_print_line = 1000\n")))))
(add-after 'install 'post-install
(lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
(let* ((out (assoc-ref outputs "out"))
@@ -480,11 +481,12 @@ files from LOCATIONS with expected checksum HASH. CODE is not currently in use.
(config.guess (search-input-file inputs
"/bin/config.guess")))
- ;; Create symbolic links for the latex variants and their
- ;; man pages.
+ ;; Create symbolic links for the latex variants and their man
+ ;; pages. We link lualatex to luahbtex; see issue #51252 for
+ ;; details.
(with-directory-excursion (string-append out "/bin/")
(for-each symlink
- '("pdftex" "pdftex" "xetex" "luatex")
+ '("pdftex" "pdftex" "xetex" "luahbtex")
'("latex" "pdflatex" "xelatex" "lualatex")))
(with-directory-excursion (string-append share "/man/man1/")
(symlink "luatex.1" "lualatex.1"))
@@ -497,6 +499,14 @@ files from LOCATIONS with expected checksum HASH. CODE is not currently in use.
source "/texlive-scripts/source/")
scripts)
+ ;; Patch them.
+ (let ((dirs (map dirname (list (which "sed") (which "awk")))))
+ (with-directory-excursion scripts
+ (substitute* '("mktexpk" "mktexmf" "mktexlsr")
+ (("^version=" m)
+ (format #false "PATH=\"~{~a:~}$PATH\"; export PATH~%~a"
+ dirs m)))))
+
;; Make sure that fmtutil can find its Perl modules.
(substitute* (string-append scripts "/fmtutil.pl")
(("\\$TEXMFROOT/")
@@ -587,7 +597,7 @@ executables. It is maintained as a part of TeX Live.")))
"1pxbqbia0727vg01xv8451szm55z2w8sb0vv3kf4iqx5ibb6m0d2")
#:trivial? #t))
(home-page "https://www.ctan.org/texlive")
- (synopsis "Utility to strip documentation from TeX files.")
+ (synopsis "Utility to strip documentation from TeX files")
(description "This package provides the docstrip utility to strip
documentation from TeX files. It is part of the LaTeX base.")
(license license:lppl1.3+)))
@@ -611,7 +621,7 @@ Database. Accompanying these source data are generic TeX loader files
allowing this data to be used as part of TeX runs, in particular in building
format files. Currently there are two loader files: one for general character
set up and one for initializing XeTeX character classes as has been carried
-out to date by @code{unicode-letters.tex}. ")
+out to date by @code{unicode-letters.tex}.")
(license license:lppl1.3c+)))
(define-deprecated-package texlive-generic-unicode-data texlive-unicode-data)
@@ -1294,6 +1304,8 @@ Taco Hoekwater.")
"15q70nkjf8wqzbd5ivcdx3i2sdgqxjb38q0qn9a2qw9i0qcnx6zw"))))
(package
(inherit template)
+ ;; TODO: This package is missing files.
+ (replacement texlive-amsfonts/fixed)
(arguments
(substitute-keyword-arguments (package-arguments template)
((#:build-targets _ #t)
@@ -1411,6 +1423,170 @@ Modern family of fonts. The Euler fonts are supported by separate packages;
details can be found in the documentation.")
(license license:silofl1.1))))
+(define-public texlive-amsfonts/fixed
+ (let ((template (simple-texlive-package
+ "texlive-amsfonts-fixed"
+ (list "/source/latex/amsfonts/"
+ "/fonts/source/public/amsfonts/"
+ "/fonts/type1/public/amsfonts/"
+ "/fonts/afm/public/amsfonts/"
+ "/fonts/map/dvips/amsfonts/"
+ "/tex/plain/amsfonts/"
+ "/doc/fonts/amsfonts/")
+ (base32
+ "15q70nkjf8wqzbd5ivcdx3i2sdgqxjb38q0qn9a2qw9i0qcnx6zw"))))
+ (package
+ (inherit template)
+ (arguments
+ (substitute-keyword-arguments (package-arguments template)
+ ((#:build-targets _ #t)
+ '(list "amsfonts.ins"))
+ ((#:tex-directory _ #t)
+ "latex/amsfonts")
+ ((#:modules modules '())
+ `((guix build texlive-build-system)
+ (guix build utils)
+ (ice-9 match)
+ (srfi srfi-1)
+ (srfi srfi-26)))
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (add-before 'build 'build-fonts
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; Allow self fonts sources and other resources to be
+ ;; discovered.
+ (setenv "GUIX_TEXMF" (string-append (getenv "GUIX_TEXMF")
+ ":" (getcwd)))
+
+ (let ((build "/tmp/build-fonts"))
+ (mkdir-p build)
+ (with-directory-excursion "fonts/source/public/amsfonts"
+ (for-each (lambda (font)
+ (format #t "building font ~a\n" (basename font ".mf"))
+ (with-directory-excursion (dirname font)
+ (let ((outdir (string-append build "/" (dirname font))))
+ (mkdir-p outdir)
+ (invoke "mf" "-progname=mf"
+ (string-append "-output-directory=" outdir)
+ (string-append "\\"
+ "mode:=ljfour; "
+ "mag:=1; "
+ "nonstopmode; "
+ "input "
+ (getcwd) "/"
+ (basename font ".mf"))))))
+ (find-files "." "([0-9]+|dummy)\\.mf$"))))
+
+ ;; There are no metafont sources for the Euler fonts, so we
+ ;; convert the afm files instead.
+ (let ((build "/tmp/build-fonts"))
+ (mkdir-p build)
+ (with-directory-excursion "fonts/afm/public/amsfonts/"
+ ;; These files have bogus values for the Descender field,
+ ;; so we can't process them.
+ (substitute* (find-files "." "eus(b|m).*\\.afm$")
+ (("^Descender -2147483648") ""))
+
+ (for-each (lambda (font)
+ (let ((directory (string-append build "/" (dirname font))))
+ (mkdir-p directory)
+ (format #t "converting afm font ~a\n" (basename font ".afm"))
+ (invoke "afm2tfm" font
+ (string-append directory "/"
+ (basename font ".afm")
+ ".tfm"))))
+ (find-files "." "\\.afm$")))
+
+ ;; Frustratingly, not all fonts can be created this way. To
+ ;; generate eufm8.tfm, for example, we first scale down
+ ;; eufm10.afm to eufm8.pl, and then generate the tfm file from
+ ;; the pl file.
+ (setenv "TEXINPUTS"
+ (string-append ":" build "//:"
+ (getcwd) "/fonts/afm/public/amsfonts//:"
+ (getcwd) "/source/latex/amsfonts//:"))
+
+ (with-directory-excursion (string-append build "/euler")
+ (for-each (match-lambda
+ (((target-base target-size)
+ (source-base source-size))
+ (let ((factor (number->string
+ (truncate/ (* 1000 target-size)
+ source-size))))
+ (invoke "tex"
+ "-interaction=scrollmode"
+ (string-append "\\input fontinst.sty "
+ "\\transformfont{" target-base "}"
+ "{\\scalefont{" factor "}"
+ "{\\fromafm{" source-base "}}} "
+ "\\bye")))
+ (invoke "pltotf"
+ (string-append target-base ".pl")
+ (string-append target-base ".tfm"))
+ (delete-file (string-append target-base ".pl"))))
+
+ '((("eufb6" 6) ("eufb7" 7))
+ (("eufb8" 8) ("eufb10" 10))
+ (("eufb9" 9) ("eufb10" 10))
+
+ (("eufm6" 6) ("eufm7" 7))
+ (("eufm8" 8) ("eufm10" 10))
+ (("eufm9" 9) ("eufm10" 10))
+
+ (("eurb6" 6) ("eurb7" 7))
+ (("eurb8" 8) ("eurb10" 10))
+ (("eurb9" 9) ("eurb10" 10))
+
+ (("eurm6" 6) ("eurm7" 7))
+ (("eurm8" 8) ("eurm10" 10))
+ (("eurm9" 9) ("eurm10" 10))
+
+ (("eusb6" 6) ("eusb7" 7))
+ (("eusb8" 8) ("eusb10" 10))
+ (("eusb9" 9) ("eusb10" 10))
+
+ (("eusm6" 6) ("eusm7" 7))
+ (("eusm8" 8) ("eusm10" 10))
+ (("eusm9" 9) ("eusm10" 10))))))))
+ (add-after 'install 'install-generated-fonts
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (copy-recursively "/tmp/build-fonts"
+ (string-append
+ (assoc-ref outputs "out")
+ "/share/texmf-dist/fonts/tfm/public/amsfonts"))))
+ (add-after 'copy-files 'remove-extra-files
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((prefix (string-append
+ (assoc-ref outputs "out")
+ "/share/texmf-dist/fonts/")))
+ (for-each delete-file
+ (find-files (string-append prefix
+ "tfm/public/amsfonts/")
+ "\\.(mtx|pl|log|600gf)"))
+ (for-each delete-file-recursively
+ (list (string-append (assoc-ref outputs "out")
+ "/share/texmf-dist/build/")
+ (string-append prefix
+ "tfm/public/amsfonts/cm/")
+ (string-append prefix
+ "tfm/public/amsfonts/latxfont/"))))))))))
+ (native-inputs
+ (list (texlive-updmap.cfg (list texlive-fontinst))))
+ (home-page "https://www.ctan.org/pkg/amsfonts")
+ (synopsis "TeX fonts from the American Mathematical Society")
+ (description
+ "This package provides an extended set of fonts for use in mathematics,
+including: extra mathematical symbols; blackboard bold letters (uppercase
+only); fraktur letters; subscript sizes of bold math italic and bold Greek
+letters; subscript sizes of large symbols such as sum and product; added sizes
+of the Computer Modern small caps font; cyrillic fonts (from the University of
+Washington); Euler mathematical fonts. All fonts are provided as Adobe Type 1
+files, and all except the Euler fonts are provided as Metafont source. The
+distribution also includes the canonical Type 1 versions of the Computer
+Modern family of fonts. The Euler fonts are supported by separate packages;
+details can be found in the documentation.")
+ (license license:silofl1.1))))
+
(define-deprecated-package texlive-fonts-amsfonts texlive-amsfonts)
(define-deprecated-package texlive-latex-amsfonts texlive-amsfonts)
@@ -2057,7 +2233,7 @@ L7X and UTF-8 encodings.")
(base32
"1fv6y8gpic5ciw8cclfxc8h3wr5xir1j0a7shixja1pmdyz7db2b")))
(synopsis "Macedonian hyphenation patterns")
- (description "This package provides hypenation patterns for Macedonian.")
+ (description "This package provides hyphenation patterns for Macedonian.")
;; XXX: License just says 'GPL'. Assume GPL2 since the file predates GPL3.
(license license:gpl2+)))
@@ -2580,48 +2756,65 @@ UCY (Omega Unicode Cyrillic), LCY, LWN (OT2), and koi8-r.")
(license license:lppl))))
(define-public texlive-kpathsea
- (package
- (inherit (simple-texlive-package
- "texlive-kpathsea"
- (list "/web2c/amiga-pl.tcx"
- "/web2c/cp1250cs.tcx"
- "/web2c/cp1250pl.tcx"
- "/web2c/cp1250t1.tcx"
- "/web2c/cp227.tcx"
- "/web2c/cp852-cs.tcx"
- "/web2c/cp852-pl.tcx"
- "/web2c/cp8bit.tcx"
- "/web2c/empty.tcx"
- "/web2c/fmtutil.cnf"
- "/web2c/il1-t1.tcx"
- "/web2c/il2-cs.tcx"
- "/web2c/il2-pl.tcx"
- "/web2c/il2-t1.tcx"
- "/web2c/kam-cs.tcx"
- "/web2c/kam-t1.tcx"
- "/web2c/macce-pl.tcx"
- "/web2c/macce-t1.tcx"
- "/web2c/maz-pl.tcx"
- "/web2c/mktex.cnf"
- "/web2c/mktex.opt"
- "/web2c/mktexdir"
- "/web2c/mktexdir.opt"
- "/web2c/mktexnam"
- "/web2c/mktexnam.opt"
- "/web2c/mktexupd"
- "/web2c/natural.tcx"
- "/web2c/tcvn-t5.tcx"
- "/web2c/viscii-t5.tcx")
- (base32
- "00q2nny7lw7jxyln6ch4h0alygbrzk8yynliyc291m53kds1h0mr")
- #:trivial? #t))
- (home-page "https://www.tug.org/texlive/")
- (synopsis "Files related to the path searching library for TeX")
- (description "Kpathsea is a library and utility programs which provide
+ (let ((template (simple-texlive-package
+ "texlive-kpathsea"
+ (list "/web2c/amiga-pl.tcx"
+ "/web2c/cp1250cs.tcx"
+ "/web2c/cp1250pl.tcx"
+ "/web2c/cp1250t1.tcx"
+ "/web2c/cp227.tcx"
+ "/web2c/cp852-cs.tcx"
+ "/web2c/cp852-pl.tcx"
+ "/web2c/cp8bit.tcx"
+ "/web2c/empty.tcx"
+ "/web2c/fmtutil.cnf"
+ "/web2c/il1-t1.tcx"
+ "/web2c/il2-cs.tcx"
+ "/web2c/il2-pl.tcx"
+ "/web2c/il2-t1.tcx"
+ "/web2c/kam-cs.tcx"
+ "/web2c/kam-t1.tcx"
+ "/web2c/macce-pl.tcx"
+ "/web2c/macce-t1.tcx"
+ "/web2c/maz-pl.tcx"
+ "/web2c/mktex.cnf"
+ "/web2c/mktex.opt"
+ "/web2c/mktexdir"
+ "/web2c/mktexdir.opt"
+ "/web2c/mktexnam"
+ "/web2c/mktexnam.opt"
+ "/web2c/mktexupd"
+ "/web2c/natural.tcx"
+ "/web2c/tcvn-t5.tcx"
+ "/web2c/viscii-t5.tcx")
+ (base32
+ "00q2nny7lw7jxyln6ch4h0alygbrzk8yynliyc291m53kds1h0mr")
+ #:trivial? #t)))
+ (package
+ (inherit template)
+ (arguments
+ (substitute-keyword-arguments (package-arguments template)
+ ((#:phases phases '%standard-phases)
+ `(modify-phases ,phases
+ (add-after 'unpack 'patch-references
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((dirs (map dirname (list (which "sed")
+ (which "awk")))))
+ (substitute* '("web2c/mktexdir"
+ "web2c/mktexnam"
+ "web2c/mktexupd")
+ (("^version=" m)
+ (format #false "PATH=\"~{~a:~}$PATH\"; export PATH~%~a"
+ dirs m))))))))))
+ (inputs
+ (list sed gawk))
+ (home-page "https://www.tug.org/texlive/")
+ (synopsis "Files related to the path searching library for TeX")
+ (description "Kpathsea is a library and utility programs which provide
path searching facilities for TeX file types, including the self-locating
feature required for movable installations, layered on top of a general search
mechanism. This package provides supporting files.")
- (license license:lgpl3+)))
+ (license license:lgpl3+))))
(define-public texlive-latexconfig
(package
@@ -2673,8 +2866,7 @@ formats.")
(add-after 'unpack 'fix-lua-sources
(lambda _
(substitute* "source/latex/base/ltluatex.dtx"
- ((" ") " "))
- #t))
+ ((" ") " "))))
(replace 'build
(lambda* (#:key inputs #:allow-other-keys)
;; Find required fonts
@@ -2746,8 +2938,7 @@ formats.")
"--fmtdir=web2c"
(string-append "--cnffile=web2c/fmtutil.cnf"))
;; We don't actually want to install it.
- (delete-file "web2c/fmtutil.cnf")
- #t))
+ (delete-file "web2c/fmtutil.cnf")))
(add-after 'install 'install-more
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
@@ -2768,8 +2959,7 @@ formats.")
(for-each (cut install-file <> target)
(find-files "build" ".*"))
(for-each (cut install-file <> web2c)
- (find-files "web2c" ".*"))
- #t)))))))
+ (find-files "web2c" ".*")))))))))
(native-inputs
`(("texlive-bin" ,texlive-bin)
("texlive-tex-ini-files" ,texlive-tex-ini-files)
@@ -3657,35 +3847,21 @@ releases. The bundle consists of a Lua script to run the tasks and a
@code{.tex} file which provides the testing environment.")
(license license:lppl1.3c+))))
-;; The SVN directory contains little more than a dtx file that generates three
-;; of the many lua files that should be installed as part of this package.
-;; This is why we take the release from GitHub instead.
-(define-public texlive-luatex-lualibs
- (package
- (name "texlive-luatex-lualibs")
- (version "2.5")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/lualatex/lualibs/"
- "releases/download/v"
- version "/lualibs.zip"))
- (file-name (string-append name "-" version ".zip"))
- (sha256
- (base32
- "1xx9blvrmx9hyhrl345lpai9m6xxnw997261a1ahn1bm5r2j5fqy"))))
- (build-system gnu-build-system)
- (arguments
- `(#:make-flags
- (list (string-append "DESTDIR="
- (assoc-ref %outputs "out")
- "/share/texmf-dist"))
- #:phases
- (modify-phases %standard-phases
- (delete 'configure))))
- (native-inputs
- (list texlive-bin unzip zip))
- (home-page "https://github.com/lualatex/lualibs")
- (synopsis "Lua modules for general programming (in the (La)TeX world)")
+(define-public texlive-lualibs
+ (package
+ (inherit
+ (simple-texlive-package
+ "texlive-lualibs"
+ (list "doc/luatex/lualibs/"
+ "source/luatex/lualibs/"
+ "tex/luatex/lualibs/")
+ (base32 "0gf60vj9y75a7dlrmpbyqgsa00s1717r6if3lm5ldm41i9fm8ywz")
+ ;; The source dtx file only unpacks three files. This is why we
+ ;; install all the files as they are, because there is no clear
+ ;; way to generate them all.
+ #:trivial? #true))
+ (home-page "https://ctan.org/macros/luatex/generic/lualibs")
+ (synopsis "Additional Lua functions for LuaTeX macro programmers")
(description
"Lualibs is a collection of Lua modules useful for general programming.
The bundle is based on Lua modules shipped with ConTeXt, and made available in
@@ -3693,6 +3869,23 @@ this bundle for use independent of ConTeXt.")
;; GPL version 2 only
(license license:gpl2)))
+(define-deprecated-package texlive-luatex-lualibs texlive-lualibs)
+
+(define-public texlive-lua-alt-getopt
+ (package
+ (inherit
+ (simple-texlive-package
+ "texlive-lua-alt-getopt"
+ (list "doc/support/lua-alt-getopt/" "scripts/lua-alt-getopt/")
+ (base32 "0cizxzn33n3pn98xkqnxb8s6vdwkar3xrwhraqrs05pjfdn9d4wz")
+ #:trivial? #t))
+ (home-page "https://ctan.org/support/lualibs/lua-alt-getopt")
+ (synopsis "Process application arguments the same way as getopt_long")
+ (description
+ "This package provides a Lua module for processing application arguments
+in the same way as BSD/GNU @code{getopt_long(3)} functions do.")
+ (license license:expat)))
+
;; TODO: We should be able to build this from the sources on Github with
;; texlive-l3build, but I haven't been able to get it to work.
(define-public texlive-luaotfload
@@ -3711,7 +3904,8 @@ this bundle for use independent of ConTeXt.")
(package
(inherit template)
(propagated-inputs
- (list texlive-luatex-lualibs))
+ (list texlive-lua-alt-getopt ;for luaotfload-tool
+ texlive-lualibs))
(home-page "https://github.com/lualatex/luaotfload")
(synopsis "OpenType font loader for LuaTeX")
(description
@@ -3725,71 +3919,6 @@ loading fonts by their proper names instead of file names.")
(define-deprecated-package texlive-luatex-luaotfload texlive-luaotfload)
-;; FIXME: This package is a temporary workaround to provide ‘lualatex.fmt’ for
-;; the LuaTeX engine. It is needed because it was discovered too late in the
-;; core-updates-frozen cycle that texlive-latex-base only provides it for
-;; LuaHBTeX. See https://issues.guix.gnu.org/51252.
-(define-public texlive-latex-luatex
- (package
- (name "texlive-latex-luatex")
- (version (number->string %texlive-revision))
- (source #f)
- (build-system gnu-build-system)
- (arguments
- `(#:modules ((guix build gnu-build-system)
- (guix build utils)
- (ice-9 rdelim)
- (ice-9 string-fun))
- #:phases
- (modify-phases %standard-phases
- (delete 'unpack)
- (delete 'bootstrap)
- (delete 'configure)
- (delete 'check)
- (replace 'build
- (lambda* (#:key inputs #:allow-other-keys)
- (mkdir "web2c")
- (let ((fmtutil.cnf-in (open-file
- (string-append
- (assoc-ref inputs "texlive-kpathsea")
- "/share/texmf-dist/web2c/fmtutil.cnf")
- "r"))
- (fmtutil.cnf-out (open-file "web2c/fmtutil.cnf" "w")))
-
- ;; Copy ‘lualatex’ format lines to the new fmtutil.cnf, changing
- ;; the engine from ‘luahbtex’ to ‘luatex’.
- (do ((line "" (read-line fmtutil.cnf-in 'concat)))
- ((eof-object? line))
- (when (string-prefix? "lualatex" line)
- (display (string-replace-substring line "luahbtex" "luatex")
- fmtutil.cnf-out)))
- (close-port fmtutil.cnf-out)
- (close-port fmtutil.cnf-in)
-
- (invoke "fmtutil" "--sys" "--all" "--fmtdir=web2c"
- "--cnffile=web2c/fmtutil.cnf")
-
- ;; Don't risk this file interfering with anything else.
- (delete-file "web2c/fmtutil.cnf"))))
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((web2c (string-append %output "/share/texmf-dist/web2c")))
- (mkdir-p web2c)
- (copy-recursively "web2c" web2c)))))))
- (native-inputs
- (list texlive-bin
- texlive-babel
- texlive-cm
- texlive-fonts-latex
- texlive-kpathsea
- texlive-latex-base
- texlive-lm
- texlive-tex-ini-files))
- (home-page (package-home-page texlive-latex-base))
- (synopsis "LuaLaTeX format files for LuaTeX")
- (description "This package is necessary to use LaTeX with the LuaTeX engine.")
- (license (package-license texlive-latex-base))))
-
(define-public texlive-latex-amsmath
(package
(name "texlive-latex-amsmath")
@@ -3920,6 +4049,26 @@ for British English and Australian text, and default (\"american\") patterns
for Canadian and USA text.")
(license license:lppl1.3+)))
+(define-public texlive-generic-babel-french
+ (package
+ (name "texlive-generic-babel-french")
+ (version (number->string %texlive-revision))
+ (source
+ (origin
+ (method svn-fetch)
+ (uri (texlive-ref "generic" "babel-french"))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32 "0ww8bkbccacdyp2y3p2m1y49zxx5pyh7dyyyyfmlzfm6w9rz0g1g"))))
+ (build-system texlive-build-system)
+ (arguments '(#:tex-directory "generic/babel-french"))
+ (home-page "https://www.ctan.org/pkg/babel-french")
+ (synopsis "Babel support for French")
+ (description
+ "This package provides support for the French language for the
+babel multilingual system.")
+ (license license:lppl1.3+)))
+
(define-public texlive-generic-babel-german
(package
(name "texlive-generic-babel-german")
@@ -4808,7 +4957,7 @@ of which make use of the @code{stackengine} core.")
"This package provides control over the typography of the
@dfn{Table of Contents}, @dfn{List of Figures} and @dfn{List of Tables},
and the ability to create new ‘List of ...’. The ToC @code{\\parskip} may
-be changed. ")
+be changed.")
(license license:lppl1.3c+)))
(define-public texlive-latex-trimspaces
@@ -7493,6 +7642,41 @@ It also ensures compatibility with the @code{media9} and @code{animate} packages
@end itemize\n")
(license license:lppl1.3c+)))
+(define-public texlive-latex-numprint
+ (package
+ (name "texlive-latex-numprint")
+ (version (number->string %texlive-revision))
+ (source
+ (origin
+ (method svn-fetch)
+ (uri (texlive-ref "latex" "numprint"))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32 "00xyvdfvypfj2wj7wf2qrxpc34wwd0dkdv3bqvb86ydhlpn1jg76"))))
+ (build-system texlive-build-system)
+ (arguments '(#:tex-directory "latex/numprint"))
+ (home-page "https://www.ctan.org/pkg/numprint")
+ (synopsis "Print numbers with separators and exponent if necessary")
+ (description
+ "The package numprint prints numbers with a separator every three
+digits and converts numbers given as 12345.6e789 to 12\\,345,6\\cdot
+10^{789}. Numbers are printed in the current mode (text or math) in
+order to use the correct font.
+
+Many things, including the decimal sign, the thousand separator, as
+well as the product sign can be changed by the user, e.g., to reach
+12,345.6\\times 10^{789}.
+
+If an optional argument is given it is printed upright as unit.
+Numbers can be rounded to a given number of digits. The package
+supports an automatic, language-dependent change of the number format.
+
+Tabular alignment using the tabular, array, tabularx, and longtable
+environments (similar to the dcolumn and rccol packages) is supported
+using all features of numprint. Additional text can be added before
+and after the formatted number.")
+ (license license:lppl)))
+
(define-public texlive-latex-needspace
(package
(name "texlive-latex-needspace")
@@ -8186,7 +8370,7 @@ package, such as @command{natbib} as well).")
(description "This package provides a copy of the Charter Type-1 fonts
which Bitstream contributed to the X consortium, renamed for use with TeX.
Support for use with LaTeX is available in @code{freenfss}, part of
-@command{psnfss}. ")
+@command{psnfss}.")
(license (license:non-copyleft
"http://mirrors.ctan.org/fonts/charter/readme.charter"))))
@@ -9293,7 +9477,7 @@ LY1 encoding.")
(synopsis "Control sectional headers")
(description "This is a LaTeX2ε package to help change the style of any or
all of LaTeX's sectional headers in the article, book, or report classes.
-Examples include the addition of rules above or below a section title. ")
+Examples include the addition of rules above or below a section title.")
(license license:lppl1.2+))))
(define-public texlive-morefloats
diff --git a/gnu/packages/texinfo.scm b/gnu/packages/texinfo.scm
index 13fb92d14a..fc1dac9df9 100644
--- a/gnu/packages/texinfo.scm
+++ b/gnu/packages/texinfo.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2019, 2020 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
+;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -156,6 +157,17 @@ is on expressing the content semantically, avoiding physical markup commands.")
`(,@(substitute-keyword-arguments (package-arguments texinfo)
((#:phases phases)
`(modify-phases ,phases
+ ;; Make sure 'info-reader' can read compressed info files
+ ;; in a pure environment. There are also a few other
+ ;; uncompressors listed in this file (lzip, unxz, bunzip2, ...)
+ ;; but let's not include them because info manuals in Guix
+ ;; are always compressed with 'gzip'.
+ ;; TODO(core-updates): maybe move to the 'texinfo' package.
+ (add-after 'unpack 'absolute-binary-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "info/filesys.c"
+ (("gunzip") (search-input-file inputs "/bin/gunzip"))
+ (("gzip") (search-input-file inputs "/bin/gzip")))))
(add-after 'install 'keep-only-info-reader
(lambda* (#:key outputs #:allow-other-keys)
;; Remove everything but 'bin/info' and associated
@@ -179,7 +191,9 @@ is on expressing the content semantically, avoiding physical markup commands.")
"perl")
#:modules ((ice-9 ftw) (srfi srfi-1)
,@%gnu-build-system-modules)))
- (synopsis "Standalone Info documentation reader")))
+ (synopsis "Standalone Info documentation reader")
+ (inputs (modify-inputs (package-inputs texinfo)
+ (prepend gzip)))))
(define-public texi2html
(package
diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 5a9f5900e0..2c5f5de719 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -423,7 +423,7 @@ systems.")
(description "Leafpad is a GTK+ text editor that emphasizes simplicity. As
development focuses on keeping weight down to a minimum, only the most essential
features are implemented in the editor. Leafpad is simple to use, is easily
-compiled, requires few libraries, and starts up quickly. ")
+compiled, requires few libraries, and starts up quickly.")
(license license:gpl2+)))
(define-public l3afpad
@@ -901,17 +901,19 @@ Octave. TeXmacs is completely extensible via Guile.")
(define-public scintilla
(package
(name "scintilla")
- (version "5.1.4")
+ (version "5.1.5")
(source
(origin
(method url-fetch)
(uri (let ((v (apply string-append (string-split version #\.))))
(string-append "https://www.scintilla.org/scintilla" v ".tgz")))
(sha256
- (base32 "0rd3scfs3dwaj85ds8yrcp1r8z0lifi7qv2464k6n1c995amr0nw"))))
+ (base32 "0mwyhjvmvxyip9z169bgpkz4k9la802z438m8bb0f4gyqfbif999"))))
(build-system gnu-build-system)
(arguments
- `(#:make-flags (list "GTK3=1" "CC=gcc" "-Cgtk")
+ `(#:make-flags (list "GTK3=1"
+ ,(string-append "CC=" (cc-for-target))
+ "-Cgtk")
#:tests? #f ;require un-packaged Pyside
#:phases
(modify-phases %standard-phases
@@ -927,8 +929,7 @@ Octave. TeXmacs is completely extensible via Guile.")
(for-each (lambda (f) (install-file f include))
(find-files "include/" "."))))))))
(native-inputs
- `(("pkg-config" ,pkg-config)
- ("python" ,python-wrapper)))
+ (list pkg-config python-wrapper))
(inputs
(list gtk+))
(home-page "https://www.scintilla.org/")
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 2ab0b05d9b..12e3d3b3c8 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -23,6 +23,7 @@
;;; Copyright © 2021 Jean-Baptiste Volatier <jbv@pm.me>
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
+;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -43,6 +44,7 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix build-system ant)
#:use-module (guix build-system gnu)
@@ -68,6 +70,7 @@
#:use-module (gnu packages readline)
#:use-module (gnu packages ruby)
#:use-module (gnu packages slang)
+ #:use-module (gnu packages syncthing)
#:use-module (gnu packages web))
(define-public dos2unix
@@ -1135,6 +1138,40 @@ useful to extract content from OpenDocument spreadsheets (*.ods) and
OpenDocument presentations (*.odp).")
(license license:gpl2)))
+(define-public bibutils
+ (package
+ (name "bibutils")
+ (version "7.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/bibutils/"
+ "bibutils_" version "_src.tgz"))
+
+ (sha256
+ (base32
+ "1hxmwjjzw48w6hdh2x7ybkrhi1xngd55i67hrrd3wswa3vpql0kf"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list #:configure-flags
+ #~(list "--install-dir" (string-append #$output "/bin")
+ "--install-lib" (string-append #$output "/lib")
+ "--dynamic")
+ #:make-flags
+ #~(list (string-append "CC=" #+(cc-for-target))
+ (string-append "LDFLAGSIN=-Wl,-rpath=" #$output "/lib"))
+ #:test-target "test"
+ #:phases
+ '(modify-phases %standard-phases
+ (replace 'configure
+ (lambda* (#:key configure-flags #:allow-other-keys)
+ ;; configure script is ill-formed, invoke it manually
+ (apply invoke "sh" "./configure" configure-flags))))))
+ (home-page "https://bibutils.sourceforge.io/")
+ (synopsis "Convert between various bibliography formats")
+ (description "This package provides converters for various bibliography
+formats (e.g. Bibtex, RIS, ...) using a common XML intermediate.")
+ (license license:gpl2)))
+
(define-public opencc
(package
(name "opencc")
@@ -1336,3 +1373,83 @@ languages such as HTML, Markdown, Asciidoc, and reStructuredText. The community
around it also has a list of style guides implemented with Vale in
@url{https://github.com/errata-ai/styles, their styles repo}.")
(license license:expat)))
+
+(define-public utf-8-lineseparator
+ (package
+ (name "utf-8-lineseparator")
+ (version "cj3")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pflanze/utf-8-lineseparator")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1xnbcanqn5jr965gw9195ij6hz04clfm77m5776dysn9nykn20w1"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:make-flags
+ (list
+ (string-append "CC=" ,(cc-for-target)))
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (replace 'install
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin")))
+ (install-file "utf-8-lineseparator" bin)))))))
+ (home-page "https://github.com/pflanze/utf-8-lineseparator")
+ (synopsis "Line ending detection library")
+ (description
+"@code{utf-8-lineseparator} provides a tool to efficiently check text
+files for valid UTF-8 use and to report which line endings they use.")
+ (license license:expat)))
+
+(define-public csvdiff
+ (package
+ (name "csvdiff")
+ (version "1.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/aswinkarthik/csvdiff")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0cd1ikxsypjqisfnmr7zix3g7x8p892w77086465chyd39gpk97b"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/aswinkarthik/csvdiff"))
+ (propagated-inputs
+ (list go-golang-org-x-sys
+ go-github-com-stretchr-testify
+ go-github-com-spf13-cobra
+ go-github-com-spf13-afero
+ go-github-com-spaolacci-murmur3
+ go-github-com-mattn-go-colorable
+ go-github-com-fatih-color
+ go-github-com-cespare-xxhash
+ go-github-com-oneofone-xxhash))
+ (home-page "https://github.com/aswinkarthik/csvdiff")
+ (synopsis "Fast diff tool for comparing CSV files")
+ (description "@code{csvdiff} is a diff tool to compute changes between two
+CSV files. It can compare CSV files with a million records in under 2
+seconds. It is specifically suited for comparing CSV files dumped from
+database tables. GNU Diff is orders of magnitude faster for comparing line by
+line. @code{csvdiff} supports
+
+@itemize
+@item Selective comparison of fields in a row
+@item Specifying group of columns as primary-key to uniquely identify a row
+@item Ignoring columns
+@item Several output formats including colored git style output or
+JSON for post-processing
+@end itemize")
+ (license license:expat)))
+
+(define-public go-github-com-aswinkarthik-csvdiff
+ (deprecated-package "go-github-com-aswinkarthik-csvdiff" csvdiff))
diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm
index 97de5485ef..9b57fe41fb 100644
--- a/gnu/packages/time.scm
+++ b/gnu/packages/time.scm
@@ -19,6 +19,8 @@
;;; Copyright © 2020 Lars-Dominik Braun <ldb@leibniz-psychology.org>
;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org>
;;; Copyright © 2021 Ryan Prior <rprior@protonmail.com>
+;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo@hotmail.com>
+;;; Copyright © 2022 Pradana AUMARS <paumars@courrier.dev>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -157,7 +159,30 @@ saving time. Almost all of the Olson timezones are supported.")
(build-system python-build-system)
;; XXX: The PyPI distribution lacks tests, and the upstream repository
;; lacks a setup.py!
- (arguments '(#:tests? #f))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ ;; Add setup.py to fix the build. Otherwise, the build will fail with
+ ;; "no setup.py found".
+ ;;
+ ;; Upstream uses Poetry to build python-pendulum, including parts
+ ;; written in C. Here, we simply add a setup.py file and do not build
+ ;; the parts written in C. This is possible because python-pendulum
+ ;; falls back on pure Python code when the C parts are not available
+ ;; (reference: build.py).
+ (add-after 'unpack 'add-setup.py
+ (lambda _
+ (call-with-output-file "setup.py"
+ (lambda (port)
+ (format port
+ "from setuptools import find_packages, setup
+setup(name='pendulum',
+ version='~a',
+ packages=find_packages())
+"
+ ,version))))))
+ ;; XXX: The PyPI distribution lacks tests.
+ #:tests? #f))
(propagated-inputs
(list python-dateutil python-pytzdata))
(home-page "https://github.com/sdispater/pendulum")
@@ -213,14 +238,14 @@ datetime module, available in Python 2.3+.")
(define-public python-parsedatetime
(package
(name "python-parsedatetime")
- (version "2.4")
+ (version "2.6")
(source
(origin
(method url-fetch)
(uri (pypi-uri "parsedatetime" version))
(sha256
(base32
- "0jxqkjks7z9dn222cqgvskp4wr6d92aglinxq7pd2w4mzdc7r09x"))))
+ "0mfl0ixshqkwx7z5siaib7ix5j2iahb1jqfpyhqp42wan7xnicsc"))))
(build-system python-build-system)
(native-inputs
(list python-nose python-pyicu python-pytest python-pytest-runner))
@@ -514,6 +539,39 @@ modifies the @code{time}, @code{gettimeofday} and @code{clock_gettime} system
calls.")
(license gpl2)))
+(define-public tz
+ (package
+ (name "tz")
+ (version "0.6.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/oz/tz")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1nbl13xd95np89sbx8fn0jqrh1iy17hsy70kq31hmcvyns8dljhg"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:go ,go-1.17
+ #:import-path "github.com/oz/tz"
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key import-path tests? #:allow-other-keys)
+ (when tests?
+ (invoke "go" "test" "-cover" import-path)))))))
+ (inputs
+ `(("github.com/charmbracelet/bubbletea" ,go-github-com-charmbracelet-bubbletea)
+ ("github.com/muesli/termenv" ,go-github-com-muesli-termenv)))
+ (home-page "https://github.com/oz/tz")
+ (synopsis "TUI time zone helper")
+ (description
+"@command{tz} helps you schedule things across time zones. It is an interactive
+TUI program that displays time across a few time zones of your choosing.")
+ (license gpl3+)))
+
(define-public countdown
(package
(name "countdown")
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 6bf9c05c39..b0950ec2e5 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -616,6 +616,57 @@ OpenSSL for TARGET."
#$version "/misc"))
#t))))))))))
+(define-public bearssl
+ (package
+ (name "bearssl")
+ (version "0.6")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://www.bearssl.org/"
+ "bearssl-" version ".tar.gz"))
+ (sha256
+ (base32
+ "057zhgy9w4y8z2996r0pq5k2k39lpvmmvz4df8db8qa9f6hvn1b7"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:make-flags
+ #~(list #$(string-append "CC=" (cc-for-target))
+ #$(string-append "LD=" (cc-for-target))
+ #$(string-append "LDDLL=" (cc-for-target)))
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure) ;no configure script
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion "build"
+ (invoke "./testcrypto" "all")
+ (invoke "./testx509")))))
+ (replace 'install ;no install rule
+ (lambda _
+ (let* ((out #$output)
+ (bin (string-append out "/bin"))
+ (doc (string-append out "/share/doc/" #$name "-" #$version))
+ (lib (string-append out "/lib"))
+ (include (string-append out "/include")))
+ (install-file "build/brssl" bin)
+ (for-each (lambda (f) (install-file f include))
+ (find-files "inc" "\\.h$"))
+ (install-file "LICENSE.txt" doc)
+ (install-file "build/libbearssl.so" lib)))))))
+ (home-page "https://bearssl.org/")
+ (synopsis "Small SSL/TLS library")
+ (description "BearSSL is an implementation of the SSL/TLS
+protocol (RFC 5246) written in C. It aims at being correct and
+secure. In particular, insecure protocol versions and choices of
+algorithms are not supported, by design; cryptographic algorithm
+implementations are constant-time by default. It should also be
+small, both in RAM and code footprint. For instance, a minimal server
+implementation may fit in about 20 kilobytes of compiled code and 25
+kilobytes of RAM.")
+ (license license:expat)))
+
(define-public libressl
(package
(name "libressl")
diff --git a/gnu/packages/toys.scm b/gnu/packages/toys.scm
index 80928474aa..09426fe6fa 100644
--- a/gnu/packages/toys.scm
+++ b/gnu/packages/toys.scm
@@ -228,15 +228,15 @@ The GNU project hosts a similar collection of filters, the GNU talkfilters.")
(define-public xsnow
(package
(name "xsnow")
- (version "2.0.22")
+ (version "3.4.2")
(source
(origin
(method url-fetch)
(uri (string-append
- "https://www.ratrabbit.nl/ratrabbit/system/files/xsnow/xsnow-"
+ "https://www.ratrabbit.nl/downloads/xsnow/xsnow-"
version ".tar.gz"))
(sha256
- (base32 "1880643fal6l7bskqbm4zfbr2s719698mkx4pchrxkjpb240sj0z"))))
+ (base32 "17pxc955jgkjan8ax0lw3b3sibw7aikc7p9qbxsp0w7g7jkxf666"))))
(build-system gnu-build-system)
(arguments
'(#:phases
@@ -249,14 +249,10 @@ The GNU project hosts a similar collection of filters, the GNU talkfilters.")
(string-append prefix "bin")))
#t)))))
(inputs
- `(("gtk+" ,gtk+)
- ("libx11" ,libx11)
- ("libxpm" ,libxpm)
- ("libxt" ,libxt)
- ("libxxml2" ,libxml2)))
+ (list gtk+ libx11 libxpm libxt libxml2))
(native-inputs
(list pkg-config))
- (home-page "https://www.ratrabbit.nl/ratrabbit/content/xsnow/introduction")
+ (home-page "https://www.ratrabbit.nl/ratrabbit/xsnow/index.html")
(synopsis "Let it snow on the desktop")
(description "@code{Xsnow} animates snowfall and Santa with reindeer on
the desktop background. Additional customizable effects include wind, stars
diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm
index af8f2f0ab3..7cbcc8e518 100644
--- a/gnu/packages/tryton.scm
+++ b/gnu/packages/tryton.scm
@@ -366,7 +366,7 @@ Tryton.")
deposit accounting.
A deposit is an amount paid by the customer prior to the company providing it
-with services or goods. A wizard on invoice allows to recall prior deposit of
+with services or goods. A wizard on invoice allows recalling a prior deposit of
the party.")
(license license:gpl3+)))
@@ -488,7 +488,7 @@ accounts for Tryton:
@item Plan Contable para PYMES 2008
@end itemize
-A wizard allows to generate the following AEAT files:
+A wizard allows generating the following AEAT files:
@itemize
@item Modelo 111
@@ -656,8 +656,8 @@ original quantity, once with the inverted quantity.")
(home-page
"https://docs.tryton.org/projects/modules-account-invoice-defer")
(synopsis "Tryton module to defer expense and revenue")
- (description "The @emph{Account Invoice Defer} Tryton module allows to
-defer the expense or the revenue of an invoice line over many periods.")
+ (description "The @emph{Account Invoice Defer} Tryton module allows
+deferring the expense or the revenue of an invoice line over many periods.")
(license license:gpl3+)))
(define-public trytond-account-invoice-history
@@ -701,7 +701,7 @@ the historization of the invoice and its related fields.")
"https://docs.tryton.org/projects/modules-account-invoice-line-standalone")
(synopsis "Tryton module to have standalone invoice lines")
(description "The @emph{Account Invoice Line Standalone} Tryton module
-allows to create invoice line not linked to an invoice.")
+allows creating an invoice line not linked to an invoice.")
(license license:gpl3+)))
(define-public trytond-account-invoice-secondary-unit
@@ -823,8 +823,8 @@ methods.")
(home-page
"https://docs.tryton.org/projects/modules-account-payment-clearing")
(synopsis "Tryton module for payment clearing")
- (description "The @emph{Account Payment Clearing} Tryton module allows to
-generate account move when a payment is succeeded between the
+ (description "The @emph{Account Payment Clearing} Tryton module allows
+generating an account move when a payment succeeded between the
receivable/payable account to a clearing account defined on the payment
journal.")
(license license:gpl3+)))
@@ -851,8 +851,8 @@ journal.")
trytond-party))
(home-page "https://docs.tryton.org/projects/modules-account-payment-sepa")
(synopsis "Tryton module for SEPA payment")
- (description "The @emph{Account Payment SEPA} Tryton module allows to
-generate SEPA files for a Payment Group.")
+ (description "The @emph{Account Payment SEPA} Tryton module allows
+generating SEPA files for a Payment Group.")
(license license:gpl3+)))
(define-public trytond-account-payment-sepa-cfonb
@@ -955,7 +955,7 @@ and category.")
trytond-party))
(home-page "https://docs.tryton.org/projects/modules-account-statement")
(synopsis "Tryton module with account statements")
- (description "The @emph{Account Statement} Tryton module allows to book
+ (description "The @emph{Account Statement} Tryton module allows booking
statements. Statement can be used for bank statement, cash daybook etc.")
(license license:gpl3+)))
@@ -1141,8 +1141,8 @@ continental accounting model for stock valuation.")
(home-page
"https://docs.tryton.org/projects/modules-account-stock-landed-cost")
(synopsis "Tryton module for landed cost")
- (description "The @emph{Account Stock Landed Cost} Tryton module allows to
-allocate landed cost on Supplier Shipments after their reception.")
+ (description "The @emph{Account Stock Landed Cost} Tryton module allows
+allocating landed cost on Supplier Shipments after their reception.")
(license license:gpl3+)))
(define-public trytond-account-stock-landed-cost-weight
@@ -1186,7 +1186,7 @@ from the Product Measurements")
(list trytond trytond-account trytond-account-invoice trytond-party))
(home-page "https://docs.tryton.org/projects/modules-account-tax-cash")
(synopsis "Tryton module to support tax report on cash basis")
- (description "The @emph{Account Tax Cash} Tryton module allows to make tax
+ (description "The @emph{Account Tax Cash} Tryton module allows making a tax
report on cash basis.")
(license license:gpl3+)))
@@ -1264,8 +1264,8 @@ required to analyse accounting using multiple different axes.")
(list trytond trytond-account-invoice trytond-analytic-account))
(home-page "https://docs.tryton.org/projects/modules-analytic-invoice")
(synopsis "Tryton module to add analytic accounting on invoice")
- (description "The @emph{Analytic Invoice} Tryton module allows to set
-analytic accounts on invoice line.")
+ (description "The @emph{Analytic Invoice} Tryton module allows setting
+analytic accounts on an invoice line.")
(license license:gpl3+)))
(define-public trytond-analytic-purchase
@@ -1286,8 +1286,8 @@ analytic accounts on invoice line.")
trytond-purchase))
(home-page "https://docs.tryton.org/projects/modules-analytic-purchase")
(synopsis "Tryton module to add analytic accounting on purchase")
- (description "The @emph{Analytic Purchase} Tryton module allows to set
-analytic accounts on purchase line.")
+ (description "The @emph{Analytic Purchase} Tryton module allows setting
+analytic accounts on a purchase line.")
(license license:gpl3+)))
(define-public trytond-analytic-sale
@@ -1308,8 +1308,8 @@ analytic accounts on purchase line.")
trytond-sale))
(home-page "https://docs.tryton.org/projects/modules-analytic-sale")
(synopsis "Tryton module to add analytic accounting on sale")
- (description "The @emph{Analytic Sale} Tryton module allows to set
-analytic accounts on sale line.")
+ (description "The @emph{Analytic Sale} Tryton module allows setting
+analytic accounts on a sale line.")
(license license:gpl3+)))
(define-public trytond-attendance
@@ -1515,8 +1515,8 @@ the weight is greater or equal but smaller than the next line.")
trytond-product))
(home-page "https://docs.tryton.org/projects/modules-commission")
(synopsis "Tryton module for commission")
- (description "The @emph{Commission} Tryton module allows to manageq
-commission for sale's agents. A commission move is created when posting the
+ (description "The @emph{Commission} Tryton module allows manageing a
+commission for sales agents. A commission move is created when posting the
invoice, following the agent's commission plan.")
(license license:gpl3+)))
@@ -1538,8 +1538,8 @@ invoice, following the agent's commission plan.")
trytond-commission))
(home-page "https://docs.tryton.org/projects/modules-commission-waiting")
(synopsis "Tryton module for commission waiting")
- (description "The @emph{Commission Waiting} Tryton module allows to
-generate account move for each commission between the expense/revenue account
+ (description "The @emph{Commission Waiting} Tryton module allows
+generating an account move for each commission between the expense/revenue account
to a waiting account defined on the agent.")
(license license:gpl3+)))
@@ -1590,7 +1590,7 @@ management.
The Company Work Time module adds 4 new fields (Hours per Work Day, Hours per
Work Week, Hours per Work Month, Hours per Work Year) on the company form that
-allow to define how much hours are spent by an employee in a day, a week, a
+allows defining how many hours are spent by an employee in a day, a week, a
month and a year of work.")
(license license:gpl3+)))
@@ -1666,7 +1666,7 @@ currency and rate.")
trytond-product))
(home-page "https://docs.tryton.org/projects/modules-customs")
(synopsis "Tryton module for customs")
- (description "The @emph{Customs} Tryton module allows to define customs
+ (description "The @emph{Customs} Tryton module allows defining customs
duty based on the tariff code.")
(license license:gpl3+)))
@@ -1799,8 +1799,8 @@ versions of 2010 and 2020.")
(list python-ldap3 trytond))
(home-page "https://docs.tryton.org/projects/modules-ldap-authentication")
(synopsis "Tryton module to authenticate users through LDAP")
- (description "The @emph{LDAP Authentication} Tryton module allows to
-authenticate users via a LDAP server.")
+ (description "The @emph{LDAP Authentication} Tryton module allows
+authenticating users via a LDAP server.")
(license license:gpl3+)))
(define-public trytond-marketing
@@ -1893,7 +1893,7 @@ mailing lists.")
(list trytond))
(home-page "https://docs.tryton.org/projects/modules-notification-email")
(synopsis "Tryton module for sending email notifications")
- (description "The @emph{Notification Email} Tryton module allows to define
+ (description "The @emph{Notification Email} Tryton module allows defining
email templates which will be sent to a list of recipients when a trigger is
fired on a record event. Extra reports from the same record can be attached
to the email.")
@@ -1965,7 +1965,7 @@ party.")
(list trytond trytond-party))
(home-page "https://docs.tryton.org/projects/modules-party-relationship")
(synopsis "Party Relationship module for Tryton")
- (description "The @emph{Party Relationship} Tryton module allows to define
+ (description "The @emph{Party Relationship} Tryton module allows defining
different types of relations between parties.")
(license license:gpl3+)))
@@ -2311,8 +2311,8 @@ for production management: Bill of material and production order.")
(home-page
"https://docs.tryton.org/projects/modules-production-outsourcing")
(synopsis "Tryton module to outsource production")
- (description "The @emph{Production Outsourcing} Tryton module allows to
-outsource production order per routing. When such outsourced production is
+ (description "The @emph{Production Outsourcing} Tryton module allows
+outsourcing production orders per routing. When such outsourced production is
set to @code{waiting}, a purchase order is created and its cost is added to
the production.")
(license license:gpl3+)))
@@ -2358,7 +2358,7 @@ routings for production: Routing, Step and Operation.")
(home-page "https://docs.tryton.org/projects/modules-production-split")
(synopsis "Tryton module to split production")
(description "The @emph{Production Split} Tryton module adds on the
-production a wizard that allows to split it. The production is split into
+production a wizard that allows splitting it. The production is split into
productions of Quantity. If a count is set, it will be split only this number
of times. On occasion there can be a production with the remaining
quantity.")
@@ -2386,7 +2386,7 @@ quantity.")
trytond-stock))
(home-page "https://docs.tryton.org/projects/modules-production-work")
(synopsis "Tryton module for production work")
- (description "The @emph{Production Work} Tryton module allows to manage
+ (description "The @emph{Production Work} Tryton module allows managing a
work order for each production. It also adds in the production cost for the
work cost.")
(license license:gpl3+)))
@@ -2410,8 +2410,8 @@ work cost.")
(home-page
"https://docs.tryton.org/projects/modules-production-work-timesheet")
(synopsis "Tryton module for timesheet on production work")
- (description "The @emph{Production Work Timesheet} Tryton module allows to
-enter timesheet for production works.")
+ (description "The @emph{Production Work Timesheet} Tryton module allows
+entering a timesheet for production works.")
(license license:gpl3+)))
(define-public trytond-project
@@ -2986,7 +2986,7 @@ line.")
trytond-sale-price-list))
(home-page "https://docs.tryton.org/projects/modules-sale-extra")
(synopsis "Tryton module for sale extra")
- (description "The @emph{Sale Extra} Tryton module allows to add extra line
+ (description "The @emph{Sale Extra} Tryton module allows adding an extra line
on sale based on criteria.")
(license license:gpl3+)))
@@ -3183,8 +3183,8 @@ customer's names and codes for products or variants.")
trytond-sale-price-list))
(home-page "https://docs.tryton.org/projects/modules-sale-promotion")
(synopsis "Tryton module for sale promotion")
- (description "The @emph{Sale Promotion} module allows to apply promotions
-on sale based on criteria.")
+ (description "The @emph{Sale Promotion} module allows applying promotions
+on a sale based on criteria.")
(license license:gpl3+)))
(define-public trytond-sale-promotion-coupon
@@ -3557,7 +3557,7 @@ location to pick products.")
trytond-stock))
(home-page "https://docs.tryton.org/projects/modules-stock-consignment")
(synopsis "Tryton module to manage consignment stock")
- (description "The @emph{Stock Consignment} Tryton module allow to manage
+ (description "The @emph{Stock Consignment} Tryton module allows managing
consignment stock from supplier or at customer warehouse.")
(license license:gpl3+)))
@@ -3624,8 +3624,8 @@ wizard \"Create Inventories\" under the \"Inventories\" sub-menu.")
(list trytond trytond-stock))
(home-page "https://docs.tryton.org/projects/modules-stock-location-move")
(synopsis "Tryton module to move storage locations")
- (description "The @emph{Stock Location} move Tryton module allows to
-define some Locations as movable
+ (description "The @emph{Stock Location} move Tryton module allows
+defining some Locations as movable
(like palette).")
(license license:gpl3+)))
@@ -3717,7 +3717,7 @@ it is no more used to compute the forecast quantity of the stock.")
(list trytond trytond-product trytond-stock trytond-stock-lot))
(home-page "https://docs.tryton.org/projects/modules-stock-lot-unit")
(synopsis "Tryton module to define unit on stock lot")
- (description "The @emph{Stock Lot Unit} Tryton module allows to define a
+ (description "The @emph{Stock Lot Unit} Tryton module allows defining a
unit and quantity on stock lot.")
(license license:gpl3+)))
@@ -3738,7 +3738,7 @@ unit and quantity on stock lot.")
(list trytond trytond-company trytond-product trytond-stock))
(home-page "https://docs.tryton.org/projects/modules-stock-package")
(synopsis "Tryton module for stock packaging")
- (description "The @emph{Stock Package} Tryton module allows to store
+ (description "The @emph{Stock Package} Tryton module allows storing
packaging information about customer and supplier return shipments.")
(license license:gpl3+)))
@@ -3961,7 +3961,7 @@ measurement and the quantity of their moves.")
(home-page "https://docs.tryton.org/projects/modules-stock-split")
(synopsis "Tryton module to split stock move")
(description "The @emph{Stock Split} Tryton module adds on the stock move
-a wizard that allows to split them. The move is split into moves of Quantity.
+a wizard that allows splitting them. The move is split into moves of Quantity.
If Counts is set, it will be split only this number of times. On occasion
there can be a move with the remaining quantity.")
(license license:gpl3+)))
@@ -4015,7 +4015,7 @@ mechanisms and introduces the concepts of order point.")
(home-page "https://docs.tryton.org/projects/modules-stock-supply-day")
(synopsis "Tryton module to add supply weekdays")
(description "The @emph{Stock Supply Day} Tryton module adds a Week Days
-list on the Product Supplier form. This allow to restrict the supply week
+list on the Product Supplier form. This allows restricting the supply week
days for each supplier on each product. If no days are defined for a supplier
a supplying may happens at any day of the week.")
(license license:gpl3+)))
@@ -4082,7 +4082,7 @@ supply mechanisms via production request.")
(list trytond trytond-company trytond-company-work-time))
(home-page "https://docs.tryton.org/projects/modules-timesheet")
(synopsis "Tryton module with timesheets")
- (description "The @emph{Timesheet} Tryton module allows to track the time
+ (description "The @emph{Timesheet} Tryton module allows tracking the time
spent by employees on various works. This module also comes with several
reports that show the time spent by employees on works following various time
periods.")
diff --git a/gnu/packages/unicode.scm b/gnu/packages/unicode.scm
index 806fe05fb6..bda0de04cc 100644
--- a/gnu/packages/unicode.scm
+++ b/gnu/packages/unicode.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2020 Liliana Marie Prikler <liliana.prikler@gmail.com>
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -18,25 +19,73 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages unicode)
+ #:use-module (gnu packages autotools)
+ #:use-module (guix git-download)
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix utils)
#:use-module (guix build-system copy)
+ #:use-module (guix build-system gnu)
#:use-module (guix build-system trivial))
+(define-public libunibreak
+ (package
+ (name "libunibreak")
+ (version "5.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/adah1972/libunibreak")
+ (commit (string-append "libunibreak_"
+ (string-replace-substring version "." "_")))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0r5dndhwsiy65lmavz3vdgal9nl8g97hbmdjg6zyq3zh5hs87vwf"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ (list autoconf-wrapper
+ automake
+ libtool
+ ucd-next ; required for tests
+ ))
+ (arguments
+ `(#:parallel-tests? #f ; parallel tests cause non-deterministic
+ ; build failures
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'pre-check
+ (lambda* (#:key inputs #:allow-other-keys)
+ (for-each (lambda (file)
+ (copy-file
+ (search-input-file inputs
+ (string-append "/share/ucd/auxiliary/"
+ file))
+ (string-append "src/" file)))
+ '("LineBreakTest.txt"
+ "WordBreakTest.txt"
+ "GraphemeBreakTest.txt")))))))
+ (home-page "http://vimgadgets.sourceforge.net/libunibreak/")
+ (synopsis "Unicode line breaking and word breaking algorithms")
+ (description
+ "Libunibreak is an implementation of the line breaking and word
+breaking algorithms as described in Unicode Standard Annex 14 and
+Unicode Standard Annex 29. It is designed to be used in a generic text
+renderer.")
+ (license zlib)))
+
(define-public ucd
(package
(name "ucd")
- (version "12.0.0")
+ (version "14.0.0")
(source
(origin
(method url-fetch/zipbomb)
(uri (string-append "https://www.unicode.org/Public/zipped/" version
"/UCD.zip"))
(sha256
- (base32
- "1ighy39cjkmqnv1797wrxjz76mv1fdw7zp5j04q55bkwxsdkvrmh"))))
+ (base32 "001nq9w52ijma0vps40xwy2q6ylpyf1393lzb128ibypnmv54fh3"))))
(build-system copy-build-system)
(arguments
'(#:install-plan
@@ -49,6 +98,20 @@ files listing Unicode character properties and related data. It also includes
test data for conformance to several important Unicode algorithms.")
(license unicode)))
+(define-public ucd-next
+ (package
+ (inherit ucd)
+ (name "ucd-next")
+ (version "14.0.0")
+ (source
+ (origin
+ (method url-fetch/zipbomb)
+ (uri (string-append "https://www.unicode.org/Public/zipped/" version
+ "/UCD.zip"))
+ (sha256
+ (base32
+ "001nq9w52ijma0vps40xwy2q6ylpyf1393lzb128ibypnmv54fh3"))))))
+
(define (unicode-emoji-file name version hash)
(origin
(method url-fetch)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 8044370dfb..95287c7c69 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -6,7 +6,7 @@
;;; Copyright © 2015, 2016 Mathieu Lirzin <mthl@gnu.org>
;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014, 2016, 2019, 2021 Eric Bavier <bavier@posteo.net>
-;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2015, 2018, 2020, 2021 Kyle Meyer <kyle@kyleam.com>
;;; Copyright © 2015, 2017, 2018, 2020 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016, 2017 Leo Famulari <leo@famulari.name>
@@ -219,14 +219,14 @@ Python 3.3 and later, rather than on Python 2.")
(define-public git
(package
(name "git")
- (version "2.34.0")
+ (version "2.34.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://kernel.org/software/scm/git/git-"
version ".tar.xz"))
(sha256
(base32
- "07s1c9lzlm4kpbb5lmxy0869phg7037pv4faz5hlqyb5csrbjv7x"))))
+ "0b40vf315s1kz65x1wq47g8srl4wqac39pwnvlj1mdzs3kfma1rs"))))
(build-system gnu-build-system)
(native-inputs
`(("native-perl" ,perl)
@@ -246,7 +246,7 @@ Python 3.3 and later, rather than on Python 2.")
version ".tar.xz"))
(sha256
(base32
- "0wic95h0i1bm66hxnc38pfj31n74lvk2xb8lx6kcfpzg2wszmsj7"))))
+ "1f3y7hxvs9p00wwwi8zdn0sgn6nh1pgg1fdsnz2bq8gzfbbmsqww"))))
;; For subtree documentation.
("asciidoc" ,asciidoc)
("docbook-xsl" ,docbook-xsl)
@@ -1626,17 +1626,16 @@ visualize your public Git repositories on a web interface.")
(define-public pre-commit
(package
(name "pre-commit")
- (version "2.15.0")
+ (version "2.16.0")
(source
(origin
- ;; No tests in the PyPI tarball.
- (method git-fetch)
+ (method git-fetch) ; no tests in PyPI release
(uri (git-reference
(url "https://github.com/pre-commit/pre-commit")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0hyynhg52qq8rd37cwk2gl1jjy7hpqh74zl2lg89kkdhhx0xfiaj"))))
+ (base32 "1sf9mqpiv3pgzi6aar7xfna9v7n63lgm7d7b24fhni0jxn56384b"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -1676,14 +1675,7 @@ visualize your public Git repositories on a web interface.")
"not test_install_existing_hooks_no_overwrite"
" and not test_uninstall_restores_legacy_hooks"
" and not test_installed_from_venv"
- " and not test_healthy_venv_creator")))))
- (add-before 'reset-gzip-timestamps 'make-gz-writable
- (lambda* (#:key outputs #:allow-other-keys)
- ;; Make sure .gz files are writable so that the
- ;; 'reset-gzip-timestamps' phase can do its work.
- (let ((out (assoc-ref outputs "out")))
- (for-each make-file-writable
- (find-files out "\\.gz$"))))))))
+ " and not test_healthy_venv_creator"))))))))
(native-inputs
`(("git" ,git-minimal)
("python-covdefaults" ,python-covdefaults)
@@ -2032,10 +2024,12 @@ projects, from individuals to large-scale enterprise operations.")
(modify-phases %standard-phases
(add-after 'install 'install-rcsfreeze
(lambda* (#:key outputs #:allow-other-keys)
- (chmod "src/rcsfreeze" #o755)
- (install-file
- "src/rcsfreeze"
- (string-append (assoc-ref outputs "out") "/bin")))))))
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin"))
+ (man1 (string-append out "/share/man/man1")))
+ (chmod "src/rcsfreeze" #o755)
+ (install-file "src/rcsfreeze" bin)
+ (install-file "man/rcsfreeze.1" man1)))))))
(native-inputs (list ed))
(home-page "https://www.gnu.org/software/rcs/")
(synopsis "Per-file local revision control system")
@@ -2068,6 +2062,28 @@ annotated RCS file describes the revision and date in which each line was
added to the file, and the author of each line.")
(license license:gpl2+)))
+(define-public rcshist
+ (package
+ (name "rcshist")
+ (version "1.04-20190106")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://invisible-mirror.net/archives/rcshist/rcshist-"
+ version ".tgz"))
+ (sha256
+ (base32
+ "01ab3xwgm934lxr8bm758am3vxwx4hxx7cc9prbgqj5nh30vdg1n"))))
+ (build-system gnu-build-system)
+ (home-page "https://invisible-island.net/rcshist/rcshist.html")
+ (synopsis "Display RCS change history")
+ (description
+ "The @code{rcshist} utility displays the complete revision history of a
+set of RCS files including log messages and patches. It can also display the
+patch associated with a particular revision of an RCS file.")
+ (license (list license:bsd-2
+ license:bsd-3)))) ; bsd_queue.h
+
(define-public cvs
(package
(name "cvs")
@@ -2400,7 +2416,7 @@ from Subversion to any supported Distributed Version Control System (DVCS).")
(define-public tig
(package
(name "tig")
- (version "2.5.4")
+ (version "2.5.5")
(source (origin
(method url-fetch)
(uri (string-append
@@ -2408,7 +2424,7 @@ from Subversion to any supported Distributed Version Control System (DVCS).")
version "/tig-" version ".tar.gz"))
(sha256
(base32
- "19va4jn46s0vjv9f337g3ad6hy1f285ynl27i9gkd9l70b9q90n4"))))
+ "04skfsw5wkf6p47lis7x4xyfbpjik3id1km75q0fd2g8xa5jrfi4"))))
(build-system gnu-build-system)
(native-inputs
(list asciidoc xmlto))
@@ -3230,6 +3246,52 @@ makes a directory under a specific root directory (by default @file{~/ghq})
using the remote repository URL's host and path.")
(license license:expat)))
+(define-public tkrev
+ (package
+ (name "tkrev")
+ (version "9.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://sourceforge/tkcvs/tkrev_" version ".tar.gz"))
+ (sha256
+ (base32 "0bpfbhkngzmwy476mfc69mkd94l0m2wxznrn0qzd81s450yxjw2q"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (delete 'build)
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin")))
+ (invoke "wish" "doinstall.tcl" "-nox" out)
+ (install-file "contrib/tkdirdiff" bin))))
+ (add-after 'install 'wrap-programs
+ (lambda* (#:key outputs #:allow-other-keys)
+ (for-each
+ (lambda (file)
+ (wrap-program (string-append (assoc-ref outputs "out")
+ "/bin/" file)
+ `("PATH" ":" prefix (,(dirname (which "wish"))))))
+ '("tkdiff"
+ "tkdirdiff"
+ "tkrev")))))
+ #:tests? #f))
+ (inputs
+ (list tk))
+ (home-page "https://tkcvs.sourceforge.io")
+ (synopsis "Graphical interface to CVS, Subversion, Git, and RCS")
+ (description
+ "TkRev (formerly TkCVS) is a Tcl/Tk-based graphical interface to the CVS,
+Subversion and Git configuration management systems. It will also help with
+RCS. It shows the status of the files in the current working directory, and
+has tools for tagging, merging, checking in/out, and other user operations.
+TkDiff is included for browsing and merging your changes.")
+ (license license:gpl2+)))
+
(define-public git-filter-repo
(package
(name "git-filter-repo")
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 1fd58b2325..5f2cd29255 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -3,7 +3,7 @@
;;; Copyright © 2014, 2015, 2016 David Thompson <davet@gnu.org>
;;; Copyright © 2014, 2015, 2016, 2018, 2020 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
-;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2015, 2016 Andy Patterson <ajpatter@uwaterloo.ca>
;;; Copyright © 2015, 2018, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015, 2016, 2017, 2018, 2019 Alex Vong <alexvong1995@gmail.com>
@@ -36,20 +36,21 @@
;;; Copyright © 2019 Riku Viitanen <riku.viitanen@protonmail.com>
;;; Copyright © 2020, 2021 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020 Josh Holland <josh@inv.alid.pw>
-;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
+;;; Copyright © 2020, 2021 Brice Waegeneire <brice@waegenei.re>
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2020, 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2020 Alex McGrath <amk@amk.ie>
;;; Copyright © 2020, 2021 Michael Rohleder <mike@rohleder.de>
-;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2020, 2021, 2022 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020 Brett Gilio <brettg@gnu.org>
;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@posteo.ro>
;;; Copyright © 2020 Ivan Kozlov <kanichos@yandex.ru>
;;; Copyright © 2020 Antoine Côté <antoine.cote@posteo.net>
+;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2021 Alexey Abramov <levenson@mmer.org>
;;; Copyright © 2021 Andrew Tropin <andrew@trop.in>
;;; Copyright © 2021 David Wilson <david@daviwil.com>
-;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2021,2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2021 Thiago Jung Bauermann <bauermann@kolabnow.com>
@@ -57,6 +58,8 @@
;;; Copyright © 2021 Robin Templeton <robin@terpri.org>
;;; Copyright © 2021 Aleksandr Vityazev <avityazev@posteo.org>
;;; Copyright © 2021 Pradana Aumars <paumars@courrier.dev>
+;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
+;;; Copyright © 2022 Bird <birdsite@airmail.cc>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -144,6 +147,7 @@
#:use-module (gnu packages libreoffice)
#:use-module (gnu packages libusb)
#:use-module (gnu packages linux)
+ #:use-module (gnu packages llvm)
#:use-module (gnu packages lua)
#:use-module (gnu packages m4)
#:use-module (gnu packages man)
@@ -294,7 +298,7 @@
("zlib" ,zlib)))
(synopsis "Audio/Video Transcoder")
(description "Transcode is a fast, versatile and command-line based
-audio/video everything to everything converter primarily focussed on producing
+audio/video everything to everything converter primarily focused on producing
AVI video files with MP3 audio, but also including a program to read all the
video and audio streams from a DVD.")
(home-page
@@ -504,18 +508,20 @@ receiving MJPG streams.")
(define-public mjpegtools
(package
(name "mjpegtools")
- (version "2.1.0")
+ (version "2.2.1")
(source
(origin
(method url-fetch)
(uri
- (string-append "https://sourceforge.net/projects/" name "/files/"
+ (string-append "https://sourceforge.net/projects/mjpeg/files/"
name "/" version "/" name "-" version ".tar.gz"))
(sha256
- (base32 "0kvhxr5hkabj9v7ah2rzkbirndfqdijd9hp8v52c1z6bxddf019w"))))
+ (base32 "16pl22ra3x2mkp8p3awslhlhj46b1nq9g89301gb0q4rgmnm705i"))))
(build-system gnu-build-system)
(inputs
- (list gtk+-2 libdv libpng libquicktime sdl))
+ (list gtk+-2 libdv libjpeg-turbo libpng libquicktime sdl))
+ (native-inputs
+ (list pkg-config))
(synopsis "Tools for handling MPEG")
(description "Mjpeg tools is a suite of programs which support video capture,
editing, playback, and compression to MPEG of MJPEG video. Edit, play and
@@ -1907,7 +1913,7 @@ videoformats depend on the configuration flags of ffmpeg.")
("libogg" ,libogg)
("libpng" ,libpng)
("libraw1394" ,libraw1394)
- ("librsvg" ,librsvg)
+ ("librsvg" ,(librsvg-for-system))
("libsamplerate" ,libsamplerate)
("libsecret" ,libsecret)
("libssh2" ,libssh2)
@@ -2098,7 +2104,7 @@ SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.")
(define-public mpv
(package
(name "mpv")
- (version "0.34.0")
+ (version "0.34.1")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -2106,7 +2112,7 @@ SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0kqckrgvpx42gdmnc644lpwbimwf1am256xd670w2b8sbrjv3bm9"))))
+ (base32 "12qxwm1ww5vhjddl8yvj1xa0n1fi9z3lmzwhaiday2v59ca0qgsk"))))
(build-system waf-build-system)
(native-inputs
(list perl ; for zsh completion file
@@ -2242,6 +2248,28 @@ possibility to play Youtube videos, download subtitles, remember
the last played position, etc.")
(license license:gpl2+)))
+(define-public gallery-dl
+ (package
+ (name "gallery-dl")
+ (version "1.20.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/mikf/gallery-dl"
+ "/releases/download/v" version "/gallery_dl-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0qkz8aznvybdqrjxsl6ir319ras05mi8l0sal4mgi18l70jndh51"))))
+ (build-system python-build-system)
+ (inputs (list python-requests ffmpeg))
+ (home-page "https://github.com/mikf/gallery-dl")
+ (synopsis "Command-line program to download images from several sites")
+ (description "Command-line program to download image galleries
+and collections from several image hosting sites
+While this package can use youtube-dl or yt-dlp packages to download videos,
+the focus is more on images and image hosting sites.")
+ (license license:gpl2)))
+
(define-public gnome-mpv
(deprecated-package "gnome-mpv" celluloid))
@@ -2287,7 +2315,7 @@ To load this plugin, specify the following option when starting mpv:
(define-public libvpx
(package
(name "libvpx")
- (version "1.10.0")
+ (version "1.11.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -2296,7 +2324,7 @@ To load this plugin, specify the following option when starting mpv:
(file-name (git-file-name name version))
(sha256
(base32
- "1p4v6j1505n3gnvx3iksciyi818ymxpazj9fmdrchzbl9pfzg4qi"))
+ "00f1jrclai2b6ys78dpsg6r1mvcyxlna93vxcz8zjyia24c2pjsb"))
(patches (search-patches "libvpx-CVE-2016-2818.patch"))))
(build-system gnu-build-system)
(arguments
@@ -2329,14 +2357,14 @@ To load this plugin, specify the following option when starting mpv:
(define-public youtube-dl
(package
(name "youtube-dl")
- (version "2021.06.06")
+ (version "2021.12.17")
(source (origin
(method url-fetch)
(uri (string-append "https://youtube-dl.org/downloads/latest/"
"youtube-dl-" version ".tar.gz"))
(sha256
(base32
- "1hqan9h55x9gfdakw554vic68w9gpvhblchwxlw265zxp56hxjrw"))
+ "1prm84ci1n1kjzhikhrsbxbgziw6br822psjnijm2ibqnz49jfwz"))
(snippet
'(begin
;; Delete the pre-generated files, except for the man page
@@ -2346,8 +2374,7 @@ To load this plugin, specify the following option when starting mpv:
;;"youtube-dl.1"
"youtube-dl.bash-completion"
"youtube-dl.fish"
- "youtube-dl.zsh"))
- #t))))
+ "youtube-dl.zsh"))))))
(build-system python-build-system)
(arguments
;; The problem here is that the directory for the man page and completion
@@ -2366,8 +2393,7 @@ To load this plugin, specify the following option when starting mpv:
;; Continue respecting the --ffmpeg-location argument.
(substitute* "youtube_dl/postprocessor/ffmpeg.py"
(("\\.get\\('ffmpeg_location'\\)" match)
- (format #f "~a or '~a'" match (which "ffmpeg"))))
- #t))
+ (format #f "~a or '~a'" match (which "ffmpeg"))))))
(add-before 'build 'build-generated-files
(lambda _
;; Avoid the make targets that require pandoc.
@@ -2390,8 +2416,7 @@ To load this plugin, specify the following option when starting mpv:
(("'etc/")
(string-append "'" prefix "/etc/"))
(("'share/")
- (string-append "'" prefix "/share/")))
- #t)))
+ (string-append "'" prefix "/share/"))))))
(add-after 'install 'install-completion
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
@@ -2399,8 +2424,7 @@ To load this plugin, specify the following option when starting mpv:
"/share/zsh/site-functions")))
(mkdir-p zsh)
(copy-file "youtube-dl.zsh"
- (string-append zsh "/_youtube-dl"))
- #t))))))
+ (string-append zsh "/_youtube-dl"))))))))
(native-inputs
(list zip))
(inputs
@@ -2410,6 +2434,7 @@ To load this plugin, specify the following option when starting mpv:
"Youtube-dl is a small command-line program to download videos from
YouTube.com and many more sites.")
(home-page "https://yt-dl.org")
+ (properties '((release-monitoring-url . "https://yt-dl.org/downloads/")))
(license license:public-domain)))
(define-public yt-dlp
@@ -2478,6 +2503,7 @@ YouTube.com and many more sites.")
YouTube.com and many more sites. It is a fork of youtube-dl with a
focus on adding new features while keeping up-to-date with the
original project.")
+ (properties '((release-monitoring-url . "https://pypi.org/project/yt-dlp/")))
(home-page "https://github.com/yt-dlp/yt-dlp")))
(define-public youtube-dl-gui
@@ -3380,6 +3406,7 @@ be used for realtime video capture via Linux-specific APIs.")
("qtbase" ,qtbase-5)
("qtsvg" ,qtsvg)
("qtx11extras" ,qtx11extras)
+ ("qtwayland" ,qtwayland)
("speexdsp" ,speexdsp)
("v4l-utils" ,v4l-utils)
("wayland" ,wayland)
@@ -3790,7 +3817,7 @@ supported players in addition to this package.")
(define-public handbrake
(package
(name "handbrake")
- (version "1.4.2")
+ (version "1.5.1")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/HandBrake/HandBrake/"
@@ -3798,7 +3825,7 @@ supported players in addition to this package.")
"HandBrake-" version "-source.tar.bz2"))
(sha256
(base32
- "0qgvdpnjjvh9937cr0yry1lkz5fj6x9pz32fx7s80c9fvjvq33lb"))
+ "1w1hjj6gvdydypw4mdn281w0x163is59cfm7k6bq371hsl3gx69r"))
(modules '((guix build utils)))
(snippet
;; Remove "contrib" and source not necessary for
@@ -4375,6 +4402,7 @@ tools for styling them, including a built-in real-time video preview.")
libpeas
libnotify
pango
+ python
python-gst
python-numpy
python-matplotlib
@@ -4387,9 +4415,6 @@ tools for styling them, including a built-in real-time video preview.")
("pkg-config" ,pkg-config)))
(arguments
`(#:glib-or-gtk? #t
- ;; Pitivi is not yet compatible with Meson 0.60:
- ;; https://gitlab.gnome.org/GNOME/pitivi/-/issues/2593
- #:meson ,meson-0.59
#:phases
(modify-phases %standard-phases
(add-after 'glib-or-gtk-wrap 'wrap-other-dependencies
@@ -4807,7 +4832,7 @@ transitions, and effects and then export your film to many common formats.")
(define-public shotcut
(package
(name "shotcut")
- (version "21.10.31")
+ (version "21.12.24")
(source
(origin
(method git-fetch)
@@ -4816,12 +4841,23 @@ transitions, and effects and then export your film to many common formats.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0jgv6wl65gf6c4nmfica8k9vbgn3w3594d1phx1mb7zjvyy9y97k"))))
+ (base32 "1l27dqiyi3af0v155w62ib9xcmqyjj2yzs83aqhcrz5pb3i3j18r"))))
(build-system qt-build-system)
(arguments
- `(#:tests? #f ;there are no tests
+ `(#:tests? #f ;there are no tests
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'patch-executable-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; Shotcut expects ffmpeg and melt executables in the shotcut
+ ;; directory. Use full store paths.
+ (let* ((ffmpeg (assoc-ref inputs "ffmpeg"))
+ (mlt (assoc-ref inputs "mlt")))
+ (substitute* "src/jobs/ffmpegjob.cpp"
+ (("\"ffmpeg\"") (string-append "\"" ffmpeg "/bin/ffmpeg\"")))
+ (substitute* "src/jobs/meltjob.cpp"
+ (("\"melt\"") (string-append "\"" mlt "/bin/melt\""))
+ (("\"melt-7\"") (string-append "\"" mlt "/bin/melt-7\""))))))
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")))
@@ -4834,24 +4870,26 @@ transitions, and effects and then export your film to many common formats.")
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(frei0r (assoc-ref inputs "frei0r-plugins"))
- (ffmpeg (assoc-ref inputs "ffmpeg"))
(jack (assoc-ref inputs "jack"))
+ (ladspa (assoc-ref inputs "ladspa"))
+ (mlt (assoc-ref inputs "mlt"))
(sdl2 (assoc-ref inputs "sdl2")))
(wrap-program (string-append out "/bin/shotcut")
- `("PATH" ":" prefix
- ,(list (string-append ffmpeg "/bin")))
+ `("FREI0R_PATH" ":" =
+ (,(string-append frei0r "/lib/frei0r-1")))
+ `("LADSPA_PATH" ":" =
+ (,(string-append ladspa "/lib/ladspa")))
`("LD_LIBRARY_PATH" ":" prefix
,(list (string-append jack "/lib" ":" sdl2 "/lib")))
- `("FREI0R_PATH" ":" =
- (,(string-append frei0r "/lib/frei0r-1/")))
- `("MLT_PREFIX" ":" =
- (,(assoc-ref inputs "mlt"))))))))))
+ `("PATH" ":" prefix
+ ,(list (string-append mlt "/bin"))))))))))
(native-inputs
`(("pkg-config" ,pkg-config)
- ("python" ,python-wrapper)
+ ("python-wrapper" ,python-wrapper)
("qttools" ,qttools)))
(inputs
- (list ffmpeg
+ (list bash-minimal
+ ffmpeg
frei0r-plugins
jack-1
ladspa
@@ -5064,7 +5102,7 @@ transcode or reformat the videos in any way, producing perfect backups.")
(define-public svt-av1
(package
(name "svt-av1")
- (version "0.8.7")
+ (version "0.9.0")
(source
(origin
(method git-fetch)
@@ -5073,7 +5111,7 @@ transcode or reformat the videos in any way, producing perfect backups.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1xlxb6kn6hqz9dxz0nd905m4i2mwjwq1330rbabwzmg4b66cdslg"))))
+ (base32 "1mavggl6f7pk7xs22859vm19qp9csjvdcys3b6n2f4pljqkp4qcj"))))
(build-system cmake-build-system)
;; SVT-AV1 only supports 64-bit Intel-compatible CPUs.
(supported-systems '("x86_64-linux"))
@@ -5162,10 +5200,38 @@ result in several formats:
(home-page "https://www.gen2vdr.de/wirbel/w_scan/index2.html")
(license license:gpl2+)))
+;;; XXX: This crate is used only for rav1e and can be removed once the latter
+;;; is updated. See <https://issues.guix.gnu.org/52837>.
+(define rust-dav1d-sys-0.3.2
+ (package
+ (name "rust-dav1d-sys")
+ (version "0.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dav1d-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1jdxhnlxcml6jd67lx78ifzkn1xm18zfk4li7vjdh3fa61i073kx"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bindgen" ,rust-bindgen-0.54)
+ ("rust-metadeps" ,rust-metadeps-1))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list dav1d clang llvm))
+ (home-page "https://github.com/rust-av/dav1d-rs")
+ (synopsis "FFI bindings to dav1d")
+ (description "This package provides FFI bindings to dav1d.")
+ (license license:expat)))
+
(define-public rav1e
(package
(name "rav1e")
- (version "0.4.1")
+ (version "0.5.1")
(source
(origin
(method url-fetch)
@@ -5174,15 +5240,18 @@ result in several formats:
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "00rjil6qbrwfxhhlq9yvidxm0gp9qdbywhf5zvkj85lykbhyff09"))))
+ "006bfcmjwg0phg8gc25b1sl2ngjrb2bh1b3fd0s5gbf9nlkr8qsn"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-aom-sys" ,rust-aom-sys-0.2)
+ `(;; Strip the '--release' flag to work around the doctest failures with
+ ;; Rust 1.57 (see: https://github.com/xiph/rav1e/issues/2851).
+ #:cargo-test-flags '()
+ #:cargo-inputs
+ (("rust-aom-sys" ,rust-aom-sys-0.3)
("rust-arbitrary" ,rust-arbitrary-0.4)
("rust-arg-enum-proc-macro" ,rust-arg-enum-proc-macro-0.3)
- ("rust-arrayvec" ,rust-arrayvec-0.5)
- ("rust-av-metrics" ,rust-av-metrics-0.6)
+ ("rust-arrayvec" ,rust-arrayvec-0.7)
+ ("rust-av-metrics" ,rust-av-metrics-0.7)
("rust-backtrace" ,rust-backtrace-0.3)
("rust-bitstream-io" ,rust-bitstream-io-1)
("rust-byteorder" ,rust-byteorder-1)
@@ -5209,7 +5278,7 @@ result in several formats:
("rust-rayon" ,rust-rayon-1)
("rust-regex" ,rust-regex-1)
("rust-rust-hawktracer" ,rust-rust-hawktracer-0.7)
- ("rust-rustc-version" ,rust-rustc-version-0.3)
+ ("rust-rustc-version" ,rust-rustc-version-0.4)
("rust-scan-fmt" ,rust-scan-fmt-0.2)
("rust-serde" ,rust-serde-1)
("rust-signal-hook" ,rust-signal-hook-0.3)
@@ -5221,16 +5290,21 @@ result in several formats:
("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
("rust-y4m" ,rust-y4m-0.7))
#:cargo-development-inputs
- (("rust-assert-cmd" ,rust-assert-cmd-1)
+ (("rust-assert-cmd" ,rust-assert-cmd-2)
("rust-cc" ,rust-cc-1)
("rust-criterion" ,rust-criterion-0.3)
("rust-interpolate-name" ,rust-interpolate-name-0.2)
- ("rust-pretty-assertions" ,rust-pretty-assertions-0.6)
+ ("rust-pretty-assertions" ,rust-pretty-assertions-0.7)
("rust-rand" ,rust-rand-0.8)
("rust-rand-chacha" ,rust-rand-chacha-0.3)
- ("rust-semver" ,rust-semver-0.11))
+ ("rust-semver" ,rust-semver-1))
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'relax-versions
+ (lambda _
+ (substitute* "Cargo.toml"
+ ;; Allow using more recent versions of
+ (("~3.1.2") "~3"))))
(replace 'build
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
@@ -5477,20 +5551,18 @@ elementary stream are provided.")
#:make-flags
#~(list (string-append "prefix=" #$output))
#:phases
- '(modify-phases %standard-phases
+ #~(modify-phases %standard-phases
(delete 'configure)
(delete 'build)
(delete 'check)
(add-after 'install 'wrap-program
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let ((vcs (string-append (assoc-ref outputs "out") "/bin/vcs"))
- (ffmpeg (assoc-ref inputs "ffmpeg"))
- (imagemagick (assoc-ref inputs "imagemagick")))
- (wrap-program vcs
- `("PATH" ":" prefix
- ,(map (lambda (dir)
- (string-append dir "/bin"))
- (list ffmpeg imagemagick))))))))))
+ (lambda _
+ (wrap-program (string-append #$output "/bin/vcs")
+ `("PATH" ":" prefix
+ ,(map (lambda (dir)
+ (string-append dir "/bin"))
+ (list #$(this-package-input "ffmpeg")
+ #$(this-package-input "imagemagick"))))))))))
(inputs
(list bash-minimal ffmpeg imagemagick))
(synopsis "Create contact sheets (preview images) from videos")
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 642384adfc..d5667851a8 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
-;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
@@ -31,6 +31,7 @@
(define-module (gnu packages vim)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
+ #:use-module (guix gexp)
#:use-module (guix utils)
#:use-module (guix download)
#:use-module (guix git-download)
@@ -75,7 +76,7 @@
(define-public vim
(package
(name "vim")
- (version "8.2.3487")
+ (version "8.2.3995")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -84,13 +85,11 @@
(file-name (git-file-name name version))
(sha256
(base32
- "1s09jvr1vv9zjk352vbfidfy5fidbf83kz2vk0kk6zv24j1yck24"))))
+ "1aqrywyry4vxf1x7mk5g1k5k6md38bnjb6f778hmk8ahx26mpqpb"))))
(build-system gnu-build-system)
(arguments
`(#:test-target "test"
#:parallel-tests? #f
- ;; Fix test_signals.vim. https://github.com/vim/vim/issues/7402
- #:make-flags (list "CFLAGS=-D_REENTRANT")
#:phases
(modify-phases %standard-phases
(add-after 'configure 'patch-absolute-paths
@@ -106,8 +105,7 @@
"src/testdir/test_terminal2.vim")
(("/bin/sh") (which "sh")))
(substitute* "src/testdir/test_autocmd.vim"
- (("/bin/kill") (which "kill")))
- #t))
+ (("/bin/kill") (which "kill")))))
(add-before 'check 'set-environment-variables
(lambda* (#:key inputs #:allow-other-keys)
;; One of the tests tests timezone-dependent functions.
@@ -115,8 +113,7 @@
(search-input-directory inputs "share/zoneinfo"))
;; Make sure the TERM environment variable is set for the tests
- (setenv "TERM" "xterm")
- #t))
+ (setenv "TERM" "xterm")))
(add-before 'check 'skip-or-fix-failing-tests
(lambda _
;; This test assumes that PID 1 is run as root and that the user
@@ -141,8 +138,7 @@
(string-append line "return\n")))
(substitute* "src/testdir/test_popupwin.vim"
((".*Test_popup_drag_termwin.*" line)
- (string-append line "return\n")))
- #t))
+ (string-append line "return\n")))))
(add-before 'install 'fix-installman.sh
(lambda _
(substitute* "src/installman.sh"
@@ -153,8 +149,7 @@
(let ((vimdir (string-append (assoc-ref outputs "out") "/share/vim")))
(mkdir-p vimdir)
(copy-file (assoc-ref inputs "guix.vim")
- (string-append vimdir "/vimrc"))
- #t))))))
+ (string-append vimdir "/vimrc"))))))))
(inputs
(list gawk ncurses perl tcsh)) ; For runtime/tools/vim32
(native-inputs
@@ -182,20 +177,19 @@ configuration files.")
(package (inherit vim)
(name "xxd")
(arguments
- `(#:make-flags (list ,(string-append "CC=" (cc-for-target)))
+ (list
+ #:make-flags #~(list (string-append "CC=" #$(cc-for-target)))
#:tests? #f ; there are none
#:phases
- (modify-phases %standard-phases
- (delete 'configure)
- (add-after 'unpack 'chdir
- (lambda _
- (chdir "src/xxd")
- #t))
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((bin (string-append (assoc-ref outputs "out") "/bin")))
- (install-file "xxd" bin)
- #t))))))
+ #~(modify-phases %standard-phases
+ (delete 'configure)
+ (add-after 'unpack 'chdir
+ (lambda _
+ (chdir "src/xxd")))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((bin (string-append (assoc-ref outputs "out") "/bin")))
+ (install-file "xxd" bin)))))))
(inputs `())
(native-inputs `())
(synopsis "Hexdump utility from vim")
@@ -204,9 +198,6 @@ with the editor vim.")))
(define-public vim-full
(package
- ;; This package should share its source with Vim, but it doesn't
- ;; build reliably, and we want to keep Vim up to date due to the
- ;; frequency of important bug fixes.
(inherit vim)
(name "vim-full")
(arguments
@@ -232,7 +223,7 @@ with the editor vim.")))
((#:make-flags flags)
`(append
(list "LDFLAGS=-lexpat")
- (delete "CFLAGS=-D_REENTRANT" ,flags)))
+ ,flags))
((#:phases phases)
`(modify-phases ,phases
(add-before 'check 'start-xserver
@@ -893,16 +884,16 @@ through its msgpack-rpc API.")
(define-public vim-guix-vim
(package
(name "vim-guix-vim")
- (version "0.3.0")
+ (version "0.3.1")
(source (origin
(method git-fetch)
(uri (git-reference
- (url "https://gitlab.com/Efraim/guix.vim.git/")
+ (url "https://gitlab.com/Efraim/guix.vim")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
- "0bk2mnvbv1rfr0zzx4m8jjdw98wbbmdffx1h9svrjpg25lcvqv1b"))))
+ "080ni4z23qdr8rkrswjqfqfrrcnpn7qdgrg14glwji46wzvwxqyx"))))
(build-system copy-build-system)
(arguments
'(#:install-plan
@@ -1115,6 +1106,36 @@ quotes, XML tags, and more. The plugin provides mappings to easily delete,
change and add such surroundings in pairs.")
(license license:vim)))
+(define-public vim-gnupg
+ (package
+ (name "vim-gnupg")
+ (version "2.7.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/jamessan/vim-gnupg/releases/"
+ "download/v" version
+ "/vim-gnupg-v" version ".tar.gz"))
+ (sha256
+ (base32 "02w8lgyyh7wgxysvmmcf9ja5c06vrbyh3alzvv97x8cfhrp0skn7"))))
+ (build-system copy-build-system)
+ (arguments
+ '(#:install-plan
+ '(("autoload" "share/vim/vimfiles/")
+ ("doc" "share/vim/vimfiles/")
+ ("plugin" "share/vim/vimfiles/"))))
+ (home-page "https://www.vim.org/scripts/script.php?script_id=3645")
+ (synopsis "Vim plugin for transparent editing of gpg encrypted files")
+ (description
+ "This script implements transparent editing of gpg encrypted files. The
+filename must have a @code{.gpg}, @code{.pgp} or @code{.asc} suffix. When
+opening such a file the content is decrypted, and the content will be encrypted
+to all recipients before it is written. This script turns off viminfo,
+swapfile, and undofile when editing encrypted files to increase security.")
+ (properties
+ '((release-monitoring-url . "https://github.com/jamessan/vim-gnupg/releases")))
+ (license license:gpl2+)))
+
(define-public vim-ctrlp
(package
(name "vim-ctrlp")
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 839b12d040..2269901d46 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -24,6 +24,7 @@
;;; Copyright © 2021 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
+;;; Copyright © 2022 Oleg Pykhalov <go.wigust@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -70,6 +71,7 @@
#:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gettext)
+ #:use-module (gnu packages gcc)
#:use-module (gnu packages gl)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
@@ -88,6 +90,7 @@
#:use-module (gnu packages libusb)
#:use-module (gnu packages linux)
#:use-module (gnu packages m4)
+ #:use-module (gnu packages multiprecision)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages nettle)
#:use-module (gnu packages networking)
@@ -129,6 +132,7 @@
#:use-module (guix build-system trivial)
#:use-module (guix download)
#:use-module (guix git-download)
+ #:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
@@ -149,7 +153,7 @@
(define-public qemu
(package
(name "qemu")
- (version "6.1.0")
+ (version "6.2.0")
(source
(origin
(method url-fetch)
@@ -157,9 +161,8 @@
version ".tar.xz"))
(sha256
(base32
- "15iw7982g6vc4jy1l9kk1z9sl5bm1bdbwr74y7nvwjs1nffhig7f"))
- (patches (search-patches "qemu-CVE-2021-20203.patch"
- "qemu-build-info-manual.patch"
+ "0iavlsy9hin8k38230j8lfmyipx3965zljls1dp34mmc8n75vqb8"))
+ (patches (search-patches "qemu-build-info-manual.patch"
"qemu-fix-agent-paths.patch"))
(modules '((guix build utils)))
(snippet
@@ -420,9 +423,16 @@ server and embedded PowerPC, and S390 guests.")
(delete 'install-user-static)))))
;; Remove dependencies on optional libraries, notably GUI libraries.
- (native-inputs (modify-inputs (package-native-inputs qemu)
- (delete "gettext" "glib:static" "pcre:static"
- "zlib:static")))
+ (native-inputs (filter (lambda (input)
+ (match input
+ ;; Work around the fact that modify-inputs can not
+ ;; delete specific outputs; i.e. here we should keep
+ ;; `(,glib "bin"), but not `(,glib "static").
+ ((label package output)
+ (not (string=? "static" output)))
+ (_ input)))
+ (modify-inputs (package-native-inputs qemu)
+ (delete "gettext-minimal"))))
(inputs (modify-inputs (package-inputs qemu)
(delete "libusb"
"mesa"
@@ -589,6 +599,12 @@ firmware blobs. You can
(string-append match " < 1.2"))
(("(.*QuickCheck.*) < 2\\.14" _ match)
(string-append match " < 2.15")))))
+ (add-after 'unpack 'pyparsing-compat
+ (lambda _
+ ;; Adjust for Pyparsing 3.0. Remove for Ganeti 3.0.2+.
+ (substitute* "lib/qlang.py"
+ (("operatorPrecedence")
+ "infixNotation"))))
(add-after 'unpack 'create-vcs-version
(lambda _
;; If we are building from a git checkout, we need to create a
@@ -599,7 +615,7 @@ firmware blobs. You can
(lambda (port)
(format port "v~a~%" ,version))))))
(add-after 'unpack 'patch-absolute-file-names
- (lambda _
+ (lambda* (#:key inputs #:allow-other-keys)
(substitute* '("lib/utils/process.py"
"lib/utils/text.py"
"src/Ganeti/Constants.hs"
@@ -609,21 +625,22 @@ firmware blobs. You can
"test/py/ganeti.utils.process_unittest.py"
"test/py/ganeti.utils.text_unittest.py"
"test/py/ganeti.utils.wrapper_unittest.py")
- (("/bin/sh") (which "sh"))
- (("/bin/bash") (which "bash"))
- (("/usr/bin/env") (which "env"))
- (("/bin/true") (which "true")))
+ (("/bin/sh") (search-input-file inputs "/bin/sh"))
+ (("/bin/bash") (search-input-file inputs "/bin/bash"))
+ (("/usr/bin/env") (search-input-file inputs "/bin/env"))
+ (("/bin/true") (search-input-file inputs "/bin/true")))
;; This script is called by the node daemon at startup to perform
;; sanity checks on the cluster IP addresses, and it is also used
;; in a master-failover scenario. Add absolute references to
;; avoid propagating these executables.
(substitute* "tools/master-ip-setup"
- (("arping") (which "arping"))
- (("ndisc6") (which "ndisc6"))
- (("fping") (which "fping"))
- (("grep") (which "grep"))
- (("ip addr") (string-append (which "ip") " addr")))))
+ (("arping") (search-input-file inputs "/bin/arping"))
+ (("ndisc6") (search-input-file inputs "/bin/ndisc6"))
+ (("fping") (search-input-file inputs "/sbin/fping"))
+ (("grep") (search-input-file inputs "/bin/grep"))
+ (("ip addr") (string-append (search-input-file inputs "/sbin/ip")
+ " addr")))))
(add-after 'unpack 'override-builtin-PATH
(lambda _
;; Ganeti runs OS install scripts and similar with a built-in
@@ -813,42 +830,40 @@ firmware blobs. You can
("shelltestrunner" ,shelltestrunner)
("tzdata" ,tzdata-for-tests)))
(inputs
- `(("arping" ,iputils) ;must be the iputils version
- ("curl" ,curl)
- ("fping" ,fping)
- ("iproute2" ,iproute)
- ("ndisc6" ,ndisc6)
- ("socat" ,socat)
- ("qemu" ,qemu-minimal) ;for qemu-img
- ("ghc-attoparsec" ,ghc-attoparsec)
- ("ghc-base64-bytestring" ,ghc-base64-bytestring)
- ("ghc-cryptonite" ,ghc-cryptonite)
- ("ghc-curl" ,ghc-curl)
- ("ghc-hinotify" ,ghc-hinotify)
- ("ghc-hslogger" ,ghc-hslogger)
- ("ghc-json" ,ghc-json)
- ("ghc-lens" ,ghc-lens)
- ("ghc-lifted-base" ,ghc-lifted-base)
- ("ghc-network" ,ghc-network)
- ("ghc-old-time" ,ghc-old-time)
- ("ghc-psqueue" ,ghc-psqueue)
- ("ghc-regex-pcre" ,ghc-regex-pcre)
- ("ghc-utf8-string" ,ghc-utf8-string)
- ("ghc-zlib" ,ghc-zlib)
-
- ;; For the optional metadata daemon.
- ("ghc-snap-core" ,ghc-snap-core)
- ("ghc-snap-server" ,ghc-snap-server)
-
- ("python" ,python)
- ("python-pyopenssl" ,python-pyopenssl)
- ("python-simplejson" ,python-simplejson)
- ("python-pyparsing" ,python-pyparsing)
- ("python-pyinotify" ,python-pyinotify)
- ("python-pycurl" ,python-pycurl)
- ("python-bitarray" ,python-bitarray)
- ("python-paramiko" ,python-paramiko)
- ("python-psutil" ,python-psutil)))
+ (list iputils ;for 'arping'
+ curl
+ fping
+ iproute
+ ndisc6
+ socat
+ qemu-minimal ;for qemu-img
+ ghc-attoparsec
+ ghc-base64-bytestring
+ ghc-cryptonite
+ ghc-curl
+ ghc-hinotify
+ ghc-hslogger
+ ghc-json
+ ghc-lens
+ ghc-lifted-base
+ ghc-network
+ ghc-old-time
+ ghc-psqueue
+ ghc-regex-pcre
+ ghc-utf8-string
+ ghc-zlib
+ ;; For the optional metadata daemon.
+ ghc-snap-core
+ ghc-snap-server
+ python
+ python-pyopenssl
+ python-simplejson
+ python-pyparsing
+ python-pyinotify
+ python-pycurl
+ python-bitarray
+ python-paramiko
+ python-psutil))
(home-page "https://www.ganeti.org/")
(synopsis "Cluster-based virtual machine management system")
(description
@@ -1056,7 +1071,7 @@ all common programming languages. Vala bindings are also provided.")
(define-public lxc
(package
(name "lxc")
- (version "4.0.10")
+ (version "4.0.11")
(source (origin
(method url-fetch)
(uri (string-append
@@ -1064,31 +1079,30 @@ all common programming languages. Vala bindings are also provided.")
version ".tar.gz"))
(sha256
(base32
- "1sgsic9dzj3wv2k5bx2vhcgappivhp1glkqfc2yrgr6jas052351"))))
+ "0b7hv4n8b3lndhr0jf9j1gkbzxm8897a1myjsfgwzad9gkhq395g"))))
(build-system gnu-build-system)
(native-inputs
(list pkg-config docbook2x))
(inputs
(list gnutls libcap libseccomp libselinux))
(arguments
- `(#:configure-flags
- (list (string-append "--docdir=" (assoc-ref %outputs "out")
- "/share/doc/" ,name "-" ,version)
- "--sysconfdir=/etc"
- "--localstatedir=/var")
- #:phases
- (modify-phases %standard-phases
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (bashcompdir (string-append out "/etc/bash_completion.d")))
- (invoke "make" "install"
- (string-append "bashcompdir=" bashcompdir)
- ;; Don't install files into /var and /etc.
- "LXCPATH=/tmp/var/lib/lxc"
- "localstatedir=/tmp/var"
- "sysconfdir=/tmp/etc"
- "sysconfigdir=/tmp/etc/default")))))))
+ (list #:configure-flags
+ #~(list (string-append "--docdir=" #$output "/share/doc/"
+ #$name "-" #$version)
+ "--sysconfdir=/etc"
+ "--localstatedir=/var")
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'install
+ (lambda _
+ (invoke "make" "install"
+ (string-append "bashcompdir=" #$output
+ "/etc/bash_completion.d")
+ ;; Don't install files into /var and /etc.
+ "LXCPATH=/tmp/var/lib/lxc"
+ "localstatedir=/tmp/var"
+ "sysconfdir=/tmp/etc"
+ "sysconfigdir=/tmp/etc/default"))))))
(synopsis "Linux container tools")
(home-page "https://linuxcontainers.org/")
(description
@@ -1100,7 +1114,7 @@ manage system or application containers.")
(define-public lxcfs
(package
(name "lxcfs")
- (version "4.0.9")
+ (version "4.0.11")
(home-page "https://github.com/lxc/lxcfs")
(source (origin
(method git-fetch)
@@ -1109,7 +1123,7 @@ manage system or application containers.")
(file-name (git-file-name name version))
(sha256
(base32
- "0zx58lair8hwi4bxm5h7i8n1j5fcdgw5cr6f4wk9qhks0sr5dip5"))))
+ "02cgzh97cgxh9iyf7gkn5ikdc0sfzqfjj6al0hikdf9rbwcscqwd"))))
(arguments
'(#:configure-flags '("--localstatedir=/var")))
(native-inputs
@@ -1126,7 +1140,7 @@ It started as a side project of LXC but can be used by any run-time.")
(define-public lxd
(package
(name "lxd")
- (version "4.17")
+ (version "4.22")
(source (origin
(method url-fetch)
(uri (string-append
@@ -1134,7 +1148,7 @@ It started as a side project of LXC but can be used by any run-time.")
"lxd-" version "/lxd-" version ".tar.gz"))
(sha256
(base32
- "1kzmgyg5kw3zw9qa6jabld6rmb53b6yy69h7y9znsdlf74jllljl"))))
+ "119345936fcm1vv06k82k9hvj5yjf9jdrwqm9ccphhl5mswf8xq9"))))
(build-system go-build-system)
(arguments
`(#:import-path "github.com/lxc/lxd"
@@ -1148,22 +1162,17 @@ It started as a side project of LXC but can be used by any run-time.")
(add-after 'unpack 'unpack-dist
(lambda* (#:key import-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path)
- ;; remove the link back to the top level
- (delete-file (string-append "_dist/src/" import-path))
- ;; move all the deps into the src directory
- (copy-recursively "_dist/src" "../../.."))
- #t))
+ ;; Move all the dependencies into the src directory.
+ (copy-recursively "_dist/src" "../../.."))))
(replace 'build
(lambda* (#:key import-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path)
- (invoke "make" "build" "CC=gcc" "TAG_SQLITE3=libsqlite3")
- #t)))
+ (invoke "make" "build" "CC=gcc" "TAG_SQLITE3=libsqlite3"))))
(replace 'check
(lambda* (#:key tests? import-path #:allow-other-keys)
(when tests?
(with-directory-excursion (string-append "src/" import-path)
- (invoke "make" "check" "CC=gcc" "TAG_SQLITE3=libsqlite3")))
- #t))
+ (invoke "make" "check" "CC=gcc" "TAG_SQLITE3=libsqlite3")))))
(replace 'install
(lambda* (#:key inputs outputs import-path #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
@@ -1174,7 +1183,7 @@ It started as a side project of LXC but can be used by any run-time.")
(completions-dir
(string-append out "/share/bash-completion/completions")))
(with-directory-excursion (string-append "src/" import-path)
- ;; wrap lxd with runtime dependencies
+ ;; Wrap lxd with run-time dependencies.
(wrap-program (string-append bin-dir "lxd")
`("PATH" ":" prefix
,(fold (lambda (input paths)
@@ -1187,20 +1196,19 @@ It started as a side project of LXC but can be used by any run-time.")
'("bash" "acl" "rsync" "tar" "xz" "btrfs-progs"
"gzip" "dnsmasq" "squashfs-tools" "iproute2"
"criu" "iptables"))))
- ;; remove unwanted binaries
+ ;; Remove unwanted binaries.
(for-each (lambda (prog)
(delete-file (string-append bin-dir prog)))
'("deps" "macaroon-identity" "generate"))
- ;; install documentation
+ ;; Install documentation.
(for-each (lambda (file)
(install-file file doc-dir))
(find-files "doc"))
- ;; install bash completion
+ ;; Install bash completion.
(rename-file "scripts/bash/lxd-client" "scripts/bash/lxd")
- (install-file "scripts/bash/lxd" completions-dir)))
- #t)))))
+ (install-file "scripts/bash/lxd" completions-dir))))))))
(native-inputs
- (list ;; test dependencies:
+ (list ;; Test dependencies:
;; ("go-github-com-rogpeppe-godeps" ,go-github-com-rogpeppe-godeps)
;; ("go-github-com-tsenart-deadcode" ,go-github-com-tsenart-deadcode)
;; ("go-golang-org-x-lint" ,go-golang-org-x-lint)
@@ -1212,7 +1220,7 @@ It started as a side project of LXC but can be used by any run-time.")
("libraft" ,libraft)
("libcap" ,libcap)
("lxc" ,lxc)
- ;; runtime dependencies:
+ ;; Run-time dependencies.
("bash" ,bash-minimal)
("rsync" ,rsync)
("tar" ,tar)
@@ -1337,8 +1345,6 @@ to integrate other virtualization mechanisms if needed.")
(base32
"1gdcvqz88qkp402zra9csc6391f2xki1270x683n6ixakl3gf8w4"))))
(build-system meson-build-system)
- (arguments
- `(#:meson ,meson-0.59)) ;KeyError: 'install_dir' with meson 0.60
(inputs
(list openssl cyrus-sasl lvm2 ; for libdevmapper
libyajl))
@@ -1640,70 +1646,91 @@ Machine Protocol.")
(license license:gpl3+)))
(define-public looking-glass-client
- (let ((commit "182c4752d57690da7f99d5e788de9b8baea33895"))
- (package
- (name "looking-glass-client")
- (version (string-append "a12-" (string-take commit 7)))
- (source
- (origin
+ (package
+ (name "looking-glass-client")
+ (version "B5")
+ (source
+ (origin
(method git-fetch)
- (uri (git-reference (url "https://github.com/gnif/LookingGlass")
- (commit commit)))
+ (uri (git-reference
+ (url "https://github.com/gnif/LookingGlass")
+ (commit version)
+ (recursive? #t)))
(file-name (git-file-name name version))
(sha256
(base32
- "02bq46ndmzq9cihazzn7xq1x7q5nzm7iw4l9lqzihxcxp9famkhw"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- ;; Do not create binaries optimized for the CPU of the build machine,
- ;; for reproducibility and compatibility. TODO: in the next version
- ;; of looking glass, this is exposed as a CMake configure option.
- (substitute* "client/CMakeLists.txt"
- (("-march=native")
- ""))
- #t))))
- (build-system cmake-build-system)
- (inputs `(("fontconfig" ,fontconfig)
- ("glu" ,glu)
- ("mesa" ,mesa)
- ("openssl" ,openssl)
- ("sdl2" ,sdl2)
- ("sdl2-ttf" ,sdl2-ttf)
- ("spice-protocol" ,spice-protocol)
- ("wayland" ,wayland)))
- (native-inputs (list libconfig nettle pkg-config))
- (arguments
- `(#:tests? #f ;; No tests are available.
- #:make-flags '("CC=gcc")
- #:phases (modify-phases %standard-phases
- (add-before 'configure 'chdir-to-client
- (lambda* (#:key outputs #:allow-other-keys)
- (chdir "client")
- #t))
- (add-after 'chdir-to-client 'add-missing-include
- (lambda _
- ;; Mimic upstream commit b9797529893, required since the
- ;; update to Mesa 19.2.
- (substitute* "renderers/egl/shader.h"
- (("#include <stdbool\\.h>")
- "#include <stdbool.h>\n#include <stddef.h>"))
- #t))
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (install-file "looking-glass-client"
- (string-append (assoc-ref outputs "out")
- "/bin"))
- #t)))))
- (home-page "https://looking-glass.hostfission.com")
- (synopsis "KVM Frame Relay (KVMFR) implementation")
- (description "Looking Glass allows the use of a KVM (Kernel-based Virtual
+ "09mn544x5hg1z31l92ksk7fi7yj9r8xdk0dcl9fk56ivcr452ylm"))))
+ (build-system cmake-build-system)
+ (inputs
+ (list bash-minimal
+ fontconfig
+ freetype
+ glu
+ gmp
+ libglvnd
+ libiberty
+ libx11
+ libxcursor
+ libxfixes
+ libxi
+ libxinerama
+ libxkbcommon
+ libxpresent
+ libxrandr
+ libxscrnsaver
+ mesa
+ openssl
+ sdl2
+ sdl2-ttf
+ spice-protocol
+ wayland
+ wayland-protocols
+ `(,zlib "static")))
+ (native-inputs (list libconfig nettle pkg-config))
+ (arguments
+ `(#:tests? #f ;; No tests are available.
+ #:make-flags '("CC=gcc")
+ #:phases (modify-phases %standard-phases
+ (add-before 'configure 'chdir-to-client
+ (lambda* (#:key outputs #:allow-other-keys)
+ (chdir "client")
+ #t))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (install-file "looking-glass-client"
+ (string-append (assoc-ref outputs "out")
+ "/bin"))
+ #t))
+ (add-after 'install 'wrapper
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (wrap-program
+ (string-append (assoc-ref outputs "out")
+ "/bin/looking-glass-client")
+ `("LD_LIBRARY_PATH" ":" prefix
+ ,(map (lambda (name)
+ (let ((input (assoc-ref inputs name)))
+ (string-append input "/lib")))
+ '("gmp"
+ "libxi"
+ "nettle"
+ "mesa"
+ "wayland"
+ "fontconfig-minimal"
+ "freetype"
+ "libx11"
+ "libxfixes"
+ "libxscrnsaver"
+ "libxinerama"))))
+ #t)))))
+ (home-page "https://looking-glass.io/")
+ (synopsis "KVM Frame Relay (KVMFR) implementation")
+ (description "Looking Glass allows the use of a KVM (Kernel-based Virtual
Machine) configured for VGA PCI Pass-through without an attached physical
-monitor, keyboard or mouse. It displays the VM's rendered contents on your main
-monitor/GPU.")
- ;; This package requires SSE instructions.
- (supported-systems '("i686-linux" "x86_64-linux"))
- (license license:gpl2+))))
+monitor, keyboard or mouse. It displays the VM's rendered contents on your
+main monitor/GPU.")
+ ;; This package requires SSE instructions.
+ (supported-systems '("i686-linux" "x86_64-linux"))
+ (license license:gpl2+)))
(define-public runc
(package
@@ -1896,7 +1923,7 @@ virtual machines.")
(define-public bubblewrap
(package
(name "bubblewrap")
- (version "0.4.1")
+ (version "0.5.0")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/containers/bubblewrap/"
@@ -1904,7 +1931,8 @@ virtual machines.")
version ".tar.xz"))
(sha256
(base32
- "00ycgi6q2yngh06bnz50wkvar6r2jnjf3j158grhi9k13jdrpimr"))))
+ "0608l2sjwhnb1c0mslah1h6yjvqr17wk60by6i710qwxg4rszz8n"))
+ (patches (search-patches "bubblewrap-fix-locale-in-tests.patch"))))
(build-system gnu-build-system)
(arguments
`(#:phases
@@ -1920,7 +1948,9 @@ virtual machines.")
(substitute* "tests/test-run.sh"
(("/var/tmp") tmp-dir)
;; Tests create a temporary python script, so fix its shebang.
- (("/usr/bin/env python") (which "python"))
+ (("/usr/bin/env python3") (which "python3"))
+ ;; Tests call /usr/bin/env, so fix its path.
+ (("/usr/bin/env") (which "env"))
;; Some tests try to access /usr, but that doesn't exist.
;; Give them /gnu instead.
(("/usr") "/gnu")
@@ -1929,18 +1959,21 @@ virtual machines.")
(("--ro-bind /lib /lib") "--ro-bind /gnu /lib")
((" */bin/bash") (which "bash"))
(("/bin/sh") (which "sh"))
- (("findmnt") (which "findmnt"))))
+ (("findmnt") (which "findmnt")))
+ (substitute* "tests/libtest.sh"
+ (("/var/tmp") tmp-dir)
+ (("/usr") "/gnu")
+ (("--ro-bind /bin /bin") "--ro-bind /gnu /bin")
+ (("--ro-bind /sbin /sbin") "--ro-bind /gnu /sbin")
+ (("--ro-bind /lib /lib") "--ro-bind /gnu /lib")))
#t))
;; Remove the directory we gave to tests to have a clean package.
(add-after 'check 'remove-tmp-dir
(lambda* (#:key outputs #:allow-other-keys)
(delete-file-recursively (string-append (assoc-ref outputs "out") "/tmp"))
#t)))))
- (inputs
- (list libcap))
- (native-inputs
- `(("python" ,python-wrapper)
- ("util-linux" ,util-linux)))
+ (inputs (list libcap))
+ (native-inputs (list python-wrapper util-linux))
(home-page "https://github.com/containers/bubblewrap")
(synopsis "Unprivileged sandboxing tool")
(description "Bubblewrap is aimed at running applications in a sandbox,
diff --git a/gnu/packages/vlang.scm b/gnu/packages/vlang.scm
index 108e09d450..4741483f12 100644
--- a/gnu/packages/vlang.scm
+++ b/gnu/packages/vlang.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
;;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2021 (unmatched parenthesis <paren@disroot.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -23,6 +24,7 @@
#:use-module (gnu packages node)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages tls)
+ #:use-module (gnu packages version-control)
#:use-module (gnu packages xorg)
#:use-module (guix build-system gnu)
#:use-module (guix git-download)
@@ -33,7 +35,7 @@
(define-public vlang
(package
(name "vlang")
- (version "0.1.29")
+ (version "0.2.4")
(source
(origin
(method git-fetch)
@@ -42,7 +44,7 @@
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1rqi7cah5nq8aggrib9xvdpfjxq20li91svv0w9yny6nn1ag7snx"))))
+ (base32 "17wmjxssmg6kd4j8i6pgib452zzwvkyi3n1znd1jj3xkf2l92fw8"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags
@@ -53,26 +55,30 @@
"GITFASTCLONE=mkdir -p"
"TCCREPO="
"VCREPO="
+ (string-append "VFLAGS=-cc " ,(cc-for-target))
"VERBOSE=1")
#:phases
(modify-phases %standard-phases
(delete 'configure)
+ (add-before 'build 'change-home
+ (lambda _
+ (setenv "HOME" "/tmp")
+ #t))
(add-before 'build 'patch-makefile
(lambda _
(substitute* "Makefile"
- (("rm -rf") "true")
- (("v self") (string-append "v -cc " ,(cc-for-target) " cmd/v")))
+ (("--branch thirdparty-unknown-unknown") "")
+ (("rm -rf") "true"))
#t))
(add-before 'check 'delete-failing-tests
;; XXX As always, these should eventually be fixed and run.
(lambda _
(for-each delete-file
- '("vlib/v/gen/x64/tests/x64_test.v"
+ '("vlib/os/notify/notify_test.v"
+ "vlib/v/doc/doc_private_fn_test.v"
+ "vlib/v/live/live_test.v"
"vlib/v/tests/repl/repl_test.v"
- "vlib/v/tests/valgrind/valgrind_test.v"
- "vlib/v/tests/valgrind/strings_and_arrays.vv"
- "vlib/v/tests/live_test.v"
- "vlib/net/websocket/ws_test.v"))
+ "vlib/v/tests/valgrind/valgrind_test.v"))
#t))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
@@ -82,21 +88,23 @@
(mkdir-p bin)
(symlink gcc (string-append bin "/cc"))
(setenv "PATH" (string-append bin ":" (getenv "PATH")))
- (invoke "./v" "test-fixed")))
+ (invoke "./v" "test-self")))
#t))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((bin (string-append (assoc-ref outputs "out") "/bin"))
+ (docs (string-append bin "/cmd/v/help"))
(tools (string-append bin "/cmd/tools"))
(thirdparty (string-append bin "/thirdparty"))
(vlib (string-append bin "/vlib"))
(vmod (string-append bin "/v.mod")))
(mkdir-p bin)
(copy-file "./v" (string-append bin "/v"))
- ;; v requires as of 0.1.27 that these other components are in the
+ ;; v requires as of 0.2.4 that these other components are in the
;; same directory. In a future release we may be able to move
;; these into other output folders.
(copy-recursively "cmd/tools" tools)
+ (copy-recursively "cmd/v/help" docs)
(copy-recursively "thirdparty" thirdparty)
(copy-recursively "vlib" vlib)
(copy-file "v.mod" vmod))
@@ -107,7 +115,7 @@
`(("vc"
;; Versions are not consistently tagged, but the matching commit will
;; probably have ‘v0.x.y’ in the commit message.
- ,(let ((vc-version "b01d0fcda4b55861baa4be82e307cca4834b1641"))
+ ,(let ((vc-version "5e876c1491db50b136499d3397b57b7c062040e5"))
;; v bootstraps from generated c source code from a dedicated
;; repository. It's readable, as generated source goes, and not at all
;; obfuscated, and it's about 15kb. The original source written in
@@ -121,8 +129,8 @@
(commit vc-version)))
(file-name (git-file-name "vc" vc-version))
(sha256
- (base32 "052gp5q2k31r3lci3rx4k0vy0vjdjva64xvrbbihn8lgmw63lc9f")))))
-
+ (base32 "1gxdkgc7aqw5f0fhch1n6nhzgzvgb49p77idx1zj7wcp53lpx5ng")))))
+ ("git" ,git-minimal)
;; For the tests.
("libx11" ,libx11)
("node" ,node)
diff --git a/gnu/packages/vnc.scm b/gnu/packages/vnc.scm
index 64c89f00b9..c0fabe848b 100644
--- a/gnu/packages/vnc.scm
+++ b/gnu/packages/vnc.scm
@@ -4,7 +4,7 @@
;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
-;;; Copyright © 2021 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2021, 2022 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -61,7 +61,7 @@
(define-public remmina
(package
(name "remmina")
- (version "1.4.22")
+ (version "1.4.23")
(source
(origin
(method git-fetch)
@@ -71,7 +71,7 @@
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1f8qqr20ccj3fvf587syilabk389afc7ax9xxpr55swqi4qgk9vy"))))
+ (base32 "1j0fiz76z4y08w136vs8igqxxg42hx61r5hf6sylcr0c424sc9rk"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f ; No target
@@ -153,50 +153,52 @@ RDP, VNC, SPICE, NX, XDMCP, SSH and EXEC network protocols are supported.")
(license license:gpl2+)))
(define-public tigervnc-client
- (package
- (name "tigervnc-client")
- (version "1.11.0")
- (source (origin
- (method git-fetch)
- (uri
- (git-reference
- (url "https://github.com/TigerVNC/tigervnc")
- (commit (string-append "v" version))))
- (sha256
- (base32
- "1bg79ahr4mzy48ak0caxy3ckdsxmhpchypggaz6lxjjk92hgsz91"))
- (file-name (git-file-name name version))))
- (build-system cmake-build-system)
- (arguments
- '(#:tests? #f ; Tests that do exists are not automated.
- #:phases (modify-phases %standard-phases
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (with-directory-excursion "vncviewer"
- (invoke "make" "install")))))))
- (native-inputs
- (list autoconf gettext-minimal automake))
- (inputs
- (list zlib
- gnutls
- libjpeg-turbo
- fltk
- linux-pam
- libx11
- libxext
- libxtst
- libxrandr
- libxdamage
- pixman))
- (home-page "https://tigervnc.org/")
- (synopsis "High-performance, platform-neutral
+ ;; xorg-server 21 support was merged 2 weeks after the last (1.12.0) release.
+ (let ((revision "0")
+ (commit "b484c229853a08c7f254a4c6efbaf3c9e85b5074"))
+ (package
+ (name "tigervnc-client")
+ (version (git-version "1.12.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/TigerVNC/tigervnc")
+ (commit commit)))
+ (sha256
+ (base32 "125dnn05ps7vfsxlxmzm05w99lhm8hk8j4hpxl1mlzb5j0hp1061"))
+ (file-name (git-file-name name version))))
+ (build-system cmake-build-system)
+ (arguments
+ '(#:tests? #f ; Tests that do exists are not automated.
+ #:phases (modify-phases %standard-phases
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (with-directory-excursion "vncviewer"
+ (invoke "make" "install")))))))
+ (native-inputs
+ (list autoconf gettext-minimal automake))
+ (inputs
+ (list zlib
+ gnutls
+ libjpeg-turbo
+ fltk
+ linux-pam
+ libx11
+ libxext
+ libxtst
+ libxrandr
+ libxdamage
+ pixman))
+ (home-page "https://tigervnc.org/")
+ (synopsis "High-performance, platform-neutral
implementation of VNC (client)")
- (description "TigerVNC is a client/server implementation of VNC (Virtual
+ (description "TigerVNC is a client/server implementation of VNC (Virtual
Network Computing). It provides enough performance to run even 3D and video
applications. It also provides extensions for advanced authentication methods
and TLS encryption. This package installs only the VNC client, the
application which is needed to connect to VNC servers.")
- (license license:gpl2)))
+ (license license:gpl2))))
;; A VNC server is, in fact, an X server so it seems like a good idea
;; to build on the work already done for xorg-server package. This is
@@ -267,32 +269,13 @@ application which is needed to connect to VNC servers.")
(let*
((tvnc-src (assoc-ref %build-inputs "tigervnc-src"))
(tvnc-xserver (string-append tvnc-src "/unix/xserver")))
- (copy-recursively tvnc-xserver ".")
- #t)))
+ (copy-recursively tvnc-xserver "."))))
(add-after 'copy-tvnc-xserver 'patch-xserver
(lambda _
- (let*
- ((tvnc-src (assoc-ref %build-inputs "tigervnc-src"))
- (xorg-server-version ,(package-version xorg-server))
- (which-patch (lambda ()
- (let*
- ((patch-num (apply string-append
- (list-head (string-split xorg-server-version
- #\.)
- 2)))
- (fn (format #f "~a/unix/xserver~a.patch" tvnc-src patch-num)))
- (when (not (file-exists? fn))
- (error (format #f "Patch file, ~a,
-corresponding to the input xorg-server version, does not exist. Installation
-will fail. " fn)))
-
- fn))) ; VNC patches for xserver have the
- ; form xserverXY[Y].patch, where
- ; X.Y[Y].Z is the Xorg server
- ; version.
- (xserver-patch (which-patch)))
- (invoke "patch" "-p1" "-i" xserver-patch)
- (invoke "autoreconf" "-fiv"))))
+ (invoke "patch" "-p1" "-i"
+ (string-append (assoc-ref %build-inputs "tigervnc-src")
+ "/unix/xserver21.1.1.patch"))
+ (invoke "autoreconf" "-fiv")))
(add-before 'build 'build-tigervnc
(lambda _
(let* ((out (assoc-ref %outputs "out"))
diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
index 6807cb1be3..b2698d80d9 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 John Darrington <jmd@gnu.org>
;;; Copyright © 2014, 2019 Mark H Weaver <mhw@netris.org>
-;;; Copyright © 2015, 2016, 2019, 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2015, 2016, 2019, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Kei Kebreau <kkebreau@posteo.net>
;;; Copyright © 2017 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr>
@@ -15,6 +15,7 @@
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2020 Nicolò Balzarotti <nicolo@nixo.xyz>
;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@posteo.ro>
+;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2021 Cage <cage-dev@twistfold.it>
;;; Copyright © 2021 Benoit Joly <benoit@benoitj.ca>
;;; Copyright © 2021 Alexander Krotov <krotov@iitp.ru>
@@ -44,6 +45,7 @@
#:use-module (guix build-system go)
#: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)
@@ -588,7 +590,7 @@ driven and does not detract you from your daily work.")
(define-public nyxt
(package
(name "nyxt")
- (version "2.2.3")
+ (version "2.2.4")
(source
(origin
(method git-fetch)
@@ -597,7 +599,7 @@ driven and does not detract you from your daily work.")
(commit version)))
(sha256
(base32
- "1v1szbj44pwxh3k70fvg78xjfkab29dqnlafa722sppdyqd06cqp"))
+ "12l7ir3q29v06jx0zng5cvlbmap7p709ka3ik6x29lw334qshm9b"))
(file-name (git-file-name "nyxt" version))))
(build-system gnu-build-system)
(arguments
@@ -704,7 +706,7 @@ is fully configurable and extensible in Common Lisp.")
(define-public lagrange
(package
(name "lagrange")
- (version "1.9.2")
+ (version "1.10.2")
(source
(origin
(method url-fetch)
@@ -712,7 +714,7 @@ is fully configurable and extensible in Common Lisp.")
(string-append "https://git.skyjake.fi/skyjake/lagrange/releases/"
"download/v" version "/lagrange-" version ".tar.gz"))
(sha256
- (base32 "1j4r2c6f9fqc22f14fjh28s324kfbb9ahf08nv0xlazy1y5g7f6d"))
+ (base32 "1zxvfl0fmkixralzj9jcshbbl2p3918js8qb4nra8pjkrrkaidbn"))
(modules '((guix build utils)))
(snippet
'(begin
@@ -747,40 +749,39 @@ history, and page outlines.")
(license license:bsd-2)))
(define-public gmni
- (let ((commit "d8f0870446c471a42612d6a8e853ad9b723a6d39")
- (revision "0"))
- (package
- (name "gmni")
- (version (git-version "0" revision commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://git.sr.ht/~sircmpwn/gmni")
- (commit commit)))
- (sha256
- (base32
- "1h0iqm7l0i06glf5b2872w656s1mjdiqva14zh6sl4f5yp7zmvwr"))
- (file-name (git-file-name name version))))
- (build-system gnu-build-system)
- (arguments
- `(#:tests? #f ; no check target
- #:make-flags (list (string-append "CC=" ,(cc-for-target)))))
- (inputs
- (list openssl))
- (native-inputs
- (list pkg-config scdoc))
- (home-page "https://sr.ht/~sircmpwn/gmni")
- (synopsis "Minimalist command line Gemini client")
- (description "The gmni package includes:
+ (package
+ (name "gmni")
+ (version "1.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.sr.ht/~sircmpwn/gmni")
+ (commit version)))
+ (sha256
+ (base32
+ "0bky9fd8iyr13r6gj4aynb7j9nd36xdprbgq6nh5hz6jiw04vhfw"))
+ (file-name (git-file-name name version))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:tests? #f ;no check target
+ #:make-flags #~(list #$(string-append "CC=" (cc-for-target)))))
+ (inputs
+ (list bearssl))
+ (native-inputs
+ (list pkg-config scdoc))
+ (home-page "https://sr.ht/~sircmpwn/gmni")
+ (synopsis "Minimalist command line Gemini client")
+ (description "The gmni package includes:
@itemize
@item A CLI utility (like curl): gmni
@item A line-mode browser: gmnlm
@end itemize")
- (license (list license:gpl3+
- (license:non-copyleft
- "https://curl.se/docs/copyright.html"
- "Used only for files taken from curl."))))))
+ (license (list license:gpl3+
+ (license:non-copyleft
+ "https://curl.se/docs/copyright.html"
+ "Used only for files taken from curl.")))))
(define-public bombadillo
(package
@@ -915,20 +916,19 @@ interface.")
(define-public telescope
(package
(name "telescope")
- (version "0.6.1")
+ (version "0.7.1")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/omar-polo/telescope/releases/download/"
version "/telescope-" version ".tar.gz"))
(sha256
- (base32 "1hm9gi6yz62h8yh2br85bgycr2xaf5lr7z4gl0p25g7d7qb53ixd"))))
+ (base32 "055iqld99l4jshs10mhl2ml0p74wcyyv5kxjy8izzysw9lnkjjb5"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f)) ;no tests
(native-inputs
- `(("gettext" ,gettext-minimal)
- ("pkg-config" ,pkg-config)))
+ (list gettext-minimal pkg-config))
(inputs
(list libevent libressl ncurses))
(home-page "https://git.omarpolo.com/telescope/about/")
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index fff7e48ba3..03aff6e8f2 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -19,7 +19,7 @@
;;; Copyright © 2016–2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2016 Bake Timmons <b3timmons@speedymail.org>
;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
-;;; Copyright © 2017, 2018, 2020, 2021 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2017, 2018, 2020, 2021, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2017 Kei Kebreau <kkebreau@posteo.net>
;;; Copyright © 2017 Petter <petter@mykolab.ch>
;;; Copyright © 2017, 2021 Pierre Langlois <pierre.langlois@gmx.com>
@@ -54,6 +54,7 @@
;;; Copyright © 2021 Jack Hill <jackhill@jackhill.us>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2021 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
+;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -254,14 +255,14 @@
(define-public httpd
(package
(name "httpd")
- (version "2.4.51")
+ (version "2.4.52")
(source (origin
(method url-fetch)
(uri (string-append "mirror://apache/httpd/httpd-"
version ".tar.bz2"))
(sha256
(base32
- "1x1qp10pfh33x1b56liwsjl0jamjm5lkk7j3lj87c1ygzs0ivq10"))))
+ "1jgmfbazc2n9dnl7axhahwppyq25bvbvwx0lqplq76by97fgf9q1"))))
(build-system gnu-build-system)
(native-inputs (list `(,pcre "bin"))) ;for 'pcre-config'
(inputs (list apr apr-util openssl perl)) ; needed to run bin/apxs
@@ -371,14 +372,14 @@ the same, being completely separated from the Internet.")
;; Track the ‘mainline’ branch. Upstream considers it more reliable than
;; ’stable’ and recommends that “in general you deploy the NGINX mainline
;; branch at all times” (https://www.nginx.com/blog/nginx-1-6-1-7-released/)
- (version "1.21.4")
+ (version "1.21.5")
(source (origin
(method url-fetch)
(uri (string-append "https://nginx.org/download/nginx-"
version ".tar.gz"))
(sha256
(base32
- "1ziv3xargxhxycd5hp6r3r5mww54nvvydiywcpsamg3i9r3jzxyi"))))
+ "1fygvl19cch100d15k74666jcbc7xpz7v5m7ygqac6556gskn3xj"))))
(build-system gnu-build-system)
(inputs (list libxml2 libxslt openssl pcre zlib))
(arguments
@@ -469,9 +470,9 @@ and as a proxy to reduce the load on back-end HTTP or mail servers.")
(define-public nginx-documentation
;; This documentation should be relevant for the current nginx package.
- (let ((version "1.21.4")
- (revision 2791)
- (changeset "9385526a9b2d"))
+ (let ((version "1.21.5")
+ (revision 2816)
+ (changeset "ae1d713a06e2"))
(package
(name "nginx-documentation")
(version (simple-format #f "~A-~A-~A" version revision changeset))
@@ -483,7 +484,7 @@ and as a proxy to reduce the load on back-end HTTP or mail servers.")
(file-name (string-append name "-" version))
(sha256
(base32
- "07v5vpwg2k4y1asbygmrvsk61l1vbdb2pyllc5k4hcjykg9avfza"))))
+ "03j85wj6qb32q5xhq9nvcjzarq98802gaq6n3f7k85aqj731bml0"))))
(build-system gnu-build-system)
(arguments
'(#:tests? #f ; no test suite
@@ -1537,7 +1538,15 @@ high performance.")
(build-system gnu-build-system)
(arguments
;; Parallel builds don't reliably succeed.
- `(#:parallel-build? #f))
+ `(#:parallel-build? #f
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-sphinx-error
+ ;; XXX: Remove in next version: fix applied upstream. See
+ ;; <https://github.com/tatsuhiro-t/wslay/commit/43fda1207ea5977043630500e0c8e77b98b35320>.
+ (lambda _
+ (substitute* "doc/sphinx/conf.py.in"
+ (("add_stylesheet") "add_css_file")))))))
(native-inputs
(list autoconf
automake
@@ -1630,7 +1639,7 @@ used to validate and fix HTML data.")
(define-public esbuild
(package
(name "esbuild")
- (version "0.12.9")
+ (version "0.14.0")
(source
(origin
(method git-fetch)
@@ -1639,7 +1648,7 @@ used to validate and fix HTML data.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "10bz1xq2frdja7mbx04m009svg8b5rj7vfq3sc2gc88n31v21b1j"))
+ (base32 "09r1xy0kk6c9cpz6q0mxr4why373pwxbm439z2ihq3k1d5kk7x4w"))
(modules '((guix build utils)))
(snippet
'(begin
@@ -4613,20 +4622,24 @@ their web site.")
(method url-fetch)
(uri (pypi-uri "feedparser" version ".tar.gz"))
(sha256
- (base32
- "0qcnkyjjfj5gg5rhd1j4zzlqx5h34bma18zwgj68q95b0l543q2w"))))
+ (base32 "0qcnkyjjfj5gg5rhd1j4zzlqx5h34bma18zwgj68q95b0l543q2w"))))
(build-system python-build-system)
(propagated-inputs
(list python-sgmllib3k))
(arguments
- '(#:tests? #f))
- (home-page
- "https://github.com/kurtmckee/feedparser")
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "tests/runtests.py")))))))
+ (home-page "https://github.com/kurtmckee/feedparser")
(synopsis "Parse feeds in Python")
(description
"Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
CDF, Atom 0.3, and Atom 1.0 feeds.")
- (license (list license:bsd-2 ; source code
+ (license (list license:bsd-2 ; source code
license:freebsd-doc)))) ; documentation
(define-public python2-feedparser
@@ -4654,8 +4667,8 @@ CDF, Atom 0.3, and Atom 1.0 feeds.")
license:freebsd-doc)))) ; documentation
(define-public guix-data-service
- (let ((commit "df2a0a73f1f35ea53ba6c07a6ad4c5347ba12b8f")
- (revision "27"))
+ (let ((commit "f1d8d76c4d685bc5e938f495c762984fe2564371")
+ (revision "28"))
(package
(name "guix-data-service")
(version (string-append "0.0.1-" revision "." (string-take commit 7)))
@@ -4667,7 +4680,7 @@ CDF, Atom 0.3, and Atom 1.0 feeds.")
(file-name (git-file-name name version))
(sha256
(base32
- "1ss1prr98zdjkm97w24rd04lfnnvcw6xs0gwxqgd40briqisaa5g"))))
+ "16ys402pvrzxm8kvhss4fhgfzbcxh70jndi50cpgz80qb510x3iq"))))
(build-system gnu-build-system)
(arguments
'(#:modules ((guix build utils)
@@ -4737,12 +4750,12 @@ CDF, Atom 0.3, and Atom 1.0 feeds.")
postgresql-13
sqitch))
(native-inputs
- `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
- ("autoconf" ,autoconf)
- ("automake" ,automake)
- ("emacs-minimal" ,emacs-minimal)
- ("emacs-htmlize" ,emacs-htmlize)
- ("pkg-config" ,pkg-config)))
+ (list (car (assoc-ref (package-native-inputs guix) "guile"))
+ autoconf
+ automake
+ emacs-minimal
+ emacs-htmlize
+ pkg-config))
(synopsis "Store and provide data about GNU Guix")
(description
"The Guix Data Service stores data about GNU Guix, and provides this
@@ -5785,46 +5798,41 @@ tools like SSH (Secure Shell) to reach the outside world.")
(define-public stunnel
(package
(name "stunnel")
- (version "5.60")
+ (version "5.61")
(source
(origin
(method url-fetch)
(uri (string-append "https://www.stunnel.org/downloads/stunnel-"
version ".tar.gz"))
(sha256
- (base32 "0zbqiydyz9dvfg3axh18a42v6j3xvnwjbd03kgm1z1i12mdpcpf4"))))
+ (base32 "0yjx07r5wc987s4z0wm37381fa3az2s4mrhyjxypx3rd92k0rsli"))))
(build-system gnu-build-system)
+ (arguments
+ (list #:configure-flags
+ #~(list (string-append "--with-ssl="
+ #$(this-package-input "openssl")))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-output-directories
+ (lambda _
+ ;; Some (not all) Makefiles have a hard-coded incorrect docdir.
+ (substitute* (list "Makefile.in"
+ "doc/Makefile.in"
+ "tools/Makefile.in")
+ (("/doc/stunnel")
+ (string-append "/doc/" #$name "-" #$version)))))
+ (add-after 'install 'prune-documentation
+ (lambda _
+ (let* ((doc (string-append #$output "/share/doc/"
+ #$name "-" #$version)))
+ (for-each delete-file (find-files doc "^INSTALL"))))))))
(native-inputs
;; For tests.
- `(("iproute" ,iproute)
- ("netcat" ,netcat)
- ("procps" ,procps)))
+ (list iproute
+ netcat
+ procps
+ python))
(inputs (list openssl))
- (arguments
- `(#:configure-flags
- (list (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")))
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-output-directories
- (lambda _
- ;; Some (not all) Makefiles have a hard-coded incorrect docdir.
- (substitute* (list "Makefile.in"
- "doc/Makefile.in"
- "tools/Makefile.in")
- (("/doc/stunnel")
- (string-append "/doc/" ,name "-" ,version)))))
- (add-before 'check 'patch-tests
- (lambda _
- (substitute* "tests/make_test"
- (("/bin/sh ")
- (string-append (which "sh") " ")))
- ;; This test requires networking.
- (delete-file "tests/recipes/055_socket_closed")))
- (add-after 'install 'prune-documentation
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (doc (string-append out "/share/doc/" ,name "-" ,version)))
- (for-each delete-file (find-files doc "^INSTALL"))))))))
(home-page "https://www.stunnel.org")
(synopsis "TLS proxy for clients or servers")
(description "Stunnel is a proxy designed to add TLS encryption
@@ -5851,17 +5859,16 @@ deployments.")
(string-append "CC=" ,(cc-for-target))
;; Use absolute path of GCC so it's found at runtime.
(string-append "PTHREAD_CC="
- (assoc-ref %build-inputs "gcc")
- "/bin/gcc")
+ (search-input-file %build-inputs
+ "/bin/gcc"))
"--localstatedir=/var")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'use-absolute-file-names
- (lambda* (#:key inputs #:allow-other-keys)
- (let* ((bash (assoc-ref inputs "bash-minimal"))
- (sh (string-append bash "/bin/sh"))
- (coreutils (assoc-ref inputs "coreutils"))
- (rm (string-append coreutils "/bin/rm")))
+ (lambda* (#:key native-inputs inputs #:allow-other-keys)
+ (let* ((inpts (or native-inputs inputs))
+ (sh (search-input-file inpts "/bin/sh"))
+ (rm (search-input-file inpts "/bin/rm")))
(substitute* '("bin/varnishtest/vtc_varnish.c"
"bin/varnishtest/vtc_process.c"
"bin/varnishtest/vtc_haproxy.c"
@@ -5891,9 +5898,7 @@ deployments.")
;; Make sure 'crti.o' et.al is found.
`("LIBRARY_PATH" ":" prefix (,LIBRARY_PATH)))))))))
(native-inputs
- `(("pkg-config" ,pkg-config)
- ("python-sphinx" ,python-sphinx)
- ("rst2man" ,python-docutils)))
+ (list pkg-config python-sphinx python-docutils))
(inputs
(list bash-minimal
coreutils
@@ -6482,6 +6487,92 @@ Rust with GTK. It currently supports the Gemini, Gopher and Finger
protocols.")
(license license:expat)))
+(define-public clearsilver
+ (package
+ (name "clearsilver")
+ (version "0.11.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/blong42/clearsilver/")
+ (commit "fbe4926ba9a756163fd1539ff6eee3522cf1f5d8")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "02ad43gmqwy7wmh71mh5pk6gl1lax76sjnf42sknj0ijdga170kl"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:tests? #false ;there is not test target and tests are run during build
+ #:configure-flags
+ '(list "--disable-java" "--disable-python")
+ #:phases
+ '(modify-phases %standard-phases
+ (add-after 'unpack 'prepare-streamhtmlparser
+ (lambda* (#:key inputs #:allow-other-keys)
+ (copy-recursively (assoc-ref inputs "streamhtmlparser")
+ (string-append (getcwd) "/streamhtmlparser"))
+ (for-each make-file-writable
+ (find-files "streamhtmlparser" "."
+ #:directories? #t))))
+ (add-after 'unpack 'pre-bootstrap
+ (lambda _
+ ;; We don't need the Java stuff
+ (substitute* "configure.in"
+ (("AC_JNI_INCLUDE_DIR") ""))
+
+ ;; This script will call /bin/sh, so it's easier to just
+ ;; bootstrap manually.
+ (delete-file "autogen.sh")
+ (substitute* "rules.mk.in"
+ (("@PTHREAD_LIBS@") "-lpthread")
+ (("@PTHREAD_CFLAGS@") "")
+ (("@PTHREAD_CC@") "gcc"))
+
+ ;; The GNU variadic macros actually work, whereas the C99
+ ;; implementation fails to build.
+ (substitute* "util/neo_misc.h"
+ (("#define USE_C99_VARARG_MACROS") "#define USE_GNUC_VARARG_MACROS"))
+
+ (setenv "CFLAGS" "-fPIC")
+
+ ;; This directory is created some time during the build, but the
+ ;; early libtool processes assume the directory exists. When
+ ;; they are run first they copy the libraries themselves to the
+ ;; file "libs" instead of moving them into the directory.
+ (mkdir-p "libs")))
+ (add-after 'build 'build-documentation
+ (lambda _ (invoke "make" "man")))
+ (add-after 'install 'install-streamhtmlparser
+ (lambda* (#:key make-flags parallel-build? #:allow-other-keys)
+ (with-directory-excursion "streamhtmlparser"
+ (apply invoke "make" "-j" (if parallel-build?
+ (number->string (parallel-job-count))
+ "1")
+ "install" make-flags)))))))
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("libtool" ,libtool)
+ ("python" ,python-2)
+ ("streamhtmlparser"
+ ,(let ((commit "551109ac02a31957a0e776416774c7b515b4b7c7"))
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/google/streamhtmlparser/")
+ (commit commit)))
+ (file-name (git-file-name "streamhtmlparser" commit))
+ (sha256
+ (base32
+ "0bmrdakk930q3m8fmq0xcy7n7cdvlk1xma4z9204919hvb1gk9md")))))))
+ (home-page "https://github.com/blong42/clearsilver")
+ (synopsis "CGI kit and HTML templating system")
+ (description
+ "This package includes Clearsilver, the CGI kit and HTML templating
+system.")
+ (license license:bsd-3)))
+
(define-public python-py-ubjson
(package
(name "python-py-ubjson")
@@ -7591,15 +7682,18 @@ HTTrack is fully configurable, and has an integrated help system.")
(origin
(method url-fetch)
(uri (pypi-uri "buku" version))
- (file-name (git-file-name name version))
(sha256
(base32 "1n4d1mkjyvzdxbyq067p1p9skb3iwx0msd86nzr224dlqrfh9675"))))
(build-system python-build-system)
(arguments
- `(#:tests? #f)) ;FIXME: many tests need network access
+ `(#:tests? #f ; FIXME: many tests need network access
+ #:phases
+ (modify-phases %standard-phases
+ ;; XXX: missing inputs, e.g. python-flask-admin
+ (delete 'sanity-check))))
(inputs
(list python-beautifulsoup4 python-certifi python-cryptography
- python-html5lib python-urllib3))
+ python-flask python-html5lib python-urllib3))
(home-page "https://github.com/jarun/buku")
(synopsis "Bookmark manager")
(description
diff --git a/gnu/packages/webkit.scm b/gnu/packages/webkit.scm
index 65ad122f9c..6a101331bd 100644
--- a/gnu/packages/webkit.scm
+++ b/gnu/packages/webkit.scm
@@ -227,14 +227,14 @@ acceleration in mind, leveraging common 3D graphics APIs for best performance.")
(define-public webkitgtk
(package
(name "webkitgtk")
- (version "2.34.1")
+ (version "2.34.4")
(source (origin
(method url-fetch)
(uri (string-append "https://www.webkitgtk.org/releases/"
"webkitgtk-" version ".tar.xz"))
(sha256
(base32
- "1vix0w24m7mq82rzxrk8xvcrkli44gimzs282xs29q2xf0b16g24"))
+ "01m4mfqxqkcx72kps46hpkir92x105ggfp43j68nk9wv34cm0pwp"))
(patches (search-patches "webkitgtk-share-store.patch"
"webkitgtk-bind-all-fonts.patch"))))
(build-system cmake-build-system)
@@ -251,15 +251,7 @@ acceleration in mind, leveraging common 3D graphics APIs for best performance.")
"-DUSE_SYSTEMD=OFF"
(string-append ; uses lib64 by default
"-DLIB_INSTALL_DIR="
- (assoc-ref %outputs "out") "/lib")
- ;; XXX Adding GStreamer GL support would apparently
- ;; require adding gst-plugins-bad to the inputs,
- ;; which might entail a security risk as a result of
- ;; the plugins of dubious code quality that are
- ;; included. More investigation is needed. For
- ;; now, we explicitly disable it to prevent an error
- ;; at configuration time.
- "-DUSE_GSTREAMER_GL=OFF")
+ (assoc-ref %outputs "out") "/lib"))
#:make-flags
;; Never build with unsupported -j1: https://issues.guix.gnu.org/47964#5
(list "-j" (number->string (max 2 (parallel-job-count))))
@@ -350,7 +342,10 @@ acceleration in mind, leveraging common 3D graphics APIs for best performance.")
(description
"WebKitGTK+ is a full-featured port of the WebKit rendering engine,
suitable for projects requiring any kind of web integration, from hybrid
-HTML/CSS applications to full-fledged web browsers.")
+HTML/CSS applications to full-fledged web browsers. WebKitGTK+ video playing
+capabilities can be extended through the use of GStreamer plugins (not
+propagated by default) such as @code{gst-plugins-good} and
+@code{gst-plugins-bad}.")
;; WebKit's JavaScriptCore and WebCore components are available under
;; the GNU LGPL, while the rest is available under a BSD-style license.
(license (list license:lgpl2.0
diff --git a/gnu/packages/wget.scm b/gnu/packages/wget.scm
index d794bd7bad..472b67a416 100644
--- a/gnu/packages/wget.scm
+++ b/gnu/packages/wget.scm
@@ -5,6 +5,7 @@
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
+;;; Copyright © 2021 Michael Rohleder <mike@rohleder.de>
;;;
;;; This file is part of GNU Guix.
;;;
diff --git a/gnu/packages/wine.scm b/gnu/packages/wine.scm
index 15cad14219..7ca2b9d0c7 100644
--- a/gnu/packages/wine.scm
+++ b/gnu/packages/wine.scm
@@ -4,7 +4,7 @@
;;; Copyright © 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017, 2018, 2019 Rutger Helling <rhelling@mykolab.com>
;;; Copyright © 2017, 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
-;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz>
;;;
;;; This file is part of GNU Guix.
@@ -74,7 +74,7 @@
(define-public wine
(package
(name "wine")
- (version "6.16")
+ (version "7.0")
(source
(origin
(method url-fetch)
@@ -86,7 +86,7 @@
(string-append "https://dl.winehq.org/wine/source/" dir
"wine-" version ".tar.xz")))
(sha256
- (base32 "1s7sz1rimax4kxij1ngkwnx4hcljwjq3q5gksz22k8cq1l2r4l39"))))
+ (base32 "0sq8vsr8jf1a8fanh76rq7vyxm8h0cc4ckirjy7v2p08biyy4hsv"))))
(build-system gnu-build-system)
(native-inputs
`(("bison" ,bison)
@@ -95,28 +95,25 @@
("perl" ,perl)
("pkg-config" ,pkg-config)))
(inputs
+ ;; Some libraries like libjpeg are now compiled into native PE objects.
+ ;; The ELF objects provided by Guix packages are of no use. Whilst this
+ ;; is technically bundling, it's quite defensible. It might be possible
+ ;; to build some of these from Guix PACKAGE-SOURCE but attempts were not
+ ;; fruitful so far. See <https://www.winehq.org/announce/7.0>.
`(("alsa-lib" ,alsa-lib)
("dbus" ,dbus)
("cups" ,cups)
("eudev" ,eudev)
- ("faudio" ,faudio)
("fontconfig" ,fontconfig)
("freetype" ,freetype)
("gnutls" ,gnutls)
("gst-plugins-base" ,gst-plugins-base)
- ("lcms" ,lcms)
- ("libxml2" ,libxml2)
- ("libxslt" ,libxslt)
("libgphoto2" ,libgphoto2)
- ("libmpg123" ,mpg123)
("libldap" ,openldap)
("libnetapi" ,samba)
("libsane" ,sane-backends)
("libpcap" ,libpcap)
- ("libpng" ,libpng)
- ("libjpeg" ,libjpeg-turbo)
("libusb" ,libusb)
- ("libtiff" ,libtiff)
("libICE" ,libice)
("libX11" ,libx11)
("libXi" ,libxi)
@@ -179,10 +176,15 @@
`("VK_ICD_FILENAMES" ":" =
(,(string-append icd
"/radeon_icd.i686.json" ":"
- icd "/intel_icd.i686.json"))))
- #t)))))
+ icd "/intel_icd.i686.json")))))))))
(_
`()))
+ (add-after 'unpack 'patch-SHELL
+ (lambda _
+ (substitute* "configure"
+ ;; configure first respects CONFIG_SHELL, clobbers SHELL later.
+ (("/bin/sh")
+ (which "bash")))))
(add-after 'configure 'patch-dlopen-paths
;; Hardcode dlopened sonames to absolute paths.
(lambda _
@@ -192,17 +194,13 @@
(search-path library-path soname))))
(substitute* "include/config.h"
(("(#define SONAME_.* )\"(.*)\"" _ defso soname)
- (format #f "~a\"~a\"" defso (find-so soname))))
- #t)))
- (add-after 'patch-generated-file-shebangs 'patch-makefile
+ (format #f "~a\"~a\"" defso (find-so soname)))))))
+ (add-after 'patch-generated-file-shebangs 'patch-makedep
(lambda* (#:key outputs #:allow-other-keys)
- (invoke "make" "Makefile") ; Makefile is first regenerated
- (substitute* "Makefile"
- (("-lntdll" id)
- (string-append id
- " -Wl,-rpath=" (assoc-ref outputs "out")
- "/lib/wine32/wine/$(ARCH)-unix")))
- #t)))))
+ (substitute* "tools/makedep.c"
+ (("output_filenames\\( unix_libs \\);" all)
+ (string-append all
+ "output ( \" -Wl,-rpath=%s \", so_dir );"))))))))
(home-page "https://www.winehq.org/")
(synopsis "Implementation of the Windows API (32-bit only)")
(description
@@ -262,15 +260,18 @@ integrate Windows applications into your desktop.")
#t)))))
(_
`()))
- (add-after 'patch-generated-file-shebangs 'patch-makefile
+ (add-after 'unpack 'patch-SHELL
+ (lambda _
+ (substitute* "configure"
+ ;; configure first respects CONFIG_SHELL, clobbers SHELL later.
+ (("/bin/sh")
+ (which "bash")))))
+ (add-after 'patch-generated-file-shebangs 'patch-makedep
(lambda* (#:key outputs #:allow-other-keys)
- (invoke "make" "Makefile") ; Makefile is first regenerated
- (substitute* "Makefile"
- (("-lntdll" id)
- (string-append id
- " -Wl,-rpath=" (assoc-ref outputs "out")
- "/lib/wine64/wine/$(ARCH)-unix")))
- #t))
+ (substitute* "tools/makedep.c"
+ (("output_filenames\\( unix_libs \\);" all)
+ (string-append all
+ "output ( \" -Wl,-rpath=%s \", so_dir );")))))
(add-after 'install 'copy-wine32-binaries
(lambda* (#:key outputs #:allow-other-keys)
(let* ((wine32 (assoc-ref %build-inputs "wine"))
@@ -281,23 +282,20 @@ integrate Windows applications into your desktop.")
;; Copy the real 32-bit wine-preloader instead of the wrapped
;; version.
(copy-file (string-append wine32 "/bin/.wine-preloader-real")
- (string-append out "/bin/wine-preloader"))
- #t)))
+ (string-append out "/bin/wine-preloader")))))
(add-after 'install 'copy-wine32-libraries
(lambda* (#:key outputs #:allow-other-keys)
(let* ((wine32 (assoc-ref %build-inputs "wine"))
(out (assoc-ref %outputs "out")))
(copy-recursively (string-append wine32 "/lib/wine32")
- (string-append out "/lib/wine32"))
- #t)))
+ (string-append out "/lib/wine32")))))
(add-after 'compress-documentation 'copy-wine32-manpage
(lambda* (#:key outputs #:allow-other-keys)
(let* ((wine32 (assoc-ref %build-inputs "wine"))
(out (assoc-ref %outputs "out")))
;; Copy the missing man file for the wine binary from wine.
(copy-file (string-append wine32 "/share/man/man1/wine.1.gz")
- (string-append out "/share/man/man1/wine.1.gz"))
- #t)))
+ (string-append out "/share/man/man1/wine.1.gz")))))
(add-after 'configure 'patch-dlopen-paths
;; Hardcode dlopened sonames to absolute paths.
(lambda _
@@ -307,8 +305,7 @@ integrate Windows applications into your desktop.")
(search-path library-path soname))))
(substitute* "include/config.h"
(("(#define SONAME_.* )\"(.*)\"" _ defso soname)
- (format #f "~a\"~a\"" defso (find-so soname))))
- #t))))
+ (format #f "~a\"~a\"" defso (find-so soname))))))))
#:configure-flags
(list "--enable-win64"
(string-append "LDFLAGS=-Wl,-rpath=" %output "/lib/wine64"))
@@ -331,6 +328,12 @@ integrate Windows applications into your desktop.")
`(#:validate-runpath? #f
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'patch-SHELL
+ (lambda _
+ (substitute* "configure"
+ ;; configure first respects CONFIG_SHELL, clobbers SHELL later.
+ (("/bin/sh")
+ (which "bash")))))
(add-after 'configure 'patch-dlopen-paths
;; Hardcode dlopened sonames to absolute paths.
(lambda _
@@ -340,8 +343,7 @@ integrate Windows applications into your desktop.")
(search-path library-path soname))))
(substitute* "include/config.h"
(("(#define SONAME_.* )\"(.*)\"" _ defso soname)
- (format #f "~a\"~a\"" defso (find-so soname))))
- #t))))
+ (format #f "~a\"~a\"" defso (find-so soname))))))))
#:configure-flags
(list "--without-freetype"
"--without-x")
diff --git a/gnu/packages/wireservice.scm b/gnu/packages/wireservice.scm
index f0dcce717c..d315bc2d74 100644
--- a/gnu/packages/wireservice.scm
+++ b/gnu/packages/wireservice.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2019 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org>
+;;; Copyright © 2022 Guillaume Le Vaillant <glv@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -174,7 +175,7 @@ for dbf files support to all @code{agate.Table} instances.")))
(define-public python-agate-excel
(wireservice-package
(name "python-agate-excel")
- (version "0.2.3")
+ (version "0.2.5")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -183,15 +184,16 @@ for dbf files support to all @code{agate.Table} instances.")))
(file-name (git-file-name name version))
(sha256
(base32
- "1k5lv21k19s7kgbj5srd1xgrkqvxqqs49qwj33zncs9l7851afy7"))))
+ "1y3cw57000inwczx50n16kxkr3xi2l241iml1qcqp29a0ba5c519"))))
(native-inputs
- `(("python-nose" ,python-nose)
- ("python-sphinx" ,python-sphinx)
- ("python-sphinx-rtd-theme" ,python-sphinx-rtd-theme)))
+ (list python-nose
+ python-sphinx
+ python-sphinx-rtd-theme))
(propagated-inputs
- `(("python-agate" ,python-agate)
- ("python-openpyxl" ,python-openpyxl)
- ("python-xlrd" ,python-xlrd)))
+ (list python-agate
+ python-olefile
+ python-openpyxl
+ python-xlrd))
(home-page "https://agate-excel.rtfd.org")
(synopsis "Add read support for Excel files (xls and xlsx) to agate")
(description "@code{agateexcel} uses a monkey patching pattern to add read
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index c6881154fe..9549b073cf 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -48,6 +48,7 @@
;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2021 jgart <jgart@dismail.de>
;;; Copyright © 2021 Disseminate Dissent <disseminatedissent@protonmail.com>
+;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -638,32 +639,32 @@ prompt.")
(define-public i3lock-color
(package
(name "i3lock-color")
- (version "2.12.c")
+ (version "2.13.c.4")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/PandorasFox/i3lock-color")
+ (url "https://github.com/Raymo111/i3lock-color")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "08fhnchf187b73h52xgzb86g6byzxz085zs9galsvl687g5zxk34"))))
+ (base32 "1lnyh8spbf1ar4xan5v7q8i2i51aq1i60kzbfkn9w3wa0jzf9f3d"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f)) ; no tests included
(inputs
- `(("cairo" ,cairo)
- ("libev" ,libev)
- ("libjpeg" ,libjpeg-turbo)
- ("libxcb" ,libxcb)
- ("libxkbcommon" ,libxkbcommon)
- ("linux-pam" ,linux-pam)
- ("xcb-util" ,xcb-util)
- ("xcb-util-image" ,xcb-util-image)
- ("xcb-util-xrm" ,xcb-util-xrm)))
+ (list cairo
+ libev
+ libjpeg-turbo
+ libxcb
+ libxkbcommon
+ linux-pam
+ xcb-util
+ xcb-util-image
+ xcb-util-xrm))
(native-inputs
(list autoconf automake pkg-config))
- (home-page "https://github.com/PandorasFox/i3lock-color")
+ (home-page "https://github.com/Raymo111/i3lock-color")
(synopsis "Screen locker with color configuration support")
(description
"i3lock-color is a simpler X11 screen locker derived from i3lock.
@@ -736,10 +737,10 @@ This screen locker can be used with any window manager or
desktop environment.")
(license license:expat)))
-(define-public xmonad
+(define-public xmonad-next
(package
- (name "xmonad")
- (version "0.15")
+ (name "xmonad-next")
+ (version "0.17.0")
(synopsis "Tiling window manager")
(source (origin
(method url-fetch)
@@ -747,21 +748,13 @@ desktop environment.")
"xmonad-" version ".tar.gz"))
(sha256
(base32
- "0a7rh21k9y6g8fwkggxdxjns2grvvsd5hi2ls4klmqz5xvk4hyaa"))
- (patches (search-patches "xmonad-dynamic-linking.patch"))))
+ "04qspdz9w6xpw1npcmx2zx0595wc68q985pv4i0hvp32zillvdqy"))
+ (patches (search-patches "xmonad-next-dynamic-linking.patch"))))
(build-system haskell-build-system)
- (inputs
- (list ghc-extensible-exceptions
- ghc-data-default
- ghc-quickcheck
- ghc-semigroups
- ghc-setlocale
- ghc-utf8-string
- ghc-x11))
+ (inputs (list ghc-data-default-class ghc-setlocale ghc-x11))
+ (native-inputs (list ghc-quickcheck ghc-quickcheck-classes))
(arguments
- `(#:cabal-revision
- ("1" "0yqh96qqphllr0zyz5j93cij5w2qvf39xxnrb52pz0qz3pywz9wd")
- #:phases
+ `(#:phases
(modify-phases %standard-phases
(add-after
'install 'install-xsession
@@ -789,17 +782,44 @@ used on each workspace. Xinerama is fully supported, allowing windows to be
tiled on several screens.")
(license license:bsd-3)))
+(define-public xmonad
+ (package
+ (inherit xmonad-next)
+ (name "xmonad")
+ (version "0.15")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://hackage/package/xmonad/"
+ "xmonad-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0a7rh21k9y6g8fwkggxdxjns2grvvsd5hi2ls4klmqz5xvk4hyaa"))
+ (patches (search-patches "xmonad-dynamic-linking.patch"))))
+ (inputs
+ (list ghc-extensible-exceptions
+ ghc-data-default
+ ghc-quickcheck
+ ghc-semigroups
+ ghc-setlocale
+ ghc-utf8-string
+ ghc-x11))
+ (native-inputs '())
+ (arguments
+ `(#:cabal-revision
+ ("1" "0yqh96qqphllr0zyz5j93cij5w2qvf39xxnrb52pz0qz3pywz9wd")
+ ,@(package-arguments xmonad-next)))))
+
(define-public xmobar
(package
(name "xmobar")
- (version "0.39")
+ (version "0.40")
(source (origin
(method url-fetch)
(uri (string-append "https://hackage.haskell.org/package/xmobar/"
"xmobar-" version ".tar.gz"))
(sha256
(base32
- "1k1n3ff0ikdmfq0mi8r2vpqg1iq6hsw1drvxps6k98rvvn87pws6"))))
+ "1mrdiblm8vilkm1w23pz6xbi16zh1b1lvql26czjzw5k79vd67sf"))))
(build-system haskell-build-system)
(native-inputs
(list ghc-hspec hspec-discover))
@@ -862,8 +882,30 @@ Unlike dmenu, it mangles the input before it presents its choices. In
particular, it displays commonly-chosen options before uncommon ones.")
(license license:bsd-3)))
+(define-public ghc-xmonad-contrib-next
+ (package
+ (name "ghc-xmonad-contrib-next")
+ (version "0.17.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://hackage/package/xmonad-contrib/"
+ "xmonad-contrib-" version ".tar.gz"))
+ (sha256
+ (base32 "11g1cyfgfvcmz35qhgi9wzxrk3br8m8b7qy3jvph4nnf6aj13wvy"))))
+ (build-system haskell-build-system)
+ (propagated-inputs (list ghc-random ghc-x11 ghc-utf8-string ghc-x11-xft xmonad-next))
+ (native-inputs (list ghc-quickcheck ghc-hspec))
+ (home-page "https://xmonad.org")
+ (synopsis "Third party extensions for xmonad")
+ (description
+ "Third party tiling algorithms, configurations, and scripts to Xmonad, a
+tiling window manager for X.")
+ (license license:bsd-3)))
+
(define-public ghc-xmonad-contrib
(package
+ (inherit ghc-xmonad-contrib-next)
(name "ghc-xmonad-contrib")
(version "0.16")
(source
@@ -873,10 +915,11 @@ particular, it displays commonly-chosen options before uncommon ones.")
"xmonad-contrib-" version ".tar.gz"))
(sha256
(base32 "1pddgkvnbww28wykncc7j0yb0lv15bk7xnnhdcbrwkxzw66w6wmd"))))
- (build-system haskell-build-system)
(arguments
`(#:cabal-revision
- ("1" "0vimkby2gq6sgzxzbvz67caba609xqlv2ii2gi8a1cjrnn6ib011")))
+ ("1" "0vimkby2gq6sgzxzbvz67caba609xqlv2ii2gi8a1cjrnn6ib011")
+ ,@(package-arguments ghc-xmonad-contrib-next)))
+ (native-inputs '())
(propagated-inputs
(list ghc-old-time
ghc-random
@@ -885,13 +928,7 @@ particular, it displays commonly-chosen options before uncommon ones.")
ghc-semigroups
ghc-x11
ghc-x11-xft
- xmonad))
- (home-page "https://xmonad.org")
- (synopsis "Third party extensions for xmonad")
- (description
- "Third party tiling algorithms, configurations, and scripts to Xmonad, a
-tiling window manager for X.")
- (license license:bsd-3)))
+ xmonad))))
(define-public evilwm
(package
@@ -1166,14 +1203,14 @@ dynamic and extensible using the Lua programming language.")
(define-public menumaker
(package
(name "menumaker")
- (version "0.99.13")
+ (version "0.99.14")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/menumaker/"
"menumaker-" version ".tar.gz"))
(sha256
- (base32 "0hbn8bid43725njqcfklvan3n4hwpfx8nq8xkkdwkmpd37kfq594"))))
+ (base32 "0nnnc1awvhq5pplvclap3ha61g9209bca6zqgpsm1f53fq75vs8i"))))
(build-system gnu-build-system)
(inputs
(list python))
@@ -1586,7 +1623,7 @@ modules for building a Wayland compositor.")
(define-public swayidle
(package
(name "swayidle")
- (version "1.6")
+ (version "1.7")
(source
(origin
(method git-fetch)
@@ -1595,7 +1632,7 @@ modules for building a Wayland compositor.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1nd3v8r9549lykdwh4krldfl59lzaspmmai5k1icy7dvi6kkr18r"))))
+ (base32 "0ziya8d5pvvxg16jhy4i04pvq11bdvj68gz5q654ar4dldil17nn"))))
(build-system meson-build-system)
(arguments
`(#:configure-flags '("-Dlogind-provider=elogind")))
@@ -1720,20 +1757,20 @@ Wlroots based compositors.")
(define-public wlr-randr
(package
(name "wlr-randr")
- (version "0.1.0")
+ (version "0.2.0")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/emersion/wlr-randr")
+ (url "https://git.sr.ht/~emersion/wlr-randr")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "10c8zzp78s5bw34vvjhilipa28bsdx3jbyhnxgp8f8kawh3cvgsc"))))
+ (base32 "0d44r4schknfc3g09y0kjbhl62zkynv6hi1z4zqc9ic5fhav3r15"))))
(build-system meson-build-system)
(inputs (list wayland))
(native-inputs (list pkg-config))
- (home-page "https://github.com/emersion/wlr-randr")
+ (home-page "https://sr.ht/~emersion/wlr-randr")
(synopsis "Utility to manage Wayland compositor outputs")
(description "wlr-randr is a utility to manage outputs of a Wayland compositor.")
(license license:expat))) ; MIT license
@@ -1741,7 +1778,7 @@ Wlroots based compositors.")
(define-public mako
(package
(name "mako")
- (version "1.4.1")
+ (version "1.6")
(source
(origin
(method git-fetch)
@@ -1750,7 +1787,7 @@ Wlroots based compositors.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0hwvibpnrximb628w9dsfjpi30b5jy7nfkm4d94z5vhp78p43vxh"))))
+ (base32 "0vbx2r01rq3r9zc6kflah44ms1fzf4z857zmq3qxnfsyjdkz1hs5"))))
(build-system meson-build-system)
(inputs (list cairo elogind gdk-pixbuf pango wayland))
(native-inputs (list pkg-config scdoc wayland-protocols))
@@ -2602,7 +2639,7 @@ program and unhides it after quitting.")
(synopsis "Minimal GTK based system tray")
(description
"@command{trayer} is small program designed to provide systray
-functionality present in GNOME/KDE desktop enviroments for window managers
+functionality present in GNOME/KDE desktop environments for window managers
which do not support it.")
(license license:expat)))
diff --git a/gnu/packages/wxwidgets.scm b/gnu/packages/wxwidgets.scm
index 17765327bc..41ea99feed 100644
--- a/gnu/packages/wxwidgets.scm
+++ b/gnu/packages/wxwidgets.scm
@@ -26,6 +26,7 @@
(define-module (gnu packages wxwidgets)
#:use-module (guix packages)
+ #:use-module (guix gexp)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix l:)
@@ -33,6 +34,7 @@
#:use-module (guix build-system python)
#:use-module (guix utils)
#:use-module (gnu packages)
+ #:use-module (gnu packages check)
#:use-module (gnu packages compression)
#:use-module (gnu packages databases)
#:use-module (gnu packages freedesktop)
@@ -162,7 +164,7 @@ and many other languages.")
;; This can be removed when wxWidgets is updated to the next stable version.
(define-public wxwidgets-3.1
(package (inherit wxwidgets)
- (version "3.1.0")
+ (version "3.1.5")
(source
(origin
(method git-fetch)
@@ -172,13 +174,32 @@ and many other languages.")
(file-name (git-file-name "wxwidgets" version))
(sha256
(base32
- "14kl1rsngm70v3mbyv1mal15iz2b18k97avjx8jn7s81znha1c7f"))))
+ "0j998nzqmycafignclxmahgqm5kgs1fiqbsiyvzm7bnpnafi333y"))))
(inputs (modify-inputs (package-inputs wxwidgets)
- (prepend gstreamer gst-plugins-base)))
+ (prepend catch-framework gstreamer gst-plugins-base)))
(arguments
(substitute-keyword-arguments (package-arguments wxwidgets)
((#:configure-flags flags)
- `(cons "--enable-mediactrl" ,flags))))))
+ '(list "--with-regex" "--with-libmspack" "--with-sdl"
+ "--enable-mediactrl" "--enable-webviewwebkit"))
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (add-after 'unpack 'add-catch
+ (lambda* (#:key inputs #:allow-other-keys)
+ (install-file
+ (search-input-file inputs "include/catch.hpp")
+ "3rdparty/catch/include/")))
+ (replace 'configure
+ (lambda* (#:key configure-flags inputs native-inputs outputs
+ #:allow-other-keys)
+ (let ((sh (search-input-file (or native-inputs inputs)
+ "bin/sh")))
+ (apply invoke "./configure"
+ (string-append "SHELL=" sh)
+ (string-append "CONFIG_SHELL=" sh)
+ (string-append "--prefix="
+ (assoc-ref outputs "out"))
+ configure-flags))))))))))
(define-public wxwidgets-gtk2-3.1
(package/inherit wxwidgets-3.1
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 61d2fc1b74..ec995c3496 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -52,6 +52,7 @@
;;; Copyright © 2021 ikasero <ahmed@ikasero.com>
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2021 jgart <jgart@dismail.de>
+;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -77,6 +78,7 @@
#:use-module (guix build-system python)
#:use-module (guix build-system scons)
#:use-module (guix download)
+ #:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix hg-download)
#:use-module ((guix licenses) #:prefix license:)
@@ -431,7 +433,7 @@ avoiding password prompts when X11 forwarding has already been setup.")
wayland-protocols
xkeyboard-config))
(native-inputs
- (list bison doxygen pkg-config))
+ (list bison doxygen pkg-config python))
(arguments
`(#:configure-flags
(list (string-append "-Dxkb-config-root="
@@ -1476,7 +1478,7 @@ protocol.")
(define-public gammastep
(package
(name "gammastep")
- (version "2.0.7")
+ (version "2.0.8")
(source
(origin
(method git-fetch)
@@ -1485,7 +1487,7 @@ protocol.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "11j54rdd3cgngdhjwyapwjbrdm8cii4i7g4zdvfykvmb1w4zdk7g"))))
+ (base32 "071f3iqdbblb3awnx48j19kspk6l2g3658za80i2mf4gacgq9fm1"))))
(build-system gnu-build-system)
(arguments
`(#:phases
@@ -1500,24 +1502,24 @@ protocol.")
`("GI_TYPELIB_PATH" ":" prefix
(,(getenv "GI_TYPELIB_PATH")))))))))
(native-inputs
- `(("autoconf" ,autoconf)
- ("automake" ,automake)
- ("gettext" ,gettext-minimal)
- ("intltool" ,intltool)
- ("libtool" ,libtool)
- ("pkg-config" ,pkg-config)))
+ (list autoconf
+ automake
+ gettext-minimal
+ intltool
+ libtool
+ pkg-config))
(inputs
- `(("glib" ,glib)
- ("gtk" ,gtk+)
- ("libappindicator" ,libappindicator)
- ("libdrm" ,libdrm)
- ("libX11" ,libx11)
- ("libxxf86vm" ,libxxf86vm)
- ("libxcb" ,libxcb)
- ("python" ,python)
- ("python-pygobject" ,python-pygobject)
- ("python-pyxdg" ,python-pyxdg)
- ("wayland" ,wayland)))
+ (list glib
+ gtk+
+ libappindicator
+ libdrm
+ libx11
+ libxxf86vm
+ libxcb
+ python
+ python-pygobject
+ python-pyxdg
+ wayland))
(home-page "https://gitlab.com/chinstrap/gammastep")
(synopsis "Adjust the color temperature of your screen")
(description
@@ -1718,6 +1720,11 @@ connectivity of the X server running on a particular @code{DISPLAY}.")
xcb-util-cursor
xcb-util-wm
xcb-util-xrm))
+ (native-search-paths
+ ;; This is where rofi will search for plugins by default.
+ (list (search-path-specification
+ (variable "ROFI_PLUGIN_PATH")
+ (files '("lib/rofi")))))
(arguments
`(#:parallel-tests? #f ; fails in some circumstances
#:phases
@@ -1735,6 +1742,51 @@ applications you regularly use and also allows you to search for an application
by name.")
(license license:expat)))
+(define-public rofi-calc
+ (package
+ (name "rofi-calc")
+ (version "2.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/svenstaro/rofi-calc")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1j23xwa6s27wyx6r0yb85cby6dggrcb103nqcfxr5li1mcqrgd9m"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; Don't try to install directly to rofi, instead install
+ ;; to lib/rofi to match rofi's search-path ROFI_PLUGIN_PATH.
+ (add-after 'unpack 'patch-plugindir
+ (lambda _
+ (substitute* "Makefile.am"
+ (("plugindir=\\$\\{rofi_PLUGIN_INSTALL_DIR\\}\\/")
+ "plugindir=${libdir}/rofi/"))))
+ (add-after 'unpack 'patch-qalc-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "src/calc.c"
+ (("\"qalc\"")
+ (string-append "\""
+ (search-input-file inputs "bin/qalc")
+ "\""))))))))
+ (inputs
+ (list cairo libqalculate rofi))
+ (native-inputs
+ (list autoconf automake libtool pkg-config))
+ (home-page
+ "https://github.com/svenstaro/rofi-calc")
+ (synopsis "Do live calculations in rofi with qalc")
+ (description
+ "@code{rofi-calc} is a rofi plugin that uses qalculate's @code{qalc} to parse
+natural language input and provide results.")
+ (license license:expat)))
+
(define-public tint2
(package
(name "tint2")
@@ -2089,14 +2141,14 @@ before the system goes to sleep.")
(define-public python-pyperclip
(package
(name "python-pyperclip")
- (version "1.6.4")
+ (version "1.8.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pyperclip" version))
(sha256
(base32
- "1p505c23ji06r28k1y67siihsbdzdf1brhlqpyv9ams4gk9863pp"))))
+ "0mxzm43z2anr55gyz7awagvam4d5c2rlxhp9hjyg0d29n2l58lhh"))))
(build-system python-build-system)
(arguments
'(#:tests? #f)) ; Not clear how to make tests pass.
diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 4a27f26ee5..38a0a25524 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -13,7 +13,7 @@
;;; Copyright © 2019 Ingo Ruhnke <grumbel@gmail.com>
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
-;;; Copyright © 2020, 2021 Michael Rohleder <mike@rohleder.de>
+;;; Copyright © 2020, 2021, 2022 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2021 Brendan Tildesley <mail@brendan.scot>
;;; Copyright © 2021 André A. Gomes <andremegafone@gmail.com>
;;;
@@ -1014,7 +1014,7 @@ inhibit interface which allows applications to prevent automatic sleep.")
(define-public ristretto
(package
(name "ristretto")
- (version "0.12.1")
+ (version "0.12.2")
(source (origin
(method url-fetch)
(uri (string-append "https://archive.xfce.org/src/apps/ristretto/"
@@ -1022,10 +1022,12 @@ inhibit interface which allows applications to prevent automatic sleep.")
"ristretto-" version ".tar.bz2"))
(sha256
(base32
- "1vnpzyb966pfbn7md0q26kl972iqwfywg4lfg3jahrl4l6f3z18k"))))
+ "0sfrvb19xkiphcp2ddqxgvh9hbramlm6qi7sv99s407c4acqdvhf"))))
(build-system gnu-build-system)
(native-inputs
- (list intltool desktop-file-utils pkg-config))
+ (list intltool desktop-file-utils
+ `(,glib "bin") ; for gdbus-codegen
+ pkg-config))
(inputs
(list gtk+ libexif libxfce4ui tumbler))
(home-page "https://docs.xfce.org/apps/ristretto/start")
@@ -1276,7 +1278,7 @@ A plugin for the Xfce panel is also available.")
(synopsis "Screensaver for the Xfce desktop")
(description
"Xfce Screensaver is a screen saver and locker that aims to have simple,
- sane, secure defaults and be well integrated with the Xfce desktop. ")
+ sane, secure defaults and be well integrated with the Xfce desktop.")
(license gpl2+)))
(define-public xfce4-volumed-pulse
diff --git a/gnu/packages/xiph.scm b/gnu/packages/xiph.scm
index ccd99de7c6..a240ce7c4a 100644
--- a/gnu/packages/xiph.scm
+++ b/gnu/packages/xiph.scm
@@ -435,7 +435,7 @@ windows systems.")
(list pkg-config))
(propagated-inputs
(list opus))
- (synopsis "Library for encoding Opus audio files and streams ")
+ (synopsis "Library for encoding Opus audio files and streams")
(description "The libopusenc libraries provide a high-level API for
encoding Opus files and streams.")
(home-page "https://www.opus-codec.org/")
@@ -498,3 +498,36 @@ things in between.")
icecast server. It handles the socket connection, the timing of the data,
and prevents bad data from getting to the icecast server.")
(license license:gpl2+)))
+
+(define-public xiph-rnnoise
+ ;; No upstream release
+ (let ((commit "7f449bf8bd3b933891d12c30112268c4090e4d59")
+ (revision "0"))
+ (package
+ (name "rnnoise")
+ (version (git-version "0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.xiph.org/xiph/rnnoise")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0y8jdvxd9namw4f9hcmcmm2q0f32mnhfyjap8906hl308cws3rkj"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("libtool" ,libtool)))
+ (home-page "https://gitlab.xiph.org/xiph/rnnoise")
+ (synopsis "Real-time noise suppression")
+ (description "RNNoise is a noise suppression library based on a recurrent
+neural network. The algorithm is described in Jean-Marc Valin's paper
+@cite{A Hybrid DSP/Deep Learning Approach to Real-Time Full-Band Speech
+Enhancement}.")
+ (license license:bsd-3)
+ (properties
+ ;; There's no public release and a conflicting package, so hide it for
+ ;; now.
+ `((hidden? . #t))))))
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index bc76a95c59..771c577618 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -119,6 +119,7 @@ the entire document.")
(package
(name "expat")
(version "2.4.1")
+ (replacement expat/fixed)
(source (let ((dot->underscore (lambda (c) (if (char=? #\. c) #\_ c))))
(origin
(method url-fetch)
@@ -154,6 +155,23 @@ stream-oriented parser in which an application registers handlers for
things the parser might find in the XML document (like start tags).")
(license license:expat)))
+(define expat/fixed
+ (package
+ (inherit expat)
+ (version "2.4.3")
+ (source (let ((dot->underscore (lambda (c) (if (char=? #\. c) #\_ c))))
+ (origin
+ (method url-fetch)
+ (uri (list (string-append "mirror://sourceforge/expat/expat/"
+ version "/expat-" version ".tar.xz")
+ (string-append
+ "https://github.com/libexpat/libexpat/releases/download/R_"
+ (string-map dot->underscore version)
+ "/expat-" version ".tar.xz")))
+ (sha256
+ (base32
+ "12kp4h40cpyqqpjqaldag0xq4ig1ljzpkzy9i2marc7blnqz3ydi")))))))
+
(define-public libebml
(package
(name "libebml")
@@ -1555,7 +1573,12 @@ Excel(TM) since version 2007.")
#:test-target "test"
#:phases
(modify-phases %standard-phases
- (replace 'install (install-jars "jar")))))
+ (replace 'install (install-jars "jar"))
+ (add-before 'check 'disable-failing-test
+ (lambda _
+ ;; This test sometimes fails with an out of memory exception
+ (delete-file
+ "test/src/org/simpleframework/xml/core/NoAnnotationsRequiredTest.java"))))))
(native-inputs
(list unzip))
(home-page "http://simple.sourceforge.net/")
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 92d8be22e7..16bf2bf2d6 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -16,7 +16,7 @@
;;; Copyright © 2017, 2020 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Kei Kebreau <kkebreau@posteo.net>
-;;; Copyright © 2018, 2020 Oleg Pykhalov <go.wigust@gmail.com>
+;;; Copyright © 2018, 2020, 2022 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2018 Benjamin Slade <slade@jnanam.net>
;;; Copyright © 2019 nee <nee@cock.li>
;;; Copyright © 2019 Yoshinori Arai <kumagusu08@gmail.com>
@@ -26,12 +26,14 @@
;;; Copyright © 2020, 2021 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2020 Jean-Baptiste Note <jean-baptiste.note@m4x.org>
+;;; Copyright © 2021 Matthew James Kraai <kraai@ftbfs.org>
;;; Copyright © 2021 Nicolò Balzarotti <nicolo@nixo.xyz>
;;; Copyright © 2021 Matthew James Kraai <kraai@ftbfs.org>
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
;;; Copyright © 2021 Matthew James Kraai <kraai@ftbfs.org>
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2021 qblade <qblade@protonmail.com>
+;;; Copyright © 2021 Lu Hui <luhux76@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -5232,16 +5234,15 @@ by the Xorg server.")
(define-public xorg-server
(package
(name "xorg-server")
- (version "21.1.1")
+ (version "21.1.2")
(source
(origin
(method url-fetch)
-
(uri (string-append "https://xorg.freedesktop.org/archive/individual"
"/xserver/xorg-server-" version ".tar.xz"))
(sha256
(base32
- "0md7dqsc5qb30gym06c4zc2cjsdc5ps8nywk1bkcpix05kppybkq"))
+ "1c4dgvpv3kib8rhw37b00vc056nlb1z66c2lwzs4prz8kxmg82y2"))
(patches
(list
;; See:
@@ -5358,7 +5359,30 @@ draggable titlebars and borders.")
(define-public xorg-server-for-tests
(hidden-package
(package
- (inherit xorg-server))))
+ (inherit xorg-server)
+ (version "21.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://xorg.freedesktop.org/archive/individual"
+ "/xserver/xorg-server-" version ".tar.xz"))
+ (sha256
+ (base32
+ "0md7dqsc5qb30gym06c4zc2cjsdc5ps8nywk1bkcpix05kppybkq"))
+ (patches
+ (list
+ ;; See:
+ ;; https://lists.fedoraproject.org/archives/list/devel@lists.
+ ;; fedoraproject.org/message/JU655YB7AM4OOEQ4MOMCRHJTYJ76VFOK/
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://pkgs.fedoraproject.org/cgit/rpms/xorg-x11-server.git"
+ "/plain/06_use-intel-only-on-pre-gen4.diff"))
+ (sha256
+ (base32
+ "0mm70y058r8s9y9jiv7q2myv0ycnaw3iqzm7d274410s0ik38w7q"))
+ (file-name "xorg-server-use-intel-only-on-pre-gen4.diff")))))))))
(define-public eglexternalplatform
(package
@@ -5506,18 +5530,18 @@ Wayland.")
(define-public libx11
(package
(name "libx11")
- (version "1.7.2")
+ (version "1.7.3.1")
(source
- (origin
- (method url-fetch)
- (uri (string-append "mirror://xorg/individual/lib/libX11-"
- version ".tar.bz2"))
- (sha256
- (base32
- "0v7aj8q3rlchdyfwdna7n7vgpyzyir391dlv5rwy9fxagbikbyhw"))))
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://xorg.freedesktop.org/archive/"
+ "/individual/lib/libX11-" version ".tar.xz"))
+ (sha256
+ (base32
+ "1289nvs52q9fnp7zl30bdpbvqggnjjb39vy0zll511zvcrr43z9g"))))
(build-system gnu-build-system)
(outputs '("out"
- "doc")) ;8 MiB of man pages + XML
+ "doc")) ;8 MiB of man pages + XML
(arguments
`(#:configure-flags
(list (string-append "--mandir="
@@ -5526,9 +5550,9 @@ Wayland.")
"--disable-static"
,@(malloc0-flags))))
(propagated-inputs
- (list xorgproto libxcb))
+ (list xorgproto libxcb))
(inputs
- (list xtrans))
+ (list xtrans))
(native-inputs
(list pkg-config xorgproto))
(home-page "https://www.x.org/wiki/")
@@ -5977,6 +6001,27 @@ user-friendly mechanism to start the X server.")
Intrinsics (Xt) Library.")
(license license:x11)))
+(define-public libxpresent
+ (package
+ (name "libxpresent")
+ (version "1.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri "mirror://xorg/individual/lib/libXpresent-1.0.0.tar.bz2")
+ (sha256
+ (base32
+ "12kvvar3ihf6sw49h6ywfdiwmb8i1gh8wasg1zhzp6hs2hay06n1"))))
+ (inputs
+ (list libx11 xorgproto libxext libxfixes libxrandr))
+ (native-inputs
+ (list pkg-config))
+ (build-system gnu-build-system)
+ (home-page "https://gitlab.freedesktop.org/xorg/lib/libxpresent")
+ (synopsis "Xlib-compatible API for the Present extension")
+ (description "This package provides a Xlib-based library for the X Present
+Extension.")
+ (license license:x11)))
+
(define-public xclock
(package
(name "xclock")
@@ -6127,7 +6172,7 @@ programs that cannot use the window system directly.")
(define-public perl-x11-xcb
(package
(name "perl-x11-xcb")
- (version "0.18")
+ (version "0.19")
(source (origin
(method url-fetch)
(uri (string-append
@@ -6135,7 +6180,7 @@ programs that cannot use the window system directly.")
"X11-XCB-" version ".tar.gz"))
(sha256
(base32
- "1cjpghw7cnackw20lbd7yzm222kz5bnrwz52f8ay24d1f4pwrnxf"))))
+ "1rn8g0yy82v5zp12rhxic332dvqs63l7mykg028ngvccs7rllipp"))))
(build-system perl-build-system)
(arguments
'(;; Disable parallel build to prevent a race condition.
@@ -6146,8 +6191,7 @@ programs that cannot use the window system directly.")
(lambda _
(setenv "PERL5LIB"
(string-append (getcwd) ":"
- (getenv "PERL5LIB")))
- #t))
+ (getenv "PERL5LIB")))))
(add-before 'build 'patch-Makefile
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "Makefile"
@@ -6155,8 +6199,7 @@ programs that cannot use the window system directly.")
;; an error such as "XCB.so: undefined symbol: xcb_xinerama_id"
(("^LDDLFLAGS = ")
(string-append "LDDLFLAGS = "
- "-lxcb -lxcb-util -lxcb-xinerama -lxcb-icccm ")))
- #t)))
+ "-lxcb -lxcb-util -lxcb-xinerama -lxcb-icccm "))))))
;; Tests require a running X11 server.
#:tests? #f))
(native-inputs
@@ -6268,15 +6311,16 @@ basic eye-candy effects.")
(define-public xpra
(package
(name "xpra")
- (version "4.3")
+ (version "4.3.1")
(source
(origin
(method url-fetch)
(uri (string-append "https://www.xpra.org/src/xpra-"
- version ".tar.gz"))
+ version ".tar.xz"))
(sha256
- (base32 "1h9fxarhp6f90fbjrpbkjbfwb86js2gbfl6asqa5hbl1aprrwaxg"))
- (patches (search-patches "xpra-4.2-systemd-run.patch"))))
+ (base32 "1adp790v9lq3v9pnkyf4skv69n2pd7fjqikzw145swhq9aginh5z"))
+ (patches (search-patches "xpra-4.2-systemd-run.patch"
+ "xpra-4.2-install_libs.patch"))))
(build-system python-build-system)
;; see also http://xpra.org/trac/wiki/Dependencies
(inputs `(("bash-minimal" ,bash-minimal) ; for wrap-program
@@ -6292,6 +6336,7 @@ basic eye-candy effects.")
("libxcomposite" ,libxcomposite)
("libxdamage" ,libxdamage)
("libxext" ,libxext)
+ ("libxres" ,libxres)
("gtk+" ,gtk+)
("python-pycairo" ,python-pycairo)
("python-pygobject" ,python-pygobject)
@@ -6327,8 +6372,12 @@ basic eye-candy effects.")
; they seem to require python2.
#:phases
(modify-phases %standard-phases
- ;; built by 'install phase
- (delete 'build)
+ ;; Must pass the same flags as 'install, otherwise enabled modules may
+ ;; not be built.
+ (replace 'build
+ (lambda* (#:key configure-flags #:allow-other-keys)
+ (apply invoke (append (list "python" "setup.py" "build")
+ configure-flags))))
(add-before 'install 'fix-paths
(lambda* (#:key inputs outputs #:allow-other-keys)
;; Fix binary paths.
@@ -6421,7 +6470,8 @@ X11 servers, Windows, or macOS.")
(list "--with-anthy-utf8"
(string-append "--with-lispdir=" %output "/share/emacs")
;; Set proper runpath
- (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
+ (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")
+ "CFLAGS=-O2 -g -fcommon")
#:phases
(modify-phases %standard-phases
;; Set path of uim-el-agent and uim-el-helper-agent executables
@@ -6627,7 +6677,7 @@ output.")
(define-public console-setup
(package
(name "console-setup")
- (version "1.205")
+ (version "1.207")
(source
(origin
(method git-fetch)
@@ -6635,7 +6685,7 @@ output.")
(url "https://salsa.debian.org/installer-team/console-setup.git")
(commit version)))
(sha256
- (base32 "0sf560s14firyvzpgww79ydzc6p3jvjkbvsi8zsr5m3hr833w0ba"))
+ (base32 "0fj93apsknx3lzbi2025pzr19q1gwnim8g4007aqqkhidc1msgx5"))
(file-name (git-file-name name version))))
(build-system gnu-build-system)
(arguments
@@ -6654,8 +6704,7 @@ output.")
(substitute* '("Keyboard/ckbcomp")
(("\"cat ")
(string-append "\"" (which "cat")
- " ")))
- #t))
+ " ")))))
(add-before 'build 'make-doubled-bdfs
(lambda* (#:key native-inputs inputs #:allow-other-keys)
(invoke "make" "-C" "Fonts"
diff --git a/gnu/packages/zig.scm b/gnu/packages/zig.scm
index ea0ec89b0b..b3de72226b 100644
--- a/gnu/packages/zig.scm
+++ b/gnu/packages/zig.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2021 Liliana Marie Prikler <liliana.prikler@gmail.com>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
+;;; Copyright © 2021 Calum Irwin <calumirwin1@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -28,7 +29,7 @@
(define-public zig
(package
(name "zig")
- (version "0.8.1")
+ (version "0.9.0")
(source
(origin
(method git-fetch)
@@ -37,18 +38,18 @@
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "147qx7xgj0r353wh5ragzn6kmm1vrf31i8038z3zqwjnqqgqxi6c"))
+ (base32 "1zdz5s434c48z3y0c8l9wm2z1gxa7yyzd53zmr68lwj6mcl7by8x"))
(patches
(search-patches
"zig-disable-libc-note-test.patch"
"zig-use-system-paths.patch"))))
(build-system cmake-build-system)
(inputs
- (list clang-12 ; Clang propagates llvm.
+ (list clang-13 ; Clang propagates llvm.
lld))
;; Zig compiles fine with GCC, but also needs native LLVM libraries.
(native-inputs
- (list llvm-12))
+ (list llvm-13))
(arguments
`(#:configure-flags
(list ,@(if (%current-target-system)
diff --git a/gnu/packages/zwave.scm b/gnu/packages/zwave.scm
index 4d8286e334..3e99bd7687 100644
--- a/gnu/packages/zwave.scm
+++ b/gnu/packages/zwave.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2019 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2021 Philip McGrath <philip@philipmcgrath.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -21,11 +22,14 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system node)
#:use-module (gnu packages)
#:use-module (gnu packages base)
+ #:use-module (gnu packages node-xyz)
#:use-module (gnu packages libusb)
#:use-module (gnu packages linux)
#:use-module (gnu packages perl)
+ #:use-module (gnu packages python)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages xml))
@@ -85,3 +89,63 @@ PC controllers. It allows developers to create applications that manipulate
and respond to devices on a Z-Wave network, without requiring in-depth
knowledge of the Z-Wave protocol.")
(license license:lgpl3+)))
+
+(define-public node-openzwave-shared
+ (package
+ (name "node-openzwave-shared")
+ (version "1.7.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/OpenZWave/node-openzwave-shared")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1bqqy12dzqj05j9wsh50dmn84dddmhz0gjzvd3y20z4hpy1v8rsc"))))
+ (inputs
+ (list open-zwave node-nan))
+ (native-inputs
+ (list which python pkg-config))
+ (build-system node-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'build
+ ;; For some reason, `npm install` doesn't build
+ ;; the addon automatically, so we do it explicitly here.
+ ;; We go through `npx` so the npmrc file sets the
+ ;; configuration up properly.
+ (lambda* (#:key native-inputs inputs #:allow-other-keys)
+ (invoke (search-input-file (or native-inputs inputs) "/bin/npx")
+ "--call"
+ (string-append
+ (search-input-file
+ (or native-inputs inputs)
+ "/lib/node_modules/npm/bin/node-gyp-bin/node-gyp")
+ " rebuild")))))))
+ (home-page "https://github.com/OpenZWave/node-openzwave-shared")
+ (synopsis "Node.js bindings for OpenZWave")
+ (description
+ "With the @code{node-openzwave-shared} package, you can easily control
+and manage your Z-Wave devices (lights, dimmers, blinds, you name it) from
+within Node.js applications. This library also supports secure
+devices (e.g. door locks) that require encryption. All widely used Node.js
+versions are supported with the help of @code{node-nan}.
+
+This library is currently able to:
+@itemize @bullet
+@item
+scan a Z-Wave network and report on connected devices;
+@item
+write values to Z-Wave nodes;
+@item
+monitor the network for changes;
+@item
+heal nodes and/or the network; and
+@item
+perform management tasks: add or remove nodes, replace failed nodes,
+manage their group associations, etc.
+@end itemize")
+ (license license:isc)))