Commit graph

96201 commits

Author SHA1 Message Date
Paul A. Patience
62f16063a1
gnu: Add python-pyperf.
* gnu/packages/python-xyz.scm (python-pyperf): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-23 16:24:47 +02:00
Paul A. Patience
6803a29db4
gnu: python-meshio: Update to 5.3.4.
* gnu/packages/simulation.scm (python-meshio): Update to 5.3.4.
[source]: Reindent.
[propagated-inputs]: Add python-rich.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-23 16:24:47 +02:00
Paul A. Patience
ec27aafcd3
gnu: python-meshio: Honor #:tests? flag.
* gnu/packages/simulation.scm (python-meshio)[arguments]: Adjust custom
'check' phase to honor the #:tests? flag. Remove unnecessary
'add-installed-pythonpath' call.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-23 16:24:46 +02:00
Paul A. Patience
c76ba27662
gnu: python-meshio: Remove trailing booleans.
* gnu/packages/simulation.scm (python-meshio)[snippet]: Remove trailing
boolean (and therefore the 'begin').
[arguments]: Remove trailing boolean.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-23 16:24:46 +02:00
Paul A. Patience
4a6acd04c3
gnu: python-meshio: Remove input labels.
* gnu/packages/simulation.scm (python-meshio)[inputs, native-inputs,
propagated-inputs]: Remove labels.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-23 16:24:46 +02:00
kiasoc5
5437c90953
gnu: python-plotly: Update to 5.6.0.
* gnu/packages/graph.scm (python-plotly): Update to 5.6.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-23 16:24:46 +02:00
Nicolas Graves
95b0544fcf
import: utils: Update list of SPDX licenses.
* guix/import/utils.scm (spdx-string->license): Update.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-23 16:24:46 +02:00
Josselin Poiret
aaf547824e
scripts: package: Transform before creating manifest entries.
* guix/scripts/package.scm (options->installable): Add TRANSFORM
argument, to be able to directly transform the new packages before
creating their manifest entries.
(process-actions): Remove transform-entry, and step3, transforming
directly in step2.
* tests/guix-package.sh: Add test.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-23 16:24:46 +02:00
Florian Pelz
a6da02217e
news: Add 'de' translation.
* etc/news.scm: Add German translation of 'guix import elm' entry.
2022-05-23 11:52:29 +02:00
Pavel Shlyak
bb662d71e6
image: Add bootable flag support.
* gnu/build/image.scm (sexp->partition): Add flags support.
* gnu/system/image.scm (partition->gexp): Ditto.
(system-disk-image): Set the genimage bootable flag if it is part of the
partition flags.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-05-23 09:17:12 +02:00
Pavel Shlyak
6e99c020b8
system: image: Support GPT vfat partitions.
* gnu/system/image.scm (system-disk-image): Support them.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-05-23 09:17:12 +02:00
Pavel Shlyak
76139eb253
system: image: Support MBR vfat partitions.
* gnu/system/image.scm (system-disk-image): Support them.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-05-23 09:17:12 +02:00
Mathieu Othacehe
db3193f55b
system: image: Tweak error message.
* gnu/system/image.scm (system-disk-image): Tweak it.
2022-05-23 09:17:08 +02:00
Mathieu Othacehe
17e3b7d28f
system: image: Fix indentation.
* gnu/system/image.scm: Fix it.
2022-05-23 09:16:09 +02:00
Cees de Groot
4ba4cb1d49
gnu: elixir: Update to 1.13.4.
* gnu/packages/elixir.scm (elixir): Update to 1.13.4.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 22:50:18 +02:00
Cees de Groot
a2b7adcd4f
gnu: erlang: Update to 24.3.4.
* gnu/packages/erlang.scm (erlang): Update to 24.3.4.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 22:49:38 +02:00
Ludovic Courtès
81f7bb1691
gnu: guile-parted: Depend on Parted 3.4.
Fixes <https://issues.guix.gnu.org/55549>.

* gnu/packages/guile-xyz.scm (guile-parted)[inputs]: Replace 'parted' by
'parted-3.4'.
2022-05-22 21:56:40 +02:00
Ludovic Courtès
1151ad7cad
gnu: parted: Reintroduce version 3.4.
* gnu/packages/disk.scm (parted-3.4): New variable.
2022-05-22 21:56:40 +02:00
Ludovic Courtès
d2b3400f79
services: openssh: Listen on both IPv4 and IPv6.
Fixes <https://issues.guix.gnu.org/55335>.
Reported by Christopher Baines <mail@cbaines.net>.

* gnu/services/ssh.scm (openssh-shepherd-service)[inetd-style?]: New variable.
<start>: Use it.  When using 'make-inetd-constructor', pass a list of
endpoints as is possible with the Shepherd 0.9.1.
<stop>: Adjust accordingly.
* gnu/tests/ssh.scm (run-ssh-test)["wait for port 22"]: Rename to...
["wait for port 22, IPv4"]: ... this.
["wait for port 22, IPv6"]: New test.
2022-05-22 21:56:40 +02:00
Ludovic Courtès
52aceda4fd
marionette: Add #:address parameter to 'wait-for-tcp-port'.
* gnu/build/marionette.scm (wait-for-tcp-port): Add #:address parameter.
Honor it, and improve error reporting in the 'failure case.
2022-05-22 21:56:40 +02:00
Ludovic Courtès
8a588eb871
gnu: shepherd: Update to 0.9.1.
* gnu/packages/admin.scm (shepherd-0.9): Update to 0.9.1.
2022-05-22 21:56:39 +02:00
Ludovic Courtès
81fed81aeb
gnu: guile-fibers: Add 'upstream-name' property.
* gnu/packages/guile-xyz.scm (guile-fibers-1.1)[properties]: New field.
2022-05-22 21:56:39 +02:00
Ludovic Courtès
b25b029a3c
gnu: guile-fibers@1.1: Update to c25dcb9.
* gnu/packages/guile-xyz.scm (guile-fibers-1.1): Update to c25dcb9.
[arguments]: Remove 'regenerate-autotools' phase.
2022-05-22 21:56:39 +02:00
Guillaume Le Vaillant
f0e9048e98
gnu: sbcl: Improve reproducilbility.
This should fix the runtime error of the maxima package:
  fatal error encountered in SBCL pid 26911 tid 26911:
  core was built for runtime "localhost-nixbld-2022-03-03-15-45-58"
  but this is "localhost-nixbld-2022-03-03-08-51-27"

* gnu/packages/lisp.scm (sbcl)[arguments]: Add 'fix-build-id' phase.
2022-05-22 17:39:23 +02:00
Mathieu Othacehe
08756c831c
self: Ship platform files.
* guix/self.scm (compiled-guix): Ship them.
2022-05-22 16:06:07 +02:00
Mathieu Othacehe
0c4d3847a4
platforms: x86: Add a missing export.
* gnu/platforms/x86.scm (hurd): Export it.
2022-05-22 15:18:28 +02:00
Mathieu Othacehe
a4aa13c02f
doc: Add a 'Foreign architectures' chapter.
* doc/guix.texi ("Foreign architectures"): New chapter.
2022-05-22 15:15:34 +02:00
Mathieu Othacehe
051c087d71
scripts: build: Highlight the current system with --list-systems.
* guix/scripts/build.scm (list-systems): Highlight it.
2022-05-22 15:15:33 +02:00
Mathieu Othacehe
b55310603f
linux: Remove system->linux-architecture procedure.
* gnu/packages/linux.scm (system->linux-architecture): Remove it.
(make-linux-libre-headers*, make-linux-libre*): Adapt them.
* guix/build-system/linux-module.scm (system->arch): Adapt it.
* gnu/packages/instrumentation.scm (uftrace): Ditto.
* gnu/packages/cross-base.scm (cross-kernel-headers): Ditto.
* gnu/packages/bioinformatics.scm (ncbi-vdb): Ditto.
* doc/guix.texi (Porting to a new platform): Update it.
2022-05-22 15:15:33 +02:00
Mathieu Othacehe
4cf7d0f836
platform: Add glibc-dynamic-linker field.
* gnu/platform.scm (<platform>)[glibc-dynamic-linker]: New field.
(platform-glibc-dynamic-linker, lookup-platform-by-system): New procedures.
* gnu/platforms/arm.scm (armhf-linux, aarch64-linux): Add the glibc-dynamic-linker field.
* gnu/platforms/hurd.scm (hurd): Ditto.
* gnu/platforms/intel.scm (intel32-linux, intel64-linux, intel32-mingw, intel64-linux): Ditto.
* gnu/platforms/mips.scm (mips64el-linux): Ditto.
* gnu/platforms/powerpc.scm (powerpc-linux, powerpc64-linux): Ditto.
* gnu/platforms/riscv.scm (riscv64-linux): Ditto.
* gnu/platforms/s390.scm (riscv64-linux): Ditto.
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Adapt it.
2022-05-22 15:15:33 +02:00
Mathieu Othacehe
ec42d287b4
scripts: Add --list-systems and --list-targets options.
Also factorize the --system and --target build options. Check that the passed
system and target arguments are known platforms.

* doc/guix.texi (Additional Build Options): Document the new --list-systems
and --list-targets options.
* guix/scripts/build.scm (show-cross-build-options-help,
show-emulated-build-options-help, list-systems, list-targets): New procedures.
(%standard-cross-build-options, %standard-emulated-build-options): New
variables.
(show-help): Remove --system and --target entries and use
show-cross-build-options-help and show-emulated-build-options-help procedures instead.
(%options): Remove --system and --target entries and use
%standard-cross-build-options and %standard-emulated-build-options variables instead.
* guix/scripts/archive.scm (show-help, %options): Adapt them.
* guix/scripts/environment.scm: Ditto.
* guix/scripts/graph.scm: Ditto.
* guix/scripts/pack.scm: Ditto.
* guix/scripts/pull.scm: Ditto.
* guix/scripts/size.scm: Ditto.
* guix/scripts/weather.scm: Ditto.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-05-22 15:15:33 +02:00
Mathieu Othacehe
dd970122dd
ci: Do not rely on hardcoded cross-targets lists.
* gnu/ci.scm (%cross-targets): Remove it ...
(cross-jobs): ... and use the targets procedure instead.
* etc/release-manifest.scm: Adapt it.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-05-22 15:15:33 +02:00
Mathieu Othacehe
4f2320f79d
platform: Add discovery support.
* gnu/platform.scm (platform-modules, systems, targets,
lookup-platform-by-system, lookup-platform-by-target,
lookup-platform-by-target-or-system
platform-system->target,
platform-target->system): New procedures.
(%platforms): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-05-22 15:15:33 +02:00
Mathieu Othacehe
31f7696be4
platform: Introduce new platforms.
* gnu/platforms/intel.scm: New file.
* gnu/platforms/mips.scm: Ditto.
* gnu/platforms/powerpc.scm: Ditto.
* gnu/platforms/riscv.scm: Ditto.
* gnu/platforms/s390.scm: Ditto.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add them.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-05-22 15:15:32 +02:00
Leo Prikler
6e0b2adf5f
gnu: Add font-ipa-ex.
* gnu/packages/fonts.scm (font-ipa-ex): New variable.

Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-05-22 00:11:15 -04:00
wednesday
15870cc08d
gnu: emacs: Add libselinux to inputs.
* gnu/packages/emacs.scm (emacs)[inputs]: Add libselinux to support
  extended attributes.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-05-21 01:01:28 -04:00
wednesday
fd5b7393a0
gnu: emacs: Add lcms to inputs.
* gnu/packages/emacs.scm (emacs)[inputs]: Add lcms.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-05-21 01:00:13 -04:00
Efraim Flashner
e5e0e283ff
Merge branch 'master' into staging 2022-05-16 11:14:42 +03:00
Leo Famulari
40a729a0e6
gnu: Fix the build of wicd.
Fixes <https://issues.guix.gnu.org/55440>.

* gnu/packages/check.scm (python2-pytest-cov, python2-freezegun): Define
without package-with-python2.
* gnu/packages/python-xyz.scm (python2-babel): Likewise.
* gnu/packages/time.scm (python2-dateutil): Likwise.
2022-05-15 20:22:02 -04:00
Aurora
7c204281ff
gnu: openfst: Update to 1.8.2, enable ngram extension
This extension is required by some programs that depend on openfst that aren't
yet packaged.

* gnu/packages/machine-learning.scm (openfst): Update to 1.8.2.
[arguments]: New field.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-15 22:49:50 +02:00
Aurora
d60b9f8d0f
gnu: openfst-1.7.3: Enable ngram-fst extension & C++14 build
The extension doesn't build in old versions of openfst such as 1.7.3 without
manually setting CXXFLAGS.

This package definition, including this workaround to build extensions
successfully, will need to be removed once kaldi is fixed upstream and can be
used with up-to-date versions of openfst.

* gnu/packages/machine-learning.scm (openfst-1.7.3)[arguments]: New field.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-15 22:49:50 +02:00
Aurora
d57a2c2b33
gnu: kaldi: Update to dd107fd, bypass tests
Either kaldi's tests are broken or openblas has reintroduced a bug:
- https://github.com/kaldi-asr/kaldi/pull/4421

More testing & fixes required upstream to re-enable the tests later. For now
they'll just have to be ignored.

* gnu/packages/machine-learning.scm (kaldi): Update to dd107fd.
[arguments]: In 'configure' phase, modify "matrix/Makefile".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-15 22:49:50 +02:00
Aurora
8c7e4a9698
gnu: openfst: Add 1.7.3 for kaldi
Kaldi is currently broken with openfst versions newer than 1.7.3 as it changed
some of its function signatures.

Once Kaldi is patched/fixed, this should be removed.

Reference Issues:
- https://github.com/kaldi-asr/kaldi/issues/4131
- https://github.com/kaldi-asr/kaldi/issues/4393

* gnu/packages/machine-learning.scm (openfst-1.7.3): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-15 22:49:50 +02:00
Ludovic Courtès
1038f7d681
gnu: openblas: Remove input labels.
* gnu/packages/maths.scm (openblas)[inputs, native-inputs]: Remove labels.
[arguments]: In 'set-extralib' phase, use 'search-input-file'.
2022-05-15 22:49:49 +02:00
Aurora
20eadd425e
gnu: openblas: Update to 0.3.20
* gnu/packages/maths.scm (openblas): Update to 0.3.20.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-15 22:49:49 +02:00
Efraim Flashner
c591bb6819
gnu: perl-net-ssleay: Update to 1.92.
* gnu/packages/tls.scm (perl-net-ssleay): Update to 1.92.
2022-05-15 22:10:55 +03:00
Efraim Flashner
ebb4302950
gnu: openssl-3.0: Update to 3.0.3.
* gnu/packages/tls.scm (openssl-3.0): Update to 3.0.3.
2022-05-15 20:08:51 +03:00
Ludovic Courtès
0310517e6c
gnu: mesa: Remove input labels.
* gnu/packages/gl.scm (mesa)[inputs, native-inputs]: Remove labels.
(mesa-opencl)[inputs-, native-inputs]: Likewise, and use 'modify-inputs'.
2022-05-15 15:52:24 +02:00
Ludovic Courtès
d0951c288b
gnu: mesa: Update to 21.3.8.
* gnu/packages/gl.scm (mesa): Update to 21.3.8.
2022-05-15 15:33:22 +02:00
Efraim Flashner
9860c90e8e
gnu: efibootmgr: Update to new upstream location.
* gnu/packages/linux.scm (efibootmgr)[source, home-page]: Update to new
upstream URI.
2022-05-15 15:59:07 +03:00