From 88bbef10dfd95637c65a2392b54b426dbed78c4c Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 11 Mar 2024 19:05:37 +0000 Subject: gn: Add python-addict. * gn/packages/python.scm (python-addict): New variable. --- gn/packages/python.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'gn') diff --git a/gn/packages/python.scm b/gn/packages/python.scm index 11f2762..9ea3c81 100644 --- a/gn/packages/python.scm +++ b/gn/packages/python.scm @@ -36,6 +36,7 @@ #:use-module (guix hg-download) #:use-module (guix gexp) #:use-module (guix utils) + #:use-module (guix build-system pyproject) #:use-module (guix build-system python) #:use-module (srfi srfi-1)) @@ -1871,3 +1872,20 @@ concepts.") (sha256 (base32 "1jxkj4pni8pdyrn79sq441lsp40xzw363n0qvfc6zfcgkv4dgaxh")))))) + +(define-public python-addict + (package + (name "python-addict") + (version "2.4.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "addict" version)) + (sha256 + (base32 + "1574sicy5ydx9pvva3lbx8qp56z9jbdwbj26aqgjhyh61q723cmk")))) + (build-system pyproject-build-system) + (home-page "https://github.com/mewwts/addict") + (synopsis "Python dictionary with attribute accessible values") + (description "@code{python-addict} provides dictionaries whose items can +be get and set using both attribute and item syntax.") + (license license:expat))) -- cgit v1.2.3