From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:44124) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOFzH-0002un-Kd for guix-patches@gnu.org; Tue, 14 Apr 2020 03:28:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jOFzG-0000G1-Bb for guix-patches@gnu.org; Tue, 14 Apr 2020 03:28:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49818) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jOFzG-0000Fo-8C for guix-patches@gnu.org; Tue, 14 Apr 2020 03:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jOFzG-000291-5J for guix-patches@gnu.org; Tue, 14 Apr 2020 03:28:02 -0400 Subject: [bug#40622] new package 'flowee'. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:43943) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOFyP-0002NT-Rl for guix-patches@gnu.org; Tue, 14 Apr 2020 03:27:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jOFyO-0008Bm-8u for guix-patches@gnu.org; Tue, 14 Apr 2020 03:27:09 -0400 Received: from mx.kolabnow.com ([95.128.36.40]:37240) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jOFyN-0008Ay-JS for guix-patches@gnu.org; Tue, 14 Apr 2020 03:27:08 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTP id F01D8404AF for ; Tue, 14 Apr 2020 09:27:03 +0200 (CEST) Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out003.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MDqMQIDoVFwp for ; Tue, 14 Apr 2020 09:27:03 +0200 (CEST) Received: from int-mx002.mykolab.com (unknown [10.9.13.2]) by ext-mx-out003.mykolab.com (Postfix) with ESMTPS id 369D7403B1 for ; Tue, 14 Apr 2020 09:27:02 +0200 (CEST) Received: from ext-subm003.mykolab.com (unknown [10.9.6.3]) by int-mx002.mykolab.com (Postfix) with ESMTPS id DAE872372 for ; Tue, 14 Apr 2020 09:27:02 +0200 (CEST) Date: Tue, 14 Apr 2020 09:27:00 +0200 Message-ID: <6313128.DvuYhMxLoT@cherry> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart6557699.lOV4Wx5bFT" Content-Transfer-Encoding: 7Bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" Reply-to: Tom Zander , Tom Zander via Guix-patches From: Tom Zander via Guix-patches via To: 40622@debbugs.gnu.org This is a multi-part message in MIME format. --nextPart6557699.lOV4Wx5bFT Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Please merge. -- Tom Zander --nextPart6557699.lOV4Wx5bFT Content-Disposition: attachment; filename="0001-gnu-Add-flowee.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="UTF-8"; name="0001-gnu-Add-flowee.patch" >From 0d5cd3f28daed7320fcd879fa4e0d1351856127a Mon Sep 17 00:00:00 2001 From: TomZ Date: Sat, 11 Apr 2020 14:56:49 +0200 Subject: [PATCH] gnu: Add flowee. * gnu/packages/finance.scm (flowee): New variable. --- gnu/packages/finance.scm | 66 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 65 insertions(+), 1 deletion(-) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index aa71335040..4449781463 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1412,7 +1412,7 @@ a Qt GUI.") (uri (string-append "https://gitlab.com/FloweeTheHub/fulcrum/-/archive/v" version "/fulcrum-v" version ".tar.gz")) (sha256 - (base32 "1c1hkik8avill8ha33g76rk4b03j5ac8wiml69q4jav7a63ywgfy")))) + (base32 "1ajd5axv9zyhh6njrvamm11zn52j1q4j3mwn2nfv7cjd4lhnhlsr")))) (build-system gnu-build-system) (arguments `(#:phases @@ -1440,6 +1440,70 @@ 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+))) +(package + (name "flowee") + (version "2020.03.1") + (source (origin + (method url-fetch) + (uri (string-append "https://gitlab.com/FloweeTheHub/thehub/-/archive/" + version "/thehub-" version ".tar.gz")) + (sha256 + (base32 + "1w20haldxlnppi2lkn5xsmw8cnxpcc92yradhb823d2ih66ybp0l")))) + (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") "")) + #t)) + (add-after 'configure 'set-build-info + ; Their genbuild.sh to generate a build.h fails in guix (no .git dir) . + ; Its purpose is to write the tag name in the build.h file. We do that + ; here instead. + (lambda _ + (with-output-to-file "include/build.h" + (lambda _ + (display + (string-append "#define BUILD_DESC " "\"", version "\"")))))) + (add-before 'check 'set-home + (lambda _ + (setenv "HOME" (getenv "TMPDIR")) ; tests write to $HOME + #t)) + (replace 'check + (lambda _ + (invoke "make" "check" "-C" "testing")))))) + (inputs + `(("boost" ,boost) + ("libevent" ,libevent) + ("miniupnpc" ,miniupnpc) + ("qtbase" ,qtbase) + ("gmp" ,gmp) + ("openssl" ,openssl))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("util-linux" ,util-linux) ; provides the hexdump command for tests + ("qttools" ,qttools))) + (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+)) + + (define-public beancount (package (name "beancount") -- 2.25.1 --nextPart6557699.lOV4Wx5bFT--