summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/audio.scm4
-rw-r--r--gnu/packages/bioinformatics.scm135
-rw-r--r--gnu/packages/cpp.scm23
-rw-r--r--gnu/packages/cran.scm4
-rw-r--r--gnu/packages/databases.scm9
-rw-r--r--gnu/packages/dns.scm8
-rw-r--r--gnu/packages/elixir.scm21
-rw-r--r--gnu/packages/finance.scm117
-rw-r--r--gnu/packages/gcc.scm39
-rw-r--r--gnu/packages/geo.scm2
-rw-r--r--gnu/packages/gnome.scm79
-rw-r--r--gnu/packages/gnupg.scm14
-rw-r--r--gnu/packages/gnuzilla.scm6
-rw-r--r--gnu/packages/golang.scm21
-rw-r--r--gnu/packages/guile-xyz.scm85
-rw-r--r--gnu/packages/haskell-apps.scm24
-rw-r--r--gnu/packages/haskell-xyz.scm6
-rw-r--r--gnu/packages/icu4c.scm12
-rw-r--r--gnu/packages/machine-learning.scm251
-rw-r--r--gnu/packages/patches/libgcrypt-arm32-register-pressure.patch133
-rw-r--r--gnu/packages/protobuf.scm11
-rw-r--r--gnu/packages/python-web.scm40
-rw-r--r--gnu/packages/python-xyz.scm20
-rw-r--r--gnu/packages/rpc.scm88
-rw-r--r--gnu/packages/web.scm37
-rw-r--r--gnu/packages/wm.scm37
-rw-r--r--gnu/packages/xdisorg.scm28
27 files changed, 482 insertions, 772 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 622ce50020..4027a3e1de 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -3575,14 +3575,14 @@ included are the command line utilities @code{send_osc} and @code{dump_osc}.")
(define-public python-soundfile
(package
(name "python-soundfile")
- (version "0.13.0")
+ (version "0.13.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "soundfile" version))
(sha256
(base32
- "0mc3g5l9fzj57m62zrwwz0w86cbihpna3mikgh8kpmz7ppc9jcz8"))))
+ "0nqf7z2wrb70vppjv5729565h0p3azgl6nqa10bp6a9h3smqvimj"))))
(build-system pyproject-build-system)
(arguments
(list
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index e14d74b186..8dffc86c00 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -20397,141 +20397,6 @@ includes operations like compartment, insulation or peak calling.")
the HiCExplorer and pyGenomeTracks packages.")
(license license:gpl3+)))
-(define-public python-hicexplorer
- (package
- (name "python-hicexplorer")
- (version "3.7.4")
- (source
- (origin
- ;; The latest version is not available on Pypi.
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/deeptools/HiCExplorer")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1cjr9l0vcngd0f4dmar388ri1ah1bqybnn53jc85xwh07wfacq7l"))))
- (build-system pyproject-build-system)
- (arguments
- (list
- #:test-flags
- '(list "hicexplorer/test/general/"
- "--ignore" "hicexplorer/test/general/test_hicTADClassifier.py"
- "--ignore" "hicexplorer/test/general/test_hicTrainTADClassifier.py"
- "-k"
- (string-append
- ;; Unknown chromosome: ChrX
- "not test_build_matrix_restrictionCutFile_two"
- ;; fixture 'keepSelfLigation' not found
- " and not test_build_matrix_restrictionCutFile_six"
- ;; ValueError: object dtype is not supported by sparse matrices
- " and not test_hic_transfer_obs_exp_perChromosome"
-
- ;; No KR balancing available
- " and not test_correct_matrix_KR_partial_cool"
- " and not test_correct_matrix_KR_cool"
- " and not test_correct_matrix_KR_H5"))
- #:phases
- #~(modify-phases %standard-phases
- ;; See https://github.com/deeptools/Knight-Ruiz-Matrix-balancing-algorithm/issues/23
- (add-after 'unpack 'remove-dependency-on-krbalancing
- (lambda _
- (substitute* "hicexplorer/hicCorrectMatrix.py"
- (("from krbalancing import.*") "")
- (("( *)assert\\(args.correctionMethod == 'KR'\\)" m indent)
- (string-append m "\n"
- indent "log.error('krbalancing not available')\n"
- indent "exit(1)")))
- (substitute* "setup.py"
- (("\"krbalancing >= 0.0.5\",") ""))
- (substitute* "requirements.txt"
- (("krbalancing >= 0.0.5") ""))))
- (add-after 'unpack 'fix-references
- (lambda _
- (let ((site (string-append #$output "/lib/python"
- #$(version-major+minor
- (package-version python))
- "/site-packages")))
- (substitute* "hicexplorer/lib/tadClassifier.py"
- (("model_location = site.getsitepackages\\(\\)\\[0\\]")
- (string-append "model_location = \"" site "\""))))
- (substitute* "hicexplorer/hicFindRestSite.py"
- (("subprocess.check_output\\(\\[\"cat\"")
- (string-append "subprocess.check_output([\""
- (which "cat") "\""))
- (("cmd = 'sort -k1")
- (string-append "cmd = '" (which "sort") " -k1")))))
- ;; The tests aim to detect available memory and run more tests when
- ;; there is more available memory. Let's run them deterministically
- ;; instead and don't run any tests that require more than 1GB of
- ;; RAM.
- (add-after 'unpack 'run-only-low-mem-tests
- (lambda _
- (with-directory-excursion "hicexplorer/test"
- (substitute* '("trivial_runs/test_hicBuildMatrix_trivial_runs_2.py"
- "trivial_runs/test_hicAggregateContacts_trivial_runs_five.py"
- "trivial_runs/test_hicAggregateContacts_trivial_runs_four.py"
- "trivial_runs/test_hicAggregateContacts_trivial_runs.py"
- "trivial_runs/test_hicAggregateContacts_trivial_runs_two_1.py"
- "trivial_runs/test_hicBuildMatrix_trivial_runs.py"
- "trivial_runs/test_hicAggregateContacts_trivial_runs_two_3.py"
- "trivial_runs/test_hicAggregateContacts_trivial_runs_three.py"
- "trivial_runs/test_hicAggregateContacts_trivial_runs_two.py"
- "trivial_runs/test_hicAggregateContacts_trivial_runs_two_2.py"
- "trivial_runs/test_hicAggregateContacts_trivial_runs_six.py"
- "general/test_hicDifferentialTAD.py"
- "general/test_hicDetectLoops.py"
- "general/test_hicPlotMatrix.py"
- "general/test_hicHyperoptDetectLoops.py"
- "general/test_hicCreateThresholdFile.py"
- "general/test_hicMergeDomains.py"
- "general/test_hicHyperoptDetectLoopsHiCCUPS.py"
- "general/test_hicAggregateContacts.py"
- "general/test_hicInterIntraTAD.py")
- (("^memory =.*") "memory = 1\n"))))))))
- (propagated-inputs
- (list python-biopython
- python-cleanlab
- python-cooler
- python-fit-nbinom
- python-future
- python-graphviz
- python-hic2cool
- python-hicmatrix
- python-hyperopt
- python-imbalanced-learn
- python-intervaltree
- python-ipykernel
- python-jinja2
- python-matplotlib
- python-numpy
- python-pandas
- python-psutil
- python-pybedtools
- python-pybigwig
- python-pygenometracks
- python-pysam
- python-scikit-learn
- python-scipy
- python-tables
- python-tqdm
- python-unidecode))
- (native-inputs
- (list graphviz)) ;for hicexplorer/test/test_compute_function.py
- (home-page "https://hicexplorer.readthedocs.io")
- (synopsis "Process, analyze and visualize Hi-C data")
- (description
- "HiCExplorer is a powerful and easy to use set of tools to process,
-normalize and visualize Hi-C data. HiCExplorer facilitates the creation of
-contact matrices, correction of contacts, TAD detection, A/B compartments,
-merging, reordering or chromosomes, conversion from different formats
-including cooler and detection of long-range contacts. Moreover, it allows
-the visualization of multiple contact matrices along with other types of data
-like genes, compartments, ChIP-seq coverage tracks (and in general any type of
-genomic scores), long range contacts and the visualization of viewpoints.")
- (license license:gpl3)))
-
(define-public python-pygenometracks
(package
(name "python-pygenometracks")
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 2f5b5b71b2..aac96f96a7 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -2096,29 +2096,6 @@ augment the C++ standard library. The Abseil library code is collected from
Google's C++ code base.")
(license license:asl2.0)))
-;; This is for grpc-for-python-grpcio; keep this in sync with its actual
-;; requirements.
-(define-public abseil-cpp-20211102.0
- (let ((base abseil-cpp-20200923.3))
- (package
- (inherit base)
- (name "abseil-cpp")
- (version "20211102.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/abseil/abseil-cpp")
- (commit "215105818dfde3174fe799600bb0f3cae233d0bf")))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "028vlxpmh65kb7s0cpba38qcwk1abyn5br0ffhvvjjh97vld69di"))))
- (arguments
- (substitute-keyword-arguments (package-arguments base)
- ((#:tests? _ #false) #false)
- ((#:configure-flags flags)
- #~(cons* "-DCMAKE_CXX_STANDARD=11" #$flags)))))))
-
(define-public abseil-cpp-20220623
(let ((base abseil-cpp-20200923.3))
(package
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 48adf3aaac..64b7d820b4 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -37779,14 +37779,14 @@ colored by the number of neighboring points. This is useful to visualize the
(define-public r-arrow
(package
(name "r-arrow")
- (version "20.0.0.2")
+ (version "21.0.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "arrow" version))
(sha256
(base32
- "19xnz3df1r9n01dbsf05xkw6q5w8vipzkkb5bpx7jlcp38jnp8zn"))))
+ "1ipwcgzbzr5xb1ff0ikwxdfhbniqdjmvi4505cmb0divg9p50946"))))
(properties
`((upstream-name . "arrow")
(updater-ignored-native-inputs . ("r-duckdb"))
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index d7eb106030..f262aaf95b 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1310,17 +1310,16 @@ as a drop-in replacement of MySQL.")
(define-public mariadb-connector-c
(package
(name "mariadb-connector-c")
- (version "3.1.13")
+ (version "3.4.5")
(source
(origin
(method url-fetch)
(uri (string-append
- "https://downloads.mariadb.org/f/connector-c-" version
- "/mariadb-connector-c-" version "-src.tar.gz"
- "/from/https%3A//mirrors.ukfast.co.uk/sites/mariadb/?serve"))
+ "https://downloads.mariadb.org/rest-api/connector-c/"
+ version "/mariadb-connector-c-" version "-src.tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0xb8fiissblxb319y5ifqqp86zblwis789ipb753pcb4zpnsaw82"))))
+ (base32 "18y1x985pnvvirmwfka81ygsvl7isc52mj9c9hvc69fb2qw1jzmi"))))
(inputs
(list openssl))
(build-system cmake-build-system)
diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
index 7cb86ad144..5e981ac02c 100644
--- a/gnu/packages/dns.scm
+++ b/gnu/packages/dns.scm
@@ -851,7 +851,7 @@ Extensions} (DNSSEC).")
(define-public knot
(package
(name "knot")
- (version "3.4.6")
+ (version "3.4.8")
(source
(origin
(method git-fetch)
@@ -860,7 +860,7 @@ Extensions} (DNSSEC).")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0chdlzasng3q3ss4yfppf8fbkkiqllqz4p6s8a6jgwhcbiylmmdi"))
+ (base32 "0zydnb9kbk65kbrg01sxl48a5ikdap7lhm1wvmcmk5vhvgxdbb53"))
(patches
(search-patches "knot-remove-runtime-deps.patch"))
(modules '((guix build utils)))
@@ -993,14 +993,14 @@ synthesis, and on-the-fly re-configuration.")
(define-public knot-resolver
(package
(name "knot-resolver")
- (version "5.7.5")
+ (version "5.7.6")
(source (origin
(method url-fetch)
(uri (string-append "https://secure.nic.cz/files/knot-resolver/"
"knot-resolver-" version ".tar.xz"))
(sha256
(base32
- "0rnz7k5pjqd4ds46iyf6r7xwrci0apm2sr6lpaf9sncjmbwrq8w0"))))
+ "0x6n0h2vd7756rgyzmzhsvky5j7p4brsynnwp13ya003aqxcs32h"))))
(build-system meson-build-system)
(outputs '("out" "doc"))
(arguments
diff --git a/gnu/packages/elixir.scm b/gnu/packages/elixir.scm
index 96ba0421ea..0e53223f10 100644
--- a/gnu/packages/elixir.scm
+++ b/gnu/packages/elixir.scm
@@ -8,7 +8,7 @@
;;; Copyright © 2021 Oskar Köök <oskar@maatriks.ee>
;;; Copyright © 2021 Cees de Groot <cg@evrl.com>
;;; Copyright © 2024 Andrew Tropin <andrew@trop.in>
-;;; Copyright © 2024 Ivan Sokolov <ivan-p-sokolov@ya.ru>
+;;; Copyright © 2024, 2025 Ivan Sokolov <ivan-p-sokolov@ya.ru>
;;; Copyright © 2024, 2025 Igor Goryachev <igor@goryachev.org>
;;;
;;; This file is part of GNU Guix.
@@ -200,23 +200,24 @@ being successfully used in web development and the embedded software domain.")
(delete 'bootstrap)
(delete 'configure)
(replace 'build
- (lambda* (#:key inputs #:allow-other-keys)
+ (lambda _
(setenv "MIX_ENV" "prod")
(invoke "mix" "compile")))
(replace 'install
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (define X.Y #$(version-major+minor (package-version elixir)))
- (define out (string-append (assoc-ref outputs "out")
- "/lib/elixir/" X.Y "/hex"))
- (mkdir-p out)
- (let* ((prod-dir "_build/prod/lib/hex")
+ (lambda _
+ (let* ((X.Y #$(version-major+minor
+ (package-version
+ (lookup-package-input this-package "elixir"))))
+ (out (string-append #$output "/lib/elixir/" X.Y "/hex"))
+ (prod-dir "_build/prod/lib/hex")
(prod-dir-mix (string-append prod-dir "/.mix")))
(and (directory-exists? prod-dir-mix)
(delete-file-recursively prod-dir-mix))
- (copy-recursively "_build/prod/lib/hex" out)))))))
+ (mkdir-p out)
+ (copy-recursively prod-dir out)))))))
(synopsis "Package manager for the Erlang VM")
(description
"This project provides tasks that integrate with Mix, Elixir's build
tool.")
- (home-page "https://hexdocs.pm/makeup_elixir/")
+ (home-page "https://hexdocs.pm/hex/api-reference.html")
(license license:bsd-2)))
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 20c5356765..f2177edfad 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -562,10 +562,80 @@ It's not clear at the moment whether one day it will be possible to
do so.")
(license license:agpl3+)))
+(define-public python-electrum-ecc
+ (package
+ (name "python-electrum-ecc")
+ (version "0.0.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "electrum_ecc" version))
+ (sha256
+ (base32 "1lmp5zmhabaxp6jha3xlsmqviivrxxhsy20x6z42ayqgd9cvhczp"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Delete the vendored dependency.
+ (delete-file-recursively "libsecp256k1")))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'prepare-env
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; Do not attempt to compile vendored libsecp256k1.
+ (setenv "ELECTRUM_ECC_DONT_COMPILE" "1")
+ ;; Make the package find our libsecp256k1.
+ (substitute* "src/electrum_ecc/ecc_fast.py"
+ (("library_paths = \\[\\]")
+ (string-append
+ "library_paths = ['"
+ (search-input-file inputs "/lib/libsecp256k1.so")
+ "']"))))))))
+ (native-inputs (list python-pytest python-setuptools python-wheel))
+ (inputs (list libsecp256k1))
+ (home-page "https://github.com/spesmilo/electrum-ecc")
+ (synopsis "Pure python ctypes wrapper for libsecp256k1")
+ (description "This package provides a pure Python ctypes wrapper for
+@code{libsecp256k1}.")
+ (license license:expat)))
+
+(define-public electrum-aionostr
+ (package
+ (name "electrum-aionostr")
+ (version "0.0.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "electrum_aionostr" version))
+ (sha256
+ (base32 "10fgidah8ca59j3gssg9b434j49c1dd9cs3224nanjsxwl0ivsqf"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; Test below fails to match an exit code, pointing to this in Click:
+ ;; https://github.com/pallets/click/pull/1489
+ ;; This was fixed in Click 8.2.0.
+ #:test-flags #~(list "-k" "not test_command_line_interface")))
+ (inputs (list python-aiohttp
+ python-aiohttp-socks
+ python-aiorpcx
+ python-cryptography
+ python-electrum-ecc))
+ (native-inputs (list python-click
+ python-pytest
+ python-setuptools
+ python-wheel))
+ (home-page "https://github.com/spesmilo/electrum-aionostr")
+ (synopsis "Asyncio nostr client")
+ (description "This package is a fork of @code{aionostr} that does not
+require Coincurve.")
+ (license license:bsd-3)))
+
(define-public electrum
(package
(name "electrum")
- (version "4.4.6")
+ (version "4.6.1")
(source
(origin
(method url-fetch)
@@ -573,42 +643,51 @@ do so.")
version "/Electrum-"
version ".tar.gz"))
(sha256
- (base32 "1f0hb8xmqv1j9pf82xpyvxnn2dzmi93rhf0sh0iqakja2pbl4707"))
+ (base32 "1h7z019sp99csrj1djmhlm9y7vyyzl7wvar7z9x4jx59lmmvs1xs"))
(modules '((guix build utils)))
(snippet
'(begin
;; Delete the bundled dependencies.
(delete-file-recursively "packages")))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; Either pycryptodomex or cryptography must be available.
+ ;; This package uses python-cryptography, but this test checks for
+ ;; cryptodomex anyway. Skip it since it's not useful.
+ #:test-flags #~(list "-k" "not test_pycryptodomex_is_available")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'relax-deps
+ (lambda _
+ (substitute* "contrib/requirements/requirements.txt"
+ ;; These packages have tight version requirements because
+ ;; the developer does not want to introduce Hatchling in
+ ;; the build environment. They do work at runtime.
+ (("attrs.*") "attrs")
+ (("dnspython.*") "dnspython"))))
+ (add-before 'check 'set-home
+ (lambda _ ; 3 tests run mkdir
+ (setenv "HOME" "/tmp"))))))
+ (native-inputs (list python-pytest python-setuptools python-wheel))
(inputs
- (list libsecp256k1
+ (list electrum-aionostr
python-aiohttp
python-aiohttp-socks
python-aiorpcx
python-attrs
- python-bitstring
- python-btchip-python
python-certifi
python-cryptography
python-dnspython
+ python-electrum-ecc
python-hidapi
- python-ledgerblue
+ python-jsonpatch
python-protobuf
- python-pyqt
+ python-pyaes
+ python-pyqt-6
python-qdarkstyle
python-qrcode
zbar))
- (arguments
- `(#:tests? #f ; no tests
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'use-libsecp256k1-input
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "electrum/ecc_fast.py"
- (("library_paths = \\[\\]")
- (string-append "library_paths = ['"
- (assoc-ref inputs "libsecp256k1")
- "/lib/libsecp256k1.so']"))))))))
(home-page "https://electrum.org/")
(synopsis "Bitcoin wallet")
(description
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index e0231f88fe..aa1454ca96 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -675,11 +675,32 @@ Go. It also includes runtime support libraries for these languages.")
(define %gcc-13-x86_64-micro-architectures
(append %gcc-12-x86_64-micro-architectures
- '("graniterapids"))) ;Intel
+ '("graniterapids" ;Intel
+ "lujiazui")))
+
+(define %gcc-14-aarch64-micro-architectures
+ (append %gcc-13-aarch64-micro-architectures
+ '("armv9.4-a")))
+
+(define %gcc-14-ppc64le-micro-architectures
+ (append %gcc-10-ppc64le-micro-architectures
+ '("power11")))
(define %gcc-14-x86_64-micro-architectures
(append %gcc-13-x86_64-micro-architectures
- '("znver5"))) ;AMD
+ '("znver5" ;AMD
+ "yongfeng")))
+
+(define %gcc-15-aarch64-micro-architectures
+ (append %gcc-14-aarch64-micro-architectures
+ '("armv9.5-a")))
+
+(define %gcc-15-x86_64-micro-architectures
+ (append
+ (fold delete %gcc-14-x86_64-micro-architectures
+ '("knm" "knl"))
+ '("diamondrapids" ;Intel
+ "shijidadao")))
(define-public gcc-7
(package
@@ -887,10 +908,10 @@ It also includes runtime support libraries for these languages.")
(("\\.\\./lib64") "../lib"))))))))
(properties
`((compiler-cpu-architectures
- ("aarch64" ,@%gcc-13-aarch64-micro-architectures)
+ ("aarch64" ,@%gcc-14-aarch64-micro-architectures)
("armhf" ,@%gcc-13-armhf-micro-architectures)
- ("i686" ,@%gcc-13-x86_64-micro-architectures)
- ("powerpc64le" ,@%gcc-10-ppc64le-micro-architectures)
+ ("i686" ,@%gcc-14-x86_64-micro-architectures)
+ ("powerpc64le" ,@%gcc-14-ppc64le-micro-architectures)
("x86_64" ,@%gcc-14-x86_64-micro-architectures))
,@(package-properties gcc-11)))))
@@ -932,11 +953,11 @@ It also includes runtime support libraries for these languages.")
(string-append lib "/include"))))))))))))
(properties
`((compiler-cpu-architectures
- ("aarch64" ,@%gcc-13-aarch64-micro-architectures)
+ ("aarch64" ,@%gcc-15-aarch64-micro-architectures)
("armhf" ,@%gcc-13-armhf-micro-architectures)
- ("i686" ,@%gcc-13-x86_64-micro-architectures)
- ("powerpc64le" ,@%gcc-10-ppc64le-micro-architectures)
- ("x86_64" ,@%gcc-14-x86_64-micro-architectures))
+ ("i686" ,@%gcc-15-x86_64-micro-architectures)
+ ("powerpc64le" ,@%gcc-14-ppc64le-micro-architectures)
+ ("x86_64" ,@%gcc-15-x86_64-micro-architectures))
,@(package-properties gcc-11)))))
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 35700b2382..367440ccc7 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -554,7 +554,7 @@ topology functions.")
gtk
libadwaita
libgee
- libgweather4
+ libgweather
librsvg
libsecret
libshumate
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 506578fb11..9e3a641f07 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -1632,7 +1632,7 @@ extraction, and lookup for applications on the desktop.")
json-glib
mit-krb5
libadwaita
- libgweather4
+ libgweather
libnma
libpwquality
libsecret
@@ -6135,69 +6135,6 @@ service via the system message bus.")
services for numerous locations.")
(license license:gpl2+)))
-;; libgweather no longer follows the GNOME version, and recommends changing
-;; the package name in distributions to avoid accidental downgrades. See
-;; <https://discourse.gnome.org/t/changes-in-libgweather-for-gnome-42/7770/2>.
-;; TODO: how to prevent the updater from picking version 40?
-(define-public libgweather4
- (package
- (inherit libgweather)
- (name "libgweather4")
- (version "4.2.0")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://gnome/sources/libgweather/"
- (version-major+minor version) "/"
- "libgweather-" version ".tar.xz"))
- (sha256
- (base32
- "00v2rb9dizfvcsq3bgrz68bsi1k04ln5fqhx1q06m5yql0nq32mg"))))
- (arguments
- (list
- #:configure-flags
- #~(list (string-append "-Dzoneinfo_dir="
- (search-input-directory %build-inputs
- "share/zoneinfo")))
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'set-HOME
- (lambda _
- (setenv "HOME" "/tmp")))
- (add-after 'unpack 'disable-problematic-tests
- (lambda _
- (substitute* "libgweather/tests/meson.build"
- ;; The timezones test fails for unknown reasons (see:
- ;; https://gitlab.gnome.org/GNOME/libgweather/-/issues/188).
- ((".*'name': 'timezones'.*") "")
- ;; The 'metar' test is known to fail, fixed but not yet released
- ;; upstream (see:
- ;; https://gitlab.gnome.org/GNOME/libgweather/-/issues/168).
- ((".*'name': 'metar'.*") ""))))
- (delete 'check) ;move after the install phase
- (add-after 'install 'check
- (assoc-ref %standard-phases 'check)))))
- (native-inputs
- (list gettext-minimal
- gi-docgen
- `(,glib "bin") ;for glib-mkenums
- gobject-introspection
- (libc-utf8-locales-for-target)
- gsettings-desktop-schemas
- pkg-config
- python
- python-pygobject
- vala))
- ;; TODO: It would be good to make the package respect TZDIR instead
- ;; of using a "hard coded" version of tzdata.
- (inputs (list tzdata))
- (propagated-inputs
- ;; gweather4.pc refers to all of these.
- (list geocode-glib
- glib
- json-glib
- libsoup
- libxml2))))
-
(define-public gnome-settings-daemon
(package
(name "gnome-settings-daemon")
@@ -6262,7 +6199,7 @@ services for numerous locations.")
lcms
libcanberra
libgudev
- libgweather4
+ libgweather
libnotify
(librsvg-for-system)
libwacom
@@ -8495,7 +8432,7 @@ Microsoft Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
gnome-online-accounts
json-glib
libcanberra
- libgweather4
+ libgweather
libphonenumber
mit-krb5
openldap
@@ -9717,7 +9654,7 @@ printf '~a is deprecated. Use the \"gnome-extensions\" CLI or \
ibus
libcanberra
libcroco
- libgweather4
+ libgweather
libnma
libsoup
mesa-headers
@@ -10457,7 +10394,7 @@ associations for GNOME.")
gsettings-desktop-schemas
gtk
libadwaita
- libgweather4))
+ libgweather))
(synopsis "Weather monitoring for GNOME desktop")
(description "GNOME Weather is a small application that allows you to
monitor the current weather conditions for your city, or anywhere in the
@@ -10890,7 +10827,7 @@ Microsoft SkyDrive and Hotmail, using their REST protocols.")
gsound
gtk
libadwaita
- libgweather4))
+ libgweather))
(home-page "https://wiki.gnome.org/Apps/Clocks")
(synopsis "GNOME's clock application")
(description
@@ -10940,7 +10877,7 @@ desktop. It supports world clock, stop watch, alarms, and count down timer.")
gsettings-desktop-schemas
libadwaita
libdazzle
- libgweather4))
+ libgweather))
(home-page "https://wiki.gnome.org/Apps/Calendar")
(synopsis "GNOME's calendar application")
(description
@@ -12376,7 +12313,7 @@ generic enough to work for everyone.")
gspell
highlight
libcanberra
- libgweather4
+ libgweather
libnotify
libsoup
nss
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 486af36202..eae66e64b6 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -4,7 +4,7 @@
;;; Copyright © 2014, 2018 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2014, 2015, 2016, 2020 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
-;;; Copyright © 2015-2021, 2024 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2015-2021, 2024, 2025 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2015, 2016, 2017, 2019, 2025 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016 Christine Lemmer-Webber <cwebber@dustycloud.org>
;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
@@ -207,6 +207,18 @@ Daemon and possibly more in the future.")
(add-before 'configure 'setenv
(lambda _
(setenv "GCRYPT_NO_BENCHMARKS" "t")))))
+ '())
+ ,@(if (target-arm32?)
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'apply-upstream-patch
+ (lambda _
+ (let ((patch-file
+ #$(local-file
+ (search-patch
+ "libgcrypt-arm32-register-pressure.patch"))))
+ (invoke "patch" "--force" "-p1" "-i" patch-file))))))
'())))
(outputs '("out" "debug"))
(home-page "https://gnupg.org/")
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 7e5ebef0e9..13de000920 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -3,7 +3,7 @@
;;; Copyright © 2013-2022 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014-2025 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
-;;; Copyright © 2016-2019, 2021, 2024 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016-2019, 2021, 2024, 2025 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
;;; Copyright © 2017, 2023 Clément Lassieur <clement@lassieur.org>
;;; Copyright © 2017, 2018 Nikita <nikita@n0.is>
@@ -931,8 +931,8 @@ variable defined below. It requires guile-json to be installed."
rust
`(,rust "cargo")
rust-cbindgen
- llvm-17
- clang-17
+ llvm-20
+ clang-20
perl
node-lts
python-wrapper
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3f79d9862e..eb04e2eb86 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2016-2024 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016-2025 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
;;; Copyright © 2016 Andy Wingo <wingo@igalia.com>
;;; Copyright © 2016, 2019, 2021 Ludovic Courtès <ludo@gnu.org>
@@ -1012,6 +1012,17 @@ in the style of communicating sequential processes (@dfn{CSP}).")
;; as the bootstrap toolchain.
(alist-replace "go" (list go-1.21) (package-native-inputs go-1.21)))))
+(define %go-1.23-arm64-micro-architectures
+ ;; https://go.dev/wiki/MinimumRequirements#arm64
+ ;; Allowed values are v8.{0-9} and v9.{0-5}. This may be followed by an option
+ ;; specifying extensions implemented by target hardware. Valid options are
+ ;; ,lse and ,crypto.
+ ;; Match Guix's specifications and then rewrite in (guix transformations).
+ (append (map (lambda (suffix) (string-append "armv8" suffix "-a"))
+ '("" ".1" ".2" ".3" ".4" ".5" ".6" ".7" ".8" ".9"))
+ (map (lambda (suffix) (string-append "armv9" suffix "-a"))
+ '("" ".1" ".2" ".3" ".4" ".5"))))
+
(define-public go-1.23
(package
(inherit go-1.22)
@@ -1025,7 +1036,13 @@ in the style of communicating sequential processes (@dfn{CSP}).")
(commit (string-append "go" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "06c5cjjqk95p16cb6p8fgqqsddc1a1kj3w2m0na5v91gvwxbd0pq"))))))
+ (base32 "06c5cjjqk95p16cb6p8fgqqsddc1a1kj3w2m0na5v91gvwxbd0pq"))))
+ (properties
+ `((compiler-cpu-architectures
+ ("aarch64" ,@%go-1.23-arm64-micro-architectures)
+ ("armhf" ,@%go-1.17-arm-micro-architectures)
+ ("powerpc64le" ,@%go-1.17-powerpc64le-micro-architectures)
+ ("x86_64" ,@%go-1.18-x86_64-micro-architectures))))))
(define-public go-1.24
(package
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 7ace87bc11..325373d265 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -4884,36 +4884,6 @@ return accumulators. It is implemented by wrapping the sample
implementation in a thin Guile compatibility layer.")
(license license:gpl3+))))
-(define-public guile-srfi-159
- (let ((commit "1bd98abda2ae4ef8f36761a167903e55c6bda7bb")
- (revision "0"))
- (package
- (name "guile-srfi-159")
- (version (git-version "0" revision commit))
- (home-page "https://bitbucket.org/bjoli/guile-srfi-159")
- (source (origin
- (method hg-fetch)
- (uri (hg-reference (changeset commit)
- (url home-page)))
- (sha256
- (base32
- "1zw6cmcy7xdbfiz3nz9arqnn7l2daidaps6ixkcrc9b6k51fdv3p"))
- (file-name (git-file-name name version))))
- (build-system guile-build-system)
- (arguments
- ;; The *-impl.scm files are actually included from module files; they
- ;; should not be compiled separately, but they must be installed.
- '(#:not-compiled-file-regexp "-impl\\.scm$"))
- (inputs
- (list guile-2.2))
- (synopsis "Formatting combinators for Guile")
- (description
- "The @code{(srfi-159)} module and its sub-modules implement the
-formatting combinators specified by
-@uref{https://srfi.schemers.org/srfi-159/srfi-159.html, SRFI-159}. These are
-more expressive and flexible than the traditional @code{format} procedure.")
- (license license:bsd-3))))
-
(define-public guile-srfi-180
(let ((commit "9188bf9724c6d320ef804579d222e855b007b193")
(revision "0"))
@@ -6339,22 +6309,20 @@ Relay Chat} (IRC).")
(define-public guile-websocket
(package
(name "guile-websocket")
- (version "0.2.0")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://files.dthompson.us/guile-websocket/"
- "guile-websocket-" version ".tar.gz"))
- (sha256
- (base32
- "143ng1x5xwy218wd1svj718ikqnrglwsywyzpd3ap9jnivw66g7f"))))
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://files.dthompson.us/releases/"
+ "guile-websocket/guile-websocket-" version
+ ".tar.gz"))
+ (sha256
+ (base32 "0mbxbwc5flrafh77sl0cbfclpk3vys0hh3fqmdl9v3nqyl0cbsij"))))
(build-system gnu-build-system)
(arguments
- '(#:make-flags
- '("GUILE_AUTO_COMPILE=0")))
- (native-inputs
- (list autoconf automake pkg-config))
- (inputs
- (list guile-3.0 guile-gnutls))
+ '(#:make-flags '("GUILE_AUTO_COMPILE=0")))
+ (native-inputs (list autoconf automake pkg-config))
+ (inputs (list guile-3.0 guile-gnutls))
(synopsis "Websocket server/client for Guile")
(description "Guile-websocket provides an implementation of the
WebSocket protocol as defined by RFC 6455.")
@@ -6978,25 +6946,24 @@ or @code{LuaBind} but for Scheme.")
(name "guile-cbor")
(version "0.1.0")
(source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://inqlab.net/git/guile-cbor.git")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256 (base32 "0bdqg3ifayf7m2j09lqrgdfprbdaa67azf09bcq9b4k71inxfnxl"))))
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://codeberg.org/pukkamustard/guile-cbor/")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0bdqg3ifayf7m2j09lqrgdfprbdaa67azf09bcq9b4k71inxfnxl"))))
(build-system gnu-build-system)
- (arguments `())
- (native-inputs
- (list autoconf automake pkg-config texinfo))
+ (native-inputs (list autoconf automake pkg-config texinfo))
(inputs (list guile-3.0))
(synopsis "Guile implementation of CBOR")
(description
- "The Concise Binary Object Representation (CBOR), as specified by RFC 8949, is
-a binary data serialization format. CBOR is similar to JSON but serializes to
-binary which is smaller and faster to generate and parse. This package provides
-a Guile implementation of CBOR.")
- (home-page "https://inqlab.net/git/guile-cbor.git")
+ "The Concise Binary Object Representation (CBOR), as specified by RFC
+8949, is a binary data serialization format. CBOR is similar to JSON but
+serializes to binary which is smaller and faster to generate and parse. This
+package provides a Guile implementation of CBOR.")
+ (home-page "https://codeberg.org/pukkamustard/guile-cbor/")
(license license:gpl3+)))
(define-public guile-qr-code
diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm
index e626509067..5a1f654652 100644
--- a/gnu/packages/haskell-apps.scm
+++ b/gnu/packages/haskell-apps.scm
@@ -888,32 +888,20 @@ is programmed in Haskell.")
(define-public scroll
(package
(name "scroll")
- (version "1.20180421")
+ (version "1.20250228.2")
(source
(origin
(method url-fetch)
(uri (hackage-uri "scroll" version))
(sha256
(base32
- "0apzrvf99rskj4dbmn57jjxrsf19j436s8a09m950df5aws3a0wj"))))
+ "1p1741zqsxg017d08ym1clzqcdlai487wb6q12m1q7dr6i8c0gfj"))))
(build-system haskell-build-system)
- (properties '((upstream-name . "scroll")))
- (arguments
- '(#:phases
- (modify-phases %standard-phases
- (add-after 'install 'touch-static-output
- (lambda* (#:key outputs #:allow-other-keys)
- ;; The Haskell build system adds a "static" output by
- ;; default, and there is no way to override this until
- ;; <https://issues.guix.gnu.org/41569> is fixed. Without
- ;; this phase, the daemon complains because we do not
- ;; create the "static" output.
- (with-output-to-file (assoc-ref outputs "static")
- (lambda ()
- (display "static output not used\n")))
- #t)))))
+ (properties '((upstream-name . "scroll")
+ (updater-extra-inputs "ghc-base-compat")))
(inputs
- (list ghc-case-insensitive
+ (list ghc-base-compat
+ ghc-case-insensitive
ghc-data-default
ghc-ifelse
ghc-monad-loops
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 6b8cce3cfc..fd7519b957 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -5,7 +5,7 @@
;;; Copyright © 2015, 2019 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2016, 2018, 2019, 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
-;;; Copyright © 2016, 2019, 2023 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016, 2019, 2023, 2025 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016, 2017 David Craven <david@craven.ch>
;;; Copyright © 2017 Danny Milosavljevic <dannym@scratchpost.org>
@@ -7901,7 +7901,9 @@ between 2 and 3 times faster than the Mersenne Twister.")
"lib/UI/NCurses/Enums.chs"
"lib/UI/NCurses/Panel.chs")
(("<ncursesw/") "<"))
- #t)))
+ ;; KEY_EVENT doesn't appear in our ncurses.h
+ (substitute* "lib/UI/NCurses/Enums.chs"
+ ((".*KEY_EVENT.*") "")))))
#:cabal-revision
("1"
"1wfdy716s5p1sqp2gsg43x8wch2dxg0vmbbndlb2h3d8c9jzxnca")))
diff --git a/gnu/packages/icu4c.scm b/gnu/packages/icu4c.scm
index f473527449..0c0351dd9d 100644
--- a/gnu/packages/icu4c.scm
+++ b/gnu/packages/icu4c.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2015, 2016 Mark H Weaver <mhw@netris.org>
-;;; Copyright © 2016, 2017, 2020, 2022 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016, 2017, 2020, 2022, 2025 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org>
;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2019, 2020, 2022 Marius Bakke <marius@gnu.org>
@@ -112,6 +112,16 @@
(substitute* "source/test/Makefile.in"
((" intltest ") " ")))))
#~())
+ #$@(if (target-arm32?)
+ #~((add-after 'unpack 'disable-failing-test
+ (lambda _
+ ;; The caltest test started to fail to compile after
+ ;; the upgrade to gcc-14 but it's unclear which test is
+ ;; failing or how to disable just that one test.
+ ;; Error: co-processor offset out of range
+ (substitute* "source/test/Makefile.in"
+ ((" intltest ") " ")))))
+ #~())
(add-after 'install 'avoid-coreutils-reference
;; Don't keep a reference to the build tools.
(lambda _
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 061cb934a4..2b6955b406 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -2289,50 +2289,6 @@ number of threads used in the threadpool-backed of common native libraries used
for scientific computing and data science (e.g. BLAS and OpenMP).")
(license license:bsd-3)))
-(define-public python-imbalanced-learn
- (package
- (name "python-imbalanced-learn")
- (version "0.12.2")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "imbalanced-learn" version))
- (sha256
- (base32 "1hgncab4g4xry7yl6wwsj1wmfnxbsajx6qmycvr28wdhvk75c358"))))
- (build-system pyproject-build-system)
- (arguments
- (list
- #:test-flags '(list "-k"
- ;; Although we cannot satify the Tensorflow and Keras requirements
- ;; (python-keras >= 2.4.3 and tensorflow >= 2.4.3), all tests
- ;; besides these pass.
- "not balanced_batch_generator and not BalancedBatchGenerator")
- #:phases '(modify-phases %standard-phases
- (add-after 'unpack 'unbreak-tests
- (lambda _
- ;; Some tests require a home directory
- (setenv "HOME"
- (getcwd)))))))
- (propagated-inputs (list python-joblib python-numpy python-scikit-learn
- python-scipy python-threadpoolctl))
- (native-inputs (list python-black
- python-flake8
- python-keras
- python-mypy
- python-pandas
- python-pytest
- python-pytest-cov
- python-setuptools
- python-wheel
- tensorflow))
- (home-page "https://github.com/scikit-learn-contrib/imbalanced-learn")
- (synopsis "Toolbox for imbalanced dataset in machine learning")
- (description
- "This is a Python package offering a number of re-sampling
-techniques commonly used in datasets showing strong between-class imbalance.
-It is compatible with @code{scikit-learn}.")
- (license license:expat)))
-
(define-public python-hdbscan
(package
(name "python-hdbscan")
@@ -4148,213 +4104,6 @@ any function). It currently contains the interface and IO code from the Shap
project, and it will potentially also do the same for the Lime project.")
(license license:expat)))
-(define-public python-keras-applications
- (package
- (name "python-keras-applications")
- (version "1.0.8")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "Keras_Applications" version))
- (sha256
- (base32
- "1rcz31ca4axa6kzhjx4lwqxbg4wvlljkj8qj9a7p9sfd5fhzjyam"))))
- (build-system python-build-system)
- ;; The tests require Keras, but this package is needed to build Keras.
- (arguments '(#:tests? #f))
- (propagated-inputs
- (list python-h5py python-numpy))
- (native-inputs
- (list python-pytest python-pytest-cov
- python-pytest-xdist))
- (home-page "https://github.com/keras-team/keras-applications")
- (synopsis "Reference implementations of popular deep learning models")
- (description
- "This package provides reference implementations of popular deep learning
-models for use with the Keras deep learning framework.")
- (license license:expat)))
-
-(define-public python-keras-preprocessing
- (package
- (name "python-keras-preprocessing")
- (version "1.1.0")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "Keras_Preprocessing" version))
- (sha256
- (base32
- "1r98nm4k1svsqjyaqkfk23i31bl1kcfcyp7094yyj3c43phfp3as"))))
- (build-system python-build-system)
- (propagated-inputs
- (list python-numpy python-six))
- (native-inputs
- (list python-pandas
- python-pillow
- python-pytest
- python-pytest-cov
- python-pytest-xdist
- tensorflow))
- (home-page "https://github.com/keras-team/keras-preprocessing/")
- (synopsis "Data preprocessing and augmentation for deep learning models")
- (description
- "Keras Preprocessing is the data preprocessing and data augmentation
-module of the Keras deep learning library. It provides utilities for working
-with image data, text data, and sequence data.")
- (license license:expat)))
-
-(define-public python-keras
- (package
- (name "python-keras")
- (version "2.3.1")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "Keras" version))
- (sha256
- (base32
- "1k68xd8n2y9ldijggjc8nn4d6d1axw0p98gfb0fmm8h641vl679j"))
- (modules '((guix build utils)))
- (snippet
- '(substitute* '("keras/callbacks/callbacks.py"
- "keras/engine/training_utils.py"
- "keras/engine/training.py"
- "keras/engine/training_generator.py"
- "keras/utils/generic_utils.py")
- (("from collections import Iterable")
- "from collections.abc import Iterable")
- (("collections.Container")
- "collections.abc.Container")
- (("collections.Mapping")
- "collections.abc.Mapping")
- (("collections.Sequence")
- "collections.abc.Sequence")))))
- (build-system python-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'tf-compatibility
- (lambda _
- (substitute* "keras/backend/tensorflow_backend.py"
- (("^get_graph = .*")
- "get_graph = tf.get_default_graph")
- (("tf.compat.v1.nn.fused_batch_norm")
- "tf.nn.fused_batch_norm")
- ;; categorical_crossentropy does not support axis
- (("from_logits=from_logits, axis=axis")
- "from_logits=from_logits")
- ;; dropout accepts a level number, not a named rate argument.
- (("dropout\\(x, rate=level,")
- "dropout(x, level,")
- (("return x.shape.rank")
- "return len(x.shape)"))))
- (add-after 'unpack 'hdf5-compatibility
- (lambda _
- ;; The truth value of an array with more than one element is ambiguous.
- (substitute* "tests/keras/utils/io_utils_test.py"
- ((" *assert .* == \\[b'(asd|efg).*") ""))
- (substitute* "tests/test_model_saving.py"
- (("h5py.File\\('does not matter',")
- "h5py.File('does not matter', 'w',"))
- (substitute* "keras/utils/io_utils.py"
- (("h5py.File\\('in-memory-h5py', driver='core', backing_store=False\\)")
- "h5py.File('in-memory-h5py', 'w', driver='core', backing_store=False)")
- (("h5file.fid.get_file_image")
- "h5file.id.get_file_image"))
- (substitute* "keras/engine/saving.py"
- (("\\.decode\\('utf-?8'\\)") ""))))
- (add-after 'unpack 'delete-unavailable-backends
- (lambda _
- (delete-file "keras/backend/theano_backend.py")
- (delete-file "keras/backend/cntk_backend.py")))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- ;; These tests attempt to download data files from the internet.
- (delete-file "tests/integration_tests/test_datasets.py")
- (delete-file "tests/integration_tests/imagenet_utils_test.py")
- (invoke "python" "-m" "pytest" "tests"
- "-p" "no:pep8"
- ;; FIXME: python-build-system lacks PARALLEL-TESTS?
- "-n" (number->string (parallel-job-count))
- ;; This one uses the theano backend that we don't have.
- "--ignore=tests/test_api.py"
- "--ignore=tests/keras/backend/backend_test.py"
- ;; Our Tensorflow version does not have the coder ops library.
- "--ignore=tests/keras/callbacks/callbacks_test.py"
- ;; ...nor do we have tensorboard
- "--ignore=tests/keras/callbacks/tensorboard_test.py"
- "-k"
- (string-append
- ;; See https://github.com/keras-team/keras/pull/7033
- "not test_TimeDistributed_learning_phase "
- ;; XXX fails because no closure is provided
- "and not test_func_dump_and_load_backwards_compat "
- ;; XXX real bug? These are all tests that fail due to
- ;; shape mismatch, e.g. "got logits shape [12,3] and
- ;; labels shape [9]"
- "and not test_model_with_crossentropy_losses_channels_first "
- "and not test_masking_correctness_output_size_not_equal_to_first_state_size "
- "and not test_convolutional_recurrent "
- "and not test_axis "
-
- ;; XXX fails because of 3/15 values have unexpected differences.
- "and not test_masking_correctness_output_not_equal_to_first_state "
- ;; XXX fails because of a difference of about 0.1
- "and not test_sample_weighted "
- ;; XXX fails because of a difference of about 0.3
- "and not test_scalar_weighted "
- ;; XXX fails because of a difference of about 0.2
- "and not test_unweighted "
-
- ;; XXX I cannot reproduce this in an interactive
- ;; Python session, because l2_norm works just fine.
- "and not test_weighted " ;TestCosineSimilarity
- "and not test_config " ;TestCosineSimilarity
-
- ;; The following test fails only in the build
- ;; container; skip it.
- "and not test_selu "
- ;; The following test was found flaky and removed in
- ;; recent versions.
- "and not test_stateful_metrics"))))))))
- (propagated-inputs
- (list python-h5py
- python-keras-applications
- python-keras-preprocessing
- python-numpy
- python-pydot
- python-pyyaml
- python-scipy
- python-six
- tensorflow
- graphviz))
- (native-inputs
- (list python-flaky
- python-markdown
- python-pandas
- python-pytest
- python-pytest-cov
- python-pytest-timeout
- python-pytest-xdist
- python-pyux
- python-sphinx
- python-requests))
- (home-page "https://keras.io/")
- (synopsis "High-level deep learning framework")
- (description "Keras is a high-level neural networks API, written in Python
-and capable of running on top of TensorFlow. It was developed with a focus on
-enabling fast experimentation. Use Keras if you need a deep learning library
-that:
-@itemize
-@item Allows for easy and fast prototyping (through user friendliness,
- modularity, and extensibility).
-@item Supports both convolutional networks and recurrent networks, as well as
- combinations of the two.
-@item Runs seamlessly on CPU and GPU.
-@end itemize\n")
- (license license:expat)))
-
(define-public gloo
(let ((version "0.0.0") ; no proper version tag
(commit "81925d1c674c34f0dc34dd9a0f2151c1b6f701eb")
diff --git a/gnu/packages/patches/libgcrypt-arm32-register-pressure.patch b/gnu/packages/patches/libgcrypt-arm32-register-pressure.patch
new file mode 100644
index 0000000000..9eff5c42e1
--- /dev/null
+++ b/gnu/packages/patches/libgcrypt-arm32-register-pressure.patch
@@ -0,0 +1,133 @@
+This patch is from upstream and probably can be dropped with any version
+after 1.11.0.
+
+From 9c93b4607adcf9b3efd53aba43e2d33bf5aef9df Mon Sep 17 00:00:00 2001
+From: Jussi Kivilinna <jussi.kivilinna@iki.fi>
+Date: Sun, 4 Aug 2024 18:04:49 +0300
+Subject: [PATCH] mpi/ec-inline: reduce register pressure on 32-bit ARM
+
+* mpi/ec-inline.h [HAVE_COMPATIBLE_GCC_ARM_PLATFORM_AS] (ADD4_LIMB32)
+(ADD6_LIMB32, SUB4_LIMB32, SUB6_LIMB32): Reuse input registers
+as output (use just two unique operators).
+--
+
+This fixes building ec-nist.c with GCC-14 on 32-bit ARM.
+
+GnuPG-bug-id: 7226
+Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
+---
+ mpi/ec-inline.h | 63 ++++++++++++++++++++++++-------------------------
+ 1 file changed, 31 insertions(+), 32 deletions(-)
+
+diff --git a/mpi/ec-inline.h b/mpi/ec-inline.h
+index c24d5352..3a526246 100644
+--- a/mpi/ec-inline.h
++++ b/mpi/ec-inline.h
+@@ -836,18 +836,18 @@ LIMB64_HILO(mpi_limb_t hi, mpi_limb_t lo)
+ #ifdef HAVE_COMPATIBLE_GCC_ARM_PLATFORM_AS
+
+ #define ADD4_LIMB32(A3, A2, A1, A0, B3, B2, B1, B0, C3, C2, C1, C0) \
+- __asm__ ("adds %3, %7, %11\n" \
+- "adcs %2, %6, %10\n" \
+- "adcs %1, %5, %9\n" \
+- "adc %0, %4, %8\n" \
++ __asm__ ("adds %3, %3, %11\n" \
++ "adcs %2, %2, %10\n" \
++ "adcs %1, %1, %9\n" \
++ "adc %0, %0, %8\n" \
+ : "=r" (A3), \
+ "=&r" (A2), \
+ "=&r" (A1), \
+ "=&r" (A0) \
+- : "r" ((mpi_limb_t)(B3)), \
+- "r" ((mpi_limb_t)(B2)), \
+- "r" ((mpi_limb_t)(B1)), \
+- "r" ((mpi_limb_t)(B0)), \
++ : "0" ((mpi_limb_t)(B3)), \
++ "1" ((mpi_limb_t)(B2)), \
++ "2" ((mpi_limb_t)(B1)), \
++ "3" ((mpi_limb_t)(B0)), \
+ "Ir" ((mpi_limb_t)(C3)), \
+ "Ir" ((mpi_limb_t)(C2)), \
+ "Ir" ((mpi_limb_t)(C1)), \
+@@ -857,18 +857,18 @@ LIMB64_HILO(mpi_limb_t hi, mpi_limb_t lo)
+ #define ADD6_LIMB32(A5, A4, A3, A2, A1, A0, B5, B4, B3, B2, B1, B0, \
+ C5, C4, C3, C2, C1, C0) do { \
+ mpi_limb_t __carry6_32; \
+- __asm__ ("adds %3, %7, %10\n" \
+- "adcs %2, %6, %9\n" \
+- "adcs %1, %5, %8\n" \
+- "adc %0, %4, %4\n" \
++ __asm__ ("adds %3, %3, %10\n" \
++ "adcs %2, %2, %9\n" \
++ "adcs %1, %1, %8\n" \
++ "adc %0, %0, %0\n" \
+ : "=r" (__carry6_32), \
+ "=&r" (A2), \
+ "=&r" (A1), \
+ "=&r" (A0) \
+- : "r" ((mpi_limb_t)(0)), \
+- "r" ((mpi_limb_t)(B2)), \
+- "r" ((mpi_limb_t)(B1)), \
+- "r" ((mpi_limb_t)(B0)), \
++ : "0" ((mpi_limb_t)(0)), \
++ "1" ((mpi_limb_t)(B2)), \
++ "2" ((mpi_limb_t)(B1)), \
++ "3" ((mpi_limb_t)(B0)), \
+ "Ir" ((mpi_limb_t)(C2)), \
+ "Ir" ((mpi_limb_t)(C1)), \
+ "Ir" ((mpi_limb_t)(C0)) \
+@@ -878,18 +878,18 @@ LIMB64_HILO(mpi_limb_t hi, mpi_limb_t lo)
+ } while (0)
+
+ #define SUB4_LIMB32(A3, A2, A1, A0, B3, B2, B1, B0, C3, C2, C1, C0) \
+- __asm__ ("subs %3, %7, %11\n" \
+- "sbcs %2, %6, %10\n" \
+- "sbcs %1, %5, %9\n" \
+- "sbc %0, %4, %8\n" \
++ __asm__ ("subs %3, %3, %11\n" \
++ "sbcs %2, %2, %10\n" \
++ "sbcs %1, %1, %9\n" \
++ "sbc %0, %0, %8\n" \
+ : "=r" (A3), \
+ "=&r" (A2), \
+ "=&r" (A1), \
+ "=&r" (A0) \
+- : "r" ((mpi_limb_t)(B3)), \
+- "r" ((mpi_limb_t)(B2)), \
+- "r" ((mpi_limb_t)(B1)), \
+- "r" ((mpi_limb_t)(B0)), \
++ : "0" ((mpi_limb_t)(B3)), \
++ "1" ((mpi_limb_t)(B2)), \
++ "2" ((mpi_limb_t)(B1)), \
++ "3" ((mpi_limb_t)(B0)), \
+ "Ir" ((mpi_limb_t)(C3)), \
+ "Ir" ((mpi_limb_t)(C2)), \
+ "Ir" ((mpi_limb_t)(C1)), \
+@@ -899,18 +899,17 @@ LIMB64_HILO(mpi_limb_t hi, mpi_limb_t lo)
+ #define SUB6_LIMB32(A5, A4, A3, A2, A1, A0, B5, B4, B3, B2, B1, B0, \
+ C5, C4, C3, C2, C1, C0) do { \
+ mpi_limb_t __borrow6_32; \
+- __asm__ ("subs %3, %7, %10\n" \
+- "sbcs %2, %6, %9\n" \
+- "sbcs %1, %5, %8\n" \
+- "sbc %0, %4, %4\n" \
++ __asm__ ("subs %3, %3, %9\n" \
++ "sbcs %2, %2, %8\n" \
++ "sbcs %1, %1, %7\n" \
++ "sbc %0, %0, %0\n" \
+ : "=r" (__borrow6_32), \
+ "=&r" (A2), \
+ "=&r" (A1), \
+ "=&r" (A0) \
+- : "r" ((mpi_limb_t)(0)), \
+- "r" ((mpi_limb_t)(B2)), \
+- "r" ((mpi_limb_t)(B1)), \
+- "r" ((mpi_limb_t)(B0)), \
++ : "1" ((mpi_limb_t)(B2)), \
++ "2" ((mpi_limb_t)(B1)), \
++ "3" ((mpi_limb_t)(B0)), \
+ "Ir" ((mpi_limb_t)(C2)), \
+ "Ir" ((mpi_limb_t)(C1)), \
+ "Ir" ((mpi_limb_t)(C0)) \
+--
diff --git a/gnu/packages/protobuf.scm b/gnu/packages/protobuf.scm
index 6ac17d3733..765836cf65 100644
--- a/gnu/packages/protobuf.scm
+++ b/gnu/packages/protobuf.scm
@@ -465,6 +465,17 @@ from protobuf specification files.")
mechanism for serializing structured data.")
(license license:bsd-3)))
+(define-public python-protobuf-4
+ (package/inherit python-protobuf-5
+ (name "python-protobuf")
+ (version "4.21.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "protobuf" version))
+ (sha256
+ (base32 "1pabwidv12r73fy0jlslpgi60zd1lbx9rjnb23kgdm8wcsjl043b"))))))
+
(define-public python-protobuf
(package
(name "python-protobuf")
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 2cbc1bb167..9ab20defae 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -835,7 +835,7 @@ of a fake DNS resolver.")
(define-public python-huggingface-hub
(package
(name "python-huggingface-hub")
- (version "0.23.2")
+ (version "0.31.4")
(source
(origin
(method git-fetch)
@@ -844,7 +844,7 @@ of a fake DNS resolver.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0hygxqcixkc1d9sr47j2km6z0p17aj4k1dzm4cvpddrvhrgqayq5"))))
+ (base32 "1rjkrmvvyzxlbnbndrg4v9qq39grn46c26zrdjgpf114gci5pwap"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -881,7 +881,13 @@ of a fake DNS resolver.")
"-k" (string-append
"not test_push_to_hub"
" and not test_from_pretrained_model_id_only"
- " and not test_from_pretrained_model_id_and_revision"))
+ " and not test_from_pretrained_model_id_and_revision"
+ ;; These all require internet access
+ " and not test_auth"
+ " and not test_oauth"
+ " and not test_utils_sha"
+ " and not test_inference_providers"
+ " and not test_xet"))
#:phases
'(modify-phases %standard-phases
(add-before 'check 'pre-check
@@ -908,6 +914,7 @@ of a fake DNS resolver.")
python-pytest-asyncio
python-pytest-cov
python-pytest-env
+ python-pytest-mock
python-pytest-rerunfailures
python-pytest-vcr
python-pytest-xdist
@@ -918,7 +925,7 @@ of a fake DNS resolver.")
python-typing-extensions
python-urllib3
python-wheel))
- (home-page "https://github.com/huggingface/huggingface_hub")
+ (home-page "https://huggingface.co/docs/huggingface_hub/")
(synopsis "Client library for accessing the huggingface.co hub")
(description
"This package provides a client library to download and publish models,
@@ -1617,17 +1624,30 @@ It features a minimal TLS 1.3 implementation, a QUIC stack and an HTTP/3 stack."
(define-public python-aiorpcx
(package
(name "python-aiorpcx")
- (version "0.22.1")
+ (version "0.25.0")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "aiorpcX" version))
+ (method git-fetch)
+ ;; PyPI misses the util.py file used for tests.
+ (uri (git-reference
+ (url "https://github.com/kyuupichan/aiorpcX")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "0lx54bcinp44fmr8q4bbffsqbkg8kdcwykf9i5jj0bj3sfzgf9k0"))))
- (build-system python-build-system)
+ "0sn4xxlpy0kb5b25bqrjzh2m6bskdyydc6cq8bigb7g5dacksn4q"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ ;; This test opens a remote connection.
+ #~(list "-k" "not test_create_connection_resolve_good")))
+ (native-inputs (list python-pytest
+ python-pytest-asyncio
+ python-setuptools
+ python-wheel))
(propagated-inputs
- (list python-attrs))
+ (list python-attrs python-websockets))
(home-page "https://github.com/kyuupichan/aiorpcX")
(synopsis "Generic asyncio RPC implementation")
(description
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e7b3b98c96..6b65e112d1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -35271,23 +35271,23 @@ handling those variations.")
(define-public python-qdarkstyle
(package
(name "python-qdarkstyle")
- (version "2.8.1")
+ (version "3.2.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "QDarkStyle" version))
(sha256
(base32
- "0883vzg35fzpyl1aiijzpfcdfvpq5vi325w0m7xkx7nxplh02fym"))))
- (build-system python-build-system)
- (arguments
- `(;; Fails unable to detect valid Qt bindings even when
- ;; added as native-inputs.
- #:tests? #f))
+ "1bpi0asa7sd5ch6x6b60n5yias04nsx6kcwji40228g9lrs7y2qc"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-pytest
+ python-qtsass
+ python-setuptools
+ python-watchdog
+ python-wheel))
(propagated-inputs
- (list python-helpdev python-qtpy))
- (home-page
- "https://github.com/ColinDuquesnoy/QDarkStyleSheet")
+ (list python-qtpy python-pyqt-6))
+ (home-page "https://github.com/ColinDuquesnoy/QDarkStyleSheet")
(synopsis
"Complete dark stylesheet for Python and Qt applications")
(description "QDarkStyle is the most complete dark stylesheet for Python and
diff --git a/gnu/packages/rpc.scm b/gnu/packages/rpc.scm
index c083074cc7..36c937dcef 100644
--- a/gnu/packages/rpc.scm
+++ b/gnu/packages/rpc.scm
@@ -49,10 +49,21 @@
#:use-module (gnu packages tls)
#:use-module (srfi srfi-1))
+;; XXX: Starting from version 1.47.5, opencensus-proto is required.
+;; The package is already deprecated upstream, so it's probably not
+;; worth it spending time packaging it in Guix, just inject the source
+;; instead, to also avoid us a recursive git fetch.
+(define opencensus-proto-for-grpc-source
+ (origin
+ (method url-fetch)
+ (uri "https://github.com/census-instrumentation/opencensus-proto/archive/v0.3.0.tar.gz")
+ (sha256
+ (base32 "1c3jfl1zgjhhqyqii1wils2k05akkvrw50xmf0q0rs2r885kzqdp"))))
+
(define-public grpc
(package
(name "grpc")
- (version "1.34.0")
+ (version "1.52.2")
(outputs '("out" "static"))
(source (origin
(method git-fetch)
@@ -62,7 +73,7 @@
(file-name (git-file-name name version))
(sha256
(base32
- "1fs407hnlnm0b8sncjwys9rc7ia5nb7wxrpx39nq3pzzfs1lv3vq"))))
+ "09165p6rh5xvcnnwnmy22lwdfchgjg39y02rwj6zg4rzfps8cb43"))))
(build-system cmake-build-system)
(arguments
(list
@@ -80,6 +91,11 @@
"-DCMAKE_VERBOSE_MAKEFILE=ON")
#:phases
#~(modify-phases %standard-phases
+ (add-after 'unpack 'unpack-third-party
+ (lambda _
+ (mkdir-p "third_party/opencensus-proto/src")
+ (invoke "tar" "xvf" #+opencensus-proto-for-grpc-source
+ "-C" "third_party/opencensus-proto/src")))
(add-before 'configure 'configure-shared
(lambda* (#:key configure-flags #:allow-other-keys)
(mkdir "../build-shared")
@@ -125,24 +141,6 @@ mile of distributed computing to connect devices, mobile applications and
browsers to backend services.")
(license license:asl2.0)))
-(define-public grpc-for-python-grpcio
- (package
- (inherit grpc)
- (name "grpc")
- (version "1.47.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/grpc/grpc")
- (commit (string-append "v" version))
- (recursive? #true)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1nl2d92f3576m69991d7gwyk1giavm04fagr612yjh90rni01ikw"))))
- (inputs
- (list abseil-cpp-20211102.0 c-ares/cmake openssl re2 zlib))))
-
;; Some packages require this older version.
(define-public grpc-1.16.1
(package
@@ -200,14 +198,13 @@ type information of gRPC.")
(define-public python-grpcio
(package
(name "python-grpcio")
- (version "1.47.0")
+ (version "1.52.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "grpcio" version))
(sha256
- (base32
- "00gqhz0b1sqnfx6zy7h5z41b6mpsq57r1f3p95xradcvmdgskfsx"))
+ (base32 "1nsgm8q4yahzdab4m3irffdw9zklq4kb7f8hki1ayfgw54ysim55"))
(modules '((guix build utils) (ice-9 ftw)))
(snippet
'(begin
@@ -252,7 +249,7 @@ type information of gRPC.")
(substitute* '("setup.py" "src/python/grpcio/commands.py")
(("'cc'") "'gcc'")))))))
(inputs
- (list abseil-cpp-20211102.0 c-ares grpc-for-python-grpcio openssl re2 zlib))
+ (list abseil-cpp-cxxstd11 c-ares grpc openssl re2 zlib))
(native-inputs
(list python-cython python-setuptools python-wheel))
(propagated-inputs
@@ -266,29 +263,32 @@ with the HTTP/2-based RPC framework gRPC.")
(define-public python-grpcio-tools
(package
(name "python-grpcio-tools")
- (version "1.47.0")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "grpcio-tools" version))
- (modules '((guix build utils)))
- (snippet
- ;; This file is auto-generated.
- '(delete-file "grpc_tools/_protoc_compiler.cpp"))
- (sha256
- (base32
- "0g3xwv55lvf5w64zb44dipwqz7729cbqc7rib77ddqab91w56jzn"))))
- (build-system python-build-system)
+ (version "1.52.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "grpcio-tools" version))
+ (modules '((guix build utils)))
+ (snippet
+ ;; This file is auto-generated.
+ '(delete-file "grpc_tools/_protoc_compiler.cpp"))
+ (sha256
+ (base32 "0m5xwhz3l0n3b1bzjncynwflnc5iyv4xrjq046ppcck4rpj9fgn0"))))
+ (build-system pyproject-build-system)
(arguments
- (list #:phases #~(modify-phases %standard-phases
- (add-after 'unpack 'configure
- (lambda _
- (setenv "GRPC_PYTHON_BUILD_WITH_CYTHON" "1"))))))
- (native-inputs (list python-cython))
- (propagated-inputs (list python-grpcio python-protobuf))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'configure
+ (lambda _
+ (setenv "GRPC_PYTHON_BUILD_WITH_CYTHON" "1"))))))
+ (native-inputs (list python-cython python-setuptools python-wheel))
+ (propagated-inputs (list python-grpcio python-protobuf-4))
(home-page "https://grpc.io")
(synopsis "Protobuf code generator for gRPC")
- (description "The gRPC tools for Python provide a special plugin for
-generating server and client code from @file{.proto} service definitions.")
+ (description
+ "The gRPC tools for Python provide a special plugin for generating server
+and client code from @file{.proto} service definitions.")
(license license:asl2.0)))
(define-public apache-thrift
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 8c1f887a29..8a0d2daf5a 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -9859,43 +9859,6 @@ provided by a TLS reverse proxy (e.g. tlstunnel, hitch or stunnel).")
the Fediring.")
(license (list license:cc0 license:bsd-2)))))
-(define-public archivebox
- (package
- (name "archivebox")
- (version "0.6.2")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri name version))
- (sha256
- (base32
- "1mnq82ynq01l7vx957bbx4bvgwdh59qsnx6pdydaqszbakp74yyc"))))
- (build-system python-build-system)
- (propagated-inputs
- (list curl
- node-lts))
- (inputs
- (list python
- youtube-dl
- wget
- git
- python-w3lib
- python-ipython
- python-croniter
- python-crontab
- python-dateparser
- python-django-extensions
- python-django-3.1.14
- python-mypy-extensions))
- (native-inputs
- (list python-wheel))
- (synopsis "Self-hosted Web archiving")
- (description "ArchiveBox is a powerful, self-hosted Web archiving
-solution to collect, save, and view sites you want to preserve offline.
-You can feed it URLs one at a time, or schedule regular imports. It saves
-snapshots of the URLs you feed it in several formats.")
- (home-page "https://archivebox.io/")
- (license license:expat)))
-
(define-public awslogs
(package
(name "awslogs")
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 80adb463ec..dc2f0b0db1 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -1929,43 +1929,6 @@ limited size and a few external dependencies. It is configurable via
;; LICENSE LICENSE.dwm LICENSE.tinywl
(license (list license:gpl3+ license:expat license:cc0))))
-(define-public nitrogen
- (package
- (name "nitrogen")
- (version "1.6.1")
- (source (origin
- (method url-fetch)
- (uri (string-append "http://github.com/l3ib/nitrogen/"
- "releases/download/" version "/"
- name "-" version ".tar.gz"))
- (sha256
- (base32
- "0zc3fl1mbhq0iyndy4ysmy8vv5c7xwf54rbgamzfhfvsgdq160pl"))))
- (build-system gnu-build-system)
- (inputs
- (list gtk+-2 gtkmm-2 glib glibmm))
- (native-inputs
- (list pkg-config))
- (home-page "http://projects.l3ib.org/nitrogen/")
- (synopsis "Background browser and setter for X windows")
- (description
- "This package is a background browser and setter for X windows. It's
-features are:
-
-@itemize
-@item Multihead and Xinerama aware
-@item Recall mode to used via startup script
-@item Uses freedesktop.org standard for thumbnails
-@item Can set GNOME background
-@item Command lie set modes for script use
-@item Inotify monitoring of browse directory
-@item Lazy loading of thumbnails - conserves memory
-@item \"Automatic\" set mode - determines best mode to set an image based on
-its size
-@item Display preview images in a tiled icon layout
-@end itemize")
- (license license:gpl2+)))
-
(define-public polybar
(package
(name "polybar")
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 3d7b270bca..1af8930ce1 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -11,7 +11,7 @@
;;; Copyright © 2015 Florian Paul Schmidt <mista.tapas@gmx.net>
;;; Copyright © 2016 Christine Lemmer-Webber <cwebber@dustycloud.org>
;;; Copyright © 2016, 2018 Ricardo Wurmus <rekado@elephly.net>
-;;; Copyright © 2016-2021, 2023 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016-2021, 2023, 2025 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
;;; Copyright © 2016, 2017, 2019, 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2016 Petter <petter@mykolab.ch>
@@ -906,26 +906,22 @@ typing tool (@code{wtype}, @code{xdotool}, etc.), or via standard output.")
(source
(origin
(method url-fetch)
- (uri
- (string-append
- "https://www.cairographics.org/releases/pixman-"
- version ".tar.gz"))
+ (uri (string-append "https://www.cairographics.org/releases/pixman-"
+ version ".tar.gz"))
(sha256
(base32 "0pk298iqxqr64vk3z6nhjwr6vjg1971zfrjkqy5r9zd2mppq057a"))
- (patches
- (search-patches
- "pixman-CVE-2016-5296.patch"))))
+ (patches (search-patches "pixman-CVE-2016-5296.patch"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags
- (list
- "--disable-static"
- "--enable-timers"
- "--enable-gnuplot")))
- (native-inputs
- (list pkg-config))
- (inputs
- (list libpng zlib))
+ (list "--disable-static"
+ "--enable-timers"
+ "--enable-gnuplot"
+ ,@(if (target-arm32?)
+ `("--disable-arm-simd")
+ '()))))
+ (native-inputs (list pkg-config))
+ (inputs (list libpng zlib))
(synopsis "Low-level pixel manipulation library")
(description "Pixman is a low-level software library for pixel
manipulation, providing features such as image compositing and trapezoid