projects/guix·blob javascript-team · refs

98 lines · 3.2 KiB

1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2022 Antero Mejr <[email protected]>
3;;; Copyright © 2025 Maxim Cournoyer <[email protected]>
4;;; Copyright © 2025 Andreas Enge <[email protected]>
5;;;
6;;; This file is part of GNU Guix.
7;;;
8;;; GNU Guix is free software; you can redistribute it and/or modify it
9;;; under the terms of the GNU General Public License as published by
10;;; the Free Software Foundation; either version 3 of the License, or (at
11;;; your option) any later version.
12;;;
13;;; GNU Guix is distributed in the hope that it will be useful, but
14;;; WITHOUT ANY WARRANTY; without even the implied warranty of
15;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16;;; GNU General Public License for more details.
17;;;
18;;; You should have received a copy of the GNU General Public License
19;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
20
21(define-module (gnu packages data-language)
22 #:use-module ((guix licenses) #:prefix license:)
23 #:use-module (guix build-system cmake)
24 #:use-module (guix download)
25 #:use-module (guix gexp)
26 #:use-module (guix packages)
27 #:use-module (gnu packages)
28 #:use-module (gnu packages algebra)
29 #:use-module (gnu packages c)
30 #:use-module (gnu packages compression)
31 #:use-module (gnu packages geo)
32 #:use-module (gnu packages image)
33 #:use-module (gnu packages imagemagick)
34 #:use-module (gnu packages maths)
35 #:use-module (gnu packages ncurses)
36 #:use-module (gnu packages onc-rpc)
37 #:use-module (gnu packages pkg-config)
38 #:use-module (gnu packages plotutils)
39 #:use-module (gnu packages python)
40 #:use-module (gnu packages python-xyz)
41 #:use-module (gnu packages readline)
42 #:use-module (gnu packages wxwidgets)
43 #:use-module (gnu packages xml))
44
45(define-public gnudatalanguage
46 (package
47 (name "gnudatalanguage")
48 (version "1.1.1")
49 (source
50 (origin
51 (method url-fetch)
52 (uri (string-append
53 "https://github.com/gnudatalanguage/gdl/releases/download/v"
54 version "/gdl-v" version ".tar.gz"))
55
56 (sha256
57 (base32
58 "0qln7851dpfy78yyx5k01ch2yrik3k1a1a2727rvpqf5rnmx6kkl"))))
59 (build-system cmake-build-system)
60 (native-inputs
61 (list pkg-config python python-numpy))
62 (inputs
63 (list eccodes
64 eigen
65 expat
66 fftw
67 fftwf
68 glpk
69 graphicsmagick
70 gsl
71 hdf5
72 libgeotiff
73 libjpeg-turbo
74 libpng
75 libtiff
76 libtirpc
77 ncurses
78 netcdf
79 plplot
80 proj
81 qhull
82 readline
83 shapelib
84 udunits
85 wxwidgets
86 zlib))
87 (arguments
88 (list
89 #:configure-flags #~(list "-DHDF=OFF"))) ; keep default "-DHDF5=ON"
90 (home-page "https://gnudatalanguage.github.io/")
91 (synopsis "Compiler for GDL, an IDL-compatible programming language")
92 (description
93 "GDL (GNU Data Language) is an incremental compiler compatible with
94IDL (Interactive Data Language) and to some extent with PV-WAVE. Together
95with its library routines it serves as a tool for data analysis and
96visualization in such disciplines as astronomy, geosciences and medical
97imaging.")
98 (license license:gpl2+)))