~ruther/guix-local

22967457 — Nicolas Graves via Guix-patches via 1 year, 8 months ago
cve: Add cpe-vendor and lint-hidden-cpe-vendors properties.

* guix/cve.scm: Exploit cpe vendors information.
(cpe->package-name): Rename to...
(cpe->package-identifier): Renamed from cpe->package-name. Use
cpe_vendor:cpe_name in place or cpe_name.
(vulnerabily-matches?): Add helper function.
(vulnerabilities->lookup-proc): Extract cpe_name for table
hashes. Add vendor and hidden-vendor arguments. Adapt condition to
pass vulnerabilities to result in the fold.
(write-cache, fetch-vulnerabilities): Update the format version.

* guix/lint.scm (package-vulnerabilities): Use additional arguments
from vulnerabilities->lookup-proc.

* tests/cve.scm (%expected-vulnerabilities): Adapt variable to changes
in guix/cve.scm.

Signed-off-by: Zheng Junjie <z572@z572.online>
gnu: trealla: Update to 2.74.23.

* gnu/packages/prolog.scm (trealla): Update to 2.74.23.

Change-Id: Iaee68925dc45e05e8309d80332c1ee1c020aef1f
gnu: dex: Enable verbose flag for tests.

* gnu/packages/xdisorg.scm (dex)[arguments]: Enable verbose flag for tests.

Change-Id: I05742e954c704833c032db1add9673a18e6b3e80
72902b41 — Andrew Wong 1 year, 1 month ago
gnu: dex: Update to 0.10.1.

* gnu/packages/xdisorg.scm (dex): Update to 0.10.1.
[arguments]: Switch to G-expressions and implement tests.
[description]: Mention autostart functionality.

Change-Id: I8462ce6de80bdf46594b39caee36488fcd2cd810
Signed-off-by: jgart <jgart@dismail.de>
1cbe0d7d — Vinicius Monego 1 year, 1 month ago
gnu: python-textual: Update to 3.5.0.

* gnu/packages/python-xyz.scm (python-textual): Update to 3.5.0.
[arguments]<#:test-flags>: Update failing tests.
[propagated-inputs]: Remove python-mdit-py-plugins. Add
python-platformdirs.
[native-inputs]: Add python-pytest-xdist.

Change-Id: I7ff7d663e223da8b7ff924a863a419be11bd478e
f4f6d9ac — Vinicius Monego 1 year, 1 month ago
gnu: python-ueberzug: Update to 18.3.1.

* gnu/packages/python-xyz.scm (python-ueberzug): Update to 18.3.1.
[build-system]: Use pyproject-build-system.
[arguments]: Skip the 'check' phase.
[native-inputs]: Add meson-python, pkg-config.
[inputs]: Add libxres.
[propagated-inputs]: Remove python-xlib.
[home-page]: Switch to maintained repository.

Change-Id: Ia93f8d98767e0887b3f18335a5e4bfc8d925abf7
73b7e468 — Vinicius Monego 1 year, 1 month ago
gnu: python-logbook: Update to 1.8.2.

* gnu/packages/python-xyz.scm (python-logbook): Update to 1.8.2.
[source]: Update URI.
[build-system]: Use pyproject-build-system.
[arguments]<#:phases>: Delete unnecessary phase 'cythonize-sources'. Do
not override the 'check' phase.
[native-inputs]: Remove python-cython, python-mock,
python-pytest-cov. Add python-cython-3, python-setuptools, python-wheel.

Change-Id: I4b4c8ea60bc0ad7fdcb4d5320e5337f3ca38ed6f
99f85246 — Ludovic Courtès 1 year, 1 month ago
git authenticate: Do nothing when invoked from the keyring branch.

Fixes <https://issues.guix.gnu.org/78283>.

* guix/scripts/git/authenticate.scm (guix-git-authenticate): Call
‘current-branch’ and do nothing if it returns the keyring branch.

Reported-by: Vagrant Cascadian <vagrant@debian.org>
Change-Id: I66c2a3f4babf68ac1df0913db6bc708ac0c7968e
0ec5cab1 — Ludovic Courtès 1 year, 1 month ago
git authenticate: Gracefully handle passing an annotated tag to ‘--end’.

Partly fixes <https://issues.guix.gnu.org/74583>.

Previously, passing an annotated tag to ‘--end’, as can happen when
‘guix git authenticate’ is invoked by the pre-push hook when pushing
tags, would lead to an error:

  guix git: error: Git error: the requested type does not match the type in the ODB

* guix/scripts/git/authenticate.scm (ensure-commit-id): New procedure.
(guix-git-authenticate): Use it.
* tests/guix-git-authenticate.sh: Test with $v1_2_0_annotated_tag.

Change-Id: I22e8eb665609522c80c1f0dcb9e77a46c23c0c3c
56eb949f — Ludovic Courtès 1 year, 1 month ago
git authenticate: Upgrade pre-push hook with a fixed version.

Partly fixes <https://issues.guix.gnu.org/74583>.

* guix/scripts/git/authenticate.scm (%pre-push-hook): New variable.
(install-hooks): Use it.
(broken-pre-push-hook?, maybe-upgrade-hooks): New procedures.
(guix-git-authenticate): Call ‘maybe-upgrade-hooks’ when ‘configured?’
returns true.

Change-Id: I39d34ab66ffe0f34170c0f562e9f97f2f69c9fdc
55b38dde — Ludovic Courtès 1 year, 1 month ago
git authenticate: Remove support for Guile-Git < 0.7.0.

Guile-Git 0.7.0 was released in May 2024.

* guix/scripts/git/authenticate.scm (record-configuration): Remove
‘module-defined?’ condition for Guile-Git < 0.7.0.
(install-hooks): Likewise.

Change-Id: I27af82068b989d6a18ff1a66453e0a8d397ed380
a9548c19 — Brice Waegeneire 1 year, 1 month ago
gnu: qgis: Fix build.

Fixing #723.

* gnu/packages/geo.scm (python-sip-6.8-instead-of-python-sip): New procedure.
(python-pyqt+qscintilla-with-python-sip-6.8, python-sip-6.8): New variables.
(qgis)[inputs]: Add python-lxml. Replace python-pyqt+qscintilla with
python-pyqt+qscintilla-with-python-sip-6.8 and python-sip with
python-sip-6.8.

Change-Id: I0f845400012d381cb4d78aadc3b1e2a47f6c3090
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-charset-normalizer-3: Update to 3.4.2.

* gnu/packages/python-xyz.scm (python-charset-normalizer-3): Update to
  3.4.2.
  [build-system]: Use pyproject-build-system.
  [arguments] <phases>: Add 'fix-scripts.
  [native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I32c89a63c3fd1aaf3c323d4986808b7860c2d999
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
36dc401b — Liam Hupfer 1 year, 1 month ago
gnu: fzf: Use bashrc.d for Bash integration.

fzf comes with two Bash integration files.

The first, completion.bash, enables fzf-powered completion of various
types (files, variable names, processes, etc) for various commands (cat,
export, kill, etc).  This is in contrast with the Bash completions most
packages ship, which are based on the bash-completion package and only
include completions for the package binaries.  The bash-completion
package lazily loads completions from bash_completion.d directories when
the user invokes completion for a given command.  fzf’s completion.bash
shouldn’t be installed to etc/bash_completion.d/fzf, since it doesn’t
depend on bash-completion and it supplies completions for more than just
the fzf binary.  Instead, install it to the more general bashrc.d, where
users can source it so fzf-powered completions are immediately available
for common commands.

The second, key-bindings.bash, provides fzf-based history search for C-r
as well as a couple other convenient bindings. Install it to bashrc.d as
well so users can source it.

* gnu/packages/terminals.scm (fzf): [phases]{install-completions}: Use
bashrc.d for Bash integration files.

Change-Id: Ied0ec1187a04bcc74d39ee22957fc9b4573b5992
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
a706e205 — Sharlatan Hellseher 1 year, 1 month ago
gnu: gopls: Move to golang-apps.

* gnu/packages/golang-xyz.scm (gopls): Move from here ...
* gnu/packages/golang-apps.scm: ... to here.

Change-Id: I4132af631198bffe36f6defb1e5390ab1326242f
a599ff7a — Sharlatan Hellseher 1 year, 1 month ago
gnu: packages/golang-apps: Add module commentary.

* gnu/packages/golang-apps.scm: Comment on the purpose of this module.

Change-Id: Ia1353db23b23f2ac992f72c64dd9a139252d0107
cdac3642 — Sharlatan Hellseher 1 year, 1 month ago
gnu: Rename go-apps to golang-apps.

It's to follow the same naming style as other golang.scm and
golang-*.scm modules.

* gnu/packages/go-apps.scm: Rename file to golang-apps.scm
* gnu/local.mk (GNU_SYSTEM_MODULES): Rename go-apps to golang-apps.
* gnu/packages/emacs-xyz.scm: Replace used module go-apps with golang-apps.

Change-Id: I72642f2f6ea1cb3382e17b637cab52aa79d910c9
fa1eabab — Maxim Cournoyer 1 year, 1 month ago
gnu: Add gomacro.

* gnu/packages/go-apps.scm (gomacro): New variable.

Change-Id: Ie3575a72baacb2ea3010d727d27f2d50749f93ea
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-diskcache: Update to 5.6.3.

* gnu/packages/python-xyz.scm (python-diskcache): Update to 5.6.3.
[source]: Use GitHub origin since PyPI missing docs which are needed for
tests.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add required native-inputs.

Change-Id: I169c24c02356407902a69cc4937a4761be47b6e6
60c6133a — Cayetano Santos 1 year, 1 month ago
gnu: emacs-guix: Update to 0.5.2-8.66b9350.

* gnu/packages/emacs-xyz.scm (emacs-guix): Update to 0.5.2-8.66b9350.
[source]: Update URL.

Change-Id: Ie6ebba6ff4e070ca03de91f4e316f6e48707e37d
Signed-off-by: Ian Eure <ian@retrospec.tv>
Next