Pierre Neidhardt
23af19f964
gnu: Add spinneret.
...
* gnu/packages/lisp-xyz.scm (cl-spinneret, ecl-spinneret, sbcl-spinneret): New variables.
2021-07-12 13:09:13 +02:00
Ludovic Courtès
12c2648f4e
doc: cookbook: Adjust example to simplified input style.
...
* doc/guix-cookbook.texi (Extended example): Adjust example to new input
style and adjust "Inputs" section.
2021-07-12 10:59:36 +02:00
Ludovic Courtès
bc7dd3f713
doc: cookbook: Remove trailing #t from extended example.
...
* doc/guix-cookbook.texi (Extended example): Remove trailing #t from
snippet and phases.
2021-07-12 10:53:32 +02:00
Ludovic Courtès
a6f3800173
gnu: fontconfig: Don't build PDFs.
...
* gnu/packages/fontutils.scm (fontconfig-with-documentation)[arguments]:
Add 'no-pdf-doc' phase.
2021-07-12 10:42:37 +02:00
Charles
a1522f49f4
gnu: Add cl-cache-while.
...
* gnu/packages/lisp-xyz.scm (sbcl-cache-while, ecl-cache-while,
cl-cache-while): New variables.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-07-12 09:33:03 +02:00
Charles
fd53b2122c
gnu: cl-tailrec: Update to 0-2.6f88284.
...
* gnu/packages/lisp-xyz.scm (sbcl-tailrec): Update to 0-2.6f88284.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-07-12 09:24:17 +02:00
Leo Famulari
b4cb403cf4
gnu: linux-libre 4.4: Update to 4.4.275.
...
* gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.275.
(linux-libre-4.4-pristine-source): Update hash.
2021-07-11 23:56:53 -04:00
Leo Famulari
610d01418f
gnu: linux-libre 4.9: Update to 4.9.275.
...
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.275.
(linux-libre-4.9-pristine-source): Update hash.
2021-07-11 23:56:53 -04:00
Leo Famulari
575313d870
gnu: linux-libre 4.14: Update to 4.14.239.
...
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.239.
(linux-libre-4.14-pristine-source): Update hash.
2021-07-11 23:56:52 -04:00
Leo Famulari
e833b9b30f
gnu: linux-libre 4.19: Update to 4.19.197.
...
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.197.
(linux-libre-4.19-pristine-source): Update hash.
2021-07-11 23:56:52 -04:00
Leo Famulari
b1e0414d9f
gnu: linux-libre 5.4: Update to 5.4.131.
...
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.131.
(linux-libre-5.4-pristine-source): Update hash.
2021-07-11 23:56:52 -04:00
Leo Famulari
d110cfa62f
gnu: linux-libre 5.10: Update to 5.10.49.
...
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.49.
(linux-libre-5.10-pristine-source): Update hash.
2021-07-11 23:56:52 -04:00
Leo Famulari
b0f1c4fc08
gnu: linux-libre: Update to 5.12.16.
...
* gnu/packages/linux.scm (linux-libre-5.12-version): Update to 5.12.16.
(linux-libre-5.12-pristine-source): Update hash.
2021-07-11 23:56:49 -04:00
Danny Milosavljevic
0e86d6ffed
gnu: Add cc65.
...
* gnu/packages/emulators.scm (cc65): New variable.
2021-07-12 01:48:20 +02:00
Danny Milosavljevic
dacda11541
gnu: Add exomizer.
...
* gnu/packages/emulators.scm (exomizer): New variable.
2021-07-12 01:48:12 +02:00
Sarah Morgensen
6f12880a76
gnu: fontconfig: Use (locally) deterministic caching
...
Make fontconfig use directory contents rather than modification time to
determine cache validity (by pretending that mtime is broken).
* gnu/packages/patches/fontconfig-cache-ignore-mtime.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/fontutils.scm (fontconfig)[source]: Use it.
[arguments]: Unset SOURCE_DATE_EPOCH for tests.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-11 18:17:31 +02:00
Efraim Flashner
7760d28920
gnu: java-xz: Mark source as zipbomb.
...
* gnu/packages/java-compression.scm (java-xz)[source]: Download source
as zipbomb.
[argments]: Remove custom 'chdir phase.
2021-07-11 14:07:00 +03:00
Efraim Flashner
24edccba3d
gnu: julia-mbedtls-jll: Update to 2.26.0+0.
...
* gnu/packages/julia-jll.scm (julia-mbedtls-jll): Update to 2.26.0+0.
2021-07-11 13:46:15 +03:00
aecepoglu
5c3489a3f7
gnu: Add parinfer-rust.
...
* gnu/packages/text-editors.scm (parinfer-rust): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-11 11:08:17 +03:00
aecepoglu
9373e358a5
gnu: Add rust-emacs-0.11.
...
* gnu/packages/crates-io.scm (rust-emacs-0.11): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-11 11:08:17 +03:00
aecepoglu
6eb024ec27
gnu: Add rust-emacs-macros-0.11.
...
* gnu/packages/crates-io.scm (rust-emacs-macros-0.11): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-11 11:08:16 +03:00
aecepoglu
180116a8cd
gnu: Add rust-darling-0.9.
...
* gnu/packages/crates-io.scm (rust-darling-0.9): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-11 11:08:16 +03:00
aecepoglu
83274b89b0
gnu: Add rust-darling-macro-0.9.
...
* gnu/packages/crates-io.scm (rust-darling-macro-0.9): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-11 11:08:16 +03:00
aecepoglu
b1f8d3a943
gnu: Add rust-darling-core-0.9.
...
* gnu/packages/crates-io.scm (rust-darling-core-0.9): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-11 11:08:16 +03:00
aecepoglu
46246ea24f
gnu: Add rust-strsim-0.7.
...
* gnu/packages/crates-io.scm (rust-strsim-0.7): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-11 11:08:16 +03:00
aecepoglu
d58064b600
gnu: Add rust-emacs-module-0.10.
...
* gnu/packages/crates-io.scm (rust-emacs-module-0.10): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-11 11:07:01 +03:00
aecepoglu
d7b2b291a1
gnu: Add rust-bindgen-0.48.
...
* gnu/packages/crates-io.scm (rust-bindgen-0.48): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-11 11:07:00 +03:00
Ludovic Courtès
9b4c3c675c
news: Add news entry for simplified package inputs.
...
* etc/news.scm: Add entry.
2021-07-11 01:06:04 +02:00
Ludovic Courtès
ab270bf2e9
import: elpa: Emit new-style package inputs.
...
* guix/import/elpa.scm (elpa-package->sexp)[dependencies]: Turn into a
list of symbols.
[maybe-inputs]: Wrap in 'list' instead of 'quasiquote'.
2021-07-11 00:49:16 +02:00
Ludovic Courtès
ff992fcfaf
import: print: Emit new-style package inputs when possible.
...
* guix/import/print.scm (redundant-input-labels?): New procedure.
(package->code)[package-lists->code]: Rename to...
[inputs->code]: ... this. When 'redundant-input-labels?' returns true,
emit label-less inputs. Adjust callers to new name.
* tests/print.scm (pkg-with-inputs): Adjust accordingly.
2021-07-11 00:49:16 +02:00
Ludovic Courtès
aa6921634b
import: cran: Emit new-style package inputs.
...
* guix/import/cran.scm (format-inputs): Emit symbols or
'specification->package' calls.
(maybe-inputs): Wrap in 'list' instead of 'quasiquote'.
* tests/cran.scm ("description->package"): Adjust accordingly.
2021-07-11 00:49:16 +02:00
Ludovic Courtès
52a9a0712a
import: pypi: Emit new-style package inputs.
...
* guix/import/pypi.scm (maybe-inputs): Wrap PACKAGE-INPUTS in 'list'
instead of 'quasiquote'.
(compute-inputs)[requirement->package-name/sort]: Return a list of symbols.
* tests/pypi.scm ("pypi->guix-package, no wheel")
("pypi->guix-package, wheels"): Adjust accordingly.
2021-07-11 00:49:15 +02:00
Ludovic Courtès
7b7b8c909b
packages: 'hidden-package' inherits the original package location.
...
* guix/packages.scm (hidden-package): Inherit 'location' from P.
2021-07-11 00:49:15 +02:00
Ludovic Courtès
f23803af20
Add 'guix style'.
...
* guix/scripts/style.scm, tests/style.scm: New files.
* Makefile.am (MODULES, SCM_TESTS): Add them.
* po/guix/POTFILES.in: Add 'guix/scripts/style.scm'.
* doc/guix.texi (Invoking guix style): New node.
(package Reference): Reference it.
(Invoking guix lint): Likewise.
2021-07-11 00:49:15 +02:00
Ludovic Courtès
73b08ad1a3
utils: 'edit-expression' copies part of the original source map.
...
* guix/utils.scm (source-location-key/stamp): New procedure.
(go-to-location): Use it.
(move-source-location-map!): New procedure.
(edit-expression): Call it.
2021-07-11 00:49:15 +02:00
Ludovic Courtès
f05433f208
utils: 'edit-expression' modifies the file only if necessary.
...
* guix/utils.scm (edit-expression): Check whether STR* equals STR.
2021-07-11 00:49:15 +02:00
Ludovic Courtès
ef1432f064
utils: Add 'go-to-location' with source location caching.
...
* guix/utils.scm (%source-location-map): New variable.
(go-to-location): New procedure.
(edit-expression): Use it instead of custom loop.
* guix/packages.scm (package-field-location)[goto]: Remove.
Use 'go-to-location' instead of 'goto'.
2021-07-11 00:49:15 +02:00
Ludovic Courtès
4dcc606766
utils: 'edit-expression' no longer leaks file ports.
...
* guix/utils.scm (edit-expression): Use 'call-with-input-file' to make
sure IN gets closed.
2021-07-11 00:49:14 +02:00
Ludovic Courtès
2f73ea3487
gnu: Change inputs of core packages to plain lists.
...
This is transparent: the resulting derivations are unchanged.
* gnu/packages/base.scm (grep, sed, tar, patch, diffutils, glibc/hurd-headers)
(coreutils, gnu-make, make-glibc-utf8-locales): Change input fields to
plain package lists and use 'modify-inputs'.
* gnu/packages/guile.scm (guile-1.8, guile-json-1, guile-json-3)
(guile-gdbm-ffi, guile-sqlite3, guile-bytestructures)
(guile-git, guile-zlib, guile-lzlib, guile-zstd, guile-next): Likewise.
* gnu/packages/mes.scm (nyacc-0.86, nyacc-0.99)
(nyacc, nyacc-1.00.2, mes-0.19, mes, m2-planet): Likewise.
2021-07-11 00:49:14 +02:00
Ludovic Courtès
04b2f3dd80
packages: Add 'modify-inputs'.
...
* guix/packages.scm (inputs-sans-labels, replace-input): New procedures.
(prepend, replace, modify-inputs): New macros.
* doc/guix.texi (Defining Package Variants): Document 'modify-inputs'.
* dir-locals.el: Add 'modify-inputs' and its keywords.
2021-07-11 00:49:14 +02:00
Ludovic Courtès
ba32f63638
packages: Add 'lookup-package-input' & co.
...
* guix/packages.scm (lookup-input, lookup-package-input)
(lookup-package-native-input, lookup-package-propagated-input)
(lookup-package-direct-input): New procedures.
* doc/guix.texi (package Reference): Document them.
2021-07-11 00:49:14 +02:00
Ludovic Courtès
b7f1b4c1d0
lint: Add 'input-labels' checker.
...
* guix/lint.scm (check-input-labels): New procedure.
(%local-checkers): Add 'input-labels' checker.
* tests/lint.scm ("input labels: no warnings")
("input labels: one warning"): New tests.
* doc/guix.texi (Invoking guix lint): Mention it.
2021-07-11 00:49:14 +02:00
Ludovic Courtès
8524349f78
packages: Allow inputs to be plain package lists.
...
* guix/packages.scm (add-input-label, sanitize-inputs): New procedures.
(<package>)[inputs, propagated-inputs, native-inputs]: Add 'sanitize' property.
* doc/guix.texi (Defining Packages, package Reference):
(Defining Package Variants): Adjust examples accordingly.
* tests/packages.scm ("transaction-upgrade-entry, zero upgrades, propagated inputs")
("transaction-upgrade-entry, grafts")
("package-transitive-inputs")
("package-transitive-supported-systems")
("package-closure")
("supported-package?")
("package-derivation, inputs deduplicated")
("package-transitive-native-search-paths")
("package-grafts, indirect grafts")
("package-grafts, indirect grafts, propagated inputs")
("package-grafts, same replacement twice")
("package-grafts, dependency on several outputs")
("replacement also grafted")
("package->bag, sensitivity to %current-target-system")
("package->bag, propagated inputs")
("package->bag, sensitivity to %current-system")
("package-input-rewriting/spec, identity")
("package-input-rewriting, identity"): Use the label-less input style.
2021-07-11 00:49:14 +02:00
Ludovic Courtès
8be1632199
records: Support field sanitizers.
...
* guix/records.scm (make-syntactic-constructor): Add #:sanitizers.
[field-sanitizer]: New procedure.
[wrap-field-value]: Honor F's sanitizer.
(define-record-type*)[field-sanitizer]: New procedure.
Pass #:sanitizer to 'make-syntactic-constructor'.
* tests/records.scm ("define-record-type* & sanitize")
("define-record-type* & sanitize & thunked"): New tests.
2021-07-11 00:49:14 +02:00
Ludovic Courtès
2a3cd4ee35
environment: Adjust to earlier 'gcc-bootstrap' search paths changes.
...
This is a followup to fe6775f52b
.
* tests/guix-environment.sh: Expect C_INCLUDE_PATH rather than CPATH in
environment containing 'gcc-bootstrap'.
2021-07-11 00:46:54 +02:00
Ludovic Courtès
152b167cfa
pack: Adjust test to earlier <compressor> changes.
...
This is a followup to 5a0997ef7f
, which
broke the "self-contained tarball" test.
* tests/pack.scm (%gzip-compressor): Add 'list' in third field.
2021-07-11 00:39:56 +02:00
Ricardo Wurmus
6db1afed3d
gnu: r-car: Update to 3.0-11.
...
* gnu/packages/statistics.scm (r-car): Update to 3.0-11.
2021-07-10 21:35:36 +02:00
Ricardo Wurmus
762b1de334
gnu: r-lme4: Update to 1.1-27.1.
...
* gnu/packages/statistics.scm (r-lme4): Update to 1.1-27.1.
2021-07-10 21:35:36 +02:00
Ricardo Wurmus
c7e86b9af6
gnu: r-quantreg: Update to 5.86.
...
* gnu/packages/statistics.scm (r-quantreg): Update to 5.86.
2021-07-10 21:35:36 +02:00
Ricardo Wurmus
4e7bf05978
gnu: r-plotly: Update to 4.9.4.1.
...
* gnu/packages/statistics.scm (r-plotly): Update to 4.9.4.1.
2021-07-10 21:35:36 +02:00