summaryrefslogtreecommitdiff
path: root/gnu/packages/plotutils.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-04-13 13:31:56 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-04-13 13:54:58 +0100
commit2c98b2bfa6567d282cd2e929670e1f928ed5feab (patch)
tree8652061ee48939be23f79439804b7122ba68a4ca /gnu/packages/plotutils.scm
parent8bc0362d250c42d7a594533b6ef8e582f9f0ee3a (diff)
gnu: guile-plotutils: Sort alphabetically.
* gnu/packages/plotutils.scm (guile-plotutils): Sort alphabetically. Change-Id: I092df373febfe857fb05ece8effa9c14fcb2fa08
Diffstat (limited to 'gnu/packages/plotutils.scm')
-rw-r--r--gnu/packages/plotutils.scm96
1 files changed, 48 insertions, 48 deletions
diff --git a/gnu/packages/plotutils.scm b/gnu/packages/plotutils.scm
index 0b32b807066..b838ff8c81e 100644
--- a/gnu/packages/plotutils.scm
+++ b/gnu/packages/plotutils.scm
@@ -241,6 +241,54 @@ LaTeX does for scientific text.")
241using the Cairo drawing library.") 241using the Cairo drawing library.")
242 (license license:lgpl2.1+)))) 242 (license license:lgpl2.1+))))
243 243
244(define-public guile-plotutils
245 (package
246 (name "guile-plotutils")
247 (version "1.0.1")
248 (source (origin
249 (method url-fetch)
250 (uri (list (string-append "https://lonelycactus.com/tarball/"
251 "guile_plotutils-" version ".tar.gz")
252 (string-append
253 "https://github.com/spk121/guile-plotutils/releases/download/v"
254 version "/guile_plotutils-" version
255 ".tar.gz")))
256 (sha256
257 (base32
258 "0r245z75cdzgzi57fpz84mnyrjq44793zzaaxxrszyxm1d06hc6r"))))
259 (build-system gnu-build-system)
260 (arguments
261 `(#:imported-modules ((guix build guile-build-system)
262 ,@%gnu-build-system-modules)
263 #:modules (((guix build guile-build-system)
264 #:select (target-guile-effective-version))
265 (guix build gnu-build-system)
266 (guix build utils))
267 #:phases
268 (modify-phases %standard-phases
269 (add-before 'install 'set-library-file-name
270 (lambda* (#:key outputs #:allow-other-keys)
271 (let ((out (assoc-ref outputs "out"))
272 (version (target-guile-effective-version)))
273 ;; First install libguile-plotutils.so.
274 (invoke "make" "install-guileextensionLTLIBRARIES")
275
276 ;; Then change source files to refer to it.
277 (substitute* '("module/plotutils/graph.scm"
278 "module/plotutils/plot.scm")
279 (("\"libguile-plotutils\"")
280 (string-append "\"" out "/lib/guile/" version
281 "/extensions/libguile-plotutils\"")))))))))
282 (native-inputs (list pkg-config texinfo))
283 (inputs (list plotutils guile-3.0 zlib))
284 (home-page "https://lonelycactus.com/guile-plotutils.html")
285 (synopsis "Guile bindings to the GNU Plotutils plotting libraries")
286 (description
287 "Guile-Plotutils is a Guile binding to the venerable GNU Plotutils
288plotting and graphing library. If you want to make graphs that look like you
289went to university in the 1990s, this is the library for you.")
290 (license license:gpl3+)))
291
244(define-public plotutils 292(define-public plotutils
245 (package 293 (package
246 (name "plotutils") 294 (name "plotutils")
@@ -308,54 +356,6 @@ for 2D vector graphics animations. The package also contains command-line
308programs for plotting scientific data.") 356programs for plotting scientific data.")
309 (license license:gpl2+))) 357 (license license:gpl2+)))
310 358
311(define-public guile-plotutils
312 (package
313 (name "guile-plotutils")
314 (version "1.0.1")
315 (source (origin
316 (method url-fetch)
317 (uri (list (string-append "https://lonelycactus.com/tarball/"
318 "guile_plotutils-" version ".tar.gz")
319 (string-append
320 "https://github.com/spk121/guile-plotutils/releases/download/v"
321 version "/guile_plotutils-" version
322 ".tar.gz")))
323 (sha256
324 (base32
325 "0r245z75cdzgzi57fpz84mnyrjq44793zzaaxxrszyxm1d06hc6r"))))
326 (build-system gnu-build-system)
327 (arguments
328 `(#:imported-modules ((guix build guile-build-system)
329 ,@%gnu-build-system-modules)
330 #:modules (((guix build guile-build-system)
331 #:select (target-guile-effective-version))
332 (guix build gnu-build-system)
333 (guix build utils))
334 #:phases
335 (modify-phases %standard-phases
336 (add-before 'install 'set-library-file-name
337 (lambda* (#:key outputs #:allow-other-keys)
338 (let ((out (assoc-ref outputs "out"))
339 (version (target-guile-effective-version)))
340 ;; First install libguile-plotutils.so.
341 (invoke "make" "install-guileextensionLTLIBRARIES")
342
343 ;; Then change source files to refer to it.
344 (substitute* '("module/plotutils/graph.scm"
345 "module/plotutils/plot.scm")
346 (("\"libguile-plotutils\"")
347 (string-append "\"" out "/lib/guile/" version
348 "/extensions/libguile-plotutils\"")))))))))
349 (native-inputs (list pkg-config texinfo))
350 (inputs (list plotutils guile-3.0 zlib))
351 (home-page "https://lonelycactus.com/guile-plotutils.html")
352 (synopsis "Guile bindings to the GNU Plotutils plotting libraries")
353 (description
354 "Guile-Plotutils is a Guile binding to the venerable GNU Plotutils
355plotting and graphing library. If you want to make graphs that look like you
356went to university in the 1990s, this is the library for you.")
357 (license license:gpl3+)))
358
359(define-public guile2.2-charting 359(define-public guile2.2-charting
360 (package 360 (package
361 (inherit guile-charting) 361 (inherit guile-charting)