summaryrefslogtreecommitdiff
path: root/gnu/packages/plotutils.scm
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2021-02-11 19:12:36 +0100
committerDanny Milosavljevic <dannym@scratchpost.org>2021-02-11 19:12:36 +0100
commitabd318ff4b741eac11227778bf2e569ee7b186ff (patch)
tree6abc09a3e01914d891124e9d0dda0f4e0979c485 /gnu/packages/plotutils.scm
parent71cb6dfe10540718eb337e7e2248fc809394894b (diff)
parentc5dc87fee840ad620b01637dc4f9ffa5efc9270c (diff)
Merge branch 'master' into core-updates
Diffstat (limited to 'gnu/packages/plotutils.scm')
-rw-r--r--gnu/packages/plotutils.scm66
1 files changed, 32 insertions, 34 deletions
diff --git a/gnu/packages/plotutils.scm b/gnu/packages/plotutils.scm
index b34eb0d2993..bbae722caaf 100644
--- a/gnu/packages/plotutils.scm
+++ b/gnu/packages/plotutils.scm
@@ -1,5 +1,5 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org> 2;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
3;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org> 3;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org>
4;;; Copyright © 2016, 2017, 2019, 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr> 4;;; Copyright © 2016, 2017, 2019, 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
5;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> 5;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
@@ -24,8 +24,10 @@
24 #:use-module ((guix licenses) #:prefix license:) 24 #:use-module ((guix licenses) #:prefix license:)
25 #:use-module (guix packages) 25 #:use-module (guix packages)
26 #:use-module (guix download) 26 #:use-module (guix download)
27 #:use-module (guix git-download)
27 #:use-module (guix build-system gnu) 28 #:use-module (guix build-system gnu)
28 #:use-module (gnu packages algebra) 29 #:use-module (gnu packages algebra)
30 #:use-module (gnu packages autotools)
29 #:use-module (gnu packages bdw-gc) 31 #:use-module (gnu packages bdw-gc)
30 #:use-module (gnu packages emacs) 32 #:use-module (gnu packages emacs)
31 #:use-module (gnu packages xorg) 33 #:use-module (gnu packages xorg)
@@ -97,40 +99,36 @@ programs for plotting scientific data.")
97 (license license:gpl2+))) 99 (license license:gpl2+)))
98 100
99(define-public guile-charting 101(define-public guile-charting
100 (package 102 ;; This commit fixes a few things, including Guile 3 support, not available
101 (name "guile-charting") 103 ;; in the latest release.
102 (version "0.2.0") 104 (let ((commit "75f755b691a9f712f3b956657d01805d6a8a1b98")
103 (source (origin 105 (revision "1"))
104 (method url-fetch) 106 (package
105 (uri (string-append "http://wingolog.org/pub/guile-charting/" 107 (name "guile-charting")
106 "guile-charting-" version ".tar.gz")) 108 (version (git-version "0.2.0" revision commit))
107 (sha256 109 (source (origin
108 (base32 110 (method git-fetch)
109 "0w5qiyv9v0ip5li22x762bm48g8xnw281w66iyw094zdw611pb2m")) 111 (uri (git-reference
110 (modules '((guix build utils))) 112 (url "https://gitlab.com/wingo/guile-charting")
111 (snippet 113 (commit commit)))
112 '(begin 114 (file-name (git-file-name name version))
113 ;; Allow builds with Guile 3.0. 115 (sha256
114 (substitute* "configure" 116 (base32
115 (("2\\.2 2\\.0") 117 "03049g7wnpyfi0r36ij4a46kc9l45jbanx02iklkjwav2n6jqnnk"))))
116 "3.0 2.2 2.0")) 118 (build-system gnu-build-system)
117 119 (native-inputs
118 ;; By default, .go files would be installed to 120 `(("autoconf" ,autoconf)
119 ;; $libdir/…/ccache instead of $libdir/…/site-ccache. Fix 121 ("automake" ,automake)
120 ;; that. 122 ("texinfo" ,texinfo)
121 (substitute* (find-files "." "^Makefile\\.in$") 123 ("pkg-config" ,pkg-config)))
122 (("/ccache") "/site-ccache")) 124 (inputs `(("guile" ,guile-3.0)))
123 #t)))) 125 (propagated-inputs `(("guile-cairo" ,guile-cairo)))
124 (build-system gnu-build-system) 126 (home-page "http://wingolog.org/projects/guile-charting/")
125 (native-inputs `(("pkg-config" ,pkg-config))) 127 (synopsis "Create charts and graphs in Guile")
126 (inputs `(("guile" ,guile-3.0))) 128 (description
127 (propagated-inputs `(("guile-cairo" ,guile-cairo))) 129 "Guile-Charting is a Guile Scheme library to create bar charts and graphs
128 (home-page "http://wingolog.org/software/guile-charting/")
129 (synopsis "Create charts and graphs in Guile")
130 (description
131 "Guile-Charting is a Guile Scheme library to create bar charts and graphs
132using the Cairo drawing library.") 130using the Cairo drawing library.")
133 (license license:lgpl2.1+))) 131 (license license:lgpl2.1+))))
134 132
135(define-public guile2.2-charting 133(define-public guile2.2-charting
136 (package 134 (package