guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: python-duniterpy: Change module.


From: Nicolas Goaziou
Subject: 01/01: gnu: python-duniterpy: Change module.
Date: Mon, 2 Jul 2018 17:28:09 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit c729901583981381ef04f3be57b28e92bd81090b
Author: Nicolas Goaziou <address@hidden>
Date:   Mon Jul 2 23:27:07 2018 +0200

    gnu: python-duniterpy: Change module.
    
    * gnu/packages/python-crypto.scm (python-duniterpy): Move...
    * gnu/packages/finance.scm: ... here.
---
 gnu/packages/finance.scm       | 44 ++++++++++++++++++++++++++++++++++++++++++
 gnu/packages/python-crypto.scm | 44 ------------------------------------------
 2 files changed, 44 insertions(+), 44 deletions(-)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 787510c..e69b3ca 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -755,6 +755,50 @@ Luhn and family of ISO/IEC 7064 check digit algorithms. ")
 (define-public python2-stdnum
   (package-with-python2 python-stdnum))
 
+(define-public python-duniterpy
+  (package
+    (name "python-duniterpy")
+    (version "0.43.2")
+    (source
+     (origin
+       (method git-fetch)
+       ;; Pypi's default URI is missing "requirements.txt" file.
+       (uri (git-reference
+             (url "https://github.com/duniter/duniter-python-api.git";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1ch4f150k1p1l876pp08p5rxqhpv5xfbxdw6njcmr06hspv8v8x4"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         ;; Among 108 tests, a single one is failing: FAIL:
+         ;; test_from_pubkey.  Remove it.
+         (add-after 'unpack 'remove-failing-test
+           (lambda _
+             (delete-file "tests/documents/test_crc_pubkey.py")
+             #t)))))
+    (propagated-inputs
+     `(("python-aiohttp" ,python-aiohttp)
+       ("python-base58" ,python-base58)
+       ("python-jsonschema" ,python-jsonschema)
+       ("python-libnacl" ,python-libnacl)
+       ("python-pylibscrypt" ,python-pylibscrypt)
+       ("python-pypeg2" ,python-pypeg2)))
+    (home-page "https://github.com/duniter/duniter-python-api";)
+    (synopsis "Python implementation of Duniter API")
+    (description "@code{duniterpy} is an implementation of
address@hidden://github.com/duniter/duniter/, duniter} API. Its
+main features are:
address@hidden
address@hidden Supports Duniter's Basic Merkle API and protocol
address@hidden Asynchronous
address@hidden Duniter signing key
address@hidden itemize")
+    (license license:gpl3+)))
+
 (define-public silkaj
   (package
     (name "silkaj")
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 80875ad..2d865a9 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -944,50 +944,6 @@ been constructed to maintain extensive documentation on 
how to use
 @code{NaCl} as well as being completely portable.")
     (license license:asl2.0)))
 
-(define-public python-duniterpy
-  (package
-    (name "python-duniterpy")
-    (version "0.43.2")
-    (source
-     (origin
-       (method git-fetch)
-       ;; Pypi's default URI is missing "requirements.txt" file.
-       (uri (git-reference
-             (url "https://github.com/duniter/duniter-python-api.git";)
-             (commit version)))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32
-         "1ch4f150k1p1l876pp08p5rxqhpv5xfbxdw6njcmr06hspv8v8x4"))))
-    (build-system python-build-system)
-    (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         ;; Among 108 tests, a single one is failing: FAIL:
-         ;; test_from_pubkey.  Remove it.
-         (add-after 'unpack 'remove-failing-test
-           (lambda _
-             (delete-file "tests/documents/test_crc_pubkey.py")
-             #t)))))
-    (propagated-inputs
-     `(("python-aiohttp" ,python-aiohttp)
-       ("python-base58" ,python-base58)
-       ("python-jsonschema" ,python-jsonschema)
-       ("python-libnacl" ,python-libnacl)
-       ("python-pylibscrypt" ,python-pylibscrypt)
-       ("python-pypeg2" ,python-pypeg2)))
-    (home-page "https://github.com/duniter/duniter-python-api";)
-    (synopsis "Python implementation of Duniter API")
-    (description "@code{duniterpy} is an implementation of
address@hidden://github.com/duniter/duniter/, duniter} API. Its
-main features are:
address@hidden
address@hidden Supports Duniter's Basic Merkle API and protocol
address@hidden Asynchronous
address@hidden Duniter signing key
address@hidden itemize")
-    (license license:gpl3+)))
-
 (define-public python-scrypt
   (package
     (name "python-scrypt")



reply via email to

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