guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

19/23: gnu: Add python-attrdict.


From: guix-commits
Subject: 19/23: gnu: Add python-attrdict.
Date: Sun, 27 Nov 2022 15:26:12 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit a9956536f37f6467389941aaac57b503eeeda665
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sun Nov 27 16:38:33 2022 +0100

    gnu: Add python-attrdict.
    
    * gnu/packages/python-xyz.scm (python-attrdict): New variable.
---
 gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7fefbc5bff..87963f9f19 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19665,6 +19665,27 @@ from the header, as well as section details and data 
available.")
      and bit flag values.")
     (license license:expat)))
 
+(define-public python-attrdict
+  (package
+    (name "python-attrdict")
+    (version "2.0.1")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "attrdict" version))
+              (sha256
+               (base32
+                "0w3vsz64j9npxfgh83hghsh161wwkrx1fxqi1533js2wnnc0dj9m"))))
+    (build-system python-build-system)
+    ;; The package is no longer maintained and tests need some work.
+    (arguments '(#:tests? #f))
+    (propagated-inputs (list python-six))
+    (home-page "https://github.com/bcj/AttrDict";)
+    (synopsis "Attribute-style access dictionaries")
+    (description
+     "This package provides mapping objects whose elements can be accessed
+both as keys and as attributes.")
+    (license license:expat)))
+
 (define-public python-attrs
   (package
     (name "python-attrs")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]