From 2aa802ee5e871cbe99b3735ec9197454247b1c55 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Sat, 26 Jun 2021 13:08:54 -0400 Subject: [PATCH] gnu: Add python-twodict. * gnu/packages/python-xyz (python-twodict): New variable. --- gnu/packages/python-xyz.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index ec4209108f..6b92200beb 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -100,6 +100,7 @@ ;;; Copyright © 2021 Ellis Kenyő ;;; Copyright © 2021 LibreMiami ;;; Copyright © 2021 Xinglu Chen +;;; Copyright © 2021 Raghav Gururajan ;;; ;;; This file is part of GNU Guix. ;;; @@ -219,6 +220,25 @@ (define-module (gnu packages python-xyz) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26)) +(define-public python-twodict + (package + (name "python-twodict") + (version "1.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "twodict" version)) + (sha256 + (base32 "0ifv7dv18jn2lg0a3l6zdlvmmlda2ivixfjbsda58a2ay6kxznr0")))) + (build-system python-build-system) + (home-page "https://github.com/MrS0m30n3/twodict") + (synopsis "Two way ordered dictionary for Python") + (description "TwoDict is a custom dictionary in which you can get the +key:value relationship but you can also get the value:key relationship. It also +remembers the order in which the items were inserted and supports almost all the +features of the Python's built-in dict.") + (license license:unlicense))) + (define-public python-argopt (package (name "python-argopt")