Commit Graph

37378 Commits

Author SHA1 Message Date
Ludovic Courtès bc9aa60bd5
gnu: nss: Make tests deterministic.
Tests would fail once certificates had expired, along these lines:

  chains.sh: Verifying certificate(s)  PayPalEE.cert with flags -d AllDB -pp      -o OID.2.16.840.1.114412.1.1
  vfychain -d AllDB -pp -vv      -o OID.2.16.840.1.114412.1.1  /tmp/guix-build-nss-3.39.drv-0/nss-3.39/nss/tests/libpkix/certs/PayPalEE.cert
  Chain is bad!
  PROBLEM WITH THE CERT CHAIN:
  CERT 0. PayPalEE :
    ERROR -8181: Peer's Certificate has expired.
  Returned value is 1, expected result is pass

Using 'faketime' allows us to get deterministic results.

* gnu/packages/gnuzilla.scm (nss)[arguments]: In 'check' phase, run
'all.sh' under 'faketime'.
[native-inputs]: Add LIBFAKETIME.
2018-11-17 19:02:18 +01:00
Ludovic Courtès 85b28320d4
gnu: Add libfaketime.
* gnu/packages/check.scm (libfaketime): New variable.
2018-11-17 17:40:55 +01:00
Eric Bavier 0a41123f01
gnu: Add ClamAV.
* gnu/packages/antivirus.scm: New file.
* gnu/packages/patches/clamav-system-tomsfastmath.patch,
gnu/packages/patches/clamav-config-llvm-libs.patch: New files.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add new module.
(dist_patch_DATA): Add patches.

Co-authored-by: Christopher Baines <mail@cbaines.net>
2018-11-17 00:20:44 -06:00
Eric Bavier 7ed018e8a2
gnu: Add TomsFastMath.
* gnu/packages/multiprecision.scm (tomsfastmath): New variable.
* gnu/packages/patches/tomsfastmath-constness.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add it.
2018-11-17 00:20:44 -06:00
Eric Bavier fc9dbf4131
llvm: Build with RTTI by default.
Increases size of llvm@6 by 2.5MiB (2.5%), but saves building specialized
llvm's with rtti enabled for packages that require RTTI when linking with the
llvm libraries.

* gnu/packages/llvm.scm (llvm-3.8-with-rtti): Remove variable.
(llvm)[arguments]: Add '-DLLVM_REQUIRES_RTTI=1' to #:configure-flags.
* gnu/packages/audio.scm (faust-2)[native-inputs]:
'llvm-3.8-with-rtti' -> 'llvm-3.8'.
2018-11-17 00:19:53 -06:00
Vagrant Cascadian 0c7707d53e
gnu: u-boot: Update to 2018.11.
* gnu/packages/bootloaders.scm (u-boot): Update to 2018.11.
(u-boot)[native-inputs]: Add lz4.
2018-11-17 00:16:29 +01:00
Ludovic Courtès bca6396749
doc: Mention that ./pre-inst-env is generated.
Suggested by swedebugia <swedebugia@riseup.net>.

* doc/contributing.texi (Running Guix Before It Is Installed): Mention
that ./pre-inst-env is generated.
2018-11-16 23:16:05 +01:00
Kyle Meyer 243bdcc12e
gnu: Add git-when-merged.
* gnu/packages/version-control.scm (git-when-merged): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-11-16 23:11:40 +01:00
Thorsten Wilms 7a44e8752e
gnu: Add caps-plugins-lv2.
* gnu/packages/audio.scm (caps-plugins-lv2): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-11-16 23:09:00 +01:00
Ludovic Courtès 54ca1a375b
doc: Recommend pool.sks-keyservers.net.
pgp.mit.edu appears to be unreliable these days.

* doc/guix.texi (KEY-SERVER): New variable.
(Binary Installation, USB Stick and DVD Installation): Use it in 'gpg
--recv-keys' example.
2018-11-16 23:02:18 +01:00
David Thompson a7b7d48cc7
gnu: tiled: Update to 1.2.1.
* gnu/packages/game-development.scm (tiled): Update to 1.2.1.
2018-11-16 10:34:29 -05:00
Clément Lassieur d827fd31ca
progress: Do not display the last 0B transfer when size is unknown.
* guix/progress.scm (display-download-progress): Don't display anything when
both SIZE and TRANSFERRED are null.
2018-11-16 14:53:44 +01:00
Clément Lassieur 0289dc1473
progress: Fix crash because of division by zero.
* guix/progress.scm (display-download-progress): Handle the case where SIZE is
null.
2018-11-16 14:53:40 +01:00
Mathieu Othacehe 2aee2a96b6
guile: newt: Update revision to 2.
* gnu/packages/guile.scm (guile-newt): Update revision to 2.
2018-11-16 17:42:07 +09:00
Andreas Enge eea7cd7519
gnu: Add cmh.
* gnu/packages/algebra.scm (cmh): New variable.
2018-11-16 09:06:31 +01:00
Andreas Enge 44ff80fc0e
gnu: gp2c: Update to 0.0.11pl1.
* gnu/packages/algebra.scm (gp2c): Update to 0.0.11pl1.
2018-11-16 08:48:47 +01:00
Maxim Cournoyer 03592a6f88
gnu: emacs-realgud: Patch configure.ac to repair the build.
This fixes https://bugs.gnu.org/33196, a build problem caused by a defective
Elisp snippet in a check in configure.ac.

* gnu/packages/patches/emacs-realgud-fix-configure-ac.patch: Add patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/emacs.scm (emacs-realgud)[source]: Use it.
2018-11-15 22:42:35 -05:00
pimi 30f0d21b40
gnu: Add nanopolish.
* gnu/packages/bioinformatics.scm (nanopolish): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2018-11-15 22:23:57 +01:00
Giovanni Biscuolo c61f36f368
doc: Fix typo in connman config.
* doc/guix.texi (Networking Services): Fix typo in connman config
"disable-vpn?" parameter documentation, semantic is inverted.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2018-11-15 20:11:36 +02:00
Roel Janssen 2d86eaff5b
gnu: sambamba: Update to 0.6.8.
* gnu/packages/bioinformatics.scm (sambamba): Update to 0.6.8.
2018-11-15 13:09:01 +01:00
Mark H Weaver 2e0f69057a
gnu: bioinformatics: Return #t from all phases and snippets.
* gnu/packages/bioinformatics.scm (bamtools, ribotaper, bioawk)
(codingquarry, fraggenescan, minced, pplacer, star, subread, sailfish)
(salmon): Return #t from all phases and snippets, use 'invoke' where
appropriate, and remove vestigal plumbing.
2018-11-14 23:44:18 -05:00
Mark H Weaver 96272e2822
gnu: databases: Return #t from all phases.
* gnu/packages/databases.scm (4store, go-gopkg.in-mgo.v2, mongodb)
(sparql-query, tdb, sqlcipher, python-sqlparse, mongo-tools): Return #t from
all phases, use invoke where appropriate, and remove vestigial plumbing.
2018-11-14 23:44:16 -05:00
Mark H Weaver 9f6f726c7f
gnu: compression: Return #t from all phases.
* gnu/packages/compression.scm (perl-compress-raw-zlib, java-snappy)
(java-iq80-snappy, pzstd, java-tukaani-xz): Return #t from all phases.
2018-11-14 23:44:14 -05:00
Mark H Weaver 29594404a1
gnu: check: Return #t from all phases.
* gnu/packages/check.scm (cmdtest, python-pytest-cov, python-fixtures)
(python-pytest-localserver, python-pytest-flakes)
(python2-coverage-test-runner, python-pylint, python-behave-web-api):
Return #t from all phases, and use invoke where appropriate.
2018-11-14 23:44:12 -05:00
Mark H Weaver ee527187a6
gnu: audio: Return #t from all phases.
* gnu/packages/audio.scm (clalsadrv, jack-2, libsbsms, zita-convolver)
(zita-resampler, zita-alsa-pcmi, gsm, cava): Return #t from all phases.
(ladspa): Use 'modify-phases'.  Return #t from all phases.
2018-11-14 23:44:10 -05:00
Mark H Weaver c6bf07d14a
gnu: xorg: Return #t from all phases.
* gnu/packages/xorg.scm (xcompmgr)
* gnu/packages/xdisorg.scm (xdotool, scrot, unclutter, xscreensaver)
(tint2, nxbelld, xautolock): Return #t from all phases.
2018-11-14 23:44:08 -05:00
Mark H Weaver aa6f87a2b9
gnu: xml: Return #t from all phases.
* gnu/packages/xml.scm (python-libxml2, perl-xml-sax, xlsx2csv, libxls)
(java-kxml2): Return #t from all phases.
2018-11-14 23:44:06 -05:00
Mark H Weaver 9dcfd6aac9
gnu: video: Return #t from all phases.
* gnu/packages/video.scm (youtube-dl-gui, avidemux, xvid, twitchy, aegisub):
Return #t from all phases, use invoke where appropriate, and remove vestigial
plumbing.
2018-11-14 23:44:04 -05:00
Mark H Weaver 4851af9ebe
gnu: perl: Return #t from all phases.
* gnu/packages/gd.scm (perl-gd-securityimage)
* gnu/packages/libevent.scm (perl-ev)
* gnu/packages/markup.scm (perl-text-markdown-discount)
* gnu/packages/perl-check.scm (perl-test2-bundle-extended)
* gnu/packages/perl.scm (perl-digest-md5, perl-encode-hanextra)
(perl-ipc-run, perl-pathtools)
* gnu/packages/photo.scm (perl-image-exiftool): Return #t from all phases.
2018-11-14 23:44:02 -05:00
Mark H Weaver 366c1cbbc6
gnu: networking: Return #t from all phases.
* gnu/packages/networking.scm (miredo, tcp-wrappers, librdkafka, ifstatus)
(iodine, httpstat, perl-socket6, perl-netaddr-ip, libproxy, openvswitch)
(libnet, asio): Return #t from all phases.
2018-11-14 23:43:59 -05:00
Mark H Weaver 9922278b25
gnu: linux: Return #t from all phases.
* gnu/packages/linux.scm (iproute, ntfs-3g, cpupower, radeontop, tlp):
Return #t from all phases.
2018-11-14 23:43:57 -05:00
Mark H Weaver fccacffbf4
gnu: image: Return #t from all phases.
* gnu/packages/image.scm (libpng-apng, pngcrush, leptonica, zimg)
(perceptualdiff): Return #t from all phases.
2018-11-14 23:43:54 -05:00
Mark H Weaver cb8ba848d2
gnu: admin: Return #t from all phases.
* gnu/packages/admin.scm (daemon-tools, rottlog, wpa-supplicant-minimal)
(wakelan, cpulimit, nmap, sunxi-tools): Return #t from all phases.
2018-11-14 23:43:48 -05:00
Mark H Weaver 7413c31693
gnu: linux-libre: Update to 4.19.2.
* gnu/packages/linux.scm (%linux-libre-version): Update to 4.19.2.
(%linux-libre-hash): Update hash.
2018-11-14 19:16:24 -05:00
Mark H Weaver 24ba798731
gnu: linux-libre@4.14: Update to 4.14.81.
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.81.
(%linux-libre-4.14-hash): Update hash.
2018-11-14 19:14:39 -05:00
Mark H Weaver 6a1cff70bc
gnu: linux-libre@4.9: Update to 4.9.137.
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.137.
2018-11-14 19:13:46 -05:00
Ludovic Courtès 21f7d88e7a
gnu: texlive-bin: Fix substitution regexp.
This is a followup to commit be200ef316.

* gnu/packages/tex.scm (texlive-bin)[arguments]: In
'disable-failing-test' phase, escape "|" characters.
2018-11-14 23:49:19 +01:00
Paul Garlick ae0f1dd1a4
gnu: Add fenics.
* gnu/packages/simulation.scm (fenics): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-11-14 21:34:09 +01:00
Paul Garlick 0ace6c0b84
gnu: Add fenics-dolfin.
* gnu/packages/simulation.scm (fenics-dolfin): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-11-14 21:34:09 +01:00
Paul Garlick 6b7f1f8afa
gnu: Add python-fenics-ffc.
* gnu/packages/simulation.scm (python-fenics-ffc): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-11-14 21:34:09 +01:00
Paul Garlick 0fc499834f
gnu: Add python-fenics-fiat.
* gnu/packages/simulation.scm (python-fenics-fiat): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-11-14 21:34:08 +01:00
Paul Garlick 3941cf5afa
gnu: Add python-fenics-ufl.
* gnu/packages/simulation.scm (python-fenics-ufl): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-11-14 21:34:08 +01:00
Paul Garlick f7a4757a4c
gnu: Add python-fenics-dijitso.
* gnu/packages/simulation.scm (python-fenics-dijitso): New varaible.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-11-14 21:34:08 +01:00
Paul Garlick 6b5687d053
gnu: Add python-slepc4py.
* gnu/packages/maths.scm (python-slepc4py): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-11-14 21:34:08 +01:00
Paul Garlick 90ff287401
gnu: Add python-petsc4py.
* gnu/packages/maths.scm (python-petsc4py): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-11-14 21:34:08 +01:00
Paul Garlick 54fcd547b3
gnu: Add python-mpi4py.
* gnu/packages/mpi.scm (python-mpi4py): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-11-14 21:34:08 +01:00
Ludovic Courtès 0fe1fba4af
daemon: Install 'authenticate' script under LIBEXECDIR/guix.
That way it is handled in the same way as other helper scripts.

* nix/scripts/guix-authenticate.in: Rename to...
* nix/scripts/authenticate.in: ... this.
* config-daemon.ac: Adjust accordingly.
* nix/local.mk (libstore_a_CPPFLAGS): Remove -DOPENSSL_PATH.
(nodist_libexec_SCRIPTS): Remove.
(nodist_pkglibexec_SCRIPTS): New variable.
* nix/nix-daemon/guix-daemon.cc (main): Remove 'setenv' call for
"PATH".
* nix/libstore/local-store.cc (runAuthenticationProgram): New function.
(LocalStore::exportPath, LocalStore::importPath): Use it instead of
'runProgram' and OPENSSL_PATH.
2018-11-14 21:34:08 +01:00
Ludovic Courtès 7a54b2281d
gnu: guix-daemon: Install 'guix-authenticate'.
Fixes <https://bugs.gnu.org/33368>.
Reported by Konrad Hinsen <konrad.hinsen@fastmail.net>.

* gnu/packages/package-management.scm (guix-daemon)[arguments]: In
'install' phase, build "install-nodist_libexecSCRIPTS" target to install
'guix-authenticate'.
2018-11-14 21:34:08 +01:00
Ludovic Courtès 89f1fee8e7
download: Access content-addressed mirrors over HTTPS.
Bug <http://bugs.gnu.org/22774> is no longer relevant now that we use
"builtin:download" exclusively.

* guix/download.scm (%content-addressed-mirrors): Use "https", not
"http".
2018-11-14 21:34:08 +01:00
Ludovic Courtès ee2cfdfe86
download: Add Software Heritage as a content-addressed mirror.
* guix/download.scm (%content-addressed-mirrors): Add Software
Heritage.
2018-11-14 21:34:07 +01:00