GNU bug report logs -
#31980
[PATCH 0/3] Add Silkaj
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 31980 in the body.
You can then email your comments to 31980 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#31980
; Package
guix-patches
.
(Tue, 26 Jun 2018 17:20:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Tue, 26 Jun 2018 17:20:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
The following patch set adds Silkaj.
Feedback welcome.
Regards,
Nicolas Goaziou (3):
gnu: Add python-commandlines.
gnu: Add python-scrypt.
gnu: Add silkaj.
gnu/packages/finance.scm | 68 ++++++++++++++++++++++++++++++++++
gnu/packages/python-crypto.scm | 20 ++++++++++
gnu/packages/python.scm | 20 ++++++++++
3 files changed, 108 insertions(+)
--
2.18.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#31980
; Package
guix-patches
.
(Tue, 26 Jun 2018 17:22:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 31980 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python.scm (python-commandlines): New variable.
---
gnu/packages/python.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 2f7d4dac0..646f5f657 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13791,3 +13791,23 @@ Let's Encrypt.")
(define-public python2-dns-lexicon
(package-with-python2 python-dns-lexicon))
+
+(define-public python-commandlines
+ (package
+ (name "python-commandlines")
+ (version "0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "commandlines" version))
+ (sha256
+ (base32
+ "0r7xcr0knv02p4mswa2bng61nn8nbhhrs6kvdnb9bb3hhjvm1dl6"))))
+ (build-system python-build-system)
+ (home-page "https://github.com/chrissimpkins/commandlines")
+ (synopsis "Command line argument to object parsing library")
+ (description
+ "@code{Commandlines} is a Python library for command line application
+development that supports command line argument parsing, command string
+validation testing and application logic.")
+ (license license:expat)))
--
2.18.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#31980
; Package
guix-patches
.
(Tue, 26 Jun 2018 17:22:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 31980 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-crypto.scm (python-scrypt): New variable.
---
gnu/packages/python-crypto.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index e29eaea80..14e20d1e4 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -945,3 +945,23 @@ main features are:
@item Duniter signing key
@end itemize")
(license license:gpl3+)))
+
+(define-public python-scrypt
+ (package
+ (name "python-scrypt")
+ (version "0.8.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "scrypt" version))
+ (sha256
+ (base32
+ "0b9nw10hfdl0jflm3b62q485ssc3f3f33lpg4yy407gs8wnrn8zq"))))
+ (build-system python-build-system)
+ (inputs
+ `(("openssl" ,openssl)))
+ (home-page "http://bitbucket.org/mhallin/py-scrypt")
+ (synopsis "Bindings for the scrypt key derivation function library")
+ (description "This is a set of Python bindings for the scrypt key
+derivation function.")
+ (license license:bsd-2)))
--
2.18.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#31980
; Package
guix-patches
.
(Tue, 26 Jun 2018 17:22:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 31980 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/finance.scm (silkaj): New variable.
---
gnu/packages/finance.scm | 68 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 68 insertions(+)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index c93f64193..2ccecad71 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -9,6 +9,7 @@
;;; Copyright © 2017 Tobias Geerinckx-Rice <me <at> tobias.gr>
;;; Copyright © 2018 Eric Bavier <bavier <at> member.fsf.org>
;;; Copyright © 2018 Adriano Peluso <catonano <at> gmail.com>
+;;; Copyright © 2018 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -29,6 +30,7 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system cmake)
#:use-module (guix build-system python)
@@ -752,3 +754,69 @@ Luhn and family of ISO/IEC 7064 check digit algorithms. ")
(define-public python2-stdnum
(package-with-python2 python-stdnum))
+
+(define-public silkaj
+ (package
+ (name "silkaj")
+ (version "0.5.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.duniter.org/clients/python/silkaj.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0xy25lpgz04nxikjvxlnlckrc9xmsxyiz2qm0bsiid8cnbdqcn12"))))
+ ;; The program is just a bunch of Python files in "src/" directory. Many
+ ;; phases are useless. However,
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f ;no test
+ #:phases
+ (modify-phases %standard-phases
+ ;; The program is just a bunch of Python files in "src/" directory.
+ ;; Many phases are useless. However, `python-build-system' correctly
+ ;; sets PYTHONPATH and patches Python scripts.
+ (delete 'configure)
+ (delete 'build)
+ (replace 'install
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let* ((source (assoc-ref inputs "source"))
+ (out (assoc-ref outputs "out"))
+ (share (string-append out "/share/silkaj"))
+ (executable (string-append share "/silkaj.py"))
+ (doc (string-append out "/share/doc"))
+ (bin (string-append out "/bin")))
+ ;; Install data.
+ (copy-recursively (string-append source "/src") share)
+ ;; Install license.
+ (install-file (string-append source "/LICENSE") doc)
+ ;; Install executable.
+ (mkdir-p bin)
+ (with-directory-excursion bin
+ (symlink executable "silkaj")))
+ #t)))))
+ (inputs
+ `(("python-commandlines" ,python-commandlines)
+ ("python-ipaddress" ,python-ipaddress)
+ ("python-pyaes" ,python-pyaes)
+ ("python-pynacl" ,python-pynacl)
+ ("python-scrypt" ,python-scrypt)
+ ("python-tabulate" ,python-tabulate)))
+ (home-page "https://silkaj.duniter.org/")
+ (synopsis "Command line client for Duniter network")
+ (description "@code{Silkaj} is a command line client for the
+@uref{https://github.com/duniter/duniter/, Duniter} network.
+
+Its features are:
+@itemize
+@item information about currency,
+@item issuers difficulty to generate next block,
+@item network view of nodes,
+@item list of last issuers,
+@item send transactions,
+@item get account amount.
+@end itemize")
+ (license license:agpl3+)))
--
2.18.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#31980
; Package
guix-patches
.
(Wed, 27 Jun 2018 22:21:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 31980 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello,
Here is a simplification of the last patch.
Regards,
--
Nicolas Goaziou 0x80A93738
[0001-gnu-Add-silkaj.patch (text/x-diff, inline)]
From 9b54eea5d3487a0d5868be31c2cbc5347c84d59a Mon Sep 17 00:00:00 2001
From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Date: Wed, 16 May 2018 15:52:51 +0200
Subject: [PATCH] gnu: Add silkaj.
* gnu/packages/finance.scm (silkaj): New variable.
---
gnu/packages/finance.scm | 62 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index c93f64193..787510cb3 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -9,6 +9,7 @@
;;; Copyright © 2017 Tobias Geerinckx-Rice <me <at> tobias.gr>
;;; Copyright © 2018 Eric Bavier <bavier <at> member.fsf.org>
;;; Copyright © 2018 Adriano Peluso <catonano <at> gmail.com>
+;;; Copyright © 2018 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -29,6 +30,7 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system cmake)
#:use-module (guix build-system python)
@@ -752,3 +754,63 @@ Luhn and family of ISO/IEC 7064 check digit algorithms. ")
(define-public python2-stdnum
(package-with-python2 python-stdnum))
+
+(define-public silkaj
+ (package
+ (name "silkaj")
+ (version "0.5.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.duniter.org/clients/python/silkaj.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0xy25lpgz04nxikjvxlnlckrc9xmsxyiz2qm0bsiid8cnbdqcn12"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f ;no test
+ #:phases
+ (modify-phases %standard-phases
+ ;; The program is just a bunch of Python files in "src/" directory.
+ ;; Many phases are useless. However, `python-build-system' correctly
+ ;; sets PYTHONPATH and patches Python scripts.
+ (delete 'configure)
+ (delete 'build)
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (share (string-append out "/share/silkaj"))
+ (executable (string-append share "/silkaj.py"))
+ (bin (string-append out "/bin")))
+ ;; Install data.
+ (copy-recursively "src" share)
+ ;; Install executable.
+ (mkdir-p bin)
+ (with-directory-excursion bin
+ (symlink executable "silkaj")))
+ #t)))))
+ (inputs
+ `(("python-commandlines" ,python-commandlines)
+ ("python-ipaddress" ,python-ipaddress)
+ ("python-pyaes" ,python-pyaes)
+ ("python-pynacl" ,python-pynacl)
+ ("python-scrypt" ,python-scrypt)
+ ("python-tabulate" ,python-tabulate)))
+ (home-page "https://silkaj.duniter.org/")
+ (synopsis "Command line client for Duniter network")
+ (description "@code{Silkaj} is a command line client for the
+@uref{https://github.com/duniter/duniter/, Duniter} network.
+
+Its features are:
+@itemize
+@item information about currency,
+@item issuers difficulty to generate next block,
+@item network view of nodes,
+@item list of last issuers,
+@item send transactions,
+@item get account amount.
+@end itemize")
+ (license license:agpl3+)))
--
2.18.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#31980
; Package
guix-patches
.
(Mon, 02 Jul 2018 15:31:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 31980 <at> debbugs.gnu.org (full text, mbox):
Hi Nicolas,
Nicolas Goaziou <mail <at> nicolasgoaziou.fr> skribis:
> From 9b54eea5d3487a0d5868be31c2cbc5347c84d59a Mon Sep 17 00:00:00 2001
> From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
> Date: Wed, 16 May 2018 15:52:51 +0200
> Subject: [PATCH] gnu: Add silkaj.
>
> * gnu/packages/finance.scm (silkaj): New variable.
All three patches LGTM, thank you!
Ludo’.
Reply sent
to
Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
:
You have taken responsibility.
(Mon, 02 Jul 2018 15:55:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
:
bug acknowledged by developer.
(Mon, 02 Jul 2018 15:55:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 31980-done <at> debbugs.gnu.org (full text, mbox):
Hello,
ludo <at> gnu.org (Ludovic Courtès) writes:
> Nicolas Goaziou <mail <at> nicolasgoaziou.fr> skribis:
>
>> From 9b54eea5d3487a0d5868be31c2cbc5347c84d59a Mon Sep 17 00:00:00 2001
>> From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
>> Date: Wed, 16 May 2018 15:52:51 +0200
>> Subject: [PATCH] gnu: Add silkaj.
>>
>> * gnu/packages/finance.scm (silkaj): New variable.
>
> All three patches LGTM, thank you!
Applied. Thank you.
Regards,
--
Nicolas Goaziou 0x80A93738
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 31 Jul 2018 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 6 years and 320 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.