Inherit python-securetar

Evgeny PisemskySun Feb 02 20:00:21+0300 2025

12558d7

Inherit python-securetar

README

11
# SPDX-FileCopyrightText: 2024 Evgeny Pisemsky <mail@pisemsky.site>
2-
#
32
# SPDX-License-Identifier: GPL-3.0-or-later
43
54
#+title: guix-homeassistant

modules/homeassistant-package.scm

1-
;;; SPDX-FileCopyrightText: 2024 Evgeny Pisemsky <mail@pisemsky.site>
1+
;;; SPDX-FileCopyrightText: 2024, 2025 Evgeny Pisemsky <mail@pisemsky.site>
22
;;;
33
;;; SPDX-License-Identifier: GPL-3.0-or-later
44

8787
    (arguments (list #:tests? #f))
8888
    (native-inputs (list python-poetry-core))
8989
    (home-page "https://github.com/ludeeus/awesomeversion")
90-
    (synopsis
91-
     "One version package to rule them all, One version package to find them, One version package to bring them all, and in the darkness bind them.")
90+
    (synopsis "Create and compare version objects")
9291
    (description
93-
     "One version package to rule them all, One version package to find them, One
94-
version package to bring them all, and in the darkness bind them.")
92+
     "This package allows to make anything a version object, and compare
93+
against a vast section of other version formats.")
9594
    (license license:expat)))
9695
9796
(define-public python-ciso8601-for-homeassistant

419418
       (sha256
420419
        (base32 "1m5fqjqf53m31qrl8fxp2sbwf4mvk5mbjpw2jm2x8rgpmg5by36c"))))
421420
    (build-system pyproject-build-system)
422-
    (arguments '())
423-
    (native-inputs (list python-pytest python-netifaces python-setuptools python-wheel))))
421+
    (arguments
422+
     '())
423+
    (native-inputs (list python-pytest python-netifaces python-setuptools
424+
                         python-wheel))))
424425
425426
(define-public python-lru-dict
426427
  (package

765766
    (propagated-inputs (list python-click python-jinja2 python-terminaltables))
766767
    (home-page #f)
767768
    (synopsis
768-
     "Easy access of environment variables from Python with support for strings, booleans, list, tuples, and dicts.")
769+
     "Easy access of environment variables from Python with support for
770+
strings, booleans, list, tuples, and dicts.")
769771
    (description
770-
     "Easy access of environment variables from Python with support for strings,
771-
booleans, list, tuples, and dicts.")
772+
     "Easy access of environment variables from Python with support for
773+
strings, booleans, list, tuples, and dicts.")
772774
    (license license:asl2.0)))
773775
774776
(define-public python-pycognito

993995
    (native-inputs (list python-poetry-core python-setuptools))
994996
    (propagated-inputs (list python-async-timeout python-ifaddr-for-homeassistant))))
995997
996-
;; (define-public python-sqlalchemy-for-homeassistant
997-
;;   (package
998-
;;     (inherit python-sqlalchemy-2)
999-
;;     (version "2.0.15")
1000-
;;     (source
1001-
;;      (origin
1002-
;;        (method url-fetch)
1003-
;;        (uri (pypi-uri "SQLAlchemy" version))
1004-
;;        (sha256
1005-
;;         (base32 "1g4vpv2fijdg69vhsz8zx7v0zpxdb9njm7hd1vhhm1zgb630m51f"))))
1006-
;;     (native-inputs (modify-inputs (package-native-inputs python-sqlalchemy-2)
1007-
;;                      (append python-wheel)))))
1008-
1009998
;;; Dependencies for default configuration
1010999
10111000
(define-public python-pymetno

10941083
    (description "Asynchronous Python client for the Radio Browser API.")
10951084
    (license license:expat)))
10961085
1097-
(define-public python-securetar
1086+
(define-public python-securetar-for-homeassistant
10981087
  (package
1099-
    (name "python-securetar")
1088+
    (inherit python-securetar)
11001089
    (version "2023.3.0")
11011090
    (source
11021091
     (origin

11061095
        (base32 "166lgvz9xvf279alyba1xmi56q37231ybdb2s1jsqwpmzhwf6qpk"))))
11071096
    (build-system pyproject-build-system)
11081097
    (native-inputs (list python-setuptools python-wheel))
1109-
    (propagated-inputs (list python-cryptography))
1110-
    (home-page "https://github.com/pvizeli/securetar")
1111-
    (synopsis "Python module to handle tarfile backups")
1112-
    (description "This library provides a streaming wrapper around python tarfile and
1113-
allow secure handling files and support encryption.")
1114-
    (license license:asl2.0)))
1098+
    (propagated-inputs (list python-cryptography))))
11151099
11161100
(define-public homeassistant
11171101
  (package

11341118
              (substitute* "pyproject.toml"
11351119
                (("aiohttp==3.8.5")
11361120
                 "aiohttp>=3.8.5,<4")
1121+
                (("async-timeout==4.0.2")
1122+
                 "async-timeout>=4.0.2")
11371123
                (("bcrypt==4.0.1")
11381124
                 "bcrypt>3")
11391125
                (("cryptography==41.0.1")

11421128
                 "pyOpenSSL>=23.2.0")
11431129
                (("orjson==3.9.1")
11441130
                 "orjson>=3.9.1")
1145-
                (("async-timeout==4.0.2")
1146-
                 "async-timeout>=4.0.2")
11471131
                (("httpx==0.24.1")
11481132
                 "httpx>=0.24.1")
11491133
                (("yarl==1.9.2")

11781162
11791163
                             python-aiohttp-cors               ; aiohttp-cors==0.7.0
11801164
                             python-aiodiscover                ; aiodiscover==1.4.16
1181-
                             python-sqlalchemy-2               ; SQLAlchemy==2.0.15
1165+
                             python-sqlalchemy-2               ; SQLAlchemy==2.0.15 (2.0.36)
11821166
                             python-home-assistant-intents     ; home-assistant-intents==2023.6.28
11831167
                             python-async-upnp-client          ; async-upnp-client==0.33.2
11841168
                             python-fnv-hash-fast              ; fnv-hash-fast==0.3.1

12021186
                             python-pymetno   ; PyMetno==0.10.0
12031187
                             python-radios    ; radios==0.1.1
12041188
                             python-gtts      ; gTTS==2.2.4 (2.3.1)
1205-
                             python-securetar ; securetar==2023.3.0
1189+
                             python-securetar-for-homeassistant ; securetar==2023.3.0
12061190
12071191
                             python-tzdata
12081192
                             python-wheel))