From 0d60dc967dc3a5c369d6cd3604472af3a11f6507 Mon Sep 17 00:00:00 2001 From: Lilah Tascheter Date: Tue, 2 Dec 2025 12:48:29 -0600 Subject: [PATCH] gnu: python-xyz: Add python-pyhimitsu. * gnu/packages/python-xyz.scm (python-pyhimitsu): New variable. Change-Id: Ia8ad95f466f749152c8c16ad71fc46de9c32f615 --- gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 3677d0ec708..4d99680ed48 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5176,6 +5176,33 @@ untrusted sources, pickling is avoided in this package.") capabilities and attributes, similar to the prctl syscall.") (license license:gpl3+))) +(define-public python-pyhimitsu + (package + (name "python-pyhimitsu") + (version "0.0.9") + (source (origin + (method url-fetch) + (uri (pypi-uri "py_himitsu" version)) + (sha256 + (base32 + "1kljxhjvfy945zij8fif3s6xzgcyslxz99mv460iy0anzj433pj5")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda _ + ;; (setenv "PYTHONPATH" (getenv "GUIX_PYTHONPATH")) + (invoke "make" "check")))))) + (native-inputs (list python-hatchling)) + (propagated-inputs (list python-pyxdg)) + (home-page "https://git.sr.ht/~apreiml/py-himitsu") + (synopsis "Himitsu client protocol implementation in Python") + (description "This package provides a library for writing Himitsu client +programs in Python.") + (license license:expat))) + (define-public python-hjson ;; Using commit from master branch as the PyPI version does not contain ;; the hjson/tests/ directory.