[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#76746] [PATCH 05/13] gnu: Add python-dacite.
From: |
45mg |
Subject: |
[bug#76746] [PATCH 05/13] gnu: Add python-dacite. |
Date: |
Wed, 5 Mar 2025 00:43:08 +0530 |
* gnu/packages/python-xyz.scm (python-dacite): New variable.
Change-Id: Id70254ff672871c2ecdd59c648b9107f92c1454d
---
gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1976abe8be..22db4d8b45 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -33941,6 +33941,38 @@ (define-public python-dictpath
accessor layer.")
(license license:asl2.0)))
+(define-public python-dacite
+ (package
+ (name "python-dacite")
+ (version "1.9.2")
+ (source
+ (origin
+ (method git-fetch) ;tests not properly included in PyPI
+ (uri (git-reference
+ (url "https://github.com/konradhalas/dacite")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1maananph172vi3v919zryhn9hswhcjb8w3srknkd4b9y1dfl0wq"))))
+ (build-system pyproject-build-system)
+ (arguments
+ ;; Disable benchmarks.
+ `(#:phases (modify-phases %standard-phases
+ (add-after 'unpack 'patch-pyproject-remove-benchmarks
+ (lambda _
+ (substitute* "pyproject.toml"
+ (("--benchmark-autosave
--benchmark-json=benchmark.json")
+ "")))))
+ #:test-flags '("--ignore=tests/performance")))
+ (native-inputs (list python-pytest python-pytest-benchmark
+ python-setuptools python-wheel))
+ (home-page "https://github.com/konradhalas/dacite")
+ (synopsis "Python 3 module to simplify creation of data classes from
+dictionaries")
+ (description "This Python 3 module simplifies creation of data
+classes (PEP 557) from dictionaries.")
+ (license license:expat)))
+
(define-public pyzo
(package
(name "pyzo")
--
2.48.1
- [bug#76746] [PATCH 00/13] Add spotify-downloader., 45mg, 2025/03/04
- [bug#76746] [PATCH 01/13] gnu: python-slugify: Update to 8.0.4., 45mg, 2025/03/04
- [bug#76746] [PATCH 04/13] gnu: Add python-websockets-14., 45mg, 2025/03/04
- [bug#76746] [PATCH 03/13] gnu: python-rich: Update to 13.9.4., 45mg, 2025/03/04
- [bug#76746] [PATCH 02/13] gnu: python-rapidfuzz: Update to 3.10.1., 45mg, 2025/03/04
- [bug#76746] [PATCH 13/13] gnu: Add spotify-downloader., 45mg, 2025/03/04
- [bug#76746] [PATCH 05/13] gnu: Add python-dacite.,
45mg <=
- [bug#76746] [PATCH 08/13] gnu: Add python-syncedlyrics., 45mg, 2025/03/04
- [bug#76746] [PATCH 10/13] gnu: Add python-ytmusicapi., 45mg, 2025/03/04
- [bug#76746] [PATCH 06/13] gnu: Add python-jaconv., 45mg, 2025/03/04
- [bug#76746] [PATCH 12/13] gnu: Add python-spotipy., 45mg, 2025/03/04
- [bug#76746] [PATCH 11/13] gnu: Add python-pytube., 45mg, 2025/03/04
- [bug#76746] [PATCH 07/13] gnu: Add python-pykakasi., 45mg, 2025/03/04
- [bug#76746] [PATCH 09/13] gnu: Add python-soundcloud-v2., 45mg, 2025/03/04
- [bug#76746] [PATCH 00/13] Add spotify-downloader., Sharlatan Hellseher, 2025/03/09
- [bug#76746] [PATCH v2 02/13] gnu: python-rapidfuzz: Update to 3.10.1., 45mg, 2025/03/11