Commit Graph

42201 Commits

Author SHA1 Message Date
Ludovic Courtès b6fd086a61
describe: Warn about 'GUIX_PACKAGE_PATH' in json and recutils format.
Fixes <https://bugs.gnu.org/34884>.
Reported by Pierre Neidhardt <mail@ambrevar.xyz>.

* guix/scripts/describe.scm (display-package-search-path): Add catch-all
case for FMT.
2019-03-18 10:51:05 +01:00
Maxim Cournoyer c0d43f6223
gnu: python-pandas: Update to 0.24.2.
* gnu/packages/python-xyz.scm (python-pandas): Update to 0.24.2.
[phases]{patch-which}: Add phase.
[inputs]: Add WHICH.
2019-03-17 23:15:57 -04:00
Maxim Cournoyer 667c6ef516
gnu: python-pandas: Enable Excel file format support.
* gnu/packages/python.scm (python-pandas)[phases]{check}: Re-instate the tests
  from the test_excel.py module.
* gnu/packages/python.scm (python-pandas)[propagated-inputs]: Add
  python-openpyxl and python-xlrd.
2019-03-17 23:15:57 -04:00
Maxim Cournoyer a042d348c2
gnu: Add python-openpyxl.
* gnu/packages/python.scm (python-openpyxl): New variable.
2019-03-17 23:15:57 -04:00
Maxim Cournoyer 5591fc4f38
gnu: Add python-jdcal.
* gnu/packages/python.scm (python-jdcal): New variable.
2019-03-17 23:15:57 -04:00
Maxim Cournoyer 4caf37b0a7
gnu: Add python-et-xmlfile.
* gnu/packages/python.scm (python-et-xmlfile): New variable.
2019-03-17 23:15:57 -04:00
Tobias Geerinckx-Rice 8c72f13fd4
gnu: libcxx: Correct sha256 hash.
* gnu/packages/llvm.scm (libcxx)[source]: Fix it.
2019-03-18 01:42:51 +01:00
Ludovic Courtès d831b19079
guix build: '--with-branch' strips slashes from the version string.
This fixes things like:

  guix build glibc \
    --with-git-url=glibc=git://sourceware.org/git/glibc.git \
    --with-branch=glibc=release/2.25/master

whereby slashes would before go straight to the 'version' field, leading
to an invalid store file name.

* guix/scripts/build.scm (transform-package-source-branch)[replace]:
Replace slashes with hyphens in BRANCH when building the version
string.
2019-03-17 22:55:01 +01:00
Ludovic Courtès 845c44012c
guix build: '--with-commit' makes recursive checkouts.
This was an omission from commit
024a6bfba9.

* guix/scripts/build.scm (transform-package-source-commit): Add
'recursive?' field to SOURCE.
* tests/scripts-build.scm ("options->transformation, with-branch")
("options->transformation, with-commit"): New tests.
2019-03-17 22:55:01 +01:00
Ludovic Courtès 14328b81a2
guix build: Transformation options match packages by spec.
This allows us to combine several transformations on a given package, in
particular '--with-git-url' and '--with-branch'.

Previously transformations would ignore each other since they would all
take (specification->package SOURCE) as their replacement source,
compare it by identity, which doesn't work if a previous transformation
has already changed SOURCE.

* guix/scripts/build.scm (evaluate-replacement-specs): Adjust to produce
an alist as expected by 'package-input-rewriting/spec', with a package
spec as the first element of each pair.
(evaluate-git-replacement-specs): Likewise.
(transform-package-inputs):  Adjust accordingly and use
'package-input-rewriting/spec'.
(transform-package-inputs/graft): Likewise.
(transform-package-source-branch, transform-package-source-commit): Use
'package-input-rewriting/spec'.
(transform-package-source-git-url): Likewise, and adjust the
REPLACEMENTS alist accordingly.
(options->transformation): Iterate over OPTS instead of over
%TRANSFORMATIONS.  Invoke transformations one by one.
* tests/scripts-build.scm ("options->transformation, with-input"):
Adjust test to compare packages by name rather than by identity.
("options->transformation, with-git-url + with-branch"): New test.
2019-03-17 22:55:01 +01:00
Ludovic Courtès 0c0ff42a24
guix build: Factorize 'package-git-url'.
* guix/scripts/build.scm (package-git-url): New procedure.
(evaluate-git-replacement-specs): Use it.
2019-03-17 22:55:01 +01:00
Ludovic Courtès f258d88628
packages: Add 'package-input-rewriting/spec'.
* guix/packages.scm (package-input-rewriting/spec): New procedure.
* tests/packages.scm ("package-input-rewriting/spec")
("package-input-rewriting/spec, partial match"): New tests.
* doc/guix.texi (Defining Packages): Document it.
2019-03-17 22:55:01 +01:00
Ludovic Courtès 880916ac52
guix build: Add '--with-git-url'.
* guix/scripts/build.scm (%not-equal): New variable.
(evaluate-git-replacement-specs): Use it instead of local variable
'not-equal'.
(transform-package-source-git-url): New procedure.
(%transformations): Add 'with-git-url'.
(%transformation-options, show-transformation-options-help): Add
'--with-git-url'.
* tests/scripts-build.scm ("options->transformation, with-git-url"):
New test.
2019-03-17 22:55:01 +01:00
Ludovic Courtès 55da450a1f
scripts: 'warn-about-old-distro' looks at the age of the running Guix.
This fixes a discrepancy that could be seen when running:

  sudo guix system …

where 'guix' would warn about the age of root's Guix, even though the
running Guix is the user's, not root's.

* guix/scripts.scm (warn-about-old-distro)[false-if-not-found]: Remove.
Obtain the profile date by calling 'current-profile-date' instead of
stat'ing "current-guix".
2019-03-17 22:55:01 +01:00
Ludovic Courtès cd2e4b2a8d
describe: Add 'current-profile-date'.
* guix/describe.scm (current-profile-date): New procedure.
2019-03-17 22:55:01 +01:00
Oleg Pykhalov 19c0cdb9e6
gnu: tome4: Fix build.
* gnu/packages/games.scm (tome4)[source]: Patch 'src/tgl.h' in snippet.
2019-03-17 21:55:51 +03:00
Efraim Flashner de3ed0b4d4
gnu: Add editorconfig-vim.
* gnu/packages/vim.scm (editorconfig-vim): New variable.
2019-03-17 20:33:21 +02:00
Efraim Flashner 2238211a47
gnu: Add editorconfig-core-c.
* gnu/packages/text-editors.scm (editorconfig-core-c): New variable.
2019-03-17 20:33:17 +02:00
Julien Lepiller 50ab554bd5
gnu: unison: Fix manual generation.
* gnu/packages/ocaml.scm (unison)[arguments]: Fix documentation
generation.
2019-03-17 18:37:37 +01:00
Julien Lepiller 22d1cb7ffa
gnu: opam: Update to 2.0.3.
* gnu/packages/ocaml.scm (opam): Update to 2.0.3.
2019-03-17 18:37:31 +01:00
Ludovic Courtès 8ffab257dd
guix system: Fix success report of the bootloader installation.
Fixes <https://bugs.gnu.org/34890>.
Reported by Jack Hill <jackhill@jackhill.us>.

Regression introduced in 21fcfe1ee9.

* guix/scripts/system.scm (bootloader-installer-script): Ungexp DEVICE.
2019-03-17 16:30:00 +01:00
Ludovic Courtès 3822003082
gnu: console-setup: Set absolute file name of 'cat' in 'ckbcomp'.
* gnu/packages/xorg.scm (console-setup)[arguments]: Add
'patch-file-names' phase.
2019-03-17 16:30:00 +01:00
Ludovic Courtès e6c46ec42e
vm: 'expression->derivation-in-linux-vm' leads to a kernel panic upon failure.
Partially fixes <https://bugs.gnu.org/34276>.
Reported by Tobias Geerinckx-Rice <me@tobias.gr>.

* gnu/system/vm.scm (expression->derivation-in-linux-vm)[loader]: Call
'exit' when USER-BUILDER exits with a non-zero code.
2019-03-17 16:30:00 +01:00
Marius Bakke a5c6a752fd
gnu: x11perf: Update to 1.6.1.
* gnu/packages/xorg.scm (x11perf): Update to 1.6.1.
2019-03-17 16:12:32 +01:00
Marius Bakke 67b1d9a145
gnu: ceph: Add XFS support.
* gnu/packages/storage.scm (ceph)[arguments]: Adjust #:configure-flags.
[inputs]: Add XFSPROGS.
2019-03-17 16:12:32 +01:00
Marius Bakke 2f2ef9d9b9
gnu: xfsprogs: Install the headers.
* gnu/packages/linux.scm (xfsprogs)[arguments]: Add #:phases.
2019-03-17 16:12:32 +01:00
Marius Bakke 02a4efb238
gnu: ceph: Install headers to the "lib" output.
The previous provision for this has been defunct since version 12.

* gnu/packages/storage.scm (ceph)[arguments]: Remove obsolete substitution in
favor of a configure flag.
2019-03-17 16:12:32 +01:00
Tobias Geerinckx-Rice 7e148c20d2
gnu: ghc-xmonad-contrib: Update to 0.15.
* gnu/packages/wm.scm (ghc-xmonad-contrib): Update to 0.15.
2019-03-17 15:20:02 +01:00
Tobias Geerinckx-Rice de98b91581
gnu: xmonad: Update to 0.15.
* gnu/packages/wm.scm (xmonad): Update to 0.15.
2019-03-17 15:20:02 +01:00
Tobias Geerinckx-Rice ec9299d090
gnu: xmonad: Don't use NAME in source URI.
* gnu/packages/wm.scm (xmonad)[source]: Hard-code NAME.
2019-03-17 15:20:01 +01:00
Tobias Geerinckx-Rice 65f91295fb
gnu: libxxf86dga: Update to 1.1.5.
* gnu/packages/xorg.scm (libxxf86dga): Update to 1.1.5.
Re-indent.
2019-03-17 15:20:01 +01:00
Tobias Geerinckx-Rice e9543cf7bd
gnu: xorg-cf-files: Update to 1.0.6.
* gnu/packages/xorg.scm (xorg-cf-files): Update to 1.0.6.
2019-03-17 15:20:01 +01:00
Tobias Geerinckx-Rice 4a07463e5d
gnu: imake: Update to 1.0.8.
* gnu/packages/xorg.scm (imake): Update to 1.0.8.
2019-03-17 15:20:00 +01:00
Tobias Geerinckx-Rice c8510c3108
gnu: ansible: Update to 2.7.9.
* gnu/packages/admin.scm (ansible): Update to 2.7.9.
2019-03-17 15:20:00 +01:00
Danny Milosavljevic 7311ed3f86
gnu: rust: Work around Hydra bug.
* gnu/packages/rust.scm (rust-1.20)[properties]: Work around Hydra bug.
2019-03-17 11:04:36 +01:00
Rutger Helling 707c761f1b
gnu: wine-staging: Update to 4.4.
* gnu/packages/wine.scm (wine-staging-patchset-data): Update to 4.4.
* gnu/packages/wine.scm (wine-staging): Update to 4.4.
2019-03-17 11:03:37 +01:00
Rutger Helling 3bce3834fa
gnu: gajim-omemo: Update to 2.6.28.
* gnu/packages/messaging.scm (gajim-omemo): Update to 2.6.28.
2019-03-17 10:50:53 +01:00
Ricardo Wurmus 10451f6bac
gnu: Add kaldi-gstreamer-server.
* gnu/packages/machine-learning.scm (kaldi-gstreamer-server): New variable.
2019-03-17 10:10:15 +01:00
Ricardo Wurmus 57e4592f63
gnu: Add python2-ws4py-for-kaldi-gstreamer-server.
* gnu/packages/python-web.scm (python2-ws4py-for-kaldi-gstreamer-server): New
variable.
2019-03-17 10:10:14 +01:00
Tobias Geerinckx-Rice e3545ffcf9
gnu: lua-lpeg: Update to 1.0.2.
* gnu/packages/lua.scm (make-lua-lpeg): Update to 1.0.2.
2019-03-16 23:32:44 +01:00
Tobias Geerinckx-Rice 2c257dbfa5
gnu: perl-ev: Update to 4.25.
* gnu/packages/libevent.scm (perl-ev): Update to 4.25.
2019-03-16 23:32:44 +01:00
Tobias Geerinckx-Rice b0aefabefc
gnu: libwpd: Don't use NAME in source URI.
* gnu/packages/libreoffice.scm (libwpd)[source]: Hard-code NAME.
2019-03-16 23:32:44 +01:00
Tobias Geerinckx-Rice 20fbb897da
gnu: libwpg: Update to 0.3.3.
* gnu/packages/libreoffice.scm (libwpg): Update to 0.3.3.
2019-03-16 23:32:43 +01:00
Tobias Geerinckx-Rice fbed28004d
gnu: libwpg: Don't use NAME in source URI.
* gnu/packages/libreoffice.scm (libwpg)[source]: Hard-code NAME.
2019-03-16 23:32:43 +01:00
Tobias Geerinckx-Rice 4290b2655e
gnu: libqxp: Update to 0.0.2.
* gnu/packages/libreoffice.scm (libqxp): Update to 0.0.2.
2019-03-16 23:32:43 +01:00
Tobias Geerinckx-Rice 8e9a84d957
gnu: libnumbertext: Update to 1.0.5.
* gnu/packages/libreoffice.scm (libnumbertext): Update to 1.0.5.
[source]: Use a release tarball.
[native-inputs]: Remove autoconf, automake, libtool, and pkg-config.
2019-03-16 23:32:43 +01:00
Tobias Geerinckx-Rice 3d0574c4f3
gnu: go-ipfs: Update to 0.4.19.
* gnu/packages/ipfs.scm (go-ipfs): Update to 0.4.19.
2019-03-16 23:32:42 +01:00
Tobias Geerinckx-Rice cdee738e49
gnu: catimg: Update to 2.5.0.
* gnu/packages/image-viewers.scm (catimg): Update to 2.5.0.
2019-03-16 23:32:42 +01:00
Tobias Geerinckx-Rice 56d2007ea9
gnu: sxiv: Update to 25.
* gnu/packages/image-viewers.scm (sxiv): Update to 25.
[arguments]: Change renamed DEF_CPPFLAGS to CPPFLAGS.
2019-03-16 23:32:42 +01:00
Tobias Geerinckx-Rice f54de09b78
gnu: easyrpg-player: Update to 0.6.0.
* gnu/packages/easyrpg.scm (easyrpg-player): Update to 0.6.0.
2019-03-16 23:32:42 +01:00