From a9956536f37f6467389941aaac57b503eeeda665 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sun, 27 Nov 2022 16:38:33 +0100 Subject: 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 @@ (define-public python-constantly 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") -- cgit v1.2.3