Commit graph

93805 commits

Author SHA1 Message Date
Efraim Flashner
c0ca63b4da
gnu: coeurl: Add source file-name.
* gnu/packages/curl.scm (coeurl)[source]: Add file-name field.
2022-03-14 12:10:30 +02:00
Mathieu Othacehe
4ba35ccd18
gnu: isc-dhcp: Fix cross-compilation.
* gnu/packages/admin.scm (isc-dhcp)[inputs]: Move config to ...
[native-inputs]: ... here.
2022-03-14 09:46:01 +01:00
Pradana AUMARS
857e5ab222
gnu: Add python-ansicolors.
* gnu/packages/python-xyz.scm (python-ansicolors): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-03-13 23:26:31 +01:00
Maxime Devos
2e5c3d91fe
gexp: Correctly handle #$output in 'gexp->approximate-sexp'.
This addresses the following backtrace from
"guix lint -c wrapper-inputs hostapd":

Backtrace:ostapd@2.10 [wrapper-inputs]...
[...]
    174:9  3 (gexp->approximate-sexp #<gexp (modify-phases %standard?>)
In srfi/srfi-1.scm:
   586:17  2 (map1 (#<gexp-output out> #<gexp-input "pkg-config":o?>))
In guix/gexp.scm:
   175:16  1 (_ _)
In ice-9/boot-9.scm:
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Throw to key `match-error' with args `("match" "no matching pattern" #<gexp-output out>)'.

* guix/gexp.scm (gexp->approximate-sexp): Handle the case where 'reference' is
  a <gexp-output>,, by returning (*approximate*).
* tests/gexp.scm ("gexp->approximate-sexp, outputs"): Test it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-03-13 23:20:07 +01:00
Maxime Devos
5aec62ee0f
gexp: Correctly handle unquoting S-exp objects.
This fixes a false-positive in the linter:

  guix lint -c 'wrapper-inputs' libaio

* guix/gexp.scm (gexp->approximate-sexp): Allow the 'thing' in <gexp-input> to
  be a sexp, without approximation, by testing if it is a record.
* tests/gexp.scm ("unquoted sexp (not a gexp!)"): Test it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-03-13 23:18:14 +01:00
Cees de Groot
fce9f13b54
gnu: elixir: Don't fix Git executable location during Elixir build.
The removed code below affected two locations where Elixir uses Git:

* At build-time, Git is used to see if the build is inside a Git repo and if so, git info
  is added to the build information that Elixir returns with `System.build_info()`. The code
  uses PATH + `git` so the Git version from the inputs is used which is just fine.
* At run-time, Git is used by Mix if, and only if, there are any Git-based dependencies. This
  is not the normal case, and in that sense Git is an optional dependency of Elixir - most
  projects will work just fine without Git being present. Here, too, PATH + `git` is used
  so if there is a need on a user's system to use Git-based dependencies, the user can just
  add the package to the profile and things will just work.

I feel that leaving this alone is cleaner than trying to fix the dependency (if we want to
keep it, it needs to be in propagated-inputs in order to keep Git around; I stumbled upon
this building a project with Git dependencies after doing a `guix gc`. However, given that
using Git dependencies is the exception and I think that minimizing dependencies is nicer
I opted to just remove the substition completely).

* gnu/packages/elixir.scm (elixir)[arguments]: In 'replace-paths' phase,
remove substitutions of "git".

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-03-13 23:13:46 +01:00
Julien Lepiller
7bdead3fce
gnu: maven: Update to 3.8.5.
* gnu/packages/maven.scm (maven-pom): Update to 3.8.5.
(maven-model-builder)[arguments]: Build from the subdirectory to work
around a test issue.
(maven-3.0-model-builder)[arguments]: Fix accordingly.
2022-03-13 22:42:19 +01:00
Julien Lepiller
6dbce7d815
gnu: Add maven-parent-pom-35.
* gnu/packages/maven-parent-pom.scm (maven-parent-pom-35): New variable.
2022-03-13 22:41:54 +01:00
Julien Lepiller
ecd735f33d
gnu: Add apache-parent-pom-25.
* gnu/packages/maven-parent-pom.scm (apache-parent-pom-25): New
variable.
2022-03-13 22:41:48 +01:00
Julien Lepiller
67a2f6d6d9
gnu: ocaml-ppx-tools: Update to 6.5.
* gnu/packages/ocaml.scm (ocaml-ppx-tools): Update to 6.5.
2022-03-13 22:41:25 +01:00
Julien Lepiller
bd9eb9ef27
gnu: dune: Update to 3.0.3.
* gnu/packages/ocaml.scm (dune): Update to 3.0.3.
(dune-configurator)[arguments]: Remove vendored dependencies.
(ocaml4.09-dune-configurator)[arguments]: Extend from dune-configurator.
2022-03-13 22:41:20 +01:00
Jelle Licht
c49b410344
gnu: python-pgpy: Update dependencies.
* gnu/packages/python-crypto.scm (python-pgpy)[native-inputs]: Move
python-cryptography, python-pyasn1, python-singledispatch, python-six from
here ...
[propagated-inputs]: ... to here.
2022-03-13 18:09:22 +01:00
Florian Pelz
101ba64904
doc: Fix inappropriate escapes.
* doc/guix.texi (Shells Home Services): Change \" to ".
2022-03-13 14:38:20 +01:00
Ekaitz Zarraga
178ca9ef13
gnu: Add spike.
* gnu/packages/virtualization.scm (spike): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-03-13 11:02:25 +02:00
jgart
f69727278b
gnu: cl-find-port: Update to 0.1-2.811727f and use git-version.
* gnu/packages/lisp-xyz.scm (cl-find-port): Update to 0.1-2.811727f.
[version]: Use git-version.

Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
2022-03-13 04:41:51 -04:00
jgart
1a36fb51a8
gnu: janet: Update to 1.20.0.
* gnu/packages/lisp.scm (janet): Update to 1.20.0.

Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
2022-03-13 03:25:50 -04:00
Leo Famulari
44cd0a4f37
gnu: linux-libre 4.9: Update to 4.9.306.
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.306.
(linux-libre-4.9-pristine-source): Update hash.
2022-03-12 17:40:10 -05:00
Leo Famulari
5960d07847
gnu: linux-libre 4.14: Update to 4.14.271.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.271.
(linux-libre-4.14-pristine-source): Update hash.
2022-03-12 17:40:10 -05:00
Leo Famulari
1a5f9fe746
gnu: linux-libre 4.19: Update to 4.19.234.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.234.
(linux-libre-4.19-pristine-source): Update hash.
2022-03-12 17:40:10 -05:00
Leo Famulari
7822c77930
gnu: linux-libre 5.4: Update to 5.4.184.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.184.
(linux-libre-5.4-pristine-source): Update hash.
2022-03-12 17:40:09 -05:00
Leo Famulari
317752fedf
gnu: linux-libre 5.10: Update to 5.10.105.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.105.
(linux-libre-5.10-pristine-source): Update hash.
2022-03-12 17:40:09 -05:00
Leo Famulari
d642f0b80e
gnu: linux-libre 5.15: Update to 5.15.28.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.28.
(linux-libre-5.15-pristine-source): Update hash.
2022-03-12 17:40:09 -05:00
Leo Famulari
927a5edc38
gnu: linux-libre: Update to 5.16.14.
* gnu/packages/linux.scm (linux-libre-5.16-version): Update to 5.16.14.
(linux-libre-5.16-pristine-source): Update hash.
2022-03-12 17:39:55 -05:00
Nicolas Goaziou
504d15a593
gnu: denemo: Honor TESTS?.
* gnu/packages/music.scm (denemo)[arguments]<#:phases>: Honor TESTS? keyword.
2022-03-12 19:23:09 +01:00
Nicolas Goaziou
33331efc46
gnu: denemo: Improve package style.
* gnu/packages/music.scm (denemo)[native-inputs]: Remove labels.
[arguments]: Use G-expressions.  Remove trailing #T from phases.
2022-03-12 19:21:55 +01:00
Nicolas Goaziou
ab042de0f7
gnu: denemo: Update to 2.6.0.
* gnu/packages/music.scm (denemo): Update to 2.6.0.
2022-03-12 19:19:22 +01:00
Mathieu Othacehe
b9b263d350
gnu: lemonbar-xft: Fix build.
* gnu/packages/wm.scm (lemonbar-xft)[arguments]: Fix the make-flags keyword
that now inherits from the lemonbar gexp make-flags keyword.
2022-03-12 13:26:18 +01:00
Christopher Baines
f6fa20f923
gnu: guix-data-service: Update to 0.0.1-30.27c34a9.
* gnu/packages/web.scm (guix-data-service): Update to 0.0.1-30.27c34a9.
[inputs]: Add bash-minimal, move some inputs to ...
[propagated-inputs]: ... here.
2022-03-12 12:00:54 +00:00
Maxime Devos
662f1f7bba
gnu: ghc-bsb-http-chunked: Don't run tests when cross-compiling.
* gnu/packages/haskell-web.scm
  (ghc-bsb-http-chunked)[arguments]<#:tests?>: Set to #false when
  cross-compiling.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-03-11 23:34:50 -05:00
Maxime Devos
fbc46b61da
gnu: extra-cmake-modules: Don't run tests when cross-compiling.
* gnu/packages/kde-frameworks.scm
  (extra-cmake-modules)[arguments]<#:tests?>: Set to #false when
  cross-compiling.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-03-11 23:34:50 -05:00
Maxime Devos
8afa5ace49
gnu: tdlib: Run tests conditionally.
* gnu/packages/messaging.scm (tdlib)[arguments]: Remove #:tests?
  instead of unconditionally setting it to #t.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-03-11 23:34:49 -05:00
Maxime Devos
c9f81a63fd
gnu: belcard: Run tests conditionally.
* gnu/packages/linphone.scm (belcard)[arguments]: Remove #:tests?
  instead of unconditionally setting it to #t.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-03-11 23:34:49 -05:00
Maxime Devos
26f0310128
gnu: lablgtk: Run tests conditionally.
* gnu/packages/ocaml.scm (lablgtk)[arguments]: Remove #:tests?
instead of unconditionally setting it to #t.
[inputs]: Use new style.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-03-11 23:34:49 -05:00
Maxim Cournoyer
d43568013e
gnu: Remove python2-promise.
* gnu/packages/python-xyz.scm (python2-promise): Delete variable.
(python-promise)[properties]: Delete field.
2022-03-11 23:34:49 -05:00
Maxim Cournoyer
db1532e1ad
gnu: Remove python2-empy.
* gnu/packages/python-xyz.scm (python2-empy): Delete variable.
2022-03-11 23:34:48 -05:00
Maxime Devos
72e4e145ee
gnu: libicns: Do not explicitly set TESTS? to #t.
* gnu/packages/image.scm (libicns)[tests?]: Remove argument.
[home-page]: Update.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-03-11 23:34:48 -05:00
Maxime Devos
58d5d83dbb
gnu: perl-unicode-utf8: Run tests conditionally.
* gnu/packages/perl.scm (perl-unicode-utf8)[arguments]<#:tests?>:
  Set to #false when cross-compiling.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-03-11 23:34:48 -05:00
Maxime Devos
1879d6d810
gnu: ecl: Run tests conditionally and please lint.
* gnu/packages/lisp.scm (ecl)[source]: Adjust origin URL.
[inputs]: Add bash-minimal.
[arguments]: Move the comment about failing tests above the deleted check
phase.
[tests?]: Do not explicitly set to #t.
[phases]: Delete trailing #t.
[home-page]: Update.

Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-03-11 23:34:48 -05:00
Maxime Devos
4b5b3b8eb2
gnu: go-1.16: Do not run tests when cross-compiling.
* gnu/packages/golang.scm (go-1.16)[arguments]: Remove #:tests?.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-03-11 23:34:48 -05:00
Maxime Devos
9dfbf92f55
gnu: ruby-ffi-rzmq: Honor TESTS?.
* gnu/packages/ruby.scm (ruby-ffi-rzmq)[TESTS?]: Remove argument.
[phases]{check}: Honor TESTS?.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-03-11 23:34:47 -05:00
Maxime Devos
0679c8fe97
gnu: ruby-yard-with-tests: Run tests conditionally.
* gnu/packages/ruby.scm (ruby-yard-with-tests)[arguments]:
Remove #:tests? instead of unconditionally setting it to #t.
[phases]: Delete trailing #t.
[native-inputs]: Use new style.

Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-03-11 23:34:47 -05:00
Maxime Devos
99a546df1f
gnu: swi-prolog: Fix cross-compilation.
* gnu/package/prolog.scm (swi-prolog)
[inputs]: Add bash-minimal.  Move perl, pkg-config and texinfo to...
[native-inputs]: ... here.
[tests?]: Remove argument.
[configure-flags]: Set BSD_SIGNALS, PROG_SWIPL, QSORT_R_GNU and CMAKE_HOST_CC
when cross-compiling.
[phases]{fix-cross-references}: New phase.
{delete-failing-tests}: Strip trailing #t and simplify the deletion of the
"save" directory.

Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-03-11 23:34:47 -05:00
Maxim Cournoyer
46ae78ba45
gnu: lean: Update to 3.41.0 and fixes toward cross-compilation.
* gnu/packages/lean.scm (lean): Update to 3.41.0.
[phases]: Remove trailing #t.
[tests?] Set to #false when cross-compiling.
[inputs]: Add bash-minimal.

Co-authored-by: Maxime Devos <maximedevos@telenet.be>
2022-03-11 23:34:47 -05:00
Maxime Devos
88e44f7e16
lint: check-tests-true: Allow #:tests? #t for some build systems.
emacs-build-system sets #:tests? #f by default, so the linter shouldn't warn
if #:tests? #t is set for packages using emacs-build-system.  Likewise for
texlive-build-system.

* guix/lint.scm (check-tests-true): Do not warn if the build system
  is emacs-build-system or texlive-build-system.
* tests/lint.scm
  ("tests-true: #:tests? #t acceptable for emacs packages")
  ("tests-true: #:tests? #t acceptable for texlive packages"): New tests.

Fixes: <https://issues.guix.gnu.org/50299>
Reported-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-03-11 23:34:47 -05:00
宋文武
b769fe7f75
gnu: eog-plugins: Symlink eog plugins into 'share/eog/plugins'.
Fixes <https://issues.guix.gnu.org/54283>.

* gnu/packages/gnome.scm (eog-plugins)[arguments]: Add 'fix-plugins-path' phase.
2022-03-12 12:11:34 +08:00
宋文武
cce9eb1938
gnu: eog: Wrap with gsettings schemas.
* gnu/packages/gnome.scm (eog)[arguments]: Add #:glib-or-gtk? #t.
2022-03-12 12:11:08 +08:00
Simon South
d41c82b481
gnu: ucsim: Update to 0.7.1.
* gnu/packages/embedded.scm (ucsim): Update to 0.7.1.
[source]: Update URI.
[arguments]<#:configure-flags>: Remove as all stable ports are now built by
default.
<#:phases>: Remove obsolete "remove-empty-directory" phase.
[inputs]: Add ncurses, needed for the serialview utility.
[native-inputs]: Add sdcc when needed for tests.
[description]: Update to mention newly supported microcontroller families.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-03-11 23:15:47 +01:00
Simon South
a05fb56c6e
gnu: ucsim: Don't explicitly return #t from phases.
* gnu/packages/embedded.scm (ucsim)[arguments]: Don't explicitly return #t
from phases.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-03-11 23:15:43 +01:00
Zhu Zihao
b3b9b68040
gnu: Add webp-pixbuf-loader.
* gnu/packages/gtk.scm (webp-pixbuf-loader): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-03-11 23:12:48 +01:00
Ivan Vilata i Balaguer
4e0c4ab7f9
gnu: transfig: Fix "multiple definition" errors with GCC 10+.
* gnu/packages/patches/transfig-gcc10-fno-common.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/xfig.scm (transfig)[source]<origin>: Use patch
"transfig-gcc10-fno-common.patch" to avoid "multiple definition" errors with
GCC 10+ and "-f-no-common".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-03-11 23:07:25 +01:00