gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet-scheme] 02/16: Revert "Eliminate guix.scm."


From: gnunet
Subject: [gnunet-scheme] 02/16: Revert "Eliminate guix.scm."
Date: Wed, 27 Jul 2022 00:21:12 +0200

This is an automated email from the git hooks/post-receive script.

maxime-devos pushed a commit to branch master
in repository gnunet-scheme.

commit 4e3e5ebc7149b0a13a2b60825367702e464e8a4f
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Sat Jul 23 18:10:24 2022 +0200

    Revert "Eliminate guix.scm."
    
    This partially reverts commit
    308cda1472486e833baca0ecde9aa4bef554da5c, as the bugfixes to Guile
    aren't in the default Guile version.
    
    * doc/contributing.texi: Re-instante message about bugfixes. Change
    gnunet-scheme with -f guix.scm.
    * guix.scm: Bring it back, adjusted for current Guix.
---
 doc/contributing.tm | 10 ++++----
 guix.scm            | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+), 4 deletions(-)

diff --git a/doc/contributing.tm b/doc/contributing.tm
index 724530f..67a4f76 100644
--- a/doc/contributing.tm
+++ b/doc/contributing.tm
@@ -31,11 +31,13 @@
     <item><hlink|Guile-Gcrypt|https://notabug.org/cwebber/guile-gcrypt>
   </itemize>
 
+  A few bug fixes to Guile are required that might not yet be included in
+  your distribution, see <verbatim|guix.scm>
+
   Users of <hlink|GNU Guix|https://guix.gnu.org><index|Guix> can run
-  <shell|guix shell -D gnunet-scheme> in the checkout to create an
-  environment where these dependencies are all
-  present.<space|1em>Scheme-GNUnet uses the standard GNU build system, so to
-  build Scheme-Gnunet, you only need to run
+  <shell|guix shell -D -f guix.scm> in the checkout to create an environment
+  where these dependencies are all present.<space|1em>Scheme-GNUnet uses the
+  standard GNU build system, so to build Scheme-Gnunet, you only need to run
 
   <\shell-code>
     autoreconf -vif
diff --git a/guix.scm b/guix.scm
new file mode 100644
index 0000000..e38565f
--- /dev/null
+++ b/guix.scm
@@ -0,0 +1,67 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2021, 2022 GNUnet e.V.
+;;;
+;;; 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/>.
+;;;
+;;;  SPDX-License-Identifier: GPL-3.0-or-later
+
+(use-modules (gnu packages guile)
+            (gnu packages guile-xyz)
+            (gnu packages autotools)
+            (gnu packages gettext)
+            (gnu packages gnupg)
+            (gnu packages pkg-config)
+            (gnu packages xorg)
+            (gnu packages text-editors)
+            (guix packages)
+            (guix utils)
+            (guix gexp)
+            (guix git)
+            (guix git-download)
+            (guix download)
+            (guix build-system gnu)
+            ((guix licenses) #:prefix license:))
+
+(define %source-dir (dirname (current-filename)))
+
+(define-public scheme-gnunet
+  (package
+   (name "scheme-gnunet")
+   (version "0.2")
+   (source (local-file %source-dir
+                      #:recursive? #t
+                      #:select? (git-predicate %source-dir)))
+   (build-system gnu-build-system)
+   (propagated-inputs
+    (list guile-zlib guile-bytestructures guile-fibers guile-gcrypt
+         guile-json-4 guile-pfds))
+   (native-inputs
+    (list guile-3.0-latest guile-gcrypt guile-fibers-1.1 guile-json-4 
guile-pfds
+         automake
+         ;; Only used for testing.
+         guile-quickcheck
+          ;; Gettext brings 'AC_LIB_LINKFLAGS_FROM_LIBS'.
+         gettext-minimal
+         pkg-config
+         autoconf-wrapper
+         texmacs
+         xvfb-run))
+   (inputs (list guile-3.0-latest))
+   (synopsis "partial Scheme port of GNUnet")
+   (license license:agpl3+)
+   (description #f)
+   (home-page #f)))
+scheme-gnunet

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]