guix-commits
[Top][All Lists]
Advanced

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

02/05: gnu: Add python-importmagic.


From: guix-commits
Subject: 02/05: gnu: Add python-importmagic.
Date: Sat, 23 May 2020 15:19:44 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 01e81309c01b901cf46b034152ba7c0829aa9df8
Author: Ryan Prior via Guix-patches via <address@hidden>
AuthorDate: Sun May 17 18:41:48 2020 +0000

    gnu: Add python-importmagic.
    
    * gnu/packages/python-xyz.el (python-importmagic): New variable.
    
    Signed-off-by: Marius Bakke <address@hidden>
---
 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 5c0f0bd..7d8003a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -77,6 +77,7 @@
 ;;; Copyright © 2020 Lars-Dominik Braun <address@hidden>
 ;;; Copyright © 2020 Alex ter Weele <address@hidden>
 ;;; Copyright © 2020 Matthew Kraai <address@hidden>
+;;; Copyright © 2020 Ryan Prior <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -5896,6 +5897,25 @@ need to use the older and less efficient 
@code{pkg_resources} package.")
        ("python-contextlib2" ,python2-contextlib2-bootstrap)
        ("python-importlib-resources" 
,python2-importlib-resources-bootstrap))))))
 
+(define-public python-importmagic
+  (package
+    (name "python-importmagic")
+    (version "0.1.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "importmagic" version))
+       (sha256
+        (base32
+         "1n7qxa1snj06aw45mcfz7bxc46zp7fxj687140g2k6jcnyjmfxrz"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/alecthomas/importmagic";)
+    (synopsis "Library for adding, removing and managing Python imports")
+    (description
+     "Importmagic is a Python library for automatically managing imports by
+finding unresolved symbols in Python code and their corresponding imports.")
+    (license license:bsd-3)))
+
 (define-public python-jaraco-packaging
   (package
     (name "python-jaraco-packaging")



reply via email to

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