2015-09-17 15:07:22 -04:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2016-07-23 14:18:44 -04:00
|
|
|
;;; Copyright © 2015, 2016 Andreas Enge <andreas@enge.fr>
|
2018-07-29 09:03:59 -04:00
|
|
|
;;; Copyright © 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
|
2016-05-07 13:20:47 -04:00
|
|
|
;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
|
2016-10-17 04:39:21 -04:00
|
|
|
;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
2017-01-02 08:32:38 -05:00
|
|
|
;;; Copyright © 2017 Carlo Zancanaro <carlo@zancanaro.id.au>
|
2017-09-09 13:47:34 -04:00
|
|
|
;;; Copyright © 2017 Theodoros Foradis <theodoros@foradis.org>
|
2017-11-27 06:30:22 -05:00
|
|
|
;;; Copyright © 2017 Vasile Dumitrascu <va511e@yahoo.com>
|
2020-05-30 07:18:18 -04:00
|
|
|
;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
|
2016-10-18 00:59:53 -04:00
|
|
|
;;; Copyright © 2018 Eric Bavier <bavier@member.fsf.org>
|
2018-01-22 13:24:20 -05:00
|
|
|
;;; Copyright © 2018 Adriano Peluso <catonano@gmail.com>
|
2020-01-25 16:50:04 -05:00
|
|
|
;;; Copyright © 2018, 2019, 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
2018-07-04 08:41:30 -04:00
|
|
|
;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
|
2020-01-10 03:52:20 -05:00
|
|
|
;;; Copyright © 2019, 2020 Guillaume Le Vaillant <glv@posteo.net>
|
2019-07-12 12:05:00 -04:00
|
|
|
;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
|
2020-04-16 12:17:13 -04:00
|
|
|
;;; Copyright © 2019, 2020 Martin Becze <mjbecze@riseup.net>
|
2019-11-06 17:00:05 -05:00
|
|
|
;;; Copyright © 2019 Sebastian Schott <sschott@mailbox.org>
|
2020-01-04 22:36:03 -05:00
|
|
|
;;; Copyright © 2020 Kei Kebreau <kkebreau@posteo.net>
|
2020-03-31 16:57:15 -04:00
|
|
|
;;; Copyright © 2020 Christopher Lemmer Webber <cwebber@dustycloud.org>
|
2020-04-07 14:48:45 -04:00
|
|
|
;;; Copyright © 2020 Tom Zander <tomz@freedommail.ch>
|
2020-05-02 07:57:15 -04:00
|
|
|
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
|
2020-05-31 12:03:23 -04:00
|
|
|
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
|
2015-09-17 15:07:22 -04:00
|
|
|
;;;
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
;;; your option) any later version.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
;;;
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
(define-module (gnu packages finance)
|
2017-09-29 02:01:34 -04:00
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
2018-05-16 09:52:51 -04:00
|
|
|
#:use-module (guix git-download)
|
2017-09-29 02:01:34 -04:00
|
|
|
#:use-module (guix build-system gnu)
|
|
|
|
#:use-module (guix build-system cmake)
|
2020-04-16 12:20:44 -04:00
|
|
|
#:use-module (guix build-system copy)
|
2020-04-07 12:41:47 -04:00
|
|
|
#:use-module (guix build-system emacs)
|
2017-09-29 02:01:34 -04:00
|
|
|
#:use-module (guix build-system python)
|
2019-07-12 12:05:00 -04:00
|
|
|
#:use-module (guix build-system glib-or-gtk)
|
2019-07-30 20:11:59 -04:00
|
|
|
#:use-module (guix build-system go)
|
2020-01-10 03:52:20 -05:00
|
|
|
#:use-module (guix build-system qt)
|
2019-07-12 12:05:00 -04:00
|
|
|
#:use-module (guix utils)
|
2016-10-18 00:59:53 -04:00
|
|
|
#:use-module (gnu packages)
|
2019-12-03 08:30:53 -05:00
|
|
|
#:use-module (gnu packages aidc)
|
|
|
|
#:use-module (gnu packages autotools)
|
2017-09-29 02:01:34 -04:00
|
|
|
#:use-module (gnu packages base)
|
|
|
|
#:use-module (gnu packages boost)
|
|
|
|
#:use-module (gnu packages check)
|
2019-06-17 04:44:35 -04:00
|
|
|
#:use-module (gnu packages compression)
|
2018-07-08 13:39:26 -04:00
|
|
|
#:use-module (gnu packages crypto)
|
2020-01-04 22:49:24 -05:00
|
|
|
#:use-module (gnu packages curl)
|
2017-09-29 02:01:34 -04:00
|
|
|
#:use-module (gnu packages databases)
|
2020-01-04 22:36:03 -05:00
|
|
|
#:use-module (gnu packages docbook)
|
2017-09-29 02:01:34 -04:00
|
|
|
#:use-module (gnu packages documentation)
|
|
|
|
#:use-module (gnu packages dns)
|
|
|
|
#:use-module (gnu packages emacs)
|
gnu: Move dbm databases to new module.
* gnu/packages/databases.scm (gdbm, bdb, bdb-5.3): Move from here...
* gnu/packages/dbm.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/audio.scm,
gnu/packages/avahi.scm,
gnu/packages/backup.scm,
gnu/packages/cobol.scm,
gnu/packages/cyrus-sasl.scm,
gnu/packages/databases.scm,
gnu/packages/finance.scm,
gnu/packages/game-development.scm,
gnu/packages/gnome.scm,
gnu/packages/guile.scm,
gnu/packages/ibus.scm,
gnu/packages/kerberos.scm,
gnu/packages/linux.scm,
gnu/packages/mail.scm,
gnu/packages/man.scm,
gnu/packages/nvi.scm,
gnu/packages/openldap.scm,
gnu/packages/package-management.scm,
gnu/packages/php.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/sawfish.scm: Update module references.
2019-01-16 08:48:47 -05:00
|
|
|
#:use-module (gnu packages dbm)
|
2020-01-04 22:36:03 -05:00
|
|
|
#:use-module (gnu packages gettext)
|
2019-07-12 12:05:00 -04:00
|
|
|
#:use-module (gnu packages gnome)
|
|
|
|
#:use-module (gnu packages glib)
|
2019-02-06 19:07:15 -05:00
|
|
|
#:use-module (gnu packages gnupg)
|
2017-09-29 02:01:34 -04:00
|
|
|
#:use-module (gnu packages graphviz)
|
|
|
|
#:use-module (gnu packages groff)
|
2019-07-12 12:05:00 -04:00
|
|
|
#:use-module (gnu packages gtk)
|
2020-07-11 15:07:16 -04:00
|
|
|
#:use-module (gnu packages jemalloc)
|
2017-09-29 02:01:34 -04:00
|
|
|
#:use-module (gnu packages libedit)
|
|
|
|
#:use-module (gnu packages libevent)
|
|
|
|
#:use-module (gnu packages libunwind)
|
2017-12-28 02:37:20 -05:00
|
|
|
#:use-module (gnu packages libusb)
|
2017-09-29 02:01:34 -04:00
|
|
|
#:use-module (gnu packages linux)
|
2020-01-04 22:49:24 -05:00
|
|
|
#:use-module (gnu packages man)
|
2017-09-29 02:01:34 -04:00
|
|
|
#:use-module (gnu packages multiprecision)
|
2018-07-08 13:39:26 -04:00
|
|
|
#:use-module (gnu packages networking)
|
2017-09-29 02:01:34 -04:00
|
|
|
#:use-module (gnu packages pkg-config)
|
2020-01-04 22:49:24 -05:00
|
|
|
#:use-module (gnu packages popt)
|
2017-09-29 02:01:34 -04:00
|
|
|
#:use-module (gnu packages protobuf)
|
|
|
|
#:use-module (gnu packages python)
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 08:10:30 -05:00
|
|
|
#:use-module (gnu packages python-crypto)
|
gnu: Move more packages from python to python-web.
* gnu/packages/python.scm (python-requests, python2-requests)
(python-requests-2.7, python-oauthlib, python2-oauthlib)
(python-furl, python2-furl, python-wsgi-intercept)
(python-publicsuffix, python2-publicsuffix)
(python-publicsuffix2, python2-publicsuffix2): Move to...
* gnu/packages/python-web.scm: ... here.
* gnu/packages/bioinformatics.scm, gnu/packages/finance.scm:
gnu/packages/maths.scm, gnu/packages/terminals.scm,
gnu/packages/video.scm, gnu/packages/virtualization.scm: Adjust
accordingly.
2017-11-15 08:59:31 -05:00
|
|
|
#:use-module (gnu packages python-web)
|
gnu: Separate Python core packages from the rest.
* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.
2019-01-15 08:21:30 -05:00
|
|
|
#:use-module (gnu packages python-xyz)
|
2017-09-29 02:01:34 -04:00
|
|
|
#:use-module (gnu packages qt)
|
2017-11-30 06:12:04 -05:00
|
|
|
#:use-module (gnu packages readline)
|
gnu: Move Sphinx and friends to (gnu packages sphinx).
* gnu/packages/python-xyz.scm (python-sphinxcontrib-websupport,
python2-sphinxcontrib-websupport, python-sphinx, python2-sphinx,
python-sphinx-gallery, python2-sphinx-gallery, python-sphinx-rtd-theme,
python2-sphinx-rtd-theme, python-guzzle-sphinx-theme,
python2-guzzle-sphinx-theme, python-sphinxcontrib-newsfeed,
python-sphinxcontrib-programoutput, python2-sphinxcontrib-programoutput,
python-sphinx-repoze-interface, python2-sphinx-repoze-interface,
python-sphinx-cloud-sptheme, python2-sphinx-cloud-sptheme,
python-sphinx-alabaster-theme, python2-sphinx-alabaster-theme,
python-sphinx-me, python-sphinxcontrib-svg2pdfconverter): Move to ...
(gnu):
* gnu/packages/sphinx.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/admin.scm, gnu/packages/bioinformatics.scm,
gnu/packages/calendar.scm, gnu/packages/cluster.scm,
gnu/packages/databases.scm, gnu/packages/dav.scm, gnu/packages/disk.scm,
gnu/packages/django.scm, gnu/packages/elf.scm, gnu/packages/emacs-xyz.scm,
gnu/packages/emulators.scm, gnu/packages/finance.scm, gnu/packages/image.scm,
gnu/packages/libffi.scm, gnu/packages/mail.scm, gnu/packages/mpd.scm,
gnu/packages/openstack.scm, gnu/packages/pdf.scm, gnu/packages/python-web.scm,
gnu/packages/search.scm, gnu/packages/statistics.scm,
gnu/packages/storage.scm, gnu/packages/sync.scm, gnu/packages/terminals.scm,
gnu/packages/tls.scm, gnu/packages/web.scm: Adjust module imports.
2019-05-12 16:56:54 -04:00
|
|
|
#:use-module (gnu packages sphinx)
|
2017-09-29 02:01:34 -04:00
|
|
|
#:use-module (gnu packages texinfo)
|
|
|
|
#:use-module (gnu packages textutils)
|
2019-10-08 15:41:44 -04:00
|
|
|
#:use-module (gnu packages time)
|
2017-09-29 02:01:34 -04:00
|
|
|
#:use-module (gnu packages tls)
|
|
|
|
#:use-module (gnu packages upnp)
|
|
|
|
#:use-module (gnu packages web)
|
|
|
|
#:use-module (gnu packages xml)
|
|
|
|
#:use-module (gnu packages gnuzilla))
|
2015-09-17 15:07:22 -04:00
|
|
|
|
|
|
|
(define-public bitcoin-core
|
|
|
|
(package
|
|
|
|
(name "bitcoin-core")
|
2020-03-10 15:19:42 -04:00
|
|
|
(version "0.19.1")
|
2015-09-17 15:07:22 -04:00
|
|
|
(source (origin
|
2020-05-11 13:31:07 -04:00
|
|
|
(method url-fetch)
|
|
|
|
(uri
|
|
|
|
(string-append "https://bitcoincore.org/bin/bitcoin-core-"
|
|
|
|
version "/bitcoin-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1h3w7brc18145np920vy7j5ms5hym59hvr40swdjx34fbdaisngj"))
|
|
|
|
(patches (search-patches "bitcoin-core-python-compat.patch"))))
|
2015-09-17 15:07:22 -04:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)
|
2019-10-27 18:58:01 -04:00
|
|
|
("python" ,python) ; for the tests
|
|
|
|
("util-linux" ,util-linux) ; provides the hexdump command for tests
|
2017-09-22 13:00:08 -04:00
|
|
|
("qttools" ,qttools)))
|
2015-09-17 15:07:22 -04:00
|
|
|
(inputs
|
2019-10-27 18:58:01 -04:00
|
|
|
`(("bdb" ,bdb-4.8) ; 4.8 required for compatibility
|
2015-09-17 15:07:22 -04:00
|
|
|
("boost" ,boost)
|
2016-06-16 02:52:18 -04:00
|
|
|
("libevent" ,libevent)
|
2015-09-17 15:07:22 -04:00
|
|
|
("miniupnpc" ,miniupnpc)
|
|
|
|
("openssl" ,openssl)
|
|
|
|
("protobuf" ,protobuf)
|
2017-09-22 13:00:08 -04:00
|
|
|
("qtbase" ,qtbase)))
|
2015-09-17 15:07:22 -04:00
|
|
|
(arguments
|
|
|
|
`(#:configure-flags
|
2020-05-11 13:31:07 -04:00
|
|
|
(list
|
|
|
|
;; Boost is not found unless specified manually.
|
|
|
|
(string-append "--with-boost="
|
|
|
|
(assoc-ref %build-inputs "boost"))
|
|
|
|
;; XXX: The configure script looks up Qt paths by
|
|
|
|
;; `pkg-config --variable=host_bins Qt5Core`, which fails to pick
|
|
|
|
;; up executables residing in 'qttools', so we specify them here.
|
|
|
|
(string-append "ac_cv_path_LRELEASE="
|
|
|
|
(assoc-ref %build-inputs "qttools")
|
|
|
|
"/bin/lrelease")
|
|
|
|
(string-append "ac_cv_path_LUPDATE="
|
|
|
|
(assoc-ref %build-inputs "qttools")
|
|
|
|
"/bin/lupdate"))
|
2015-09-17 15:07:22 -04:00
|
|
|
#:phases
|
2020-05-11 13:31:07 -04:00
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before 'configure 'make-qt-deterministic
|
2019-01-21 14:51:57 -05:00
|
|
|
(lambda _
|
2020-05-11 13:31:07 -04:00
|
|
|
;; Make Qt deterministic.
|
|
|
|
(setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1")
|
|
|
|
#t))
|
|
|
|
(add-before 'check 'set-home
|
2015-09-17 15:07:22 -04:00
|
|
|
(lambda _
|
2020-05-11 13:31:07 -04:00
|
|
|
(setenv "HOME" (getenv "TMPDIR")) ; tests write to $HOME
|
|
|
|
#t))
|
|
|
|
(add-after 'check 'check-functional
|
2019-07-08 15:51:33 -04:00
|
|
|
(lambda _
|
2020-05-11 13:31:07 -04:00
|
|
|
(invoke
|
|
|
|
"python3" "./test/functional/test_runner.py"
|
|
|
|
(string-append "--jobs=" (number->string (parallel-job-count))))
|
|
|
|
#t)))))
|
2015-09-17 15:07:22 -04:00
|
|
|
(home-page "https://bitcoin.org/en/")
|
|
|
|
(synopsis "Bitcoin peer-to-peer client")
|
|
|
|
(description
|
|
|
|
"Bitcoin is a digital currency that enables instant payments to anyone
|
|
|
|
anywhere in the world. It uses peer-to-peer technology to operate without
|
|
|
|
central authority: managing transactions and issuing money are carried out
|
|
|
|
collectively by the network. Bitcoin Core is the reference implementation
|
|
|
|
of the bitcoin protocol. This package provides the Bitcoin Core command
|
|
|
|
line client and a client based on Qt.")
|
|
|
|
(license license:expat)))
|
2016-05-07 13:20:47 -04:00
|
|
|
|
2019-11-06 17:00:05 -05:00
|
|
|
(define-public homebank
|
|
|
|
(package
|
|
|
|
(name "homebank")
|
2020-09-15 15:34:12 -04:00
|
|
|
(version "5.4.3")
|
2019-11-06 17:00:05 -05:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://homebank.free.fr/public/homebank-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2020-09-15 15:34:12 -04:00
|
|
|
"02wd569viwy6ncy0144z9nxr3zmpl4shkqhz7zzwyky4gknxf8lj"))))
|
2019-11-06 17:00:05 -05:00
|
|
|
(build-system glib-or-gtk-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
("intltool" ,intltool)))
|
|
|
|
(inputs
|
|
|
|
`(("gtk+" ,gtk+)
|
2020-05-31 12:03:23 -04:00
|
|
|
("libofx" ,libofx)
|
2019-11-06 17:00:05 -05:00
|
|
|
("libsoup" ,libsoup)))
|
|
|
|
(home-page "http://homebank.free.fr/")
|
|
|
|
(synopsis "Graphical personal accounting application")
|
|
|
|
(description "HomeBank allows you to manage your personal accounts at
|
|
|
|
home. The seeks to be lightweight, simple and easy to use. It brings
|
|
|
|
features that allow you to analyze your finances in a detailed way instantly
|
|
|
|
and dynamically with report tools based on filtering and graphical charts.")
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
2016-05-07 13:20:47 -04:00
|
|
|
(define-public ledger
|
|
|
|
(package
|
|
|
|
(name "ledger")
|
2020-07-20 16:44:58 -04:00
|
|
|
(version "3.2.1")
|
2018-12-23 22:32:49 -05:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
(url "https://github.com/ledger/ledger")
|
2018-12-23 22:32:49 -05:00
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
2020-07-20 16:44:58 -04:00
|
|
|
(base32 "0x6jxwss3wwzbzlwmnwb8yzjk8f9wfawif4f1b74z2qg6hc4r7f6"))))
|
2016-05-07 13:20:47 -04:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
2020-05-02 07:57:15 -04:00
|
|
|
`(#:modules (,@%cmake-build-system-modules
|
|
|
|
((guix build python-build-system) #:select (python-version)))
|
|
|
|
#:imported-modules (,@%cmake-build-system-modules
|
|
|
|
(guix build python-build-system))
|
|
|
|
#:configure-flags
|
2016-05-07 13:20:47 -04:00
|
|
|
`("-DBUILD_DOCS:BOOL=ON"
|
|
|
|
"-DBUILD_WEB_DOCS:BOOL=ON"
|
|
|
|
"-DUSE_PYTHON:BOOL=ON"
|
2019-02-13 03:51:49 -05:00
|
|
|
"-DCMAKE_INSTALL_LIBDIR:PATH=lib")
|
2016-05-07 13:20:47 -04:00
|
|
|
#:phases
|
2020-05-02 07:57:15 -04:00
|
|
|
(modify-phases (@ (guix build cmake-build-system) %standard-phases)
|
|
|
|
(add-after 'unpack 'fix-python-installation-directory
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
;; By default the package attempts to install its Python bindings
|
|
|
|
;; to the Python store directory, which obviously does not work.
|
|
|
|
;; Passing -DPython_SITEARCH in #:configure-flags has no effect.
|
|
|
|
(let ((python-version (python-version (assoc-ref inputs "python")))
|
|
|
|
(out (assoc-ref outputs "out")))
|
|
|
|
(substitute* "src/CMakeLists.txt"
|
|
|
|
(("DESTINATION \\$\\{Python_SITEARCH\\}")
|
|
|
|
(string-append "DESTINATION " out "/lib/python"
|
|
|
|
python-version "/site-packages")))
|
|
|
|
#t)))
|
2016-05-07 13:20:47 -04:00
|
|
|
(add-before 'configure 'install-examples
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let ((examples (string-append (assoc-ref outputs "out")
|
|
|
|
"/share/doc/ledger/examples")))
|
|
|
|
(install-file "test/input/sample.dat" examples)
|
|
|
|
(install-file "test/input/demo.ledger" examples))
|
|
|
|
#t))
|
|
|
|
(add-after 'build 'build-doc
|
2018-07-04 08:43:31 -04:00
|
|
|
(lambda _ (invoke "make" "doc")))
|
2016-05-07 13:20:47 -04:00
|
|
|
(add-before 'check 'check-setup
|
|
|
|
;; One test fails if it can't set the timezone.
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(setenv "TZDIR"
|
|
|
|
(string-append (assoc-ref inputs "tzdata")
|
|
|
|
"/share/zoneinfo"))
|
2019-02-13 03:51:49 -05:00
|
|
|
;; Skip failing test BaselineTest_cmd-org.
|
|
|
|
;; This is a known upstream issue. See
|
|
|
|
;; https://github.com/ledger/ledger/issues/550
|
|
|
|
(setenv "ARGS" "-E BaselineTest_cmd-org")
|
|
|
|
#t)))))
|
2016-05-07 13:20:47 -04:00
|
|
|
(inputs
|
|
|
|
`(("boost" ,boost)
|
|
|
|
("gmp" ,gmp)
|
|
|
|
("libedit" ,libedit)
|
|
|
|
("mpfr" ,mpfr)
|
2020-05-02 07:58:34 -04:00
|
|
|
("python" ,python)
|
2016-05-07 13:20:47 -04:00
|
|
|
("utfcpp" ,utfcpp)))
|
|
|
|
(native-inputs
|
2019-02-13 03:51:49 -05:00
|
|
|
`(("groff" ,groff)
|
2020-04-16 14:17:25 -04:00
|
|
|
("texinfo" ,texinfo)
|
|
|
|
("tzdata" ,tzdata-for-tests)))
|
2018-07-04 08:46:34 -04:00
|
|
|
(home-page "https://ledger-cli.org/")
|
2016-05-07 13:20:47 -04:00
|
|
|
(synopsis "Command-line double-entry accounting program")
|
|
|
|
(description
|
|
|
|
"Ledger is a powerful, double-entry accounting system that is
|
|
|
|
accessed from the UNIX command-line. This may put off some users, since
|
|
|
|
there is no flashy UI, but for those who want unparalleled reporting
|
|
|
|
access to their data there are few alternatives.
|
|
|
|
|
|
|
|
Ledger uses text files for input. It reads the files and generates
|
|
|
|
reports; there is no other database or stored state. To use Ledger,
|
|
|
|
you create a file of your account names and transactions, run from the
|
|
|
|
command line with some options to specify input and requested reports, and
|
|
|
|
get output. The output is generally plain text, though you could generate
|
|
|
|
a graph or html instead. Ledger is simple in concept, surprisingly rich
|
|
|
|
in ability, and easy to use.")
|
|
|
|
;; There are some extra licenses in files which do not presently get
|
|
|
|
;; installed when you build this package. Different versions of the GPL
|
|
|
|
;; are used in the contrib and python subdirectories. The bundled version
|
|
|
|
;; of utfcpp is under the Boost 1.0 license. Also the file
|
|
|
|
;; `tools/update_copyright_year` has an Expat license.
|
|
|
|
(license (list license:bsd-3
|
|
|
|
license:asl2.0 ; src/strptime.cc
|
|
|
|
(license:non-copyleft
|
|
|
|
"file://src/wcwidth.cc"
|
2019-02-13 03:51:49 -05:00
|
|
|
"See src/wcwidth.cc in the distribution.")))))
|
2016-10-17 04:39:21 -04:00
|
|
|
|
2019-02-13 04:52:43 -05:00
|
|
|
(define-public emacs-ledger-mode
|
|
|
|
;; There have been no new releases since 2016.
|
|
|
|
(let ((commit "253a20dc62e137ed0ed8e1dd8614ecba116610ea")
|
|
|
|
(revision "1"))
|
|
|
|
(package
|
|
|
|
(name "emacs-ledger-mode")
|
|
|
|
(version (git-version "3.1.1" revision commit))
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
(url "https://github.com/ledger/ledger-mode")
|
2019-02-13 04:52:43 -05:00
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32 "06wrgkqpgvk17vibrk2qikdlqn8y63jg86marp1wgmram92mb3jk"))))
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:modules ((guix build cmake-build-system)
|
|
|
|
(guix build utils)
|
|
|
|
(guix build emacs-utils))
|
|
|
|
#:imported-modules (,@%cmake-build-system-modules
|
|
|
|
(guix build emacs-utils))
|
|
|
|
#:tests? #f ; there are none
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
2019-12-25 11:11:41 -05:00
|
|
|
(add-after 'unpack 'patch-site-dir
|
|
|
|
(lambda _
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
(("DESTINATION share/emacs/site-lisp/ledger-mode")
|
|
|
|
"DESTINATION share/emacs/site-lisp"))
|
|
|
|
#t))
|
2019-04-24 05:12:02 -04:00
|
|
|
(add-before 'build 'patch-path
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(let ((ledger (assoc-ref inputs "ledger")))
|
|
|
|
(make-file-writable "ledger-exec.el")
|
|
|
|
(emacs-substitute-variables "ledger-exec.el"
|
|
|
|
("ledger-binary-path" (string-append ledger "/bin/ledger"))))
|
|
|
|
#t))
|
2019-02-13 04:52:43 -05:00
|
|
|
(add-after 'build 'build-doc
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let ((target (string-append (assoc-ref outputs "out")
|
|
|
|
"/share/info")))
|
|
|
|
(mkdir-p target)
|
|
|
|
(invoke "makeinfo" "-o" target
|
|
|
|
"../source/doc/ledger-mode.texi"))
|
|
|
|
#t))
|
2019-12-25 11:11:41 -05:00
|
|
|
(add-after 'install 'generate-autoload
|
2019-02-13 04:52:43 -05:00
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let* ((site-dir (string-append (assoc-ref outputs "out")
|
2019-12-25 11:11:41 -05:00
|
|
|
"/share/emacs/site-lisp")))
|
|
|
|
(emacs-generate-autoloads ,name site-dir))
|
|
|
|
#t)))))
|
2019-04-24 05:12:02 -04:00
|
|
|
(inputs
|
|
|
|
`(("ledger" ,ledger)))
|
2019-02-13 04:52:43 -05:00
|
|
|
(native-inputs
|
|
|
|
`(("emacs-minimal" ,emacs-minimal)
|
|
|
|
("texinfo" ,texinfo)))
|
|
|
|
(home-page "https://ledger-cli.org/")
|
|
|
|
(synopsis "Command-line double-entry accounting program")
|
|
|
|
(description
|
|
|
|
"Ledger is a powerful, double-entry accounting system that is
|
|
|
|
accessed from the UNIX command-line. This may put off some users, since
|
|
|
|
there is no flashy UI, but for those who want unparalleled reporting
|
|
|
|
access to their data there are few alternatives.
|
|
|
|
|
|
|
|
Ledger uses text files for input. It reads the files and generates
|
|
|
|
reports; there is no other database or stored state. To use Ledger,
|
|
|
|
you create a file of your account names and transactions, run from the
|
|
|
|
command line with some options to specify input and requested reports, and
|
|
|
|
get output. The output is generally plain text, though you could generate
|
|
|
|
a graph or html instead. Ledger is simple in concept, surprisingly rich
|
|
|
|
in ability, and easy to use.
|
|
|
|
|
|
|
|
This package provides the Emacs mode.")
|
|
|
|
(license license:gpl2+))))
|
|
|
|
|
2016-10-17 04:39:21 -04:00
|
|
|
(define-public geierlein
|
|
|
|
(package
|
|
|
|
(name "geierlein")
|
2017-12-14 05:00:04 -05:00
|
|
|
(version "0.9.13")
|
2016-10-17 04:39:21 -04:00
|
|
|
(source
|
|
|
|
(origin
|
2018-12-23 22:40:20 -05:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
(url "https://github.com/stesie/geierlein")
|
2018-12-23 22:40:20 -05:00
|
|
|
(commit (string-append "V" version))))
|
|
|
|
(file-name (git-file-name name version))
|
2016-10-17 04:39:21 -04:00
|
|
|
(sha256
|
2018-12-23 22:40:20 -05:00
|
|
|
(base32 "00zpwr3lk2vdmd60fgdwdk0xxs52wvnm19ln2m75yfphydvkglic"))))
|
2016-10-17 04:39:21 -04:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
2018-12-23 22:40:20 -05:00
|
|
|
`(#:tests? #f ; would require npm, python and a lot more
|
2016-10-17 04:39:21 -04:00
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
2017-12-14 05:00:04 -05:00
|
|
|
(delete 'configure) ; no configure script
|
2016-10-17 04:39:21 -04:00
|
|
|
(add-after 'unpack 'override-target-directory-and-tool-paths
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
(substitute* "Makefile"
|
|
|
|
(("prefix := .*")
|
|
|
|
(string-append "prefix := " (assoc-ref outputs "out") "\n"))
|
|
|
|
;; Required for tests, unused for now:
|
|
|
|
;;(("PYTHON := .*")
|
|
|
|
;; (string-append (which "python") "\n")))
|
|
|
|
(("INSTALL := .*")
|
|
|
|
(string-append "INSTALL := " (which "install") "\n")))
|
|
|
|
(substitute* "bin/xgeierlein.in"
|
|
|
|
;; Use icecat as XULRUNNER
|
|
|
|
(("^for search ")
|
|
|
|
(string-append "XULRUNNER=" (which "icecat") "\n"
|
|
|
|
"for search ")))
|
|
|
|
#t)))))
|
|
|
|
(inputs
|
|
|
|
`(("icecat" ,icecat)))
|
2018-01-09 10:34:56 -05:00
|
|
|
(home-page "https://stesie.github.io/geierlein/")
|
2016-10-17 04:39:21 -04:00
|
|
|
(synopsis "Free Elster client, for sending Germany VAT declarations")
|
|
|
|
(description
|
|
|
|
"Geierlein is a free Elster client, i.e. an application that
|
2020-04-12 17:12:33 -04:00
|
|
|
sends VAT declarations to Germany's fiscal authorities.
|
2016-10-17 04:39:21 -04:00
|
|
|
|
|
|
|
Currently it is *not* possible to send returns that are due annually
|
|
|
|
(especially the income tax return) since the fiscal authority doesn't
|
2020-04-12 17:16:22 -04:00
|
|
|
allow doing that off the ERiC library (which is proprietary however).
|
2016-10-17 04:39:21 -04:00
|
|
|
It's not clear at the moment whether one day it will be possible to
|
|
|
|
do so.")
|
|
|
|
(license license:agpl3+)))
|
2017-01-02 08:32:38 -05:00
|
|
|
|
|
|
|
(define-public electrum
|
|
|
|
(package
|
|
|
|
(name "electrum")
|
2019-08-11 02:35:41 -04:00
|
|
|
(version "3.3.8")
|
2017-01-02 08:32:38 -05:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://download.electrum.org/"
|
|
|
|
version "/Electrum-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
2019-08-11 02:35:41 -04:00
|
|
|
(base32 "1g00cj1pmckd4xis8r032wmraiv3vd3zc803hnyxa2bnhj8z3bg2"))
|
2017-01-02 08:32:38 -05:00
|
|
|
(modules '((guix build utils)))
|
|
|
|
(snippet
|
|
|
|
'(begin
|
|
|
|
;; Delete the bundled dependencies.
|
|
|
|
(delete-file-recursively "packages")
|
|
|
|
#t))))
|
|
|
|
(build-system python-build-system)
|
|
|
|
(inputs
|
2017-11-06 06:40:28 -05:00
|
|
|
`(("python-pyaes" ,python-pyaes)
|
|
|
|
("python-pysocks" ,python-pysocks)
|
|
|
|
("python-sip" ,python-sip)
|
|
|
|
("python-pyqt" ,python-pyqt)
|
|
|
|
("python-ecdsa" ,python-ecdsa)
|
|
|
|
("python-pbkdf2" ,python-pbkdf2)
|
|
|
|
("python-requests" ,python-requests)
|
|
|
|
("python-qrcode" ,python-qrcode)
|
|
|
|
("python-protobuf" ,python-protobuf)
|
2019-01-14 23:51:34 -05:00
|
|
|
("python-aiohttp" ,python-aiohttp)
|
|
|
|
("python-aiohttp-socks" ,python-aiohttp-socks)
|
|
|
|
("python-aiorpcx" ,python-aiorpcx)
|
|
|
|
("python-certifi" ,python-certifi)
|
2017-11-06 06:40:28 -05:00
|
|
|
("python-dnspython" ,python-dnspython)
|
|
|
|
("python-jsonrpclib-pelix" ,python-jsonrpclib-pelix)))
|
2017-01-02 08:32:38 -05:00
|
|
|
(arguments
|
2020-08-23 21:18:08 -04:00
|
|
|
`(#:tests? #f ; no tests
|
2017-01-02 08:32:38 -05:00
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
2020-08-23 22:21:42 -04:00
|
|
|
(add-after 'unpack 'fix-prefix
|
2017-01-02 08:32:38 -05:00
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2020-08-23 22:21:42 -04:00
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
;; setup.py installs to ~/.local/share if sys.prefix/share isn't
|
|
|
|
;; writable. sys.prefix points to Python's, not our, --prefix.
|
|
|
|
(mkdir-p (string-append out "/share"))
|
|
|
|
(substitute* "setup.py"
|
|
|
|
(("sys\\.prefix")
|
|
|
|
(format #f "\"~a\"" out)))
|
|
|
|
#t))))))
|
2017-01-02 08:32:38 -05:00
|
|
|
(home-page "https://electrum.org/")
|
|
|
|
(synopsis "Bitcoin wallet")
|
|
|
|
(description
|
|
|
|
"Electrum is a lightweight Bitcoin client, based on a client-server
|
|
|
|
protocol. It supports Simple Payment Verification (SPV) and deterministic key
|
|
|
|
generation from a seed. Your secret keys are encrypted and are never sent to
|
|
|
|
other machines/servers. Electrum does not download the Bitcoin blockchain.")
|
|
|
|
(license license:expat)))
|
2017-09-09 13:47:34 -04:00
|
|
|
|
2018-07-13 18:39:16 -04:00
|
|
|
(define-public electron-cash
|
|
|
|
(package
|
|
|
|
(name "electron-cash")
|
2020-09-19 03:22:08 -04:00
|
|
|
(version "4.1.1")
|
2018-07-13 18:39:16 -04:00
|
|
|
(source
|
|
|
|
(origin
|
2019-12-16 16:20:53 -05:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
(url "https://github.com/Electron-Cash/Electron-Cash")
|
2019-12-16 16:20:53 -05:00
|
|
|
(commit version)))
|
|
|
|
(file-name (git-file-name name version))
|
2018-07-13 18:39:16 -04:00
|
|
|
(sha256
|
2020-09-19 03:22:08 -04:00
|
|
|
(base32 "1fllz2s20lg4hrppzmnlgjy9mrq7gaq66l2apb3vz1avzvsjw3gm"))))
|
2020-03-22 14:03:52 -04:00
|
|
|
(build-system python-build-system)
|
2019-10-08 15:41:44 -04:00
|
|
|
(inputs
|
2020-03-22 14:03:52 -04:00
|
|
|
`(("libevent" ,libevent)
|
gnu: Fix package references.
* gnu/packages/algebra.scm (iml)[inputs]: Correctly refer to package
inputs.
* gnu/packages/astronomy.scm (xplanet),
* gnu/packages/audio.scm (redkite, libaudec, lv2lint, lv2toweb),
* gnu/packages/bioconductor.scm (r-cummerbund),
* gnu/packages/chicken.scm (chicken),
* gnu/packages/conky.scm (conky),
* gnu/packages/cran.scm (r-latex2exp),
* gnu/packages/crates-io.scm (rust-rgb),
* gnu/packages/databases.scm (mariadb),
* gnu/packages/diffoscope.scm (reprotest),
* gnu/packages/file-systems.scm (glusterfs),
* gnu/packages/finance.scm (electron-cash),
* gnu/packages/games.scm (rinutils, ksudoku, kdiamond, kigo),
* gnu/packages/geo.scm (grass),
* gnu/packages/gnome.scm (libmediaart, gnome-contacts, geoclue),
* gnu/packages/gnucash.scm (aqbanking),
* gnu/packages/image.scm (mtpaint),
* gnu/packages/kde-internet.scm (kopete, ktorrent),
* gnu/packages/kde-utils.scm (kmousetool, kmouth, kronometer),
* gnu/packages/linphone.scm (liblinphone),
* gnu/packages/maths.scm (ppl),
* gnu/packages/mercury.scm (mercury-minimal),
* gnu/packages/music.scm (bjumblr, bschaffl, lsp-plugins,
spectacle-analyzer, helm, tap-lv2, wolf-shaper, shiru-lv2),
* gnu/packages/networking.scm (restinio),
* gnu/packages/prolog.scm (swi-prolog),
* gnu/packages/python-web.scm (gunicorn),
* gnu/packages/python-xyz.scm (python-docusign-esign),
* gnu/packages/ruby.scm (ruby-cucumber, ruby_version, ruby-addressable),
* gnu/packages/sagemath.scm (python-cypari2),
* gnu/packages/skarnet.scm (s6-linux-init),
* gnu/packages/vpn.scm (sshuttle),
* gnu/packages/web.scm (libcyaml),
* gnu/packages/xdisorg.scm (kbdd),
* gnu/packages/xorg.scm (xpra): Same.
2020-09-30 01:57:27 -04:00
|
|
|
("libsecp256k1" ,libsecp256k1-bitcoin-cash)
|
2020-03-22 14:03:52 -04:00
|
|
|
("openssl" ,openssl)
|
|
|
|
("python-cython" ,python-cython)
|
gnu: Fix package references.
* gnu/packages/algebra.scm (iml)[inputs]: Correctly refer to package
inputs.
* gnu/packages/astronomy.scm (xplanet),
* gnu/packages/audio.scm (redkite, libaudec, lv2lint, lv2toweb),
* gnu/packages/bioconductor.scm (r-cummerbund),
* gnu/packages/chicken.scm (chicken),
* gnu/packages/conky.scm (conky),
* gnu/packages/cran.scm (r-latex2exp),
* gnu/packages/crates-io.scm (rust-rgb),
* gnu/packages/databases.scm (mariadb),
* gnu/packages/diffoscope.scm (reprotest),
* gnu/packages/file-systems.scm (glusterfs),
* gnu/packages/finance.scm (electron-cash),
* gnu/packages/games.scm (rinutils, ksudoku, kdiamond, kigo),
* gnu/packages/geo.scm (grass),
* gnu/packages/gnome.scm (libmediaart, gnome-contacts, geoclue),
* gnu/packages/gnucash.scm (aqbanking),
* gnu/packages/image.scm (mtpaint),
* gnu/packages/kde-internet.scm (kopete, ktorrent),
* gnu/packages/kde-utils.scm (kmousetool, kmouth, kronometer),
* gnu/packages/linphone.scm (liblinphone),
* gnu/packages/maths.scm (ppl),
* gnu/packages/mercury.scm (mercury-minimal),
* gnu/packages/music.scm (bjumblr, bschaffl, lsp-plugins,
spectacle-analyzer, helm, tap-lv2, wolf-shaper, shiru-lv2),
* gnu/packages/networking.scm (restinio),
* gnu/packages/prolog.scm (swi-prolog),
* gnu/packages/python-web.scm (gunicorn),
* gnu/packages/python-xyz.scm (python-docusign-esign),
* gnu/packages/ruby.scm (ruby-cucumber, ruby_version, ruby-addressable),
* gnu/packages/sagemath.scm (python-cypari2),
* gnu/packages/skarnet.scm (s6-linux-init),
* gnu/packages/vpn.scm (sshuttle),
* gnu/packages/web.scm (libcyaml),
* gnu/packages/xdisorg.scm (kbdd),
* gnu/packages/xorg.scm (xpra): Same.
2020-09-30 01:57:27 -04:00
|
|
|
("python-dateutil" ,python-dateutil)
|
2020-03-22 14:03:52 -04:00
|
|
|
("python-dnspython" ,python-dnspython)
|
|
|
|
("python-ecdsa" ,python-ecdsa)
|
|
|
|
("python-hidapi" ,python-hidapi)
|
|
|
|
("python-jsonrpclib-pelix" ,python-jsonrpclib-pelix)
|
|
|
|
("python-keepkey" ,python-keepkey)
|
|
|
|
("python-protobuf" ,python-protobuf)
|
|
|
|
("python-pyaes" ,python-pyaes)
|
|
|
|
("python-pyqt" ,python-pyqt)
|
|
|
|
("python-pysocks" ,python-pysocks)
|
|
|
|
("python-qrcode" ,python-qrcode)
|
|
|
|
("python-requests" ,python-requests)
|
|
|
|
("python-stem" ,python-stem)
|
|
|
|
("python-trezor" ,python-trezor)
|
|
|
|
("qtsvg" ,qtsvg)
|
|
|
|
("zlib" ,zlib)))
|
2019-12-16 16:20:53 -05:00
|
|
|
(arguments
|
2020-08-23 21:19:00 -04:00
|
|
|
`(#:tests? #f ; no tests
|
2020-03-22 14:03:52 -04:00
|
|
|
#:modules ((guix build python-build-system)
|
|
|
|
(guix build qt-utils)
|
|
|
|
(guix build utils))
|
|
|
|
#:imported-modules (,@%python-build-system-modules
|
|
|
|
(guix build qt-utils))
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
2020-08-23 21:56:01 -04:00
|
|
|
(add-after 'unpack 'create-output-directories
|
2020-03-22 14:03:52 -04:00
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2020-08-23 21:56:01 -04:00
|
|
|
;; setup.py installs to ~/.local/share if this doesn't exist.
|
|
|
|
(mkdir-p (string-append (assoc-ref outputs "out") "/share"))
|
2020-08-23 21:19:00 -04:00
|
|
|
#t))
|
2020-03-22 14:03:52 -04:00
|
|
|
(add-after 'unpack 'use-libsecp256k1-input
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(substitute* "lib/secp256k1.py"
|
|
|
|
(("library_paths = .* 'libsecp256k1.so.0'.")
|
2020-09-03 05:51:35 -04:00
|
|
|
(string-append "library_paths = ('"
|
|
|
|
(assoc-ref inputs "libsecp256k1")
|
|
|
|
"/lib/libsecp256k1.so.0'")))
|
2020-08-23 21:19:00 -04:00
|
|
|
#t))
|
2020-03-22 14:03:52 -04:00
|
|
|
(add-after 'install 'wrap-qt
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(wrap-qt-program (assoc-ref outputs "out") "electron-cash")
|
|
|
|
#t)))))
|
2018-07-13 18:39:16 -04:00
|
|
|
(home-page "https://electroncash.org/")
|
|
|
|
(synopsis "Bitcoin Cash wallet")
|
|
|
|
(description
|
|
|
|
"Electroncash is a lightweight Bitcoin Cash client, based on a client-server
|
|
|
|
protocol. It supports Simple Payment Verification (SPV) and deterministic key
|
|
|
|
generation from a seed. Your secret keys are encrypted and are never sent to
|
|
|
|
other machines/servers. Electroncash does not download the Bitcoin Cash blockchain.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2017-09-09 13:47:34 -04:00
|
|
|
(define-public monero
|
|
|
|
;; This package bundles easylogging++ and lmdb.
|
2019-06-17 04:44:35 -04:00
|
|
|
;; The bundled easylogging++ is modified, and the changes will not be
|
|
|
|
;; upstreamed.
|
2017-09-09 13:47:34 -04:00
|
|
|
;; The devs deem the lmdb driver too critical a consenus component, to use
|
|
|
|
;; the system's dynamically linked library.
|
|
|
|
(package
|
|
|
|
(name "monero")
|
2020-10-14 04:27:05 -04:00
|
|
|
(version "0.17.1.0")
|
2017-09-09 13:47:34 -04:00
|
|
|
(source
|
|
|
|
(origin
|
2018-07-08 13:39:26 -04:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
(url "https://github.com/monero-project/monero")
|
2019-06-17 04:44:35 -04:00
|
|
|
(commit (string-append "v" version))
|
|
|
|
(recursive? #t)))
|
2018-07-29 09:03:59 -04:00
|
|
|
(file-name (git-file-name name version))
|
2018-07-08 13:39:26 -04:00
|
|
|
(patches (search-patches "monero-use-system-miniupnpc.patch"))
|
2019-06-17 04:44:35 -04:00
|
|
|
(modules '((guix build utils)))
|
|
|
|
(snippet
|
|
|
|
'(begin
|
|
|
|
;; Delete bundled dependencies.
|
|
|
|
(for-each
|
|
|
|
delete-file-recursively
|
|
|
|
'("external/miniupnp" "external/rapidjson"
|
|
|
|
"external/unbound"))
|
|
|
|
#t))
|
2017-09-09 13:47:34 -04:00
|
|
|
(sha256
|
2020-10-14 04:27:05 -04:00
|
|
|
(base32 "1cngniv7sndy8r0fcfgk737640k53q3kwd36g891p5igcb985qdw"))))
|
2017-09-09 13:47:34 -04:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("doxygen" ,doxygen)
|
|
|
|
("graphviz" ,graphviz)
|
2019-06-17 04:44:35 -04:00
|
|
|
("pkg-config" ,pkg-config)
|
2019-09-04 10:58:56 -04:00
|
|
|
("protobuf" ,protobuf)
|
|
|
|
("python" ,python)
|
2019-06-17 04:44:35 -04:00
|
|
|
("qttools" ,qttools)))
|
2017-09-09 13:47:34 -04:00
|
|
|
(inputs
|
2019-06-17 04:44:35 -04:00
|
|
|
`(("boost" ,boost)
|
2018-07-08 13:39:26 -04:00
|
|
|
("cppzmq" ,cppzmq)
|
2017-09-09 13:47:34 -04:00
|
|
|
("expat" ,expat)
|
2019-06-17 04:44:35 -04:00
|
|
|
("hidapi" ,hidapi)
|
|
|
|
("libsodium" ,libsodium)
|
2019-09-04 10:58:56 -04:00
|
|
|
("libunwind" ,libunwind)
|
|
|
|
("libusb" ,libusb)
|
2019-06-17 04:44:35 -04:00
|
|
|
("miniupnpc" ,miniupnpc)
|
2017-09-09 13:47:34 -04:00
|
|
|
("openssl" ,openssl)
|
2019-09-04 10:58:56 -04:00
|
|
|
("protobuf" ,protobuf)
|
2017-09-09 13:47:34 -04:00
|
|
|
("rapidjson" ,rapidjson)
|
2019-06-17 04:44:35 -04:00
|
|
|
("readline" ,readline)
|
|
|
|
("unbound" ,unbound)
|
|
|
|
("xz" ,xz)
|
|
|
|
("zeromq" ,zeromq)))
|
2017-09-09 13:47:34 -04:00
|
|
|
(arguments
|
|
|
|
`(#:out-of-source? #t
|
2019-09-04 10:58:55 -04:00
|
|
|
#:configure-flags
|
|
|
|
(list "-DARCH=default"
|
|
|
|
"-DBUILD_TESTS=ON"
|
|
|
|
(string-append "-DReadline_ROOT_DIR="
|
|
|
|
(assoc-ref %build-inputs "readline")))
|
2017-09-09 13:47:34 -04:00
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
;; tests/core_tests need a valid HOME
|
|
|
|
(add-before 'configure 'set-home
|
|
|
|
(lambda _
|
|
|
|
(setenv "HOME" (getcwd))
|
|
|
|
#t))
|
2019-06-17 04:44:35 -04:00
|
|
|
(add-after 'set-home 'change-log-path
|
2017-09-09 13:47:34 -04:00
|
|
|
(lambda _
|
|
|
|
(substitute* "contrib/epee/src/mlog.cpp"
|
|
|
|
(("epee::string_tools::get_current_module_folder\\(\\)")
|
2019-06-17 04:44:35 -04:00
|
|
|
"\".bitmonero\"")
|
|
|
|
(("return \\(")
|
|
|
|
"return ((std::string(getenv(\"HOME\"))) / "))
|
2017-09-09 13:47:34 -04:00
|
|
|
#t))
|
2019-08-15 08:07:44 -04:00
|
|
|
(add-after 'change-log-path 'fix-file-permissions-for-tests
|
|
|
|
(lambda _
|
|
|
|
(for-each make-file-writable
|
|
|
|
(find-files "tests/data/" "wallet_9svHk1.*"))
|
|
|
|
#t))
|
2019-06-17 04:44:35 -04:00
|
|
|
;; Only try tests that don't need access to network or system
|
2017-09-09 13:47:34 -04:00
|
|
|
(replace 'check
|
|
|
|
(lambda _
|
2020-02-15 07:31:33 -05:00
|
|
|
;; Core tests sometimes fail, at least on i686-linux.
|
|
|
|
;; Let's disable them for now and just try hash tests
|
|
|
|
;; and unit tests.
|
|
|
|
;; (invoke "make" "ARGS=-R 'hash|core_tests' --verbose" "test")))
|
|
|
|
(invoke "make" "ARGS=-R 'hash' --verbose" "test")))
|
2017-09-09 13:47:34 -04:00
|
|
|
(add-after 'check 'unit-tests
|
|
|
|
(lambda _
|
|
|
|
(let ((excluded-unit-tests
|
|
|
|
(string-join
|
|
|
|
'("AddressFromURL.Success"
|
|
|
|
"AddressFromURL.Failure"
|
|
|
|
"DNSResolver.IPv4Success"
|
|
|
|
"DNSResolver.DNSSECSuccess"
|
|
|
|
"DNSResolver.DNSSECFailure"
|
2019-06-17 04:44:35 -04:00
|
|
|
"DNSResolver.GetTXTRecord"
|
|
|
|
"is_hdd.linux_os_root")
|
2017-09-09 13:47:34 -04:00
|
|
|
":")))
|
2018-07-08 13:39:27 -04:00
|
|
|
(invoke "tests/unit_tests/unit_tests"
|
|
|
|
(string-append "--gtest_filter=-"
|
2019-09-04 10:58:56 -04:00
|
|
|
excluded-unit-tests)))))
|
2020-10-05 04:01:28 -04:00
|
|
|
(add-after 'install 'delete-unused-files
|
2019-09-04 10:58:56 -04:00
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
2020-10-05 04:01:28 -04:00
|
|
|
(delete-file-recursively (string-append out "/include")))
|
|
|
|
#t)))))
|
2019-11-09 05:54:53 -05:00
|
|
|
(home-page "https://web.getmonero.org/")
|
2017-09-09 13:47:34 -04:00
|
|
|
(synopsis "Command-line interface to the Monero currency")
|
|
|
|
(description
|
2019-06-17 04:44:35 -04:00
|
|
|
"Monero is a secure, private, untraceable currency. This package provides
|
|
|
|
the Monero command line client and daemon.")
|
2017-09-09 13:47:34 -04:00
|
|
|
(license license:bsd-3)))
|
2017-09-09 13:47:35 -04:00
|
|
|
|
2018-07-08 13:39:32 -04:00
|
|
|
(define-public monero-gui
|
2017-09-09 13:47:35 -04:00
|
|
|
(package
|
2018-07-08 13:39:32 -04:00
|
|
|
(name "monero-gui")
|
2020-10-14 05:07:23 -04:00
|
|
|
(version "0.17.1.0")
|
2017-09-09 13:47:35 -04:00
|
|
|
(source
|
|
|
|
(origin
|
2018-07-08 13:39:28 -04:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
(url "https://github.com/monero-project/monero-gui")
|
2018-07-08 13:39:28 -04:00
|
|
|
(commit (string-append "v" version))))
|
2018-07-29 09:05:53 -04:00
|
|
|
(file-name (git-file-name name version))
|
2017-09-09 13:47:35 -04:00
|
|
|
(sha256
|
2020-10-14 05:07:23 -04:00
|
|
|
(base32 "07r78ipv4g3i6z822kq380vi3qwlb958rccsy6lyybkhj9y0rx84"))))
|
2020-01-10 03:52:20 -05:00
|
|
|
(build-system qt-build-system)
|
2017-09-09 13:47:35 -04:00
|
|
|
(native-inputs
|
2020-10-05 04:01:28 -04:00
|
|
|
`(,@(package-native-inputs monero)
|
|
|
|
("monero-source" ,(package-source monero))))
|
2017-09-09 13:47:35 -04:00
|
|
|
(inputs
|
2020-10-05 04:01:28 -04:00
|
|
|
`(,@(package-inputs monero)
|
2020-05-26 08:19:11 -04:00
|
|
|
("libgcrypt" ,libgcrypt)
|
2020-10-05 04:01:28 -04:00
|
|
|
("monero" ,monero)
|
2018-07-30 02:43:15 -04:00
|
|
|
("qtbase" ,qtbase)
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
("qtgraphicaleffects" ,qtgraphicaleffects)
|
2019-06-15 04:33:41 -04:00
|
|
|
("qtlocation" ,qtlocation)
|
|
|
|
("qtmultimedia" ,qtmultimedia)
|
2018-07-30 02:43:15 -04:00
|
|
|
("qtquickcontrols" ,qtquickcontrols)
|
2019-06-15 04:33:41 -04:00
|
|
|
("qtquickcontrols2",qtquickcontrols2)
|
|
|
|
("qtsvg" ,qtsvg)
|
2020-10-05 04:01:28 -04:00
|
|
|
("qtxmlpatterns" ,qtxmlpatterns)))
|
2017-09-09 13:47:35 -04:00
|
|
|
(arguments
|
2020-01-10 03:52:20 -05:00
|
|
|
`(#:tests? #f ; No tests
|
2020-10-05 04:01:28 -04:00
|
|
|
#:configure-flags
|
|
|
|
(list "-DARCH=default"
|
|
|
|
"-DENABLE_PASS_STRENGTH_METER=ON"
|
|
|
|
(string-append "-DReadline_ROOT_DIR="
|
|
|
|
(assoc-ref %build-inputs "readline"))
|
|
|
|
"-DCMAKE_BUILD_TYPE=Release")
|
2019-06-15 04:33:41 -04:00
|
|
|
#:phases
|
2017-09-09 13:47:35 -04:00
|
|
|
(modify-phases %standard-phases
|
2020-10-05 04:01:28 -04:00
|
|
|
(add-after 'unpack 'extract-monero-sources
|
|
|
|
;; Some of the monero package source code is required
|
|
|
|
;; to build the GUI.
|
2020-05-26 08:19:11 -04:00
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
2020-10-05 04:01:28 -04:00
|
|
|
(invoke "tar" "-xv" "--strip-components=1"
|
2020-05-26 08:19:11 -04:00
|
|
|
"-C" "monero"
|
2020-10-05 04:01:28 -04:00
|
|
|
"-f" (assoc-ref inputs "monero-source"))
|
2020-05-26 08:19:11 -04:00
|
|
|
#t))
|
2020-10-05 04:01:28 -04:00
|
|
|
(add-after 'extract-monero-sources 'fix-build
|
2017-09-09 13:47:35 -04:00
|
|
|
(lambda _
|
2020-10-05 04:01:28 -04:00
|
|
|
(substitute* "monero/src/version.cpp.in"
|
|
|
|
(("@VERSION_IS_RELEASE@")
|
|
|
|
"false"))
|
|
|
|
(substitute* "src/version.js.in"
|
|
|
|
(("@VERSION_TAG_GUI@")
|
|
|
|
,version))
|
2017-09-09 13:47:35 -04:00
|
|
|
(substitute* "src/zxcvbn-c/makefile"
|
|
|
|
(("\\?=") "="))
|
|
|
|
#t))
|
2020-10-05 04:01:28 -04:00
|
|
|
(add-before 'configure 'generate-zxcvbn-c-header
|
2019-06-15 04:33:41 -04:00
|
|
|
(lambda _
|
2020-10-05 04:01:28 -04:00
|
|
|
(invoke "make" "-C" "src/zxcvbn-c" "dict-src.h")))
|
|
|
|
(replace 'install
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let ((bin (string-append (assoc-ref outputs "out") "/bin")))
|
|
|
|
(mkdir-p bin)
|
|
|
|
(install-file "../build/bin/monero-wallet-gui" bin))
|
2019-06-15 04:33:41 -04:00
|
|
|
#t))
|
2020-10-05 04:01:28 -04:00
|
|
|
(add-after 'qt-wrap 'install-monerod-link
|
|
|
|
;; The monerod program must be available so that monero-wallet-gui
|
|
|
|
;; can start a Monero daemon if necessary.
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
(symlink (string-append (assoc-ref inputs "monero")
|
|
|
|
"/bin/monerod")
|
|
|
|
(string-append (assoc-ref outputs "out")
|
|
|
|
"/bin/monerod"))
|
|
|
|
#t)))))
|
2019-11-09 05:54:54 -05:00
|
|
|
(home-page "https://web.getmonero.org/")
|
2017-09-09 13:47:35 -04:00
|
|
|
(synopsis "Graphical user interface for the Monero currency")
|
|
|
|
(description
|
2019-06-15 04:33:41 -04:00
|
|
|
"Monero is a secure, private, untraceable currency. This package provides
|
|
|
|
the Monero GUI client.")
|
2017-09-09 13:47:35 -04:00
|
|
|
(license license:bsd-3)))
|
2017-12-25 19:04:40 -05:00
|
|
|
|
|
|
|
(define-public python-trezor-agent
|
|
|
|
(package
|
|
|
|
(name "python-trezor-agent")
|
2019-04-08 16:55:42 -04:00
|
|
|
(version "0.13.1")
|
2017-12-25 19:04:40 -05:00
|
|
|
(source
|
|
|
|
(origin
|
2018-12-23 22:51:39 -05:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
(url "https://github.com/romanz/trezor-agent")
|
2018-12-23 22:51:39 -05:00
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
2017-12-25 19:04:40 -05:00
|
|
|
(sha256
|
2019-04-08 16:55:42 -04:00
|
|
|
(base32 "0q99vbfd3h85s8rnjipnmldixabqmmlk5w9karv6f0rhyi54f4zv"))))
|
2017-12-25 19:04:40 -05:00
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
2019-02-06 19:07:15 -05:00
|
|
|
(add-after 'unpack 'remove-requires-backports-shutil-which
|
|
|
|
;; Remove requires on backport of shutil_which, as python 3.4+ has
|
|
|
|
;; a built-in implementation supported in python-trezor-agent.
|
|
|
|
(lambda _
|
|
|
|
(substitute* "setup.py"
|
|
|
|
(("'backports.shutil_which>=3.5.1',") ""))
|
|
|
|
#t))
|
2017-12-25 19:04:40 -05:00
|
|
|
(delete 'check)
|
|
|
|
(add-after 'install 'check
|
|
|
|
(lambda* (#:key outputs inputs #:allow-other-keys)
|
2018-12-23 22:51:39 -05:00
|
|
|
;; Make installed package available for running the tests.
|
2017-12-25 19:04:40 -05:00
|
|
|
(add-installed-pythonpath inputs outputs)
|
|
|
|
(invoke "py.test"))))))
|
|
|
|
(propagated-inputs
|
2019-02-06 19:07:15 -05:00
|
|
|
`(("python-configargparse" ,python-configargparse)
|
|
|
|
("python-daemon" ,python-daemon)
|
|
|
|
("python-docutils" ,python-docutils)
|
|
|
|
("python-ecdsa" ,python-ecdsa)
|
2017-12-25 19:04:40 -05:00
|
|
|
("python-ed25519" ,python-ed25519)
|
2019-02-06 19:07:15 -05:00
|
|
|
("python-mnemonic" ,python-mnemonic)
|
|
|
|
("python-pymsgbox" ,python-pymsgbox)
|
2017-12-25 19:04:40 -05:00
|
|
|
("python-semver" ,python-semver)
|
2019-02-06 19:07:15 -05:00
|
|
|
("python-unidecode" ,python-unidecode)
|
|
|
|
("python-wheel" ,python-wheel)))
|
2017-12-25 19:04:40 -05:00
|
|
|
(native-inputs
|
2019-02-06 19:07:15 -05:00
|
|
|
`(("gnupg" ,gnupg)
|
|
|
|
("python-mock" ,python-mock)
|
2017-12-25 19:04:40 -05:00
|
|
|
("python-pytest" ,python-pytest)))
|
|
|
|
(home-page "https://github.com/romanz/trezor-agent")
|
2019-02-06 19:07:15 -05:00
|
|
|
(synopsis "Use hardware wallets as SSH and GPG agent")
|
2017-12-25 19:04:40 -05:00
|
|
|
(description
|
|
|
|
"@code{libagent} is a library that allows using TREZOR, Keepkey and
|
|
|
|
Ledger Nano as a hardware SSH/GPG agent.")
|
|
|
|
(license license:lgpl3)))
|
|
|
|
|
2017-12-25 19:13:48 -05:00
|
|
|
(define-public python-mnemonic
|
|
|
|
(package
|
|
|
|
(name "python-mnemonic")
|
2019-10-05 22:13:49 -04:00
|
|
|
(version "0.19")
|
2017-12-25 19:13:48 -05:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "mnemonic" version))
|
|
|
|
(sha256
|
2019-10-05 22:13:49 -04:00
|
|
|
(base32 "0cd9prmdj8wzdmc7lxbf9lz0xrlkvak5ignag406mmfbn81fndsf"))))
|
2017-12-25 19:13:48 -05:00
|
|
|
(build-system python-build-system)
|
|
|
|
(propagated-inputs
|
|
|
|
`(("python-pbkdf2" ,python-pbkdf2)))
|
|
|
|
(home-page "https://github.com/trezor/python-mnemonic")
|
|
|
|
(synopsis "Implementation of Bitcoin BIP-0039")
|
|
|
|
(description "@code{mnemonic} is a library that provides an implementation
|
|
|
|
of Bitcoin BIP-0039.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
|
|
(define-public python2-mnemonic
|
|
|
|
(package-with-python2 python-mnemonic))
|
2017-12-28 02:37:20 -05:00
|
|
|
|
|
|
|
(define-public python-ledgerblue
|
|
|
|
(package
|
|
|
|
(name "python-ledgerblue")
|
|
|
|
(version "0.1.16")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "ledgerblue" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"010mghaqh1cmz3a0ifc3f40mmyplilwlw7kpha2mzyrrff46p9gb"))))
|
|
|
|
(build-system python-build-system)
|
|
|
|
(propagated-inputs
|
|
|
|
`(("python-ecpy" ,python-ecpy)
|
|
|
|
("python-future" ,python-future)
|
|
|
|
("python-hidapi" ,python-hidapi)
|
|
|
|
("python-pillow" ,python-pillow)
|
|
|
|
("python-protobuf" ,python-protobuf)
|
|
|
|
("python-pycrypto" ,python-pycrypto)))
|
|
|
|
(home-page "https://github.com/LedgerHQ/blue-loader-python")
|
|
|
|
(synopsis "Python library to communicate with Ledger Blue/Nano S")
|
|
|
|
(description "@code{ledgerblue} is a Python library to communicate with
|
|
|
|
Ledger Blue/Nano S.")
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
|
|
(define-public python2-ledgerblue
|
|
|
|
(package-with-python2 python-ledgerblue))
|
|
|
|
|
2017-12-28 03:34:20 -05:00
|
|
|
(define-public python-trezor
|
|
|
|
(package
|
|
|
|
(name "python-trezor")
|
2020-08-15 09:09:35 -04:00
|
|
|
(version "0.12.1")
|
2017-12-28 03:34:20 -05:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "trezor" version))
|
|
|
|
(sha256
|
2020-08-15 09:09:35 -04:00
|
|
|
(base32 "1w19m9lws55k9sjhras47hpfpqwq1jm5vy135nj65yhkblygqg19"))))
|
2017-12-28 03:34:20 -05:00
|
|
|
(build-system python-build-system)
|
|
|
|
(propagated-inputs
|
2018-08-28 17:50:39 -04:00
|
|
|
`(("python-click" ,python-click)
|
2019-02-04 23:14:23 -05:00
|
|
|
("python-construct" ,python-construct)
|
2018-08-28 17:50:39 -04:00
|
|
|
("python-ecdsa" ,python-ecdsa)
|
|
|
|
("python-libusb1" ,python-libusb1)
|
2017-12-28 03:34:20 -05:00
|
|
|
("python-mnemonic" ,python-mnemonic)
|
2018-08-28 17:50:39 -04:00
|
|
|
("python-requests" ,python-requests)
|
2019-02-04 23:14:23 -05:00
|
|
|
("python-typing-extensions" ,python-typing-extensions)))
|
2017-12-28 03:34:20 -05:00
|
|
|
(native-inputs
|
2019-06-06 18:17:03 -04:00
|
|
|
;; For tests.
|
|
|
|
`(("protobuf" ,protobuf)
|
|
|
|
("python-black" ,python-black)
|
|
|
|
("python-protobuf" ,python-protobuf)
|
|
|
|
("python-isort" ,python-isort)
|
|
|
|
("python-pyqt" ,python-pyqt)
|
|
|
|
("python-pytest" ,python-pytest)))
|
2017-12-28 03:34:20 -05:00
|
|
|
(home-page "https://github.com/trezor/python-trezor")
|
|
|
|
(synopsis "Python library for communicating with TREZOR Hardware Wallet")
|
|
|
|
(description "@code{trezor} is a Python library for communicating with
|
|
|
|
TREZOR Hardware Wallet.")
|
|
|
|
(license license:lgpl3)))
|
|
|
|
|
2017-12-28 16:15:34 -05:00
|
|
|
(define-public python-keepkey
|
|
|
|
(package
|
|
|
|
(name "python-keepkey")
|
2019-04-08 16:50:23 -04:00
|
|
|
(version "6.0.3")
|
2017-12-28 16:15:34 -05:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "keepkey" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2019-04-08 16:50:23 -04:00
|
|
|
"0z3d0m6364v9dv0njs4cd5m5ai6j6v35xaaxfxl90m9vmyxy81vd"))))
|
2017-12-28 16:15:34 -05:00
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(delete 'check)
|
|
|
|
(add-after 'install 'check
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
(add-installed-pythonpath inputs outputs)
|
|
|
|
(apply invoke "python" (find-files "tests/unit" "\\.py$")))))))
|
|
|
|
(propagated-inputs
|
|
|
|
`(("python-ecdsa" ,python-ecdsa)
|
|
|
|
("python-hidapi" ,python-hidapi)
|
2019-02-07 23:35:20 -05:00
|
|
|
("python-libusb1" ,python-libusb1)
|
2017-12-28 16:15:34 -05:00
|
|
|
("python-mnemonic" ,python-mnemonic)
|
|
|
|
("python-protobuf" ,python-protobuf)))
|
|
|
|
(home-page "https://github.com/keepkey/python-keepkey")
|
|
|
|
(synopsis "Python library for communicating with KeepKey Hardware Wallet")
|
|
|
|
(description "@code{keepkey} is a Python library for communicating with
|
|
|
|
the KeepKey Hardware Wallet.")
|
|
|
|
(license license:lgpl3)))
|
|
|
|
|
|
|
|
(define-public python2-keepkey
|
|
|
|
(package-with-python2 python-keepkey))
|
|
|
|
|
2017-12-28 04:10:59 -05:00
|
|
|
(define-public ledger-agent
|
|
|
|
(package
|
|
|
|
(name "ledger-agent")
|
|
|
|
(version "0.9.0")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "ledger_agent" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"03zj602m2rln9yvr08dswy56vzkbldp8b074ixwzz525dafblr92"))))
|
|
|
|
(build-system python-build-system)
|
|
|
|
(inputs
|
|
|
|
`(("python-ledgerblue" ,python-ledgerblue)
|
|
|
|
("python-trezor-agent" ,python-trezor-agent)))
|
gnu: Use HTTPS for github.com (and subdomains) home pages.
* gnu/packages/bioconductor.scm (r-qvalue)[home-page]: Use HTTPS and
follow permanent redirection.
* gnu/packages/check.scm (python-codecov, python-nosexcover)
[home-page]: Likewise.
* gnu/packages/cran.scm (r-ffbase, r-ggrepel, r-valr)
[home-page]: Likewise.
* gnu/packages/crates-io.scm (rust-block-0.1, rust-dispatch-0.1)
(rust-objc-0.2, rust-objc-exception-0.1)
(rust-objc-foundation-0.1, rust-objc-id-0.1, rust-objc-test-utils-0.0)
(rust-onig-5.0, rust-onig-sys-69.2, rust-vergen-3.1)
[home-page]: Likewise.
* gnu/packages/finance.scm (ledger-agent, keepkey-agent)
[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-tasty-expected-failure)
[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-bsb-http-chunked, ghc-warp)
(ghc-warp-tls)[home-page]: Likewise.
* gnu/packages/haskell-xyz.scm (ghc-configurator, ghc-hasktags)
(ghc-linear, ghc-newtype-generics, ghc-retry, ghc-xdg-basedir)
(ghc-pretty-show)[home-page]: Likewise.
* gnu/packages/java.scm (java-javax-inject)[home-page]: Likewise.
* gnu/packages/libffi.scm (ruby-ffi)[home-page]: Likewise.
* gnu/packages/linux.scm (procenv)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-aiodns, python-flask-htpasswd)
(python-pycares)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-progressbar33, python-whatever)
(python-funcy)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-rubyzip, ruby-spinach, ruby-gherkin-ruby)
(ruby-code-statistics, ruby-colorize, ruby-wwtd)[home-page]: Likewise.
2020-07-16 12:20:30 -04:00
|
|
|
(home-page "https://github.com/romanz/trezor-agent")
|
2017-12-28 04:10:59 -05:00
|
|
|
(synopsis "Ledger as hardware SSH/GPG agent")
|
|
|
|
(description "This package allows using Ledger as hardware SSH/GPG agent.
|
|
|
|
|
2017-12-28 15:15:54 -05:00
|
|
|
Usage for SSH: trezor-agent foo@@example.com --connect
|
|
|
|
Usage for GPG: Initialize using trezor-gpg init \"Foo <foo@@example.com>\"
|
2017-12-28 04:10:59 -05:00
|
|
|
Then set the environment variable GNUPGHOME to
|
|
|
|
\"${HOME}/.gnupg/trezor\".")
|
|
|
|
(license license:lgpl3)))
|
2017-12-28 04:12:53 -05:00
|
|
|
|
|
|
|
(define-public trezor-agent
|
|
|
|
(package
|
|
|
|
(name "trezor-agent")
|
2019-02-06 19:07:49 -05:00
|
|
|
(version "0.10.0")
|
2017-12-28 04:12:53 -05:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "trezor_agent" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2019-02-06 19:07:49 -05:00
|
|
|
"144657c7bn0a667dq5fv5r6j7iilxf3h9agj29v1m2qpq40g0az8"))))
|
|
|
|
(arguments
|
|
|
|
;; Tests fail with "AttributeError: module 'attr' has no attribute 's'".
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'wrap 'fixup-agent-py
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
(let* ((out (assoc-ref outputs "out")))
|
|
|
|
;; overwrite the wrapper with the real thing.
|
|
|
|
(install-file "./trezor_agent.py"
|
|
|
|
(string-append out "/bin"))
|
|
|
|
#t))))))
|
2017-12-28 04:12:53 -05:00
|
|
|
(build-system python-build-system)
|
|
|
|
(inputs
|
|
|
|
`(("python-trezor" ,python-trezor)
|
|
|
|
("python-trezor-agent" ,python-trezor-agent)))
|
2019-02-06 19:07:49 -05:00
|
|
|
(native-inputs
|
|
|
|
`(("python-hidapi" ,python-hidapi)))
|
|
|
|
(home-page "https://github.com/romanz/trezor-agent")
|
2017-12-28 04:12:53 -05:00
|
|
|
(synopsis "Using Trezor as hardware SSH/GPG agent")
|
|
|
|
(description "This package allows using Trezor as a hardware SSH/GPG
|
|
|
|
agent.")
|
|
|
|
(license license:lgpl3)))
|
2017-12-28 16:28:13 -05:00
|
|
|
|
|
|
|
(define-public keepkey-agent
|
|
|
|
(package
|
|
|
|
(name "keepkey-agent")
|
|
|
|
(version "0.9.0")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "keepkey_agent" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"03779gvlx70i0nnry98i4pl1d92604ix5x6jgdfkrdgzqbh5vj27"))))
|
|
|
|
(build-system python-build-system)
|
|
|
|
(inputs
|
|
|
|
`(("python-keepkey" ,python-keepkey)
|
|
|
|
("python-trezor-agent" ,python-trezor-agent)))
|
gnu: Use HTTPS for github.com (and subdomains) home pages.
* gnu/packages/bioconductor.scm (r-qvalue)[home-page]: Use HTTPS and
follow permanent redirection.
* gnu/packages/check.scm (python-codecov, python-nosexcover)
[home-page]: Likewise.
* gnu/packages/cran.scm (r-ffbase, r-ggrepel, r-valr)
[home-page]: Likewise.
* gnu/packages/crates-io.scm (rust-block-0.1, rust-dispatch-0.1)
(rust-objc-0.2, rust-objc-exception-0.1)
(rust-objc-foundation-0.1, rust-objc-id-0.1, rust-objc-test-utils-0.0)
(rust-onig-5.0, rust-onig-sys-69.2, rust-vergen-3.1)
[home-page]: Likewise.
* gnu/packages/finance.scm (ledger-agent, keepkey-agent)
[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-tasty-expected-failure)
[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-bsb-http-chunked, ghc-warp)
(ghc-warp-tls)[home-page]: Likewise.
* gnu/packages/haskell-xyz.scm (ghc-configurator, ghc-hasktags)
(ghc-linear, ghc-newtype-generics, ghc-retry, ghc-xdg-basedir)
(ghc-pretty-show)[home-page]: Likewise.
* gnu/packages/java.scm (java-javax-inject)[home-page]: Likewise.
* gnu/packages/libffi.scm (ruby-ffi)[home-page]: Likewise.
* gnu/packages/linux.scm (procenv)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-aiodns, python-flask-htpasswd)
(python-pycares)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-progressbar33, python-whatever)
(python-funcy)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-rubyzip, ruby-spinach, ruby-gherkin-ruby)
(ruby-code-statistics, ruby-colorize, ruby-wwtd)[home-page]: Likewise.
2020-07-16 12:20:30 -04:00
|
|
|
(home-page "https://github.com/romanz/trezor-agent")
|
2017-12-28 16:28:13 -05:00
|
|
|
(synopsis "KeepKey as hardware SSH/GPG agent")
|
|
|
|
(description "This package allows using KeepKey as a hardware SSH/GPG
|
|
|
|
agent.")
|
|
|
|
(license license:lgpl3)))
|
2018-01-22 13:24:20 -05:00
|
|
|
|
|
|
|
(define-public python-stdnum
|
|
|
|
(package
|
|
|
|
(name "python-stdnum")
|
2020-08-15 16:11:59 -04:00
|
|
|
(version "1.14")
|
2018-01-22 13:24:20 -05:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "python-stdnum" version))
|
|
|
|
(sha256
|
2020-08-15 16:11:59 -04:00
|
|
|
(base32 "070vd9zgvq0jchs4xc4j1h4r1l1lg4wwb8xs3p25k8c2xjw94fpx"))))
|
2018-01-22 13:24:20 -05:00
|
|
|
(build-system python-build-system)
|
2020-03-15 23:05:16 -04:00
|
|
|
(arguments
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
(replace 'check
|
|
|
|
(lambda _
|
|
|
|
(invoke "nosetests"))))))
|
|
|
|
(native-inputs
|
|
|
|
`(("python-nose" ,python-nose)))
|
2020-08-15 16:11:59 -04:00
|
|
|
(home-page "https://arthurdejong.org/python-stdnum/")
|
|
|
|
(synopsis "Python module to handle standardized number and code formats")
|
2018-01-22 13:24:20 -05:00
|
|
|
(description
|
|
|
|
"This is a Python library that aims to provide functions to handle,
|
|
|
|
parse and validate standard numbers.
|
|
|
|
The module supports more than 100 different number formats
|
|
|
|
amongst which a great number of VAT and other tax numbers,
|
|
|
|
personal identity and company identification codes,
|
|
|
|
international standard numbers (ISBN, IBAN, EAN, etc.)
|
|
|
|
and various other formats.
|
gnu: Fix typoes in package descriptions.
* gnu/packages/audio.scm (caps-plugins-lv2)[synopsis]: Fix typo.
* gnu/packages/bioconductor.scm (r-karyoploter, r-anota, r-gcrma)
(r-bigmemoryextras)[description]: Likewise.
* gnu/packages/cran.scm (r-geometry)[synopsis]: Likewise.
(r-stringdist, r-patchwork, r-depth, r-tea)[description]: Likewise.
* gnu/packages/crates-io.scm (rust-assert-fs-0.11, rust-notify-4)
(rust-tokio-fs-0.1)[synopsis, description]: Likewise.
(rust-blas-sys-0.7)[description]: Likewise.
(rust-fs-extra-1.1, rust-xattr-0.2)[synopsis]: Likewise.
* gnu/packages/databases.scm (perl-mysql-config)[description]: Likewise.
* gnu/packages/disk.scm (hddtemp)[description]: Likewise.
* gnu/packages/django.scm (python-djangorestframework)[description]:
Likewise.
* gnu/packages/documentation.scm (doc++)[description]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-kakoune, emacs-pyim-basedict, eless)
(emacs-scpaste)[description]: Likewise.
* gnu/packages/file-systems.scm (dbxfs)[description]: Likewise.
* gnu/packages/finance.scm (python-stdnum)[description]: Likewise.
* gnu/packages/fontutils.scm (woff2)[description]: Likewise.
* gnu/packages/games.scm (openttd-opengfx)[description]: Likewise.
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-topicons-redux)
[description]: Likewise.
* gnu/packages/gnome.scm (libgrss)[description]: Likewise.
* gnu/packages/golang.scm (go-github-com-mitchellh-reflectwalk)
[description]: Likewise.
(go-github-com-go-git-go-billy)[synopsis, description]: Likewise.
* gnu/packages/haskell-check.scm (ghc-inspection-testing)[description]:
Likewise.
* gnu/packages/haskell-web.scm (ghc-yesod-form)[description]: Likewise.
* gnu/packages/haskell-xyz.scm (ghc-hex)[description]: Likewise.
* gnu/packages/hyperledger.scm (hyperledger-iroha-ed25519)[description]:
Likewise.
* gnu/packages/java.scm (java-mail)[synopsis]: Likewise.
(java-native-access-platform)[description]: Likewise.
* gnu/packages/kde-frameworks.scm (kactivities-stats)[description]:
Likewise.
* gnu/packages/kde-utils.scm (krusader)[description]: Likewise.
* gnu/packages/language.scm (praat)[description]: Likewise.
* gnu/packages/linux.scm (light)[description]: Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-hu.dwim.defclass-star)[description]:
Likewise.
* gnu/packages/mail.scm (dovecot-trees, sieve-connect)[description]:
Likewise.
* gnu/packages/ocaml.scm (ocaml-opam-file-format, ocaml-cppo)
(ocaml4.07-ppx-variants-conv)[description]: Likewise.
* gnu/packages/perl.scm (perl-convert-binhex)[description]: Likewise.
* gnu/packages/python-crypto.scm (python-ecdsa)[description]: Likewise.
* gnu/packages/python-web.scm (python-html5lib)[synopsis, description]:
Likewise.
(python-venusian)[synopsis]: Likewise.
* gnu/packages/python-xyz.scm (python-readlike, python-gssapi)
(python-flufl-i18n)[description]: Likewise.
(python-pox, python-watchdog, python-xattr)[synopsis, description]:
Likewise.
* gnu/packages/ruby.scm (ruby-sorcerer)[description]: Likewise.
* gnu/packages/rust-apps.scm (watchexec)[description]: Likewise.
* gnu/packages/rust.scm (mrustc)[synopsis]: Likewise.
* gnu/packages/shells.scm (s-shell)[description]: Likewise.
* gnu/packages/ssh.scm (sshpass)[description]: Likewise.
* gnu/packages/terminals.scm (beep)[description]: Likewise.
* gnu/packages/web.scm (perl-lwp-useragent-cached)[description]:
Likewise.
* gnu/packages/wv.scm (wv)[description]: Likewise.
2020-09-22 15:31:52 -04:00
|
|
|
The module also includes implementations of the Verhoeff,
|
2018-01-22 13:24:20 -05:00
|
|
|
Luhn and family of ISO/IEC 7064 check digit algorithms. ")
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
|
|
(define-public python2-stdnum
|
|
|
|
(package-with-python2 python-stdnum))
|
2018-05-16 09:52:51 -04:00
|
|
|
|
2018-07-02 17:27:07 -04:00
|
|
|
(define-public python-duniterpy
|
|
|
|
(package
|
|
|
|
(name "python-duniterpy")
|
2020-04-11 08:29:35 -04:00
|
|
|
(version "0.57.0")
|
2018-07-02 17:27:07 -04:00
|
|
|
(source
|
|
|
|
(origin
|
2020-01-25 16:50:04 -05:00
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "duniterpy" version))
|
2018-07-02 17:27:07 -04:00
|
|
|
(sha256
|
2020-04-11 08:29:35 -04:00
|
|
|
(base32 "0rw2c7r9gcqhymp82gbk1ky45zqbypsi2q5x4vdwjc6g00kh7h6l"))))
|
2018-07-02 17:27:07 -04:00
|
|
|
(build-system python-build-system)
|
2018-12-01 19:11:49 -05:00
|
|
|
(arguments
|
2020-01-25 16:50:04 -05:00
|
|
|
;; FIXME: Tests fail with: "ModuleNotFoundError: No module named
|
|
|
|
;; 'tests'". Not sure how to handle this.
|
2018-12-19 17:49:15 -05:00
|
|
|
`(#:tests? #f
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
2020-01-25 16:50:04 -05:00
|
|
|
;; "setup.py" tries to open missing "requirements.txt".
|
|
|
|
(add-after 'unpack 'ignore-missing-file
|
2018-12-19 17:49:15 -05:00
|
|
|
(lambda _
|
2020-01-25 16:50:04 -05:00
|
|
|
(substitute* "setup.py"
|
|
|
|
(("open\\('requirements\\.txt'\\)") "[]"))
|
2018-12-19 17:49:15 -05:00
|
|
|
#t)))))
|
2018-07-02 17:27:07 -04:00
|
|
|
(propagated-inputs
|
2019-02-02 05:29:50 -05:00
|
|
|
`(("aiohttp" ,python-aiohttp)
|
2020-01-25 16:50:04 -05:00
|
|
|
("attrs" ,python-attrs)
|
2019-02-02 05:29:50 -05:00
|
|
|
("base58" ,python-base58)
|
|
|
|
("jsonschema" ,python-jsonschema)
|
|
|
|
("libnacl" ,python-libnacl)
|
|
|
|
("pyaes" ,python-pyaes)
|
|
|
|
("pylibscrypt" ,python-pylibscrypt)
|
|
|
|
("pypeg2" ,python-pypeg2)))
|
2018-08-09 17:37:44 -04:00
|
|
|
(home-page "https://git.duniter.org/clients/python/duniterpy")
|
2018-07-02 17:27:07 -04:00
|
|
|
(synopsis "Python implementation of Duniter API")
|
|
|
|
(description "@code{duniterpy} is an implementation of
|
2018-12-19 17:49:46 -05:00
|
|
|
@uref{https://github.com/duniter/duniter/, duniter} API. Its
|
2018-07-02 17:27:07 -04:00
|
|
|
main features are:
|
|
|
|
@itemize
|
2018-12-19 17:49:46 -05:00
|
|
|
@item Support Duniter's Basic Merkle API and protocol
|
|
|
|
@item Asynchronous/synchronous without threads
|
|
|
|
@item Support HTTP, HTTPS and Web Socket transport for Basic Merkle API
|
|
|
|
@item Support Elasticsearch Duniter4j API
|
2018-07-02 17:27:07 -04:00
|
|
|
@item Duniter signing key
|
2018-12-19 17:49:46 -05:00
|
|
|
@item Sign/verify and encrypt/decrypt messages with the Duniter credentials
|
2018-07-02 17:27:07 -04:00
|
|
|
@end itemize")
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
2018-05-16 09:52:51 -04:00
|
|
|
(define-public silkaj
|
|
|
|
(package
|
|
|
|
(name "silkaj")
|
2020-01-25 16:50:12 -05:00
|
|
|
(version "0.7.6")
|
2018-05-16 09:52:51 -04:00
|
|
|
(source
|
|
|
|
(origin
|
2020-01-25 16:50:12 -05:00
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "silkaj" version))
|
2018-05-16 09:52:51 -04:00
|
|
|
(sha256
|
2020-01-25 16:50:12 -05:00
|
|
|
(base32 "0hrn0jwg415z7wjkp0myvw85wszlfi18f56j03075xxakr4dmi2j"))))
|
2018-05-16 09:52:51 -04:00
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
2018-12-01 18:23:55 -05:00
|
|
|
`(#:tests? #f)) ;no test
|
2018-05-16 09:52:51 -04:00
|
|
|
(inputs
|
2019-02-02 05:38:28 -05:00
|
|
|
`(("click" ,python-click)
|
|
|
|
("duniterpy" ,python-duniterpy)
|
|
|
|
("pynacl" ,python-pynacl)
|
2019-05-23 10:52:55 -04:00
|
|
|
("tabulate" ,python-tabulate)
|
|
|
|
("texttable" ,python-texttable)))
|
2020-01-25 16:50:12 -05:00
|
|
|
(home-page "https://git.duniter.org/clients/python/silkaj")
|
2018-05-16 09:52:51 -04:00
|
|
|
(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+)))
|
2019-07-12 12:05:00 -04:00
|
|
|
|
|
|
|
(define-public grisbi
|
|
|
|
(package
|
|
|
|
(name "grisbi")
|
|
|
|
(version "1.2.2")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"mirror://sourceforge/grisbi/grisbi%20stable/"
|
|
|
|
(version-major+minor version) ".x/" version
|
|
|
|
"/grisbi-" version ".tar.bz2"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1piiyyxjsjbw9gcqydvknzxmmfgh8kdqal12ywrxyxih2afwnvbw"))))
|
|
|
|
(build-system glib-or-gtk-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:configure-flags (list "--without-ofx")))
|
|
|
|
(propagated-inputs
|
|
|
|
`(("dconf" ,dconf)))
|
|
|
|
(native-inputs
|
|
|
|
`(("glib" ,glib "bin") ; glib-compile-schemas
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
("intltool" ,intltool)))
|
|
|
|
(inputs
|
|
|
|
`(("gtk+" ,gtk+)
|
|
|
|
("libgsf" ,libgsf)))
|
|
|
|
(synopsis "Personal accounting application")
|
|
|
|
(description "Grisbi is a personal accounting application written by
|
|
|
|
French developers that is designed to follow French accounting rules.
|
|
|
|
Grisbi can manage multiple accounts, currencies and users. It manages
|
|
|
|
third party, expenditure and receipt categories, budgetary lines,
|
|
|
|
financial years, budget estimates, bankcard management and other
|
|
|
|
information.")
|
2020-01-18 15:30:14 -05:00
|
|
|
(home-page "https://grisbi.org")
|
2019-07-12 12:05:00 -04:00
|
|
|
(license license:gpl2+)))
|
2019-07-30 20:11:59 -04:00
|
|
|
|
2020-04-16 12:20:44 -04:00
|
|
|
(define-public trezord-udev-rules
|
|
|
|
(let ((commit "bff7fdfe436c727982cc553bdfb29a9021b423b0")
|
|
|
|
(revision "0"))
|
|
|
|
(package
|
|
|
|
(name "trezord-udev-rules")
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
(url "https://github.com/trezor/trezor-common")
|
2020-04-16 12:20:44 -04:00
|
|
|
(commit commit)))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"14mrirrn68if7ja6qdk9qlxs1hv0f21vrxy5ncnms0gx9iwakp2l"))
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
(build-system copy-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:install-plan
|
|
|
|
'(("./udev/51-trezor.rules" "lib/udev/rules.d/"))))
|
|
|
|
(home-page "https://github.com/trezor/trezor-common")
|
|
|
|
(synopsis "Udev rules for trezord")
|
|
|
|
(description
|
|
|
|
"This contains the udev rules for trezord. This will let a user run
|
|
|
|
trezord as a regular user instead of needing to it run as root.")
|
|
|
|
(license license:lgpl3+))))
|
|
|
|
|
2019-07-30 20:11:59 -04:00
|
|
|
(define-public trezord
|
|
|
|
(package
|
|
|
|
(name "trezord")
|
2020-04-16 12:17:13 -04:00
|
|
|
(version "2.0.29")
|
2019-07-30 20:11:59 -04:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
(url "https://github.com/trezor/trezord-go")
|
2019-07-30 20:11:59 -04:00
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2020-04-16 12:17:13 -04:00
|
|
|
"1ks1fa0027s3xp0z6qp0dxmayvrb4dwwscfhbx7da0khp153f2cp"))
|
2019-07-30 20:11:59 -04:00
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:import-path "github.com/trezor/trezord-go"))
|
|
|
|
(home-page "https://trezor.io")
|
|
|
|
(synopsis "Trezor Communication Daemon aka Trezor Bridge (written in Go)")
|
|
|
|
(description "This allows a Trezor hardware wallet to communicate to the
|
|
|
|
Trezor wallet.")
|
|
|
|
(license license:lgpl3+)))
|
2019-08-01 16:31:42 -04:00
|
|
|
|
|
|
|
(define-public bitcoin-abc
|
|
|
|
(package
|
|
|
|
(name "bitcoin-abc")
|
2020-08-11 13:19:02 -04:00
|
|
|
(version "0.21.12")
|
2019-08-01 16:31:42 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://download.bitcoinabc.org/"
|
2019-10-19 14:48:37 -04:00
|
|
|
version "/src/bitcoin-abc-"
|
2019-08-01 16:31:42 -04:00
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2020-08-11 13:19:02 -04:00
|
|
|
"1amzwy3gpl8ai90dsy7g0z51qq8vxfzbf642wn4bfynb8jmw3kx5"))))
|
2020-05-15 11:29:05 -04:00
|
|
|
(build-system cmake-build-system)
|
2019-12-03 08:30:53 -05:00
|
|
|
(native-inputs
|
2020-05-15 11:29:05 -04:00
|
|
|
`(("pkg-config" ,pkg-config)
|
2019-12-03 08:30:53 -05:00
|
|
|
("python" ,python) ; for the tests
|
|
|
|
("util-linux" ,util-linux) ; provides the hexdump command for tests
|
|
|
|
("qttools" ,qttools)))
|
2019-10-19 14:48:37 -04:00
|
|
|
(inputs
|
|
|
|
`(("bdb" ,bdb-5.3)
|
|
|
|
("boost" ,boost)
|
2020-07-11 15:07:16 -04:00
|
|
|
("jemalloc" ,jemalloc)
|
2019-10-19 14:48:37 -04:00
|
|
|
("libevent" ,libevent)
|
|
|
|
("miniupnpc" ,miniupnpc)
|
|
|
|
("openssl" ,openssl)
|
|
|
|
("protobuf" ,protobuf)
|
2019-12-03 08:30:53 -05:00
|
|
|
("qrencode" ,qrencode)
|
|
|
|
("qtbase" ,qtbase)
|
2020-05-15 11:29:05 -04:00
|
|
|
("zeromq" ,zeromq)
|
2019-12-03 08:30:53 -05:00
|
|
|
("zlib" ,zlib)))
|
2020-05-15 11:29:05 -04:00
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before 'configure 'make-qt-deterministic
|
|
|
|
(lambda _
|
|
|
|
;; Make Qt deterministic.
|
|
|
|
(setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1")
|
|
|
|
#t))
|
|
|
|
(add-before 'check 'set-home
|
|
|
|
(lambda _
|
|
|
|
(setenv "HOME" (getenv "TMPDIR")) ; tests write to $HOME
|
|
|
|
#t))
|
|
|
|
(add-after 'check 'check-functional
|
|
|
|
(lambda _
|
|
|
|
(invoke
|
|
|
|
"python3" "./test/functional/test_runner.py"
|
|
|
|
(string-append "--jobs=" (number->string (parallel-job-count)))
|
|
|
|
;; TODO: find why the abc-miner-fund test fails.
|
|
|
|
"--exclude=abc-miner-fund")
|
|
|
|
#t)))))
|
2019-08-01 16:31:42 -04:00
|
|
|
(home-page "https://www.bitcoinabc.org/")
|
|
|
|
(synopsis "Bitcoin ABC peer-to-peer full node for the Bitcoin Cash protocol")
|
|
|
|
(description
|
|
|
|
"Bitcoin Cash brings sound money to the world, fulfilling the original
|
|
|
|
promise of Bitcoin as Peer-to-Peer Electronic Cash. Merchants and users are
|
|
|
|
empowered with low fees and reliable confirmations is a digital currency that
|
|
|
|
enables instant payments to anyone anywhere in the world. It uses
|
|
|
|
peer-to-peer technology to operate without central authority: managing
|
|
|
|
transactions and issuing money are carried out collectively by the network.
|
|
|
|
As a fork it implemented changes lowering the time between blocks and now
|
|
|
|
offers confimations after less than 5 seconds and have significantly lower
|
|
|
|
fees that BTC. Bitcoin ABC is the reference implementation of the Bitcoin
|
|
|
|
Cash protocol. This package provides the Bitcoin Cash command line client and
|
2020-05-15 11:29:05 -04:00
|
|
|
a client based on Qt. This is a fork of Bitcoin Core.")
|
|
|
|
(license license:expat)))
|
2020-01-04 22:36:03 -05:00
|
|
|
|
2020-01-04 22:49:24 -05:00
|
|
|
(define-public libofx
|
|
|
|
(package
|
|
|
|
(name "libofx")
|
|
|
|
(version "0.9.15")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/libofx/libofx")
|
|
|
|
(commit version)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1jx56ma351p8af8dvavygjwf6ipa7qbgq7bpdsymwj27apdnixfy"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
2020-01-26 07:19:44 -05:00
|
|
|
'(#:parallel-build? #f ;fails with -j64
|
|
|
|
#:configure-flags
|
2020-01-04 22:49:24 -05:00
|
|
|
(list (string-append "--with-opensp-includes="
|
|
|
|
(assoc-ref %build-inputs "opensp")
|
|
|
|
"/include/OpenSP"))))
|
|
|
|
(native-inputs
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
("automake" ,automake)
|
|
|
|
("gengetopt" ,gengetopt)
|
|
|
|
("help2man" ,help2man)
|
|
|
|
("libtool" ,libtool)
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
(inputs
|
|
|
|
`(("curl" ,curl)
|
|
|
|
("libxml++-2" ,libxml++-2)
|
|
|
|
("opensp" ,opensp)))
|
|
|
|
(home-page "http://libofx.sourceforge.net/")
|
|
|
|
(synopsis "Library supporting the Open Financial Exchange format")
|
|
|
|
(description
|
2020-01-17 15:23:30 -05:00
|
|
|
"The LibOFX library is an API designed to allow applications to very easily
|
2020-01-04 22:49:24 -05:00
|
|
|
support OFX command responses, usually provided by financial institutions. The
|
|
|
|
following three utilities are included with the library:
|
|
|
|
@enumerate
|
|
|
|
@item @code{ofxdump}
|
|
|
|
@item @code{ofx2qif}
|
|
|
|
@item @code{ofxconnect}
|
|
|
|
@end enumerate")
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
2020-01-04 22:36:03 -05:00
|
|
|
(define-public opensp
|
|
|
|
(package
|
|
|
|
(name "opensp")
|
|
|
|
(version "1.5.2")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://sourceforge/openjade/opensp/"
|
|
|
|
version "/OpenSP-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1khpasr6l0a8nfz6kcf3s81vgdab8fm2dj291n5r2s53k228kx2p"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("gettext" ,gettext-minimal)))
|
|
|
|
(inputs
|
|
|
|
`(("docbook-xml" ,docbook-xml-4.1.2)
|
|
|
|
("docbook-xsl" ,docbook-xsl)
|
|
|
|
("xmlto" ,xmlto)))
|
|
|
|
(arguments
|
|
|
|
`(;; TODO: Fix and enable tests.
|
|
|
|
#:tests? #f
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'patch-docbook-paths
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
|
|
|
|
"/xml/dtd/docbook"))
|
|
|
|
(xsldoc (string-append (assoc-ref inputs "docbook-xsl")
|
|
|
|
"/xml/xsl/docbook-xsl-"
|
|
|
|
,(package-version docbook-xsl))))
|
|
|
|
(substitute* (find-files "docsrc" "\\.xml$")
|
|
|
|
(("/usr/share/sgml/docbook/xml-dtd-4.1.2") xmldoc)
|
|
|
|
(("http://.*/docbookx\\.dtd")
|
|
|
|
(string-append xmldoc "/docbookx.dtd")))
|
|
|
|
;; Directly pass the path to the stylesheet to xmlto.
|
|
|
|
(substitute* "docsrc/Makefile.in"
|
|
|
|
(("\\$\\(XMLTO\\)")
|
|
|
|
(string-append "$(XMLTO) -x " xsldoc
|
|
|
|
"/manpages/docbook.xsl")))
|
|
|
|
#t))))))
|
|
|
|
(home-page "http://openjade.sourceforge.net/")
|
|
|
|
(synopsis "Suite of SGML/XML processing tools")
|
|
|
|
(description "OpenSP is an object-oriented toolkit for SGML parsing and
|
|
|
|
entity management.")
|
|
|
|
(license
|
|
|
|
;; expat license with added clause regarding advertising
|
|
|
|
(license:non-copyleft
|
|
|
|
"file://COPYING"
|
|
|
|
"See COPYING in the distribution."))))
|
2020-01-24 15:02:41 -05:00
|
|
|
|
|
|
|
(define-public bitcoin-unlimited
|
|
|
|
(package
|
|
|
|
(name "bitcoin-unlimited")
|
2020-09-30 13:47:27 -04:00
|
|
|
(version "1.9.0.1")
|
2020-01-24 15:02:41 -05:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
(url "https://github.com/BitcoinUnlimited/BitcoinUnlimited")
|
2020-05-15 09:51:48 -04:00
|
|
|
(commit (string-append "BCHunlimited" version))))
|
2020-01-24 15:02:41 -05:00
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
2020-09-30 13:47:27 -04:00
|
|
|
(base32 "1pan24g3d5csa004d7zvlizj4mv58ly5i579341isp944phl3g5v"))))
|
2020-01-24 15:02:41 -05:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
("automake" ,automake)
|
|
|
|
("libtool" ,libtool)
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
("python" ,python) ; for the tests
|
|
|
|
("util-linux" ,util-linux) ; provides the hexdump command for tests
|
|
|
|
("qttools" ,qttools)))
|
|
|
|
(inputs
|
|
|
|
`(("bdb" ,bdb-4.8)
|
|
|
|
("boost" ,boost)
|
|
|
|
("libevent" ,libevent)
|
|
|
|
("miniupnpc" ,miniupnpc)
|
|
|
|
("openssl" ,openssl)
|
|
|
|
("protobuf" ,protobuf)
|
|
|
|
("qrencode" ,qrencode)
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
("zeromq" ,zeromq)
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
(arguments
|
|
|
|
`(#:configure-flags
|
|
|
|
(list
|
|
|
|
;; Boost is not found unless specified manually.
|
|
|
|
(string-append "--with-boost="
|
|
|
|
(assoc-ref %build-inputs "boost"))
|
|
|
|
;; XXX: The configure script looks up Qt paths by
|
|
|
|
;; `pkg-config --variable=host_bins Qt5Core`, which fails to pick
|
|
|
|
;; up executables residing in 'qttools', so we specify them here.
|
|
|
|
(string-append "ac_cv_path_LRELEASE="
|
|
|
|
(assoc-ref %build-inputs "qttools")
|
|
|
|
"/bin/lrelease")
|
|
|
|
(string-append "ac_cv_path_LUPDATE="
|
|
|
|
(assoc-ref %build-inputs "qttools")
|
2020-09-30 13:47:27 -04:00
|
|
|
"/bin/lupdate")
|
|
|
|
"--disable-static")
|
2020-01-24 15:02:41 -05:00
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'fix-tests
|
|
|
|
(lambda _
|
2020-09-30 13:47:27 -04:00
|
|
|
;; Disable utilprocess_tests because it never ends.
|
|
|
|
;; It looks like it tries to start /bin/sleep and waits until it
|
|
|
|
;; is in the list of running processes, but /bin/sleep doesn't
|
|
|
|
;; exist.
|
2020-05-15 09:51:48 -04:00
|
|
|
(substitute* "src/Makefile.test.include"
|
|
|
|
(("test/utilprocess_tests.cpp")
|
|
|
|
""))
|
2020-01-24 15:02:41 -05:00
|
|
|
#t))
|
|
|
|
(add-before 'check 'set-home
|
|
|
|
(lambda _
|
|
|
|
(setenv "HOME" (getenv "TMPDIR")) ; tests write to $HOME
|
|
|
|
#t)))))
|
|
|
|
(home-page "https://www.bitcoinunlimited.info/")
|
|
|
|
(synopsis "Client for the Bitcoin Cash protocol")
|
|
|
|
(description
|
|
|
|
"Bitcoin Unlimited is a client for the Bitcoin Cash peer-to-peer
|
|
|
|
electronic cash system. This package provides a command line client and
|
|
|
|
a Qt GUI.")
|
|
|
|
(license license:expat)))
|
2020-03-31 16:57:15 -04:00
|
|
|
|
2020-04-07 14:48:45 -04:00
|
|
|
(define-public fulcrum
|
|
|
|
(package
|
|
|
|
(name "fulcrum")
|
2020-05-15 11:53:42 -04:00
|
|
|
(version "1.1.1")
|
2020-04-07 14:48:45 -04:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://gitlab.com/FloweeTheHub/fulcrum/-/archive/v"
|
|
|
|
version "/fulcrum-v" version ".tar.gz"))
|
|
|
|
(sha256
|
2020-05-15 11:53:42 -04:00
|
|
|
(base32 "04w5gw02d39caa8a0l6wkn87kc43zzad2prqsyrcq97vlbkdx6x6"))))
|
2020-04-07 14:48:45 -04:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
;; Call qmake instead of configure to create a Makefile.
|
|
|
|
(replace 'configure
|
|
|
|
(lambda _
|
|
|
|
(invoke
|
|
|
|
"qmake"
|
|
|
|
(string-append "PREFIX=" %output)
|
|
|
|
"features="))))))
|
|
|
|
(native-inputs
|
|
|
|
`(("qttools" ,qttools)))
|
|
|
|
(inputs
|
|
|
|
`(("python" ,python)
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
("rocksdb" ,rocksdb)
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
(home-page "https://gitlab.com/FloweeTheHub/fulcrum/")
|
|
|
|
(synopsis "Fast and nimble SPV server for Bitcoin Cash")
|
|
|
|
(description
|
|
|
|
"Flowee Fulcrum is a server that is the back-end for @acronym{SPV,
|
|
|
|
Simplified Payment Verification} wallets, it provides the full API for those
|
|
|
|
walets in a fast and small server. The full data is stored in a full node,
|
|
|
|
like Flowee the Hub, which Fulcrum connects to over RPC.")
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
2020-04-11 08:56:49 -04:00
|
|
|
(define-public flowee
|
|
|
|
(package
|
|
|
|
(name "flowee")
|
2020-05-26 16:53:14 -04:00
|
|
|
(version "2020.04.1")
|
2020-04-11 08:56:49 -04:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://gitlab.com/FloweeTheHub/thehub/-/archive/"
|
|
|
|
version "/thehub-" version ".tar.gz"))
|
|
|
|
(sha256
|
2020-05-26 16:53:14 -04:00
|
|
|
(base32 "1vwvaxm3b71pfx8l4rrv06wqks6xdf2333w856b36s1bzvj53rhc"))))
|
2020-04-11 08:56:49 -04:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:configure-flags '("-Dbuild_tests=ON" "-Denable_gui=OFF")
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before 'configure 'make-qt-deterministic
|
|
|
|
(lambda _
|
|
|
|
;; Make Qt deterministic.
|
|
|
|
(setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1")
|
|
|
|
#t))
|
|
|
|
(add-before 'configure 'disable-black-box
|
|
|
|
;; the black-box testing runs full hubs and lets them interact.
|
|
|
|
;; this is more fragile and a slow machine, or low memory machine, may
|
|
|
|
;; make the tests timeout and fail. We just disable them here.
|
|
|
|
(lambda _
|
|
|
|
(substitute* "testing/CMakeLists.txt"
|
|
|
|
(("test_api") ""))
|
2020-05-27 07:21:58 -04:00
|
|
|
(substitute* "testing/CMakeLists.txt"
|
|
|
|
(("add_subdirectory\\(api\\)") ""))
|
2020-04-11 08:56:49 -04:00
|
|
|
#t))
|
|
|
|
(add-after 'configure 'set-build-info
|
|
|
|
;; Their genbuild.sh to generate a build.h fails in guix (no .git dir) .
|
|
|
|
;; Its purpose is to write the tag name in the build.h file. We do that
|
|
|
|
;; here instead.
|
|
|
|
(lambda _
|
|
|
|
(with-output-to-file "include/build.h"
|
|
|
|
(lambda _
|
|
|
|
(display
|
|
|
|
(string-append "#define BUILD_DESC " "\"", version "\""))))))
|
|
|
|
(add-before 'check 'set-home
|
|
|
|
(lambda _
|
|
|
|
(setenv "HOME" (getenv "TMPDIR")) ; tests write to $HOME
|
|
|
|
#t))
|
|
|
|
(replace 'check
|
|
|
|
(lambda _
|
|
|
|
(invoke "make" "check" "-C" "testing"))))))
|
|
|
|
(inputs
|
|
|
|
`(("boost" ,boost)
|
|
|
|
("gmp" ,gmp)
|
|
|
|
("libevent" ,libevent)
|
|
|
|
("miniupnpc" ,miniupnpc)
|
|
|
|
("openssl" ,openssl)
|
|
|
|
("qtbase" ,qtbase)))
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
("qttools" ,qttools)
|
|
|
|
("util-linux" ,util-linux))) ; provides the hexdump command for tests
|
|
|
|
(home-page "https://flowee.org")
|
|
|
|
(synopsis "Flowee infrastructure tools and services")
|
|
|
|
(description
|
|
|
|
"Flowee packages all tier-1 applications and services from the Flowee group.
|
|
|
|
This includes components like The Hub and Indexer which and various others
|
|
|
|
that allows you to run services and through them access the Bitcoin Cash networks.")
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
|
|
|
2020-03-31 16:57:15 -04:00
|
|
|
(define-public beancount
|
|
|
|
(package
|
|
|
|
(name "beancount")
|
|
|
|
(version "2.2.3")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "beancount" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0pcfl2rx2ng06i4f9izdpnlnb1k0rdzsckbzzn4cn4ixfzyssm0m"))
|
|
|
|
(patches (search-patches "beancount-disable-googleapis-fonts.patch"))))
|
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f ; Says test is missing, not sure why
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
;; Not importing the googleapis package for now
|
|
|
|
(add-after 'unpack 'ignore-googleapis
|
|
|
|
(lambda _
|
|
|
|
(substitute* "setup.py"
|
|
|
|
(("'google-api-python-client',") ""))
|
|
|
|
#t)))))
|
2020-04-07 12:43:54 -04:00
|
|
|
(inputs
|
2020-03-31 16:57:15 -04:00
|
|
|
`(("python-beautifulsoup4" ,python-beautifulsoup4)
|
|
|
|
("python-bottle" ,python-bottle)
|
|
|
|
("python-chardet" ,python-chardet)
|
|
|
|
("python-dateutil" ,python-dateutil)
|
|
|
|
("python-lxml" ,python-lxml)
|
|
|
|
("python-magic" ,python-magic)
|
|
|
|
("python-ply" ,python-ply)
|
|
|
|
("python-requests" ,python-requests)))
|
2020-04-07 12:44:36 -04:00
|
|
|
(native-inputs
|
|
|
|
`(("python-pytest" ,python-pytest)))
|
2020-03-31 16:57:15 -04:00
|
|
|
(home-page "http://furius.ca/beancount")
|
|
|
|
(synopsis "Command-line double-entry accounting tool")
|
|
|
|
(description
|
|
|
|
"Beancount is a double-entry bookkeeping computer language that lets you
|
|
|
|
define financial transaction records in a text file, read them in memory,
|
|
|
|
generate a variety of reports from them, and provides a web interface.")
|
|
|
|
(license license:gpl2)))
|
2020-04-07 12:41:47 -04:00
|
|
|
|
|
|
|
;; The beancount source ships with elisp in a subdirectory
|
|
|
|
(define-public emacs-beancount
|
|
|
|
(package
|
|
|
|
(inherit beancount)
|
|
|
|
(name "emacs-beancount")
|
|
|
|
(build-system emacs-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f ;no tests
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before 'install 'chdir-emacs
|
|
|
|
(lambda _
|
|
|
|
(chdir "editors/emacs")
|
|
|
|
#t)))))
|
2020-04-07 12:44:57 -04:00
|
|
|
(inputs '())
|
|
|
|
(native-inputs '())
|
2020-04-07 12:41:47 -04:00
|
|
|
(synopsis "Emacs mode for beancount")
|
|
|
|
(description
|
|
|
|
"Emacs-beancount is an Emacs mode for the Beancount accounting tool.")))
|