summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-23gnu: Add midicomp.Alexandros Theodotou
* gnu/packages/audio.scm (midicomp): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-02-23gnu: Add star-for-pigx.Ricardo Wurmus
This is a follow-up to commit f1f6e49190a11f926af3bef0d45541cabf47c742. * gnu/packages/bioinformatics.scm (star-for-pigx): New variable. (pigx-rnaseq, pigx-scrnaseq)[inputs]: Replace star with star-for-pigx.
2021-02-23gnu: grammalecte: Update to 2.1.1.Nicolas Goaziou
* gnu/packages/dictionaries.scm (grammalecte): Update to 2.1.1.
2021-02-23gnu: pwsafe-cli: Fix version (again).Nicolas Goaziou
* gnu/packages/password-utils.scm (pwsafe-cli)[version]: Actual version is 0.2.0, not 0.2.1. This is a followup to 9d76ff4304d1e9d0f413360ccdf2a2b14bf16c73.
2021-02-23gnu: pwsafe-cli: Fix version.Nicolas Goaziou
* gnu/packages/password-utils.scm (pwsafe-cli)[version]: Use 0.2.1 instead of 0.
2021-02-23gnu: pwsafe-cli: Small fixes.Nicolas Goaziou
* gnu/packages/password-utils.scm (pwsafe-cli): Fix indentation. [inputs]: Re-order alphabetically. [description]: Use a full sentence.
2021-02-23gnu: pwsafe-cli: Fix license.Nicolas Goaziou
* gnu/packages/password-utils.scm (pwsafe-cli)[license]: Use GPL2+.
2021-02-23gnu: Add pwsafe-cli.Stefan Reichör
* gnu/packages/password-utils.scm (pwsafe-cli): New variable. Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-02-23gnu: emacs-oauth2: Fix source location.Alexey Abramov via Guix-patches via
* gnu/packages/emacs-xyz.scm (emacs-oauth2): Replace .el extension with .tar Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-02-23doc: Expand sane-service-type documentation.raid5atemyhomework
* doc/guix.texi (sane-service-type): Move from between documentation about geoclue, expand slightly. (sane-backends-minimal): New description. (sane-backends): New description, new example. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-02-23store: Micro-optimize object cache lookup.Ludovic Courtès
This avoids a closure allocation when 'lookup-cached-object' is called. * guix/store.scm (lookup-cached-object): Avoid optional/keyword arguments and inline. (%mcached): Adjust accordingly.
2021-02-23gexp: Reduce allocations in 'gexp-attribute'.Ludovic Courtès
* guix/gexp.scm (gexp-attribute): Use 'fold' and 'fold/tree' instead of 'append-map'.
2021-02-23gexp: Reduce allocations while traversing lists.Ludovic Courtès
This reduces the total amount of memory allocated by 8% when running "guix build qemu -d --no-grafts". * guix/gexp.scm (fold/tree): New procedure. (gexp-inputs)[interesting?]: New procedure. [add-reference-inputs]: Change (lst ...) clause to (? pair? lst), and use 'fold/tree' to recurse into it. (gexp-inputs)[add-reference-output]: Likewise, and remove plain (lst ...) clause. Call 'fold'. (gexp->sexp)[reference->sexp]: In the list case, avoid boxing and recursive call when the object has a plain non-aggregate type.
2021-02-23gexp: Micro-optimize 'gexp->sexp' and 'lower-inputs'.Ludovic Courtès
* guix/gexp.scm (lower-inputs, gexp->sexp): Change keyword parameters to positional parameters. Adjust callers accordingly. * tests/gexp.scm (gexp->sexp*, "gexp->file"): Adjust accordingly.
2021-02-23gexp: Keep 'lower-inputs' private.Ludovic Courtès
It had been made public in 6b6298ae39bfe185ce1ab18bb3d641ddfad17c8f but it's no longer needed since 779aa003fbacbbcb6973f289b607d1d285009cec. * guix/gexp.scm (lower-inputs): Do not export.
2021-02-23gexp: 'gexp-inputs' returns both native and non-native inputs.Ludovic Courtès
This avoids double traversal of references and extra bookkeeping, thereby further reducing memory allocations. * guix/gexp.scm (lower-gexp): Include only one call to 'lower-inputs'. (gexp-inputs): Remove #:native? parameter. [set-gexp-input-native?]: New procedure. [add-reference-inputs]: Use it. (gexp-native-inputs): Remove. * tests/gexp.scm (gexp-native-inputs): Remove. (gexp-input->tuple): Include 'gexp-input-native?'. ("let-system") ("let-system, nested") ("ungexp + ungexp-native") ("ungexp + ungexp-native, nested") ("ungexp + ungexp-native, nested, special mixture") ("input list") ("input list + ungexp-native") ("input list splicing") ("input list splicing + ungexp-native-splicing") ("gexp list splicing + ungexp-splicing"): Adjust accordingly.
2021-02-23gexp: 'gexp-inputs' returns a list of <gexp-input> records.Ludovic Courtès
This slightly reduces memory allocation. * guix/gexp.scm (lower-inputs): Expect a list of <gexp-input> rather than a list of tuples. (lower-reference-graphs)[tuple->gexp-input]: New procedure. Use it. (gexp-inputs): Return a list of <gexp-input> rather than a list of tuples. * tests/gexp.scm (gexp-input->tuple): New procedure. ("one input package") ("one input package, dotted list") ("one input origin") ("one local file") ("one local file, symlink") ("one plain file") ("two input packages, one derivation, one file") ("file-append") ("file-append, output") ("file-append, nested") ("let-system") ("let-system, nested") ("ungexp + ungexp-native") ("ungexp + ungexp-native, nested") ("ungexp + ungexp-native, nested, special mixture") ("input list") ("input list + ungexp-native") ("input list splicing") ("input list splicing + ungexp-native-splicing") ("gexp list splicing + ungexp-splicing"): Adjust accordingly.
2021-02-23gexp: Micro-optimize sexp serialization.Ludovic Courtès
* guix/gexp.scm (sexp->string): New procedure. (gexp->derivation): Use it instead of 'object->string'.
2021-02-23store: Object cache profiling shows the number of entries.Ludovic Courtès
* guix/store.scm (record-cache-lookup!): Add 'size' variable; keep it up-to-date and display it.
2021-02-23grafts: Inline 'grafting?' and 'set-grafting'.Ludovic Courtès
As for 'current-target-system' & co., this makes sure we don't needlessly allocate closures. * guix/grafts.scm (grafting?, set-grafting): Inline.
2021-02-23gnu: ruby-rails: Update to 6.1.3.Efraim Flashner
* gnu/packages/rails.scm (ruby-activemodel, ruby-activerecord, ruby-actionview, ruby-actionpack, ruby-actioncable, ruby-activejob, ruby-activestorage, ruby-actionmailer, ruby-railties, ruby-rails): Update to 6.1.3. (ruby-actiontext, ruby-actionmailbox): New variables. (ruby-actioncable)[propagated-inputs]: Add ruby-activesupport. (ruby-activestorage)[propagated-inputs]: Add ruby-activejob, ruby-activesupport, ruby-mimemagic. (ruby-actionmailer)[propagated-inputs]: Add ruby-activesupport. (ruby-railties)[propagated-inputs]: Add ruby-rake. (ruby-rails)[propagated-inputs]: Add ruby-actionmailbox, ruby-actiontext. * gnu/packages/ruby.scm (ruby-activesupport): Update to 6.1.3. [propagated-inputs]: Add ruby-zeitwerk. [home-page]: Use https.
2021-02-23gnu: ruby-rack: Update to 2.2.3.Efraim Flashner
* gnu/packages/ruby.scm (ruby-rack): Update to 2.2.3. [source]: Remove patch. Add snippet. [arguments]: Adjust custom 'fix-tests phase. Remove 'make-files-writable phase. [native-inputs]: Remove ruby-minitest-sprint, which. Add ruby-minitest-global-expectations. [propagated-inputs]: Remove ruby-concurrent. * gnu/packages/patches/ruby-rack-ignore-failing-test.patch: Remove file. * gnu/local.mk (dist_patch_DATA): Remove it.
2021-02-23gnu: Add ruby-zeitwerk.Efraim Flashner
* gnu/packages/ruby.scm (ruby-zeitwerk): New variable.
2021-02-23gnu: ruby-web-console: Update to 4.1.0.Efraim Flashner
* gnu/packages/rails.scm (ruby-web-console): Update to 4.1.0.
2021-02-23gnu: ruby-tzinfo-data: Update to 1.2021.1.Efraim Flashner
* gnu/packages/ruby.scm (ruby-tzinfo-data): Update to 1.2021.1. [source]: Remove patch. [arguments]: Add custom 'patch-source, 'pre-check phases. [native-inputs]: Add IANA timezone data files. * gnu/packages/patches/ruby-tzinfo-data-ignore-broken-test.patch: Remove file. * gnu/local.mk (dist_patch_DATA): Remove it.
2021-02-23gnu: ruby-tzinfo: Update to 2.0.4.Efraim Flashner
* gnu/packages/ruby.scm (ruby-tzinfo): Update to 2.0.4. [source]: Download using git-fetch. [arguments]: Add custom 'pre-check, 'check phases. [propagated-inputs]: Remove ruby-thread-safe, add ruby-concurrent. [native-inputs]: Add ruby-simplecov.
2021-02-23gnu: ruby-rails-html-sanitizer: Update to 1.3.0.Efraim Flashner
* gnu/packages/rails.scm (ruby-rails-html-sanitizer): Update to 1.3.0.
2021-02-23gnu: ruby-rails-dom-testing: Update to 2.0.3.Efraim Flashner
* gnu/packages/rails.scm (ruby-rails-dom-testing): Update to 2.0.3.
2021-02-23gnu: ruby-loofah: Update to 2.3.1.Efraim Flashner
* gnu/packages/ruby.scm (ruby-loofah): Update to 2.3.1. [arguments]: Adjust custom 'remove-unnecessary-dependencies phase for upstream changes.
2021-02-23gnu: ruby-mail: Update to 2.7.1.Efraim Flashner
* gnu/packages/ruby.scm (ruby-mail): Update to 2.7.1. [propagated-inputs]: Remove ruby-mime-types, add ruby-mini-mime. [arguments]: Adjust comment about skipping tests.
2021-02-23gnu: Add ruby-mini-mime.Efraim Flashner
* gnu/packages/ruby.scm (ruby-mini-mime): New variable.
2021-02-23gnu: ruby-protobuf: Add missing input.Efraim Flashner
* gnu/packages/protobuf.scm (ruby-protobuf)[propagated-inputs]: Add ruby-thread-safe.
2021-02-23gnu: stockfish: Update to 13.Greg Hogan
* gnu/packages/games.scm (stockfish): Update to 13. [inputs]: Update neural network file. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-02-23gnu: Add emacs-ido-at-point.Masaya Tojo
* gnu/packages/emacs-xyz.scm (emacs-ido-at-point): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-02-23gnu: cli11: Remove (guix utils) dependency.Mathieu Othacehe
* gnu/packages/cpp.scm (cli11)[arguments]: Do not import (guix utils) that is not meant to go on the build side.
2021-02-23tests: cuirass: Restore "cuirass running".Mathieu Othacehe
This is a follow-up of ab054868afe6a4ba9d8aa9943e265bd6a871d0ae. The test was failing because the Shepherd control socket wasn't ready yet. Restore it but make sure that the control socket is available first. * gnu/tests/cuirass.scm ("shepherd socket ready"): New test. ("cuirass running"): Restore it.
2021-02-23tests: cuirass: Remove "cuirass running" test.Mathieu Othacehe
* gnu/tests/cuirass.scm ("cuirass running"): Remove it as it fails if all the dependencies are not started yet.
2021-02-23services: cuirass: Fix services requirements.Mathieu Othacehe
* gnu/services/cuirass.scm (cuirass-shepherd-service): Add "postgres-roles" to cuirass requirements. Set cuirass-web requirements to cuirass only. Remove "guix-daemon" and "networking" from cuirass-remote-server requirements as are already required by cuirass.
2021-02-23services: postgresql-roles: Fix race condition.Mathieu Othacehe
Make sure that the postgresql-roles script is completed before declaring the postgresql-roles service as started. * gnu/services/databases.scm (postgresql-create-roles): Return the command line instead of a program-file. (postgresql-role-shepherd-service): Use fork+exec-command to start the role creation script and wait for its completion before returning.
2021-02-23services: cuirass: Improve simple-cuirass-services.Mathieu Othacehe
Instead of returning multiple services in simple-cuirass-services, rely on the instantiate-missing-services procedure to instantiate postgresql and postgresql-role-service-type when missing. Turn simple-cuirass-services procedure into simple-cuirass-configuration->specs, that takes a simple-cuirass-configuration record and returns a Cuirass specification. Suggested-by: Ludovic Courtès <ludo@gnu.org> * gnu/services/cuirass.scm (%default-cuirass-config): Remove it. (simple-cuirass-services): Rename it to ... (simple-cuirass-configuration->specs): ... this procedure. * gnu/tests/cuirass.scm (cuirass-services): Remove postgresql and postgresql-role services that are automatically instantiated. (simple-cuirass-service): New variable. (%cuirass-simple-test): Adapt it to use simple-cuirass-configuration->specs instead of simple-cuirass-services. * doc/guix.texi (Simple Cuirass): Update it.
2021-02-23gnu: sbcl-common-lisp-jupyter: Update to 20210217.Pierre Neidhardt
* gnu/packages/lisp-xyz.scm (sbcl-common-lisp-jupyter): Update to 20210217.
2021-02-23gnu: sbcl-trivial-clipboard: Update to 20210219.Pierre Neidhardt
* gnu/packages/lisp-xyz.scm (sbcl-trivial-clipboard): Update to 20210219.
2021-02-23gnu: youtube-dl: Update to 2021.02.22.Tobias Geerinckx-Rice
* gnu/packages/video.scm (youtube-dl): Update to 2021.02.22.
2021-02-22scripts: Don't trigger option hints for short options.Ludovic Courtès
Previously, 'guix install foo -r bar' would crash with a backtrace because NAME would be #\r (a character instead of a string). * guix/scripts.scm (parse-command-line)[parse-options-from]: Call 'option-hint' only when NAME is a string.
2021-02-22profiles: Fix typo in manifest comment.Ludovic Courtès
* guix/build/profiles.scm (build-profile): Fix typo.
2021-02-22describe: Fix typo in 'manifest-entry-with-provenance'.Ludovic Courtès
* guix/describe.scm (manifest-entry-with-provenance): Fix first argument to 'assq'.
2021-02-22gnu: ocaml-llvm: Remove duplicate package.Ludovic Courtès
Commit 8f710cc598fb675d267f49a82cffc197f03ad52c introduced a duplicate ocaml-llvm@9.0.1 package, which was flagged by a test failure in tests/packages.scm. * gnu/packages/ocaml.scm (make-ocaml-llvm): Define as 'mlambdaq'.
2021-02-22gnu: linux-libre-headers@5.11: Refer to 5.11, not 5.10.Ludovic Courtès
Fixes a typo introduced in b819512ca2cce1051c5fea26328da2e5d6a9a101. * gnu/packages/linux.scm (linux-libre-headers-5.11): Really refer to 5.11.
2021-02-22packages: 'package-field-location' preserves the original file name.Ludovic Courtès
This fixes a regression introduced in 9a38bed2cf32e9462badfa43e74cdd4580e804fc. * guix/packages.scm (package-field-location): Do not shadow the 'file' variable.
2021-02-22gnu: isync: Update to 1.3.5 [fixes CVE-2021-20247].Leo Famulari
* gnu/packages/mail.scm (isync): Update to 1.3.5.