1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-25 03:30:30 +02:00
Commit Graph

98841 Commits

Author SHA1 Message Date
Marius Bakke
87fcfb8365 gnu: Django: Update to 4.0.6 [fixes CVE-2022-34265].
* gnu/packages/django.scm (python-django-4.0): Update to 4.0.6.
2022-07-05 01:56:50 +02:00
Ludovic Courtès
8d9291bd2c style: For 'let' and similar forms, emit one binding per line.
Previously, 'let' bindings could be rendered like this:

  (let ((x 1) (y 2)
        (z 3))
    ...)

With this change, each bindings goes in its own line.

Partly fixes <https://issues.guix.gnu.org/56297>.
Reported by Maxime Devos <maximedevos@telenet.be>.

* guix/scripts/style.scm (pretty-print-with-comments)[list-of-lists?]:
New procedure.
Use it.
* tests/style.scm: Add tests with 'let' and 'substitute-keyword-arguments'.
2022-07-04 23:38:38 +02:00
Philip McGrath
3348e485b7 etc/guix-install.sh: Check for profile from 'guix home'.
If "$HOME/.guix-home/profile" exists, use it for GUIX_PROFILE instead of
"$HOME/.guix-profile".

* etc/guix-install.sh (sys_create_init_profile): Check for 'guix home'
profile.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-04 23:38:38 +02:00
Philip McGrath
23aafc800c etc/guix-install.sh: Initialize XDG base directories.
The default values from the XDG base directory specification make little
sense for Guix System, and some scripts in Guix assume that they are not
"empty or unset": for example, see <https://issues.guix.gnu.org/56050>.
On foreign distros, however, omitting the default values is likely to
break software from the distro, perhaps even preventing the desktop
environment from starting. To smooth over the difference, use the
system-wide configuration to ensure the environment variables are always
explicitly set on foreign distros.

* etc/guix-install.sh (sys_create_init_profile): Explicitly initialize
XDG base directory variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-04 23:38:37 +02:00
Hartmut Goebel
a3d86b341d style: Add option '--list-stylings'.
* guix/scripts/style.scm (show-stylings): New procedure.
  (%options, show-help): Add "--list-stylings".
* doc/guix.texi (Invoking guix style): Document "-l".
2022-07-04 16:13:13 +02:00
Hartmut Goebel
fdcd0133b2 gnu: Add trytond-stock-package-shipping-dpd.
* gnu/packages/tryton.scm (trytond-stock-package-shipping-dpd): New variable.
2022-07-04 16:10:53 +02:00
Hartmut Goebel
c8f49e5c70 gnu: Add trytond-google-maps.
* gnu/packages/tryton.scm (trytond-google-maps): New variable.
2022-07-04 16:10:53 +02:00
Hartmut Goebel
d0326574f8 gnu: Add trytond-gis.
* gnu/packages/tryton.scm (trytond-gis): New variable.
2022-07-04 16:10:52 +02:00
Hartmut Goebel
bc6780ee9a gnu: Add python-geomet.
* gnu/packages/python-xyz.scm (python-geomet): New variable.
2022-07-04 16:10:51 +02:00
Nicolas Goaziou
477e561a46 gnu: emacs-emms-print-metadata: Improve package style.
* gnu/packages/emacs-xyz.scm (emacs-emms-print-metadata)[arguments]: Use G-expressions.
2022-07-04 15:37:31 +02:00
Nicolas Goaziou
97be378dae gnu: emacs-emms: Update to 11.
* gnu/packages/emacs-xyz.scm (emacs-emms): Update to 11.
2022-07-04 15:36:17 +02:00
Nicolas Goaziou
44b832d719 gnu: emacs-rg: Improve package style.
* gnu/packages/emacs-xyz.scm (emacs-rg)[arguments]: Use G-expressions and MAKE-FILE-WRITABLE.
2022-07-04 15:33:15 +02:00
Nicolas Goaziou
30f8183b9a gnu: emacs-rg: Update to 2.2.1.
* gnu/packages/emacs-xyz.scm (emacs-rg): Update to 2.2.1.
2022-07-04 15:32:34 +02:00
Nicolas Goaziou
e5b3349128 gnu: fsearch: Update to 0.1.3.
* gnu/packages/search.scm (fsearch): Update to 0.1.3.
2022-07-04 15:31:08 +02:00
Nicolas Goaziou
942dcd30c4 gnu: manuskript: Update package style.
* gnu/packages/text-editors.scm (manuskript)[arguments]: Use
G-expressions. Remove trailing #T.
2022-07-04 15:28:07 +02:00
Nicolas Goaziou
ba2d504939 gnu: manuskript: Update to 0.14.0.
* gnu/packages/text-editors.scm (manuskript): Update to 0.14.0.
2022-07-04 15:25:14 +02:00
Nicolas Goaziou
c0f6287974 gnu: nauty: Update package style.
* gnu/packages/maths.scm (nauty)[arguments]: Use G-expressions. Remove
trailing #T.
2022-07-04 15:22:03 +02:00
Nicolas Goaziou
c3a2d354e3 gnu: nauty: Update to 2.7r4.
* gnu/packages/maths.scm (nauty): Update to 2.7r4.
2022-07-04 15:19:11 +02:00
Nicolas Goaziou
f5758b36da gnu: tlpui: Use G-expressions.
* gnu/packages/linux.scm (tlpui)[arguments]: Use G-expressions.
2022-07-04 15:11:39 +02:00
Nicolas Goaziou
16c2372fe8 gnu: tlpui: Honor TESTS?.
* gnu/packages/linux.scm (tlpui)[arguments]<#:phases>: Honor TESTS? in CHECK
phase.
2022-07-04 15:08:36 +02:00
Nicolas Goaziou
56892af033 gnu: tlpui: Update to 1.5.0-1.
* gnu/packages/linux.scm (tlpui): Update to 1.5.0-1.
2022-07-04 15:07:54 +02:00
Pierre Neidhardt
741a5ec00a gnu: emacs-sly-stepper: Update to 20220704.
* gnu/packages/emacs-xyz.scm (emacs-sly-stepper): Update to 20220704.
2022-07-04 14:52:24 +02:00
Ricardo Wurmus
a0125732ef gnu: Add r-sccustomize.
* gnu/packages/bioinformatics.scm (r-sccustomize): New variable.
2022-07-04 13:48:58 +02:00
Ricardo Wurmus
602cf66c79 gnu: Add r-dittoseq.
* gnu/packages/bioconductor.scm (r-dittoseq): New variable.
2022-07-04 13:48:58 +02:00
Ricardo Wurmus
e05f62bf6a gnu: Add r-ggprism.
* gnu/packages/cran.scm (r-ggprism): New variable.
2022-07-04 13:48:58 +02:00
Ricardo Wurmus
cbfcff5961 gnu: Add r-ggrastr.
* gnu/packages/cran.scm (r-ggrastr): New variable.
2022-07-04 13:48:57 +02:00
Ricardo Wurmus
4aee04819e gnu: Add r-janitor.
* gnu/packages/cran.scm (r-janitor): New variable.
2022-07-04 13:48:57 +02:00
Ricardo Wurmus
12d206901a gnu: Add r-paletteer.
* gnu/packages/cran.scm (r-paletteer): New variable.
2022-07-04 13:48:57 +02:00
Ricardo Wurmus
9c58c87aa9 gnu: Add r-prismatic.
* gnu/packages/cran.scm (r-prismatic): New variable.
2022-07-04 13:48:57 +02:00
Ricardo Wurmus
738e4eea14 gnu: Add r-colorway.
* gnu/packages/statistics.scm (r-colorway): New variable.
2022-07-04 13:48:57 +02:00
Jean-Pierre De Jesus DIAZ
31e4eaf52c gnu: vpnc: Add bsd-2 license.
* gnu/packages/vpn.scm (vpnc)[license]: Add bsd-2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-04 12:29:05 +02:00
Jean-Pierre De Jesus DIAZ
bb88505ee8 gnu: vpnc: Fix cross-compilation.
* gnu/packages/vpn.scm (vpnc): Fix cross-compilation.
  [native-inputs]: Add conditional input of `this-package' (vpnc)
  to reuse the man page and add `pkg-config'.
  [arguments]: Use G-Expressions.
  [arguments]: Make use of `make-flags' instead of using substitutions.
  [arguments]: Remove unneeded deletion of `configure'.
  [arguments]: Use `pkg-config' to search for libgcrypt.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-04 12:29:05 +02:00
Sharlatan Hellseher
e8e7b4cdae gnu: Add giza
* gnu/packages/maths.scm (giza): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-04 12:29:05 +02:00
Zhu Zihao
84d413d2fd gnu: solidity: Update to 0.8.15.
* gnu/packages/solidity.scm (solidity): Update to 0.8.15.
[source]: Use Github release.
[arguments]<#:phases>: Remove phase 'create-commit_hash.txt'.
Restore phase 'configure' and phase 'install'.
Remove modifications applied to the phase 'build' and phase 'check'.
Add phase 'unbundle-3rd-party-dependencies'.
[inputs]: Add fmt-for-solidity, range-v3.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-04 12:29:05 +02:00
Zhu Zihao
b49c2e558d gnu: Add fmt-for-solidity.
* gnu/packages/pretty-print.scm (fmt-for-solidity): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-04 12:29:05 +02:00
Zhu Zihao
da6ea4ab88 gnu: solidity: Use G-expressions.
* gnu/packages/solidity.scm (solidity)[arguments]: Use G-expressions.
[native-inputs]: Use label-less style inputs.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-04 12:29:05 +02:00
Zhu Zihao
0e64835b2e gnu: z3: Prefer CMake to build the package.
Z3 developer recommends to use CMake to build Z3 except the OCaml bindings.
Use CMake also enable us to cross compile z3.

* gnu/packages/maths.scm (z3)[build-system]: Use cmake-build-system.
[arguments]<#:configure-flags>: Add flags for CMake.
<#:phases>: Remove stale phase 'fix-compatability'.
In phase 'check', build the z3 test binary and don't test when cross
compiling.
Add phase 'compile-python-modules' phase to generate python bytecode cache for
z3 python binding.
Add phase 'fix-z3-library-path' to help z3 pythong binding to find the z3
shared library.

(ocaml-z3)[build-system]: Override the inherited value with 'gnu-build-system'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-04 12:29:04 +02:00
Zhu Zihao
cec5142183 gnu: z3: Update to 4.8.17.
* gnu/packages/maths.scm (z3): Update to 4.8.17.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-04 12:29:04 +02:00
Zhu Zihao
3366be5db0 gnu: z3: Use G-expressions.
* gnu/packages/maths.scm (z3)[arguments]: Use G-expressions.
[native-inputs]: Use label-less style.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-04 12:29:04 +02:00
Pierre Neidhardt
7cddd130df gnu: sbcl-nkeymaps: Update to 1.0.0.
* gnu/packages/lisp-xyz.scm (sbcl-nkeymaps): Update to 1.0.0.
2022-07-04 11:03:06 +02:00
Efraim Flashner
b56dad9b2c gnu: tbb: Fix building on riscv64-linux.
* gnu/packages/tbb.scm (tbb)[source]: Add patch.
* gnu/packages/patches/tbb-other-arches.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2022-07-04 11:14:41 +03:00
Efraim Flashner
47ed000d4d etc: teams: Add entry for Efraim Flashner.
* etc/teams.scm.in ("Efraim Flashner"): New member.
2022-07-04 11:14:39 +03:00
Leo Famulari
4d126e7762 gnu: linux-libre 4.9: Update to 4.9.321.
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.321.
(linux-libre-4.9-pristine-source): Update hash.
2022-07-03 23:56:14 -04:00
Leo Famulari
2a9e397043 gnu: linux-libre 4.14: Update to 4.14.286.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.286.
(linux-libre-4.14-pristine-source): Update hash.
2022-07-03 23:56:14 -04:00
Leo Famulari
a2e56e6a1c gnu: linux-libre 4.19: Update to 4.19.250.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.250.
(linux-libre-4.19-pristine-source): Update hash.
2022-07-03 23:56:14 -04:00
Leo Famulari
71281783fc gnu: linux-libre 5.4: Update to 5.4.203.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.203.
(linux-libre-5.4-pristine-source): Update hash.
2022-07-03 23:56:14 -04:00
Leo Famulari
004be75424 gnu: linux-libre 5.10: Update to 5.10.128.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.128.
(linux-libre-5.10-pristine-source): Update hash.
2022-07-03 23:56:13 -04:00
Leo Famulari
5df7a33af7 gnu: linux-libre 5.15: Update to 5.15.52.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.52.
(linux-libre-5.15-pristine-source): Update hash.
2022-07-03 23:56:13 -04:00
Leo Famulari
9cd92b259b gnu: linux-libre: Update to 5.18.9.
* gnu/packages/linux.scm (linux-libre-5.18-version): Update to 5.18.9.
(linux-libre-5.18-pristine-source): Update hash.
2022-07-03 23:56:13 -04:00
Leo Famulari
1f33ff1173 teams: Add leo Famulari.
* etc/teams.scm.in ("Leo Famulari"): New member.
2022-07-03 22:50:31 -04:00