From unknown Fri Jun 20 05:25:45 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#34727 <34727@debbugs.gnu.org> To: bug#34727 <34727@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add hyperledger-fabric. Reply-To: bug#34727 <34727@debbugs.gnu.org> Date: Fri, 20 Jun 2025 12:25:45 +0000 retitle 34727 [PATCH] gnu: Add hyperledger-fabric. reassign 34727 guix-patches submitter 34727 Pierre Neidhardt severity 34727 normal tag 34727 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 04 03:35:23 2019 Received: (at submit) by debbugs.gnu.org; 4 Mar 2019 08:35:23 +0000 Received: from localhost ([127.0.0.1]:58925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0j4F-0000Mi-BW for submit@debbugs.gnu.org; Mon, 04 Mar 2019 03:35:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46304) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0j4C-0000MV-Me for submit@debbugs.gnu.org; Mon, 04 Mar 2019 03:35:21 -0500 Received: from lists.gnu.org ([209.51.188.17]:47544) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h0j47-0003Hs-Fq for submit@debbugs.gnu.org; Mon, 04 Mar 2019 03:35:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0j45-0004Oq-Um for guix-patches@gnu.org; Mon, 04 Mar 2019 03:35:15 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h0j44-0003ES-L9 for guix-patches@gnu.org; Mon, 04 Mar 2019 03:35:13 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:45473) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h0j44-00032s-6O for guix-patches@gnu.org; Mon, 04 Mar 2019 03:35:12 -0500 Received: from localhost.localdomain (lfbn-1-12225-33.w90-92.abo.wanadoo.fr [90.92.41.33]) (Authenticated sender: mail@ambrevar.xyz) by relay11.mail.gandi.net (Postfix) with ESMTPSA id CF72310000D for ; Mon, 4 Mar 2019 08:35:05 +0000 (UTC) From: Pierre Neidhardt To: guix-patches@gnu.org Subject: [PATCH] gnu: Add hyperledger-fabric. Date: Mon, 4 Mar 2019 09:35:05 +0100 Message-Id: <20190304083505.13281-1-mail@ambrevar.xyz> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.70.178.231 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/local.mk (hyperledger): New variable. --- gnu/local.mk | 1 + gnu/packages/hyperledger.scm | 89 ++++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) create mode 100644 gnu/packages/hyperledger.scm diff --git a/gnu/local.mk b/gnu/local.mk index 974195b4b..0909f9521 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -235,6 +235,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/hexedit.scm \ %D%/packages/hugs.scm \ %D%/packages/hurd.scm \ + %D%/packages/hyperledger.scm \ %D%/packages/ibus.scm \ %D%/packages/icu4c.scm \ %D%/packages/idris.scm \ diff --git a/gnu/packages/hyperledger.scm b/gnu/packages/hyperledger.scm new file mode 100644 index 000000000..5f8b78281 --- /dev/null +++ b/gnu/packages/hyperledger.scm @@ -0,0 +1,89 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2019 Pierre Neidhardt +;;; +;;; 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 . + +(define-module (gnu packages hyperledger) + #:use-module (ice-9 match) + #:use-module (guix build-system go) + #:use-module (guix build-system trivial) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix git-download) + #:use-module (guix licenses) + #:use-module (gnu packages) + #:use-module (gnu packages base) + #:use-module (gnu packages curl) + #:use-module (gnu packages docker) + #:use-module (gnu packages golang) + #:use-module (gnu packages version-control)) + +(define-public hyperledger-fabric + (package + (name "hyperledger-fabric") + (version "1.4") + ;; While the GitHub repository is supposed to be "just a mirror," the Go + ;; imports refer to it explicitly. + (home-page "https://github.com/hyperledger/fabric") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "release-" version)))) + (sha256 + (base32 + "1g003wf6439f2c9i2vphf4sh463yyasq1vpqmkpw9lj170a6kl8k")) + (file-name (git-file-name name version)))) + (build-system go-build-system) + (native-inputs + `(("which" ,which) + ("docker-cli" ,docker-cli) + ("git" ,git) + ("curl" ,curl))) + (arguments + `(#:import-path "github.com/hyperledger/fabric" + #:unpack-path "github.com/hyperledger/fabric" + ;; We don't need to install the source code for end-user applications. + #:install-source? #f + ;; TODO: Tests require a running Docker daemon. + #:tests? #f + #:phases + (modify-phases %standard-phases + (replace 'build + (lambda _ + ;; Only linux-amd64 and linux-ppc64le seem to be supported at the moment. + (invoke "make" "-C" "src/github.com/hyperledger/fabric" + "release/linux-amd64"))) + (add-after 'install 'install-commands + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (src "src/github.com/hyperledger/fabric/")) + (with-directory-excursion src + (copy-recursively + "release/linux-amd64/bin" + (string-append out "/bin")) + (install-file "LICENSE" + (string-append out "/share/licenses")) + (install-file "README.md" + (string-append out "/share/doc")) + (copy-recursively "sampleconfig" + (string-append out "/etc/hyperledger/fabric")))) + #t))))) + (synopsis "Platform for distributed ledger solutions") + (description "A platform for distributed ledger solutions, underpinned by +a modular architecture delivering high degrees of confidentiality, resiliency, +flexibility and scalability.") + (license asl2.0))) -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 11 18:09:35 2019 Received: (at 34727-done) by debbugs.gnu.org; 11 Mar 2019 22:09:35 +0000 Received: from localhost ([127.0.0.1]:39570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h3T71-0006ZF-DM for submit@debbugs.gnu.org; Mon, 11 Mar 2019 18:09:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h3T6z-0006Z3-8y for 34727-done@debbugs.gnu.org; Mon, 11 Mar 2019 18:09:33 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44255) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3T6s-0004uh-Jq; Mon, 11 Mar 2019 18:09:26 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=39438 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1h3T6r-0003R3-S6; Mon, 11 Mar 2019 18:09:26 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Pierre Neidhardt Subject: Re: [bug#34727] [PATCH] gnu: Add hyperledger-fabric. References: <20190304083505.13281-1-mail@ambrevar.xyz> Date: Mon, 11 Mar 2019 23:09:24 +0100 In-Reply-To: <20190304083505.13281-1-mail@ambrevar.xyz> (Pierre Neidhardt's message of "Mon, 4 Mar 2019 09:35:05 +0100") Message-ID: <87va0prrl7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34727-done Cc: 34727-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Pierre Neidhardt skribis: > * gnu/local.mk (hyperledger): New variable. This was committed as 983550692dbf5a41afef1b1cae53fece42b3d4bf, closing! Ludo'. From unknown Fri Jun 20 05:25:45 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 09 Apr 2019 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator