jackhill/guix/guix.git
3 years agoservices: science.scm: Add missing copyright headers.
Efraim Flashner [Wed, 9 Dec 2020 10:55:02 +0000 (12:55 +0200)]
services: science.scm: Add missing copyright headers.

This module was always supposed to have the GPL3 header in place.
Follow-up to 8f19e63f760fe02f9969225da2f3f3c36801218f.

* gnu/services/science.scm: Add Copyright headers.

3 years agognu: monero-gui: Update to 0.17.1.6.
Guillaume Le Vaillant [Wed, 9 Dec 2020 10:23:28 +0000 (11:23 +0100)]
gnu: monero-gui: Update to 0.17.1.6.

* gnu/packages/finance.scm (monero-gui): Update to 0.17.1.6.

3 years agognu: monero: Update to 0.17.1.6.
Guillaume Le Vaillant [Wed, 9 Dec 2020 09:34:35 +0000 (10:34 +0100)]
gnu: monero: Update to 0.17.1.6.

* gnu/packages/finance.scm (monero): Update to 0.17.1.6.

3 years agognu: Add lemonbar-xft.
elaexuotee@wilsonb.com [Wed, 9 Dec 2020 06:53:44 +0000 (15:53 +0900)]
gnu: Add lemonbar-xft.

* gnu/packages/wm.scm (lemonbar-xft): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
3 years agognu: Add go-github-com-aws-sdk.
Ryan Prior [Sun, 4 Oct 2020 05:22:41 +0000 (05:22 +0000)]
gnu: Add go-github-com-aws-sdk.

* gnu/packages/golang.scm (go-github-com-aws-sdk): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
3 years agognu: Add go-github-com-jmespath-go-jmespath.
Ryan Prior [Sun, 4 Oct 2020 05:22:35 +0000 (05:22 +0000)]
gnu: Add go-github-com-jmespath-go-jmespath.

* gnu/packages/golang.scm (go-github-com-jmespath-go-jmespath): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
3 years agognu: Add go-github-com-go-sql-driver-mysql.
Ryan Prior [Sun, 4 Oct 2020 05:22:23 +0000 (05:22 +0000)]
gnu: Add go-github-com-go-sql-driver-mysql.

* gnu/packages/golang.scm (go-github-com-go-sql-driver-mysql): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
3 years agognu: linux-libre 4.14: Update to 4.14.211.
Leo Famulari [Wed, 9 Dec 2020 03:12:23 +0000 (22:12 -0500)]
gnu: linux-libre 4.14: Update to 4.14.211.

* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.211.
(linux-libre-4.14-pristine-source): Update hash.

3 years agognu: linux-libre 4.19: Update to 4.19.162.
Leo Famulari [Wed, 9 Dec 2020 03:11:40 +0000 (22:11 -0500)]
gnu: linux-libre 4.19: Update to 4.19.162.

* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.162.
(linux-libre-4.19-pristine-source): Update hash.

3 years agognu: linux-libre 5.4: Update to 5.4.82.
Leo Famulari [Wed, 9 Dec 2020 03:11:05 +0000 (22:11 -0500)]
gnu: linux-libre 5.4: Update to 5.4.82.

* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.82.
(linux-libre-5.4-pristine-source): Update hash.

3 years agognu: linux-libre: Update to 5.9.13.
Leo Famulari [Wed, 9 Dec 2020 03:10:33 +0000 (22:10 -0500)]
gnu: linux-libre: Update to 5.9.13.

* gnu/packages/linux.scm (linux-libre-5.9-version): Update to 5.9.13.
(linux-libre-5.9-pristine-source): Update hash.

3 years agognu: OpenSSL: Update to 1.1.1i [fixes CVE-2020-1971].
Leo Famulari [Tue, 8 Dec 2020 18:04:29 +0000 (13:04 -0500)]
gnu: OpenSSL: Update to 1.1.1i [fixes CVE-2020-1971].

* gnu/packages/tls.scm (openssl)[replacement]: Update replacement to 1.1.1i
(openssl-1.1.1g): Replace with ...
(openssl-1.1.1i): ... new variable.

3 years agognu: guix: Update to 799f066.
Ludovic Courtès [Tue, 8 Dec 2020 22:38:04 +0000 (23:38 +0100)]
gnu: guix: Update to 799f066.

* gnu/packages/package-management.scm (guix): Update to 799f066.

3 years agoimport: opam: Adjust test to latest 'opam->guix-package' changes.
Ludovic Courtès [Tue, 8 Dec 2020 21:58:37 +0000 (22:58 +0100)]
import: opam: Adjust test to latest 'opam->guix-package' changes.

This is a followup to a8dccd4bdc1e58219d4ba08fe1649bf0b8325f44, which
broke the test.

* guix/import/opam.scm (get-opam-repository): Prevent inlining.
* tests/opam.scm ("opam->guix-package"): Mock 'get-opam-repository'.

3 years agodaemon: Raise an error if substituter doesn't send the expected hash.
Ludovic Courtès [Thu, 3 Dec 2020 08:44:22 +0000 (09:44 +0100)]
daemon: Raise an error if substituter doesn't send the expected hash.

It was already impossible in practice for 'expectedHashStr' to be empty
if 'status' == "success".

* nix/libstore/build.cc (SubstitutionGoal::finished): Throw 'SubstError'
when 'expectedHashStr' is empty.

3 years agosubstitute: Cache and reuse connections while substituting.
Ludovic Courtès [Wed, 2 Dec 2020 21:49:39 +0000 (22:49 +0100)]
substitute: Cache and reuse connections while substituting.

That way, when fetching a series of substitutes from the same server(s),
the connection is reused instead of being closed/opened for each
substitutes, which saves on network round trips and TLS handshakes.

* guix/http-client.scm (http-fetch): Add #:keep-alive? and honor it.
* guix/progress.scm (progress-report-port): Add #:close? parameter and
honor it.
* guix/scripts/substitute.scm (at-most): Return the tail as a second
value.
(fetch): Add #:port and #:keep-alive? and honor them.
(%max-cached-connections): New variable.
(open-connection-for-uri/cached, call-with-cached-connection): New
procedures.
(with-cached-connection): New macro.
(process-substitution): Wrap 'fetch' call in 'with-cached-connection'.
Pass #:close? to 'progress-report-port'.

3 years agodaemon: Run 'guix substitute --substitute' as an agent.
Ludovic Courtès [Wed, 2 Dec 2020 15:27:34 +0000 (16:27 +0100)]
daemon: Run 'guix substitute --substitute' as an agent.

This avoids spawning one substitute process per substitution.

* nix/libstore/build.cc (class Worker)[substituter]: New field.
[outPipe, logPipe, pid]: Remove.
(class SubstitutionGoal)[expectedHashStr, status, substituter]: New fields.
(SubstitutionGoal::timedOut): Adjust to check 'substituter'.
(SubstitutionGoal::tryToRun): Remove references to 'outPipe' and
'logPipe'.  Run "guix substitute --substitute" as an 'Agent'.  Send the
request with 'writeLine'.
(SubstitutionGoal::finished): Likewise.
(SubstitutionGoal::handleChildOutput): Change to fill in
'expectedHashStr' and 'status'.
(SubstitutionGoal::handleEOF): Call 'wakeUp' unconditionally.
(SubstitutionGoal::~SubstitutionGoal): Adjust to check 'substituter'.
* guix/scripts/substitute.scm (process-substitution): Write "success\n"
to stdout upon success.
(%error-to-file-descriptor-4?): New variable.
(guix-substitute): Set 'current-error-port' to file descriptor 4
unless (%error-to-file-descriptor-4?) is false.
Remove "--substitute" arguments.  Loop reading line from stdin.
* tests/substitute.scm <top level>: Call '%error-to-file-descriptor-4?'.
(request-substitution): New procedure.
("substitute, no signature")
("substitute, invalid hash")
("substitute, unauthorized key")
("substitute, authorized key")
("substitute, unauthorized narinfo comes first")
("substitute, unsigned narinfo comes first")
("substitute, first narinfo is unsigned and has wrong hash")
("substitute, first narinfo is unsigned and has wrong refs")
("substitute, two invalid narinfos")
("substitute, narinfo with several URLs"): Adjust to new "guix
substitute --substitute" calling convention.

3 years agodaemon: Factorize substituter agent spawning.
Ludovic Courtès [Tue, 1 Dec 2020 14:55:57 +0000 (15:55 +0100)]
daemon: Factorize substituter agent spawning.

* nix/libstore/local-store.hh (class LocalStore)[substituter]: New
method.
[runningSubstituter]: Turn into a shared_ptr.
* nix/libstore/local-store.cc (LocalStore::querySubstitutablePaths):
Call 'substituter' instead of using inline code.
(LocalStore::querySubstitutablePathInfos): Likewise.
(LocalStore::substituter): New method.

3 years agodaemon: Use 'Agent' to spawn 'guix substitute --query'.
Ludovic Courtès [Tue, 1 Dec 2020 14:01:40 +0000 (15:01 +0100)]
daemon: Use 'Agent' to spawn 'guix substitute --query'.

* nix/libstore/local-store.hh (RunningSubstituter): Remove.
(LocalStore)[runningSubstituter]: Change to unique_ptr<Agent>.
[setSubstituterEnv, didSetSubstituterEnv]: Remove.
[getLineFromSubstituter, getIntLineFromSubstituter]: Take an 'Agent'.
* nix/libstore/local-store.cc (LocalStore::~LocalStore): Remove
reference to 'runningSubstituter'.
(LocalStore::setSubstituterEnv, LocalStore::startSubstituter): Remove.
(LocalStore::getLineFromSubstituter): Adjust to 'run' being an 'Agent'.
(LocalStore::querySubstitutablePaths): Spawn substituter agent if
needed.  Adjust to 'Agent' interface.
(LocalStore::querySubstitutablePathInfos): Likewise.
* nix/libstore/build.cc (SubstitutionGoal::tryToRun): Remove call to
'setSubstituterEnv' and add 'setenv' call for "_NIX_OPTIONS" instead.
(SubstitutionGoal::finished): Remove 'readLine' call for 'dummy'.
* guix/scripts/substitute.scm (%allow-unauthenticated-substitutes?):
Remove second argument to 'make-parameter'.
(process-query): Call 'warn-about-missing-authentication'
when (%allow-unauthenticated-substitutes?) is #t.
(guix-substitute): Wrap body in 'parameterize'.  Set 'guix-warning-port'
too.  No longer exit when 'substitute-urls' returns the empty list.  No
longer print newline initially.
* tests/substitute.scm (test-quit): Parameterize 'current-error-port' to
account for the port changes in 'guix-substitute'.

3 years agodaemon: 'Agent' constructor takes a list of environment variables.
Ludovic Courtès [Tue, 1 Dec 2020 14:00:14 +0000 (15:00 +0100)]
daemon: 'Agent' constructor takes a list of environment variables.

* nix/libutil/util.hh (struct Agent)[Agent]: Add 'env' parameter.
* nix/libutil/util.cc (Agent::Agent): Honor it.

3 years agognu: autotools: Add version 2.70.
Ludovic Courtès [Tue, 8 Dec 2020 21:28:00 +0000 (22:28 +0100)]
gnu: autotools: Add version 2.70.

* gnu/packages/autotools.scm (autoconf): Rename to...
(autoconf-2.69): ... this.
(autoconf): Define as an alias for AUTOCONF-2.69.
(autoconf-2.70): New variable.

3 years agodatabase: Remove unnecessary module imports.
Ludovic Courtès [Mon, 7 Dec 2020 21:32:04 +0000 (22:32 +0100)]
database: Remove unnecessary module imports.

* guix/store/database.scm: Remove unnecessary imports added in
4b9eecd322e566783369795ebea63a479b51f486.

3 years agognu: ocaml-menhir: Update to 20200211.
Vincent Legoll [Mon, 16 Mar 2020 15:32:25 +0000 (16:32 +0100)]
gnu: ocaml-menhir: Update to 20200211.

* gnu/packages/ocaml.scm (ocaml-menhir): Update to 20200211.
[build-system]: Switch from gnu to dune.
[arguments]: Remove phases and make-flags.
[native-inputs]: Remove field.

Signed-off-by: Christopher Baines <mail@cbaines.net>
3 years agognu: mruby: Update to 2.1.2.
Efraim Flashner [Tue, 8 Dec 2020 20:09:14 +0000 (22:09 +0200)]
gnu: mruby: Update to 2.1.2.

* gnu/packages/ruby.scm (mruby): Update to 2.1.2.

3 years agognu: Add mypaint.
L p R n d n [Fri, 1 May 2020 10:21:55 +0000 (12:21 +0200)]
gnu: Add mypaint.

* gnu/packages/image.scm (mypaint): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
3 years agognu: libmypaint: Update to 1.6.1.
Christopher Baines [Tue, 8 Dec 2020 20:05:48 +0000 (20:05 +0000)]
gnu: libmypaint: Update to 1.6.1.

Needed by mypaint@2.0.1.

* gnu/packages/gimp.scm (libmypaint): Update to 1.6.1.

3 years agognu: isync: Use OpenSSL 1.1.
Leo Famulari [Tue, 8 Dec 2020 18:21:23 +0000 (13:21 -0500)]
gnu: isync: Use OpenSSL 1.1.

* gnu/packages/mail.scm (isync)[inputs]: Replace openssl-1.0 with openssl.

3 years agognu: fcitx5-material-color-theme: Add source file-name.
Efraim Flashner [Tue, 8 Dec 2020 16:14:31 +0000 (18:14 +0200)]
gnu: fcitx5-material-color-theme: Add source file-name.

* gnu/packages/fcitx5.scm (fcitx5-material-color-theme)[source]: Add
file-name field.

3 years agoguix: opam: Add coq support in the importer.
Julien Lepiller [Tue, 8 Dec 2020 14:03:47 +0000 (15:03 +0100)]
guix: opam: Add coq support in the importer.

* guix/import/opam.scm (get-opam-repository): Add support for coq
repositories.
(ocaml-name->guix-name): Properly name coq package.
* doc/guix.texi (Invoking guix import): Document it.

3 years agoguix: opam: Add --repo argument to importer.
Julien Lepiller [Tue, 8 Dec 2020 13:58:39 +0000 (14:58 +0100)]
guix: opam: Add --repo argument to importer.

* guix/scripts/import/opam.scm (guix-import-opam): Pass --repo argument
to recursive and non-recursive importers.
* guix/import/opam.scm (get-opam-repository): Select proper repository
location depending on a new repo argument.
(opam->guix-package): Use get-opam-repository in the procedure body.

3 years agoguix: opam: Pass default repository to recursive importer.
Julien Lepiller [Tue, 8 Dec 2020 12:58:49 +0000 (13:58 +0100)]
guix: opam: Pass default repository to recursive importer.

* guix/import/opam.scm (opam->guix-package): Rename #:repository key
to #:repo.
(opam-recursive-import): Pass #:repo keyword.
* tests/opam.scm (opam->guix-package): Rename #:repository to #:repo.

3 years agoguix: opam: Filter implicit inputs.
Julien Lepiller [Tue, 8 Dec 2020 12:41:47 +0000 (13:41 +0100)]
guix: opam: Filter implicit inputs.

* guix/import/opam.scm (opam->guix-package, depends->inputs): Filter out
implicit inputs.

3 years agoguix: opam: Remove stray `pk'.
Julien Lepiller [Tue, 8 Dec 2020 12:44:53 +0000 (13:44 +0100)]
guix: opam: Remove stray `pk'.

* guix/import/opam.scm (opam->guix-package): Remove stray `pk'.

3 years agognu: Add fcitx5-material-color-theme.
Zhu Zihao [Mon, 7 Dec 2020 14:45:06 +0000 (22:45 +0800)]
gnu: Add fcitx5-material-color-theme.

* gnu/packages/fcitx5.scm (fcitx5-material-color-theme): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
3 years agognu: Add fcitx5-configtool.
Zhu Zihao [Mon, 7 Dec 2020 14:46:03 +0000 (22:46 +0800)]
gnu: Add fcitx5-configtool.

* gnu/packages/fcitx5.scm (fcitx5-configtool): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
3 years agognu: Add fcitx5-chinese-addons.
Zhu Zihao [Sat, 28 Nov 2020 05:25:37 +0000 (13:25 +0800)]
gnu: Add fcitx5-chinese-addons.

* gnu/packages/fcitx5.scm (fcitx5-chinese-addons): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
3 years agognu: Add fcitx5-gtk.
Zhu Zihao [Mon, 7 Dec 2020 14:43:47 +0000 (22:43 +0800)]
gnu: Add fcitx5-gtk.

* gnu/packages/fcitx5.scm (fcitx5-gtk): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
3 years agognu: Add fcitx5-qt.
Zhu Zihao [Mon, 7 Dec 2020 14:42:43 +0000 (22:42 +0800)]
gnu: Add fcitx5-qt.

* gnu/packages/fcitx5.scm (fcitx5-qt): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
3 years agognu: Add libime.
Zhu Zihao [Mon, 7 Dec 2020 14:40:41 +0000 (22:40 +0800)]
gnu: Add libime.

* gnu/packages/fcitx5.scm (libime): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
3 years agognu: Add fcitx5-lua.
Zhu Zihao [Mon, 7 Dec 2020 14:39:29 +0000 (22:39 +0800)]
gnu: Add fcitx5-lua.

* gnu/packages/fcitx5.scm (fcitx5-lua): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
3 years agognu: Add fcitx5.
Zhu Zihao [Mon, 7 Dec 2020 14:38:35 +0000 (22:38 +0800)]
gnu: Add fcitx5.

* gnu/packages/fcitx5.scm (fcitx5): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
3 years agognu: Add xcb-imdkit.
Zhu Zihao [Mon, 7 Dec 2020 14:29:58 +0000 (22:29 +0800)]
gnu: Add xcb-imdkit.

* gnu/packages/fcitx5.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
3 years agoservices: cuirass: Add queue-size option.
Mathieu Othacehe [Tue, 8 Dec 2020 10:53:25 +0000 (11:53 +0100)]
services: cuirass: Add queue-size option.

* gnu/services/cuirass.scm (<cuirass-configuration>): Add "queue-size" field.
(cuirass-shepherd-service): Honor it.
* doc/guix.texi (Continuous Integration): Document it.

3 years agognu: cuirass: Update to 0.0.1-56.697fa14.
Mathieu Othacehe [Tue, 8 Dec 2020 10:48:31 +0000 (11:48 +0100)]
gnu: cuirass: Update to 0.0.1-56.697fa14.

* gnu/packages/ci.scm (cuirass): Update to 0.0.1-56.697fa14.

3 years agognu: Add cjson.
Ryan Prior [Tue, 1 Dec 2020 04:10:32 +0000 (04:10 +0000)]
gnu: Add cjson.

* gnu/packages/javascript.scm (cjson): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
3 years agognu: Add tiny-bignum.
Ryan Prior [Tue, 1 Dec 2020 01:44:59 +0000 (01:44 +0000)]
gnu: Add tiny-bignum.

* gnu/packages/maths.scm (tiny-bignum): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
3 years agognu: trezord: Update to 2.0.30.
Martin Becze [Mon, 30 Nov 2020 20:24:08 +0000 (14:24 -0600)]
gnu: trezord: Update to 2.0.30.

* gnu/packages/finance.scm (trezord): Update to 2.0.30.

Signed-off-by: Christopher Baines <mail@cbaines.net>
3 years agognu: Add go-gopkg-in-natefinch-lumberjack.v2.
Martin Becze [Mon, 30 Nov 2020 20:24:07 +0000 (14:24 -0600)]
gnu: Add go-gopkg-in-natefinch-lumberjack.v2.

* gnu/packages/golang.scm (go-gopkg-in-natefinch-lumberjack.v2): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
3 years agognu: Add go-github-com-gorilla-csrf.
Martin Becze [Mon, 30 Nov 2020 20:24:06 +0000 (14:24 -0600)]
gnu: Add go-github-com-gorilla-csrf.

* gnu/packages/golang.scm (go-github-com-gorilla-csrf): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
3 years agognu: Add go-github-com-gorilla-securecookie.
Martin Becze [Mon, 30 Nov 2020 20:24:05 +0000 (14:24 -0600)]
gnu: Add go-github-com-gorilla-securecookie.

* gnu/packages/golang.scm (go-github-com-gorilla-securecookie): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
3 years agognu: Add go-github-com-gorilla-handlers.
Martin Becze [Mon, 30 Nov 2020 20:24:04 +0000 (14:24 -0600)]
gnu: Add go-github-com-gorilla-handlers.

* gnu/packages/golang.scm (go-github-com-gorilla-handlers): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
3 years agognu: Add go-github-com-felixge-httpsnoop.
Martin Becze [Mon, 30 Nov 2020 20:24:03 +0000 (14:24 -0600)]
gnu: Add go-github-com-felixge-httpsnoop.

* gnu/packages/golang.scm (go-github-com-felixge-httpsnoop): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
3 years agognu: go-github-com-gorilla-mux: Update to 1.8.0.
Martin Becze [Mon, 30 Nov 2020 20:24:02 +0000 (14:24 -0600)]
gnu: go-github-com-gorilla-mux: Update to 1.8.0.

* gnu/packages/golang.scm (go-github-com-gorilla-mux): Update to 1.8.0.

Signed-off-by: Christopher Baines <mail@cbaines.net>
3 years agognu: scummvm: Update source URL.
Tobias Geerinckx-Rice [Tue, 8 Dec 2020 07:46:17 +0000 (08:46 +0100)]
gnu: scummvm: Update source URL.

* gnu/packages/emulators.scm (scummvm)[source]: Use HTTPS & new
subdomain.

Reported by Matthew Brooks <matthewfbrooks@mailbox.org>.

3 years agognu: gita: Install shell completions.
Michael Rohleder [Tue, 8 Dec 2020 01:22:03 +0000 (02:22 +0100)]
gnu: gita: Install shell completions.

* gnu/packages/version-control.scm (gita)[arguments]: Add phase
install-shell-completions.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
3 years agognu: Add emacs-burly.
Ryan Desfosses [Mon, 7 Dec 2020 23:26:46 +0000 (18:26 -0500)]
gnu: Add emacs-burly.

* gnu/packages/emacs-xyz.scm (emacs-burly): New variable.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
3 years agognu: Add emacs-map.
Ryan Desfosses [Mon, 7 Dec 2020 23:17:52 +0000 (18:17 -0500)]
gnu: Add emacs-map.

* gnu/packages/emacs-xyz.scm (emacs-map): New variable.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
3 years agognu: shadowsocks: Build against openssl.
Leo Prikler [Mon, 7 Dec 2020 20:28:18 +0000 (21:28 +0100)]
gnu: shadowsocks: Build against openssl.

This patch allows shadowsocks to be used without supplying libopenssl in its
configuration.  See also https://unix.stackexchange.com/questions/623324/.

* gnu/packages/networking.scm (shadowsocks)[inputs]: Add openssl.
[#:phases]: Add patch-crypto-paths.

Signed-off-by: Marius Bakke <marius@gnu.org>
3 years agognu: qoauth: Minor cosmetic improvements.
Marius Bakke [Mon, 7 Dec 2020 23:30:08 +0000 (00:30 +0100)]
gnu: qoauth: Minor cosmetic improvements.

* gnu/packages/web.scm (qoauth)[arguments]: Add #:tests?.  Don't delete
'check' phase.  Override 'configure' instead of adding new phase.

3 years agognu: qoauth: Fix build failure.
Marius Bakke [Mon, 7 Dec 2020 23:28:06 +0000 (00:28 +0100)]
gnu: qoauth: Fix build failure.

Fixes <https://bugs.gnu.org/45031>.
Reported by Distopico <distopico@riseup.net>.

* gnu/packages/web.scm (qoauth)[arguments]: Add phase
'adjust-mkspecs-directory'.

3 years agognu: qca: Correct license.
Marius Bakke [Mon, 7 Dec 2020 23:05:44 +0000 (00:05 +0100)]
gnu: qca: Correct license.

* gnu/packages/kde.scm (qca)[license]: Change from LGPL2.1 to LGPL2.1+.

3 years agognu: Add gita.
Oleg Pykhalov [Mon, 7 Dec 2020 22:45:13 +0000 (01:45 +0300)]
gnu: Add gita.

* gnu/packages/version-control.scm (gita): New variable.

3 years agognu: imapfilter: Update to 2.7.5.
Tobias Geerinckx-Rice [Mon, 7 Dec 2020 22:41:37 +0000 (23:41 +0100)]
gnu: imapfilter: Update to 2.7.5.

* gnu/packages/mail.scm (imapfilter): Update to 2.7.5.

3 years agognu: grammalecte: Update to 2.0.0.
Nicolas Goaziou [Mon, 7 Dec 2020 21:43:57 +0000 (22:43 +0100)]
gnu: grammalecte: Update to 2.0.0.

* gnu/packages/dictionaries.scm (grammalecte): Update to 2.0.0.

3 years agognu: Add glmark2.
Kei Kebreau [Wed, 13 May 2020 23:20:56 +0000 (19:20 -0400)]
gnu: Add glmark2.

* gnu/packages/gl.scm (glmark2): New variable.

3 years agodoc: Document about xfce4-panel plugins.
宋文武 [Mon, 7 Dec 2020 11:11:03 +0000 (19:11 +0800)]
doc: Document about xfce4-panel plugins.

* doc/guix.texi (Desktop Services): Document that xfce4-panel plugin packages
should be added to the 'packages' field of OS.

3 years agognu: xfce4-whiskermenu-plugin: Fix installed shell script.
Michael Rohleder [Sat, 28 Nov 2020 15:27:46 +0000 (16:27 +0100)]
gnu: xfce4-whiskermenu-plugin: Fix installed shell script.

* gnu/packages/xfce.scm (xfce4-whiskermenu-plugin): Fix installed shell script.
[arguments]: Add phase fix-shell-script to substitute paths to xfce4-panel and
gettext.
[inputs]: Add gettext-minimal.

Co-authored-by: Kei Kebreau <kkebreau@posteo.net>
Signed-off-by: Kei Kebreau <kkebreau@posteo.net>
3 years agognu: bombadillo: Update to 2.3.3.
Tobias Geerinckx-Rice [Mon, 7 Dec 2020 20:51:59 +0000 (21:51 +0100)]
gnu: bombadillo: Update to 2.3.3.

* gnu/packages/web-browsers.scm (bombadillo): Update to 2.3.3.

3 years agognu: qutebrowser: Update to 1.14.1.
Tobias Geerinckx-Rice [Mon, 7 Dec 2020 20:47:57 +0000 (21:47 +0100)]
gnu: qutebrowser: Update to 1.14.1.

* gnu/packages/web-browsers.scm (qutebrowser): Update to 1.14.1.

3 years agognu: yapet: Omit duplicate licence files.
Tobias Geerinckx-Rice [Mon, 7 Dec 2020 20:38:28 +0000 (21:38 +0100)]
gnu: yapet: Omit duplicate licence files.

* gnu/packages/password-utils.scm (yapet)[arguments]: Set a better --docdir.

3 years agognu: yapet: Update to 2.5.
Tobias Geerinckx-Rice [Mon, 7 Dec 2020 20:31:21 +0000 (21:31 +0100)]
gnu: yapet: Update to 2.5.

* gnu/packages/password-utils.scm (yapet): Update to 2.5.

3 years agognu: feh: Update to 3.6.1.
Tobias Geerinckx-Rice [Mon, 7 Dec 2020 19:45:48 +0000 (20:45 +0100)]
gnu: feh: Update to 3.6.1.

* gnu/packages/image-viewers.scm (feh): Update to 3.6.1.

3 years agognu: libmanette: Update to 0.2.6.
Tobias Geerinckx-Rice [Mon, 7 Dec 2020 19:38:16 +0000 (20:38 +0100)]
gnu: libmanette: Update to 0.2.6.

* gnu/packages/games.scm (libmanette): Update to 0.2.6.

3 years agognu: thermald: Update to 2.4.1.
Tobias Geerinckx-Rice [Mon, 7 Dec 2020 19:28:03 +0000 (20:28 +0100)]
gnu: thermald: Update to 2.4.1.

* gnu/packages/admin.scm (thermald): Update to 2.4.1.

3 years agognu: emacs-moody: Update to 0.5.4.
Nicolas Goaziou [Mon, 7 Dec 2020 16:02:10 +0000 (17:02 +0100)]
gnu: emacs-moody: Update to 0.5.4.

* gnu/packages/emacs-xyz.scm (emacs-moody): Update to 0.5.4.

3 years agognu: Add emacs-modus-themes.
André Alexandre Gomes [Mon, 7 Dec 2020 12:43:22 +0000 (15:43 +0300)]
gnu: Add emacs-modus-themes.

* gnu/packages/emacs-xyz.scm (emacs-modus-themes): New variable.
(emacs-modus-operandi-theme, emacs-modus-vivendi-theme): Deprecate package in
favor of emacs-modus-themes.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
3 years agoci: Add "evaluation" method.
Mathieu Othacehe [Mon, 7 Dec 2020 14:38:16 +0000 (15:38 +0100)]
ci: Add "evaluation" method.

* guix/ci.scm (evaluation): New procedure.

3 years agoci: Add evaluation field to build record.
Mathieu Othacehe [Mon, 7 Dec 2020 14:11:11 +0000 (15:11 +0100)]
ci: Add evaluation field to build record.

* guix/ci.scm (<build>): Add "evaluation" field.

3 years agotests: lint: Add origin patch file name test cases.
Chris Marusich [Sun, 14 Jun 2020 05:09:46 +0000 (22:09 -0700)]
tests: lint: Add origin patch file name test cases.

In particular, "<origin> patches: same file name -> no warnings" would
have caught the issue which was fixed in commit
21887021b9acf60157b1b0a39c16f2ec6498021b.

* tests/lint.scm (patches: file names): Rename this test case...
("file patches: different file name -> warning"): ... to this.
("file patches: same file name -> no warnings")
("<origin> patches: different file name -> warning")
("<origin> patches: same file name -> no warnings"): New test cases.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
3 years agoservices: openssh: Warn about 'password-authentication?' default.
Ludovic Courtès [Mon, 7 Dec 2020 11:34:26 +0000 (12:34 +0100)]
services: openssh: Warn about 'password-authentication?' default.

Fixes <https://bugs.gnu.org/44808>.
Reported by Christopher Lemmer Webber <cwebber@dustycloud.org>.

* gnu/services/ssh.scm (true-but-soon-false): New procedure.
(<openssh-configuration>)[password-authentication?]: Change default to
'true-but-soon-false'.
* gnu/installer/services.scm (%system-services): Explicitly set
'password-authentication?' to #f.

3 years agoservices: hurd-vm: Avoid circular dependency with (gnu system images hurd).
Ludovic Courtès [Mon, 7 Dec 2020 11:38:25 +0000 (12:38 +0100)]
services: hurd-vm: Avoid circular dependency with (gnu system images hurd).

* gnu/services/virtualization.scm (hurd-vm-disk-image): Use
'lookup-image-type-by-name' instead of referring to 'hurd-disk-image'
from (gnu system images hurd).

3 years agoprofiles: Delete duplicate manifest entries in packages->manifest.
Leo Prikler [Sat, 5 Dec 2020 16:20:10 +0000 (17:20 +0100)]
profiles: Delete duplicate manifest entries in packages->manifest.

* gnu/profiles.scm (packages->manifest): Delete duplicate entries.
* tests/profiles.scm ("packages->manifest, no duplicates"): New test.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
3 years agoprofiles: Remove duplicates in manifest transactions.
Leo Prikler [Sat, 5 Dec 2020 16:20:09 +0000 (17:20 +0100)]
profiles: Remove duplicates in manifest transactions.

Fixes <https://bugs.gnu.org/23874>.
Reported by Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>.

* guix/profiles.scm (manifest-transaction-effects): Delete duplicates in
install and remove.  Let multiple upgrades and downgrades shadow previous
transactions of the same kind.
* tests/profiles.scm
("manifest-transaction-effects no double install or upgrades")
("manifest-transaction-effects no double downgrade")
("manifest-transaction-effects no double removal"): New tests.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
3 years agodoc: Fix incorrect GUIX_PROFILE value for 'guix pull'.
Holger Peters [Fri, 4 Dec 2020 09:51:37 +0000 (10:51 +0100)]
doc: Fix incorrect GUIX_PROFILE value for 'guix pull'.

* doc/guix.texi (Getting Started): Fix invalid GUIX_PROFILE value.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
3 years agoRevert "gnu: vim: Run more tests."
Efraim Flashner [Mon, 7 Dec 2020 10:32:49 +0000 (12:32 +0200)]
Revert "gnu: vim: Run more tests."

This reverts commit 17a53aec7a6a7608bd01841ca2058bfe1500c453.

This breaks building vim on ARM architectures.

3 years agognu: minimap2: Fix build on aarch64-linux.
Efraim Flashner [Mon, 7 Dec 2020 10:24:17 +0000 (12:24 +0200)]
gnu: minimap2: Fix build on aarch64-linux.

* gnu/packages/bioinformatics.scm (minimap2)[arguments]: Adjust
configure-flags to be better per-architecture.
[source]: Add patch.
* gnu/packages/patches/minimap2-aarch64-support.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

3 years agognu: minimap2: Prepare for cross compilation.
Efraim Flashner [Mon, 7 Dec 2020 10:23:22 +0000 (12:23 +0200)]
gnu: minimap2: Prepare for cross compilation.

* gnu/packages/bioinformatics.scm (minimap2)[arguments]: Use
cc-for-target.

3 years agognu: emacs-with-editor: Update to 3.0.2.
Michael Rohleder [Sun, 6 Dec 2020 15:56:16 +0000 (16:56 +0100)]
gnu: emacs-with-editor: Update to 3.0.2.

* gnu/packages/emacs-xyz.scm (emacs-with-editor): Update to 3.0.2.
[propagated-inputs]: Changed emacs-dash to emacs-async.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
3 years agoservice: Add shepherd discover action.
Mathieu Othacehe [Fri, 4 Dec 2020 08:43:17 +0000 (09:43 +0100)]
service: Add shepherd discover action.

* gnu/services/base.scm (shepherd-discover-action): New procedure,
(guix-shepherd-service)[<actions>]: add it,
[<start>]: honor it.
* doc/guix.texi (Invoking guix-daemon): Document it.

3 years agoprometheus-node-exporter: Support extra options.
Christopher Baines [Sat, 28 Nov 2020 11:03:19 +0000 (11:03 +0000)]
prometheus-node-exporter: Support extra options.

There are plenty of options supported that the Guix configuration record
doesn't help you with, so add this field to allow users to do their own thing.

* gnu/services/monitoring.scm (<prometheus-node-exporter-configuration>): Add
extra-options field.
(prometheus-node-exporter-shepherd-service): Handle the extra options.
* doc/guix.texi (Prometheus Node Exporter Service): Document this.

3 years agoprometheus-node-exporter: Enable the textfile collector.
Christopher Baines [Sat, 28 Nov 2020 10:58:02 +0000 (10:58 +0000)]
prometheus-node-exporter: Enable the textfile collector.

* gnu/services/monitoring.scm (<prometheus-node-exporter-configuration>): Add
textfile-directory.
(prometheus-node-exporter-textfile-directory,
prometheus-node-exporter-activation): New procedures.
(prometheus-node-exporter-shepherd-service): Pass
--collector.textfile.directoryto the service.
(prometheus-node-exporter-service-type): Extend the activation service type.
* doc/guix.texi (Prometheus Node Exporter Service): Document.

3 years agodoc: Remove redundant node exporter configuration from the example.
Christopher Baines [Sat, 28 Nov 2020 10:52:13 +0000 (10:52 +0000)]
doc: Remove redundant node exporter configuration from the example.

* doc/guix.texi (Prometheus Node Exporter Service): Simplify the example.

3 years agoservices: prometheus-node-exporter: Use a log file.
Christopher Baines [Sat, 28 Nov 2020 10:41:05 +0000 (10:41 +0000)]
services: prometheus-node-exporter: Use a log file.

This makes the logs easier to find and read.

* gnu/services/monitoring.scm (prometheus-node-exporter-shepherd-service):
Pass #:log-file to make-forkexec-constructor.

3 years agoprometheus-node-exporter: Add user and group.
Christopher Baines [Sat, 28 Nov 2020 10:39:21 +0000 (10:39 +0000)]
prometheus-node-exporter: Add user and group.

So it doesn't run as root, and because this will help with the textfile
exporter.

* gnu/services/monitoring.scm (%prometheus-node-exporter-accounts): New
variable.
(prometheus-node-exporter-shepherd-service): Use the relevant user and group.
(prometheus-node-exporter-service-type): Extend the account service type.

3 years agoservices: prometheus-node-exporter: Neaten up.
Christopher Baines [Sat, 28 Nov 2020 10:17:14 +0000 (10:17 +0000)]
services: prometheus-node-exporter: Neaten up.

Add relevant exports, as well as a comment to better indicate where the
relevant code starts.

* gnu/services/monitoring.scm (prometheus-node-exporter-service-type):
Capitalise Prometheus.

3 years agognu: rav1e: Update to 0.3.4.
Antoine Côté [Sun, 6 Dec 2020 07:59:33 +0000 (02:59 -0500)]
gnu: rav1e: Update to 0.3.4.

* gnu/packages/video.scm (rav1e): Update to 0.3.4.
[arguments]: In cargo-inputs replace rust-aom-sys-0.1 with 0.2,
rust-nasm-rs-0.1 with 0.2.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
3 years agognu: Add rust-nasm-rs-0.2.
Antoine Côté [Sun, 6 Dec 2020 07:59:32 +0000 (02:59 -0500)]
gnu: Add rust-nasm-rs-0.2.

* gnu/packages/crate-io.scm (rust-nasm-rs-0.2): New variable.
(rust-nasm-rs-0.1): Inherit from rust-nasm-rs-0.2.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
3 years agognu: Add rust-aom-sys-0.2.
Antoine Côté [Sun, 6 Dec 2020 07:59:31 +0000 (02:59 -0500)]
gnu: Add rust-aom-sys-0.2.

* gnu/packages/crates-graphics.scm (rust-aom-sys-0.2): New variable.
(rust-aom-sys-0.1): Inherit from rust-aom-sys-0.2.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
3 years agognu: Add emacs-counsel-jq.
Joseph LaFreniere [Mon, 7 Dec 2020 06:58:29 +0000 (00:58 -0600)]
gnu: Add emacs-counsel-jq.

* gnu/packages/emacs-xyz.scm (emacs-counsel-jq): New variable.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
3 years agognu: diffoscope: Update to 162.
Vagrant Cascadian [Mon, 7 Dec 2020 02:42:48 +0000 (18:42 -0800)]
gnu: diffoscope: Update to 162.

* gnu/packages/diffoscope (diffoscope): Update to 162.