Commit Graph

107528 Commits

Author SHA1 Message Date
Ludovic Courtès 407175a1d0
daemon: Improve error message for wrong hash sizes.
* nix/libutil/hash.cc (parseHash): Show the hash algorithm name and
expected size in the error message.
* tests/derivations.scm ("fixed-output derivation, invalid hash size"):
New test.
2023-01-09 17:40:54 +01:00
Ludovic Courtès 5d24e57a61
derivations: 'read-derivation' correctly handles case with empty hash.
Reported by Stephen Paul Weber <singpolyma@singpolyma.net> at
<https://lists.gnu.org/archive/html/guix-devel/2023-01/msg00035.html>.

* guix/derivations.scm (read-derivation)[outputs->alist]: Treat the
empty hash case as non-fixed-output whether or not the hash algorithm is
the empty string, and preserve the hash algorithm in <derivation-output>.
* tests/derivations.scm ("'download' built-in builder, no fixed-output hash")
("fixed-output-derivation?, no hash", "read-derivation with hash = #f"): New tests.
2023-01-09 17:40:53 +01:00
Ludovic Courtès 007e697560
substitute: Parse '_NIX_OPTIONS' once.
* guix/scripts/substitute.scm (find-daemon-option): Arrange to call
'daemon-options' only once.
2023-01-09 17:40:53 +01:00
Ludovic Courtès 47c1de22df
doc: cookbook: Add "Installing Guix on a Cluster" chapter.
This is derived from the article at
<https://hpc.guix.info/blog/2017/11/installing-guix-on-a-cluster/>, with
clarifications and updates.

* doc/guix-cookbook.texi (Installing Guix on a Cluster): New chapter.
2023-01-09 17:40:53 +01:00
Mathieu Othacehe 8b314efd50
services: base: Add environment support to guix-configuration.
* gnu/services/base.scm (<guix-configuration>)[extra-env]: New field.
(guix-shepherd-service): Honor it.
* doc/guix.texi (Base Services): Document it.
2023-01-09 17:15:28 +01:00
Ricardo Wurmus de48bcee07
gnu: Add r-gg3d.
* gnu/packages/bioinformatics.scm (r-gg3d): New variable.
2023-01-09 14:50:26 +01:00
Andrew Tropin 35ecbb418c
home: environment-variables: Fix escaping.
* gnu/home/services.scm (environment-variable-shell-definitions): Fix
escaping.
* tests/guix-home.sh: Add STRING_WITH_ESCAPES environment variable and test
its value.

Reported-by: elevnkb
2023-01-09 12:22:56 +04:00
Andrew Tropin 2acce55a00
home: environment-variables: Return support for file-likes and gexps.
* gnu/home/services.scm (environment-variable-shell-definitions): Add support
for file-likes and gexps.
* tests/guix-home.sh: Add SHELL environment variable and test its value.  Add
BUILDHOSTTIME environment variable.
2023-01-09 12:03:32 +04:00
Marius Bakke d0044216c9
gnu: ikiwiki: Remove input labels.
* gnu/packages/web.scm (ikiwiki)[native-inputs, inputs]: Remove labels.
2023-01-09 08:55:10 +01:00
Marius Bakke 37aeb85f45
gnu: ikiwiki: Add missing inputs.
This fixes a regression from a1f9eba892 whereby
loading po4a as a library fails.

* gnu/packages/web.scm (ikiwiki)[inputs]: Add PERL-SYNTAX-KEYWORD-TRY and
PERL-XS-PARSE-KEYWORD.
2023-01-09 08:55:09 +01:00
Marius Bakke 1efe7de096
gnu: python-afdko: Fix failing tests.
* gnu/packages/patches/python-afdko-suppress-copyright-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/fontutils.scm (python-afdko)[source](patches): New field.
2023-01-09 08:55:09 +01:00
Ricardo Wurmus 2463e9f1fe
gnu: Remove java-ecj-3.
* gnu/packages/java.scm (java-ecj-3): Remove variable.
2023-01-09 00:50:29 +01:00
Ricardo Wurmus 9e14a7b4d2
gnu: ant-junit: Fix inheritance by using gexp.
* gnu/packages/java.scm (ant-junit)[arguments]: Use gexp; also remove
trailing #T from build phases.
2023-01-09 00:45:06 +01:00
Ricardo Wurmus f05d228472
gnu: ant-apache-bcel: Fix inheritance by using gexp.
* gnu/packages/java.scm (ant-apache-bcel)[arguments]: Use gexp; also remove
trailing #T from build phases.
2023-01-09 00:44:26 +01:00
Ricardo Wurmus 882baf4b7d
gnu: java-cisd-jhdf5: Do not override default JDK.
* gnu/packages/java.scm (java-cisd-jhdf5)[arguments]: Remove override for JDK.
2023-01-09 00:40:19 +01:00
Ricardo Wurmus a4eb83fee7
gnu: java-cisd-jhdf5: Remove trailing #T.
* gnu/packages/java.scm (java-cisd-jhdf5)[source]: Remove trailing #T from
snippet.
[arguments]: Remove trailing #T from build phases.
2023-01-09 00:39:43 +01:00
Ricardo Wurmus 3b62c2804c
gnu: java-ecj: Do not inherit from java-ecj-3.
* gnu/packages/java.scm (java-ecj): Do not inherit fields from java-ecj-3.
[arguments]: Merge build phases 'fix-build.xml and 'fix-prop; remove trailing #T.
2023-01-09 00:38:15 +01:00
Ricardo Wurmus 649ea550e7
gnu: Remove java-ecj-3.5.
* gnu/packages/java.scm (java-ecj-3.5): Remove variable.
2023-01-09 00:34:41 +01:00
Ricardo Wurmus 2703b6feef
gnu: java-cisd-args4j: Do not build with icedtea-7.
* gnu/packages/java.scm (java-cisd-args4j)[arguments]: Do not override JDK.
2023-01-09 00:33:39 +01:00
Ricardo Wurmus f1babf56da
gnu: java-cisd-args4j: Use later version of ECJ.
* gnu/packages/java.scm (java-cisd-args4j)[native-inputs]: Replace
java-ecj-3.5 with java-ecj.
2023-01-09 00:33:02 +01:00
Ricardo Wurmus 84543eae06
gnu: java-cisd-args4j: Remove trailing #T from build phase.
* gnu/packages/java.scm (java-cisd-args4j)[arguments]: Remove trailing #T from
build phase.
2023-01-09 00:32:28 +01:00
Ricardo Wurmus d977bb8d6b
gnu: java-jgit-4.2: Remove trailing #T from build phase.
* gnu/packages/java.scm (java-jgit-4.2)[arguments]: Remove trailing #T from
build phase.
2023-01-09 00:27:23 +01:00
Ricardo Wurmus f206682903
gnu: java-jgit-4.2: Do not build with icedtea-7.
* gnu/packages/java.scm (java-jgit-4.2)[arguments]: Do not override JDK.
2023-01-09 00:27:23 +01:00
Ricardo Wurmus aac0605de3
gnu: Move Java bootstrap packages to separate module.
* gnu/packages/java.scm (ant/java8): Do not inherit from ant-bootstrap.
(ant)[arguments]: Replace to avoid rebuilding.
(jikes, classpath-bootstrap, jamvm-1-bootstrap, ant-bootstrap, ecj-bootstrap,
ecj-javac-wrapper, classpath-0.99, classpath-jamvm-wrappers, classpath-devel,
jamvm, ecj-javac-wrapper-final, ecj4-bootstrap, ecj4-javac-wrapper,
jamvm-with-ecj4): Move these packages from here...
* gnu/packages/java-bootstrap.scm: ...to this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register new file.
2023-01-09 00:01:04 +01:00
Ricardo Wurmus a4d9ce5488
gnu: Move Java XML packages to new module.
* gnu/packages/xml.scm (java-simple-xml, java-jaxp,
java-apache-xml-commons-resolver, java-jaxen, java-xom, java-xsdlib,
java-xpp3, java-xmlpull2, java-xmlpull-api-v1, java-dom4j, java-kxml2,
java-stax, java-jettison, java-jdom2, java-xstream, java-mxparser): Move these
variables from here...
* gnu/packages/java-xml.scm: ...to this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register new file.
* gnu/packages/axoloti.scm,
gnu/packages/batik.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/groovy.scm,
gnu/packages/java.scm,
gnu/packages/maven.scm: Adjust module imports.
2023-01-08 23:20:59 +01:00
Leo Famulari 56b56db13e
news: Add entry about the removal of linux-libre 4.9.
* etc/news.scm: Add entry.
2023-01-08 15:49:53 -05:00
Leo Famulari 064c5b7e45
gnu: Remove linux-libre 4.9.
This kernel series is no longer supported upstream:
https://lkml.iu.edu/hypermail/linux/kernel/2301.0/06398.html
https://www.kernel.org/category/releases.html

* gnu/packages/aux-files/linux-libre/4.9-i686.conf,
gnu/packages/aux-files/linux-libre/4.9-x86_64.conf: Delete files.
* Makefile.am (AUX_FILES): Remove them.
* gnu/packages/linux.scm (linux-libre-4.9-version, linux-libre-4.9-gnu-revision,
deblob-scripts-4.9, linux-libre-4.9-pristine-source, linux-libre-4.9-source,
linux-libre-headers-4.9, linux-libre-4.9): Remove variables.
* gnu/tests/base.scm (%test-linux-libre-4.9): Likewise.
2023-01-08 15:15:09 -05:00
Nicolas Goaziou 812ecf7ee6
gnu: tectonic: Update to 0.12.0.
* gnu/packages/rust-apps.scm (tectonic): Update to 0.12.0.
* gnu/packages/crates-io.scm (rust-tectonic-bridge-graphite2): Update to
0.2.1.
[arguments]: Do not skip build.
[native-inputs]: Add PKG-CONFIG.
[inputs]: Add GRAPHITE2.
(rust-tectonic-bundles): Update to 0.3.
[arguments]: Do not skip build.
<#:cargo-inputs>: Update RUST-TECTONIC-IO-BASE to 0.4.
[native-inputs]: Add PKG-CONFIG.
[inputs]: Add OPENSSL and ZLIB.
(rust-tectonic-docmodel): Update to 0.2.0.
[arguments]: Do not skip build.
(rust-tectonic-engine-xetex): Update to 0.4.1.
[arguments]: Do not skip build.
<#:cargo-inputs>: Update RUST-TECTONIC-PDF-IO to 0.4 and
RUST-TECTONIC-XETEX-LAYOUT to 0.2.
[native-inputs]: Add PKG-CONFIG.
[inputs]: Add FONTCONFIG, FREETYPE, GRAPHITE2, ICU4C and ZLIB.
(rust-tectonic-engine-xdvipdfmx): Update to 0.4.0.
[arguments]: Do not skip build.
<#:cargo-inputs>: Remove RUST-CBINDGEN, update RUST-TECTONIC-BRIDGE-CORE to
0.3 and RUST-TECTONIC-PDF-IO to 0.4.
[native-inputs]: Add PKG-CONFIG.
[inputs]: Add LIBPNG and ZLIB.
(rust-tectonic-pdf-io): Update to 0.4.
[arguments]: Do not skip build.
<#:cargo-inputs>: Update RUST-TECTONIC-BRIDGE-CORE to 0.3.
(rust-tectonic-xetex-layout): Update to 0.2.1.
[arguments]: Do not skip build.
<#:cargo-inputs>: Update RUST-TECTONIC-BRIDGE-CORE to 0.3.
[native-inputs]: Add PKG-CONFIG.
[inputs]: Add FONTCONFIG, FREETYPE, GRAPHITE2, ICU4C and ZLIB.
2023-01-08 19:32:15 +01:00
David Thompson 6ca59eec9a
gnu: git-annex: Patch 'git-annex webapp' to use hardcoded xdg-open.
* gnu/packages/haskell-apps.scm (git-annex)[arguments]: Add 'patch-webapp'
phase.
[inputs]: Add xdg-utils.
2023-01-08 13:25:34 -05:00
Mathieu Othacehe 8cca1a35bc
gnu: Switch to default pipewire.
This is a follow-up of: 590700ce00.

* gnu/packages/kde-plasma.scm (kwin, plasma-desktop,
plasma-workspace)[inputs]: Switch to pipewire.
* gnu/packages/mpd.scm (mpd)[inputs]: Ditto.
2023-01-08 18:12:15 +01:00
Bruno Victal c2f47c968e
gnu: Remove tegaki package leftovers.
Leftovers from ed3c97f53e.

* gnu/packages/languages.scm (tegaki-release-uri)
(remove-pre-compiled-files)
(remove-pre-compiled-files-modules): Delete variables.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2023-01-08 17:51:30 +01:00
Josselin Poiret via Guix-patches via 6d3a0b2f65
gnu: wireplumber: Update to 0.4.13.
* gnu/packages/linux.scm (wireplumber): Update to 0.4.13.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2023-01-08 17:46:50 +01:00
Brendan Tildesley 619cb50199
gnu: pipewire: Enable more features.
* gnu/packages/linux.scm (pipewire)[inputs]:
Add
- libfdk for ACC support over bluetooth
- libfreeaptx for aptX support over bluetooth
- libsndfile
- libusb for bluetooth support
- lilv for lv2 plugins
- webrtc-audio-processing for noise cancelling
- readline for pw-cli

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2023-01-08 17:46:50 +01:00
Brendan Tildesley 7a9edf4324
gnu: Add libfreeaptx.
* gnu/packages/audio.scm (libfreeaptx): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2023-01-08 17:46:50 +01:00
Brendan Tildesley 62c446a4fd
gnu: pipewire: Set sysconfdir to /etc.
* gnu/packages/linux.scm (pipewire): Set sysconfdir to /etc to allow for
systemwide config in /etc.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2023-01-08 17:46:50 +01:00
Josselin Poiret via Guix-patches via a7ed4af304
gnu: pipewire: Update to 0.3.63.
* gnu/packages/linux.scm (pipewire): Update to 0.3.63.
[source]: Update source to official repo.
[inputs]: Remove sdl2. It's only used to build examples.

Co-authored-by: Kevin Boulain <kevinboulain@gmail.com>
Co-authored-by: Brendan Tildesley <mail@brendan.scot>
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2023-01-08 17:46:49 +01:00
Brendan Tildesley 590700ce00
gnu: pipewire: Switch default to 0.3.
* gnu/packages/linux.scm (pipewire): Switch to pipewire 0.3.
(pipewire-0.3): Remove variable.
(wireplumber): Replace all pipewire-0.3 by pipewire.
* gnu/packages/audio.scm (qpwgraph): Ditto.
* gnu/packages/chromium.scm (ungoogled-chromium): Ditto.
* gnu/packages/freedesktop.scm (weston, xdg-desktop-portal,
xdg-desktop-portal-wlr): Ditto.
* gnu/packages/gnome.scm (mutter): Ditto.
* gnu/packages/kde-systemtools.scm (krfb): Ditto.
* gnu/packages/telegram.scm (webrtc-for-telegram-desktop): Ditto.
* gnu/packages/video.scm (obs): Ditto.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2023-01-08 17:46:49 +01:00
Liliana Marie Prikler e55bc944a9
gnu: Add python-commonroad-route-planner.
* gnu/packages/simulation.scm (python-commonroad-route-planner): New variable.
2023-01-08 16:29:56 +01:00
Liliana Marie Prikler 86136b4f76
gnu: Add python-commonroad-io.
* gnu/packages/simulation.scm (python-commonroad-io): New variable.
2023-01-08 16:29:56 +01:00
Liliana Marie Prikler 59a8de6bad
gnu: Add python-commonroad-vehicle-models.
* gnu/packages/simulation.scm (%commonroad-dont-install-license-at-root)
(python-commonroad-vehicle-models): New variables.
2023-01-08 16:27:59 +01:00
Liliana Marie Prikler 583a197b00
gnu: python-iso3166: Update to 2.1.1.
* gnu/packages/iso-codes.scm (python-iso3166): Update to 2.1.1.
2023-01-08 16:27:59 +01:00
Liliana Marie Prikler ad6d10ac85
gnu: Add python-omegaconf.
* gnu/packages/python-xyz.scm (python-omegaconf): New variable.
2023-01-08 16:27:59 +01:00
Liliana Marie Prikler 74e5275167
gnu: Add java-antlr4-runtime-python.
* gnu/packages/java.scm (java-antlr4-runtime-python): New variable.
2023-01-08 16:27:58 +01:00
Tomasz Jeneralczyk f5ea392b9c
gnu: Add vkmark.
* gnu/packages/benchmark.scm (vkmark): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-01-08 16:11:46 +01:00
florhizome f761cc6995
gnu: Add power-profiles-daemon.
* gnu/packages/freedesktop.scm (power-profiles-daemon): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-01-08 16:11:46 +01:00
jgart 10befaafca
gnu: python-proselint: Use official home page URL.
* gnu/packages/python-xyz.scm (python-proselint):
[home-page]: Use official home page URL.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-01-08 16:11:46 +01:00
kiasoc5 46dd440234
gnu: clamav: Update to 0.103.7.
* gnu/packages/antivirus.scm (clamav): Update to 0.103.7.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-01-08 16:11:46 +01:00
Sharlatan Hellseher 7dbc7f6ca3
gnu: python-jsonschema-next: Simplify package.
To have this package on the latest version Guix needs to have new Python
build procedure with Hatch https://hatch.pypa.io/.

* gnu/packages/python-xyz.scm (python-jsonschema-next):
  [build-system]: Use pyproject-build-system to simplify package.
  [native-inputs]: Remove python-pypa-build.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-01-08 16:11:46 +01:00
Antero Mejr e24b9b42bc
gnu: Add python-pydicom.
* gnu/packages/python-science.scm (python-pydicom): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-01-08 16:11:45 +01:00
Antero Mejr 15caeb745c
gnu: Add gdcm.
* gnu/packages/bioinformatics.scm (gdcm): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-01-08 16:11:45 +01:00