David Thompson
cd49454b7b
gnu: Add python-fixtures.
...
* gnu/packages/python.scm (python-fixtures, python2-fixtures): New variables.
2014-09-05 23:31:20 -04:00
David Thompson
070ab0588c
gnu: Add python-subunit.
...
* gnu/packages/python.scm (python-subunit, python2-subunit): New variables.
2014-09-05 23:31:20 -04:00
David Thompson
dac79ecc51
gnu: Add python-testresources.
...
* gnu/packages/python.scm (python-testresources, python2-testresources): New
variables.
2014-09-05 23:31:20 -04:00
David Thompson
5bf3afea68
gnu: Add python-testscenarios.
...
* gnu/packages/python.scm (python-testscenarios, python2-testscenarios): New
variables.
2014-09-05 23:31:20 -04:00
David Thompson
d8fa80e13f
gnu: Add python-testtools.
...
* gnu/packages/python.scm (python-testtools, python2-testtools): New
variables.
2014-09-05 23:31:20 -04:00
David Thompson
84d2401728
gnu: Add python-scripttest.
...
* gnu/packages/python.scm (python-scriptest, python2-scripttest): New
variables.
2014-09-05 23:31:20 -04:00
David Thompson
855d4761a5
gnu: Add python-pytest.
...
* gnu/packages/python.scm (python-pytest, python2-pytest): New variables.
2014-09-05 23:31:20 -04:00
David Thompson
542ad60fbc
gnu: Add python-py.
...
* gnu/packages/python.scm (python-py, python2-py): New variables.
2014-09-05 23:31:20 -04:00
David Thompson
6cd9c35637
gnu: Add python-unittest2.
...
* gnu/packages/python.scm (python-unittest2, python2-unittest2): New
variables.
2014-09-05 23:31:20 -04:00
David Thompson
4435427e6d
gnu: Add python-nose.
...
* gnu/packages/python.scm (python-nose, python2-nose): New variables.
2014-09-05 23:31:20 -04:00
David Thompson
c15a5c0eac
gnu: Add python-extras.
...
* gnu/packages/python.scm (python-extras, python2-extras): New variables.
2014-09-05 23:31:20 -04:00
David Thompson
56ea0efd72
gnu: Add python-mimeparse.
...
* gnu/packages/python.scm (python-mimeparse, python2-mimeparse): New
variables.
2014-09-05 23:31:20 -04:00
David Thompson
850189b839
gnu: Add python-unidecode.
...
* gnu/packages/python.scm (python-unidecode, python2-unidecode): New
variables.
2014-09-05 23:31:20 -04:00
David Thompson
864b5211cd
gnu: Add python-jsonschema.
...
* gnu/packages/python.scm (python-jsonschema, python2-jsonschema): New
variables.
2014-09-05 23:31:20 -04:00
David Thompson
e6cfbd364a
gnu: Add python2-requests.
...
* gnu/packages/python.scm (python2-requests): New variable.
2014-09-05 23:31:20 -04:00
David Thompson
3a1f9a68e5
gnu: Add python-certifi.
...
* gnu/packages/python.scm (python-certifi, python2-certifi): New variables.
2014-09-05 23:31:20 -04:00
David Thompson
d5f89b22d8
gnu: Add python-pyld.
...
* gnu/packages/python.scm (python-pyld, python2-pyld): New variables.
2014-09-05 23:31:20 -04:00
David Thompson
c7303d3cef
gnu: Add python-exif-read.
...
* gnu/packages/python.scm (python-exif-read, python2-exif-read): New
variables.
2014-09-05 23:31:20 -04:00
Ludovic Courtès
b50c5b7418
pull: Add a compilation progress report.
...
* guix/build/pull.scm (report-build-progress): New procedure.
(p-for-each): Add #:progress parameter.
[loop]: Keep track of the number of completed processes. Tail-call
PROGRESS at each loop iteration.
(build-guix): Add #:debug-port parameter. Use it for verbose
messages. Change 'tar' flags to 'xf'. Around 'compile-file' call,
bind CURRENT-WARNING-PORT to DEBUG-PORT.
* guix/scripts/pull.scm (unpack): Add #:verbose? parameter.
[builder]: Pass #:debug-port to 'build-guix'.
(guix-pull): Leave CURRENT-BUILD-OUTPUT-PORT unchanged. Pass
#:verbose? to 'unpack'.
2014-09-05 23:11:04 +02:00
Eric Bavier
1145938496
utils: Clean trailing whitespace at end of SHELL
...
* guix/build/utils.scm (patch-makefile-SHELL): Remove trailing whitespace.
2014-09-05 00:02:19 -05:00
Ludovic Courtès
6fd1a79674
vm: Move store copy handling to (guix build store-copy).
...
* gnu/build/vm.scm (read-reference-graph, populate-store): Move to...
* guix/build/store-copy.scm: ... here. New file.
* Makefile.am (MODULES): Add it.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Adjust default
#:modules values accordingly.
* tests/gexp.scm ("gexp->derivation, store copy"): New test.
2014-09-04 23:24:54 +02:00
Ludovic Courtès
b21a1c5a18
linux-initrd: Move Linux module tree flattening to another derivation.
...
* gnu/system/linux-initrd.scm (expression->initrd)[string->regexp]:
Remove.
Use 'flat-linux-module-directory'. Remove the equivalent logic from
'builder'.
(flat-linux-module-directory): New procedure.
2014-09-04 22:51:04 +02:00
Ludovic Courtès
39c4563aea
profiles: Use a real arrow to denote upgrades in ASCII.
...
Suggested by Alex Kost.
* guix/profiles.scm (right-arrow): Fall back to "->".
* tests/profiles.scm ("manifest-show-transaction"): Adjust accordingly.
2014-09-04 21:35:57 +02:00
Alex Kost
457f60fa06
Add Emacs user interface.
...
* configure.ac (emacsuidir): New variable.
(AC_CONFIG_FILES): Add 'emacs/guix-init.el', 'emacs/guix-helper.scm'.
* Makefile.am: Include 'emacs.am'.
* emacs.am: New file.
* doc/emacs.texi: New file.
* doc/guix.texi: Include 'emacs.texi'.
* emacs/guix-backend.el: New file.
* emacs/guix-base.el: New file.
* emacs/guix-helper.scm.in: New file.
* emacs/guix-history.el: New file.
* emacs/guix-info.el: New file.
* emacs/guix-init.el.in: New file.
* emacs/guix-list.el: New file.
* emacs/guix-main.scm: New file.
* emacs/guix-utils.el: New file.
* emacs/guix.el: New file.
2014-09-03 23:50:35 +04:00
Ludovic Courtès
a423555d3c
gnu: datamash: Fix license.
...
* gnu/packages/datamash.scm (datamash)[license]: Change to GPL3+.
2014-09-03 15:43:07 +02:00
Ludovic Courtès
fbb3555809
linux-initrd: Factorize cpio archive creation.
...
* gnu/build/linux-initrd.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu/system/linux-initrd.scm (expression->initrd): Use (gnu build
linux-initrd) and 'write-cpio-archive' instead of the inlined code.
2014-09-03 15:43:07 +02:00
Ludovic Courtès
e2f4b305d0
Move part of (gnu build linux-boot) to (gnu build file-systems).
...
* gnu/build/linux-boot.scm (%ext2-endianness, %ext2-sblock-magic,
%ext2-sblock-creator-os, %ext2-sblock-uuid, %ext2-sblock-volume-name,
read-ext2-superblock, ext2-superblock-uuid,
ext2-superblock-volume-name, disk-partitions,
partition-label-predicate, find-partition-by-label,
canonicalize-device-spec, MS_RDONLY, MS_NOSUID, MS_NODEV, MS_NOEXEC,
MS_BIND, MS_MOVE, bind-mount, check-file-system,
mount-flags->bit-mask, mount-file-system): Move to...
* gnu/build/file-systems.scm: ... here. New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu/services/base.scm: Use (gnu build file-systems).
* gnu/services/dmd.scm (dmd-configuration-file): Likewise.
* gnu/system.scm (operating-system-activation-script): Likewise.
* gnu/system/linux-initrd.scm (base-initrd): Likewise.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Likewise.
2014-09-03 15:43:07 +02:00
Ludovic Courtès
8a9e21d1f7
Rename (gnu build linux-initrd) to (gnu build linux-boot).
...
* gnu/build/linux-initrd.scm: Rename to...
* gnu/build/linux-boot.scm: ... this.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/build/activation.scm, gnu/build/vm.scm, gnu/services/base.scm,
gnu/services/dmd.scm, gnu/system.scm, gnu/system/linux-initrd.scm,
gnu/system/vm.scm: Adjust accordingly.
2014-09-03 15:43:07 +02:00
Ludovic Courtès
548f7a8fa2
Move operating system helpers from (guix build …) to (gnu build …).
...
* guix/build/activation.scm, guix/build/install.scm,
guix/build/linux-initrd.scm, guix/build/vm.scm: Move to...
* gnu/build: ... here.
* Makefile.am (MODULES): Remove the above guix/build/ files.
* gnu-system.am (GNU_SYSTEM_MODULES): Add the above gnu/build/ files
here.
* gnu/services/base.scm, gnu/services/dmd.scm, gnu/system.scm,
gnu/system/linux-initrd.scm, gnu/system/vm.scm,
guix/scripts/system.scm: Adjust to the new module names.
2014-09-03 15:43:07 +02:00
Ludovic Courtès
141360b5b2
doc: Mention 'guix lint' and '--list-dependent' in 'HACKING'.
...
* HACKING (Submitting Patches): Mention 'guix lint' and 'guix refresh
--list-dependent'.
2014-09-03 15:43:07 +02:00
Ludovic Courtès
b002e9d08e
guix lint: Remove "guix lint: " prefix from warnings.
...
This allows editors to parse warnings correctly.
* guix/scripts/lint.scm (emit-warning): Use 'format' instead of
'warning', to avoid the "guix lint: " prefix in messages.
* tests/lint.scm (call-with-warnings): Indent.
2014-09-03 15:43:07 +02:00
David Thompson
52bd0810a8
gnu: Add postgresql.
...
* gnu/packages/postgresql.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-09-03 07:47:47 -04:00
Cyril Roelandt
b4f5e0e87c
scripts: add guix lint
...
* guix/scripts/lint.scm: New file. Defines a 'lint' tool for Guix packages.
* tests/lint.scm: New file.
* Makefile.am (MODULES, SCM_TESTS): Add them.
* po/guix/Makevars: Update appropriately.
* po/guix/POTFILES.in: Update appropriately.
* doc/guix.texi: Document "guix lint".
2014-09-03 02:07:07 +02:00
Cyril Roelandt
5e3b388b51
Move specification->package to gnu/packages.scm.
...
* guix/scripts/build.scm (specification->package): Move from here...
* gnu/packages.scm: ... to here.
2014-09-03 02:07:07 +02:00
Ludovic Courtès
3af2d27eb3
daemon: Do not use 'vfork'.
...
This fixes random EBADF errors in the daemon on ancient Linux kernels
such as version 2.6.32.
* config-daemon.ac: Remove detection of 'vfork'.
2014-09-02 22:52:45 +02:00
Marek Benc
bf2a56f8ec
gnu: Add nvi.
...
* gnu/packages/nvi.scm: New file.
* gnu/packages/patches/nvi-assume-preserve-path.patch: New file.
* gnu-system.am: Add them.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-09-02 21:32:30 +02:00
Ludovic Courtès
9a91476431
profiles: Report version numbers in a separate column.
...
* guix/profiles.scm (manifest-show-transaction)[package-strings,
upgrade-strings]: Show version number in separate column. Show OUTPUT
in first column, and only when it's different from "out".
2014-09-02 21:25:57 +02:00
Ludovic Courtès
ef8993e2dc
profiles: Report the old and new version number in upgrades.
...
* guix/profiles.scm (manifest-lookup): New procedure.
(manifest-installed?): Use it.
(manifest-transaction-effects): Return a pair of entries for upgrades.
(right-arrow): New procedure.
(manifest-show-transaction)[upgrade-string, →]: New variables.
Report upgrades using 'upgrade-string'.
* tests/profiles.scm ("manifest-show-transaction"): New test.
("manifest-transaction-effects"): Match UPGRADE against a pair.
2014-09-02 21:12:59 +02:00
Ludovic Courtès
fa747b27fc
doc: Update "Installing Guix from Guix".
...
* README: Make 'guix package' command line more readable. Mention
--localstatedir.
2014-09-02 17:44:56 +02:00
Ludovic Courtès
8b8ea80781
gnu: ucommon: Update to 6.1.10.
...
* gnu/packages/telephony.scm (ucommon): Update to 6.1.10.
2014-09-02 00:01:38 +02:00
Ludovic Courtès
86da684c3d
gnu: libtasn1: Update to 4.1.
...
* gnu/packages/gnutls.scm (libtasn1): Update to 4.1.
2014-09-02 00:01:11 +02:00
Ludovic Courtès
f0214ece31
gnu: datamash: Update to 1.0.6.
...
* gnu/packages/datamash.scm (datamash): Update to 1.0.6.
2014-09-01 23:57:05 +02:00
Ludovic Courtès
7239e41196
gnu: parallel: Update to 20140822.
...
* gnu/packages/parallel.scm (parallel): Update to 20140822.
2014-09-01 23:56:01 +02:00
Ludovic Courtès
5c97df3ae6
gnu: help2man: Update to 1.46.1.
...
* gnu/packages/man.scm (help2man): Update to 1.46.1.
2014-09-01 23:55:23 +02:00
Ludovic Courtès
ad14d9e79d
doc: Clarify system installation and configuration details.
...
Reported by leth on #guix.
* doc/guix.texi (System Installation): Suggest running 'reboot' instead
of 'umount /mnt'.
(Initial RAM Disk): Add xref to SRFI-26.
2014-09-01 23:25:44 +02:00
Ludovic Courtès
e23f14fe0c
sync-with-upstream: Generate 'nix/AUTHORS'.
...
* nix/sync-with-upstream: Use 'git shortlog' to generate nix/AUTHORS.
2014-09-01 23:00:42 +02:00
Ludovic Courtès
deae6e9e6f
Thank Frederico.
2014-08-31 22:20:20 +02:00
Ludovic Courtès
d474d5d0c6
gnu: gcc-toolchain: Inherit GCC's search path specifications.
...
Reported by Federico Beffa <beffa@ieee.org>.
* gnu/packages/commencement.scm (gcc-toolchain): Add
'native-search-paths' and 'search-paths' fields.
2014-08-31 22:18:47 +02:00
Ludovic Courtès
4720f524fc
guix package: Fix search path lookup when an obsolete version is installed.
...
Before that, 'guix package --search-paths' would not work if, say,
'foo-0.2' is installed but the distro provides 'foo-0.3'.
* guix/scripts/package.scm (search-path-environment-variables)[manifest-entry->package]:
Handle the case where 'find-best-packages-by-name' returns '().
2014-08-31 22:17:56 +02:00
Ludovic Courtès
ab3893d713
daemon: Rename '--disable-store-optimization' to '--disable-deduplication'.
...
* nix/nix-daemon/guix-daemon.cc (GUIX_OPT_DISABLE_STORE_OPTIMIZATION):
Rename to...
(GUIX_OPT_DISABLE_DEDUPLICATION): ... this. Adjust user accordingly.
(options): Add "disable-deduplication". Make
"disable-store-optimization" a hidden alias.
* doc/guix.texi (Invoking guix-daemon): Adjust to new option name. Add
index entry. Improve description.
2014-08-31 14:44:40 +02:00