Subject: bug#40494: closed (Re: [bug#40494] [PATCH] new package: fulcrum)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 10 Apr 2020 16:46:02 +0000

Your bug report

#40494: [PATCH] new package: fulcrum

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
40494: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40494
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#40494] [PATCH] new package: fulcrum
From: Nicolas Goaziou <[email-masked]>
To: Tom Zander via Guix-patches via <[email-masked]>
Cc: [email-masked], Tom Zander <[email-masked]>
Date: Fri, 10 Apr 2020 18:45:40 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Tom Zander via Guix-patches via <[email-masked]> writes:

> From d53bb971f61b81ed0b269d1b4aafe6d328ed591e Mon Sep 17 00:00:00 2001
> From: TomZ <[email-masked]>
> Date: Tue, 7 Apr 2020 20:48:45 +0200
> Subject: [PATCH] Add Flowee Fulcrum to the finance file

Thank you!

I added a proper commit message, expounded "SPV" in description, and
pushed as 3e6aa0ce968c79869a7a1dcfcfe682865d16ad45.

Regards,

-- 
Nicolas Goaziou

Subject: [PATCH] new package: fulcrum
From: Tom Zander <[email-masked]>
To: [email-masked]
Date: Tue, 07 Apr 2020 21:29:04 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

-- 
Tom Zander

From d53bb971f61b81ed0b269d1b4aafe6d328ed591e Mon Sep 17 00:00:00 2001
From: TomZ <[email-masked]>
Date: Tue, 7 Apr 2020 20:48:45 +0200
Subject: [PATCH] Add Flowee Fulcrum to the finance file

---
 gnu/packages/finance.scm | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index ea1fcbe9d4..940644582a 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -17,6 +17,7 @@
 ;;; Copyright © 2019 Sebastian Schott <[email-masked]>
 ;;; Copyright © 2020 Kei Kebreau <[email-masked]>
 ;;; Copyright © 2020 Christopher Lemmer Webber <[email-masked]>
+;;; Copyright © 2020 Tom Zander <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1401,6 +1402,45 @@ electronic cash system.  This package provides a command line client and
 a Qt GUI.")
     (license license:expat)))
 
+(define-public fulcrum
+  (package
+    (name "fulcrum")
+    (version "1.0.5b")
+    (source (origin
+             (method url-fetch)
+             (uri (string-append "https://gitlab.com/FloweeTheHub/fulcrum/-/archive/v"
+                                 version "/fulcrum-v" version ".tar.gz"))
+             (sha256
+               (base32
+               "1c1hkik8avill8ha33g76rk4b03j5ac8wiml69q4jav7a63ywgfy"))))
+
+    (build-system gnu-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+       ;; call qmake instead of configure to create a makefile.
+       (replace 'configure
+         (lambda _
+            (invoke
+               "qmake"
+               (string-append "PREFIX=" %output)
+               "features="))))))
+    (inputs
+     `(("qtbase" ,qtbase)
+       ("rocksdb" ,rocksdb)
+       ("zlib" ,zlib)
+       ("python" ,python)))
+    (native-inputs
+     `(("qttools" ,qttools)))
+    (home-page "https://gitlab.com/FloweeTheHub/fulcrum")
+    (synopsis "Fast & nimble SPV Server for Bitcoin Cash")
+    (description
+     "Flowee Fulcrum is a server that is the back-end for SPV wallets,
+it provides the full API for those walets in a fast and small server.
+The full data is stored in a full node, like Flowee the Hub, which
+Fulcrum connects to over RPC.")
+    (license license:gpl3+)))
+
 (define-public beancount
   (package
     (name "beancount")
-- 
2.25.1