me
/
guix
Archived
1
0
Fork 0
Commit Graph

86246 Commits (757c9425ba40df98ffe9eb36973be11c13c57d6d)

Author SHA1 Message Date
Ludovic Courtès 10208952ea
environment: Add tests for '--profile'.
This is a followup to a643deac2d.

* tests/guix-environment-container.sh, tests/guix-environment.sh: Add
tests for '--profile'.
2021-10-25 19:02:32 +02:00
Ludovic Courtès 746584e0ca
shell: By default load the local 'manifest.scm' or 'guix.scm' file.
* guix/scripts/shell.scm (parse-args): Add call to 'auto-detect-manifest'.
(authorized-directory-file, authorized-shell-directory?)
(find-file-in-parent-directories, auto-detect-manifest): New procedures.
* tests/guix-shell.sh: Add test.
* doc/guix.texi (Invoking guix shell): Document it.
2021-10-25 19:02:23 +02:00
Ludovic Courtès 80edb7df65
Add 'guix shell'.
* guix/scripts/shell.scm, tests/guix-shell.sh: New files.
* Makefile.am (MODULES): Add 'shell.scm'.
(SH_TESTS): Add 'tests/guix-shell.sh'.
* guix/scripts/environment.scm (show-environment-options-help): New
procedure.
(show-help): Use it.
(guix-environment*): New procedure.
(guix-environment): Use it.
* po/guix/POTFILES.in: Add it.
* doc/guix.texi (Features): Refer to "guix shell"
(Invoking guix package): Likewise.
(Development): Likewise.
(Invoking guix shell): New node.
(Invoking guix environment): Add deprecation warning.
(Debugging Build Failures): Use 'guix shell' in examples.
(Invoking guix container): Refer to 'guix shell'.
(Invoking guix processes, Virtualization Services): Adjust examples to
use 'guix shell'.
* doc/contributing.texi (Building from Git): Refer to 'guix shell'.
* etc/completion/bash/guix: Handle "shell".
2021-10-25 18:58:18 +02:00
Ludovic Courtès 23f99f1a29
profiles: Add 'package->development-manifest'.
* guix/profiles.scm (package->development-manifest): New procedure.
* guix/scripts/environment.scm (input->manifest-entry)
(package-environment-inputs): Remove.
* guix/scripts/environment.scm (options/resolve-packages): Use
'package->development-manifest' instead of 'package-environment-inputs'.
* tests/profiles.scm ("package->development-manifest"): New test.
2021-10-25 15:29:42 +02:00
Ludovic Courtès fb368f4e76
packages: Add 'package-development-inputs'.
* guix/packages.scm (package-development-inputs): New procedure.
* guix/scripts/environment.scm (package-environment-inputs): Use it.
* tests/packages.scm ("package-development-inputs")
("package-development-inputs, cross-compilation"): New tests.
* doc/guix.texi (package Reference): Document it.
2021-10-25 15:29:39 +02:00
Morgan Smith e4276fc4c1
gnu: mspdebug: Update to 0.25-0.4c4d94e.
* gnu/packages/debug.scm (mspdebug): Update to 0.25-0.4c4d94e.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-25 14:32:59 +02:00
Jacob Adams 1ea032fb5f
services: rsync: support binding rsync to a specific IP address
* gnu/services/rsync.scm (<rsync-configuration>)[address]: New field.
(rsync-config-file): Honor it.
* doc/guix.texi (Networking Services): Document new address rsync
configuration option.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-25 14:32:59 +02:00
Olivier Dion 69b249ecae
gnu: Add lttng-tools.
* gnu/packages/linux.scm (lttng-tools): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-25 14:32:59 +02:00
Ludovic Courtès b87fe805aa
gnu: python-peachpy: Make output deterministic.
Fixes <https://issues.guix.gnu.org/50672>.

This makes users of python-peachpy bit-reproducible, such as nnpack.

* gnu/packages/patches/python-peachpy-determinism.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/python-xyz.scm (python-peachpy)[source]: Use it.

Co-authored-by: Kyle Meyer <kyle@kyleam.com>
2021-10-25 14:32:59 +02:00
Guillaume Le Vaillant cab17c1c37
gnu: zimg: Update to 3.0.3.
* gnu/packages/image.scm (zimg): Update to 3.0.3.
2021-10-25 13:58:57 +02:00
Thiago Jung Bauermann 8e30922767
gnu: mariadb: Don’t run tests in parallel on ppc64le targets.
* gnu/packages/databases.scm (mariadb)[arguments]: Set ‘#:parallel-tests?’
for powerpc64le machines.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-10-25 14:11:11 +03:00
Efraim Flashner 4e4516599a
gnu: python-pandas: Update to 1.3.4.
* gnu/packages/python-science.scm (python-pandas): Update to 1.3.4.
2021-10-25 14:01:32 +03:00
Efraim Flashner c8c35af8ac
gnu: python-pandas: Fix building with pytest-6.
* gnu/packages/python-science.scm (python-pandas)[arguments]: In custom
'check phase adjust to not fail tests with missing test data.
2021-10-25 14:01:32 +03:00
Efraim Flashner a0400dc9a5
gnu: python-pandas: Honor #:tests? flag.
* gnu/packages/python-science.scm (python-pandas)[arguments]: Adjust
custom 'check phase to honor the #:tests? flag.
2021-10-25 14:01:32 +03:00
Efraim Flashner ab961fe542
gnu: python-cython: Honor #:tests? flag.
* gnu/packages/python-xyz.scm (python-cython)[arguments]: Adjust custom
'check phase to honor the #:tests? flag.
2021-10-25 14:01:32 +03:00
Efraim Flashner 2de88bcd7a
gnu: python-cython: Update to 0.29.24.
* gnu/packages/python-xyz.scm (python-cython): Update to 0.29.24.
[arguments]: Adjust custom 'check phase to skip one test. Remove
trailing #t from phases.
2021-10-25 14:01:32 +03:00
Guillaume Le Vaillant 988eb73d5b
gnu: gnuradio: Disable a randomly failing test.
* gnu/packages/radio.scm (gnuradio)[arguments]: Add qa_rotator_cc to the list
  of disabled tests.
2021-10-25 11:45:53 +02:00
Guillaume Le Vaillant 78a7c7f078
gnu: python-pyqtgraph: Disable one failing test.
* gnu/packages/python-xyz.scm (python-pyqtgraph)[arguments]: Add test_reload
  to list of disabled tests.
2021-10-25 11:31:56 +02:00
Guillaume Le Vaillant f3496c2b5c
gnu: hexchat: Fix build.
* gnu/packages/messaging.scm (hexchat)[arguments]: Use GUIX_PYTHONPATH instead
  of PYTHONPATH in 'wrap-program' phase.
2021-10-25 11:13:04 +02:00
Foo Chuan Wei bb524f43fb
gnu: Add vim-gitgutter.
* gnu/packages/vim.scm (vim-gitgutter): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-10-25 11:02:40 +03:00
Foo Chuan Wei ebd999c5d8
gnu: Add vim-mucomplete.
* gnu/packages/vim.scm (vim-mucomplete): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-10-25 10:16:37 +03:00
Vagrant Cascadian fb3b26b2ab
gnu: reprotest: Update to 0.7.18.
* gnu/packages/diffoscope.scm (reprotest): Update to 0.7.18.
2021-10-24 17:28:46 -07:00
Ricardo Wurmus 2640da8410
gnu: java-cisd-args4j: Copy instead of unpacking input.
* gnu/packages/java.scm (java-cisd-args4j)[arguments]: Do not unpack
build-resources input; just copy the contents.
2021-10-24 23:26:59 +00:00
Ricardo Wurmus 41e5c12c4a
gnu: sailfish: Use TBB 2020.
* gnu/packages/bioinformatics.scm (sailfish)[inputs]: Replace tbb with
tbb-2020.
2021-10-24 21:38:25 +00:00
Ricardo Wurmus 1bf55a4850
gnu: sailfish: Remove trailing #T.
* gnu/packages/bioinformatics.scm (sailfish)[arguments]: Remove trailing #T in
build phases...
[inputs]: ...and in the origin snippet of "rapmap".
2021-10-24 21:37:39 +00:00
Ricardo Wurmus 4392783232
gnu: sailfish: Do not attempt to unpack a directory.
patch-and-repack no longer outputs a compressed archive when the input was a
directory.

* gnu/packages/bioinformatics.scm (sailfish)[arguments]: Adjust build phase
'prepare-rapmap.
2021-10-24 21:35:57 +00:00
Ricardo Wurmus 57c233b37b
gnu: jellyfish: Remove Ruby bindings.
These bindings no longer build and we have no package that would need them.

* gnu/packages/bioinformatics.scm (jellyfish)[outputs]: Remove "ruby" output.
[arguments]: Remove option for building Ruby bindings.
[native-inputs]: Remove ruby.
2021-10-24 21:34:26 +00:00
Vagrant Cascadian b5f45a21c2
lint: Add description check for common typos.
Fixes: https://issues.guix.gnu.org/44675

* guix/lint.scm (check-description-typo): Add check for occurences of
  "This packages", "This modules", "allows to" and "permits to" in package
  descriptions.
* tests/lint.scm: Add tests for "This packages" and "allows to".
2021-10-24 14:26:12 -07:00
Ricardo Wurmus da526f33f2
gnu: cutadapt: Regenerate Cython files.
* gnu/packages/bioinformatics.scm (cutadapt)[arguments]: Add phase
'always-cythonize.
2021-10-24 21:23:20 +00:00
Vagrant Cascadian 65be27dcfd
gnu: u-boot: Update to 2021.10.
* gnu/packages/bootloaders.scm (%u-boot-allow-disabling-openssl-patch): New variable.
  (u-boot): Update to 2021.10.
  Add patch fixing build without openssl.
  (u-boot-qemu-riscv64-smode):
  Add patch fixing build without openssl.
  (u-boot-tools): Adjust phases to disable CONFIG_TOOLS_LIBCRYPTO.
  (make-u-boot-package): Add phase disabling CONFIG_TOOLS_LIBCRYPTO.
* gnu/packages/patches/u-boot-allow-disabling-openssl.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add patch.
2021-10-24 13:51:37 -07:00
Vagrant Cascadian efe0c3d759
gnu: arm-trusted-firmware: Update to 2.5.
* gnu/packages/firmware (make-arm-trusted-firmware): Update to 2.5.
2021-10-24 13:51:34 -07:00
Ricardo Wurmus 3eeae68af1
gnu: python-requests-unixsocket: Fix tests.
* gnu/packages/python-web.scm (python-requests-unixsocket)[arguments]: Do not
run tests with --pep8 option; only run tests when enabled.
2021-10-24 20:49:46 +00:00
Liliana Marie Prikler be5216efcc
gnu: python2-renpy: Update to 7.4.10.
* gnu/packages/game-development.scm (python2-renpy): Update to 7.4.10.
[snippet]: No longer drop "gen" directory, it's not in this release.
2021-10-24 22:28:28 +02:00
Liliana Marie Prikler 1636acaac5
gnu: python2-pygame-sdl2: Update to renpy-version 7.4.10.
* gnu/packages/game-development.scm (python2-pygame-sdl2): Update to
renpy-version 7.4.10.
2021-10-24 22:27:31 +02:00
Ricardo Wurmus b67013c8ca
gnu: python-mpmath: Update to 1.2.1.
* gnu/packages/python-xyz.scm (python-mpmath): Update to 1.2.1.
[source]: Fetch from git.
[arguments]: Run tests directly with pytest; set the version with setuptools.
[native-inputs]: Add python-setuptools-scm.
2021-10-24 20:10:26 +00:00
Ricardo Wurmus 722c4685f0
gnu: java-commons-io: Replace %build-inputs with gexp.
* gnu/packages/java.scm (java-commons-io)[arguments]: Do not use
%build-inputs; use gexp with this-package-native-inputs instead.
2021-10-24 20:02:54 +00:00
Ricardo Wurmus 4faca03bed
gnu: python-dnaio: Update to 0.6.0.
* gnu/packages/bioinformatics.scm (python-dnaio): Update to 0.6.0.
2021-10-24 19:47:20 +00:00
Ricardo Wurmus 88919aa8a2
gnu: python-xopen: Update to 0.8.2.
* gnu/packages/python-xyz.scm (python-xopen): Update to 0.8.2.
2021-10-24 19:47:02 +00:00
Ricardo Wurmus 238f47c76f
gnu: macs: Fix build by setting HOME.
* gnu/packages/bioinformatics.scm (macs)[arguments]: Add build phase to set
HOME variable.
2021-10-24 19:09:35 +00:00
Ricardo Wurmus 1d01043a4f
gnu: methyldackel: Remove trailing #T.
* gnu/packages/bioinformatics.scm (methyldackel)[arguments]: Remove trailing #T
from build phase.
2021-10-24 19:01:22 +00:00
Ricardo Wurmus 2820b03509
gnu: methyldackel: Pass -fcommon to compiler.
* gnu/packages/bioinformatics.scm (methyldackel)[arguments]: Add -fcommon to
CFLAGS.
2021-10-24 19:00:53 +00:00
Timothy Sample ab8c08c519
gnu: disarchive: Update to 0.3.0.
* gnu/packages/backup.scm (disarchive): Update to 0.3.0.
[source]: Remove cross-compilation patch.
[arguments]: Remove field.
* gnu/packages/patches/disarchive-cross-compilation.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2021-10-24 14:56:30 -04:00
Ricardo Wurmus cc331ad7eb
gnu: flexbar: Use TBB 2020.
* gnu/packages/bioinformatics.scm (flexbar)[inputs]: Replace tbb with
tbb-2020.
2021-10-24 18:50:09 +00:00
Ricardo Wurmus 084bdf9d69
gnu: flexbar: Remove trailing #T.
* gnu/packages/bioinformatics.scm (flexbar)[arguments]: Remove trailing #T
from all build phases.
2021-10-24 18:49:43 +00:00
Ricardo Wurmus d0a1d798ee
gnu: bwa: Remove trailing #T.
* gnu/packages/bioinformatics.scm (bwa)[arguments]: Remove trailing #T in
build phase.
2021-10-24 18:48:53 +00:00
Ricardo Wurmus 2da99b671e
gnu: bwa: Pass -fcommon to compiler.
* gnu/packages/bioinformatics.scm (bwa)[arguments]: Add -fcommon option to
CFLAGS.
2021-10-24 18:48:20 +00:00
Ricardo Wurmus 724972bcca
gnu: bowtie1: Use TBB 2020.
* gnu/packages/bioinformatics.scm (bowtie1)[inputs]: Replace tbb with
tbb-2020.
2021-10-24 18:47:45 +00:00
Ricardo Wurmus f336cc4fe7
gnu: bowtie: Replace invalid characters.
* gnu/packages/bioinformatics.scm (bowtie)[arguments]: Replace invalid quotes
with straight quotes in the 'configure phase.
2021-10-24 18:44:57 +00:00
Liliana Marie Prikler 505d53a4b4
gnu: Add clingo.
* gnu/packages/maths.scm (clingo): New variable.
2021-10-24 20:25:02 +02:00
Liliana Marie Prikler 2dfc574b13
gnu: Add clasp.
* gnu/packages/maths.scm (clasp): New variable.
2021-10-24 20:25:02 +02:00