Commit graph

1486 commits

Author SHA1 Message Date
Greg Hogan
f4ce754028
gnu: Restore gnu-build-system phases.
* gnu/packages/bioinformatics.scm (bandage),
* gnu/packages/education.scm (openboard),
* gnu/packages/emulators.scm (qtmips),
* gnu/packages/games.scm (chessx),
* gnu/packages/kde-systemtools.scm (spectacle-ocr-screenshot),
* gnu/packages/qt.scm (pyotherside, qtwidgetanimationframework)
<#:phases>: Restore build phase.

* gnu/packages/admin.scm (wpa-supplicant-gui),
* gnu/packages/finance.scm (kitsas)
[arguments]<#:tests?>: Disable.
<#:phases>: Restore build phase.

* gnu/packages/engineering.scm (librecad)
[arguments]<#:test-target>: Delete.
<#:phases>: Restore build and check phases.

* gnu/packages/music.scm (samplebrain)
<#:phases>: Restore build, check, and install phases.

* gnu/packages/password-utils.scm (qtpass)
[arguments]<#:test-target>: Delete.
<#:phases>: Restore build, check, and install phases.

* gnu/packages/ebook.scm (inkbox),
* gnu/packages/engineering.scm (qelectrotech),
* gnu/packages/games.scm (doom-runner, moonlight-qt, pokerth,
qcheckers),
* gnu/packages/gps.scm (gpxsee),
* gnu/packages/hardware.scm (openrgb),
* gnu/packages/image-viewers.scm (qview),
* gnu/packages/pdf.scm (qpdfview),
* gnu/packages/qt.scm (signond),
* gnu/packages/radio.scm (dream)
<#:phases>: Restore build and install phases.

* gnu/packages/disk.scm (qdirstat),
* gnu/packages/pdf.scm (sioyek),
* gnu/packages/qt.scm (signon-plugin-oauth2),
* gnu/packages/radio.scm (qsstv, wfview),
* gnu/packages/security-token.scm (yubikey-manager-qt),
* gnu/packages/tex.scm (texmaker),
* gnu/packages/video.scm (smplayer)
[arguments]<#:tests?>: Disable.
<#:phases>: Restore build and install phases.

* gnu/packages/task-management.scm (timewarrior)
<#:phases>: Restore check phase.

* gnu/packages/audio.scm (supercollider)
<#:phases>: Restore install phase.

* gnu/packages/web.scm (libzim): Update to 9.3.0.
(kiwix-lib): Update to 14.0.0.
(kiwix-desktop): Update to 2.4.1.
[source](patches): Delete.
[arguments]<#:test-target>: Delete.
[arguments]<#:tests?>: Disable.
<#:phases>: Restore build and install phases.
(kiwix-tools): Update to 3.7.0.

* gnu/packages/patches/kiwix-desktop-newer-libkiwix.patch: Delete.
* gnu/local.mk: Update accordingly.

Change-Id: Ia5162ec190fc21334bbc516dcc01056d599f2891
2025-08-04 04:11:21 +00:00
Andreas Enge
12b81e61c5
gnu: corectrl: Update to 1.4.5.
* gnu/packages/admin.scm (corectrl): Update to 1.4.5.
[native-inputs]: Remove catch2-3; add catch2-3.8.

Change-Id: I34be887b852585ab85785e5aed626f02a61ccb7a
2025-08-01 22:21:15 +02:00
Ludovic Courtès
d40bc50ea8
gnu: jnettop: Fix compilation with GCC 14.
* gnu/packages/admin.scm (jnettop)[arguments]: New field.

Change-Id: I0d226c02625f8491c446d2afbe6b5ac128a318df
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-07-27 23:57:26 +02:00
Andreas Enge
36dc1299df
gnu: ktsuss: Fix build with gcc-14.
* gnu/packages/admin.scm (ktsuss)[arguments]: Add #:configure-flags.

Change-Id: Ia5fa72091f33ef290c98f161de91d497360678a2
2025-07-22 21:53:36 +02:00
Ashish SHUKLA
6ab68701dd
gnu: fastfetch: Update to 2.48.1.
* gnu/packages/admin.scm (fastfetch): Update to 2.48.1.

Change-Id: Ie32516fd49c2caed6b6e4e9761dfd3f741225b8c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-19 01:14:46 +01:00
Jelle Licht
7b3126ecdc
gnu: corectrl: Fix build.
* gnu/packages/admin.scm (corectrl): Fix build.
[native-inputs]: Remove gcc-13.

Change-Id: Ib03b0696f7abfa446e8a87f07c64302cf3ce7dd2
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-07-18 20:17:53 +02:00
Janneke Nieuwenhuizen
d4f2e2ae37
gnu: Use cryptsetup-minimal instead of cryptsetup.
* gnu/packages/admin.scm (pam-mount)[inputs]: Use cryptsetup-minimal instead
of cryptsetup.
* gnu/packages/crypto.scm (tomb)[inputs]: Likewise.
* gnu/packages/linux.scm (ecryptfs-utils)[inputs]: Likewise.
* gnu/packages/password-utils.scm (bruteforce-luks)[inputs]: Likewise.
* gnu/packages/storage.scm (ceph)[inputs]: Likewise.
* gnu/packages/virtualization.scm (ganeti-instance-guix)[inputs]: Likewise.
* gnu/packages/disk.scm (volume-key)[inputs]: Likewise.
(libblockdev)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (udisks)[inputs]: Likewise.
* gnu/system/install.scm (%installer-disk-utilities)[inputs]: Likewise.

Change-Id: Ib48ae1b45f6c63edd620a932241f2aa57567a350
2025-07-18 20:17:14 +02:00
Ashish SHUKLA
01e522d008
gnu: fastfetch: Update to 2.48.0.
* gnu/packages/admin.scm (fastfetch): Update to 2.48.0.

Change-Id: I248fd3da3dca1ef7a8ede9baeff2782aaf140fa6
Signed-off-by: Zheng Junjie <z572@z572.online>
2025-07-18 19:42:42 +08:00
Artyom V. Poptsov
5a8b4804f5
gnu: stress: Fix cross-build for 'riscv64-linux-gnu' target.
* gnu/packages/admin.scm (stress): Fix cross-build for 'riscv64-linux-gnu'
target.
[source]<snippet>: Patch "configure.ac" to remove "AC_FUNC_MALLOC" macro.

Change-Id: Ie2dd5a073526339a1573c134bee7c591a521f068
2025-07-14 09:09:40 +03:00
Artyom V. Poptsov
2da630b02f
gnu: aide: Update to 0.19.1.
* gnu/packages/admin.scm (aide): Update to 0.19.1.

Change-Id: I3bbdb8202562e4c778c2902594021c8ee5e76c2d
2025-07-14 08:20:01 +03:00
Ludovic Courtès
7abc8869f5
gnu: shepherd: Update to 1.0.6.
* gnu/packages/admin.scm (shepherd-1.0): Update to 1.0.6.

Change-Id: I2ad080074b7059fadebaf7c3c6d1c427e0ae69c4
2025-07-09 12:34:28 +02:00
Artyom V. Poptsov
7479725ff2
gnu: btop: Update to 1.4.4.
* gnu/packages/admin.scm (btop): Update to 1.4.4.

Change-Id: Ie664c206b86a5be9171544d4da38fc52f91eae60
2025-07-05 00:03:51 +03:00
Zheng Junjie
502ad9da2a
gnu: sudo: Update to 1.9.17p1. [security fixes]
Fixes: CVE-2025-32462 and CVE-2025-32463.

* gnu/packages/admin.scm (sudo): Update to 1.9.17p1.

Change-Id: I03ef06d04b9b15faf341467d3642120fe8a44eb9
2025-07-02 16:14:12 +08:00
Nicolas Graves
01ad0cf43e
gnu: ruby: Populating (gnu packages ruby-check/ruby-xyz).
* gnu/packages/ruby.scm: Move all packages except different versions
of ruby and mruby, to either (gnu packages ruby-check) or
(gnu packages ruby-xyz).

* gnu/packages/ruby-check.scm (bundler, ruby-builder, ruby-cucumber-ci-environment,
ruby-cucumber-compatibility-kit,
ruby-cucumber-compatibility-kit-bootstrap, ruby-cucumber-core,
ruby-cucumber-expressions, ruby-cucumber-gherkin,
ruby-cucumber-html-formatter, ruby-cucumber-messages,
ruby-cucumber-tag-expressions, ruby-cucumber-wire, ruby-diff-lcs,
ruby-docile, ruby-fivemat, ruby-given-core, ruby-hoe, ruby-hoe-3,
ruby-json, ruby-mime-types, ruby-mime-types-data, ruby-mini-portile,
ruby-mini-portile-2, ruby-minitest, ruby-minitest-bonus-assertions,
ruby-minitest-focus, ruby-minitest-hooks, ruby-minitest-moar,
ruby-multi-test, ruby-rake, ruby-rake-compiler,
ruby-rake-compiler-dock, ruby-rspec, ruby-rspec-2, ruby-rspec-core,
ruby-rspec-core-2, ruby-rspec-expectations, ruby-rspec-expectations-2,
ruby-rspec-mocks, ruby-rspec-mocks-2, ruby-rspec-support, ruby-sequel,
ruby-simplecov-json-formatter, ruby-simplecov, ruby-simplecov-html,
ruby-sorcerer, ruby-unindent): Moved from (gnu packages ruby).
 (ruby-asciidoctor/minimal): New variable, to allow more minimal
 import of only (gnu packages ruby-check) in a lot of modules.
 (ruby-rubocop/minimal): New variable to build cucumber with a lot
 less dependencies.
 (cucumber-ruby-core)[native-inputs]: Replace ruby-rubocop by
 ruby-rubocop/minimal. Remove ruby-coveralls.

* gnu/packages/ruby-xyz.scm: Move all other packages from
(gnu packages ruby).

* gnu/packages/admin.scm
* gnu/packages/bioinformatics.scm
* gnu/packages/databases.scm
* gnu/packages/emacs-xyz.scm
* gnu/packages/gnome-xyz.scm
* gnu/packages/gnome.scm
* gnu/packages/groff.scm
* gnu/packages/kde-systemtools.scm
* gnu/packages/libffi.scm
* gnu/packages/mail.scm
* gnu/packages/maths.scm
* gnu/packages/mpd.scm
* gnu/packages/ntp.scm
* gnu/packages/package-management.scm
* gnu/packages/plotutils.scm
* gnu/packages/protobuf.scm
* gnu/packages/rails.scm
* gnu/packages/ruby-check.scm
* gnu/packages/ruby-xyz.scm
* gnu/packages/ruby.scm
* gnu/packages/shellutils.scm
* gnu/packages/statistics.scm
* gnu/packages/tex.scm
* gnu/packages/virtualization.scm:
    Adapt module imports accordingly.

* gnu/packages/backup.scm (btrbk):
* gnu/packages/ccache.scm (ccache):
* gnu/packages/cluster.scm (drbd-utils):
* gnu/packages/compton.scm (picom):
* gnu/packages/cryptsetup.scm (cryptsetup):
* gnu/packages/engineering.scm (kicad-doc):
* gnu/packages/games.scm (warzone2100):
* gnu/packages/irc.scm (open-adventure):
* gnu/packages/ntp.scm (weechat):
* gnu/packages/password-utils.scm (keepassxc):
* gnu/packages/radio.scm (wsjtx, jtdx):
* gnu/packages/syndication.scm (newsboat):
* gnu/packages/task-management.scm (timewarrior):
* gnu/packages/version-control.scm (git-lfs):
    [native-inputs]: Replace ruby-asciidoctor by
    ruby-asciidoctor/minimal. Adapt module imports accordingly.

* gnu/packages/text-editors.scm: Remove (gnu packages ruby) import.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-06-20 20:40:02 +02:00
Ashish SHUKLA
78170b5fae
gnu: fastfetch: Update to 2.46.0.
* gnu/packages/admin.scm (fastfetch): Update to 2.46.0.

Change-Id: I01ae1343927860ac02d2bb26d5826efc53d8d1a2
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-06-20 14:39:39 +01:00
Sharlatan Hellseher
0764e60602
gnu: thefuck: Improve package
* gnu/packages/admin.scm (thefuck): Use G-expressions, simplify.
[build-system]: Use pyproject.
[inputs]: Add python-colorama, python-decorator, python-psutil, and python-pyte.
[propagated-inputs]: Remove python-colorama, python-decorator, python-psutil,
python-pyte, and python-six.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I02fe8b7fe12f16bfea89f2935f4f4f71dbd70bfc
2025-06-18 23:22:56 +01:00
Sharlatan Hellseher
f0c09f8739
gnu: s-tui: Use pyproject-build-system.
* gnu/packages/admin.scm (s-tui): [build-system]: Use pyproject.
[native-inputs]: Add python-pytest.

Change-Id: I34902fa7f0f9982d6e55750b6f16a00c1f25690f
2025-06-18 23:22:40 +01:00
Sharlatan Hellseher
5380f8bfb9
gnu: sedsed: Improve package.
* gnu/packages/admin.scm (sedsed): Apply G-expressions, fix indentation.
[build-system]: Use pyproject.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I32f04b7634719363b255cc84012da524ac87e03d
2025-06-18 23:22:40 +01:00
Sharlatan Hellseher
56e2d7b239
gnu: px: Improve package.
* gnu/packages/admin.scm (px): Simplify and fix indentation.
[source] <url>: Fix lint warning "permanent redirect from
https://github.com/walles/px.git to https://github.com/walles/px".
[build-system]: Use pyproject.
[arguments] <phases>: Remove 'prepare-check use <test-flags> instead.
[native-inputs]: Remove python-pytest-runner.
[home-page]: Move above synopsis.
[synopsis]: Fix lint warning.
[description]: Start from a new line.

Change-Id: I0aab393f6dbad151eb10bd2549e246ae0e0ae522
2025-06-18 23:22:40 +01:00
Sharlatan Hellseher
f8592210f0
gnu: jtbl: Update to 1.6.0.
* gnu/packages/admin.scm (jtbl): Update to 1.6.0.
[build-system]: Use pyproject.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.

Change-Id: Iad5523af349299f5a19b77a5b173c05cc5639883
2025-06-18 23:22:39 +01:00
Sharlatan Hellseher
62a465c28d
gnu: hyfetch: Update to 1.99.0.
* gnu/packages/admin.scm (hyfetch): Update to 1.99.0.
[build-system]: Use pypproject.
[arguments] <tests?>: Run tests.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.

Change-Id: I524d067ca93a996d3b61ff24725b2b63ede71d97
2025-06-18 23:22:39 +01:00
Sharlatan Hellseher
18db6b3099
gnu: dool: Use pyproject-build-system.
* gnu/packages/admin.scm (dool): [buld-system]: Use
pyproject-build-system.

Change-Id: I2e3fdc7bdbab3c7b3c1eea178594a933b16b9166
2025-06-18 23:22:39 +01:00
Artyom V. Poptsov
5c0922357f
gnu: nmap: Update to 7.97.
* gnu/packages/admin.scm (nmap): Update to 7.97.

Change-Id: I810965953beb1c9b9eea67999b12d35f0c5abf6c
2025-06-15 22:10:26 +03:00
Artyom V. Poptsov
20fcdcafe0
gnu: nmrpflash: Update to 0.9.25.
* gnu/packages/admin.scm (nmrpflash): Update to 0.9.25.

Change-Id: I9eb42fb5228e16b708a7528b48b71f9640ac315f
2025-06-15 22:10:26 +03:00
Artyom V. Poptsov
8f39a0a7a9
gnu: px: Update to 3.6.12.
* gnu/packages/admin.scm (px): Update to 3.6.12.

Change-Id: I36798757c4c432f567a9c35b7e28eff8c32ffe48
2025-06-15 22:10:25 +03:00
Artyom V. Poptsov
c3bb472e21
gnu: wakelan: Move the package definition down.
* gnu/packages/admin.scm (wakelan): Move the package definition down to
improve the alphabetical sorting of the packages in the module.

Change-Id: I8022abd00e2d721ac2f7bddc5c7c017ce4eed419
2025-06-11 21:02:38 +03:00
Artyom V. Poptsov
7334aa05c9
gnu: wakelan: Modernize the package.
* gnu/packages/admin.scm (wakelan): Modernize the package.

Change-Id: I3e568808e76f6b0e31a2f85b3bb1ad9cc1a2cabc
2025-06-11 21:00:05 +03:00
Artyom V. Poptsov
199fd26ab2
gnu: udpcast: Update to 20250223.
* gnu/packages/admin.scm (udpcast): Update to 20250223.

Change-Id: Ifc578b839724d1b00ee52e04003aa7c870bb6ab0
2025-06-08 10:28:54 +03:00
Artyom V. Poptsov
733d95df01
gnu: mingetty: Use GEXPs.
* gnu/packages/admin.scm (mingetty): Use GEXPs.

Change-Id: I01950a5b220c74438d5c2b4a98d1265b7c02bb05
2025-06-08 10:28:54 +03:00
Artyom V. Poptsov
b1cda73419
gnu: ttyload: Use GEXPs.
* gnu/packages/admin.scm (ttyload): Use GEXPs.

Change-Id: I3d59ccbfd30e852726e1a66bf6c08a8f208d6d74
2025-06-08 10:28:54 +03:00
Artyom V. Poptsov
0aa419f9ac
gnu: fastfetch: Update to 2.45.0.
* gnu/packages/admin.scm (fastfetch): Update to 2.45.0.

Change-Id: I1a0e64078172e6c9c5fff2dffee9c29aa5af5445
2025-06-07 02:38:19 +03:00
Artyom V. Poptsov
3d70c680b6
gnu: s-tui: Update to 1.2.0.
* gnu/packages/admin.scm (s-tui): Update to 1.2.0.
[source]: Use git-fetch.
[inputs]: Remove python-psutil and python-urwid; add python-psutil-7 and
python-urwid-3.
[native-inputs]: Add python-setuptools, and python-wheel.

Change-Id: Ic4c760510145d5c5110c11626d1ea88e8b2bd0f4
2025-06-05 22:35:51 +03:00
Artyom V. Poptsov
43bd2ad45e
gnu: px: Update to 3.6.10.
* gnu/packages/admin.scm (px): Update to 3.6.10.

Change-Id: I6c0ee8ad9c21eba6bf68e3b5adb05c5b6d3d5526
2025-06-05 22:16:04 +03:00
Artyom V. Poptsov
5a8b0663a7
gnu: btop: Fix building on "riscv64-linux-gnu".
* gnu/packages/admin.scm (btop): Fix building on "riscv64-linux-gnu".
[arguments]<#:make-flags>: Properly set "CC" and "CXX" to the target compiler.

Change-Id: Ic56d372f83e7ed3fa1843d3ab53303f9b3762616
2025-06-04 22:00:07 +03:00
Ashish SHUKLA
a4c8353663
gnu: sshguard: Fix sshguard.
Patch sshguard to accept configuration file from an environment variable.

* gnu/packages/admin.scm (sshguard)[arguments]: Add phases.

Change-Id: Ifd1cee18787b2623e5c32801e20e5837ce94c88c
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-06-02 11:20:23 +02:00
Ashish SHUKLA
24b10dab81
gnu: dhcpcd: Update to 10.2.3.
* gnu/packages/admin.scm (dhcpcd): Update to 10.2.3.

Change-Id: I4ad238458371810c7eecc34e822e6281999ae8bb
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-06-02 11:20:22 +02:00
Artyom V. Poptsov
b750d54703
gnu: rdfind: Update to 1.7.0.
* gnu/packages/admin.scm (rdfind): Update to 1.7.0.
[arguments]<#:phases>: Patch some additional tests to set
the proper "/bin/sh" intrepeter.  Don't call "which",
use "search-input-file" instead.

Change-Id: Ia0acddcf19938b0805029ee71af183a6de38111e
2025-05-29 23:18:24 +03:00
Ludovic Courtès
91c26959dc
gnu: shepherd: Update to 1.0.5.
* gnu/packages/admin.scm (shepherd-1.0): Update to 1.0.5.

Change-Id: I8be91b6ae6292bfb0242fc1bd3f70801d27a10ca
2025-05-24 12:49:01 +02:00
Dariqq
de247e4057
gnu: Add shepherd-for-home.
* gnu/packages/admin.scm (shepherd-for-home): New variable.

Change-Id: If66c7e7b688de239ca862326b51592b43ba22c25
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Modified-by: Ludovic Courtès <ludo@gnu.org>
2025-05-14 18:11:07 +02:00
Sergey Trofimov
cab5684915
gnu: quazip: Switch to Qt6.
* gnu/packages/compression.scm (quazip): Link with qt6.
(quazip-5): Inherit from quazip.
[name]: Set to quazip-qt5.
(quazip-0): Inherit from quazip-5.
* gnu/packages/admin.scm (corectrl)
* gnu/packages/engineering.scm (librepcb)
* gnu/packages/geo.scm (qmapshack)
* gnu/packages/hardware.scm (ckb-next)
* gnu/packages/ocr.scm (gimagereader)
[inputs]: Rename quazip to quazip-5.

Change-Id: I2632560a6795d0825b1b552d79682ed78571cb56
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-05-12 23:01:16 +02:00
Artyom V. Poptsov
804a3ce5f5
gnu: thermald: Update to 2.5.9.
* gnu/packages/admin.scm (thermald): Update to 2.5.9.
[arguments]: Use GEXPs.

Change-Id: Ib7f2ad40a71b2351c586c07a879a3ceb6727f547
2025-05-11 10:24:22 +03:00
Artyom V. Poptsov
a3727e4198
gnu: jc: Update to 1.25.5.
* gnu/packages/admin.scm (jc): Update to 1.25.5.

Change-Id: I111b3c34bc3e3cb6cf7a4ba27aa88eceb994d750
2025-05-11 09:56:34 +03:00
Artyom V. Poptsov
7710c153e7
gnu: btop: Update to 1.4.3.
* gnu/packages/admin.scm (btop): Update to 1.4.3.

Change-Id: I07d3cfa7ca64badaa0167ff888fe34cc1ebaa9fb
2025-05-11 09:55:08 +03:00
Artyom V. Poptsov
2d2a921e99
gnu: nmap: Update to 7.96.
* gnu/packages/admin.scm (nmap): Update to 7.96.
[inputs]: Remove lua, pcre, and python-2; add lua-5.4, pcre2, perl, and
python-wrapper.
[native-inputs]: Add python-pypa-build, python-setuptools, and python-wheel.
[arguments]: Use GEXPs.  Remove "patch-Makefile" phase.  Add
"patch-Makefile.in" phase.  Update "install" phase.

Change-Id: I31da6982da6ced4489e6f330d5e7eeabe1e648cc
2025-05-10 23:26:13 +03:00
Nicolas Graves
f8bd2dbbd5
gnu: fail2ban: Improve snippet.
* gnu/packages/admin.scm (fail2ban)
  [source]<modules>: Remove (srfi srfi-26).
  <snippet>: Use gexp. Move substitute* patches...
  [arguments]<phases>: ...to phases 'patch-setup.py and 'disable-some-tests.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-05-06 12:22:35 +02:00
Nicolas Graves
bbae08827f
gnu: fail2ban: Improve style.
* gnu/packages/admin.scm (fail2ban):
  [arguments]<phases>: Rewrite phases 'set-action-dependencies and
  copy-man-pages for readability.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-05-06 12:22:35 +02:00
Nicolas Graves
30f240b034
gnu: fail2ban: Improve style.
* gnu/packages/admin.scm (fail2ban): Use gexps and run guix style.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-05-06 12:22:35 +02:00
Nicolas Graves
6567fd4072
gnu: fail2ban: Update to 1.1.0.
* gnu/packages/patches/fail2ban-0.11.2_CVE-2021-32749.patch,
  gnu/packages/fail2ban-0.11.2_fix-setuptools-drop-2to3.patch,
  gnu/packages/patches/fail2ban-0.11.2_fix-test-suite.patch,
  gnu/packages/patches/fail2ban-python310-server-action.patch,
  gnu/packages/fail2ban-python310-server-actions.patch: Delete patches.

* gnu/local.mk: Deregister patches.

* gnu/packages/admin.scm (fail2ban): Update to 1.1.0.
  [source]<snippet>: Use (srfi srfi-26) for readability.
  <patches>: Deregister patches.
  [build-system]: Switch to pyproject-build-system.
  [arguments]<phases>: Remove phase 'invoke-2to3.  Add phase
  'avoid-external-binary-in-/bin to avoid creating a symlink to
  python-wrapper binary during installation (current 'install phase
  breaks otherwise).  Run phases 'fix-default-config and
  'set-action-dependencies before 'build phase (needed for pyproject).
  [native-inputs]: Add python-setuptools, python-wheel.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-05-06 12:22:35 +02:00
Nicolas Graves
43a5197c6c
gnu: fail2ban: Move setup and test patches to phases.
* gnu/packages/admin.scm (fail2ban)
  [source]<snippet>: Move setup and test substitutions...
  [arguments]<phases>: ...to phases 'patch-setup.py and
  'disable-some-tests.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-05-06 12:22:35 +02:00
Nicolas Graves
f744f060dd
gnu: fail2ban: Move file deletion to source snippet.
* gnu/packages/admin.scm (fail2ban)
  [arguments]<phases>: Move multiple file deletion from here...
  [source]<snippet>: ...to here.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-05-06 12:22:34 +02:00