~ruther/guix-local

0d60dc967dc3a5c369d6cd3604472af3a11f6507 — Lilah Tascheter 2 months ago d186148
gnu: python-xyz: Add python-pyhimitsu.

* gnu/packages/python-xyz.scm (python-pyhimitsu): New variable.

Change-Id: Ia8ad95f466f749152c8c16ad71fc46de9c32f615
1 files changed, 27 insertions(+), 0 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +27 -0
@@ 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.