Ricardo Wurmus
ec79018e68
gnu: Add ruby-lumberjack.
...
* gnu/packages/ruby.scm (ruby-lumberjack): New variable.
2015-09-19 08:43:23 -04:00
Pjotr Prins
6aaa815e9f
gnu: Add ruby-docile.
...
* gnu/packages/ruby.scm (ruby-docile): New variable.
2015-09-19 08:34:14 -04:00
Ludovic Courtès
8874f7668a
gnu: ifstatus: Fix license.
...
* gnu/packages/networking.scm (ifstatus)[license]: Set to GPL2+.
2015-09-18 21:57:53 +02:00
Ludovic Courtès
e0566f12f8
lint: Report lonely parentheses.
...
* guix/scripts/lint.scm (%hanging-paren-rx): New variable.
(report-lone-parentheses): New procedure.
(%formatting-reporters): Use it.
* tests/lint.scm ("formatting: lonely parentheses"): New test.
2015-09-18 21:54:04 +02:00
Stefan Reichoer
24a848c8e3
gnu: Add ifstatus.
...
* gnu/packages/networking.scm (ifstatus): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-09-18 21:54:03 +02:00
Alex Kost
4f740b677a
store: Add 'set-build-options*'.
...
Suggested by: Ludovic Courtès <ludo@gnu.org>.
* guix/store.scm (set-build-options*): New procedure.
2015-09-18 21:42:07 +03:00
Alex Kost
fa394eb99c
ui: Add 'show-derivation-outputs'.
...
* guix/scripts/build.scm (guix-build): Extract code from here and move to...
* guix/ui.scm (show-derivation-outputs): ... here. New procedure.
2015-09-18 21:42:06 +03:00
Alex Kost
88981dd3e2
Add (guix scripts).
...
* guix/ui.scm: Add missing copyright lines.
(args-fold*, environment-build-options, %default-argument-handler,
parse-command-line): Move to ...
* guix/scripts.scm: ...here. New file.
* guix/scripts/archive.scm: Use it.
* guix/scripts/build.scm: Likewise.
* guix/scripts/download.scm: Likewise.
* guix/scripts/edit.scm: Likewise.
* guix/scripts/environment.scm: Likewise.
* guix/scripts/gc.scm: Likewise.
* guix/scripts/graph.scm: Likewise.
* guix/scripts/hash.scm: Likewise.
* guix/scripts/import/cpan.scm: Likewise.
* guix/scripts/import/cran.scm: Likewise.
* guix/scripts/import/elpa.scm: Likewise.
* guix/scripts/import/gem.scm: Likewise.
* guix/scripts/import/gnu.scm: Likewise.
* guix/scripts/import/hackage.scm: Likewise.
* guix/scripts/import/nix.scm: Likewise.
* guix/scripts/import/pypi.scm: Likewise.
* guix/scripts/lint.scm: Likewise.
* guix/scripts/package.scm: Likewise.
* guix/scripts/publish.scm: Likewise.
* guix/scripts/pull.scm: Likewise.
* guix/scripts/refresh.scm: Likewise.
* guix/scripts/size.scm: Likewise.
* guix/scripts/system.scm: Likewise.
* tests/ui.scm (with-environment-variable, "parse-command-line",
"parse-command-line and --no options"): Move to ...
* tests/scripts.scm: ...here. New file.
* Makefile.am (MODULES): Add guix/scripts.scm.
(SCM_TESTS): Add tests/scripts.scm.
* po/guix/POTFILES.in: Add guix/scripts.scm.
2015-09-18 21:42:06 +03:00
Alex Kost
b2cb869cf9
emacs: Replace 'guix-any' with 'cl-some'.
...
* emacs/guix-utils.el (guix-any): Remove.
* emacs/guix-command.el (guix-command-improve-argument): Use 'cl-some'
instead of 'guix-any'.
2015-09-18 21:41:46 +03:00
Alex Kost
eda1cc8b5d
emacs: Add commands to show/hide build log phases.
...
Suggested by Ludovic Courtès <ludo@gnu.org>.
* emacs/guix-build-log.el (guix-build-log-phase-end-regexp): New
variable.
(guix-build-log-phase-start, guix-build-log-phase-end,
guix-build-log-phase-hide, guix-build-log-phase-show,
guix-build-log-phase-hidden-p, guix-build-log-phase-toggle-function,
guix-build-log-phase-toggle, guix-build-log-phase-toggle-all): New functions.
(guix-build-log-mode-map): Add 'TAB'/'S-TAB' key bindings.
* doc/emacs.texi (Emacs Build Log): Document them.
2015-09-18 21:41:23 +03:00
Federico Beffa
c093f9f63a
gnu: Add scmutils.
...
* gnu/packages/scheme.scm (scmutils): New variable.
2015-09-18 14:55:53 +02:00
Pjotr Prins
212d563d26
gnu: Add ruby-bio-logger.
...
* gnu/packages/ruby.scm (ruby-bio-logger): New variable.
2015-09-17 17:41:22 -04:00
Steve Sprang
47770296d2
download: Only show hours in the elapsed time if necessary.
...
* guix/build/download.scm
(seconds->string): Conditionally include hours in timestamp.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-09-17 14:40:46 +02:00
Christopher Allan Webber
be3feafedf
gnu: guile: Add guile-next
...
* gnu/packages/guile.scm (guile-next): New variable.
* gnu/packages/guile.scm (guile-for-guile-emacs):
Adjust to inherit from guile-next rather than guile-2.0
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-09-17 14:38:19 +02:00
Ludovic Courtès
2d1db448bd
gnu: Add emacs-typo.
...
* gnu/packages/emacs.scm (typo): New variable.
2015-09-17 11:21:42 +02:00
Ludovic Courtès
d001bb5ab5
gnu: Add emacs-butler.
...
* gnu/packages/emacs.scm (butler): New variable.
2015-09-17 11:21:42 +02:00
Ludovic Courtès
3ffe36f534
gnu: Add emacs-deferred.
...
* gnu/packages/emacs.scm (emacs-deferred): New variable.
2015-09-17 11:21:42 +02:00
Pjotr Prins
cd89fecbe7
gnu: Add ruby-cucumber-core.
...
* gnu/packages/ruby.scm (ruby-cucumber-core): New variable.
2015-09-16 20:56:16 -04:00
Steve Sprang
a8be7b9a7a
substitute: Improve readability of download progress report.
...
* guix/build/download.scm
(string-pad-middle, store-url-abbreviation, store-path-abbreviation):
New procedures.
(progress-proc): Add #:abbreviation parameter and use it. Generate a
better indeterminate progress string.
* guix/scripts/substitute.scm (assert-valid-narinfo): Add newlines to output.
(process-substitution): Use byte-count->string and store-path-abbreviation.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-09-16 23:50:12 +02:00
Ben Woodcroft
41ddebdd2a
gnu: Add mafft.
...
* gnu/packages/bioinformatics.scm (mafft): New variable.
2015-09-16 23:06:14 +02:00
Efraim Flashner
e864722731
gnu: Add keepassx.
...
* gnu/packages/password-utils.scm (keepassx): New variable.
2015-09-16 23:00:01 +02:00
Cyril Roelandt
2c9d96767a
gnu: Add python-requests-mock.
...
* gnu/packages/openstack.scm (python-requests-mock,
python2-requests-mock): New variables.
2015-09-16 22:53:36 +02:00
Cyril Roelandt
de34aface7
gnu: Add python-webob.
...
* gnu/packages/python.scm (python-webob, python2-webob): New variables.
2015-09-16 22:53:36 +02:00
Cyril Roelandt
c7c7a93621
gnu: Add python-oslo.context.
...
* gnu/packages/openstack.scm (python-oslo.context,
python2-oslo.context): New variables.
2015-09-16 22:53:36 +02:00
Cyril Roelandt
5702efe3e9
gnu: Add python-oslo.serialization.
...
* gnu/packages/openstack.scm (python-oslo.serialization,
python2-oslo.serialization): New variables.
2015-09-16 22:53:36 +02:00
Ricardo Wurmus
979f9e8aed
gnu: sfarklib: Update to 2.24.
...
* gnu/packages/compression.scm (sfarklib): Update to 2.24.
2015-09-16 22:42:45 +02:00
Pjotr Prins
f9ae2c068d
gnu: Add ruby-log4r.
...
* gnu/packages/ruby.scm (ruby-log4r): New variable.
2015-09-16 08:41:46 -04:00
Vicente Vera Parra
8ea6b30fea
gnu: Add r-dbi.
...
* gnu/packages/statistics.scm (r-dbi): New variable.
2015-09-16 12:01:12 +02:00
Ludovic Courtès
f4e92db3cb
nls: Add "TRANSLATORS:" comment about Texinfo.
...
* gnu/packages/abiword.scm: Add comment above 'description'.
2015-09-15 22:48:53 +02:00
Ludovic Courtès
cbd02397b5
doc: Add guidelines for synopses and descriptions.
...
* doc/guix.texi (Synopses and Descriptions): New node.
* doc/contributing.texi (Submitting Patches): Add item that
cross-references it.
2015-09-15 22:48:52 +02:00
Ludovic Courtès
2cbed07eef
doc: Change authorship to "The GNU Guix Developers".
...
* doc/guix.texi: Replace outdated @author list with just "The GNU Guix
Developers".
2015-09-15 22:48:52 +02:00
Vicente Vera Parra
6af4813430
gnu: Add r-lazyeval.
...
* gnu/packages/statistics.scm (r-lazyeval): New variable.
2015-09-15 22:33:57 +02:00
Vicente Vera Parra
ed6094fc77
gnu: Add r-assertthat.
...
* gnu/packages/statistics.scm (r-assertthat): New variable.
2015-09-15 21:09:02 +02:00
pjotr.public12@thebird.nl
62e4cc5aa1
gnu: Add ruby-gherkin3.
...
* gnu/packages/ruby.scm (ruby-gherkin3): New variable.
2015-09-15 14:37:09 -04:00
Mathieu Lirzin
3500e659f1
lint: Add 'check-texinfo-markup' checker.
...
* guix/script/lint.scm (check-description-style): Check for invalid
Texinfo markup.
* tests/lint.scm: Test it.
2015-09-15 19:01:23 +02:00
Alex Kost
83d95c7b36
emacs: Add "View build log" action to build popup.
...
* emacs/guix-command.el (guix-run-view-build-log): New function.
(guix-command-additional-execute-arguments,
guix-command-special-executors): Add entries for "View build log"
action.
* emacs/guix-utils.el (guix-find-file-or-url): New function.
2015-09-15 15:19:31 +03:00
Alex Kost
34850cd59d
emacs: Add modes for viewing build logs.
...
* emacs/guix-build-log.el: New file.
* emacs.am (ELFILES): Add it.
* doc/emacs.texi (Emacs Build Log): Document it. New node.
(Emacs Interface): Add it.
* doc/guix.texi (Top): Likewise.
2015-09-15 15:19:31 +03:00
Alex Kost
ea369ee1b0
emacs: Display guix command errors in the minibuffer.
...
* emacs/guix-main.scm (output+error): New procedure.
(guix-command-output): Use it.
* emacs/guix-base.el (guix-command-output): Display error output in the
minibuffer.
2015-09-15 15:19:31 +03:00
Alex Kost
46e17df661
emacs: Add customization groups for faces.
...
* emacs/guix.el (guix-faces): New custom group.
* emacs/guix-base.el (guix-operation-option-key): Use it.
(guix-define-buffer-type): Generate faces group.
* emacs/guix-info.el: Adjust faces to use new groups.
(guix-info-faces): New custom group.
* emacs/guix-list.el: Likewise
(guix-list-faces): New custom group.
2015-09-15 15:19:30 +03:00
Eric Bavier
50f5c46d06
guix: lint: Check for meaningful origin file names.
...
* guix/scripts/lint.scm (check-source-file-name): New procedure.
(%checkers): Add 'source-file-name' checker.
* tests/lint.scm ("source-file-name", "source-file-name: v prefix")
("source-file-name: valid", "source-file-name: bad checkout")
("source-file-name: good checkout"): New tests.
* doc/guix.texi (Invoking guix lint): Mention file name check.
2015-09-14 18:03:33 -05:00
Eric Bavier
3b4d01035f
guix: packages: Add origin-actual-file-name.
...
* guix/scripts/graph.scm (uri->file-name, node-full-name): Move origin file
name logic to...
* guix/packages.scm (origin-actual-file-name): ...here.
* tests/packages.scm ("origin-actual-file-name")
("origin-actual-file-name, file-name"): New tests.
2015-09-14 18:02:37 -05:00
Steve Sprang
eb95ace9f1
download: Avoid type errors when formatting download progress output.
...
* guix/build/download.scm (nearest-exact-integer): New procedure.
(seconds->string, byte-count->string): Use it.
2015-09-14 23:36:26 -04:00
Ludovic Courtès
d89e0990f5
guix system: Gracefully handle incomplete commands.
...
Fixes <http://bugs.gnu.org/21451 >.
Reported by Steve Sprang <steve.sprang@gmail.com>.
* guix/scripts/system.scm (guix-system)[option-arguments]: Error out
when ACTION is #f.
2015-09-15 00:04:27 +02:00
Mathieu Lirzin
17d8e33f31
doc: Use the recommended Scheme format.
...
Apply the recommended formatting rules from '.dir-locals.el' to the
examples in the manual in order to fulfill it's purpose of being a
reference.
* doc/package-hello.scm: Indent it.
* doc/guix.texi (Defining Packages, Version Numbers): Likewise.
* gnu/packages/base.scm (hello): Be consistent with the manual.
2015-09-14 23:10:58 +02:00
Pjotr Prins
9c38b54027
gnu: Add bio-locus.
...
* gnu/packages/bioinformatics.scm (bio-locus): New variable.
2015-09-14 12:06:04 -04:00
David Thompson
801a0a2219
Revert "gnu: Add bio-locus."
...
This reverts commit b429c4fbb0
.
2015-09-14 12:05:15 -04:00
Pjotr Prins
b429c4fbb0
gnu: Add bio-locus.
...
* gnu/packages/bioinformatics.scm (bio-locus): New variable.
2015-09-14 11:36:30 -04:00
David Thompson
239db054a7
gnu: system: Add Linux container module.
...
* gnu/system/linux-container.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu/system.scm: Export 'operating-system-etc-directory',
'operating-system-boot-script', 'operating-system-locale-directory', and
'file-union'.
(operating-system-boot-script): Add #:container? keyword argument.
(operating-system-activation-script): Add #:container? keyword argument.
Don't call 'activate-firmware' or 'activate-ptrace-attach' when activating a
container.
2015-09-14 08:30:46 -04:00
David Thompson
5dc876231b
build: ruby: Add support for tarball and directory sources.
...
Previously, the Ruby build system only knew how to work with gem archives,
which made it difficult to build unreleased gems from a Git repository or
released gems in tarball form.
* gnu/build/ruby-build-system.scm (gnu:unpack, gem-archive?): New procedures.
(unpack): Use GNU build system unpack phase for non-gem sources.
(build): Rebuild the gemspec iff the source is a gem archive.
* guix.texi ("ruby-build-system"): Mention that tarballs and directories are
acceptable.
2015-09-14 08:29:07 -04:00
Cyril Roelandt
27cc9f2544
gnu: Add python-oslo.utils.
...
* gnu/packages/openstack.scm (python-oslo.utils, python2-oslo.utils): New variables.
2015-09-14 00:14:56 +02:00