Commit graph

59462 commits

Author SHA1 Message Date
Hartmut Goebel
5d6ef66092
gnu: Add rust-capnpc-0.10.
* gnu/packages/crates-io.scm (rust-capnpc-0.10): New variable.
2020-05-05 10:18:39 +02:00
Hartmut Goebel
56d1d517f0
gnu: Add rust-capnp-0.10.
* gnu/packages/crates-io.scm (rust-capnp-0.10): New variable.
2020-05-05 10:18:38 +02:00
Hartmut Goebel
6b4db2a21e
gnu: Add rust-bytes-0.5.
* gnu/packages/crates-io.scm (rust-bytes-0.5): New variable.
  (rust-bytes-0.4): Inherit from it.
2020-05-05 10:18:38 +02:00
Hartmut Goebel
71d6bbba50
gnu: Add rust-bitflags-0.5
* gnu/packages/crates-io.scm (rust-bitflags-0.5): New variable.
2020-05-05 10:18:38 +02:00
Hartmut Goebel
b0020da781
gnu: Add rust-bindgen-0.49.
* gnu/packages/crates-io.scm (rust-bindgen-0.49): New variable.
2020-05-05 10:18:37 +02:00
Hartmut Goebel
1a6262407a
gnu: Add rust-base64-0.9.
* gnu/packages/crates-io.scm (rust-base64-0.9): New variable.
2020-05-05 10:18:37 +02:00
Hartmut Goebel
af6dccfd3f
gnu: Add rust-assert-cli-0.6.
* gnu/packages/crates-io.scm (rust-assert-cli-0.6): New variable.
2020-05-05 10:18:37 +02:00
Hartmut Goebel
85ab6fd853
gnu: Add rust-ascii-canvas-2.
* gnu/packages/crates-io.scm (rust-ascii-canvas-2): New variable.
2020-05-05 10:17:01 +02:00
Hartmut Goebel
8cc67deab3
gnu: Update rust-wasm-bindgen-test-0.2 to 0.2.50.
* gnu/packages/crates-io.scm (rust-wasm-bindgen-test-0.2): Update to 0.2.50.
2020-05-05 09:49:37 +02:00
Hartmut Goebel
9aff4bff18
gnu: Update rust-wasm-bindgen-futures-0.3 to 0.3.27.
* gnu/packages/crates-io.scm (rust-wasm-bindgen-futures-0.3): Update to
  0.3.27.
2020-05-05 09:49:37 +02:00
Hartmut Goebel
f292feb3c2
gnu: Update rust-unicode-normalization-0.1 to 0.1.9.
* gnu/packages/crates-io.scm (rust-unicode-normalization-0.1): Update to
  0.1.9.
2020-05-05 09:49:36 +02:00
Efraim Flashner
31def9a9df
gnu: Add grocsvs.
* gnu/packages/bioinformatics.scm (grocsvs): New variable.
* gnu/packages/patches/grocsvs-dont-use-admiral.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2020-05-05 10:06:28 +03:00
Michael Rohleder
0e680920b9
gnu: Add lesspipe.
* gnu/packages/less.scm (lesspipe): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-05-04 23:08:02 +02:00
Ludovic Courtès
a17ab977fe
gnu: Add purple-mattermost.
* gnu/packages/messaging.scm (purple-mattermost): New variable.
2020-05-04 23:07:57 +02:00
Ludovic Courtès
9dbc7f50ab
doc: Remove prompt from X.509 examples.
* doc/guix.texi (X.509 Certificates): Remove leading "$".
2020-05-04 23:07:57 +02:00
Lars-Dominik Braun
bc2529cb97
gnu: Add collectd
* gnu/packages/monitoring.scm (collectd): New variable
* gnu/local.mk (dist_patch_DATA): Add new patch
* gnu/packages/patches/collectd-5.11.0-noinstallvar.patch: New file

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-05-04 23:07:57 +02:00
Alex McGrath
c65e243463
gnu: Add j4-dmenu-desktop.
* gnu/packages/xdisorg.scm (j4-dmenu-desktop): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2020-05-04 16:24:43 +02:00
Marius Bakke
08dfff747b
gnu: leptonica: Add giflib reference in Libtool- and pkg-config files.
* gnu/packages/image.scm (leptonica)[arguments]: Add phase
"provide-absolute-giflib-reference".
2020-05-04 16:24:43 +02:00
Marius Bakke
1c60bd3244
gnu: leptonica: Do not propagate any inputs.
* gnu/packages/image.scm (leptonica)[propagated-inputs]: Move OPENJPEG and
LIBWEBP ...
[inputs]: ... here.
2020-05-04 16:24:43 +02:00
Marius Bakke
c17e4cf5a3
gnu: python-dulwich: Update to 0.19.16.
* gnu/packages/python-xyz.scm (python-dulwich): Update to 0.19.16.
[propagated-inputs]: Add PYTHON-URLLIB3.
2020-05-04 16:24:42 +02:00
Ludovic Courtès
aea6ab2f4c
git-authenticate: Add missing import.
* build-aux/git-authenticate.scm: Import (guix utils), used by the cache
handling code and inadvertently removed in
041dc3a9c0.
2020-05-04 11:08:42 +02:00
Ludovic Courtès
06735a57a9
openpgp: Add missing type predicate for '&openpgp-invalid-signature-error'.
Reported by brendyyn on #guix.  The mistake led to a macro expansion
error on Guile 2.2 but not on 3.0.2.

* guix/openpgp.scm (&openpgp-invalid-signature-error): Add missing type
predicate.
2020-05-04 10:51:39 +02:00
Ludovic Courtès
1f14e25c19
doc: Add "Packages for C Development" section.
Suggested by Bruno Haible <bruno@clisp.org>
in <https://bugs.gnu.org/41038>.

* doc/guix.texi (Packages for C Development): New node.
(Application Setup)[The GCC toolchain]: Empty and refer to it.
2020-05-04 10:50:18 +02:00
Ludovic Courtès
d074f73aac
.guix-authorizations: Add bricewge to the committers.
* .guix-authorizations: Add fingerprint for bricewge.
2020-05-04 10:43:52 +02:00
Vincent Legoll
06ed1dba35
gnu: Add gromacs.
* gnu/packages/chemistry.scm (gromacs): New variable.
* gnu/packages/patches/gromacs-tinyxml2.patch: New file...
* gnu/local.mk (dist_patch_DATA): ...add it here.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-05-04 10:26:52 +02:00
Vincent Legoll
feba2c9751
gnu: Add lmfit.
* gnu/packages/algebra.scm (lmfit): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-05-04 10:26:33 +02:00
Vincent Legoll
1c5604017b
gnu: Add tng.
* gnu/packages/chemistry.scm (tng): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-05-04 10:25:33 +02:00
Ludovic Courtès
4a84deda74
doc: Recommend against SHA1 OpenPGP signatures.
* doc/contributing.texi (Commit Access): Recommend against SHA1
signatures.
2020-05-04 09:56:14 +02:00
Ludovic Courtès
84133320b8
doc: Document committer authorization.
* doc/contributing.texi (Commit Access): Add instructions for
authorizing committers.
2020-05-04 09:56:13 +02:00
Ludovic Courtès
05d973eef2
openpgp: Raise error conditions instead of calling 'error'.
* guix/openpgp.scm (&openpgp-error, &openpgp-unrecognized-packet-error)
(&openpgp-invalid-signature-error): New error conditions.
(openpgp-hash-algorithm): Add 'signature-port' parameter.  Raise an
error condition instead of calling 'error'.
(parse-subpackets): Likewise.
(get-data): Raise instead of calling 'error'.
(get-openpgp-detached-signature/ascii): Likewise.
(get-signature): Likewise.
2020-05-04 09:56:13 +02:00
Ludovic Courtès
041dc3a9c0
git-authenticate: Load the keyring from the repository.
* build-aux/git-authenticate.scm (load-keyring-from-blob)
(load-keyring-from-reference): New procedures.
(authenticate-commits): Add #:keyring-reference and use
'load-keyring-from-reference'.
2020-05-04 09:56:13 +02:00
Ludovic Courtès
92db1036b7
git-authenticate: Load the list of authorized keys from the tree.
* build-aux/git-authenticate.scm (read-authorizations)
(commit-authorized-keys): New procedures.
(authenticate-commit): Use it instead of %AUTHORIZED-SIGNING-KEYS.
2020-05-04 09:56:13 +02:00
Ludovic Courtès
bee5b7a0f8
.guix-authorizations: Augment.
* .guix-authorizations: Add all the currently authorized committers.
2020-05-04 09:56:13 +02:00
Ludovic Courtès
051a45e642
git-authenticate: Use (guix openpgp).
It can now authenticate 14K+ commits in 23s instead of 4mn20.

* build-aux/git-authenticate.scm (%authorized-signing-keys): Turn
fingerprints into bytevectors.
(with-temporary-files): Remove.
(commit-signing-key): Add 'keyring' parameter.  Use
'string->openpgp-packet' and 'verify-openpgp-signature' instead of (guix
gnupg) procedures.
(authenticate-commit): Add 'keyring' parameter.  Pass it to
'commit-signing-key'.  Adjust to SIGNING-KEY being an <openpgp-public-key>.
(authenticate-commits): Remove 'parameterize'.  Load keyring with
'get-openpgp-keyring'.
(git-authenticate): When printing stats, adjust to SIGNER being an
<openpgp-public-key>.
2020-05-04 09:56:13 +02:00
Ludovic Courtès
b835e158d5
openpgp: Add 'string->openpgp-packet'.
* guix/openpgp.scm (string->openpgp-packet): New procedure.
* tests/openpgp.scm ("verify-openpgp-signature, missing key")
("verify-openpgp-signature, good signatures")
("verify-openpgp-signature, bad signature"): Use it.
2020-05-04 09:56:13 +02:00
Ludovic Courtès
bd8126558d
openpgp: 'lookup-key-by-{id,fingerprint}' return the key first.
Previously, 'lookup-key-by-{id,fingerprint}' would always return the
list of packets where the primary key is first.  Thus, the caller would
need to use 'find' to actually find the requested key.

* guix/openpgp.scm (keyring-insert): Always add KEY to PACKETS.
(lookup-key-by-id, lookup-key-by-fingerprint): Change to return the key
as the first value.
(verify-openpgp-signature): Remove now unneeded call to 'find'.
* tests/openpgp.scm ("get-openpgp-keyring"): Adjust accordingly.
2020-05-04 09:56:13 +02:00
Ludovic Courtès
b45fa0a123
openpgp: 'verify-openpgp-signature' looks up by fingerprint when possible.
* guix/openpgp.scm (verify-openpgp-signature): Use
'lookup-key-by-fingerprint' when SIG contains a fingerprint.
Honor FINGERPRINT in the 'find' predicate.  Upon missing-key, return
FINGERPRINT if available.
* tests/openpgp.scm ("verify-openpgp-signature, missing key"): Adjust
expected value accordingly.
2020-05-04 09:56:12 +02:00
Ludovic Courtès
efe1f0122c
openpgp: Add 'lookup-key-by-fingerprint'.
* guix/openpgp.scm (<openpgp-keyring>)[table]: Rename to...
[ids]: ... this.
[fingerprints]: New field.
(keyring-insert, lookup-key-by-fingerprint): New procedures.
(%empty-keyring): Adjust.
(get-openpgp-keyring): Manipulate KEYRING instead of its vhash, use
'keyring-insert'.
* tests/openpgp.scm ("get-openpgp-keyring"): Test
'lookup-key-by-fingerprint'.
2020-05-04 09:56:12 +02:00
Ludovic Courtès
7b2b3a13cc
openpgp: Store the issuer key id and fingerprint in <openpgp-signature>.
* guix/openpgp.scm (<openpgp-signature>)[issuer, issuer-fingerprint]:
New fields.
(openpgp-signature-issuer, openpgp-signature-issuer-fingerprint): Remove.
(verify-openpgp-signature): Use 'openpgp-signature-issuer-key-id'.
(get-signature): Initialize 'issuer' and 'issuer-fingerprint'.
* tests/openpgp.scm ("get-openpgp-detached-signature/ascii"): Adjust
accordingly.
2020-05-04 09:56:12 +02:00
Ludovic Courtès
4459c7859c
openpgp: Decode the issuer-fingerprint signature subpacket.
* guix/openpgp.scm (SUBPACKET-ISSUER-FINGERPRINT): New variable.
(openpgp-signature-issuer-fingerprint): New procedure.
(key-id-matches-fingerprint?): New procedure.
(get-signature): Look for the 'issuer and 'issuer-fingerprint
subpackets.  Ensure the issuer key ID matches the fingerprint when both
are available.
(parse-subpackets): Handle SUBPACKET-ISSUER-FINGERPRINT.
* tests/openpgp.scm (%rsa-key-fingerprint)
(%dsa-key-fingerprint, %ed25519-key-fingerprint): New variables.
* tests/openpgp.scm ("get-openpgp-detached-signature/ascii"): Check the
result of 'openpgp-signature-issuer-fingerprint'.
2020-05-04 09:56:12 +02:00
Ludovic Courtès
43408e304f
Add (guix openpgp).
* guix/openpgp.scm, tests/openpgp.scm, tests/civodul.key,
tests/dsa.key, tests/ed25519.key, tests/rsa.key,
tests/ed25519.sec: New files.
* Makefile.am (MODULES): Add guix/openpgp.scm.
(SCM_TESTS): Add tests/openpgp.scm.
(EXTRA_DIST): Add tests/*.key and tests/ed25519.sec.
2020-05-04 09:56:12 +02:00
Ludovic Courtès
c91e27c608
Add '.guix-authorizations'.
* .guix-authorizations: New file.
2020-05-04 09:56:12 +02:00
Nicolas Goaziou
c563f8887d
gnu: emacs-relint: Update to 1.16.
* gnu/packages/emacs-xyz.scm (emacs-relint): Update to 1.16.
2020-05-03 23:07:43 +02:00
Nicolas Goaziou
14b0dcc7f7
gnu: emacs-xr: Update to 1.19.
* gnu/packages/emacs-xyz.scm (emacs-xr): Update to 1.19.
2020-05-03 23:07:37 +02:00
Danny Milosavljevic
33eab4a10d
linux-initrd: Provide fsck for F2FS.
* gnu/system/linux-initrd.scm (file-system-packages): Add F2FS fsck.
2020-05-03 23:04:59 +02:00
Danny Milosavljevic
da09c63e78
gnu: f2fs-tools-static: Work around bug in our util-linux.
* gnu/packages/linux.scm (f2fs-tools/static): Work around bug in our util-linux.
2020-05-03 23:04:58 +02:00
Danny Milosavljevic
bb357c509e
file-systems: Fix UTF-16 handling in initrd.
Follow-up to f73f4b3a2d.

* gnu/build/file-systems.scm (bytevector->u16-list): New procedure.
(utf16->string): New procedure.
2020-05-03 23:04:57 +02:00
Christopher Howard
96e399ee30
gnu: libusb-0.1: fix build failure on newer gcc
* gnu/packages/libusb.scm (libusb-0.1): Disable -Werror.

Signed-off-by: Jakub Kądziołka <kuba@kadziolka.net>
2020-05-03 22:43:40 +02:00
Danny Milosavljevic
f73f4b3a2d
file-systems: Fix F2FS volume name accessor.
Follow-up to 23b37c3d40.

* gnu/build/file-systems.scm (bytevector-utf16-length): New procedure.
(null-terminated-utf16->string): New procedure.
(f2fs-superblock-volume-name): Use it.
2020-05-03 20:35:50 +02:00
Danny Milosavljevic
f8a0065ae3
install: Add f2fs-tools to the installation image.
* gnu/system/install.scm (installation-os)[packages]: Add f2fs-tools.
2020-05-03 20:35:50 +02:00