Compare commits

...

29 commits

Author SHA1 Message Date
宋文武
0cf5958c42
gnu: sdl3: Use pipewire-minimal.
* gnu/packages/sdl.scm (sdl3)[propagated-inputs]: Replace pipewire with
pipewire-minimal.

Change-Id: I1e0a7542b8e8ec83f55dfaa9e20dfadbded40ccd
Signed-off-by: Gabriel Wicki <gabriel@erlikon.ch>
2025-10-01 19:12:37 +02:00
宋文武
396e7fb8df
gnu: mpv: Use pipewire-minimal.
* gnu/packages/video.scm (mpv)[propagated-inputs]: Replace pipewire with
pipewire-minimal.

Change-Id: I45781ec304c892ba30ff5c30a4ae7f8a2c311476
Signed-off-by: Gabriel Wicki <gabriel@erlikon.ch>
2025-10-01 19:12:37 +02:00
宋文武
8fb3ddda57
gnu: Add pipewire-minimal.
* gnu/packages/linux.scm (pipewire-minimal): New variable.

Change-Id: Ibe30029f63b0cf3085f33569a8c165f0e48434ce
Signed-off-by: Gabriel Wicki <gabriel@erlikon.ch>
2025-10-01 19:12:34 +02:00
Cayetano Santos
5f04a1d709
etc: guix-install.sh: Update GNU_URL.
* etc/guix-install.sh (GNU_URL): Update to generic mirror URL.

Change-Id: I7197691d2ed7b125a1fbc6ca774be7a34b81c121
Signed-off-by: Gabriel Wicki <gabriel@erlikon.ch>
2025-10-01 18:42:24 +02:00
Cayetano Santos
fa7440a30c
gnu: osvvm: Conditionnally run tests.
* gnu/packages/electronics.scm (osvvm)[arguments]: Use #:tests? in check
* gnu/packages/electronics.scm (osvvm-2023.04)[arguments]: Disable #:tests?.

Change-Id: Icca5d7158abe8339e00be14d0672b2797a8a36ea
Signed-off-by: Gabriel Wicki <gabriel@erlikon.ch>
2025-10-01 18:42:23 +02:00
Cayetano Santos
9e299926c6
gnu: nextpnr: Add icestorm and prjtrellis checks.
* gnu/packages/electronics.scm (nextpnr)[arguments]: Add
run-icestorm-examples and run-prjtrellis-examples phases.
[native-inputs]: Add icestorm and prjtrellis.

Change-Id: Icd94efb4deb53430412422e03acc19d036470f88
Signed-off-by: Gabriel Wicki <gabriel@erlikon.ch>
2025-10-01 18:42:23 +02:00
Simeon Prause
98a9cf0ec9
gnu: wavpack: Update to 5.8.1.
* gnu/packages/audio.scm (wavpack): Update to 5.8.1.

Change-Id: I9f9d2a9fd1ca63651353f8724f681722920610f5
Signed-off-by: Gabriel Wicki <gabriel@erlikon.ch>
2025-10-01 18:42:23 +02:00
Cayetano Santos
b9ed2f6818
gnu: m8c: Update to 2.2.0.
* gnu/packages/electronics.scm (m8c): Update to 2.2.0.

Change-Id: Id0ab3cf276593556dfd06a8e1f73e43efa82071d
Signed-off-by: Gabriel Wicki <gabriel@erlikon.ch>
2025-10-01 18:42:20 +02:00
Sharlatan Hellseher
8fb1ccf129
gnu: python-pyvcf3: Fix tests.
* gnu/packages/bioinformatics.scm (python-pyvcf3)[native-inputs]:
Remove python-wheel; add python-pytest.

Change-Id: I7ff63f2b6a19662570a76fd597f8741e32218c3b
2025-10-01 17:02:39 +01:00
Sharlatan Hellseher
fbbb2205fb
gnu: python-pygpgme: Update to 0.6.
* gnu/packages/gnupg.scm (python-pygpgme): Update to 0.6.
[argument] <test-flags>: Skip one failing test.
[native-inputs]: Remove python-wheel; add pkg-config and python-pytest.

Change-Id: I1b58d556e51c0920773b7139f916fb7adc2cf47a
2025-10-01 16:43:02 +01:00
Mark Walker
6c2c8e566d
gnu: Add ghc-portmidi.
* gnu/packages/haskell-xyz.scm (ghc-portmidi): New variable.

Change-Id: Ib88052e7ac9ad6aab3721a4f31a4ceccdae1619c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-01 16:25:45 +01:00
Sharlatan Hellseher
8cae62c191
gnu: heatwave: Fix build.
* gnu/packages/version-control.scm (heatwave)[arguments] <tests?>: No
tests in PyPI.
[native-inputs]: Add python-setuptools.

Change-Id: I198bb0e47bcf8a4b820752c378cd3919a203e92d
2025-10-01 15:25:31 +01:00
Sharlatan Hellseher
011de0d1f5
gnu: python-monthdelta: Fix tests.
* gnu/packages/python-xyz.scm (python-monthdelta)[arguments]
<test-backend>: Use 'unittest.
[native-inputs]: Remove python-wheel.

Change-Id: I9e23db42377deef7c6cc321217bbb130861ba890
2025-10-01 15:25:05 +01:00
Sharlatan Hellseher
e5579dc5de
gnu: umi-tools: Fix tests.
* gnu/packages/bioinformatics.scm (umi-tools)[arguments] <test-flags>:
Skip style and broken test files.
<phases>: Add 'fix-bash-path and 'build-extensions.
[native-inputs]: Remove python-wheel; add python-cython, python-pyaml,
and python-pytest.

Change-Id: I96da9eaed696bc94999e41cffe88a47500542754
2025-10-01 15:02:06 +01:00
Sharlatan Hellseher
2605ef607e
gnu: python-pybktree: Disable tests.
* gnu/packages/python-xyz.scm (python-pybktree)[argumens] <tests?>: No tests.
[native-inputs]: Remove python-wheel.

Change-Id: I6663ce2a60a78ec89a4b26653546aab9a7fbe256
2025-10-01 15:02:06 +01:00
Sughosha
9aea4bdf01
gnu: kpipewire: Fix build.
* gnu/packages/kde-plasma.scm (kpipewire)[inputs]: Replace ffmpeg with
ffmpeg-6.

Change-Id: I2f89ffbfeeca28ee12743072b6fdb5ff4ccab471
2025-10-01 19:13:13 +05:30
Ghislain Vaillant
f627558ec7
gnu: Add python-inotify.
* gnu/packages/python-xyz.scm (python-inotify): New variable.

Change-Id: Iff49c585ee257161c86e6ef12f84233d33e504ae
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-01 13:54:53 +01:00
Evgenii Klimov
db6d6b00e7
gnu: python-inline-snapshot: Update to 0.29.1.
* gnu/packages/python-check.scm (python-inline-snapshot): Update to 0.29.1.
[arguments] <test-flags>: Run tests in parallel, rework ignored and
skipped tests to prevent adding MyPy and Pyright.
[propagated-inputs]: Remove python-black, python-click, python-mkdocs,
python-tomli, and python-typing-extensions.
[native-inputs]: Remove python-mypy, python-pydantic, and python-pytest;
add python-black, python-freezer, python-pydantic-2,
python-pytest-bootstrap, python-pytest-xdist.

Change-Id: I8d831efc1ef52f94037ce349cffecfe79ab4efd9
Modified-by: Efraim Flashner <efraim@flashner.co.il>
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2025-10-01 13:35:10 +01:00
Sughosha
0d42fc1624
gnu: kid3: Fix build.
* gnu/packages/kde-multimedia.scm (kid3)[arguments]<#:configure-flags>: Add
"-DWITH_FFMPEG=ON".
[native-inputs]: Remove ffmpeg-4.
[inputs]: Add ffmpeg-6.

Change-Id: I52236bfdb525473e83b5f6f6ed2d8a55026e1e16
2025-10-01 17:32:39 +05:30
Sughosha
aceaa49d82
gnu: k3b: Fix build.
* gnu/packages/kde-multimedia.scm (k3b)[inputs]: Replace ffmpeg with ffmpeg-6.

Change-Id: Id50db4915ed5407675c11d2c672e8e0d474975ec
2025-10-01 17:28:57 +05:30
Sughosha
36ec3c09b7
gnu: mlt: Fix build.
* gnu/packages/video.scm (mlt)[inputs]: Replace ffmpeg with ffmpeg-6.

Change-Id: Icb3ddd3ba09eef273886f64e3b4a9586517644c1
2025-10-01 17:09:57 +05:30
Sharlatan Hellseher
885fbb4cfe
gnu: python-mastodon-py: Update to 2.1.4.
* gnu/packages/fediverse.scm (python-mastodon-py): Update to 2.1.4.
[build-system]: Switch to pyproject-build-system.
[arguments] <phases>: Add 'set-check-environment.
[propagated-inputs]: Remove python-pytz and python-six; add
python-cryptography, python-grapheme, and python-http-ece.
[native-inputs]: Remove python-blurhash, python-cryptography,
python-http-ece, python-pytest-runner, and python-pytest-vcr; add
nss-certs-for-test, python-pytest-recording, python-pytest-retry,
python-pytz, python-setuptools, and tzdata-for-tests.

Change-Id: I34cd7d5ee68cde737793f00b6f4e6b9cd0f915d3
2025-10-01 12:13:44 +01:00
Sharlatan Hellseher
6e5be16da6
gnu: Add python-pytest-recording.
* gnu/packages/python-check.scm (python-pytest-recording): New variable.

Change-Id: I73a9132a7a19528790c8817ad75fd87c2d4520ff
2025-10-01 12:13:44 +01:00
Sharlatan Hellseher
3aaee878ab
gnu: Add python-pytest-retry.
* gnu/packages/python-check.scm (python-pytest-retry): New variable.

Change-Id: I3f9b318d8195633d75383bfacf843fd8f597395c
2025-10-01 12:13:44 +01:00
Sharlatan Hellseher
18dbf1571b
gnu: Add python-grapheme.
* gnu/packages/python-xyz.scm (python-grapheme): New variable.

Change-Id: Ia24a261eae6f36d97022e0c78a0b492b90131054
2025-10-01 12:13:44 +01:00
Efraim Flashner
3cca86b369
gnu: toot: Enable TUI graphics.
* gnu/packages/fediverse.scm (toot)[inputs]: Add python-pillow,
python-term-image.
[native-inputs]: Remove python-pillow.

Change-Id: I51bf2843c1890f2a1dc2f29f00697708595728fd
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2025-10-01 12:13:44 +01:00
Efraim Flashner
c794bf4b81
gnu: Add python-term-image.
* gnu/packages/python-xyz.scm (python-term-image): New variable.

Change-Id: I5f5da625ff99b79a1351cc938139c0d0717e0cd3
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2025-10-01 12:13:43 +01:00
Efraim Flashner
1bef690046
gnu: vte/gtk+-3: Set upstream name.
* gnu/packages/gnome.scm (vtk/gtk+-3)[properties]: New field.

Change-Id: I93bb7af4d5e2646f78e37350ccf64fb974d19825
2025-10-01 13:38:07 +03:00
Efraim Flashner
21467e43f1
gnu: libinput-minimal: Fix build on 32-bit systems.
* gnu/packages/freedesktop.scm (libinput)[arguments]: When building for
a 32-bit system add a phase to fix the test suite.

Change-Id: I9bb40e17cd83e61ff6a4cb7adf6b9a4685bd9246
2025-10-01 13:38:03 +03:00
17 changed files with 386 additions and 90 deletions

View file

@ -97,8 +97,7 @@ WAR=$'[ \033[33;1mWARN\033[0m ] '
INF="[ INFO ] " INF="[ INFO ] "
DEBUG=0 DEBUG=0
GNU_URL="https://ftp.gnu.org/gnu/guix/" GNU_URL="https://ftpmirror.gnu.org/gnu/guix/"
#GNU_URL="https://alpha.gnu.org/gnu/guix/"
# The following associative array holds set of GPG keys used to sign the # The following associative array holds set of GPG keys used to sign the
# releases, keyed by their corresponding Savannah user ID. # releases, keyed by their corresponding Savannah user ID.

View file

@ -4910,26 +4910,19 @@ key of digital audio.")
(define-public wavpack (define-public wavpack
(package (package
(name "wavpack") (name "wavpack")
(version "5.4.0") (version "5.8.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/dbry/WavPack/releases/download/" (uri (string-append "https://github.com/dbry/WavPack/releases/download/"
version "/wavpack-" version ".tar.xz")) version "/wavpack-" version ".tar.xz"))
(sha256 (sha256
(base32 "0ycbqarw25x7208jilh86vwwiqklr7f617jps9mllqc659mnmpjb")))) (base32 "09hcbkjlg00gdcyqfviqa76wpx4xz4waxhfgmx88hb30k1a7f8kk"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:configure-flags '(#:configure-flags
(list "--disable-static" (list "--disable-static"
"--enable-tests") "--enable-tests")))
#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "./cli/wvtest" "--default" "--short"))
#t)))))
(home-page "https://www.wavpack.com/") (home-page "https://www.wavpack.com/")
(synopsis "Hybrid lossless audio codec") (synopsis "Hybrid lossless audio codec")
(description (description

View file

@ -21816,16 +21816,32 @@ throughput chromatin profiles. Typical use cases include:
(package (package
(name "umi-tools") (name "umi-tools")
(version "1.1.6") (version "1.1.6")
;; TODO: Delete generated Cython C files.
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/CGATOxford/UMI-tools") (url "https://github.com/CGATOxford/UMI-tools")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1liykfj4msvcgk8an5qq802jcxwlijqxrvijipqj1pwpxqzl9qnh")))) (base32 "1liykfj4msvcgk8an5qq802jcxwlijqxrvijipqj1pwpxqzl9qnh"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments
(list
#:test-flags
#~(list "--ignore=tests/test_style.py"
"--ignore=step1_unit_test.py")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-bash-path
(lambda _
(substitute* "tests/test_umi_tools.py"
(("/bin/bash")
(which "sh")))))
(add-before 'check 'build-extensions
(lambda _
(invoke "python" "setup.py" "build_ext" "--inplace"))))))
(inputs (inputs
(list python-pandas (list python-pandas
python-future python-future
@ -21836,7 +21852,10 @@ throughput chromatin profiles. Typical use cases include:
python-scipy python-scipy
python-pysam)) python-pysam))
(native-inputs (native-inputs
(list python-setuptools python-wheel)) (list python-cython
python-pyaml
python-pytest
python-setuptools))
(home-page "https://github.com/CGATOxford/UMI-tools") (home-page "https://github.com/CGATOxford/UMI-tools")
(synopsis "Tools for analyzing unique modular identifiers") (synopsis "Tools for analyzing unique modular identifiers")
(description "This package provides tools for dealing with @dfn{Unique (description "This package provides tools for dealing with @dfn{Unique
@ -24259,7 +24278,7 @@ for the analysis and visualization of raw nanopore signal.")
(base32 "0i4j5bq5q32q216ja7yvg0mpww5j0b9p8ky5bya4d31wqmygal8z")))) (base32 "0i4j5bq5q32q216ja7yvg0mpww5j0b9p8ky5bya4d31wqmygal8z"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(propagated-inputs (list python-setuptools)) (propagated-inputs (list python-setuptools))
(native-inputs (list python-setuptools python-wheel)) (native-inputs (list python-pytest python-setuptools))
(home-page "https://github.com/dridk/PyVCF3") (home-page "https://github.com/dridk/PyVCF3")
(synopsis "Variant Call Format parser for Python") (synopsis "Variant Call Format parser for Python")
(description "This package provides a @acronym{VCF,Variant Call Format} (description "This package provides a @acronym{VCF,Variant Call Format}

View file

@ -827,7 +827,7 @@ supported devices, as well as input/output file format support.")
(define-public m8c (define-public m8c
(package (package
(name "m8c") (name "m8c")
(version "2.1.0") (version "2.2.0")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -836,7 +836,7 @@ supported devices, as well as input/output file format support.")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1vv0m4ry23nns5a47m2n9k6i3wly2jjc5n1j3l7sh1m480ga3d42")))) (base32 "1mx4n5di1bsm4ill55sf4dfa5rldrch0mrr4mk83x0xqd2rfy2mp"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
(list (list
@ -921,6 +921,10 @@ which allows one to install the M8 firmware on any Teensy.")
(string-append "-DTRELLIS_INSTALL_PREFIX=" (string-append "-DTRELLIS_INSTALL_PREFIX="
#$(this-package-input "prjtrellis")) #$(this-package-input "prjtrellis"))
"-DUSE_IPO=OFF") "-DUSE_IPO=OFF")
#:modules '((guix build qt-build-system)
(guix build utils)
(ice-9 ftw)
(srfi srfi-26))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
;; Required by himbaechel architecture, ng-ultra support. ;; Required by himbaechel architecture, ng-ultra support.
@ -947,10 +951,42 @@ which allows one to install the M8 firmware on any Teensy.")
(("\\$\\{CMAKE_SOURCE_DIR}/3rdparty/sanitizers-cmake/cmake") (("\\$\\{CMAKE_SOURCE_DIR}/3rdparty/sanitizers-cmake/cmake")
(string-append (string-append
#$(this-package-native-input "sanitizers-cmake") #$(this-package-native-input "sanitizers-cmake")
"/share/sanitizers-cmake/cmake")))))))) "/share/sanitizers-cmake/cmake")))))
(add-after 'install 'run-icestorm-examples
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(setenv "PATH"
(string-append #$output "/bin:" (getenv "PATH")))
;; Tests need write access.
(copy-recursively
(string-append
#$(this-package-native-input "icestorm") "/examples")
"/tmp/icestorm/examples")
(with-directory-excursion "/tmp/icestorm/examples"
(for-each
(cut invoke "make" "-C" <>)
(scandir "." (negate (cut member <> '("." "..")))))))))
(add-after 'run-icestorm-examples 'run-prjtrellis-examples
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(setenv "PATH"
(string-append #$output "/bin:" (getenv "PATH")))
;; Tests need write access.
(copy-recursively
(string-append
#$(this-package-native-input "prjtrellis") "/examples")
"/tmp/prjtrellis/examples")
(with-directory-excursion "/tmp/prjtrellis/examples"
(for-each
(cut invoke "make" "-C" <>)
;; Other tests require unavailable tools.
(list "ecp5_evn" "tinyfpga_rev1"
"tinyfpga_rev2" "versa5g")))))))))
(native-inputs (native-inputs
(list googletest `(("icestorm" ,(package-source icestorm))
sanitizers-cmake)) ("googletest" ,googletest)
("prjtrellis" ,(package-source prjtrellis))
("sanitizers-cmake" ,sanitizers-cmake)))
(inputs (inputs
(list apycula (list apycula
boost boost
@ -1357,12 +1393,13 @@ GUI for sigrok.")
(("\\[FindOsvvmSettingsDirectory\\]") (("\\[FindOsvvmSettingsDirectory\\]")
" \"\" ")))) " \"\" "))))
(add-after 'fix-scripts 'check (add-after 'fix-scripts 'check
(lambda _ (lambda* (#:key tests? #:allow-other-keys)
(setenv "OSVVM_DIR" (getcwd)) (when tests?
(setenv "OSVVM_MUST_BUILD" (getcwd)) (setenv "OSVVM_DIR" (getcwd))
(invoke "tclsh" (setenv "OSVVM_MUST_BUILD" (getcwd))
(string-append #$(this-package-native-input "nvc") (invoke "tclsh"
"/test/test-osvvm.tcl"))))))) (string-append #$(this-package-native-input "nvc")
"/test/test-osvvm.tcl"))))))))
(native-inputs (native-inputs
(list nvc tcl tcllib which)) (list nvc tcl tcllib which))
(native-search-paths (native-search-paths
@ -1398,6 +1435,8 @@ verification.")
(base32 "1kn18ibvm7bzdyw2d914284wriravyh5qwfarj06pb052x1yblyx")))) (base32 "1kn18ibvm7bzdyw2d914284wriravyh5qwfarj06pb052x1yblyx"))))
(arguments (arguments
(substitute-keyword-arguments (package-arguments osvvm) (substitute-keyword-arguments (package-arguments osvvm)
((#:tests? _ #t)
#f)
((#:phases phases #~%standard-phases) ((#:phases phases #~%standard-phases)
#~(modify-phases #$phases #~(modify-phases #$phases
(delete 'fix-scripts))))))) (delete 'fix-scripts)))))))

View file

@ -34,6 +34,7 @@
#:use-module (guix utils) #:use-module (guix utils)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages bash) #:use-module (gnu packages bash)
#:use-module (gnu packages base)
#:use-module (gnu packages check) #:use-module (gnu packages check)
#:use-module (gnu packages curl) #:use-module (gnu packages curl)
#:use-module (gnu packages databases) #:use-module (gnu packages databases)
@ -44,6 +45,7 @@
#:use-module (gnu packages gstreamer) #:use-module (gnu packages gstreamer)
#:use-module (gnu packages gtk) #:use-module (gnu packages gtk)
#:use-module (gnu packages image) #:use-module (gnu packages image)
#:use-module (gnu packages nss)
#:use-module (gnu packages pkg-config) #:use-module (gnu packages pkg-config)
#:use-module (gnu packages python-build) #:use-module (gnu packages python-build)
#:use-module (gnu packages python-check) #:use-module (gnu packages python-check)
@ -137,7 +139,10 @@ the federation of interconnected video hosting services.")
python-requests python-requests
python-tomlkit python-tomlkit
python-urwid-3 python-urwid-3
python-wcwidth)) python-wcwidth
;; Required to display images in the TUI
python-pillow
python-term-image))
(home-page "https://github.com/ihabunek/toot/") (home-page "https://github.com/ihabunek/toot/")
(synopsis "Mastodon CLI client") (synopsis "Mastodon CLI client")
(description "Interact with Mastodon social network from the command line. (description "Interact with Mastodon social network from the command line.
@ -219,34 +224,47 @@ seamlessly with your desktop environment.")
(define-public python-mastodon-py (define-public python-mastodon-py
(package (package
(name "python-mastodon-py") (name "python-mastodon-py")
(version "1.5.1") (version "2.1.4")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "Mastodon.py" version)) (uri (pypi-uri "mastodon_py" version))
(sha256 (sha256
(base32 (base32 "1988sanhh4162jilffa7r1n9ylls5v868ndfmnsp0z5k9p5fj0k6"))))
"1vikvkzcij2gd730cssigxi38vlmzqmwdy58r3y2cwsxifnxpz9a")))) (build-system pyproject-build-system)
(build-system python-build-system) (arguments
(propagated-inputs (list
(list python-blurhash #:phases
python-dateutil #~(modify-phases %standard-phases
python-decorator (add-before 'check 'set-check-environment
python-magic (lambda* (#:key inputs #:allow-other-keys)
python-pytz (setenv "TZ" "UTC")
python-requests (setenv "TZDIR"
python-six)) (search-input-directory inputs
"share/zoneinfo")))))))
(native-inputs (native-inputs
(list python-blurhash (list nss-certs-for-test
python-cryptography
python-http-ece
python-pytest python-pytest
python-pytest-cov python-pytest-cov
python-pytest-mock python-pytest-mock
python-pytest-runner python-pytest-recording
python-pytest-vcr python-pytest-retry
python-pytz
python-requests-mock python-requests-mock
python-vcrpy)) python-setuptools
python-vcrpy
tzdata-for-tests))
(propagated-inputs
(list python-blurhash
python-decorator
python-dateutil
python-magic
python-requests
;; [optional]
python-blurhash
python-cryptography
python-grapheme ;project was not updated for 6y
python-http-ece))
(home-page "https://github.com/halcy/Mastodon.py") (home-page "https://github.com/halcy/Mastodon.py")
(synopsis "Python wrapper for the Mastodon API") (synopsis "Python wrapper for the Mastodon API")
(description (description

View file

@ -5,7 +5,7 @@
;;; Copyright © 2015-2017, 2019, 2021-2022, 2025 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2015-2017, 2019, 2021-2022, 2025 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015, 2017, 2018, 2019, 2021, 2022, 2023 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2015, 2017, 2018, 2019, 2021, 2022, 2023 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com> ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
;;; Copyright © 2016, 2017, 2019, 2021-2024 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2016, 2017, 2019, 2021-2025 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Kei Kebreau <kkebreau@posteo.net> ;;; Copyright © 2016 Kei Kebreau <kkebreau@posteo.net>
;;; Copyright © 2017 Nikita <nikita@n0.is> ;;; Copyright © 2017 Nikita <nikita@n0.is>
;;; Copyright © 2017, 2018 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2017, 2018 Mark H Weaver <mhw@netris.org>
@ -603,7 +603,16 @@ freedesktop.org project.")
;; XXX: Using 'debug' or 'debugoptimized' pulls in an additional test that ;; XXX: Using 'debug' or 'debugoptimized' pulls in an additional test that
;; hangs, and the comments around it suggests that we should be using this ;; hangs, and the comments around it suggests that we should be using this
;; Meson target anyway. ;; Meson target anyway.
#:build-type "release")) #:build-type "release"
#:phases
,@(if (target-64bit?)
`(%standard-phases)
`((modify-phases %standard-phases
;; Backported from a commit after the 1.29.0 release.
(add-after 'unpack 'correct-value-type-in-atou64_test
(lambda _
(substitute* "test/test-utils.c"
(("unsigned long val") "uint64_t val")))))))))
(native-inputs (native-inputs
(append (list check pkg-config python-minimal-wrapper python-pytest) (append (list check pkg-config python-minimal-wrapper python-pytest)
(if (%current-target-system) (if (%current-target-system)

View file

@ -4672,7 +4672,9 @@ editors, IDEs, etc.")
((#:configure-flags flags #~'()) ((#:configure-flags flags #~'())
#~(cons "-Dgtk4=false" (delete "-Dgtk3=false" #$flags))))) #~(cons "-Dgtk4=false" (delete "-Dgtk3=false" #$flags)))))
(propagated-inputs (modify-inputs (package-propagated-inputs vte) (propagated-inputs (modify-inputs (package-propagated-inputs vte)
(replace "gtk" gtk+))))) (replace "gtk" gtk+)))
(properties
`((upstream-name . "vte")))))
(define-public vte-with-sixel (define-public vte-with-sixel
(package/inherit vte (package/inherit vte

View file

@ -47,6 +47,7 @@
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
#:use-module (gnu packages bash) #:use-module (gnu packages bash)
#:use-module (gnu packages base) #:use-module (gnu packages base)
#:use-module (gnu packages check)
#:use-module (gnu packages curl) #:use-module (gnu packages curl)
#:use-module (gnu packages crypto) #:use-module (gnu packages crypto)
#:use-module (gnu packages emacs) #:use-module (gnu packages emacs)
@ -616,17 +617,26 @@ distributed separately.")
(define-public python-pygpgme (define-public python-pygpgme
(package (package
(name "python-pygpgme") (name "python-pygpgme")
(version "0.4") (version "0.6")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "pygpgme" version)) (uri (pypi-uri "pygpgme" version))
(sha256 (sha256
(base32 (base32
"1px1c5nqsls3fxg0zkyd9sgc5rxpdagvsadnp8fd5bmgrrjka5ws")))) "0k25y3c07bkmz6q87lcbsbf34gva99rmdf5gffd8c1r1sccjif1n"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments
(list
#:test-flags
;; gpgme.GpgmeError: (<ErrSource.DIRMNGR: 10>, <ErrCode.ENOENT: 32849>,
;; 'No such file or directory')
#~(list "--deselect=tests/test_import.py::ImportTestCase::test_import_keys")))
(native-inputs (native-inputs
(list gnupg python-setuptools python-wheel)) (list gnupg ;to run gpg-connect-agent
pkg-config
python-pytest
python-setuptools))
(inputs (inputs
(list gpgme)) (list gpgme))
(home-page "https://github.com/jhenstridge/pygpgme") (home-page "https://github.com/jhenstridge/pygpgme")

View file

@ -9336,6 +9336,24 @@ standard Read class, for better deserialisation of Haskell values from
Strings.") Strings.")
(license license:lgpl2.1))) (license license:lgpl2.1)))
(define-public ghc-portmidi
(package
(name "ghc-portmidi")
(version "0.2.0.0")
(source (origin
(method url-fetch)
(uri (hackage-uri "PortMidi" version))
(sha256
(base32
"1jb722gwgx1fdyv64nj3by22970l3r04ibc3fa3hnp3k4l2jvk0f"))))
(build-system haskell-build-system)
(inputs (list alsa-lib))
(home-page "https://github.com/PortMidi/PortMidi-haskell")
(synopsis "Haskell bindings for PortMedia/PortMidi")
(description "This is a Haskell module for PortMidi audio library,
which supports real-time MIDI input and output.")
(license license:bsd-3)))
(define-public ghc-pqueue (define-public ghc-pqueue
(package (package
(name "ghc-pqueue") (name "ghc-pqueue")

View file

@ -453,6 +453,7 @@ projects.")
#:configure-flags #:configure-flags
#~(list #~(list
"-DBUILD_WITH_QT6=ON" "-DBUILD_WITH_QT6=ON"
"-DWITH_FFMPEG=ON"
(string-append "-DDOCBOOK_XSL_DIR=" (string-append "-DDOCBOOK_XSL_DIR="
#$(this-package-native-input "docbook-xsl"))) #$(this-package-native-input "docbook-xsl")))
#:qtbase qtbase #:qtbase qtbase
@ -467,13 +468,13 @@ projects.")
(native-inputs (native-inputs
(list docbook-xsl (list docbook-xsl
extra-cmake-modules extra-cmake-modules
ffmpeg-4
kdoctools kdoctools
libxslt libxslt
python-minimal-wrapper python-minimal-wrapper
qttools)) qttools))
(inputs (inputs
(list chromaprint (list chromaprint
ffmpeg-6
flac flac
id3lib id3lib
kconfig kconfig
@ -548,7 +549,7 @@ variety of formats.")
cdrdao cdrdao
cdrtools cdrtools
dvd+rw-tools dvd+rw-tools
ffmpeg ffmpeg-6
flac flac
karchive karchive
kauth kauth

View file

@ -1057,7 +1057,7 @@ the schedule and venue information.")
(inputs (list libxkbcommon (inputs (list libxkbcommon
libva libva
pipewire pipewire
ffmpeg ffmpeg-6
kcoreaddons kcoreaddons
ki18n ki18n
kwayland kwayland

View file

@ -10986,6 +10986,26 @@ and Flatpak we expect PipeWire to provide a core building block for the future
of Linux application development.") of Linux application development.")
(license license:lgpl2.0+))) (license license:lgpl2.0+)))
(define-public pipewire-minimal
;; Used as libpipewire to reduce closure size and avoid dependency cycles.
(hidden-package
(package
(inherit pipewire)
(name "pipewire-minimal")
(arguments
(list
#:configure-flags
#~(list "-Dsession-managers=[]"
"-Ddbus=disabled"
"-Dflatpak=disabled"
;; XXX: Otherwise test_loop will fail with:
;; libgcc_s.so.1 must be installed for pthread_cancel to work
(string-append "-Dc_link_args=-Wl,-rpath=" #$output "/lib"
" -lgcc_s")
"-Db_asneeded=false")))
(native-inputs '())
(inputs '()))))
(define-public wireplumber (define-public wireplumber
(package (package
(name "wireplumber") (name "wireplumber")

View file

@ -1073,45 +1073,38 @@ to establish class invariants.")
(define-public python-inline-snapshot (define-public python-inline-snapshot
(package (package
(name "python-inline-snapshot") (name "python-inline-snapshot")
(version "0.18.2") (version "0.29.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "inline_snapshot" version)) (uri (pypi-uri "inline_snapshot" version))
(sha256 (sha256
(base32 "09pqgz4phal2pjkv03wg3gvj7jr89rrb93rfw4hd2x9v8px4mqqv")))) (base32 "19x5j97i96p3xr9xyjvwh0mmpcnypf8g5hf2jjm6g82ghsv3rrqp"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
;; tests: 518 passed, 88 skipped, 1 xfailed, 903 subtests passed
#:test-flags #:test-flags
;; Missing "freezer" fixture #~(list "--numprocesses" (number->string (min 8 (parallel-job-count)))
'(list "--ignore=tests/test_external.py" ;; To prevent adding mypy and pyright.
"--ignore=tests/test_pytest_plugin.py" "--ignore=tests/test_typing.py")))
"-k"
(string-append
"not test_trailing_comma"
;; Cannot use inline-snapshop when xdist is available.
" and not test_xdist"
" and not test_xdist_disabled"
" and not test_xdist_and_disable"
" and not test_typing"))))
(propagated-inputs (list python-asttokens
python-black
python-click
python-executing
python-mkdocs
python-rich
python-tomli
python-typing-extensions))
(native-inputs (native-inputs
(list python-dirty-equals (list python-black ;XXX: used in tests/conftest.py to self lint
python-dirty-equals
python-freezegun python-freezegun
python-hatchling python-hatchling
python-pydantic python-hypothesis
python-pytest python-pydantic-2
python-pytest-bootstrap
python-pytest-freezer
python-pytest-mock python-pytest-mock
python-pytest-subtests)) python-pytest-subtests
(home-page "https://pypi.org/project/inline-snapshot/") python-pytest-xdist))
(propagated-inputs
(list python-asttokens
python-executing
python-rich))
(home-page "https://github.com/15r10nk/inline-snapshot/")
(synopsis "Golden master/snapshot/approval testing library") (synopsis "Golden master/snapshot/approval testing library")
(description (description
"This package can be used for different things: "This package can be used for different things:
@ -2925,6 +2918,32 @@ The main usage is to use the @code{qtbot} fixture, responsible for handling
interaction, like key presses and mouse clicks.") interaction, like key presses and mouse clicks.")
(license license:expat))) (license license:expat)))
(define-public python-pytest-recording
(package
(name "python-pytest-recording")
(version "0.13.4")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pytest_recording" version))
(sha256
(base32 "133nj8vha63gv226f0gvqn16gnazbn2rqh8amv2fx4jrm2r693an"))))
(build-system pyproject-build-system)
(arguments
(list #:tests? #f)) ;XXX: more than 50% tets failed
(native-inputs
(list python-pytest-bootstrap
python-hatchling))
(propagated-inputs
(list python-vcrpy))
(home-page "https://github.com/kiwicom/pytest-recording")
(synopsis "Pytest support for recording and replaying HTTP traffic")
(description
"This package provides a Pytest plugin powered by
@url{https://vcrpy.readthedocs.io/en/latest/, VCR.py} to record and replay
HTTP traffic.")
(license license:expat)))
(define-public python-pytest-remotedata (define-public python-pytest-remotedata
(package (package
(name "python-pytest-remotedata") (name "python-pytest-remotedata")
@ -3014,6 +3033,27 @@ times.")
eliminate flaky failures.") eliminate flaky failures.")
(license license:mpl2.0))) (license license:mpl2.0)))
(define-public python-pytest-retry
(package
(name "python-pytest-retry")
(version "1.7.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pytest_retry" version))
(sha256
(base32 "03zqgl2y16pcf0w0sn7z9n1gaqmkspl9xfhigks9v50yy0wj7mgq"))))
(build-system pyproject-build-system)
(native-inputs
(list python-pytest-bootstrap
python-setuptools))
(home-page "https://github.com/str0zzapreti/pytest-retry")
(synopsis "Pytest plugin to retry flaky tests in CI environments")
(description
"This package provides a plugin for Pytest which adds the ability to retry
flaky tests, thereby improving the consistency of the test suite results.")
(license license:expat)))
;; This is only used by python-sanic ;; This is only used by python-sanic
(define-public python-pytest-sanic (define-public python-pytest-sanic
(package (package

View file

@ -949,6 +949,36 @@ part of @url{https://github.com/hgrecco/pint, Pint}, the Python units
package. ") package. ")
(license license:bsd-3))) (license license:bsd-3)))
(define-public python-grapheme
;; 0.6.0 has not git tag, PyPI has no tests. use the latest commit on master
;; branch.
(let ((commit "66f07ca02fc64a9ea2f9b4ad66593b226d473adb")
(revision "0"))
(package
(name "python-grapheme")
(version (git-version "0.6.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/alvinlindstam/grapheme")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "0fqw6iymg7s8q1pfwijx0awcj1j55jppx7hfa5ci7y0c7x4jc8v9"))))
(build-system pyproject-build-system)
(native-inputs
(list python-pytest
python-setuptools))
(home-page "https://github.com/alvinlindstam/grapheme")
(synopsis "Unicode grapheme helpers")
(description
"This package provides a functionality for working with user perceived
characters. More specifically, string manipulation and calculation functions
for working with grapheme cluster groups (graphemes) as defined by the
@url{http://unicode.org/reports/tr29/, Unicode Standard Annex #29}.")
(license license:expat))))
(define-public python-halo (define-public python-halo
(package (package
(name "python-halo") (name "python-halo")
@ -1052,6 +1082,37 @@ supports:
identities.") identities.")
(license license:asl2.0))) (license license:asl2.0)))
(define-public python-inotify
(package
(name "python-inotify")
(version "0.2.12")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/dsoprea/PyInotify")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1n1rqpzk70ap2i4zk2k0znz407i909y2001v65agy7y30apjzb67"))))
(build-system pyproject-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-requirements
(lambda _
(substitute* "inotify/resources/requirements.txt"
(("build")
"")))))))
(native-inputs (list python-pytest python-setuptools))
(home-page "https://github.com/dsoprea/PyInotify")
(synopsis "Linux filesystem activity monitor library for Python")
(description
"This package provides an efficient and elegant inotify (Linux filesystem
activity monitor) library for Python.")
(license license:gpl2)))
(define-public python-jsonpath-ng (define-public python-jsonpath-ng
(package (package
(name "python-jsonpath-ng") (name "python-jsonpath-ng")
@ -1622,6 +1683,62 @@ Form (EBNF) as input, and outputs a memoizing Parsing Expression Grammar (PEG)
or Packrat parser in Python.") or Packrat parser in Python.")
(license license:bsd-2))) (license license:bsd-2)))
(define-public python-term-image
(package
(name "python-term-image")
(version "0.7.2")
(source
(origin
;; We need the full repo to run the tests.
(method git-fetch)
(uri (git-reference
(url "https://github.com/AnonymouX47/term-image")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1lsd5m0k5m99arkca2rzrrlln10c8ax6xfawqwjnspcbf8l3h3dq"))))
(build-system pyproject-build-system)
(arguments
(list #:test-flags
#~(list "tests"
;; These tests require network access.
"-k" (string-append "not test_from_url"
" and not test_source"
" and not test_close"))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'adjust-dependencies
(lambda _
(substitute* "setup.py"
(("pillow>=9.1,<11") "pillow>=9.1,<12")))))))
(propagated-inputs (list python-pillow python-requests))
(native-inputs
(list python-pytest
python-setuptools
python-urwid))
(home-page "https://github.com/AnonymouX47/term-image")
(synopsis "Display images in the terminal")
(description "term-image is a library and program to display images on
compatible terminals.
Features:
@enumerate
@item Multiple image formats (basically all formats supported by
@code{PIL.Image.open()})
@item Multiple image source types: PIL image instance, local file, URL
@item Multiple image render styles (with automatic support detection)
@item Support for multiple terminal graphics protocols, including Kitty
@item Transparency support (with multiple options)
@item Animated image support (including transparent ones)
@item Integration into various TUI / terminal-based output libraries
@item Terminal size awareness
@item Automatic and manual image sizing
@item Horizontal and vertical alignment
@item Automatic and manual font ratio adjustment (to preserve image aspect
ratio)
@end enumerate")
(license license:expat)))
(define-public python-trubar (define-public python-trubar
(package (package
(name "python-trubar") (name "python-trubar")
@ -20749,6 +20866,7 @@ for the module to work under Python 3.3.")
text.") text.")
(license license:bsd-3))) (license license:bsd-3)))
;; XXX: Not maintained since 2012.
(define-public python-monthdelta (define-public python-monthdelta
(package (package
(name "python-monthdelta") (name "python-monthdelta")
@ -20760,7 +20878,9 @@ text.")
(sha256 (sha256
(base32 "0iwcsk7ryjw5h1wp10ykwd01f3am8gdlga6461q1v1njsk0rxh41")))) (base32 "0iwcsk7ryjw5h1wp10ykwd01f3am8gdlga6461q1v1njsk0rxh41"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(native-inputs (list python-setuptools python-wheel)) (arguments
(list #:test-backend #~'unittest))
(native-inputs (list python-setuptools))
(home-page "http://packages.python.org/MonthDelta") (home-page "http://packages.python.org/MonthDelta")
(synopsis "Date computations with months") (synopsis "Date computations with months")
(description (description
@ -29076,6 +29196,7 @@ working with iterables.")
Python.") Python.")
(license license:expat))) (license license:expat)))
;; XXX: Not maintained since 2020.
(define-public python-pybktree (define-public python-pybktree
(package (package
(name "python-pybktree") (name "python-pybktree")
@ -29087,7 +29208,9 @@ Python.")
(sha256 (sha256
(base32 "0asd2lw9c5l5wi4z24k7gkhlprpdkcvs8d94szk56x9xvmy07h7f")))) (base32 "0asd2lw9c5l5wi4z24k7gkhlprpdkcvs8d94szk56x9xvmy07h7f"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(native-inputs (list python-setuptools python-wheel)) (arguments
(list #:tests? #f)) ;no tests provided
(native-inputs (list python-setuptools))
(home-page "https://github.com/Jetsetter/pybktree") (home-page "https://github.com/Jetsetter/pybktree")
(synopsis "Pythonic BK-tree data structure") (synopsis "Pythonic BK-tree data structure")
(description (description

View file

@ -191,7 +191,7 @@ hardware.")
libxkbcommon libxkbcommon
libxrandr libxrandr
mesa ;required by wayland mesa ;required by wayland
pipewire pipewire-minimal
pulseaudio pulseaudio
wayland)) wayland))
(inputs (inputs

View file

@ -2971,6 +2971,7 @@ changeset itself; there won't be any extra commits. Either GnuPG or OpenSSL
can be used for signing.") can be used for signing.")
(license license:gpl2)))) ;per commitsigs.py (license license:gpl2)))) ;per commitsigs.py
;; XXX: Not maintained since 2019.
(define-public heatwave (define-public heatwave
(package (package
(name "heatwave") (name "heatwave")
@ -2982,6 +2983,10 @@ can be used for signing.")
(sha256 (sha256
(base32 "1zzwmb9hvbyswzjgap02rrq8p44hb6xlzk1wd8w01mh2vva0xlx7")))) (base32 "1zzwmb9hvbyswzjgap02rrq8p44hb6xlzk1wd8w01mh2vva0xlx7"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments
(list #:tests? #f)) ;no tests in PyPI
(native-inputs
(list python-setuptools))
(propagated-inputs (propagated-inputs
(list python-click (list python-click
python-gitpython python-gitpython

View file

@ -2745,7 +2745,7 @@ SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.")
;; XXX: lua > 5.2 is not currently supported; see meson.build ;; XXX: lua > 5.2 is not currently supported; see meson.build
lua-5.2 lua-5.2
mesa mesa
pipewire pipewire-minimal
pulseaudio pulseaudio
shaderc shaderc
wayland wayland
@ -3937,7 +3937,7 @@ from sites like Twitch.tv and pipes them into a video player of choice.")
(list alsa-lib (list alsa-lib
`(,alsa-plugins "pulseaudio") `(,alsa-plugins "pulseaudio")
bash-minimal bash-minimal
ffmpeg ffmpeg-6
fftw fftw
frei0r-plugins frei0r-plugins
gdk-pixbuf gdk-pixbuf