Ludovic Courtès
e4259d4e9e
packages: 'package-transitive-supported-systems' detects cycles.
...
With this change, commands such as 'guix build' or 'guix package' report
obvious package-level cycles upfront. Derivation-level cycles are not
detected.
* guix/packages.scm (&package-cyclic-dependency-error): New condition
type.
(package-transitive-supported-systems): Define 'visited', check it, and
parameterize it.
* guix/ui.scm (call-with-error-handling): Handle
'&package-cyclic-dependency-error'.
* tests/packages.scm ("package-transitive-supported-systems detects
cycles"): Add test.
2023-06-14 22:54:30 +02:00
Ludovic Courtès
35c27ec5ee
gnu: gnunet-scheme: Use guile-fibers 1.3.1.
...
* gnu/packages/gnunet.scm (gnunet-scheme)[native-inputs]
[propagated-inputs]: Replace GUILE-FIBERS-1.1 with GUILE-FIBERS-1.3.
2023-06-14 22:53:55 +02:00
Ludovic Courtès
1261d2637c
gnu: guile-fibers: Remove 'guile-fibers-next'.
...
* gnu/packages/guile-xyz.scm (guile-fibers-next): Remove.
* gnu/packages/package-management.scm (guix-build-coordinator)[arguments]
[native-inputs, propagated-inputs]: Replace GUILE-FIBERS-NEXT by
GUILE-FIBERS-1.3.
(nar-herder)[arguments, native-inputs, propagated-inputs]: Likewise.
* gnu/packages/web.scm (guix-data-service)[propagated-inputs]: Likewise.
2023-06-14 22:53:55 +02:00
Ludovic Courtès
131b7ed6d1
gnu: cuirass: Use guile-fibers 1.3.1.
...
* gnu/packages/ci.scm (cuirass)[inputs]: Replace GUILE-FIBERS-1.1 with
GUILE-FIBERS-1.3.
2023-06-14 22:53:55 +02:00
Ludovic Courtès
c219c22cbd
gnu: shepherd@0.10: Use guile-fibers 1.3.1.
...
* gnu/packages/admin.scm (shepherd-0.10)[native-inputs, inputs]: Replace
GUILE-FIBERS-1.1 with GUILE-FIBERS-1.3.
2023-06-14 22:53:55 +02:00
Ludovic Courtès
49119eee2b
gnu: guile-fibers: Add 1.3.1.
...
* gnu/packages/guile-xyz.scm (guile-fibers-1.3): New variable.
(guile-fibers-1.1): Inherit from it.
* gnu/packages/patches/guile-fibers-libevent-32-bit.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2023-06-14 22:53:55 +02:00
Zheng Junjie
09449ef6f6
gnu: psascan: Do not build with "-march=native".
...
* gnu/packages/cpp.scm (psascan)[origin]: Add 'snippet'.
[properties]: New field.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-14 22:34:17 +03:00
Maxim Cournoyer
10186bc291
gnu: Add lexilla.
...
* gnu/packages/text-editors.scm (lexilla): New variable.
2023-06-14 15:32:32 -04:00
Maxim Cournoyer
1eac587fa6
gnu: lexilla: Fix find-files regexp in install phase.
...
* gnu/packages/text-editors.scm (scintilla) [arguments]: Fix find-files regexp
in install phase.
2023-06-14 15:32:32 -04:00
Maxim Cournoyer
0e55391482
gnu: scintilla: Use string-delete to compute source URL.
...
* gnu/packages/text-editors.scm (scintilla) [source]: Use string-delete
instead of string-split and string-append.
2023-06-14 15:32:32 -04:00
Efraim Flashner
87cf2a859d
home: services: ssh: Allow unset boolean options in ssh-config.
...
From man 5 ssh_config:
Unless noted otherwise, for each parameter, the first obtained value
will be used.
We want to allow falling through to the first explicitly chosen user
defined value.
* gnu/home/services.ssh.scm (define-maybe boolean): New configuration.
(openssh-host)[forward-x11?, forward-x11-trusted?, forward-agent?,
compression?]: Replace default value with maybe-boolean.
* doc/guix.texi (Secure Shell): Update documentation to match the
changes in the code.
2023-06-14 21:51:44 +03:00
Efraim Flashner
f8cf3982ff
gnu: Add tuba.
...
* gnu/packages/mastodon.scm (tuba): New variable.
2023-06-14 21:33:32 +03:00
Maxim Cournoyer
786d8fd60d
gnu: python-pyzmq: Update to 25.1.0.
...
* gnu/packages/python-xyz.scm (python-pyzmq): Update to 25.1.0.
2023-06-14 12:52:53 -04:00
Maxim Cournoyer
ee7b06e212
gnu: python-pyzmq: Use pytest to run the test suite.
...
* gnu/packages/python-xyz.scm (python-pyzmq)
[arguments]: Precise comments regarding #:tests?. Override check phase.
2023-06-14 12:52:53 -04:00
Efraim Flashner
8f0698dde3
gnu: python-keras: Fix building with newer python.
...
* gnu/packages/machine-learning.scm (python-keras)[source]: Add snippet
to adjust for newer versions of python.
2023-06-14 19:11:56 +03:00
Efraim Flashner
cb902d7e1b
gnu: onedrive: Link to all necessary libraries.
...
Reported by adanska on IRC.
* gnu/packages/sync.scm (onedrive)[arguments]: Remove custom
'link-to-external-libraries phase to allow linking to more libraries.
2023-06-14 19:08:36 +03:00
Maxim Cournoyer
4e60cbe5bb
gnu: ibus-anthy: Prepare for tests.
...
* gnu/packages/patches/ibus-anthy-fix-tests.patch: New patch.
* gnu/packages/ibus.scm (ibus-anthy): Register it.
* gnu/packages/ibus.scm (ibus-anthy) [source]: Apply patch.
[arguments]: Clarify #:tests? comment. Add a fix-check,
do-not-override-GI_TYPELIB_PATH and prepare-for-tests phases.
[native-inputs]: Add procps, python-pycotap, util-linux and
xorg-server-for-tests.
2023-06-14 11:05:30 -04:00
Maxim Cournoyer
6bbfcc359a
gnu: python-scikit-build: Update to 0.17.6.
...
* gnu/packages/python-xyz.scm (python-scikit-build): Update to 0.17.6.
[arguments]: Re-instate test_cxx_compiler test in check phase.
[native-inputs]: Add python-virtualenv.
2023-06-14 11:04:04 -04:00
Ricardo Wurmus
7c12255eb9
gnu: guile-openai: Update to 0.2-1.751cd5d.
...
* gnu/packages/guile-xyz.scm (guile-openai): Update to 0.2-1.751cd5d.
[build-system]: Use gnu-build-system.
[arguments]: Adjust.
[inputs]: Add imagemagick.
[native-inputs]: Add autoconf, automake, and pkg-config.
2023-06-14 14:09:35 +02:00
Ricardo Wurmus
53c7162174
gnu: Add r-word2vec.
...
* gnu/packages/cran.scm (r-word2vec): New variable.
2023-06-14 14:09:35 +02:00
Ricardo Wurmus
4699de59ff
import/cran: Add another clause for ASL 2.0.
...
* guix/import/cran.scm (string->license): Add clause for >= 2.0.
2023-06-14 14:09:35 +02:00
Ricardo Wurmus
706bf5f0c2
gnu: python-shapely: Update to 2.0.1.
...
* gnu/packages/python-xyz.scm (python-shapely): Update to 2.0.1.
[arguments]: Remove 'patch-geos-path build phase; add 'build-extensions phase.
[build-system]: Use pyproject-build-system.
2023-06-14 14:09:35 +02:00
Ricardo Wurmus
49711f621b
gnu: Add r-doc2vec.
...
* gnu/packages/cran.scm (r-doc2vec): New variable.
2023-06-14 14:09:34 +02:00
Ricardo Wurmus
6b34433c90
gnu: Add r-openai.
...
* gnu/packages/cran.scm (r-openai): New variable.
2023-06-14 14:09:34 +02:00
Efraim Flashner
9edf093e58
gnu: python-blosc: Enable tests.
...
* gnu/packages/python-xyz.scm (python-blosc)[arguments]: Don't disable
tests. Add custom 'check phase.
[native-inputs]: Add cmake-minimal.
2023-06-14 14:52:23 +03:00
Efraim Flashner
3573c82747
gnu: python-blosc: Update to 1.11.1.
...
* gnu/packages/python-xyz.scm (python-blosc): Update to 1.11.1.
[source]: Update snippet.
[arguments]: Adjust custom 'find-blosc phase.
[propagated-inputs]: Add python-scikit-build.
2023-06-14 14:52:23 +03:00
Efraim Flashner
071ee5856d
gnu: python-blosc: Build with packaged blosc.
...
* gnu/packages/python-xyz.scm (python-blosc)[source]: Add snippet to
remove bundled sources.
[arguments]: Add a custom phase to set location of blosc.
[inputs]: Add c-blosc.
2023-06-14 14:52:23 +03:00
Sharlatan Hellseher
339be9dad5
gnu: Add python-jwst.
...
* gnu/packages/astronomy.scm (python-jwst): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-14 14:52:23 +03:00
Sharlatan Hellseher
37bfbd4fcf
gnu: Add python-stcal.
...
* gnu/packages/astronomy.scm (python-stcal): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-14 14:52:23 +03:00
Sharlatan Hellseher
f9616163d0
gnu: Add python-drizzle.
...
* gnu/packages/astronomy.scm (python-drizzle): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-14 14:52:23 +03:00
Sharlatan Hellseher
2b085c4b41
gnu: Add python-wiimatch.
...
* gnu/packages/astronomy.scm (python-wiimatch): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-14 14:52:23 +03:00
Sharlatan Hellseher
2095fe7b96
gnu: Add python-bayesicfitting.
...
* gnu/packages/astronomy.scm (python-bayesicfitting): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-14 14:52:22 +03:00
Sharlatan Hellseher
e5b8a87b40
gnu: Add python-stpipe.
...
* gnu/packages/astronomy.scm (python-stpipe): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-14 14:52:22 +03:00
Sharlatan Hellseher
2ff1c352d4
gnu: Add python-stdatamodels.
...
* gnu/packages/astronomy.scm (python-stdatamodels): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-14 14:52:22 +03:00
Sharlatan Hellseher
23bc5e12d4
gnu: Add python-crds.
...
* gnu/packages/astronomy.scm (python-crds): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-14 14:52:22 +03:00
Sharlatan Hellseher
0ce76141bf
gnu: Add python-parsley.
...
* gnu/packages/python-xyz.scm (python-parsley): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-14 14:52:22 +03:00
Sharlatan Hellseher
3a952dc04c
gnu: Add python-stsynphot.
...
* gnu/packages/astronomy.scm (python-stsynphot): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-14 14:52:22 +03:00
Sharlatan Hellseher
c0dfd04709
gnu: Add python-synphot.
...
* gnu/packages/astronomy.scm (python-synphot): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-14 14:52:22 +03:00
Sharlatan Hellseher
308bee5f00
gnu: Add python-tweakwcs.
...
* gnu/packages/astronomy.scm (python-tweakwcs): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-14 14:52:22 +03:00
Sharlatan Hellseher
95c1e5121a
gnu: Add python-stsci-stimage.
...
* gnu/packages/astronomy.scm (python-stsci-stimage): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-14 14:52:22 +03:00
Sharlatan Hellseher
995443acac
gnu: Add python-stsci-imagestats.
...
* gnu/packages/astronomy.scm (python-stsci-imagestats): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-14 14:52:22 +03:00
Sharlatan Hellseher
04cf30e153
gnu: Add python-stsci-image.
...
* gnu/packages/astronomy.scm (python-stsci-image): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-14 14:52:22 +03:00
Sharlatan Hellseher
8c1171da28
gnu: Add python-roman-datamodels.
...
* gnu/packages/astronomy.scm (python-roman-datamodels): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-14 14:52:21 +03:00
Sharlatan Hellseher
2ff90902c0
gnu: Add python-rad.
...
* gnu/packages/astronomy.scm (python-rad): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-14 14:52:21 +03:00
Sharlatan Hellseher
b08be61a02
gnu: Add python-pysynphot.
...
* gnp/packages/astronomy.scm (python-pysynphot): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-14 14:52:21 +03:00
Efraim Flashner
f9b8f38908
gnu: glibc-2.33: Fix building for riscv64-linux.
...
* gnu/packages/base.scm (glibc-2.33)[source]: Add patch.
* gnu/packages/patches/glibc-2.33-riscv64-miscompilation.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2023-06-14 14:52:21 +03:00
Efraim Flashner
f3114ac4f0
system: images: Add unmatched module.
...
* gnu/system/images/unmatched.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2023-06-14 14:52:21 +03:00
Efraim Flashner
cd55aa9801
gnu: image: Add support for unformatted partitions.
...
* gnu/build/image.scm (make-unformatted-image): New procedure.
(make-partition-image): Add support for unformatted partition.
* gnu/system/image.scm (system-disk-image)[partition->gpt-type]: Add
case for using unformatted partition uuid.
2023-06-14 14:52:21 +03:00
Efraim Flashner
39250fc622
gnu: bootloader: Add u-boot-sifive-unmatched-bootloader.
...
* gnu/bootloader/u-boot.scm (install-sifive-unmatched-u-boot,
u-boot-sifive-unmatched-bootloader): New variables.
2023-06-14 14:52:21 +03:00
Efraim Flashner
3e5083b182
gnu: opencv: Fix building on riscv64-linux.
...
* gnu/packages/image-processing.scm (opencv)[arguments]: Adjust the
custom 'disable-broken-tests phase to adjust or skip some tests when
building for riscv64-linux.
2023-06-14 14:52:18 +03:00