Commit graph

89302 commits

Author SHA1 Message Date
Marius Bakke
2ac8a13a6a
gnu: smplayer: Remove reference to %outputs.
...which no longer exists in qt-build-system.

* gnu/packages/video.scm (smplayer)[arguments]: Turn into gexp.  Use #$OUTPUT
instead of %OUTPUTS.  Remove trailing #true's.
2021-12-12 23:26:01 +01:00
Marius Bakke
9896e828ca
gnu: ruby-asciidoctor-pdf: Update to 1.6.1.
* gnu/packages/ruby.scm (ruby-asciidoctor-pdf): Update to 1.6.1.
[arguments]: Remove trailing #t's.
2021-12-12 23:26:01 +01:00
Marius Bakke
539031ed86
gnu: ruby-rouge: Update to 3.26.1.
* gnu/packages/ruby.scm (ruby-rouge): Update to 3.26.1.
2021-12-12 23:26:01 +01:00
Marius Bakke
923c78619c
gnu: ruby-loofah: Update to 2.13.0.
* gnu/packages/ruby.scm (ruby-loofah): Update to 2.13.0.
[source]: Switch to GIT-FETCH.
[arguments]: Remove.
[native-inputs]: Add RUBY-HOE-MARKDOWN.
2021-12-12 23:26:01 +01:00
Marius Bakke
78bf278a80
gnu: Add ruby-hoe-markdown.
* gnu/packages/ruby.scm (ruby-hoe-markdown): New variable.
2021-12-12 23:26:01 +01:00
Marius Bakke
a3b25dbfa6
gnu: ruby-nokogiri: Update to 1.12.5.
* gnu/packages/ruby.scm (ruby-nokogiri-1.10): New variable.
(ruby-nokogiri): Inherit from it.  Update to 1.12.5.
(ruby-nokogiri-diff)[propagated-inputs]: Change from RUBY-NOKOGIRI to
RUBY-NOKOGIRI-1.10.
2021-12-12 23:26:01 +01:00
Ludovic Courtès
f73ba627ab
tests: Replace uses of deprecated 'static-networking-service'.
* gnu/tests/ganeti.scm (%ganeti-os): Replace call to
'static-networking-service' by instantiating
STATIC-NETWORKING-SERVICE-TYPE.
* gnu/tests/networking.scm (%test-static-networking)
(%openvswitch-os, %dhcpd-os): Likewise.
2021-12-12 23:20:50 +01:00
Ludovic Courtès
5967aee398
services: Define '%loopback-static-networking'.
* gnu/services/base.scm (%loopback-static-networking): New variable.
(%base-services): Use it.
* gnu/system/hurd.scm (%base-services/hurd): Use it.
* gnu/system/install.scm (%installation-services): Use it.
* doc/guix.texi (Networking Setup): Document it.
2021-12-12 23:20:50 +01:00
Ludovic Courtès
1644f4f1f8
services: Define '%qemu-static-networking'.
* gnu/services/base.scm (%qemu-static-networking): New variable.
* gnu/system/hurd.scm (%base-services/hurd): Use it.
* doc/guix.texi (Networking Setup): Document it.
2021-12-12 23:20:49 +01:00
Ludovic Courtès
223f1b1eb3
services: static-networking: Change interface to mimic netlink.
* gnu/services/base.scm (<static-networking>)[interface, ip, netmask]
[gateway]: Remove.
[addresses, links, routes]: New fields.
[requirement]: Default to '(udev).
(<network-address>, <network-link>, <network-route>): New record types.
(ensure-no-separate-netmask, %ensure-no-separate-netmask): Remove.
(ipv6-address?, cidr->netmask, ip+netmask->cidr)
(network-set-up/hurd, network-tear-down/hurd)
(network-set-up/linux, network-tear-down/linux)
(static-networking->hurd-pfinet-options): New procedures.
(static-networking-shepherd-service): New procedure.
(static-networking-shepherd-services): Rewrite in terms of the above.
(static-networking-service): Deprecate.  Adjust to new
'static-networking' API.
(%base-services): Likewise.
* gnu/system/install.scm (%installation-services): Likewise.
* gnu/system/hurd.scm (%base-services/hurd): Likewise, and separate
'loopback' from 'networking'.
* gnu/build/hurd-boot.scm (set-hurd-device-translators): Remove
"servers/socket/2".
* gnu/tests/networking.scm (run-openvswitch-test)["networking has
started on ovs0"]: Check for 'networking instead of 'networking-ovs0,
which is no longer provided.
* doc/guix.texi (Networking Setup): Document the new interface.  Remove
documentation of 'static-networking-service'.
(Virtualization Services): Change Ganeti example to use the new
interface.
2021-12-12 23:20:49 +01:00
Ludovic Courtès
39e3b4b7ce
services: secret-service: Turn into a Shepherd service.
* gnu/services/virtualization.scm (secret-service-activation): Remove.
(secret-service-shepherd-services): New procedure.
(secret-service-type)[extensions]: Remove ACTIVATION-SERVICE-TYPE
extension.  Add SHEPHERD-ROOT-SERVICE-TYPE and
USER-PROCESSES-SERVICE-TYPE extensions.
* gnu/build/secret-service.scm (delete-file*): New procedure.
(secret-service-receive-secrets): Use it.
2021-12-12 23:20:49 +01:00
Ludovic Courtès
0cc742b261
services: static-networking: Use Guile-Netlink on GNU/Linux.
* gnu/services/base.scm (static-networking-shepherd-service): Define
'set-up-via-ioctl', 'tear-down-via-ioctl', 'set-up-via-netlink',
'tear-down-via-netlink', and 'helpers' and use them in 'start' and
'stop'.  Add (ip *) modules to 'modules'.
2021-12-12 23:20:49 +01:00
Ludovic Courtès
1759292c8b
gnu: guile-netlink: Allow cross-compilation.
* gnu/packages/guile-xyz.scm (guile-netlink)[arguments]: Remove,
since #:tests? #f is unnecessary.
[native-inputs]: Add GUILE-3.0.
2021-12-12 23:20:49 +01:00
Ludovic Courtès
a4d33fef31
doc: Add new "Networking Setup" node for the main setup options.
This should make it easier to find how to get started setting up
networking.

* doc/guix.texi (Networking Setup): New section.
(Networking Services): Remove 'static-networking-service',
'dhcp-client-service-type', 'network-manager-service-type',
'connman-service-type', 'wicd-service', 'modem-manager-service-type',
'usb-modeswitch-service-type', and 'wpa-supplicant-service-type'.
2021-12-12 23:20:49 +01:00
Ludovic Courtès
33c498b9ee
tests: openvswitch: Check whether ovs0 is up.
* gnu/tests/networking.scm (run-openvswitch-test)["ovs0 is up"]: New test.
2021-12-12 23:20:49 +01:00
Ludovic Courtès
72f140c253
tests: Add 'static-networking' test.
* gnu/tests/networking.scm (run-static-networking-test): New procedure.
(%test-static-networking): New variable.
2021-12-12 23:20:48 +01:00
Ludovic Courtès
867dcbe3a1
gnu: python-pyflakes@2.2: Adjust tests for Python 3.9.
* gnu/packages/patches/python-pyflakes-test-location.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/python-xyz.scm (python-pyflakes-2.2): Use it.
2021-12-12 22:16:33 +01:00
Ludovic Courtès
9155566392
gnu: sundials: Add 'release-monitoring-url' property.
* gnu/packages/maths.scm (sundials)[properties]: New field.
2021-12-12 22:16:32 +01:00
Ludovic Courtès
951a4db989
gnu: sundials: Build with '-fcommon'.
* gnu/packages/maths.scm (sundials)[arguments]: Pass "-DCMAKE_C_FLAGS".
2021-12-12 22:16:32 +01:00
Artyom V. Poptsov
9b24cd3b8e
gnu: guile-dsv: Update to 0.5.0
* gnu/packages/guile-xyz.scm (guile-dsv): Update to 0.5.0.
2021-12-12 19:49:55 +01:00
Christopher Baines
604880ae22
progress: Rate limit drawing in the progress-reporter/bar.
This helps smooth the output in cases where the bar is updated very quickly,
for example in guix weather where it's computing derivations.

* guix/progress.scm (progress-reporter/bar): Wrap the drawing code with the
rate-limited procedure.
2021-12-12 14:12:15 +00:00
Z572
7317c6e739
gnu: Change source file-name suffix in rust packages.
* gnu/packages/rust-apps.scm (rust-cbindgen)[source]: Change source
file-name suffix from '.crate' to '.tar.gz'.
* gnu/packages/crates-graphics.scm (rust-ansi-term-0.12): Likewise.
(rust-ansi-term-0.11): Likewise.
(rust-rgb-0.8): Likewise.
* gnu/packages/crates-io.scm (rust-adler32-1): Likewise.
(rust-antidote-1): Likewise.
(rust-atty-0.2): Likewise.
(rust-autocfg-0.1): Likewise.
(rust-backtrace-sys-0.1): Likewise.
(rust-base-x-0.2): Likewise.
(rust-bencher-0.1): Likewise.
(rust-bitflags-1): Likewise.
(rust-blas-sys-0.7): Likewise.
(rust-cargon-0.0): Likewise.
(rust-cblas-sys-0.1): Likewise.
(rust-cc-1): Likewise.
(rust-cfg-if-0.1): Likewise.
(rust-clang-sys-0.26): Likewise.
(rust-clap-2): Likewise.
(rust-clicolors-control-1): Likewise.
(rust-cloudabi-0.1): Likewise.
(rust-cloudabi-0.0): Likewise.
(rust-cmake-0.1): Likewise.
(rust-compiler-builtins-0.1): Likewise.
(rust-constant-time-eq-0.1): Likewise.
(rust-core-foundation-sys-0.6): Likewise.
(rust-data-encoding-2): Likewise.
(rust-defmac-0.2): Likewise.
(rust-defmac-0.1): Likewise.
(rust-dirs-1): Likewise.
(rust-discard-1): Likewise.
(rust-doc-comment-0.3): Likewise.
(rust-dtoa-0.4): Likewise.
(rust-dtoa-0.2): Likewise.
(rust-fallible-iterator-0.2): Likewise.
(rust-filetime-0.2): Likewise.
(rust-findshlibs-0.5): Likewise.
(rust-fixedbitset-0.2): Likewise.
(rust-fixedbitset-0.1): Likewise.
(rust-fnv-1): Likewise.
(rust-foreign-types-shared-0.2): Likewise.
(rust-fs-extra-1): Likewise.
(rust-fuchsia-cprng-0.1): Likewise.
(rust-fuchsia-zircon-0.3): Likewise.
(rust-fuchsia-zircon-sys-0.3): Likewise.
(rust-futures-0.1): Likewise.
(rust-futures-core-preview-0.3): Likewise.
(rust-futures-cpupool-0.1): Likewise.
(rust-futures-io-preview-0.3): Likewise.
(rust-futures-sink-preview-0.3): Likewise.
(rust-getopts-0.2): Likewise.
(rust-glob-0.3): Likewise.
(rust-glob-0.2): Likewise.
(rust-heapsize-0.4): Likewise.
(rust-heapsize-0.3): Likewise.
(rust-heapsize-plugin-0.1): Likewise.
(rust-heck-0.3): Likewise.
(rust-hex-0.3): Likewise.
(rust-hex-0.2): Likewise.
(rust-hostname-0.1): Likewise.
(rust-iovec-0.1): Likewise.
(rust-itoa-0.4): Likewise.
(rust-itoa-0.1): Likewise.
(rust-json-0.11): Likewise.
(rust-kernel32-sys-0.2): Likewise.
(rust-language-tags-0.2): Likewise.
(rust-lazy-static-1): Likewise.
(rust-libloading-0.5): Likewise.
(rust-lock-api-0.1): Likewise.
(rust-log-0.4): Likewise.
(rust-maplit-1): Likewise.
(rust-matches-0.1): Likewise.
(rust-matrixmultiply-0.2): Likewise.
(rust-matrixmultiply-0.1): Likewise.
(rust-md5-0.7): Likewise.
(rust-md5-0.6): Likewise.
(rust-memmap-0.7): Likewise.
(rust-memmap-0.6): Likewise.
(rust-mime-0.3): Likewise.
(rust-miniz-oxide-0.3): Likewise.
(rust-miniz-sys-0.1): Likewise.
(rust-miow-0.3): Likewise.
(rust-miow-0.2): Likewise.
(rust-modifier-0.1): Likewise.
(rust-net2-0.2): Likewise.
(rust-nodrop-0.1): Likewise.
(rust-nodrop-union-0.1): Likewise.
(rust-num-traits-0.1): Likewise.
(rust-numtoa-0.1): Likewise.
(rust-openssl-probe-0.1): Likewise.
(rust-owning-ref-0.4): Likewise.
(rust-parity-wasm-0.40): Likewise.
(rust-peeking-take-while-0.1): Likewise.
(rust-percent-encoding-2): Likewise.
(rust-percent-encoding-1): Likewise.
(rust-permutohedron-0.2): Likewise.
(rust-pico-sys-0.0): Likewise.
(rust-pkg-config-0.3): Likewise.
(rust-plain-0.2): Likewise.
(rust-plugin-0.2): Likewise.
(rust-pocket-resources-0.3): Likewise.
(rust-ppv-lite86-0.2): Likewise.
(rust-proc-macro2-1): Likewise.
(rust-quick-error-2): Likewise.
(rust-quick-error-1): Likewise.
(rust-quote-1): Likewise.
(rust-rand-0.7): Likewise.
(rust-rand-0.6): Likewise.
(rust-rand-0.3): Likewise.
(rust-rand-chacha-0.1): Likewise.
(rust-rand-core-0.4): Likewise.
(rust-rand-core-0.3): Likewise.
(rust-rand-hc-0.2): Likewise.
(rust-rand-hc-0.1): Likewise.
(rust-rand-isaac-0.1): Likewise.
(rust-rand-jitter-0.1): Likewise.
(rust-rand-os-0.1): Likewise.
(rust-rand-pcg-0.3): Likewise.
(rust-rand-pcg-0.2): Likewise.
(rust-rand-pcg-0.1): Likewise.
(rust-rand-xorshift-0.1): Likewise.
(rust-rawpointer-0.2): Likewise.
(rust-rawpointer-0.1): Likewise.
(rust-rdrand-0.4): Likewise.
(rust-redox-syscall-0.1): Likewise.
(rust-redox-termios-0.1): Likewise.
(rust-resolv-conf-0.6): Likewise.
(rust-rustc-demangle-0.1): Likewise.
(rust-rustc-serialize-0.3): Likewise.
(rust-rustc-std-workspace-core-1): Likewise.
(rust-ryu-1): Likewise.
(rust-safemem-0.3): Likewise.
(rust-same-file-1): Likewise.
(rust-schannel-0.1): Likewise.
(rust-scoped-threadpool-0.1): Likewise.
(rust-scoped-tls-1): Likewise.
(rust-scoped-tls-0.1): Likewise.
(rust-scopeguard-1): Likewise.
(rust-scopeguard-0.3): Likewise.
(rust-security-framework-sys-0.3): Likewise.
(rust-semver-parser-0.9): Likewise.
(rust-semver-parser-0.7): Likewise.
(rust-serde-derive-1): Likewise.
(rust-shlex-1): Likewise.
(rust-shlex-0.1): Likewise.
(rust-slab-0.4): Likewise.
(rust-socket2-0.3): Likewise.
(rust-sourcefile-0.1): Likewise.
(rust-spin-0.5): Likewise.
(rust-stacker-0.1): Likewise.
(rust-static-assertions-1): Likewise.
(rust-static-assertions-0.3): Likewise.
(rust-stdweb-internal-runtime-0.1): Likewise.
(rust-stdweb-internal-test-macro-0.1): Likewise.
(rust-streaming-stats-0.2): Likewise.
(rust-strsim-0.9): Likewise.
(rust-strsim-0.8): Likewise.
(rust-synstructure-test-traits-0.1): Likewise.
(rust-tar-0.4): Likewise.
(rust-tempdir-0.3): Likewise.
(rust-tempfile-3): Likewise.
(rust-term-0.4): Likewise.
(rust-term-0.2): Likewise.
(rust-termcolor-1): Likewise.
(rust-termion-1): Likewise.
(rust-termios-0.3): Likewise.
(rust-thread-id-3): Likewise.
(rust-thread-local-1): Likewise.
(rust-thread-local-0.3): Likewise.
(rust-threadpool-1): Likewise.
(rust-time-0.1): Likewise.
(rust-tokio-mock-task-0.1): Likewise.
(rust-toml-0.5): Likewise.
(rust-tracing-core-0.1): Likewise.
(rust-traitobject-0.1): Likewise.
(rust-try-from-0.3): Likewise.
(rust-try-lock-0.2): Likewise.
(rust-typeable-0.1): Likewise.
(rust-typemap-0.3): Likewise.
(rust-typenum-1): Likewise.
(rust-ucd-trie-0.1): Likewise.
(rust-ucd-util-0.1): Likewise.
(rust-unicode-xid-0.2): Likewise.
(rust-unicode-xid-0.1): Likewise.
(rust-unreachable-1): Likewise.
(rust-unsafe-any-0.4): Likewise.
(rust-untrusted-0.7): Likewise.
(rust-vcpkg-0.2): Likewise.
(rust-vec-map-0.8): Likewise.
(rust-version-check-0.9): Likewise.
(rust-version-check-0.1): Likewise.
(rust-void-1): Likewise.
(rust-wasi-0.5): Likewise.
(rust-wasm-bindgen-shared-0.2): Likewise.
(rust-wasm-bindgen-test-macro-0.2): Likewise.
(rust-widestring-0.4): Likewise.
(rust-winapi-0.3): Likewise.
(rust-winapi-0.2): Likewise.
(rust-winapi-build-0.1): Likewise.
(rust-winapi-util-0.1): Likewise.
(rust-wincolor-1): Likewise.
(rust-winutil-0.1): Likewise.
(rust-ws2-32-sys-0.2): Likewise.
(rust-xattr-0.2): Likewise.
(rust-xdg-2): Likewise.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-12-12 15:19:00 +02:00
Efraim Flashner
c89940a43a
gnu: Use librsvg-bootstrap.
* gnu/packages/emacs.scm (emacs)[inputs]: Use librsvg-bootstrap.
* gnu/pacakges/gtk.scm (gtk+-2, gtk+)[propagated-inputs]: Same.
2021-12-12 15:19:00 +02:00
Efraim Flashner
801f1a7c29
gnu: Add librsvg-bootstrap.
* gnu/packages/gnome.scm (librsvg-bootstrap): New variable.
2021-12-12 15:18:57 +02:00
Efraim Flashner
8226771a33
gnu: go-1.14: Fix building on some platforms.
* gnu/packages/golang.scm (go-1.14)[arguments]: In custom 'prebuild
phase also search for loader without 'linux' in the string. In custom
'build phase set the GOCACHE directory.
[native-inputs]: On systems which don't have support in go-1.4 use
gccgo-10 instead.
2021-12-12 14:25:45 +02:00
Ricardo Wurmus
492dac2fb0
gnu: python-patsy: Update to 0.5.2.
* gnu/packages/statistics.scm (python-patsy): Update to 0.5.2.
[arguments]: Run tests conditionally; run tests with pytest.
[native-inputs]: Replace python-nose with python-pytest.
2021-12-12 12:41:54 +01:00
Ricardo Wurmus
3fc12128c2
gnu: remmina: Build with libsoup 2.
* gnu/packages/vnc.scm (remmina)[inputs]: Replace libsoup with
libsoup-minimal-2.
2021-12-12 12:41:54 +01:00
Ricardo Wurmus
4992858e21
gnu: salmon: Update to 1.6.0.
* gnu/packages/bioinformatics.scm (salmon): Update to 1.6.0.
[inputs]: Update pufferfish sources.
2021-12-12 12:41:54 +01:00
Foo Chuan Wei
c12c7f1284
gnu: sbcl-geco: Update to 2.1.2.
* gnu/packages/lisp-xyz.scm (sbcl-geco): Update to 2.1.2.
  [home-page]: Update home page.
  [license]: Fix license.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-12-12 10:24:52 +01:00
Foo Chuan Wei
d1072f21ba
gnu: sbcl-aserve: Add HTML5 elements to htmlgen.
* gnu/patches/sbcl-aserve-add-HTML-5-elements.patch: New file.
* gnu/patches/sbcl-aserve-fix-rfe12668.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/lisp-xyz.scm (sbcl-aserve)[source]: Use them.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-12-12 10:24:52 +01:00
gyara
8778ff2aec
gnu: dunst : Update to 1.7.3.
* gnu/packages/dunst.scm (dunst): Update to 1.7.3.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-12-12 10:24:52 +01:00
Efraim Flashner
5c3f5c1524
gnu: Use license prefix in (gnu packages sdl).
* gnu/packages/sdl.scm (sdl, sdl2, libmikmod, sdl-gfx, sdl-image,
sdl-mixer, sdl-net, sdl-pango, sdl-ttf, guile-sdl, guile-sdl2,
sdl2-cs) [license]: Use license prefix.
2021-12-12 11:21:02 +02:00
Efraim Flashner
70fba40048
gnu: serveez: Update to 0.3.0.
* gnu/packages/serveez.scm (serveez): Update to 0.3.0.
[source]: Download using lzip tarball.
[native-inputs]: Add lzip.
[inputs]: Replace guile-2.0 with guile-2.2.
2021-12-12 10:59:07 +02:00
Efraim Flashner
cec4b2dcbc
gnu: guile-sdl: Update to 0.5.3.
* gnu/packages/sdl.scm (guile-sdl): Update to 0.5.3.
[source]: Use lzip tarball.
[native-inputs]: Add lzip.
2021-12-12 10:59:07 +02:00
Artyom V. Poptsov
ab82bed5d1
gnu: guile-dsv: Update to 0.4.1
* gnu/packages/guile-xyz.scm (guile-dsv): Update to 0.4.1.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-12-12 09:22:07 +01:00
Vinicius Monego
8bb6c7425d
gnu: python-moto: Honor #:tests? flag.
* gnu/packages/python-xyz.scm (python-moto)[arguments]: Adjust custom 'check
phase to honor the #:tests? flag.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-12 00:27:55 +01:00
Vinicius Monego
7a34e56dc8
gnu: python-moto: Update to 2.2.12.
* gnu/packages/python-xyz.scm (python-moto): Update to 2.2.12.
[arguments]: Make some cosmetic changes.
<#:phases>: Don't return #t. Support cross-compilation in
'patch-hardcoded-executable-names. Skip more tests and simplify the custom
'check phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-12 00:27:55 +01:00
Vinicius Monego
365260f4cd
gnu: Update awscli, python-boto3 and python-botocore.
awscli, botocore and boto3 work together and typically require matching
versions.

* gnu/packages/python-xyz.scm (python-botocore): Update to 1.22.11.
(python-boto3): Update to 1.19.11.
[native-inputs]: Add python-pytest.
* gnu/packages/python-web.scm (awscli): Update to 1.21.11.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-12 00:27:55 +01:00
Vinicius Monego
9660c2f158
gnu: python-s3transfer: Honor #:tests? flag.
* gnu/packages/python-web.scm (python-s3transfer)[arguments]: Adjust custom
'check phase to honor the #:tests? flag.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-12 00:27:55 +01:00
Vinicius Monego
32135392dd
gnu: python-s3transfer: Update to 0.5.0.
* gnu/packages/python-web.scm (python-s3transfer): Update to 0.5.0.
[arguments]<#:phases>: Remove 'patch phase because the issue was fixed
upstream. Don't return #t in custom 'check phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-12 00:27:54 +01:00
Vinicius Monego
dbf5d938c5
gnu: python-cfn-lint: Honor #:tests? flag.
* gnu/packages/python-web.scm (python-cfn-lint)[arguments]: Make some cosmetic
changes. Adjust custom 'check phase to honor the #:tests? flag.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-12 00:27:54 +01:00
Vinicius Monego
f3416ebc2e
gnu: python-cfn-lint: Update to 0.54.3.
* gnu/packages/python-web.scm (python-cfn-lint): Update to 0.54.3.
[home-page]: Follow redirect.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-12 00:27:54 +01:00
Vinicius Monego
589b9d6f29
gnu: python-aws-sam-translator: Update to 1.40.0.
* gnu/packages/python-web.scm (python-aws-sam-translator): Update to 1.40.0.
[arguments]<#:phases>: Don't return #t.
[home-page]: Follow redirect.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-12 00:27:54 +01:00
Giacomo Leidi
7e9720eca4
gnu: python-vcrpy: Update to 4.1.1.
* gnu/packages/python-xyz.scm (python-vcrpy): Update to 4.1.1.
[arguments]: Replace 'check phase to run unit tests.
[native-inputs]: Add required dependencies.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-12 00:27:54 +01:00
Giacomo Leidi
8a1de89432
gnu: Add python-ipaddress.
* gnu/packages/python-xyz.scm (python-ipaddress): New variable;
(python2-ipaddress): Use package-with-python2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-12 00:27:54 +01:00
Foo Chuan Wei
ea18b4c529
gnu: Add ascii.
* gnu/packages/shellutils.scm (ascii): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-12 00:27:53 +01:00
Ludovic Courtès
cba0395c99
narinfo: Do not repeat slash when building nar URLs.
* guix/narinfo.scm (narinfo-maker): When one of URLS is relative, do not
repeat trailing slash if it's already present in CACHE-URL.
2021-12-12 00:27:53 +01:00
Ludovic Courtès
e68466de12
substitutes: Build correct narinfo URLs for cache URLs without trailing slash.
Fixes <https://issues.guix.gnu.org/51441>.
Reported by Z572 <873216071@qq.com> and Peng Mei Yu <pengmeiyu@riseup.net>.

Previously, passing '--substitute-urls=https://mirror.sjtu.edu.cn/guix',
without a trailing slash, would fail due to incorrectly constructed
narinfo URLs.  Users would have to explicitly add a trailing slash.

* guix/substitutes.scm (narinfo-request): Ensure BASE has a trailing
slash.
2021-12-12 00:27:53 +01:00
Ludovic Courtès
4dca1bae27
challenge: Store item contents are returned in canonical order.
This allows the 'delete-duplicates' call in 'differing-files' to have
the intended effect.

Before that, a "guix challenge" invocation with three builds of a store
item, two of which are identical, would lead 'differing-files' to not
print anything, as in this example:

  $ ./pre-inst-env guix challenge python-numpy
  /gnu/store/…-python-numpy-1.17.3 contents differ:
    local hash: 07var0wn8fywxchldz5pjqpnlavrlbc8s81aqwsqyi0i7qlh6ka7
    https://ci.guix.gnu.org/nar/lzip/…-python-numpy-1.17.3: 07var0wn8fywxchldz5pjqpnlavrlbc8s81aqwsqyi0i7qlh6ka7
    https://bordeaux.guix.gnu.org/nar/lzip/…-python-numpy-1.17.3: 0cbl3q19bshb6ddz8xkcrjzkcmillsqii4z852ybzixyp7rg40qa

  1 store items were analyzed:
    - 0 (0.0%) were identical
    - 1 (100.0%) differed
    - 0 (0.0%) were inconclusive

With this change, 'differing-files' prints additional info as intended:

    differing file:
      /lib/python3.8/site-packages/numpy/distutils/fcompiler/__pycache__/vast.cpython-38.pyc

* guix/scripts/challenge.scm (archive-contents): Add tail call to
'reverse'.
(store-item-contents): Rewrite to use 'scandir' and recursive calls
instead of 'file-system-fold'.
2021-12-12 00:27:53 +01:00
Ludovic Courtès
c6903e156f
challenge: Use SRFI-71 instead of SRFI-11.
* guix/scripts/challenge.scm (port-sha256*, call-with-nar): Use SRFI-71.
2021-12-12 00:27:53 +01:00