Commit graph

97639 commits

Author SHA1 Message Date
Maxim Cournoyer
e05cac9080
gnu: python-pep8-naming: Update to 0.13.0.
* gnu/packages/python-xyz.scm (python-pep8-naming): Update to 0.13.0.
[propagated-inputs]: Remove python-flake8-polyfill.
2022-06-07 09:11:04 -04:00
Maxim Cournoyer
e326552698
gnu: python-radon: Update to 5.1.0.
* gnu/packages/python-xyz.scm (python-radon): Update to 5.1.0.
[propagated-inputs]: Remove python-flake8-polyfill.
2022-06-07 09:11:03 -04:00
Josselin Poiret
0aa4311790
gnu: install: Add uvesafb service only on targets that support v86d.
Fixes <https://issues.guix.gnu.org/55806>.

* gnu/system/install.scm (%installation-services): Refactor into a
procedure, so that it can capture the system it's installing for.
Conditionally add uvesafb-service-type based on whether v86d is
supported by the target architecture.
(installation-os)[services]: Use the %installation-service procedure.
(uvesafb-shepherd-service): Remove %host-type checks.

Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
2022-06-07 11:49:18 +02:00
Efraim Flashner
478d2e4b02
gnu: python-flake8-polyfill: Update home-page.
* gnu/packages/python-xyz.scm (python-flake8-polyfill)[home-page]: Update
to new upstream URI.
2022-06-07 09:25:33 +03:00
Efraim Flashner
0fd5222ad6
gnu: python-flake8-polyfill: Honor tests? flag.
* gnu/packages/python-xyz.scm (python-flake8-polyfill)[arguments]:
Adjust custom 'check phase to honor the #:tests? flag.
2022-06-07 09:24:14 +03:00
Efraim Flashner
49a47bdcc5
gnu: python-flake8-polyfill: Fix building with python-flake8@4.
* gnu/packages/python-xyz.scm (python-flake8-polyfill)[source]: Add patch.
* gnu/packages/patches/python-flake8-polyfill-flake8-4-compat.patch: New
file.
* gnu/local.mk (dist_patch_DATA): Register it.
2022-06-07 09:22:35 +03:00
Petr Hodina
7e7c8b253c
gnu: python-flake8: Update to 4.0.1.
* gnu/packages/python-xyz.scm (python-flake8): Update to 4.0.1.
[source]: Remove snippet.
[arguments]: Respect tests?.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-06-07 09:14:04 +03:00
Petr Hodina
2660f99b57
gnu: python-pycodestyle: Update to 2.8.0.
* gnu/packages/python-xyz.scm (python-pycodestyle): Update to 2.8.0.
[arguments]: Respect tests?.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-06-07 09:13:52 +03:00
Leo Famulari
2680f30a2e
gnu: Borg: Update to 1.2.1.
* gnu/packages/backup.scm (borg): Update to 1.2.1.
2022-06-06 22:57:26 -04:00
Leo Famulari
b04c338265
gnu: python-msgpack: Update to 1.0.4.
* gnu/packages/python-xyz.scm (python-msgpack): Update to 1.0.4.
2022-06-06 22:57:14 -04:00
Tobias Geerinckx-Rice
80683d29f4
gnu: perl-catalyst-devel: Update to 1.42.
* gnu/packages/web.scm (perl-catalyst-devel): Update to 1.42.
2022-06-05 02:00:18 +02:00
Tobias Geerinckx-Rice
f6eab5abce
gnu: perl-xml-compile-soap: Update to 3.27.
* gnu/packages/xml.scm (perl-xml-compile-soap): Update to 3.27.
[propagated-inputs]: Replace perl-file-slurp-tiny with perl-file-slurper.
2022-06-05 02:00:00 +02:00
Tobias Geerinckx-Rice
0ace58b99c
daemon: Quote consistently within a string.
* nix/libstore/build.cc (DerivationGoal::registerOutput): ‘’ → `'.
2022-06-05 02:00:00 +02:00
Tobias Geerinckx-Rice
e3b94eddf6
gnu: sudo: Update to 1.9.11.
* gnu/packages/admin.scm (sudo): Update to 1.9.11.
2022-06-05 02:00:00 +02:00
Tobias Geerinckx-Rice
7f2328b7df
gnu: guvcview: Update to 2.0.8.
* gnu/packages/video.scm (guvcview): Update to 2.0.8.
[inputs]: Add bdb and libjpeg-turbo.
2022-06-05 02:00:00 +02:00
Tobias Geerinckx-Rice
aeca46ae0f
doc: Remove left-over MIPS.
* doc/guix.texi (Additional Build Options): Substitute aarch64 for MIPS.
2022-06-05 02:00:00 +02:00
Leo Famulari
337441609c
gnu: mu: Update to 1.6.11.
* gnu/packages/mail.scm (mu): Update to 1.6.11.
2022-06-06 20:53:49 -04:00
Leo Famulari
3b4e56c953
gnu: Mutt: Update to 2.2.6.
* gnu/packages/mail.scm (mutt): Update to 2.2.6.
2022-06-06 20:53:49 -04:00
Vagrant Cascadian
5850f1e99a
gnu: virtuoso-ose: Do not embed kernel version and timestamps.
* gnu/packages/databases.scm (virtuoso-ose)[arguments]: Add
  'avoid-embedding-kernel-and-timestamps phase.
2022-06-06 15:08:24 -07:00
Vagrant Cascadian
da115f9f7a
gnu: uim: Build reproducibly.
* gnu/packages/xorg.scm (uim)[arguments]: Disable parallel build.
2022-06-06 15:08:21 -07:00
Vagrant Cascadian
964cdd57fa
gnu: discrover: Use reproducible timestamps.
* gnu/packages/bioinformatics.scm (discrover)[arguments]: Add
  'set-force-source-date phase.
2022-06-06 15:08:18 -07:00
Vagrant Cascadian
8bac52e6f3
gnu: perl-term-size-perl: Remove timestamps.
* gnu/packages/perl.sc (perl-term-size-perl)[arguments]: Add
  'remote-timestamps phase.
2022-06-06 13:50:50 -07:00
Vagrant Cascadian
a04a987450
gnu: itpp: Avoid embedding build dates.
* gnu/packages/maths.scm (itpp): Add 'set-man-page-date and
  'set-force-source-date phases.
2022-06-06 13:50:46 -07:00
Ludovic Courtès
264ca9452f
services: syslogd: Do not fsync at each line.
Fixes <https://issues.guix.gnu.org/55707>.

Previously Inetutils' syslogd would call 'fsync' after each line written
to a file.  This would significantly increase boot times on machines
with slow-ish spinning HDDs, where each 'fsync' call would take between
0.1s and 0.4s (and we'd do two of them for each line, one for
/var/log/messages and one for /var/log/debug).

* gnu/services/base.scm (%default-syslog.conf): Add a '-' before each
file name, except /var/log/secure.  Change what goes to /var/log/debug.
2022-06-06 22:43:31 +02:00
Ludovic Courtès
635d49f97e
packages: Use SRFI-71 instead of SRFI-11.
* gnu/packages.scm (%package-module-path): Use 'let*' instead of
'let*-values'.
(specification->package, specification->location)
(specification->package+output): Use 'let' instead of 'let-values'.
2022-06-06 22:43:30 +02:00
Antero Mejr
7041fe0646
packages: Add 'specifications->packages'.
* gnu/packages.scm (specifications->packages): New procedure.
* guix/scripts/home/import.scm (manifest+configuration-files->code): Use it.
* tests/home-import.scm (match-home-environment-no-services)
(match-home-environment-no-services-nor-packages)
(match-home-environment-bash-service)
(match-home-environment-bash-service-with-alias): Adjust 'packages'
field accordingly.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-06-06 22:43:30 +02:00
Peter Polidoro
f08bfca083
gnu: Add python-progress.
* gnu/packages/python-xyz.scm (python-progress): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-06 22:43:30 +02:00
Peter Polidoro
2aceb1e13e
gnu: Add python-canopen.
* gnu/packages/python-xyz.scm (python-canopen): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-06 22:43:30 +02:00
Karl Hallsby
618f665a5f
bootloader: grub: Add removable grub-efi bootloader option.
For single-disk installs (external USBs) and for amnesiac UEFIs, Guix is not
found using its default Grub EFI bootloader location of
/boot/efi/EFI/Guix/grubx64.efi means the Guix install will not be found.

To handle this, we can place the bootloader file in the UEFI specification
location, overwriting any other OS that may have placed a file there. This
location is namely /boot/efi/EFI/BOOT/BOOTX64.efi. Grub has explicit support
for this location/situation with the `--removable` flag.

* gnu/bootloader/grub.scm (install-grub-efi-removable)
(grub-efi-removable-bootloader): New variables.
* doc/guix.texi (Bootloader Configuration): Document it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-06 22:43:30 +02:00
Arun Isaac
e614cf2907
gnu: guile-xapian: Update to 0.2.0.
* gnu/packages/guile-xyz.scm (guile-xapian): Update to 0.2.0.
[source]: Remove modules and snippet setting LD_LIBRARY_PATH.
2022-06-07 01:20:53 +05:30
Efraim Flashner
b995c1bd10
gnu: python-flake8: Allow building with newer python-pyflakes.
* gnu/packages/python-xyz.scm (python-flake8)[source]: Add snippet to
remove upper bound on dependency python-pyflakes version.
2022-06-06 22:18:36 +03:00
Maxim Cournoyer
b9c8c3585b
gnu: Add python-labjack.
* gnu/packages/python-xyz.scm (python-labjack): New variable.
2022-06-06 13:32:34 -04:00
Maxim Cournoyer
1c7d5b1c82
gnu: Add python-exodriver.
* gnu/packages/python-xyz.scm (python-exodriver): New variable.
2022-06-06 13:27:39 -04:00
Maxim Cournoyer
1d0d46b1c7
system: Fix typo, add doc.
* gnu/system.scm (operating-system-kernel-arguments): Fix typo in doc.
(boot-parameters->menu-entry): Add doc.
2022-06-06 11:29:51 -04:00
Tobias Geerinckx-Rice
2bcc6d5b1d
gnu: xsecurelock: Remove input labels.
* gnu/packages/xdisorg.scm (xsecurelock)[inputs]:
Remove input labels.
2022-06-05 02:00:00 +02:00
Tobias Geerinckx-Rice
2ea908b0a5
gnu: xsecurelock: Update setuid example in description.
* gnu/packages/xorg.scm (xsecurelock)[description]: Update example code.
2022-06-05 02:00:00 +02:00
Tobias Geerinckx-Rice
b6854fb26f
gnu: papirus-icon-theme: Remove input labels.
* gnu/packages/gnome-xyz.scm (papirus-icon-theme)[native-inputs]:
Remove input labels.
2022-06-05 02:00:00 +02:00
Tobias Geerinckx-Rice
5fc41bb758
gnu: papirus-icon-theme: Update to 20220508.
* gnu/packages/gnome-xyz.scm (papirus-icon-theme): Update to 20220508.
2022-06-05 02:00:00 +02:00
Jelle Licht
e71f35df74
gnu: node: Fix cross-compilation.
* gnu/packages/node.scm (node)[phases]{configure}: Unwind the stack before
invoking the exception handler.
{patch-hardcoded-program-references}: Use search-input-file where appropriate.
2022-06-06 15:38:23 +02:00
Jelle Licht
6b96ef08b9
gnu: node-lts: Update to 14.19.3.
* gnu/packages/node.scm (node-lts): Update to 14.19.3.
[arguments]: Disable test that requires networking.
[native-inputs]: Replace icu4c-67 with icu4c-70.
[inputs]: Replace icu4c-67 with icu4c-70.
2022-06-06 15:38:18 +02:00
Ricardo Wurmus
e6df9f92f5
gnu: python-rope: Update to 1.1.1.
* gnu/packages/python-xyz.scm (python-rope): Update to 1.1.1.
[arguments]: Add build phase to disable broken test.
[native-inputs]: Add python-pytest and python-pytest-timeout.
[description]: Remove explicit mention of Python 2.
2022-06-06 15:31:18 +02:00
Lars-Dominik Braun
143141726e
import: hackage: Filter upper/mixed case dependencies too.
* guix/import/hackage.scm (filter-dependencies): Convert OWN-NAMES
to lowercase before filtering.
(hackage-module->sexp): Remove #f from OWN-NAMES, which is used for
unnamed (default) libraries.
* tests/hackage.scm (test-cabal-internal-library-ignored): Add mismatched
uppercase letters.
2022-06-06 13:26:51 +02:00
Lars-Dominik Braun
dedfcaa8e2
import: hackage: Filter internal libraries from inputs and native-inputs.
Fixes <https://issues.guix.gnu.org/54760>.

* guix/import/hackage.scm (filter-dependencies): Support multiple
OWN-NAMES.
(hackage-module->sexp): Filter OWN-NAMES from HACKAGE-DEPENDENCIES and
HACKAGE-NATIVE-DEPENDENCIES.
* tests/hackage.scm (test-cabal-internal-library-ignored): New variable.
("hackage->guix-package test internal libraries are ignored"): New testcase.
2022-06-06 13:26:45 +02:00
Lars-Dominik Braun
c3fbaee345
import: cabal: Support library names
* guix/import/cabal.scm (make-cabal-parser): Add name to section.
(is-lib): Add optional name to regular expression.
(lex-rx-res): Support selecting different substring.
(lex-lib): Match 2nd substring from IS-LIB.
(lex-line): Adapt to changes for lex-lib.
(cabal-library): Add name field and export CABAL-LIBRARY-NAME.
(eval): Remove special case for 'library, which is not required any more.
(make-cabal-section): Move special case for LIBRARY.
* tests/hackage.scm (test-read-cabal-library-name): New variable.
("read-cabal test 1"): Adapt testcase to changed internal structure.
("read-cabal test: library name"): New testcase.
2022-06-06 13:26:45 +02:00
Lars-Dominik Braun
f4763ec37d
import: cabal: Document failing syntax through tests.
* tests/hackage.scm (test-read-cabal-brackets-newline): New variable.
(test-cabal-no-final-newline): Likewise.
("hackage->guix-package test without final newline",
"read-cabal test: property brackets on new line"): New tests.
2022-06-06 13:26:45 +02:00
Lars-Dominik Braun
e3337f35af
import: cabal: Allow curly bracket before else statement.
* guix/import/cabal.scm (is-else): Turn into procedure.
(lex-line): Move IS-ELSE…
(lex-word): …here.
* tests/hackage.scm (test-cabal-elif-brackets): Extend testcase.
2022-06-06 13:26:45 +02:00
Lars-Dominik Braun
001e0bac99
import: cabal: Allow properties without space between key and value.
* guix/import/cabal.scm (lex-word): Add colon to delimiters.
* tests/hackage.scm (test-cabal-property-no-space): New variable.
("hackage->guix-package test properties without space"): New test.
2022-06-06 13:26:45 +02:00
Lars-Dominik Braun
0972feaff1
import: cabal: Allow curly brackets in more positions.
* guix/import/cabal.scm (is-layout-property): Do not expect end of line.
(lex-layout-property): Check for newline.
(lex-property): Stop reading on closing curly bracket.
* tests/hackage.scm (test-read-cabal-2): New variable.
("read-cabal test: if brackets on the same line"): New test.
2022-06-06 13:26:45 +02:00
Lars-Dominik Braun
2c5d18e421
import: cabal: Support elif statement.
Fixes <https://issues.guix.gnu.org/54752>.

* guix/import/cabal.scm (make-cabal-parser): Replace if-then-else grammar case with elif-else, modify if-then accordingly.
(is-elif): New procedure.
(lex-elif): Likewise.
(is-id): Add elif keyword.
(lex-word): Add test for elif.
* tests/hackage.scm (test-cabal-if): New variale.
(test-cabal-else): Likewise.
(test-cabal-elif): Likewise.
(test-cabal-elif-brackets): Likewise.
(match-ghc-elif): Likewise.
("hackage->guix-package test lonely if statement",
"hackage->guix-package test else statement",
"hackage->guix-package test elif statement",
"hackage->guix-package test elif statement with brackets"): New tests.
2022-06-06 13:26:09 +02:00
Vagrant Cascadian
0c6123f8aa
gnu: aqbanking: Do not embed build date.
* gnu/packages/gnucash.scm (aqbanking)[arguments]: Add
  'use-version-instead-of-date phase.
2022-06-05 22:56:09 -07:00