guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: Add python-twodict.


From: guix-commits
Subject: branch master updated: gnu: Add python-twodict.
Date: Sat, 26 Jun 2021 13:12:41 -0400

This is an automated email from the git hooks/post-receive script.

raghavgururajan pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 2aa802e  gnu: Add python-twodict.
2aa802e is described below

commit 2aa802ee5e871cbe99b3735ec9197454247b1c55
Author: Raghav Gururajan <rg@raghavgururajan.name>
AuthorDate: Sat Jun 26 13:08:54 2021 -0400

    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 ec42091..6b92200 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -100,6 +100,7 @@
 ;;; Copyright © 2021 Ellis Kenyő <me@elken.dev>
 ;;; Copyright © 2021 LibreMiami <packaging-guix@libremiami.org>
 ;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
+;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -219,6 +220,25 @@
   #: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")



reply via email to

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