Ludovic Courtès
9efa2c28a4
lint: Re-enable CVE checker.
...
This reverts d7fcd9c565
.
* guix/lint.scm (%network-dependent-checkers): Re-enable 'cve checker.
2019-10-23 16:40:17 +02:00
Ludovic Courtès
74afaa37d5
cve: Rewrite to read the JSON feed instead of the XML feed.
...
The XML feed was discontinued on Oct. 16th, 2019:
<https://nvd.nist.gov/General/News/XML-Vulnerability-Feed-Retirement-Phase-3 >
* guix/cve.scm (string->date*): New procedure.
(<cve-item>, <cve>, <cve-reference>): New record types.
(cpe-match->cve-configuration, configuration-data->cve-configurations)
(json->cve-items, version-matches?): New procedures.
(yearly-feed-uri): Change URL to refer to JSON feed.
(cpe->product-alist, %parse-vulnerability-feed)
(xml->vulnerabilities): Remove.
(cve-configuration->package-list, merge-package-lists)
(cve-item->vulnerability, json->vulnerabilities): New procedures.
(write-cache): Use 'json->vulnerabilities' instead of
'xml->vulnerabilities', and remove 'parameterize'.
(vulnerabilities->lookup-proc): Use 'version-matches?' when VERSION is
true.
* tests/cve.scm (%sample): Use 'tests/cve-sample.json'.
(%expected-vulnerabilities): Rewrite accordingly.
("json->cve-items", "cve-item-published-date")
("json->vulnerabilities"): New tests.
("xml->vulnerabilities"): Remove.
("vulnerabilities->lookup-proc"): Adjust to new vulnerabilities.
* tests/cve-sample.json: New file.
* tests/cve-sample.xml: Remove.
* Makefile.am (EXTRA_DIST): Adjust accordingly.
* doc/guix.texi (Invoking guix lint): Update nist.gov URLs.
2019-10-23 16:40:17 +02:00
Efraim Flashner
59d452da40
gnu: enlightenment: Hardcode 'bc' location.
...
* gnu/packages/enlightenment.scm (enlightenment)[arguments]: In custom
'set-system-actions phase hardcode location of 'bc' binary.
[inputs]: Add bc.
2019-10-23 11:24:51 +03:00
Hartmut Goebel
77e0cebcad
gnu: Add weasyprint.
...
Now includs the patch file missed in
73f0ed8dbf
.
* gnu/packages/pdf.scm (weasyprint): New variable.
* gnu/packages/patches/weasyprint-library-paths.patch: New file.
* gnu/local.mk: Add it.
2019-10-23 10:05:17 +02:00
Efraim Flashner
221012ec2d
gnu: Add rust-cbindgen.
...
* gnu/packages/rust-cbindgen.scm (rust-cbindgen): New variable.
2019-10-23 10:44:01 +03:00
Efraim Flashner
cec27a23fe
gnu: Add rust-winapi-0.3.
...
* gnu/packages/rust-cbindgen.scm (rust-winapi-0.3): New hidden variable.
2019-10-23 10:44:01 +03:00
Efraim Flashner
e08ba87e6c
gnu: Add rust-winapi-x86-64-pc-windows-gnu-0.4.
...
* gnu/packages/rust-cbindgen.scm (rust-winapi-x86-64-pc-windows-gnu-0.4):
New hidden variable.
2019-10-23 10:44:01 +03:00
Efraim Flashner
55777a2922
gnu: Add rust-winapi-i686-pc-windows-gnu-0.4.
...
* gnu/packages/rust-cbindgen.scm (rust-winapi-i686-pc-windows-gnu-0.4):
New hidden variable.
2019-10-23 10:44:01 +03:00
Efraim Flashner
e92a94390d
gnu: Add rust-vec-map-0.8.
...
* gnu/packages/rust-cbindgen.scm (rust-vec-map-0.8): New hidden
variable.
2019-10-23 10:44:01 +03:00
Efraim Flashner
0f48c1fed8
gnu: Add rust-unicode-xid-0.2.
...
* gnu/packages/rust-cbindgen.scm (rust-unicode-xid-0.2): New hidden
variable.
2019-10-23 10:44:01 +03:00
Efraim Flashner
21bd039800
gnu: Add rust-unicode-width-0.1.
...
* gnu/packages/rust-cbindgen.scm (rust-unicode-width-0.1): New hidden
variable.
2019-10-23 10:44:00 +03:00
Efraim Flashner
5cf89cec6c
gnu: Add rust-toml-0.5.
...
* gnu/packages/rust-cbindgen.scm (rust-toml-0.5): New hidden variable.
2019-10-23 10:44:00 +03:00
Efraim Flashner
da6a445a40
gnu: Add rust-textwrap-0.11.
...
* gnu/packages/rust-cbindgen.scm (rust-textwrap-0.11): New hidden
variable.
2019-10-23 10:44:00 +03:00
Efraim Flashner
438a9173b9
gnu: Add rust-termion-1.5.
...
* gnu/packages/rust-cbindgen.scm (rust-termion-1.5): New hidden
variable.
2019-10-23 10:44:00 +03:00
Efraim Flashner
a2f821e74b
gnu: Add rust-tempfile-3.0.
...
* gnu/packages/rust-cbindgen.scm (rust-tempfile-3.0): New hidden
variable.
2019-10-23 10:44:00 +03:00
Efraim Flashner
b62f74a656
gnu: Add rust-syn-1.0.
...
* gnu/packages/rust-cbindgen.scm (rust-syn-1.0): New hidden variable.
2019-10-23 10:44:00 +03:00
Efraim Flashner
10eeb2362c
gnu: Add rust-strsim-0.8.
...
* gnu/packages/rust-cbindgen.scm (rust-strsim-0.8): New hidden variable.
2019-10-23 10:43:59 +03:00
Efraim Flashner
1a7e2aa8ed
gnu: Add rust-serde-json-1.0.
...
* gnu/packages/rust-cbindgen.scm (rust-serde-json-1.0): New hidden
variable.
2019-10-23 10:43:59 +03:00
Efraim Flashner
199d800546
gnu: Add rust-serde-derive-1.0.
...
* gnu/packages/rust-cbindgen.scm (rust-serde-derive-1.0): New hidden
variable.
2019-10-23 10:43:59 +03:00
Efraim Flashner
582630a125
gnu: Add rust-serde-1.0.
...
* gnu/packages/rust-cbindgen.scm (rust-serde-1.0): New hidden variable.
2019-10-23 10:43:59 +03:00
Efraim Flashner
df9a615640
gnu: Add rust-ryu-1.0.
...
* gnu/packages/rust-cbindgen.scm (rust-ryu-1.0): New hidden variable.
2019-10-23 10:43:59 +03:00
Efraim Flashner
4b359565de
gnu: Add rust-remove-dir-all-0.5.
...
* gnu/packages/rust-cbindgen.scm (rust-remove-dir-all-0.5): New hidden
variable.
2019-10-23 10:43:59 +03:00
Efraim Flashner
a8c86afaa5
gnu: Add rust-redox-termios-0.1.
...
* gnu/packages/rust-cbindgen.scm (rust-redox-termios-0.1): New hidden
variable.
2019-10-23 10:43:58 +03:00
Efraim Flashner
3f03cb20d6
gnu: Add rust-redox-syscall-0.1.
...
* gnu/packages/rust-cbindgen.scm (rust-redox-syscall-0.1): New hidden
variable.
2019-10-23 10:43:58 +03:00
Efraim Flashner
847172e44f
gnu: Add rust-rdrand-0.4.
...
* gnu/packages/rust-cbindgen.scm (rust-rdrand-0.4): New hidden variable.
2019-10-23 10:43:58 +03:00
Efraim Flashner
308480c3d6
gnu: Add rust-rand-xorshift-0.1.
...
* gnu/packages/rust-cbindgen.scm (rust-rand-xorshift-0.1): New hidden
variable.
2019-10-23 10:43:58 +03:00
Efraim Flashner
1e956eb02b
gnu: Add rust-rand-pcg-0.1.
...
* gnu/packages/rust-cbindgen.scm (rust-rand-pcg-0.1): New hidden
variable.
2019-10-23 10:43:58 +03:00
Efraim Flashner
9ad71c4aec
gnu: Add rust-rand-os-0.1.
...
* gnu/packages/rust-cbindgen.scm (rust-rand-os-0.1): New hidden
variable.
2019-10-23 10:43:58 +03:00
Efraim Flashner
9c2838617c
gnu: Add rust-rand-jitter-0.1.
...
* gnu/packages/rust-cbindgen.scm (rust-rand-jitter-0.1): New hidden
variable.
2019-10-23 10:43:57 +03:00
Efraim Flashner
300ec64cf3
gnu: Add rust-rand-isaac-0.1.
...
* gnu/packages/rust-cbindgen.scm (rust-rand-isaac-0.1): New hidden
variable.
2019-10-23 10:43:57 +03:00
Efraim Flashner
56fed052cf
gnu: Add rust-rand-hc-0.1.
...
* gnu/packages/rust-cbindgen.scm (rust-rand-hc-0.1): New hidden
variable.
2019-10-23 10:43:57 +03:00
Efraim Flashner
a41ea6dc73
gnu: Add rust-rand-core-0.3.
...
* gnu/packages/rust-cbindgen.scm (rust-rand-core-0.3): New hidden
variable.
2019-10-23 10:43:57 +03:00
Efraim Flashner
235d82dfc0
gnu: Add rust-rand-core-0.4.
...
* gnu/packages/rust-cbindgen.scm (rust-rand-core-0.4): New hidden
variable.
2019-10-23 10:43:50 +03:00
Efraim Flashner
800bc0fbc3
gnu: Add rust-rand-chacha-0.1.
...
* gnu/packages/rust-cbindgen.scm (rust-rand-chacha-0.1): New hidden
variable.
2019-10-23 10:42:54 +03:00
Efraim Flashner
054fd40cc6
gnu: Add rust-rand-0.6.
...
* gnu/packages/rust-cbindgen.scm (rust-rand-0.6): New hidden variable.
2019-10-23 10:41:25 +03:00
Efraim Flashner
e8a28c8964
gnu: Add rust-quote-1.0.
...
* gnu/packages/rust-cbindgen.scm (rust-quote-1.0): New hidden variable.
2019-10-23 10:31:08 +03:00
Efraim Flashner
88ce4ef919
gnu: Add rust-proc-macro2-1.0.
...
* gnu/packages/rust-cbindgen.scm (rust-proc-macro2-1.0): New hidden
variable.
2019-10-23 10:31:07 +03:00
Efraim Flashner
b5a9cb71b0
gnu: Add rust-numtoa-0.1.
...
* gnu/packages/rust-cbindgen.scm (rust-numtoa-0.1): New hidden variable.
2019-10-23 10:31:01 +03:00
Efraim Flashner
f38fb019ed
gnu: Add rust-log-0.4.
...
* gnu/packages/rust-cbindgen.scm (rust-log-0.4): New hidden variable.
2019-10-23 10:31:01 +03:00
Efraim Flashner
5fafb361c9
gnu: Add rust-libc-0.2.
...
* gnu/packages/rust-cbindgen.scm (rust-libc-0.2): New hidden variable.
2019-10-23 10:31:00 +03:00
Efraim Flashner
372a6bf0ca
gnu: Add rust-itoa-0.4.
...
* gnu/packages/rust-cbindgen.scm (rust-itoa-0.4): New hidden variable.
2019-10-23 10:31:00 +03:00
Efraim Flashner
795835aa44
gnu: Add rust-fuchsia-cprng-0.1.
...
* gnu/packages/rust-cbindgen.scm (rust-fucshia-cprng-0.1): New hidden
variable.
2019-10-23 10:31:00 +03:00
Efraim Flashner
71d111f541
gnu: Add rust-cloudabi-0.0.
...
* gnu/packages/rust-cbindgen.scm (rust-cloudabi-0.0): New hidden
variable.
2019-10-23 10:30:59 +03:00
Efraim Flashner
26be7f23f8
gnu: Add rust-clap-2.
...
* gnu/packages/rust-cbindgen.scm (rust-clap-2): New hidden variable.
2019-10-23 10:30:59 +03:00
Efraim Flashner
df22526740
gnu: Add rust-cfg-if-0.1.
...
* gnu/packages/rust-cbindgen.scm (rust-cfg-if-0.1): New hidden variable.
2019-10-23 10:30:59 +03:00
Efraim Flashner
b249da1ddf
gnu: Add rust-bitflags-1.1.
...
* gnu/packages/rust-cbindgen.scm (rust-bitflags-1.1): New hidden
variable.
2019-10-23 10:30:58 +03:00
Efraim Flashner
c5050528ea
gnu: Add rust-autocfg-0.1.
...
* gnu/packages/rust-cbindgen.scm (rust-autocfg-0.1): New hidden
variable.
2019-10-23 10:30:58 +03:00
Efraim Flashner
00f5b065b5
gnu: Add rust-atty-0.2.
...
* gnu/packages/rust-cbindgen.scm (rust-atty-0.2): New hidden variable.
2019-10-23 10:30:58 +03:00
Efraim Flashner
e99fbcad34
gnu: Add rust-ansi-term-0.11.
...
* gnu/packages/rust-cbindgen.scm (rust-ansi-term-0.11): New file, new
hidden variable.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register it.
2019-10-23 10:30:55 +03:00
Brian Leung
f3fd5f4bca
gnu: Add emacs-evil-args.
...
* gnu/packages/emacs-xyz.scm (emacs-evil-args): New variable.
2019-10-22 16:50:13 -07:00