summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-04-12services: replace bare serializers with (serializer ...)Bruno Victal
* gnu/home/services/shells.scm (home-zsh-configuration)[environment-variables]: Use (serializer ...). (home-bash-configuration)[aliases, environment-variables]: Likewise. (home-fish-configuration)[abbreviations, aliases] [environment-variables]: Likewise. * gnu/services/audio.scm (mpd-configuration)[music-dir, playlist-dir] [endpoints, address, inputs, archive-plugins, input-cache-size] [decoders, filters, playlist-plugins]: Likewise. * gnu/services/linux.scm (fstrim-configuration)[extra-arguments]: Likewise. * gnu/services/security.scm (fail2ban-jail-configuration)[backend] [log-encoding, extra-content]: Likewise. * tests/services/configuration.scm: Update tests. ("serialize-configuration [deprecated]"): New test. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-04-12services: configuration: Add user-defined sanitizer support.Bruno Victal
This changes the 'custom-serializer' field into a generic 'extra-args' field that can be extended to support new literals. Within extra-args, the literals 'sanitizer' and 'serializer' allow for user-defined sanitization and serialization procedures respectively. The 'empty-serializer' was also added as a literal to be used as before. To prevent confusion between the new “explicit” style of specifying a sanitizer, and the old “implicit” style, the latter has been deprecated, and a warning is issued if it is encountered. * gnu/services/configuration.scm (define-configuration-helper): Rename 'custom-serializer' to 'extra-args'. Add support for literals 'sanitizer', 'serializer' and 'empty-serializer'. Rename procedure 'field-sanitizer' to 'default-field-sanitizer' to avoid syntax clash. Only define default field sanitizers if user-defined ones are absent. (normalize-extra-args): New variable. (<configuration-field>)[sanitizer]: New field. * doc/guix.texi (Complex Configurations): Document the newly added literals. * tests/services/configuration.scm: Add tests for the new literals. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-04-12gnu: Add python-clingraph.Liliana Marie Prikler
* gnu/packages/potassco.scm (python-clingraph): New variable.
2023-04-12gnu: Separate potassco packages into their own module.Liliana Marie Prikler
* gnu/packages/potassco.scm: New file. * gnu/packages/maths.scm (libpotassco, clasp, clingo, python-clingo) (python-telingo): Move to potassco module. Adjust imports accordingly. * gnu/packages/emacs-xyz.scm (emacs-pasp-mode): Move to potassco module. * gnu/local.mk (GNU_SYSTEM_MODULES): Add %D%/packages/potassco.scm.
2023-04-12gnu: python-imageio: Update to 2.26.0.Liliana Marie Prikler
* gnu/packages/python-xyz.scm (python-imageio): Update to 2.26.0. [build-system]: Use pyproject-build-system. [arguments]: Use G-Expressions. <#:tests?>: Drop argument. <#:test-flags>: New argument. <#:phases>: Drop replacement for ‘check’. Add ‘fix-source’ and ‘fix-failing-tests’. [inputs]: Add freeimage. [propagated-inputs]: Add python-imageio-ffmpeg.
2023-04-12gnu: Add python-imageio-ffmpeg.Liliana Marie Prikler
* gnu/packages/python-xyz.scm (python-imageio-ffmpeg): New variable.
2023-04-12gnu: emacs-slime: Add missing propagated input.John Kehayias
Fixes error "Cannot open load file: No such file or directory, ../lib/macrostep" when trying to run slime. * gnu/packages/emacs-xyz.scm (emacs-slime)[propagated-inputs]: Add emacs-macrostep.
2023-04-12gnu: Add mecab-unidic.Julien Lepiller
* gnu/packages/language.scm (mecab-unidic): New variable.
2023-04-12gnu: Add mecab-ipadic.Julien Lepiller
* gnu/packages/language.scm (mecab-ipadic): New variable.
2023-04-12gnu: Add mecab.Julien Lepiller
* gnu/packages/language.scm (mecab): New variable. * gnu/packages/patches/mecab-variable-param.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it.
2023-04-11gnu: libexif: Update home page.Maxim Cournoyer
* gnu/packages/photo.scm (libexif) [home-page]: Update URL.
2023-04-11gnu: ruby-rubyzip: Re-instate all tests.Maxim Cournoyer
* gnu/packages/ruby.scm (ruby-rubyzip) [arguments]: Do not patch ruby shebang in the patch-tests phase. Remove the disable-problematic-tests phase. Add the unpatch-some-source-shebangs phase.
2023-04-11gnu: python-gst: Update to 1.22.2.Maxim Cournoyer
* gnu/packages/gstreamer.scm (python-gst): Update to 1.22.2.
2023-04-11gnu: gst-editing-services: Update to 1.22.2.Maxim Cournoyer
* gnu/packages/gstreamer.scm (gst-editing-services): Update to 1.22.2.
2023-04-11gnu: gst-libav: Update to 1.22.2.Maxim Cournoyer
* gnu/packages/gstreamer.scm (gst-libav): Update to 1.22.2.
2023-04-11gnu: gst-plugins-ugly: Update to 1.22.2.Maxim Cournoyer
* gnu/packages/gstreamer.scm (gst-plugins-ugly): Update to 1.22.2.
2023-04-11gnu: gst-plugins-bad: Update to 1.22.2.Maxim Cournoyer
* gnu/packages/gstreamer.scm (gst-plugins-bad): Update to 1.22.2.
2023-04-11gnu: gst-plugins-good: Update to 1.22.2.Maxim Cournoyer
* gnu/packages/gstreamer.scm (gst-plugins-good): Update to 1.22.2.
2023-04-11gnu: gst-plugins-base: Update to 1.22.2.Maxim Cournoyer
* gnu/packages/gstreamer.scm (gst-plugins-base): Update to 1.22.2.
2023-04-11gnu: gstreamer: Update to 1.22.2.Maxim Cournoyer
* gnu/packages/gstreamer.scm (gstreamer): Update to 1.22.2.
2023-04-11gnu: gstreamer-docs: Update to 1.22.2.Maxim Cournoyer
* gnu/packages/gstreamer.scm (gstreamer-docs): Update to 1.22.2.
2023-04-11gnu: python-trio-typing: Switch to pyproject-build-system.Maxim Cournoyer
* gnu/packages/python-xyz.scm (python-trio-typing) [source]: Fix indentation. [build-system]: Use pyproject-build-system. [arguments]: Delete field.
2023-04-11gnu: xpra: Remove input labels and use gexps.Maxim Cournoyer
* gnu/packages/xorg.scm (xpra) [inputs]: Remove labels. [arguments]: Use gexps. Remove trailing #t in phases. Use search-input-file and this-package-input in the fix-paths phase. Use search-input-file in wrap-program.
2023-04-11gnu: python-service-identity: Update to 21.1.0.Maxim Cournoyer
* gnu/packages/python-crypto.scm (python-service-identity): Update to 21.1.0. [build-system]: Use pyproject-build-system. [native-inputs]: New field. [propagated-inputs]: Remove python-pyopenssl. Add python-cryptography and python-six.
2023-04-11gnu: python-pyopenssl: Update to 23.1.1.Maxim Cournoyer
* gnu/packages/python-crypto.scm (python-pyopenssl): Update to 23.1.1. [source]: Remove patches. [arguments]: Update faketime date in check phase. Normalize pytest invocation in check phase override. [propagated-inputs]: Remove python-six.
2023-04-11gnu: python-cryptography: Update to 40.0.1 [fixes CVE-2023-23931].Maxim Cournoyer
* gnu/packages/python-crypto.scm (python-cryptography-vectors): Delete variable. (python-cryptography-vectors-next): Rename to... (python-cryptography-vectors): ... this. Update to 40.0.1. (python-cryptography): Delete variable. (python-cryptography-next): Rename to... (python-cryptography): ... this. Update to 40.0.1. [build-system]: Use pyproject-build-system. [arguments]: Remove #:imported-modules and #:modules arguments. Remove check phase override. Remove adjust-pyo3-requirement and configure-cargo phases. Add disable-rust-extension-build and symlink-rust-library phases. [native-inputs]: Replace python-cryptography-vectors-next with python-cryptography-vectors. Add python-iso8601. Remove python-pytz. Replace python-pytest with python-pytest-7.1. Remove rust, rust:cargo and python-setuptools-rust. [inputs]: Remove all inputs. Add python-cryptography-rust. [propagated-inputs]: Remove python-asn1crypto, python-six, python-idna and python-iso8601. [description]: Start description with @code to avoid a lint warning.
2023-04-11gnu: python-celery: Use python-pytest-7.1.Maxim Cournoyer
* gnu/packages/python-xyz.scm (python-celery) [native-inputs]: Replace python-pytest with python-pytest-7.1.
2023-04-11gnu: python-pint: Use python-pytest-7.1.Maxim Cournoyer
* gnu/packages/python-xyz.scm (python-pint) [native-inputs]: Replace python-pytest with python-pytest-7.1.
2023-04-11gnu: python-pytest-subtests: Update to 0.10.0.Maxim Cournoyer
* gnu/packages/python-check.scm (python-pytest-subtests): Update to 0.10.0. [native-inputs]: Replace python-pytest with python-pytest-7.1.
2023-04-11gnu: python-pytest-7.1: Replace python-toml with python-tomli.Maxim Cournoyer
* gnu/packages/check.scm (python-pytest-7.1) [propagated-inputs]: Replace python-toml with python-tomli.
2023-04-11gnu: Add python-cryptography-rust.Maxim Cournoyer
* gnu/packages/python-crypto.scm (python-cryptography-rust): New variable.
2023-04-11gnu: rust-openssl-sys-0.9: Propagate openssl.Maxim Cournoyer
It appears that OpenSSL is expected to be available when building a package using this library. * gnu/packages/crates-io.scm (rust-openssl-sys-0.9) [inputs]: Turn into... [propagated-inputs].
2023-04-11gnu: rust-eyre-0.6: Update to 0.6.8.Maxim Cournoyer
* gnu/packages/crates-io.scm (rust-eyre-0.6): Update to 0.6.8. [arguments]: Remove #:skip-build? argument. Add rust-pyo3-0.13 to #:cargo-inputs. Add #:cargo-development-inputs. [native-inputs]: Add python.
2023-04-11gnu: rust-pem-1: Update to 1.1.1.Maxim Cournoyer
* gnu/packages/crates-io.scm (rust-pem-1): Update to 1.1.1. [arguments] Add rust-serde-1 to #:cargo-inputs. Add rust-serde-json-1 to #:cargo-development-inputs.
2023-04-11gnu: libexif: Update to 0.6.24. [fixes CVE-2020-0198, CVE-2020-0452]Bruno Victal
* gnu/packages/photo.scm (libexif): Update to 0.6.24. [source]: Switch to git checkout. [native-inputs]: Add autoconf, automake, gettext-minimal and libtool. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-04-11gnu: Add rust-base64-0.21.Maxim Cournoyer
* gnu/packages/crates-io.scm (rust-base64-0.21): New variable. (rust-base64-0.13): Inherit from it.
2023-04-11gnu: rust-futures-sink-0.3: Update to 0.3.26.Efraim Flashner
* gnu/packages/crates-io.scm (rust-futures-sink-0.3): Update to 0.3.26.
2023-04-11gnu: rust-futures-util-0.3: Update to 0.3.26.Efraim Flashner
* gnu/packages/crates-io.scm (rust-futures-util-0.3): Update to 0.3.26. [cargo-inputs]: Remove rust-proc-macro-hack-0.5, rust-proc-macro-nested-0.1.
2023-04-11gnu: rust-futures-test-0.3: Update to 0.3.26.Efraim Flashner
* gnu/packages/crates-io.scm (rust-futures-test-0.3): Update to 0.3.26. [arguments]: Skip tests. [cargo-inputs]: Add rust-futures-macro-0.3, rust-futures-sink-0.3, rust-pin-project-1. Remove rust-once-cell-1.
2023-04-11gnu: rust-futures-task-0.3: Update to 0.3.26.Efraim Flashner
* gnu/packages/crates-io.scm (rust-futures-task-0.3): Update to 0.3.26. [cargo-inputs]: Remove rust-once-cell-1.
2023-04-11gnu: rust-futures-macro-0.3: Update to 0.3.26.Efraim Flashner
* gnu/packages/crates-io.scm (rust-futures-macro-0.3): Update to 0.3.26. [cargo-inputs]: Remove rust-proc-macro-hack-0.5.
2023-04-11gnu: rust-futures-io-0.3: Update to 0.3.26.Efraim Flashner
* gnu/packages/crates-io.scm (rust-futures-io-0.3): Update to 0.3.26.
2023-04-11gnu: rust-futures-executor-0.3: Update to 0.3.26.Efraim Flashner
* gnu/packages/crates-io.scm (rust-futures-executor-0.3): Update to 0.3.26.
2023-04-11gnu: rust-futures-core-0.3: Update to 0.3.26.Efraim Flashner
* gnu/packages/crates-io.scm (rust-futures-core-0.3): Update to 0.3.26. [cargo-inputs]: Add rust-portable-atomic-1.
2023-04-11gnu: rust-futures-channel-0.3: Update to 0.3.26.Efraim Flashner
* gnu/packages/crates-io.scm (rust-futures-channel-0.3): Update to 0.3.26.
2023-04-11gnu: rust-futures-0.3: Update to 0.3.26.Efraim Flashner
* gnu/packages/crates-io.scm (rust-futures-0.3): Update to 0.3.26.
2023-04-11gnu: rust-slab-0.4: Update to 0.4.8.Efraim Flashner
* gnu/packages/crates-io.scm (rust-slab-0.4): Update to 0.4.8. [cargo-inputs]: Add rust-autocfg-1. [cargo-development-inputs]: Add rust-serde-1.
2023-04-11gnu: rust-pin-project-internal-1: Update to 1.0.12.Efraim Flashner
* gnu/packages/crates-io.scm (rust-pin-project-internal-1): Update to 1.0.12.
2023-04-11gnu: rust-pin-project-1: Update to 1.0.12.Efraim Flashner
* gnu/packages/crates-io.scm (rust-pin-project-1): Update to 1.0.12. [cargo-development-inputs]: Remove rust-pin-project-auxiliary-macro-0.0. Add rust-macrotest-1.
2023-04-11gnu: rust-macrotest-1: Update to 1.0.9.Efraim Flashner
* gnu/packages/crates-io.scm (rust-macrotest-1): Update to 1.0.9. [cargo-inputs]: Remove rust-rand-0.7. Add rust-prettyplease-0.1, rust-syn-1.