Commit graph

53919 commits

Author SHA1 Message Date
Ludovic Courtès
6f918d69b4
import: texlive: Avoid uses of '@@' in tests.
* guix/import/texlive.scm (fetch-sxml, sxml->package): Export.
* tests/texlive.scm <top level>: Call '%http-server-port'.
("fetch-sxml: returns SXML for valid XML"): Use 'with-http-server' and
set 'current-http-proxy' instead of using 'mock'.
("sxml->package"): Remove use of '@@'.
2020-01-17 14:22:08 +01:00
Ludovic Courtès
282f91790a
import: opam: Avoid uses of '@@' in tests.
* guix/import/opam.scm (string-pat, multiline-string, list-pat)
(dict, condition): Export.
(opam-fetch): Add optional 'repository' parameter.
(opam->guix-package): Add #:repository parameter and pass it to
'opam-fetch'.
* tests/opam.scm ("opam->guix-package"): Remove use of 'mock' and pass
TEST-REPO to 'opam->guix-package' instead.
("parse-strings", "parse-multiline-strings")
("parse-lists", "parse-dicts", "parse-conditions"): Remove uses of '@@',
which are no longer needed.
2020-01-17 14:22:07 +01:00
Ludovic Courtès
0688ca7471
doc: Replace some invalid uses of @var with @code.
* doc/guix.texi (Build Systems): Replace invalid uses of @var with @code.
2020-01-17 14:22:07 +01:00
Ludovic Courtès
a9e255127a
doc: cookbook: Avoid URL reference to the manual.
* doc/guix-cookbook.texi (Other build systems): Use @xref instead of
@uref, and remove section number.
2020-01-17 14:22:07 +01:00
Ludovic Courtès
fcb2318e51
lint: vulnerabilities: Avoid 'mock' in test.
* guix/lint.scm (check-vulnerabilities): Add 'package-vulnerabilities'
optional parameter.
* tests/lint.scm ("cve: one vulnerability"): Use it instead of 'mock'.
2020-01-17 14:22:07 +01:00
Ludovic Courtès
fd4c832bdb
lint: derivation: Adjust exception handling for Guile 3.
This makes sure the "derivation: invalid arguments" test passes on
Guile 3.0.0.  Without this change, the lint warning would only include
the format string instead of the key and arguments.

* guix/lint.scm (exception-with-kind-and-args?): New procedure.
(check-derivation): Use it.
2020-01-17 14:22:07 +01:00
Ludovic Courtès
886a76073e
packages: Prevent inlining of 'find-best-packages-by-name'.
This allows 'tests/packages.scm' to mock it.

* gnu/packages.scm (find-best-packages-by-name): Set! it at the top
level to prevent it from being inline on Guile 3.
2020-01-17 14:22:07 +01:00
Alex Sassmannshausen
df18ea6f27
gnu: guile-hall: Add variant for Guile 3.0.
* gnu/packages/guile-xyz.scm (guile3.0-hall): New variable.
2020-01-17 14:18:43 +01:00
Alex Sassmannshausen
0ac6b836ee
gnu: guile-config: Add variant for Guile 3.0.
* gnu/packages/guile-xyz.scm (guile3.0-config): New variable.
2020-01-17 14:18:42 +01:00
Alex Sassmannshausen
cfc4e49823
gnu: guile-hall: Update to 0.2.1.
* gnu/packages/guile-xyz.scm (guile-hall): Update to 0.2.1.
2020-01-17 14:18:40 +01:00
Alex Sassmannshausen
91e295470e
gnu: guile-config: Update to 0.3.1.
* gnu/packages/guile-xyz.scm (guile-config): Update to 0.3.1.
2020-01-17 14:18:34 +01:00
Guillaume Le Vaillant
8ea00edfcc
gnu: Add cl-green-threads.
* gnu/packages/lisp-xyz.scm (sbcl-green-threads, cl-green-threads,
  ecl-green-threads): New variables.
2020-01-17 13:44:39 +01:00
Guillaume Le Vaillant
c5eedf80ac
gnu: Add cl-async-future.
* gnu/packages/lisp-xyz.scm (sbcl-cl-async-future, cl-async-future,
  ecl-cl-async-future): New variables.
2020-01-17 13:44:39 +01:00
Guillaume Le Vaillant
34f9b5814c
gnu: Add cl-blackbird.
* gnu/packages/lisp-xyz.scm (sbcl-blackbird, cl-blackbird, ecl-blackbird): New
  variables.
2020-01-17 13:44:39 +01:00
Guillaume Le Vaillant
ae51aa9136
gnu: Add cl-async-ssl.
* gnu/packages/lisp-xyz.scm (sbcl-cl-async-ssl, cl-async-ssl,
  ecl-cl-async-ssl): New variables.
2020-01-17 13:44:39 +01:00
Guillaume Le Vaillant
19f36366c9
gnu: Add cl-async-repl.
* gnu/packages/lisp-xyz.scm (sbcl-cl-async-repl, cl-async-repl,
  ecl-cl-async-repl): New variables.
2020-01-17 13:44:38 +01:00
Guillaume Le Vaillant
8a0178dd6a
gnu: Add cl-async.
* gnu/packages/lisp-xyz.scm (sbcl-cl-async, cl-async, ecl-cl-async): New
  variables.
2020-01-17 13:44:38 +01:00
Guillaume Le Vaillant
370cf7f13d
gnu: Add cl-async-util.
* gnu/packages/lisp-xyz.scm (sbcl-cl-async-util, cl-async-util,
  ecl-cl-async-util): New variables.
2020-01-17 13:44:38 +01:00
Guillaume Le Vaillant
1cc1dfbbb0
gnu: Add cl-async-base.
* gnu/packages/lisp-xyz.scm (sbcl-cl-async-base, cl-async-base,
  ecl-cl-async-base): New variables.
2020-01-17 13:44:38 +01:00
Guillaume Le Vaillant
37b48dc181
gnu: Add cl-libuv.
* gnu/packages/lisp-xyz.scm (sbcl-cl-libuv, cl-libuv, ecl-cl-libuv): New
  variables.
2020-01-17 13:44:38 +01:00
Guillaume Le Vaillant
5b8bc813ba
gnu: Add cl-vom.
* gnu/packages/lisp-xyz.scm (sbcl-vom, cl-vom, ecl-vom): New variables.
2020-01-17 13:44:38 +01:00
Guillaume Le Vaillant
4101c7148d
gnu: Add cl-coroutine.
* gnu/packages/lisp-xyz.scm (sbcl-cl-coroutine, cl-coroutine,
  ecl-cl-coroutine): New variables.
2020-01-17 13:44:38 +01:00
Guillaume Le Vaillant
f7ce86edbc
gnu: Add cl-cont.
* gnu/packages/lisp-xyz.scm (sbcl-cl-cont, cl-cont, ecl-cl-cont): New
  variables.
2020-01-17 13:44:38 +01:00
Guillaume Le Vaillant
7ca8925f3d
gnu: Add cl-fset.
* gnu/packages/lisp-xyz.scm (sbcl-fset, cl-fset): New variables.
2020-01-17 13:44:38 +01:00
Guillaume Le Vaillant
7765f4a484
gnu: Add cl-mt19937.
* gnu/packages/lisp-xyz.scm (sbcl-mt19937, cl-mt19937, ecl-mt19937): New
  variables.
2020-01-17 13:44:37 +01:00
Guillaume Le Vaillant
33865d3259
gnu: Add cl-misc-extensions.
* gnu/packages/lisp-xyz.scm (sbcl-misc-extensions, cl-misc-extensions,
  ecl-misc-extensions): New variables.
2020-01-17 13:44:37 +01:00
Alex Sassmannshausen
33ed8296c0
gnu: services: Allow extra content in mysql configuration.
* gnu/services/databases.scm (<mysql-configuration>): New field.
  (mysql-configuration-file): Use it.
2020-01-17 11:28:40 +01:00
Efraim Flashner
bd843a2ff6
gnu: rust-lock-api-0.3: Update to 0.3.3.
* gnu/packages/crates-io.scm (rust-lock-api-0.3): Update to 0.3.3.
2020-01-17 09:53:20 +02:00
Efraim Flashner
468e15b1af
gnu: rust-lock-api-0.1: Don't hide package.
* gnu/packages/crates-io.scm (rust-lock-api-0.1)[arguments]: Skip build.
Add rust-scopeguard-0.3, rust-owning-ref-0.4 to cargo-inputs.
[properties]: Remove field.
2020-01-17 09:53:20 +02:00
Efraim Flashner
cc0e8ce608
gnu: rust-libloading-0.5: Don't hide package.
* gnu/packages/crates-io.scm (rust-libloading-0.5)[arguments]: Skip
build. Add rust-winapi-0.3 to cargo-inputs. Add rust-cc-1.0 to
cargo-development-inputs.
[properties]: Remove field.
2020-01-17 09:53:20 +02:00
Efraim Flashner
290436d110
gnu: rust-libc-0.2: Update to 0.2.66.
* gnu/packages/crates-io.scm (rust-libc-0.2): Update to 0.2.66.
2020-01-17 09:53:20 +02:00
Efraim Flashner
759dfa989e
gnu: rust-libc-0.2: Don't hide package.
* gnu/packages/crates-io.scm (rust-libc-0.2)[arguments]: Skip build. Add
rust-rustc-std-workspace-core-1.0 to cargo-inputs.
[description]: Appease 'guix lint'.
[properties]: Remove field.
2020-01-17 09:53:19 +02:00
Efraim Flashner
6c92f52b2e
gnu: rust-itoa-0.4: Don't hide package.
* gnu/packages/crates-io.scm (rust-itoa-0.4)[arguments]: Skip build.
[properties]: Remove field.
2020-01-17 09:53:19 +02:00
Efraim Flashner
1403c31e3e
gnu: rust-itoa-0.1: Don't hide package.
* gnu/packages/crates-io.scm (rust-itoa-0.1)[arguments]: Skip build.
[properties]: Don't inherit field.
2020-01-17 09:53:19 +02:00
Efraim Flashner
a6e28a92c1
gnu: rust-iovec-0.1: Update to 0.1.4.
* gnu/packages/crates-io.scm (rust-iovec-0.1): Update to 0.1.4.
[arguments] Remove rust-winapi-0.2 from cargo-inputs.
2020-01-17 09:53:19 +02:00
Efraim Flashner
7499a9c781
gnu: rust-iovec-0.1: Don't hide package.
* gnu/package/crates-io.scm (rust-iovec-0.1)[arguments]: Skip build. Add
rust-libc-0.2, rust-winapi-0.2 to cargo-inputs.
[properties]: Remove field.
2020-01-17 09:53:18 +02:00
Efraim Flashner
af9ca877b0
gnu: rust-hostname-0.1: Don't hide package.
* gnu/packages/crates-io.scm (rust-hostname-0.1)[arguments]: Skip build.
Add rust-libc-0.2, rust-winutil-0.1 to cargo-inputs.
[host-name]: Update to new host-name.
[properties]: Remove field.
2020-01-17 09:53:18 +02:00
Efraim Flashner
5a3217e52c
gnu: rust-glob-0.3: Don't hide package.
* gnu/packages/crates-io.scm (rust-glob-0.3)[arguments]: Skip build. Add
rust-tempdir-0.3 to cargo-development-inputs.
[properties]: Remove field.
2020-01-17 09:53:18 +02:00
Efraim Flashner
4711a24074
gnu: rust-glob-0.2: Don't hide package.
* gnu/packages/crates-io.scm (rust-glob-0.2)[arguments]: Skip build. Add
rust-tempdir-0.3 to cargo-development-inputs.
[properties]: Don't inherit field.
2020-01-17 09:53:15 +02:00
Julien Lepiller
7b99aa043c
gnu: Add ocaml-4.09.
* gnu/packages/ocaml.scm (ocaml-4.09): New variable.
[argument]: Remove the no longer needed configure phase.
2020-01-17 04:11:06 +01:00
Tobias Geerinckx-Rice
90b8f4e292
gnu: stgit: Update to 0.21.
* gnu/packages/version-control.scm (stgit): Update to 0.21.
[native-inputs]: Add perl.
[arguments]: Build with default Python (3).
Add ‘hard-code-version’ and ‘patch-tests’ phases.
Fix and run all remaining tests in the ‘check’ phase.
2020-01-17 03:57:30 +01:00
Tobias Geerinckx-Rice
5976d0b07e
gnu: wavemon: Update to 0.9.1.
* gnu/packages/hardware.scm (wavemon): Update to 0.9.1.
2020-01-17 03:57:30 +01:00
Tobias Geerinckx-Rice
df01360f78
gnu: python-publicsuffix2: Update to 2.20191221.
* gnu/packages/python-web.scm (python-publicsuffix2): Update to
2.20191221.
[arguments]: Add ‘ignore-maintainer-inputs’ phase.
2020-01-17 03:57:30 +01:00
Tobias Geerinckx-Rice
02d6e27e15
gnu: intel-vaapi-driver: Update to 2.4.0.
* gnu/packages/video.scm (intel-vaapi-driver): Update to 2.4.0.
2020-01-17 03:57:30 +01:00
Tobias Geerinckx-Rice
09c2fc2a10
gnu: miniupnpc: Update to 2.1.20191224.
* gnu/packages/upnp.scm (miniupnpc): Update to 2.1.20191224.
2020-01-17 03:57:30 +01:00
Nicolas Goaziou
4337140c93
gnu: Update copyright line.
* gnu/packages/game-development.scm: Update copyright line.
2020-01-16 23:39:39 +01:00
Leo Prikler
37c52b5b15
gnu: Refactor renpy build.
* gnu/packages/game-development.scm (python2-renpy)[arguments]: Use directory
excursions instead of invoking `chdir' directly in phases.
2020-01-16 23:38:52 +01:00
Nicolas Goaziou
af4796d5ca
gnu: xmoto: Slight description rewording.
* gnu/packages/games.scm (xmoto)[description]: Slight rewording.
2020-01-16 23:23:38 +01:00
Nicolas Goaziou
40d2bddd01
gnu: Add xmoto.
* gnu/packages/games.scm (xmoto): New variable.
* gnu/packages/patches/xmoto-remove-glext.patch: New file.
* gnu/packages/patches/xmoto-reproducible.patch: New file.
* gnu/packages/patches/xmoto-utf8.patch: New file.
* gnu/local.mk (dist_patch_DATA): Reference new files.
2020-01-16 23:20:20 +01:00
Ludovic Courtès
9e016129e1
gnu: guile-fibers: Add "guile3.0-fibers" variant.
* gnu/packages/guile-xyz.scm (guile-fibers)[source]: Add 'modules' and
'snippet'.
(guile3.0-fibers): New variable.
2020-01-16 23:14:06 +01:00