gnu: guile-charting: Add "guile3.0-charting" variant.
* gnu/packages/plotutils.scm (guile-charting)[source]: In 'snippet', have 'configure' look for 3.0. (guile3.0-charting): New variable.
This commit is contained in:
parent
cd903b0443
commit
2d3a622d04
1 changed files with 13 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org>
|
;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org>
|
||||||
;;; Copyright © 2016, 2017, 2019, 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
;;; Copyright © 2016, 2017, 2019, 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
||||||
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
|
@ -99,6 +99,11 @@ scientific data.")
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
|
;; Allow builds with Guile 3.0.
|
||||||
|
(substitute* "configure"
|
||||||
|
(("2\\.2 2\\.0")
|
||||||
|
"3.0 2.2 2.0"))
|
||||||
|
|
||||||
;; By default, .go files would be installed to
|
;; By default, .go files would be installed to
|
||||||
;; $libdir/…/ccache instead of $libdir/…/site-ccache. Fix
|
;; $libdir/…/ccache instead of $libdir/…/site-ccache. Fix
|
||||||
;; that.
|
;; that.
|
||||||
|
@ -116,6 +121,13 @@ scientific data.")
|
||||||
using the Cairo drawing library.")
|
using the Cairo drawing library.")
|
||||||
(license license:lgpl2.1+)))
|
(license license:lgpl2.1+)))
|
||||||
|
|
||||||
|
(define-public guile3.0-charting
|
||||||
|
(package
|
||||||
|
(inherit guile-charting)
|
||||||
|
(name "guile3.0-charting")
|
||||||
|
(inputs `(("guile" ,guile-3.0)))
|
||||||
|
(propagated-inputs `(("guile-cairo" ,guile3.0-cairo)))))
|
||||||
|
|
||||||
(define-public ploticus
|
(define-public ploticus
|
||||||
(package
|
(package
|
||||||
(name "ploticus")
|
(name "ploticus")
|
||||||
|
|
Reference in a new issue