Commit Graph

97594 Commits

Author SHA1 Message Date
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
Vagrant Cascadian
ae1d8d6a6f
gnu: timescaledb: Do not embed running kernel version.
* gnu/packages/databases.scm (timescaledb)[arguments]: Add
  'remove-kernel-version phase.
2022-06-05 21:37:27 -07:00
Vagrant Cascadian
ce6d8ca443
gnu: ncftp: Build reproducibly.
* gnu/packages/patches/ncftp-reproducible.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/ftp.scm (ncftp): Add patch.
2022-06-05 20:27:37 -07:00
Vagrant Cascadian
41cf573f0a
gnu: sendmail: Remove timestamps.
* gnu/packages/mail.scm (sendmail)[arguments]: Add 'remove-build-timestamps
  phase.
2022-06-05 17:31:35 -07:00
Vagrant Cascadian
89ab76b810
gnu: autogen: Use reproducible date for man pages.
* gnu/packages/autogen.scm (autogen)[arguments]: Add 'set-man-page-date phase.
2022-06-05 17:10:13 -07:00
Vagrant Cascadian
14783af536
gnu: rhino: Remove build timestamps.
* gnu/packages/javascript.scm (rhino)[arguments]: Add 'remove-build-dates
  phase.
2022-06-05 17:10:10 -07:00
Vagrant Cascadian
7f85e7ce49
gnu: transmission: Do not embed kernel version in user agent.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Add
  'remove-kernel-version phase.
2022-06-05 17:10:07 -07:00
Liliana Marie Prikler
52cb6e6310
gnu: python-flake8: Update to 3.9.2.
* gnu/packages/python-xyz.scm (python-flake8): Update to 3.9.2.
2022-06-05 23:56:59 +02:00
Luis Felipe
ff8c7be8d1
gnu: emacs-elm-mode: Update to 0.22.0.
This version fixes compilation on Emacs 28.1 (see
https://github.com/jcollard/elm-mode/issues/186).

*  gnu/packages/emacs-xyz.scm (emacs-elm-mode): Update to 0.22.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-05 23:35:31 +02:00
Timotej Lazar
1c537569ed
services: guix-data-service: Increase timeout for service start.
The guix-data-service system test fails on a slower machine with a one-minute
time limit.

* gnu/services/guix.scm (guix-data-service): Double the #:pid-file-timeout.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-05 23:35:31 +02:00
Kiran Shila
29f62a7f5a
services: pam-limits: Add sudo and sshd.
* gnu/services/base.scm (pam-limits-service-type): Add "sudo" and "sshd"
to the list.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-05 23:35:31 +02:00
Brian Kubisiak
ce1276073b
gnu: Add gitlint.
* gnu/packages/version-control.scm (gitlint): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-05 23:35:30 +02:00
Brian Kubisiak
5fd2868ef8
gnu: python-sh: Update to 1.14.2.
* gnu/packages/python-xyz.scm (python-sh): Update to 1.14.2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-05 23:35:30 +02:00
Roman Riabenko
544a886ae1
gnu: wpa-supplicant: Install DBus service file.
* gnu/packages/admin.scm (wpa-supplicant)[arguments]: In
'install-dbus-conf' phase, install DBus service file for
dbus-system-services-builder to find.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-05 23:35:30 +02:00
Ludovic Courtès
f697dd94c4
tests: childhurd: Make sure "guix build -d" works.
* gnu/tests/virtualization.scm (run-childhurd-test)
["guix-daemon up and running"]: New test.
2022-06-05 23:35:30 +02:00
Ludovic Courtès
1fc4d821eb
tests: childhurd: Generalize command execution over SSH.
* gnu/tests/virtualization.scm (run-childhurd-test)[run-uname-over-ssh]:
Rename to...
[run-command-over-ssh]: ... this.  Add 'command' parameter and honor it.
["SSH up and running"]: Adjust accordingly.
2022-06-05 23:35:30 +02:00
Ludovic Courtès
8ccf5f518d
gnu: commencement: Remove unnecessary uses of 'bootstrap-origin'.
* gnu/packages/commencement.scm (gnumach-headers-boot0): Remove
unnecessary 'package-with-bootstrap-guile'.
(hurd-source-boot0): Remove unnecessary 'bootstrap-origin'.
2022-06-05 23:35:30 +02:00
Ludovic Courtès
cd626983af
gnu: commencement: Fetch bootstrap tarballs from ftp.gnu.org too.
As a side effect, this ensures those tarballs are eventually archived by
Software Heritage.

* gnu/packages/commencement.scm (tcc-boot0)[source]: Add "mirror://gnu"
URL.
(gnumach-headers-boot0)[source]: Likewise.
(hurd-source-boot0): Likewise.
2022-06-05 23:35:29 +02:00
Foo Chuan Wei
2dae3cbecc
gnu: Add apricots.
* gnu/packages/games.scm (apricots): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-06-05 21:27:53 +02:00
Foo Chuan Wei
4269094fd0
gnu: worklog: Remove duplicated word in description.
* gnu/packages/task-management.scm (worklog)[description]: Remove
  duplicated word.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-06-05 21:27:53 +02:00
Tobias Kortkamp
1bfb76da2a
gnu: emacs-ox-gemini: Update to latest commit.
* gnu/packages/emacs-xyz.scm (emacs-ox-gemini): Update to latest commit.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-06-05 21:27:53 +02:00
Pavel Shlyak
4d47c2c723
gitignore: Add .DS_Store.
Ignore MacOS specific file: https://en.wikipedia.org/wiki/.DS_Store

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-06-05 21:27:53 +02:00
jgart
54d2664339
gnu: python-pyflakes: Update to 2.4.0.
* gnu/packages/python-xyz.scm (python-pyflakes): Update to 2.4.0.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-06-05 21:27:53 +02:00
Artyom V. Poptsov
ddb7e35bc4
gnu: Add python-musical-scales
* gnu/packages/python-xyz.scm (python-musical-scales): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-06-05 21:27:52 +02:00
jgart
21ca4719b3
gnu: Add emacs-corfu-doc.
* gnu/packages/emacs-xyz.scm (emacs-corfu-doc): New variable.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2022-05-29 02:00:12 +02:00
jgart
923aad065c
gnu: emacs-corfu: Update to 0.25.
* gnu/packages/emacs-xyz.scm (emacs-corfu): Update to 0.25.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2022-05-29 02:00:12 +02:00
Tobias Geerinckx-Rice
ebd7627bbc
gnu: gnumeric: Remove input labels.
* gnu/packages/gnome.scm (gnumeric)[native-inputs]:
Remove input labels.
2022-05-29 02:00:12 +02:00
Tobias Geerinckx-Rice
33f5cf1a8d
gnu: gnumeric: Update to 1.12.52.
* gnu/packages/gnome.scm (gnumeric): Update to 1.12.52.
2022-05-29 02:00:12 +02:00
Tobias Geerinckx-Rice
8c07ffe249
gnu: goffice: Update to 0.10.52.
* gnu/packages/gnome.scm (goffice): Update to 0.10.52.
2022-05-29 02:00:11 +02:00
Tobias Geerinckx-Rice
771dd4f3e7
gnu: gnome-autoar: Update to 0.4.3.
* gnu/packages/gnome.scm (gnome-autoar): Update to 0.4.3.
2022-05-29 02:00:09 +02:00
Tobias Geerinckx-Rice
c527b2faea
gnu: gnome-mines: Make yelp a regular input.
* gnu/packages/gnome.scm (gnome-mines)[native-inputs]: Move yelp from here…
[inputs]: …to here, as it's a reference of .gnome-mines-real.
2022-05-29 02:00:09 +02:00
Tobias Geerinckx-Rice
868b494ac2
gnu: gnome-mines: Remove input labels.
* gnu/packages/gnome.scm (gnome-mines)[native-inputs]:
Remove input labels.
2022-05-29 02:00:09 +02:00
Tobias Geerinckx-Rice
1b6c908150
gnu: gnome-mines: Update to 40.1.
* gnu/packages/gnome.scm (gnome-mines): Update to 40.1.
2022-05-29 02:00:08 +02:00
Tobias Geerinckx-Rice
b6086d315f
gnu: five-or-more: Make libxml2 a regular input.
* gnu/packages/gnome.scm (five-or-more)[native-inputs]: Move libxml2 from here…
[inputs]: …to here, as it's a reference of .five-or-more-real.
2022-05-29 02:00:08 +02:00
Tobias Geerinckx-Rice
6e67786060
gnu: five-or-more: Remove input labels.
* gnu/packages/gnome.scm (five-or-more)[native-inputs]:
Remove input labels.
2022-05-29 02:00:00 +02:00
Tobias Geerinckx-Rice
2a3e1ba940
gnu: five-or-more: Update to 3.32.3.
* gnu/packages/gnome.scm (five-or-more): Update to 3.32.3.
[arguments]: Don't explicitly return #t from phases.
2022-05-29 02:00:00 +02:00
Tobias Geerinckx-Rice
e3fa68ec70
gnu: irrlicht: Remove input labels.
* gnu/packages/games.scm (irrlicht)[inputs]:
Remove input labels.
2022-05-29 02:00:00 +02:00
Tobias Geerinckx-Rice
4e735cccc7
gnu: irrlicht: Use CC-FOR-TARGET.
* gnu/packages/games.scm (irrlicht)[arguments]: Use CC-FOR-TARGET.
2022-05-29 02:00:00 +02:00
Tobias Geerinckx-Rice
64e78659f4
gnu: irrlicht: Update to 1.8.5.
* gnu/packages/games.scm (irrlicht): Update to 1.8.5.
[source]: Use unmodified Debian patches rather than manually maintain
a custom mash-up.
[arguments]: Add a new 'delete-broken-install-rule phase instead.
Don't explicitly return #t from phases.
* gnu/packages/patches/irrlicht-link-against-needed-libs.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2022-05-29 02:00:00 +02:00
Liliana Marie Prikler
abd6ea5337
gnu: minetest-data: Use new style.
* gnu/packages/minetest.scm (minetest-data)[build-system]: Use
copy-build-system.
[arguments]: Convert to list of G-Expressions.
2022-06-05 14:57:36 +02:00
Liliana Marie Prikler
a5afbbe2d6
gnu: minetest: Use new style.
* gnu/packages/minetest.scm (minetest)[arguments]: Convert to list of
G-Expressions.  Use search-input-file and search-input-directory where
appropriate.  Drop trailing #t.
[inputs]: Drop labels.
2022-06-05 14:57:36 +02:00
zimoun
e584e58e92
doc: Use new-style command substitution.
Follow up of beaf701d65e9f94d0539e705d6f58a65313c5655.

* doc/guix.texi: Replace the shell old-style command substitution with
the new-style one.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2022-06-05 13:38:46 +02:00
Josselin Poiret
77f84500ed
gnu: emacs-next: Update to 29.0.50-1.0a5477b.
The currently used commit breaks magit, so update to a newer one.

* gnu/packages/emacs.scm (emacs-next): Update to 29.0.50-1.0a5477b.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-06-05 12:11:06 +02:00
Vivien Kraus
74c34db6ea
gnu: minetest-advtrains: Update to 2.4.1.
* gnu/packages/minetest.scm (minetest-advtrains): Update to 2.4.1.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-06-05 12:11:06 +02:00
Vivien Kraus
c8727b6529
gnu: minetest-technic: Update to 2022-02-06.
* gnu/packages/minetest.scm (minetest-technic): Update to 2022-02-06.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-06-05 12:11:06 +02:00
Vivien Kraus
88d3975b00
gnu: minetest-mineclone: Update to 0.75.0.
* gnu/packages/minetest.scm (minetest-mineclone): Update to 0.75.0.
[source]: Switch url to <https://git.minetest.land/MineClone2/MineClone2>.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-06-05 12:11:05 +02:00