Commit graph

145649 commits

Author SHA1 Message Date
Janneke Nieuwenhuizen
fbf815dc84
gnu: perl: Support [cross-]build with gcc-14 and the 64bit Hurd.
* gnu/packages/cross-base.scm (perl)[native-inputs]: Update perl-cross to 1.6.

Change-Id: I4a77f51a6757ad4aed9bcca8f9bbbf2cbd162e15
2024-12-03 08:33:13 +01:00
Janneke Nieuwenhuizen
962c8191d9
gnu: libffi: Fix [cross-]build with gcc-14.
* gnu/packages/libffi.scm (libffi)[arguments]: When building for the 64bit
Hurd, or cross-building, add "CFLAGS" to #:configure-flags to disable breaking
warning.

Change-Id: I05bf3f460f3e292626de1894b7a3cf381cb07702
2024-12-03 08:33:13 +01:00
Janneke Nieuwenhuizen
b727c38e43
gnu: flex: Fix [cross-]build with gcc-14.
* gnu/packages/flex.scm (flex): When building for the 64bit Hurd, or
cross-compiling, add "-Wno-int-conversion "-Wno-implicit-function-declaration"
to #:configure-flags.

Change-Id: Ia0503e3f5c7aa5354a949b69035a1be6f93ec85f
2024-12-03 08:33:13 +01:00
Janneke Nieuwenhuizen
ed1ef9bbb2
gnu: git-minimal: Support [cross-]build with gcc-14 and the 64bit Hurd.
* gnu/packages/version-control.scm (git-minimal)[arguments]: When building for
the 64bit Hurd, or cross-compiling, use "-Wno-implicit-function-declaration"
in #:make-flags.  Use target-hurd? instead of comparing with "i586-pc-gnu" in
"use-host-uname_S" phase.

Change-Id: Ib9836be8a1e389a82c8a89adf22aaeac0d85bd14
2024-12-03 08:33:13 +01:00
Janneke Nieuwenhuizen
a56e8f0a87
gnu: bash: Avoid hang when cross-built for the Hurd.
For example, without this patch bash hangs while configuring diffutils.
Reproducer:

cat >x.awk <<EOF
x... repeat 16384 (the actual pipe size) times
EOF

* gnu/packages/bash.scm (bash): When cross-building for the Hurd, add new
"create-pipesize.h" stage.

Change-Id: I02c1dcf2d63849626ba3448cd52766db822dc77c
2024-12-03 08:33:13 +01:00
Janneke Nieuwenhuizen
a9005279d0
gnu: glibc/hurd: Add patches for the 64bit Hurd.
These patches fix:

  * Statically linked tar to hang/segfault upon issuing the "--mtime=@1"
  warning; this is also applicable for the 32bit Hurd using glibc-2.39!

See <https://lists.gnu.org/archive/html/bug-hurd/2024-11/msg00115.html>.

  * Shell replacement problems for the 64bit Hurd.

See <https://lists.debian.org/debian-hurd/2024/07/msg00063.html>.

  * Findutil's gnulib-tests/test-sigaction failure.

* gnu/packages/patches/glibc-hurd-pthread_setcancelstate.patch,
gnu/packages/patches/glibc-hurd64-fault.patch,
gnu/packages/patches/glibc-hurd64-intr-msg-clobber.patch,
gnu/packages/patches/glibc-hurd64-sgms-context.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register them.
* gnu/packages/base.scm (glibc/hurd): Use them.

Change-Id: I9ee65983876cd22ad1dc01aabb41a34074631599
2024-12-03 08:33:13 +01:00
Janneke Nieuwenhuizen
cb765c4218
gnu: libstdc++: Support the 64bit Hurd.
* gnu/packages/gcc.scm (make-libstdc++)[arguments]: When building for the
64bit Hurd, add stage patch-hurd64.

Change-Id: I795a591ef8282ee5b760fec43bd4ad849007f602
2024-12-03 08:33:12 +01:00
Janneke Nieuwenhuizen
5f0a02a190
gnu: libxcrypt: Support the 64bit Hurd.
* gnu/packages/patches/libxcrypt-hurd64.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/crypto.scm (libxcrypt)[arguments]: When building for the 64bit
Hurd, use it in new phase `apply-hurd64-patch'.

Change-Id: I795a591ef8282ee5b760fec43bd4ad849007f602
2024-12-03 08:33:12 +01:00
Janneke Nieuwenhuizen
d53f374a8a
gnu: patch: Fix build for the 64bit Hurd.
* gnu/packages/base.scm (patch)[arguments]: When building for the 64bit Hurd,
set #:configure-flags.

Change-Id: I795a591ef8282ee5b760fec43bd4ad849007f602
2024-12-03 08:33:12 +01:00
Janneke Nieuwenhuizen
6fa9d0b177
gnu: grep: Fix build for the 64bit Hurd.
* gnu/packages/base.scm (grep)[arguments]: When building for the 64bit Hurd,
add patch-sigsegv.h stage.

Change-Id: I795a591ef8282ee5b760fec43bd4ad849007f602
2024-12-03 08:33:12 +01:00
Janneke Nieuwenhuizen
43ba6d2a0d
gnu: elfutils: Fix build for 64bit Hurd.
* gnu/packages/elf.scm (elfutils)[arguments]: When building for a 64bit Hurd,
set #:make-flags.

Change-Id: I00abf360a7de5b1f78c1e912f0dcf27c62c1af68
2024-12-03 08:33:12 +01:00
Janneke Nieuwenhuizen
59289e1cdd
gnu: bash-minimal: Support [cross-]build with gcc-14.
* gnu/packages/bash-minimal.scm (bash)[arguments]: When building for the 64bit
hurd, or cross-building, use "CFLAGS=-g -O2 -Wno-implicit-function-declaration".

Change-Id: I1356c0aeac303bdf0254c28815716c83884008a0
2024-12-03 08:33:12 +01:00
Janneke Nieuwenhuizen
b8c5057e50
gnu: cross-libc: Support cross-building for the 64bit Hurd.
* gnu/packages/base.scm (glibc)[arguments]: When building for the Hurd, in
phase "create-machine-symlink", do not assume CPU is i386, also cater for
x86_64.
* gnu/packages/cross-base.scm (cross-libc*)[arguments]: Likewise.

Change-Id: Ib009b7bd301b543b8629382330cca9d963b7a812
2024-12-03 08:33:12 +01:00
Janneke Nieuwenhuizen
94dfb68d43
gnu: Add basic support for x86_64-pc-gnu target, aka 64bit Hurd.
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Update comment on where
to find shared linker name.
(make-raw-bag): Also use raw-build-guile3 when building for the 64bit Hurd.
* gnu/packages/cross-base.scm (cross-kernel-headers*): Use target-hurd?
instead of custom "i586..."  matching to also use xhurd-core-headers for
target-hurd64.
* gnu/packages/make-bootstrap.scm (package-with-relocatable-glibc)
[native-inputs]: Move final-inputs before cross-packages.
(%binutils-static)[arguments]: When building for the 64bit Hurd, add
"lt_cv_prog_compiler_static_works=yes", "lt_cv_prog_compiler_static_works_CXX=yes"
to #:make-flags to convince to actually link the binaries statically.
(make-guile-static)[arguments]: When building for the 64bit Hurd, add
"lt_cv_prog_compiler_static_works=yes" to #:configure-flags to convince
libtool to actually link guile statically.
* guix/platforms/x86.scm (x86_64-gnu): New exported variable.
* guix/utils.scm (target-hurd64? system-hurd64?): New procedures.
2024-12-03 08:33:12 +01:00
Janneke Nieuwenhuizen
ae2213ed98
gnu: hurd: Update to 0.9.git20240714.
* gnu/packages/hurd.scm (hurd-headers): Update to 0.9.git20240714.
(hurd)[arguments]: Remove rumpdisk build hack from "prepare-addons" stage.
Instead, when cross-compiling, add stage "fixup-cross-configure" to enable
rumpdisk.
* gnu/system.scm (hurd-multiboot-modules): Remove
"--x-xattr-translator-records" option that has been removed and is now the
default.

Change-Id: I4609b5a959c1ece98e2fe1aedbb1d31d6edadcca
2024-12-03 08:33:12 +01:00
Janneke Nieuwenhuizen
a3cce93271
gnu: mig: Update to 1.8+git20231217.
* gnu/packages/hurd.scm (mig): Update to 1.8+git20231217.

Change-Id: I0e531ecc7fdcfbefe2e0e24d7b2fb5e0fe8a3ae2
2024-12-03 08:33:12 +01:00
Janneke Nieuwenhuizen
d3eb509abe
gnu: gnumach: Update to v1.8+git20240714.
* gnu/packages/patches/gnumach-version.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/hurd.scm (gnumach-headers): Update to v1.8+git20240714 and use
it.
* gnu/packages/commencement.scm (gnumach-headers-boot0)[origin]: Reset
patches.

Change-Id: I147c64021c2ee79dfc4cd4fd9a29529eef8890c5
2024-12-03 08:33:12 +01:00
Janneke Nieuwenhuizen
5cb84f2013
system: Add "installer" sub-command.
* guix/scripts/system/installer.scm: New file.
* Makefile.am (MODULES)[ENABLE_INSTALLER]: Register it.
(MODULES_NOT_COMPILED)[!ENABLE_INSTALLER]: Likewise.
* guix/scripts/system.scm (show-help): Add help for "installer" sub-command.
(actions): Register "installer".
(guix-system): Invoke `guix-system-installer' sub-command.
* doc/guix.texi (Invoking guix system): Document it.
* gnu/installer.scm (run-installer): Remove "./pre-inst env".

Change-Id: I5a05b941c060682c17d45d871df3cf34e3f8643a
2024-12-03 08:26:03 +01:00
Ricardo Wurmus
2c700af42c
gnu: python-falcon: Fix tests.
* gnu/packages/python-web.scm (python-falcon)[native-inputs]: Add
python-orjson.
[arguments]: Do not patch test file; respect test-flags in custom 'check
phase; provide test-flags to ignore examples and benchmarks.
[build-system]: Use pyproject-build-system.

Change-Id: Ic173e2d940a2bb9c7f81ea3e70475f8bfff36dfb
Signed-off-by: Hilton Chain <hako@ultrarare.space>
2024-12-03 08:24:56 +08:00
Ricardo Wurmus
dbe1c21122
gnu: python-fakeredis: Update to 2.26.1.
* gnu/packages/databases.scm (python-fakeredis): Update to 2.26.1.
[arguments]: Do not run slow tests; add phases 'poetry-compatibility and
'start-redis.
[propagated-inputs]: Add python-typing-extensions.
[native-inputs]: Add redis.

Change-Id: I18ed122d9e5307d3d723cfc9ef0d51f120b4ccb5
Signed-off-by: Hilton Chain <hako@ultrarare.space>
2024-12-03 08:24:56 +08:00
Ricardo Wurmus
01f8ad0c93
gnu: python-redis: Update to 5.2.0.
* gnu/packages/databases.scm (python-redis): Update to 5.2.0.
[arguments]: Update list of tests to skip; add phase 'relax-requirements.
[native-inputs]: Add python-numpy.

Change-Id: I789c511fb4a516e6cdad06dba695af9bb89f562d
Signed-off-by: Hilton Chain <hako@ultrarare.space>
2024-12-03 08:24:55 +08:00
Ashish SHUKLA
6d7db827d1
gnu: libgit2: Update to 1.8.3.
* gnu/packages/version-control.scm (libgit2-1.8): Update to 1.8.3.

Change-Id: Iff5b1f341a480d06e1f618bc306f0ff0c3a62713
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-02 23:18:53 +01:00
Nicolas Graves
5914d906ba
gnu: libreoffice: Update to 24.8.3.2.
* gnu/packages/libreoffice.scm (libreoffice): Update to 24.8.3.2.
[source]<uri>: Add secondary uri.
[arguments]<#:phases>: Fix build issue related to issue 43579 in phase
'prepare-src.
[configure-flags]: Add optimising flags --disable-cve-tests,
--enable-readonly-installset, --disable-dependency-tracking.
[native-inputs]: Add gcc-toolchain-12.
[inputs]: Add argon2, zxcvbn-c.

Change-Id: I72e0ebb4d075c47ea168b181f969a97f9249150a
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-02 23:18:53 +01:00
Ivan Vilata i Balaguer
a857a58d65
gnu: povray: Fix test run requiring interaction.
[[PGP Signed Part:No public key for 3DECC105F5DD2382 created at 2024-10-23T14:00:24+0200 using RSA]]
The test render required pressing a key after it was done, which caused the
package build to get stuck.  Also disable the render display window, which
did not cause issues but was pointless.

* gnu/packages/graphics.scm (povray)[args]: Patch test render not to pause nor
display a window.

Change-Id: Ia9527b3a67896972b399464b97dda464365d41ea
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-02 23:18:53 +01:00
Runciter
abda22ecb1
gnu: freedict-tools: Fix non-determinism of dictzip compressed file headers.
Reset .dict file mtime to start of the epoch before compressing with dictzip.

* gnu/packages/patches/freedict-tools-fix-determinism.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/dictionaries.scm (freedict-tools): Use it.

Signed-off-by: Runciter <runciter@whispers-vpn.org>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-02 23:18:53 +01:00
Runciter
bed1371a9a
gnu: Add freedict-dictionaries.
* gnu/packages/dictionaries (freedict-dictionaries): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2024-12-02 23:18:53 +01:00
Runciter
93833624fb
gnu: Add freedict-tools.
* gnu/packages/dictionaries.scm (freedict-tools): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I141d30aea0e2c492b272be2ab9359e6b7569f932
2024-12-02 23:18:53 +01:00
Runciter
68c502d942
gnu: Add dictd.
* gnu/packages/dictd.scm (dictd): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: Id1dbe8c77186574e7ad98ce3f7c8fa14b99b4db4
2024-12-02 23:18:52 +01:00
Runciter
0a5e626f10
gnu: Add (gnu packages dictd).
* gnu/packages/dictd.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I3b68fbbed0a7a44287a6eda6c1e66e068fa17b8f
2024-12-02 23:18:52 +01:00
Ludovic Courtès
58a8d3b180
tests: Adjust ‘guix build -P1’ test to new packages.
Fixes a bug introduced in 794e079437
whereby the grep patterns used in this test would also match
/gnu/store/…-rust-libgit2-sys-0.17.0+1.8.1.drv, thus getting 5 matches
instead of 4.

* tests/guix-build.sh: Refine grep patterns for ‘guix build -P1’ test.

Reported-by: Janneke Nieuwenhuizen <janneke@gnu.org>
Change-Id: Iae35e6ee44b8eca0ef66c1d8ab7f9ff65a59d8d0
2024-12-02 23:18:52 +01:00
Ricardo Wurmus
d97a67d41d
gnu: homer: Install config.txt.
* gnu/packages/bioinformatics.scm (homer)[native-inputs]: Add config.txt.
[arguments]: Update 'configure phase to place config.txt in expected location;
patch configuration code to optionally load a user's configuration file.

Change-Id: Ib05c828e751c6568524bbef45997a42fade4545a
2024-12-02 13:41:08 +01:00
Ricardo Wurmus
af774e2780
gnu: homer: Install homer executable.
* gnu/packages/bioinformatics.scm (homer)[arguments]: Update 'install phase to
also install "homer" to the bin directory.

Change-Id: Ia2d23fce493f9c10cc43ac126cd83956b4b9bb05
2024-12-02 13:41:08 +01:00
Efraim Flashner
541abedc0a
Merge remote-tracking branch 'origin/rust-team'
Change-Id: I6d5c28252f060eeb69eb02fd281e7268bb885b29
2024-12-02 14:13:39 +02:00
Efraim Flashner
b764dbc319
gnu: zstd: Fix cross-building to mingw32.
* gnu/packages/compression.scm (zstd)[arguments]: Adjust the custom
'adjust-library-locations phase to have separate logic for targeting
mingw32.  Adjust the make-flags to add some extra flags when targeting
mingw32.

Change-Id: Ifd32a6bd9157af93c7338dacc96467e2756b9314
2024-12-02 13:54:08 +02:00
Efraim Flashner
767bfcb45c
gnu: redis: Add comment about upcoming license change.
* gnu/packages/databases.scm (redis): Add a note with the package to be
aware of the upcoming non-free license change.

Change-Id: I60ef9bce81b6650d88f567e98c5bcf543a13082e
2024-12-02 13:54:04 +02:00
Greg Hogan
522732d5c1
packages: 'package-input-rewriting/spec' optionally replace hidden.
Commit eee95b5a87 changed package
rewriting to ignore hidden packages. This patch permits the previous use
by adding an option to rewrite hidden packages.

* guix/packages.scm (package-input-rewriting/spec)[rewrite]: When P is
hidden, return it as-is unless #:replace-hidden? has been enabled.
* tests/packages.scm ("package-input-rewriting/spec, replace hidden
package"): New test.
* doc/guix.texi (Defining Package Variants): Update.

Change-Id: I0a7988cac70e0c6b88b0fe6e27c1036fa723e030
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-02 12:00:52 +01:00
Arne Babenhauserheide
62f8399e6a
pack: Add ‘--file=FILE’ with the same meaning as for ‘guix build’.
* guix/scripts/pack.scm (%options): add --file=FILE, but no
  shorthand (that’s already taken for format).
* doc/guix.texi (Invoking guix pack): Document it.

Change-Id: I87797fccdf218ead3b7f471a84034e8a8d566245
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-02 11:57:13 +01:00
Ludovic Courtès
fb41002935
maint: Run ‘etc/upgrade-manifest.scm’ in a UTF-8 locale.
* etc/upgrade-manifest.scm: Add calls to ‘setlocale’ to force a UTF-8
locale.

Change-Id: Ia567a1e08124d9eab7fb32f3363681a8f37431b1
2024-12-02 11:55:09 +01:00
Ricardo Wurmus
2756c660fb
gnu: python-pairtools: Update to 1.1.0-fix.
* gnu/packages/bioinformatics.scm (python-pairtools): Update to 1.1.0-fix.
[build-system]: Use pyproject-build-system.
[arguments]: Add phase 'patch-setup.py.
[native-inputs]: Add python-pytest-cov, python-setuptools, and python-wheel.

Change-Id: Ifa3c12de228420d8fdd7b0053bb9da80b9b3efe4
2024-12-02 10:49:06 +01:00
Ricardo Wurmus
207c69e40d
gnu: Add macs-3.
* gnu/packages/bioinformatics.scm (macs-3): New variable.

Change-Id: I4bc417e90a1e9d6d28226ea4f66ddc035826c2c4
2024-12-02 10:28:59 +01:00
Ricardo Wurmus
1f047996b8
gnu: python-hmmlearn: Update to 0.3.3.
* gnu/packages/machine-learning.scm (python-hmmlearn): Update to 0.3.3.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase; add phases 'set-core-count and
'build-extensions.
[propagated-inputs]: Remove pybind11 and python-setuptools-scm.
[native-inputs]: Add pybind11, python-setuptools-scm, and util-linux.
[properties]: Add hints for the updater.

Change-Id: I1acb69c74ae9c4a508fe28cdaf834d258e7778ff
2024-12-02 10:28:59 +01:00
Ricardo Wurmus
ed1266ea8c
import/crate: Fix typo.
guix/import/crate.scm (lookup-crate): Fix typo in docstring.

Change-Id: I5492387b93b27ab42999d5984fa7f02e8bee11e2
2024-12-02 10:28:59 +01:00
Ricardo Wurmus
30c2403a85
gnu: Add python-cykhash.
* gnu/packages/python-xyz.scm (python-cykhash): New variable.

Change-Id: I7f46da1f53b10957c102ca21e74f144955676730
2024-12-02 10:28:59 +01:00
Thanos Apollo
ca3a79ccee
gnu: emacs-gnosis: Update to 0.4.8.
* gnu/packages/emacs-xyz.scm (emacs-gnosis): Update to 0.4.8.
[home-page]: Add ending slash.
[synopsis]: Remove ending period.
[description]: Use two spaces after sentence.

Change-Id: Ie80016fc190e66695b7a8ea8e3fded7854ebc872
Signed-off-by: Hilton Chain <hako@ultrarare.space>
2024-12-02 07:49:50 +08:00
Ian Eure
41fd9cfc65
gnu: librewolf: Update to 133.0-1 [security fixes].
New upstream version.  Fixes CVEs:

CVE-2024-11691: Out-of-bounds write in Apple GPU drivers via WebGL
CVE-2024-11700: Potential Tapjacking Exploit for Intent Confirmation
                on Android
CVE-2024-11692: Select list elements could be shown over another site
CVE-2024-11701: Misleading Address Bar State During Navigation
                Interruption
CVE-2024-11702: Inadequate Clipboard Protection in Private Browsing
                Mode on Android
CVE-2024-11693: Download Protections were bypassed by .library-ms
                files on Windows
CVE-2024-11694: CSP Bypass and XSS Exposure via Web Compatibility
                Shims
CVE-2024-11695: URL Bar Spoofing via Manipulated Punycode and
                Whitespace Characters
CVE-2024-11703: Password access without authentication via PIN bypass
                on Android
CVE-2024-11696: Unhandled Exception in Add-on Signature Verification
CVE-2024-11697: Improper Keypress Handling in Executable File
                Confirmation Dialog
CVE-2024-11704: Potential Double-Free Vulnerability in PKCS#7
                Decryption Handling
CVE-2024-11698: Fullscreen Lock-Up When Modal Dialog Interrupts
                Transition on macOS
CVE-2024-11705: Null Pointer Dereference in NSC_DeriveKey
CVE-2024-11706: Null Pointer Dereference in PKCS#12 Utility
CVE-2024-11708: Data race with PlaybackParams
CVE-2024-11699: Memory safety bugs fixed in Firefox 133, Firefox ESR
                128.5, and Thunderbird 128.5

* gnu/packages/librewolf.scm (librewolf): Update to 133.0-1.

Change-Id: I611505daf4d4f0940405190471f443d99102c2b9
Signed-off-by: Hilton Chain <hako@ultrarare.space>
2024-12-02 07:42:22 +08:00
Ian Eure
395abb86a6
gnu: nss-rapid: Update to 3.107.
* gnu/packages/nss.scm (nss-rapid): Update to 3.107.

Change-Id: I05c6e9c6633ed222d26b76ae5def35179f31f317
Signed-off-by: Hilton Chain <hako@ultrarare.space>
2024-12-02 07:42:22 +08:00
Hilton Chain
b91b992ed0
gnu: redis: Update to 7.2.6.
* gnu/packages/databases.scm (redis): Update to 7.2.6.
[arguments]<#:phases>: Update failing tests.

Change-Id: Ife107541697fda4f0928497560871f8ffb07d445
2024-12-02 07:42:20 +08:00
Ludovic Courtès
858dd7e721
etc: Add upgrade manifest.
* guix/scripts/build.scm (dependents): Export.
* etc/upgrade-manifest.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.

Change-Id: I1b2a2ebd09e559c68da9f25772bf33caacb4c031
2024-12-01 20:14:16 +01:00
Ludovic Courtès
3dfb757a45
transformations: Add #:authenticate? to ‘package-with-upstream-version’.
* guix/transformations.scm (upstream-source-without-signatures): New
procedures.
(package-with-upstream-version): Add #:authenticate? and honor it.

Change-Id: Ib86feb765f57bc1b129e813780abc605c43ed97b
2024-12-01 20:14:16 +01:00
Ludovic Courtès
dbce5c2d47
transformations: ‘package-with-upstream-version’ can preserve patches.
* guix/transformations.scm (upstream-fetch): New procedure.
(package-with-upstream-version): Add #:preserve-patches? and honor it.

Change-Id: Ib56b84957d8bdad2eebe2551e2a6e477506fc55e
2024-12-01 20:14:16 +01:00