2015-09-17 15:07:22 -04:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2023-02-19 16:18:19 -05:00
|
|
|
|
;;; Copyright © 2015, 2016, 2023 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>
|
2020-12-25 17:02:18 -05:00
|
|
|
|
;;; Copyright © 2016, 2020 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>
|
2021-04-19 06:45:19 -04:00
|
|
|
|
;;; Copyright © 2017–2021 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>
|
2022-10-31 09:21:48 -04:00
|
|
|
|
;;; Copyright © 2018-2022 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
2018-07-04 08:41:30 -04:00
|
|
|
|
;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
|
2023-01-12 08:03:44 -05:00
|
|
|
|
;;; Copyright © 2019-2023 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>
|
2021-08-15 14:15:37 -04:00
|
|
|
|
;;; Copyright © 2020 Christine Lemmer-Webber <cwebber@dustycloud.org>
|
2020-04-07 14:48:45 -04:00
|
|
|
|
;;; Copyright © 2020 Tom Zander <tomz@freedommail.ch>
|
2023-09-21 12:52:48 -04:00
|
|
|
|
;;; Copyright © 2020, 2023 Marius Bakke <marius@gnu.org>
|
2022-04-20 18:41:13 -04:00
|
|
|
|
;;; Copyright © 2020, 2021, 2022 Vinicius Monego <monego@posteo.net>
|
2020-10-31 22:02:36 -04:00
|
|
|
|
;;; Copyright © 2020 Carlo Holl <carloholl@gmail.com>
|
2020-12-04 14:15:45 -05:00
|
|
|
|
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
|
2021-03-17 07:48:52 -04:00
|
|
|
|
;;; Copyright © 2021 ZmnSCPxj jxPCSnmZ <ZmnSCPxj@protonmail.com>
|
2021-04-16 17:12:38 -04:00
|
|
|
|
;;; Copyright © 2021 François J <francois-oss@avalenn.eu>
|
2021-10-13 18:50:36 -04:00
|
|
|
|
;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo@hotmail.com>
|
2021-11-20 13:02:25 -05:00
|
|
|
|
;;; Copyright © 2021 John Kehayias <john.kehayias@protonmail.com>
|
2022-05-16 07:04:14 -04:00
|
|
|
|
;;; Copyright © 2022 Kyle Meyer <kyle@kyleam.com>
|
|
|
|
|
;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
|
2022-06-06 16:21:47 -04:00
|
|
|
|
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
2022-07-06 01:32:42 -04:00
|
|
|
|
;;; Copyright © 2022 Philip McGrath <philip@philipmcgrath.com>
|
2022-04-07 12:54:43 -04:00
|
|
|
|
;;; Copyright © 2022 Collin J. Doering <collin@rekahsoft.ca>
|
2022-08-12 07:38:43 -04:00
|
|
|
|
;;; Copyright © 2022 Justin Veilleux <terramorpha@cock.li>
|
2023-01-04 10:21:00 -05:00
|
|
|
|
;;; Copyright © 2023 Frank Pursel <frank.pursel@gmail.com>
|
2023-02-12 22:16:49 -05:00
|
|
|
|
;;; Copyright © 2023 Skylar Hill <stellarskylark@posteo.net>
|
2023-09-20 08:39:33 -04:00
|
|
|
|
;;; Copyright © 2023 Foundation Devices, Inc. <hello@foundationdevices.com>
|
2023-09-27 11:47:30 -04:00
|
|
|
|
;;; Copyright © 2023 Attila Lendvai <attila@lendvai.name>
|
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)
|
2020-10-31 22:02:36 -04:00
|
|
|
|
#:use-module (guix build-system haskell)
|
2017-09-29 02:01:34 -04:00
|
|
|
|
#:use-module (guix build-system python)
|
2022-10-31 09:21:48 -04:00
|
|
|
|
#:use-module (guix build-system pyproject)
|
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)
|
2021-03-17 07:48:52 -04:00
|
|
|
|
#:use-module (guix deprecation)
|
2021-08-23 10:14:53 -04:00
|
|
|
|
#:use-module (guix gexp)
|
2019-07-12 12:05:00 -04:00
|
|
|
|
#:use-module (guix utils)
|
2022-07-06 01:32:42 -04:00
|
|
|
|
#:use-module (srfi srfi-26)
|
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)
|
2023-09-20 08:39:33 -04:00
|
|
|
|
#:use-module (gnu packages cpp)
|
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)
|
2022-04-07 12:54:43 -04:00
|
|
|
|
#:use-module (gnu packages emacs-xyz)
|
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 glib)
|
2022-08-12 08:59:42 -04:00
|
|
|
|
#:use-module (gnu packages gnome)
|
2019-02-06 19:07:15 -05:00
|
|
|
|
#:use-module (gnu packages gnupg)
|
2022-08-12 08:59:42 -04:00
|
|
|
|
#:use-module (gnu packages golang)
|
2017-09-29 02:01:34 -04:00
|
|
|
|
#:use-module (gnu packages graphviz)
|
|
|
|
|
#:use-module (gnu packages groff)
|
2022-08-12 08:59:42 -04:00
|
|
|
|
#:use-module (gnu packages gsasl)
|
2019-07-12 12:05:00 -04:00
|
|
|
|
#:use-module (gnu packages gtk)
|
2020-10-31 22:02:36 -04:00
|
|
|
|
#:use-module (gnu packages haskell-check)
|
|
|
|
|
#:use-module (gnu packages haskell-web)
|
|
|
|
|
#:use-module (gnu packages haskell-xyz)
|
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)
|
2021-12-10 01:08:26 -05:00
|
|
|
|
#:use-module (gnu packages maths)
|
2022-08-12 07:38:43 -04:00
|
|
|
|
#:use-module (gnu packages mpi)
|
2017-09-29 02:01:34 -04:00
|
|
|
|
#:use-module (gnu packages multiprecision)
|
2021-12-10 01:08:26 -05:00
|
|
|
|
#:use-module (gnu packages ncurses)
|
2018-07-08 13:39:26 -04:00
|
|
|
|
#:use-module (gnu packages networking)
|
2023-03-22 08:54:43 -04:00
|
|
|
|
#:use-module (gnu packages pdf)
|
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)
|
2021-01-14 16:27:39 -05:00
|
|
|
|
#:use-module (gnu packages python-build)
|
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)
|
2021-11-15 00:25:33 -05:00
|
|
|
|
#:use-module (gnu packages python-science)
|
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)
|
2023-02-19 16:28:51 -05:00
|
|
|
|
#:use-module (gnu packages security-token)
|
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)
|
2023-05-12 12:05:55 -04:00
|
|
|
|
#:use-module (gnu packages sqlite)
|
2021-12-10 01:08:26 -05:00
|
|
|
|
#:use-module (gnu packages tex)
|
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
|
|
|
|
|
2023-05-20 03:01:18 -04:00
|
|
|
|
(define-public bitcoin-core
|
|
|
|
|
;; The support lifetimes for bitcoin-core versions can be found in
|
|
|
|
|
;; <https://bitcoincore.org/en/lifecycle/#schedule>.
|
2015-09-17 15:07:22 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "bitcoin-core")
|
2023-10-19 05:43:30 -04:00
|
|
|
|
(version "25.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
|
2023-10-19 05:43:30 -04:00
|
|
|
|
"1jcq2686x6f1g8xk91h3qfw89v1klw931wbpbcvc5a6zv2cabhmy"))))
|
2015-09-17 15:07:22 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list autoconf
|
|
|
|
|
automake
|
|
|
|
|
libtool
|
|
|
|
|
pkg-config
|
|
|
|
|
python ; for the tests
|
|
|
|
|
util-linux ; provides the hexdump command for tests
|
2022-07-19 16:52:05 -04:00
|
|
|
|
qttools-5))
|
2015-09-17 15:07:22 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list bdb-4.8 ; 4.8 required for compatibility
|
|
|
|
|
boost
|
|
|
|
|
libevent
|
|
|
|
|
miniupnpc
|
|
|
|
|
openssl
|
2023-05-12 12:05:55 -04:00
|
|
|
|
qtbase-5
|
|
|
|
|
sqlite))
|
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
|
2022-07-19 16:52:05 -04:00
|
|
|
|
;; up executables residing in 'qttools-5', so we specify them here.
|
2020-05-11 13:31:07 -04:00
|
|
|
|
(string-append "ac_cv_path_LRELEASE="
|
2022-08-03 16:22:57 -04:00
|
|
|
|
(assoc-ref %build-inputs "qttools")
|
2020-05-11 13:31:07 -04:00
|
|
|
|
"/bin/lrelease")
|
|
|
|
|
(string-append "ac_cv_path_LUPDATE="
|
2022-08-03 16:22:57 -04:00
|
|
|
|
(assoc-ref %build-inputs "qttools")
|
2020-05-11 13:31:07 -04:00
|
|
|
|
"/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))
|
2020-11-06 18:15:28 -05:00
|
|
|
|
(add-before 'build 'set-no-git-flag
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Make it clear we are not building from within a git repository
|
|
|
|
|
;; (and thus no information regarding this build is available
|
|
|
|
|
;; from git).
|
|
|
|
|
(setenv "BITCOIN_GENBUILD_NO_GIT" "1")
|
|
|
|
|
#t))
|
2020-05-11 13:31:07 -04:00
|
|
|
|
(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)))))
|
2022-07-23 20:00:00 -04:00
|
|
|
|
(home-page "https://bitcoin.org/")
|
2015-09-17 15:07:22 -04:00
|
|
|
|
(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
|
|
|
|
|
2023-01-29 12:54:15 -05:00
|
|
|
|
(define-public ghc-hledger
|
2020-10-31 22:02:36 -04:00
|
|
|
|
(package
|
2023-01-29 12:54:15 -05:00
|
|
|
|
(name "ghc-hledger")
|
2023-01-15 04:09:44 -05:00
|
|
|
|
(version "1.27.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (hackage-uri "hledger" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0qdg87m7ys2ykqqq32p7h7aw827w4f5bcqx4dspxxq6zqlvzddqb"))))
|
2020-10-31 22:02:36 -04:00
|
|
|
|
(build-system haskell-build-system)
|
2023-01-04 03:37:26 -05:00
|
|
|
|
(properties '((upstream-name . "hledger")))
|
2023-01-15 04:09:44 -05:00
|
|
|
|
(inputs (list ghc-decimal
|
|
|
|
|
ghc-diff
|
|
|
|
|
ghc-aeson
|
|
|
|
|
ghc-ansi-terminal
|
|
|
|
|
ghc-breakpoint
|
|
|
|
|
ghc-cmdargs
|
|
|
|
|
ghc-data-default
|
|
|
|
|
ghc-extra
|
|
|
|
|
ghc-githash
|
|
|
|
|
ghc-hashable
|
|
|
|
|
ghc-hledger-lib
|
|
|
|
|
ghc-lucid
|
|
|
|
|
ghc-math-functions
|
|
|
|
|
ghc-megaparsec
|
|
|
|
|
ghc-microlens
|
|
|
|
|
ghc-regex-tdfa
|
|
|
|
|
ghc-safe
|
|
|
|
|
ghc-shakespeare
|
|
|
|
|
ghc-split
|
|
|
|
|
ghc-tabular
|
|
|
|
|
ghc-tasty
|
|
|
|
|
ghc-temporary
|
|
|
|
|
ghc-timeit
|
|
|
|
|
ghc-unordered-containers
|
|
|
|
|
ghc-utf8-string
|
|
|
|
|
ghc-utility-ht
|
|
|
|
|
ghc-wizards))
|
|
|
|
|
(home-page "http://hledger.org")
|
2020-10-31 22:02:36 -04:00
|
|
|
|
(synopsis "Command-line interface for the hledger accounting system")
|
|
|
|
|
(description
|
|
|
|
|
"The command-line interface for the hledger accounting system. Its basic
|
|
|
|
|
function is to read a plain text file describing financial transactions and
|
|
|
|
|
produce useful reports.
|
|
|
|
|
|
|
|
|
|
hledger is a robust, cross-platform set of tools for tracking money, time, or
|
|
|
|
|
any other commodity, using double-entry accounting and a simple, editable file
|
|
|
|
|
format, with command-line, terminal and web interfaces. It is a Haskell
|
|
|
|
|
rewrite of Ledger, and one of the leading implementations of Plain Text
|
|
|
|
|
Accounting.")
|
|
|
|
|
(license license:gpl3)))
|
|
|
|
|
|
2023-01-29 12:54:15 -05:00
|
|
|
|
(define-public hledger
|
|
|
|
|
(package
|
|
|
|
|
(inherit ghc-hledger)
|
|
|
|
|
(name "hledger")
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:haddock? #f
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'install-doc
|
|
|
|
|
(lambda _
|
|
|
|
|
(install-file "hledger.info" (string-append #$output "/share/info"))
|
|
|
|
|
(install-file "hledger.1" (string-append #$output "/man/man1"))))
|
|
|
|
|
(add-after 'register 'remove-libraries
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(delete-file-recursively (string-append (assoc-ref outputs "out") "/lib")))))))))
|
|
|
|
|
|
2019-11-06 17:00:05 -05:00
|
|
|
|
(define-public homebank
|
|
|
|
|
(package
|
|
|
|
|
(name "homebank")
|
2023-07-29 20:00:00 -04:00
|
|
|
|
(version "5.6.6")
|
2019-11-06 17:00:05 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2023-01-21 19:00:00 -05:00
|
|
|
|
(uri (string-append "http://homebank.free.fr/public/sources/"
|
|
|
|
|
"homebank-" version ".tar.gz"))
|
2019-11-06 17:00:05 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-07-29 20:00:00 -04:00
|
|
|
|
"03nwcpxmsw82gnhy1dialky1d9mfb2jqdzlgc79bxwhlhpqwsvv5"))))
|
2019-11-06 17:00:05 -05:00
|
|
|
|
(build-system glib-or-gtk-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list pkg-config intltool))
|
2019-11-06 17:00:05 -05:00
|
|
|
|
(inputs
|
2021-12-27 07:43:05 -05:00
|
|
|
|
(list gtk+ libofx libsoup-minimal-2))
|
2019-11-06 17:00:05 -05:00
|
|
|
|
(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")
|
2023-07-05 11:03:10 -04:00
|
|
|
|
(version "3.3.2")
|
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
|
2023-07-05 11:03:10 -04:00
|
|
|
|
(base32 "0vchc97952w3fkkdn3v0nzjlgzg83cblwsi647jp3k9jq6rvhaak"))))
|
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)
|
2023-01-04 10:21:00 -05:00
|
|
|
|
(install-file "test/input/demo.ledger" examples)
|
|
|
|
|
(install-file "contrib/report" examples))
|
2016-05-07 13:20:47 -04:00
|
|
|
|
#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"
|
2021-07-16 09:25:42 -04:00
|
|
|
|
(search-input-directory inputs
|
|
|
|
|
"share/zoneinfo"))
|
2019-02-13 03:51:49 -05:00
|
|
|
|
#t)))))
|
2016-05-07 13:20:47 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list boost
|
|
|
|
|
gmp
|
|
|
|
|
libedit
|
|
|
|
|
mpfr
|
|
|
|
|
python
|
|
|
|
|
utfcpp))
|
2016-05-07 13:20:47 -04:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list groff texinfo 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
|
2022-05-16 07:04:14 -04:00
|
|
|
|
;; The last release was on Nov 8, 2019 and doesn't build with Emacs 28.
|
|
|
|
|
(let ((commit "11e850395448ee7012dba16bd6df103f5552ebfb")
|
|
|
|
|
(revision "0"))
|
|
|
|
|
(package
|
|
|
|
|
(name "emacs-ledger-mode")
|
|
|
|
|
(version (git-version "4.0.0" revision commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/ledger/ledger-mode")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0hzky36vrlb7kvpyz4gy3zn01zdlmlx0s58w6ggk5djbcvjc2rfx"))))
|
|
|
|
|
(build-system emacs-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
;; ledger-test.el is needed at runtime (but probably not for a good reason).
|
|
|
|
|
#:exclude #~'()
|
|
|
|
|
#:tests? #t
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-path
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(make-file-writable "ledger-exec.el")
|
|
|
|
|
(emacs-substitute-variables "ledger-exec.el"
|
|
|
|
|
("ledger-binary-path" (search-input-file inputs "/bin/ledger")))))
|
|
|
|
|
(add-after 'build 'build-doc
|
|
|
|
|
(lambda _
|
|
|
|
|
(let ((target (string-append #$output "/share/info")))
|
|
|
|
|
(mkdir-p target)
|
|
|
|
|
(invoke "makeinfo" "-o" target
|
|
|
|
|
"../source/doc/ledger-mode.texi"))))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(with-directory-excursion "../source/test"
|
|
|
|
|
(invoke "make" "test-batch"))))))))
|
|
|
|
|
(inputs
|
|
|
|
|
(list ledger))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list 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
|
2019-02-13 04:52:43 -05:00
|
|
|
|
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.")
|
2022-05-16 07:04:14 -04:00
|
|
|
|
(license license:gpl2+))))
|
2019-02-13 04:52:43 -05:00
|
|
|
|
|
2022-04-07 12:54:43 -04:00
|
|
|
|
(define-public emacs-hledger-mode
|
|
|
|
|
(let ((commit "400bde42a8d2712af80cd7c773c9cdfbb63a515a")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "emacs-hledger-mode")
|
|
|
|
|
(version (git-version "20220515" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/narendraj9/hledger-mode")
|
|
|
|
|
(commit commit)))
|
2022-11-14 08:16:37 -05:00
|
|
|
|
(file-name (git-file-name name version))
|
2022-04-07 12:54:43 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0xmcfpr3rxli1adwypg18npl8hb8ak5rg6a6i26inzzqja6vr897"))))
|
|
|
|
|
(build-system emacs-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list emacs-popup
|
|
|
|
|
emacs-async
|
|
|
|
|
emacs-htmlize))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:include '("^[^/]+.el$")
|
|
|
|
|
#:exclude '()))
|
|
|
|
|
(home-page "https://github.com/narendraj9/hledger-mode")
|
|
|
|
|
(synopsis "Mode for writing journal entries for hledger")
|
|
|
|
|
(description
|
|
|
|
|
"This major mode for Emacs enables writing and managing hledger
|
|
|
|
|
journal files. It generates some useful reports along with some financial
|
|
|
|
|
ratios that can help you keep a check on your financial health for users of
|
|
|
|
|
the plaintext accounting system hledger.")
|
|
|
|
|
(license license:gpl3))))
|
|
|
|
|
|
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
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list 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")
|
2023-08-22 08:01:56 -04:00
|
|
|
|
(version "4.4.6")
|
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
|
2023-08-22 08:01:56 -04:00
|
|
|
|
(base32 "1f0hb8xmqv1j9pf82xpyvxnn2dzmi93rhf0sh0iqakja2pbl4707"))
|
2017-01-02 08:32:38 -05:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Delete the bundled dependencies.
|
2023-06-19 04:45:07 -04:00
|
|
|
|
(delete-file-recursively "packages")))))
|
2017-01-02 08:32:38 -05:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(inputs
|
2022-04-16 05:26:48 -04:00
|
|
|
|
(list libsecp256k1
|
2021-12-13 11:18:24 -05:00
|
|
|
|
python-aiohttp
|
|
|
|
|
python-aiohttp-socks
|
2022-04-16 05:26:48 -04:00
|
|
|
|
python-aiorpcx
|
2021-12-13 11:18:24 -05:00
|
|
|
|
python-attrs
|
2022-04-16 05:26:48 -04:00
|
|
|
|
python-bitstring
|
|
|
|
|
python-btchip-python
|
|
|
|
|
python-certifi
|
2021-12-13 11:18:24 -05:00
|
|
|
|
python-cryptography
|
|
|
|
|
python-dnspython
|
|
|
|
|
python-hidapi
|
|
|
|
|
python-ledgerblue
|
2022-04-16 05:26:48 -04:00
|
|
|
|
python-protobuf
|
|
|
|
|
python-pyqt
|
|
|
|
|
python-qdarkstyle
|
|
|
|
|
python-qrcode
|
|
|
|
|
zbar))
|
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
|
gnu: electrum: Update to 4.0.9.
* gnu/packages/finance.scm (electrum): Update to 4.0.9.
[inputs]: Remove python-pyaes, python-pysocks, python-sip,
python-pbkdf2, python-requests, python-jsonrpclib-pelix and
python-ecdsa, python-dnspython-1.16. Add python-dnspython,
python-bitstring, python-attrs, python-cryptography, python-qdarkstyle
and libsecp256k1.
[arguments]: Copy 'use-libsecp256k1-input phase from
(electron-cash) to #:phases to fix runtime lookup of libsecp256k1
library.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-12-27 17:26:53 -05:00
|
|
|
|
(add-after 'unpack 'use-libsecp256k1-input
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "electrum/ecc_fast.py"
|
2023-06-19 04:45:07 -04:00
|
|
|
|
(("library_paths = \\[\\]")
|
|
|
|
|
(string-append "library_paths = ['"
|
gnu: electrum: Update to 4.0.9.
* gnu/packages/finance.scm (electrum): Update to 4.0.9.
[inputs]: Remove python-pyaes, python-pysocks, python-sip,
python-pbkdf2, python-requests, python-jsonrpclib-pelix and
python-ecdsa, python-dnspython-1.16. Add python-dnspython,
python-bitstring, python-attrs, python-cryptography, python-qdarkstyle
and libsecp256k1.
[arguments]: Copy 'use-libsecp256k1-input phase from
(electron-cash) to #:phases to fix runtime lookup of libsecp256k1
library.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-12-27 17:26:53 -05:00
|
|
|
|
(assoc-ref inputs "libsecp256k1")
|
2023-06-19 04:45:07 -04:00
|
|
|
|
"/lib/libsecp256k1.so']"))))))))
|
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")
|
2023-06-19 05:06:59 -04:00
|
|
|
|
(version "4.3.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
|
2023-06-19 05:06:59 -04:00
|
|
|
|
(base32 "0slx7hmlw2gpcqg951vwvnyl7j52pfzqyaldphghhfxbfzjs7v64"))))
|
2020-03-22 14:03:52 -04:00
|
|
|
|
(build-system python-build-system)
|
2019-12-16 16:20:53 -05:00
|
|
|
|
(arguments
|
2022-06-06 16:21:47 -04:00
|
|
|
|
(list
|
|
|
|
|
#:tests? #f ; no tests
|
|
|
|
|
#:modules '((guix build python-build-system)
|
2020-03-22 14:03:52 -04:00
|
|
|
|
(guix build qt-utils)
|
|
|
|
|
(guix build utils))
|
2022-06-06 16:21:47 -04:00
|
|
|
|
#:imported-modules `(,@%python-build-system-modules
|
2020-03-22 14:03:52 -04:00
|
|
|
|
(guix build qt-utils))
|
2022-06-06 16:21:47 -04:00
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'create-output-directories
|
|
|
|
|
(lambda _
|
|
|
|
|
;; setup.py installs to ~/.local/share if this doesn't exist.
|
|
|
|
|
(mkdir-p (string-append #$output "/share"))))
|
|
|
|
|
(add-after 'unpack 'use-libsecp256k1-input
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "electroncash/secp256k1.py"
|
|
|
|
|
(("libsecp256k1.so.0")
|
|
|
|
|
(search-input-file inputs "lib/libsecp256k1.so.0")))))
|
|
|
|
|
(add-after 'install 'wrap-qt
|
|
|
|
|
(lambda* (#:key outputs inputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(wrap-qt-program "electron-cash"
|
|
|
|
|
#:output out #:inputs inputs)))))))
|
|
|
|
|
(inputs
|
|
|
|
|
(list libevent
|
|
|
|
|
libsecp256k1-bitcoin-cash
|
|
|
|
|
openssl
|
|
|
|
|
python-cython
|
|
|
|
|
python-dateutil
|
|
|
|
|
python-dnspython
|
|
|
|
|
python-ecdsa
|
|
|
|
|
python-hidapi
|
|
|
|
|
python-jsonrpclib-pelix
|
|
|
|
|
python-keepkey
|
|
|
|
|
python-pathvalidate
|
|
|
|
|
python-protobuf
|
|
|
|
|
python-pyaes
|
|
|
|
|
python-pyqt
|
|
|
|
|
python-pysocks
|
|
|
|
|
python-qdarkstyle
|
|
|
|
|
python-qrcode
|
|
|
|
|
python-requests
|
|
|
|
|
python-stem
|
|
|
|
|
python-trezor
|
2022-07-17 01:11:46 -04:00
|
|
|
|
qtsvg-5
|
2022-06-06 16:21:47 -04:00
|
|
|
|
zlib))
|
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
|
2022-06-06 16:21:47 -04:00
|
|
|
|
other machines/servers. Electroncash does not download the Bitcoin Cash
|
|
|
|
|
blockchain.")
|
2018-07-13 18:39:16 -04:00
|
|
|
|
(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")
|
2023-10-11 03:50:28 -04:00
|
|
|
|
(version "0.18.3.1")
|
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
|
2022-08-02 05:07:06 -04:00
|
|
|
|
'("external/miniupnp" "external/rapidjson"))))
|
2017-09-09 13:47:34 -04:00
|
|
|
|
(sha256
|
2023-10-11 03:50:28 -04:00
|
|
|
|
(base32 "1k6mrgsvmqsfk95w8kjmp9v2fghjmmpj40667zndrw9jx1h85mwx"))))
|
2017-09-09 13:47:34 -04:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list doxygen
|
|
|
|
|
graphviz
|
|
|
|
|
pkg-config
|
|
|
|
|
protobuf
|
|
|
|
|
python
|
2022-07-19 16:52:05 -04:00
|
|
|
|
qttools-5))
|
2017-09-09 13:47:34 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list boost
|
|
|
|
|
cppzmq
|
|
|
|
|
expat
|
|
|
|
|
hidapi
|
|
|
|
|
libsodium
|
|
|
|
|
libunwind
|
|
|
|
|
libusb
|
|
|
|
|
miniupnpc
|
|
|
|
|
openssl
|
|
|
|
|
protobuf
|
|
|
|
|
rapidjson
|
|
|
|
|
readline
|
|
|
|
|
unbound
|
|
|
|
|
xz
|
|
|
|
|
zeromq))
|
2017-09-09 13:47:34 -04:00
|
|
|
|
(arguments
|
2022-08-02 05:07:06 -04:00
|
|
|
|
(list #:out-of-source? #t
|
|
|
|
|
#:configure-flags
|
|
|
|
|
#~(list "-DARCH=default"
|
|
|
|
|
"-DBUILD_TESTS=ON"
|
|
|
|
|
(string-append "-DReadline_ROOT_DIR="
|
|
|
|
|
#$(this-package-input "readline")))
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
;; tests/core_tests need a valid HOME
|
|
|
|
|
(add-before 'configure 'set-home
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "HOME" (getcwd))))
|
|
|
|
|
(add-after 'set-home 'change-log-path
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "contrib/epee/src/mlog.cpp"
|
|
|
|
|
(("epee::string_tools::get_current_module_folder\\(\\)")
|
|
|
|
|
"\".bitmonero\"")
|
|
|
|
|
(("return \\(")
|
|
|
|
|
"return ((std::string(getenv(\"HOME\"))) / "))))
|
|
|
|
|
(add-after 'change-log-path 'fix-file-permissions-for-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(for-each make-file-writable
|
|
|
|
|
(find-files "tests/data/" "wallet_9svHk1.*"))))
|
|
|
|
|
;; Only try tests that don't need access to network or system
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
;; 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")))
|
|
|
|
|
(when tests?
|
|
|
|
|
(invoke "make" "ARGS=-R 'hash' --verbose" "test"))))
|
|
|
|
|
(add-after 'check 'unit-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(let ((excluded-unit-tests
|
|
|
|
|
(string-join
|
|
|
|
|
'("AddressFromURL.Success"
|
|
|
|
|
"AddressFromURL.Failure"
|
|
|
|
|
"DNSResolver.IPv4Success"
|
|
|
|
|
"DNSResolver.DNSSECSuccess"
|
|
|
|
|
"DNSResolver.DNSSECFailure"
|
|
|
|
|
"DNSResolver.GetTXTRecord"
|
|
|
|
|
"is_hdd.linux_os_root")
|
|
|
|
|
":")))
|
|
|
|
|
(invoke "tests/unit_tests/unit_tests"
|
|
|
|
|
(string-append "--gtest_filter=-"
|
|
|
|
|
excluded-unit-tests)))))
|
|
|
|
|
(add-after 'install 'delete-unused-files
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(delete-file-recursively
|
|
|
|
|
(string-append #$output "/include")))))))
|
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")
|
2023-10-11 04:27:35 -04:00
|
|
|
|
(version "0.18.3.1")
|
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")
|
2021-01-08 07:35:32 -05:00
|
|
|
|
(commit (string-append "v" version))
|
|
|
|
|
(recursive? #t)))
|
2018-07-29 09:05:53 -04:00
|
|
|
|
(file-name (git-file-name name version))
|
2021-01-08 07:35:32 -05:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Delete bundled monero sources, we already have them.
|
|
|
|
|
;; See the 'extract-monero-sources' phase.
|
2022-05-06 09:07:30 -04:00
|
|
|
|
(delete-file-recursively "monero")))
|
2017-09-09 13:47:35 -04:00
|
|
|
|
(sha256
|
2023-10-11 04:27:35 -04:00
|
|
|
|
(base32 "1fjx8gdzc1pmfsi14r09gfmkglvh560pnxk70p0k82a4gbs1vyz2"))))
|
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
|
2022-08-02 06:15:13 -04:00
|
|
|
|
(modify-inputs (package-inputs monero)
|
|
|
|
|
(append libgcrypt
|
|
|
|
|
monero
|
2022-08-12 11:33:00 -04:00
|
|
|
|
p2pool
|
2022-08-02 06:15:13 -04:00
|
|
|
|
qtbase-5
|
|
|
|
|
qtdeclarative-5
|
|
|
|
|
qtgraphicaleffects
|
|
|
|
|
qtquickcontrols-5
|
|
|
|
|
qtquickcontrols2-5
|
|
|
|
|
qtsvg-5
|
|
|
|
|
qtxmlpatterns)))
|
2017-09-09 13:47:35 -04:00
|
|
|
|
(arguments
|
2022-08-02 06:15:13 -04:00
|
|
|
|
(list #:tests? #f ; No tests
|
|
|
|
|
#:configure-flags
|
|
|
|
|
#~(list "-DARCH=default"
|
|
|
|
|
"-DENABLE_PASS_STRENGTH_METER=ON"
|
|
|
|
|
(string-append "-DReadline_ROOT_DIR="
|
|
|
|
|
#$(this-package-input "readline")))
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'extract-monero-sources
|
|
|
|
|
;; Some of the monero package source code is required
|
|
|
|
|
;; to build the GUI.
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(mkdir-p "monero")
|
|
|
|
|
(copy-recursively (assoc-ref inputs "monero-source")
|
|
|
|
|
"monero")))
|
|
|
|
|
(add-after 'extract-monero-sources 'fix-build
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "src/version.js.in"
|
|
|
|
|
(("@VERSION_TAG_GUI@")
|
|
|
|
|
#$version))
|
|
|
|
|
(substitute* "external/CMakeLists.txt"
|
|
|
|
|
(("add_library\\(quirc" all)
|
|
|
|
|
(string-append
|
|
|
|
|
"set(CMAKE_C_FLAGS \"${CMAKE_C_FLAGS} -fPIC\")\n"
|
|
|
|
|
all)))))
|
2022-08-12 11:33:00 -04:00
|
|
|
|
(add-after 'unpack 'fix-p2pool-path
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "src/p2pool/P2PoolManager.cpp"
|
|
|
|
|
;; Location for files created by P2Pool
|
|
|
|
|
(("m_p2poolPath = QApplication::applicationDirPath\\(\\);")
|
|
|
|
|
"m_p2poolPath = QStandardPaths::writableLocation(QStandardPaths::CacheLocation);")
|
|
|
|
|
;; Location of p2pool program
|
|
|
|
|
(("m_p2pool = m_p2poolPath \\+ \"/p2pool\";")
|
|
|
|
|
(string-append "m_p2pool = \""
|
|
|
|
|
(search-input-file inputs "/bin/p2pool")
|
|
|
|
|
"\";")))))
|
2022-08-02 06:15:13 -04:00
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda _
|
2023-01-12 08:03:44 -05:00
|
|
|
|
;; Binary
|
|
|
|
|
(let ((dir (string-append #$output "/bin")))
|
|
|
|
|
(mkdir-p dir)
|
|
|
|
|
(install-file "../build/bin/monero-wallet-gui" dir))
|
|
|
|
|
;; Icons
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (size)
|
|
|
|
|
(let ((dir (string-append #$output
|
|
|
|
|
"/share/icons/hicolor/"
|
|
|
|
|
size
|
|
|
|
|
"/apps")))
|
|
|
|
|
(mkdir-p dir)
|
|
|
|
|
(copy-file (string-append "../source/images/appicons/"
|
|
|
|
|
size ".png")
|
|
|
|
|
(string-append dir
|
|
|
|
|
"/monero-gui.png"))))
|
|
|
|
|
'("16x16" "24x24" "32x32" "48x48"
|
|
|
|
|
"64x64" "96x96" "128x128" "256x256"))
|
|
|
|
|
;; Menu entry file
|
|
|
|
|
(let ((dir (string-append #$output "/share/applications")))
|
|
|
|
|
(mkdir-p dir)
|
|
|
|
|
(call-with-output-file
|
|
|
|
|
(string-append dir "/monero-gui.desktop")
|
|
|
|
|
(lambda (port)
|
|
|
|
|
(format port
|
|
|
|
|
"[Desktop Entry]~@
|
|
|
|
|
Type=Application~@
|
|
|
|
|
Name=Monero wallet~@
|
|
|
|
|
Exec=~a/bin/monero-wallet-gui~@
|
|
|
|
|
Icon=monero-gui~@
|
|
|
|
|
Categories=Office;Finance;~%"
|
|
|
|
|
#$output))))))
|
2022-08-02 06:15:13 -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 #:allow-other-keys)
|
|
|
|
|
(symlink (search-input-file inputs "/bin/monerod")
|
|
|
|
|
(string-append #$output "/bin/monerod")))))))
|
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
|
|
|
|
|
2022-10-11 09:12:42 -04:00
|
|
|
|
(define-public python-bech32
|
|
|
|
|
(package
|
|
|
|
|
(name "python-bech32")
|
|
|
|
|
(version "1.2.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "bech32" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"16fq5cfy5id9hp123ylhpl55pf38xwk0hv7sziqpig838qhvhvbx"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(home-page "https://github.com/fiatjaf/bech32")
|
|
|
|
|
(synopsis "Reference implementation for Bech32 and Segwit addresses")
|
|
|
|
|
(description "This package provides a python reference implementation for
|
|
|
|
|
Bech32 and segwit addresses.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2017-12-25 19:04:40 -05:00
|
|
|
|
(define-public python-trezor-agent
|
2021-11-28 15:15:17 -05:00
|
|
|
|
;; It is called 'libagent' in pypi; i.e. this is the library as opposed to
|
|
|
|
|
;; the toplevel app called trezor-agent.
|
2017-12-25 19:04:40 -05:00
|
|
|
|
(package
|
|
|
|
|
(name "python-trezor-agent")
|
2023-09-27 11:47:29 -04:00
|
|
|
|
(version "0.14.7")
|
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
|
2023-09-27 11:47:29 -04:00
|
|
|
|
(base32 "04dds5bbw73nk36zm8d02qw6qr92nrlcf8r1cq8ba96mzi34jbk0"))))
|
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"
|
2022-06-06 17:03:44 -04:00
|
|
|
|
(("'backports.shutil_which>=3.5.1',") ""))))
|
2017-12-25 19:04:40 -05:00
|
|
|
|
(delete 'check)
|
|
|
|
|
(add-after 'install 'check
|
2022-06-06 17:03:44 -04:00
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(invoke "pytest" "-v")))))))
|
2017-12-25 19:04:40 -05:00
|
|
|
|
(propagated-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list python-configargparse
|
|
|
|
|
python-daemon
|
|
|
|
|
python-docutils
|
|
|
|
|
python-ecdsa
|
|
|
|
|
python-hidapi
|
|
|
|
|
python-mnemonic
|
|
|
|
|
python-pymsgbox
|
|
|
|
|
python-pynacl
|
|
|
|
|
python-semver
|
|
|
|
|
python-unidecode
|
|
|
|
|
python-wheel))
|
2023-09-27 11:47:29 -04:00
|
|
|
|
(native-inputs ; Only needed for running the tests
|
|
|
|
|
(list gnupg
|
|
|
|
|
python-bech32
|
|
|
|
|
python-cryptography
|
|
|
|
|
python-mock
|
|
|
|
|
python-pytest))
|
2017-12-25 19:04:40 -05:00
|
|
|
|
(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)))
|
|
|
|
|
|
2021-09-25 12:08:04 -04:00
|
|
|
|
(define-public trezor-gpg-pinentry-tk
|
|
|
|
|
(package
|
|
|
|
|
(name "trezor-gpg-pinentry-tk")
|
|
|
|
|
(version "0.0.10")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/rendaw/trezor-gpg-pinentry-tk/")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1mblx4favmw4nf7k9rfl00ivv77kgdiwghyz4xv5cp0v410kjaqc"))))
|
|
|
|
|
(build-system python-build-system)
|
2021-10-04 05:09:58 -04:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f)) ; No test suite.
|
|
|
|
|
(inputs
|
2021-09-25 12:08:04 -04:00
|
|
|
|
`(("python-tkinter" ,python "tk")))
|
|
|
|
|
(home-page "https://github.com/rendaw/trezor-gpg-pinentry-tk")
|
|
|
|
|
(synopsis "GPG pinentry program for use with @code{trezor-agent}")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a GPG pinentry program for use with
|
|
|
|
|
@code{trezor-agent}, or for people with number-only PINs. It displays
|
|
|
|
|
a grid of unlabeled buttons and supports configurable keyboard
|
|
|
|
|
settings.")
|
|
|
|
|
(license license:bsd-2)))
|
|
|
|
|
|
2017-12-25 19:13:48 -05:00
|
|
|
|
(define-public python-mnemonic
|
|
|
|
|
(package
|
|
|
|
|
(name "python-mnemonic")
|
2021-12-01 12:05:26 -05:00
|
|
|
|
(version "0.20")
|
2017-12-25 19:13:48 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "mnemonic" version))
|
|
|
|
|
(sha256
|
2021-12-01 12:05:26 -05:00
|
|
|
|
(base32 "1xi5qvj2rvi5almf9c89rl7hz1z4ms04d53pg818i4vpkmivavvw"))))
|
2017-12-25 19:13:48 -05:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list python-pbkdf2))
|
2017-12-25 19:13:48 -05:00
|
|
|
|
(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)))
|
|
|
|
|
|
2023-02-19 16:18:19 -05:00
|
|
|
|
(define-public python-u2flib-host
|
|
|
|
|
;; The package is obsolete and superseded by python-fido2, but
|
|
|
|
|
;; needed for python-ledgerblue@0.1.44.
|
|
|
|
|
(package
|
|
|
|
|
(name "python-u2flib-host")
|
|
|
|
|
(version "3.0.3")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "python-u2flib-host" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"02pwafd5kyjpc310ys0pgnd0adff1laz18naxxwsfrllqafqnrxb"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs (list python-hidapi python-requests))
|
|
|
|
|
(native-inputs (list python-cryptography))
|
|
|
|
|
(home-page "https://github.com/Yubico/python-u2flib-host")
|
|
|
|
|
(synopsis "Python based U2F host library")
|
|
|
|
|
(description
|
|
|
|
|
"The package provides library functionality for communicating with a U2F device over USB.")
|
|
|
|
|
(license license:bsd-2)))
|
|
|
|
|
|
2017-12-28 02:37:20 -05:00
|
|
|
|
(define-public python-ledgerblue
|
|
|
|
|
(package
|
|
|
|
|
(name "python-ledgerblue")
|
2023-02-19 16:28:51 -05:00
|
|
|
|
(version "0.1.44")
|
2017-12-28 02:37:20 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "ledgerblue" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-02-19 16:28:51 -05:00
|
|
|
|
"0nbfa5i9ww7jsfc8cgy0r229pq2a1vj4xvn8mz0nxl7mx1wykqm4"))))
|
2017-12-28 02:37:20 -05:00
|
|
|
|
(build-system python-build-system)
|
2023-04-23 17:00:08 -04:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f)) ; no tests
|
2017-12-28 02:37:20 -05:00
|
|
|
|
(propagated-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list python-ecpy
|
|
|
|
|
python-future
|
|
|
|
|
python-hidapi
|
|
|
|
|
python-pillow
|
|
|
|
|
python-protobuf
|
2023-02-19 16:28:51 -05:00
|
|
|
|
python-pycryptodomex
|
|
|
|
|
python-pyscard
|
|
|
|
|
python-u2flib-host
|
|
|
|
|
python-websocket-client))
|
2017-12-28 02:37:20 -05:00
|
|
|
|
(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)))
|
|
|
|
|
|
2021-08-14 09:01:38 -04:00
|
|
|
|
(define-public python-btchip-python
|
|
|
|
|
(package
|
|
|
|
|
(name "python-btchip-python")
|
|
|
|
|
(version "0.1.32")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "btchip-python" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0mcg3gfd0qk8lhral3vy9cfd4pii9kzs42q71pf6b3y0c70y1x9l"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f)) ; those require PyQt4
|
|
|
|
|
(propagated-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list python-ecdsa python-hidapi))
|
2021-08-14 09:01:38 -04:00
|
|
|
|
(home-page "https://github.com/LedgerHQ/btchip-python")
|
|
|
|
|
(synopsis "Python library to communicate with Ledger Nano dongle")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a Python library to communicate with Ledger
|
|
|
|
|
Nano dongle.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2017-12-28 03:34:20 -05:00
|
|
|
|
(define-public python-trezor
|
|
|
|
|
(package
|
|
|
|
|
(name "python-trezor")
|
2023-09-27 11:47:28 -04:00
|
|
|
|
(version "0.13.7")
|
2017-12-28 03:34:20 -05:00
|
|
|
|
(source
|
2021-11-28 15:19:30 -05:00
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/trezor/trezor-firmware/")
|
|
|
|
|
(commit (string-append "python/v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2023-09-27 11:47:28 -04:00
|
|
|
|
(base32 "13wyl9b15c8iscfakprwfvh2akw180hfqdjww79b78ywz51y7hdh"))
|
2021-11-28 15:19:30 -05:00
|
|
|
|
(modules
|
|
|
|
|
'((guix build utils)
|
|
|
|
|
(srfi srfi-26)
|
|
|
|
|
(srfi srfi-1)
|
|
|
|
|
(ice-9 ftw)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Delete everything except ./python/
|
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
|
(scandir "./" (negate (cut member <> '("python" "." "..")
|
|
|
|
|
string=))))
|
|
|
|
|
;; Move ./python/* to the toplevel.
|
|
|
|
|
(for-each (lambda (file-name)
|
|
|
|
|
(rename-file (string-append "./python/" file-name)
|
|
|
|
|
(string-append "./" file-name)))
|
|
|
|
|
(scandir "./python/"
|
|
|
|
|
(negate (cut member <> '("." "..") string=))))
|
2022-06-06 16:56:42 -04:00
|
|
|
|
(delete-file-recursively "./python")
|
|
|
|
|
;; Delete now broken symbolic links.
|
|
|
|
|
(for-each delete-file
|
|
|
|
|
(append (find-files "." "^CHANGELOG.unreleased$")
|
|
|
|
|
(find-files "." "^.towncrier.template.md$")))))))
|
2017-12-28 03:34:20 -05:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list python-attrs
|
2023-09-27 11:47:28 -04:00
|
|
|
|
python-click
|
|
|
|
|
python-construct-classes
|
2021-12-13 11:18:24 -05:00
|
|
|
|
python-ecdsa
|
2022-06-06 17:08:02 -04:00
|
|
|
|
python-hidapi
|
2021-12-13 11:18:24 -05:00
|
|
|
|
python-libusb1
|
|
|
|
|
python-mnemonic
|
|
|
|
|
python-requests
|
|
|
|
|
python-typing-extensions))
|
2023-09-27 11:47:28 -04:00
|
|
|
|
(native-inputs ; Only needed for running the tests
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list protobuf
|
|
|
|
|
python-black
|
|
|
|
|
python-isort
|
2023-09-27 11:47:28 -04:00
|
|
|
|
python-pillow
|
2022-06-06 16:56:42 -04:00
|
|
|
|
python-protobuf
|
2021-12-13 11:18:24 -05:00
|
|
|
|
python-pyqt
|
2023-09-27 11:47:28 -04:00
|
|
|
|
python-pytest
|
|
|
|
|
python-simple-rlp
|
|
|
|
|
python-wheel))
|
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
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list python-ecdsa python-hidapi python-libusb1 python-mnemonic
|
|
|
|
|
python-protobuf))
|
2017-12-28 16:15:34 -05:00
|
|
|
|
(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)))
|
|
|
|
|
|
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
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list python-ledgerblue 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")
|
2021-08-21 19:38:26 -04:00
|
|
|
|
(description "This package allows using Ledger as hardware SSH/GPG agent.")
|
2017-12-28 04:10:59 -05:00
|
|
|
|
(license license:lgpl3)))
|
2017-12-28 04:12:53 -05:00
|
|
|
|
|
|
|
|
|
(define-public trezor-agent
|
|
|
|
|
(package
|
|
|
|
|
(name "trezor-agent")
|
2023-09-27 11:47:30 -04:00
|
|
|
|
;; There are multiple Python apps/packages in the same git repo. The git
|
|
|
|
|
;; tag seems to track libagent's version (which is called
|
|
|
|
|
;; python-trezor-agent in the Guix namespace). Currently trezor-agent's
|
|
|
|
|
;; version is set in `agents/trezor/setup.py` to a different value than
|
|
|
|
|
;; libagent, but as discussed with upstream in issue
|
|
|
|
|
;; https://github.com/romanz/trezor-agent/issues/369, we are copying our
|
|
|
|
|
;; version from that of libagent.
|
|
|
|
|
(version (package-version python-trezor-agent))
|
2017-12-28 04:12:53 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2021-11-28 15:23:24 -05:00
|
|
|
|
(method git-fetch)
|
2023-09-27 11:47:30 -04:00
|
|
|
|
(uri (origin-uri (package-source python-trezor-agent)))
|
2021-12-01 12:05:26 -05:00
|
|
|
|
(file-name (git-file-name name version))
|
2017-12-28 04:12:53 -05:00
|
|
|
|
(sha256
|
2023-09-27 11:47:30 -04:00
|
|
|
|
(base32 "04dds5bbw73nk36zm8d02qw6qr92nrlcf8r1cq8ba96mzi34jbk0"))
|
2021-11-28 15:23:24 -05:00
|
|
|
|
(modules
|
|
|
|
|
'((guix build utils)
|
|
|
|
|
(ice-9 ftw)
|
|
|
|
|
(srfi srfi-1)
|
|
|
|
|
(srfi srfi-26)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Delete everything except ./agents/trezor/
|
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
|
(filter (lambda (full-name)
|
|
|
|
|
(not (string-prefix? "./agents/trezor/" full-name)))
|
|
|
|
|
(find-files ".")))
|
|
|
|
|
;; Move ./agents/trezor/* to the toplevel
|
|
|
|
|
(for-each (lambda (file-name)
|
|
|
|
|
(rename-file (string-append "./agents/trezor/" file-name)
|
|
|
|
|
(string-append "./" file-name)))
|
|
|
|
|
(scandir "./agents/trezor/"
|
|
|
|
|
(negate (cut member <> '("." "..") string=))))
|
2023-09-27 11:47:30 -04:00
|
|
|
|
(delete-file-recursively "./agents")
|
|
|
|
|
;; Without deleting ./contrib the sanity-check phase fails. Reported
|
|
|
|
|
;; upstream as https://github.com/romanz/trezor-agent/issues/429.
|
|
|
|
|
(delete-file-recursively "./contrib")
|
|
|
|
|
;; Without deleting ./libagent setuptools complains as follows:
|
|
|
|
|
;; "error: Multiple top-level packages discovered in a flat-layout: ['contrib', 'libagent']."
|
|
|
|
|
(delete-file-recursively "./libagent")))))
|
2019-02-06 19:07:49 -05:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2022-06-06 17:17:38 -04:00
|
|
|
|
(add-after 'unpack 'relax-requirements
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "setup.py"
|
|
|
|
|
(("'trezor\\[hidapi]>=0.12.0,<0.13'")
|
|
|
|
|
"'trezor[hidapi]>=0.13'"))))
|
2019-02-06 19:07:49 -05:00
|
|
|
|
(add-after 'wrap 'fixup-agent-py
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out")))
|
2021-09-24 07:05:05 -04:00
|
|
|
|
;; The wrap phase also wraps trezor_agent.py (besides the
|
|
|
|
|
;; public facing executable called trezor-agent). We need to
|
|
|
|
|
;; undo that wrapping. The reason this is needed is that the
|
|
|
|
|
;; python easy install generates a toplevel script (?) that
|
|
|
|
|
;; messes with argv[0] and then re-opens the python
|
|
|
|
|
;; module. This fails when the wrapped file is actually a shell
|
|
|
|
|
;; script, not a python file.
|
|
|
|
|
(delete-file (string-append out "/bin/.trezor_agent.py-real"))
|
|
|
|
|
;; Overwrite the wrapped one with the real thing.
|
2019-02-06 19:07:49 -05:00
|
|
|
|
(install-file "./trezor_agent.py"
|
2021-12-01 12:05:26 -05:00
|
|
|
|
(string-append out "/bin"))))))))
|
2017-12-28 04:12:53 -05:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list python-trezor python-trezor-agent))
|
2023-09-27 11:47:30 -04:00
|
|
|
|
(native-inputs ; Only needed for running the tests
|
|
|
|
|
(list python-attrs
|
|
|
|
|
python-bech32
|
|
|
|
|
python-simple-rlp))
|
2019-02-06 19:07:49 -05:00
|
|
|
|
(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
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list python-keepkey 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
|
|
|
|
|
2023-03-22 08:54:43 -04:00
|
|
|
|
(define-public kitsas
|
|
|
|
|
(package
|
|
|
|
|
(name "kitsas")
|
|
|
|
|
(version "4.0.3")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/artoh/kitupiikki")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0hrbsqqm6v2pmjq17s7i4akjgclz3d051mg02vcykq80xgxvbkgf"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(inputs (list qtbase-5 libzip poppler-qt5 qtsvg-5))
|
|
|
|
|
(arguments
|
|
|
|
|
(list #:tests? #f ;XXX: some tests fail and others segfault
|
|
|
|
|
#:test-target "check"
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* _
|
|
|
|
|
(invoke "qmake" "kitsasproject.pro" "CONFIG+=release")))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* _
|
|
|
|
|
(install-file "kitsas/kitsas"
|
|
|
|
|
(string-append #$output "/bin/"))
|
|
|
|
|
(install-file "kitsas.png"
|
|
|
|
|
(string-append #$output "/share/icons/"))
|
|
|
|
|
(install-file "kitsas.desktop"
|
|
|
|
|
(string-append #$output "/share/applications/")))))))
|
|
|
|
|
(home-page "https://kitsas.fi")
|
|
|
|
|
(synopsis "Finnish bookkeeping software for small organisations")
|
|
|
|
|
(description
|
|
|
|
|
"Kitsas is a Finnish accounting program with the following goals and
|
|
|
|
|
features:
|
|
|
|
|
|
|
|
|
|
@itemize @bullet
|
|
|
|
|
@item Ease of use
|
|
|
|
|
@item Digital management of documents
|
|
|
|
|
@item Creating a digital archive
|
|
|
|
|
@item Built-in invoicing
|
|
|
|
|
@item Creating reports.
|
|
|
|
|
@end itemize")
|
|
|
|
|
;; GPLv3+ with additional terms:
|
|
|
|
|
;; - Modified versions of this software should be clearly mentioned as modified
|
|
|
|
|
;; - Kitsas Oy will not support any modified version of this software
|
|
|
|
|
;; - The name Kitsas Oy should not be used in any modified version
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2018-01-22 13:24:20 -05:00
|
|
|
|
(define-public python-stdnum
|
|
|
|
|
(package
|
|
|
|
|
(name "python-stdnum")
|
2023-04-22 05:02:06 -04:00
|
|
|
|
(version "1.18")
|
2018-01-22 13:24:20 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "python-stdnum" version))
|
|
|
|
|
(sha256
|
2023-04-22 05:02:06 -04:00
|
|
|
|
(base32 "1h5y4qx75b6i2051ch8k0pcwkvhxzpaqd9mpsajkvqlsqkcn7ixw"))))
|
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
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list 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,
|
2021-12-30 01:20:34 -05:00
|
|
|
|
Luhn and family of ISO/IEC 7064 check digit algorithms.")
|
2018-01-22 13:24:20 -05:00
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2018-07-02 17:27:07 -04:00
|
|
|
|
(define-public python-duniterpy
|
|
|
|
|
(package
|
|
|
|
|
(name "python-duniterpy")
|
2023-09-21 12:52:48 -04:00
|
|
|
|
(version "1.1.1")
|
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
|
2023-09-21 12:52:48 -04:00
|
|
|
|
(base32 "0h0fsawsrjd50lb1bkysb21ph39qlhmiymd3r5vs695qxvbwaqaa"))))
|
|
|
|
|
(build-system pyproject-build-system)
|
2018-12-01 19:11:49 -05:00
|
|
|
|
(arguments
|
2020-10-17 15:59:46 -04:00
|
|
|
|
;; FIXME: Tests fail with: "TypeError: block_uid() missing 1 required
|
|
|
|
|
;; positional argument: 'value'".
|
2022-01-12 14:47:48 -05:00
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'loosen-requirements
|
|
|
|
|
(lambda _
|
2023-09-21 12:52:48 -04:00
|
|
|
|
(substitute* "pyproject.toml"
|
|
|
|
|
(("mnemonic = \"\\^0\\.19")
|
|
|
|
|
"mnemonic = \">=0.19")
|
|
|
|
|
(("jsonschema = \"\\^3\\.2")
|
|
|
|
|
"jsonschema = \">=3.2"))))
|
|
|
|
|
(add-after 'unpack 'adjust-for-new-libnacl
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Mimic upstream commit ad8f6a26e9e7067; remove
|
|
|
|
|
;; for newer versions of duniterpy.
|
|
|
|
|
(substitute* "pyproject.toml"
|
|
|
|
|
(("libnacl = \"1\\.8")
|
|
|
|
|
"libnacl = \">=1.9"))
|
|
|
|
|
(substitute* "duniterpy/key/ascii_armor.py"
|
|
|
|
|
(("from libnacl\\.version import version as libnacl_version")
|
|
|
|
|
"import importlib.metadata
|
|
|
|
|
libnacl_version = importlib.metadata.version('libnacl')")))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list python-poetry-core))
|
2018-07-02 17:27:07 -04:00
|
|
|
|
(propagated-inputs
|
2022-08-19 06:17:09 -04:00
|
|
|
|
(list python-attrs
|
2022-01-12 14:49:03 -05:00
|
|
|
|
python-base58
|
2023-09-21 12:52:48 -04:00
|
|
|
|
python-graphql-core
|
2022-01-12 14:49:03 -05:00
|
|
|
|
python-jsonschema
|
|
|
|
|
python-libnacl
|
|
|
|
|
python-mnemonic
|
2023-09-21 12:52:48 -04:00
|
|
|
|
python-pyaes
|
|
|
|
|
python-pypeg2
|
|
|
|
|
python-websocket-client))
|
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")
|
2022-10-31 09:21:48 -04:00
|
|
|
|
(version "0.10.0")
|
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
|
2022-10-31 09:21:48 -04:00
|
|
|
|
(base32 "0p8jqnswrrxri8i2ikdz8mij7gks0yab3wdcb37jf2kjwmrwanpk"))))
|
|
|
|
|
(build-system pyproject-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list python-poetry-core))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list python-click
|
|
|
|
|
python-duniterpy
|
|
|
|
|
python-pendulum
|
|
|
|
|
python-tabulate
|
|
|
|
|
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")
|
2022-10-31 09:21:48 -04:00
|
|
|
|
(description "Silkaj is a command line client for the
|
2018-05-16 09:52:51 -04:00
|
|
|
|
@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")
|
2021-11-14 05:13:32 -05:00
|
|
|
|
(version "2.0.5")
|
2019-07-12 12:05:00 -04:00
|
|
|
|
(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
|
2021-11-14 05:13:32 -05:00
|
|
|
|
"0gvsqw1z5wkakyi3bkq71pqb094a8lv2nbgnxw2zqkabzjmxnfmx"))))
|
2019-07-12 12:05:00 -04:00
|
|
|
|
(build-system glib-or-gtk-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags (list "--without-ofx")))
|
|
|
|
|
(propagated-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list dconf))
|
2019-07-12 12:05:00 -04:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list `(,glib "bin") ; glib-compile-schemas
|
|
|
|
|
pkg-config intltool))
|
2019-07-12 12:05:00 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list gtk+ libgsf))
|
2019-07-12 12:05:00 -04:00
|
|
|
|
(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
|
|
|
|
|
2022-07-06 01:32:42 -04:00
|
|
|
|
(define-public gbonds
|
|
|
|
|
;; The last "upstream" commit is from about 2008, but the Debian maintainers
|
|
|
|
|
;; have effectively become the upstream with an extensive series of patches.
|
|
|
|
|
;; However, the patches are stored "unapplied", and some enhancements (like
|
|
|
|
|
;; a decade's worth of new data files) rely on the Debian packaging tools,
|
|
|
|
|
;; so building normally even from the patched sources would miss them.
|
|
|
|
|
;; Here, we do all of the patching in the origin, so that the result of
|
|
|
|
|
;; `guix build --source` is actually useable for building without Guix.
|
|
|
|
|
(let ((revision "1")
|
|
|
|
|
(commit "3054ee2f90cc7c03ed6b131177d09701c7a4fced"))
|
|
|
|
|
(package
|
|
|
|
|
(name "gbonds")
|
|
|
|
|
(version (git-version "2.0.3" revision commit))
|
|
|
|
|
(source
|
|
|
|
|
(let ((unapplied
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://salsa.debian.org/debian/gbonds.git")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1sqzzfymzxbnq6cjs5wvjbnvcrkdlimlmj2h7mlcaa9qqdpsgfki"))
|
|
|
|
|
(file-name (git-file-name name version)))))
|
|
|
|
|
(origin
|
|
|
|
|
(inherit unapplied)
|
|
|
|
|
(patches
|
|
|
|
|
;; The order matters.
|
|
|
|
|
(map (cut file-append unapplied "/debian/patches/" <>)
|
|
|
|
|
'("desktop-file"
|
|
|
|
|
"POTFILES"
|
|
|
|
|
"POTFILES.missing"
|
|
|
|
|
"commands-compile"
|
|
|
|
|
"egg-recent-model-compile"
|
|
|
|
|
"gbonds-name-case"
|
|
|
|
|
"copyright-update"
|
|
|
|
|
"website-url"
|
|
|
|
|
"link-libm"
|
|
|
|
|
"xmldocs"
|
|
|
|
|
"configure-compiler-warnings"
|
|
|
|
|
"omf"
|
|
|
|
|
"desktop-file-keywords"
|
|
|
|
|
"replace-g_strcasecmp"
|
|
|
|
|
"gtk3-port"
|
|
|
|
|
"gsettings-port"
|
|
|
|
|
"no-rarian-compat"
|
|
|
|
|
"extern-gb_prefs"
|
|
|
|
|
"use-treasury-api.patch")))
|
|
|
|
|
(snippet
|
|
|
|
|
#~(begin
|
|
|
|
|
(use-modules (guix build utils)
|
|
|
|
|
(srfi srfi-26))
|
|
|
|
|
|
|
|
|
|
;; Remove generated files, which have not been patched.
|
|
|
|
|
(for-each (lambda (pth)
|
|
|
|
|
(when (file-exists? pth)
|
|
|
|
|
(delete-file pth)))
|
|
|
|
|
`(;; Things `make maintainer-clean` would do.
|
|
|
|
|
"gbonds.spec"
|
|
|
|
|
"src/marshal.c"
|
|
|
|
|
"src/marshal.h"
|
|
|
|
|
;; Things upstream's distclean missed.
|
|
|
|
|
"intltool-extract"
|
|
|
|
|
"intltool-merge"
|
|
|
|
|
"intltool-update"
|
|
|
|
|
;; Autotools generated files.
|
|
|
|
|
"aclocal.m4"
|
|
|
|
|
"config.guess"
|
|
|
|
|
"config.h.in"
|
|
|
|
|
"config.log"
|
|
|
|
|
"config.sub"
|
|
|
|
|
"configure"
|
|
|
|
|
"depcomp"
|
|
|
|
|
"intltool-extract.in"
|
|
|
|
|
"intltool-merge.in"
|
|
|
|
|
"intltool-update.in"
|
|
|
|
|
"ltmain.sh"
|
|
|
|
|
,@(find-files "." "^Makefile\\.in$")))
|
|
|
|
|
|
|
|
|
|
;; Arrange for `make install` to handle the additional
|
|
|
|
|
;; redemption data files added in the Debian packaging.
|
|
|
|
|
(let* ((new-redemption-data-files
|
|
|
|
|
(find-files "debian" "^sb[[:digit:]]+\\.asc$"))
|
|
|
|
|
(names
|
|
|
|
|
(map (cut substring <> (string-length "debian/"))
|
|
|
|
|
new-redemption-data-files)))
|
|
|
|
|
(for-each rename-file
|
|
|
|
|
new-redemption-data-files
|
|
|
|
|
(map (cut string-append "data/" <>)
|
|
|
|
|
names))
|
|
|
|
|
(substitute* "data/Makefile.am"
|
|
|
|
|
(("redemption_DATA = \\\\")
|
|
|
|
|
(apply string-append
|
|
|
|
|
"redemption_DATA = \\"
|
|
|
|
|
(map (cut string-append "\n\t" <> " \\")
|
|
|
|
|
names))))))))))
|
|
|
|
|
(outputs '("out" "debug"))
|
|
|
|
|
(inputs (list gtk+
|
|
|
|
|
glib
|
|
|
|
|
json-glib
|
|
|
|
|
libxml2
|
|
|
|
|
libsoup-minimal-2
|
|
|
|
|
cairo
|
|
|
|
|
pango))
|
|
|
|
|
(native-inputs (list autoconf
|
|
|
|
|
automake
|
|
|
|
|
intltool
|
|
|
|
|
libtool
|
|
|
|
|
patch
|
|
|
|
|
pkg-config))
|
|
|
|
|
(build-system glib-or-gtk-build-system)
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-11 19:00:00 -05:00
|
|
|
|
(home-page "https://gbonds.sourceforge.net")
|
2022-07-06 01:32:42 -04:00
|
|
|
|
(synopsis "@acronym{U.S.} Savings Bond inventory program for GNOME")
|
|
|
|
|
(description
|
|
|
|
|
"GBonds is a @acronym{U.S.} Savings Bond inventory program for the
|
|
|
|
|
GNOME desktop environment. It allows you to track the current redemption
|
|
|
|
|
value and performance of your @acronym{U.S.} Savings Bonds and keep a valuable
|
|
|
|
|
record of the bonds you own.")
|
|
|
|
|
(license license:gpl2+))))
|
|
|
|
|
|
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")
|
2023-09-27 11:47:31 -04:00
|
|
|
|
(version "2.0.33")
|
2019-07-30 20:11:59 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2020-11-30 15:24:08 -05:00
|
|
|
|
(url "https://github.com/trezor/trezord-go")
|
|
|
|
|
(commit (string-append "v" version))))
|
2019-07-30 20:11:59 -04:00
|
|
|
|
(sha256
|
2023-09-27 11:47:31 -04:00
|
|
|
|
(base32 "0nnfh9qkb8ljajkxwrn3nn85zrsw10hp7c5i4zh60qgfyl0djppw"))
|
2019-07-30 20:11:59 -04:00
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system go-build-system)
|
|
|
|
|
(arguments
|
2023-09-27 11:47:31 -04:00
|
|
|
|
`(#:import-path "github.com/trezor/trezord-go"
|
|
|
|
|
;; Requires go 1.18 or later: https://github.com/trezor/trezord-go/commit/f559ee5079679aeb5f897c65318d3310f78223ca
|
|
|
|
|
#:go ,go-1.20))
|
2020-11-30 15:24:08 -05:00
|
|
|
|
(native-inputs
|
2023-09-27 11:47:32 -04:00
|
|
|
|
(list go-github-com-gorilla-csrf
|
|
|
|
|
go-github-com-gorilla-handlers
|
|
|
|
|
go-github-com-gorilla-mux
|
|
|
|
|
go-gopkg-in-natefinch-lumberjack.v2))
|
2019-07-30 20:11:59 -04:00
|
|
|
|
(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
|
|
|
|
|
2020-01-04 22:49:24 -05:00
|
|
|
|
(define-public libofx
|
|
|
|
|
(package
|
|
|
|
|
(name "libofx")
|
2022-12-10 19:00:03 -05:00
|
|
|
|
(version "0.10.9")
|
2020-01-04 22:49:24 -05:00
|
|
|
|
(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
|
2022-12-10 19:00:03 -05:00
|
|
|
|
"120hyhs4fkxrgpvd2p0hpf5v8dq0jjql2fzllk77m33m1c82pr18"))))
|
2020-01-04 22:49:24 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2022-09-11 21:19:37 -04:00
|
|
|
|
(list
|
|
|
|
|
#:parallel-build? #f ;fails with -j64
|
|
|
|
|
#:configure-flags
|
2022-12-10 19:00:08 -05:00
|
|
|
|
#~(list "--disable-static"
|
|
|
|
|
(string-append "--with-opensp-includes="
|
2022-09-11 21:19:37 -04:00
|
|
|
|
(search-input-directory %build-inputs
|
|
|
|
|
"include/OpenSP")))))
|
2020-01-04 22:49:24 -05:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list autoconf
|
|
|
|
|
automake
|
|
|
|
|
gengetopt
|
|
|
|
|
help2man
|
|
|
|
|
libtool
|
|
|
|
|
pkg-config))
|
2020-01-04 22:49:24 -05:00
|
|
|
|
(inputs
|
2022-09-11 21:19:37 -04:00
|
|
|
|
(list curl
|
|
|
|
|
libxml++-2
|
|
|
|
|
opensp))
|
2020-01-04 22:49:24 -05:00
|
|
|
|
(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-24 15:02:41 -05:00
|
|
|
|
(define-public bitcoin-unlimited
|
|
|
|
|
(package
|
|
|
|
|
(name "bitcoin-unlimited")
|
2023-05-19 11:01:34 -04:00
|
|
|
|
(version "2.0.0.0")
|
2020-01-24 15:02:41 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2021-04-06 09:20:01 -04:00
|
|
|
|
(url "https://gitlab.com/bitcoinunlimited/BCHUnlimited.git/")
|
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
|
2023-05-19 11:01:34 -04:00
|
|
|
|
(base32 "0s4iyjfhjx21xa3z7433m4skfr115565k0ckza87ha2d4nl8kz5h"))))
|
2020-01-24 15:02:41 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list autoconf
|
|
|
|
|
automake
|
|
|
|
|
libtool
|
|
|
|
|
pkg-config
|
|
|
|
|
python ; for the tests
|
|
|
|
|
util-linux ; provides the hexdump command for tests
|
2022-07-19 16:52:05 -04:00
|
|
|
|
qttools-5))
|
2020-01-24 15:02:41 -05:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list bdb-4.8
|
|
|
|
|
boost
|
|
|
|
|
libevent
|
|
|
|
|
miniupnpc
|
|
|
|
|
openssl
|
|
|
|
|
protobuf
|
|
|
|
|
qrencode
|
|
|
|
|
qtbase-5
|
|
|
|
|
zeromq
|
|
|
|
|
zlib))
|
2020-01-24 15:02:41 -05:00
|
|
|
|
(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
|
2022-07-19 16:52:05 -04:00
|
|
|
|
;; up executables residing in 'qttools-5', so we specify them here.
|
2020-01-24 15:02:41 -05:00
|
|
|
|
(string-append "ac_cv_path_LRELEASE="
|
2022-08-03 16:26:58 -04:00
|
|
|
|
(assoc-ref %build-inputs "qttools")
|
2020-01-24 15:02:41 -05:00
|
|
|
|
"/bin/lrelease")
|
|
|
|
|
(string-append "ac_cv_path_LUPDATE="
|
2022-08-03 16:26:58 -04:00
|
|
|
|
(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")
|
2023-03-27 09:40:10 -04:00
|
|
|
|
""))
|
|
|
|
|
;; Disable PaymentServer failing test because it's using
|
|
|
|
|
;; an expired SSL certificate.
|
|
|
|
|
(substitute* "src/qt/test/test_main.cpp"
|
|
|
|
|
(("if \\(QTest::qExec\\(&test2\\) != 0\\)")
|
2023-05-19 11:01:34 -04:00
|
|
|
|
"if (QTest::qExec(&test2) == 0)"))
|
|
|
|
|
;; The following test passes with OpenSSL 1.1, but fails with
|
|
|
|
|
;; OpenSSL 3.
|
|
|
|
|
(substitute* "src/secp256k1/src/tests.c"
|
|
|
|
|
(("run_ecdsa_der_parse\\(\\);")
|
|
|
|
|
""))))
|
2020-01-24 15:02:41 -05:00
|
|
|
|
(add-before 'check 'set-home
|
|
|
|
|
(lambda _
|
2022-04-16 05:49:48 -04:00
|
|
|
|
;; Tests write to $HOME
|
|
|
|
|
(setenv "HOME" (getenv "TMPDIR")))))))
|
2020-01-24 15:02:41 -05:00
|
|
|
|
(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")
|
2023-09-20 08:39:33 -04:00
|
|
|
|
(version "1.9.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/cculianu/Fulcrum")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
#~(for-each delete-file-recursively
|
|
|
|
|
'("src/Json/simdjson"
|
|
|
|
|
"src/bitcoin/secp256k1"
|
|
|
|
|
"src/robin_hood"
|
|
|
|
|
"src/zmq"
|
|
|
|
|
"staticlibs")))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1110vanl6aczlq25i4ck9j4vr81in5icw4z383wyhjpcy6rwxsw2"))
|
|
|
|
|
(patches
|
|
|
|
|
(search-patches "fulcrum-1.9.1-unbundled-libraries.patch"))))
|
2020-04-07 14:48:45 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2023-09-20 08:39:33 -04:00
|
|
|
|
(list #:configure-flags
|
|
|
|
|
#~(list "CONFIG+=config_without_bundled_cppzmq"
|
|
|
|
|
"CONFIG+=config_without_bundled_robin_hood"
|
|
|
|
|
"CONFIG+=config_without_bundled_secp256k1"
|
|
|
|
|
"LIBS+=-lrocksdb"
|
|
|
|
|
#$@(if (target-64bit?) '("LIBS+=-lsimdjson") '())
|
|
|
|
|
(format #f "DEFINES+=GIT_COMMIT=\"\\\\\\~s\\\\\\\""
|
|
|
|
|
#$version)
|
|
|
|
|
(string-append "PREFIX=" #$output))
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key configure-flags #:allow-other-keys)
|
|
|
|
|
(apply invoke "qmake" configure-flags))))))
|
|
|
|
|
(native-inputs (list pkg-config qttools-5))
|
2020-04-07 14:48:45 -04:00
|
|
|
|
(inputs
|
2023-09-20 08:39:33 -04:00
|
|
|
|
(append (list cppzmq
|
|
|
|
|
jemalloc
|
|
|
|
|
python
|
|
|
|
|
qtbase-5
|
|
|
|
|
robin-hood-hashing
|
|
|
|
|
rocksdb
|
|
|
|
|
zeromq
|
|
|
|
|
zlib)
|
|
|
|
|
(if (target-64bit?)
|
|
|
|
|
(list simdjson-0.6)
|
|
|
|
|
'())))
|
|
|
|
|
(home-page "https://github.com/cculianu/Fulcrum")
|
|
|
|
|
(synopsis "Payment verification server for Bitcoin-like crypto-currencies")
|
2020-04-07 14:48:45 -04:00
|
|
|
|
(description
|
2023-09-20 08:39:33 -04:00
|
|
|
|
"Fulcrum is a @acronym{SPV, Simplified Payment Verification} server for
|
|
|
|
|
Bitcoin-like crypto-currencies. The server indexes the blockchain of the
|
|
|
|
|
crypto-currency used, and the resulting index can be used by wallets to
|
|
|
|
|
perform queries to keep real-time track of balances.
|
|
|
|
|
|
|
|
|
|
Supported crypto-currencies:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item Bitcoin Core.
|
|
|
|
|
@item Bitcoin Cash-like.
|
|
|
|
|
@item Litecoin.
|
|
|
|
|
@end itemize")
|
2020-04-07 14:48:45 -04:00
|
|
|
|
(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
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list boost
|
|
|
|
|
gmp
|
|
|
|
|
libevent
|
|
|
|
|
miniupnpc
|
|
|
|
|
openssl
|
|
|
|
|
qtbase-5))
|
2020-04-11 08:56:49 -04:00
|
|
|
|
(native-inputs
|
2022-07-19 16:52:05 -04:00
|
|
|
|
(list pkg-config qttools-5 util-linux)) ; provides the hexdump command for tests
|
2020-04-11 08:56:49 -04:00
|
|
|
|
(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")
|
2022-05-28 20:00:00 -04:00
|
|
|
|
(version "2.3.5")
|
2020-03-31 16:57:15 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "beancount" version))
|
|
|
|
|
(sha256
|
2022-05-28 20:00:00 -04:00
|
|
|
|
(base32 "0sn3x6c5vwvdfak1qm0y4vv284izrc4dly31mqyd9jz9l8jmdqql"))
|
2020-03-31 16:57:15 -04:00
|
|
|
|
(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',") ""))
|
2022-03-21 14:36:24 -04:00
|
|
|
|
#t))
|
|
|
|
|
;; No module named 'google_auth_oauthlib'
|
|
|
|
|
(delete 'sanity-check))))
|
2020-04-07 12:43:54 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list python-beautifulsoup4
|
|
|
|
|
python-bottle
|
|
|
|
|
python-chardet
|
|
|
|
|
python-dateutil
|
|
|
|
|
python-lxml
|
|
|
|
|
python-magic
|
|
|
|
|
python-ply
|
|
|
|
|
python-requests))
|
2020-04-07 12:44:36 -04:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list python-pytest))
|
2022-07-23 20:00:00 -04:00
|
|
|
|
(home-page "https://beancount.github.io/")
|
2020-03-31 16:57:15 -04:00
|
|
|
|
(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
|
|
|
|
|
|
|
|
|
(define-public emacs-beancount
|
2021-09-29 12:46:01 -04:00
|
|
|
|
;; Note that upstream has not made any release since this project moved
|
|
|
|
|
;; into its own repository (it was originally part of beancount itself)
|
2022-12-12 08:52:33 -05:00
|
|
|
|
(let ((commit "687775da63784d153a3c1cfee9801090c6b51842")
|
|
|
|
|
(revision "1"))
|
2021-09-29 12:46:01 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "emacs-beancount")
|
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/beancount/beancount-mode")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-12-12 08:52:33 -05:00
|
|
|
|
"08383yqqanx29al1hg1r6ndx3gwjg6fj7kl340f1zz9m9cfiyvg3"))
|
2021-09-29 12:46:01 -04:00
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system emacs-build-system)
|
|
|
|
|
(home-page "https://github.com/beancount/beancount-mode")
|
|
|
|
|
(synopsis "Emacs mode for Beancount")
|
|
|
|
|
(description
|
|
|
|
|
"Emacs-beancount is an Emacs mode for the Beancount accounting tool.")
|
|
|
|
|
(license license:gpl3+))))
|
2020-12-04 14:15:45 -05:00
|
|
|
|
|
|
|
|
|
(define-public hledger-web
|
|
|
|
|
(package
|
|
|
|
|
(name "hledger-web")
|
2023-01-15 04:09:44 -05:00
|
|
|
|
(version "1.27.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (hackage-uri "hledger-web" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"151dxci7dld8626dzw823sr3d9iaac92wfzbfcbdz4jh9f7n07wa"))))
|
2020-12-04 14:15:45 -05:00
|
|
|
|
(build-system haskell-build-system)
|
2023-01-04 03:37:26 -05:00
|
|
|
|
(properties '((upstream-name . "hledger-web")))
|
2023-01-15 04:09:44 -05:00
|
|
|
|
(inputs (list ghc-decimal
|
|
|
|
|
ghc-aeson
|
|
|
|
|
ghc-base64
|
|
|
|
|
ghc-blaze-html
|
|
|
|
|
ghc-blaze-markup
|
|
|
|
|
ghc-breakpoint
|
|
|
|
|
ghc-case-insensitive
|
|
|
|
|
ghc-clientsession
|
|
|
|
|
ghc-cmdargs
|
|
|
|
|
ghc-conduit
|
|
|
|
|
ghc-conduit-extra
|
|
|
|
|
ghc-data-default
|
|
|
|
|
ghc-extra
|
|
|
|
|
ghc-hjsmin
|
2023-01-29 12:54:15 -05:00
|
|
|
|
ghc-hledger
|
2023-01-15 04:09:44 -05:00
|
|
|
|
ghc-hledger-lib
|
|
|
|
|
ghc-hspec
|
|
|
|
|
ghc-http-client
|
|
|
|
|
ghc-http-conduit
|
|
|
|
|
ghc-http-types
|
|
|
|
|
ghc-megaparsec
|
|
|
|
|
ghc-network
|
|
|
|
|
ghc-shakespeare
|
|
|
|
|
ghc-unix-compat
|
|
|
|
|
ghc-unordered-containers
|
|
|
|
|
ghc-utf8-string
|
|
|
|
|
ghc-wai
|
|
|
|
|
ghc-wai-cors
|
|
|
|
|
ghc-wai-extra
|
|
|
|
|
ghc-wai-handler-launch
|
|
|
|
|
ghc-warp
|
|
|
|
|
ghc-yaml
|
|
|
|
|
ghc-yesod
|
|
|
|
|
ghc-yesod-core
|
|
|
|
|
ghc-yesod-form
|
|
|
|
|
ghc-yesod-static
|
|
|
|
|
ghc-yesod-test))
|
2021-09-20 04:49:34 -04:00
|
|
|
|
(arguments
|
2023-01-29 12:54:15 -05:00
|
|
|
|
(list
|
|
|
|
|
#:haddock? #f
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
;; Tests write to $HOME.
|
|
|
|
|
(add-before 'check 'set-home
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "HOME" "/tmp")))
|
|
|
|
|
(add-after 'register 'remove-libraries
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(delete-file-recursively (string-append (assoc-ref outputs "out") "/lib")))))))
|
2023-01-15 04:09:44 -05:00
|
|
|
|
(home-page "http://hledger.org")
|
2020-12-04 14:15:45 -05:00
|
|
|
|
(synopsis "Web-based user interface for the hledger accounting system")
|
2023-01-15 04:09:44 -05:00
|
|
|
|
(description
|
|
|
|
|
"This package provides a simple Web-based User
|
2020-12-04 14:15:45 -05:00
|
|
|
|
Interface (UI) for the hledger accounting system. It can be used as a
|
|
|
|
|
local, single-user UI, or as a multi-user UI for viewing, adding, and
|
|
|
|
|
editing on the Web.")
|
|
|
|
|
(license license:gpl3)))
|
2021-10-13 18:50:36 -04:00
|
|
|
|
|
2021-12-21 10:20:28 -05:00
|
|
|
|
(define-public quantlib
|
|
|
|
|
(package
|
|
|
|
|
(name "quantlib")
|
2022-05-28 20:00:01 -04:00
|
|
|
|
(version "1.26")
|
2021-12-21 10:20:28 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/lballabio/QuantLib/releases/download/QuantLib-v"
|
|
|
|
|
version "/QuantLib-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2022-05-28 20:00:01 -04:00
|
|
|
|
(base32 "1sbk6rg51x5xpa93xmqmrj32a1l9vba51xck0017cxzblg0nrzh4"))))
|
2021-12-21 10:20:28 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
,#~(list "--disable-static"
|
|
|
|
|
(string-append "--prefix=" #$output))))
|
|
|
|
|
(inputs (list boost))
|
|
|
|
|
(home-page "https://www.quantlib.org")
|
|
|
|
|
(synopsis "Library for quantitative finance")
|
|
|
|
|
(description
|
|
|
|
|
"The QuantLib project is aimed at providing a comprehensive software
|
|
|
|
|
framework for quantitative finance. QuantLib is a library for modeling,
|
|
|
|
|
trading, and risk management in real-life.")
|
|
|
|
|
(license license:bsd-2)))
|
|
|
|
|
|
2021-12-10 01:08:26 -05:00
|
|
|
|
(define-public optionmatrix
|
|
|
|
|
(package
|
|
|
|
|
(name "optionmatrix")
|
|
|
|
|
(version "1.4.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://sourceforge/optionmatrix/optionmatrix-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1zd0pfiphnijh1l94swb3mjrpmjsn37z11mklamd7zw6h2d4zh4d"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 16:15:07 -05:00
|
|
|
|
(list gsl gtk+ ncurses))
|
2021-12-10 01:08:26 -05:00
|
|
|
|
(native-inputs
|
2021-12-13 16:15:07 -05:00
|
|
|
|
(list pkg-config texinfo
|
2023-05-14 15:47:36 -04:00
|
|
|
|
(texlive-updmap.cfg (list texlive-epsf texlive-texinfo))))
|
2021-12-10 01:08:26 -05:00
|
|
|
|
(home-page "https://anthonybradford.github.io/optionmatrix/")
|
|
|
|
|
(synopsis "Financial derivative calculator")
|
|
|
|
|
(description
|
|
|
|
|
"The OptionMatrix programs are financial derivative calculators. These
|
|
|
|
|
calculators are real-time multi-model option chain pricers with analytics and
|
|
|
|
|
interactive controls. This package provides a GTK+ graphical user interface
|
|
|
|
|
(@code{optionmatrix}) and a curses interface (@code{optionmatrix_console}).")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2021-11-15 00:25:33 -05:00
|
|
|
|
(define-public python-ta-lib
|
|
|
|
|
(package
|
|
|
|
|
(name "python-ta-lib")
|
|
|
|
|
(version "0.4.21")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "TA-Lib" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "17sf222mq2vx924f15qlz5czkkq5vsnsjy9ibwkrk8lalr6g5lkl"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list ta-lib))
|
2021-11-15 00:25:33 -05:00
|
|
|
|
(propagated-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list python-numpy))
|
2021-11-15 00:25:33 -05:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list python-cython python-nose python-pandas))
|
2021-11-15 00:25:33 -05:00
|
|
|
|
(home-page "https://github.com/mrjbq7/ta-lib")
|
|
|
|
|
(synopsis "Python wrapper for TA-Lib")
|
|
|
|
|
(description
|
|
|
|
|
"This is a Python wrapper for TA-Lib based on Cython. TA-Lib is a library
|
|
|
|
|
providing common functions for the technical analysis of financial market data.")
|
|
|
|
|
(license license:bsd-2)))
|
|
|
|
|
|
2021-10-13 18:50:36 -04:00
|
|
|
|
(define-public ta-lib
|
|
|
|
|
(package
|
|
|
|
|
(name "ta-lib")
|
|
|
|
|
(version "0.4.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/ta-lib/ta-lib/"
|
|
|
|
|
version "/ta-lib-" version "-src.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0lf69nna0aahwpgd9m9yjzbv2fbfn081djfznssa84f0n7y1xx4z"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2021-10-29 07:06:43 -04:00
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'link-math-library
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "src/Makefile.am"
|
|
|
|
|
(("ta_common/libta_common.la")
|
|
|
|
|
"ta_common/libta_common.la -lm"))
|
|
|
|
|
(substitute* "src/Makefile.in"
|
|
|
|
|
(("\\$\\(libta_lib_la_LDFLAGS\\) \\$\\(LDFLAGS\\) -o \\$@")
|
|
|
|
|
"$(libta_lib_la_LDFLAGS) $(LDFLAGS) -lm -o $@")))))
|
|
|
|
|
;; Parallel build fails with:
|
2021-10-13 18:50:36 -04:00
|
|
|
|
;; mv -f .deps/gen_code-gen_code.Tpo .deps/gen_code-gen_code.Po
|
|
|
|
|
;; mv: cannot stat '.deps/gen_code-gen_code.Tpo': No such file or directory
|
|
|
|
|
;; Makefile:254: recipe for target 'gen_code-gen_code.o' failed
|
|
|
|
|
#:parallel-build? #f
|
|
|
|
|
#:configure-flags '("--disable-static")))
|
|
|
|
|
(home-page "https://ta-lib.org")
|
|
|
|
|
(synopsis "Technical analysis library")
|
|
|
|
|
(description
|
|
|
|
|
"TA-Lib is a library providing common functions for the technical
|
|
|
|
|
analysis of financial market data.")
|
|
|
|
|
(license license:bsd-3)))
|
2022-02-15 04:36:00 -05:00
|
|
|
|
|
|
|
|
|
(define-public python-mt-940
|
|
|
|
|
(package
|
|
|
|
|
(name "python-mt-940")
|
|
|
|
|
(version "4.23.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/WoLpH/mt940.git")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0z9w1qalcphsck3j6vkrs7k47ah9zq2rv0lm9nmcsgwpyp59qkyf"))))
|
|
|
|
|
(properties '(("upstream-name" #{.}# "mt-940")))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
;; Remove custom --cov flags.
|
|
|
|
|
(delete-file "pytest.ini")
|
|
|
|
|
(invoke "pytest" "-vv")))))))
|
|
|
|
|
(native-inputs (list python-flake8
|
|
|
|
|
python-pytest
|
|
|
|
|
python-pyyaml))
|
|
|
|
|
(home-page "https://mt940.readthedocs.io/")
|
|
|
|
|
(synopsis "Python parser for MT940-encoded SWIFT data")
|
|
|
|
|
(description
|
|
|
|
|
"A library to parse MT940 files, a bank account statement exchange
|
|
|
|
|
format used by SWIFT. It returns smart Python collections for statistics
|
|
|
|
|
and manipulation.")
|
|
|
|
|
(license license:bsd-3)))
|
2022-08-12 07:38:43 -04:00
|
|
|
|
|
|
|
|
|
(define-public xmrig
|
|
|
|
|
(package
|
|
|
|
|
(name "xmrig")
|
2023-07-02 06:59:04 -04:00
|
|
|
|
(version "6.20.0")
|
2022-08-12 07:38:43 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/xmrig/xmrig")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2023-07-02 06:59:04 -04:00
|
|
|
|
(sha256 (base32 "02clipcixn0g4sm3b5r1cxx56ddhjkm8sqnq40jy1zm66ad5zhkj"))
|
2022-08-12 07:38:43 -04:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; TODO: Try to use system libraries instead of bundled ones in
|
|
|
|
|
;; "src/3rdparty/". It requires changes to some "cmake/..." scripts
|
|
|
|
|
;; and to some source files.
|
2023-03-01 09:42:11 -05:00
|
|
|
|
#~(begin
|
|
|
|
|
(delete-file-recursively "src/3rdparty/hwloc")
|
|
|
|
|
(substitute* "src/donate.h"
|
|
|
|
|
(("constexpr const int kDefaultDonateLevel = 1;")
|
|
|
|
|
"constexpr const int kDefaultDonateLevel = 0;")
|
|
|
|
|
(("constexpr const int kMinimumDonateLevel = 1;")
|
|
|
|
|
"constexpr const int kMinimumDonateLevel = 0;"))))))
|
2022-08-12 07:38:43 -04:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
(list
|
|
|
|
|
`(,hwloc "lib")
|
|
|
|
|
libuv
|
|
|
|
|
openssl))
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
;; There are no tests.
|
|
|
|
|
#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases
|
|
|
|
|
%standard-phases
|
|
|
|
|
(replace 'install
|
|
|
|
|
;; There is no 'install' target, we must install xmrig manually
|
|
|
|
|
(lambda* (#:key #:allow-other-keys)
|
|
|
|
|
(install-file "xmrig"
|
|
|
|
|
(string-append #$output "/bin")))))))
|
|
|
|
|
(home-page "https://xmrig.com/")
|
|
|
|
|
(synopsis "Monero miner")
|
|
|
|
|
(description
|
2023-05-21 03:53:42 -04:00
|
|
|
|
"XMRig is a high-performance, cross-platform RandomX, KawPow,
|
|
|
|
|
CryptoNight and GhostRider unified CPU/GPU miner and RandomX benchmark.
|
2022-08-12 07:38:43 -04:00
|
|
|
|
|
|
|
|
|
Warning: upstream, by default, receives a percentage of the mining time. This
|
2023-05-21 03:53:42 -04:00
|
|
|
|
anti-functionality has been neutralized in Guix, but possibly not in all other
|
2022-08-12 07:38:43 -04:00
|
|
|
|
distributions.
|
|
|
|
|
|
2023-05-21 03:53:42 -04:00
|
|
|
|
Warning: this software, because of its nature, has high energy consumption.
|
|
|
|
|
Also, the energy expenses might be higher than the cryptocurrency gained by
|
2022-08-12 07:38:43 -04:00
|
|
|
|
mining.")
|
|
|
|
|
(license license:gpl3+)))
|
2022-08-12 08:59:42 -04:00
|
|
|
|
|
|
|
|
|
(define-public p2pool
|
|
|
|
|
(package
|
|
|
|
|
(name "p2pool")
|
2023-10-11 04:42:22 -04:00
|
|
|
|
(version "3.7")
|
2022-08-12 08:59:42 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/SChernykh/p2pool")
|
|
|
|
|
(commit (string-append "v" version))
|
|
|
|
|
(recursive? #t)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2023-10-11 04:42:22 -04:00
|
|
|
|
(sha256 (base32 "1sghdk8yq8si0bq0z83fji48q8yrq0ymvsxbbh5mscw6223syrjq"))
|
2022-08-12 08:59:42 -04:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
#~(for-each delete-file-recursively
|
|
|
|
|
'("external/lib"
|
|
|
|
|
"external/src/cppzmq"
|
|
|
|
|
"external/src/curl"
|
|
|
|
|
"external/src/libuv"
|
|
|
|
|
"external/src/libzmq"
|
|
|
|
|
"external/src/rapidjson")))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
(list cppzmq curl gss libuv rapidjson zeromq))
|
|
|
|
|
(arguments
|
2023-03-01 09:06:24 -05:00
|
|
|
|
(list ; FIXME: Linking fails when LTO is activated.
|
|
|
|
|
#:configure-flags #~(list "-DWITH_LTO=OFF")
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(mkdir-p "tests")
|
|
|
|
|
(chdir "tests")
|
|
|
|
|
(invoke "cmake" "../../source/tests")
|
|
|
|
|
(invoke "make" "-j" (number->string (parallel-job-count)))
|
2023-06-06 05:26:41 -04:00
|
|
|
|
(invoke "gzip" "-d" "sidechain_dump.dat.gz")
|
|
|
|
|
(invoke "gzip" "-d" "sidechain_dump_mini.dat.gz")
|
2023-03-01 09:06:24 -05:00
|
|
|
|
(invoke "./p2pool_tests")
|
|
|
|
|
(chdir ".."))))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda _
|
|
|
|
|
(install-file "p2pool" (string-append #$output "/bin")))))))
|
2022-08-12 08:59:42 -04:00
|
|
|
|
(home-page "https://p2pool.io/")
|
|
|
|
|
(synopsis "Decentralized Monero mining pool")
|
|
|
|
|
(description "Monero P2Pool is a peer-to-peer Monero mining pool. P2Pool
|
|
|
|
|
combines the advantages of pool and solo mining; you still fully control your
|
|
|
|
|
Monero node and what it mines, but you get frequent payouts like on a regular
|
|
|
|
|
pool.")
|
|
|
|
|
(license license:gpl3)))
|
2023-02-12 22:16:49 -05:00
|
|
|
|
|
|
|
|
|
(define-public opentaxsolver
|
|
|
|
|
;; The OTS version is formatted like tax-year_version. So, at time of
|
|
|
|
|
;; writing, the version is 2022_20.00. Each part of this is used in
|
|
|
|
|
;; different places in the source uri, so it's convenient to have them
|
|
|
|
|
;; separately like this.
|
|
|
|
|
(let ((tax-year "2022")
|
|
|
|
|
(ots-version "20.00"))
|
|
|
|
|
(package
|
|
|
|
|
(name "opentaxsolver")
|
|
|
|
|
(version (string-append tax-year "_" ots-version))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/opentaxsolver/OTS_"
|
|
|
|
|
tax-year "/v" ots-version
|
|
|
|
|
"_linux/OpenTaxSolver" version "_linux64.tgz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"06k0a72bmwdmr71dvrp8b4vl8vilnggsh92hrp7wjdgcjj9m074w"))
|
|
|
|
|
(patches (search-patches "opentaxsolver-file-browser-fix.patch"))))
|
|
|
|
|
(build-system glib-or-gtk-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:tests? #f ;no tests
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ;no configure script
|
|
|
|
|
;; OTS does provide a shellscript that does exactly this, but we
|
|
|
|
|
;; need to do it ourselves to specify the correct compiler and to
|
|
|
|
|
;; delete the GUI binaries.
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda _
|
|
|
|
|
(delete-file "Run_taxsolve_GUI")
|
|
|
|
|
(delete-file-recursively "bin")
|
|
|
|
|
(mkdir "bin")
|
|
|
|
|
(chdir "src/Gui_gtk")
|
|
|
|
|
(invoke "make"
|
|
|
|
|
(string-append "CC=" #$(cc-for-target)))
|
|
|
|
|
(chdir "..")
|
|
|
|
|
(invoke "make"
|
|
|
|
|
(string-append "CC=" #$(cc-for-target)))))
|
|
|
|
|
;; OTS doesn't provide a `make install` target, because it assumes
|
|
|
|
|
;; it'll be run from the tarball. So, we do it ourselves, making
|
|
|
|
|
;; sure to replicate the directory structure of the tarball.
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda _
|
|
|
|
|
(copy-recursively "../bin"
|
|
|
|
|
(string-append #$output "/bin"))
|
|
|
|
|
(symlink (string-append #$output "/bin/ots_gui2")
|
|
|
|
|
(string-append #$output "/bin/Run_taxsolve_GUI"))
|
|
|
|
|
(copy-recursively "../tax_form_files"
|
|
|
|
|
(string-append #$output "/tax_form_files"))
|
|
|
|
|
(copy-recursively "formdata"
|
|
|
|
|
(string-append #$output "/src/formdata")))))))
|
|
|
|
|
(native-inputs (list pkg-config))
|
|
|
|
|
(inputs (list gtk+-2))
|
|
|
|
|
(synopsis "Yearly tax preparation tool")
|
|
|
|
|
(description
|
|
|
|
|
"OpenTaxSolver is a program for calculating tax form entries for
|
|
|
|
|
federal and state personal income taxes. It automatically fills out and
|
|
|
|
|
prints your forms for mailing.")
|
|
|
|
|
(home-page "https://opentaxsolver.sourceforge.net/")
|
|
|
|
|
(license license:gpl2+))))
|