[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/10: gnu: Add Guile-Plotutils.
From: |
guix-commits |
Subject: |
01/10: gnu: Add Guile-Plotutils. |
Date: |
Sat, 18 Dec 2021 16:54:07 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit e0139158dbf259e392981cb9b629378a4c78f926
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sat Dec 18 18:49:06 2021 +0100
gnu: Add Guile-Plotutils.
* gnu/packages/plotutils.scm (guile-plotutils): New variable.
---
gnu/packages/plotutils.scm | 48 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/plotutils.scm b/gnu/packages/plotutils.scm
index 415d7ad..ecee057 100644
--- a/gnu/packages/plotutils.scm
+++ b/gnu/packages/plotutils.scm
@@ -117,6 +117,54 @@ for 2D vector graphics animations. The package also
contains command-line
programs for plotting scientific data.")
(license license:gpl2+)))
+(define-public guile-plotutils
+ (package
+ (name "guile-plotutils")
+ (version "1.0.1")
+ (source (origin
+ (method url-fetch)
+ (uri (list (string-append "https://lonelycactus.com/tarball/"
+ "guile_plotutils-" version ".tar.gz")
+ (string-append
+
"https://github.com/spk121/guile-plotutils/releases/download/v"
+ version "/guile_plotutils-" version
+ ".tar.gz")))
+ (sha256
+ (base32
+ "0r245z75cdzgzi57fpz84mnyrjq44793zzaaxxrszyxm1d06hc6r"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:imported-modules ((guix build guile-build-system)
+ ,@%gnu-build-system-modules)
+ #:modules (((guix build guile-build-system)
+ #:select (target-guile-effective-version))
+ (guix build gnu-build-system)
+ (guix build utils))
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'install 'set-library-file-name
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out"))
+ (version (target-guile-effective-version)))
+ ;; First install libguile-plotutils.so.
+ (invoke "make" "install-guileextensionLTLIBRARIES")
+
+ ;; Then change source files to refer to it.
+ (substitute* '("module/plotutils/graph.scm"
+ "module/plotutils/plot.scm")
+ (("\"libguile-plotutils\"")
+ (string-append "\"" out "/lib/guile/" version
+ "/extensions/libguile-plotutils\"")))))))))
+ (native-inputs (list pkg-config texinfo))
+ (inputs (list plotutils guile-3.0 zlib))
+ (home-page "https://lonelycactus.com/guile-plotutils.html")
+ (synopsis "Guile bindings to the GNU Plotutils plotting libraries")
+ (description
+ "Guile-Plotutils is a Guile binding to the venerable GNU Plotutils
+plotting and graphing library. If you want to make graphs that look like you
+went to university in the 1990s, this is the library for you.")
+ (license license:gpl3+)))
+
(define-public guile-charting
;; This commit fixes a few things, including Guile 3 support, not available
;; in the latest release.
- branch master updated (cfcfda5 -> f6e79ef), guix-commits, 2021/12/18
- 01/10: gnu: Add Guile-Plotutils.,
guix-commits <=
- 06/10: gnu: sssd: Fix build with glibc-2.33, guix-commits, 2021/12/18
- 05/10: gnu: Add xfoil., guix-commits, 2021/12/18
- 03/10: gnu: Move instrumentation tools to instrumentation module., guix-commits, 2021/12/18
- 09/10: style: Refer to source files by absolute file names., guix-commits, 2021/12/18
- 10/10: style: Gracefully handle errors such as EACCES when opening files., guix-commits, 2021/12/18
- 02/10: gnu: Add Dyninst., guix-commits, 2021/12/18
- 04/10: gnu: babeltrace, lttng-tools: Simplify inputs., guix-commits, 2021/12/18
- 07/10: import: elpa: Support ‘upstream-name’ property., guix-commits, 2021/12/18
- 08/10: gnu: go-ipfs: Update to 0.11.0., guix-commits, 2021/12/18