actors: Add debug module with useful utilities.
[8sync.git] / package.scm
1 ;;; 8sync --- Asynchronous programming for Guile
2 ;;; Copyright (C) 2016 Jan Nieuwenhuizen <janneke@gnu.org>
3 ;;;
4 ;;; This file is part of 8sync.
5 ;;;
6 ;;; 8sync is free software: you can redistribute it and/or modify it
7 ;;; under the terms of the GNU Lesser General Public License as
8 ;;; published by the Free Software Foundation, either version 3 of the
9 ;;; License, or (at your option) any later version.
10 ;;;
11 ;;; 8sync is distributed in the hope that it will be useful,
12 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 ;;; GNU Lesser General Public License for more details.
15 ;;;
16 ;;; You should have received a copy of the GNU Lesser General Public
17 ;;; License along with 8sync.  If not, see <http://www.gnu.org/licenses/>.
18
19 ;;; Commentary:
20 ;;
21 ;; GNU Guix development package.  To build and install, run:
22 ;;
23 ;;   guix package -f package.scm
24 ;;
25 ;; To build it, but not install it, run:
26 ;;
27 ;;   guix build -f package.scm
28 ;;
29 ;; To use as the basis for a development environment, run:
30 ;;
31 ;;   guix environment -l package.scm
32 ;;
33 ;;; Code:
34
35 (use-modules (guix packages)
36              (guix licenses)
37              (guix git-download)
38              (guix build-system gnu)
39              (gnu packages)
40              (gnu packages autotools)
41              (gnu packages guile)
42              (gnu packages pkg-config)
43              (gnu packages texinfo))
44
45 (package
46   (name "8sync")
47   (version "0.0")
48   (source (origin
49             (method git-fetch)
50             (uri (git-reference
51                   (url "https://notabug.org/cwebber/8sync")
52                   (commit "b02ef57")))
53             (sha256
54              (base32
55               "1sfy72q35dhqkfq2k3fi7a10grx3ll2kblpjivdai2jn61fki6wm"))
56             (modules '((guix build utils)))))
57   (build-system gnu-build-system)
58   (native-inputs `(("autoconf" ,autoconf)
59                    ("automake" ,automake)
60                    ("guile" ,guile-2.0)
61                    ("pkg-config" ,pkg-config)
62                    ("texinfo" ,texinfo)))
63   (arguments
64    `(#:phases (modify-phases %standard-phases
65                 (add-before 'configure 'bootstrap
66                             (lambda _
67                               (zero? (system* "./bootstrap.sh"))))
68                 (add-before 'configure 'setenv
69                             (lambda _
70                               (setenv "GUILE_AUTO_COMPILE" "0"))))))
71   (home-page "https://notabug.org/cwebber/8sync")
72   (synopsis "An asynchronous programming library for GNU Guile")
73   (description
74    "GNU 8sync (pronounced \"eight-sync\") is an asynchronous programming
75 library for GNU Guile.
76
77 Be warned: it is early days for the 8sync project.  New contributors and users
78 are more than welcome, but beware API instability.")
79   (license lgpl3+))